JP2007004229A - Information processing device which is backed up during power saving - Google Patents

Information processing device which is backed up during power saving Download PDF

Info

Publication number
JP2007004229A
JP2007004229A JP2005180284A JP2005180284A JP2007004229A JP 2007004229 A JP2007004229 A JP 2007004229A JP 2005180284 A JP2005180284 A JP 2005180284A JP 2005180284 A JP2005180284 A JP 2005180284A JP 2007004229 A JP2007004229 A JP 2007004229A
Authority
JP
Japan
Prior art keywords
charging
volatile memory
information
return information
standby
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
JP2005180284A
Other languages
Japanese (ja)
Other versions
JP4630741B2 (en
Inventor
Masayuki Eto
正幸 江藤
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2005180284A priority Critical patent/JP4630741B2/en
Publication of JP2007004229A publication Critical patent/JP2007004229A/en
Application granted granted Critical
Publication of JP4630741B2 publication Critical patent/JP4630741B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To improve both the drawback of a suspending function which loses restored information when the power source of a battery is exhausted during a standby condition and the drawback of a hibernation function which takes much time in restoration processing due to the reading of restored information from a nonvolatile memory after a power source is applied. <P>SOLUTION: Restored information is stored only in a volatile memory 1109b, which can perform restoration processing in a short period, if a power source is not being charged. If the power source is being charged, the restored information is stored in a volatile memory 1109a and in a nonvolatile memory 1110a which does not lose the restored information even if a battery is exhausted. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、システムの電源を切る直前の状態から作業が再開できるように省電力時に復帰情報を記憶する情報処理装置に関する。   The present invention relates to an information processing apparatus that stores return information during power saving so that work can be resumed from a state immediately before the system is turned off.

従来、情報処理装置において、作業を途中で中断してシステムの電源を切って待機状態とし、その後電源を投入することにより復帰する場合、中断時の状態から継続して再開することができる機能(レジューム機能という)を実現する方法としては、主として復帰するための情報をDRAMなどの揮発性メモリに保存する方法と、ハードディスクなどの不揮発性メモリに保存する方法が用いられている。前者はサスペンド機能、後者はハイバネーション機能と呼ばれる(例えば特許文献1、特許文献2)。   Conventionally, in an information processing apparatus, when the operation is interrupted halfway and the system is turned off to be in a standby state and then restored by turning on the power, a function that can be resumed from the state at the time of interruption ( As a method for realizing the resume function), a method for mainly storing information for restoration in a volatile memory such as a DRAM and a method for storing it in a non-volatile memory such as a hard disk are used. The former is called a suspend function, and the latter is called a hibernation function (for example, Patent Document 1 and Patent Document 2).

サスペンド機能とは、作業を中断するときに作業中のデータなどを揮発性メモリに保存し、ディスプレイやハードディスクの電力消費を最小限にした待機状態にし、作業再開時には揮発性メモリの復帰情報から復帰処理を行うことができる機能をいう。待機状態であっても全ての電源を切るわけではなく、復帰情報もアクセス速度の速い揮発性メモリに保存されているため、再開時における復帰処理が早いという利点を有する。   The suspend function saves data during work in volatile memory when the work is interrupted, puts the display and hard disk into a standby state that minimizes power consumption, and returns from the volatile memory return information when work is resumed A function that can perform processing. Even in the standby state, not all the power is turned off, and the return information is also stored in the volatile memory having a high access speed, so that the return process at the time of restart is fast.

ハイバネーション機能とは、作業を中断するときに、作業中のデータなどを不揮発性メモリに保存し、全ての電源を切り、作業再開時には不揮発性メモリの復帰情報から復帰処理を行うことができる機能をいう。ハイバネーションでは、不揮発性メモリに復帰情報が保存されるため、電源を完全に切っても復帰情報が失われることはなく、作業中断中には電力をほとんど消費しないという利点を有する。
特開平2−93814号公報 特開2002−324012号公報
The hibernation function is a function that saves the data being worked on in the non-volatile memory when the work is interrupted, turns off all power, and can perform the return processing from the return information in the non-volatile memory when the work is resumed. Say. In the hibernation, the return information is stored in the non-volatile memory. Therefore, the return information is not lost even when the power is completely turned off, and there is an advantage that almost no power is consumed during the operation interruption.
Japanese Patent Laid-Open No. 2-93814 JP 2002-324012 A

しかしながら、サスペンド機能とハイバネーション機能には、以下における課題がある。サスペンド機能は、待機状態中にバッテリの電源が切れた場合には、復帰情報が失われてしまい、待機状態移行前の作業状態から作業を再開することが不可能となる。ハイバネーション機能では、電源を投入した後に復帰情報を不揮発性メモリから読み込むため、復帰処理に時間がかかり、また起動にかかる消費電力も大きいため、迅速な復帰処理を行うことができず、中断するたびにハイバネーション機能を用いると、消費電力によるバッテリ残量への影響も大きくなるという欠点がある。   However, the suspend function and the hibernation function have the following problems. In the suspend function, if the battery is turned off in the standby state, the return information is lost, and it is impossible to resume the work from the work state before the transition to the standby state. In the hibernation function, the recovery information is read from the non-volatile memory after the power is turned on, so it takes time for the recovery process and power consumption for startup is large. When the hibernation function is used, there is a drawback that the influence of the power consumption on the remaining battery level is increased.

本発明はかかる実情に鑑み、電源待機処理に応じた復帰情報の書き込みを行う情報処理装置及び情報処理装置の復帰情報の記憶方法を提案するものである。また、充電部が充電中の場合には、復帰情報を揮発性メモリと不揮発性メモリに書き込み、充電部が非充電中の場合には復帰情報を揮発性メモリのみに書き込むという処理に応じた書き込みを行う。   In view of such a situation, the present invention proposes an information processing apparatus that writes return information in accordance with power standby processing and a method for storing return information of the information processing apparatus. In addition, when the charging unit is being charged, the return information is written to the volatile memory and the nonvolatile memory, and when the charging unit is not being charged, the return information is written only to the volatile memory. I do.

充電部が充電中に、揮発性メモリの復帰情報が無効となっていた場合であって、不揮発性メモリの復帰情報が有効である場合には、不揮発性メモリから揮発性メモリに復帰情報を記憶させ、また、不揮発性メモリの復帰情報が無効となっていた場合であって、揮発性メモリの復帰情報が有効である場合には、揮発性メモリから不揮発性メモリに復帰情報を記憶させる機能を有する情報処理装置及び情報処理装置の復帰情報の記憶方法を提案する。   If the return information of the volatile memory is invalid while the charging unit is charging, and the return information of the nonvolatile memory is valid, the return information is stored from the nonvolatile memory to the volatile memory. In addition, when the return information of the nonvolatile memory is invalid and the return information of the volatile memory is valid, the function of storing the return information from the volatile memory to the nonvolatile memory is provided. An information processing apparatus and a return information storage method for the information processing apparatus are proposed.

また、揮発性メモリ又は不揮発性メモリの復帰情報が有効であるか否かを有効フラグを用いてチェックし、復帰情報が更新されたか否かを更新フラグを用いてチェック可能な情報処理装置、及び復帰情報が有効か無効かをチェックするエラーチェック機能を備える情報処理装置について提案する。   An information processing apparatus that checks whether the return information of the volatile memory or the nonvolatile memory is valid using a valid flag, and can check whether the return information is updated using the update flag, and An information processing apparatus having an error check function for checking whether return information is valid or invalid is proposed.

さらに、不揮発性メモリに復帰情報が書き込まれていない場合であって、かつ、バッテリ切れなどによりシステムダウンするような場合を情報処理装置が検知した場合には、システムダウンする前に不揮発性メモリに復帰情報を書き込む機能を有する情報処理装置を提案する。   Furthermore, when the information processing apparatus detects that the return information is not written in the nonvolatile memory and the system goes down due to a battery exhaustion or the like, the information is stored in the nonvolatile memory before the system goes down. An information processing apparatus having a function of writing return information is proposed.

また、復帰情報を情報処理装置とネットワークを通じて接続されている外部記憶装置に書き込む機能を有する情報処理装置を提案する。   In addition, an information processing apparatus having a function of writing return information to an external storage device connected to the information processing apparatus through a network is proposed.

以上、説明したように、本件発明の一又は二以上の発明にかかるいずれか一の情報処理装置においては、原則として揮発性メモリを利用して復帰処理を行うため、短時間で待機処理開始前の作業状態を復元することができ、仮に揮発性メモリの復帰情報が無効となっていた場合であっても、不揮発性メモリの復帰情報を利用して復帰処理を行うことにより待機処理開始前の作業状態を復元することが可能である。さらに、揮発性メモリと不揮発性メモリの復帰情報は、待機状態中に相互に補完することができるので、復帰情報が失われるリスクが低減される。なお、不揮発性メモリへの書き込みは原則としてバッテリ充電中に行われるため、不揮発性メモリへの書き込みよる電力消費がバッテリ残量へ与える影響を心配する必要もない。   As described above, in any one of the information processing apparatuses according to one or more inventions of the present invention, the return process is performed using the volatile memory in principle, so that the standby process is started in a short time. Even if the return information of the volatile memory is invalid, the recovery process using the return information of the non-volatile memory is performed before the standby process is started. It is possible to restore the working state. Furthermore, the return information of the volatile memory and the non-volatile memory can be complemented with each other during the standby state, thereby reducing the risk of the return information being lost. Since writing to the non-volatile memory is performed while the battery is being charged in principle, there is no need to worry about the influence of power consumption due to writing to the non-volatile memory on the remaining battery level.

また、有効フラグ、更新フラグ、エラーチェック機能を用いることにより、復帰情報が有効であるか否か、更新されているか否かを迅速に判断することができる。   Further, by using a valid flag, an update flag, and an error check function, it is possible to quickly determine whether the return information is valid or updated.

さらに、仮に作業場対中や待機状態中にバッテリ切れが生じた場合であっても、充電部が充電中か非充電中かに関わらず、不揮発性メモリに復帰情報が書き込まれるため、不揮発性メモリに書き込まれた復帰情報から復帰処理を行うことができ、待機処理開始前から作業を再開することが可能である。   Furthermore, even if the battery runs out during the work place or in the standby state, the return information is written to the nonvolatile memory regardless of whether the charging unit is charging or not charging. It is possible to perform a return process from the return information written in, and to resume the work before the start of the standby process.

また、記憶部をネットワークを介して接続された外部記憶装置に配置することで、情報処理装置の状況に左右されずに、待機処理開始前の作業状態を復元することができる。   In addition, by arranging the storage unit in an external storage device connected via a network, it is possible to restore the work state before the start of the standby process regardless of the status of the information processing apparatus.

本発明を実施するための最良の形態について図面を用いて詳細に説明する。なお、本発明はこれら実施の形態に何ら限定されるものではなく、その要旨を逸脱しない範囲において、種々なる態様で実施しうる。なお、以下の実施形態と請求項の関係は次の通りである。実施形態1は請求項1、13などについて説明する。実施形態2は請求項2、3などについて説明する。実施形態3は請求項4、5、14、15などについて説明する。実施形態4は請求項6、7、16、17などについて説明する。実施形態5は請求項8などについて説明する。実施形態6は請求項9、10などについて説明する。実施形態7は請求項11などについて説明する。実施形態8は請求項12などについて説明する。   The best mode for carrying out the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments, and can be implemented in various modes without departing from the spirit of the present invention. In addition, the relationship between the following embodiment and a claim is as follows. The first embodiment will explain claims 1 and 13. The second embodiment will explain claims 2 and 3. The third embodiment will explain claims 4, 5, 14, 15 and the like. The fourth embodiment will explain claims 6, 7, 16, 17 and the like. The fifth embodiment will explain claim 8 and the like. The sixth embodiment will explain claims 9 and 10. The seventh embodiment will explain claim 11 and the like. The eighth embodiment will explain claim 12 and the like.

<<実施形態1>>   << Embodiment 1 >>

<実施形態1の概要>実施形態1について説明する。本実施形態にかかる情報処理装置は、電源の待機処理に応じて待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶部に書き込む情報処理装置に関する。   <Outline of Embodiment 1> Embodiment 1 will be described. The information processing apparatus according to the present embodiment relates to an information processing apparatus that writes, in a storage unit, return information for restoring a work state before the start of standby processing at the end of standby in accordance with power standby processing.

<実施形態共通のハードウェア構成>図1は実施形態1から実施形態8のいずれか一にかかるハードウェア構成の一例であり、他の実施形態のハードウェア構成と共通する。例えば、ハードウェアを構成する要素としては、電源OFF処理及び電源待機処理及び復帰情報の書き込み及び読み込みを行うCPU(電源OFF処理部、電源待機処理部、書込部、復帰処理部)と、復帰情報の書き込み先である記憶部に当たるDRAM(揮発性メモリ)やハードディスク(不揮発性メモリ)と、電源回路(電源、充電部)を有する情報処理装置を挙げることができる。なお、外部からの入力を許容する場合には、図1に示すとおりI/Oデバイス等を設けてもよいし、必要に応じて情報処理装置を構成する他のデバイス等を備えてもよい。   <Hardware Configuration Common to Embodiments> FIG. 1 is an example of a hardware configuration according to any one of Embodiments 1 to 8, and is common to the hardware configurations of other embodiments. For example, the hardware components include a CPU (power OFF processing unit, power standby processing unit, writing unit, recovery processing unit) that writes and reads power OFF processing, power standby processing, and recovery information, and recovery An information processing apparatus including a DRAM (volatile memory) or a hard disk (nonvolatile memory) corresponding to a storage unit to which information is written, and a power supply circuit (power supply, charging unit) can be given. In the case where input from the outside is allowed, an I / O device or the like may be provided as shown in FIG. 1, or other devices or the like that constitute the information processing apparatus may be provided as necessary.

<実施形態1の構成>図2に本実施形態での機能ブロック図の一例を例示する。図2に示す本実施形態の「情報処理装置」(0200)は、「電源」(0201)と、「電源OFF処理部」(0203)と、「電源待機処理部」(0204)と、「記憶部」(0206)と、「充電部」(0202)と、「書込部」(0205)と、「復帰処理部」(0207)とを有する。   <Configuration of Embodiment 1> FIG. 2 illustrates an example of a functional block diagram in this embodiment. The “information processing apparatus” (0200) of the present embodiment illustrated in FIG. 2 includes a “power supply” (0201), a “power-off processing unit” (0203), a “power standby processing unit” (0204), and a “memory”. Part "(0206)," charging part "(0202)," writing part "(0205), and" return processing part "(0207).

<実施形態1の構成の説明>「情報処理装置」(0200)は、待機状態へ移行可能な機能を有する情報処理を行う装置であり、コンピュータやPDA、携帯電話、デジタル家電など情報処理機能を有する電子機器全般が該当する。   <Description of Configuration of First Embodiment> An “information processing apparatus” (0200) is an apparatus that performs information processing having a function capable of shifting to a standby state, and has information processing functions such as a computer, a PDA, a mobile phone, and a digital home appliance. Applicable to all electronic devices.

「電源」(0201)は、情報処理装置に電力の供給を行う。電源には、バックアップ電源とシステム電源があり、バックアップ電源とは情報処理装置が待機状態のときに最低限必要な電力を供給する電源であり、システム電源とは、バックアップ電源が供給する電力以外に、情報処理装置の作業を行うのに必要なシステムを動作させるための電源である。電源は、バックアップ電源とシステム電源のON/OFFによって、次に示す3つの状態のうち、いずれか一の状態をとりうる。
(1)バックアップ電源ON かつ システム電源ON (作業状態)
(2)バックアップ電源ON かつ システム電源OFF (待機状態)
(3)バックアップ電源OFF かつ システム電源OFF(停止状態)
バックアップ電源ONであって、システム電源ONの場合には、情報処理装置の作業に必要な電力が供給され(1)作業状態となり、情報処理装置において作業を行うことができる。バックアップ電源がOFFの場合には、情報処理装置に電力が供給されないため、システム電源がONとなることもなく、(3)の停止状態となる。また、バックアップ電源ONであって、システム電源OFFの場合には、情報処理装置は(2)待機状態となる。待機状態は、復帰処理を行わなければ情報処理装置上での通常の作業を行うことはできない状態をいい、待機状態中に稼動するデバイスを制限することで電力消費を抑えることができる。例えば、待機状態には、復帰情報を記憶する揮発性メモリ等のデバイスは作動しているが、それ以外のデバイスの電源をOFFにする状態が考えられる(以下、待機状態1という)。また、情報処理装置のディスプレイのみの電源をOFFにする状態が考えられる(以下、待機状態2という)。待機状態1の場合では揮発性メモリの復帰情報を失わない必要最低限の電源がバックアップ電源ということになり、情報処理装置で作業するために必要なそれ以外のデバイスの電源はシステム電源となる。また、待機状態2の場合では、ディスプレイにかかる電源のみがシステム電源となり、それ以外の電源がバックアップ電源ということになる。待機状態中は、各デバイスは待機モードとなる。待機モードとは、情報処理装置に各待機状態に応じた必要な電力のみが供給されているときの各デバイスの状態をいう。以上のように、とりうる待機状態によってバックアップ電源の対象とシステム電源の対象が異なる。なお、具体例としてあげた待機状態以外にも、待機状態中に稼動させるデバイスの種類により、無数の待機状態が考えられる。
The “power source” (0201) supplies power to the information processing apparatus. There are backup power supply and system power supply. The backup power supply supplies the minimum necessary power when the information processing device is in the standby state. The system power supply is not limited to the power supplied by the backup power supply. This is a power source for operating a system necessary for performing work of the information processing apparatus. The power supply can take any one of the following three states depending on ON / OFF of the backup power supply and the system power supply.
(1) Backup power ON and system power ON (working status)
(2) Backup power ON and system power OFF (standby state)
(3) Backup power off and system power off (stopped)
When the backup power supply is ON and the system power supply is ON, power necessary for the operation of the information processing apparatus is supplied (1), and the operation state can be performed in the information processing apparatus. When the backup power supply is OFF, no power is supplied to the information processing apparatus. Therefore, the system power supply is not turned ON and the state (3) is stopped. When the backup power source is ON and the system power source is OFF, the information processing apparatus is (2) in a standby state. The standby state refers to a state in which normal work on the information processing apparatus cannot be performed unless return processing is performed, and power consumption can be suppressed by restricting devices operating in the standby state. For example, in a standby state, a device such as a volatile memory that stores return information is operating, but a state in which the power of other devices is turned off is considered (hereinafter referred to as standby state 1). In addition, a state in which only the display of the information processing apparatus is turned off is considered (hereinafter referred to as standby state 2). In the case of the standby state 1, the minimum necessary power source that does not lose the return information of the volatile memory is the backup power source, and the power sources of the other devices necessary for working with the information processing apparatus are the system power source. In the standby state 2, only the power source applied to the display is the system power source, and the other power sources are backup power sources. During the standby state, each device is in a standby mode. The standby mode refers to the state of each device when only the necessary power corresponding to each standby state is supplied to the information processing apparatus. As described above, the target of the backup power source and the target of the system power source differ depending on the possible standby states. In addition to the standby states given as specific examples, an infinite number of standby states are conceivable depending on the types of devices operated during the standby state.

図3に本実施形態にかかる情報処理装置がとりうる状態遷移図を示す。情報処理装置は、(1)作業状態から待機処理によって(2)待機状態へ移行することができ、電源OFF処理によって(3)停止状態へ移行することができる。情報処理装置は、(2)待機状態からは復帰処理によって(1)作業状態へ移行することができ、電源OFF処理によって(3)停止状態へ移行することができる。情報処理装置は、(3)停止状態からは起動処理によって(1)の作業状態へのみ移行できる。これは、情報処理装置は、(3)停止状態において作業を行う場合には(1)作業状態へ移行すればよく、作業を行わない場合には(3)の停止状態を継続すればよいため、あえて(2)待機状態へ移行する必要がないためである。   FIG. 3 is a state transition diagram that can be taken by the information processing apparatus according to the present embodiment. The information processing apparatus can (1) shift from the work state to the standby state by the standby process (2), and (3) shift to the stop state by the power-off process. The information processing apparatus can (2) shift from the standby state to (1) work state by return processing, and (3) shift to stop state by power-off processing. The information processing apparatus can shift only from the (3) stopped state to the working state (1) by the startup process. This is because the information processing apparatus may (1) shift to the work state when the work is performed in (3) the stop state, and may continue the stop state of (3) when the work is not performed. (2) This is because it is not necessary to shift to the standby state.

「電源OFF処理部」(0203)は、情報処理装置の電源OFF時の電源OFF処理を実行する機能を有する。電源OFFとは、情報処理装置のバックアップ電源がOFFである状態をいう。電源OFF時とは、電源OFFの状態に移行する時を指し、具体的には、作業状態又は待機状態から停止状態へと移行する時を指す。電源OFF処理とは、電源OFF時に行われる処理をいい、外部又は内部からのトリガーによる停止状態への移行要求に応じて行われる処理である。外部からのトリガーは、ユーザが電源OFFスイッチを押した場合や情報処理装置を作動させるソフトウェアの終了を選択した場合などに発生し、内部からのトリガーは、充電部のバッテリ残量がなくなってしまう場合や、一定時間経過後に電源OFFになるような設定にしている場合などに発生する。電源OFF処理部には、CPU、マイクロコントローラ、揮発性メモリや不揮発性メモリに記憶されたプログラム、これらの一又は二以上の組み合わせで構成された機能回路などが該当する。   The “power OFF processing unit” (0203) has a function of executing a power OFF process when the information processing apparatus is turned OFF. The power off means a state where the backup power of the information processing apparatus is off. The time when the power is turned off indicates a time when the power is turned off, and more specifically when the power is turned off from the working state or the standby state. The power-off process is a process performed when the power is turned off, and is a process performed in response to a request for transition to a stop state by an external or internal trigger. An external trigger occurs when the user presses the power OFF switch or when the end of software for operating the information processing device is selected, and the internal trigger causes the remaining battery level of the charging unit to run out. This occurs when the power is turned off after a certain period of time. The power-off processing unit corresponds to a CPU, a microcontroller, a program stored in a volatile memory or a nonvolatile memory, a functional circuit configured by one or a combination of two or more thereof.

「電源待機処理部」(0204)は、電源を待機状態とするときの待機処理を実行する機能を有する。電源の待機状態とは、前述のとおりバックアップ電源ONの状態であって、システム電源OFFの状態をいい、情報処理装置が作業状態にあるときのみ待機状態へ移行可能である。待機処理は、待機状態中に作動するデバイスの範囲や、待機状態への移行時の充電部の条件などにより複数の待機処理の種類が考えられる。例えば、前述の待機状態1と待機状態2では情報処理装置の電源OFFにすべき範囲が異なるため、異なる待機処理を行う。待機状態1へ移行させるためには、揮発性メモリを作動させる必要最低限のデバイス以外の電源をOFFにする(以下、待機処理1)。待機状態2へ移行させるためには、ディスプレイの電源のみをOFFにする(以下、待機処理2)。また、これらのいずれの待機状態へ移行させるかということを、充電部の条件等に関連付けてもよい。例えば、後述する充電部において、外部のAC電源などから電力供給を受けている場合にはバッテリ切れの心配をする必要が無いので、消費電力の節減はあまり期待できないが作業状態への復元が早いディスプレイの電源のみをOFFにする待機処理2を行うことを選択することが可能であるし、同じく電力供給を受けていてバッテリ切れを心配する必要が無い場合に、復帰情報が失われるリスクを低減するために、書込部に、記憶部のうち複数の記憶媒体に復帰情報を書き込ませるようにさせることも可能である。また、外部電源から電力供給を受けていない場合には待機処理2より省電力が期待できる待機処理1を行うことや、消費電力を増加させないように、書込部に記憶部のうち一つの記憶媒体(例えば揮発性メモリ)にのみ復帰情報を書き込ませるようにすることも可能である。なお、待機処理は、外部又は内部からのトリガーによる作業状態から待機状態への移行要求に応じて行われる処理である。外部からのトリガーは、ユーザが待機状態移行スイッチを押した場合や、OSなどの情報処理装置を作動させるソフトウェアの待機状態移行ボタンを選択した場合などに発生し、内部からのトリガーは、一定時間内に情報処理装置への操作が全く行われなかった場合に自動的に待機状態へ移行するように設定している場合などに発生する。電源待機処理部には、CPU、マイクロコントローラ、揮発性メモリや不揮発性メモリに記憶されたプログラム、これらの一又は二以上の組み合わせで構成された機能回路などが該当する。   The “power standby processing unit” (0204) has a function of executing standby processing when the power is set to a standby state. The standby state of the power supply is a state where the backup power supply is ON as described above, and is a state where the system power supply is OFF. The standby processing can be classified into a plurality of types of standby processing depending on the range of devices that operate during the standby state, the condition of the charging unit when shifting to the standby state, and the like. For example, the standby state 1 and the standby state 2 described above differ in the range in which the information processing apparatus should be turned off, so different standby processes are performed. In order to shift to the standby state 1, the power supply other than the minimum necessary device for operating the volatile memory is turned off (hereinafter, standby process 1). In order to shift to the standby state 2, only the power of the display is turned off (hereinafter, standby process 2). Moreover, you may link | relate these standby states to the conditions of a charging part, etc. For example, in a charging unit to be described later, when power is supplied from an external AC power source or the like, there is no need to worry about running out of the battery. It is possible to choose to perform standby processing 2 to turn off only the display power, and reduce the risk of lost recovery information when there is no need to worry about running out of battery as well. In order to do this, it is possible to cause the writing unit to write the return information to a plurality of storage media in the storage unit. Further, when the power supply is not received from the external power supply, the writing unit stores one of the storage units so that the standby process 1 in which power saving can be expected from the standby process 2 is performed and the power consumption is not increased. It is also possible to write the return information only on a medium (for example, a volatile memory). Note that the standby process is a process that is performed in response to a request to shift from a work state to a standby state by an external or internal trigger. An external trigger occurs when the user presses the standby state transition switch or when a software standby state transition button for operating an information processing device such as an OS is selected. This occurs when the information processing apparatus is set to automatically enter the standby state when no operation is performed on the information processing apparatus. The power standby processing unit corresponds to a CPU, a microcontroller, a program stored in a volatile memory or a nonvolatile memory, a functional circuit configured by one or a combination of two or more thereof.

「記憶部」(0206)は、復帰情報を記憶する。復帰情報とは、復帰情報作成時における情報処理装置の作業状態に関する情報であり、待機処理の種類によって必要な復帰情報は異なる。情報処理装置は復帰情報を利用して復帰処理を行うことにより、復帰情報作成時の作業状態を復元することができる。記憶部には、揮発性メモリであるDRAMや不揮発性メモリであるハードディスクなどが該当し、これ以外にも、外部メモリ等を記憶部とすることも可能である。例えば、FDやCD、DVD、MOなどの記憶媒体に記憶してもいいし、USBメモリや外付け型ハードディスクなどに記憶してもいい。なお、記憶部は同じ記憶媒体を複数用いてもよい。   The “storage unit” (0206) stores return information. The return information is information relating to the working state of the information processing apparatus when the return information is created, and the required return information differs depending on the type of standby processing. The information processing apparatus can restore the work state at the time of creating the return information by performing the return process using the return information. The storage unit corresponds to a DRAM that is a volatile memory, a hard disk that is a nonvolatile memory, or the like, and an external memory or the like can also be used as the storage unit. For example, it may be stored in a storage medium such as FD, CD, DVD, or MO, or may be stored in a USB memory or an external hard disk. Note that the storage unit may use a plurality of the same storage media.

「充電部」(0202)は、情報処理装置に供給する電力を充電する機能を有する。充電部に電力を充電する方法は問わない。例えば、ACアダプタによりAC電源から電力供給を受けている場合、携帯端末等でUSBを通じて電力供給を受けている場合、太陽電池により電力供給を受けている場合、外部に電池を接続する場合などが考えられる。充電部が電力供給を受けている場合には、充電部は充電中となる。一方、充電部が電力供給を受けていない場合には、充電部は非充電中となる。充電部が非充電中の場合には、バッテリ切れが発生する可能性があり、待機状態の時にはなるべく電力消費を抑えることが望ましい。   The “charging unit” (0202) has a function of charging power supplied to the information processing apparatus. There is no limitation on the method of charging the charging unit with electric power. For example, when power is supplied from an AC power source by an AC adapter, when power is supplied through USB by a portable terminal or the like, when power is supplied by a solar battery, when connecting a battery to the outside, etc. Conceivable. When the charging unit is supplied with power, the charging unit is being charged. On the other hand, when the charging unit is not receiving power supply, the charging unit is not being charged. When the charging unit is not being charged, there is a possibility that the battery will run out, and it is desirable to reduce power consumption as much as possible in the standby state.

「書込部」(0205)は、電源待機処理部の電源の待機処理の種類に応じて、待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶部に書き込む機能を有する。電源待機処理部の電源の待機処理の種類は、移行する待機状態や充電部の条件などにより異なり、書込部はこれらの異なる待機処理に応じて復帰情報を記憶部に書き込む。例えば、前述の待機処理1と待機処理2では待機終了時に必要な復帰情報が異なるため、書込部ではそれぞれの待機状態中に保持すべき復帰情報を記憶部に書き込む。また、例えば、充電部において、外部のAC電源から電力供給を受けている場合、すなわち充電中にはバッテリ切れの心配をする必要が無いので書込部は記憶部のうち複数の記憶媒体に書き込み、電力供給を受けていない場合、すなわち非充電中にはバッテリ切れの虞があるので、書込部は復帰情報を記憶部のうち単数の記憶媒体に書き込むといった、待機処理の種類に応じた書き込みを行うことができる。なお、待機終了時とは、待機状態から作業状態へと移行する時を指す。作業状態への移行要求は、外部又は内部からのトリガーが引かれる場合がある。外部からのトリガーは、外部から待機状態復帰スイッチが押された場合などに発生し、内部からのトリガーは、情報処理装置が独自に有するタイマーなどにより、待機状態開始から一定時間経過後に強制的に待機状態から作業状態に復帰するような設定をしている場合などに発生する。   The “writing unit” (0205) has a function of writing, in the storage unit, return information for restoring the work state before the start of standby processing at the end of standby according to the type of standby processing of the power supply standby processing unit. . The type of power standby processing of the power standby processing unit varies depending on the standby state to be transferred, conditions of the charging unit, and the like, and the writing unit writes return information in the storage unit in accordance with these different standby processing. For example, since the above-described standby processing 1 and standby processing 2 require different return information at the end of standby, the writing unit writes the return information to be held in each standby state into the storage unit. Also, for example, when the charging unit is supplied with power from an external AC power source, that is, there is no need to worry about running out of the battery during charging, the writing unit writes to a plurality of storage media among the storage units. When there is no power supply, that is, there is a possibility of running out of the battery during non-charging, the writing unit writes the return information to a single storage medium in the storage unit, and writes according to the type of standby processing It can be performed. Note that the end of standby refers to the time of transition from the standby state to the working state. The request to enter the working state may be triggered from the outside or the inside. An external trigger occurs when the standby state return switch is pressed from the outside, etc., and an internal trigger is forced after a certain period of time from the start of the standby state by a timer that the information processing device has. Occurs when settings are made to return from the standby state to the working state.

「復帰処理部」(0207)は、記憶部に記憶された復帰情報を利用して復帰処理を行う。 復帰処理とは、記憶部に記憶されている復帰情報が有効である場合には、復帰情報を作成した時点の情報処理装置の作業状態を復元する処理をいう。作業状態を復元する処理とは、情報処理装置の各待機状態によって異なる処理となるが、具体的には、主記憶に記憶されている情報の展開を行う場合や、ビデオメモリに記憶されていた画像情報を展開する場合や、デバイスの設定を復元する場合などが考えられる。復帰情報の読み取りは、復帰情報が記憶部のうち複数の記憶媒体に記憶されている場合には、復帰処理にかかる時間を短縮するため、処理時間が短くなる記憶媒体からアクセスしていく。例えば、記憶部に揮発性メモリと不揮発性メモリがある場合には、復帰処理部では、アクセス速度が速い揮発性メモリから復帰情報を読み取り復帰処理を行う。揮発性メモリ上に復帰情報が無い場合でも、不揮発性メモリに復帰情報があれば不揮発性メモリから復帰情報を読み取り復帰処理を行う。一方、記憶部に復帰情報が無い場合には、復帰処理にてシステムの初期化再起動を行う。システムの初期化再起動とは、前記システム電源によって電力を供給されているデバイスのみを初期化して再起動を行う処理をいう。バックアップ電源によって電力を供給されているデバイスは、待機状態であっても電力が供給されて作動を続けているため起動をする必要がなく、むしろ再起動してしまうと、保持していた情報が失われてしまう可能性もあるからである。なお、復帰処理にかかる時間は待機状態中に稼動しているデバイスの組み合わせによっても変化する。復帰処理部には、CPU、マイクロコントローラ、揮発性メモリや不揮発性メモリに記憶されたプログラム、これらの一又は二以上の組み合わせで構成された機能回路などが該当する。   The “return processing unit” (0207) performs a return process using the return information stored in the storage unit. The return process is a process for restoring the work state of the information processing apparatus at the time when the return information is created when the return information stored in the storage unit is valid. The process for restoring the working state is a process that differs depending on each standby state of the information processing apparatus. Specifically, when the information stored in the main memory is expanded or stored in the video memory There are cases where image information is expanded or device settings are restored. When the return information is stored in a plurality of storage media in the storage unit, the return information is read from the storage medium with a shorter processing time in order to reduce the time required for the return process. For example, when the storage unit includes a volatile memory and a non-volatile memory, the return processing unit reads the return information from the volatile memory having a high access speed and performs the return process. Even if there is no return information on the volatile memory, if there is return information in the nonvolatile memory, the return information is read from the nonvolatile memory and the return process is performed. On the other hand, when there is no return information in the storage unit, the system is initialized and restarted in the return process. System initialization restart refers to a process of initializing and restarting only a device that is powered by the system power supply. A device that is powered by a backup power supply does not need to be activated because it is still powered and operating even in standby mode. This is because it may be lost. Note that the time required for the return process also changes depending on the combination of devices operating in the standby state. The return processing unit corresponds to a CPU, a microcontroller, a program stored in a volatile memory or a non-volatile memory, a functional circuit configured by one or a combination of two or more thereof.

<実施形態1の処理の流れ>図36に実施形態1の情報処理装置にかかる復帰情報記憶方法の処理の流れを示す。情報処理装置にかかる復帰情報記憶方法は、まず電源を待機状態とするときの待機処理を実行し(S3601、電源待機処理ステップ)、次に前記電源待機処理ステップの電源の待機処理の種類に応じて、待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶媒体に書き込む(S3602、復帰情報書込ステップ)。   <Processing Flow of First Embodiment> FIG. 36 shows the processing flow of the return information storage method according to the information processing apparatus of the first embodiment. The return information storage method according to the information processing apparatus first executes standby processing when the power supply is set to a standby state (S3601, power standby processing step), and then according to the type of power standby processing in the power standby processing step. Thus, return information for restoring the work state before the start of the standby process at the end of the standby is written to the storage medium (S3602, return information writing step).

<実施形態1の具体例>図4から図8に本実施形態にかかる情報処理装置の処理フローを示す。以下、この処理フローに沿って説明する。   <Specific Example of First Embodiment> FIGS. 4 to 8 show processing flows of the information processing apparatus according to the present embodiment. Hereinafter, description will be given along this processing flow.

図4に示すとおり、本実施形態にかかる情報処理装置は、電源スイッチが押されると(0402)、起動処理(0403)を行う。起動処理は、図5に示す起動処理フローに沿って行われる。起動処理では、まず、バックアップ電源及びシステム電源の電源をONとする(0501)。次に、システムの初期設定を行い(0502)、システムを初期化起動する(0503)。起動処理を終了すると、情報処理装置は作業状態へ移行し、情報処理装置上での作業が可能となる。その後、情報処理装置は、図4の停止状態移行要求(0404)又は待機状態移行要求(0405)がされるまで作業状態を継続する。停止状態移行要求とは、情報処理装置が停止状態へと移行するためのトリガーが発生した場合であり、待機状態移行要求とは、情報処理装置が待機状態へと移行するためのトリガーが発生した場合である。以下、待機状態移行要求がされた場合について説明し、停止状態移行要求がされた場合は後述する。   As shown in FIG. 4, the information processing apparatus according to the present embodiment performs a startup process (0403) when the power switch is pressed (0402). The activation process is performed along the activation process flow shown in FIG. In the startup process, first, the backup power source and the system power source are turned on (0501). Next, the system is initialized (0502), and the system is initialized and started (0503). When the activation process is finished, the information processing apparatus shifts to a working state, and the work on the information processing apparatus becomes possible. Thereafter, the information processing apparatus continues the working state until the stop state transition request (0404) or the standby state transition request (0405) in FIG. 4 is made. The stop state transition request is when a trigger for the information processing device to transition to the stopped state occurs, and the standby state transition request is a trigger for the information processing device to transition to the standby state. Is the case. Hereinafter, a case where a standby state transition request is made will be described, and a case where a stop state transition request is made will be described later.

<待機状態移行要求(0405)がされた場合>前記待機状態移行要求(0405)がされると、電源待機処理部は、図6に示す待機処理フローに沿って待機処理(0406)を行う。待機処理は、前述のとおり複数設定することが可能であり、待機処理毎に作成する復帰情報やシステム電源の範囲が異なる。例えば、前記待機処理1を行う場合には、待機処理1に応じた復帰情報1を作成し(0601(1))、書込部によって復帰情報1が記憶部に書き込まれる(0602(1))。記憶部への復帰情報1の書き込みが終わると、待機状態中には作動させない各デバイスは待機モードへ移行し(0603(1))、情報処理装置は、システム電源をOFFにする(0604(1))。待機処理が終了すると、情報処理装置は待機状態へ移行する。   <When Standby State Transition Request (0405) Is Made> When the standby state transition request (0405) is made, the power standby processing unit performs standby processing (0406) along the standby processing flow shown in FIG. As described above, a plurality of standby processes can be set, and the range of return information and system power supply created for each standby process is different. For example, when the standby process 1 is performed, return information 1 corresponding to the standby process 1 is created (0601 (1)), and the return information 1 is written in the storage unit by the writing unit (0602 (1)). . When writing of the return information 1 to the storage unit is completed, each device that is not operated during the standby state shifts to the standby mode (0603 (1)), and the information processing apparatus turns off the system power (0604 (1). )). When the standby process ends, the information processing apparatus shifts to a standby state.

情報処理装置は、待機状態移行後は図4の停止状態移行要求(0407)又は復帰処理要求(0408)がされるまで待機状態を継続する。復帰処理要求とは、情報処理装置が作業状態へと移行するためのトリガーが引かれた場合である。以下、復帰処理要求がされた場合について説明し、停止状態移行要求がされた場合については後述する。   After the transition to the standby state, the information processing apparatus continues the standby state until the stop state transition request (0407) or the return processing request (0408) in FIG. 4 is made. The return processing request is a case where a trigger for the information processing apparatus to shift to the working state is pulled. Hereinafter, a case where a return processing request is made will be described, and a case where a stop state transition request is made will be described later.

<復帰処理要求(0408)がされた場合>前記復帰処理要求(0408)がされると、復帰処理部では図7に示す復帰処理フローに沿って復帰処理を行う。復帰処理では、まずシステム電源をONにする(0701)。次に記憶部に復帰情報が保存されているかどうかを確認し(0702)、復帰情報があれば、復帰処理部で記憶部の復帰情報を利用して待機処理開始前の作業状態を復元し(0703)、必要の無くなった復帰情報を消去する(0705)。なお、復帰情報がなければ初期化再起動を行う(0704)。復帰処理が終了すると、情報処理装置は作業状態へと移行する。情報処理装置は、作業状態へ移行すると、再び図4の待機状態移行要求(0405)又は停止状態移行要求(0404)がされるまで作業状態を継続する。   <When a return processing request (0408) is made> When the return processing request (0408) is made, the return processing unit performs the return processing according to the return processing flow shown in FIG. In the return process, first, the system power is turned on (0701). Next, it is confirmed whether or not return information is stored in the storage unit (0702). If there is return information, the return processing unit uses the return information in the storage unit to restore the working state before the start of standby processing ( 0703), the return information which is no longer necessary is deleted (0705). If there is no return information, initialization restart is performed (0704). When the return process ends, the information processing apparatus shifts to a working state. When the information processing apparatus shifts to the work state, the information processing apparatus continues the work state until the standby state shift request (0405) or the stop state shift request (0404) in FIG. 4 is made again.

