JP2008090727A - Information processor, processing method, and information processing program - Google Patents
Information processor, processing method, and information processing program Download PDFInfo
- Publication number
- JP2008090727A JP2008090727A JP2006272979A JP2006272979A JP2008090727A JP 2008090727 A JP2008090727 A JP 2008090727A JP 2006272979 A JP2006272979 A JP 2006272979A JP 2006272979 A JP2006272979 A JP 2006272979A JP 2008090727 A JP2008090727 A JP 2008090727A
- Authority
- JP
- Japan
- Prior art keywords
- device driver
- information processing
- version information
- stored
- processing apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、デバイスドライバがインストールされた情報処理装置及びこの情報処理装置における情報処理方法、情報処理プログラムに関する。 The present invention relates to an information processing apparatus in which a device driver is installed, an information processing method in the information processing apparatus, and an information processing program.
近年のパーソナルコンピュータ(以下、PC)などの情報処理装置では、例えば情報処理装置に接続されたプリンタなどの周辺機器を制御するための制御プログラムがインストールされている。この制御プログラムは一般にデバイスドライバと呼ばれ、このデバイスドライバは、インストールセットと呼ばれる複数のモジュールから構成されている。デバイスドライバのインストールは、インストーラと呼ばれるデバイスドライバ導入のためのプログラムにより行われる。 In information processing apparatuses such as personal computers (hereinafter referred to as PCs) in recent years, a control program for controlling peripheral devices such as a printer connected to the information processing apparatus is installed. This control program is generally called a device driver, and this device driver is composed of a plurality of modules called an installation set. The device driver is installed by a program called device installer for introducing a device driver.
情報処理装置にインストールされたデバイスドライバは、情報処理装置において利用者が周辺機器を利用する際に、情報処理装置により呼び出されて実行される。このようなデバイスドライバの中には、例えば周辺機器を監視する機能を有するものもある。 The device driver installed in the information processing apparatus is called and executed by the information processing apparatus when the user uses the peripheral device in the information processing apparatus. Some of such device drivers have a function of monitoring peripheral devices, for example.
例えば周辺機器を監視するデバイスドライバでは、例えば一定時間毎に周辺機器の状態に係る情報を取得している。この場合デバイスドライバは、定期的に情報処理装置に呼び出されて実行されるため、例えばデバイスドライバの更新をインストールする場合に正常にインストールを行うことができない。 For example, in a device driver that monitors a peripheral device, for example, information related to the state of the peripheral device is acquired at regular intervals. In this case, since the device driver is periodically called and executed by the information processing apparatus, for example, when installing an update of the device driver, the device driver cannot be normally installed.
そこで従来の情報処理装置では、デバイスドライバの更新のインストールを正常に行うため、インストーラに一時的にモジュールを退避させるディレクトリを作成させ、そのディレクトリへ更新されたモジュールを退避させる。そして情報処理装置を再起動した後、情報処理装置がデバイスドライバを実行する前に、このディレクトリに退避された更新されたモジュールを用いてデバイスドライバの更新のインストールを行っている。 Therefore, in the conventional information processing apparatus, in order to normally install the device driver update, the installer temporarily creates a directory for saving the module, and the updated module is saved in the directory. Then, after the information processing apparatus is restarted and before the information processing apparatus executes the device driver, the update of the device driver is installed using the updated module saved in this directory.
また、デバイスドライバの更新を行う際には、デバイスドライバを構成する全てのモジュールがアップデートされることは少なく、アップデートされないモジュールも多く存在する場合がある。インストーラは、この場合にもデバイスドライバを構成するすべてのモジュールのアップデートを行う。 Further, when updating the device driver, all the modules constituting the device driver are rarely updated, and there may be many modules that are not updated. In this case, the installer also updates all the modules that make up the device driver.
その他、デバイスドライバの更新に関する技術として、例えば特開2004−326601号公報(特許文献1)には、印刷を行う際に実現される機能の追加、更新及び削除を適切に行える印刷制御装置、ユーザインターフェイス、印刷制御方法、コンピュータプログラム及びコンピュータ読み取り可能な記録媒体が記載されている。また、特開2003−308215号公報(特許文献2)には、デバイスドライバをコンピュータにインストールする際に、再起動が必要か必要でないかを判定し、該判定結果に基づいてインストール先のシステムを制御し、必要に再起動を行いつつ不要な再起動を減らす情報処理装置、制御方法、制御プログラムが記載されている。
しかしながら、上記従来の情報処理装置の再起動を行わない限り、デバイスドライバは更新されず、デバイスドライバに更新後の処理を実行させるためには情報処理装置の再起動が不可欠である。このため、例えばサーバ用途などにより終日稼働している情報処理装置のように、極力再起動を避けたい情報処理装置においてはデバイスドライバの更新を行うことが困難である。 However, unless the conventional information processing apparatus is restarted, the device driver is not updated, and restarting the information processing apparatus is indispensable in order for the device driver to execute the updated process. For this reason, it is difficult to update a device driver in an information processing apparatus that wants to avoid rebooting as much as possible, such as an information processing apparatus that operates all day for server applications.
また情報処理装置では、デバイスドライバにおいてアップデートされないモジュールも多く存在するにも関わらず、デバイスドライバを構成するすべてのモジュールのアップデートを行う。このため、例えばアップデートするためのプログラムをインターネット回線などを介してダウンロードする場合などには時間がかかる。 In addition, the information processing apparatus updates all the modules constituting the device driver even though there are many modules that are not updated in the device driver. For this reason, it takes time, for example, when a program for updating is downloaded via the Internet.
本発明は、上記の事情を鑑みてこれを解消すべく成されたものであり、再起動をしなくても、更新後のデバイスドライバの処理を実行することが可能な情報処理装置、情報処理方法、情報処理プログラムを提供することを目的とする。 The present invention has been made in view of the above-described circumstances, and is an information processing apparatus and information processing capable of executing updated device driver processing without rebooting. It is an object to provide a method and an information processing program.
本発明の情報処理装置は、上記の目的を達成するため、以下の如き構成を採用した。 In order to achieve the above object, the information processing apparatus of the present invention employs the following configuration.
本発明の情報処理装置は、バージョン情報を有するデバイスドライバが格納された第一の格納手段と、更新された前記デバイスドライバである更新デバイスドライバを取得して当該情報処理装置へ導入させる導入手段と、前記導入手段により導入された前記更新デバイスドライバが格納される第二の格納手段とを有する情報処理装置において、前記デバイスドライバは、前記第二の格納手段に格納された前記更新デバイスドライバを実行させる実行手段と、前記第二の格納手段に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得手段とを有し、前記実行手段は、前記バージョン情報取得手段により取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納手段に格納された前記更新デバイスドライバを実行させる構成とした。 An information processing apparatus according to the present invention includes a first storage unit that stores a device driver having version information, and an introduction unit that acquires an updated device driver that is the updated device driver and introduces the updated device driver into the information processing apparatus. And an information processing apparatus having a second storage means for storing the updated device driver introduced by the introducing means, wherein the device driver executes the updated device driver stored in the second storage means Executing means, and version information acquisition means for acquiring version information of the updated device driver stored in the second storage means, wherein the execution means is version information acquired by the version information acquisition means Is newer than the version information of the device driver, the second And configured to execute the stored in the storage unit the updated device driver.
係る構成によれば、情報処理装置を再起動をしなくても、更新後のデバイスドライバの処理を実行することが可能となる。 According to such a configuration, it is possible to execute the process of the updated device driver without restarting the information processing apparatus.
また、前記導入手段は、当該情報処理装置が再起動した直後に、前記第二の格納手段に格納された前記更新デバイスドライバを、前記第一の格納手段へ上書きし、前記第二の格納手段に格納された前記更新デバイスドライバを削除する構成とすることができる。 Further, immediately after the information processing apparatus is restarted, the introduction unit overwrites the update device driver stored in the second storage unit on the first storage unit, and the second storage unit The update device driver stored in the server can be deleted.
係る構成によれば、更新処理のための特定の記憶領域からではなく、デバイスドライバが格納さている所定の場所からデバイスドライバを実行することができる。 According to this configuration, the device driver can be executed not from a specific storage area for update processing but from a predetermined location where the device driver is stored.
また、前記デバイスドライバは、それぞれがバージョン情報を有する複数のモジュールにより構成されており、前記導入手段は、前記更新デバイスドライバを構成するモジュールのバージョン情報が、前記デバイスドライバを構成するモジュールのバージョン情報よりも新しいモジュールのみを導入させる構成とすることができる。 Further, the device driver is configured by a plurality of modules each having version information, and the introduction unit is configured such that the version information of the module configuring the update device driver is the version information of the module configuring the device driver. Only a newer module can be introduced.
係る構成によれば、デバイスドライバ全体に対して更新を行わずに、更新されたモジュールに対してのみ更新を行うことができる。また、デバイスドライバの更新処理において、デバイスドライバを構成するすべてのモジュールを更新する必要がない。よってデバイスドライバの更新処理において必要となるモジュールのみをダウンロードすれば良く、更新処理に必要なプログラムのダウンロード時間及び更新処理を短縮することができる。 According to such a configuration, it is possible to update only the updated module without updating the entire device driver. In the device driver update process, it is not necessary to update all the modules constituting the device driver. Therefore, it is sufficient to download only the modules necessary for the update process of the device driver, and the download time and update process of the program necessary for the update process can be shortened.
また、前記デバイスドライバは、前記第一の格納手段に格納されたモジュールの名称と同一名称のモジュールが、前記第二の格納手段に格納されているか否かを検索する検索手段を有し、前記検索手段により検索された前記モジュールのバージョン情報が、前記第一の格納手段に格納された対応するモジュールのバージョン情報よりも新しいとき、前記実行手段は、前記第一の格納手段に格納されたモジュールの替わりに、前記検索手段に検索された前記モジュールを実行させる構成とすることができる。 In addition, the device driver includes a search unit that searches whether a module having the same name as the module stored in the first storage unit is stored in the second storage unit, When the version information of the module searched by the search means is newer than the version information of the corresponding module stored in the first storage means, the execution means stores the module stored in the first storage means. Instead of this, it is possible to have a configuration in which the searched module is executed by the search means.
係る構成によれば、更新されたモジュールのみを更新することができる。 According to this configuration, only the updated module can be updated.
また、本発明の情報処理装置は表示装置を有し、前記導入手段は、前記更新デバイスドライバの導入に係る状況を前記表示装置へ表示させる構成とすることができる。 The information processing apparatus according to the present invention may include a display device, and the introduction unit may display a status related to the introduction of the update device driver on the display device.
係る構成によれば、ユーザに処理の遷移状況を把握させることができる。 According to this configuration, the user can be made aware of the process transition status.
また、前記導入手段は、前記第二の格納手段に格納された前記更新デバイスドライバを、前記第一の格納手段へ上書きする処理がエラーとなった場合、前記表示装置へエラーメッセージを表示させる構成とすることができる。 The introduction unit is configured to display an error message on the display device when an error occurs in the process of overwriting the update device driver stored in the second storage unit to the first storage unit. It can be.
係る構成によれば、更新処理がエラーとなったときに、ユーザへ処理の再実行を促すことができる。 According to such a configuration, it is possible to prompt the user to re-execute the process when the update process results in an error.
本発明の情報処理方法は、バージョン情報を有するデバイスドライバが格納された第一の格納部と、更新された前記デバイスドライバである更新デバイスドライバを取得して当該情報処理装置へ導入させる導入部と、前記導入部により導入された前記更新デバイスドライバが格納される第二の格納部とを有する情報処理装置における情報処理方法において、前記デバイスドライバは、前記第二の格納部に格納された前記更新デバイスドライバを実行させる実行手順と、前記第二の格納部に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得手順とを有し、前記実行手順は、前記バージョン情報取得手順により取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納部に格納された前記更新デバイスドライバを実行させる方法とすることができる。 An information processing method of the present invention includes a first storage unit that stores a device driver having version information, an introduction unit that acquires an updated device driver that is the updated device driver, and introduces the updated device driver into the information processing apparatus. In the information processing method in the information processing apparatus having the second storage unit in which the updated device driver introduced by the introduction unit is stored, the device driver stores the update stored in the second storage unit An execution procedure for executing a device driver; and a version information acquisition procedure for acquiring version information of the updated device driver stored in the second storage unit. The execution procedure is acquired by the version information acquisition procedure. When the version information is newer than the version information of the device driver, It can be a way to run serial stored in the second storage unit the updated device driver.
係る方法によれば、再起動をしなくても、更新後のデバイスドライバの処理を実行することが可能となる。 According to such a method, it is possible to execute the process of the updated device driver without restarting.
本発明の情報処理プログラムは、バージョン情報を有するデバイスドライバが格納された第一の格納部と、更新された前記デバイスドライバである更新デバイスドライバを取得して当該情報処理装置へ導入させる導入部と、前記導入部により導入された前記更新デバイスドライバが格納される第二の格納部とを有する情報処理装置における情報処理プログラムにおいて、コンピュータに、前記デバイスドライバによる前記第二の格納部に格納された前記更新デバイスドライバを実行させる実行ステップと、前記デバイスドライバによる前記第二の格納部に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得ステップとを実行させ、前記実行ステップは、前記バージョン情報取得ステップにより取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納部に格納された前記更新デバイスドライバを実行するプログラムとすることができる。 An information processing program of the present invention includes a first storage unit that stores a device driver having version information, an introduction unit that acquires an updated device driver that is the updated device driver, and introduces the updated device driver into the information processing apparatus. In the information processing program in the information processing apparatus having the second storage unit in which the updated device driver introduced by the introduction unit is stored, the information stored in the second storage unit by the device driver in the computer An execution step of executing the update device driver and a version information acquisition step of acquiring version information of the update device driver stored in the second storage unit by the device driver are executed, and the execution step includes the step of The version acquired by the version information acquisition step John information, the time newer than the version information included in the device driver can be a program that executes the updating device driver stored in the second storage unit.
係るプログラムによれば、再起動をしなくても、更新後のデバイスドライバの処理を実行することが可能となる。 According to such a program, it is possible to execute the process of the updated device driver without restarting.
本発明によれば、再起動をしなくても、更新後のデバイスドライバの処理を実行することが可能な情報処理装置、情報処理方法、情報処理プログラムを提供する。 According to the present invention, there are provided an information processing apparatus, an information processing method, and an information processing program capable of executing the process of an updated device driver without restarting.
本発明の情報処理装置は、更新されたデバイスドライバを格納する記憶手段を有する。情報処理装置にインストールされた既存のデバイスドライバは、記憶手段に格納されたデバイスドライバが、該デバイスドライバよりも新しいバージョンであった場合、この記憶手段より更新されたデバイスドライバを読み込んで実行させることにより、情報処理装置を再起動せずに更新されたデバイスドライバの処理を行う。
(第一の実施形態)
以下に図面を参照して本発明の第一の実施形態について説明する。図1は、本発明の情報処理装置10の機能構成を示す機能ブロック図である。
The information processing apparatus of the present invention has storage means for storing the updated device driver. The existing device driver installed in the information processing apparatus reads and executes the updated device driver from the storage unit when the device driver stored in the storage unit is a newer version than the device driver. Thus, the updated device driver is processed without restarting the information processing apparatus.
(First embodiment)
A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing a functional configuration of an
情報処理装置10は、デバイスドライバ記憶領域20に格納されたデバイスドライバ30、インストーラ40、記憶領域50、ディスプレイ60とを備える。
The
情報処理装置10は、例えば一般のPCなどによりその機能が実現可能であり、デバイスドライバ30は、情報処理装置10に接続された周辺機器を制御するプログラムである。ここで言う周辺機器とは、例えば情報処理装置10に適切な方法で接続されたプリンタやスキャナなどである。
The function of the
また情報処理装置10は、デバイスドライバ30を更新する際に、外部よりアップデートされたデバイスドライバをダウンロードし、インストーラ40によりこのアップデートされたデバイスドライバを記憶領域50へ格納する。そして情報処理装置10は、デバイスドライバ30を実行させる替わりに、記憶領域50に格納された、アップデート済みのデバイスドライバを実行させることにより、情報処理装置10を再起動させずにデバイスドライバ更新時の処理を実現させる。尚、アップデートされたデバイスドライバ30を、以下の説明において更新デバイスドライバと呼ぶ。
Further, when updating the
以下に情報処理装置10の各構成要素について説明する。
Hereinafter, each component of the
デバイスドライバ記憶領域20は、デバイスドライバ30のインストール先であり、デバイスドライバ30が格納される格納手段である。デバイスドライバ記憶領域20は、例えば情報処理装置10の備える記憶手段であるハードディスク(以下、HDD40)などにより実現される。
The device
デバイスドライバ30は、複数のモジュールにより構成されるものであり、ドライバ処理実行部31、再起動処理抑止部33とを備える。デバイスドライバ30を構成するモジュールは、例えばインストールセットと呼ばれるプログラム群により構成される。
The
ドライバ処理実行部31は、デバイスドライバ30をデバイスドライバ30として機能させる処理を実行する。再起動抑止部33は、デバイスドライバ30の更新による情報処理装置10の再起動を抑止するための処理を行う。情報処理装置10は、この再起動抑止部33における処理により、情報処理装置10を再起動せずに、デバイスドライバ30があたかも更新されたように処理を行うことができる。
The driver
再起動抑止部33は、同名モジュール検索部35、バージョン情報取得部36、ロード部37、関数コール部38とから構成されている。同名モジュール検索部35は、記憶領域50にデバイスドライバ30を構成するモジュールと同じ名称のモジュールが格納させているか否かを検索する。バージョン情報取得部36は、記憶領域50に格納されたモジュールのバージョン情報を取得する。ロード部37は、記憶領域50に格納されたモジュールをワークメモリ上に展開する。関数コール部38は、ロード部37により展開されたモジュールを構成するプログラムに含まれる関数を呼び出し実行させる。
The
インストーラ40は、デバイスドライバ30や、デバイスドライバ30をアップデートしたプログラムである更新デバイスドライバを、情報処理装置10へ導入する導入手段であり、これらのデバイスドライバを情報処理装置10へインストールする。インストーラ40は、ユーザインターフェース表示部42、モジュールコピー部44、モジュール削除部46、バージョン情報取得部48とから構成されている。
The
ユーザインターフェース表示部42は、ディスプレイ60における表示の制御を行う。モジュールコピー部44は、モジュールを記憶領域50へコピーする。モジュール削除部46は、記憶領域50に記憶されているモジュールを、記憶領域50から削除する。バージョン情報取得部48は、デバイスドライバ30を構成するモジュールのバージョン情報を取得する。
The user
記憶領域50は、インストーラ40により更新デバイスドライバが格納される格納手段であり、例えば情報処理装置10の備える記憶手段であるメモリやHDDにより実現されても良い。ディスプレイ60は、情報処理装置10の備える表示装置であり、例えば液晶ディスプレイなどにより実現されても良い。
The
以下に情報処理装置10の動作を説明する。まず、図2を参照してインストーラ40の処理を説明する。図2は、本発明の情報処理装置10におけるインストーラ40の処理を説明するフローチャートの例である。
The operation of the
情報処理装置10のユーザにより、情報処理装置10の外部から更新デバイスドライバがダウンロードされて、この更新デバイスドライバのインストール指示が成されると、情報処理装置10はインストーラ40を起動させる。このときインストーラ40は、ユーザインターフェース表示部42によりディスプレイ60へ、インストーラ40の処理遷移状況を表示させる。ここでいう処理遷移状況とは、例えばソフトウェアの使用承認ダイアログや、後に説明するモジュールのコピー処理に係る状態などである。
When the user of the
インストーラ40は起動された後、バージョン情報取得部48により、デバイスドライバ記憶領域20に格納(インストール)されたデバイスドライバ30を構成するモジュールのバージョン情報を取得する(S21)。次にインストーラ40は、バージョン情報取得部48により取得したバージョン情報と、更新デバイスドライバを構成するモジュールのバージョン情報とを比較する(S22)。
After the
尚ここで、インストーラ40は、更新デバイスドライバを構成するすべてのモジュールをダウンロードし、それぞれのモジュールにおいてS22の比較処理を行っても良い。この場合、バージョン情報取得部48は、S21においてデバイスドライバ30を構成するすべてのモジュールのバージョン情報を取得することが好ましい。
Here, the
またインストール40は、更新デバイスドライバを構成するモジュールのうち特定のモジュールのみをダウンロードし、デバイスドライバ30を構成するモジュールのうち、この特定のモジュールと対応するモジュールに対してS22の比較処理を行っても良い。この場合、バージョン情報取得部48は、S21においてデバイスドライバ30を構成するモジュールのうち、この特定のモジュールに対応するモジュールのバージョン情報のみを取得しても良い。
In addition, the
さらにインストーラ40は、更新デバイスドライバを構成するモジュールのうち、デバイスドライバ30を構成するモジュールと比較して更新されたモジュールのみをダウンロードし、これに対してS22の比較処理を行っても良い。この場合、バージョン情報取得部48は、S21において、更新されるモジュールのバージョン情報のみを取得すればよい。
Furthermore, the
インストーラ40は、S22の比較処理において、更新デバイスドライバを構成するモジュールのバージョン情報が、S21で取得したデバイスドライバ30を構成するモジュールのバージョン情報よりも古い場合、ユーザインターフェース表示部42によりディスプレイ60へその旨を表示させる(S28)。そしてインストール処理を終了する。ここではディスプレイ60には、例えばインストール処理の終了を示すメッセージなどが表示されても良い。
When the version information of the modules constituting the updated device driver is older than the version information of the modules constituting the
インストーラ40は、S22の比較処理において、更新デバイスドライバを構成するモジュールのバージョン情報が、S21で取得したデバイスドライバ30を構成するモジュールのバージョン情報より新しかった場合、このデバイスドライバ30を構成するモジュールを更新する更新インストール処理を開始する。
If the version information of the module constituting the updated device driver is newer than the version information of the module constituting the
まずインストーラ40は、モジュールコピー部44により、更新されたモジュールである更新モジュールを記憶領域50へ格納する(S23)。
First, the
インストール40は、S23において更新モジュールが記憶領域50へ正常にコピーされると(S24)、情報処理装置10が再起動されるまで記憶領域50において更新モジュールを保持する。そしてインストール40は、情報処理装置10が再起動され、情報処理装置宇10のオペレーティングシステム(以下、OS)が起動された直後に、更新モジュールをデバイスドライバ記憶領域20内へ格納する(S25)。ここで言う格納とは、更新モジュールが、デバイスドライバ記憶領域20に格納されている旧バージョンのモジュールへ上書きされてコピーされることを示す。
When the update module is normally copied to the
また、ここで言うOSの起動直後とは、具体的には、例えばデバイスドライバの起動を行うサービスが起動される前を示す。デバイスドライバの起動を行うサービスとは、例えばマイクロソフト社のWindows(登録商標)上で動作するプリンタドライバの場合には、プリントシステムのロードを行うスプーラサービスである。インストーラ40は、例えばこのスプーラサービスが起動される前に更新モジュールを記憶領域50にコピーしても良い。
Further, the term “immediately after starting the OS” mentioned here specifically indicates, for example, before a service for starting a device driver is started. The service for starting the device driver is a spooler service for loading the print system in the case of a printer driver that operates on Windows (registered trademark) of Microsoft Corporation, for example. For example, the
インストーラ40は、デバイスドライバ記憶領域20への更新モジュールの上書きコピー処理が正常に終了すると(S26)、記憶領域50からこの更新モジュールを削除する(S27)。尚ここでインストーラ40は、モジュールのコピー処理が正常に行われなかった場合、ユーザインターフェース表示部42により、ディスプレイ60に更新インストール処理を失敗した旨を示すメッセージを表示させても良い。またこのとき、インストーラ40はユーザインターフェース表示部42によりディスプレイ60に、インストール処理の再実行を促すメッセージを表示させても良い。
When the update copy process of the update module to the device
また、S21において取得したデバイスドライバ30を構成するモジュールのバージョン情報が、更新デバイスドライバを構成するモジュールのバージョン情報よりも新しい場合、インストーラ40は、ユーザインターフェース表示部42によりディスプレイ60へその旨を表示させ(S28)、インストール処理を終了する。ここではディスプレイ60には、例えばインストール処理の終了を示すメッセージなどが表示されても良い。
If the version information of the module constituting the
インストーラ40では、以上のようにして更新デバイスドライバをデバイスドライバ記憶領域20へインストールする。またインストーラ40は、例えば更新モジュールが記憶領域50にコピーされた後、情報処理装置10の再起動前に再度更新インストール処理の実行指示を受けた場合、ユーザインターフェース表示部42によりディスプレイ60に、既に更新インストール処理が終了している旨を示すメッセージを表示させても良い。
The
次に、図3を参照してデバイスドライバ30の処理について説明する。図3は、本発明の情報処理装置10におけるデバイスドライバ30の処理を説明するフローチャートの例である。
Next, processing of the
デバイスドライバ30は、情報処理装置10のOSによりコールされることにより、処理が実行される。
The
デバイスドライバ30はOSよりコールされると、同名モジュール検索部35により、記憶領域50にデバイスドライバ30を構成するモジュールと同一の名前の更新モジュールが存在するか否か検索する(S31、S32)。S32においてデバイスドライバ30を構成するモジュールと同一の名前の更新モジュールが記憶領域50内に存在しない場合、デバイスドライバ30は、デバイスドライバ30が更新されないものとして、ドライバ処理実行部31にデバイスドライバ30の処理を実行させる(S33)。
When the
S32においてデバイスドライバ30を構成するモジュールと同一名の同名更新モジュールが記憶領域50内に存在していた場合、デバイスドライバ30は、この同名更新モジュールのバージョン情報を取得する(S34)。そしてデバイスドライバ30は、S34で取得した同名更新モジュールのバージョン情報と、これに対応する当該デバイスドライバ30を構成するモジュールのバージョン情報とを比較する(S35)。
When the same name update module having the same name as the module constituting the
デバイスドライバ30は、同名更新モジュールのバージョン情報の方が、対応する当該デバイスドライバ30を構成するモジュールのバージョン情報よりも新しい場合、ロード部37により記憶領域50に格納されている同名更新モジュールを例えばワークメモリ上などへロード(展開)させる(S36)。
When the version information of the same name update module is newer than the version information of the module constituting the
デバイスドライバ30は、同名更新モジュールが正常にロードされると(S37)、同名更新モジュールが記憶領域50内にコピーされているものと判断し、関数コール部38により同名更新モジュールから更新された関数をコールする(S38)。そしてデバイスドライバ30はこの関数を実行する。このとき、ドライバ処理実行部31において実行される処理は更新前の処理とみなされ、実行されない。
When the same name update module is normally loaded (S37), the
またデバイスドライバ30は、S37において同名更新モジュールが正常にロードされない場合、デバイスドライバ30の更新は不可能とみなし、ドライバ処理実行部31において実行される、更新前の処理を実行する。
If the same name update module is not loaded normally in S37, the
このように本実施形態の情報処理装置10では、上記のデバイスドライバ30とインストーラ40とを組み合わせて使用することにより、デバイスドライバ更新時の再起動を抑制することができる。よって、情報処理装置10のユーザは、デバイスドライバの更新に伴う再起動を所望するときに行えば良い。
As described above, in the
また、本発明の情報処理装置10では、デバイスドライバ30の更新において、デバイスドライバ全体を更新せずに、デバイスドライバ30を構成するモジュールのうち、更新されたモジュールのみ更新処理を行うことができる。このため、更新版のデバイスドライバをダウンロードする際には、更新版のモジュールのみをダウンロードすれば良く、ダウンロードに係る時間及び更新処理にかかる時間を短縮することができる。
Further, in the
次に、図4を参照して上記実施形態で説明した各機能を実現させる情報処理プログラムが記録された記録媒体を説明する。記録媒体410に記録された情報処理プログラム400が、コンピュータ500に読み込まれて実行されることにより、本実施形態で説明した各機能を実現することができる。
Next, a recording medium on which an information processing program for realizing each function described in the above embodiment is recorded will be described with reference to FIG. The
例えばコンピュータ500は、CPU510、ハードディスク520、メモリ530、表示部540、入力部550、通信部560、記録媒体読込部570を備えている。CPU510は演算処理装置であって、コンピュータ500において実行される演算や処理を実行する。ハードディスク520は、データを格納する記憶手段であって、コンピュータ500上で動作するアプリケーションや、このアプリケーションにより作成されたデータなどが格納されている。メモリ530には、コンピュータ500に係る各種の設定値や、CPU510での演算結果などが格納される。
For example, the
表示部540はディスプレイなどであり、コンピュータ500において作成されたデータなどをユーザに閲覧可能に表示する。入力部550は例えばキーボードやマウスであって、ユーザの操作により各種データが入力される。通信部560は例えばネットワークコントロールユニットなどであり、コンピュータ500が外部の装置と通信を行うためのものである。記録媒体読込部570は、各種記録媒体に記録されたデータやプログラムなどを読み込むものであり、例えばフロッピー(登録商標)ディスクドライバなどである。
The
記録媒体410は、本実施形態の各機能を実現させる情報処理プログラム400が記録されている。この情報処理プログラム400は、記録媒体読込部570により読み込まれてCPU510において実行される。記録媒体410は、例えばフロッピー(登録商標)ディスクやCD−ROM(Compact Disk Read Only Memory)等であっても良く、コンピュータ500において読み取り可能なに媒体であれば良い。また、情報処理プログラム400はネットワークを介して通信部560により受信されて、ハードディスク520等に格納されても良い。
The
以上、各実施形態に基づき本発明の説明を行ってきたが、上記実施形態にあげた構成、その他の要素との組み合わせなど、ここで示した要件に本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することが可能であり、その応用形態に応じて適切に定めることができる。 As described above, the present invention has been described based on each embodiment. However, the present invention is not limited to the requirements shown here, such as the configurations described in the above embodiment and combinations with other elements. With respect to these points, the present invention can be changed within a range that does not detract from the gist of the present invention, and can be appropriately determined according to the application form.
本発明は、デバイスドライバがインストールされた情報処理装置及びこの情報処理装置における情報処理方法、情報処理プログラムに利用可能である。 The present invention can be used for an information processing apparatus in which a device driver is installed, an information processing method in the information processing apparatus, and an information processing program.
10 情報処理装置
20 デバイスドライバ記憶領域
30 デバイスドライバ
31 ドライバ処理実行部
33 再起動抑止部
35 同名モジュール検索部
36、48 バージョン情報取得部
37 ロード部
38 関数コール部
40 インストーラ
50 記憶領域
60 ディスプレイ
400 情報処理プログラム
410 記録媒体
DESCRIPTION OF
Claims (8)
前記デバイスドライバは、前記第二の格納手段に格納された前記更新デバイスドライバを実行させる実行手段と、
前記第二の格納手段に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得手段とを有し、
前記実行手段は、前記バージョン情報取得手段により取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納手段に格納された前記更新デバイスドライバを実行させることを特徴とする情報処理装置。 First storage means in which a device driver having version information is stored, introduction means for acquiring an updated device driver, which is the updated device driver, and introducing the updated device driver into the information processing apparatus, and introduced by the introduction means In an information processing apparatus having second storage means for storing the update device driver,
The device driver has execution means for executing the update device driver stored in the second storage means;
Version information acquisition means for acquiring version information of the updated device driver stored in the second storage means;
The execution means causes the update device driver stored in the second storage means to be executed when the version information acquired by the version information acquisition means is newer than the version information of the device driver. Information processing apparatus.
前記第二の格納手段に格納された前記更新デバイスドライバを、前記第一の格納手段へ上書きし、
前記第二の格納手段に格納された前記更新デバイスドライバを削除することを特徴とする請求項1に記載の情報処理装置。 The introducing means immediately after the information processing apparatus is restarted,
Overwriting the updated device driver stored in the second storage means to the first storage means;
The information processing apparatus according to claim 1, wherein the update device driver stored in the second storage unit is deleted.
前記導入手段は、前記更新デバイスドライバを構成するモジュールのバージョン情報が、前記デバイスドライバを構成するモジュールのバージョン情報よりも新しいモジュールのみを導入させることを特徴とする請求項1または2に記載の情報処理装置。 The device driver is composed of a plurality of modules each having version information.
The information according to claim 1, wherein the introduction unit introduces only a module whose version information of the module constituting the update device driver is newer than the version information of the module constituting the device driver. Processing equipment.
前記検索手段により検索された前記モジュールのバージョン情報が、前記第一の格納手段に格納された対応するモジュールのバージョン情報よりも新しいとき、
前記実行手段は、前記第一の格納手段に格納されたモジュールの替わりに、前記検索手段に検索された前記モジュールを実行させることを特徴とする請求項3記載の情報処理装置。 The device driver has search means for searching whether a module having the same name as the module name stored in the first storage means is stored in the second storage means,
When the version information of the module searched by the search means is newer than the version information of the corresponding module stored in the first storage means,
The information processing apparatus according to claim 3, wherein the execution unit causes the search unit to execute the searched module instead of the module stored in the first storage unit.
前記導入手段は、前記更新デバイスドライバの導入に係る状況を前記表示装置へ表示させることを特徴とする請求項1ないし4のいずれか一項に記載の情報処理装置。 Having a display device;
5. The information processing apparatus according to claim 1, wherein the introduction unit causes the display device to display a status relating to the introduction of the update device driver.
前記デバイスドライバは、前記第二の格納部に格納された前記更新デバイスドライバを実行させる実行手順と、
前記第二の格納部に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得手順とを有し、
前記実行手順は、前記バージョン情報取得手順により取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納部に格納された前記更新デバイスドライバを実行させることを特徴とする情報処理方法。 A first storage unit that stores a device driver having version information, an introduction unit that obtains an updated device driver that is the updated device driver, and introduces the updated device driver into the information processing apparatus; In an information processing method in an information processing apparatus having a second storage unit in which the updated device driver is stored,
The device driver has an execution procedure for executing the update device driver stored in the second storage unit;
A version information acquisition procedure for acquiring version information of the updated device driver stored in the second storage unit;
The execution procedure causes the update device driver stored in the second storage unit to be executed when the version information acquired by the version information acquisition procedure is newer than the version information of the device driver. Information processing method.
コンピュータに
前記デバイスドライバによる、前記第二の格納部に格納された前記更新デバイスドライバを実行させる実行ステップと、
前記デバイスドライバによる、前記第二の格納部に格納された前記更新デバイスドライバのバージョン情報を取得するバージョン情報取得ステップとを実行させ、
前記実行ステップは、前記バージョン情報取得ステップにより取得されたバージョン情報が、前記デバイスドライバの有するバージョン情報よりも新しいとき、前記第二の格納部に格納された前記更新デバイスドライバを実行することを特徴とする情報処理プログラム。 A first storage unit that stores a device driver having version information, an introduction unit that obtains an updated device driver that is the updated device driver, and introduces the updated device driver into the information processing apparatus; In an information processing program in an information processing apparatus having a second storage unit in which the updated device driver is stored,
An execution step of causing a computer to execute the updated device driver stored in the second storage unit by the device driver;
A version information acquisition step of acquiring version information of the updated device driver stored in the second storage unit by the device driver;
The execution step executes the updated device driver stored in the second storage unit when the version information acquired in the version information acquisition step is newer than the version information of the device driver. Information processing program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006272979A JP2008090727A (en) | 2006-10-04 | 2006-10-04 | Information processor, processing method, and information processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006272979A JP2008090727A (en) | 2006-10-04 | 2006-10-04 | Information processor, processing method, and information processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008090727A true JP2008090727A (en) | 2008-04-17 |
Family
ID=39374782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006272979A Pending JP2008090727A (en) | 2006-10-04 | 2006-10-04 | Information processor, processing method, and information processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008090727A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015198972A1 (en) * | 2014-06-25 | 2015-12-30 | Ricoh Company, Ltd. | Information processing apparatus, information processing method, and recording medium |
JP2018085027A (en) * | 2016-11-25 | 2018-05-31 | コニカミノルタ株式会社 | Updating method of driver for operating respective functions of image forming apparatus, and program |
-
2006
- 2006-10-04 JP JP2006272979A patent/JP2008090727A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015198972A1 (en) * | 2014-06-25 | 2015-12-30 | Ricoh Company, Ltd. | Information processing apparatus, information processing method, and recording medium |
JP2016010024A (en) * | 2014-06-25 | 2016-01-18 | 株式会社リコー | Information processing apparatus, image processing method, program, and image forming apparatus |
US11210052B2 (en) | 2014-06-25 | 2021-12-28 | Ricoh Company, Ltd. | Information processing apparatus controlling screen to be displayed |
JP2018085027A (en) * | 2016-11-25 | 2018-05-31 | コニカミノルタ株式会社 | Updating method of driver for operating respective functions of image forming apparatus, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7791745B2 (en) | Information processing apparatus on which printer driver can be installed, information processing apparatus, control method, program, and storage medium | |
JP5232427B2 (en) | Information processing system and firmware setting change method | |
US8782636B2 (en) | Information processing apparatus, control method thereof, and program | |
JP2009259197A (en) | Information processor and its starting method | |
US9250933B2 (en) | Information processor with configuration modification function | |
US8341385B2 (en) | Information processing device, information processing method, and computer readable medium therefor | |
JP2015212879A (en) | Information processing apparatus and control method of the same, and program | |
CN108984192B (en) | Information processing apparatus, computer readable medium, and program management method | |
JP2011180681A (en) | Installer and method for installing printer driver | |
US10019212B2 (en) | Printing apparatus that decompresses and updates software installed therein, method of controlling the same, and storage medium | |
US20130055230A1 (en) | Method and apparatus to install software automatically | |
JP4828842B2 (en) | Reinstallation software creation method, reinstallation software creation program, installation method, installation program, and computer device | |
JP2008090727A (en) | Information processor, processing method, and information processing program | |
JP2007066132A (en) | Program system | |
JP4802607B2 (en) | Image processing device | |
JP2006099187A (en) | Information processor | |
US11797292B2 (en) | Information processing apparatus using swap file, control method therefor, and storage medium | |
JP4792744B2 (en) | Image processing device | |
JP2006331256A (en) | Information processing device, installation processing method, memory medium, and program | |
JP5133230B2 (en) | Information processing apparatus, information processing method, and program | |
JP2006268643A (en) | Program, information processor and print system | |
JP2008071288A (en) | Software management method and management system | |
JP4693911B2 (en) | Information processing system, control method therefor, server device, and control program therefor | |
JP2020080120A (en) | Information processing device, update method of information processing device, and update program of information processing device | |
JP4678342B2 (en) | Print control program |