JP2011192139A - Information terminal device - Google Patents
Information terminal device Download PDFInfo
- Publication number
- JP2011192139A JP2011192139A JP2010059067A JP2010059067A JP2011192139A JP 2011192139 A JP2011192139 A JP 2011192139A JP 2010059067 A JP2010059067 A JP 2010059067A JP 2010059067 A JP2010059067 A JP 2010059067A JP 2011192139 A JP2011192139 A JP 2011192139A
- Authority
- JP
- Japan
- Prior art keywords
- memory device
- file
- information terminal
- expansion
- terminal device
- 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.)
- Withdrawn
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
【課題】システム起動時に不揮発性メモリに格納された起動に必要なアプリプログラムや画像データ等を揮発性メモリに確実に展開しシステム起動時間を短縮する。
【解決手段】システム起動時に第1のメモリデバイスに格納された起動用ファイルを第2のメモリデバイスに展開する第1の展開が実行されアクセス履歴保持部は第1の展開のアクセス履歴を保持し第2のメモリデバイスに展開された起動用ファイルを基に第1のシステム起動が実行され第1のシステム起動後に動作指示部が動作停止の指示を受けるとアクセス履歴保持部のアクセス履歴に基づき起動用ファイルを第1のメモリデバイスから第2のメモリデバイスに展開する第2の展開が実行されその後に情報端末装置は動作停止モードに移行し動作停止モードにおいて動作指示部が動作再開の指示を受けると第2の展開によって第2のメモリデバイス展開された起動用ファイルを基に第2のシステム起動が実行される。
【選択図】図2An application program and image data required for startup stored in a non-volatile memory at the time of system startup are reliably developed in a volatile memory to shorten the system startup time.
A first expansion is performed to expand a startup file stored in a first memory device to a second memory device when the system is started, and an access history holding unit holds an access history of the first expansion. Based on the access history of the access history holding unit when the first system boot is executed based on the boot file expanded on the second memory device and the operation instruction unit receives an instruction to stop the operation after the first system startup. The second expansion for expanding the file for use from the first memory device to the second memory device is executed. Thereafter, the information terminal device shifts to the operation stop mode, and the operation instruction unit receives an operation restart instruction in the operation stop mode. Then, the second system activation is executed based on the activation file expanded in the second memory device by the second expansion.
[Selection] Figure 2
Description
本発明は、システム起動時に必要なアプリケーションプログラムや画像データなどを不揮発性メモリから揮発性メモリへ展開して実行する情報端末装置のシステム起動方法に関する。 The present invention relates to a system activation method for an information terminal device that develops and executes application programs and image data necessary for system activation from a nonvolatile memory to a volatile memory.
従来の情報処理装置では、システム起動時、必要なアプリケーションプログラムや画像データなどを低速な不揮発性メモリから高速な揮発性メモリへ展開してプログラムを実行するが、低速な不揮発メモリを使用してシステムを起動するため、起動に時間を要する。 In a conventional information processing apparatus, a necessary application program or image data is expanded from a low-speed non-volatile memory to a high-speed volatile memory when the system is started, and the program is executed using the low-speed non-volatile memory. Takes time to start.
そこで、システムの起動時間を短縮する手段として、特許文献1の、システム起動時に、揮発性メモリにOS(Operating System)やアプリケーションプログラムが展開済みであるか否かをチェックし、展開済みであれば、その展開済みデータが揮発メモリ上で正常に起動できるかチェックし、正常であれば当該プログラムを実行することで起動時間を短縮するものが知られている。
Therefore, as means for shortening the system start-up time, it is checked whether or not an OS (Operating System) or an application program has been expanded in the volatile memory at the time of system start-up in
また、特許文献2では、最初のシステム起動時に、不揮発メモリから揮発性メモリへ読み込むデータの履歴情報として、転送元と転送先のアドレス情報と、機器の構成情報を記録しておき、2回目の起動以降、機器の構成に装置が無ければ、履歴情報を用いて、CPU(Central Processing Unit)より高速な転送処理が可能なDMA(Direct Memory Access)を使用することで起動時間の短縮を可能としている。
Further, in
しなしながら、特許文献1に記載された方法では、システム起動時に、揮発性メモリに起動に必要なアプリケーションプログラムや画像データなどが展開済みであれば、起動時間を短縮することが可能だが、システム起動に必要なデータが、確実に揮発性メモリに展開済みである保証がない。
However, in the method described in
また、特許文献2に記載された方法では、高速なDMAを使用することで不揮発性メモリから揮発性メモリへの展開処理自体は高速化されるが、展開処理時間分はシステムの起動時間に加算されてしまうという問題があった。
In the method described in
本発明の情報端末装置は、システム起動用のファイルが格納された第1のメモリデバイス(NANDメモリ)と、前記第1のメモリデバイスよりアクセススピードが速い第2のメモリデバイス(RAM)と、第1のメモリデバイスから前記第2のメモリデバイスに展開するファイルのファイル名を含むアクセス履歴を保持するアクセス履歴保持部と、動作停止及び動作再開の指示を受ける動作指示部と、を備え、前記第2のメモリデバイス上の起動用ファイルを基にシステムが起動する情報端末装置であって、システム起動時に、第1のメモリデバイスに格納された前記起動用ファイルを前記第2のメモリデバイスに展開する第1の展開が実行され、前記アクセス履歴保持部は前記第1の展開のアクセス履歴を保持し、前記第2のメモリデバイスに展開された前記起動用ファイルを基に第1のシステム起動が実行され、前記第1のシステム起動後に、前記動作指示部が動作停止の指示を受けると、前記アクセス履歴保持部の前記アクセス履歴に基づき、前記起動用ファイルを前記第1のメモリデバイスから前記第2のメモリデバイスに展開する第2の展開が実行され、その後に前記情報端末装置は動作停止モードに移行し、前記動作停止モードにおいて、前記動作指示部が動作再開の指示を受けると、前記第2の展開によって前記第2のメモリデバイス展開された前記起動用ファイルを基に第2のシステム起動が実行される。 The information terminal device of the present invention includes a first memory device (NAND memory) in which a file for starting a system is stored, a second memory device (RAM) having a higher access speed than the first memory device, An access history holding unit that holds an access history including a file name of a file to be expanded from the first memory device to the second memory device, and an operation instruction unit that receives an instruction to stop and restart the operation. An information terminal device that is activated by a system based on an activation file on the second memory device, and expands the activation file stored in the first memory device to the second memory device when the system is activated The first expansion is executed, and the access history holding unit holds the access history of the first expansion and stores it in the second memory device. A first system activation is executed based on the opened activation file, and after the first system activation, when the operation instruction unit receives an operation stop instruction, the access history holding unit stores the access history. A second expansion is performed to expand the startup file from the first memory device to the second memory device, after which the information terminal device shifts to an operation stop mode, and in the operation stop mode, When the operation instruction unit receives an instruction to resume the operation, the second system activation is executed based on the activation file expanded in the second memory device by the second expansion.
この構成により、システム起動に必要なデータが、第2のシステム起動以降は確実に揮発性メモリに展開済みであることを保証し、更には、不揮発性メモリから揮発性メモリへの展開処理時間を削減することでシステムの起動時間を短縮することが可能となる。 With this configuration, it is ensured that the data required for system startup has already been expanded in the volatile memory after the second system startup, and further, the processing time for the development from the nonvolatile memory to the volatile memory is reduced. By reducing it, it becomes possible to shorten the system startup time.
また、本発明の情報端末装置では、前記システム起動用のファイルは、複数のファイルであり、前記アクセス履歴は、前記複数のファイルの前記ファイル名と、前記複数のファイルの順番を含む。 In the information terminal device of the present invention, the system activation file is a plurality of files, and the access history includes the file names of the plurality of files and the order of the plurality of files.
この構成により、システム起動時に、第1のメモリデバイスから第2のメモリデバイスに展開する複数のファイルのアクセス履歴を管理し、第2の展開時にファイルの順番通りに必要なファイルを展開すること可能である。 With this configuration, it is possible to manage access histories of a plurality of files developed from the first memory device to the second memory device at the time of system startup, and to develop necessary files in the order of the files during the second development. It is.
また、本発明の情報端末装置では、前記第1のメモリデバイスは不揮発性であり、前記第2のメモリデバイスは揮発性である。 In the information terminal device of the present invention, the first memory device is non-volatile and the second memory device is volatile.
この構成により、アプリケーションプログラムや各種データ情報は不揮発性の第1のメモリデバイス上に格納され、システム起動に、必要なファイルを、読み出し速度が高速な第2のメモリデバイスに展開して使用することが可能である。 With this configuration, application programs and various data information are stored on the non-volatile first memory device, and files necessary for system startup are expanded and used on the second memory device with a high reading speed. Is possible.
また、本発明の情報端末装置では、前記停止の指示及び再開の指示は、電源キーの押下である。 In the information terminal device of the present invention, the stop instruction and the restart instruction are pressing of a power key.
この構成により、ユーザ操作により停止及び再開が実行され、ユーザがシステムを再開したい時に、起動時間を短縮することが可能である。 With this configuration, stop and restart are executed by a user operation, and the startup time can be shortened when the user wants to restart the system.
また、本発明の情報端末装置では、表示部を備え、前記動作停止モードは、前記表示部が停止状態となる。 Moreover, the information terminal device of the present invention includes a display unit, and the display unit is in a stopped state in the operation stop mode.
この構成により、ユーザ操作により動作停止モードにした際は、表示部への出力が止まるため、システムが停止状態であることをユーザが認識することが可能である。 With this configuration, when the operation stop mode is set by a user operation, output to the display unit is stopped, so that the user can recognize that the system is in a stop state.
また、本発明の情報端末装置では、前記第2のメモリデバイスのメモリ空間の空き容量を管理するオペレーティングシステムと、前記システムに含まれ、前記オペレーティングシステム上で動作するアプリケーションプログラムと、を備え、前記アクセス履歴は、第2のメモリデバイスに展開するファイルのファイルサイズを含み、前記第2の展開において、前記アクセス履歴保持部が保持するアクセス履歴中のファイルのファイルサイズの合計を算出し前記ファイルサイズ合計が前記空き容量以内である場合、前記アクセス履歴中のファイル全てを前記第1のメモリデバイスから前記第2のメモリデバイスへ展開し、前記ファイルサイズ合計が前記空き容量より大きい場合、前記アクセス履歴中のファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ収まる範囲で展開する。 The information terminal device of the present invention comprises an operating system that manages a free space in the memory space of the second memory device, and an application program that is included in the system and operates on the operating system, The access history includes the file size of the file to be expanded in the second memory device, and in the second expansion, the total file size of the files in the access history held by the access history holding unit is calculated and the file size is calculated. When the total is within the free space, all the files in the access history are expanded from the first memory device to the second memory device, and when the total file size is larger than the free space, the access history File in front of the first memory device Expand the range to fit to the second memory device.
この構成により、システム起動に必要なデータが第2のメモリデバイスに収まらない場合でも、第2のシステム起動以降の起動時間を短縮することが可能となる。 With this configuration, even when data necessary for system startup does not fit in the second memory device, it is possible to shorten the startup time after the second system startup.
また、本発明の情報端末装置では、前記動作指示部が動作再開の指示を受けると、前記オペレーティングシステムは前記前記第2のメモリデバイスのメモリ空間の空き容量を確保しつつ、確保される空き容量を利用して、前記アクセス履歴中のファイルであって第2のメモリデバイスに展開されずに前記第1のメモリデバイスに残ったファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ展開し、記第2のメモリデバイス展開された前記起動用ファイルを基に第2のシステム起動が実行される。 In the information terminal device according to the present invention, when the operation instruction unit receives an operation resumption instruction, the operating system secures a free space that is secured while securing a free space in the memory space of the second memory device. The file in the access history that is not expanded in the second memory device but remains in the first memory device is expanded from the first memory device to the second memory device using Then, the second system activation is executed based on the activation file expanded in the second memory device.
この構成により、動作再開時に残りのファイルに関しても第2のメモリデバイスに展開することができ、読み出し速度が高速な第2のメモリデバイスに展開されたファイルを使用することで、起動時間を短縮することが可能である。 With this configuration, when the operation is resumed, the remaining files can be expanded to the second memory device, and the startup time can be shortened by using the file expanded to the second memory device having a high reading speed. It is possible.
また、本発明の情報端末装置では、前記オペレーションシステムが動作するプロセッサ(CPU)を備え、前記ファイルサイズ合計が前記空き容量より大きい場合に、前記アクセス履歴中のファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ収まる範囲で展開する展開を第3の展開とし、前記第3の展開後に、前記第3の展開で前記第1のメモリデバイスに残ったファイルを、前記プロセッサが前記第2のメモリデバイスへ展開する。 The information terminal device according to the present invention further includes a processor (CPU) for operating the operation system, and when the total file size is larger than the free capacity, the file in the access history is read from the first memory device. The third expansion is expansion that expands within a range that can be accommodated in the second memory device, and the processor stores the files remaining in the first memory device in the third expansion after the third expansion. 2 to the memory device.
この構成により、動作再開の指示を受ける前に可能な限り第1のメモリデバイスから第2のメモリデバイスへファイルを展開することができ、動作再開時には残りのファイルのみ展開すればよいので、動作再開時における第1のメモリデバイスから第2のメモリデバイスへの展開処理時間を削減することができる。 With this configuration, files can be expanded from the first memory device to the second memory device as much as possible before receiving an instruction to restart the operation, and only the remaining files need to be expanded when the operation is restarted. It is possible to reduce the development processing time from the first memory device to the second memory device at the time.
また、本発明の情報端末装置では、前記プロセッサが前記第2のメモリデバイスへ展開する展開を第4の展開とし、前記第4の展開は、前記プロセッサの負荷が所定の負荷よりも小さい場合に実行される。 Further, in the information terminal device of the present invention, the expansion that the processor expands to the second memory device is a fourth expansion, and the fourth expansion is performed when the load of the processor is smaller than a predetermined load. Executed.
この構成により、第4の展開処理に要する処理時間は、プロセッサの負荷が小さいタイミングで実行されるので、システム起動処理への影響を最小限に抑えつつ実行することが可能である。 With this configuration, the processing time required for the fourth expansion process is executed at a timing when the load on the processor is small, so that it can be executed while minimizing the influence on the system activation process.
また、本発明の情報端末装置では、前期プロセッサの負荷が所定の負荷よりも小さいとは、プロセッサの負荷がない(アイドル)状態である。 Further, in the information terminal device of the present invention, the fact that the load of the processor in the previous period is smaller than the predetermined load means that there is no load on the processor (idle).
この構成により、第4の展開処理に要する処理時間は、プロセッサの負荷がないタイミングで実行されるので、システム起動処理を妨げることなく、実行することが可能である。 With this configuration, the processing time required for the fourth expansion process is executed at a timing when there is no load on the processor, and therefore can be executed without interfering with the system activation process.
また、本発明の情報端末装置では、前記プロセッサが前記第2のメモリデバイスへ展開する展開を第4の展開とし、前記第2のシステム起動時は、前記第2のメモリデバイスより前記起動用ファイルが読み出され、前記起動用ファイルの読み出し処理が、前記第4の展開におけるファイルの展開処理に追いついた場合、前記第4の展開におけるファイルの展開処理を止める。 Further, in the information terminal device of the present invention, the expansion that the processor expands to the second memory device is a fourth expansion, and when the second system is started, the start-up file is transferred from the second memory device. Is read out, and the file expansion process in the fourth expansion is stopped when the reading process of the activation file catches up with the file expansion process in the fourth expansion.
この構成により、不要な第4の展開処理を止めることができ、システム起動処理を妨げないようにすることが可能である。 With this configuration, the unnecessary fourth expansion process can be stopped, and the system activation process can be prevented from being hindered.
また、本発明の情報端末装置は、前記第3の展開後に、前記第3の展開で前記第1のメモリデバイスに残ったファイルは、一定のサイズ単位に区切られた複数の読み出し区間を備え、前記第4の展開におけるファイルの展開処理を止めた後に、前記展開処理を止めた読み出し区間の次の読み出し区間から、前記第4の展開におけるファイルの展開処理を再開する。 In the information terminal device of the present invention, after the third expansion, the file remaining in the first memory device in the third expansion includes a plurality of read sections divided into fixed size units, After the file expansion process in the fourth expansion is stopped, the file expansion process in the fourth expansion is resumed from the reading section next to the reading section in which the expansion processing is stopped.
この構成により、第2のシステム起動時のファイルの読み出し処理が、事前に第2のメモリデバイスに展開したファイル情報に追いついた場合も、継続して、ファイルの事前読み出し処理を実行でき、第2のシステム起動以降の起動時間を短縮することが可能となる。 With this configuration, even when the file read process at the time of starting the second system catches up with the file information expanded in advance in the second memory device, the file pre-read process can be continuously executed. It is possible to shorten the startup time after the system startup.
本発明の情報端末装置によれば、システム停止時に、次回のシステム起動に必要な起動用ファイルを事前に高速な揮発性メモリに展開しておくことで、起動時間を高速化することができる。 According to the information terminal device of the present invention, when the system is stopped, the startup time required for the next system startup is expanded in advance in a high-speed volatile memory, so that the startup time can be increased.
また、システム停止時に、システム起動に必要な起動用ファイルを揮発性メモリにすべて展開できない場合も、残りのファイルを、第2のシステム起動処理と平行して、揮発性メモリに展開しながらシステムを起動することで、起動時間を高速化することができる。 In addition, even when all the startup files necessary for system startup cannot be expanded in volatile memory when the system is stopped, the remaining files are expanded in volatile memory in parallel with the second system startup process. Starting up can speed up the startup time.
以下、本発明の実施の形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態1)
図1は、本発明の情報端末装置のハードウェア構成を示す図である。
(Embodiment 1)
FIG. 1 is a diagram showing a hardware configuration of an information terminal device according to the present invention.
情報端末装置は、プロセッサ(CPU1)、第1のメモリデバイス2、第2のメモリデバイス3、動作指示部4、表示部5を備えている。
The information terminal device includes a processor (CPU 1), a
CPU1は処理能力が十分であれば任意のものが利用可能である。
Any
第1のメモリデバイス2は、NOR型フラッシュメモリやNAND型フラッシュメモリなどの不揮発性メモリが利用可能である。
As the
第2のメモリデバイス3は、SRAM、DRAMなどの揮発性メモリが利用可能である。また、FeRAM、MRAMなどの不揮発性メモリを利用することも可能である。第2のメモリデバイス3は、第1のメモリデバイス2と比較して、データの読み出し速度が高速であるといった特徴を有している。
The
動作指示部4は、情報端末装置の動作停止及び動作再開の指示を受ける機能を有し、携帯端末においては電源キーがこれに相当する。 The operation instruction unit 4 has a function of receiving an instruction to stop and restart the operation of the information terminal device, and a power key corresponds to this in a portable terminal.
表示部5は、液晶ディスプレイ、有機ELディスプレイなどで構成される。
The
図2は、本発明の情報端末装置のソフトウェア構成を示す図である。 FIG. 2 is a diagram showing a software configuration of the information terminal device of the present invention.
第1のメモリデバイス2にはプログラムコード20とデータ情報21が格納される。プログラムコード20は、OS、アプリケーション、ミドルウェア、デバイスドライバなど各種プログラムデータである。データ情報21は、画像、フォント、パラメータ設定値などの各種データである。
A
第2のメモリデバイス3には、OS30と、アクセス履歴保持部31と、ファイル先行読み出し手段32が格納される。
The
OS30は、割り込み制御部300と、メモリ管理部301と、OS管理領域302と、ファイルシステム制御部303とを備える。
The
割り込み制御部300は、情報端末装置の動作停止及び動作再開の指示を受けた際に動作指示部4からの割り込みを検出し、ファイル先行読み出し手段32へ通知する。
The interrupt
メモリ管理部301はOS管理領域302を管理しており、OS30が動的なメモリの割り当てに使用可能な領域の管理や、空き容量などを管理する。
The
OS管理領域302は、メモリ管理部301が管理するメモリ領域で、動的なメモリ割り当てを行う際にはこの領域から必要なメモリを確保し、利用する。
The
ファイルシステム制御部303は、第1のメモリデバイス2に格納されているプログラムコード20や、データ情報21を読み出し、OS管理領域302内に保存しておき、読み出したファイルのアクセス順番401、ファイル名402、ファイルサイズ403を、アクセス履歴保持部31に格納する。
The file
アクセス履歴保持部31には、アクセス履歴310が格納される。アクセス履歴310は、ファイルシステム制御部303が、第1のメモリデバイス2から第2のメモリデバイス3に展開したファイルのアクセス順番401、ファイル名402、ファイルサイズ403を保持している。展開とは、コピー又は、圧縮されたファイルを伸張した後にコピーすることを意味する。また、アクセス履歴310内のどのファイルまで展開したかを記憶しておく。
An access history 310 is stored in the access
ファイル先行読み出し手段32は、情報端末装置を停止時、あるいは、情報端末装置の動作再開の指示を受けた際に、割り込み制御部300からの通知を受信し、アクセス履歴保持部31内のアクセス履歴310を参照し、ファイルシステム制御部303を使用して、必要なファイルを第2のメモリデバイス3へ展開する。
The file advance reading means 32 receives the notification from the interrupt
図3は、システムを電源ONした際の初回のシステム起動である、第1のシステム起動時の動作を示している。 FIG. 3 shows an operation at the first system startup, which is the first system startup when the system is powered on.
ユーザ操作で、情報端末装置の電池着あるいは電源ケーブルを接続することで処理を開始する(S3−1)。まず初めに、ハードウェアの初期化が実行され(S3−2)、その後、第1のメモリデバイス2に格納されているOS30が第2のメモリデバイス3に展開され、OS30の起動処理が実行される(S3−3)。次に、ファイルシステム制御部303が、第1のメモリデバイス2に格納されたプログラムコード20やデータ情報21を、第2のメモリデバイス3上のOS管理領域302に展開する(S3−4)。この際、第1のメモリデバイス2から第2のメモリデバイス3へ展開した、ファイルのアクセス順番401、ファイル名402、ファイルサイズ403を、アクセス履歴保持部31内にアクセス履歴310として生成し(S3−5)、システムを起動させる(S3−6)。
The process is started by the user operation by connecting the battery of the information terminal device or connecting the power cable (S3-1). First, initialization of hardware is executed (S3-2), and then the
図4は、アクセス履歴310の詳細について示している。 FIG. 4 shows details of the access history 310.
アクセス履歴310は、アクセス順番401、ファイル名402、ファイルサイズ403から構成される。
The access history 310 includes an
図5は、システム停止時の動作を示している。 FIG. 5 shows the operation when the system is stopped.
ユーザ操作で、動作指示部4である電源OFFキーを押下することで処理を開始する(S5−1)。これにより、システム停止処理を順々に実行する(S5−2)。この際、電源OFFキーが押下されたことを割り込み制御部300が検出し、ファイル先行読み出し手段32へ通知する。システム停止処理を実行した後で、ファイル先行読み出し手段32は、アクセス履歴310を読み出し、アクセス履歴310中のファイルサイズ403の合計を算出する(S5−3)。次に、ファイル先行読み出し手段32は、メモリ管理部301からOS管理領域302の空き容量を取得し、空き容量がファイルサイズ403合計より大きいかどうか判定を行う(S5−4)。空き容量がファイルサイズ403合計より大きい場合、アクセス履歴310中のファイルをすべて第1のメモリデバイス2から第2のメモリデバイス3へ展開する(S5−5)。空き容量がファイルサイズ403合計より小さい場合、アクセス履歴310中のファイルを第1のメモリデバイス2から第2のメモリデバイス3へ収まる範囲で展開する(S5−6)。この際、アクセス履歴310中のファイルで、展開されずに残っているファイルを一定のサイズ単位で分割し、複数の読み出し区間601を生成する。これにより、システム起動に必要なデータが第2のメモリデバイスに収まらない場合でも、第2のシステム起動以降の起動時間を短縮することが可能である。
The process is started by pressing the power OFF key that is the operation instruction unit 4 by a user operation (S5-1). As a result, the system stop process is sequentially executed (S5-2). At this time, the interrupt
読み出し区間601についての詳細は図6にて後述する。展開処理実施後、動作停止モード(省電力モード)へ移行する(S5−7)。この時、表示部5への出力が止まるため、システムが停止状態であることをユーザが認識することが可能である。
Details of the
図6は、読み出し区間601の例を示している。
FIG. 6 shows an example of the
システム停止処理時に展開されなかったファイルについて、一定のサイズ単位で複数の読み出し区間601に分割して管理する。
A file that has not been expanded during the system stop process is divided into a plurality of read
図7は、システムの動作再開時の動作を示している。 FIG. 7 shows an operation when the system operation is resumed.
ユーザ操作で、動作指示部4である電源ONキーを押下することで処理を開始する(S7−1)。この際、アクセス履歴310中のファイルをすべて展開済みかどうか判定する(S7−2)。すべてのファイルを展開済みの場合、通常通り、システム起動処理を実行し(S7−3)、システム起動処理を終了させる(S7−4)。 The process is started by pressing the power ON key which is the operation instruction unit 4 by a user operation (S7-1). At this time, it is determined whether all the files in the access history 310 have been expanded (S7-2). When all the files have been expanded, the system activation process is executed as usual (S7-3), and the system activation process is terminated (S7-4).
すべてのファイルを展開済みでない場合、割り込み制御部300は、ファイル先行読み出し手段32へ通知し、ファイル先行読み出し手段32の動作を開始する(S7−5)。この際、OS30は、次に実行すべきタスク処理があるかどうか判定する(S7−6)。
If all the files have not been expanded, the interrupt
次に実行すべきタスク処理がある場合、システム起動処理として処理を実行する(S7−7)。その後、システム起動が終了かどうか判定し(S7−8)、起動終了の場合、システム起動終了となる(S7−4)。システム起動が終了していない場合、再度、次に実行すべきタスク処理があるかどうか判定する(S7−6)。 If there is a task process to be executed next, the process is executed as a system activation process (S7-7). Thereafter, it is determined whether or not the system activation is completed (S7-8). If the activation is terminated, the system activation is terminated (S7-4). If the system activation has not ended, it is determined again whether there is a task process to be executed next (S7-6).
次に実行すべきタスク処理がない場合、ファイル先行読み出し手段32は、ファイルシステム制御部303を使用し、アクセス履歴310中の残りのファイルを展開する(S7−9)。これにより、残りのファイルに関しても第2のメモリデバイス3に展開することができ、読出し速度が高速な第2のメモリデバイス3に展開されたファイルを使用することで、起動時間を短縮することが可能である。また、動作再開時には残りのファイルのみ展開すればよいので、動作再開時における第1のメモリデバイス2から第2のメモリデバイス3への展開処理を削減することが可能である。更に、展開処理は、CPU1の負荷が小さい、あるいは、負荷がないタイミングで実行されるので、システム起動時間への影響を最小限に抑えつつ実行することが可能である。
When there is no task process to be executed next, the file
この際、ファイルシステム制御部303は、展開しようとするファイルが、既に展開済みかどうか判定する(S7−10)。これは、CPU1にて実行するシステム起動処理が、ファイル先行読み出し手段32における展開処理に追いついていないか判定するために実施する。
At this time, the file
既に展開済みの場合、新たに展開する必要がないため、アクセス履歴310中の現在の読み出し区間601の展開処理を止め、次の読み出し区間601から展開処理を再開する(S7−11)。これにより、不要な展開処理を止めることができ、システム起動処理を妨げないようにすることが可能である。また、第2の起動時のファイルの読出し処理が、事前に第2のメモリデバイス3に展開したファイル情報に追いついた場合も、継続して、ファイルの事前読出し処理を実行でき、第2のシステム起動以降の起動時間を短縮することが可能である。
If it has already been deployed, there is no need to newly deploy, so the deployment process for the
まだ展開済みでない場合、読み出し区間601の更新は行わず、再度、次に実行すべきタスク処理があるかどうか判定する(S7−6)。
If it has not been developed yet, the
以上の構成により、第1のシステム起動時以降は、事前に、第1のメモリデバイス2のプログラムコード20やデータ情報21をすべて高速な第2のメモリデバイス3に展開した状態でシステム起動処理が実行できるので、システム起動処理を高速化することが可能である。
With the above configuration, after starting the first system, the system startup process is performed in a state where all the
本発明にかかる情報端末装置は、各種の家電機器、車載機器、携帯電話を含む通信機器など組み込み機器で利用可能である。 The information terminal device according to the present invention can be used in various types of embedded devices such as various home appliances, in-vehicle devices, and communication devices including mobile phones.
1 CPU
2 第1のメモリデバイス
3 第2のメモリデバイス
4 動作指示部
5 表示部
20 プログラムコード
21 データ情報
30 OS
31 アクセス履歴保持部
32 ファイル先行読み出し手段
300 割り込み制御部
301 メモリ管理部
302 OS管理領域
303 ファイルシステム制御部
310 アクセス履歴
401 アクセス順番
402 ファイル名
403 ファイルサイズ
601 読み出し区間
1 CPU
2
31 Access
Claims (12)
前記第1のメモリデバイスよりアクセススピードが速い第2のメモリデバイスと、
第1のメモリデバイスから前記第2のメモリデバイスに展開するファイルのファイル名を含むアクセス履歴を保持するアクセス履歴保持部と、
動作停止及び動作再開の指示を受ける動作指示部と、を備え、
前記第2のメモリデバイス上の起動用ファイルを基にシステムが起動する情報端末装置であって、
システム起動時に、第1のメモリデバイスに格納された前記起動用ファイルを前記第2のメモリデバイスに展開する第1の展開が実行され、前記アクセス履歴保持部は前記第1の展開のアクセス履歴を保持し、前記第2のメモリデバイスに展開された前記起動用ファイルを基に第1のシステム起動が実行され、
前記第1のシステム起動後に、前記動作指示部が動作停止の指示を受けると、前記アクセス履歴保持部の前記アクセス履歴に基づき、前記起動用ファイルを前記第1のメモリデバイスから前記第2のメモリデバイスに展開する第2の展開が実行され、その後に前記情報端末装置は動作停止モードに移行し、
前記動作停止モードにおいて、前記動作指示部が動作再開の指示を受けると、前記第2の展開によって前記第2のメモリデバイス展開された前記起動用ファイルを基に第2のシステム起動が実行される情報端末装置。 A first memory device storing a file for system startup;
A second memory device having a higher access speed than the first memory device;
An access history holding unit for holding an access history including a file name of a file developed from a first memory device to the second memory device;
An operation instruction unit that receives instructions for operation stop and operation resumption,
An information terminal device in which the system is activated based on the activation file on the second memory device,
At the time of system startup, a first expansion is performed that expands the startup file stored in the first memory device to the second memory device, and the access history holding unit stores the access history of the first expansion. Holding and executing the first system boot based on the boot file expanded in the second memory device,
When the operation instruction unit receives an operation stop instruction after starting the first system, the activation file is transferred from the first memory device to the second memory based on the access history of the access history holding unit. A second deployment to deploy to the device is performed, after which the information terminal device transitions to an operation stop mode,
In the operation stop mode, when the operation instruction unit receives an operation resumption instruction, the second system activation is executed based on the activation file expanded in the second memory device by the second expansion. Information terminal device.
前記システム起動用のファイルは、複数のファイルであり、
前記アクセス履歴は、前記複数のファイルの前記ファイル名と、前記複数のファイルの順番を含む情報端末装置。 The information terminal device according to claim 1,
The system startup file is a plurality of files,
The access history is an information terminal device including the file names of the plurality of files and the order of the plurality of files.
前記第1のメモリデバイスは不揮発性であり、
前記第2のメモリデバイスは揮発性である情報端末装置。 The information terminal device according to claim 1 or 2,
The first memory device is non-volatile;
The information terminal device, wherein the second memory device is volatile.
前記停止の指示及び再開の指示は、電源キーの押下である情報端末装置。 The information terminal device according to any one of claims 1 to 3,
The information terminal device in which the stop instruction and the restart instruction are pressing of a power key.
表示部を備え、
前記動作停止モードは、前記表示部が停止状態である情報端末装置。 The information terminal device according to any one of claims 1 to 4,
With a display,
The operation stop mode is an information terminal device in which the display unit is in a stop state.
前記第2のメモリデバイスのメモリ空間の空き容量を管理するオペレーティングシステムと、
前記システムに含まれ、前記オペレーティングシステム上で動作するアプリケーションプログラムと、を備え、
前記アクセス履歴は、第2のメモリデバイスに展開するファイルのファイルサイズを含み、
前記第2の展開において、
前記アクセス履歴保持部が保持するアクセス履歴中のファイルのファイルサイズの合計を算出し
前記ファイルサイズ合計が前記空き容量以内である場合、
前記アクセス履歴中のファイル全てを前記第1のメモリデバイスから前記第2のメモリデバイスへ展開し、
前記ファイルサイズ合計が前記空き容量より大きい場合、
前記アクセス履歴中のファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ収まる範囲で展開する情報端末装置。 The information terminal device according to any one of claims 1 to 5,
An operating system for managing free space in the memory space of the second memory device;
An application program included in the system and operating on the operating system,
The access history includes a file size of a file to be expanded on the second memory device,
In the second development,
When the total file size of the files in the access history held by the access history holding unit is calculated and the total file size is within the free space,
Expand all the files in the access history from the first memory device to the second memory device;
If the total file size is larger than the free space,
An information terminal device that expands a file in the access history as far as it can be accommodated from the first memory device to the second memory device.
前記動作指示部が動作再開の指示を受けると、
前記オペレーティングシステムは前記前記第2のメモリデバイスのメモリ空間の空き容量を確保しつつ、確保される空き容量を利用して、前記アクセス履歴中のファイルであって第2のメモリデバイスに展開されずに前記第1のメモリデバイスに残ったファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ展開し、
前記第2のメモリデバイス展開された前記起動用ファイルを基に第2のシステム起動が実行される情報端末装置。 The information terminal device according to claim 6,
When the operation instruction unit receives an instruction to resume operation,
The operating system secures a free space in the memory space of the second memory device, and uses the reserved free space, so that the file in the access history is not expanded to the second memory device. A file remaining in the first memory device is expanded from the first memory device to the second memory device;
An information terminal device in which a second system activation is executed based on the activation file expanded in the second memory device.
前記オペレーションシステムが動作するプロセッサを備え、
前記ファイルサイズ合計が前記空き容量より大きい場合に、前記アクセス履歴中のファイルを前記第1のメモリデバイスから前記第2のメモリデバイスへ収まる範囲で展開する展開を第3の展開とし、
前記第3の展開後に、前記第3の展開で前記第1のメモリデバイスに残ったファイルを、前記プロセッサが前記第2のメモリデバイスへ展開する情報端末装置。 The information terminal device according to claim 6 or 7,
A processor on which the operation system operates;
When the total file size is larger than the free space, a third expansion is an expansion that expands a file in the access history within a range that fits from the first memory device to the second memory device.
An information terminal device in which, after the third expansion, the processor expands a file remaining in the first memory device in the third expansion to the second memory device.
前記プロセッサが前記第2のメモリデバイスへ展開する展開を第4の展開とし、
前記第4の展開は、前記プロセッサの負荷が所定の負荷よりも小さい場合に実行される情報端末装置。 The information terminal device according to claim 8,
The expansion that the processor expands to the second memory device is referred to as a fourth expansion,
The information terminal apparatus that is executed when the load of the processor is smaller than a predetermined load.
前期プロセッサの負荷が所定の負荷よりも小さいとは、
プロセッサの負荷がない状態である情報端末装置。 The information terminal device according to claim 9,
The load of the processor in the previous period is smaller than the predetermined load.
An information terminal device in which there is no processor load.
前記プロセッサが前記第2のメモリデバイスへ展開する展開を第4の展開とし、
前記第2のシステム起動時は、前記第2のメモリデバイスより前記起動用ファイルが読み出され、
前記起動用ファイルの読み出し処理が、前記第4の展開におけるファイルの展開処理に追いついた場合、
前記第4の展開におけるファイルの展開処理を止める情報端末装置。 The information terminal device according to claim 8 or 9, wherein
The expansion that the processor expands to the second memory device is referred to as a fourth expansion,
At the time of starting the second system, the boot file is read from the second memory device,
When the startup file read process has caught up with the file expansion process in the fourth expansion,
An information terminal device that stops a file expansion process in the fourth expansion.
前記第3の展開後に、前記第3の展開で前記第1のメモリデバイスに残ったファイルは、一定のサイズ単位に区切られた複数の読み出し区間を備え、
前記第4の展開におけるファイルの展開処理を止めた後に、前記展開処理を止めた読み出し区間の次の読み出し区間から、前記第4の展開におけるファイルの展開処理を再開する情報端末装置。 The information terminal device according to claim 11,
After the third expansion, the file remaining in the first memory device in the third expansion includes a plurality of read sections divided into fixed size units,
An information terminal device that, after stopping the file expansion process in the fourth expansion, resumes the file expansion process in the fourth expansion from the read section next to the read section in which the expansion process is stopped.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010059067A JP2011192139A (en) | 2010-03-16 | 2010-03-16 | Information terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010059067A JP2011192139A (en) | 2010-03-16 | 2010-03-16 | Information terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2011192139A true JP2011192139A (en) | 2011-09-29 |
Family
ID=44796957
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010059067A Withdrawn JP2011192139A (en) | 2010-03-16 | 2010-03-16 | Information terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2011192139A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012104950A1 (en) * | 2011-01-31 | 2012-08-09 | パナソニック株式会社 | Activation control device, information apparatus, and activation control method |
| US9025366B2 (en) | 2012-10-10 | 2015-05-05 | Samsung Electronics Co., Ltd. | Main memory system storing operating system program and computer system including the same |
| JP2018010452A (en) * | 2016-07-13 | 2018-01-18 | 株式会社バッファローメモリ | Storage device, information processing system, storage device activation method, and program |
-
2010
- 2010-03-16 JP JP2010059067A patent/JP2011192139A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012104950A1 (en) * | 2011-01-31 | 2012-08-09 | パナソニック株式会社 | Activation control device, information apparatus, and activation control method |
| US9442724B2 (en) | 2011-01-31 | 2016-09-13 | Socionext Inc. | Start control apparatus for controlling a start of an information device by using an interrupt generation code, information device, and start control method |
| US9025366B2 (en) | 2012-10-10 | 2015-05-05 | Samsung Electronics Co., Ltd. | Main memory system storing operating system program and computer system including the same |
| JP2018010452A (en) * | 2016-07-13 | 2018-01-18 | 株式会社バッファローメモリ | Storage device, information processing system, storage device activation method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4740238B2 (en) | Method, software, and device for using application state history information when restarting an application | |
| CN101916201A (en) | A method and device for cold-starting an Android-based mobile terminal | |
| KR101673299B1 (en) | Operating system recovery method and apparatus, and terminal device | |
| JP2015102889A (en) | Firmware update method, electronic device, computer, and computer program | |
| TW201525869A (en) | System and method for dual OS memory switching | |
| WO2012163275A1 (en) | Control method, control device and computer system | |
| CN102053848A (en) | Automatic installation method for Linux operating system | |
| TW201546612A (en) | Resuming a system using state information | |
| JP2011192139A (en) | Information terminal device | |
| CN111381892B (en) | Data processing method, device, equipment and machine-readable medium | |
| CN116643778A (en) | An application program optimization method and electronic device | |
| KR100994723B1 (en) | Optional Suspension Reset Method and Recording Media for Shortening Initial Run Time in System | |
| Park et al. | Linux bootup time reduction for digital still camera | |
| JP2012068797A (en) | Start-up acceleration method, information processing apparatus and program | |
| JP7180542B2 (en) | Information processing device and information processing method | |
| JP2013182577A (en) | Information processing apparatus, image forming apparatus, and program | |
| CN102799451B (en) | WINCE system mirror image construction method and system, WINCE system mirror image | |
| JP2010079572A (en) | Information processor, external memory and control method | |
| JP4182928B2 (en) | Information processing apparatus, memory management program, and memory management method | |
| US20170262390A1 (en) | Device, prioritizing process method and computer-readable recording medium | |
| JP2005258967A (en) | Data processing device | |
| JP6080492B2 (en) | Information processing apparatus, activation method, and program | |
| JP5094531B2 (en) | Software rewriting apparatus, software rewriting method, and software rewriting program | |
| KR20080069088A (en) | Boot Device and Boot Method of Embedded Device Using Combined Flash Memory | |
| JP2008015725A (en) | Information processor and program activating method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20120329 |