<停止状態移行要求(0404、0407)がされた場合>前記停止状態移行要求(0404、0407)がされると、電源OFF処理部では図8に示す電源OFF処理フローに沿って電源OFF処理を行う。電源OFF処理では、システム電源及びバックアップ電源をOFFにし(0801、0802)、必要の無くなった復帰情報を消去する(0803)。なお、復帰情報の消去は、不揮発性メモリに復帰情報が記憶されていた場合に必要となるが、揮発性メモリのみに復帰情報が記憶されていた場合にはこの処理は必要ない。電源OFF処理が終了すると、情報処理装置は停止状態へ移行する。   <When the stop state transition request (0404, 0407) is made> When the stop state transition request (0404, 0407) is made, the power OFF processing unit performs the power OFF processing along the power OFF processing flow shown in FIG. Do. In the power-off process, the system power source and the backup power source are turned off (0801, 0802), and the restoration information that is no longer necessary is deleted (0803). Note that erasure of the return information is necessary when the return information is stored in the nonvolatile memory, but this processing is not necessary when the return information is stored only in the volatile memory. When the power OFF process ends, the information processing apparatus shifts to a stopped state.

<実施形態1の効果>本実施形態にかかる情報処理装置は、待機処理の種類に応じた復帰情報の書き込みを行うことが可能である。   <Effect of First Embodiment> The information processing apparatus according to the present embodiment can write return information according to the type of standby processing.

<<実施形態2>>   << Embodiment 2 >>

<実施形態2の概要>実施形態2について説明する。本実施形態にかかる情報処理装置は、実施形態1にかかる情報処理装置を基本とし、書込部が揮発性メモリ及び不揮発性メモリに書き込む手段を有する。   <Outline of Embodiment 2> Embodiment 2 will be described. The information processing apparatus according to the present embodiment is based on the information processing apparatus according to the first embodiment, and the writing unit has means for writing to the volatile memory and the nonvolatile memory.

<実施形態2の構成>図9(a)又は(b)に本実施形態での機能ブロック図の一例を例示する。図9(a)に示す本実施形態の「情報処理装置」(0900a)は、実施形態1の構成に、さらに「書込部」(0905a)に「第一メモリ書込手段」(0906a)を有することを特徴とする。なお、記憶部(0908a)は少なくとも揮発性メモリ(0909a)を有する。図9(b)に示す本実施形態の「情報処理装置」(0900b)は、実施形態1の構成に、さらに書込部(0906b)に「第二メモリ書込手段」(0907b)を有することを特徴とする。なお、記憶部(0908b)は、少なくとも不揮発性メモリ(0910b)を有する。   <Configuration of Second Embodiment> FIG. 9A or 9B illustrates an example of a functional block diagram in the present embodiment. The “information processing apparatus” (0900a) of the present embodiment shown in FIG. 9A has the configuration of the first embodiment, and further adds a “first memory writing unit” (0906a) to the “writing unit” (0905a). It is characterized by having. Note that the storage portion (0908a) includes at least a volatile memory (0909a). The “information processing apparatus” (0900b) of the present embodiment illustrated in FIG. 9B includes the “second memory writing unit” (0907b) in the writing unit (0906b) in addition to the configuration of the first embodiment. It is characterized by. Note that the storage portion (0908b) includes at least a nonvolatile memory (0910b).

<実施形態2の構成の説明>本実施形態にかかる情報処理装置は、実施形態1に記載の機能に加えて、「書込部」が「第一メモリ書込手段」又は「第二メモリ書込手段」の機能を有する。「第一メモリ書込手段」(0906a)は復帰情報を記憶部のうち揮発性メモリに書き込む機能を有する。「第二メモリ書込手段」(0907b)は復帰情報を記憶部のうち不揮発性メモリに書き込む機能を有する。   <Description of Configuration of Second Embodiment> In addition to the functions described in the first embodiment, the information processing apparatus according to the present embodiment has a “writing unit” that is “first memory writing means” or “second memory writing”. Function ". The “first memory writing unit” (0906a) has a function of writing the return information to the volatile memory in the storage unit. The “second memory writing unit” (0907b) has a function of writing the return information to the nonvolatile memory in the storage unit.

「書込部」(0905a、b)は、電源待機処理部の電源の待機処理の種類に応じて、「第一メモリ書込手段」又は「第二メモリ書込手段」により、待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶部へ書き込むことができる。すなわち、待機処理移行時における情報処理装置の状態やユーザの意思により待機処理を選択し、書込部ではその選択された待機処理の目的に応じた復帰情報の書き込みを行うことが可能である。例えば、電源のバッテリ残量が少ないときには、あまりバッテリを消費しないように、電源待機処理部では揮発性メモリのみに復帰情報を書き込む待機処理が選択され、第一メモリ書込手段により揮発性メモリのみに復帰情報が書き込むということも可能であるし、同様にバッテリ残量が少なく、待機状態中にバッテリ切れが生じる虞がある場合には、復帰情報が失われないように、第二メモリ書込手段により不揮発性メモリのみに復帰情報を書き込むことも可能である。さらに、復帰情報が失われるリスクをなるべく回避したいときには、記憶部のうち複数の記憶媒体に復帰情報が記憶されている方がよいため、電源待機処理部では揮発性メモリと不揮発性メモリの両者に復帰情報を書き込む待機処理が選択され、第一メモリ書込手段及び第二メモリ書込手段を用いて揮発性メモリと不揮発性メモリの両者に復帰情報を書き込むという処理も可能である。   “Writing unit” (0905a, b) is set by the “first memory writing unit” or the “second memory writing unit” before starting standby processing, depending on the type of standby processing of the power supply of the power standby processing unit. Return information for restoring the work state at the end of standby can be written to the storage unit. That is, it is possible to select a standby process according to the state of the information processing apparatus at the time of transition to the standby process or the user's intention, and to write return information according to the purpose of the selected standby process. For example, when the battery of the power source is low, the power standby processing unit selects the standby processing for writing the return information only in the volatile memory so that the battery does not consume much, and only the volatile memory is selected by the first memory writing means. It is also possible to write the return information to the second memory. Similarly, if the remaining battery level is low and there is a possibility that the battery will run out during the standby state, the second memory is written so that the return information is not lost. It is also possible to write the return information only in the nonvolatile memory by means. Furthermore, when it is desirable to avoid the risk of losing the return information as much as possible, it is better to store the return information in a plurality of storage media in the storage unit, so the power standby processing unit stores both the volatile memory and the non-volatile memory. A standby process for writing return information is selected, and a process of writing return information to both the volatile memory and the nonvolatile memory using the first memory writing means and the second memory writing means is also possible.

「記憶部」は実施形態1の機能と同様の機能を有し、本実施形態にかかる情報処理装置の記憶部は、書込部が第一メモリ書込手段を有する場合には、少なくとも揮発性メモリ(0909a)を有し、第二メモリ書込手段を有する場合には少なくとも不揮発性メモリ(0910b)を有する。揮発性メモリの復帰情報は、情報処理装置が停止状態の時には失われてしまうが、不揮発性メモリの復帰情報は、データが壊れることが無ければ原則として失われることはない。揮発性メモリにはDRAMなどが、不揮発性メモリにはハードディスクなどが該当する。   The “storage unit” has the same function as that of the first embodiment, and the storage unit of the information processing apparatus according to the present embodiment is at least volatile when the writing unit includes the first memory writing unit. In the case of having the memory (0909a) and having the second memory writing means, at least the nonvolatile memory (0910b) is provided. The return information of the volatile memory is lost when the information processing apparatus is in a stopped state, but the return information of the nonvolatile memory is not lost in principle unless the data is corrupted. A volatile memory corresponds to a DRAM, and a nonvolatile memory corresponds to a hard disk.

本実施形態における他の構成は実施形態1に記載の構成と同一であるため省略する。   Other configurations in the present embodiment are the same as the configurations described in the first embodiment, and thus are omitted.

<実施形態2の具体例>本実施形態にかかる情報処理装置では、実施形態1にかかる情報処理装置を基本とし、同一の処理フローで表される。ただし、本実施形態にかかる情報処理装置は待機処理において特徴を有する。待機処理は、実施形態1に記載の待機状態移行要求(0405)がされた場合に行われる処理である。   <Specific Example of Second Embodiment> The information processing apparatus according to the present embodiment is based on the information processing apparatus according to the first embodiment and is represented by the same processing flow. However, the information processing apparatus according to the present embodiment is characterized in standby processing. The standby process is a process performed when the standby state transition request (0405) described in the first embodiment is made.

図10Aに、第一メモリ書込手段を用いた場合の待機処理を示し、図10Bに第二メモリ書込手段を用いた場合の待機処理を示し、図10Cに第一メモリ書込手段と第二メモリ書込手段を用いた場合の待機処理を示す。図10Aでは、第一メモリ書込手段により、待機処理では揮発性メモリのみに復帰情報が書き込まれる(1002(a))。図10Bでは、第二メモリ書込手段により、待機処理では不揮発性メモリのみに復帰情報が書き込まれる(1002(b))。図10Cでは、第一メモリ書込手段と第二メモリ書込手段とを組み合わせて用いることにより、待機処理では揮発性メモリのみ、あるいは不揮発性メモリのみ、あるいは両者に復帰情報を書き込むことができる(1002(c1)、(c2)、(c3))。   FIG. 10A shows a standby process when the first memory writing means is used, FIG. 10B shows a standby process when the second memory writing means is used, and FIG. 10C shows the first memory writing means and the first memory writing means. The standby process when the two-memory writing means is used is shown. In FIG. 10A, the return information is written only in the volatile memory in the standby process by the first memory writing means (1002 (a)). In FIG. 10B, the return information is written only in the nonvolatile memory in the standby process by the second memory writing means (1002 (b)). In FIG. 10C, by using the first memory writing means and the second memory writing means in combination, the return information can be written in only the volatile memory, only the nonvolatile memory, or both in the standby process ( 1002 (c1), (c2), (c3)).

<実施形態2の効果>本実施形態にかかる情報処理装置は、実施形態1にかかる情報処理装置の効果に加え、電源待機処理部の待機処理の種類に応じて第一メモリ書込手段と第二メモリ書込手段を単独あるいは組み合わせて用いることにより、待機処理の目的に応じて記憶部における復帰情報の書込先を選択することができるという効果を有する。   <Effects of Second Embodiment> In addition to the effects of the information processing apparatus according to the first embodiment, the information processing apparatus according to the second embodiment has the first memory writing means and the first memory writing unit according to the type of standby processing of the power standby processing unit. By using the two-memory writing means singly or in combination, it is possible to select the return information writing destination in the storage unit according to the purpose of the standby process.

<<実施形態3>>   << Embodiment 3 >>

<実施形態3の概要>実施形態3について説明する。本実施形態にかかる情報処理装置は、実施形態1又は2に記載のいずれか一の情報処理装置であって、充電部が非充電中である場合には復帰情報を揮発性メモリのみに書き込み、充電中であれば復帰情報を揮発性メモリと不揮発性メモリの両者に書き込む機能を有する情報処理装置に関する。   <Outline of Embodiment 3> Embodiment 3 will be described. The information processing apparatus according to the present embodiment is any one of the information processing apparatuses according to the first or second embodiment, and writes the return information only in the volatile memory when the charging unit is not charged. The present invention relates to an information processing apparatus having a function of writing return information to both a volatile memory and a nonvolatile memory during charging.

<実施形態3の構成>図11(a)又は(b)に本実施形態での機能ブロック図の一例を例示する。図11(a)に示す本実施形態の「情報処理装置」(1100a)は、実施形態1又は2に記載のいずれか一にかかる情報処理装置を基本とし、さらに「充電中判断部」(1112a)と、「書込部」(1105a)が「充電中処理手段」(1106a)を有することを特徴とする。図11(b)に示す本実施形態の「情報処理装置」(1100b)は、実施形態1又は2に記載のいずれか一にかかる情報処理装置を基本とし、さらに「充電中判断部」(1112b)と、「書込部」(1105b)が「非充電中処理手段」(1107b)を有することを特徴とする。   <Configuration of Third Embodiment> FIG. 11A or 11B illustrates an example of a functional block diagram in the present embodiment. The “information processing apparatus” (1100a) of the present embodiment illustrated in FIG. 11A is based on the information processing apparatus according to any one of the first or second embodiment, and further includes a “charging determination unit” (1112a ) And the “writing unit” (1105a) include “processing means during charging” (1106a). The “information processing apparatus” (1100b) of the present embodiment shown in FIG. 11B is based on the information processing apparatus according to any one of the first or second embodiment, and further includes a “charging determination unit” (1112b ) And the “writing unit” (1105b) includes “non-charging processing means” (1107b).

<実施形態3の構成の説明>本実施形態にかかる情報処理装置は、実施形態1又は2に記載の機能に加えて、「充電中判断部」と、書込部が「充電中処理手段」又は「非充電中処理手段」のいずれか一又は二の機能を有する。   <Description of Configuration of Third Embodiment> In addition to the functions described in the first or second embodiment, the information processing apparatus according to the present embodiment includes a “charging determination unit” and a writing unit “processing unit during charging”. Or it has any one or two functions of "the processing means during non-charging".

「充電中判断部」(1112a、b)は、充電部が充電中かどうかを判断する機能をもつ。充電部が充電中となるには、外部から電力供給を受けていることが必要であるが、その方法は問わない。具体的には、ACアダプタによりAC電源から電力供給を受けている場合、携帯端末等でUSBを通じて電力供給を受けている場合、太陽電池により電力供給を受けている場合、外部に電池を接続して電力供給を受ける場合などが考えられる。また、外部から電力供給を受けなければ起動及び作動することができない情報処理装置では、情報処理装置が作動中、すなわちバックアップ電源がONの間は、充電部は常に充電中であると判断される。一方、充電部が外部から電力供給を受けていない場合には、充電部は非充電中となる。また、外部から電力供給を受けている場合であっても、乾電池から電力供給を受けている場合などで、供給電力が限られている場合は非充電中とみなすこともできる。充電部が非充電中の場合には、バッテリ切れが発生する可能性があり、待機状態中はなるべく電力消費を抑えることが望ましい。   The “charging determination unit” (1112a, b) has a function of determining whether the charging unit is charging. In order for the charging unit to be charged, it is necessary to receive power from the outside, but the method is not limited. Specifically, when power is supplied from an AC power source by an AC adapter, when power is supplied via USB by a portable terminal, etc., when power is supplied by a solar battery, a battery is connected to the outside. For example, it may be possible to receive power supply. Further, in an information processing apparatus that cannot be activated and operated without receiving power supply from the outside, it is determined that the charging unit is always being charged while the information processing apparatus is operating, that is, while the backup power supply is ON. . On the other hand, when the charging unit does not receive power supply from the outside, the charging unit is not being charged. Further, even when power is supplied from the outside, when power is supplied from a dry battery or the like and supply power is limited, it can be regarded as not being charged. When the charging unit is not being charged, there is a possibility that the battery runs out, and it is desirable to suppress power consumption as much as possible during the standby state.

「充電中処理手段」(1106a)とは、待機処理が行われる際に充電中判断部の判断結果が充電中であるとの判断結果である場合には、復帰情報を記憶部のうち揮発性メモリと不揮発性メモリとの両者に記憶させるための処理(以下、充電中処理という)を行う機能をいう。   The “in-charge processing means” (1106a) means that if the determination result of the charging determination unit is a charging result when the standby process is performed, the return information is stored as volatile in the storage unit. It refers to a function for performing processing for storing in both the memory and the nonvolatile memory (hereinafter referred to as charging processing).

「非充電中処理手段」(1107b)とは、書込部は待機処理が行われる際に充電中判断部の判断結果が非充電中であるとの判断結果である場合には、復帰情報を記憶部のうち揮発性メモリのみに記憶させるための処理(以下、非充電中処理という)を行う機能をいう。   “Non-charging processing means” (1107b) means that the writing unit displays return information when the determination result of the charging determination unit is non-charging when the standby process is performed. A function of performing processing for storing only in a volatile memory in the storage unit (hereinafter referred to as non-charging process).

充電中処理手段によって、復帰情報は不揮発性メモリにも記憶されるため、仮に揮発性メモリの復帰情報が消滅や壊れて無効となった場合であっても、不揮発性メモリの復帰情報から待機処理開始前の作業状態を復元することができる。また、復帰情報の不揮発性メモリへの記憶は充電部が充電中の場合にのみ行い、充電部が非充電中の場合には非充電中処理手段によって、復帰情報は揮発性メモリにのみ記憶することから、非充電中には復帰情報の書き込みにより電力を大量に消費してしまうこともない。   Since the return information is also stored in the non-volatile memory by the processing means during charging, even if the return information of the volatile memory is invalidated or destroyed, it becomes a standby process from the return information of the non-volatile memory. The working state before the start can be restored. The return information is stored in the nonvolatile memory only when the charging unit is being charged. When the charging unit is not being charged, the return information is stored only in the volatile memory by the non-charging processing means. Therefore, a large amount of power is not consumed by writing return information during non-charging.

<実施形態3の処理の流れ>図37に実施形態3の情報処理装置の充電中処理手段における復帰情報記憶方法の処理の流れを示す。充電中処理手段における復帰情報の記憶方法は、まず電源を待機状態とするときの待機処理を実行し(S3701、電源待機処理ステップ)、次に充電部位が充電中か判断し(S3702、充電中判断ステップ)、次に待機処理が行なわれる際に、前記充電中判断ステップでの判断結果が充電中であるとの判断結果である場合には、復帰情報を、記憶媒体のうち揮発性メモリと、不揮発性メモリとの両者に記憶させるための処理を行う(S3703、充電中処理ステップ)。   <Processing Flow of Third Embodiment> FIG. 37 shows the processing flow of the return information storage method in the charging processing means of the information processing apparatus of the third embodiment. As a method for storing the return information in the charging processing means, first, standby processing when the power source is set to the standby state is executed (S3701, power standby processing step), and then it is determined whether the charging site is charging (S3702, charging) Determination step) When the standby process is performed next, if the determination result in the charging determination step is a determination result that charging is in progress, the return information is stored in the volatile memory of the storage medium. Then, processing for storing both in the nonvolatile memory is performed (S3703, processing step during charging).

また、図38に実施形態3の情報処理装置の非充電中処理手段における復帰情報記憶方法の処理の流れを示す。非充電中処理手段にかかる復帰情報記憶方法は、まず電源を待機状態とするときの待機処理を実行し(S3801、電源待機処理ステップ)、次に充電部位が充電中か判断し(S3802、充電中判断ステップ)、次に待機処理が行なわれる際に、前記充電中判断ステップでの判断結果が非充電中であるとの判断結果である場合には、復帰情報を、記憶媒体のうち揮発性メモリのみに記憶させるための処理を行う(S3803、非充電中処理ステップ)。   FIG. 38 shows the flow of processing of the return information storage method in the non-charging processing means of the information processing apparatus according to the third embodiment. In the return information storage method according to the non-charging processing means, first, standby processing when the power source is set to the standby state is executed (S3801, power standby processing step), and then it is determined whether the charging site is charging (S3802, charging). Medium determination step), and when the standby process is performed next, if the determination result in the charging determination step is a determination result that the battery is not being charged, the return information is stored in the storage medium as volatile. Processing for storing only in the memory is performed (S3803, non-charging processing step).

