JP5133230B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP5133230B2
JP5133230B2 JP2008324616A JP2008324616A JP5133230B2 JP 5133230 B2 JP5133230 B2 JP 5133230B2 JP 2008324616 A JP2008324616 A JP 2008324616A JP 2008324616 A JP2008324616 A JP 2008324616A JP 5133230 B2 JP5133230 B2 JP 5133230B2
Authority
JP
Japan
Prior art keywords
application
information processing
processing apparatus
storage area
information
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.)
Expired - Fee Related
Application number
JP2008324616A
Other languages
Japanese (ja)
Other versions
JP2010146408A (en
Inventor
秀一 中村
真 宮本
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008324616A priority Critical patent/JP5133230B2/en
Publication of JP2010146408A publication Critical patent/JP2010146408A/en
Application granted granted Critical
Publication of JP5133230B2 publication Critical patent/JP5133230B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、追加したアプリケーションを実行する情報処理装置、情報処理方法、及び、プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and a program for executing an added application.

従来、情報処理装置のオペレーティングシステム(OS)にアプリケーションを追加する際、OSの格納領域に対して、アプリケーションのセットアップファイルなどが直接書き込まれていた。このとき、インストールするアプリケーションソフトウェアの数が増えたりすると、OSの格納領域に様々なアプリケーションのファイルやデータが格納されることで、OSの動作が遅くなったり、OSのオリジナルデータが壊れてしまう可能性があった。   Conventionally, when an application is added to the operating system (OS) of the information processing apparatus, an application setup file or the like is directly written in the OS storage area. At this time, if the number of application software to be installed increases, files and data of various applications are stored in the OS storage area, so that the operation of the OS may be slowed or the original data of the OS may be corrupted. There was sex.

一方、近年では組み込みデバイス向けのOSであるWindows XP(登録商標) Embedded(以下、XP Embeddedという)が開発され、このOSには、Enhanced Write Filter(EWF)という機能がある。XP Embeddedは、ハードディスク以外のフラッシュ媒体(CF)などに格納することが多く、EWFは、そのディスクの保護を目的とした機能である。   On the other hand, in recent years, Windows XP (registered trademark) Embedded (hereinafter referred to as XP Embedded), which is an OS for embedded devices, has been developed, and this OS has a function called Enhanced Write Filter (EWF). The XP Embedded is often stored in a flash medium (CF) other than the hard disk, and the EWF is a function for the purpose of protecting the disk.

EWFは、書き込みの処理を「EWFオーバーレイ」と呼ばれる領域にリダイレクトすることでオリジナルデータの変更を抑止するとともに、書き込み回数に制限があるストレージの寿命を延ばすのにも役立つ。このEWFオーバーレイに書き込まれたデータは、再起動後に削除される。   EWF redirects the writing process to an area called “EWF overlay” to suppress changes to the original data, and also helps to extend the life of the storage with a limited number of writes. Data written to this EWF overlay is deleted after restart.

ここで、このEWF機能をOSの格納領域に適用することで、OSのオリジナルデータの変更を抑止することができ、OSのオリジナルデータを常にクリーンな状態に保つことができるシステムが実用化されている。
「Windows Embedded Developer Center Enhanced Write Filter」、[online]、インターネット<URL: http://msdn.microsoft.com/en-us/library/ms912906.aspx>
Here, by applying this EWF function to the OS storage area, a change in the original OS data can be suppressed, and a system that can keep the original OS data in a clean state has been put into practical use. Yes.
“Windows Embedded Developer Center Enhanced Write Filter”, [online], Internet <URL: http://msdn.microsoft.com/en-us/library/ms912906.aspx>

従来技術において、追加したアプリケーションを実行するのに必要なファイルはEWFオーバーレイに格納されていたため、一度情報処理装置を終了すると、追加したアプリケーションのファイルも削除されることになってしまう。つまり、OSのオリジナルデータを常にクリーンな状態に保つことはできるが、再起動するたびにアプリケーションのファイルは削除されるため、アプリケーションソフトウェアを再度インストールする必要があり、ユーザに再度のインストール処理を行わせるという問題があった。   In the prior art, since the file necessary to execute the added application is stored in the EWF overlay, once the information processing apparatus is terminated, the added application file is also deleted. In other words, the original data of the OS can always be kept clean, but the application file is deleted each time it is restarted, so it is necessary to install the application software again, and the user performs the installation process again. There was a problem of making it.

そこで、本発明は上記問題に鑑みてなされたものであり、OSのオリジナルデータを保護しつつ、次回起動する時に、ユーザによるアプリケーションの再インストールを不要とすることができる情報処理装置、情報処理方法、及びプログラムを提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and an information processing apparatus and an information processing method capable of protecting the original data of the OS and eliminating the need for the user to reinstall the application at the next startup. And to provide a program.

本発明の一局面の情報処理装置は、オペレーティングシステムにアプリケーションを追加して、該アプリケーションを実行することが可能な情報処理装置であって、前記オペレーティングシステムを格納する第1格納領域を含む複数の格納領域を有する格納手段と、前記第1格納領域への書き込みを禁止し、前記第1格納領域への書き込みが要求された場合は第2格納領域に書き込む書き込み禁止手段と、前記書き込み禁止手段により前記第2格納領域に書き込まれた、新規にインストールしたアプリケーションを実行するのに必要なファイルであるアプリ情報を第3格納領域に退避する第1退避手段と、前記アプリケーションの設定情報が記憶された記憶手段を監視する監視手段と、前記監視手段により前記設定情報が追加及び/又は修正されたと判断された場合、該設定情報を前記第3格納領域に退避する第2退避手段と、当該情報処理装置を次に起動する時に、退避された前記アプリ情報及び設定情報を前記第2格納手段に復元する復元手段とを備える。   An information processing apparatus according to an aspect of the present invention is an information processing apparatus capable of adding an application to an operating system and executing the application, and includes a plurality of first storage areas that store the operating system. A storage means having a storage area, a write prohibiting means for prohibiting writing to the first storage area, and writing to the second storage area when writing to the first storage area is requested, and the write prohibiting means Stored in the third storage area is a first saving means for saving application information, which is a file necessary for executing a newly installed application, written in the second storage area, and setting information of the application Monitoring means for monitoring the storage means, and the setting information is added and / or modified by the monitoring means If it is determined, the second saving means for saving the setting information to the third storage area, and the saved application information and setting information when the information processing apparatus is next activated are stored in the second storage. A restoring means for restoring to the means.

また、本発明は、前述した情報処理装置を、情報処理方法としても実現することができ、コンピュータに実行させるためのプログラムとしても実現することができ、このプログラムを記録した記録媒体をコンピュータに読み取らせて実現することも可能である。   The present invention can also realize the above-described information processing apparatus as an information processing method, and can also be realized as a program for causing a computer to execute the program. A recording medium on which the program is recorded is read by the computer. It can also be realized.

本発明によれば、OSのオリジナルデータを保護しつつ、次回起動する時に、ユーザによるアプリケーションの再インストールを不要とする情報処理装置、情報処理方法、及び、プログラムを提供することができる。   According to the present invention, it is possible to provide an information processing apparatus, an information processing method, and a program that protect the original data of the OS and do not require reinstallation of an application by the user at the next startup.

以下、本発明の実施例を図面に基づいて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

<ハードウェア構成>
図1は、実施例1に係る情報処理装置1の主要なハードウェア構成を示すブロック図である。ここで、本発明の情報処理装置1は、画像処理装置でもPC(Personal Computer)でも組み込み機器でもよく、ここでは、画像処理装置を想定する。図1に示す情報処理装置1は、制御部11、主記憶部12、補助記憶部13、印字部14、通信制御部15、操作部16、ネットワークI/F部17、外部記憶装置I/F部18を含む。
<Hardware configuration>
FIG. 1 is a block diagram illustrating a main hardware configuration of the information processing apparatus 1 according to the first embodiment. Here, the information processing apparatus 1 of the present invention may be an image processing apparatus, a PC (Personal Computer), or an embedded device, and here, an image processing apparatus is assumed. The information processing apparatus 1 illustrated in FIG. 1 includes a control unit 11, a main storage unit 12, an auxiliary storage unit 13, a printing unit 14, a communication control unit 15, an operation unit 16, a network I / F unit 17, and an external storage device I / F. Part 18 is included.

制御部11は、情報処理装置1の中で、各装置の制御やデータの演算、加工を行うCPUである。制御部11は、主記憶部12に記憶されたプログラムを実行する演算装置で、入力装置や記憶装置からデータを受け取り、演算、加工した上で、出力装置や記憶装置に出力する。   The control unit 11 is a CPU that controls each device, calculates data, and processes the information processing device 1. The control unit 11 is an arithmetic device that executes a program stored in the main storage unit 12, receives data from the input device or the storage device, calculates and processes the data, and outputs the data to the output device or the storage device.

主記憶部12は、ROM(Read Only Memory)やRAM(Random Access Memory)などであり、制御部11が実行する基本ソフトウェアであるOSやアプリケーションソフトウェアなどのプログラムやデータを記憶又は一時保存する記憶装置である。   The main storage unit 12 is a ROM (Read Only Memory), a RAM (Random Access Memory), or the like, and a storage device that stores or temporarily stores programs and data such as an OS and application software that are basic software executed by the control unit 11. It is.

補助記憶部13は、HDD(Hard Disk Drive)などであり、アプリケーションソフトウェアなどに関連するデータを記憶する記憶装置である。また、補助記憶部13には、情報処理装置が管理する各種情報(例えば、ユーザ情報など)が格納され、データベース(DB:DataBase)、ファイルシステム(FS:File System)などの機能により管理される。   The auxiliary storage unit 13 is an HDD (Hard Disk Drive) or the like, and is a storage device that stores data related to application software or the like. The auxiliary storage unit 13 stores various types of information (eg, user information) managed by the information processing apparatus, and is managed by functions such as a database (DB: DataBase) and a file system (FS: File System). .

印字部14は、画像データを受け取ると、レーザービームを用いたレーザープリントユニットや熱によって専用紙に印字を行なうサーマルプリントユニットなどを用いて、受け取った画像データを転写紙(印刷用紙)に出力(印刷)する。   Upon receiving the image data, the printing unit 14 outputs (prints) the received image data to a transfer paper (printing paper) using a laser print unit using a laser beam or a thermal print unit that prints on dedicated paper using heat. To do.

通信制御部15は、制御部11と連携して、LAN接続やFAXなどの通信制御を行なう。   The communication control unit 15 performs communication control such as LAN connection and FAX in cooperation with the control unit 11.

操作部16は、LCD、スイッチ、ランプやLED、キーなどで構成され、情報処理装置1の状況、警告などを表示する。   The operation unit 16 includes an LCD, a switch, a lamp, an LED, a key, and the like, and displays the status of the information processing apparatus 1, a warning, and the like.

ネットワークI/F部17は、有線及び/又は無線回線などのデータ伝送路により構築されたLAN(Local Area Network)、WAN(Wide Area Network)、FAXなどのネットワークを介して接続された通信機能を有する周辺機器及び情報処理装置などのインタフェースである。   The network I / F unit 17 has a communication function connected via a network such as a LAN (Local Area Network), a WAN (Wide Area Network), or a FAX constructed by a data transmission path such as a wired and / or wireless line. It is an interface for peripheral devices and information processing devices.

外部記憶装置I/F部18は、USB(Universal Serial Bus)などのデータ伝送路を介して接続された記憶媒体19(例えば、フラッシュメモリなど)と当該情報処理装置1とのインタフェースである。   The external storage device I / F unit 18 is an interface between the information processing device 1 and a storage medium 19 (for example, a flash memory) connected via a data transmission path such as a USB (Universal Serial Bus).

また、記憶媒体19としてSD(Secure Digital)カードを使用する場合は、外部記憶装置I/F部18は、SDカードスロットとなり、このSDカードスロットにSDカードを装着することで、SDカード内のデータの読み書きが可能となる。   When an SD (Secure Digital) card is used as the storage medium 19, the external storage device I / F unit 18 becomes an SD card slot. By inserting the SD card into this SD card slot, Data can be read and written.

<ソフトウェア構成>
図2は、実施例1に係る情報処理装置1の主要なソフトウェア構成を示すブロック図である。図2に示すように、情報処理装置1は、操作管理モジュール(例えばSDKManager
)21、ファイル管理モジュール(例えばDocItem)22、アプリ導入管理モジュール(例えばSIサービス)23、アプリ実行管理モジュール(例えばWindowManager)24を含む。
<Software configuration>
FIG. 2 is a block diagram illustrating a main software configuration of the information processing apparatus 1 according to the first embodiment. As shown in FIG. 2, the information processing apparatus 1 includes an operation management module (for example, SDKManager).
) 21, a file management module (for example, DocItem) 22, an application introduction management module (for example, SI service) 23, and an application execution management module (for example, WindowManager) 24.

