JP2008027447A - Usb storage device and method of switching media types therefor - Google Patents
Usb storage device and method of switching media types therefor Download PDFInfo
- Publication number
- JP2008027447A JP2008027447A JP2007189594A JP2007189594A JP2008027447A JP 2008027447 A JP2008027447 A JP 2008027447A JP 2007189594 A JP2007189594 A JP 2007189594A JP 2007189594 A JP2007189594 A JP 2007189594A JP 2008027447 A JP2008027447 A JP 2008027447A
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- computer
- usb storage
- operation mode
- switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Storage Device Security (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本発明は、USB記憶装置に関し、特に、USB記憶装置の媒体タイプを切り替えることのできる方法に関する。 The present invention relates to a USB storage device, and more particularly to a method capable of switching the media type of a USB storage device.
USBフラッシュメモリは、携帯しやすく簡単に使用できるなどの利点を有するので、データを記憶するための重要な記憶装置となっている。近年、USBフラッシュメモリに記憶されたデータが他人に読み出されることを防止するために、USBフラッシュメモリにはパスワードによる保護機能が追加される。一般的に、USBフラッシュメモリには、フラッシュメモリセルがデータ記憶の素子として使用される。このようなフラッシュメモリセルは、一個または数個のロジックユニットを有し、各々のロジックユニットは、対応するロジックユニットナンバー(Logical Unit Number:LUN)を有する。識別する際に、コンピュータは、各々のロジックユニットを一つの装置として見なす。 The USB flash memory is an important storage device for storing data because it has advantages such as being easy to carry and easy to use. In recent years, a password protection function is added to the USB flash memory in order to prevent data stored in the USB flash memory from being read by others. Generally, a flash memory cell is used as a data storage element in a USB flash memory. Such a flash memory cell has one or several logic units, and each logic unit has a corresponding logic unit number (LUN). In identifying, the computer considers each logic unit as a device.
USBフラッシュメモリにあるデータを保護するために、従来技術では、ロジックユニットが二つの領域に分けられることにより行われる。具体的には、図1に示されるロジックユニットLUN0のように、読み出し専用領域10と保護領域12に分けられることである。読み出し専用領域10は、光ディスク媒体タイプであり、アプリケーションプログラムを記憶するためである。保護領域12は、磁気ディスク媒体タイプであり、データの読み出し、書き込み及び削除を行うためである。図1に示されるようなロジックユニットLUN0を有するUSBフラッシュメモリをコンピュータに挿入する際に、コンピュータは、読み出し専用領域10をそれに対応する読み出し専用装置として表示させるが、保護領域12を表示させない。続いて、読み出し専用領域10に記憶されたアプリケーションプログラムを実行することにより、ユーザによりパスワードを入力するためのダイアログボックスを表示させる。しかし、正しいパスワードが入力された後に、領域10と領域12が異なる媒体タイプであるので、USBフラッシュメモリを一旦抜いて再挿入しないと、コンピュータに表示される装置を保護領域12に対応する磁気ディスク装置に変えることができない。従って、このような、USBフラッシュメモリを一旦抜いて再挿入することによって媒体タイプを切り替えることが使用に不便である。
In order to protect the data in the USB flash memory, the conventional technique is performed by dividing the logic unit into two areas. Specifically, it is divided into a read-
特許文献1には、フラッシュメモリセルが二つのロジックユニットに分けられる他の種類のUSB記憶装置が開示されている。具体的には、図2に示されるように、フラッシュメモリセルがロジックユニットLUN0とロジックユニットLUN1に分けられる。ロジックユニットLUN0は、一般領域20と保護領域22を有し、ロジックユニットLUN1は、読み出し専用領域24を有する。そのうち、一般領域20と保護領域22は、共に磁気ディスク媒体タイプであり、データの読み出し、書き込み及び削除を行うためである。読み出し専用領域24は、光ディスク媒体タイプであり、データを読み出すだけのためである。このようなUSBフラッシュをコンピュータに挿入した後に、コンピュータは、一般領域20と読み出し専用領域24をそれぞれに対応する磁気ディスク装置と光ディスクとして表示させ、保護領域22を表示させない。続いて、読み出し専用領域24に記憶されたアプリケーションプログラムを実行して正しいパスワードを入力した後に、一般領域20に対応した磁気ディスク装置が保護領域22に対応するようになる。領域20と領域22は同様の媒体タイプであるので、一旦抜いて再挿入するような操作を行わなくても媒体タイプを切り替えることができる。しかし、この方法は、三つ以上のロジックユニットを有さないと実現されることができない。
ゆえに、一つのロジックユニットにおいて、抜き再挿入のような操作をしなくても媒体タイプを切り替えることのできる方法が望ましい。
本発明の目的は、USB記憶装置及びその媒体タイプを切り替えることのできる方法を提供することにある。 An object of the present invention is to provide a USB storage device and a method capable of switching the medium type.
前述した目的を達成するために、本発明によるUSB記憶装置は、第一の媒体タイプ領域と第二の媒体タイプ領域を有するロジックロジックと、インタフェース信号ポートを有する通信インタフェースと、該ロジックユニットと該通信インタフェースに接続される制御器と、を含み、該USB記憶装置はコンピュータに挿入される際に、該インタフェース信号ポートはコンピュータに接続される。本発明によるUSB記憶装置の媒体タイプ切り替え方法は、該USB記憶装置がインタフェース信号ポートを介してコンピュータと接続されているときに、該USB記憶装置を正常操作モードから非駆動モードに切り替えて前記コンピュータとの通信を中断するステップと、所定期間経過後、該USB記憶装置を非駆動モードから正常操作モードに切り替えて前記コンピュータとの通信を回復し、第二の媒体タイプ領域にあるデータをコンピュータに送信するステップと、を含む。 To achieve the foregoing object, a USB storage device according to the present invention includes a logic logic having a first medium type area and a second medium type area, a communication interface having an interface signal port, the logic unit, and the logic unit. A controller connected to the communication interface, and when the USB storage device is inserted into the computer, the interface signal port is connected to the computer. According to the present invention, there is provided a method for switching a medium type of a USB storage device by switching the USB storage device from a normal operation mode to a non-driving mode when the USB storage device is connected to a computer via an interface signal port. The communication with the computer, and after a predetermined period of time, the USB storage device is switched from the non-drive mode to the normal operation mode to restore communication with the computer, and the data in the second medium type area is transferred to the computer. Transmitting.
本発明は、USB記憶装置及びその媒体タイプを切り替えることのできる方法を提供する。 The present invention provides a method of switching between USB storage devices and their media types.
次に、添付した図面を参照しながら、本発明の好適な実施形態を詳細に説明する。 Next, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
図3は、USBフラッシュメモリ32のブロック図である。図3に示すように、フラッシュメモリセル326はロジックユニットLUN0を含み、LUN0は図1に示されるように読み出し専用領域10及び保護領域12を含む。読み出し領域10は、アプリケーションプログラムを記憶する。保護領域12は、データの読み出し、書き込み及び削除を行うためである。制御器324は、通信インタフェース322とフラッシュメモリセル326と接続される。通信インタフェース322は、コンピュータ30と接続されるインタフェース信号ポートD+及びD−を有する。通信インタフェース322は、制御器324とコンピュータ30が通信できるために使用される。図3において、通信インタフェース322と制御器324の間には、操作モードバスOpModeのみが表示されるが、実際に、通信インタフェース322と制御器324の間には、他のバスがまたあり、ここでは、その表示を省略する。USBの標準規格において、操作モードバスOpModeは2ビットのバスであり、操作モードバスOpMode上の信号が“11b”である際に、USBフラッシュメモリ32は正常操作モードにおいて操作する。また、操作モードバスOpMode上の信号が“01b”である際に、USBフラッシュメモリ32は非駆動モードにおき、この時、インタフェース通信ポートD+及びD−の抵抗がプルアップ(Pull Up)され、このような状態は、USBフラッシュメモリ32がコンピュータに挿入されていないようである。
FIG. 3 is a block diagram of the
図4は、本発明によるフローチャートである。図1、図3及ぶ図4を参照する。USBフラッシュメモリ32がコンピュータ30に挿入された後に、USBフラッシュメモリ32がステップ40を実行し、ロジックユニットLUN0の読み出し専用領域にあるデータをコンピュータに送信し、コンピュータにおいて読み出し専用領域10に対応する光ディスク装置が表示される。ユーザにより読み出し専用領域10に対応する光ディスク装置を保護領域12に対応する磁気ディスク装置に切り替えるときに、ステップ41を実行し、コンピュータ30から切り替えコマンドを制御器324に送信し、読み出し専用領域10に予め記憶されたアプリケーションプログラムを実行させ(ステップ42)、ユーザによりパスワードを入力するためのダイアログボックスをコンピュータに表示させる(ステップ43)。次に、ステップ44を実行し、パスワードを入力する。それから、ステップ46を実行し、パスワードの照合を行う。入力されたパスワードが正しければ、ステップ48に進み、正しくなければ、ステップ44に戻る。
FIG. 4 is a flowchart according to the present invention. Please refer to FIG. 1, FIG. 3 and FIG. After the
入力されたパスワードが正しいと判断された後に、制御器324は、アプリケーションプログラムによるコマンドに基づいて操作モードバスOpMode上の信号を“11b”から“01b”に変更し、USBフラッシュメモリ32を非駆動モードに進入させ、コンピュータ30との通信を中断させる。この時の状態は、USBフラッシュメモリ32をコンピュータ30から抜いたようであり、そのため、USBフラッシュメモリが既に抜かれたと見なされる。この時に、コンピュータ30は、USBフラッシュメモリの存在を検知することができないが、USBフラッシュメモリは、バスパワー(Bus Power)を用いることにより制御器324を正常に働かせることができる。そして、ステップ49において所定の期間T、例えば、0.1秒を待った後に、ステップ50に進む。ステップ50において、制御器324は、操作モードバスOpMode上の信号を再び“11b”に変更し、USBフラッシュメモリ32を正常操作モードに戻させ、コンピュータとの通信を回復させる。この時の状態は、USBフラッシュメモリ32がコンピュータ30に再び挿入されたようである。そのため、USBフラッシュメモリ32が一旦抜かれて再挿入されると見なされることができる。従って、次のステップ52において、USBフラッシュメモリ32は、ロジックユニットLUN0の保護領域12に記憶されたデータをコンピュータ30に送信し、これにより、コンピュータ30には、保護領域12に対応する磁気ディスク装置が表示される。
After determining that the input password is correct, the
図5は、本発明による他のフローチャートである。図1、図3及び図5を参照する。この実施例において、読み出し専用領域10に記憶されたアプリケーションプログラムは、自動実行機能を有する。これにより、USBフラッシュ32をコンピュータ30に挿入した後に、USBフラッシュメモリ32は、読み出し専用領域10に予め記憶されたアプリケーションプログラムを直ぐに自動的に実行し(ステップ60)、ユーザによりパスワードを入力するためのダイアログボックスをコンピュータに表示させる(ステップ62)。次に、ステップ64を実行し、パスワードを入力する。そして、ステップ66を実行し、パスワードの照合を行う。入力されたパスワードが正しくなければ、ステップ64に戻り、正しければ、ステップ68に進む。ステップ68において、操作モードバスOpMode上の信号を“11b”から“01b”に変更させ、USBフラッシュメモリ32を非駆動モードに進入させ、コンピュータ30との通信を中断させる。この時の状態は、USBフラッシュメモリ32をコンピュータ30から抜いたようである、ところが、この時に、USBフラッシュメモリは、バスパワー(Bus Power)を用いることにより制御器324を正常に働かせることができる。そして、ステップ70において所定の期間T、例えば、0.1秒を待った後に、ステップ72に進む。ステップ72において、制御器324は、操作モードバスOpMode上の信号を再び“11b”に変更し、USBフラッシュメモリ32を正常操作モードに戻させ、コンピュータとの通信を回復させる。この時の状態は、USBフラッシュメモリ32がコンピュータ30に再び挿入されたようである。そのため、USBフラッシュメモリ32が一旦抜かれて再挿入されると見なされることができる。従って、次のステップ74において、USBフラッシュメモリ32は、ロジックユニットLUN0の保護領域12に記憶されたデータをコンピュータ30に送信し、これにより、コンピュータ30には、保護領域12に対応する磁気ディスク装置が表示される。
FIG. 5 is another flowchart according to the present invention. Please refer to FIG. 1, FIG. 3 and FIG. In this embodiment, the application program stored in the read-
本発明による方法は、USBの標準規格における元の設定に基づいて制御器324にUSBフラッシュメモリ32の操作モードを切り替えさせるので、従来技術のような、USBフラッシュメモリを一旦抜いて再び挿入することをしなくても、媒体タイプを切り替えることができるので、使用により便利で、且つ、切り替え速度も速い。
The method according to the present invention causes the
以上、本発明の好ましい実施形態を説明したが、本発明はこの実施形態に限定されず、本発明の趣旨を離脱しない限り、本発明に対するあらゆる変更は本発明の範囲に属する。 The preferred embodiment of the present invention has been described above, but the present invention is not limited to this embodiment, and all modifications to the present invention are within the scope of the present invention unless departing from the spirit of the present invention.
10 読み出し専用領域(光ディスク媒体タイプ)
12 保護領域(磁気ディスク媒体タイプ)
20 一般領域(磁気ディスク媒体タイプ)
22 保護領域(磁気ディスク媒体タイプ)
24 読み出し専用領域(光ディスク媒体タイプ)
30 コンピュータ
32 USBフラッシュメモリ
322 通信インタフェース
324 制御器
326 フラッシュメモリセル
40 ロジックユニットLUN0の読み出し専用領域10に記憶されたデータをコンピュータに送信する
41 切り替えコマンド
42 読み出し専用領域10に予め記憶されたアプリケーションプログラムを実行する
43 ダイアログボックスを表示する
44 パスワードを入力する
46 パスワードを照合する
48 非駆動モードに進入しコンピュータ30との通信を中断する
49 期間Tを待つ
50 正常操作モードに戻りコンピュータ30との通信を回復する
52 ロジックユニットLUN0の保護領域12に記憶されたデータをコンピュータ30に送信する
60 読み出し専用領域10に予め記憶されたアプリケーションプログラムを実行する
62 ダイアログボックスを表示する
64 パスワードを入力する
66 パスワードを照合する
68 非駆動モードに進入しコンピュータ30との通信を中断する
70 期間Tを待つ
72 正常操作モードに戻りコンピュータ30との通信を回復する
74 ロジックユニットLUN0の保護領域12に記憶されたデータをコンピュータ30に送信する
10 Read-only area (optical disk medium type)
12 Protection area (magnetic disk medium type)
20 General area (magnetic disk medium type)
22 Protected area (magnetic disk medium type)
24 Read-only area (optical disk medium type)
30
Claims (12)
前記USB記憶装置が前記インタフェース信号ポートを介してコンピュータと接続されている時に、前記USB記憶装置の操作モードを正常操作モードから非駆動モードに切り替え、当該コンピュータとの通信を中断するステップと、
所定期間経過後に、前記USB記憶装置の操作モードを前記正常操作モードに戻させ、前記コンピュータとの通信を回復するステップと、
前記第二の媒体タイプ領域に記憶されたデータを前記コンピュータに送信するステップと、
を含む、
媒体タイプ切り替え方法。 A method for switching a media type of a USB storage device, comprising: a logic unit having a first media type area and a second media type area; and a communication interface having an interface signal port,
When the USB storage device is connected to a computer via the interface signal port, switching the operation mode of the USB storage device from a normal operation mode to a non-drive mode, and interrupting communication with the computer;
Returning the operation mode of the USB storage device to the normal operation mode after a predetermined period of time and recovering communication with the computer;
Transmitting data stored in the second media type area to the computer;
including,
Media type switching method.
請求項1に記載の媒体タイプ切り替え方法。 Further comprising executing an application program stored in the first media type area before switching to the non-driving mode;
The medium type switching method according to claim 1.
請求項1に記載の媒体タイプ切り替え方法。 Further comprising automatically executing an application program stored in the first medium type area by the computer after connecting the USB storage device to the computer;
The medium type switching method according to claim 1.
請求項2に記載の媒体タイプ切り替え方法。 Executing the application program includes verifying a password;
The medium type switching method according to claim 2.
請求項1に記載の媒体タイプ切り替え方法。 The step of switching to the non-driving mode includes a step of changing a signal on an operation mode bus connected to the communication interface from a first state to a second state.
The medium type switching method according to claim 1.
請求項1に記載の媒体タイプ切り替え方法。 Switching to the non-driving mode includes pulling up a resistance of the interface signal port;
The medium type switching method according to claim 1.
第一の媒体タイプ領域及び第二の媒体タイプ領域を有するロジックユニットと、
インタフェース信号ポートを有し、前記USB装置をコンピュータに挿入するときに、当該インタフェース信号ポートが当該コンピュータに接続される通信インタフェースと、
前記ロジックユニットと前記通信インタフェースとの間に接続され、前記USB記憶装置が前記インタフェース信号ポートを介して前記コンピュータに接続されている時に、前記USB記憶装置の操作モードを正常操作モードから非駆動モードに切り替え、所定期間経過後に、当該正常操作モードに戻せ、前記第二の媒体タイプ領域に記憶されたデータを当該コンピュータに送信させる制御器と、
を含む、
USB記憶装置。 A USB storage device,
A logic unit having a first media type region and a second media type region;
A communication interface having an interface signal port, and when the USB device is inserted into the computer, the interface signal port is connected to the computer;
When the USB storage device is connected between the logic unit and the communication interface and the USB storage device is connected to the computer via the interface signal port, the operation mode of the USB storage device is changed from a normal operation mode to a non-drive mode. A controller that can return to the normal operation mode after a predetermined period of time and transmit the data stored in the second medium type area to the computer;
including,
USB storage device.
請求項7に記載のUSB記憶装置。 Further comprising an application program stored in the first media type area;
The USB storage device according to claim 7.
請求項8に記載のUSB記憶装置。 When the application is executed, it includes a program for verifying the password,
The USB storage device according to claim 8.
前記非駆動モードに切り替えるときに、前記操作モードバス上の信号が第一の状態から第二の状態に変更される、
請求項7に記載のUSB記憶装置。 An operation mode bus connected between the controller and the communication interface;
When switching to the non-drive mode, the signal on the operation mode bus is changed from the first state to the second state,
The USB storage device according to claim 7.
請求項7に記載のUSB記憶装置。 The resistance of the interface signal port is changed from the first state to the second state when switching to the non-driving mode;
The USB storage device according to claim 7.
前記USB記憶装置が前記コンピュータに接続される時に、前記コンピュータは、前記アプリケーションプログラムを自動的に実行する、
請求項7に記載のUSB記憶装置。
Further comprising an automatically executable application program stored in the first media type area;
When the USB storage device is connected to the computer, the computer automatically executes the application program;
The USB storage device according to claim 7.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW95126828A TW200807434A (en) | 2006-07-21 | 2006-07-21 | USB storage apparatus and method of switching the media types |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008027447A true JP2008027447A (en) | 2008-02-07 |
Family
ID=39117960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007189594A Pending JP2008027447A (en) | 2006-07-21 | 2007-07-20 | Usb storage device and method of switching media types therefor |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2008027447A (en) |
TW (1) | TW200807434A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI462014B (en) * | 2009-08-31 | 2014-11-21 | Phison Electronics Corp | Method and system for executing applicaton programs, storage medium controller and stotage device |
TWI507986B (en) * | 2010-07-08 | 2015-11-11 | Phison Electronics Corp | Method and system for executing application programs |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004151785A (en) * | 2002-10-28 | 2004-05-27 | Shinya Kobayashi | Detachable device and method for starting program |
JP2005352598A (en) * | 2004-06-08 | 2005-12-22 | I-O Data Device Inc | External peripheral equipment |
-
2006
- 2006-07-21 TW TW95126828A patent/TW200807434A/en not_active IP Right Cessation
-
2007
- 2007-07-20 JP JP2007189594A patent/JP2008027447A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004151785A (en) * | 2002-10-28 | 2004-05-27 | Shinya Kobayashi | Detachable device and method for starting program |
JP2005352598A (en) * | 2004-06-08 | 2005-12-22 | I-O Data Device Inc | External peripheral equipment |
Also Published As
Publication number | Publication date |
---|---|
TW200807434A (en) | 2008-02-01 |
TWI306264B (en) | 2009-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8290735B2 (en) | Test apparatus and test method for universal serial bus interface | |
US8897092B2 (en) | Memory storage device, memory controller and controlling method | |
US9806959B2 (en) | Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface | |
KR20110082140A (en) | A removable data storage device comprising a user input device | |
US7590765B2 (en) | Bulk data transfer and buffer control device and electronic instrument | |
CN102411554A (en) | Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices | |
JP2009543251A (en) | Portable device with user interface | |
JP2003108274A (en) | Computer apparatus, method for control of augmented device and computer program | |
JP2008027447A (en) | Usb storage device and method of switching media types therefor | |
WO2024108938A1 (en) | Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server | |
CN101458672B (en) | Hot plug equipment, computer and data-transmission indicating method | |
JP5794266B2 (en) | USB host device and program for USB host device | |
TWI547859B (en) | Method of removing external devices related computer system and non-transitory computer-readable medium | |
JP3228888U (en) | Data processing device | |
JP2009187337A (en) | Device control method, program, control circuit, and electronic equipment | |
CN202632270U (en) | Hard disk data reading device based on universal serial bus (USB) 3.0 | |
JPH09190347A (en) | Microcomputer system | |
CN110633173B (en) | Write filtering system and method based on Linux system disk | |
CN108234804B (en) | Printing apparatus and control method thereof | |
JP2006202011A (en) | Information equipment | |
JP2006235665A (en) | Command tester | |
KR100953268B1 (en) | Usb device for supports an automatic safety remove using capacitance | |
JP6173967B2 (en) | Information processing device | |
TWI465914B (en) | Method for docking and undocking peripheral apparatus during transition of power management mode | |
JPH0713833A (en) | Sequential file processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100305 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100316 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100817 |