<実施形態3の具体例>本実施形態にかかる情報処理装置では、実施形態1又は2のいずれか一に記載の情報処理装置を基本とし、同一の処理フローで表される。ただし、本実施形態にかかる情報処理装置は待機処理において特徴を有する。待機処理は、実施形態1に記載の待機状態移行要求(0405)がされた場合に行われる処理である。   <Specific Example of Embodiment 3> The information processing apparatus according to the present embodiment is based on the information processing apparatus described in any one of Embodiments 1 and 2, and is represented by the same processing flow. However, the information processing apparatus according to the present embodiment is characterized in standby processing. The standby process is a process performed when the standby state transition request (0405) described in the first embodiment is made.

図12Aに本実施形態にかかる情報処理装置の充電中処理手段を用いた場合の待機処理フローを例示する。図12Aに示すとおり、待機処理を開始すると、まず現在の作業状態を復元するための復帰情報の作成を行う(1201a)。次に充電中判断部が、充電部が充電中かどうかを判断する(1202a)。充電中判断部の判断結果が充電中であれば、充電中処理手段によって書込部は充電中処理を行い、復帰情報を揮発性メモリと不揮発性メモリに書き込む(1203a、1204a)。復帰情報の書き込み後はシステム上の各デバイスを待機モードとし(1205a)、システム電源をOFFし(1206a)、待機処理を終了する。また、図12Bに本実施形態にかかる情報処理装置の非充電中処理手段を用いた場合の待機処理フローを例示する。図12Bに示すとおり、待機処理を開始すると、まず現在の作業状態を復元するための復帰情報の作成を行う(1201b)。次に充電中判断部が、充電部が充電中かどうかを判断する(1202b)。充電中判断部の判断結果が非充電中であれば、充電中処理手段によって書込部は非充電中処理を行い、復帰情報を揮発性メモリに書き込む(1203b)。復帰情報の書き込み後はシステム上の各デバイスを待機モードとし(1204b)、システム電源をOFFし(1205b)、待機処理を終了する。   FIG. 12A exemplifies a standby process flow when the processing unit for charging of the information processing apparatus according to the present embodiment is used. As shown in FIG. 12A, when standby processing is started, return information for restoring the current working state is first created (1201a). Next, the charging determination unit determines whether the charging unit is charging (1202a). If the determination result of the charging determination unit is charging, the writing unit performs the charging process by the charging processing unit, and writes the return information to the volatile memory and the nonvolatile memory (1203a, 1204a). After writing the return information, each device on the system is set to the standby mode (1205a), the system power is turned off (1206a), and the standby process is terminated. FIG. 12B illustrates a standby process flow when the non-charging processing unit of the information processing apparatus according to the present embodiment is used. As shown in FIG. 12B, when the standby process is started, first, return information for restoring the current working state is created (1201b). Next, the charging determination unit determines whether the charging unit is charging (1202b). If the determination result of the charging determination unit is not charging, the writing unit performs the non-charging process by the charging processing means, and writes the return information in the volatile memory (1203b). After writing the return information, each device on the system is set to the standby mode (1204b), the system power is turned off (1205b), and the standby process is terminated.

<実施形態3の効果>本実施形態にかかる情報処理装置は、実施形態1又は2に記載のいずれか一にかかる情報処理装置の効果に加え、仮に揮発性メモリの復帰情報が失われた場合であっても、不揮発性メモリに復帰情報が記憶されていれば、不揮発性メモリから復帰処理を行うことができるため、待機処理開始前の作業状態へ復元可能となる確率が高くなるという効果を有する。また、復帰情報の不揮発性メモリへの記憶は充電部が充電中の場合にのみ行うため、電力消費がバッテリ残量に与える影響を心配する必要も無い。   <Effects of Third Embodiment> The information processing apparatus according to the present embodiment, in addition to the effects of the information processing apparatus according to any one of the first or second embodiment, in the case where the return information of the volatile memory is lost Even so, if return information is stored in the non-volatile memory, the return process can be performed from the non-volatile memory, so that the probability that the work state before the start of the standby process can be restored is increased. Have. Further, since the return information is stored in the non-volatile memory only when the charging unit is being charged, there is no need to worry about the influence of power consumption on the remaining battery level.

<<実施形態4>>   << Embodiment 4 >>

<実施形態4の概要>実施形態4について説明する。本実施形態にかかる情報処理装置は、実施形態3に記載の情報処理装置であって、さらに、揮発性メモリ有効性判断部と、不揮発性メモリ有効性判断部を有し、復帰情報を揮発性メモリと不揮発性メモリで補完しあうことができる情報処理装置に関する。   <Outline of Embodiment 4> Embodiment 4 will be described. The information processing apparatus according to the present embodiment is the information processing apparatus according to the third embodiment, and further includes a volatile memory validity determination unit and a nonvolatile memory validity determination unit, and the return information is volatile. The present invention relates to an information processing apparatus that can be complemented by a memory and a nonvolatile memory.

<実施形態4の構成>図13(a)又は(b)に本実施形態での機能ブロック図の一例を例示する。図13(a)に示す本実施形態の「情報処理装置」(1300a)は、実施形態3に記載の情報処理装置を基本とし、さらに「揮発性メモリ有効性判断部」(1313a)と、「不揮発性メモリ有効性判断部」(1314a)と、を有し、書込部(1305a)が「第一複写手段」(1306a)を有することを特徴とする。図13(b)に示す本実施形態の「情報処理装置」(1300b)は、実施形態3に記載の情報処理装置を基本とし、さらに「揮発性メモリ有効性判断部」(1313b)と、「不揮発性メモリ有効性判断部」(1314b)と、を有し、書込部(1305b)が「第二複写手段」(1307b)を有することを特徴とする。   <Configuration of Embodiment 4> FIG. 13 (a) or (b) shows an example of a functional block diagram in this embodiment. The “information processing apparatus” (1300a) of the present embodiment illustrated in FIG. 13A is based on the information processing apparatus described in the third embodiment, and further includes a “volatile memory validity determination unit” (1313a) and “ Non-volatile memory validity determination unit ”(1314a), and the writing unit (1305a) includes“ first copying means ”(1306a). The “information processing apparatus” (1300b) of the present embodiment illustrated in FIG. 13B is based on the information processing apparatus described in the third embodiment, and further includes a “volatile memory validity determination unit” (1313b) and “ Non-volatile memory validity determination unit ”(1314b), and the writing unit (1305b) includes“ second copying means ”(1307b).

<実施形態4の構成の説明>本実施形態の情報処理装置は、実施形態1から3に記載の機能に加えて、「揮発性メモリ有効性判断部」と「不揮発性メモリ有効性判断部」とを有し、記憶部に「第一複写手段」及び「第二複写手段」を有する。   <Description of Configuration of Fourth Embodiment> In addition to the functions described in the first to third embodiments, the information processing apparatus of the present embodiment includes a “volatile memory validity determination unit” and a “nonvolatile memory validity determination unit”. And the storage unit has “first copying means” and “second copying means”.

「揮発性メモリ有効性判断部」(1313a、b)とは、揮発性メモリの復帰情報が無効となっているかどうかを判断する機能を有する。揮発性メモリの復帰情報が無効となっている場合とは、揮発性メモリに復帰情報がもともと記憶されていない場合や、記憶されてはいたが何らかの原因により消滅したり、壊れたりして記憶時の復帰情報を正確に読み込むことができなくなっている状態をいう。復帰情報が壊れているかどうかの判断は、復帰情報を複数記憶しておき、両者が一致するかどうか、または、ハッシュ関数などを用いて、一定時間間隔でハッシュ値を作成して両者が一致するかどうかなどにより判断することができる。なお、復帰情報が消滅したり壊れたりしたことを情報処理装置が検知したときには、ユーザに警告をして注意喚起することが望ましい。   The “volatile memory validity determination unit” (1313a, b) has a function of determining whether the return information of the volatile memory is invalid. The recovery information of the volatile memory is invalid when the recovery information is not stored in the volatile memory, or when it has been stored but has disappeared for some reason or has been damaged. This means that the return information cannot be read correctly. Whether or not the return information is broken is determined by storing multiple return information and checking whether they match, or by creating a hash value at regular time intervals using a hash function etc. It can be judged by whether or not. It should be noted that when the information processing apparatus detects that the return information has disappeared or has been broken, it is desirable to warn the user and call attention.

「不揮発性メモリ有効性判断部」(1314a、b)とは、不揮発性メモリの復帰情報が無効となっているかどうかを判断する機能を有する。不揮発性メモリの復帰情報が無効となっている場合とは、不揮発性メモリに復帰情報がもともと記憶されていない場合や、記憶されてはいたが何らかの原因により消滅したり、壊れたりして記憶時の復帰情報を正確に読み込むことができなくなっている状態をいう。不揮発性メモリの復帰情報についても、前記揮発性メモリの復帰情報の場合と同様の方法で判断することができる。   The “nonvolatile memory validity determination unit” (1314a, b) has a function of determining whether the return information of the nonvolatile memory is invalid. The return information of the nonvolatile memory is invalid when the return information is not originally stored in the nonvolatile memory, or when it has been stored but disappeared due to some reason, or when it has been stored. This means that the return information cannot be read correctly. The return information of the nonvolatile memory can also be determined by the same method as that for the return information of the volatile memory.

「第一複写手段」(1306a)は、前記揮発性メモリ有効性判断部での判断結果が無効との判断結果であり、前記不揮発性メモリ有効性判断部での判断結果が有効との判断結果であり、充電中判断部での判断結果が充電中との判断結果である場合には、不揮発性メモリから揮発性メモリへ復帰情報を記憶させるための処理(以下、複写処理1という)を行う機能を有する。揮発性メモリに保存された復帰情報は、何らかの原因で失われたり、あるいは壊れたりして無効となってしまう場合がある。この場合でも、不揮発性メモリに復帰情報が記憶されていれば、不揮発性メモリの復帰情報を利用して復帰処理を行うことができる。しかし、不揮発性メモリから復帰情報を読み込んで復帰処理を行う場合には時間がかかるため、待機状態中に不揮発性メモリから揮発性メモリに復帰情報を記憶させることで、復帰処理に要する時間が短くすることができる。   The “first copying means” (1306a) is a determination result that the determination result in the volatile memory validity determination unit is invalid, and a determination result that the determination result in the nonvolatile memory validity determination unit is valid If the determination result in the charging determination unit is a determination result that charging is in progress, a process for storing return information from the nonvolatile memory to the volatile memory (hereinafter referred to as copy process 1) is performed. It has a function. The return information stored in the volatile memory may be lost due to some reason or become invalid. Even in this case, if the return information is stored in the nonvolatile memory, the return process can be performed using the return information of the nonvolatile memory. However, it takes time to read the return information from the non-volatile memory and perform the return process. Therefore, storing the return information from the nonvolatile memory to the volatile memory during the standby state shortens the time required for the return process. can do.

「第二複写手段」(1307b)は、前記揮発性メモリ有効性判断部での判断結果が有効との判断結果であり、前記不揮発性メモリ有効性判断部での判断結果が無効との判断結果であり、充電中判断部での判断結果が充電中との判断結果である場合には、揮発性メモリから不揮発性メモリへ復帰情報を記憶させるための処理(以下、複写処理2という)を行う機能を有する。書込部は実施形態3に記載の機能により、充電部が充電中のときには充電中処理手段により復帰情報を記憶部のうち揮発性メモリと不揮発性メモリの両者に書き込むが、充電部が非充電中のときには非充電中処理手段により復帰情報を記憶部のうち揮発性メモリにのみ書き込む。したがって、非充電中処理を行った後に、充電部にACアダプタなどを接続することによって充電部が外部からの電力供給を受けて充電中となった場合などに、揮発性メモリから不揮発性メモリへ復帰情報を記憶させることで、復帰情報が失われるリスクを低減することができる。   The “second copying means” (1307b) is a determination result that the determination result in the volatile memory validity determination unit is valid, and a determination result that the determination result in the nonvolatile memory validity determination unit is invalid If the determination result in the charging determination unit is a determination result that charging is in progress, a process for storing return information from the volatile memory to the nonvolatile memory (hereinafter referred to as copy process 2) is performed. It has a function. When the charging unit is charging, the writing unit writes the return information to both the volatile memory and the non-volatile memory in the storage unit by the function described in the third embodiment, but the charging unit is not charged. When it is inside, the return information is written only in the volatile memory of the storage unit by the non-charging processing means. Therefore, after the non-charging process is performed, the volatile memory is switched to the non-volatile memory when the charging unit is charged by receiving external power supply by connecting an AC adapter or the like to the charging unit. By storing the return information, the risk that the return information is lost can be reduced.

以下、複写処理1と複写処理2とをまとめて複写処理という。複写処理は、複写処理を行う要求(以下、複写処理要求という)がされた場合に行われる処理をいい、複写処理要求は、外部又は内部からのトリガーによる場合がある。外部からのトリガーは、待機状態中に充電部の状態が非充電中から充電中へ変化した場合に複写処理を行うように設定した場合において、待機状態中の充電部にACアダプタなどで外部から電力を供給することによって充電部が充電中になった場合などに発生する。内部からのトリガーは、待機状態中に一定時間ごとに複写処理を行うように設定している場合などに発生する。   Hereinafter, the copy process 1 and the copy process 2 are collectively referred to as a copy process. Copy processing refers to processing performed when a request for performing copy processing (hereinafter referred to as copy processing request) is made, and the copy processing request may be triggered by an external or internal trigger. The trigger from the outside is that the charging unit is set to perform copying processing when the charging unit changes from non-charging to charging during the standby state. This occurs when the charging unit is being charged by supplying power. An internal trigger occurs when the copying process is set to be performed at regular intervals during the standby state.

図14に、本実施形態にかかる情報処理装置の状態遷移図を示す。本実施形態にかかる状態遷移図は、実施形態1にかかる状態遷移図に加えて、待機状態中に複写処理が行われうることを特徴とする。複写処理は、復帰情報を相互に補完する機能であるため、記憶部に復帰情報が記憶されている状態である待機状態中に行われる処理であり、複写処理終了後は再び待機状態へ戻る。   FIG. 14 shows a state transition diagram of the information processing apparatus according to the present embodiment. The state transition diagram according to the present embodiment is characterized in that, in addition to the state transition diagram according to the first embodiment, the copying process can be performed during the standby state. Since the copying process is a function of mutually complementing the return information, the copy process is a process performed during the standby state in which the return information is stored in the storage unit, and returns to the standby state after the completion of the copy process.

本実施形態における他の構成については実施形態1から3のいずれか一に記載の構成と同一であるため省略する。   Other configurations in the present embodiment are the same as the configurations described in any one of the first to third embodiments, and thus are omitted.

<実施形態4の処理の流れ>図39に実施形態4の情報処理装置の第一複写手段における復帰情報記憶方法の処理の流れを示す。第一複写手段にかかる復帰情報記憶方法は、まず充電部位が充電中か判断し(S3901、充電中判断ステップ)、次に記憶媒体のうち揮発性メモリの復帰情報が無効となっているかどうか判断し(S3902、揮発性メモリ有効性判断ステップ)、次に記憶媒体のうち不揮発性メモリの復帰情報が無効となっているかどうか判断し(S3903、不揮発性メモリ有効性判断ステップ)、次に前記揮発性メモリ有効性判断ステップでの判断結果が無効であり、不揮発性メモリ有効性判断ステップでの判断結果が有効との判断結果であり、充電中判断ステップでの判断結果が充電中であるとの判断結果である場合には、不揮発性メモリから揮発性メモリへ復帰情報を記憶させるための処理を行う(S3904、第一複写ステップ)。なお、充電中判断ステップ、揮発性メモリ有効性判断ステップ、不揮発性メモリ有効性判断ステップについては、これらの順番に限られず、相互に順番が入れ替わってもよい。   <Processing Flow of Embodiment 4> FIG. 39 shows the processing flow of the return information storage method in the first copying means of the information processing apparatus of Embodiment 4. In the return information storage method according to the first copying means, first, it is determined whether the charging site is being charged (S3901, determination step during charging), and then it is determined whether the return information of the volatile memory in the storage medium is invalid. (S3902, volatile memory validity determination step), next, it is determined whether the return information of the nonvolatile memory of the storage medium is invalid (S3903, nonvolatile memory validity determination step), and then the volatile The determination result in the memory memory validity determination step is invalid, the determination result in the nonvolatile memory validity determination step is valid, and the determination result in the charging determination step is charging. If it is a determination result, a process for storing the return information from the nonvolatile memory to the volatile memory is performed (S3904, first copying step). The charging determination step, the volatile memory validity determination step, and the nonvolatile memory validity determination step are not limited to these orders, and the order may be interchanged.

また、図40に実施形態4の情報処理装置の第二複写手段にかかる復帰情報記憶方法の処理の流れを示す。第二複写手段における復帰情報記憶方法は、まず充電部位が充電中か判断し(S4001、充電中判断ステップ)、次に記憶媒体のうち揮発性メモリの復帰情報が無効となっているかどうか判断し(S4002、揮発性メモリ有効性判断ステップ)、次に記憶媒体のうち不揮発性メモリの復帰情報が無効となっているかどうか判断し(S4003、不揮発性メモリ有効性判断ステップ)、次に前記揮発性メモリ有効性判断ステップでの判断結果が有効であり、不揮発性メモリ有効性判断ステップでの判断結果が無効との判断結果であり、充電中判断ステップでの判断結果が充電中であるとの判断結果である場合には、揮発性メモリから不揮発性メモリへ復帰情報を記憶させるための処理を行う(S4004、第二複写ステップ)。なお、充電中判断ステップ、揮発性メモリ有効性判断ステップ、不揮発性メモリ有効性判断ステップについては、これらの順番に限られず、相互に順番が入れ替わってもよい。   FIG. 40 shows a processing flow of the return information storage method according to the second copying means of the information processing apparatus of the fourth embodiment. The return information storage method in the second copying means first determines whether the charging site is being charged (S4001, determination step during charging), and then determines whether the return information of the volatile memory in the storage medium is invalid. (S4002, volatile memory validity determination step) Next, it is determined whether the return information of the nonvolatile memory of the storage medium is invalid (S4003, nonvolatile memory validity determination step), and then the volatile The determination result in the memory validity determination step is valid, the determination result in the nonvolatile memory validity determination step is invalid, and the determination result in the charging determination step is charging If it is a result, processing for storing the return information from the volatile memory to the nonvolatile memory is performed (S4004, second copying step). The charging determination step, the volatile memory validity determination step, and the nonvolatile memory validity determination step are not limited to these orders, and the order may be interchanged.

<実施形態4の具体例>図15に本実施形態にかかる情報処理装置の処理フローを例示する。本実施形態にかかる情報処理装置は、待機状態において複写処理要求(1508)が行われることに特徴を有する。複写処理要求がされると、情報処理装置は、複写処理1又は複写処理2のいずれか一又は二の複写処理(1509)を行う。以下に各複写処理について説明する。   <Specific Example of Fourth Embodiment> FIG. 15 illustrates a processing flow of the information processing apparatus according to the present embodiment. The information processing apparatus according to the present embodiment is characterized in that a copy processing request (1508) is made in a standby state. When a copy process request is made, the information processing apparatus performs one or two copy processes (1509) of the copy process 1 or the copy process 2. Each copy process will be described below.

