JP2009245098A - Program-updating method and computer system - Google Patents
Program-updating method and computer system Download PDFInfo
- Publication number
- JP2009245098A JP2009245098A JP2008089962A JP2008089962A JP2009245098A JP 2009245098 A JP2009245098 A JP 2009245098A JP 2008089962 A JP2008089962 A JP 2008089962A JP 2008089962 A JP2008089962 A JP 2008089962A JP 2009245098 A JP2009245098 A JP 2009245098A
- Authority
- JP
- Japan
- Prior art keywords
- program
- update
- usb
- media drive
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、USB(ユニバーサル・シリアル・バス)ハブおよびこのUSBハブに接続
されたUSBデバイスが搭載されているUSBデバイス機器のUSBデバイスを交換した
後に、このUSBデバイス機器に接続されるホストコンピュータに搭載されているプログ
ラムをアップデートすることができるプログラムのアップデート方法およびコンピュータ
システムに関する。
The present invention relates to a host computer connected to a USB (Universal Serial Bus) hub and a USB device connected to the USB device after the USB device of the USB device connected to the USB hub is replaced. The present invention relates to a program update method and a computer system capable of updating an installed program.
USBハブおよびこのUSBハブに接続されている複数のUSBデバイスが搭載されて
いるUSBデバイス機器としては、CDやDVDなどのメディアに対してデータの書き込
みおよびレーベルの印刷を行うメディア処理装置がある。メディア処理装置は、例えば、
特許文献1に記載されており、これに搭載されているメディアドライブ、レーベルプリン
タ、メディアを搬送するためのメディア搬送機構などがUSBデバイスである。USBデ
バイス機器は、このUSBデバイス機器に接続されるホストコンピュータに搭載されてい
るデバイスドライバやアプリケーションプログラムなどのプログラムから駆動制御するこ
とが可能になっている。
A USB device includes a media drive, a label printer, a media transport mechanism for transporting media, and the like that are described in Patent Document 1. The USB device device can be driven and controlled from a program such as a device driver or an application program installed in a host computer connected to the USB device device.
USBデバイス機器が故障すると、修理の過程で、USBハブに接続されているUSB
デバイスが製品名や型番などの異なる新たなものに交換されることがある。製品の出荷時
にUSBハブに接続されていたUSBデバイスと同一の型番の製品の在庫が故障の時点ま
で確保されているとは限らないからである。或いは、バージョンアップをして、新しいも
のに交換される場合もある。
If a USB device fails, the USB connected to the USB hub during the repair process
The device may be replaced with a new one with a different product name or model number. This is because a stock of a product having the same model number as the USB device connected to the USB hub at the time of product shipment is not always secured until the time of the failure. Alternatively, the version may be upgraded and replaced with a new one.
ここで、デバイスドライバはUSBデバイス機器に搭載されている各USBデバイスを
そのファームウエアと連携して駆動制御している。また、ホストコンピュータに搭載され
ているアプリケーションプログラムの中には、USBデバイス機器に搭載されている各U
SBデバイスを、デバイスドライバの場合と同様に、各USBデバイスに搭載されている
ファームウエアと連携して駆動制御しているコントロール手段を含んでいるものがある。
このため、USBデバイスが新たなものに交換された場合には、交換されたUSBデバイ
スのファームウエアとデバイスドライバやコントロール手段とが対応しなくなり、これら
のプログラムからUSBデバイス機器を駆動制御することができなくなることがある。
Here, the device driver drives and controls each USB device mounted on the USB device device in cooperation with the firmware. In addition, the application program installed in the host computer includes each U program installed in the USB device.
As in the case of the device driver, there is a device that includes a control unit that controls driving of the SB device in cooperation with firmware installed in each USB device.
For this reason, when a USB device is replaced with a new one, the firmware of the replaced USB device does not correspond to the device driver or control means, and the USB device device can be driven and controlled from these programs. It may not be possible.
プログラムからUSBデバイス機器を駆動制御することができなくなると、ユーザーは
プログラムをアップデートして、デバイスドライバやコントロール手段を交換されたUS
Bデバイスのファームウエアに対応させなければならない。しかし、アップデートを行う
ためには、ユーザーは最新のプログラムなどのアップデート用プログラムを別途ダウンロ
ードするなどして入手しなければならないという問題がある。また、交換されたUSBデ
バイスに対応している適切なアップデート用プログラムを用いてアップデートを行わなけ
れば、アップデートしてもプログラムからUSBデバイス機器を駆動制御することができ
ないという問題が発生する。
When it becomes impossible to drive and control the USB device device from the program, the user updates the program and the device driver and control means are exchanged.
It must correspond to the firmware of the B device. However, in order to perform the update, there is a problem that the user has to obtain an update program such as the latest program separately. Further, if the update is not performed using an appropriate update program corresponding to the replaced USB device, there is a problem that the USB device device cannot be driven and controlled from the program even if the update is performed.
本発明の課題は、このような点に鑑みて、USBデバイス機器に搭載されているUSB
デバイスを交換した後に、ユーザーの手を煩わせることなくホストコンピュータに搭載さ
れているプログラムを最適なものにアップデートすることができるプログラムのアップデ
ート方法、およびコンピュータシステムを提案することにある。
In view of these points, the problem of the present invention is that the USB mounted on the USB device device.
An object of the present invention is to propose a program update method and a computer system capable of updating a program installed in a host computer to an optimal one without changing the device after replacing the device.
上記課題を解決するために、本発明は、USBハブおよびこのUSBハブに接続された
USBデバイスが搭載されているUSBデバイス機器の前記USBデバイスを交換した後
に、前記USBデバイス機器を駆動制御するもので、当該USBデバイス機器に接続され
るホストコンピュータに搭載されているプログラムをアップデートするためのプログラム
のアップデート方法であって、
前記USBデバイスを交換する前に、前記USBデバイスのデバイス情報を記憶保持す
るデバイス情報記憶工程と、
前記USBデバイスを交換したときに、前記プログラムのアップデートを行うためのア
ップデート用プログラムを記憶保持している記憶デバイスを前記USBハブに接続する記
憶デバイス接続工程と、
前記USBデバイス機器と前記ホストコンピュータとを接続する接続工程と、
交換された前記USBデバイスのデバイス情報を取得するデバイス情報取得工程と、
前記USBデバイスのデバイス情報と、記憶保持されている前記USBデバイスのデバ
イス情報とに基づいて前記プログラムのアップデートが必要か否かを判断するアップデー
ト判断工程と、
前記アップデートが必要と判断された場合には、前記アップデート用プログラムによっ
て前記プログラムをアップデートするアップデート工程とを含むことを特徴とする。
In order to solve the above-described problems, the present invention controls the drive of a USB device device after replacing the USB device of a USB device mounted with a USB hub and a USB device connected to the USB hub. A program update method for updating a program installed in a host computer connected to the USB device device,
A device information storage step of storing and holding device information of the USB device before exchanging the USB device;
A storage device connection step of connecting a storage device storing an update program for updating the program to the USB hub when the USB device is replaced;
A connecting step of connecting the USB device device and the host computer;
A device information acquisition step of acquiring device information of the replaced USB device;
An update determination step of determining whether the update of the program is necessary based on the device information of the USB device and the device information of the USB device stored and held;
An update step of updating the program by the update program when it is determined that the update is necessary.
ホストコンピュータに搭載されているデバイスドライバはUSBデバイス機器に搭載さ
れているUSBデバイスをそのファームウエアと連携して駆動制御している。また、ホス
トコンピュータに搭載されているアプリケーションプログラムの中には、USBデバイス
機器に搭載されているUSBデバイスを、デバイスドライバと同様に、そのファームウエ
アと連携して駆動制御するコントロール手段を含むものがある。これらのプログラムでは
、USBデバイスを交換した後、プログラムとUSBデバイスのファームウエアとが対応
していなければプログラムからUSBデバイス機器を駆動制御することができない。これ
に対して、本発明によれば、USBデバイスを交換する前後におけるUSBデバイスのデ
バイス情報に基づいて、ホストコンピュータに搭載されているプログラムのアップデート
の必要性を判断し、アップデートが必要な場合には、そのアップデートが行われる。すな
わち、デバイス情報に基づいてUSBデバイスが新たなものに交換されたと認められる場
合にはプログラムをアップデートすることができるので、このプログラムがデバイスドラ
イバの場合でも、このプログラムにコントロール手段が含まれている場合でも、プログラ
ムをアップデートしてUSBデバイスのファームウエアに対応させることができる。従っ
て、USBデバイスの交換によってプログラムからUSBデバイス機器を駆動制御するこ
とができなくなってしまうことを回避できる。また、アップデート用プログラムは記憶デ
バイスに記憶保持された状態でUSBハブに接続されているので、アップデートの際に、
ユーザーがアップデート用プログラムを別途ダウンロードするなどで入手する必要がない
。なお、ここで接続とは通信可能にすることを含む。
A device driver installed in the host computer drives and controls the USB device installed in the USB device device in cooperation with the firmware. Some of the application programs installed in the host computer include control means for controlling the USB device installed in the USB device device in cooperation with its firmware in the same manner as the device driver. is there. In these programs, after the USB device is replaced, the USB device device cannot be driven and controlled from the program unless the program and the firmware of the USB device correspond to each other. On the other hand, according to the present invention, the necessity of updating the program installed in the host computer is determined based on the device information of the USB device before and after replacing the USB device, and the update is necessary. Will be updated. That is, when it is recognized that the USB device has been replaced with a new one based on the device information, the program can be updated. Therefore, even if this program is a device driver, the program includes control means. Even in this case, the program can be updated to correspond to the firmware of the USB device. Therefore, it is possible to avoid that the USB device device cannot be driven and controlled from the program by exchanging the USB device. In addition, the update program is stored in the storage device and connected to the USB hub.
There is no need for the user to download the update program separately. Here, the connection includes enabling communication.
さらに、記憶デバイスをUSBハブに接続する記憶デバイス接続工程は、修理やバージ
ョンアップに際してUSBデバイスを交換するベンダー側でも行うことができる。従って
、ベンダーは、交換したUSBデバイスを含むUSBデバイス機器を駆動制御するのに最
も適したアップデート用プログラムを記憶デバイスに記憶保持させて、ユーザーに提供や
返品できる。この結果、アップデートされたにも拘わらず、プログラムからUSBデバイ
ス機器が駆動制御できないという事態を回避できる。
Further, the storage device connection process for connecting the storage device to the USB hub can be performed by the vendor who replaces the USB device at the time of repair or version upgrade. Therefore, the vendor can store or hold the update program most suitable for driving and controlling the USB device including the replaced USB device in the storage device, and can provide or return the update program to the user. As a result, it is possible to avoid a situation in which the USB device device cannot be driven and controlled from the program despite being updated.
また、ベンダーは、アップデート用プログラムを記憶デバイスに記憶保持させておけば
、USBデバイスを交換したときに、記憶デバイスをUSBハブに接続するだけでアップ
デート用プログラムをユーザーに提供することができる。加えて、記憶デバイスもUSB
デバイスなので、ホストコンピュータに記憶デバイスを認識させることが容易であり、ホ
ストコンピュータに搭載されているプログラムから記憶デバイスに記憶保持されているア
ップデート用プログラムを利用することも容易である。
Further, if the update program is stored in the storage device, the vendor can provide the update program to the user simply by connecting the storage device to the USB hub when the USB device is replaced. In addition, the storage device is USB
Since it is a device, it is easy for the host computer to recognize the storage device, and it is also easy to use an update program stored in the storage device from a program installed in the host computer.
本発明において、最新のプログラムがホストコンピュータに搭載されている場合などに
、不必要なアップデートを回避するためには、前記アップデートが必要と判断された場合
には、前記アップデート工程の前に、前記アップデート用プログラムのバージョン情報を
検出するバージョン検出工程を含み、前記バージョン情報が前記プログラムに予め記憶保
持されている当該アプリーションプログラムのバージョン情報よりも新しくない場合には
、前記アップデート工程を行わないことが望ましい。
In the present invention, when the latest program is installed in the host computer, in order to avoid unnecessary update, when it is determined that the update is necessary, the update process is performed before the update step. Including a version detection step for detecting version information of the update program, and if the version information is not newer than the version information of the application program stored and held in advance in the program, the update step is not performed. Is desirable.
本発明において、前記プログラムにアプリケーションプログラムとデバイスドライバが
含まれている場合には、アプリケーションプログラムのアップデートと同時にまたは単独
でデバイスドライバをアップデートするため、前記アップデート用プログラムには、前記
USBデバイスを駆動制御するためにデバイスドライバをアップデートするためのドライ
バアップデート用プログラムが含まれており、前記アップデート工程では、前記ドライバ
アップデート用プログラムによって前記デバイスドライバをアップデートすることが望ま
しい。
In the present invention, when the application program and device driver are included in the program, the USB device is driven and controlled in the update program in order to update the device driver simultaneously with the update of the application program or independently. In order to do so, a driver update program for updating the device driver is included, and in the update step, the device driver is preferably updated by the driver update program.
本発明において、USBハブに接続されているメディアドライブが交換された場合に、
プログラムのアップデートを容易に行うためには、前記USBデバイスは、メディアドラ
イブであり、前記アップデート用プログラムは、前記メディアドライブによって読み取り
可能な記憶メディアに記憶保持されており、記憶デバイス接続工程では、前記記憶デバイ
スを前記USBハブに接続する代わりに、前記メディアドライブを前記記憶メディアにア
クセス可能にすることが望ましい。すなわち、交換されたメディアドライブにアップデー
ト用プログラムを記憶保持させた記憶メディアを挿入しておけば、このメディアドライブ
からアップデート用プログラムにアクセスして、プログラムのアップデートを行うことが
できる。
In the present invention, when the media drive connected to the USB hub is replaced,
In order to easily update the program, the USB device is a media drive, and the update program is stored in a storage medium readable by the media drive. In the storage device connection step, Instead of connecting a storage device to the USB hub, it is desirable to make the media drive accessible to the storage medium. That is, if a storage medium storing an update program is inserted into the replaced media drive, the program can be updated by accessing the update program from the media drive.
また、本発明において、交換されたUSBデバイスとは別にメディアドライブがUSB
ハブに接続されている場合に、プログラムのアップデートを容易に行うためには、前記U
SBハブには、少なくとも前記USBデバイスとメディアドライブとが接続されており、
前記アップデート用プログラムは、前記メディアドライブによって読み取り可能な記憶メ
ディアに記憶保持されており、記憶デバイス接続工程では、前記記憶デバイスを前記US
Bハブに接続する代わりに、前記メディアドライブを前記記憶メディアにアクセス可能に
することが望ましい。すなわち、USBハブに接続されているメディアドライブにアップ
デート用プログラムを記憶保持させた記憶メディアを挿入しておけば、このメディアドラ
イブからアップデート用プログラムにアクセスして、プログラムのアップデートを行うこ
とができる。
In the present invention, the media drive is connected to the USB device separately from the replaced USB device.
In order to easily update the program when connected to a hub, the U
At least the USB device and the media drive are connected to the SB hub,
The update program is stored in a storage medium that can be read by the media drive. In the storage device connection step, the storage device is stored in the US.
Instead of connecting to a B-hub, it is desirable to make the media drive accessible to the storage media. That is, if a storage medium storing an update program is inserted into a media drive connected to the USB hub, the program can be updated by accessing the update program from the media drive.
本発明において、前記USBデバイス機器は、前記USBハブに少なくとも前記メディ
アドライブおよびレーベルプリンタが接続されているメディア処理装置とすることができ
る。
In the present invention, the USB device device may be a media processing device in which at least the media drive and a label printer are connected to the USB hub.
次に、本発明のコンピュータシステムは、
USBハブおよびこのUSBハブに接続されたUSBデバイスが搭載されているUSB
デバイス機器と、
前記USBデバイス機器に接続されているホストコンピュータと、
前記USBデバイス機器を駆動制御するために前記ホストコンピュータに搭載されてい
るプログラムと、
前記USBハブに接続されており、前記プログラムのアップデートを行うためのアップ
デート用プログラムを記憶保持している記憶デバイスとを有し、
前記プログラムは、このプログラムが起動される毎に前記USBデバイスのデバイス情
報を取得するデバイス情報取得手段と、前記デバイス情報取得手段が前回取得した前記U
SBデバイスのデバイス情報を記憶保持しており、この前回取得した前記USBデバイス
のデバイス情報および前記デバイス情報取得手段が新たに取得した前記USBデバイスの
デバイス情報に基づいて前記プログラムのアップデートが必要か否かを判断するアップデ
ート判断手段と、前記アップデートが必要と判断された場合には、前記アップデート用プ
ログラムによって前記プログラムをアップデートするアップデート手段とを備えているこ
とを特徴とする。
Next, the computer system of the present invention includes:
USB with USB hub and USB device connected to this USB hub
Device equipment,
A host computer connected to the USB device device;
A program installed in the host computer to drive and control the USB device device;
A storage device connected to the USB hub and storing an update program for updating the program;
The program includes device information acquisition means for acquiring device information of the USB device every time the program is started, and the U information acquired by the device information acquisition means last time.
Whether the device information of the SB device is stored and held, and whether the program needs to be updated based on the device information of the USB device acquired last time and the device information of the USB device newly acquired by the device information acquisition unit Update determining means for determining whether or not the update is necessary, and update means for updating the program with the update program when the update is determined to be necessary.
USBデバイス機器およびこれに接続されたホストコンピュータからなるコンピュータ
システムにおいて、ホストコンピュータに搭載されているデバイスドライバはUSBデバ
イス機器に搭載されているUSBデバイスをそのファームウエアと連携して駆動制御して
いる。また、ホストコンピュータに搭載されているアプリケーションプログラムの中には
、USBデバイス機器に搭載されているUSBデバイスを、デバイスドライバと同様に、
そのファームウエアと連携して駆動制御するコントロール手段を含むものがある。これら
のプログラムでは、USBデバイスを交換した後、プログラムとUSBデバイスのファー
ムウエアとが対応していなければ、プログラムからUSBデバイス機器を駆動制御するこ
とができない。これに対して、本発明によれば、プログラムが起動される毎に、デバイス
情報取得手段はUSBデバイスのデバイス情報を取得しており、アップデート判別手段は
デバイス情報取得手段が新しく取得したUSBデバイスのデバイス情報と前回取得したU
SBデバイスのデバイス情報に基づいてプログラムのアップデートの必要性を判別し、ア
ップデートが必要と判断した場合には、アップデート手段によってプログラムがアップデ
ートされる。すなわち、デバイス情報に基づいてUSBデバイスが新たなものに交換され
たと認められる場合にはプログラムをアップデートすることができるので、このプログラ
ムがデバイスドライバの場合でも、このプログラムにコントロール手段が含まれている場
合でも、プログラムをアップデートしてUSBデバイスのファームウエアに対応させるこ
とができる。従って、USBデバイスの交換によってプログラムからUSBデバイス機器
を駆動制御することができなくなってしまうことを回避できる。また、アップデート用プ
ログラムは記憶デバイスに記憶保持された状態でUSBハブに接続されているので、アッ
プデートの際に、ユーザーがアップデート用プログラムをダウンロードするなど別途入手
する必要がない。なお、ここで接続とは通信可能にすることを含む。
In a computer system comprising a USB device device and a host computer connected thereto, a device driver mounted on the host computer drives and controls the USB device mounted on the USB device device in cooperation with the firmware. . In addition, in the application program installed in the host computer, the USB device installed in the USB device device,
Some include control means for controlling driving in cooperation with the firmware. In these programs, after the USB device is replaced, if the program and the firmware of the USB device do not correspond, the USB device device cannot be driven and controlled from the program. On the other hand, according to the present invention, each time the program is started, the device information acquisition unit acquires the device information of the USB device, and the update determination unit acquires the USB device newly acquired by the device information acquisition unit. Device information and last acquired U
The necessity of program update is determined based on the device information of the SB device, and when it is determined that the update is necessary, the program is updated by the update means. That is, when it is recognized that the USB device has been replaced with a new one based on the device information, the program can be updated. Therefore, even if this program is a device driver, the program includes control means. Even in this case, the program can be updated to correspond to the firmware of the USB device. Therefore, it is possible to avoid that the USB device device cannot be driven and controlled from the program by exchanging the USB device. In addition, since the update program is connected to the USB hub while being stored in the storage device, there is no need for the user to download the update program separately when updating. Here, the connection includes enabling communication.
さらに、記憶デバイスをUSBハブに接続する工程は、修理やバージョンアップに際し
てUSBデバイスを交換するベンダー側でも行うことができる。従って、ベンダーは、交
換したUSBデバイスを含むUSBデバイス機器を駆動制御するのに最も適したアップデ
ート用プログラムを記憶デバイスに記憶保持させて、ユーザーに提供や返品できる。この
結果、アップデートされたにも拘わらず、プログラムからUSBデバイス機器が駆動制御
できないという事態を回避できる。
Furthermore, the step of connecting the storage device to the USB hub can be performed by the vendor who replaces the USB device at the time of repair or version upgrade. Therefore, the vendor can store or hold the update program most suitable for driving and controlling the USB device including the replaced USB device in the storage device, and can provide or return the update program to the user. As a result, it is possible to avoid a situation in which the USB device device cannot be driven and controlled from the program despite being updated.
また、ベンダーは、アップデート用プログラムを記憶デバイスに記憶保持させておけば
、USBデバイスを交換したときに、記憶デバイスをUSBハブに接続するだけでアップ
デート用プログラムをユーザーに提供することができる。加えて、記憶デバイスもUSB
デバイスなので、ホストコンピュータに記憶デバイスを認識させることが容易であり、ホ
ストコンピュータに搭載されているプログラムから記憶デバイスに記憶保持されているア
ップデート用プログラムを利用することも容易である。
Further, if the update program is stored in the storage device, the vendor can provide the update program to the user simply by connecting the storage device to the USB hub when the USB device is replaced. In addition, the storage device is USB
Since it is a device, it is easy for the host computer to recognize the storage device, and it is also easy to use an update program stored in the storage device from a program installed in the host computer.
本発明において、最新のプログラムがホストコンピュータに搭載されている場合などに
、不必要なアップデートを回避するためには、前記プログラムは、前記アップデート用プ
ログラムのバージョン情報を検出するバージョン検出手段を備えており、前記アップデー
ト手段は、前記バージョン情報が前記プログラムに予め記憶保持されている当該アプリケ
ーションプログラムのバージョン情報よりも新しくない場合には、アップデートを行わな
いことが望ましい。
In the present invention, in order to avoid unnecessary update when the latest program is installed in a host computer, the program includes a version detection unit that detects version information of the update program. Preferably, the update means does not update if the version information is not newer than the version information of the application program stored and held in advance in the program.
本発明において、前記プログラムにアプリケーションプログラムとデバイスドライバが
含まれている場合には、アプリケーションプログラムのアップデートと同時にまたは単独
でデバイスドライバをアップデートするため、前記プログラムには、アプリケーションプ
ログラムとデバイスドライバが含まれ、前記アップデート用プログラムには、前記デバイ
スドライバをアップデートするためのドライバアップデート用プログラムが含まれており
、前記アップデート手段は、前記ドライバアップデート用プログラムによって前記デバイ
スドライバをアップデートすることが望ましい。
In the present invention, if the program includes an application program and a device driver, the program includes the application program and the device driver in order to update the device driver simultaneously with the update of the application program or independently. The update program includes a driver update program for updating the device driver, and the update unit preferably updates the device driver with the driver update program.
本発明において、USBハブに接続されているメディアドライブが交換された場合に、
プログラムのアップデートを容易に行うためには、前記USBデバイスは、メディアドラ
イブであり、前記アップデート用プログラムは、前記メディアドライブによって読み込み
可能な記憶メディアに記憶保持されており、前記記憶デバイスは、前記記憶メディアにア
クセス可能な前記メディアドライブとすることができる。すなわち、交換されたメディア
ドライブにアップデート用プログラムが記憶保持させた記憶メディアを挿入して、アクセ
ス可能な状態にしたものを記憶デバイスとしておけば、メディアドライブからアップデー
ト用プログラムを読み込んで、プログラムのアップデートを行うことができる。
In the present invention, when the media drive connected to the USB hub is replaced,
In order to easily update the program, the USB device is a media drive, the update program is stored in a storage medium readable by the media drive, and the storage device stores the storage device. The media drive can access the media. In other words, if the storage media stored by the update program is inserted into the replaced media drive and made accessible, the update program can be updated by reading the update program from the media drive. It can be performed.
また、本発明において、交換されたUSBデバイスとは別にメディアドライブがUSB
ハブに接続されている場合に、プログラムのアップデートを容易に行うためには、前記U
SBハブには、少なくとも前記USBデバイスとメディアドライブとが接続されており、
前記アップデート用プログラムは、前記メディアドライブによって読み取り可能な記憶メ
ディアに記憶保持されており、前記記憶デバイスは、前記記憶メディアにアクセス可能な
前記メディアドライブとするともできる。すなわち、USBハブに接続されているメディ
アドライブにアップデート用プログラムが記憶保持させた記憶メディアを挿入して、アク
セス可能な状態にしたものを記憶デバイスとしておけば、このメディアドライブからアッ
プデート用プログラムを読み込んで、プログラムのアップデートを行うことができる。
In the present invention, the media drive is connected to the USB device separately from the replaced USB device.
In order to easily update the program when connected to a hub, the U
At least the USB device and the media drive are connected to the SB hub,
The update program is stored in a storage medium that can be read by the media drive, and the storage device can be the media drive that can access the storage medium. In other words, if a storage device that is stored and held by the update program is inserted into the media drive connected to the USB hub and is made accessible, the update program is read from this media drive. You can update the program.
本発明において、前記USBデバイス機器は、前記USBハブに少なくとも前記メディ
アドライブおよびレーベルプリンタが接続されているメディア処理装置とすることができ
る。
In the present invention, the USB device device may be a media processing device in which at least the media drive and a label printer are connected to the USB hub.
本発明によれば、USBデバイスを交換する前後におけるUSBデバイスのデバイス情
報に基づいて、ホストコンピュータに搭載されているプログラムのアップデートの必要性
を判断し、アップデートが必要な場合には、そのアップデートが行われる。すなわち、デ
バイス情報に基づいてUSBデバイスが新たなものに交換されたと認められる場合にはプ
ログラムをアップデートすることができるので、このプログラムがデバイスドライバの場
合でも、このプログラムにUSBデバイス機器に搭載されているUSBデバイスのファー
ムウエアと連携するコントロール手段が含まれている場合でも、プログラムをアップデー
トしてUSBデバイスのファームウエアに対応させることができる。従って、USBデバ
イスの交換によってプログラムからUSBデバイス機器を駆動制御することができなくな
ってしまうことを回避できる。また、アップデート用プログラムは記憶デバイスに記憶保
持された状態でUSBハブに接続されているので、アップデートの際に、ユーザーがアッ
プデート用プログラムを別途入手する必要がない。
According to the present invention, the necessity of updating the program installed in the host computer is determined based on the device information of the USB device before and after the replacement of the USB device, and if an update is necessary, the update is performed. Done. That is, when it is recognized that the USB device has been replaced with a new one based on the device information, the program can be updated. Therefore, even if this program is a device driver, the program is installed in the USB device device. Even when control means that cooperates with the firmware of the existing USB device is included, the program can be updated to correspond to the firmware of the USB device. Therefore, it is possible to avoid that the USB device device cannot be driven and controlled from the program by exchanging the USB device. In addition, since the update program is connected to the USB hub while being stored in the storage device, it is not necessary for the user to obtain the update program separately when updating.
さらに、記憶デバイスをUSBハブに接続する工程は、修理などに際してUSBデバイ
スを交換するベンダーの側でも行うことができる。従って、ベンダーは、交換したUSB
デバイスを含むUSBデバイス機器を駆動制御するのに最も適したアップデート用プログ
ラムを記憶デバイスに記憶保持させて、ユーザーに提供できる。この結果、アップデート
されたにも拘わらず、プログラムからUSBデバイス機器が駆動制御できないという事態
を回避できる。
Further, the step of connecting the storage device to the USB hub can be performed by the vendor who replaces the USB device for repair or the like. Therefore, the vendor must replace the replaced USB
An update program most suitable for driving and controlling a USB device including the device can be stored in the storage device and provided to the user. As a result, it is possible to avoid a situation in which the USB device device cannot be driven and controlled from the program despite being updated.
また、ベンダーは、アップデート用プログラムを記憶デバイスに記憶保持させておけば
、USBデバイスを交換したときに、記憶デバイスをUSBハブに接続するだけでアップ
デート用プログラムをユーザーに提供することができる。加えて、記憶デバイスもUSB
デバイスなので、ホストコンピュータに記憶デバイスを認識させることが容易であり、ホ
ストコンピュータに搭載されているプログラムから記憶デバイスに記憶保持されているア
ップデート用プログラムを利用することも容易である。
Further, if the update program is stored in the storage device, the vendor can provide the update program to the user simply by connecting the storage device to the USB hub when the USB device is replaced. In addition, the storage device is USB
Since it is a device, it is easy for the host computer to recognize the storage device, and it is also easy to use an update program stored in the storage device from a program installed in the host computer.
以下に、図面を参照して、本発明を適用したメディア処理システムの実施の形態を説明
する。
Hereinafter, an embodiment of a media processing system to which the present invention is applied will be described with reference to the drawings.
(メディア処理システム)
図1は本例のメディア処理システムの概略ブロック図である。メディア処理システム1
はCDやDVDなどの書き込み可能なメディアに対してデータの書き込みおよびレーベル
の印刷を行うものであり、ホストコンピュータ2と、このホストコンピュータ2に通信可
能に接続されているCD/DVDパブリッシャ3を備えている。
(Media processing system)
FIG. 1 is a schematic block diagram of the media processing system of this example. Media processing system 1
Performs writing of data and printing of a label on a writable medium such as a CD or DVD, and includes a
CD/DVDパブリッシャ3は、メディアに対するデータの書き込み、および、メディ
アからのデータの読み出しが可能な2台のメディアドライブ31、32と、データの書き
込みが済んだメディアに対してレーベルの印刷を行うレーベルプリンタ33と、メディア
供給部(不図示)から取り出したブランクメディアをメディアドライブ31、32および
レーベルプリンタ33にこの順番で供給したのちにメディア保管部(不図示)に排出する
メディア搬送機構34と、ハードディスクあるいは半導体メモリを内蔵している記憶デバ
イス35を備えている。メディアドライブ31、32、レーベルプリンタ33、メディア
搬送機構34および記憶デバイス35はいずれもUSBデバイスであり、不図示のUSB
ハブに接続された状態でCD/DVDパブリッシャ3に搭載されている。また、これらメ
ディアドライブ31、32、レーベルプリンタ33、メディア搬送機構34および記憶デ
バイス35は、USBハブを介してホストコンピュータ2に接続されている。
The CD /
It is mounted on the CD /
記憶デバイス35には、CD/DVDパブリッシャ3を駆動制御するためにホストコン
ピュータ2に搭載されているアプリケーションプログラム21やプリンタドライバ22(
デバイスドライバ)をアップデートするためのアップデート用プログラム36が記憶保持
されている。アップデート用プログラム36は、ホストコンピュータ2に搭載されている
アプリケーションプログラム21やプリンタドライバ22を最新版にアップデートするた
めのプログラムであり、本例では、最新版のアプリケーションプログラム21とこれをホ
ストコンピュータ2にインストールするためのインストーラを含んでいる。
The
An
ホストコンピュータ2には、オペレーティングシステム(OS)20と、CD/DVD
パブリッシャ3を駆動制御するためのアプリケーションプログラム21と、USBデバイ
ス機器に搭載されているレーベルプリンタ33を駆動制御するためのプリンタドライバ2
2が搭載されている。OS20はWindows(登録商標)系のOSであり、CD/D
VDパブリッシャ3のようなUSBデバイス機器がホストコンピュータ2に接続されると
、プラグアンドプレイ処理動作として、USBデバイス機器に搭載されている各USBデ
バイスの接続を自動的に検出して、検出された各USBデバイスのデバイス名やハードウ
エアIDをデバイス情報として取得する。また、取得したデバイス情報をOS20が管理
しているレジストリ23に記憶保持する。従って、レジストリ23には、メディアドライ
ブ31、32、レーベルプリンタ33、メディア搬送機構34および記憶デバイス35の
各デバイス情報が記憶保持されている。
The
An
2 is installed. The
When a USB device such as the
アプリケーションプログラム21はCD/DVDパブリッシャ3に搭載されているメデ
ィアドライブ31、32を駆動制御するためのドライブコントロール手段211と、レー
ベルプリンタ33を駆動制御するためのプリンタコントロール手段212と、メディア搬
送機構34を駆動制御するための搬送機構コントロール手段213を備えている。また、
メディアドライブ31、32、レーベルプリンタ33およびメディア搬送機構34を連携
させて動作させるために、ドライブコントロール手段211、プリンタコントロール手段
212、搬送機構コントロール手段213による各駆動制御を連携させる統合制御手段2
14を備えている。ドライブコントロール手段211および搬送機構コントロール手段2
13は、デバイスドライバを介さずに、各USBデバイスに搭載されているファームウエ
アと直接的に連携してメディアドライブ31、32およびメディア搬送機構34を駆動制
御するものである。プリンタコントロール手段212は、プリンタドライバ22を介して
レーベルプリンタ33の駆動制御を行うものである。
The
In order to operate the media drives 31 and 32, the
14 is provided. Drive control means 211 and transport mechanism control means 2
13 controls the drive of the media drives 31 and 32 and the
アプリケーションプログラム21からCD/DVDパブリッシャ3を駆動制御して、ブ
ランクメディアに対してデータの書き込みおよびレーベルの印刷を行う際には、統合制御
手段214による制御の下で、次のような駆動制御が行われる。
When the
すなわち、搬送機構コントロール手段213はメディア搬送機構34を駆動制御して、
メディア供給部からブランクメディアを取り出す。そして、2台のメディアドライブ31
、32のうちデータの書き込み動作が行われていないメディアドライブ31に供給する。
すると、ドライブコントロール手段211はメディアドライブ31を駆動制御して、ブラ
ンクメディアにデータの書き込みを行う。
In other words, the transport mechanism control means 213 controls the drive of the
Remove the blank media from the media supply unit. And two media drives 31
, 32 are supplied to the media drive 31 where the data writing operation is not performed.
Then, the drive control means 211 drives and controls the media drive 31 to write data on the blank medium.
データの書き込みが終了すると、搬送機構コントロール手段213はメディア搬送機構
34を駆動制御して、データの書き込みが済んだメディアをメディアドライブ31からレ
ーベルプリンタ33に供給する。すると、プリンタコントロール手段212はプリンタド
ライバ22を介してレーベルプリンタ33を駆動制御して、データの書き込みが済んだメ
ディアにレーベルの印刷を行う。
When the data writing is completed, the transport
レーベルの印刷が終了すると、搬送機構コントロール手段213はメディア搬送機構3
4を駆動制御して、データの書き込みおよびレーベルの印刷が済んだメディアをレーベル
プリンタ33からメディア保管部に排出する。
When the label printing is completed, the transport mechanism control means 213 displays the
4 is driven and controlled, and the media on which data writing and label printing have been completed is discharged from the
また、アプリケーションプログラム21は、CD/DVDパブリッシャ3に搭載されて
いる各USBデバイスのデバイス情報をアプリケーションプログラム21が起動される毎
に取得するデバイス情報取得手段215と、デバイス情報取得手段215が前回取得した
各USBデバイスのデバイス情報と新たに取得した各USBデバイスのデバイス情報とに
基づいてアプリケーションプログラム21のアップデートが必要か否かを判断するアップ
デート判断手段216と、このアプリケーションプログラム21自身をアップデートする
ためのアップデート手段217と、記憶デバイス35に記憶保持されているアップデート
用プログラム36のバージョン情報を検出するバージョン検出手段218を有している。
In addition, the
デバイス情報取得手段215は、アプリケーションプログラム21が起動される毎に、
CD/DVDパブリッシャ3に搭載されている各USBデバイスのデバイス情報をOS2
0から取得する。すなわちCD/DVDパブリッシャ3とホストコンピュータ2とが接続
されると、OS20のプラグアンドプレイ処理動作によって、メディアドライブ31、3
2、レーベルプリンタ33、メディア搬送機構34および記憶デバイス35の各デバイス
情報が取得されてレジストリ23に記憶保持されているので、デバイス情報取得手段21
5はレジストリ23から各USBデバイスのデバイス情報を取得する。
Whenever the
The device information of each USB device installed in the CD /
Get from 0. That is, when the CD /
2. Since the device information of the
5 acquires device information of each USB device from the
アップデート判断手段216は、前回アプリケーションプログラム21が起動されたと
きにデバイス情報取得手段215が取得したメディアドライブ31、32、レーベルプリ
ンタ33、メディア搬送機構34および記憶デバイス35の各デバイス情報を記憶保持し
ており、デバイス情報取得手段215が新たに各デバイス情報を取得すると、新たに取得
した各デバイス情報と記憶保持している各デバイス情報(前回取得した各デバイス情報)
とを比較する。そして、新たに取得した各デバイス情報に含まれているデバイス名やハー
ドウエアIDが、記憶保持している各デバイス情報に含まれているデバイス名やハードウ
エアIDと相違している場合には、アプリケーションプログラム21のアップデートが必
要であると判断する。また、記憶保持している各デバイス情報に含まれているデバイス名
やハードウエアIDが同一の場合には、アプリケーションプログラム21のアップデート
は必要ないと判断する。
The
And compare. If the device name or hardware ID included in each newly acquired device information is different from the device name or hardware ID included in each stored device information, It is determined that the
バージョン検出手段218は、アップデートが必要であると判断された場合に、CD/
DVDパブリッシャ3に搭載されている記憶デバイス35にアクセスして、記憶デバイス
35に記憶保持されているアップデート用プログラム36のファイル名から、アップデー
ト用プログラム36のバージョン情報を取得する。
If it is determined that an update is necessary, the
The
アップデート手段217は、アップデートが必要であると判断され、かつ、アップデー
ト用プログラム36のバージョン情報がアプリケーションプログラム21に予め記憶保持
されている自己のバージョン情報よりも新しい場合に、CD/DVDパブリッシャ3に搭
載されている記憶デバイス35にアクセスする。また、アップデート用プログラム36に
含まれているインストーラを起動して、最新版のアプリケーションプログラム21をホス
トコンピュータ2にインストールして、自己のアップデートを行う。さらに、アップデー
ト用プログラム36に、プリンタドライバ22などのデバイスドライバをアップデートす
るためのドライバアップデート用プログラムが含まれている場合には、アップデート手段
217は、このドライバアップデート用プログラムを用いてデバイスドライバをアップデ
ートすることができる。
When the update means 217 determines that the update is necessary and the version information of the
なお、アップデート判断手段216によってアップデートが必要であると判断された場
合であっても、バージョン検出手段218によってアップデート用プログラム36のバー
ジョン情報がホストコンピュータ2に搭載されているアプリケーションプログラム21の
バージョン情報よりも新しくないことが検出された場合には、アップデート手段217は
アップデートを行わない。
Even when the
(プログラムのアップデート動作)
図2はCD/DVDパブリッシャ3のメディアドライブ31が交換された後に、CD/
DVDパブリッシャ3に接続されているホストコンピュータ2に搭載されているアプリケ
ーションプログラム21をアップデートする動作を示すフローチャートである。
(Program update operation)
FIG. 2 shows the CD /
4 is a flowchart showing an operation for updating an
まず、CD/DVDパブリッシャ3の修理やバージョンアップがベンダーによって行わ
れている。この際に、メディアドライブ31が交換される(ステップST1)。また、ベ
ンダーによって、CD/DVDパブリッシャ3のUSBハブに、アップデート用プログラ
ム36が記憶保持されている記憶デバイス35が接続され通信可能とされる(ステップS
T2)。
First, the vendor repairs and upgrades the CD /
T2).
CD/DVDパブリッシャ3が修理やバージョンアップから戻ってくると、ユーザーは
、CD/DVDパブリッシャ3の電源スイッチをオンにしてホストコンピュータ2に接続
する(ステップST11)。ホストコンピュータ2のOS20は、プラグアンドプレイ処
理動作によって、CD/DVDパブリッシャ3に搭載されているメディアドライブ31、
32、レーベルプリンタ33、メディア搬送機構34、記憶デバイスの各デバイス情報を
取得してレジストリ23に記憶保持する(ステップST12)。
When the CD /
32, the device information of the
ユーザーが、アプリケーションプログラム21を起動すると、アプリケーションプログ
ラム21のデバイス情報取得手段215は、OS20から、CD/DVDパブリッシャ3
に搭載されているメディアドライブ31、32、レーベルプリンタ33、メディア搬送機
構34および記憶デバイス35の各デバイス情報を取得する(ステップST13)。また
、アップデート判断手段216は、デバイス情報取得手段215が新しく取得した各デバ
イス情報と、アップデート判断手段216によって既に記憶保持されている各デバイス情
報とを比較する(ステップST14)。
When the user starts the
The device information of the media drives 31, 32, the
ここで、デバイス情報取得手段215は、アプリケーションプログラム21が起動され
る毎にCD/DVDパブリッシャ3に搭載されている各USBデバイスの各デバイス情報
をOS20から取得しており、アップデート判断手段216はデバイス情報取得手段21
5が前回取得したデバイス情報を記憶保持している。このため、アップデート判断手段2
16によって記憶保持されている各デバイス情報には、ベンダーによって交換される前の
メディアドライブ31のデバイス情報が含まれている。従って、新しく取得した各デバイ
ス情報と記憶保持されている各デバイス情報とを比較したときに、メディアドライブ31
のデバイス情報に含まれているデバイス名やハードウエアIDが相違している場合には、
メディアドライブ31が元々USBハブに接続されていたものとは型番などの異なる新た
なものに交換されており、アプリケーションプログラム21のドライブコントロール手段
211とメディアドライブ31のファームウエアとが対応していない可能があることが判
る。よって、アップデート判断手段216はアップデートの必要があると判断する。アッ
プデートの必要があると判断された場合には、ステップST15に移行する。
Here, the device
5 stores and holds the device information acquired last time. Therefore, update determination means 2
Each device information stored and held by the device 16 includes device information of the media drive 31 before being replaced by the vendor. Therefore, when each newly acquired device information and each device information stored and held are compared, the
If the device name or hardware ID included in the device information is different,
The media drive 31 is replaced with a new one having a different model number from that originally connected to the USB hub, and the drive control means 211 of the
一方、新しく取得されたデバイス情報と記憶保持されているデバイス情報とが一致して
いる場合には、メディアドライブ31は同一の製品に交換されている。従って、アップデ
ート判断手段216はアップデートの必要はないと判断する。アップデートの必要がない
と判断された場合には、アップデート動作は終了する。
On the other hand, when the newly acquired device information matches the device information stored and held, the media drive 31 is replaced with the same product. Therefore, the
ステップST15では、バージョン検出手段218は、記憶デバイス35にアクセスし
て、アップデート用プログラム36のバージョン情報を検出する。
In step ST15, the version detection means 218 accesses the
ステップST15において、検出されたバージョン情報がアプリケーションプログラム
21に記憶保持されている自己のバージョン情報よりも新しい場合には、アップデート手
段217は、アップデート用プログラム36に含まれているインストーラを起動して、最
新のアプリケーションプログラム21をホストコンピュータ2にインストールする(ステ
ップST16)。これにより、アプリケーションプログラム21のアップデート動作は終
了する。
In step ST15, when the detected version information is newer than its own version information stored and held in the
一方、ステップST4において検出されたバージョン情報がホストコンピュータ2に搭
載されているアプリケーションプログラム21が記憶保持している自己のバージョン情報
よりも新しくない場合には、アップデート手段217はアップデートを行わず、アップデ
ート動作は終了する。
On the other hand, if the version information detected in step ST4 is not newer than its own version information stored and held in the
(作用効果)
本例によれば、メディアドライブ31を交換する前後におけるメディアドライブ31の
デバイス情報に基づいて、メディアドライブ31が型番などの異なるものに交換されたと
認められる場合には、アプリケーションプログラム21がアップデートされる。この結果
、デバイスドライバを介さずにメディアドライブ31を駆動制御するドライブコントロー
ル手段211をアップデートして、交換されたメディアドライブ31のファームウエアと
対応させることができる。この結果、アプリケーションプログラム21と交換したメディ
アドライブ31のファームウエアとが対応せずに、アプリケーションプログラム21から
CD/DVDパブリッシャ3を駆動制御することができなくなってしまうことを回避でき
る。
(Function and effect)
According to this example, when it is recognized that the media drive 31 has been replaced with a different model number or the like based on the device information of the media drive 31 before and after replacing the
また、アップデート用プログラム36は記憶デバイス35に記憶保持された状態でUS
Bハブに接続されているので、アップデートの際に、ユーザーがアップデート用プログラ
ム36を別途通信回線を介してダウンロードするなどして入手する必要がない。
The
Since it is connected to the B hub, it is not necessary for the user to download and obtain the
さらに、記憶デバイス35をUSBハブに接続する工程は、修理に際してメディアドラ
イブ31を交換したベンダーが行うことができる。従って、ベンダーは、交換したメディ
アドライブ31を含むCD/DVDパブリッシャ3を駆動制御するのに最も適したアップ
デート用プログラム36を記憶デバイス35に記憶保持させて、ユーザーに提供できる。
この結果、アップデートされたにも拘わらず、アプリケーションプログラム21からCD
/DVDパブリッシャ3が駆動制御できないという事態を回避できる。
Further, the process of connecting the
As a result, the
/ A situation where the
また、ベンダーは、アップデート用プログラム36を記憶デバイス35に記憶保持させ
ておけば、USBデバイスを交換したときに、記憶デバイス35をUSBハブに接続する
だけでアップデート用プログラム36をユーザーに提供することができる。加えて、記憶
デバイス35もUSBデバイスなので、ホストコンピュータ2に記憶デバイス35を認識
させることが容易であり、ホストコンピュータ2に搭載されているアプリケーションプロ
グラム21から記憶デバイス35に記憶保持されているアップデート用プログラム36を
利用することも容易である。
In addition, if the vendor stores the
さらに、アプリケーションプログラム21はアップデート用プログラム36のバージョ
ン情報を検出するバージョン検出手段218を備えており、バージョン情報がアプリケー
ションプログラム21自身のバージョン情報よりも新しくない場合には、アップデートを
行わない。従って、最新のアプリケーションプログラム21がホストコンピュータ2に搭
載されている場合などに、不必要なアップデートを回避することができる。
Further, the
(その他の実施の形態)
上記の例では、アップデート用プログラム36には、最新版のアプリケーションプログ
ラム21と、これをホストコンピュータ2にインストールするためのインストーラが含ま
れているが、アップデート手段217の側にインストーラを備えており、アップデート用
プログラム36には最新版のアプリケーションプログラム21が含まれるようにすること
もできる。
(Other embodiments)
In the above example, the
また、アップデート用プログラム36を最新版のアプリケーションプログラム21とせ
ずに、交換したUSBデバイスの駆動制御を司るコントロール手段だけをアップデートす
る差分プログラムとすることもできる。上記の例では、例えば、交換したメディアドライ
ブ31を駆動制御するドライブコントール手段211だけをアップデートする差分プログ
ラムとすることができる。
Further, the
また、アプリケーションプログラム21がプリンタドライバ22を介してレーベルプリ
ンタ33を駆動制御する場合は、アップデート用プログラム36に、プリンタドライバ2
2をアップデートするためのドライバアップデート用プログラムを含めておく。このよう
にすれば、アップデート手段217は、アップデート用プログラム36に含まれているド
ライバアップデート用プログラムを用いてプリンタドライバ22をアップデートすること
ができる。
When the
A driver update program for updating 2 is included. In this way, the
例えば、修理などの際に、レーベルプリンタ33が交換された場合には、アップデート
用プログラム36は、最新版のアプリケーションプログラム21と、これをホストコンピ
ュータ2にインストールするためのインストーラと、プリンタドライバ22をアップデー
トするためのドライバアップデート用プログラムとを含むものとする。または、プリンタ
コントロール手段212をアップデートするための差分プログラムと、プリンタドライバ
22をアップデートするためのドライバアップデート用プログラムを含むものとする。或
いは、プリンタドライバ22だけをアップデートするために、ドライバアップデート用プ
ログラムのみを含むものとする。なお、ドライバアップデート用プログラムとしては、最
新版のプリンタドライバ22と、これをホストコンピュータ2にインストールするための
インストーラとすることができる。このようにすれば、アプリケーションプログラム21
と共にプリンタドライバ22を、またはプリンタドライバ22単独でアップデートするこ
とができる。
For example, when the
In addition, the printer driver 22 or the printer driver 22 alone can be updated.
また、上記の例では、アプリケーションプログラム21がデバイス情報取得手段215
、アップデート判断手段216、アップデート手段217およびバージョン検出手段21
8を備えているが、これらの各手段をプリンタドライバ22に備えることもできる。すな
わち、プリンタドライバ22のようなデバイスドライバもホストコンピュータ上で動作し
ているプログラムなので、アプリケーションプログラム21の場合と同様に、デバイスド
ライバをアップデートするために本発明を適用することができる。この場合には、アップ
デート用プログラム36には、ドライバアップデート用プログラムを含めておく。
In the above example, the
, Update determination means 216, update means 217, and version detection means 21
8 may be included in the printer driver 22. That is, since a device driver such as the printer driver 22 is also a program operating on the host computer, as in the case of the
さらに、上記の例のように、修理などの際に、メディアドライブ31が交換された場合
には、メディアドライブ31によって読み込み可能な記憶メディアにアップデート用プロ
グラム36を記憶保持しておいて、この記憶メディアを交換されたメディアドライブ31
に挿入して、メディアドライブ31からアクセス可能にしておいてもよい。
Further, as in the above example, when the media drive 31 is replaced at the time of repair or the like, the
And may be accessible from the
このようにすれば、アップデート手段217およびバージョン検出手段218はUSB
ハブに接続されている各USBデバイスを検索することによりメディアドライブ31に挿
入された記憶メディアにアクセスすることができる。また、アップデート手段217は、
記憶メディアからメディアドライブ31を介してアップデート用プログラム36を読み込
んで、アプリケーションプログラム21をアップデートできる。なお、この場合には、ア
ップデート用プログラム36を記憶保持させた記憶デバイス35をUSBハブに接続して
おく必要がない。
In this way, the
By searching each USB device connected to the hub, the storage medium inserted in the media drive 31 can be accessed. In addition, the update means 217
The
また、上記の例のように、交換されたUSBデバイスとは別にメディアドライブ32が
USBハブに接続されている場合には、メディアドライブ32によって読み込み可能な記
憶メディアにアップデート用プログラム36を記憶保持しておいて、この記憶メディアを
メディアドライブ32に挿入して、メディアドライブ32からアクセス可能にしておいて
もよい。このようにすれば、アップデート手段217およびバージョン検出手段218は
USBハブに接続されている各USBデバイスを検索することによりメディアドライブ3
2に挿入された記憶メディアにアクセスすることができる。また、アップデート手段21
7は、記憶メディアからメディアドライブ32を介してアップデート用プログラム36を
読み込んで、アプリケーションプログラム21をアップデートできる。なお、この場合に
は、アップデート用プログラム36を記憶保持させた記憶デバイス35をUSBハブに接
続しておく必要がない。
Further, as in the above example, when the media drive 32 is connected to the USB hub separately from the replaced USB device, the
2 can be accessed. Also, the update means 21
7 can update the
さらに、上記の例では、USBデバイス機器はメディア処理装置であるが、例えば、U
SBハブと、このUSBハブに接続されているUSBデバイスとしてスキャナ、プリンタ
、FAXなどを搭載しているディジタル複合機を駆動制御するためにホストコンピュータ
2に搭載されているアプリケーションプログラム21をアップデートするために、本発明
を適用することもできる。
Furthermore, in the above example, the USB device device is a media processing device.
In order to update the
1・メディア処理システム、2・ホストコンピュータ、3・CD/DVDパブリッシャ、
20・OS、21・アプリケーションプログラム、22・プリンタドライバ、23・レジ
ストリ、31・32・メディアドライブ、33・レーベルプリンタ、34・メディア搬送
機構、35・記憶デバイス、36・アップデート用プログラム、211・ドライブコント
ロール手段、212・プリンタコントロール手段、213・搬送機構コントロール手段、
214・統合制御手段、215・デバイス情報取得手段、216・アップデート判断手段
、217・アップデート手段、218・バージョン検出手段
1.
20. OS, 21. Application program, 22. Printer driver, 23. Registry, 31, 32. Media drive, 33. Label printer, 34. Media transport mechanism, 35. Storage device, 36. Update program, 211. Drive Control means, 212-printer control means, 213-transport mechanism control means,
214-Integrated control means 215-Device information acquisition means 216-Update determination means 217-Update means 218-Version detection means
Claims (12)
デバイス機器の前記USBデバイスを交換した後に、前記USBデバイス機器を駆動制御
するもので、当該USBデバイス機器に接続されるホストコンピュータに搭載されている
プログラムをアップデートするためのプログラムのアップデート方法であって、
前記USBデバイスを交換する前に、前記USBデバイスのデバイス情報を記憶保持す
るデバイス情報記憶工程と、
前記USBデバイスを交換したときに、前記プログラムのアップデートを行うためのア
ップデート用プログラムを記憶保持している記憶デバイスを前記USBハブに接続する記
憶デバイス接続工程と、
前記USBデバイス機器と前記ホストコンピュータとを接続する接続工程と、
前記USBデバイスのデバイス情報を取得するデバイス情報取得工程と、
取得した前記USBデバイスのデバイス情報と、記憶保持されている前記USBデバイ
スのデバイス情報とに基づいて前記プログラムのアップデートが必要か否かを判断するア
ップデート判断工程と、
前記アップデートが必要と判断された場合には、前記アップデート用プログラムによっ
て前記プログラムをアップデートするアップデート工程とを含むことを特徴とするプログ
ラムのアップデート方法。 USB with USB hub and USB device connected to this USB hub
A program update method for driving and controlling the USB device device after replacing the USB device of the device device, and for updating a program installed in a host computer connected to the USB device device. ,
A device information storage step of storing and holding device information of the USB device before exchanging the USB device;
A storage device connection step of connecting a storage device storing an update program for updating the program to the USB hub when the USB device is replaced;
A connecting step of connecting the USB device device and the host computer;
A device information acquisition step of acquiring device information of the USB device;
An update determination step of determining whether the update of the program is necessary based on the acquired device information of the USB device and the device information of the USB device stored and held;
An update step of updating the program by the update program when it is determined that the update is necessary.
前記アップデートが必要と判断された場合には、前記アップデート工程の前に、前記ア
ップデート用プログラムのバージョン情報を検出するバージョン検出工程を含み、
前記バージョン情報が前記プログラムに予め記憶保持されている当該プログラムのバー
ジョン情報よりも新しくない場合には、前記アップデート工程を行わないことを特徴とす
るプログラムのアップデート方法。 The program update method according to claim 1,
If it is determined that the update is necessary, before the update step, including a version detection step of detecting version information of the update program,
The program update method, wherein the update process is not performed when the version information is not newer than the version information of the program stored and held in advance in the program.
前記プログラムには、アプリケーションプログラムとデバイスドライバが含まれ、
前記アップデート用プログラムには、前記デバイスドライバをアップデートするための
ドライバアップデート用プログラムが含まれており、
前記アップデート工程では、前記ドライバアップデート用プログラムによって前記デバ
イスドライバをアップデートすることを特徴とするプログラムのアップデート方法。 In the program update method according to claim 1 or 2,
The program includes an application program and a device driver,
The update program includes a driver update program for updating the device driver,
In the update process, the device driver is updated by the driver update program.
て、
前記USBデバイスは、メディアドライブであり、
前記アップデート用プログラムは、前記メディアドライブによって読み取り可能な記憶
メディアに記憶保持されており、
記憶デバイス接続工程では、前記記憶デバイスを前記USBハブに接続する代わりに、
前記メディアドライブを前記記憶メディアにアクセス可能にすることを特徴とするプログ
ラムのアップデート方法。 In the program update method according to any one of claims 1 to 3,
The USB device is a media drive;
The update program is stored in a storage medium readable by the media drive,
In the storage device connection step, instead of connecting the storage device to the USB hub,
A method for updating a program, wherein the media drive is made accessible to the storage medium.
て、
前記USBハブには、少なくとも前記USBデバイスとメディアドライブとが接続され
ており、
前記アップデート用プログラムは、前記メディアドライブによって読み取り可能な記憶
メディアに記憶保持されており、
記憶デバイス接続工程では、前記記憶デバイスを前記USBハブに接続する代わりに、
前記メディアドライブを前記記憶メディアにアクセス可能にすることを特徴とするプログ
ラムのアップデート方法。 In the program update method according to any one of claims 1 to 3,
At least the USB device and a media drive are connected to the USB hub,
The update program is stored in a storage medium readable by the media drive,
In the storage device connection step, instead of connecting the storage device to the USB hub,
A method for updating a program, wherein the media drive is made accessible to the storage medium.
前記USBデバイス機器は、前記USBハブに少なくとも前記メディアドライブおよび
レーベルプリンタが接続されているメディア処理装置であることを特徴とするプログラム
のアップデート方法。 The method of updating a program according to claim 4 or 5,
The USB device device is a media processing apparatus in which at least the media drive and a label printer are connected to the USB hub.
デバイス機器と、
前記USBデバイス機器に接続されているホストコンピュータと、
前記USBデバイス機器を駆動制御するために前記ホストコンピュータに搭載されてい
るプログラムと、
前記USBハブに接続されており、前記プログラムのアップデートを行うためのアップ
デート用プログラムを記憶保持している記憶デバイスとを有し、
前記プログラムは、このプログラムが起動される毎に前記USBデバイスのデバイス情
報を取得するデバイス情報取得手段と、前記デバイス情報取得手段が前回取得した前記U
SBデバイスのデバイス情報を記憶保持しており、この前回取得した前記USBデバイス
のデバイス情報および前記デバイス情報取得手段が新たに取得した前記USBデバイスの
デバイス情報に基づいて前記プログラムのアップデートが必要か否かを判断するアップデ
ート判断手段と、前記アップデートが必要と判断された場合には、前記アップデート用プ
ログラムによって前記プログラムをアップデートするアップデート手段とを備えているこ
とを特徴とするコンピュータシステム。 USB with USB hub and USB device connected to this USB hub
Device equipment,
A host computer connected to the USB device device;
A program installed in the host computer to drive and control the USB device device;
A storage device connected to the USB hub and storing an update program for updating the program;
The program includes device information acquisition means for acquiring device information of the USB device every time the program is started, and the U information acquired by the device information acquisition means last time.
Whether the device information of the SB device is stored and held, and whether the program needs to be updated based on the device information of the USB device acquired last time and the device information of the USB device newly acquired by the device information acquisition unit A computer system comprising: an update determining means for determining whether or not the update is necessary; and an update means for updating the program with the update program when the update is determined to be necessary.
前記プログラムは、前記アップデート用プログラムのバージョン情報を検出するバージ
ョン検出手段を備えており、
前記アップデート手段は、前記バージョン情報が前記プログラムに予め記憶保持されて
いる当該アプリケーションプログラムのバージョン情報よりも新しくない場合には、アッ
プデートを行わないことを特徴とするコンピュータシステム。 The computer system according to claim 7.
The program includes version detection means for detecting version information of the update program,
The computer system according to claim 1, wherein the update means does not update if the version information is not newer than the version information of the application program stored and held in advance in the program.
前記プログラムには、アプリケーションプログラムとデバイスドライバが含まれ、
前記アップデート用プログラムには、前記デバイスドライバをアップデートするための
ドライバアップデート用プログラムが含まれており、
前記アップデート手段は、前記ドライバアップデート用プログラムによって前記デバイ
スドライバをアップデートすることを特徴とするコンピュータシステム。 A computer system as claimed in claim 7 or 8,
The program includes an application program and a device driver,
The update program includes a driver update program for updating the device driver,
The computer system characterized in that the update means updates the device driver with the driver update program.
前記USBデバイスは、メディアドライブであり、
前記アップデート用プログラムは、前記メディアドライブによって読み込み可能な記憶
メディアに記憶保持されており、
前記記憶デバイスは、前記記憶メディアにアクセス可能な前記メディアドライブである
ことを特徴とするコンピュータシステム。 The computer system according to any one of claims 7 to 9,
The USB device is a media drive;
The update program is stored in a storage medium that can be read by the media drive,
The computer system, wherein the storage device is the media drive accessible to the storage medium.
前記USBハブには、少なくとも前記USBデバイスとメディアドライブとが接続され
ており、
前記アップデート用プログラムは、前記メディアドライブによって読み取り可能な記憶
メディアに記憶保持されており、
前記記憶デバイスは、前記記憶メディアにアクセス可能な前記メディアドライブである
ことを特徴とするコンピュータシステム。 The computer system according to any one of claims 7 to 9,
At least the USB device and a media drive are connected to the USB hub,
The update program is stored in a storage medium readable by the media drive,
The computer system, wherein the storage device is the media drive accessible to the storage medium.
前記USBデバイス機器は、前記USBハブに少なくとも前記メディアドライブおよび
レーベルプリンタが接続されているメディア処理装置であることを特徴とするコンピュー
タシステム。 The computer system according to claim 10 or 11,
The computer system, wherein the USB device device is a media processing device in which at least the media drive and a label printer are connected to the USB hub.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008089962A JP2009245098A (en) | 2008-03-31 | 2008-03-31 | Program-updating method and computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008089962A JP2009245098A (en) | 2008-03-31 | 2008-03-31 | Program-updating method and computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009245098A true JP2009245098A (en) | 2009-10-22 |
Family
ID=41306920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008089962A Withdrawn JP2009245098A (en) | 2008-03-31 | 2008-03-31 | Program-updating method and computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009245098A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101181567B1 (en) | 2010-03-12 | 2012-09-10 | 스탠다드 마이크로시스템즈 코포레이션 | Firmware flashing of a portable device using a serial bus hub |
JP2015060337A (en) * | 2013-09-18 | 2015-03-30 | コニカミノルタ株式会社 | Information processing device, device driver, and customization program |
-
2008
- 2008-03-31 JP JP2008089962A patent/JP2009245098A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101181567B1 (en) | 2010-03-12 | 2012-09-10 | 스탠다드 마이크로시스템즈 코포레이션 | Firmware flashing of a portable device using a serial bus hub |
JP2015060337A (en) * | 2013-09-18 | 2015-03-30 | コニカミノルタ株式会社 | Information processing device, device driver, and customization program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4438048B2 (en) | Peripheral device, firmware update method for the peripheral device, and program | |
US20070043901A1 (en) | Optical disc recording system with shared non-volatile memory design | |
JP2010044579A (en) | Peripheral device, program, and driver installation system | |
JP2007514217A (en) | Data exchange method between data processing apparatus and computer | |
KR100694124B1 (en) | Method and apparatus for upgrading driver of image forming apparuatus | |
WO2008065886A1 (en) | Information processing apparatus and control method for information processing apparatus | |
CN1963682A (en) | Image forming apparatus capable of updating firmware of optional cassette and method thereof | |
JP2009245098A (en) | Program-updating method and computer system | |
US20070150072A1 (en) | Method for controlling electronic apparatus, program for controlling electronic apparatus, electronic apparatus, and recording apparatus | |
US20050257225A1 (en) | Office automation device and method of installing, reinstalling, and upgrading a driver thereof | |
KR100503484B1 (en) | Image forming device | |
CN100378664C (en) | Office automation equipment, method for mounting, repacking and upgrading drive thereof | |
JP2007293449A (en) | Printer with scanner and electronic appliance | |
JPH11232183A (en) | Printer control information managing device and recording medium for recording control information management program | |
US20220377196A1 (en) | Control device, startup method, and electric apparatus | |
JP2009238071A (en) | Built-in system | |
JP5487603B2 (en) | RECORDING CONTROL DEVICE, RECORDING CONTROL METHOD, RECORDING CONTROL PROGRAM, AND STORAGE MEDIUM | |
JP4575112B2 (en) | Firmware rewriting method, disk drive device, and information processing system | |
JP2009116766A (en) | Printing system | |
JP2004302870A (en) | Write-protect method for media reader/writer | |
JP2002358209A (en) | Information processing method and device thereof | |
US20060101448A1 (en) | Printing device | |
JP5258065B2 (en) | Data communication device driver management method and communication device | |
JP2004213427A (en) | Automatic execution control device and external recording device | |
JP2000089915A (en) | Disk array device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110607 |