操作管理モジュール21は、操作部16におけるユーザの操作を管理するモジュールであり、例えば、アプリケーションのインストール指示、設定変更の指示、又は削除指示などを管理する。   The operation management module 21 is a module that manages user operations in the operation unit 16 and manages, for example, an application installation instruction, a setting change instruction, or a deletion instruction.

ファイル管理モジュール22は、ファイルを管理するモジュールであり、例えば、情報処理装置1に接続された記録媒体19に記憶されているファイルをコピーして、情報処理装置内に記憶したりすることを管理する。   The file management module 22 is a module for managing files, and manages, for example, copying a file stored in the recording medium 19 connected to the information processing apparatus 1 and storing it in the information processing apparatus. To do.

アプリ導入管理モジュール23は、アプリケーションの導入(インストール)を管理するモジュールであり、例えば、セットアップファイル(setup.exe)を実行したり、アプリケーションの設定情報が記憶された記憶手段の一例であるレジストリを監視したり、Windows(登録商標)の標準ツールを用いて新規作成されたファイルなどを抽出することを管理する。また、アプリ導入管理モジュール23は、後述する書き込み禁止手段32の設定も制御する。また、アプリ導入管理モジュール23は、追加や変更のあったファイルやレジストリの退避や復元も制御する。   The application introduction management module 23 is a module that manages the introduction (installation) of an application. For example, the application introduction management module 23 executes a setup file (setup.exe) or a registry that is an example of a storage unit that stores application setting information. It manages monitoring and extracting a newly created file or the like using a standard tool of Windows (registered trademark). The application introduction management module 23 also controls the setting of the write prohibiting means 32 described later. The application introduction management module 23 also controls saving and restoring of files and registries that have been added or changed.

なお、退避されたファイルやレジストリの情報は、格納領域に作成された差分ファイルに保存される。ファイル用の差分ファイルをバックアップ差分ファイル(BKF)といい、レジストリ用の差分ファイルをレジストリ差分ファイル(REG)とする。また、差分ファイルは圧縮された状態で格納領域に保存されていてもよい。   Note that the saved file and registry information are saved in a difference file created in the storage area. The file difference file is called a backup difference file (BKF), and the registry difference file is called a registry difference file (REG). Further, the difference file may be stored in the storage area in a compressed state.

アプリ実行管理モジュール24は、情報処理装置1のアプリケーションの実行を管理するモジュールであり、例えば、後述するアプリ情報リストの起動条件に従って、アプリを起動したりする。   The application execution management module 24 is a module that manages the execution of the application of the information processing apparatus 1.

<機能構成>
図3は、実施例1に係る情報処理装置1の主要機能構成を示すブロック図である。図3に示すように、実施例1の情報処理装置1は、格納手段31、書き込み禁止手段32、監視手段33、第1退避手段34、第2退避手段35、復元手段36、ファイル管理手段37、設定変更手段38、削除手段39を含む。
<Functional configuration>
FIG. 3 is a block diagram illustrating the main functional configuration of the information processing apparatus 1 according to the first embodiment. As illustrated in FIG. 3, the information processing apparatus 1 according to the first embodiment includes a storage unit 31, a write prohibition unit 32, a monitoring unit 33, a first save unit 34, a second save unit 35, a restore unit 36, and a file management unit 37. , Setting change means 38 and deletion means 39 are included.

格納手段31は、例えばHDDなどであり、パーティションで区切られた複数の格納領域を有する。ここでは、OSや画像形成に関するアプリケーションを格納するシステム領域、ユーザのデータを格納する作業領域、一時保存領域などの領域を有する。また、OSについては、XP Embeddedを用いることにするが、XP Embeddedと同等もしくは同等以上の機能を有するOSでもよい。また、格納手段31は、アプリケーションの基本情報などが記憶されるレジストリも含む。   The storage means 31 is, for example, an HDD, and has a plurality of storage areas partitioned by partitions. Here, it has areas such as a system area for storing an OS and applications related to image formation, a work area for storing user data, and a temporary storage area. As the OS, XP Embedded is used, but an OS having a function equivalent to or higher than XP Embedded may be used. The storage unit 31 also includes a registry in which basic information of applications and the like are stored.

また、格納手段31は、アプリ情報リストを、いずれのアプリケーションからもアクセス可能な格納領域に格納する。アプリ情報リストは、アプリの固有情報、アプリの起動条件、復元フラグなどを含み、差分ファイルの退避が正常に行われた場合に、アプリの名称が登録される。   Further, the storage unit 31 stores the application information list in a storage area accessible from any application. The application information list includes application specific information, application activation conditions, a restoration flag, and the like, and the name of the application is registered when the difference file is normally saved.

書き込み禁止手段32は、格納領域に格納されたデータを保護する機能を有し、例えばXP Embedded特有のEWF機能である。ここでは、OSが格納されるシステム領域を書き込み禁止手段32により常に保護するものとし、書込み禁止手段32の有効化、無効化の設定変更は再起動しないと反映されない。   The write prohibiting unit 32 has a function of protecting data stored in the storage area, and is, for example, an EWF function unique to XP Embedded. Here, it is assumed that the system area in which the OS is stored is always protected by the write prohibition means 32, and the setting change of the validation / invalidation of the write prohibition means 32 is not reflected unless it is restarted.