図16に第一複写手段による複写処理1の処理フローを示す。複写処理1が開始されると、まず充電中判断部にて充電部が充電中かどうかを判断する(1601)。充電中判断部の判断結果が充電中であれば、システム電源をONし(1602)、揮発性メモリ有効性判断部が揮発性メモリの復帰情報が有効かどうか判断する(1603)。揮発性メモリ有効性判断部の判断結果が無効であれば、さらに不揮発性メモリ有効性判断部が不揮発性メモリの復帰情報が有効かどうかを判断する(1604)。不揮発性メモリ有効性判断部の判断結果が有効との判断結果であれば、書込部は不揮発性メモリの復帰情報を揮発性メモリに書き込む(1605)。不揮発性メモリ有効性判断部の判断結果が無効との判断結果であれば、システムを初期化再起動し(1608)、起動後の作業状態から復帰情報を作成し(1609)、復帰情報を揮発性メモリと不揮発性メモリに書き込む(1610)。この場合には、復帰処理を行っても待機処理開始前の作業状態を復元することはできないが、復帰情報が有効となるため後述する復帰処理においてシステムの初期化再起動を行う必要がないので復帰処理を短時間で行うことができる(以下の第二複写手段、複写手段において同じ)。その後システム上の各デバイスを待機モードとし(1606)、システム電源をOFFにして(1607)複写処理が終了する。   FIG. 16 shows a processing flow of the copying process 1 by the first copying means. When the copying process 1 is started, first, the charging determination unit determines whether the charging unit is charging (1601). If the determination result of the charging determination unit is charging, the system power is turned on (1602), and the volatile memory validity determination unit determines whether the return information of the volatile memory is valid (1603). If the determination result of the volatile memory validity determination unit is invalid, the nonvolatile memory validity determination unit further determines whether the return information of the nonvolatile memory is valid (1604). If the determination result of the nonvolatile memory validity determination unit is a determination result that is valid, the writing unit writes the return information of the nonvolatile memory to the volatile memory (1605). If the judgment result of the nonvolatile memory validity judgment unit is invalid, the system is initialized and restarted (1608), return information is created from the work state after startup (1609), and the return information is volatilized. (1610) is written to the volatile memory and the non-volatile memory. In this case, even if the return process is performed, the work state before the start of the standby process cannot be restored. However, since the return information is valid, there is no need to perform system initialization and restart in the return process described later. The return process can be performed in a short time (the same applies to the following second copying means and copying means). Thereafter, each device on the system is set to the standby mode (1606), the system power is turned off (1607), and the copying process is completed.

図17に第二複写手段による複写処理2の処理フローを示す。複写処理2が開始されると、まず充電中判断部にて充電部が充電中かどうかを判断する(1701)。充電中判断部の判断結果が充電中との判断結果であれば、システム電源をONし(1702)、不揮発性メモリ有効性判断部が不揮発性メモリの復帰情報が有効かどうか判断する(1703)。不揮発性メモリ有効性判断部の判断結果が無効との判断結果であれば、さらに揮発性メモリ有効性判断部が揮発性メモリの復帰情報が有効かどうかを判断する(1704)。揮発性メモリ有効性判断部の判断結果が有効との判断結果であれば、書込部は揮発性メモリの復帰情報を不揮発性メモリに書き込む(1705)。揮発性メモリ有効性判断部の判断結果が無効との判断結果であれば、システムを初期化再起動し(1708)、起動後の作業状態から復帰情報を作成し(1709)、復帰情報を揮発性メモリと不揮発性メモリに書き込む(1710)。その後システム上の各デバイスを待機モードとし(1706)、システム電源をOFFにして(1707)複写処理が終了する。   FIG. 17 shows a processing flow of the copying process 2 by the second copying means. When the copying process 2 is started, first, the charging determination unit determines whether the charging unit is charging (1701). If the determination result of the charging determination unit is that it is charging, the system power is turned on (1702), and the nonvolatile memory validity determination unit determines whether the return information of the nonvolatile memory is valid (1703). . If the determination result of the nonvolatile memory validity determination unit is invalid, the volatile memory validity determination unit further determines whether the return information of the volatile memory is valid (1704). If the judgment result of the volatile memory validity judgment unit is valid, the writing unit writes the return information of the volatile memory in the nonvolatile memory (1705). If the determination result of the volatile memory validity determination unit is invalid, the system is initialized and restarted (1708), return information is created from the work state after startup (1709), and the return information is volatilized. To the volatile memory and the non-volatile memory (1710). Thereafter, each device on the system is set to the standby mode (1706), the system power is turned off (1707), and the copying process is completed.

なお、揮発性メモリ有効性判断部と不揮発性メモリ有効性判断部が有効性を判断する順番は逆であっても構わない。しかし、充電中判断部による充電部が充電中か否かの判断は無駄な電力消費を防ぐためシステム電源をONにする前に行うことが望ましい。また、第一複写手段と第二複写手段とは組み合わせて用いる方法(以下、複写手段という)も可能である。以下に、複写手段について説明する。   Note that the order in which the volatile memory validity judgment unit and the nonvolatile memory validity judgment unit judge the validity may be reversed. However, it is desirable to determine whether or not the charging unit is charging by the charging determination unit before turning on the system power supply in order to prevent wasteful power consumption. Also, a method of using the first copying means and the second copying means in combination (hereinafter referred to as copying means) is possible. The copying means will be described below.

図18に複写手段の処理フローを例示する。図18に示すとおり、複写処理手段では、充電中判断部にて充電部が充電中であるとの判断結果である場合には、揮発性メモリと不揮発性メモリの復帰情報が有効かどうかを揮発性メモリ有効性判断部または不揮発性メモリ有効性判断部にて判断する(1803、1804、1806)。両者の判断結果が有効である場合には、複写処理をする必要はないのでシステム上の各デバイスを待機モードへ移行し(1811)、システム電源OFFとする(1812)。揮発性メモリの復帰情報が有効との判断結果であり、不揮発性メモリの復帰情報が無効との判断結果であれば、揮発性メモリの復帰情報を不揮発性メモリに書き込む(1805)。揮発性メモリの復帰情報が無効との判断結果であり、不揮発性メモリの復帰情報が有効との判断結果であれば、不揮発性メモリの復帰情報を揮発性メモリに書き込む(1807)。両者の判断結果が無効である場合には補完する元となる復帰情報がないので、複写処理をそのまま終了してもいいし、図18のようにシステムを初期化再起動し(1808)、起動後の状態から復帰情報を作成し(1809)、揮発性メモリ及び不揮発性メモリに復帰情報を書き込んでもよい(1810)。   FIG. 18 illustrates a processing flow of the copying means. As shown in FIG. 18, in the copy processing unit, if the charging determination unit determines that the charging unit is charging, the copy processing unit volatilizes whether the return information of the volatile memory and the nonvolatile memory is valid. This is determined by the volatile memory validity determination unit or the nonvolatile memory validity determination unit (1803, 1804, 1806). If both the determination results are valid, it is not necessary to perform the copying process, so that each device on the system is shifted to the standby mode (1811), and the system power is turned off (1812). If the return information of the volatile memory is valid and if the return information of the nonvolatile memory is invalid, the return information of the volatile memory is written into the nonvolatile memory (1805). If it is determined that the return information of the volatile memory is invalid, and if the return information of the nonvolatile memory is valid, the return information of the nonvolatile memory is written into the volatile memory (1807). If both judgment results are invalid, there is no return information to be complemented, so the copying process can be terminated as it is, and the system is initialized and restarted as shown in FIG. 18 (1808) and started. Return information may be created from a later state (1809), and the return information may be written to the volatile memory and the non-volatile memory (1810).

さらに、揮発性メモリ有効性判断部及び不揮発性メモリ有効性判断部の機能を復帰処理(1511)における復帰情報の有効性の判断に利用してもよい。復帰処理は、図15の復帰処理要求(1510)がされた場合に行われる処理である。復帰処理の処理フローを図19に例示する。復帰処理では、システム電源をONにし(1901)、揮発性メモリ有効性判断部により揮発性メモリが有効かどうか判断する(1902)。揮発性メモリ有効性判断部の判断結果が有効であれば揮発性メモリの復帰情報を利用して待機処理開始前の作業状態を復元する(1903)。揮発性メモリ有効性判断部の判断結果が無効であれば、不揮発性メモリ有効性判断部が不揮発性メモリの復帰情報が有効かどうか判断する(1904)。不揮発性メモリ有効性判断部の判断結果が有効であれば不揮発性メモリの復帰情報を利用して待機処理開始前の作業状態を復元する(1905)。不揮発性メモリ有効性判断部の判断結果が無効であれば、待機処理開始前の作業状態を復元することは不可能なので、システムを初期化再起動する(1906)。なお、情報処理装置が作業状態となった後は復帰情報が必要なくなるので、揮発性メモリと不揮発性メモリの復帰情報を無効化する(1907)。その後、復帰処理を終了し、作業状態へ移行する。揮発性メモリと不揮発性メモリの有効性の判断順序は不揮発性メモリが先であっても同様の機能を有するが、揮発性メモリから復帰情報を読み取って作業状態を復元する方が、より短時間で復帰処理を行うことができ、消費電力も小さくなるので、揮発性メモリの復帰情報の有効性を先に判断することが望ましい。   Further, the functions of the volatile memory validity determination unit and the nonvolatile memory validity determination unit may be used for determining the validity of the return information in the return process (1511). The return process is a process performed when the return process request (1510) in FIG. 15 is made. A processing flow of the return processing is illustrated in FIG. In the return process, the system power is turned on (1901), and the volatile memory validity determination unit determines whether the volatile memory is valid (1902). If the determination result of the volatile memory validity determination unit is valid, the work state before the start of the standby process is restored using the return information of the volatile memory (1903). If the determination result of the volatile memory validity determination unit is invalid, the nonvolatile memory validity determination unit determines whether the return information of the nonvolatile memory is valid (1904). If the determination result of the nonvolatile memory validity determination unit is valid, the work state before the start of the standby process is restored using the return information of the nonvolatile memory (1905). If the determination result of the nonvolatile memory validity determination unit is invalid, it is impossible to restore the work state before the start of the standby process, and the system is initialized and restarted (1906). Since the return information is no longer necessary after the information processing apparatus is in a working state, the return information of the volatile memory and the nonvolatile memory is invalidated (1907). Thereafter, the return processing is terminated and the operation state is shifted. The order of determination of the effectiveness of the volatile memory and the nonvolatile memory has the same function even if the nonvolatile memory is first, but it is shorter to restore the working state by reading the return information from the volatile memory. Therefore, it is desirable to first determine the validity of the return information of the volatile memory.

<実施形態4の効果>本実施形態にかかる情報処理装置は、実施形態1から3に記載のいずれか一にかかる情報処理装置の効果に加え、揮発性メモリ又は不揮発性メモリのどちらか一方の復帰情報が有効であれば、復帰情報を相互に補完することができる。このため、復帰情報は揮発性メモリと不揮発性メモリの両者に記憶されている確率が高くなり、待機処理開始前の作業状態を復元することができないリスクを減じることができる。また、これらの作業は、充電部が充電中に行われるため、復帰情報をやり取りすることによる電力消費がバッテリ残量に与える影響を心配する必要も無い。   <Effect of Embodiment 4> In addition to the effect of the information processing apparatus according to any one of Embodiments 1 to 3, the information processing apparatus according to the present embodiment has either a volatile memory or a non-volatile memory. If the return information is valid, the return information can be mutually complemented. For this reason, there is a high probability that the return information is stored in both the volatile memory and the non-volatile memory, and the risk that the work state before the start of the standby process cannot be restored can be reduced. Moreover, since these operations are performed while the charging unit is being charged, there is no need to worry about the influence of power consumption due to exchange of return information on the remaining battery level.

<<実施形態5>>   << Embodiment 5 >>

<実施形態5の概要>実施形態5について説明する。本実施形態にかかる情報処理装置は、実施形態4に記載の情報処理装置であって、さらに記憶部に復帰情報が有効かどうかを示す有効フラグを備える情報処理装置に関する。   <Outline of Embodiment 5> Embodiment 5 will be described. The information processing apparatus according to the present embodiment is an information processing apparatus according to the fourth embodiment, and further relates to an information processing apparatus including a valid flag indicating whether the return information is valid in a storage unit.

<実施形態5の構成>図20に本実施形態での機能ブロック図の一例を例示する。図20に示す本実施形態の「情報処理装置」(2000)は、実施形態4に記載の情報処理装置を基本とし、さらに記憶部が「有効フラグ」を有することを特徴とする。   <Configuration of Embodiment 5> FIG. 20 shows an example of a functional block diagram of this embodiment. The “information processing apparatus” (2000) of the present embodiment shown in FIG. 20 is based on the information processing apparatus described in the fourth embodiment, and the storage unit has a “valid flag”.

<実施形態5の構成の説明>「有効フラグ」とは、復帰情報が有効かどうかを示すフラグで、有効フラグ格納領域にセットされる。有効フラグ格納領域は揮発性メモリ及び不揮発性メモリのそれぞれに備えられる。図21、図22に揮発性メモリの有効フラグ格納領域と、不揮発性メモリの有効フラグ格納領域の概念図を示す。揮発性メモリ有効性判断部(2013)において、揮発性メモリの復帰情報が有効であるとの判断結果を得た場合は、揮発性メモリ上の有効フラグ格納領域にフラグをセットし、不揮発性メモリ有効性判断部(2014)において、不揮発性メモリの復帰情報が有効であるとの判断結果を得た場合には、不揮発性メモリ上の有効フラグ格納領域にフラグをセットする。有効フラグは、復帰情報が無効化した場合にはリセットされなければいけないので、復帰情報が失われた場合や、壊れた場合には、連動してリセットされるように設定することが望ましい。情報処理装置の電源がOFFになると、揮発性メモリの情報は失われるため揮発性メモリの有効フラグはリセットされる。一方、不揮発性メモリの情報は情報処理装置の電源がOFFになっても失われることはないため、不揮発性メモリの有効フラグがセットされていれば、その後情報処理装置の電源がONになったときは、不揮発性メモリ上の有効フラグはセットされたままとなるため、電源OFF処理時又は起動処理時にリセットする必要がある。   <Description of Configuration of Embodiment 5> The “valid flag” is a flag indicating whether the return information is valid, and is set in the valid flag storage area. The valid flag storage area is provided in each of the volatile memory and the nonvolatile memory. 21 and 22 are conceptual diagrams of the effective flag storage area of the volatile memory and the effective flag storage area of the nonvolatile memory. When the volatile memory validity judgment unit (2013) obtains a judgment result that the return information of the volatile memory is valid, a flag is set in the valid flag storage area on the volatile memory, and the nonvolatile memory When the validity judgment unit (2014) obtains a judgment result that the return information of the nonvolatile memory is valid, a flag is set in the validity flag storage area on the nonvolatile memory. Since the valid flag must be reset when the return information is invalidated, it is desirable to set the valid flag so that it is reset when the return information is lost or broken. When the information processing apparatus is turned off, the information in the volatile memory is lost, and the validity flag of the volatile memory is reset. On the other hand, the information in the non-volatile memory is not lost even when the information processing device is turned off. If the validity flag of the non-volatile memory is set, the information processing device is turned on after that. In some cases, the valid flag on the non-volatile memory remains set, and must be reset during the power-off process or the startup process.

<実施形態5の具体例>本実施形態にかかる情報処理装置では、実施形態4に記載の情報処理装置を基本とするが、揮発性メモリ又は不揮発性メモリの復帰情報が有効か否かの判断は有効フラグがセットされているか否かによって判断される点で異なる。そのため、復帰情報が記憶される待機処理及び複写処理、又は、復帰情報の有効性が判断される複写処理及び復帰処理における処理にて有効フラグの機能を用いることができる。以下に各処理について説明する。なお、待機処理は、実施形態1に記載の待機状態移行要求(0405)がされた場合に行われる処理であり、複写処理は、実施形態4に記載の複写処理要求(1508)がされた場合に行われる処理であり、復帰処理は、実施形態4に記載の復帰処理要求(1510)がされた場合に行われる処理である。   <Specific Example of Embodiment 5> The information processing apparatus according to the present embodiment is based on the information processing apparatus described in Embodiment 4, but it is determined whether the return information of the volatile memory or the nonvolatile memory is valid. Is different depending on whether the valid flag is set or not. For this reason, the function of the validity flag can be used in standby processing and copy processing in which return information is stored, or in copy processing and return processing in which the validity of return information is determined. Each process will be described below. The standby processing is processing performed when the standby state transition request (0405) described in the first embodiment is made, and the copying processing is performed when the copying processing request (1508) described in the fourth embodiment is made. The return process is a process performed when the return process request (1510) described in the fourth embodiment is made.

<待機処理>図23に充電中処理手段と非充電中処理手段を組み合わせて用いた場合の待機処理の処理フローを例示する。待機処理では、まず待機状態終了後に待機処理開始前の作業状態を復元するために、現在の作業状態から復帰情報を作成する(2301)。作成した復帰情報は、書込部が記憶部のうち揮発性メモリに書き込み(2302)、揮発性メモリの有効フラグをセットする(2303)。次に充電部が充電中であるか、非充電中であるかを充電中判断部が判断し(2304)、判断結果が充電中であれば書込部が記憶部のうち不揮発性メモリに復帰情報を書き込み(2305)、不揮発性メモリの有効フラグをセットする(2306)。一方、充電中判断部の判断結果が非充電中の場合には、不揮発性メモリに復帰情報を記憶しない。記憶部への復帰情報の書き込みが終わると、システム上の各デバイスは待機モードへ移行し(2307)、情報処理装置は、システム電源をOFFにする(2308)。待機処理が終了すると、情報処理装置は待機状態へ移行する。   <Standby Processing> FIG. 23 illustrates a processing flow of standby processing when a processing unit during charging and a processing unit during non-charging are used in combination. In the standby process, first, return information is created from the current work state in order to restore the work state before the start of the standby process after the end of the standby state (2301). The writing information is written into the volatile memory of the storage unit by the writing unit (2302), and the validity flag of the volatile memory is set (2303). Next, the charging determination unit determines whether the charging unit is charging or not charging (2304). If the determination result is charging, the writing unit returns to the nonvolatile memory in the storage unit. Information is written (2305), and a valid flag of the nonvolatile memory is set (2306). On the other hand, when the determination result of the charging determination unit is not charging, the return information is not stored in the nonvolatile memory. When the return information is written to the storage unit, each device on the system shifts to the standby mode (2307), and the information processing apparatus turns off the system power (2308). When the standby process ends, the information processing apparatus shifts to a standby state.

<複写処理>図24に第一複写手段と第二複写手段を組み合わせて用いた場合の複写処理の処理フローを例示する。複写処理では、まず充電部が充電中か否かを充電中判断部が判断する(2401)。充電中判断部の判断結果が非充電中であれば、複写処理の具体的な処理を行わずに複写処理を終了し、待機状態へ戻る。一方、充電中判断部の判断結果が充電中であれば、システム電源をONにする(2402)。次に、揮発性メモリの有効フラグと不揮発性メモリの有効フラグをチェックする(2403、2404、2407)。揮発性メモリの有効フラグと不揮発性メモリの有効フラグの両者がセットされている場合には、複写処理をする必要はないのでシステム上の各デバイスを待機モードへ移行し(2413)、システム電源OFFとする(2414)。揮発性メモリの有効フラグがセットされており、不揮発性メモリの有効フラグがリセットされている場合には、揮発性メモリの復帰情報を不揮発性メモリに書き込み(2405)、不揮発性メモリの有効フラグをセットする(2406)。揮発性メモリの有効フラグがリセットされており、不揮発性メモリの有効フラグがセットされている場合には、不揮発性メモリの復帰情報を揮発性メモリに書き込み(2408)、揮発性メモリの有効フラグをセットする(2409)。両者の有効フラグがリセットされている場合には補完する元となる復帰情報がないので、複写処理をそのまま終了してもいいし、図24のようにシステムを初期化再起動し(2410)、起動後の状態から復帰情報を作成し、揮発性メモリ及び不揮発性メモリに復帰情報を書き込んでもよい(2411)。この場合には、復帰処理を行っても待機処理開始前の作業状態を復元することはできないが、有効フラグをセットする(2412)ため後述する復帰処理においてシステムの初期化再起動を行う必要がないので、復帰処理を短時間で行うことができる。復帰情報の書き込み後、システム上の各デバイスは待機モードへ移行し(2413)、システム電源をOFFにする(2414)。複写処理が終了後、情報処理装置は再び待機状態へと移行する。   <Copying Process> FIG. 24 illustrates a processing flow of the copying process when the first copying means and the second copying means are used in combination. In the copying process, first, the charging determination unit determines whether the charging unit is charging (2401). If the determination result of the charging determining unit is not charging, the copying process is terminated without performing the specific process of the copying process, and the process returns to the standby state. On the other hand, if the determination result of the charging determination unit is charging, the system power is turned on (2402). Next, the validity flag of the volatile memory and the validity flag of the nonvolatile memory are checked (2403, 2404, 2407). If both the volatile memory valid flag and the non-volatile memory valid flag are set, there is no need for copying, so each device on the system is shifted to the standby mode (2413), and the system power is turned off. (2414). When the volatile memory valid flag is set and the nonvolatile memory valid flag is reset, the return information of the volatile memory is written into the nonvolatile memory (2405), and the nonvolatile memory valid flag is set. Set (2406). When the volatile memory valid flag is reset and the nonvolatile memory valid flag is set, the return information of the nonvolatile memory is written into the volatile memory (2408), and the volatile memory valid flag is set. Set (2409). If both valid flags are reset, there is no return information to be complemented. Therefore, the copying process may be terminated as it is, or the system is initialized and restarted as shown in FIG. 24 (2410). The return information may be created from the state after startup, and the return information may be written in the volatile memory and the nonvolatile memory (2411). In this case, even if the return process is performed, the work state before the start of the standby process cannot be restored. However, in order to set a valid flag (2412), it is necessary to initialize and restart the system in the return process described later. Therefore, the return process can be performed in a short time. After writing the return information, each device on the system shifts to a standby mode (2413) and turns off the system power (2414). After the copying process is completed, the information processing apparatus shifts to the standby state again.

<復帰処理>図25に復帰処理1と復帰処理2を組み合わせた場合の有効フラグを用いた復帰処理の処理フローを例示する。復帰処理では、まずシステム電源をONにし(2501)、揮発性メモリの有効フラグがセットされているかをチェックする(2502)。揮発性メモリの有効フラグがセットされていれば、揮発性メモリの復帰情報を利用して待機処理開始前の作業状態を復元する(2503)。揮発性メモリの有効フラグがリセットされていれば、不揮発性メモリの有効フラグをチェックする(2504)。不揮発性メモリの有効フラグがセットされていれば不揮発性メモリの復帰情報を利用して待機処理開始前の作業状態を復元する(2505)。不揮発性メモリ有効性判断部の判断結果が無効であれば、待機処理開始前の作業状態を復元することは不可能なので、システムを初期化再起動する(2506)。なお、情報処理装置が作業状態となった後は復帰情報が必要なくなるので、揮発性メモリと不揮発性メモリの有効フラグをリセットする(2507)。その後、復帰処理を終了し、作業状態へ移行する。揮発性メモリと不揮発性メモリの有効性の判断順序は不揮発性メモリが先であっても同様の機能を有するが、揮発性メモリから復帰情報を読み取って作業状態を復元する方が、より短時間で復帰処理を行うことができ、消費電力も小さくなるので、揮発性メモリの復帰情報の有効性を先に判断することが望ましい。   <Return Process> FIG. 25 shows a processing flow of the return process using the valid flag when the return process 1 and the return process 2 are combined. In the restoration process, first, the system power is turned on (2501), and it is checked whether the volatile memory valid flag is set (2502). If the effective flag of the volatile memory is set, the work state before the start of the standby process is restored using the return information of the volatile memory (2503). If the effective flag of the volatile memory has been reset, the effective flag of the nonvolatile memory is checked (2504). If the valid flag of the nonvolatile memory is set, the work state before the start of the standby process is restored using the return information of the nonvolatile memory (2505). If the determination result of the non-volatile memory validity determination unit is invalid, it is impossible to restore the work state before the start of the standby process, so the system is initialized and restarted (2506). Since the return information is no longer necessary after the information processing apparatus is in a working state, the validity flags of the volatile memory and the nonvolatile memory are reset (2507). Thereafter, the return processing is terminated and the operation state is shifted. The order of determination of the effectiveness of the volatile memory and the nonvolatile memory has the same function even if the nonvolatile memory is first, but it is shorter to restore the working state by reading the return information from the volatile memory. Therefore, it is desirable to first determine the validity of the return information of the volatile memory.

<実施形態5の効果>本実施形態にかかる情報処理装置では、実施形態1から4に記載のいずれか一にかかる情報処理装置の効果に加え、復帰情報が有効か否かの判断が有効フラグをチェックすることで行うことが可能であるため、各処理の処理時間の短縮を行うことができる。   <Effect of Fifth Embodiment> In the information processing apparatus according to the present embodiment, in addition to the effects of the information processing apparatus according to any one of the first to fourth embodiments, it is determined whether the return information is valid or not. Therefore, the processing time of each process can be shortened.

<<実施形態6>>   << Embodiment 6 >>

<実施形態6の概要>実施形態6について説明する。本実施形態にかかる情報処理装置は、実施形態1から5のいずれか一に記載の情報処理装置であって、記憶部に復帰情報が更新されたかどうかを示す更新フラグ、復帰情報が有効か無効かをチェックするエラーチェック機能を備える情報処理装置に関する。   <Outline of Embodiment 6> Embodiment 6 will be described. The information processing apparatus according to the present embodiment is the information processing apparatus according to any one of the first to fifth embodiments, and includes an update flag indicating whether the return information is updated in the storage unit, and whether the return information is valid or invalid. The present invention relates to an information processing apparatus having an error check function for checking whether or not.

<実施形態6の構成>
図26に本実施形態での機能ブロック図の一例を例示する。図26に示す本実施形態の「情報処理装置」(2600)は、実施形態5に記載の情報処理装置を基本とし、さらに記憶部は「更新フラグ」及び「エラーチェック機能」を有することを特徴とする。
<Configuration of Embodiment 6>
FIG. 26 illustrates an example of a functional block diagram in the present embodiment. The “information processing apparatus” (2600) of the present embodiment shown in FIG. 26 is based on the information processing apparatus described in the fifth embodiment, and the storage unit has an “update flag” and an “error check function”. And

<実施形態6の構成の説明>「更新フラグ」とは、復帰情報が更新されたかどうかを示すフラグで、更新フラグ格納領域に格納される。具体的には、記憶部の揮発性メモリと不揮発性メモリの両者が更新された場合に更新フラグをリセットし、どちらか一方でも更新されていない状態だと更新フラグをセットする。すなわち、更新フラグがリセットされている状態では、揮発性メモリと不揮発性メモリには、同一の復帰情報が記憶されていることになる。また、作業状態では、更新する復帰情報が存在しないため更新フラグはリセットする。図21に揮発性メモリに更新フラグ格納領域を備えた概念図を示す。図21では、記憶部のうち揮発性メモリに更新フラグ格納領域を備えているが、不揮発性メモリに更新フラグ格納領域を備えてもいい。揮発性メモリ上に更新フラグ格納領域を備えている場合には、情報処理装置の電源がOFFになると、揮発性メモリの情報は失われるため、更新フラグはリセットされる。   <Description of Configuration of Embodiment 6> The “update flag” is a flag indicating whether or not the return information has been updated, and is stored in the update flag storage area. Specifically, the update flag is reset when both the volatile memory and the non-volatile memory of the storage unit are updated, and the update flag is set when either one is not updated. That is, in the state where the update flag is reset, the same return information is stored in the volatile memory and the nonvolatile memory. In the working state, the update flag is reset because there is no return information to be updated. FIG. 21 is a conceptual diagram in which an update flag storage area is provided in a volatile memory. In FIG. 21, the update flag storage area is provided in the volatile memory of the storage unit, but the update flag storage area may be provided in the nonvolatile memory. When the update flag storage area is provided on the volatile memory, the information in the volatile memory is lost when the information processing apparatus is turned off, so the update flag is reset.

「エラーチェック機能」とは、揮発性メモリの復帰情報と不揮発性メモリの復帰情報が同一か否かをチェックする機能である。エラーチェックを行うために、復帰情報のチェックサム情報を利用する方法が考えられる。図21、図22に揮発性メモリの復帰情報に関するチェックサム情報を揮発性メモリ上に記憶する場合と、不揮発性メモリの復帰情報に関するチェックサム情報を不揮発性メモリ上に記憶する場合の概念図を例示する。チェックサム情報を参照することによって、揮発性メモリと不揮発性メモリに記憶されている復帰情報が同一のものであるか否か、又はどちらか一方が未更新になっていないかどうかなどを判断することが可能である。なお、エラーチェック機能は、復帰情報のエラーチェックが可能であれば、エラーチェックの方法は問わない。   The “error check function” is a function for checking whether the return information of the volatile memory and the return information of the nonvolatile memory are the same. In order to perform an error check, a method of using checksum information of return information can be considered. FIG. 21 and FIG. 22 are conceptual diagrams when the checksum information related to the return information of the volatile memory is stored on the volatile memory and when the checksum information about the return information of the nonvolatile memory is stored on the nonvolatile memory. Illustrate. By referring to the checksum information, it is determined whether or not the return information stored in the volatile memory and the nonvolatile memory is the same, or whether one of them is not updated. It is possible. Note that the error check function may be any error check method as long as return information error check is possible.

<実施形態6の具体例>本実施形態にかかる情報処理装置では、実施形態5に記載の情報処理装置を基本とするが、揮発性メモリと不揮発性メモリの両者に復帰情報が記憶されているか否かは更新フラグを参照することによって判断される点で異なる。また、揮発性メモリや不揮発性メモリの復帰情報が同一であるか否か、又は更新されたか否かは、エラーチェック機能を用いて判断してもよい。復帰情報が記憶される待機処理及び複写処理、又は、復帰情報の有効性が判断される複写処理及び復帰処理における処理フローにおいて、更新フラグの機能を用いることができる。以下に各処理について説明する。なお、待機処理は、実施形態1に記載の待機状態移行要求(0405)がされた場合に行われる処理であり、複写処理は、実施形態4に記載の複写処理要求(1508)がされた場合に行われる処理であり、復帰処理は、復帰処理要求(1510)がされた場合に行われる処理である。   <Specific Example of Embodiment 6> The information processing apparatus according to the present embodiment is based on the information processing apparatus described in Embodiment 5, but is the return information stored in both the volatile memory and the nonvolatile memory? No is different in that it is determined by referring to the update flag. Further, whether or not the return information of the volatile memory or the nonvolatile memory is the same or updated may be determined using an error check function. The function of the update flag can be used in a processing flow in standby processing and copy processing in which return information is stored, or copy processing and return processing in which the validity of return information is determined. Each process will be described below. The standby processing is processing performed when the standby state transition request (0405) described in the first embodiment is made, and the copying processing is performed when the copying processing request (1508) described in the fourth embodiment is made. The return process is a process performed when a return process request (1510) is made.

<待機処理>図27に更新フラグを用いた待機処理の処理フローを示す。本実施形態にかかる待機処理では、実施形態5における待機処理において、充電中判断部の判断結果が非充電中の場合には、不揮発性メモリに復帰情報を書き込まないため、更新フラグをセットする(2707)点に特徴を有する。   <Standby Processing> FIG. 27 shows a processing flow of standby processing using the update flag. In the standby process according to the present embodiment, when the determination result of the charging determination unit is not charging in the standby process according to the fifth embodiment, the return information is not written in the nonvolatile memory, and thus an update flag is set ( 2707) is characterized by points.

<複写処理>図28に第一複写手段と第二複写手段を組み合わせた場合の更新フラグを用いた複写処理の処理フローを示す。複写処理では、まず充電部が充電中か否かを判断する(2801)。充電部が非充電中であれば、複写処理の具体的な処理を行わずに複写処理を終了し、待機状態へ戻る。一方、充電部が充電中であれば、更新フラグのチェックを行う(2802)。不揮発性メモリと揮発性メモリの両者の復帰情報が更新されている場合には、更新フラグがリセットされている。したがって、更新フラグがリセットされている場合にはシステム電源をONにせずに複写処理を終了することが有効である。前記のとおり待機状態であっても更新フラグをチェックすることが可能な設定にしておくことが好ましいが、システム電源をONした後に更新フラグのチェックをしてもよい。更新フラグがセットされていた場合、揮発性メモリと不揮発性メモリのどちらか一方が更新していないか、何らかの原因で復帰情報が失われていると考えられ、揮発性メモリと不揮発性メモリの復帰情報を相互に補完する必要があるため、システム電源をONにする(2803)。次に、揮発性メモリの有効フラグをチェックし(2804)、揮発性メモリの有効フラグがセットされていた場合には、更新フラグがセットされていることから不揮発性メモリの復帰情報は無効であると考えられるため、揮発性メモリの復帰情報を不揮発性メモリへ書き込み(2805)、不揮発性メモリの有効フラグをセットする(2806)。揮発性メモリの有効フラグのチェック(2804)で、揮発性メモリの有効フラグがリセットされていた場合には不揮発性メモリの有効フラグをチェックする(2807)。不揮発性メモリの有効フラグがセットされている場合には、不揮発性メモリの復帰情報を揮発性メモリに書込部が書き込み(2808)、揮発性メモリの有効フラグをセットする(2809)。揮発性メモリの有効フラグと不揮発性メモリの有効フラグがリセットされている場合には、システムを初期化再起動し(2810)、再起動後の作業状態から復帰情報を作成して揮発性メモリと不揮発性メモリに書き込み(2811)、揮発性メモリと不揮発性メモリの有効フラグをセットする(2812)。この場合には、復帰処理を行っても待機処理開始前の作業状態を復元することはできないが、揮発性メモリと不揮発性メモリの有効フラグをセットするため後述する復帰処理においてシステムの初期化再起動を行う必要がないので復帰処理を短時間で行うことができる。以上により、揮発性メモリの有効フラグと、不揮発性メモリの有効フラグがセットされた後に、更新フラグをリセットする(2813)。その後、システム上の各デバイスを待機モードとし(2814)、システム電源をOFFにして(2815)複写処理を終了する。待機状態継続中に再び複写処理要求がされても、更新フラグがリセットされている間は複写処理が行われてもシステム電源をONにしなくてもよい。   <Copying Process> FIG. 28 shows a processing flow of the copying process using the update flag when the first copying means and the second copying means are combined. In the copying process, it is first determined whether or not the charging unit is charging (2801). If the charging unit is not charging, the copying process is terminated without performing the specific process of the copying process, and the process returns to the standby state. On the other hand, if the charging unit is being charged, the update flag is checked (2802). When the return information of both the nonvolatile memory and the volatile memory is updated, the update flag is reset. Therefore, when the update flag is reset, it is effective to end the copying process without turning on the system power. As described above, it is preferable to set the update flag so that it can be checked even in the standby state. However, the update flag may be checked after the system power is turned on. If the update flag is set, either the volatile memory or the non-volatile memory has not been updated, or the recovery information may have been lost for some reason. Since it is necessary to complement the information, the system power is turned on (2803). Next, the validity flag of the volatile memory is checked (2804), and if the validity flag of the volatile memory is set, the return information of the nonvolatile memory is invalid because the update flag is set. Therefore, the return information of the volatile memory is written into the nonvolatile memory (2805), and the validity flag of the nonvolatile memory is set (2806). If the volatile memory validity flag is checked (2804) and the volatile memory validity flag has been reset, the nonvolatile memory validity flag is checked (2807). When the validity flag of the nonvolatile memory is set, the writing unit writes the return information of the nonvolatile memory to the volatile memory (2808), and sets the validity flag of the volatile memory (2809). If the valid flag of the volatile memory and the valid flag of the nonvolatile memory are reset, the system is initialized and restarted (2810), and the return information is created from the work state after the restart to create the volatile memory. Write to the nonvolatile memory (2811), and set the volatile memory and the valid flag of the nonvolatile memory (2812). In this case, the work state before the start of the standby process cannot be restored even if the return process is performed, but the system is reinitialized in the return process to be described later in order to set the valid flags of the volatile memory and the nonvolatile memory. Since it is not necessary to start up, the return process can be performed in a short time. As described above, after the validity flag of the volatile memory and the validity flag of the nonvolatile memory are set, the update flag is reset (2813). Thereafter, each device on the system is set to the standby mode (2814), the system power is turned off (2815), and the copying process is terminated. Even if the copy processing request is made again while the standby state continues, the system power supply does not have to be turned on even if the copy processing is performed while the update flag is reset.

<復帰処理>図29に更新フラグを用いた復帰処理の処理フローを示す。本実施形態にかかる待機処理では、実施形態5における待機処理において、揮発性メモリと不揮発性メモリの復帰情報の有効フラグをリセットした後に更新フラグをリセットする(2908)点に特徴を有する。   <Return Process> FIG. 29 shows a process flow of the return process using the update flag. The standby process according to the present embodiment is characterized in that, in the standby process in the fifth embodiment, the update flag is reset (2908) after resetting the valid flag of the return information of the volatile memory and the nonvolatile memory.

<実施形態6の効果>本実施形態にかかる情報処理装置では、実施形態1から5に記載のいずれか一にかかる情報処理装置の効果に加え、復帰情報が更新されたかどうかの判断が更新フラグをチェックすることで行うことで可能であるため、複写処理において処理時間の短縮を行うことができる。また、エラーチェック機能を用いることにより、復帰情報の整合性を高めることができる。   <Effect of Sixth Embodiment> In the information processing apparatus according to the present embodiment, in addition to the effects of the information processing apparatus according to any one of the first to fifth embodiments, it is determined whether or not the return information has been updated by an update flag. Since this is possible by checking this, it is possible to shorten the processing time in the copying process. Further, the consistency of the return information can be improved by using the error check function.

<<実施形態7>>   << Embodiment 7 >>

<実施形態7の概要>実施形態7について説明する。本実施形態にかかる情報処理装置は、実施形態1から6に記載のいずれか一にかかる情報処理装置を基本とし、電源のOFF処理に応じて、電源OFF処理開始前における作業状態を電源ON時に復元するための復帰情報を記憶部のうち不揮発性メモリに書き込む情報処理装置に関する。   <Outline of Embodiment 7> Embodiment 7 will be described. The information processing apparatus according to the present embodiment is based on the information processing apparatus according to any one of the first to sixth embodiments, and according to the power OFF process, the work state before starting the power OFF process is The present invention relates to an information processing apparatus that writes return information for restoration to a nonvolatile memory in a storage unit.

<実施形態7の構成>図30に本実施形態での機能ブロック図の一例を例示する。図30に示す本実施形態の「情報処理装置」(3000)は、実施形態1から6に記載のいずれか一に記載の情報処理装置を基本とし、さらに「第二書込部」(3006)を有することを特徴とする。   <Structure of Embodiment 7> FIG. 30 shows an example of a functional block diagram in this embodiment. The “information processing apparatus” (3000) of the present embodiment illustrated in FIG. 30 is based on the information processing apparatus described in any one of the first to sixth embodiments, and further includes a “second writing unit” (3006). It is characterized by having.

<実施形態7の構成の説明>本実施形態にかかる情報処理装置は、実施形態1から6に記載の機能に加えて、「第二書込部」を有し、また、「電源OFF処理部」の機能において特徴を有する。   <Description of Configuration of Seventh Embodiment> An information processing apparatus according to the present embodiment includes a “second writing unit” in addition to the functions described in the first to sixth embodiments, and includes a “power-off processing unit”. It has a feature in the function.

「第二書込部」(3006)は、電源OFF処理部の電源OFF処理に応じて、電源OFF処理開始前における作業状態を電源ON時に復元するための復帰情報を記憶部のうち不揮発性メモリに書き込む機能を有する。電源ON時とは、情報処理装置が停止状態から作業状態へ移行する時を指し、外部又は内部からのトリガーにより移行要求がされる。外部からのトリガーは、情報処理システムの電源スイッチが押された場合などに発生し、内部からのトリガーは、毎日特定の時刻になると情報処理装置が起動するように設定している場合などに発生する。   The “second writing unit” (3006) is a non-volatile memory in the storage unit that stores return information for restoring the work state before starting the power-off process when the power is turned on according to the power-off process of the power-off processing unit. It has a function to write to. The time when the power is turned on indicates a time when the information processing apparatus shifts from the stopped state to the working state, and a shift request is made by an external or internal trigger. An external trigger occurs when the power switch of the information processing system is pressed, and an internal trigger occurs when the information processing device is set to start at a specific time every day. To do.

「電源OFF処理部」(3003)は、実施形態1にかかる電源OFF処理部の機能を有し、さらに、停止状態移行要求が外部トリガーによるものか内部トリガーによるものかで異なる電源OFF処理を行う。電源OFF処理が行われるためには、実施形態1に記載のとおり外部トリガーと内部トリガーが想定され、それぞれの場合に応じて電源OFF処理部は以下の処理を行う。外部からのトリガーによる電源OFF処理の場合は、電源OFFスイッチを押した場合などユーザの意思で電源OFFを望んでいると想定されるため、仮に作業中の情報が未保存であったとしても、その状態を認識した上でユーザが電源OFFを望んでいると考えられる。この場合には、特別な処理をせずにそのまま電源をOFFにする。なお、ユーザの不注意により電源OFFスイッチが押される場合も想定されるため、電源OFF処理を行うことをユーザに警告することが望ましい。一方、内部からのトリガーによる電源OFF処理の場合は、バッテリ残量が残り少なくなり強制的に電源OFFになる場合など、ユーザの意思に反して電源がOFFになる場合が想定される。内部からのトリガーによる電源OFF処理の場合であっても、情報処理装置が待機状態であり、既に不揮発性メモリに復帰情報が記憶されている場合には、復帰情報を失わずに保持することが可能である。一方、情報処理装置が作業状態である場合又は待機状態であっても不揮発性メモリに復帰情報が記憶されていない場合には、内部トリガーによる電源OFF処理開始前までの情報は、そのまま電源をOFFにしてしまうと失われてしまうため、第二書込部において、電源OFF処理開始前までの作業状態を復帰情報として記憶部のうち不揮発性メモリに書き込む。不揮発性メモリに記憶された復帰情報は、情報処理装置が再び起動した際に読み込まれ、電源OFF処理開始前の作業状態から作業を継続することができる。なお、本実施形態における揮発性メモリ及び不揮発性メモリの復帰情報の有効か否かの判断は、揮発性メモリ有効性判断部及び不揮発性メモリ有効性判断部を用いて判断してもいいし、有効フラグを用いて判断してもよい。   The “power OFF processing unit” (3003) has the function of the power OFF processing unit according to the first embodiment, and further performs different power OFF processing depending on whether the stop state transition request is based on an external trigger or an internal trigger. . In order to perform the power-off process, an external trigger and an internal trigger are assumed as described in the first embodiment, and the power-off processing unit performs the following process according to each case. In the case of power off processing by an external trigger, it is assumed that the user wants to power off, such as when the power off switch is pressed, so even if the information being worked on is unsaved, It is considered that the user wants to turn off the power after recognizing the state. In this case, the power is turned off without any special processing. In addition, since it is also assumed that the power OFF switch is pressed due to carelessness of the user, it is desirable to warn the user that the power OFF processing is performed. On the other hand, in the case of the power-off process by the trigger from the inside, it is assumed that the power is turned off against the user's intention, such as when the remaining battery level is low and the power is forcibly turned off. Even in the case of power-off processing by an internal trigger, if the information processing device is in a standby state and the return information is already stored in the nonvolatile memory, the return information can be retained without loss. Is possible. On the other hand, if the information processing device is in a working state or is in a standby state and the return information is not stored in the nonvolatile memory, the information before the start of the power-off process by the internal trigger is turned off as it is. Therefore, in the second writing unit, the work state before the start of the power-off process is written in the nonvolatile memory of the storage unit as the return information. The return information stored in the nonvolatile memory is read when the information processing apparatus is started again, and the work can be continued from the work state before the power-off process is started. The determination as to whether or not the return information of the volatile memory and the nonvolatile memory in the present embodiment is valid may be determined using a volatile memory validity determination unit and a nonvolatile memory validity determination unit, You may judge using an effective flag.

本実施形態における他の構成は実施形態1から6に記載の構成と同一であるため省略する。   Other configurations in the present embodiment are the same as those described in the first to sixth embodiments, and thus are omitted.

<実施形態7の具体例>本実施形態にかかる情報処理装置では、実施形態1から6にかかる情報処理装置を基本とし、同一の処理フローで表されるが、電源OFF処理及び起動処理において特徴を有する点で異なる。なお、本実施形態における電源OFF処理の処理フローは有効フラグを用いて説明するが、揮発性メモリ有効性判断部及び不揮発性メモリ有効性判断部を用いても同様の効果が得られる。なお、電源OFF処理は、実施形態1に記載の停止状態移行要求(0405、0407)がされた場合に行われる処理であり、起動処理は、実施形態1に記載の電源スイッチが押された場合に行われる処理である。   <Specific Example of Seventh Embodiment> The information processing apparatus according to the present embodiment is based on the information processing apparatus according to the first to sixth embodiments and is represented by the same processing flow, but is characterized by the power-off process and the startup process. It is different in having. In addition, although the processing flow of the power OFF process in this embodiment is demonstrated using an effective flag, the same effect is acquired even if it uses a volatile memory validity judgment part and a non-volatile memory validity judgment part. The power-off process is a process performed when the stop state transition request (0405, 0407) described in the first embodiment is made, and the activation process is performed when the power switch described in the first embodiment is pressed. It is a process performed.

<電源OFF処理>図31に本実施形態にかかる電源OFF処理の処理フローを示す。電源OFF処理では、まず、トリガーが外部からのトリガーか内部からのトリガーかを判断する(3101)。外部トリガーの場合には電源OFF処理の具体的な処理を行わずにシステム電源、バックアップ電源ともにOFFにし(3109)、電源OFF処理を終了し、停止状態へ移行する。一方、内部トリガーの場合には、現在の情報処理装置の状態をチェックし(3102)、作業状態であれば現在の状態から復帰情報を作成する(3106)。作成した復帰情報は不揮発性メモリに書き込み(3107)、不揮発性メモリの有効フラグをセットする(3108)。また、現在の情報処理装置の状態が待機状態であれば、不揮発性メモリの有効フラグをチェックする(3103)。不揮発性メモリの有効フラグがセットされている場合は、復帰情報は不揮発性メモリに記憶されており、電源OFF状態でも復帰情報が失われることはないため、システム電源及びバックアップ電源をOFFにし(3109)、電源OFF処理を終了して停止状態とする。不揮発性メモリの有効フラグがリセットされている場合には、揮発性メモリの有効フラグをチェックする(3104)。揮発性メモリの有効フラグがセットされている場合は、揮発性メモリに記憶されている復帰情報を不揮発性メモリへ書き込み(3105)、不揮発性メモリの有効フラグをセットする(3108)。不揮発性メモリの有効フラグのセット後、システム電源及びバックアップ電源をOFFにし(3109)、電源OFF処理を終了して停止状態とする。不揮発性メモリの有効フラグと揮発性メモリの有効フラグが両方ともリセットされている場合には、もはや復帰する情報が無いため、そのままシステム電源及びバックアップ電源をOFFにし(3109)、電源OFF処理を終了して停止状態とする。   <Power OFF Process> FIG. 31 shows a process flow of the power OFF process according to this embodiment. In the power-off process, first, it is determined whether the trigger is an external trigger or an internal trigger (3101). In the case of an external trigger, both the system power supply and the backup power supply are turned off (3109) without performing the specific process of the power supply OFF process, the power supply OFF process is terminated, and a transition is made to a stopped state. On the other hand, in the case of an internal trigger, the current state of the information processing apparatus is checked (3102), and if it is a working state, return information is created from the current state (3106). The created return information is written to the nonvolatile memory (3107), and the validity flag of the nonvolatile memory is set (3108). If the current state of the information processing apparatus is a standby state, the validity flag of the nonvolatile memory is checked (3103). When the valid flag of the nonvolatile memory is set, the return information is stored in the nonvolatile memory, and the return information is not lost even when the power is off. Therefore, the system power supply and the backup power supply are turned off (3109). ), The power-off process is terminated and the machine is stopped. When the valid flag of the nonvolatile memory is reset, the valid flag of the volatile memory is checked (3104). When the valid flag of the volatile memory is set, the return information stored in the volatile memory is written to the nonvolatile memory (3105), and the valid flag of the nonvolatile memory is set (3108). After setting the valid flag of the nonvolatile memory, the system power supply and the backup power supply are turned off (3109), the power-off process is terminated and the system is stopped. If both the nonvolatile memory valid flag and the volatile memory valid flag are reset, there is no information to be restored, so the system power supply and backup power supply are turned off as they are (3109), and the power off process is terminated. To stop.

<起動処理>電源OFF処理によって、停止状態においても復帰情報が不揮発性メモリに記憶されている場合には、情報処理装置の起動時に復帰情報を読み込むことによって、電源OFF処理開始前の作業状態から作業を再開することができる。この場合は、起動処理は、図32に示す処理フローに沿って処理が行われる。情報処理装置は、システム初期化起動後(3203)、不揮発性メモリの有効フラグをチェックし(3204)、有効フラグがセットされていれば、不揮発性メモリの復帰情報を使って電源OFF処理開始前の状態を復元し(3205)、その後復帰情報が不要となるので不揮発性メモリの有効フラグをリセットし(3206)、起動処理を終了する。   <Start-up process> If the return information is stored in the non-volatile memory even in the stopped state due to the power-off process, read the return information when starting the information processing device, so that the work state before starting the power-off process You can resume your work. In this case, the activation process is performed according to the process flow shown in FIG. After the system initialization is started (3203), the information processing apparatus checks the validity flag of the nonvolatile memory (3204). If the validity flag is set, the power-off process is started using the return information of the nonvolatile memory. (3205), and after that, the return information becomes unnecessary, so the validity flag of the nonvolatile memory is reset (3206), and the start-up process is terminated.

<実施形態7の効果>本実施形態にかかる情報処理装置は、実施形態1から6にかかる情報処理装置の効果に加え、内部トリガーによるユーザの意思に反して電源OFFになる場合であっても、電源OFF処理開始前の作業状態を復帰情報として不揮発性メモリに記憶することができるため、電源OFF処理開始前の状態から作業を再開することができる。また、外部トリガーによるユーザの意思で電源をOFFにする場合には復帰情報の記憶をしないため、無駄に電力消費をする心配も無い。   <Effect of Embodiment 7> In addition to the effects of the information processing apparatus according to the first to sixth embodiments, the information processing apparatus according to the present embodiment can be used even when the power is turned off against the user's intention due to the internal trigger. The work state before the start of the power-off process can be stored in the nonvolatile memory as the return information, so that the work can be resumed from the state before the start of the power-off process. In addition, when the power is turned off at the user's intention by an external trigger, the return information is not stored, so there is no need to waste power consumption.

<<実施形態8>>   << Embodiment 8 >>

<実施形態8の概要>実施形態8について説明する。本実施形態にかかる情報処理装置は、実施形態1から7に記載のいずれか一にかかる情報処理装置を基本とし、記憶部が情報処理装置とネットワークを介して接続された外部記憶装置に配置されている情報処理装置に関する。   <Outline of Embodiment 8> Embodiment 8 will be described. The information processing apparatus according to the present embodiment is based on the information processing apparatus according to any one of the first to seventh embodiments, and the storage unit is disposed in an external storage device connected to the information processing apparatus via a network. The present invention relates to an information processing apparatus.

<実施形態8の構成>図33に本実施形態での機能ブロック図の一例を例示する。図33に示す本実施形態の「情報処理装置」(3300)は、「電源」(3301)と、「電源OFF処理部」(3303)と、「電源待機処理部」(3304)と、「充電部」(3302)と、「復帰処理部」(3307)とを有し、「記憶部」(3310)がネットワーク(3308)を介して情報処理装置の外部に設置された「外部記憶装置」(3309)にすることを特徴とする。なお、「記憶部」(3306)は情報処理装置の内部にも有してもよい。   <Configuration of Eighth Embodiment> FIG. 33 illustrates an example of a functional block diagram in the present embodiment. The “information processing apparatus” (3300) of the present embodiment illustrated in FIG. 33 includes a “power supply” (3301), a “power-off processing unit” (3303), a “power standby processing unit” (3304), and “charging”. Section ”(3302) and“ return processing section ”(3307), and the“ storage section ”(3310) is installed outside the information processing apparatus via the network (3308). 3309). The “storage unit” (3306) may also be provided inside the information processing apparatus.

<実施形態8の構成の説明>「記憶部」は、実施形態1から実施形態7に記載の記憶部と同様の機能を有し、本実施形態にかかる「記憶部」は、情報処理装置の外部に記憶部(3310)を有する。なお、本実施形態においても情報処理装置内に記憶部(3306)を有してもよい。情報処理装置の外部の記憶部(3310)は、情報処理装置(3300)とネットワークを介して接続された「外部記憶装置」(3309)に配置されている。「ネットワーク」(3308)とは、復帰情報をやり取りすることが可能なものであればどのようなものであっても構わない。具体的には、例えば、企業において営業担当者用の携帯型情報処理端末が情報処理装置に相当し、事務所などに設置されたサーバが外部記憶装置に相当する場合、携帯型情報処理端末と外部記憶装置はインターネットを介して復帰情報をやり取りすることが可能である。また、同一の事務所内でLANによってクライアントサーバ型のネットワークが構築されている場合には、各事務所員が使用する情報処理装置と外部記憶装置とがLANによってやり取りすることが可能である。なお、外部記憶装置上の記憶部は、揮発性メモリであっても不揮発性メモリであってもよいが、不揮発性メモリである方が好ましい。なぜなら、本実施形態では、ネットワークを通じて復帰情報のやり取りが行われるため、復帰情報の読み込みは通信回線の容量に依存し、迅速な処理を可能にする揮発性メモリに記憶する利点が薄れ、むしろ、復帰情報が失われることを防ぐ点に大きな利点を有するためである。   <Description of Configuration of Eighth Embodiment> The “storage unit” has the same function as the storage units described in the first to seventh embodiments, and the “storage unit” according to the present embodiment is an information processing apparatus. A storage unit (3310) is provided outside. In the present embodiment, the information processing apparatus may include a storage unit (3306). The storage unit (3310) outside the information processing apparatus is arranged in an “external storage device” (3309) connected to the information processing apparatus (3300) via a network. The “network” (3308) may be anything as long as it can exchange return information. Specifically, for example, when a portable information processing terminal for a sales person in a company corresponds to an information processing device, and a server installed in an office corresponds to an external storage device, The external storage device can exchange return information via the Internet. Further, when a client server type network is constructed in the same office by a LAN, an information processing device used by each office worker and an external storage device can communicate with each other through the LAN. Note that the storage unit on the external storage device may be a volatile memory or a nonvolatile memory, but is preferably a nonvolatile memory. Because, in this embodiment, return information is exchanged through the network, read of the return information depends on the capacity of the communication line, and the advantage of storing it in a volatile memory that enables quick processing is reduced. This is because it has a great advantage in preventing the return information from being lost.

「書込部」(3305)は、実施形態1から7に記載の機能に加え、復帰情報を記憶部のうち、情報処理装置の外部に設置された外部記憶装置にネットワークを通じて書き込む。例えば、前記のとおり、インターネットを通じて外部記憶装置に接続して復帰情報を書き込んでもいいし、LANを通じて外部記憶装置に接続して復帰情報を書き込んでもいい。また、直接復帰情報を書き込む場合に限らず、復帰情報を一旦、情報処理装置内に有する記憶部(3306)へ書き込み、情報処理装置内の記憶部に書き込まれた復帰情報を外部記憶装置へ送信してもよい。LANを通じて復帰情報を記憶する場合には、LANが比較的小規模であれば復帰情報を外部記憶装置へ直接書き込む設定としても、サーバにはあまり大きな負荷がかからないと考えられるが、LANが大規模になるにつれて、外部記憶装置への負荷が大きくなるため、大規模のLANほど復帰情報を一旦、情報処理装置の内部の記憶部に書き込んだ後に送信する設定が好ましい。また、インターネットを通じて復帰情報を書き込む場合には、復帰情報の書き込み途中での書き込みエラーや回線切断が生じる可能性があるため、この点からも復帰情報を直接書き込むのではなく、一旦情報処理装置内の記憶部に書き込んだ復帰情報を外部記憶装置へ送信する設定が望ましい。   In addition to the functions described in the first to seventh embodiments, the “writing unit” (3305) writes the return information to an external storage device installed outside the information processing apparatus in the storage unit via the network. For example, as described above, the return information may be written by connecting to an external storage device through the Internet, or the return information may be written by connecting to the external storage device through a LAN. The return information is not only directly written, but the return information is once written in the storage unit (3306) in the information processing apparatus, and the return information written in the storage unit in the information processing apparatus is transmitted to the external storage device. May be. When storing return information through a LAN, if the LAN is relatively small, even if the return information is set to be written directly to the external storage device, it is considered that the server does not take a very large load. As the load on the external storage device increases, the larger the LAN, the more preferably the return information is once written in the storage unit inside the information processing device and then transmitted. In addition, when writing return information through the Internet, there is a possibility that a write error or line disconnection may occur during writing of the return information. From this point, the return information is not directly written, but once in the information processing apparatus. It is desirable to set the return information written in the storage unit to be transmitted to the external storage device.

<実施形態8の具体例>図34にネットワークを通じて復帰情報を直接書き込む場合についての待機処理フローを例示する。情報処理装置が待機処理を開始すると、現在の作業状態から復帰情報を作成する(3401)。作成した復帰情報をネットワークを通じて外部記憶装置の記憶部へ書き込む(3402)。その後、システム上の各デバイスを待機モードへ移行し(3403)、システム電源をOFFにする(3404)。   <Specific Example of Eighth Embodiment> FIG. 34 illustrates a standby processing flow in the case where return information is directly written through a network. When the information processing apparatus starts standby processing, return information is created from the current working state (3401). The created return information is written to the storage unit of the external storage device via the network (3402). Thereafter, each device on the system shifts to the standby mode (3403), and the system power is turned off (3404).

図35にネットワークを通じて一旦情報処理装置内の記憶部に書き込んだ復帰情報を送信する場合についての待機処理フローを例示する。図35の待機処理では、情報処理装置が待機処理を開始すると、現在の作業状態から復帰情報を作成する(3501)。次に、作成された復帰情報を一旦情報処理装置の記憶部へ書き込み(3502)、その後復帰情報をネットワークを通じて外部記憶装置へ送信する(3503)。その後、システム上の各デバイスを待機モードへ移行し(3504)、システム電源をOFFにする(3505)。   FIG. 35 exemplifies a standby process flow in the case of transmitting return information once written to the storage unit in the information processing apparatus through the network. In the standby process of FIG. 35, when the information processing apparatus starts the standby process, return information is created from the current working state (3501). Next, the created return information is once written in the storage unit of the information processing apparatus (3502), and then the return information is transmitted to the external storage device through the network (3503). Thereafter, each device on the system shifts to the standby mode (3504), and the system power is turned off (3505).

<実施形態8の効果>本実施形態にかかる情報処理装置は、実施形態1から7にかかる情報処理装置の効果に加え、復帰情報を外部の外部記憶装置に記憶させることによって、より復帰情報が失われるリスクを減じることができるという利点を有する。また、離れた場所にある情報処理装置間で復帰処理を行うことが可能となる。   <Effect of Eighth Embodiment> In addition to the effects of the information processing apparatus according to the first to seventh embodiments, the information processing apparatus according to the present embodiment stores the return information in an external external storage device so that the return information is more It has the advantage that the risk of being lost can be reduced. Further, it is possible to perform a return process between information processing apparatuses located at remote locations.

情報処理装置の概念図Conceptual diagram of information processing device 実施形態1の機能ブロック図Functional block diagram of Embodiment 1 情報処理装置の状態遷移図State transition diagram of information processing device 実施形態1のメイン処理フロー図Main processing flowchart of Embodiment 1 実施形態1の起動処理フロー図Start processing flow diagram of Embodiment 1 実施形態1の待機処理フロー図Standby processing flowchart of Embodiment 1 実施形態1の復帰処理フロー図Return processing flowchart of Embodiment 1 実施形態1の電源OFF処理フロー図Power OFF processing flow diagram of Embodiment 1 実施形態2の機能ブロック図Functional block diagram of Embodiment 2 実施形態2の待機処理フロー図1FIG. 1 is a standby process flow according to the second embodiment. 実施形態2の待機処理フロー図2FIG. 2 is a standby processing flowchart according to the second embodiment. 実施形態2の待機処理フロー図3FIG. 3 is a standby processing flowchart according to the second embodiment. 実施形態3の機能ブロック図Functional block diagram of Embodiment 3 実施形態3の待機処理フロー図1FIG. 1 is a flowchart of standby processing according to the third embodiment. 実施形態3の待機処理フロー図2FIG. 2 is a standby processing flowchart according to the third embodiment. 実施形態4の機能ブロック図Functional block diagram of Embodiment 4 実施形態4の状態遷移図State transition diagram of embodiment 4 実施形態4のメイン処理フロー図Main processing flowchart of Embodiment 4 実施形態4の複写処理1フロー図Copy processing 1 flowchart of Embodiment 4 実施形態4の複写処理2フロー図Copy processing 2 flowchart of Embodiment 4 実施形態4の複写処理フロー図Copy processing flowchart of Embodiment 4 実施形態4の復帰処理フロー図Return processing flowchart of Embodiment 4 実施形態5の機能ブロック図Functional block diagram of Embodiment 5 揮発性メモリ上のフラグ格納領域を表す図Diagram showing flag storage area on volatile memory 不揮発性メモリ上のフラグ格納領域を表す図A diagram showing the flag storage area on the non-volatile memory 実施形態5の待機処理フロー図Standby processing flowchart of Embodiment 5 実施形態5の複写処理フロー図Copy processing flow diagram of embodiment 5 実施形態5の復帰処理フロー図Return processing flowchart of Embodiment 5 実施形態6の機能ブロック図Functional block diagram of Embodiment 6 実施形態6の待機処理フロー図Standby processing flowchart of Embodiment 6 実施形態6の複写処理フロー図Copy processing flow diagram of Embodiment 6 実施形態6の復帰処理フロー図Return processing flowchart of Embodiment 6 実施形態7の機能ブロック図Functional block diagram of Embodiment 7 実施形態7の電源OFF処理フロー図Embodiment 7 power-off processing flowchart 実施形態7の起動処理フロー図Startup process flow diagram of Embodiment 7 実施形態8の機能ブロック図Functional block diagram of Embodiment 8 実施形態8の待機処理フロー図Standby processing flow diagram of embodiment 8 実施形態8の待機処理フロー図Standby processing flow diagram of embodiment 8 復帰情報記憶方法の処理の流れを説明する図The figure explaining the flow of processing of a return information storage method 充電中処理手段における復帰情報記憶方法の処理の流れを説明する図The figure explaining the flow of a process of the return information storage method in the process means during charge 非充電中処理手段における復帰情報記憶方法の処理の流れを説明する図The figure explaining the flow of a process of the return information storage method in the process means during non-charging 第一複写手段における復帰情報記憶方法の処理の流れを説明する図The figure explaining the processing flow of the return information storage method in a 1st copy means 第二複写手段における復帰情報記憶方法の処理の流れを説明する図The figure explaining the processing flow of the return information storage method in a 2nd copy means

符号の説明Explanation of symbols

1100a 情報処理装置
1101a 電源
1102a 充電部
1103a 電源OFF処理部
1104a 電源待機処理部
1105a 書込部
1106a 充電中処理手段
1107b 非充電中処理手段
1108a 記憶部
1109a 揮発性メモリ
1110a 不揮発性メモリ
1111a 復帰処理部
1112a 充電中判断部
1100a Information processing apparatus 1101a Power supply 1102a Charging unit 1103a Power-off processing unit 1104a Power standby processing unit 1105a Writing unit 1106a Processing unit during charging 1107b Processing unit during non-charging 1108a Storage unit 1109a Volatile memory 1110a Non-volatile memory 1111a Restoring processing unit 1112a Judgment part during charging

Claims (17)

電源OFF時の電源OFF処理を実行する電源OFF処理部と、
電源を待機処理とするときの待機処理を実行する電源待機処理部と、
を有する情報処理装置であって、
記憶部と、
充電部と、
電源待機処理部の電源の待機処理の種類に応じて、待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶部に書き込むための書込部と、
記憶部に記憶された復帰情報を利用して復帰処理を行う復帰処理部と、
を有する情報処理装置。
A power-off processing unit that executes a power-off process when the power is off;
A power standby processing unit that executes standby processing when power is set as standby processing;
An information processing apparatus having
A storage unit;
A live part,
In accordance with the type of power standby processing of the power standby processing unit, a writing unit for writing return information to the storage unit for restoring the work state before starting standby processing at the end of standby;
A return processing unit that performs return processing using the return information stored in the storage unit;
An information processing apparatus.
書込部は、復帰情報を記憶部のうち揮発性メモリに書き込む第一メモリ書込手段を有する請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the writing unit includes first memory writing means for writing return information to a volatile memory in the storage unit. 書込部は、復帰情報を記憶部のうち不揮発性メモリに書き込む第二メモリ書込手段を有する請求項1又は2に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the writing unit includes a second memory writing unit that writes the return information to the nonvolatile memory in the storage unit. 充電部が充電中か判断する充電中判断部を有し、
書込部は、
待機処理が行なわれる際に、充電中判断部での判断結果が充電中であるとの判断結果である場合には、
復帰情報を、記憶部のうち揮発性メモリと、不揮発性メモリとの両者に記憶させるための処理を行う充電中処理手段
を有する請求項1から3に記載の情報処理装置。
A charging determination unit that determines whether the charging unit is charging;
The writing part
When the standby process is performed, if the determination result in the charging determination unit is a determination result that charging is in progress,
The information processing apparatus according to claim 1, further comprising a processing unit during charging that performs processing for storing the return information in both the volatile memory and the nonvolatile memory in the storage unit.
書込部は、
待機処理が行なわれる際、充電中判断部での判断結果が非充電中であるとの判断結果である場合には、
復帰情報を、記憶部のうち揮発性メモリのみに記憶させるための処理を行う非充電中処理手段
を有する請求項4に記載の情報処理装置。
The writing part
When the standby process is performed, if the determination result in the charging determination unit is a determination result that is not charging,
The information processing apparatus according to claim 4, further comprising a non-charging processing unit that performs processing for storing the return information only in the volatile memory of the storage unit.
記憶部のうち揮発性メモリの復帰情報が無効となっているか判断する揮発性メモリ有効性判断部と、
記憶部のうち不揮発性メモリの復帰情報が無効となっているか判断する不揮発性メモリ有効性判断部と、
を有し、
前記揮発性メモリ有効性判断部での判断結果が無効との判断結果であり、不揮発性メモリ有効性判断部での判断結果が有効との判断結果であり、充電中判断部での判断結果が充電中との判断結果である場合には、
書込部は、不揮発性メモリから揮発性メモリへ復帰情報を記憶させるための処理を行う第一複写手段
を有する請求項4又は5に記載の情報処理装置。
A volatile memory validity determination unit for determining whether the return information of the volatile memory in the storage unit is invalid;
A non-volatile memory validity determination unit for determining whether the return information of the non-volatile memory is invalid in the storage unit;
Have
The determination result in the volatile memory validity determination unit is a determination result that is invalid, the determination result in the nonvolatile memory validity determination unit is a determination result that is valid, and the determination result in the charging determination unit is If it is determined that charging is in progress,
The information processing apparatus according to claim 4, wherein the writing unit includes a first copying unit that performs processing for storing return information from the nonvolatile memory to the volatile memory.
前記揮発性メモリ有効性判断部での判断結果が有効との判断結果であり、
前記不揮発性メモリ有効性判断部での判断結果が無効との判断結果であり、
充電中判断部での判断結果が充電中との判断結果である場合には、
書込部は、揮発性メモリから不揮発性メモリへ復帰情報を記憶させるための処理を行う第二複写手段
を有する請求項6に記載の情報処理装置。
The judgment result in the volatile memory validity judgment unit is a judgment result that is valid,
The determination result in the nonvolatile memory validity determination unit is a determination result that is invalid,
If the judgment result in the charging judgment unit is the judgment result that charging is in progress,
The information processing apparatus according to claim 6, wherein the writing unit includes a second copying unit that performs processing for storing return information from the volatile memory to the nonvolatile memory.
記憶部は、
復帰情報が有効かどうかを示す有効フラグを有効フラグ格納領域に備える請求項6又は7に記載の情報処理装置。
The storage unit
The information processing apparatus according to claim 6 or 7, wherein a valid flag indicating whether the return information is valid is provided in a valid flag storage area.
記憶部は、
復帰情報が書込部によって更新されたかどうかを示す更新フラグを更新フラグ格納領域に備える請求項1から8に記載の情報処理装置。
The storage unit
The information processing apparatus according to claim 1, wherein an update flag indicating whether the return information has been updated by the writing unit is provided in the update flag storage area.
記憶部は、
復帰情報が有効かどうかをチェックするエラーチェック機能を備える請求項1から9のいずれか一に記載の情報処理装置。
The storage unit
The information processing apparatus according to any one of claims 1 to 9, further comprising an error check function for checking whether the return information is valid.
電源OFF処理部の電源のOFF処理に応じて、電源OFF処理開始前における作業状態を電源ON時に復元するための復帰情報を記憶部のうち不揮発性メモリに書き込むための第二書込部を有する請求項1から10のいずれか一に記載の情報処理装置。   In accordance with the power-off process of the power-off processing unit, a second writing unit is provided for writing the return information for restoring the work state before starting the power-off process when the power is turned on to the nonvolatile memory in the storage unit. The information processing apparatus according to any one of claims 1 to 10. 記憶部は、情報処理装置とネットワークを介して接続された外部記憶装置に配置されている請求項1から11に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the storage unit is disposed in an external storage device connected to the information processing apparatus via a network. 情報処理装置の電源を待機状態とするときの待機処理における復帰情報の記憶方法であって、
電源を待機状態とするときの待機処理を実行する電源待機処理ステップと、
前記電源待機処理ステップの電源の待機処理の種類に応じて、待機処理開始前における作業状態を待機終了時に復元するための復帰情報を記憶媒体に書き込むための復帰情報書込ステップと、
を有する情報処理装置の復帰情報の記憶方法。
A method for storing return information in standby processing when the power supply of the information processing device is set to a standby state,
A power standby process step for performing a standby process when the power is set to a standby state;
In accordance with the type of power standby processing in the power standby processing step, a return information writing step for writing, in a storage medium, return information for restoring the work state before the start of standby processing at the end of standby;
Method of storing return information of information processing apparatus having
情報処理装置の電源を待機状態とするときの待機処理における復帰情報の記憶方法であって、
電源を待機状態とするときの待機処理を実行する電源待機処理ステップと、
充電部位が充電中か判断する充電中判断ステップと、
待機処理が行なわれる際に、前記充電中判断ステップでの判断結果が充電中であるとの判断結果である場合には、復帰情報を、記憶媒体のうち揮発性メモリと、不揮発性メモリとの両者に記憶させるための処理を行う充電中処理ステップと、
を有する情報処理装置の復帰情報の記憶方法。
A method for storing return information in standby processing when the power supply of the information processing device is set to a standby state,
A power standby process step for performing a standby process when the power is set to a standby state;
A charging determination step for determining whether the charging part is charging;
When the standby process is performed, if the determination result in the charging determination step is a determination result indicating that charging is in progress, return information is stored between the volatile memory and the nonvolatile memory in the storage medium. A processing step during charging for performing processing for storing both;
Method of storing return information of information processing apparatus having
情報処理装置の電源を待機状態とするときの待機処理における復帰情報の記憶方法であって、
電源を待機状態とするときの待機処理を実行する電源待機処理ステップと、
充電部位が充電中か判断する充電中判断ステップと、
待機処理が行なわれる際に、前記充電中判断ステップでの判断結果が非充電中であるとの判断結果である場合には、復帰情報を、記憶媒体のうち揮発性メモリのみに記憶させるための処理を行う非充電中処理ステップと、
を有する情報処理装置の復帰情報の記憶方法。
A method for storing return information in standby processing when the power supply of the information processing device is set to a standby state,
A power standby process step for performing a standby process when the power is set to a standby state;
A charging determination step for determining whether the charging part is charging;
When the standby process is performed, if the determination result in the charging determination step is a determination result that the battery is not being charged, the return information is stored only in the volatile memory of the storage medium. A non-charging processing step for processing;
Method of storing return information of information processing apparatus having
情報処理装置の待機状態中における復帰情報の記憶方法であって、
充電部位が充電中か判断する充電中判断ステップと、
記憶媒体のうち揮発性メモリの復帰情報が無効となっているか判断する揮発性メモリ有効性判断ステップと、
記憶媒体のうち不揮発性メモリの復帰情報が無効となっているか判断する不揮発性メモリ有効性判断ステップと、
前記揮発性メモリ有効性判断ステップでの判断結果が無効との判断結果であり、前記不揮発性メモリ有効性判断ステップでの判断結果が有効との判断結果であり、充電中判断ステップでの判断結果が充電中との判断結果である場合には、不揮発性メモリから揮発性メモリへ復帰情報を記憶させるための処理を行う第一複写ステップと、
を有する情報処理装置の復帰情報の記憶方法。
A method for storing return information during a standby state of an information processing device,
A charging determination step for determining whether the charging part is charging;
A volatile memory validity determination step for determining whether the return information of the volatile memory of the storage medium is invalid;
A non-volatile memory validity determining step for determining whether the return information of the non-volatile memory of the storage medium is invalid;
The determination result in the volatile memory validity determination step is a determination result that is invalid, the determination result in the nonvolatile memory validity determination step is a determination result that is valid, and the determination result in the determination step during charging Is a determination result that charging is in progress, a first copying step for performing processing for storing return information from the nonvolatile memory to the volatile memory;
Method of storing return information of information processing apparatus having
情報処理装置の待機状態中における復帰情報の記憶方法であって、
充電部位が充電中か判断する充電中判断ステップと、
記憶媒体のうち揮発性メモリの復帰情報が無効となっているか判断する揮発性メモリ有効性判断ステップと、
記憶媒体のうち不揮発性メモリの復帰情報が無効となっているか判断する不揮発性メモリ有効性判断ステップと、
前記揮発性メモリ有効性判断ステップでの判断結果が有効との判断結果であり、不揮発性メモリ有効性判断ステップでの判断結果が無効との判断結果であり、充電中判断ステップでの判断結果が充電中との判断結果である場合には、揮発性メモリから不揮発性メモリへ復帰情報を記憶させるための処理を行う第二複写ステップと、
を有する情報処理装置の復帰情報の記憶方法。
A method for storing return information during a standby state of an information processing device,
A charging determination step for determining whether the charging part is charging;
A volatile memory validity determination step for determining whether the return information of the volatile memory of the storage medium is invalid;
A non-volatile memory validity determining step for determining whether the return information of the non-volatile memory of the storage medium is invalid;
The determination result in the volatile memory validity determination step is a determination result that is valid, the determination result in the nonvolatile memory validity determination step is a determination result that is invalid, and the determination result in the charging determination step is A second copying step for performing a process for storing the return information from the volatile memory to the non-volatile memory if the determination result is that charging is in progress;
Method of storing return information of information processing apparatus having
JP2005180284A 2005-06-21 2005-06-21 Power-saving backup type information processing device Expired - Fee Related JP4630741B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005180284A JP4630741B2 (en) 2005-06-21 2005-06-21 Power-saving backup type information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005180284A JP4630741B2 (en) 2005-06-21 2005-06-21 Power-saving backup type information processing device

Publications (2)

Publication Number Publication Date
JP2007004229A true JP2007004229A (en) 2007-01-11
JP4630741B2 JP4630741B2 (en) 2011-02-09

Family

ID=37689828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005180284A Expired - Fee Related JP4630741B2 (en) 2005-06-21 2005-06-21 Power-saving backup type information processing device

Country Status (1)

Country Link
JP (1) JP4630741B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110236049A1 (en) * 2010-03-23 2011-09-29 Konica Minolta Business Technologies, Inc. Image forming apparatus
JP2012034286A (en) * 2010-08-02 2012-02-16 Ricoh Co Ltd Facsimile apparatus
JP2017514432A (en) * 2014-03-11 2017-06-01 フラウンホーファー−ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン Device and method for wiring a battery management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097353A (en) * 1996-09-19 1998-04-14 Toshiba Corp Computer system and resume processing method applied to the same system
JPH1185332A (en) * 1997-09-04 1999-03-30 Toshiba Corp Information processor, automatic backup method for generated data, and recording medium programming and storing the method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097353A (en) * 1996-09-19 1998-04-14 Toshiba Corp Computer system and resume processing method applied to the same system
JPH1185332A (en) * 1997-09-04 1999-03-30 Toshiba Corp Information processor, automatic backup method for generated data, and recording medium programming and storing the method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110236049A1 (en) * 2010-03-23 2011-09-29 Konica Minolta Business Technologies, Inc. Image forming apparatus
US8849143B2 (en) * 2010-03-23 2014-09-30 Konica Minolta Business Techologies, Inc. Image forming apparatus with backup control
JP2012034286A (en) * 2010-08-02 2012-02-16 Ricoh Co Ltd Facsimile apparatus
JP2017514432A (en) * 2014-03-11 2017-06-01 フラウンホーファー−ゲゼルシャフト・ツール・フェルデルング・デル・アンゲヴァンテン・フォルシュング・アインゲトラーゲネル・フェライン Device and method for wiring a battery management system
US10476297B2 (en) 2014-03-11 2019-11-12 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Device and method for wiring a battery management system

Also Published As

Publication number Publication date
JP4630741B2 (en) 2011-02-09

Similar Documents

Publication Publication Date Title
US7904746B2 (en) Information processing system and data recovery method
WO2010035596A1 (en) Firmware update device and method
TW200415888A (en) Improved reliability of diskless network-bootable computers using non-volatile memory cache
JP2010224847A (en) Computer system and setting management method
JP5835342B2 (en) Information processing apparatus, information processing apparatus control method, virtual machine control program, and information processing system
JP5581577B2 (en) Data processing device
CN108737153B (en) Block chain disaster recovery system, method, server and computer-readable storage medium
JP2008186173A (en) Fault monitoring system
JP4630741B2 (en) Power-saving backup type information processing device
JP6102235B2 (en) BIOS recovery control device, recovery control method thereof, information processing device, and computer program
JP3597558B2 (en) Information processing equipment
JP6124644B2 (en) Information processing apparatus and information processing system
JP5349104B2 (en) Electronic device and program update method
JP2007328438A (en) Information processor, its data backup, and restoration method
JP5161600B2 (en) Information processing apparatus and data recovery method
JP2006338610A (en) Restoration method of registry information and information processor
JP6981098B2 (en) Recovery control device, recovery control system, recovery control method, and recovery control program
JP6149624B2 (en) Firmware execution apparatus, firmware execution method, computer program, and computer apparatus
CN113490112B (en) Wireless earphone, data processing method of wireless earphone and storage medium
CN103309691A (en) Information processing equipment and quick startup method thereof
JP5944017B2 (en) Information processing apparatus and program
JP2009265923A (en) Software rewriting device, software rewriting method and software rewriting program
JP2016024569A (en) Control system
JP2007220092A (en) Information processor, and method for protecting program data in information processor
JP2005346403A (en) Information processing device and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100412

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: 20101018

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: 20101115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees