JP2008282137A - Information processor and data saving method - Google Patents
Information processor and data saving method Download PDFInfo
- Publication number
- JP2008282137A JP2008282137A JP2007124517A JP2007124517A JP2008282137A JP 2008282137 A JP2008282137 A JP 2008282137A JP 2007124517 A JP2007124517 A JP 2007124517A JP 2007124517 A JP2007124517 A JP 2007124517A JP 2008282137 A JP2008282137 A JP 2008282137A
- Authority
- JP
- Japan
- Prior art keywords
- data
- save
- processing unit
- bus
- 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.)
- Pending
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)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
本発明は、プロセッサを内蔵する半導体素子を備えた情報処理装置に関する。特に、半導体素子の動作を停止するときに停止時点における処理状態を退避し、半導体素子の動作を再開するときに退避した処理状態を復元して処理を再開する技術に関する。 The present invention relates to an information processing apparatus including a semiconductor element incorporating a processor. In particular, the present invention relates to a technique for saving the processing state at the time of stopping when stopping the operation of the semiconductor element and restoring the saved processing state when restarting the operation of the semiconductor element to restart the processing.
携帯電話、携帯音楽プレーヤー、携帯ビデオプレーヤーなど、電池で駆動する携帯型の情報処理装置は、駆動時間を長くすることが望まれている。音楽やビデオを再生していない状態のときに、こまめに電源を遮断することによって電源の浪費を防止し、情報処理装置の駆動時間を長くすることができる。一方で、ユーザの利便性を高めるため、電源が入ったときに、電源停止前の状態から再開できることが望ましい。 A portable information processing device driven by a battery, such as a cellular phone, a portable music player, and a portable video player, is desired to have a longer driving time. When the music or video is not being played back, the power supply can be prevented from being wasted by frequently shutting off the power supply, and the drive time of the information processing apparatus can be extended. On the other hand, in order to improve the convenience for the user, it is desirable that when the power is turned on, it can be resumed from the state before the power is stopped.
従来から、情報処理装置の使用再開時に、電源停止前の状態を再現する制御方法が知られている。電源停止時に、情報処理装置のプロセッサの処理状態を示すデータを不揮発性メモリに退避し、その後、情報処理装置のプロセッサの電源供給を遮断する。情報処理装置の使用再開時に、不揮発性メモリに退避した処理状態を示すデータを情報処理装置のプロセッサが読み出し、使用中断時の状態から処理を再開する。 2. Description of the Related Art Conventionally, a control method is known that reproduces a state before power is stopped when resuming use of an information processing apparatus. When the power is stopped, the data indicating the processing state of the processor of the information processing apparatus is saved in the nonvolatile memory, and then the power supply to the processor of the information processing apparatus is shut off. When the use of the information processing apparatus is resumed, the processor of the information processing apparatus reads data indicating the processing state saved in the nonvolatile memory, and the process is resumed from the state when the use is suspended.
特許文献1では、従来の情報処理装置の起動方法を開示している。特許文献1には、電源停止時に、どのデータを退避すべきかを判断し、退避が必要なデータのみ不揮発領域に退避する技術が記載されている。これにより、更新されていないデータを不揮発領域へ書き込む動作が不要となるので、退避に要する時間を短縮し、高速に電源停止処理を行うことができる。
しかしながら、上記した特許文献1の構成では、電源の停止処理時に、更新されたデータの退避処理を行う。従って、多くのデータが更新されていた場合には、電源停止処理に時間がかかる場合があった。 However, in the configuration of the above-described Patent Document 1, the updated data is saved when the power is stopped. Accordingly, when a large amount of data has been updated, it may take a long time to stop the power supply.
本発明は、上記背景に鑑み、電源停止処理時に退避するデータ数を削減し、速やかに電源停止処理を行える情報処理装置を提供することを目的とする。 In view of the above background, an object of the present invention is to provide an information processing apparatus that can reduce the number of data to be saved at the time of a power stop process and can quickly perform the power stop process.
本発明の情報処理装置は、所定の処理を実行する処理部と、退避すべきデータを記憶する退避メモリと、前記処理部に接続されたバスを流れるデータのうち前記退避すべきデータのアドレスを記憶するバス監視用テーブルと、前記バスを流れるデータを監視し、前記データの送信先あるいは送信元が前記バス監視用テーブルで示されたアドレスである場合、当該データを前記退避メモリに書き込むバス監視部とを備える。 An information processing apparatus according to the present invention includes a processing unit that executes predetermined processing, a save memory that stores data to be saved, and an address of the data to be saved among data flowing through a bus connected to the processing unit. The bus monitoring table to be stored and the data flowing through the bus are monitored. When the transmission destination or transmission source of the data is the address indicated in the bus monitoring table, the bus monitoring is performed to write the data to the save memory. A part.
このようにバスを流れるデータを監視し、データの送信先あるいは送信元がバス監視用テーブルで示されたアドレスの場合に、当該データを退避メモリに書き込むことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。従って、電源停止時にデータの退避処理に要する時間を低減できる。 In this way, the data flowing through the bus is monitored, and when the data transmission destination or transmission source is the address indicated in the bus monitoring table, the data to be saved is written to the save memory to perform normal operation. Can be saved in the save memory. Therefore, the time required for the data saving process when the power is stopped can be reduced.
本発明の情報処理装置において、前記処理部は、前記処理部内に保持された退避すべきデータが格納された場所であって前記バス監視用テーブルで示されるアドレスと異なる場所を示す情報を記憶する退避対象テーブルと、電源停止の指示が入力される前の所定のタイミングに、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込む退避処理部とを備えてもよい。 In the information processing apparatus according to the present invention, the processing unit stores information indicating a location where data to be saved and stored in the processing unit is stored and is different from the address indicated in the bus monitoring table. A save target table and a save processing unit that writes data in a location indicated by the save target table to the save memory at a predetermined timing before an instruction to stop power supply is input may be provided.
このようにバスを流れるデータを監視し、データの送信先あるいは送信元がバス監視用テーブルで示されたアドレスの場合に当該データを退避メモリに書き込む処理と、電源停止の指示が入力される前の所定のタイミングに退避対象テーブルで示された場所にあるデータを退避メモリに書き込む処理とを行うことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。従って、電源停止時において、データの退避処理に要する時間を低減できる。また、バスの監視という簡単な構成により、複数の処理部が存在する場合にも効率良くデータを退避することができる一方で、バスを流れないデータについては、退避処理部によって退避する。このようにバス監視部と退避処理部とが相互に補完し合って、通常動作中に効率良くデータを退避させることができる。 In this way, the data flowing through the bus is monitored, and when the data transmission destination or transmission source is the address indicated in the bus monitoring table, the process of writing the data to the save memory and before the power stop instruction is input By performing the process of writing the data at the location indicated in the save target table to the save memory at a predetermined timing, the data to be saved can be saved in the save memory during the normal operation. Therefore, it is possible to reduce the time required for the data saving process when the power is stopped. Also, the simple configuration of bus monitoring allows data to be efficiently saved even when there are a plurality of processing units, while data that does not flow through the bus is saved by the save processing unit. In this way, the bus monitoring unit and the save processing unit complement each other, and data can be efficiently saved during normal operation.
本発明の情報処理装置は、前記バス監視部による前記退避メモリへの書込みタイミングと前記退避処理部による前記退避メモリへの書込みのタイミングを調整する退避調停部を備えてもよい。 The information processing apparatus of the present invention may include a save arbitration unit that adjusts a write timing to the save memory by the bus monitoring unit and a write timing to the save memory by the save processing unit.
この構成により、バス監視部と退避処理部による退避メモリへの書込みタイミングが抵触した場合にも、どちらかの書込みがキャンセルされることなく、確実にデータを退避メモリに書き込むことができる。 With this configuration, even when the write timing to the save memory by the bus monitoring unit and the save processing unit conflicts, data can be reliably written to the save memory without canceling either write.
本発明の別の態様に係る情報処理装置は、所定の処理を実行する処理部と、前記退避すべきデータを記憶する退避メモリとを備え、前記処理部は、前記処理部内に保持された退避すべきデータが格納された場所を示す情報を記憶する退避対象テーブルと、電源停止の指示が入力される前の所定のタイミングに、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込む退避処理部とを備える。 An information processing apparatus according to another aspect of the present invention includes a processing unit that executes a predetermined process and a save memory that stores the data to be saved, and the processing unit is saved in the processing unit. The save target table for storing information indicating the location where the data to be stored is stored, and the data at the location indicated in the save target table at the predetermined timing before the instruction to stop power supply is input. And an evacuation processing unit that writes data to.
このように電源停止の指示が入力される前の所定のタイミングで、退避対象テーブルで示された場所にあるデータを退避メモリに書き込むことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。従って、電源停止時にデータの退避処理に要する時間を低減できる。 Thus, by writing the data at the location indicated in the save target table to the save memory at a predetermined timing before the power stop instruction is input, the data to be saved is saved in the save memory during normal operation. It can be evacuated. Therefore, the time required for the data saving process when the power is stopped can be reduced.
本発明の情報処理装置において、前記退避処理部は、前記退避対象テーブルで示された場所にあるデータが更新されたタイミングで、更新されたデータを前記退避メモリに書き込んでもよい。 In the information processing apparatus of the present invention, the save processing unit may write the updated data into the save memory at a timing when the data at the location indicated in the save target table is updated.
この構成により、変更されたデータを速やかに退避することができるので、最新のデータを退避メモリに退避しておくことができる。 With this configuration, changed data can be quickly saved, so that the latest data can be saved in the save memory.
本発明の情報処理装置において、前記退避処理部は、一定の時間が経過する毎に、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込んでもよい。 In the information processing apparatus of the present invention, the save processing unit may write data in a location indicated by the save target table to the save memory every time a certain time elapses.
この構成により、一定の時間間隔で退避メモリへの退避を行えばよいので、簡単な構成で装置を実現することができる。 With this configuration, the device can be realized with a simple configuration because it is only necessary to save to the save memory at regular time intervals.
本発明の情報処理装置において、前記退避処理部は、特定の処理が完了したタイミングで、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込んでもよい。 In the information processing apparatus of the present invention, the save processing unit may write data in a location indicated in the save target table to the save memory at a timing when a specific process is completed.
この構成により、使用再開時に退避したデータを再設定することによって、特定の処理の完了時点から処理を再開することができる。 With this configuration, by resetting the data saved when the use is resumed, the process can be resumed from the completion of the specific process.
本発明の情報処理装置は、前記退避メモリとして不揮発性メモリを用いてもよい。 The information processing apparatus of the present invention may use a non-volatile memory as the save memory.
この構成により、簡単な構成で退避メモリを実現できる。 With this configuration, the save memory can be realized with a simple configuration.
本発明の情報処理装置は、前記退避メモリ以外の部分への電源供給を遮断する省電力モードを有してもよい。 The information processing apparatus of the present invention may have a power saving mode in which power supply to a portion other than the save memory is cut off.
この構成により、退避メモリとして揮発性メモリを採用することが可能となる。 With this configuration, it is possible to employ a volatile memory as the save memory.
本発明のデータ退避方法は、所定の処理を実行する処理部を有する情報処理装置においてデータを退避メモリに退避する方法であって、前記処理部に接続されたバスを流れるデータのうち退避すべきデータのアドレスを記憶するバス監視用テーブルを準備するステップと、前記バスを流れるデータを監視し、前記データの送信先あるいは送信元が、前記バス監視用テーブルで示されたアドレスであるか否かを監視するステップと、バスを流れるデータの送信先あるいは送信元のアドレスが前記バス監視用テーブルで示されたアドレスに一致する場合に、当該データを前記退避メモリに書き込むステップとを備える。 The data saving method according to the present invention is a method for saving data to a saving memory in an information processing apparatus having a processing unit for executing a predetermined process, and should be saved among data flowing through a bus connected to the processing unit. Preparing a bus monitoring table for storing data addresses; monitoring data flowing through the bus; and whether the data transmission destination or transmission source is the address indicated in the bus monitoring table And a step of writing the data to the save memory when the transmission destination or transmission source address of the data flowing on the bus matches the address indicated in the bus monitoring table.
このようにバスを流れるデータを監視し、データの送信先あるいは送信元がバス監視用テーブルで示されたアドレスの場合に、当該データを退避メモリに書き込むことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。なお、本発明の情報処理装置の各種の構成を、本発明のデータ退避方法に適用することも可能である。 In this way, the data flowing through the bus is monitored, and when the data transmission destination or transmission source is the address indicated in the bus monitoring table, the data to be saved is written to the save memory to perform normal operation. Can be saved in the save memory. Various configurations of the information processing apparatus of the present invention can be applied to the data saving method of the present invention.
本発明のデータ退避方法は、前記処理部内に保持された退避すべきデータが格納された場所を示す情報を記憶する退避対象テーブルを前記処理部内に準備するステップと、電源停止の指示が入力される前の所定のタイミングに、前記処理部が前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込むステップとを備えてもよい。 According to the data saving method of the present invention, a step of preparing a save target table in the processing unit for storing information indicating a location where data to be saved held in the processing unit is stored, and an instruction to stop power supply are input. And a step of writing the data in the location indicated by the save target table into the save memory at a predetermined timing before the save unit.
このようにバスを流れるデータを監視し、データの送信先あるいは送信元がバス監視用テーブルで示されたアドレスの場合に当該データを退避メモリに書き込む処理と、電源停止の指示が入力される前の所定のタイミングに退避対象テーブルで示された場所にあるデータを退避メモリに書き込む処理とを行うことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。なお、本発明の情報処理装置の各種の構成を、本発明のデータ退避方法に適用することも可能である。 In this way, the data flowing through the bus is monitored, and when the data transmission destination or transmission source is the address indicated in the bus monitoring table, the process of writing the data to the save memory and before the power stop instruction is input By performing the process of writing the data at the location indicated in the save target table to the save memory at a predetermined timing, the data to be saved can be saved in the save memory during the normal operation. Various configurations of the information processing apparatus of the present invention can be applied to the data saving method of the present invention.
本発明の別の態様に係るデータ退避方法は、所定の処理を実行する処理部を有する情報処理装置においてデータを退避メモリに退避する方法であって、前記処理部内に保持された退避すべきデータが格納された場所を示す情報を記憶する退避対象テーブルを前記処理部内に準備するステップと、電源停止の指示が入力される前の所定のタイミングに、前記処理部が前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込むステップとを備える。 A data evacuation method according to another aspect of the present invention is a method of evacuating data to a evacuation memory in an information processing apparatus having a processing unit that executes a predetermined process, the data to be evacuated held in the processing unit The processing unit is indicated in the saving target table at a predetermined timing before a save target table storing information indicating the location where the information is stored in the processing unit and before a power-off instruction is input. And writing data in the saved location to the save memory.
このように電源停止の指示が入力される前の所定のタイミングで、退避対象テーブルで示された場所にあるデータを退避メモリに書き込むことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができる。なお、本発明の情報処理装置の各種の構成を、本発明のデータ退避方法に適用することも可能である。 Thus, by writing the data at the location indicated in the save target table to the save memory at a predetermined timing before the power stop instruction is input, the data to be saved is saved in the save memory during normal operation. It can be evacuated. Various configurations of the information processing apparatus of the present invention can be applied to the data saving method of the present invention.
本発明によれば、バスを流れるデータを監視し、データの送信先あるいは送信元がバス監視用テーブルで示されたアドレスの場合に当該データを退避メモリに書き込むことにより、退避すべきデータを通常の動作中に退避メモリに退避しておくことができ、電源停止時において、データの退避処理に要する時間を低減できるという効果を有する。 According to the present invention, data flowing through the bus is monitored, and when the data transmission destination or transmission source is the address indicated in the bus monitoring table, the data to be saved is normally written by writing the data in the saving memory. Can be saved in the save memory during the operation, and the time required for the data saving process can be reduced when the power is stopped.
以下、本発明の実施の形態の情報処理装置について、図面を参照しながら説明する。
(第1の実施の形態)
図1は、第1の実施の形態の情報処理装置1の構成を示す図である。第1の実施の形態の情報処理装置1は、バス10によって接続された複数のデバイス12、バス10にデータ伝送等の指示を発行するバスマスタ16を有する。情報処理装置1の例としては、システムLSIが挙げられる。各デバイス12は、レジスタ14を有し、各種のレジスタ値が保存されている。本実施の形態では、各デバイス12のレジスタ14に保持されたレジスタ値を退避対象のデータとして説明する。
Hereinafter, an information processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram illustrating a configuration of the information processing apparatus 1 according to the first embodiment. The information processing apparatus 1 according to the first embodiment includes a plurality of
バスマスタ16は、例えば情報処理装置1の挙動を制御するCPUや、データ処理を行うDSPや、データ転送を行うDMAコントローラなどであるが、これらに限られない。デバイス12は、例えば、メモリやデータ入出力インタフェースなど特定の機能動作を行う機能ブロックなどであるが、これらに限られない。なお、図1では、1つのバスマスタ16と2つのデバイス12を記載しているが、バスマスタ16およびデバイス12の数は、図1に示す例に限定されず、何個であってもよい。
The
情報処理装置1は、電源を停止する際に、デバイス12に保存されたレジスタ値を退避メモリ18に保存する。これにより、情報処理装置1は、電源を入力したときに、退避メモリ18に退避したレジスタ値を各デバイス12に再設定し、電源停止前の状態を再現する。
The information processing apparatus 1 saves the register value saved in the
レジスタ値を退避する退避メモリ18は、フラッシュメモリなどの不揮発性メモリであってもよいし、情報処理装置1の停止期間中であっても常時バックアップ電源を供給する揮発性メモリであってもよい。
The save
情報処理装置1は、バス10を流れるデータを監視するバス監視部20を有している。バス監視部20には、バス監視用テーブル22が接続されている。バス監視用テーブル22は、バス10を流れるデータの中から退避メモリ18に退避する対象となるデータを判別するためのテーブルである。
The information processing apparatus 1 includes a
図2は、バス監視用テーブル22に記憶されたデータの例を示す図である。本実施の形態では、退避対象のデータはレジスタ14のレジスタ値であるので、バス監視用テーブル22には、各デバイス12のレジスタ14のアドレスを記憶しておく。バス監視部20は、バス監視用テーブル22に記憶されたアドレス宛てのデータ、あるいは当該アドレスを送信元とするデータがバス10上を伝送したときに、そのデータを退避メモリ18に退避する。
FIG. 2 is a diagram illustrating an example of data stored in the bus monitoring table 22. In the present embodiment, the data to be saved is the register value of the
第1の実施の形態の情報処理装置1は、バス監視部20が、通常の動作期間中にバス10上を伝送するデータを監視し、バス監視用テーブル22に記憶されたアドレス宛てのデータおよび当該アドレスを送信元とするデータを退避メモリ18に退避する。これにより、バス監視用テーブル22に記憶されたアドレスに書き込まれるデータあるいはバス監視用テーブル22から読み出されたデータを退避メモリ18に退避することができる。情報処理装置1は、電源停止時にデータを退避させる必要がなくなり、速やかに電源停止処理を行える。
In the information processing apparatus 1 according to the first embodiment, the
図3は、本実施の形態の情報処理装置1の効果を従来の情報処理装置と対比して示す図である。図3の下段に示すように、従来は、電源停止指示があった後に、退避すべきデータを退避メモリ18に書き込んでいたので、電源停止指示後に実際に電源の停止処理を行うまでに少なくとも退避処理時間Tを要していた。本実施の形態の情報処理装置1は、図3の上段に示すように、バス監視部20は、退避対象のデータがバス10上を流れるたびに、そのデータを退避メモリ18に書き込むので、退避メモリ18には最新の状態のデータが記憶される。従って、電源停止時にレジスタ値を退避させる必要がない。その結果、退避に要していた時間Tを省略して、情報処理装置1を停止状態にすることが可能となり、大きな省電力効果を得ることができる。
FIG. 3 is a diagram showing the effect of the information processing apparatus 1 according to the present embodiment in comparison with the conventional information processing apparatus. As shown in the lower part of FIG. 3, conventionally, data to be saved is written in the
(第2の実施の形態)
図4は、第2の実施の形態の情報処理装置2を示す図である。情報処理装置2は、第1の実施の形態の情報処理装置1と同様に、デバイス12とバスマスタ16と退避メモリ18とを備えている。第2の実施の形態では、デバイス12は、退避処理部24と、退避対象テーブル26とを有している。本実施の形態においても、デバイス12のレジスタ14に保持されたレジスタ値を退避対象のデータとして説明する。
(Second Embodiment)
FIG. 4 is a diagram illustrating the
退避対象テーブル26は、デバイス12内に保持しているレジスタ14のうち、退避メモリ18に退避する対象となるデータを判別するためのテーブルである。具体的には、第1の実施の形態と同様に、退避対象のレジスタ14のアドレスの情報を記憶しておく。なお、退避対象テーブル26に記憶する情報は、レジスタ14の格納場所を示す情報であればよく、例えばレジスタ14の格納場所をビットによって示す情報であってもよい。
The save target table 26 is a table for determining data to be saved in the
退避処理部24は、退避対象テーブル26を参照し、退避対象テーブル26に示されたアドレスのデータが更新されたときに、当該データを退避メモリ18に書き込む。2つのデバイス12のそれぞれの退避処理部24の出力は、デバイス間調停部28に入力される。
The save processing
デバイス間調停部28は、2つの退避処理部24から同じタイミングで退避データが出力されたときに、一方の退避データを優先して退避メモリに書き込む処理を行う。デバイス間調停部28は、一方の退避データを書き込んだ後に、他方の退避データの書込みを行う。
When the save data is output from the two save processing
第2の実施の形態の情報処理装置2は、デバイス12内に設けられた退避処理部24が、データを通常動作期間中に退避メモリ18に退避するので、退避メモリ18には最新の状態のデータが記憶される。従って、電源停止時にデータを退避させる必要がなく、これまで退避に要していた時間を省略して、情報処理装置2を停止状態にすることが可能となり、大きな省電力効果を得ることができる。
In the
なお、上記の説明では、退避処理部24は、退避対象テーブル26に記憶されたアドレスのデータが更新されたときに当該データを退避メモリ18に書き込む例を説明したが、退避処理部24がデータを退避メモリ18に書き込むタイミングは、データが更新されたタイミングに限らない。例えば、データの更新が所定回数行われた時点で、退避メモリ18への書込みを行ってもよい。また、例えば、一定の時間間隔ごとに、退避対象テーブル26に記憶されたアドレスのデータを退避メモリ18に書き込んでもよいし、デバイス12内における処理単位の完了時、例えば画像1枚分の処理や、動画1フレーム分の処理や、通信データ1パケット分の処理などの処理完了時に書込みを行ってもよい。
In the above description, the example in which the save processing
(第3の実施の形態)
図5は、第3の実施の形態の情報処理装置3の構成を示す図である。図5に示すように、情報処理装置3は、デバイス12とバスマスタ16と退避メモリ18とバス監視部20を備えている。本実施の形態も、デバイス12が保持するレジスタ14を退避対象のデータとして説明する。
(Third embodiment)
FIG. 5 is a diagram illustrating a configuration of the information processing device 3 according to the third embodiment. As illustrated in FIG. 5, the information processing apparatus 3 includes a
バス監視部20は、第1の実施の形態と同様に、退避対象のデータであるか否かを判別するためのバス監視用テーブル22に接続されている。デバイス12は、第2の実施の形態と同様に、退避処理部24と退避対象テーブル26を有している。
As in the first embodiment, the
バス監視部20に接続されたバス監視用テーブル22には、デバイス12のレジスタ14のうち、バス10上を流れるレジスタ値を保持するレジスタ14のアドレスを記憶している。例えば、デバイス12のレジスタ値が外部から設定される場合には、設定すべきレジスタ値がバス10を流れる。また、CPUによってレジスタ値を参照する場合は、レジスタ14からレジスタ値が読み出され、当該レジスタ値がバス10を流れる。このバス監視用テーブル22を用いてバス10を監視することによって、バス監視部20はレジスタ値を取得することができる。
The bus monitoring table 22 connected to the
一方、デバイス12内に設けられた退避対象テーブル26には、デバイス12のレジスタ14のうち、バス10上を流れないレジスタ値を保持するレジスタ14のアドレスを記憶している。デバイス12内で生成され、参照されるレジスタ値は、バス10を監視してもその値を取得することができない。従って、デバイス12内のみで管理されるレジスタ値については、退避処理部24が退避対象テーブル26を用いた処理によって退避を行う。
On the other hand, the save target table 26 provided in the
このようにバス監視部20がバス10を流れるレジスタ値を退避し、退避処理部24がデバイス12内部で用いられるレジスタ値を退避する。バス監視部20と退避処理部24の機能分担により、効率良くレジスタ値を退避することができる。すなわち、バス監視部20は、バス10を流れるデータを監視するという簡単な構成で複数のデバイス12のレジスタ14に保持されたレジスタ値を退避する。各デバイス12の退避処理部24は、バス監視部20では捉えることのできないレジスタ値を退避処理部24によって退避すればよいので、通常動作中に、デバイス12の本来の処理が妨げられる機会を低減できる。
In this way, the
また、本実施の形態の情報処理装置3は、バス監視部20と退避処理部24による退避メモリ18へのデータ書込みを調整する退避処理調停部30を備えている。退避処理調停部30は、入力側にバス監視部20および退避処理部24が接続され、出力側に退避メモリ18が接続されている。退避処理調停部30は、バス監視部20と退避処理部24の両方から同時に書込みのデータが入力されたときに、バス監視部20からのデータを優先して退避メモリ18に書き込み、バス監視部20からのデータの書込みの合間に退避処理部24からのデータを退避メモリ18に書き込む。
Further, the information processing apparatus 3 according to the present embodiment includes a save processing
図6は、退避処理調停部30によるデータ書込みタイミングを示す図である。図6を用いて、退避処理部24によるデータD1の書込みタイミングと、バス監視部20によるデータD2の書込みタイミングが衝突した場合について説明する。
FIG. 6 is a diagram illustrating data write timing by the save
退避処理調停部30は、バス監視部20によるデータD2の書込みが発生するまでは、退避処理部24によるデータD1の書込みを行う。すなわち、データD1aを退避メモリ18に書き込む。データD1の書込み中にバス監視部20によるデータD2の書込みが発生すると、退避処理部24からのデータD1の書込みを一旦中断し、バス監視部20からのデータD2を退避メモリ18に書き込む。そして、データD2の書込みが終了した後に、退避処理部24からのデータD1の書込みを再開する。すなわち、退避処理調停部30は、データD1bを退避メモリ18に書き込む。
The save processing
第3の実施の形態の情報処理装置3は、バス監視部20が、通常の動作期間中にバス10上を伝送するデータを監視し、バス監視用テーブル22に記憶されたアドレス宛てのデータ、および当該アドレスを送信元とするデータを退避メモリ18に退避する。また、デバイス12内に設けられた退避処理部24が、通常動作期間中に退避メモリ18にデータを退避する。従って、退避メモリ18には最新の状態のデータが記憶されることとなり、電源停止時にデータを退避させる必要がない。従って、退避に要していた時間を省略して、情報処理装置3を停止状態にすることが可能となり、大きな省電力効果を得ることができる。
In the information processing apparatus 3 according to the third embodiment, the
本発明は、退避に要する時間を低減し、電源停止処理を速やかに行えるという効果を有し、例えば、携帯電話、携帯音楽プレーヤー、携帯ビデオプレーヤー、携帯ボイスレコーダー、デジタルカメラ等として有用である。 The present invention has an effect that the time required for evacuation can be reduced and power supply stop processing can be performed quickly, and is useful as, for example, a mobile phone, a portable music player, a portable video player, a portable voice recorder, a digital camera, and the like.
1〜3 情報処理装置
10 バス
12 デバイス
14 レジスタ
16 バスマスタ
18 退避メモリ
20 バス監視部
22 バス監視用テーブル
24 退避処理部
26 退避対象テーブル
28 デバイス間調停部
30 退避処理調停部
1-3
Claims (12)
退避すべきデータを記憶する退避メモリと、
前記処理部に接続されたバスを流れるデータのうち前記退避すべきデータのアドレスを記憶するバス監視用テーブルと、
前記バスを流れるデータを監視し、前記データの送信先あるいは送信元が前記バス監視用テーブルで示されたアドレスである場合、当該データを前記退避メモリに書き込むバス監視部と、
を備える情報処理装置。 A processing unit for executing a predetermined process;
A save memory for storing data to be saved;
A bus monitoring table for storing the address of the data to be saved among the data flowing through the bus connected to the processing unit;
A bus monitoring unit that monitors data flowing through the bus and writes the data to the save memory when the transmission destination or transmission source of the data is the address indicated in the bus monitoring table;
An information processing apparatus comprising:
前記処理部内に保持された退避すべきデータが格納された場所であって前記バス監視用テーブルで示されるアドレスと異なる場所を示す情報を記憶する退避対象テーブルと、
電源停止の指示が入力される前の所定のタイミングに、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込む退避処理部と、
を備える請求項1に記載の情報処理装置。 The processor is
A evacuation target table for storing information indicating a location where data to be evacuated held in the processing unit is stored and different from an address indicated in the bus monitoring table;
A save processing unit that writes data at a location indicated in the save target table to the save memory at a predetermined timing before an instruction to stop power supply is input;
The information processing apparatus according to claim 1.
前記退避すべきデータを記憶する退避メモリと、
を備え、
前記処理部は、
前記処理部内に保持された退避すべきデータが格納された場所を示す情報を記憶する退避対象テーブルと、
電源停止の指示が入力される前の所定のタイミングに、前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込む退避処理部と、
を備える情報処理装置。 A processing unit for executing a predetermined process;
A save memory for storing the data to be saved;
With
The processor is
A save target table that stores information indicating a location where data to be saved held in the processing unit is stored;
A save processing unit that writes data at a location indicated in the save target table to the save memory at a predetermined timing before an instruction to stop power supply is input;
An information processing apparatus comprising:
前記処理部に接続されたバスを流れるデータのうち退避すべきデータのアドレスを記憶するバス監視用テーブルを準備するステップと、
前記バスを流れるデータを監視し、前記データの送信先あるいは送信元が、前記バス監視用テーブルで示されたアドレスであるか否かを監視するステップと、
バスを流れるデータの送信先あるいは送信元のアドレスが前記バス監視用テーブルで示されたアドレスに一致する場合に、当該データを前記退避メモリに書き込むステップと、
を備えるデータ退避方法。 A method of saving data in a save memory in an information processing apparatus having a processing unit that executes predetermined processing,
Preparing a bus monitoring table for storing an address of data to be saved among data flowing through a bus connected to the processing unit;
Monitoring data flowing through the bus, and monitoring whether the transmission destination or transmission source of the data is an address indicated in the bus monitoring table;
A step of writing the data to the save memory when the transmission destination or transmission source address of the data flowing through the bus matches the address indicated in the bus monitoring table;
A data saving method comprising:
電源停止の指示が入力される前の所定のタイミングに、前記処理部が前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込むステップと、
を備える請求項10に記載のデータ退避方法。 Preparing a save target table in the processing unit for storing information indicating a location where data to be saved held in the processing unit is stored;
Writing the data in the location indicated by the save target table to the save memory at a predetermined timing before the instruction to stop the power is input;
The data saving method according to claim 10, further comprising:
前記処理部内に保持された退避すべきデータが格納された場所を示す情報を記憶する退避対象テーブルを前記処理部内に準備するステップと、
電源停止の指示が入力される前の所定のタイミングに、前記処理部が前記退避対象テーブルで示された場所にあるデータを前記退避メモリに書き込むステップと、
を備えるデータ退避方法。 A method of saving data in a save memory in an information processing apparatus having a processing unit that executes predetermined processing,
Preparing a save target table in the processing unit for storing information indicating a location where data to be saved held in the processing unit is stored;
Writing the data in the location indicated by the save target table to the save memory at a predetermined timing before the instruction to stop the power is input;
A data saving method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007124517A JP2008282137A (en) | 2007-05-09 | 2007-05-09 | Information processor and data saving method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007124517A JP2008282137A (en) | 2007-05-09 | 2007-05-09 | Information processor and data saving method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008282137A true JP2008282137A (en) | 2008-11-20 |
Family
ID=40142914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007124517A Pending JP2008282137A (en) | 2007-05-09 | 2007-05-09 | Information processor and data saving method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008282137A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210038834A (en) * | 2019-09-30 | 2021-04-08 | 타이완 세미콘덕터 매뉴팩쳐링 컴퍼니 리미티드 | Back-up and restoration of register data |
-
2007
- 2007-05-09 JP JP2007124517A patent/JP2008282137A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210038834A (en) * | 2019-09-30 | 2021-04-08 | 타이완 세미콘덕터 매뉴팩쳐링 컴퍼니 리미티드 | Back-up and restoration of register data |
US11295792B2 (en) | 2019-09-30 | 2022-04-05 | Taiwan Semiconductor Manufacturing Company, Ltd. | Back-up and restoration of register data |
KR102389534B1 (en) | 2019-09-30 | 2022-04-22 | 타이완 세미콘덕터 매뉴팩쳐링 컴퍼니 리미티드 | Back-up and restoration of register data |
US11636884B2 (en) | 2019-09-30 | 2023-04-25 | Taiwan Semiconductor Manufacturing Company, Ltd. | Back-up and restoration of register data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102646446A (en) | Hardware dynamic cache power management | |
JP2007207026A (en) | Dma transfer device | |
JP2010055531A (en) | Data processor | |
JP5741245B2 (en) | Image processing apparatus, image processing control method, and image processing control program | |
JP2008282137A (en) | Information processor and data saving method | |
JP2005250650A (en) | Multilayer system and clock controlling method | |
JP2006293950A (en) | Processor controller | |
JP2005182538A (en) | Data transfer device | |
JP2011013836A (en) | Memory arrangement management device and microprocessor | |
JP2012116138A (en) | Control device, control program, and image forming device | |
JP2009020776A (en) | Swap-out control apparatus | |
JP2011081641A (en) | Memory controller | |
JP2008282246A (en) | Information processor | |
JP5231496B2 (en) | Information processing apparatus and suspend / resume method thereof | |
JP2003140946A (en) | Storage device | |
JP6128833B2 (en) | Processing equipment | |
JP2008118211A (en) | Device and method for transferring data | |
JP2009187337A (en) | Device control method, program, control circuit, and electronic equipment | |
JP2005267255A (en) | Clock automatic stop controller, and electronic apparatus or image processing apparatus having the controller | |
JP2008225894A (en) | Sdram controller | |
JP2006331248A (en) | Data transfer device | |
JP4107278B2 (en) | Processor control circuit and information processing apparatus | |
JP5458283B2 (en) | Processing architecture | |
JP2012103967A (en) | Information processor and method for saving data thereof | |
JP2009157731A (en) | Virtual machine system and control method of virtual machine system |