監視手段33は、レジストリをモニタする機能を備え、例えば、Windows(登録商標)に標準で備わっているツールを用いることで容易に実現可能である。   The monitoring unit 33 has a function of monitoring the registry, and can be easily realized by using, for example, a tool provided as a standard in Windows (registered trademark).

第1退避手段34は、システム領域上(EWFオーバーレイ)に追加されるアプリケーションに対して、新規に作成されたり変更されたりしたファイルを別の格納領域(一時保存領域)に退避する。新規に作成されたり変更されたりしたファイルは、一般的なファイルシステム(例えば、FATやNTFSなど)で用いられるアーカイブビットにより判断することができる。このアーカイブビットは、ファイルの新規作成や変更があった場合、または専用のAPIを実行することでフラグが設定されるが、ファイルシステムを使用しない場合でも、独自のアプリケーションで全てのファイルのアクセス状況を監視する機能を持つことで、アーカイブビットと同等の情報を作成することが出来る。また、退避対象のファイルはディレクトリ構成を維持したまま退避される。   The first saving unit 34 saves a newly created or changed file to another storage area (temporary saving area) for an application added to the system area (EWF overlay). A newly created or changed file can be determined by an archive bit used in a general file system (for example, FAT or NTFS). This archive bit is flagged when a file is newly created or changed, or when a dedicated API is executed, but even if the file system is not used, the access status of all files in the original application By having a function to monitor, information equivalent to the archive bit can be created. Further, the save target file is saved while maintaining the directory structure.

第2退避手段35は、監視手段33によりモニタされた結果、レジストリアクセスのあったレジストリキーを一時保存領域に退避する。レジストリキーを用いることで、レジストリキー以下の情報を保存することができる。ここで、第1退避手段34及び第2退避手段35は、Windows(登録商標)に標準で備わっているツールや所定のプログラムを用いることで容易に実現可能である。   The second saving unit 35 saves the registry key accessed by the registry as a result of being monitored by the monitoring unit 33 to the temporary storage area. By using the registry key, information below the registry key can be saved. Here, the first evacuation unit 34 and the second evacuation unit 35 can be easily realized by using a standard tool or a predetermined program in Windows (registered trademark).

復元手段36は、第1退避手段34及び第2退避手段35により、一時保存領域に格納されたファイルとレジストリキーを元の格納領域に復元する。このとき、ファイルは元のディレクトリ構成を維持したまま復元され、同名のファイルが存在する場合は、新しいファイルで上書きする。   The restoration unit 36 restores the file and the registry key stored in the temporary storage area to the original storage area by the first save unit 34 and the second save unit 35. At this time, the file is restored while maintaining the original directory structure, and if a file with the same name exists, it is overwritten with a new file.

ファイル管理手段37は、格納領域に格納されているファイルを管理し、例えばFAT(File Allocation Tables)やNTFS(NT File System)である。また、ファイル管理手段37は、ファイルに対してアーカイブビットの設定を行う。新規に追加されたファイルや変更されたファイルには、アーカイブビットにフラグが立てられる。   The file management unit 37 manages the files stored in the storage area, and is, for example, FAT (File Allocation Tables) or NTFS (NT File System). Further, the file management unit 37 sets an archive bit for the file. Newly added or modified files are flagged with an archive bit.

設定変更手段38は、ユーザによる操作部16の操作において設定変更が要求された場合に、レジストリに記憶されているアプリケーションの基本情報などを変更する。また、アプリケーションを実行した後に、アプリケーションの設定変更がユーザにより要求された場合にアプリケーションの設定内容を変更する。   The setting changing unit 38 changes the basic information of the application stored in the registry when a setting change is requested in the operation of the operation unit 16 by the user. In addition, after the application is executed, the application setting content is changed when a change in the application setting is requested by the user.

削除手段39は、アプリ情報リストのアプリ一覧から、操作部16においてユーザにより任意のアプリを選択されて削除要求が行われた場合、削除要求が行われたアプリを削除する。具体的には、アプリ情報リストに含まれる復元フラグをクリアすることで、次回の再起動時には、このアプリケーションの差分ファイルが復元されないため、事実上アプリケーションが削除されたことと同じになる。また、復元フラグをクリアするだけでなく、実際に選択されたアプリケーションに関するファイルやレジストリを削除してもよい。   The deletion means 39 deletes the application for which the deletion request has been made when an arbitrary application is selected by the user in the operation unit 16 from the application list in the application information list and a deletion request is made. Specifically, by clearing the restoration flag included in the application information list, the difference file of this application is not restored at the next restart, which is essentially the same as the application being deleted. In addition to clearing the restoration flag, files and registries related to the actually selected application may be deleted.

なお、復元フラグとは、復元を行う際に復元を行うか否かの判定に用いられるものであり、復元フラグが立っているものを復元対象とする。また、この復元フラグは、デフォルトで立っているものとする。   The restoration flag is used for determining whether or not restoration is performed when restoration is performed, and a restoration flag is set as a restoration target. It is assumed that this restoration flag is set by default.

ここで、書き込み禁止手段32、監視手段33、第1退避手段34、第2退避手段33は、アプリ導入管理モジュール23により、Windows(登録商標)のツールを用いて制御される。また、ファイル管理手段37は、ファイル管理モジュール22により制御され、設定変更手段38はアプリ実行管理モジュール24等に制御され、削除手段39は、操作管理モジュール21により制御される。   Here, the write prohibiting unit 32, the monitoring unit 33, the first saving unit 34, and the second saving unit 33 are controlled by the application introduction management module 23 using a Windows (registered trademark) tool. The file management unit 37 is controlled by the file management module 22, the setting change unit 38 is controlled by the application execution management module 24, and the deletion unit 39 is controlled by the operation management module 21.

次に、前述したように情報処理装置1のシステム領域が保護された状態で、アプリケーションを追加したり、ファイルを変更したり、アプリケーションを削除したりする処理について説明する。   Next, a process for adding an application, changing a file, or deleting an application while the system area of the information processing apparatus 1 is protected as described above will be described.

(初回導入時)
まずは、アプリケーションを導入するときの処理について説明する。図4〜図7は、アプリケーションを初回導入するときの一例を示す処理概念図である。図4は、初回導入時の導入開始における処理の一例を示す概念図である。
(At first introduction)
First, processing when an application is introduced will be described. 4 to 7 are process conceptual diagrams showing an example when the application is first introduced. FIG. 4 is a conceptual diagram showing an example of processing at the start of introduction at the time of initial introduction.

ユーザは、情報処理装置1の操作部16からアプリケーションの導入を実施する。具体的には、操作パネルのアプリ導入ボタンを押下することで実施される。このとき、ファイル管理モジュール22により記録媒体19(この例ではSD)に記憶されているアプリケーションのインストーラ圧縮ファイルをコピーして格納領域(この例ではドライブE)に格納する。   The user introduces an application from the operation unit 16 of the information processing apparatus 1. Specifically, it is implemented by pressing an application introduction button on the operation panel. At this time, the application installer compressed file stored in the recording medium 19 (SD in this example) is copied by the file management module 22 and stored in the storage area (drive E in this example).

次に、操作管理モジュール21は、インストール圧縮ファイルの一部解凍を行い、アプリの情報が格納されたアプリ設定ファイル(Confファイルとも称する)の内容をチェックし、チェック後問題がなければ、インストール圧縮ファイルの全解凍を行う。   Next, the operation management module 21 decompresses a part of the installation compressed file, checks the contents of an application setting file (also referred to as a conf file) in which the application information is stored, and if there is no problem after the check, the installation compression Decompress all files.

ここで、itSDKconf.xmlには、セットアップファイル(例えばSetup.exe)の名前やアプリケーションの名前が記述されている。また、Confファイルには、処理をするアプリケーションの実行条件等が記憶されている。また、Binファイルには、Setupするためのファイル等が記憶されている。   Here, itSDKconf. In xml, the name of a setup file (for example, Setup.exe) and the name of an application are described. Also, the Conf file stores the execution conditions of the application to be processed. The Bin file stores a file for setup.

ここで、図5は、環境設定ファイル(itSDKconf.xml)の一例を示す図である。図5に示すように、環境設定ファイルには、インストールしたアプリケーションの名称が設定され、また、インストールに関する条件が設定されている。インストールに関する条件については、項目「DriverInstallEnable」はドライバーのインストールに対し許可・禁止を指定し、「True」又は「False」が設定される。「True」は、全てのドライバーのインストールを許可することを表し、「False」は、ドライバーのインストールを禁止することを表す。   Here, FIG. 5 is a diagram illustrating an example of an environment setting file (itSDKconf.xml). As shown in FIG. 5, the name of the installed application is set in the environment setting file, and conditions regarding the installation are set. Regarding the conditions regarding installation, the item “DriverInstallEnable” specifies permission / prohibition for driver installation, and is set to “True” or “False”. “True” indicates that installation of all drivers is permitted, and “False” indicates that installation of drivers is prohibited.

