JP2008217421A - Electronic apparatus, electric power source control program for electronic apparatus, and electric power source control method - Google Patents

Electronic apparatus, electric power source control program for electronic apparatus, and electric power source control method Download PDF

Info

Publication number
JP2008217421A
JP2008217421A JP2007053947A JP2007053947A JP2008217421A JP 2008217421 A JP2008217421 A JP 2008217421A JP 2007053947 A JP2007053947 A JP 2007053947A JP 2007053947 A JP2007053947 A JP 2007053947A JP 2008217421 A JP2008217421 A JP 2008217421A
Authority
JP
Japan
Prior art keywords
data
modules
stored
module
start timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007053947A
Other languages
Japanese (ja)
Other versions
JP4910785B2 (en
Inventor
Hisafumi Funakoshi
尚史 船越
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2007053947A priority Critical patent/JP4910785B2/en
Publication of JP2008217421A publication Critical patent/JP2008217421A/en
Application granted granted Critical
Publication of JP4910785B2 publication Critical patent/JP4910785B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Memory System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic apparatus, an electric power source control program for the electronic apparatus, and an electric power source control method therefor, capable of using a plurality of modules built in at least with a memory, and capable of reducing an electric power consumption when storing data simultaneously, to allow selective use of the modules. <P>SOLUTION: The modules 101 to 103 of different types, for example, are used in a processor module group 104, a capacity and the electric power consumption of each memory are stored in a back-up control table 124. A minimum electric power consumption module constitution selecting mechanism part 116 selects the module in consideration of the memory capacity and electric power saving required for storing the data, when moved to the back-up. Total volume of the storage data is further reduced when the data transferred to the corresponding module is limited to compressible one. <P>COPYRIGHT: (C)2008,JPO&INPIT

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 electronic apparatus 400 includes a processor module group 405 to be backed up consisting of first to fourth modules 401 to 404. Here, the first module 401 is configured as a multiprocessor module including the first CPU 406, the second CPU 407, and the first memory 408. The second module 402 includes a third CPU 409 and a second memory 410. The third module 403 includes only the third memory 411. The fourth module 404 includes a fourth CPU 412 and a fourth memory 413.

電子機器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 electronic apparatus 400 has a backup transition detection that detects the timing of transition to the backup of the first memory 406, the second memory 407, the third memory 411, and the fourth memory 413 existing in the processor module group 405. A part 421 is provided. The electronic device 400 further includes a diagnosis mechanism unit 422 for diagnosing the state of the system including the first to fourth memories 406, 407, 411, and 413, and the first to fourth components constituting the processor module group 405. A power management mechanism 423 for the modules 401 to 404 is provided.

診断機構部422は、バックアップ移行検知部421がバックアップへの移行を検知すると、電源管理機構部423に対して第1〜第4のモジュール401〜404の中で保持する必要のないデータのみを格納しているものがあれば、その電源供給を停止するように指示する。この指示があったとき、第1〜第3のモジュール401〜403内にはそれぞれ保持したいデータが存在しており、第4のモジュール404だけに保持したいデータが存在していないものとする。すると、電源管理機構部423は、バックアップへ移行する際に第4のモジュール404への電源供給のみを停止する。第1〜第3のモジュール401〜403に格納されたデータは保持する必要があるので、電源の供給は継続される。   When the backup transition detection unit 421 detects a shift to backup, the diagnosis mechanism unit 422 stores only data that does not need to be held in the first to fourth modules 401 to 404 with respect to the power management mechanism unit 423. If there is something that is, it is instructed to stop the power supply. When this instruction is given, it is assumed that data to be held exists in the first to third modules 401 to 403, respectively, and data to be held only in the fourth module 404 does not exist. Then, the power management mechanism unit 423 stops only power supply to the fourth module 404 when shifting to backup. Since it is necessary to retain the data stored in the first to third modules 401 to 403, the power supply is continued.

しかしながら、このような電子機器では、第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 third modules 401 to 403 as a whole, power supply to these modules is continued.

そこで、同一の構成の複数のモジュールを組み込んだ電子機器で、これらのモジュールに格納されているデータの全体を把握して、バックアップ時には必要により一部のモジュールにデータをまとめることが提案されている(たとえば特許文献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つのモジュールの電源を遮断した状態でサスペンドモードに移行することができるようになる。
特開平11−282587号公報(第0017段落〜第0019段落、図2)
For example, it is assumed that the first to fourth modules 401 to 404 as shown in FIG. 10 are each constituted by a DRAM (Dynamic Random Access Memory) as a volatile memory of 8 MB (mechanic bytes). According to this proposal, for example, if the compressed data of the first to fourth modules 401 to 404 is 7 MB, all data can be stored in the first module 401. Therefore, it is possible to shift to a suspend mode as a mode for reducing power consumption in a state where the power sources of the second to fourth modules 402 to 404 are shut off. If the compressed data of the first to fourth modules 401 to 404 is 9 MB, all data can be stored in two modules such as the first module 401 and the second module 402. . Therefore, in this case, it becomes possible to shift to the suspend mode with the power supply of the two modules cut off.
Japanese Patent Laid-Open No. 11-282587 (paragraphs 0017 to 0019, FIG. 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.

請求項1記載の発明では、(イ)データを格納するメモリを少なくとも内蔵した複数のモジュールと、(ロ)これら複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルと、(ハ)前記した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、(ニ)この保存継続開始タイミング検知手段が前記した保存継続開始タイミングを検知したとき、前記したテーブルを参照して前記した複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別手段と、(ホ)この集結可否判別手段が消費電力の少ない形態で前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納されたデータを前記した特定モジュールに全部転送するデータ転送手段と、(へ)このデータ転送手段が前記した特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御手段とを電子機器に具備させる。   In the first aspect of the present invention, (b) a plurality of modules incorporating at least a memory for storing data, (b) a table describing specifications relating to data storage for each of the plurality of modules, and (c) A storage continuation start timing detecting means for detecting a storage continuation start timing as a timing for continually storing data that needs to be saved among data stored in a plurality of modules; When the timing detecting means detects the above-mentioned storage continuation start timing, the data stored in each of the plurality of modules described above with reference to the above-described table is stored as a part of the modules in a form with low power consumption. A means for determining whether or not to collect in a specific module; A data transfer means for transferring all the data stored in the remaining modules of the plurality of modules to the specific module when another means determines that the specific module can be collected in a form of low power consumption; The electronic apparatus includes power supply control means for stopping the supply of power for each module for which the data transfer means has finished transferring data to the specific module.

すなわち本発明では、データを格納するメモリを少なくとも内蔵した複数のモジュールについてデータ保存に関する仕様を記したテーブルを用意している。したがって、保存継続開始タイミング検知手段が保存継続開始タイミングを検知したとき、前記したテーブルを参照して前記した複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別することができる。集結可否判別手段が消費電力の少ない形態で前記した特定モジュールに集結できると判別したときには、前記した複数のモジュールの残りのモジュールに格納されたデータを前記した特定モジュールに全部転送する。そして前記した特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止することでデータの一斉保存時に電力消費の削減を図ることができる。   In other words, in the present invention, a table is prepared that describes the specifications related to data storage for a plurality of modules including at least a memory for storing data. Therefore, when the storage continuation start timing detection unit detects the storage continuation start timing, the data stored in each of the plurality of modules described above with reference to the table is stored in a form with less power consumption. It is possible to determine whether or not the modules can be assembled into a specific module. When the collectability determination unit determines that the specific module can be collected in a form of low power consumption, all the data stored in the remaining modules of the plurality of modules is transferred to the specific module. Then, by stopping the power supply for each module that has finished transferring data to the specific module, it is possible to reduce power consumption when storing data all at once.

請求項2記載の発明では、(イ)データを格納するメモリを少なくとも内蔵した複数のモジュールと、(ロ)これら複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、(ハ)この保存継続開始タイミング検知手段が前記した保存継続開始タイミングを検知したとき、前記した複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別手段と、(ニ)このデータ選別手段で保存が必要なデータと判別されたデータが前記した複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別手段と、(ホ)この集結可否判別手段が前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納された保存が必要なデータを前記した特定モジュールに全部転送するデータ転送手段と、(へ)このデータ転送手段が前記した特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御手段とを電子機器に具備させる。   In the invention of claim 2, (a) a plurality of modules having at least built-in memories for storing data, and (b) saving of data that needs to be saved among the data stored in the plurality of modules. A storage continuation start timing detection means for detecting a storage continuation start timing as a timing to be performed simultaneously, and (c) when the storage continuation start timing detection means detects the storage continuation start timing, each of the plurality of modules described above Data selecting means for selecting data that needs to be saved among the data stored in the data and other data according to identification information associated with each data, and (d) data that needs to be saved by the data selecting means, Discriminated data can be collected in a specific module as a part of the plurality of modules. (E) data that needs to be stored stored in the remaining modules of the plurality of modules when the determination is made that the collection possibility determination means can be collected in the specific module; The electronic apparatus includes data transfer means for transferring all data to the specified module, and (f) power supply control means for stopping supply of power for each module for which the data transfer means has finished transferring to the specific module. Let

すなわち本発明では、データ選別手段が複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するようになっている。集結可否判別手段は、このデータ選別手段で保存が必要なデータと判別されたデータが前記した複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する。電源供給制御手段は、データ転送手段が前記した特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する。したがって、保存が必要なデータのみを特定モジュールに集結するようにすることで、特定モジュールの個数を効果的に減らすことができ、データの一斉保存時に電力消費の削減を図ることができる。   That is, in the present invention, the data selection means selects data that needs to be saved and data other than the data stored in each of the plurality of modules based on identification information associated with each data. . The collectability determination unit determines whether the data determined to be stored by the data selection unit can be collected in a specific module as a part of the plurality of modules. The power supply control means stops the power supply for each module for which the data transfer means has finished the transfer to the specific module. Therefore, by collecting only the data that needs to be stored in the specific module, the number of the specific modules can be effectively reduced, and the power consumption can be reduced during the simultaneous storage of the data.

なお、請求項2記載の発明では、電子機器が前記した複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルを備え、前記した集結可否判別手段は、保存継続開始タイミング検知手段が前記した保存継続開始タイミングを検知したとき、前記したテーブルを参照して前記した複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態で前記した特定モジュールに集結できるかを判別する手段であってもよい。これにより、請求項1と同様の効果を得ることができ、電力消費の削減を更に図ることができる。   According to the second aspect of the present invention, the electronic device is provided with a table in which specifications relating to data storage are provided for each of the plurality of modules described above. Even when the continuation start timing is detected, means for determining whether the data stored in each of the plurality of modules described above can be collected in the specific module in a form with low power consumption by referring to the table described above. Good. Thereby, the same effect as that of claim 1 can be obtained, and the power consumption can be further reduced.

また、請求項1または請求項2記載の電子機器で、前記した集結可否判別手段は、前記した複数のモジュールのそれぞれに格納された前記した保存が必要とされるデータを圧縮したときの、圧縮後のこれらのデータ量を基にして集結の可否を判別する手段であってもよい。圧縮によって保存対象のデータが減少すれば、電力消費の削減を更に図ることができる。更に、前記した保存が必要とされるデータの圧縮に際してこれらのデータの所在を示す位置情報を付記する位置情報付記手段が更に具備されていてもよい。これは、データを元の場所に復帰させる際に有用である。   Further, in the electronic device according to claim 1 or 2, the above-described collection possibility determination unit compresses the data stored in each of the plurality of modules that needs to be stored as described above. It may be a means for determining whether or not the collection is possible based on these data amounts later. If the data to be stored is reduced by the compression, the power consumption can be further reduced. Furthermore, when compressing the data that needs to be stored as described above, position information adding means for adding position information indicating the location of the data may be further provided. This is useful when returning data to its original location.

請求項7記載の発明では、データを格納するメモリを少なくとも内蔵した複数のモジュールとこれら複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルとを備えた電子機器のコンピュータに、電子機器の電源制御プログラムとして、(イ)前記した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、(ロ)この保存継続開始タイミング検知処理で保存継続開始タイミングを検知したとき、前記したテーブルを参照して前記した複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別処理と、(ハ)この集結可否判別処理によって消費電力の少ない形態で前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納されたデータを前記した特定モジュールに全部転送するデータ転送処理と、(ニ)このデータ転送処理で前記した特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御処理とを実行させることを特徴としている。   According to a seventh aspect of the present invention, a computer of an electronic device comprising a plurality of modules having at least a memory for storing data and a table describing specifications relating to data storage for each of the plurality of modules is provided in a power source of the electronic device. As a control program, (a) a storage continuation start timing detection process for detecting a storage continuation start timing as a timing for continually storing data that needs to be saved among the data stored in the plurality of modules described above. (B) When the storage continuation start timing is detected in this storage continuation start timing detection process, the data stored in each of the plurality of modules described above with reference to the table is stored in a form with less power consumption. Can be assembled into a specific module as a part of (C) When it is determined that the collection can be performed on the specific module in a form with low power consumption by the collection possibility determination process, the data stored in the remaining modules of the plurality of modules is A data transfer process for transferring all data to the specified module, and (d) a power supply control process for stopping the power supply for each module for which the data transfer to the specific module is completed in the data transfer process. It is characterized by that.

すなわち本発明では、請求項1記載の発明と同様の技術思想を電子機器の電源制御プログラムとして実現している。   That is, in the present invention, the technical idea similar to that of the first aspect of the invention is realized as a power supply control program for an electronic device.

請求項8記載の発明では、データを格納するメモリを少なくとも内蔵した複数のモジュールを備えた電子機器のコンピュータに、電子機器の電源制御プログラムとして、(イ)これら複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、(ロ)この保存継続開始タイミング検知処理で前記した保存継続開始タイミングを検知したとき、前記した複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別処理と、(ハ)このデータ選別処理で保存が必要なデータと判別されたデータが前記した複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別処理と、(ニ)この集結可否判別処理によって前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納された保存が必要なデータを前記した特定モジュールに全部転送するデータ転送処理と、(ホ)このデータ転送処理で前記した特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御処理とを実行させることを特徴としている。   In the invention according to claim 8, the computer of the electronic device having a plurality of modules having at least a memory for storing data is provided as a power control program for the electronic device. A storage continuation start timing detection process for detecting a storage continuation start timing as a timing for simultaneously storing data that needs to be stored, and (b) the storage continuation start timing described above in this storage continuation start timing detection process When data is detected, a data selection process for selecting data that needs to be saved among the data stored in each of the plurality of modules and other data based on identification information associated with each data; ) The data identified as the data that needs to be saved in this data selection process is the plurality of modules described above. A collectability determination process for determining whether or not the modules can be assembled into a specific module as a part of the module, and A data transfer process for transferring all of the data stored in the remaining modules to be stored to the specific module, and (e) for each module for which the transfer to the specific module has been completed in the data transfer process. A power supply control process for stopping power supply is executed.

すなわち本発明では、請求項2記載の発明と同様の技術思想を電子機器の電源制御プログラムとして実現している。   That is, in the present invention, the technical idea similar to that of the second aspect of the invention is realized as a power supply control program for an electronic device.

請求項9記載の発明では、(イ)データを格納するメモリを少なくとも内蔵した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知ステップと、(ロ)この保存継続開始タイミング検知ステップで前記した保存継続開始タイミングを検知したとき、前記した複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルを参照して前記した複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別ステップと、(ハ)この集結可否判別ステップで前記した消費電力の少ない形態で前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納されたデータを前記した特定モジュールに全部転送するデータ転送ステップと、(ニ)このデータ転送ステップで前記した特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御ステップとを電子機器の電源制御方法に具備させる。   In the invention according to claim 9, (a) Continuation of preservation as a timing for continuing the preservation of data that needs to be preserved simultaneously among data stored in a plurality of modules having at least a memory for storing data. The storage continuation start timing detection step for detecting the start timing, and (b) when the storage continuation start timing is detected in the storage continuation start timing detection step, specifications regarding data storage are described for each of the plurality of modules described above. A collectability determination step for determining whether the data stored in each of the plurality of modules described above with reference to the table can be collected in a specific module as a part of the modules in a form with low power consumption; ) In the form of low power consumption as described above in this gathering possibility determination step A data transfer step for transferring all the data stored in the remaining modules of the plurality of modules to the specific module when it is determined that the data can be collected in the specific module; and (d) the specific module described in the data transfer step. And a power supply control step of stopping the supply of power for each module for which data transfer to the electronic device is terminated.

すなわち本発明では、請求項1記載の発明と同様の技術思想を電子機器の電源制御方法として実現している。   That is, in the present invention, the technical idea similar to that of the invention described in claim 1 is realized as a power supply control method for electronic equipment.

請求項10記載の発明では、(イ)データを格納するメモリを少なくとも内蔵した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知ステップと、(ロ)この保存継続開始タイミング検知ステップで前記した保存継続開始タイミングを検知したとき、前記した複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別ステップと、(ハ)このデータ選別ステップで保存が必要なデータと判別されたデータが前記した複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別ステップと、(ニ)この集結可否判別手段が前記した特定モジュールに集結できると判別したとき前記した複数のモジュールの残りのモジュールに格納された前記した保存が必要なデータを前記した特定モジュールに全部転送するデータ転送ステップと、(ホ)このデータ転送ステップで前記した特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御ステップとを電子機器の電源制御方法に具備させる。   In the invention according to claim 10, (a) continuation of storage is started as a timing for simultaneously storing data that needs to be saved among data stored in a plurality of modules having at least a memory for storing data. A storage continuation start timing detection step for detecting timing, and (b) when the storage continuation start timing is detected in the storage continuation start timing detection step, the data is stored in the data stored in each of the plurality of modules. (C) a data selection step for selecting data that requires data and other data based on the identification information associated with each data; and (c) data determined as data that needs to be stored in the data selection step is a plurality of data Determine whether you can gather in a specific module as part of the module And (d) the above-described identification of the data that needs to be stored and that is stored in the remaining modules of the plurality of modules when it is determined that the aggregation determination unit can collect the specific module. A data transfer step for transferring all data to the module, and (e) a power supply control step for stopping the supply of power for each module for which the transfer to the specific module has been completed in the data transfer step. To provide.

すなわち本発明では、請求項2記載の発明と同様の技術思想を電子機器の電源制御方法として実現している。   That is, according to the present invention, the technical idea similar to that of the second aspect of the invention is realized as a power supply control method for an electronic device.

以上説明したように請求項1、請求項7および請求項9記載の発明によれば、データを格納するメモリを少なくとも内蔵した複数のモジュールについてデータ保存に関する仕様を記したテーブルを用意している。したがって、このテーブルの内容を用いて電力消費の削減について各種のアプローチを採ることができる。また、仕様の内容によっては電力消費の削減だけでなく、データ処理の効率化のようなその他各種の目的に利用することができる。   As described above, according to the first, seventh, and ninth aspects of the present invention, a table that describes specifications related to data storage is prepared for a plurality of modules that include at least a memory for storing data. Therefore, various approaches can be taken to reduce power consumption using the contents of this table. Further, depending on the contents of the specification, it can be used not only for reducing power consumption but also for various other purposes such as efficient data processing.

また、請求項2、請求項8および請求項10記載の発明によれば、前記した複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別手段を備えている。したがって、データの保存の際だけでなく、データ処理に優先度を用いるような場合にも、データの選り分けにこの識別情報を利用することができる。   Further, according to the inventions of claim 2, claim 8, and claim 10, among the data stored in each of the plurality of modules, data that needs to be saved and other data are associated for each data. Data sorting means for sorting based on the attached identification information is provided. Therefore, this identification information can be used for selecting data not only when data is stored but also when priority is used for data processing.

以下実施例につき本発明を詳細に説明する。   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 electronic device 100 is an extended storage device in a large computer as an example, but may be a small device such as a PDA (Personal Digital Assistant) and provided with a backup storage device inside. In the present embodiment, backup refers to a data storage mode that can save power for a relatively long time in order to save power.

電子機器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 electronic device 100 includes a processor module group 104 to be backed up consisting of first to third modules 101 to 103. Here, the first module 101 is configured as a multiprocessor module including the first CPU 105, the second CPU 106, and the first memory 107. The second module 102 includes a third CPU 108 and a second memory 109. The third module 103 includes only the third memory 111.

電子機器100には、このプロセッサモジュール群104に存在する第1のメモリ107、第2のメモリ109および第3のメモリ111のバックアップへの移行のタイミングを検知するバックアップ移行検知部113が備えられている。たとえばユーザが、この電子機器100をサスペンドモードに移行させるための図示しないスイッチを押したような場合には、バックアップへの移行のタイミングが検知される。   The electronic device 100 includes a backup transition detection unit 113 that detects the timing of transition to backup of the first memory 107, the second memory 109, and the third memory 111 that exist in the processor module group 104. Yes. For example, when the user presses a switch (not shown) for shifting the electronic device 100 to the suspend mode, the timing for shifting to the backup is detected.

電子機器100には、更に、第1〜第3のメモリ107、109、111を含めたシステムの状態を診断する診断機構部114と、これらのメモリ107、109、111のデータを圧縮するメモリデータ圧縮機構部115と、バックアップ時に最小の消費電力のモジュール構成とするための最小消費電力モジュール構成選択機構部116と、これらのメモリ107、109、111に格納されたデータを必要に応じてこれらの一部に転送するデータ転送機構部117および電源管理機構部118が備えられている。   The electronic device 100 further includes a diagnosis mechanism unit 114 that diagnoses the state of the system including the first to third memories 107, 109, and 111, and memory data that compresses data in these memories 107, 109, and 111 The compression mechanism unit 115, the minimum power consumption module configuration selection mechanism unit 116 for setting the module configuration with the minimum power consumption at the time of backup, and the data stored in these memories 107, 109, and 111 as necessary. A data transfer mechanism 117 and a power management mechanism 118 for transferring a part are provided.

診断機構部114には、この電子機器100のプロセッサモジュール群104に対するバックアップ制御を行うCPU121と、バックアップ制御を行う制御プログラムを格納した磁気ディスク等の記憶媒体からなる制御プログラム格納部122が配置されている。診断機構部114のCPU121は、この電子機器100の全般の制御を兼用するものであってもよい。また、最小消費電力モジュール構成選択機構部116等のデータのバックアップに用いられるデバイスの少なくとも一部が、CPU121による制御プログラムの実行によってソフトウェアにより実現されるものであってもよい。   The diagnosis mechanism unit 114 includes a CPU 121 that performs backup control for the processor module group 104 of the electronic device 100 and a control program storage unit 122 that includes a storage medium such as a magnetic disk that stores a control program for performing backup control. Yes. The CPU 121 of the diagnosis mechanism unit 114 may also be used for overall control of the electronic device 100. Further, at least a part of devices used for data backup, such as the minimum power consumption module configuration selection mechanism unit 116, may be realized by software by execution of a control program by the CPU 121.

最小消費電力モジュール構成選択機構部116には、プロセッサモジュール群104のバックアップ時の電源制御を行う際に使用する情報を格納したバックアップ管理テーブル124が用意されている。最小消費電力モジュール構成選択機構部116は、第1〜第3のモジュール101〜103の消費電力を、電子機器100の通常運転時に予め判別する図示しない消費電力判別回路を備えており、バックアップモード移行時に消費電力が最小となるモジュールの構成を選択するようになっている。消費電力判別回路を備える代わりに、第1〜第3のモジュール101〜103の消費電力を前記したオペレータや保守管理者が予めセットするようにしてもよい。   The minimum power consumption module configuration selection mechanism unit 116 is provided with a backup management table 124 that stores information used when performing power control during backup of the processor module group 104. The minimum power consumption module configuration selection mechanism unit 116 includes a power consumption discrimination circuit (not shown) that discriminates in advance the power consumption of the first to third modules 101 to 103 during normal operation of the electronic device 100, and shifts to the backup mode. Sometimes, the module configuration that minimizes power consumption is selected. Instead of providing the power consumption determination circuit, the power consumption of the first to third modules 101 to 103 may be set in advance by the above-described operator or maintenance manager.

図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 third modules 101 to 103, the first memory 107 in the first module 101, the second memory 109 in the second module 102, The memory capacity of each of the third memories 111 in the third module 103 is indicated. In this embodiment, these are classified into three levels of “large”, “medium”, and “small” and stored as table values. However, even if specific values are stored. Good.

図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 transfer mechanism unit 117 in FIG. 1 is a circuit part that instructs the minimum power consumption module configuration selection mechanism unit 116 to transfer data in the processor module group 104. The minimum power consumption module configuration selection mechanism unit 116 selects a data transfer mode in the first to third memories 107, 109, and 111 with reference to the backup management table 124 shown in FIG. . This is to reduce power consumption by collecting all data in a part of the first to third memories 107, 109, and 111 and performing backup. In this way, when data is temporarily collected in a part of the first to third memories 107, 109, and 111 at the time of backup, these are returned to the original location when the backup is completed. For this reason, each piece of data to be transferred is given position information indicating where it is stored in the first to third memories 107, 109, and 111.

メモリデータ圧縮機構部115は、第1〜第3のメモリ107、109、111の一部に全データを集めてバックアップを行う際に、データを圧縮する処理を行う。圧縮処理は必要に応じて行われるようになっていてもよい。また、それぞれのデータに圧縮を有効とするエリアであるか否かを示すエリア有効情報が付けられている場合には、圧縮を有効とするエリアのみを対象として圧縮するようにしてもよい。   The memory data compression mechanism 115 performs a process of compressing data when collecting all data in a part of the first to third memories 107, 109, and 111 and performing backup. The compression process may be performed as necessary. Further, when area validity information indicating whether or not each data is an area for which compression is effective is attached, the compression may be performed only for the area for which compression is effective.

なお、本実施例で圧縮を有効としないエリアとは、データが存在するのにそれをバックアップの対象としないとするエリアと、もともとデータが存在せずバックアップの対象とならないエリアの双方の意味がある。前者の場合には、第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 third memories 107, 109, and 111 are volatile, data that is not to be backed up will be lost when the power supply of the module is shut off as will be described later. become. Therefore, by attaching an index that does not enable compression for data that is not worth saving, it is possible to perform processing for automatically deleting these at the time of backup.

電源管理機構部118は、第1〜第3のモジュール101〜103のそれぞれの電力制御を行うようになっている。たとえば、圧縮処理の結果として第1〜第3のモジュール101〜103内の全データが第1のメモリ107にバックアップ用に一時的にまとめて格納されたとすると、電源管理機構部118はバックアップ時に第2および第3のモジュール102、103に対する電力供給をオフにすることで、全体的な消費電力の節減を図ることになる。   The power management mechanism unit 118 performs power control of each of the first to third modules 101 to 103. For example, if all the data in the first to third modules 101 to 103 are temporarily stored together for backup in the first memory 107 as a result of the compression process, the power management mechanism 118 will By turning off the power supply to the second and third modules 102 and 103, overall power consumption can be reduced.

図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 diagnosis mechanism unit 114 waits for a detection signal indicating that the backup shift detection unit 113 has shifted to the backup to be input (step S201). When a detection signal indicating that the state has shifted to backup is input (Y), the memory data compression mechanism unit 115 is instructed and the first to third memories 107 and 109 from the first to third modules 101 to 103 are instructed. , 111 are sequentially read out, and those that are effective in compression are compressed, and the position information indicating the address at which they are present is added (step S202). For example, position information is stored in each header area of the compressed data.

図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 memory area 130, a header area 132 is provided at the head position for each of the data storage areas 131 1 , 131 2 ,..., And subsequently, data 133 is stored. Each of the data storage areas 131 1 , 131 2 ,... May be configured as an area having a fixed number of bytes, or may be configured as an area having an arbitrary number of bytes.

ヘッダ領域132には、メモリ領域131における位置を示す位置情報1341、1342、……と、圧縮が有効か無効かを示すエリア有効情報1351、1352、……が組み込まれるようになっている。位置情報1341、1342、……には、該当するメモリ領域131におけるアドレス情報だけでなく、図1に示した第1〜第3のモジュール101〜103のどれを構成するメモリに格納されているかを示す情報が含まれていてもよい。 In the header area 132, position information 134 1 , 134 2 ,... Indicating the position in the memory area 131 and area valid information 135 1 , 135 2 ,. ing. In the position information 134 1 , 134 2 ,..., Not only the address information in the corresponding memory area 131 but also stored in the memory constituting any of the first to third modules 101 to 103 shown in FIG. May be included.

図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 memory area 131, compressed data 137 1 , 137 3 ,... For the data storage areas 131 1 , 131 3 ,... In which the area valid information 135 of the header area 132 of FIG. Position information 134 1 , 134 3 ,... Is stored in a form arranged at the head of each. The position information 134 1 , 134 3 ,... Is information for causing the data to be re-stored at the original position shown in FIG. 4 when the compressed data 137 1 , 137 3 ,. It is.

このようにして第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 third modules 101 to 103 is completed in this way, the minimum power consumption module configuration selection mechanism unit 116 stores the compressed first to third memories 107, 109, and 111. A total value of the data amounts D 1 , D 2 and D 3 is calculated (step S203). In this calculation, the amount of data indicating position information is also added. Next, the memory capacities (sizes) C 1 , C 2 , and C 3 of the first to third modules 101 to 103 are read from the backup management table 124 shown in FIG. 2 (step S204). In the example shown in FIG. 1, one memory 107, 109, and 111 is arranged in each of the modules 101 to 103. However, if a plurality of memories are physically arranged in a certain module, the memory capacity Is the total memory capacity of the memories in the same module.

最小消費電力モジュール構成選択機構部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 selection mechanism unit 116 is configured such that the memory capacity of the maximum capacity module indicated in the backup management table 124 is the data amount D 1 , D 2 of the first to third memories 107, 109, 111 after compression. And whether it is larger than the total value of D 3 (step S205). When it is determined that it is large (Y), all the data in the compressed first to third memories 107, 109, and 111 can be stored in the memory of the module having the maximum capacity. Therefore, in this case, all the data of the first to third modules 101 to 103 are collected in the memory of the module having the maximum capacity (step S206). Specifically, looking at the backup management table 124, the memory capacity C3 of the third module 103 is the maximum. Therefore, the data transfer mechanism unit 117 transfers the compressed data of the first and second memories 107 and 109 and their position information to the third memory 111.

このようにして第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 third modules 101 to 103 are collected in one module in this way, the power management mechanism unit 118 temporarily shuts off the power of unnecessary modules (step S207). In the case of the present embodiment, all data of the first to third modules 101 to 103 are collected in the third memory 111. As a result, there is no data to be backed up in the first and second modules 101 and 102. Therefore, the first and second modules 101 and 102 become unnecessary modules, and the power supply to these is cut off. Thereafter, data backup is executed (step S208).

次に、バックアップ管理テーブル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 third memories 107, 109 and 111 after compression. A case where it is determined that there is one will be described. In this case (step S205: N), the minimum power consumption module configuration selection mechanism unit 116 refers to the backup management table 124, and the total value of the memory capacity of the module having the largest memory capacity and the next largest module is compressed. It is determined whether or not the data amount D 1 , D 2, and D 3 of the subsequent first to third memories 107, 109, and 111 is larger than the total value (step S209).

大きいと判別される場合には(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 third memories 107, 109, and 111 can be stored in the memory having the largest capacity and the next largest capacity. Therefore, in this case, all the data of the first to third modules 101 to 103 are collected in the memories of these two modules (step S210). Specifically, looking at the backup management table 124, the memory capacity C 3 of the third module 103 is the largest, followed by the memory capacity C 2 of the second module 102. Therefore, the data transfer mechanism unit 117 transfers the compressed data of the first memory 107 and the position information thereof to the second and third memories 109 and 111.

この後、ステップ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 third modules 101 to 103 are collected in the second and third memories 109 and 111. As a result, there is no data to be backed up in the first module 101. Therefore, the first module 101 becomes an unnecessary module, and power supply to this is cut off. Thereafter, data backup is executed (step S208).

ところで、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮後の第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 third memories 107, 109 and 111 after compression. It may be determined that the value is equal to or less than the value (step S209: N). In this example including the first to third modules 101 to 103, data in at least one module cannot be completely transferred to other modules. Therefore, in this case, the data transfer mechanism unit 117 does not transfer the data, and proceeds to step S208 to start the backup process.

もちろん、図1に示したプロセッサモジュール群104を構成するモジュールの数がたとえば4つの場合には、更に3つのモジュールに残りの1つのモジュールのデータをすべて転送できるかどうかの判別を行うことができる。このようにプロセッサモジュール群104を構成するモジュールの数が幾つかによって、図3に示したバックアップ開始までの処理の詳細を異ならせることができる。   Of course, when the number of modules constituting the processor module group 104 shown in FIG. 1 is four, for example, it is possible to determine whether or not all the data of the remaining one module can be transferred to three modules. . Thus, depending on the number of modules constituting the processor module group 104, the details of the processing up to the start of the backup shown in FIG. 3 can be made different.

図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 transition detection unit 113 notifies the diagnosis mechanism unit 114 of the end of the backup. Based on this, the diagnosis mechanism unit 114 causes the power management mechanism unit 118 to configure all the modules 101 to 101 constituting the processor module group 104. An inquiry is made as to whether or not a part of 103 is in a power-off state (step S221). This is because a part of the first to third modules 101 to 103 may stop the power supply as a result of discharging all data.

第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 third modules 101 to 103 are powered off (Y), they are also turned on (step S222). Then, the data transfer mechanism unit 117 returns the compressed data collected in some modules to the original arrangement of the first to third modules 101 to 103 (step S223). Thereafter, the memory data compression mechanism unit 115 decrypts the data of the first to third modules 101 to 103 (step S224). When processing is performed such that decoding is completed with one module and then started with the next module, the power of the waiting module is stopped until data transfer or decoding is performed. Is possible.

それぞれのモジュール101〜103について復号化が終了したら、位置情報を基にしてそれぞれのデータを元の位置に配置して(ステップS225)、処理を終了させる。なお、圧縮後のデータが集結していたモジュール内で容量的にすべてのデータの復号化が可能であれば、これら1つまたは複数のモジュールで復号化処理を行い、その後に残りのモジュールの電源を投入して復号化後のデータをこれらのモジュールに転送するようにしてもよい。   When the decoding is completed for each of the modules 101 to 103, the respective data are arranged at the original positions based on the position information (step S225), and the process is ended. If all the data can be decrypted in terms of capacity within the module in which the compressed data is gathered, the decryption processing is performed by one or a plurality of these modules, and then the remaining modules are powered. The decrypted data may be transferred to these modules.

ステップS221で第1〜第3のモジュール101〜103の電源がすべて動作状態であった場合には(N)、モジュール間でバックアップのためのデータの転送が行われていない。そこでこの場合にはステップS224に進んで、それぞれのモジュール内でデータの復号化が行われ、位置情報に合わせてデータの配置が行われることになる(ステップS225)。   If all the power sources of the first to third modules 101 to 103 are in an operating state in step S221 (N), data for backup is not transferred between the modules. In this case, the process proceeds to step S224, where data is decoded in each module, and data is arranged in accordance with the position information (step S225).

以上説明した実施例では、モジュールに格納するデータのエリアに圧縮を有効とするエリアであるか否かを示すエリア有効情報を付けたので、バックアップを実行するごとに不要なデータを整理することができるという利点がある。   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 processor module group 104 shown in FIG. For this reason, various deformation | transformation are possible for this invention. Therefore, representative ones will be shown.

<発明の第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 third memories 107, 109, and 111 in the first to third modules 101 to 103 are compressed and the position information is added (step S201, step The process up to S202) is the same as the embodiment.

その次のステップ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 selection mechanism unit 116 calculates the compressed data amounts D 1 , D 2 and D 3 in the first to third modules 101 to 103 (step S301). Then, the remaining memory capacities B 1 , B 2 and B 3 in these modules 101 to 103 are calculated (step S302). Then, it is determined whether the maximum remaining capacity is larger than the sum of data amounts of modules other than the module to which the maximum capacity belongs (step S303). If so (Y), the data of the other modules are transferred to the module having the maximum remaining capacity (step S304). Thereafter, the power supply of unnecessary modules is stopped (step S207), and data backup is performed (step S208).

次に、第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 third modules 101 to 103 is equal to or less than the sum of data amounts of modules other than the module to which the module belongs is described. In this case (step S303: N), it is determined whether the sum of the maximum remaining capacity and the next largest remaining capacity in the first to third modules 101 to 103 is larger than the data amount of the other modules ( Step S305). If so (Y), the data of modules other than these are transferred to the module having the largest remaining capacity and the next largest remaining capacity (step S306). Thereafter, the process proceeds to step S207.

ステップ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 third modules 101 to 103 is equal to or less than the data amount of other modules (N), backup Therefore, data transfer between the modules 101 to 103 is not performed. In this state, data backup is performed (step S208).

以上説明したように、この第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 modules 101 to 103, the data is transferred to the module having a large free capacity, and the power of other modules can be saved.

<発明の第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 configuration selection mechanism 116 shown in FIG. 1 determines whether or not the compressed data can be collected in a part of the first to third modules 101 to 103. (Step S321). If the number of modules constituting the processor module group 104 shown in FIG. 1 cannot be reduced and backup processing cannot be performed (N), data backup is performed without performing backup data transfer processing. (Step S208).

これに対して、プロセッサモジュール群104を構成するモジュールの数を減らしてバックアップが可能な場合には(ステップS321:Y)、このようなモジュールの全組み合わせを演算する(ステップS322)。そして、演算結果として複数の組み合わせが得られた場合には(ステップS323:Y)、バックアップ管理テーブル124における第1〜第3のモジュール101〜103の消費電力を参照して、モジュールの組み合わせごとに必要とするプロセッサモジュール群104の総消費電力を演算する(ステップS324)。この演算の前提となるのは、組み合わせから外したモジュールの電源供給は停止することである。   On the other hand, when the number of modules constituting the processor module group 104 is reduced and backup is possible (step S321: Y), all combinations of such modules are calculated (step S322). If a plurality of combinations are obtained as the calculation result (step S323: Y), the power consumption of the first to third modules 101 to 103 in the backup management table 124 is referred to for each module combination. The total power consumption of the required processor module group 104 is calculated (step S324). The premise of this calculation is that the power supply to the modules removed from the combination is stopped.

このようにしてプロセッサモジュール群104全体として最小の総消費電力となるモジュールの組み合わせが決定される(ステップS325)。そして、データを集結するために選択されたモジュールにそれ以外のモジュールのデータが集結するようにデータ転送が実行される(ステップS326)。
なお、ステップS323でモジュールの組み合わせが単数であった場合には(N)、その組み合わせに対してステップS326のデータ転送が実行されることになる。
In this way, the combination of modules that provides the minimum total power consumption for the entire processor module group 104 is determined (step S325). Then, the data transfer is executed so that the data of the other modules are collected in the module selected to collect the data (step S326).
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 third modules 101 to 103, the supply of power to the modules is stopped as described in the embodiment (step S207). Then, backup is executed (step S208).

<発明の第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 diagnosis mechanism unit 114 is on standby for a detection signal indicating that the backup shift detection unit 113 has shifted to backup (step S201). When a detection signal indicating that the state has shifted to backup is input (Y), the minimum power consumption module configuration selection mechanism unit 116 stores data in the first to third memories 107, 109, and 111 in a state where compression is not performed. The total value of the quantities d 1 , d 2 and d 3 is calculated (step S341). Next, the memory capacities (sizes) C 1 , C 2 , and C 3 of the first to third modules 101 to 103 are read from the backup management table 124 shown in FIG. 2 (step S204). In the example shown in FIG. 1, one memory 107, 109, and 111 is arranged in each of the modules 101 to 103. However, if a plurality of memories are physically arranged in a certain module, the memory capacity Is the total memory capacity of the memories in the same module.

最小消費電力モジュール構成選択機構部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 mechanism unit 116 has a data capacity d 1 in which the memory capacity of the module having the maximum capacity shown in the backup management table 124 is not compressed in the first to third memories 107, 109, and 111. It is determined whether it is larger than the total value of d 2 and d 3 (step S342). If it is determined that it is large (Y), all the data in the first to third memories 107, 109, and 111 can be stored in the memory of the module having the maximum capacity. Therefore, in this case, all the data of the first to third modules 101 to 103 are collected in the memory of the module having the maximum capacity (step S206). Specifically, looking at the backup management table 124, the memory capacity C3 of the third module 103 is the maximum. Therefore, the data transfer mechanism unit 117 transfers the uncompressed data of the first and second memories 107 and 109 and the position information thereof to the third memory 111.

このようにして第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 third modules 101 to 103 are collected in one module in this way, the power management mechanism unit 118 temporarily shuts off the power of unnecessary modules (step S207). In this example, all data of the first to third modules 101 to 103 are collected in the third memory 111. As a result, there is no data to be backed up in the first and second modules 101 and 102. Therefore, the first and second modules 101 and 102 become unnecessary modules, and the power supply to these is cut off. Thereafter, data backup is executed (step S208).

次に、バックアップ管理テーブル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 third memories 107, 109 and 111 that are not compressed. A case where it is determined that the following will be described. In this case (step S342: N), the minimum power consumption module configuration selection mechanism unit 116 refers to the backup management table 124, and the total value of the memory capacity of the module having the largest memory capacity and the next largest module is compressed. It is determined whether it is larger than the total value of the data amounts d 1 , d 2, and d 3 of the first to third memories 107, 109, and 111 that are not performed (step S343).

大きいと判別される場合には(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 third memories 107, 109, and 111 can be stored in the memory having the largest capacity and the next largest capacity. Therefore, in this case, all the data of the first to third modules 101 to 103 are collected in the memories of these two modules (step S210). Specifically, looking at the backup management table 124, the memory capacity C 3 of the third module 103 is the largest, followed by the memory capacity C 2 of the second module 102. Therefore, the data transfer mechanism unit 117 transfers the compressed data of the first memory 107 and the position information thereof to the second and third memories 109 and 111.

この後、ステップ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 third modules 101 to 103 are collected in the second and third memories 109 and 111. As a result, there is no data to be backed up in the first module 101. Therefore, the first module 101 becomes an unnecessary module, and power supply to this is cut off. Thereafter, data backup is executed (step S208).

ところで、メモリ容量の一番大きなモジュールと次に大きなモジュールのメモリ容量の合計値が、圧縮を行っていない第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 third memories 107, 109, 111 that are not compressed. May be determined to be less than or equal to the total value (step S343: N). In this example including the first to third modules 101 to 103, data in at least one module cannot be completely transferred to other modules. Therefore, in this case, the data transfer mechanism unit 117 executes the processing by data compression shown in step S202 and subsequent steps in FIG. 3 (step S344). The description about this is omitted.

本発明の一実施例における電子機器の要部を表わしたブロック図である。It is a block diagram showing the principal part of the electronic device in one Example of this invention. 本実施例のバックアップ管理テーブルの要部を表わした説明図である。It is explanatory drawing showing the principal part of the backup management table of a present Example. 本実施例の電子機器のバックアップ開始までの制御の様子を表わした流れ図である。It is a flowchart showing the mode of control until the backup start of the electronic device of a present Example. データの圧縮が行われる前の所定のモジュール内のメモリにおけるデータ格納部位の格納状態の一部を表わした説明図である。It is explanatory drawing showing a part of storage state of the data storage location in the memory in the predetermined module before data compression is performed. データの圧縮が行われた後の所定のモジュール内のメモリにおけるデータ格納部位の格納状態の一部を表わした説明図である。It is explanatory drawing showing a part of storage state of the data storage location in the memory in the predetermined module after data compression was performed. 本実施例でバックアップ終了時のデータの復帰処理の様子を表わした流れ図である。6 is a flowchart showing a state of data restoration processing at the end of backup in the present embodiment. 本発明の第1の変形例で電子機器のバックアップ開始までの制御の様子を表わした流れ図である。It is a flowchart showing the mode of control until the backup start of an electronic device in the 1st modification of this invention. 本発明の第2の変形例で複数のモジュールの中から省電力の最も効果があるモジュールを選択する選択処理を表わした流れ図である。It is a flowchart showing the selection process which selects the module with the most effect of power saving from several modules in the 2nd modification of this invention. 本発明の第3の変形例におけるバックアップ開始までの処理の流れを示した流れ図である。It is the flowchart which showed the flow of the process until the backup start in the 3rd modification of this invention. 従来の電子機器の要部を表わしたブロック図である。It is a block diagram showing the principal part of the conventional electronic device.

符号の説明Explanation of symbols

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 SYMBOLS 100 Electronic device 101 1st module 102 2nd module 103 3rd module 104 Processor module group 105 1st CPU
106 Second CPU
107 first memory 108 third CPU
109 Second memory 111 Third memory 113 Backup transition detection unit 114 Diagnosis mechanism unit 115 Memory data compression mechanism unit 116 Minimum power consumption module configuration selection mechanism unit 117 Data transfer mechanism unit 118 Power management mechanism unit 121 CPU
122 Control program storage unit 124 Backup management table

Claims (10)

データを格納するメモリを少なくとも内蔵した複数のモジュールと、
これら複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルと、
前記複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、
この保存継続開始タイミング検知手段が前記保存継続開始タイミングを検知したとき、前記テーブルを参照して前記複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別手段と、
この集結可否判別手段が前記消費電力の少ない形態で前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納されたデータを前記特定モジュールに全部転送するデータ転送手段と、
このデータ転送手段が前記特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御手段
とを具備することを特徴とする電子機器。
A plurality of modules containing at least a memory for storing data; and
A table with data storage specifications for each of these modules,
A storage continuation start timing detection means for detecting a storage continuation start timing as a timing for continuing the storage of data that needs to be saved among the data stored in the plurality of modules;
When the storage continuation start timing detection unit detects the storage continuation start timing, the data stored in each of the plurality of modules with reference to the table is stored as a part of the modules in a form with low power consumption. A collectability determination unit for determining whether or not the specific module can be collected;
Data transfer means for transferring all of the data stored in the remaining modules of the plurality of modules to the specific module when it is determined that the collectability determination means can be concentrated in the specific module in a form of low power consumption;
An electronic apparatus comprising: power supply control means for stopping power supply for each module for which the data transfer means has finished transferring data to the specific module.
データを格納するメモリを少なくとも内蔵した複数のモジュールと、
これら複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知手段と、
この保存継続開始タイミング検知手段が前記保存継続開始タイミングを検知したとき、前記複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別手段と、
このデータ選別手段で保存が必要なデータと判別されたデータが前記複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別手段と、
この集結可否判別手段が前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納された前記保存が必要なデータを前記特定モジュールに全部転送するデータ転送手段と、
このデータ転送手段が前記特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御手段
とを具備することを特徴とする電子機器。
A plurality of modules containing at least a memory for storing data; and
A storage continuation start timing detection means for detecting a storage continuation start timing as a timing for simultaneously storing data that needs to be saved among the data stored in the plurality of modules,
When the storage continuation start timing detecting means detects the storage continuation start timing, the data that needs to be stored among the data stored in each of the plurality of modules is associated with other data for each data. Data sorting means for sorting by identification information;
A collection possibility determination unit that determines whether the data determined to be stored by the data selection unit can be collected in a specific module as a part of the plurality of modules;
Data transfer means for transferring all of the data that needs to be stored stored in the remaining modules of the plurality of modules to the specific module when it is determined that the collectability determination means can be collected in the specific module;
An electronic apparatus comprising: power supply control means for stopping power supply for each module for which the data transfer means has finished transferring to the specific module.
前記複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルを備え、
前記集結可否判別手段は、保存継続開始タイミング検知手段が前記保存継続開始タイミングを検知したとき、前記テーブルを参照して前記複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態で前記特定モジュールに集結できるかを判別する手段であることを特徴とする請求項2記載の電子機器。
A table describing specifications for data storage for each of the plurality of modules;
When the storage continuation start timing detection unit detects the storage continuation start timing, the collection permission / inhibition determination unit refers to the table and specifies the data stored in each of the plurality of modules in a form with low power consumption. 3. The electronic apparatus according to claim 2, wherein the electronic apparatus is means for determining whether the modules can be assembled.
前記集結可否判別手段は、前記複数のモジュールのそれぞれに格納された前記保存が必要とされるデータを圧縮したときの、圧縮後のこれらのデータ量を基にして集結の可否を判別する手段であることを特徴とする請求項1または請求項2記載の電子機器。   The aggregation availability determination means is a means for determining whether aggregation is possible based on the amount of data after compression when the data that needs to be stored stored in each of the plurality of modules is compressed. The electronic device according to claim 1, wherein the electronic device is provided. 前記保存が必要とされるデータの圧縮に際してこれらのデータの所在を示す位置情報を付記する位置情報付記手段が更に具備されていることを特徴とする請求項4記載の電子機器。   5. The electronic apparatus according to claim 4, further comprising position information adding means for adding position information indicating a location of the data when the data that needs to be stored is compressed. 前記テーブルの仕様は、それぞれのモジュールの搭載メモリ量と消費電力のいずれかを少なくとも記すものであることを特徴とする請求項1または請求項3記載の電子機器。   The electronic device according to claim 1, wherein the specification of the table describes at least one of an installed memory amount and power consumption of each module. データを格納するメモリを少なくとも内蔵した複数のモジュールとこれら複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルとを備えた電子機器のコンピュータに、
前記複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、
この保存継続開始タイミング検知処理で前記保存継続開始タイミングを検知したとき、前記テーブルを参照して前記複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別処理と、
この集結可否判別処理によって前記消費電力の少ない形態で前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納されたデータを前記特定モジュールに全部転送するデータ転送処理と、
このデータ転送処理で前記特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御処理
とを実行させることを特徴とする電子機器の電源制御プログラム。
In a computer of an electronic device provided with a plurality of modules containing at least a memory for storing data and a table describing specifications relating to data storage for each of the plurality of modules,
A storage continuation start timing detection process for detecting a storage continuation start timing as a timing for continually storing data that needs to be saved among the data stored in the plurality of modules,
When the storage continuation start timing detection process detects the storage continuation start timing, the data stored in each of the plurality of modules with reference to the table is stored as a part of the modules in a form with low power consumption. A collectability determination process for determining whether or not a specific module can be collected;
A data transfer process for transferring all of the data stored in the remaining modules of the plurality of modules to the specific module when it is determined that the specific module can be concentrated in the form of low power consumption by the collectability determination process;
A power supply control program for an electronic device, wherein a power supply control process for stopping power supply is executed for each module that has finished transferring data to the specific module in the data transfer process.
データを格納するメモリを少なくとも内蔵した複数のモジュールを備えた電子機器のコンピュータに、
これら複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知処理と、
この保存継続開始タイミング検知処理で前記保存継続開始タイミングを検知したとき、前記複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別処理と、
このデータ選別処理で保存が必要なデータと判別されたデータが前記複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別処理と、
この集結可否判別処理によって前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納された前記保存が必要なデータを前記特定モジュールに全部転送するデータ転送処理と、
このデータ転送処理で前記特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御処理
とを実行させることを特徴とする電子機器の電源制御プログラム。
In the computer of an electronic device having a plurality of modules having at least a memory for storing data,
A storage continuation start timing detection process for detecting a storage continuation start timing as a timing for performing simultaneous storage of data that needs to be saved among the data stored in the plurality of modules,
When the storage continuation start timing is detected in the storage continuation start timing detection process, the data that needs to be stored among the data stored in each of the plurality of modules is associated with other data for each data. Data sorting process to sort by identification information;
A collectability determination process for determining whether the data determined to be stored in the data selection process can be collected in a specific module as a part of the plurality of modules;
A data transfer process for transferring all the data that needs to be stored stored in the remaining modules of the plurality of modules to the specific module when it is determined that the specific module can be collected by the collectability determination process;
A power supply control program for an electronic device, wherein a power supply control process for stopping power supply is executed for each module for which transfer to the specific module has been completed in the data transfer process.
データを格納するメモリを少なくとも内蔵した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に継続させるタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知ステップと、
この保存継続開始タイミング検知ステップで前記保存継続開始タイミングを検知したとき、前記複数のモジュールのそれぞれについてデータ保存に関する仕様を記したテーブルを参照して前記複数のモジュールのそれぞれに格納されたデータを消費電力の少ない形態でその中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別ステップと、
この集結可否判別ステップで前記消費電力の少ない形態で前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納されたデータを前記特定モジュールに全部転送するデータ転送ステップと、
このデータ転送ステップで前記特定モジュールへのデータの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御ステップ
とを具備することを特徴とする電子機器の電源制御方法。
A storage continuation start timing detection step for detecting a storage continuation start timing as a timing for continually storing data that needs to be saved among a plurality of modules stored in a plurality of modules having at least a memory for storing data. When,
When the storage continuation start timing is detected in the storage continuation start timing detection step, the data stored in each of the plurality of modules is consumed with reference to a table describing specifications related to data storage for each of the plurality of modules. A collectability determination step for determining whether or not it is possible to collect in a specific module as a part of the module in a form with less power;
A data transfer step of transferring all the data stored in the remaining modules of the plurality of modules to the specific module when it is determined that the specific module can be concentrated in the form of low power consumption in the collectability determination step;
A power supply control method for an electronic device, comprising: a power supply control step for stopping power supply for each module that has finished transferring data to the specific module in the data transfer step.
データを格納するメモリを少なくとも内蔵した複数のモジュールに格納されたデータのうちで保存が必要とされるデータの保存を一斉に行うタイミングとしての保存継続開始タイミングを検知する保存継続開始タイミング検知ステップと、
この保存継続開始タイミング検知ステップで前記保存継続開始タイミングを検知したとき、前記複数のモジュールのそれぞれに格納されたデータの中で保存が必要なデータとそれ以外のデータをデータごとに対応付けられた識別情報によって選別するデータ選別ステップと、
このデータ選別ステップで保存が必要なデータと判別されたデータが前記複数のモジュールの中の一部のモジュールとしての特定モジュールに集結できるかを判別する集結可否判別ステップと、
この集結可否判別手段が前記特定モジュールに集結できると判別したとき前記複数のモジュールの残りのモジュールに格納された前記保存が必要なデータを前記特定モジュールに全部転送するデータ転送ステップと、
このデータ転送ステップで前記特定モジュールへの転送を終了させたモジュールごとに電源の供給を停止する電源供給制御ステップ
とを具備することを特徴とする電子機器の電源制御方法。
A storage continuation start timing detecting step for detecting a storage continuation start timing as a timing for simultaneously storing data that needs to be saved among a plurality of modules stored in a plurality of modules each including a memory for storing data; and ,
When the storage continuation start timing is detected in the storage continuation start timing detection step, the data that needs to be stored among the data stored in each of the plurality of modules is associated with other data for each data. A data sorting step for sorting by identification information;
An aggregation determination step for determining whether data determined to be stored in the data selection step can be collected in a specific module as a part of the plurality of modules;
A data transfer step of transferring all of the data that needs to be stored stored in the remaining modules of the plurality of modules to the specific module when it is determined that the collectability determination unit can collect the specific module;
A power supply control method for electronic equipment, comprising: a power supply control step for stopping power supply for each module for which transfer to the specific module is terminated in the data transfer step.
JP2007053947A 2007-03-05 2007-03-05 Electronic device, power control program for electronic device, and power control method Expired - Fee Related JP4910785B2 (en)

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 true JP2008217421A (en) 2008-09-18
JP4910785B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2011048550A (en) * 2009-08-26 2011-03-10 Nec Corp Method and program for memory relocation control of computer, and computer system

Citations (4)

* Cited by examiner, † Cited by third party
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
JP2002262044A (en) * 2001-03-05 2002-09-13 Ricoh Co Ltd Facsimile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
JP2002262044A (en) * 2001-03-05 2002-09-13 Ricoh Co Ltd Facsimile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2011048550A (en) * 2009-08-26 2011-03-10 Nec Corp Method and program for memory relocation control of computer, and computer system
US8381003B2 (en) 2009-08-26 2013-02-19 Nec Corporation Memory relocation in computer for power saving

Also Published As

Publication number Publication date
JP4910785B2 (en) 2012-04-04

Similar Documents

Publication Publication Date Title
CN102301345A (en) Hybrid memory device
CN103870212A (en) Mobile device and method of managing data using swap thereof
JP2006351004A (en) Memory management method of mobile terminal
US20160062691A1 (en) Method for controlling memory device to achieve more power saving and related apparatus thereof
JP2001093220A (en) Power saving control system and power saving control method in environment of plurality of hard disk drives
CN101359321A (en) Method and apparatus for implementing intercommunication of processors
JP2005209188A (en) Data recovery apparatus and method used for flash memory
US7752496B2 (en) Method, apparatus, and computer product for managing log data
JP4717922B2 (en) Information processing system, control method in information processing system, and management apparatus
WO2014008653A1 (en) Method for switching a device between hibernat mode and wake-up
JP4322240B2 (en) Reboot method, system and program
US10146623B2 (en) Indicating rebuild state of storage devices
JPH09330277A (en) Service interruption processing system for disk cache system and method therefor
JP2008217421A (en) Electronic apparatus, electric power source control program for electronic apparatus, and electric power source control method
JP4997858B2 (en) Data recording apparatus and data recording program
JP5018060B2 (en) Information processing apparatus and information processing method
CN105404591A (en) Processor system and storer control method for same
CN100485617C (en) Computer system for rapidly activating system program
JP2006091995A (en) Write-back device of cache memory
JP2008140236A (en) Memory management system, information processor and memory management method
JP2004157728A (en) Database disturbance resolution processing method, its operation device, and processing program for it
CN103514097A (en) Data writing method based on Nand Flash
JPH06214837A (en) Storage area managing method for external storage device
CN102685003A (en) Data switching device and read-back method
WO2017113247A1 (en) Method for reducing power consumption of memory and computer device

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