JP2018181248A - Information processing device and program - Google Patents
Information processing device and program Download PDFInfo
- Publication number
- JP2018181248A JP2018181248A JP2017084488A JP2017084488A JP2018181248A JP 2018181248 A JP2018181248 A JP 2018181248A JP 2017084488 A JP2017084488 A JP 2017084488A JP 2017084488 A JP2017084488 A JP 2017084488A JP 2018181248 A JP2018181248 A JP 2018181248A
- Authority
- JP
- Japan
- Prior art keywords
- power
- supply
- power supply
- storage means
- volatile storage
- 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
Landscapes
- Retry When Errors Occur (AREA)
Abstract
Description
本発明は、情報処理装置及びプログラムに関する。 The present invention relates to an information processing apparatus and program.
従来から、メモリをパラレルインターフェースで接続することは一般的であった。集積回路に内蔵されているCPU(Central Processing Unit)からは、アドレスを指定したデータのただ1回の保存命令で不揮発性記憶装置にデータを書き込みできる。 Conventionally, it has been common to connect memories with a parallel interface. Data can be written from the CPU (Central Processing Unit) incorporated in the integrated circuit to the non-volatile storage device with a single storage instruction of the data designated by the address.
本発明は、揮発性記憶手段に情報が記憶されている場合に、情報処理装置の電源が停止されたとしても揮発性記憶手段に記録されている情報の消失を回避することを目的とする。 An object of the present invention is to avoid the loss of information recorded in volatile storage means, even when the power supply of the information processing apparatus is stopped, when information is stored in the volatile storage means.
本発明に係る情報処理装置は、情報を揮発性記憶手段に記録する記録手段と、電源が停止されると、制御部への電力の供給が停止される直前に猶予を持たせることによって前記制御部及び前記揮発性記憶手段への電力の供給の停止を遅延させる遅延手段と、前記遅延手段により電力の供給の停止が遅延されている間に、前記揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送する転送手段と、を有することを特徴とする。 An information processing apparatus according to the present invention comprises: recording means for recording information in volatile storage means; and the control by giving a delay immediately before the supply of power to the control unit is stopped when the power is stopped. And means for delaying the stop of the supply of power to the volatile storage means, and the information recorded in the volatile storage means while the stop of the supply of power is delayed by the delay means And transfer means for transferring data to the non-volatile storage means.
また、蓄電手段を有し、前記遅延手段は、ユーザ操作により電源が停止されると、前記蓄電手段に蓄電されている電力を前記制御部に供給することを特徴とする。 Further, the power storage unit is provided, and the delay unit is characterized in that the power stored in the storage unit is supplied to the control unit when the power is stopped by a user operation.
また、前記遅延手段は、ユーザ操作により電源が停止された場合、電源から前記制御部への電力の供給が停止されるまでの時間を遅延させることを特徴とする。 Further, the delay means is characterized by delaying a time until the supply of power from the power supply to the control unit is stopped when the power supply is stopped by a user operation.
また、前記揮発性記憶手段は、集積回路内において前記制御部とパラレル接続されていることを特徴とする。 Further, the volatile memory means is connected in parallel with the control unit in an integrated circuit.
また、前記不揮発性記憶手段は、前記制御部を内蔵する集積回路とシリアルインターフェースで接続されていることを特徴とする。 Further, the non-volatile storage means is connected to an integrated circuit incorporating the control unit via a serial interface.
本発明に係るプログラムは、コンピュータを、情報を揮発性記憶手段に記録する記録手段、電源が停止されると、制御部への電力の供給が停止される直前に猶予を持たせることによって前記制御部及び前記揮発性記憶手段への電力の供給の停止を遅延させる遅延手段、前記遅延手段により電力の供給の停止が遅延されている間に、前記揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送する転送手段、として機能させる。 A program according to the present invention includes the recording means for recording information in a volatile storage means, the control according to the present invention by giving a delay immediately before the supply of power to the control unit is stopped when the power is stopped. And means for delaying the stop of the supply of power to the volatile storage means, the information recorded in the volatile storage means being non-volatile while the stop of the supply of power is delayed by the delay means It functions as a transfer means for transferring data to the nature storage means.
請求項1に記載の発明によれば、情報処理装置の電源が停止されたとしても揮発性記憶手段に記録されている情報の消失を回避することができる。 According to the first aspect of the present invention, even if the power supply of the information processing apparatus is stopped, it is possible to avoid the loss of the information recorded in the volatile storage means.
請求項2に記載の発明によれば、蓄電手段に蓄電されている電力を使用して揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送することができる。 According to the second aspect of the invention, the information stored in the volatile storage means can be transferred to the non-volatile storage means using the power stored in the storage means.
請求項3に記載の発明によれば、ユーザ操作により電源が停止された場合でも電力の供給の停止を遅延させることによって、電源から供給される電力を使用して揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送することができる。 According to the third aspect of the present invention, even when the power is shut down by the user operation, the power supply supplied from the power supply is used to be recorded in the volatile storage means by delaying the stopping of the power supply. Information can be transferred to the non-volatile storage means.
請求項4に記載の発明によれば、集積回路内において制御部とパラレル接続されている揮発性記憶手段に記録されている情報の消失を回避することができる。 According to the fourth aspect of the present invention, it is possible to avoid the loss of the information recorded in the volatile storage means connected in parallel with the control unit in the integrated circuit.
請求項5に記載の発明によれば、揮発性記憶手段に記録されている情報を、集積回路とシリアルインターフェースで接続されている不揮発性記憶手段に転送することができる。 According to the fifth aspect of the present invention, the information recorded in the volatile storage means can be transferred to the non-volatile storage means connected with the integrated circuit by the serial interface.
請求項6に記載の発明によれば、情報処理装置の電源が停止されたとしても揮発性記憶手段に記録されている情報の消失を回避することができる。 According to the sixth aspect of the present invention, even if the power supply of the information processing apparatus is stopped, it is possible to avoid the loss of the information recorded in the volatile storage means.
以下、図面に基づいて、本発明の好適な実施の形態について説明する。 Hereinafter, preferred embodiments of the present invention will be described based on the drawings.
実施の形態1.
図1は、本発明に係る情報処理装置の一実施の形態の構成の要部を示すブロック構成図である。図1には、電源1、電源スイッチ2及び基板3が示されている。電源1は、AC/DCコンバータを内蔵しており、商用電源(交流電源)を直流電源に変換する機能を有し、基板3に電力を供給する電源となる。電源スイッチ2は、本装置の電源スイッチであり、オフされると電源1及び基板3を含む装置全体への電力の供給が停止される。
Embodiment 1
FIG. 1 is a block diagram showing the main part of the configuration of an embodiment of the information processing apparatus according to the present invention. The power supply 1, the
基板3には、電源4、システムメモリ5、NVRAM(Non−Volatile RAM)6、ROM(Read Only Memory)7、各種インターフェース(I/F)8、キャパシタ9及びSoC(System−on−a−Chip)10が搭載されている。電源4は、DC/DCコンバータを内蔵しており、電源1からの直流電圧を降圧する機能を有し、SoC10に電力を供給する電源となる。システムメモリ5は、OS(Operating System)が利用するメモリ領域である。本実施の形態では、OSとしてLinux(登録商標)が搭載されている場合を例にして説明するが、これに限定されるものではない。
The substrate 3 includes a power supply 4, a
NVRAM6は、自由に読み書きが可能なRAMのうち、電源スイッチ2をオフにしても内容が失われない不揮発性メモリである。本実施の形態では、NVRAM6を、一般的なSRAM(Static Random Access Memory)に電池(バックアップバッテリ)を組み合わせ、常に通電しておくようにして形成する。ROM7は、読み出し専用の記憶手段である。ところで、本実施の形態における情報処理装置(コンピュータ)は、複合機等の画像形成装置に搭載されている場合を想定している。従って、SoC10には、フューザーユニットやスキャナ等のデバイスも接続されているが、これらを接続するインターフェースは、本実施の形態の説明に用いないので、図1では各種インターフェース(I/F)8とまとめて図示している。
The NVRAM 6 is a non-volatile memory of which the content is not lost even if the
キャパシタ9は、蓄電手段として設けられ、後述するSoC10の動作から明らかなようにSoC10のSRAM12に記録されている全ての情報のNVRAM6への転送完了に必要な電力を蓄積する。
The capacitor 9 is provided as a storage means, and accumulates the power necessary to complete the transfer of all the information recorded in the
図2は、本実施の形態におけるSoC10の概略的な内部構成図である。SoC10は、プロセッサコアをはじめ一般的なマイクロコントローラが持つような機能の他、応用目的の機能なども集積し、連携してシステムとして機能するよう設計されている集積回路製品である。本実施の形態では、集積回路としてSoC10を例にして説明するが、これに限定するものではなく、例えばASSP(Application Specific Standard Produce)などの集積回路を用いてもよい。
FIG. 2 is a schematic internal configuration diagram of the
SoC10は、CPU11、SRAM12、SPI(Serial Peripheral Interface)コントローラ13及び内部バス14を内蔵している。内部バス14は、相対的に高速なパラレルインターフェースバスであり、内蔵する構成要素11〜13に加え、システムメモリ5及び各種インターフェース8が接続される。CPU11は、各種プログラムを実行する。SRAM12は、読み書きが可能なRAMの一種で、一時的にデータを保持するための揮発性メモリである。SoC10に内蔵されるSRAM12は、NVRAM6と比べて情報を記録するための制御が容易である。
The SoC 10 incorporates a CPU 11, an
SPIコントローラ13は、本実施の形態の場合、NVRAM6及びROM7を接続するSPIバス21のコントローラである。SPIバス21は、コンピュータ内部で使われるデバイス同士を接続するバスであり、パラレルインターフェース(パラレルバス)に比べて接続端子数が少なくてすむシリアルバスの一種であるが、シリアルインターフェースであることから相対的に低速である。
The
ところで、従来においては、情報処理装置に搭載されるSoC10とNVRAM6とは、パラレルインターフェースで接続されるのが一般的であった。従って、SoC10に内蔵されているCPU11からは、アドレスを指定したデータのただ1回の書込命令で不揮発性メモリにデータの書き込みができていた。
By the way, conventionally, the
近年では、SoC10のインターフェースとしてパラレルインターフェースを採用する場合が減少し、相対的に低速とはなるもののデバイスの接続端子数削減のためSPI等のシリアルインターフェースを採用するのが主流となってきている。シリアルインターフェースは、CPU11からは、シリアルインターフェースのコントローラ(本実施の形態におけるSPIコントローラ13)に対する複数回のRead/Write命令による不揮発性メモリへのデータの書き込みが必要になる。
In recent years, the use of a parallel interface as the interface of the
従って、情報のNVRAM6への保存は、パラレルインターフェースの場合は一命令で実現できたが、シリアルインターフェースの場合は、複数の命令を組み合わせる必要があるため情報の書込制御が複雑にならざるを得なかった。特に、通常の状態から低電力の状態への遷移中、あるいは低電力の状態から通常の状態への遷移中には、障害が発生した場合の解析用として画像形成装置に搭載されているデバイスに関するログをNVRAM6に書込保存する必要があるが、その書込制御が複雑になってしまう。 Therefore, storage of information in NVRAM 6 could be realized with one instruction in the case of a parallel interface, but in the case of a serial interface, writing control of information has to be complicated because it is necessary to combine a plurality of instructions. It was not. In particular, during transition from a normal state to a low power state or during a transition from a low power state to a normal state, it relates to a device mounted on an image forming apparatus for analysis in the case of failure. Although the log needs to be written and saved in the NVRAM 6, the write control becomes complicated.
このため、本実施の形態においては、パラレルバスである内部バス14を介してCPU11と接続されているSRAM12を有効利用することで情報のNVRAM6への書き込みを簡単に行えるようにした。ただ、SRAM12は、電力の供給が停止されると、記録しているログを失ってしまう。そこで、本実施の形態においては、CPU11及びSRAM12を内蔵するSoC10への電力の供給の停止が検知されると、SoC10への電力の供給が停止される直前に猶予を持たせることによって電力の供給の停止を遅延させる構成を持たせたことを特徴としている。具体的には、キャパシタ9に蓄積されている電力を有効利用して、SRAM12に記録されている情報をNVRAM6に転送して書込保存できるようにした。
Therefore, in the present embodiment, writing of information to the NVRAM 6 can be easily performed by effectively using the
次に、本実施の形態におけるSoC10の動作について説明する。
Next, the operation of the
SoC10は、通常の状態としてユーザ操作を待機しているスタンバイモードで動作している。ユーザによる操作指示があると、そのユーザ操作指示に応じてコピーやスキャンなどの処理を実行する。そして、処理が終了すると指示の待機状態に戻る。なお、CPU11は、スタンバイモードにおいてプログラムを実行することで取り扱うデータを、NVRAM6に書き込むことで記録する。また、スタンバイモードで動作している間に、キャパシタ9には、少なくともSRAM12からNVRAM6へのデータ転送に必要な電力が蓄積される。
The
スタンバイモードでの動作中に所定時間何も操作されなった場合、SoC10は、省電力モード(低電力の状態)に移行する。省電力モードでは、SoC10等への電力の供給を停止して電力消費を軽減するが、SoC10には電力が供給されなくなるので、CPU11は動作を停止し、SRAM12はデータを保持できなくなる。つまり、SRAM12に保持されているデータは消失する。また、通常時(スタンバイモードでの動作中)では、Linuxに搭載される機能を使用できるが、省電力モードに移行するタイミングでは、使用できる機能に制約があるので、情報を記録するための制御(排他制御)が複雑になる。この省電力モードへの移行時(遷移中)に実行される処理について図3に示すフローチャートを用いて説明する。
If no operation is performed for a predetermined time while operating in the standby mode, the
省電力モードへの移行時に実行される処理では、どの段階まで移行処理が済んだのかを把握しやすいように、1つの移行処理が終了する度に履歴(ログ)を記録する。そのために、CPU11は、省電力モードへ移行するための所定のプログラムの実行を開始すると、ログの記録先をNVRAM6からSRAM12に切り替える(ステップ101)。そして、以上の処理が終了すると、その処理内容が記述されたログをSRAM12に書き込む(ステップ102)。 In the process executed at the time of transition to the power saving mode, a history (log) is recorded each time one transition process is completed, so that it is easy to grasp to what stage the transition process has been completed. Therefore, when the CPU 11 starts executing a predetermined program for shifting to the power saving mode, the CPU 11 switches the log recording destination from the NVRAM 6 to the SRAM 12 (step 101). Then, when the above processing is completed, the log in which the processing content is described is written in the SRAM 12 (step 102).
その後、デバイス毎に当該デバイスの現在の状態等を収集し、その収集した情報をログとしてSRAM12に書き込む。すなわち、CPU11は、一のデバイスに関する情報を取得し、当該デバイスへの電力供給を停止する処理を含む移行処理を実施すると(ステップ103−1〜n)、その実施した移行処理に関するログをSRAM12に書き込む(ステップ104−1〜n)。ログとして記録される情報には、当該デバイスの電源オフの正常完了の旨や次に移行処理が実行されるデバイスを特定する情報等が含まれる。
Thereafter, the current state of the device is collected for each device, and the collected information is written to the
全てのデバイスに対し、上記移行処理とログの書き込みが終了すると、CPU11は、SRAM12に書き込まれたログを一括して、SPIバス21を介してNVRAM6に転送することで書込保存する(ステップ105)。パラレルインターフェースと異なり、SPIバス21を介するデータ転送の場合は、複数回のRead/Write命令が必要になるかもしれない。ただ、本実施の形態では、全てのデバイスを電源オフの状態にしており、マルチコアの場合、他のCPUも停止している状態である。したがって、排他制御を考慮する必要がないのでNVRAM6への書込制御を単純化できる。
When the migration processing and log writing are completed for all devices, the CPU 11 writes and saves the logs written in the
続いて、省電力モードからスタンバイモードに復帰する際に実行される復帰処理について図4に示すフローチャートを用いて説明する。 Subsequently, a return process executed when returning from the power saving mode to the standby mode will be described using the flowchart shown in FIG.
復帰処理では、基本的には省電力モードへの移行時処理とは逆の順序で処理を行うことで復帰させればよい。すなわち、CPU11は、スタンバイモードへ復帰するための所定のプログラムの実行を開始すると、復帰処理の実行が開始された旨のログをSRAM12に書き込む(ステップ111)。 In the return processing, basically, the processing may be performed in the reverse order to the processing at the time of transition to the power saving mode. That is, when the CPU 11 starts execution of a predetermined program for returning to the standby mode, it writes a log to the effect that the execution of the return processing is started in the SRAM 12 (step 111).
その後、CPU11は、デバイス毎に当該デバイスの電源をオンにしていくことで電力の供給を開始させるなどの復帰処理を実施すると(ステップ112−1〜n)、その実施した復帰処理に関するログをSRAM12に書き込む(ステップ113−1〜n)。 After that, when the CPU 11 executes recovery processing such as starting supply of power by turning on the power supply of the device for each device (steps 112-1 to n), the log regarding the implemented recovery processing is stored in the SRAM 12 (Step 113-1 to n).
全てのデバイスに対して上記復帰処理とログの書き込みが終了し、NVRAM6に電力が供給されることでログが記録できる状態になると、CPU11は、SRAM12に書き込まれたログを一括して、SPIバス21を介してNVRAM6に転送することで書込保存する(ステップ114)。そして、CPU11は、ログの記録先をSRAM12からNVRAM6に切り替える(ステップ115)。
When the above recovery processing and log writing are completed for all devices, and power can be supplied to the NVRAM 6 so that the log can be recorded, the CPU 11 collectively collects the logs written in the
以上が省電力モードへの移行及び省電力モードからの復帰が正常に終了した場合であるが、ここで、省電力モードへの遷移中に不具合が発生した場合における処理について図5及び図6に示すフローチャートを用いて説明する。なお、図3と同じ処理には同じ符号を付け、説明を適宜省略する。 The above is the case where the transition to the power saving mode and the return from the power saving mode have ended normally, but here the processing in the case where a failure occurs during the transition to the power saving mode is shown in FIGS. It demonstrates using the flowchart shown. The same processes as in FIG. 3 are assigned the same reference numerals, and the description thereof will be omitted as appropriate.
まず、ログの記録先をSRAM12に切り替え(ステップ101)、その内容のログをSRAM12に書込保存する(ステップ102)。そして、各デバイスに対する省電力モードの移行処理及びログの書き込みを順番に行う(ステップ103−1〜,104−1〜)。その処理の過程において移行処理x(1≦x≦n)の実行時に何らかの不具合が発生したことでCPU11がハング(フリーズ)したとする(ステップ103−x)。 First, the log recording destination is switched to the SRAM 12 (step 101), and the log of the content is written and stored in the SRAM 12 (step 102). Then, transition processing of the power saving mode to each device and writing of the log are sequentially performed (steps 103-1 to 104-1). It is assumed that the CPU 11 hangs (freezes) due to the occurrence of a failure during execution of the transition processing x (1 ≦ x ≦ n) in the process of the processing (step 103-x).
CPU11がハングすると、このハングの状態を解消するために、ユーザは、電源スイッチ2をオフし、そしてオンすることで画像形成装置を再起動させ、画像形成装置の状態を回復させると考えられる。なお、従来であれば、このユーザによる電源スイッチ2のオフ操作により、SRAM12への電力の供給が停止することになる。つまり、SRAM12に保持されている情報は、NVRAM6に退避する間もなく失われてしまうことになる。
When the CPU 11 hangs up, the user is considered to turn off the
このユーザによる電源スイッチ2のオフ操作により(ステップ106)、電源1は基板3への電力の供給を停止する。これに伴い、基板3では、電源4がSoC10への電力の供給を停止する。その一方で、キャパシタ9は、電源4からの電力の供給が停止することによって放電を開始する。これにより、キャパシタ9が電源4の代わりに電力をSoC10に供給することになる。
When the user turns off the power switch 2 (step 106), the power supply 1 stops the supply of power to the substrate 3. Along with this, in the substrate 3, the power supply 4 stops the supply of power to the
ところで、電源1がオフされると、フリーズ状態のCPU11はリセットされる。リセット後、CPU11は、電源1がオフされたことを検知可能である。従って、電源1がオフされたことを検知すると(ステップ121でY)、CPU11は、SRAM12に書き込まれたログを一括して、SPIバス21を介してNVRAM6に転送することで書込保存する(ステップ105)。なお、CPU11は、ログのNVRAM6へ書き込みに続けて所定のエラー処理等を実行するが、本実施の形態の要旨ではないので説明を省略する。その後、SoC10は、キャパシタ9から十分な電力の供給が受けられなくなると停止する。一方、CPU11がリセットされたのが電源スイッチ2のオフ操作によるものでない場合(ステップ121でN)、CPU11は、通常の起動処理を実行する(ステップ122)。
By the way, when the power supply 1 is turned off, the CPU 11 in the freeze state is reset. After reset, the CPU 11 can detect that the power supply 1 is turned off. Therefore, when detecting that the power supply 1 is turned off (Y in step 121), the CPU 11 writes and saves the logs written in the
ここでは、図3に示した最後の移行処理(ステップ103−n)に対応するログの書き込み処理(ステップ104−n)まで実行できておらず、移行処理x−1までのログがNVRAM6に書き込まれることになる。これにより、NVRAM6に書き込まれたログを解析することで、移行処理xの実行時に不具合が発生したことが特定でき、ログの内容を解析することによって不具合発生の原因を特定できる場合もある。 Here, the log writing process (step 104-n) corresponding to the last migration process (step 103-n) shown in FIG. 3 can not be executed until the log up to the migration process x-1 is written to NVRAM 6 Will be As a result, by analyzing the log written in the NVRAM 6, it may be possible to identify that a failure has occurred at the time of execution of the migration processing x, and it may be possible to identify the cause of the failure by analyzing the contents of the log.
本実施の形態によれば、以上説明したようにSoC10に内蔵されているSRAM12を有効利用することによってNVRAM6へのログの書込制御を単純化できる。また、キャパシタ9に蓄積されている電力を有効利用することによって、電源スイッチ2のオフ操作に伴いSoC10への電力の供給を即座に停止させるのではなく、電力の供給が停止される直前に猶予を持たせることができるようにした。これにより、NVRAM6にログを確実に残すことが可能となる。
According to the present embodiment, the write control of the log to the NVRAM 6 can be simplified by effectively using the
なお、本実施の形態では、蓄電手段としてのキャパシタ9を基板3上に設けたが、基板3以外に設けたり、既存の蓄電手段を利用したりしてもよい。 In the present embodiment, the capacitor 9 as the storage means is provided on the substrate 3, but it may be provided other than the substrate 3 or an existing storage means may be used.
実施の形態2.
図7は、本実施の形態における情報処理装置の構成の要部を示すブロック構成図である。なお、図1と同じ構成要素には、同じ符号を付け説明を省略する。本実施の形態における情報処理装置は、商用電源と電源1との間に設けられたリレー回路22を有している、また、電源1には、実施の形態1と同様にAC−DCコンバータ23に加えて、切替部24が設けられている。切替部24は、電源スイッチ2のオンオフ操作に応じてリレー回路22のオンオフの切替制御を行う。本実施の形態では、実施の形態1におけるキャパシタ9に代えてリレー回路22及び切替部24を遅延手段として設けている。なお、SoC10の構成は、実施の形態1と同じ構成でよい。
Second Embodiment
FIG. 7 is a block diagram showing the main part of the configuration of the information processing apparatus in the present embodiment. The same components as in FIG. 1 are assigned the same reference numerals and descriptions thereof will be omitted. The information processing apparatus in the present embodiment has a
上記実施の形態1では、ユーザによる電源スイッチ2のオフ操作をトリガとし、キャパシタ9から電力の供給を受けてログのNVRAM6へのデータの書き込みを行うようにした。本実施の形態においてもユーザによる電源スイッチ2のオフ操作をトリガとする点で同様であるが、本実施の形態では、電源スイッチ2のオフ操作に応じて電源1からの電力の供給を即座に停止させるのではなく電源スイッチ2のオフ操作後所定時間遅延させた後に、電源1が電力の供給を停止するようにした。換言すると、電源スイッチ2のオフ操作から電源1が実際に電力の供給を停止するまでに猶予を持たせるようにした。ここで、「所定時間」というのは、ログのNVRAM6への転送処理を完了させるのに必要な時間以上の時間長のことをいう。
In the first embodiment, the user turns off the
以下、本実施の形態における動作について説明するが、基本的には実施の形態1と同じでよい。図3及び図4を用いて説明した省電力モード移行時処理及び省電力モードからの復帰処理は同じでよいので説明を省略する。また、図5及び図6を用いて説明した省電力モード移行時処理の途中でCPUがハングした場合における処理フローも同じでよい。ただ、電源スイッチ2がオフ操作されたときの動作が異なる。なお、電源スイッチ2がオンのとき、切替部24は、リレー回路22が閉じた状態になるよう制御する。つまり、商用電源からの電力は、電源1に供給される状態にある。
Hereinafter, although the operation in the present embodiment will be described, it may be basically the same as the first embodiment. The power saving mode transition process described with reference to FIGS. 3 and 4 and the return process from the power saving mode may be the same, and thus the description thereof will be omitted. In addition, the same processing flow may be applied when the CPU hangs up during the process of transition to the power saving mode described with reference to FIGS. 5 and 6. However, the operation when the
ここで、ユーザにより電源スイッチ2がオフ操作されたことを検知すると(ステップ106)、切替部24は、CPU11をリセットする。リセットされたCPU11は、ユーザによるオフ操作を検知すると、SRAM12に書き込まれたログを一括して、SPIバス21を介してNVRAM6に転送することで書込保存する(ステップ105)。
Here, when it is detected that the
切替部24は、ユーザによるオフ操作後所定時間が経過すると、タイムアップによりリレー回路22を開制御する。これにより、基板3への電力の供給は停止される。なお、リレー回路22が開制御される前に、NVRAM6へのログの転送は完了している。その後、ユーザにより電源スイッチ2がオン操作されると、切替部24は、リレー回路22を閉制御する。これにより、基板3への電力の供給が開始されOSが起動される。
The switching
以上説明したように、本実施の形態によれば、ユーザにより電源オフ操作されても、電源1から基板3に電力を所定時間供給させ、そして供給されている間にSRAM12に記録されているログをNVRAM6に転送できるようにした。これにより、NVRAM6にログを確実に残すことが可能となる。
As described above, according to the present embodiment, even when the power is turned off by the user, the power is supplied from the power source 1 to the substrate 3 for a predetermined time, and the log recorded in the
各実施の形態において、SoC10への電力の供給の停止を遅延させる構成を示したが、これらの両方の構成を情報処理装置に持たせるようにしてもよい。
In each embodiment, the configuration is shown in which the stop of the supply of power to the
なお、本実施の形態においては、NVRAM6に書き込む情報としてログを例にしたが、ログに限定する必要はない。 In the present embodiment, a log is used as an example of the information to be written to the NVRAM 6, but the information need not be limited to the log.
また、本実施の形態においては、画像形成装置に内蔵されているコンピュータを例にして説明したが、これに限らず、PC(Personal Computer)をはじめ、様々な装置に内蔵されるコンピュータに適用することは可能である。 Further, although the computer incorporated in the image forming apparatus has been described as an example in the present embodiment, the present invention is not limited to this, and is applied to a computer incorporated in various devices such as PC (Personal Computer). It is possible.
1,4 電源、2 電源スイッチ、3 基板、5 システムメモリ、6 NVRAM、7 ROM、8 各種インターフェース(I/F)、10 SoC、11 CPU、12 SRAM、13 SPIコントローラ、14 内部バス、21 SPIバス、22 リレー回路、23 AC−DCコンバータ、24 切替部。
1,4 power supply, 2 power supply switch, 3 boards, 5 system memory, 6 NVRAM, 7 ROM, 8 various interfaces (I / F), 10 SoC, 11 CPU, 12 SRAM, 13 SPI controller, 14 internal bus, 21 SPI Bus, 22 relay circuit, 23 AC-DC converter, 24 switching unit.
Claims (6)
電源が停止されると、制御部への電力の供給が停止される直前に猶予を持たせることによって前記制御部及び前記揮発性記憶手段への電力の供給の停止を遅延させる遅延手段と、
前記遅延手段により電力の供給の停止が遅延されている間に、前記揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送する転送手段と、
を有することを特徴とする情報処理装置。 Recording means for recording information in volatile storage means;
Delay means for delaying the stop of the supply of power to the control unit and the volatile storage means by giving a delay immediately before the supply of power to the control unit is stopped when the power supply is stopped;
Transfer means for transferring the information recorded in the volatile storage means to the non-volatile storage means while the stop of the power supply is delayed by the delay means;
An information processing apparatus comprising:
前記遅延手段は、ユーザ操作により電源が停止されると、前記蓄電手段に蓄電されている電力を前記制御部に供給することを特徴とする請求項1に記載の情報処理装置。 Have storage means,
The information processing apparatus according to claim 1, wherein the delay unit supplies the power stored in the storage unit to the control unit when power is stopped by a user operation.
情報を揮発性記憶手段に記録する記録手段、
電源が停止されると、制御部への電力の供給が停止される直前に猶予を持たせることによって前記制御部及び前記揮発性記憶手段への電力の供給の停止を遅延させる遅延手段、
前記遅延手段により電力の供給の停止が遅延されている間に、前記揮発性記憶手段に記録されている情報を不揮発性記憶手段に転送する転送手段、
として機能させるためのプログラム。
Computer,
Recording means for recording information in volatile storage means,
Delay means for delaying the stop of the supply of power to the control unit and the volatile storage means by giving a delay immediately before the supply of power to the control unit is stopped when the power supply is stopped;
Transfer means for transferring the information recorded in the volatile storage means to the non-volatile storage means while the stop of the power supply is delayed by the delay means;
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017084488A JP2018181248A (en) | 2017-04-21 | 2017-04-21 | Information processing device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017084488A JP2018181248A (en) | 2017-04-21 | 2017-04-21 | Information processing device and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018181248A true JP2018181248A (en) | 2018-11-15 |
Family
ID=64276737
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017084488A Pending JP2018181248A (en) | 2017-04-21 | 2017-04-21 | Information processing device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018181248A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021136585A (en) * | 2020-02-27 | 2021-09-13 | 株式会社リコー | Information processing apparatus, information processing method, and program |
-
2017
- 2017-04-21 JP JP2017084488A patent/JP2018181248A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021136585A (en) * | 2020-02-27 | 2021-09-13 | 株式会社リコー | Information processing apparatus, information processing method, and program |
JP7404932B2 (en) | 2020-02-27 | 2023-12-26 | 株式会社リコー | Information processing device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8301923B2 (en) | Multiprocessor system including a power saving mode and control method thereof, and computer-readable medium | |
CN101464819A (en) | Hardware driven processor state storage prior to entering a low power mode | |
JP2007219581A (en) | Memory controller, and electronic equipment mounted therewith | |
EP3332306B1 (en) | System and method for cache aware low power mode control in a portable computing device | |
US20120117407A1 (en) | Computer system and computer system control method | |
US20140013140A1 (en) | Information processing apparatus and computer program product | |
JP2011095916A (en) | Electronic apparatus | |
US20160070634A1 (en) | System and method for system-on-a-chip subsystem trace extraction and analysis | |
JP2005539322A5 (en) | ||
RU2573233C2 (en) | Image forming device, method of controlling image forming device and data medium | |
JP2002182803A (en) | Method and device for suspending and resuming computer system operation | |
JP2012155534A (en) | Electronic device, and method and program of the same | |
JP2008225929A (en) | Information processor | |
JP2018181248A (en) | Information processing device and program | |
US9921983B2 (en) | Direct memory access controller, control method thereof, and information processing system | |
JP2011221708A (en) | Information processing devise and control method for information processing devise | |
JP5852431B2 (en) | Image processing apparatus, control method thereof, and program | |
JP6864830B2 (en) | Information processing equipment and programs | |
US10042650B2 (en) | Computer startup method, startup apparatus, state transition method and state transition apparatus | |
JP4870098B2 (en) | Electronic device and control method of electronic device | |
US20130073792A1 (en) | Electronic apparatus using nand flash and memory management method thereof | |
JP2006260092A (en) | Information processor or data transfer controller | |
JP2005078197A (en) | Power-saving controller | |
KR20140067739A (en) | Memory controller and operating method of memory controller | |
JP2011257987A (en) | Computer system |