また、項目「RegisterWriteEnable」はインストール時のレジストリの書き込みに対し許可・禁止を指定し、「True」又は「False」が設定される。「True」は、ユーザ権限のレジストリのみ書き込み可を表し、「False」は、レジストリの書き込み禁止を表す。   In addition, the item “RegisterWriteEnable” specifies permission / prohibition for registry writing at the time of installation, and “True” or “False” is set. “True” indicates that only the registry having the user authority is writable, and “False” indicates that the registry is not writable.

実際のアプリケーションのインストール時には、環境設定ファイルの条件に従ってインストールが行われる。   When an actual application is installed, the installation is performed according to the conditions of the environment setting file.

図4に戻り、操作管理モジュール21により、解凍されたファイルが参照されて、アプリケーションに関する情報がアプリ情報リストに追加される。   Returning to FIG. 4, the operation management module 21 refers to the decompressed file and adds information about the application to the application information list.

次に、インストール圧縮ファイルの全解凍が行われた場合、解凍されたファイルを格納する格納領域にEWFが設定されるようにコマンドが発行されて、再起動が行われる。   Next, when the installation compressed file is fully decompressed, a command is issued so that the EWF is set in the storage area for storing the decompressed file, and restart is performed.

次に、図6は、初回導入時の再起動後における処理の一例を示す概念図である。まず、再起動した際に、発行されていたEWF設定のコマンドが実行され、ドライブEにEWFが設定される。   Next, FIG. 6 is a conceptual diagram showing an example of processing after restart at the time of initial introduction. First, when restarted, the issued EWF setting command is executed, and the EWF is set in the drive E.

ここで、ドライブE及びシステム領域(この例ではドライブC)の各ファイルのアーカイブビットを全てクリアしておく。これは、アプリケーションをインストールすることで追加、変更されたファイルを特定するためである。   Here, all the archive bits of each file in the drive E and the system area (drive C in this example) are cleared. This is to identify a file that has been added or changed by installing the application.

また、アプリ導入管理モジュール23により、Windows(登録商標)のツールであるレジストリのモニタ機能を有効にする。これは、アプリケーションをインストールすることでアクセスされたレジストリを特定するためである。   Further, the application introduction management module 23 enables a registry monitoring function, which is a Windows (registered trademark) tool. This is because the registry accessed by installing the application is specified.

また、アプリ導入管理モジュール23は、ドライブEに対してEWFが解除されるようにコマンドを発行しておく。インストール時に何か問題があり、強制シャットダウンした場合でも、次回の起動時にはドライブEのEWFを必ず解除しておく為である。   The application introduction management module 23 issues a command to the drive E so that the EWF is canceled. This is because the EWF of the drive E must be canceled at the next startup even if there is a problem during the installation and the system is forcibly shut down.

次に、アプリ導入管理モジュール23により、Setup.exeが実行される。このセットアップに関しては、完全自動化してサイレントインストールすることも可能である。   Next, the application introduction management module 23 sets up Setup. exe is executed. This setup can be fully automated and silently installed.

Setup.exeが実行された場合、EWFが設定されている格納領域(ドライブC)上に、インストールされたファイルやレジストリが展開される。インストールが終了すると情報処理装置1はインストール終了を検知し、アプリ導入管理モジュール23は、Windows(登録商標)のツールを用いて、差分ファイルのバックアップ処理を実行する。このとき、差分ファイルについて、アーカイブビットのフラグが立っているファイルのみをBKFファイルに保存し、レジストリアクセスのあったレジストリキーのみをREGファイルに保存する。差分ファイルは一時保存される格納領域(この例ではドライブF)に保存される。前述した通り、差分ファイルは圧縮された保存されてもよい。   Setup. When exe is executed, the installed file and registry are expanded on the storage area (drive C) in which EWF is set. When the installation is completed, the information processing apparatus 1 detects the completion of the installation, and the application introduction management module 23 executes a differential file backup process using a Windows (registered trademark) tool. At this time, with respect to the difference file, only the file with the archive bit flag set is stored in the BKF file, and only the registry key accessed by the registry is stored in the REG file. The difference file is saved in a temporarily saved storage area (in this example, drive F). As described above, the difference file may be compressed and stored.

差分ファイルの作成が完了した場合は、アプリ情報にアプリ名を登録する。これは、アプリケーションの差分ファイルを復元する際に、アプリ情報に登録されている復元順番に従って復元するためである。   When the creation of the difference file is completed, the application name is registered in the application information. This is because when restoring the difference file of the application, it is restored in accordance with the restoration order registered in the application information.

ここで、再度、アプリ導入管理モジュール23は、ドライブEに対してEWFが解除されるようにコマンドを発行しておく。これは、アプリケーションの導入途中で、EWFコマンドを操作される可能性があるため、再起動を行う直前でもう一度、EWFを解除するためのコマンドを発行しておく。   Here, again, the application introduction management module 23 issues a command to the drive E so that the EWF is canceled. This is because there is a possibility that an EWF command may be manipulated during the introduction of an application. Therefore, a command for canceling the EWF is issued again immediately before restarting.

次に、情報処理装置1を再起動する。情報処理装置1が起動する際、まず、OSのみを起動し、ドライブFに保存されていた差分ファイルをドライブEに移動する。これより、差分ファイルの復元準備が整った状態となる。   Next, the information processing apparatus 1 is restarted. When the information processing apparatus 1 is activated, first, only the OS is activated, and the difference file stored in the drive F is moved to the drive E. Thus, the preparation for restoring the differential file is completed.

なお、複数のアプリケーションをインストールする場合は、1つアプリケーションをインストールする毎に退避処理を行い、再起動を行うようにする。これより、アプリケーションを1つ1つ復元することができる。また、1つ1つのアプリケーションに関する情報(ファイルやレジストリの情報)をクリーンな状態に保つことができる。   When installing a plurality of applications, save processing is performed and restarted every time one application is installed. Thereby, it is possible to restore the applications one by one. Further, information (file and registry information) related to each application can be kept clean.

図7は、初回導入時の導入後における処理の一例を示す概念図である。ドライブEに差分ファイルが保存されると、アプリ導入管理モジュール23により、Windows(登録商標)のツールを用いて差分ファイルの復元が行われる。   FIG. 7 is a conceptual diagram showing an example of processing after introduction at the time of initial introduction. When the difference file is stored in the drive E, the application introduction management module 23 restores the difference file using a Windows (registered trademark) tool.

このとき、アプリ情報リストを参照して復元されるファイルが存在すれば、差分ファイルの復元が行われる。アプリ情報リストに復元されるファイルがなければ、画像処理に関するアプリケーションが起動される。   At this time, if there is a file to be restored with reference to the application information list, the differential file is restored. If there is no file to be restored in the application information list, an application relating to image processing is started.

アプリ導入管理モジュール23は、アプリ情報リストに記載されている順番で、アプリケーションを復元する。アプリケーションを復元する手順としては、アプリ導入管理モジュール23はWindows(登録商標)のツールを用いて、ドライブEに保存されているBKFファイルを、退避される前のディレクトリ状態を維持したままドライブCに復元する。このとき、差分ファイルに含まれるファイル名と同名のファイルが存在するときは、新しいファイルで上書きする。   The application introduction management module 23 restores applications in the order described in the application information list. As a procedure for restoring the application, the application introduction management module 23 uses a Windows (registered trademark) tool to transfer the BKF file saved in the drive E to the drive C while maintaining the directory state before being saved. Restore. At this time, if a file with the same name as the file name included in the difference file exists, it is overwritten with a new file.

また、アプリ導入管理モジュール23はWindows(登録商標)のツールを用いて、REGファイルに保存されているレジストリキーを、ドライブCのレジストリに追加、上書きする。   In addition, the application introduction management module 23 adds or overwrites the registry key stored in the REG file to the registry of the drive C using a Windows (registered trademark) tool.

アプリ情報リストに複数の復元されるアプリケーションが記載されている場合は、リストの順番どおりに前述した復元作業が行われる。この復元作業が全て行われると、画像処理に関するアプリケーションが起動される。   When a plurality of applications to be restored are described in the application information list, the restoration work described above is performed in the order of the list. When all the restoration operations are performed, an application relating to image processing is activated.

次に、アプリ導入管理モジュール23は、全てのファイルに対してアーカイブビットをクリアする指示を行う。これは、情報処理装置1が次に終了されるまでに追加及び/又は変更されたファイルを特定できるようにするためである。例えば、アプリケーションを実行した際、アプリケーションの設定変更などが行われた場合、設定情報を格納しているファイルを修正するため、このファイルにアーカイブビットのフラグが立ち、追加及び/又は変更されたファイルが特定できる。   Next, the application introduction management module 23 issues an instruction to clear the archive bit for all files. This is because the file added and / or changed before the information processing apparatus 1 is next terminated can be specified. For example, when application settings are changed when the application is executed, the file that stores the setting information is modified, and an archive bit flag is set in this file to add and / or change the file. Can be identified.

次に、アプリ実行管理モジュール24により、アプリケーションの実行が制御される。このとき、操作管理モジュール21により、プロダクトIDのフォルダ名が変更される。   Next, the application execution management module 24 controls the execution of the application. At this time, the folder name of the product ID is changed by the operation management module 21.

(設定変更時)
図8は、アプリケーションの設定を変更する処理の一例を示す概念図である。図8に示すように、情報処理装置1が起動すると、アプリを復元した後に、各ファイルのアーカイブビットはクリアされる。
(When changing settings)
FIG. 8 is a conceptual diagram illustrating an example of processing for changing application settings. As shown in FIG. 8, when the information processing apparatus 1 is activated, the archive bit of each file is cleared after the application is restored.

次に、アプリ実行管理モジュール24により任意のアプリケーションが実行される。次に、アプリケーションの設定が変更されると、設定が変更されたファイルにはアーカイブビットのフラグが立つ。また、監視手段33によりレジストリが監視されており、起動後にアクセスがあったレジストリを抽出する。また、どのファイルに対応するレジストリに変更があったかの判断は、プロセスIDで判断することができる。   Next, an arbitrary application is executed by the application execution management module 24. Next, when the application setting is changed, the archive bit flag is set in the file whose setting has been changed. In addition, the registry is monitored by the monitoring unit 33, and the registry accessed after activation is extracted. In addition, it is possible to determine by the process ID whether the registry corresponding to which file has been changed.

次に、アプリ導入管理モジュール23は、情報処理装置1が終了するときに、アーカイブビットのフラグが立っているファイルのみを例えばドライブEに保存する。また、アプリ導入管理モジュール23は、アクセスがあったレジストリのレジストリキーのみを例えばドライブEに保存する。   Next, when the information processing apparatus 1 is terminated, the application introduction management module 23 stores only the file for which the archive bit flag is set, for example, in the drive E. Further, the application introduction management module 23 stores only the registry key of the accessed registry in the drive E, for example.

なお、図8に示すように、設定変更用の差分ファイルは、アプリ本体用の差分ファイルと別のフォルダに保存するようにしてもよい。   As shown in FIG. 8, the setting change difference file may be stored in a different folder from the application main body difference file.

(導入後、通常起動時)
図9は、アプリケーションを導入後、通常に起動したときの処理の一例を示す概念図である。図9に示す例では、ドライブEにアプリ本体用の差分ファイルとアプリ起動後の設定用差分ファイルが保存されているとする。
(After installation, normal startup)
FIG. 9 is a conceptual diagram showing an example of processing when the application is normally started after the application is introduced. In the example illustrated in FIG. 9, it is assumed that a difference file for the application main body and a setting difference file after application activation are stored in the drive E.

情報処理装置1が起動すると、アプリ導入管理モジュール23は、アプリ本体用の差分ファイルを復元する。アプリ本体用の差分ファイルの復元が終わると、次に、アプリ導入管理モジュール23は、設定用の差分ファイルを復元し、情報処理装置1が終了する際の最新の状態に戻ることができる。その後、アプリケーションのファイルやレジストリの復元が全て行われると、各ファイルのアーカイブビットが全てクリアされる。   When the information processing apparatus 1 is activated, the application introduction management module 23 restores the difference file for the application main body. When the restoration of the difference file for the application main body is completed, the application introduction management module 23 can then restore the setting difference file and return to the latest state when the information processing apparatus 1 is terminated. After that, when all the application files and registry are restored, all archive bits of each file are cleared.

次に、アプリケーションが実行され、設定変更された場合は、図8で説明したとおり、設定変更されたファイルやレジストリを抽出した差分ファイルを、例えばドライブEに保存する。   Next, when the application is executed and the setting is changed, as described with reference to FIG. 8, the changed file and the differential file obtained by extracting the registry are stored in the drive E, for example.

(アプリ削除時)
図10は、アプリケーションの削除処理の一例を示す概念図である。図10に示すように、操作管理モジュール21は、アプリの削除が指示された場合、アプリ情報リストに含まれる復元フラグをクリアする。これより、次に、情報処理装置1が起動するときには、アプリ削除が指示されたアプリケーションは復元されないことになり、実質的にアプリケーションが削除されることになる。この場合、再度復元フラグを立てれば、このアプリケーションを再度実行可能なように復元することができる。
(When deleting apps)
FIG. 10 is a conceptual diagram illustrating an example of an application deletion process. As illustrated in FIG. 10, the operation management module 21 clears the restoration flag included in the application information list when an instruction to delete an application is given. Accordingly, when the information processing apparatus 1 is activated next time, the application instructed to delete the application is not restored, and the application is substantially deleted. In this case, if the restoration flag is set again, the application can be restored so that it can be executed again.

また、削除指示されたアプリケーションを実際に削除してもよい。この場合は、アプリ管理導入モジュール23は、ドライブEに保存されているSIファイルを削除し、操作管理モジュール21は、ドライブEのプロダクトIDファイルを削除する。これより実際にアプリ削除が要求されたアプリケーションに関する情報は削除されたことになる。   In addition, an application for which deletion is instructed may be actually deleted. In this case, the application management introduction module 23 deletes the SI file stored in the drive E, and the operation management module 21 deletes the product ID file of the drive E. As a result, the information related to the application for which the application deletion is actually requested is deleted.

なお、アプリ情報リストには、起動フラグ(図示せず)も含まれており、この起動フラグをクリアすることでも、見かけ上、アプリを削除したことにすることができる。この場合、アプリケーションの差分ファイルは復元されることになるが、その後の起動を行わないことで、アプリケーションの実行を防ぐことができる。この起動フラグは、アプリケーションの実行中にエラーが発生したときなど、自動で起動フラグがクリアされるようになっている。   Note that the application information list also includes an activation flag (not shown), and clearing the activation flag can be regarded as an apparently deleted application. In this case, the differential file of the application is restored, but execution of the application can be prevented by not performing subsequent activation. This activation flag is automatically cleared when an error occurs during execution of the application.

<動作>
次に、情報処理装置1の動作について説明する。以下、アプリケーション導入時、アプリケーションの設定変更時、通常起動時、アプリケーションの削除時のフローを順に説明する。
<Operation>
Next, the operation of the information processing apparatus 1 will be described. Hereinafter, the flow when an application is introduced, when an application setting is changed, when the application is normally started, and when an application is deleted will be described in order.

(導入時)
図11は、アプリケーションの導入時の処理の一例を示すフローチャートである。図11に示すように、ステップS1において、Windows(登録商標)のアプリケーションの導入は操作部16を用いて初期設定画面などからユーザにより選択される。導入が選択されると、情報処理装置1は、OSのみを起動する導入起動モードの準備を行う。
(At the time of introduction)
FIG. 11 is a flowchart illustrating an example of processing when an application is introduced. As shown in FIG. 11, in step S <b> 1, introduction of a Windows (registered trademark) application is selected by the user from the initial setting screen or the like using the operation unit 16. When introduction is selected, the information processing apparatus 1 prepares for an introduction activation mode in which only the OS is activated.

ステップS2において、アプリ導入管理モジュール23は、一時保存格納領域(例えばFドライブ)以外の格納領域に対してEWFをEnableにするようコマンド発行する。これは、導入起動モード中に誤ってユーザデータ(例えばEドライブのデータ)が削除されないように、Fドライブ以外のパーティションについてEWFをEnableにするためである。   In step S2, the application introduction management module 23 issues a command to enable the EWF to a storage area other than the temporary storage area (for example, F drive). This is to enable the EWF for partitions other than the F drive so that user data (for example, E drive data) is not accidentally deleted during the installation startup mode.

ステップS3において、コマンド発行後にWindows(登録商標)を再起動する。これは、コマンド発行を有効にするためである。   In step S3, Windows (registered trademark) is restarted after the command is issued. This is to enable command issuance.

ステップS4において、アプリ導入管理モジュール23は、ステップS2においてEWFをEnableにしたパーティションについて、Disableにするコマンドを発行する。これは、導入最中に何らかの理由で強制シャットダウンされた場合に、次回起動時はEドライブのEWFを必ず解除して起動するためである。   In step S4, the application introduction management module 23 issues a disable command for the partition in which EWF is enabled in step S2. This is because, if forcible shutdown is performed for some reason during installation, the EWF of the E drive is always canceled and started up at the next startup.

ステップS5において、アプリケーション導入用の起動が行われると、ユーザは、アプリケーションの導入を行う。これは、自動で行われても、半自動でも、手動で行われてもよい。   In step S5, when activation for application introduction is performed, the user introduces the application. This may be done automatically, semi-automatically or manually.

ステップS6において、検知手段(図示せず)によりアプリケーション導入の終了が検知される。   In step S6, the end of application introduction is detected by detection means (not shown).

ステップS7において、操作管理モジュール21は、アプリケーションの導入にエラーがなかったか判定を行なう。例えば、図5に示すような環境設定ファイルに設定された条件を満たさない場合はエラーとなる。ステップS7の判定結果がNO(エラーなし)であればステップS8に進み、ステップS7の判定結果がYES(エラーあり)であればステップS12に進む。   In step S <b> 7, the operation management module 21 determines whether there is an error in the application introduction. For example, if the condition set in the environment setting file as shown in FIG. 5 is not satisfied, an error occurs. If the determination result of step S7 is NO (no error), the process proceeds to step S8, and if the determination result of step S7 is YES (there is an error), the process proceeds to step S12.

ステップS8において、アプリ導入管理モジュール23は、Windows(登録商標)のツール(第1退避手段34)を用いてアプリケーションに関するファイルの差分バックアップの処理を行う。   In step S <b> 8, the application introduction management module 23 performs differential backup processing of files related to the application using a Windows (registered trademark) tool (first saving unit 34).

ステップS9において、アプリ導入管理モジュール23は、Windows(登録商標)のツール(第2退避手段35)を用いて、ステップS5において変更されたレジストリの差分バックアップ処理を行う。   In step S9, the application introduction management module 23 performs a differential backup process for the registry changed in step S5, using a Windows (registered trademark) tool (second saving means 35).

ステップS10において、アプリ導入管理モジュール23は、バックアップにエラーがなかったか否かを判定する。ステップS10の判定結果がNO(エラーなし)であれば、ステップS11に進み、判定結果がYES(エラーあり)であれば、ステップS12に進む。   In step S10, the application introduction management module 23 determines whether or not there is an error in the backup. If the determination result in step S10 is NO (no error), the process proceeds to step S11. If the determination result is YES (error is present), the process proceeds to step S12.

ステップS11において、アプリ導入管理モジュール23は、バックアップが正常に終了した場合は、導入されたアプリケーションをアプリ情報リストに追加する。ステップS12において、操作部16は、表示画面にエラーダイアログを表示する。   In step S11, the application introduction management module 23 adds the introduced application to the application information list when the backup is normally completed. In step S12, the operation unit 16 displays an error dialog on the display screen.

ステップS13において、アプリ導入管理モジュール23は、再度EWFをDisableにするコマンドを発行する。これは、導入途中でEWFコマンドを操作される可能性があるので、再起動を行う直前で再度コマンドを発行するためである。   In step S13, the application introduction management module 23 issues a command to disable the EWF again. This is because the EWF command may be operated during the introduction, so that the command is issued again immediately before restarting.

ステップS14において、Windows(登録商標)のみ再起動を行う。ステップS15において、格納領域(Fドライブ)のバックアップ用の差分ファイルを他の格納領域(例えばEドライブ)に移動する。   In step S14, only Windows (registered trademark) is restarted. In step S15, the backup differential file in the storage area (F drive) is moved to another storage area (for example, E drive).

ステップS16において、アプリ導入管理モジュール23(復元手段36)は、アプリ情報リストのアプリケーションを復元する。ステップS17において、操作部16は、アプリケーション導入前の初期設定画面を表示する。これより、Windows(登録商標)のアプリケーション導入処理を終了する。   In step S16, the application introduction management module 23 (restoring means 36) restores the application in the application information list. In step S17, the operation unit 16 displays an initial setting screen before application introduction. This completes the Windows (registered trademark) application installation process.

(設定変更時)
図12は、アプリケーションの設定変更時の処理の一例を示すフローチャートである。図12に示す処理において、図11に示す処理と同様の処理を行うものは同じ符号を付し、その説明を省略する。図12に示すように、ステップS21において、操作部16は、Windows(登録商標)の画面を表示する。設定変更は初期設定から実行できるからである。
(When changing settings)
FIG. 12 is a flowchart illustrating an example of processing performed when an application setting is changed. In the process shown in FIG. 12, the same reference numerals are given to the same processes as those shown in FIG. 11, and the description thereof is omitted. As shown in FIG. 12, in step S21, the operation unit 16 displays a Windows (registered trademark) screen. This is because the setting can be changed from the initial setting.

ステップS22において、設定変更手段38は、ユーザによりS21で表示した画面から設定変更の指示が行われると、アプリケーションの設定変更を行う。ステップS23において、設定変更手段38により設定変更が終了すると、操作部16における表示画面は初期設定画面に戻る。   In step S22, the setting changing unit 38 changes the setting of the application when the user gives an instruction to change the setting from the screen displayed in S21. In step S23, when the setting change is completed by the setting changing unit 38, the display screen on the operation unit 16 returns to the initial setting screen.

ステップS24において、ユーザにより終了ボタンを押下されるなどした場合、情報処理機能が終了する。次に、ステップS8、S9において、差分バックアップ処理が行われ、変更されたファイルやレジストリの情報をバックアップすることができる。このとき、設定変更用の差分ファイルは、アプリ本体用の差分ファイルと別のファイルに保存するようにしてもよい。   In step S24, when the user presses the end button, the information processing function ends. Next, in steps S8 and S9, differential backup processing is performed, and the changed file and registry information can be backed up. At this time, the setting change difference file may be stored in a file different from the application main body difference file.

これより、バックアップされた設定用の差分ファイルは起動時に毎回復元することができ、設定変更した内容は次回の起動時に反映されることになる。   As a result, the backed-up setting difference file can be restored every time it is started, and the changed contents are reflected at the next start.

(通常起動時)
図13は、情報処理装置1の通常起動時の処理の一例を示すフローチャートである。図13に示すように、ステップS31において、アプリ導入管理モジュール23は、Windows(登録商標)のアプリケーションの復元が必要か否かを判定する。ステップS31の判定結果がYES(復元あり)であればステップS32に進み、判定結果がNO(復元なし)であればステップS40に進む。
(Normal startup)
FIG. 13 is a flowchart illustrating an example of processing when the information processing apparatus 1 is normally started. As shown in FIG. 13, in step S31, the application introduction management module 23 determines whether it is necessary to restore a Windows (registered trademark) application. If the determination result in step S31 is YES (with restoration), the process proceeds to step S32. If the determination result is NO (no restoration), the process proceeds to step S40.

ステップS32において、アプリ導入管理モジュール23は、Windows(登録商標)のツール(復元手段36)を用いて、アプリケーションの復元処理を行う。アプリケーションの復元処理は、アプリ情報リストに登録された順に行われる。   In step S32, the application introduction management module 23 performs application restoration processing using a Windows (registered trademark) tool (restoring means 36). Application restoration processing is performed in the order registered in the application information list.

ステップS33において、アプリ導入管理モジュール23は、プログラムを実行することで、レジストリの復元処理を行う。なお、ステップS32、S33はアプリケーション単位で行われる。   In step S33, the application introduction management module 23 executes a program to perform registry restoration processing. Steps S32 and S33 are performed for each application.

ステップS34において、アプリ導入管理モジュール23は、復元が成功したか否かを判定する。ステップS34の判定結果がYES(成功)であれば、ステップS35に進み、判定結果がNO(失敗)であれば、ステップS39に進む。   In step S34, the application introduction management module 23 determines whether the restoration is successful. If the determination result in step S34 is YES (success), the process proceeds to step S35, and if the determination result is NO (failure), the process proceeds to step S39.

ステップS35において、アプリ導入管理モジュール23は、復元するWindows(登録商標)のアプリケーションがまだ存在するか否かを、アプリ情報リストを参照して判定する。ステップS35の判定結果がYES(存在する)であればステップS32に戻り、判定結果がNO(存在しない)であればステップS36に進む。   In step S <b> 35, the application introduction management module 23 determines whether there is still a Windows (registered trademark) application to be restored with reference to the application information list. If the determination result of step S35 is YES (exists), it will return to step S32, and if a determination result is NO (does not exist), it will progress to step S36.

ステップS36において、アプリ導入管理モジュール23は、設定変更用の差分ファイルがある場合は、設定変更のファイルの復元処理を行う。ステップS37において、アプリ導入管理モジュール23は、設定変更用の差分ファイルがある場合は、レジストリの復元処理を行う。   In step S <b> 36, when there is a setting change difference file, the application introduction management module 23 performs a setting change file restoration process. In step S <b> 37, if there is a setting change difference file, the application introduction management module 23 performs registry restoration processing.

ステップS38において、アプリ導入管理モジュール23は、設定変更差分ファイルの復元処理が成功したか否かを判定する。ステップS38の判定結果がYES(成功)であればステップS40に進み、判定結果がNO(失敗)であればステップS39に進む。   In step S38, the application introduction management module 23 determines whether or not the setting change difference file restoration process has succeeded. If the determination result in step S38 is YES (success), the process proceeds to step S40, and if the determination result is NO (failure), the process proceeds to step S39.

ステップS39において、操作部16は、表示画面にエラーダイアログを表示する。ステップS40において、アプリ導入管理モジュール23は、格納手段31内のファイルとフォルダのアーカイブビットをクリアするために、アーカイブビットのクリアコマンドを発行する。   In step S39, the operation unit 16 displays an error dialog on the display screen. In step S40, the application introduction management module 23 issues a clear archive bit command to clear the archive bits of the files and folders in the storage means 31.

これより、情報処理装置の起動直後に図13に示すような処理を行うことで、情報処理装置の終了時にアーカイブビットのフラグにより、設定変更されたファイルを特定することができる。   Thus, by performing the processing as shown in FIG. 13 immediately after the information processing apparatus is activated, the file whose setting has been changed can be specified by the flag of the archive bit when the information processing apparatus ends.

(アプリ削除時)
図14は、アプリケーションの削除時の処理の一例を示すフローチャートである。図14に示すように、ステップS41において、操作部16は、Windows(登録商標)の初期設定画面を表示する。アプリケーションの削除は初期設定から実行できるからである。
(When deleting apps)
FIG. 14 is a flowchart illustrating an example of processing when an application is deleted. As shown in FIG. 14, in step S41, the operation unit 16 displays an initial setting screen of Windows (registered trademark). This is because the application can be deleted from the initial setting.

ステップS42において、ユーザが、表示画面に表示されたインストールアプリ一覧から削除したいアプリケーションを選択する。   In step S42, the user selects an application to be deleted from the list of installed applications displayed on the display screen.

ステップS43において、操作管理モジュール21は、アプリ情報リストから選択されたアプリケーションを削除して更新する。このとき、操作管理モジュール21は、アプリ情報リストに含まれる復元フラグをクリアしたり、アプリケーション自体の情報を削除したりする。   In step S43, the operation management module 21 deletes and updates the application selected from the application information list. At this time, the operation management module 21 clears the restoration flag included in the application information list or deletes information on the application itself.

ステップS44において、操作部16は、再起動後にアプリケーションは削除される旨のダイアログを表示する。ステップS45において、ユーザは、初期設定を終了する。このとき、選択されたアプリケーションがすぐにアンインストールされた状態にしたいときは再起動すればよい。   In step S44, the operation unit 16 displays a dialog to the effect that the application is deleted after restarting. In step S45, the user ends the initial setting. At this time, if it is desired to immediately uninstall the selected application, it may be restarted.

これより、削除するアプリケーションが選択されると、情報処理装置内部では保持しているアプリ情報リストから、選択されたアプリケーションを削除し、次回の起動時から復元せずに起動することで、アプリケーションの削除を行う。また、情報処理装置1が起動中にアンインストールを実行しない理由は、情報処理装置1が不安定になる事を防ぐのと、アンインストール処理を必要とせず、再起動するだけでアンインストールを実現することができるためである。よって、安全なアンインストールを実現することができる。このとき、選択されてもすぐにアンインストールを実行しないため、ダイアログを表示画面に表示して、再起動後からアンインストールされた状態になることを通知する。   As a result, when an application to be deleted is selected, the selected application is deleted from the application information list stored in the information processing apparatus, and the application is started without being restored from the next startup. Perform deletion. Also, the reason why the information processing apparatus 1 is not uninstalled while it is running is that the information processing apparatus 1 is prevented from becoming unstable and does not require an uninstall process, and can be uninstalled just by rebooting This is because it can be done. Therefore, safe uninstallation can be realized. At this time, since the uninstallation is not executed immediately even if selected, a dialog is displayed on the display screen to notify that the uninstallation is performed after the restart.

以上、実施例1によれば、OSのオリジナルデータを保護しつつ、次回起動する時に、ユーザによるアプリケーションの再インストールを不要とすることができる。   As described above, according to the first embodiment, the original data of the OS can be protected, and it is not necessary to reinstall the application by the user when starting up next time.

なお、上記実施例1では情報処理装置1を画像処理装置として説明したが、PCであっても同様の目的を達成することができることは言うまでもない。   In the first embodiment, the information processing apparatus 1 is described as an image processing apparatus, but it goes without saying that the same object can be achieved even with a PC.

以上、本発明の実施例について詳述したが、本発明は係る特定の実施例に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、上記変形例以外にも種々の変形・変更が可能である。   Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and other than the above-described modifications within the scope of the gist of the present invention described in the claims. In addition, various modifications and changes can be made.

なお、実施例において説明した処理内容をコンピュータに実行させるためのプログラムとし、このプログラムをコンピュータに実行させて前述した処理を情報処理装置に実現させることも可能である。また、このプログラムを記録媒体に記録し、このプログラムが記録された記録媒体をコンピュータに読み取らせて、前述した処理を情報処理装置に実現させることも可能である。   It is also possible to use a program for causing a computer to execute the processing contents described in the embodiments, and cause the information processing apparatus to realize the above-described processing by causing the computer to execute the program. It is also possible to record the program on a recording medium and cause the computer to read the recording medium on which the program is recorded, thereby causing the information processing apparatus to realize the processing described above.

実施例1に係る情報処理装置1の主要なハードウェア構成を示すブロック図。1 is a block diagram illustrating a main hardware configuration of an information processing apparatus 1 according to a first embodiment. 実施例1に係る情報処理装置1の主要なソフトウェア構成を示すブロック図。FIG. 2 is a block diagram illustrating a main software configuration of the information processing apparatus 1 according to the first embodiment. 実施例1に係る情報処理装置1の主要機能構成を示すブロック図。1 is a block diagram illustrating a main functional configuration of an information processing apparatus 1 according to a first embodiment. 初回導入時の導入開始における処理の一例を示す概念図。The conceptual diagram which shows an example of the process in the introduction start at the time of first time introduction. 環境設定ファイル(itSDKconf.xml)の一例を示す図。The figure which shows an example of an environment setting file (itSDKconf.xml). 初回導入時の再起動後における処理の一例を示す概念図。The conceptual diagram which shows an example of the process after the restart at the time of first time introduction. 初回導入時の導入後における処理の一例を示す概念図。The conceptual diagram which shows an example of the process after the introduction at the time of the first introduction. アプリケーションの設定を変更する処理の一例を示す概念図。The conceptual diagram which shows an example of the process which changes the setting of an application. アプリケーションを導入後、通常に起動したときの処理の一例を示す概念図。The conceptual diagram which shows an example of a process when starting normally after introduce | transducing an application. アプリケーションの削除処理の一例を示す概念図。The conceptual diagram which shows an example of the deletion process of an application. アプリケーションの導入時の処理の一例を示すフローチャート。The flowchart which shows an example of the process at the time of application introduction. アプリケーションの設定変更時の処理の一例を示すフローチャート。The flowchart which shows an example of the process at the time of the setting change of an application. 情報処理装置1の通常起動時の処理の一例を示すフローチャート。5 is a flowchart showing an example of processing at the time of normal activation of the information processing apparatus 1; アプリケーションの削除時の処理の一例を示すフローチャート。The flowchart which shows an example of the process at the time of deletion of an application.

符号の説明Explanation of symbols

1 情報処理装置
11 制御部
12 主記憶部
13 補助記憶部
14 印字部
15 通信制御部
16 操作部
17 ネットワークI/F部
18 外部記憶装置I/F部
19 記憶媒体
21 操作管理モジュール
22 ファイル管理モジュール
23 アプリ導入管理モジュール
24 アプリ実行管理モジュール
31 格納手段
32 書込み禁止手段
33 監視手段
34 第1退避手段
35 第2退避手段
36 復元手段
37 ファイル管理手段
38 設定変更手段
39 削除手段
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 11 Control part 12 Main storage part 13 Auxiliary storage part 14 Printing part 15 Communication control part 16 Operation part 17 Network I / F part 18 External storage device I / F part 19 Storage medium 21 Operation management module 22 File management module 23 Application introduction management module 24 Application execution management module 31 Storage means 32 Write prohibition means 33 Monitoring means 34 First save means 35 Second save means 36 Restore means 37 File management means 38 Setting change means 39 Delete means

Claims (9)

オペレーティングシステムにアプリケーションを追加して、該アプリケーションを実行することが可能な情報処理装置であって、
前記オペレーティングシステムを格納する第1格納領域を含む複数の格納領域を有する格納手段と、
前記第1格納領域への書き込みを禁止し、前記第1格納領域への書き込みが要求された場合は第2格納領域に書き込む書き込み禁止手段と、
前記書き込み禁止手段により前記第2格納領域に書き込まれた、新規にインストールしたアプリケーションを実行するのに必要なファイルであるアプリ情報を第3格納領域に退避する第1退避手段と、
前記アプリケーションの設定情報が記憶された記憶手段を監視する監視手段と、
前記監視手段により前記設定情報が追加及び/又は修正されたと判断された場合、該設定情報を前記第3格納領域に退避する第2退避手段と、
当該情報処理装置を次に起動する時に、退避された前記アプリ情報及び設定情報を前記第2格納手段に復元する復元手段と
を備える情報処理装置。
An information processing apparatus capable of adding an application to an operating system and executing the application,
Storage means having a plurality of storage areas including a first storage area for storing the operating system;
Write prohibiting means for prohibiting writing to the first storage area, and writing to the second storage area when writing to the first storage area is requested;
First saving means for saving application information written to the second storage area by the write prohibition means, which is a file necessary for executing a newly installed application, to the third storage area;
Monitoring means for monitoring storage means in which the setting information of the application is stored;
A second evacuation unit for evacuating the setting information to the third storage area when the monitoring unit determines that the setting information has been added and / or modified;
An information processing apparatus comprising: restoration means for restoring the saved application information and setting information to the second storage means when the information processing apparatus is next activated.
前記アプリ情報のファイルの新規作成又は変更が行われた場合、該ファイルに識別子を付与するファイル管理手段を備え、
当該情報処理装置を次に起動した時に、付与された前記識別子を全てクリアする請求項1記載の情報処理装置。
When a new creation or change of the application information file is performed, the file management means for assigning an identifier to the file,
The information processing apparatus according to claim 1, wherein when the information processing apparatus is started next time, all of the assigned identifiers are cleared.
前記復元手段により復元が行われる場合、前記復元が行われた後に前記識別子を全て
クリアする請求項2記載の情報処理装置。
The information processing apparatus according to claim 2, wherein when the restoration is performed by the restoration unit, all the identifiers are cleared after the restoration is performed.
前記第1及び第2退避手段による退避が終了した後に、当該情報処理装置の再起動を行う請求項1乃至3何れか一項に記載の情報処理装置。   The information processing apparatus according to any one of claims 1 to 3, wherein the information processing apparatus is restarted after the evacuation by the first and second evacuation units is completed. 前記アプリケーションを1つインストールする毎に、前記第1及び第2退避手段は退避を行う請求項1乃至4何れか一項に記載の情報処理装置。   5. The information processing apparatus according to claim 1, wherein each time one of the applications is installed, the first and second saving units perform saving. 前記アプリ情報及び/又は前記設定情報を設定変更する設定変更手段を備え、
前記第1退避手段は、前記設定変更手段により設定変更されたアプリ情報のみを退避し、
前記第2退避手段は、前記設定変更手段により設定情報された設定情報のみを退避する請求項1乃至5いずれか一項に記載の情報処理装置。
A setting changing means for changing the setting of the application information and / or the setting information;
The first saving unit saves only the application information whose setting is changed by the setting changing unit,
The information processing apparatus according to claim 1, wherein the second saving unit saves only the setting information set by the setting changing unit.
インストールされたアプリケーションの一覧から任意のアプリケーションを選択させる選択手段と、
当該情報処理装置を次に起動する時に、前記選択手段により選択されたアプリケーションを前記復元手段により復元させない削除手段を備える請求項1乃至6いずれか一項に記載の情報処理装置。
A selection means for selecting any application from the list of installed applications;
The information processing apparatus according to claim 1, further comprising: a deletion unit that does not restore the application selected by the selection unit by the restoration unit when the information processing apparatus is activated next.
オペレーティングシステムにアプリケーションを追加して、該アプリケーションを実行することが可能であり、前記オペレーティングシステムを格納する第1格納領域を含む複数の格納領域を有する格納手段を備える情報処理装置における情報処理方法であって、
前記第1格納領域への書き込みを禁止し、前記第1格納領域への書き込みが要求された場合は第2格納領域に書き込む書き込み禁止段階と、
前記書き込み禁止段階により前記第2格納領域に書き込まれた、新規にインストールしたアプリケーションを実行するのに必要なファイルであるアプリ情報を第3格納領域に退避する第1退避段階と、
前記アプリケーションの設定情報が記憶された記憶手段を監視する監視段階と、
前記監視段階により前記設定情報が追加及び/又は修正されたと判断された場合、該設定情報を前記第3格納領域に退避する第2退避段階と、
当該情報処理装置を次に起動する時に、退避された前記アプリ情報及び設定情報を前記第2格納手段に復元する復元段階と
を有する情報処理方法。
An information processing method in an information processing apparatus, which is capable of adding an application to an operating system and executing the application and having a storage unit having a plurality of storage areas including a first storage area for storing the operating system. There,
Writing to the first storage area is prohibited, and when writing to the first storage area is requested, writing to the second storage area is prohibited.
A first saving step for saving application information, which is a file necessary for executing a newly installed application, written to the second storage area by the write prohibition step to the third storage area;
A monitoring step of monitoring storage means in which the setting information of the application is stored;
A second saving step of saving the setting information to the third storage area when it is determined that the setting information has been added and / or modified by the monitoring step;
An information processing method comprising: a restoring step of restoring the saved application information and setting information to the second storage means when the information processing apparatus is next activated.
オペレーティングシステムにアプリケーションを追加して、該アプリケーションを実行し、前記オペレーティングシステムを格納する第1格納領域を含む複数の格納領域を有する格納手段を含む情報処理装置を制御するコンピュータを、
前記第1格納領域への書き込みを禁止し、前記第1格納領域への書き込みが要求された場合は第2格納領域に書き込む書き込み禁止手段と、
前記書き込み禁止手段により前記第2格納領域に書き込まれた、新規にインストールしたアプリケーションを実行するのに必要なファイルであるアプリ情報を第3格納領域に退避する第1退避手段と、
前記アプリケーションの設定情報が記憶された記憶手段を監視する監視手段と、
前記監視手段により前記設定情報が追加及び/又は修正されたと判断された場合、該設定情報を前記第3格納領域に退避する第2退避手段と、
当該情報処理装置を次に起動する時に、退避された前記アプリ情報及び設定情報を前記第2格納手段に復元する復元手段として機能させるためのコンピュータにより実行可能なプログラム。
A computer for controlling an information processing apparatus including a storage unit having a plurality of storage areas including a first storage area for adding an application to the operating system, executing the application, and storing the operating system;
Write prohibiting means for prohibiting writing to the first storage area, and writing to the second storage area when writing to the first storage area is requested;
First saving means for saving application information written to the second storage area by the write prohibition means, which is a file necessary for executing a newly installed application, to the third storage area;
Monitoring means for monitoring storage means in which the setting information of the application is stored;
A second evacuation unit for evacuating the setting information to the third storage area when the monitoring unit determines that the setting information has been added and / or modified;
A program executable by a computer for causing the application information and setting information saved to be restored to the second storage means when the information processing apparatus is next activated.
JP2008324616A 2008-12-19 2008-12-19 Information processing apparatus, information processing method, and program Expired - Fee Related JP5133230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008324616A JP5133230B2 (en) 2008-12-19 2008-12-19 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008324616A JP5133230B2 (en) 2008-12-19 2008-12-19 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2010146408A JP2010146408A (en) 2010-07-01
JP5133230B2 true JP5133230B2 (en) 2013-01-30

Family

ID=42566764

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008324616A Expired - Fee Related JP5133230B2 (en) 2008-12-19 2008-12-19 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5133230B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5585257B2 (en) * 2010-07-16 2014-09-10 株式会社リコー Image forming apparatus, device system, program management method, program
JP2012168879A (en) * 2011-02-16 2012-09-06 Nec Access Technica Ltd Information processor
JP5474916B2 (en) 2011-11-21 2014-04-16 シャープ株式会社 Information processing apparatus and multifunction machine

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3194900B2 (en) * 1997-11-13 2001-08-06 ▲ゆい▼ 徳 呉 Memory management method for computer having hard disk drive
JP2003131896A (en) * 2001-10-19 2003-05-09 Casio Comput Co Ltd Information processing device, restarting method and restarting program
JP4648097B2 (en) * 2005-06-06 2011-03-09 シャープ株式会社 Registry information repair method and information processing apparatus
JP4895718B2 (en) * 2006-08-14 2012-03-14 株式会社リコー Image forming apparatus, data recovery method, and recording medium

Also Published As

Publication number Publication date
JP2010146408A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
US20080126446A1 (en) Systems and methods for backing up user settings
US8199351B2 (en) Information processing system, information processing method, and computer-readable recording medium
JP4940599B2 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JPWO2006104197A1 (en) Processing device, program, and storage medium
JP2008084029A (en) Virtual machine management system
CN101996109B (en) Computer system, control method thereof and recording medium storing computer program thereof
JP4946141B2 (en) Configuration change program and information processing apparatus
JP5133230B2 (en) Information processing apparatus, information processing method, and program
KR20020097344A (en) Restoration Method of data on Hard Disk Drive
JP6191251B2 (en) Thin client terminal device and data backup control program
US11797292B2 (en) Information processing apparatus using swap file, control method therefor, and storage medium
JP2002222106A (en) Device and method for setting client environment in client/server system, program storage medium, and program
JP5338610B2 (en) Information processing apparatus, information processing method, and program
JP2006331256A (en) Information processing device, installation processing method, memory medium, and program
JP2009009494A (en) Information processor, information processing method and control program
JP2007066132A (en) Program system
JP6160688B2 (en) Information processing apparatus, information processing method, and information processing program
JP2002023964A (en) Method for controlling information stored in recording medium of computer system
JP5158883B2 (en) Firmware update method and firmware update apparatus
JP2007164392A (en) Computer
JP2020080120A (en) Information processing device, update method of information processing device, and update program of information processing device
US11928217B2 (en) Information processing apparatus, control method of information processing apparatus, and storage medium
JP7163739B2 (en) Information processing device, program update method, and program
JP2006107388A (en) Information processor, and information processing method and program
JPH10105383A (en) Uninstalling method for application program, and information recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121004

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

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

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

Free format text: PAYMENT UNTIL: 20151116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5133230

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees