JP2012252576A - 情報処理装置、起動方法およびプログラム - Google Patents
情報処理装置、起動方法およびプログラム Download PDFInfo
- Publication number
- JP2012252576A JP2012252576A JP2011125345A JP2011125345A JP2012252576A JP 2012252576 A JP2012252576 A JP 2012252576A JP 2011125345 A JP2011125345 A JP 2011125345A JP 2011125345 A JP2011125345 A JP 2011125345A JP 2012252576 A JP2012252576 A JP 2012252576A
- Authority
- JP
- Japan
- Prior art keywords
- kernel
- initialization
- memory
- hibernation
- hibernation image
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Power Sources (AREA)
Abstract
【解決手段】 オペレーティングシステム起動において、メモリ管理機構の初期化が行われるより前に、ハイバネーション起動処理を行うかどうかを判定する。ハイバネーション起動処理を行う場合、メモリ管理領域のサイズをカーネル初期化のために必要なサイズにまで抑え、ハードウェア初期化と並行してハイバネーションイメージを読み込む。なお、制限されたメモリ管理領域は、ハイバネーションイメージを読み込むことで制限のない状態に復帰する。
【選択図】 図2
Description
ハイバネーションとは、システム中断機構である。システムが起動している状態でメモリやCPUレジスタの情報(以下では、「ハイバネーションイメージ」と称する)をハードディスクなどの不揮発性記憶装置に退避する。その後電源を切っても、次回起動時は当該ハイバネーションイメージを読み込むことで以前と同じ状態に復帰する(以下では、「ハイバネーション起動」と称する)。ハイバネーションは、システムの起動時間短縮を目的として用いられることもある。
ハイバネーション起動は大きく2種類に分類される。BIOS機能もしくはブートローダ機能により復帰を行う方式と、オペレーティングシステムのカーネル機能により復帰を行う方式が存在する。
カーネル機能によるハイバネーション起動では、カーネルの初期化をほぼ全て行った後、予め不揮発性記憶装置に記憶されたハイバネーションイメージを読み込むことで状態の復帰を行う。BIOSによるハイバネーションと比較すると、通常の起動シーケンスを実行することでデバイスの初期化を行う為、汎用性に優れており、様々な機器のデバイスドライバをハイバネーションに対応させることが容易である。
そこで、特許文献1のように、ハイバネーション起動時に初期化不要なデバイスを初期化対象から外すことで、起動時間を短縮するものがある。しかしながら、初期化対象から外すデバイスの選別をしなければならず、汎用性を欠いてしまう。
一般的に、DMAコントローラを用いると、特定の処理と並行し記憶装置間で情報を読み書きすることができる。ハイバネーション起動に本機構を組み込むことができると、カーネル初期化と並行して事前にハイバネーションイメージを読み込むことが可能になり、ハイバネーション起動時間を短縮することができる。ただし、Linux(登録商標)などの複雑なメモリ管理機構を備えたカーネル上では、DMAコントローラがカーネル管理のメモリ領域の任意のアドレスにデータを書き込むことができない。そのため、従来のハイバネーション起動方式では、カーネル初期化と並行してハイバネーションイメージを並行して読み込むことが困難である。
図1は、本発明の1実施形態を適用可能な情報処理装置の利用例を示す図である。
Claims (9)
- 揮発性メモリと、
ハイバネーションイメージを保持する不揮発性メモリと、
前記揮発性メモリに展開するカーネルの初期化と並行して、前記不揮発性メモリに保持されている前記ハイバネーションイメージの一部を、前記カーネルの初期化に利用しない領域へ読み込む読み込み手段と、
前記カーネルの初期化の後に残りのハイバネーションイメージを前記揮発性メモリに読み込んでシステムを起動させる起動手段と
を有することを特徴とする情報処理装置。 - 前記揮発性メモリに、前記カーネルの初期化に利用するカーネル管理領域と前記カーネルの初期化に利用しないカーネル管理外領域とを割り当てるメモリ管理手段をさらに有することを特徴とする請求項1に記載の情報処理方法。
- 前記起動手段は、前記不揮発性メモリに前記ハイバネーションイメージが退避されていない場合は通常起動を行うことを特徴とする請求項1又は2に記載の情報処理装置。
- 前記不揮発性メモリに前記ハイバネーションイメージを退避させる退避手段をさらに有することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
- 退避手段は、ファイルシステムに依存しない型式のファイルのハイバネーションイメージを前記不揮発性メモリに退避することを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。
- 前記メモリ管理手段は、前記カーネル管理領域のサイズを、前記カーネルの初期化に最低限必要なサイズ以上とすることを特徴とする請求項2に記載の情報処理装置。
- 前記読み込み手段は、DMAコントローラを用い、前記不揮発性メモリに保持されている前記ハイバネーションイメージを前記カーネルの初期化に利用しない領域へ読み込む
ことを特徴とする請求項1乃至6のいずれか1項に記載の情報処理装置。 - 揮発性メモリと、ハイバネーションイメージを保持する不揮発性メモリと、を有する情報処理装置の起動方法であって、
前記揮発性メモリに展開するカーネルの初期化と並行して、前記不揮発性メモリに保持されている前記ハイバネーションイメージの一部を、前記カーネルの初期化に利用しない領域へ読み込む読み込み工程と、
前記カーネルの初期化の後に残りのハイバネーションイメージを前記揮発性メモリに読み込んでシステムを起動させる起動工程とを有することを特徴とする起動方法。 - 揮発性メモリと、ハイバネーションイメージを保持する不揮発性メモリと、を備えるコンピュータを、
前記揮発性メモリに展開するカーネルの初期化と並行して、前記不揮発性メモリに保持されている前記ハイバネーションイメージの一部を、前記カーネルの初期化に利用しない領域へ読み込む読み込み手段と、
前記カーネルの初期化の後に残りのハイバネーションイメージを前記揮発性メモリに読み込んでシステムを起動させる起動手段として機能させることを特徴とするプログラム。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011125345A JP5783809B2 (ja) | 2011-06-03 | 2011-06-03 | 情報処理装置、起動方法およびプログラム |
| US13/484,125 US20120311240A1 (en) | 2011-06-03 | 2012-05-30 | Information processing apparatus, information processing method, and storage medium |
| CN201210178824.9A CN102981864B (zh) | 2011-06-03 | 2012-06-01 | 信息处理装置和信息处理方法 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011125345A JP5783809B2 (ja) | 2011-06-03 | 2011-06-03 | 情報処理装置、起動方法およびプログラム |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2012252576A true JP2012252576A (ja) | 2012-12-20 |
| JP2012252576A5 JP2012252576A5 (ja) | 2014-07-17 |
| JP5783809B2 JP5783809B2 (ja) | 2015-09-24 |
Family
ID=47262587
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011125345A Active JP5783809B2 (ja) | 2011-06-03 | 2011-06-03 | 情報処理装置、起動方法およびプログラム |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20120311240A1 (ja) |
| JP (1) | JP5783809B2 (ja) |
| CN (1) | CN102981864B (ja) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014085909A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2014085908A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2014085907A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2015127945A (ja) * | 2013-12-27 | 2015-07-09 | 財團法人工業技術研究院Industrial Technology Research Institute | ハイバネーションから復帰するための電子機器及び方法 |
| JP2015155837A (ja) * | 2014-02-20 | 2015-08-27 | 株式会社島津製作所 | 液体クロマトグラフとそれに用いるカラムオーブン |
| JP5804176B1 (ja) * | 2014-12-19 | 2015-11-04 | 富士ゼロックス株式会社 | 情報処理装置 |
| JP2016506583A (ja) * | 2013-12-10 | 2016-03-03 | 華為技術有限公司Huawei Technologies Co.,Ltd. | オペレーティングシステムリカバリー方法、装置、及び端末デバイス |
| US9600369B2 (en) | 2013-12-10 | 2017-03-21 | Huawei Technologies Co., Ltd. | Operating system recovery method and apparatus, and terminal device |
| US10587802B2 (en) | 2017-02-21 | 2020-03-10 | Canon Kabushiki Kaisha | Electronic device and control method thereof |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9904559B2 (en) * | 2012-10-25 | 2018-02-27 | Canon Kabushiki Kaisha | Information processing apparatus and activation method therefor for processing data of a hibernation image |
| US10095435B1 (en) * | 2015-01-09 | 2018-10-09 | Altera Corporation | Methods for initializing memory devices |
| JP2017162283A (ja) * | 2016-03-10 | 2017-09-14 | 富士通株式会社 | スマート装置、スワップ方法及びスワッププログラム |
| CN106331863A (zh) * | 2016-08-16 | 2017-01-11 | Tcl集团股份有限公司 | 一种Android系统电视的关机控制方法及装置、Android系统电视 |
| CN112346789B (zh) * | 2020-11-06 | 2024-08-20 | 中国电子信息产业集团有限公司 | 双系统休眠及唤醒方法、装置、设备及存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007334383A (ja) * | 2006-06-12 | 2007-12-27 | Sony Corp | 情報処理装置とその起動方法およびプログラム |
| JP2009099092A (ja) * | 2007-10-19 | 2009-05-07 | Denso Wave Inc | 携帯型情報端末 |
| JP2010157017A (ja) * | 2008-12-26 | 2010-07-15 | Toshiba Corp | 情報処理装置の制御方法 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6883037B2 (en) * | 2001-03-21 | 2005-04-19 | Microsoft Corporation | Fast data decoder that operates with reduced output buffer bounds checking |
| US7900074B2 (en) * | 2006-06-02 | 2011-03-01 | Apple Inc. | Method and apparatus for quickly reanimating devices from hibernation |
| JP5158206B2 (ja) * | 2008-11-19 | 2013-03-06 | 富士通株式会社 | メモリ初期化方法、メモリ初期化プログラム |
| US20110107020A1 (en) * | 2009-10-30 | 2011-05-05 | Duan Binghua | Hibernation solution for embedded devices and systems |
| JP5121896B2 (ja) * | 2010-08-11 | 2013-01-16 | 株式会社東芝 | マルチコアプロセッサシステムおよびマルチコアプロセッサ |
-
2011
- 2011-06-03 JP JP2011125345A patent/JP5783809B2/ja active Active
-
2012
- 2012-05-30 US US13/484,125 patent/US20120311240A1/en not_active Abandoned
- 2012-06-01 CN CN201210178824.9A patent/CN102981864B/zh active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007334383A (ja) * | 2006-06-12 | 2007-12-27 | Sony Corp | 情報処理装置とその起動方法およびプログラム |
| JP2009099092A (ja) * | 2007-10-19 | 2009-05-07 | Denso Wave Inc | 携帯型情報端末 |
| JP2010157017A (ja) * | 2008-12-26 | 2010-07-15 | Toshiba Corp | 情報処理装置の制御方法 |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014085909A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2014085908A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2014085907A (ja) * | 2012-10-25 | 2014-05-12 | Canon Inc | 情報処理装置、起動方法およびプログラム |
| JP2016506583A (ja) * | 2013-12-10 | 2016-03-03 | 華為技術有限公司Huawei Technologies Co.,Ltd. | オペレーティングシステムリカバリー方法、装置、及び端末デバイス |
| US9600369B2 (en) | 2013-12-10 | 2017-03-21 | Huawei Technologies Co., Ltd. | Operating system recovery method and apparatus, and terminal device |
| JP2015127945A (ja) * | 2013-12-27 | 2015-07-09 | 財團法人工業技術研究院Industrial Technology Research Institute | ハイバネーションから復帰するための電子機器及び方法 |
| US9594572B2 (en) | 2013-12-27 | 2017-03-14 | Industrial Technology Research Institute | Electronic apparatus and method for resuming from hibernation |
| JP2015155837A (ja) * | 2014-02-20 | 2015-08-27 | 株式会社島津製作所 | 液体クロマトグラフとそれに用いるカラムオーブン |
| JP5804176B1 (ja) * | 2014-12-19 | 2015-11-04 | 富士ゼロックス株式会社 | 情報処理装置 |
| US10587802B2 (en) | 2017-02-21 | 2020-03-10 | Canon Kabushiki Kaisha | Electronic device and control method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102981864A (zh) | 2013-03-20 |
| US20120311240A1 (en) | 2012-12-06 |
| JP5783809B2 (ja) | 2015-09-24 |
| CN102981864B (zh) | 2016-04-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5783809B2 (ja) | 情報処理装置、起動方法およびプログラム | |
| KR101562973B1 (ko) | 메모리 장치 및 메모리 장치의 동작 방법 | |
| US10754558B2 (en) | Vehicular device | |
| US9384007B2 (en) | Memory virtualization-based snapshot boot apparatus and method | |
| US20110213954A1 (en) | Method and apparatus for generating minimum boot image | |
| JP5778296B2 (ja) | 仮想計算機システム、仮想化機構、及びデータ管理方法 | |
| JP4745465B1 (ja) | 半導体記憶装置及び半導体記憶装置の制御方法 | |
| WO2006107095A1 (ja) | 計算機システム、メモリ管理方法、およびそのプログラム | |
| US20180011636A1 (en) | Information processing apparatus and method of accessing a memory | |
| JP2010500682A (ja) | フラッシュメモリアクセス回路 | |
| US9934100B2 (en) | Method of controlling memory swap operation and data processing system using same | |
| CN103339603B (zh) | 计算机重新编程方法、数据存储介质和机动车辆计算机 | |
| US8423740B2 (en) | System and method for fast boot from non-volatile memory | |
| KR100994723B1 (ko) | 시스템에서 초기 구동시간을 단축시키는 선택적 서스펜드 리쥼 방법 및 그 기록매체 | |
| JP2011175666A (ja) | 半導体記憶装置及び半導体記憶装置の制御方法 | |
| JP3702233B2 (ja) | 情報処理システムおよびプログラム実行モード制御方法 | |
| JP6080492B2 (ja) | 情報処理装置、起動方法およびプログラム | |
| JP4182928B2 (ja) | 情報処理装置、メモリ管理プログラムおよびメモリ管理方法 | |
| JP5350077B2 (ja) | 情報処理装置及びこれを備えた画像形成装置 | |
| JP6080490B2 (ja) | 情報処理装置、起動方法およびプログラム | |
| WO2007049423A1 (ja) | コンピュータシステム、及びそれにおける基本プログラムの起動方法 | |
| JP5343489B2 (ja) | コンピュータシステム、およびレガシーアプリケーション実行方法、およびプログラム | |
| JP6080491B2 (ja) | 情報処理装置、起動方法およびプログラム | |
| TWI357017B (en) | Systems and methods for synchronous code retrieval | |
| JP2013077225A (ja) | 情報処理装置及びメモリ管理方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140602 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140602 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141226 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150331 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150601 |
|
| 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: 20150623 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150721 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5783809 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |