JP2005243046A5 - - Google Patents

Download PDF

Info

Publication number
JP2005243046A5
JP2005243046A5 JP2005092148A JP2005092148A JP2005243046A5 JP 2005243046 A5 JP2005243046 A5 JP 2005243046A5 JP 2005092148 A JP2005092148 A JP 2005092148A JP 2005092148 A JP2005092148 A JP 2005092148A JP 2005243046 A5 JP2005243046 A5 JP 2005243046A5
Authority
JP
Japan
Prior art keywords
usb
information
area
external device
mass storage
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
Application number
JP2005092148A
Other languages
Japanese (ja)
Other versions
JP2005243046A (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2005092148A priority Critical patent/JP2005243046A/en
Priority claimed from JP2005092148A external-priority patent/JP2005243046A/en
Publication of JP2005243046A publication Critical patent/JP2005243046A/en
Publication of JP2005243046A5 publication Critical patent/JP2005243046A5/ja
Withdrawn legal-status Critical Current

Links

Description

USBストレージデバイス及びその制御装置USB storage device and control device thereof

本発明は、半導体メモリを用いて情報を記憶するUSBストレージデバイス及びその制御装置に関する。 The present invention relates to a USB storage device that stores information using a semiconductor memory and a control device thereof .

近年、フラッシュメモリ等を内蔵し、USB(Universal Serial Bus)規格に基づいたインターフェースを備え、USBコネクタ部分を本体に一体化することによってコンパクトな形状を実現した着脱式のUSBストレージデバイスが広く知られている(例えば特許文献1)。このようなUSBストレージデバイスはコンパクトな形状であるため安価に製造でき、内部にコマーシャル等のソフトウェアを書き込んで企業の販促品として利用されている。
このようなデバイスでは、フラッシュメモリが、情報の読み出し、書き込み及び削除が可能な一つのディスク領域として構成され、USBストレージデバイスが装着されて使用されるホスト(「外部装置」ともいう)のOSからは、情報の読み出し、書き込み及び削除が可能なディスクデバイスを有する一つのドライブが存在するものとして認識されていた。
即ち、フラッシュメモリを複数の領域に分けて定義し、これら複数の領域をOSから複数のデバイスが存在するものとして認識させるものはなかった。まして、これら複数の領域をOSからそれぞれ異なる種類のデバイスとして認識させるものはなかった。
In recent years, detachable USB storage devices that incorporate a flash memory, etc., have an interface based on the USB (Universal Serial Bus) standard, and realize a compact shape by integrating the USB connector part into the main body are widely known. (For example, Patent Document 1). Since such a USB storage device has a compact shape, it can be manufactured at low cost, and software such as commercials is written therein and used as a promotional product for a company.
In such a device, the flash memory is configured as one disk area from which information can be read, written and deleted, and from the OS of a host (also referred to as an “external device”) to which a USB storage device is attached and used. Has been recognized as having a single drive having a disk device capable of reading, writing and deleting information.
That is, there is no one that defines the flash memory divided into a plurality of areas and recognizes the plurality of areas as having a plurality of devices from the OS. In addition, there is no device that recognizes these plural areas as different types of devices from the OS.

また、このようなUSBストレージデバイスの多くは、ソフトウェアが誤って消去されないようにするため、ライトプロテクトスイッチのような物理的なスイッチを設け、そのスイッチを切り替えることにより、読み込み、書き込み及び消去が可能な状態と読み込みのみが可能な状態とを切り替えられるようにしている。また、ROM等の元々書き換え不可能なメモリを使用して完全に書き込み及び消去をできないようにする場合もある。 Further, many such USB storage device, in order to prevent accidentally erased software, provided the physical switch, such as a write-protect switch, by switching the switch, reading, writing and erasing can be It is possible to switch between a simple state and a state in which only reading is possible. In some cases, a memory such as a ROM that cannot be rewritten is used so that writing and erasing cannot be performed completely.

しかし、このようにROM等を用いて使用者が情報を書き込めないようにしてしまうと、使用目的が限られてしまい使い勝手が悪かった。また、ソフトウェアの実行時に一時ファイルやデータ等が書き込めずに、ソフトウェア自体の機能が制限される場合もあった。一方、上述したライトプロテクトスイッチを用いる場合は、使用者が意識しない物理的要因によってライトプロテクトスイッチが解除されてしまい、意図しない書き込みや消去が実行される場合もあり得た。   However, if the user cannot write information using a ROM or the like in this way, the purpose of use is limited and the usability is poor. In some cases, temporary functions and data cannot be written when the software is executed, and the function of the software itself is limited. On the other hand, when the above-described write protect switch is used, the write protect switch may be released due to a physical factor that the user is not aware of, and unintended writing or erasure may be performed.

そこで、このような問題を解決するために特許文献2に記載のような技術が考えられている。これは、書き換え可能型の可搬型メディアに対して、仮想的に書き換え禁止領域や読み込み禁止領域を設けてハイブリッドな構成にするものである。
しかしながら、USBストレージデバイスにおいて、フラッシュメモリを複数の領域に分けて定義し、このうちの一つを情報の読み出し、書き込み、削除が可能なデバイスとして、他の少なくとも一つの領域を情報の読み出しのみ可能なデバイスとしてOSに認識させるものは存在しなかった。
特開2000−259275号公報 特開平10−289159号公報
Therefore, in order to solve such a problem, a technique as described in Patent Document 2 is considered. This is a hybrid configuration in which a rewritable prohibited area and a read prohibited area are virtually provided for a rewritable portable medium.
However, in a USB storage device, the flash memory is defined by dividing it into multiple areas, one of which is a device that can read, write, and delete information, and at least one other area can only read information There is nothing that makes the OS recognize it as a new device.
JP 2000-259275 A JP-A-10-289159

ところで、特許文献2に記載の技術をUSBストレージデバイスに適用することを考えた場合、具体的な実現方法としては次のような方法が考えられる。
一つは、USBストレージデバイスに、内部的に2つのUSBストレージデバイス(うち一方のUSBストレージデバイスは削除及び書き込みを制限)とそれらを接続したハブとを備えることにより実現する方法である。しかし、このようなUSBストレージデバイスは、内部に実質的に2つのUSBストレージデバイスを備えるため、構成が複雑になるといった問題があった。また、ホストでは、USBストレージデバイスが接続された際に、まずHUBデバイスとして認識し、その後、内蔵されたUSBストレージデバイスの数だけ、マスストレージクラスドライバの初期化が必要になるため、接続時の処理に時間がかかるといった問題もあった。
By the way , when considering applying the technique described in Patent Document 2 to a USB storage device, the following method is conceivable as a specific implementation method.
One is a method realized by providing a USB storage device internally with two USB storage devices (of which one USB storage device restricts deletion and writing) and a hub connected to them. However, such a USB storage device has a problem that the configuration is complicated because it has substantially two USB storage devices inside. In addition, when a USB storage device is connected, the host first recognizes it as a HUB device, and after that, it is necessary to initialize mass storage class drivers for the number of built-in USB storage devices. There was also a problem that processing took time.

また一つは、USB規格におけるエンドポイントの数を増やすことによって実現する方法も考えられる。しかし、このような方法を用いた場合は、USBストレージデバイスが備えるコントローラにエンドポイントの数分だけFIFOバッファが必要になる。また、最近では、FIFOバッファを多数実装しない仮想エンドポイントなる技法を用いたコン
トローラもあるが、何れの場合もコントローラが複雑になり、コスト増を招く要因となっていた。
One method is also conceivable by increasing the number of endpoints in the USB standard. However, when such a method is used, as many FIFO buffers as the number of endpoints are required for the controller provided in the USB storage device. Recently, there is also a controller that uses a technique called a virtual endpoint that does not implement many FIFO buffers. However, in any case, the controller becomes complicated and causes an increase in cost.

本発明は、このような問題に鑑みなされたものであり、その第1の目的は、USBストレージデバイスのフラッシュメモリからなる記憶手段を複数の領域に分けて定義し、これらをOSからそれぞれ独立のデバイスとして認識させることのできるUSBストレージデバイス及びそのコントローラ(制御装置)を提供することにある。
本発明の第2の目的は、USBストレージデバイスのフラッシュメモリからなる記憶手段を複数の領域に分けて定義し、これらをOSからそれぞれ異なる種類のデバイスとして認識させることのできるUSBストレージデバイス及びそのコントローラ(制御装置)を提供することにある。
本発明の第3の目的は、USBストレージデバイスのフラッシュメモリからなる記憶手段を複数の領域に分けて定義し、これらを、OSから、情報の読み出し、書き込み、削除が可能なデバイスと、情報の読み出しのみ可能なデバイスとしてそれぞれ認識させることのできるUSBストレージデバイス及びそのコントローラ(制御装置)を提供することにある。特に、記憶済みのソフトウェアが誤って消去されることを防止するという機能ができるだけ単純な構成で実現されたUSBストレージデバイス及びその制御装置を提供することを目的とする。
The present invention has been made in view of such problems, and a first object of the invention is to define a storage unit composed of a flash memory of a USB storage device divided into a plurality of areas, which are independent of the OS. An object of the present invention is to provide a USB storage device that can be recognized as a device and its controller (control device).
A second object of the present invention is to define a storage unit composed of a flash memory of a USB storage device by dividing it into a plurality of areas, and to recognize these as different types of devices from the OS and its controller (Control device) is to be provided.
A third object of the present invention is to define a storage unit composed of a flash memory of a USB storage device as being divided into a plurality of areas, which are defined as a device that can read, write, and delete information from the OS, It is an object of the present invention to provide a USB storage device and its controller (control device) that can be recognized as devices that can only be read. In particular, it is an object of the present invention to provide a USB storage device and a control device thereof in which a function of preventing stored software from being accidentally erased is realized with a configuration as simple as possible.

上記課題を解決するためになされた請求項1に記載の制御装置は、USBストレージデバイスに設けられたフラッシュメモリからなる記憶手段の第1と第2の領域を、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、それぞれ独立のデバイスとして認識させるための情報を記憶してなる。そして、外部装置のディスクドライブドライバによるコマンドの発行に応答して、外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1と第2の領域を、それぞれ独立のデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1と第2の領域に対して、それぞれ許容されているアクセス処理を実行する。 The control device according to claim 1, which has been made to solve the above-described problem, has the first and second areas of the storage unit including the flash memory provided in the USB storage device in which the USB storage device is mounted. Information for causing the USB mass storage class driver of the external device used to be recognized as an independent device is stored. In response to the issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. The first and second areas of the USB storage device are recognized as independent devices, and the first and second areas are determined based on a command received from an external device and the information to be recognized. The access processing permitted for each is executed.

このため、ユーザは、外部装置に装着した一つのUSBストレージデバイスを、複数のデバイスとして扱うことができ、一つのデバイスとしてしか認識させることができない場合に比べ、利便性が増す。この場合、「それぞれ独立のデバイスとして認識させるための情報」のうち、一方の領域に関する情報を、情報の読み出しのみを実行可能なデバイスとして認識させるための情報によって構成し、さらに、誤って消去されると問題のあるソフトウェアを、そのデバイスに対応する領域に記憶させておけば制御装置は、外部装置(例えばパーソナルコンピュータ)から当該領域に対する削除指令を受け取った場合でもその指令を実行しないため、ソフトウェアが消去されることや改変されることを防止できる。 For this reason, the user can handle one USB storage device attached to the external device as a plurality of devices, and convenience is increased compared to a case where the user can recognize only one device. In this case, the information related to one of the “information for recognizing each device as an independent device” is configured with information for recognizing the device as a device that can only read information, and is deleted by mistake. that when the offending software, are stored in the area corresponding to the device you fluff control device, because it does not execute the command, even when receiving the deletion command to the aforementioned areas from an external device (e.g., personal computer) The software can be prevented from being deleted or modified.

また、上記課題を解決するためになされた請求項2に記載の制御装置は、USBストレージデバイスに設けられたフラッシュメモリからなる記憶手段の第1と第2の領域を、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、それぞれが異なる種類のデバイスとして認識させるための情報を記憶してなる。そして、外部装置のディスクドライブドライバによるコマンドの発行に応答して、外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1と第2の領域を、異なる種類のデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1と第2の領域に対して、それぞれ許容されているアクセス処理を実行する。According to a second aspect of the present invention, there is provided the control device according to claim 2, wherein the USB storage device mounts the first and second areas of the storage unit including the flash memory provided in the USB storage device. Then, information for causing each of the USB mass storage class drivers of the external devices to be recognized to be recognized as different types of devices is stored. In response to the issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. The first and second areas of the USB storage device are recognized as different types of devices, and the first and second areas are determined based on a command received from an external device and the information for the recognition. The access processing permitted for each is executed.

このため、外部装置に装着した一つのUSBストレージデバイスを、複数の異なる種類のデバイスとして扱うことができ、一つのデバイスとしてしか認識させることができない場合や同種の複数のデバイスとしてしか認識させることができない場合に比べ、さらに利便性が増す。For this reason, one USB storage device attached to an external device can be handled as a plurality of different types of devices, and can only be recognized as one device or can be recognized as a plurality of devices of the same type. Compared to the case where it is not possible, the convenience is further increased.

なお、「それぞれ異なる種類のデバイスとして認識させるための情報」は、特に、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させる情報であるとよい。そして、制御装置は、外部装置のディスクドライブドライバによるコマンドの発行に応答して、外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては、情報の読み出し、書き込み及び削除を実行し、第2の領域に対しては情報の読み出しのみを実行するようになっているとよい(請求項3)。Note that the “information for recognizing each different type of device” is, in particular, reading the first area from the USB mass storage class driver of the external device to which the USB storage device is attached, The device may be information that allows the second area to be recognized as a device that can only read information as a device that can be written and deleted. Then, in response to the issuance of the command by the disk drive driver of the external device, the control device supplies information for causing the USB mass storage class driver of the external device to perform the recognition, and controls the USB mass storage class driver. The first area of the USB storage device on which the device is mounted is recognized as a device that can read, write, and delete information, and the second area is recognized as a device that can only read information and is received from an external device. The information is read, written and deleted for the first area, and only the information is read for the second area based on the command and the information for recognition. (Claim 3).

このようになっていれば、第1の領域を情報の読み出し、書き込み、及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして、OSは認識する。よって、ユーザは第1の領域に対しては、ディスクデバイスとして自由に情報の読み出し、書き込み、削除を実行できる。一方、第2領域に対しては、たとえ情報の書き込みや削除の指令があっても、制御装置がこれを実行しないため、第2の領域に格納しているソフトウェアが消去されることや改変されることを防止できる。In this case, the OS recognizes the first area as a device that can read, write, and delete information, and the second area as a device that can only read information. Therefore, the user can freely read, write, and delete information from the first area as a disk device. On the other hand, the software stored in the second area is deleted or altered because the control device does not execute the information in the second area even if there is a command to write or delete information. Can be prevented.

また、上記課題を解決するためになされた請求項4に記載のUSBストレージデバイスは、所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、外部装置とUSBプロトコルに基づいた通信を行う通信手段と、通信手段を介して、記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、を備える。そして、制御手段は、前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ独立のデバイスとして認識させるための情報を記憶し、ディスクドライブドライバからの指令に従って、前記認識させるための情報をUSBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ独立のデバイスとして認識させるとともに、外部装置から受け取った指令と認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行する。The USB storage device according to claim 4, which has been made to solve the above-described problem, is controlled by a predetermined operation system and includes at least a disk drive driver, a USB mass storage class driver, and a USB host controller. A USB storage device that can be attached to and detached from the storage device, wherein the storage area of the flash memory is defined by dividing the storage area into a first area and a second area, and communication based on the USB protocol with an external device And a control unit that executes reading, writing, and deletion of information with respect to the storage unit via the communication unit. The control means stores information for causing the USB mass storage class driver to recognize the first and second areas as independent devices, and information for causing the USB mass storage class driver to recognize the first area and the second area according to a command from the disk drive driver. Is supplied to the USB mass storage class driver so that the USB mass storage class driver recognizes each area of the USB storage device as an independent device and also recognizes it as a command received from an external device. Based on the above, the permitted access processing is executed for each of the first area and the second area.

また、上記課題を解決するためになされた請求項5に記載のUSBストレージデバイスは、所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、外部装置とUSBプロトコルに基づいた通信を行う通信手段と、通信手段を介して、記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、を備える。そして、制御手段は、前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ異なる種類のデバイスとして認識させるための情報を記憶し、ディスクドライブドライバからの指令に従って、前記認識させるための情報を前記USBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ異なる種類のデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行する。The USB storage device according to claim 5, which has been made to solve the above problem, is controlled by a predetermined operation system and includes at least a disk drive driver, a USB mass storage class driver, and a USB host controller. A USB storage device that can be attached to and detached from the storage device, wherein the storage area of the flash memory is defined by dividing the storage area into a first area and a second area, and communication based on the USB protocol with an external device And a control unit that executes reading, writing, and deletion of information with respect to the storage unit via the communication unit. The control means stores information for causing the USB mass storage class driver to recognize the first and second areas as different types of devices, and for recognizing the information in accordance with a command from the disk drive driver. The information is supplied to the USB mass storage class driver so that the USB mass storage class driver recognizes each area of the USB storage device as a different type of device, and the command received from the external device and the recognition On the basis of the information to be executed, the access processing permitted for each of the first area and the second area is executed.

また、請求項6に記載のUSBストレージデバイスは、前記認識させるための情報が、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させる情報である。そして、制御手段は、外部装置のディスクドライブドライバによるコマンドの発行に応答して、外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させるとともに、外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては、情報の読み出し、書き込み及び削除を実行し、第2の領域に対しては情報の読み出しのみを実行する。According to a sixth aspect of the present invention, in the USB storage device according to the sixth aspect, the information to be recognized is transferred from the first area to the USB mass storage class driver of the external device to which the USB storage device is attached. This is information that allows the second area to be recognized as a device that can only read information as a device that can read, write, and delete. Then, in response to issuance of a command by the disk drive driver of the external device, the control means supplies information for causing the USB mass storage class driver of the external device to recognize the control, and controls the USB mass storage class driver for the control. The first area of the USB storage device on which the device is mounted is recognized as a device that can read, write, and delete information, and the second area is recognized as a device that can only read information and is received from an external device. The information is read, written and deleted for the first area, and only the information is read for the second area based on the command and the information for recognition. .

これら請求項4〜請求項6に記載の各USBストレージデバイスは、それぞれ請求項1〜請求項3に記載の制御装置と同様の効果を奏する。Each of the USB storage devices according to the fourth to sixth aspects has the same effect as the control apparatus according to the first to third aspects.

以下、本発明が適用された実施例について図面を用いて説明する。尚、以下の実施例では、USBストレージデバイスの記憶手段であるフラッシュメモリを第1と第2の領域に分けて定義し、第1の領域を情報の読み出し、書き込み及び削除が可能なディスクデバイスとして、第2の領域を情報の読み出しのみ可能なCD−ROMデバイスとして、OSに認識させる例について説明するが、本発明の実施の形態は、下記の実施例に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の形態を採りうる。 Embodiments to which the present invention is applied will be described below with reference to the drawings. In the following embodiments, the flash memory as the storage means of the USB storage device is defined by dividing it into first and second areas, and the first area is a disk device that can read, write, and delete information. An example in which the OS recognizes the second area as a CD-ROM device that can only read information will be described. However, embodiments of the present invention are not limited to the following examples. Various forms can be adopted as long as they belong to the technical scope of the invention.

[実施例1]
図1は、実施例1のUSBストレージデバイス17(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)の概略構成を示すブロック図である。
[Example 1]
FIG. 1 is a block diagram illustrating a schematic configuration of a USB storage device 17 (corresponding to a USB storage device described in claims) and a host 11 (corresponding to an external device described in claims) according to the first embodiment. FIG.

(1)ホスト11
ホスト11は、一般に広く知られたパーソナルコンピュータであり、ソフトウェアとして、オペレーションシステム12、ディスクドライブドライバ13及びUSBマスストレージクラスドライバ14を備え、ハードウェアとしてUSBホストコントローラ15を少なくとも備える。
(1) Host 11
The host 11 is a generally well-known personal computer, and includes an operation system 12, a disk drive driver 13, and a USB mass storage class driver 14 as software, and at least a USB host controller 15 as hardware.

オペレーションシステム12は、ホスト11を統括的に制御するソフトウェアであり、例えばWindows(登録商標)やMac OS X(登録商標)等ある。ディスクドライブドライバ13は、オペレーションシステム12から受け取った記憶装置へのアクセス指令等をSCSIコマンド変換してUSBマスストレージクラスドライバ14に渡すとともに、USBマスストレージクラスドライバ14から指令等を受け取りオペレーションシステム12に渡す。USBマスストレージクラスドライバ14は、USBホストコントローラ15を制御する。USBホストコントローラ15は、図示しないUSBコネクタを備え、他の装置のUSBコネクタとケーブルによって接続されることによって、USB規格に基づいた通信を行うことができるようになっている。なお、ホスト11は、USB規格に基づいた通信を行うことができる機器であれば、パーソナルコンピュータに限らずPDAや携帯電話等であってもよい。   The operation system 12 is software that comprehensively controls the host 11, and includes, for example, Windows (registered trademark), Mac OS X (registered trademark), and the like. The disk drive driver 13 converts the access command or the like to the storage device received from the operation system 12 into a SCSI command after passing it to the USB mass storage class driver 14 and receives the command or the like from the USB mass storage class driver 14 to the operation system 12. hand over. The USB mass storage class driver 14 controls the USB host controller 15. The USB host controller 15 includes a USB connector (not shown), and is connected to a USB connector of another device through a cable so that communication based on the USB standard can be performed. The host 11 is not limited to a personal computer, and may be a PDA, a mobile phone, or the like as long as it is a device that can perform communication based on the USB standard.

(2)USBストレージデバイス17
USBストレージデバイス17は、USBインターフェース19とコントローラ21とLED23とフラッシュメモリ25とを備える。
(2) USB storage device 17
The USB storage device 17 includes a USB interface 19, a controller 21, an LED 23, and a flash memory 25.

(2−1)USBインターフェース19
USBインターフェース19は、特許請求の範囲に記載の通信手段に相当し、USBバス16を介してホスト11と通信を行う機能を担う。USBインターフェース19は、パケット送受信部19aとシリアルパラレル変換部19bとパケット生成分解部19cとUSBバスパワー制御部19dとを備える。パケット送受信部19aは、図示しないUSBコネクタと接続され、USB規格に基づいたパケットを送受信する。シリアルパラレル変換部19bは、シリアルデータとパラレルデータとを相互に変換する。パケット生成分解
部19cは、ホスト11と通信を行うためのパケットの生成及びパケットを分解してデータの取り出しを行う。USBバスパワー制御部19dは、ホスト11から供給される電力の管理及びUSBストレージデバイス17の各部位への電力の配分を行う。
(2-1) USB interface 19
The USB interface 19 corresponds to communication means described in the claims, and has a function of communicating with the host 11 via the USB bus 16. The USB interface 19 includes a packet transmission / reception unit 19a, a serial / parallel conversion unit 19b, a packet generation / decomposition unit 19c, and a USB bus power control unit 19d. The packet transmitting / receiving unit 19a is connected to a USB connector (not shown) and transmits / receives a packet based on the USB standard. The serial / parallel converter 19b mutually converts serial data and parallel data. The packet generation / decomposition unit 19c generates a packet for communicating with the host 11 and decomposes the packet to extract data. The USB bus power control unit 19 d performs management of power supplied from the host 11 and distribution of power to each part of the USB storage device 17.

(2−2)コントローラ21
コントローラ21は、特許請求の範囲に記載の制御手段に相当し、メモリ制御部21aとUSBインターフェース制御部21bとメモリ情報記憶部21cとLED制御部21dとを備える。メモリ制御部21aは、フラッシュメモリ25に対してデータの読み出し、書き込み及び削除を実行する。USBインターフェース制御部21bは、前述したUSBインターフェース19の各部を制御する。メモリ情報記憶部21cは、フラッシュメモリ25の領域に関する情報を記憶する。この情報について図2のデータ例を用いてこの情報について説明する。
(2-2) Controller 21
The controller 21 corresponds to the control means described in the claims, and includes a memory control unit 21a, a USB interface control unit 21b, a memory information storage unit 21c, and an LED control unit 21d. The memory control unit 21 a executes data reading, writing, and deletion with respect to the flash memory 25. The USB interface control unit 21b controls each unit of the USB interface 19 described above. The memory information storage unit 21 c stores information regarding the area of the flash memory 25. This information will be described with reference to the data example of FIG.

図2に示すように、メモリ情報記憶部21cは、論理ユニット番号31とフォーマット33と書き込み削除可否フラグ35と論理ブロック番号37と物理ブロック番号39とを備える。論理ユニット番号31は論理ユニットを識別するための番号であり、「0」と「1」とが存在する。フォーマット33は、論理ユニット番号31に対応し、その論理ユニットのフォーマットを表す。データ例では、論理ユニット番号「0」は「FAT」フォーマットであり、論理ユニット番号「1」は「ISO9660」フォーマットである。書き込み削除可否フラグ35は、論理ユニット番号31に対応し、その論理ユニットに対して情報の書き込み及び削除の実行可否を表すフラグである。データ例では、論理ユニット番号「0」は「可」であり、論理ユニット番号「1」は「不可」である。論理ブロック番号37は、ホスト11によって指定されるブロック番号であり、論理ユニット毎に定義されている。   As shown in FIG. 2, the memory information storage unit 21 c includes a logical unit number 31, a format 33, a write deletion enable / disable flag 35, a logical block number 37, and a physical block number 39. The logical unit number 31 is a number for identifying a logical unit, and “0” and “1” exist. The format 33 corresponds to the logical unit number 31 and represents the format of the logical unit. In the data example, the logical unit number “0” is in the “FAT” format, and the logical unit number “1” is in the “ISO9660” format. The write / deletability flag 35 corresponds to the logical unit number 31 and is a flag that indicates whether or not information can be written to and deleted from the logical unit. In the data example, the logical unit number “0” is “permitted” and the logical unit number “1” is “impossible”. The logical block number 37 is a block number designated by the host 11 and is defined for each logical unit.

このように、フラッシュメモリ25の実ブロック番号である物理ブロック番号39と論理ブロック番号37との対応づけは、メモリ制御部21aによって管理されている。このため、物理ブロック番号39と論理ブロック番号37とは自由に対応付けを行うことができる。また、論理ユニット番号「0」のフォーマットをISO9660にし、論理ユニット番号「1」のフォーマットをFATにしてもよい。また、更に論理ユニットを増やし、ユーザーやアプリケーションによって使い分けられるようになっていてもよい。   As described above, the correspondence between the physical block number 39, which is the actual block number of the flash memory 25, and the logical block number 37 is managed by the memory control unit 21a. For this reason, the physical block number 39 and the logical block number 37 can be freely associated with each other. Further, the format of the logical unit number “0” may be ISO9660, and the format of the logical unit number “1” may be FAT. Further, the number of logical units may be further increased so that they can be used properly depending on users and applications.

(2−3)LED23
図1に戻り、LED23は、フラッシュメモリ25に対して情報の読み出し、書き込み及び削除が実行されている際に点灯する発光体である。フラッシュメモリ25に対して情報の読み出し、書き込み及び削除が実行中であることを利用者に示し、これらの実行中にホスト11からUSBストレージデバイス17が抜かれないようにするためのものである。
(2-3) LED23
Returning to FIG. 1, the LED 23 is a light-emitting body that is lit when information is read from, written to, or deleted from the flash memory 25. This is to indicate to the user that information is being read from, written to, and deleted from the flash memory 25, and to prevent the USB storage device 17 from being removed from the host 11 during these operations.

(2−4)フラッシュメモリ25
フラッシュメモリ25は、記憶保持動作が不要な半導体メモリであり、データを記憶することができる。記憶したデータは、メモリ制御部21aによって読み出すことが可能である。また、メモリ制御部21aによって書き込み及び削除をすることもできる。フラッシュメモリ25は、特許請求の範囲に記載の記憶手段に相当する。
(2-4) Flash memory 25
The flash memory 25 is a semiconductor memory that does not require a memory holding operation, and can store data. The stored data can be read out by the memory control unit 21a. Further, writing and deletion can be performed by the memory control unit 21a. The flash memory 25 corresponds to storage means described in the claims.

(a)起動処理
USBストレージデバイス17がホスト11に接続された際に、USBストレージデバ
イス17のコントローラ21でプログラムに基づいて実行される起動処理について図3のフローチャートを用いて説明する。この起動処理は、USBストレージデバイス17がホスト11に接続されることにより、USBバスパワー制御部19dに電力が供給され、さらにホスト11側でエニュメレーション処理が実行されると開始される。
(A) Activation Process The activation process executed based on the program by the controller 21 of the USB storage device 17 when the USB storage device 17 is connected to the host 11 will be described with reference to the flowchart of FIG. This activation process is started when the USB storage device 17 is connected to the host 11 to supply power to the USB bus power control unit 19d, and when the enumeration process is executed on the host 11 side.

起動処理を開始すると、ホスト11からの指令に応じて、ディスクリプタと呼ばれるデバイス情報(デフォルトパイプの最大パケットサイズ等)をホスト11に送信する(S110)。   When the activation process is started, device information called a descriptor (such as the maximum packet size of the default pipe) is transmitted to the host 11 in response to a command from the host 11 (S110).

次に、ホスト11から指令に応じて、USBストレージデバイス17のアドレスを設定する(S115)。以降、このアドレス宛のフレームのみを当該USBストレージデバイス17は取得する。   Next, the address of the USB storage device 17 is set according to a command from the host 11 (S115). Thereafter, the USB storage device 17 acquires only the frame addressed to this address.

次に、より詳細なデバイス情報をホスト11に送信する(S120)。このデバイス情報としては、エンドポイントに関する情報、クラス、サブクラス、プロトコル等である。
その結果、ホスト11ではUSBマスストレージクラスドライバ14が起動され、図示しないアプリケーションソフトウェアからディスクドライブドライバ13とUSBマスストレージクラスドライバ14とを介してUSBホストコントローラ15を制御するアクセスパスができる。なお、このディスクドライブドライバ13は、MS−DOS(登録商標)時代から、受け継がれているドライバであるため永年の技術が積み重ねられており、安定的な動作が得られるドライバである。
Next, more detailed device information is transmitted to the host 11 (S120). The device information includes information regarding end points, classes, subclasses, protocols, and the like.
As a result, the USB mass storage class driver 14 is activated in the host 11, and an access path for controlling the USB host controller 15 through the disk drive driver 13 and the USB mass storage class driver 14 from application software (not shown) is created. The disk drive driver 13 is a driver that has been inherited since the MS-DOS (registered trademark) era, and has accumulated many years of technology and is a driver that can obtain stable operation.

続いて、USBマスストレージクラスドライバ14が、Get Max Logical
Unit Numberコマンドによって論理ユニット番号数を要求するため、USBストレージデバイス17は、メモリ情報記憶部21cから論理ユニット番号数が2であるという情報を読み出して、ホスト11に送信する。そしてさらに、ディスクドライブドライバ13がINQUIRYコマンドを発行するため、USBストレージデバイス17は、メモリ情報記憶部21cから論理ユニットのフォーマットに関する情報を読み出して、ホスト11に送信する。これらの結果ホスト11は、USBストレージデバイス17を、FATフォーマットから構成される論理ユニット番号「0」の領域とISO9660フォーマットから構成される論理ユニット番号「1」の領域とを有するデバイスと認識する。
Subsequently, the USB mass storage class driver 14 is operated by Get Max Logical.
In order to request the number of logical unit numbers by the Unit Number command, the USB storage device 17 reads information indicating that the number of logical unit numbers is 2 from the memory information storage unit 21 c and transmits the information to the host 11. Further, since the disk drive driver 13 issues an INQUIRY command, the USB storage device 17 reads information on the format of the logical unit from the memory information storage unit 21 c and transmits it to the host 11. As a result, the host 11 recognizes the USB storage device 17 as a device having an area with a logical unit number “0” composed of the FAT format and an area with a logical unit number “1” composed of the ISO9660 format.

ホスト11との通信が確立されると、フラッシュメモリ25を動作可能にし(S125)、起動処理を終了する。
なお、Windows(登録商標)には、記憶媒体挿入時や記憶媒体接続時にその記憶媒体のルートディレクトリに記憶されたautorun.infという名称のファイル内で指定されたアプリケーションソフトウェアを実行する機能を有しているため、フラッシュメモリ25の論理ユニット番号「1」の領域にそのファイルを記憶させておけば、本USBストレージデバイス17がホスト11に装着された際に特定のソフトウェアを自動実行させることができる。
When communication with the host 11 is established, the flash memory 25 is enabled (S125), and the activation process is terminated.
In Windows (registered trademark), autorun.com stored in the root directory of a storage medium when the storage medium is inserted or when the storage medium is connected. Since it has a function of executing the application software designated in the file named “inf”, if the file is stored in the area of the logical unit number “1” of the flash memory 25, the USB storage device 17 Specific software can be automatically executed when is installed in the host 11.

このようになっていれば、利用者がホスト11の操作に不慣れであっても本USBストレージデバイス17を装着するだけで特定のアプリケーションソフトウェアが自動実行されるため、例えば販促品として広く一般に配布した場合に販促を担うアプリケーションソフトウェアを確実に実行させることができ、販促効果が高まる。   If this is the case, even if the user is unfamiliar with the operation of the host 11, the specific application software is automatically executed just by attaching the USB storage device 17. In this case, the application software responsible for the sales promotion can be surely executed, and the sales promotion effect is enhanced.

(b)アクセス処理
ホスト11において動作する種々のソフトウェアが、USBストレージデバイス17に対してデータの書き込み、読み出し、削除の実行指令を送ったときに、USBストレージデバイスのコントローラ21でプログラムに基づいて実行されるアクセス処理について図
4のフローチャートを用いて説明する。
(B) Access processing When various software operating in the host 11 sends execution commands for writing, reading, and deleting data to the USB storage device 17, the USB storage device controller 21 executes it based on the program. The access processing to be performed will be described with reference to the flowchart of FIG.

まず、S210では、ホスト11から受信した指令の種類によって分岐する。書き込み又は削除の指令であった場合はS215に進み、そうでない場合、すなわち読み出しの指令であった場合はS250に進む。   First, in S210, the process branches depending on the type of command received from the host 11. If it is a write or delete command, the process proceeds to S215. If not, that is, if it is a read command, the process proceeds to S250.

S215では、書き込み又は削除の指令が論理ユニット番号「1」に対する指令であるか否かによって分岐する。つまり、書き込み及び削除が実行可能な論理ユニットに対するものであるか否かによって分岐する。論理ユニット番号「1」に対するものであればS245に進み、そうでない場合すなわち論理ユニット番号「0」に対する指令であればS220に進む。   In S215, the process branches depending on whether the write or delete command is for the logical unit number “1”. That is, the process branches depending on whether or not the logical unit can be written and deleted. If it is for the logical unit number “1”, the process proceeds to S245; otherwise, that is, if it is a command for the logical unit number “0”, the process proceeds to S220.

S220では、LED23を点灯させる。続くS225では、ホスト11から指定されたフラッシュメモリ25のブロックにデータを書き込む。またはホスト11から指定されたフラッシュメモリ25のブロックのデータを削除する。なお書き込み又は削除を実行する際は、メモリ情報記憶部21cに記憶されているフラッシュメモリ25の領域に関する情報(図2参照)を用い、ホスト11から指定されたブロック番号を論理ブロック番号37としてその論理ブロック番号37に該当する物理ブロック番号39によって特定されたフラッシュメモリ25のブロックに対してデータの書き込み及び削除を実行する。   In S220, the LED 23 is turned on. In subsequent S225, data is written to the block of the flash memory 25 designated by the host 11. Alternatively, the data in the block of the flash memory 25 designated by the host 11 is deleted. When executing writing or deletion, the block number designated by the host 11 is set as the logical block number 37 using information on the area of the flash memory 25 stored in the memory information storage unit 21c (see FIG. 2). Data is written to and deleted from the block of the flash memory 25 specified by the physical block number 39 corresponding to the logical block number 37.

続くS230では、LED23を消灯させる。そして、S235ではS225の処理が正常に完了したか否かによって分岐する。正常に完了していればアクセス処理を終了し、正常に完了していなかったらS240に進む。   In subsequent S230, the LED 23 is turned off. Then, in S235, the process branches depending on whether or not the process of S225 is normally completed. If it has been completed normally, the access process is terminated, and if it has not been completed normally, the process proceeds to S240.

S240では、S225の処理が正常に完了しなかった旨をホスト11に通知してアクセス処理を終了する。
一方、S215で、書き込み又は削除の指令が論理ユニット番号「1」に対する指令であると判定された際に進むS245では、許可されていない指令としてホスト11にエラー発生の旨を通知する。
In S240, the host 11 is notified that the process in S225 has not been completed normally, and the access process is terminated.
On the other hand, in S 245 which proceeds when it is determined in S 215 that the write or delete command is a command for the logical unit number “1”, the host 11 is notified that an error has occurred as a non-permitted command.

また、S210で読み込みの指令であったと判定されて進むS250では、LED23を点灯させ、続くS255ではホスト11から指定されたフラッシュメモリ25のブロックのデータを読み込み、読み込んだデータをホスト11に送る。なお、データを読み込む際は、メモリ情報記憶部21cに記憶されているフラッシュメモリ25の領域に関する情報(図2参照)を用い、ホスト11から指定されたブロック番号を論理ブロック番号37としてその論理ブロック番号37に該当する物理ブロック番号39によって特定されたフラッシュメモリ25のブロックからデータを読み込む。   In S250, which is determined to have been a read command in S210, the LED 23 is turned on. In the subsequent S255, the block data of the flash memory 25 designated by the host 11 is read, and the read data is sent to the host 11. When data is read, information on the area of the flash memory 25 stored in the memory information storage unit 21c (see FIG. 2) is used, and the block number designated by the host 11 is used as the logical block number 37 to determine the logical block. Data is read from the block of the flash memory 25 specified by the physical block number 39 corresponding to the number 37.

続くS260では、LED23を消灯させる。そして、S265ではS255の処理が正常に完了したか否かによって分岐する。正常に完了していればアクセス処理を終了し、正常に完了していなかったらS270に進む。   In subsequent S260, the LED 23 is turned off. In S265, the process branches depending on whether the process of S255 is normally completed. If it has been completed normally, the access process is terminated. If it has not been completed normally, the process proceeds to S270.

S270では、S255の処理が正常に完了しなかった旨をホスト11に通知して通知してアクセス処理を終了する。
このようにアクセス処理が実行されるため、例えば販促品としてUSBストレージデバイス17を利用した場合、誤って消去されると問題のあるソフトウェアを論理ユニット番号「1」の領域に記憶させておけば、そのソフトウェアが消去されることを防止できる。
In S270, the host 11 is notified and notified that the process of S255 has not been completed normally, and the access process is terminated.
Since the access process is executed in this way, for example, when the USB storage device 17 is used as a sales promotion product, if the problematic software is stored in the area of the logical unit number “1” if it is deleted by mistake, The software can be prevented from being erased.

また、USBストレージデバイス17は、USBマスストレージクラスドライバ14のSCSIコマンドセットに定義された論理ユニット番号に対応する領域として論理ユニッ
ト番号「0」の領域と論理ユニット番号「1」の領域とをUSBマスストレージクラスドライバに認識させるための情報をメモリ情報記憶部21cに保持している。このため、USBマスストレージクラスドライバ14は、USBストレージデバイス17を2つの論理ユニットを有する一つのSCSIデバイスとして認識する。
Further, the USB storage device 17 converts the area of the logical unit number “0” and the area of the logical unit number “1” as the areas corresponding to the logical unit numbers defined in the SCSI command set of the USB mass storage class driver 14. Information for causing the mass storage class driver to recognize is held in the memory information storage unit 21c. For this reason, the USB mass storage class driver 14 recognizes the USB storage device 17 as one SCSI device having two logical units.

したがって、このような領域の管理を、USB規格におけるエンドポイントの数を増やすことによって実現する場合と比べてコントローラ21を単純化することができる。なぜならエンドポイントの数分だけコントローラ21はFIFOバッファを備えることが必要だからである。また、USBストレージデバイス17に、2種類のUSBストレージデバイスとそれらを接続したハブとを内蔵させて実現させる方法と比べても、USBストレージデバイス17は構成が単純である。また、USBストレージデバイス17であれば、ホスト11が行うUSBマスストレージクラスドライバ14のイニシャライズ処理も1度で済むため、ホスト11がUSBストレージデバイス17を認識するまでの時間も短い。また、ホスト11のオペレーションシステムは、2領域を有する1つのSCSIデバイスとしてUSBストレージデバイス17を管理できるため、複数のデバイスを管理する場合と比べて様々な処理を単純化して実行でき、動作も安定する。   Therefore, the controller 21 can be simplified as compared with the case where such management of the area is realized by increasing the number of endpoints in the USB standard. This is because the controller 21 needs to have FIFO buffers as many as the number of endpoints. Also, the USB storage device 17 has a simple configuration compared to a method in which the USB storage device 17 is implemented by incorporating two types of USB storage devices and a hub connected to them. In the case of the USB storage device 17, since the host 11 only needs to initialize the USB mass storage class driver 14 once, the time until the host 11 recognizes the USB storage device 17 is short. In addition, since the operation system of the host 11 can manage the USB storage device 17 as one SCSI device having two areas, it can execute various processes in a simplified manner compared to the case of managing a plurality of devices, and the operation is also stable. To do.

(c)初期化処理
初期化処理は、USBストレージデバイス17の製造者や販売者等(以下「特定ユーザー」と言う)が初期化を行うことを目的として、ホスト11上で初期化ソフトウェアを実行して後述する書き込みボタン66を押下した際に、USBストレージデバイス17のコントローラ21でプログラムに基づいて実行される。
(C) Initialization process The initialization process is performed by the initialization software executed on the host 11 for the purpose of initialization by the manufacturer or seller of the USB storage device 17 (hereinafter referred to as “specific user”). When a write button 66 described later is pressed, the controller 21 of the USB storage device 17 executes the program based on the program.

初期化処理を説明する前に、ホスト11で実行される初期化ソフトウェアについて図5の操作画面51を用いて説明する。操作画面51では、特定ユーザーがUSBストレージデバイス17に関する様々なパラメータを設定することができる。   Before describing the initialization process, initialization software executed on the host 11 will be described using the operation screen 51 of FIG. On the operation screen 51, a specific user can set various parameters related to the USB storage device 17.

テキストボックス53は、論理ユニット番号「0」に対応するものであり、情報の読み出し、書き込み及び削除を実行することができる領域(ディスク領域)の容量を入力するためのテキストボックスである。テキストボックス55は、論理ユニット番号「1」に対応するものであり、情報の読み出しのみを実行することができる領域(CD−ROM領域)の容量を入力するためのテキストボックスである。このテキストボックス53とテキストボックス55とに入力した値の合計が全容量である16以下になるよう特定ユーザーは入力しなければならない。   The text box 53 corresponds to the logical unit number “0”, and is a text box for inputting the capacity of an area (disk area) where information can be read, written and deleted. The text box 55 corresponds to the logical unit number “1”, and is a text box for inputting the capacity of an area (CD-ROM area) where only reading of information can be executed. The specific user has to input so that the sum of the values input in the text box 53 and the text box 55 becomes 16 or less which is the total capacity.

テキストボックス57は、USB規格で定義されたシリアル番号を入力するためのテキストボックスである。ホスト11はこのシリアル番号によってデバイスを見分けることができる。   The text box 57 is a text box for inputting a serial number defined by the USB standard. The host 11 can identify the device by this serial number.

テキストボックス59は、固有IDを入力するためのテキストボックスである。固有IDというのは、USB規格で定義されたものではなく、本実施例のUSBストレージデバイス17に独自のものであり、この固有IDをライセンスキーとすることで、不正コピーなどによるコンテンツの不正起動を防止に用いたり、固有IDを認証キーや会員向けサービスに利用したりすることもできる。固有IDは、16バイト以上612バイト以下の16進データである。なお、テキストボックス59の右端の上下ボタンが押下されることにより、表示しきれないデータを順次表示するように操作画面51は構成されている。   The text box 59 is a text box for inputting a unique ID. The unique ID is not defined in the USB standard, but is unique to the USB storage device 17 of the present embodiment. By using this unique ID as a license key, unauthorized activation of content by unauthorized copying or the like Can be used for prevention, or the unique ID can be used for an authentication key or a service for members. The unique ID is hexadecimal data of 16 bytes or more and 612 bytes or less. The operation screen 51 is configured to sequentially display data that cannot be displayed by pressing the up and down buttons at the right end of the text box 59.

テキストボックス61は、CD−ROM領域に書き込むファイル名を入力するためのテキストボックスである。複数ファイルのファイル名を入力できるようになっていてもよい。   The text box 61 is a text box for inputting a file name to be written in the CD-ROM area. It may be possible to input file names of a plurality of files.

参照ボタン63は、テキストボックス61へのファイル名入力を支援するダイアログボックスを表示させるためのボタンである。表示されたダイアログボックスの中から特定ユーザーがファイル名を選択すると、その選択したファイルがテキストボックス61に表示されるようになっている。   The reference button 63 is a button for displaying a dialog box that supports the input of a file name in the text box 61. When a specific user selects a file name from the displayed dialog box, the selected file is displayed in the text box 61.

フォーマット選択ボタン64は、CDイメージデータのフォーマットを選択するためのダイアログボックスを表示させるためのボタンである。表示されたダイアログボックスの中からISO9660又はHFSの何れかの形式が選択できるようになっている。   The format selection button 64 is a button for displaying a dialog box for selecting the format of the CD image data. Either ISO 9660 or HFS format can be selected from the displayed dialog box.

書き込みボタン66は、特定ユーザーが操作画面51で設定した設定情報をUSBストレージデバイス17に書き込む処理を開始させるためのボタンである。
キャンセルボタン67は、特定ユーザーが操作画面51で設定した設定情報をUSBストレージデバイス17に書き込むことをせずに操作画面51を閉じるためのボタンである。
The write button 66 is a button for starting a process of writing the setting information set by the specific user on the operation screen 51 to the USB storage device 17.
The cancel button 67 is a button for closing the operation screen 51 without writing the setting information set by the specific user on the operation screen 51 to the USB storage device 17.

次に、USBストレージデバイス17のコントローラ21で実行される初期化処理について図6のフローチャートを用いて説明する。実行が開始されるとまず、ホスト11から送られる設定情報を受信する(S310)。この設定情報は、上述した操作画面51で設定された設定情報である。そして次に、受信した設定情報に基づいてメモリ情報記憶部21cのデータを更新する(S315)。   Next, initialization processing executed by the controller 21 of the USB storage device 17 will be described with reference to the flowchart of FIG. When the execution is started, first, setting information sent from the host 11 is received (S310). This setting information is the setting information set on the operation screen 51 described above. Next, the data in the memory information storage unit 21c is updated based on the received setting information (S315).

続いて、受信した設定情報に基づいてフラッシュメモリ25の論理ユニット番号「1」の領域にデータを書き込み(S320)、初期化処理は終了する。本来は、論理ユニット番号「1」の領域にはデータを書き込むことはできないが、初期化処理の際のみ、書き込むことができるように構成されている。なお、書き込むデータは、上述したテキストボックス61で設定したファイルである(図5参照)。   Subsequently, based on the received setting information, data is written in the area of the logical unit number “1” of the flash memory 25 (S320), and the initialization process ends. Originally, data cannot be written in the area of the logical unit number “1”, but it can be written only in the initialization process. The data to be written is a file set in the text box 61 described above (see FIG. 5).

このような初期化処理によって特定ユーザーの事情に合わせて、領域の容量の変更や、シリアル番号の設定や、固有IDの設定や、CD−ROM領域に予めファイルを記憶させておくことが実行できる。   By such initialization processing, it is possible to change the capacity of the area, set the serial number, set the unique ID, or store the file in the CD-ROM area in advance according to the circumstances of the specific user. .

[実施例2]
図7は、実施例2のインクジェットプリンタ71(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)との概略構成を示すブロック図である。なお、実施例1と同様の部分は、実施例1を説明する際に使用した符号と同一の符号を付すことにより説明を省略する。
[Example 2]
FIG. 7 is a block diagram illustrating a schematic configuration of the inkjet printer 71 (corresponding to the USB storage device described in claims) and the host 11 (corresponding to the external device described in claims) according to the second embodiment. FIG. The same parts as those in the first embodiment are denoted by the same reference numerals as those used in the description of the first embodiment, and the description thereof is omitted.

インクジェットプリンタ71は、USBインターフェース19とコントローラ21とフラッシュメモリ25とMPU73と印字ヘッド75とアクチュエータ77とを備える。このうちUSBインターフェース19が特許請求の範囲に記載の通信手段に相当し、コントローラ21が制御手段に相当し、フラッシュメモリ25が記憶手段に相当する The ink jet printer 71 includes a USB interface 19, a controller 21, a flash memory 25, an MPU 73, a print head 75, and an actuator 77. Among these, the USB interface 19 corresponds to communication means described in the claims, the controller 21 corresponds to control means, and the flash memory 25 corresponds to storage means .

MPU73は、USBインターフェース19及びコントローラ21を介してホスト11と通信を行うと共に、図示しない各種センサからの情報に基づいて印字ヘッド75及びアクチュエータ77の動作を制御する。なお、実施例2では、コントローラ21とMPU73とは別構成としているが、それらの機能の一部及び全部をMPU73に移行させてもよい。   The MPU 73 communicates with the host 11 via the USB interface 19 and the controller 21 and controls the operations of the print head 75 and the actuator 77 based on information from various sensors (not shown). In the second embodiment, the controller 21 and the MPU 73 are configured separately, but some and all of these functions may be transferred to the MPU 73.

印字ヘッド75は、インクノズルを有し、インクノズルから所定の色のインクを吐出させ、印刷用紙にインクを定着させることができる。
アクチュエータ77は、図示しないフィードローラモータ、紙送りローラモータ、印字ヘッド駆動モータ等から構成され、これらを適切に動作させることにより、印刷用紙の位置及び印字ヘッド75の位置関係を調整して所望の印刷結果が得られるようにする。
The print head 75 has ink nozzles, and can eject ink of a predetermined color from the ink nozzles to fix the ink on the printing paper.
The actuator 77 includes a feed roller motor, a paper feed roller motor, a print head drive motor, and the like (not shown). By appropriately operating these, the position of the print paper and the positional relationship of the print head 75 are adjusted to obtain a desired one. Make print results available.

フラッシュメモリ25の論理ユニット番号「1」の領域(CD−ROM領域)には、印刷するデータをホスト11で扱うためのアプリケーションソフトウェアが予め格納されており、ホスト11はそのようなアプリケーションソフトウェアを有していなくても、フラッシュメモリ25のCD−ROM領域から読み込むことにより使用することができる。   Application software for handling data to be printed by the host 11 is stored in advance in the area (CD-ROM area) of the logical unit number “1” of the flash memory 25, and the host 11 has such application software. Even if not, it can be used by reading from the CD-ROM area of the flash memory 25.

これに対して、従来は、印刷機能を提供するドライバプログラム、印刷管理ソフトウェアなどをホスト11が有していない場合には、別途CD−ROMやフレキシブルディスクなどの媒体から取り込むか、インターネット等からダウンロードしてインストールする必要があった。そのため、CD−ROMやフレキシブルディスクのドライブを通常有していないPDAなどは、それらの媒体から取り込むことは困難であった。このような点で、実施例2のインクジェットプリンタ71は、従来と比べて優位な効果を有する。   On the other hand, conventionally, when the host 11 does not have a driver program that provides a printing function, print management software, or the like, it is separately acquired from a medium such as a CD-ROM or a flexible disk or downloaded from the Internet or the like. Had to be installed. For this reason, it is difficult to import a PDA or the like that does not normally have a CD-ROM or a flexible disk drive from those media. In this respect, the ink jet printer 71 according to the second embodiment has an advantageous effect as compared with the related art.

また、アプリケーションソフトウェアはフラッシュメモリ25のCD−ROM領域に格納されるため、エンドユーザーによって誤って消去されてしまうおそれがない。また、ディスク領域(論理ユニット番号「0」の領域)には、印刷するための印刷データを格納することにより、ディスク領域を介して複数のホスト11で印刷データを共有することも可能になる。このような点でも、実施例2のインクジェットプリンタ71は、従来と比べて優位な効果を有する。   In addition, since the application software is stored in the CD-ROM area of the flash memory 25, there is no possibility that it will be accidentally erased by the end user. In addition, by storing print data for printing in the disk area (area of logical unit number “0”), it becomes possible to share the print data among a plurality of hosts 11 via the disk area. Also in this respect, the ink jet printer 71 according to the second embodiment has an advantageous effect as compared with the related art.

また、実施例1で述べたような固有IDを実装してその固有IDを認証キーとして用いるようにすれば、特定のユーザーのみがインクジェットプリンタ71を使用できるようにしたり、特定のユーザーのみがCD−ROM領域に格納されたアプリケーションソフトウェア利用できるようにしたりすることができる。   Further, if the unique ID as described in the first embodiment is implemented and the unique ID is used as an authentication key, only a specific user can use the inkjet printer 71, or only a specific user can use the CD. -Application software stored in the ROM area can be used.

[実施例3]
図8は、実施例3のスキャナ81(特許請求の範囲に記載のUSBストレージデバイスに相当する)とホスト11(特許請求の範囲に記載の外部装置に相当する)との概略構成を示すブロック図である。なお、実施例1と同様の部分は、実施例1を説明する際に使用した符号と同一の符号を付すことにより説明を省略する。
[Example 3]
FIG. 8 is a block diagram showing a schematic configuration of the scanner 81 (corresponding to the USB storage device described in the claims) and the host 11 (corresponding to the external device described in the claims) of the third embodiment. It is. The same parts as those in the first embodiment are denoted by the same reference numerals as those used in the description of the first embodiment, and the description thereof is omitted.

スキャナ81は、USBインターフェース19とコントローラ21とフラッシュメモリ25とMPU83とCCD85とアクチュエータ97とを備える。このうちUSBインターフェース19が特許請求の範囲に記載の通信手段に相当し、コントローラ21が制御手段に相当し、フラッシュメモリ25が記憶手段に相当する The scanner 81 includes a USB interface 19, a controller 21, a flash memory 25, an MPU 83, a CCD 85, and an actuator 97. Among these, the USB interface 19 corresponds to communication means described in the claims, the controller 21 corresponds to control means, and the flash memory 25 corresponds to storage means .

MPU83は、USBインターフェース19及びコントローラ21を介してホスト11と通信を行うと共に、CCD85及びアクチュエータ87の動作を制御する。なお、実施例3では、コントローラ21とMPU83とは別構成としているが、それらの機能の一部及び全部をMPU83に分担させてもよい。   The MPU 83 communicates with the host 11 via the USB interface 19 and the controller 21 and controls the operations of the CCD 85 and the actuator 87. In the third embodiment, the controller 21 and the MPU 83 are configured separately. However, part and all of these functions may be shared by the MPU 83.

CCD85は、光情報を電気信号に変換する半導体素子であり、任意の対象物を画像データとして読み取って出力することができる。
アクチュエータ87は、図示しない光源駆動モータやCCD駆動モータ等から構成され、これらが適切に動作することにより、任意の対象物の所望の範囲の画像データを得ることができる。
The CCD 85 is a semiconductor element that converts optical information into an electrical signal, and can read and output an arbitrary object as image data.
The actuator 87 is composed of a light source drive motor, a CCD drive motor, and the like (not shown), and by appropriately operating these, image data in a desired range of an arbitrary object can be obtained.

フラッシュメモリ25の論理ユニット番号「1」の領域(CD−ROM領域)には、するデータをホスト11で扱うためのアプリケーションソフトウェアが予め格納されており、ホスト11はそのようなアプリケーションソフトウェアを有していなくても、フラッシュメモリ25のCD−ROM領域から読み込むことにより使用することができる。   In the area (CD-ROM area) of the logical unit number “1” of the flash memory 25, application software for handling the data to be processed by the host 11 is stored in advance, and the host 11 has such application software. Even if not, it can be used by reading from the CD-ROM area of the flash memory 25.

これに対して、従来は、スキャナ81の制御機能を提供するドライバプログラム、画像データの加工ソフトウェアなどをホスト11が有していない場合には、別途CD−ROMやフレキシブルディスクなどの媒体から取り込むか、インターネット等からダウンロードしてインストールする必要があった。そのため、CD−ROMやフレキシブルディスクのドライブを通常有していないPDAなどにおいては、それらの媒体から取り込むのは困難であった。このような点で、実施例3のスキャナ81は、従来と比べて優位な効果を有す
る。
On the other hand, conventionally, if the host 11 does not have a driver program that provides the control function of the scanner 81, image data processing software, or the like, is it separately fetched from a medium such as a CD-ROM or a flexible disk? It was necessary to download and install from the Internet. Therefore, in a PDA or the like that does not normally have a CD-ROM or a flexible disk drive, it is difficult to import from those media. In this respect, the scanner 81 according to the third embodiment has an advantageous effect as compared with the related art.

また、アプリケーションソフトウェアはフラッシュメモリ25のCD−ROM領域に格納されるため、エンドユーザーによって誤って消去されてしまうおそれがないとともに、ディスク領域(論理ユニット番号「0」の領域)には、画像データを格納することにより、ディスク領域を介して複数のホスト11で画像データを共有することも可能になる。このような点でも、実施例3のスキャナ81は、従来と比べて優位な効果を有する。   In addition, since the application software is stored in the CD-ROM area of the flash memory 25, there is no possibility that it will be accidentally erased by the end user, and image data is stored in the disk area (logical unit number “0” area). , The image data can be shared by a plurality of hosts 11 via the disk area. Also in this respect, the scanner 81 according to the third embodiment has an advantageous effect as compared with the related art.

以上、実施例を3つ説明したが、他の実施例について説明する。
実施例2のインクジェットプリンタ71や実施例3のスキャナ81の技術思想をUSBインターフェースを有する他の装置に適用してもよい。具体的には、デジタルカメラ、携帯端末、スピーカー、キーボード、マウス、モデム装置、ハンドセット、カードアダプタ等に適用してもよい。これらに適用しても上記実施例と同様の効果が得られる。
Although three embodiments have been described above, other embodiments will be described.
The technical ideas of the ink jet printer 71 of the second embodiment and the scanner 81 of the third embodiment may be applied to other devices having a USB interface. Specifically, the present invention may be applied to digital cameras, portable terminals, speakers, keyboards, mice, modem devices, handsets, card adapters, and the like. Even if it applies to these, the effect similar to the said Example is acquired.

また、実施例1の操作画面51(図5参照)は、CDイメージデータのフォーマットとしてISO9660又はHFSの何れかの形式が選択できるようになっていたが、さらに、Audio CD、CD TEXT、Mixed CD、Enhanced CD、ビデオCD、ブータブルCD等フォーマットが選択できるようになっていてもよい。また、記録方式も、ディスクアットワンス、トラックアットワンス、セッションアットワンス、パケットライトなどの方式が指定できるようになっていてもよい。   In addition, the operation screen 51 (see FIG. 5) of the first embodiment can select either ISO9660 or HFS as the format of the CD image data, but further, Audio CD, CD TEXT, Mixed CD. , Enhanced CD, video CD, bootable CD, and other formats can be selected. As the recording method, a method such as disk-at-once, track-at-once, session-at-once, or packet write may be designated.

実施例のUSBストレージデバイスの構成を示すブロック図である。It is a block diagram which shows the structure of the USB storage device of an Example. メモリ情報記憶部に記憶されているデータ例である。It is an example of the data memorize | stored in the memory information storage part. 起動処理を説明するためのフローチャートである。It is a flowchart for demonstrating starting processing. アクセス処理を説明するためのフローチャートである。It is a flowchart for demonstrating an access process. 初期化ソフトウェアの操作画面を説明するための画面例である。It is a screen example for demonstrating the operation screen of initialization software. 初期化処理を説明するためのフローチャートである。It is a flowchart for demonstrating the initialization process. 実施例のインクジェットプリンタの構成を示すブロック図である。It is a block diagram which shows the structure of the inkjet printer of an Example. 実施例のスキャナの構成を示すブロック図である。It is a block diagram which shows the structure of the scanner of an Example.

符号の説明Explanation of symbols

11…ホスト、12…オペレーションシステム、13…ディスクドライブドライバ、14…USBマスストレージクラスドライバ、15…USBホストコントローラ、16…USBバス、17…USBストレージデバイス、19a…USBインターフェース、19b
…シリアルパラレル変換部、19c…パケット生成分解部、19d…USBバスパワー制御部、21…コントローラ、21a…メモリ制御部、21b…USBインターフェース制御部、21c…メモリ情報記憶部、21d…LED制御部、23…LED、25…フラッシュメモリ、71…インクジェットプリンタ、73…MPU、75…印字ヘッド、77…アクチュエータ、81…スキャナ、83…MPU、85…CCD、87…アクチュエータ。
DESCRIPTION OF SYMBOLS 11 ... Host, 12 ... Operation system, 13 ... Disk drive driver, 14 ... USB mass storage class driver, 15 ... USB host controller, 16 ... USB bus, 17 ... USB storage device, 19a ... USB interface, 19b
... Serial / parallel converter, 19c ... Packet generation / disassembly part, 19d ... USB bus power control part, 21 ... Controller, 21a ... Memory control part, 21b ... USB interface control part, 21c ... Memory information storage part, 21d ... LED control part 23 ... LED, 25 ... flash memory, 71 ... inkjet printer, 73 ... MPU, 75 ... print head, 77 ... actuator, 81 ... scanner, 83 ... MPU, 85 ... CCD, 87 ... actuator.

Claims (6)

USBストレージデバイスに搭載される制御装置であって、A control device mounted on a USB storage device,
前記USBストレージデバイスに設けられたフラッシュメモリからなる記憶手段の第1と第2の領域を、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、それぞれ独立のデバイスとして認識させるための情報を記憶してなり、Recognizing the first and second areas of the storage means consisting of flash memory provided in the USB storage device as independent devices to the USB mass storage class driver of the external device to which the USB storage device is attached Memorize information for
前記外部装置のディスクドライブドライバによるコマンドの発行に応答して、前記外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1と第2の領域を、それぞれ独立のデバイスとして認識させるとともに、In response to issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. And recognizing the first and second areas of the USB storage device as independent devices,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1と第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とする制御装置。A control device that executes an allowed access process for each of the first and second areas based on a command received from the external device and the information for recognition.
USBストレージデバイスに搭載される制御装置であって、A control device mounted on a USB storage device,
前記USBストレージデバイスに設けられたフラッシュメモリからなる記憶手段の第1と第2の領域を、当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、それぞれが異なる種類のデバイスとして認識させるための情報を記憶してなり、The first and second areas of the storage means composed of the flash memory provided in the USB storage device are different types of devices from the USB mass storage class driver of the external device to which the USB storage device is attached and used. Memorize information to make it recognize as
前記外部装置のディスクドライブドライバによるコマンドの発行に応答して、前記外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1と第2の領域を、異なる種類のデバイスとして認識させるとともに、In response to issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. Recognizing the first and second areas of the USB storage device as different types of devices,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1と第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とする制御装置。A control device that executes an allowed access process for each of the first and second areas based on a command received from the external device and the information for recognition.
前記認識させるための情報は、The information for recognition is
当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させる情報であって、For the USB mass storage class driver of the external device that is used with the USB storage device attached, the first area can be used as a device that can read, write, and delete information, and the second area can only be read. Information that can be recognized as a
前記制御装置は、The control device includes:
前記外部装置のディスクドライブドライバによるコマンドの発行に応答して、前記外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させるとともに、In response to issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. The first area of the USB storage device that has been made is recognized as a device that can read, write, and delete information, and the second area is recognized as a device that can only read information,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては、情報の読み出し、書き込み及び削除を実行し、第2の領域に対しては情報の読み出しのみを実行することを特徴とする請求項2に記載の制御装置。Based on the command received from the external device and the information for recognition, information is read from, written to, and deleted from the first area, and information is read from the second area. The control apparatus according to claim 2, wherein only the reading is executed.
所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、A USB storage device controlled by a predetermined operation system and attachable to and detachable from an external device including at least a disk drive driver, a USB mass storage class driver, and a USB host controller,
フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、A storage means that defines a storage area of the flash memory as being divided into a first area and a second area;
前記外部装置とUSBプロトコルに基づいた通信を行う通信手段と、A communication means for performing communication based on the USB protocol with the external device;
前記通信手段を介して、前記記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、Control means for reading, writing, and deleting information from the storage means via the communication means;
を備え、With
前記制御手段は、The control means includes
前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ独立のデバイスとして認識させるための情報を記憶し、Storing information for causing the USB mass storage class driver to recognize the first and second areas as independent devices;
前記ディスクドライブドライバからの指令に従って、前記認識させるための情報を前記USBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ独立のデバイスとして認識させるとともに、In accordance with a command from the disk drive driver, information for recognition is supplied to the USB mass storage class driver, and each area of the USB storage device is set as an independent device to the USB mass storage class driver. As well as
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とするUSBストレージデバイス。A USB that executes an allowed access process for each of the first area and the second area based on a command received from the external device and the information for recognition. Storage device.
所定のオペレーションシステムによって制御されると共に少なくともディスクドライブドライバ、USBマスストレージクラスドライバ及びUSBホストコントローラを具備する外部装置への着脱が可能なUSBストレージデバイスであって、A USB storage device controlled by a predetermined operation system and attachable to and detachable from an external device including at least a disk drive driver, a USB mass storage class driver, and a USB host controller,
フラッシュメモリの記憶領域を、第1の領域と第2の領域とに分けて定義してなる記憶手段と、A storage means that defines a storage area of the flash memory as being divided into a first area and a second area;
前記外部装置とUSBプロトコルに基づいた通信を行う通信手段と、A communication means for performing communication based on the USB protocol with the external device;
前記通信手段を介して、前記記憶手段に対して情報の読み出し、書き込み及び削除を実行する制御手段と、Control means for reading, writing, and deleting information from the storage means via the communication means;
を備え、With
前記制御手段は、The control means includes
前記第1と第2の領域を、USBマスストレージクラスドライバにそれぞれ異なる種類のデバイスとして認識させるための情報を記憶し、Storing information for causing the USB mass storage class driver to recognize the first and second areas as different types of devices,
前記ディスクドライブドライバからの指令に従って、前記認識させるための情報を前記USBマスストレージクラスドライバに供給して、当該USBマスストレージクラスドライバに、本USBストレージデバイスの前記各領域を、それぞれ異なる種類のデバイスとして認識させるとともに、According to a command from the disk drive driver, the information for recognition is supplied to the USB mass storage class driver, and each area of the USB storage device is assigned to the USB mass storage class driver. As well as
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域と前記第2の領域に対して、それぞれ許容されているアクセス処理を実行することを特徴とするUSBストレージデバイス。A USB that executes an allowed access process for each of the first area and the second area based on a command received from the external device and the information for recognition. Storage device.
前記認識させるための情報は、The information for recognition is
当該USBストレージデバイスが装着されて用いられる外部装置のUSBマスストレージクラスドライバに、前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させる情報であって、For the USB mass storage class driver of the external device that is used with the USB storage device attached, the first area can be used as a device that can read, write, and delete information, and the second area can only be read. Information that can be recognized as a
前記制御手段は、The control means includes
前記外部装置のディスクドライブドライバによるコマンドの発行に応答して、前記外部装置のUSBマスストレージクラスドライバへ前記認識させるための情報を供給して、前記USBマスストレージクラスドライバに、当該制御装置が搭載されたUSBストレージデバイスの前記第1の領域を、情報の読み出し、書き込み及び削除が可能なデバイスとして、第2の領域を情報の読み出しのみ可能なデバイスとして認識させるとともに、In response to issuance of a command by the disk drive driver of the external device, the USB mass storage class driver of the external device is supplied with information for recognition, and the control device is mounted on the USB mass storage class driver. The first area of the USB storage device that has been made is recognized as a device that can read, write, and delete information, and the second area is recognized as a device that can only read information,
前記外部装置から受け取った指令と前記認識させるための情報とに基づいて、前記第1の領域に対しては、情報の読み出し、書き込み及び削除を実行し、第2の領域に対しては情報の読み出しのみを実行することを特徴とする請求項5に記載のUSBストレージデバイス。Based on the command received from the external device and the information for recognition, information is read from, written to, and deleted from the first area, and information is read from the second area. 6. The USB storage device according to claim 5, wherein only the reading is executed.
JP2005092148A 2002-05-29 2005-03-28 Usb storage device and program Withdrawn JP2005243046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005092148A JP2005243046A (en) 2002-05-29 2005-03-28 Usb storage device and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002155684 2002-05-29
JP2005092148A JP2005243046A (en) 2002-05-29 2005-03-28 Usb storage device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003365044A Division JP3699717B2 (en) 2002-05-29 2003-10-24 USB storage device and control device thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005285284A Division JP3914949B2 (en) 2002-05-29 2005-09-29 USB storage device, control device thereof, and program for causing control device to execute

Publications (2)

Publication Number Publication Date
JP2005243046A JP2005243046A (en) 2005-09-08
JP2005243046A5 true JP2005243046A5 (en) 2005-11-17

Family

ID=35024645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005092148A Withdrawn JP2005243046A (en) 2002-05-29 2005-03-28 Usb storage device and program

Country Status (1)

Country Link
JP (1) JP2005243046A (en)

Similar Documents

Publication Publication Date Title
JP3513147B2 (en) USB storage device and its control device
KR100954933B1 (en) Usb storage device and control device
US7068386B2 (en) Image processing system, image data processing method, and storage medium
JP3914949B2 (en) USB storage device, control device thereof, and program for causing control device to execute
JP2010044579A (en) Peripheral device, program, and driver installation system
JP2006079634A5 (en)
JP2007514217A (en) Data exchange method between data processing apparatus and computer
US20130038888A1 (en) Printer With USB Interface and Driver Installing Method and System Thereof
JP2004252936A (en) Information processing device, control method for the same, program, and recording medium
JP2005141721A (en) Method and system for automatically installing application program
JP3699717B2 (en) USB storage device and control device thereof
JP2004171536A5 (en)
JP2005266934A (en) Usb storage device and controller therefor
JP4551643B2 (en) USB printer and USB scanner
JP4242798B2 (en) USB storage device and control device thereof
JP2007086905A (en) Communication system, information-processing device, peripheral device, and communication method
JP4087788B2 (en) Information processing apparatus, control method therefor, and program
JP2005243046A5 (en)
JP2006293638A (en) Information processor and peripheral equipment
JP2005243046A (en) Usb storage device and program
JP4276219B2 (en) USB storage device internal state setting method
JP6214369B2 (en) Information processing apparatus, program, and control method
JP4726250B2 (en) Information processing apparatus, control method therefor, and computer program
US8675223B2 (en) Image forming device, image forming system and computer readable medium for installing related software to another device
JP4587182B2 (en) Information processing apparatus, control method therefor, and computer program