JP2005267054A - Read/write device with special function for flash memory card - Google Patents
Read/write device with special function for flash memory card Download PDFInfo
- Publication number
- JP2005267054A JP2005267054A JP2004076537A JP2004076537A JP2005267054A JP 2005267054 A JP2005267054 A JP 2005267054A JP 2004076537 A JP2004076537 A JP 2004076537A JP 2004076537 A JP2004076537 A JP 2004076537A JP 2005267054 A JP2005267054 A JP 2005267054A
- Authority
- JP
- Japan
- Prior art keywords
- read
- write
- control mode
- memory card
- mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、フラッシュメモリカード(スティック状のものも含む)に用意されている予備記憶部へ特殊データを書込み又は読み出しを行うことも出来るようにしたフラッシュメモリカード用特殊機能付きリードライト装置に関するものである。 The present invention relates to a read / write device with a special function for a flash memory card, in which special data can be written to or read from a spare storage unit prepared in a flash memory card (including a stick type). It is.
現在、デジタルカメラをはじめ情報機器に用いられているコンパクトフラッシュ(登録商標)(以下、CFという)、マイクロドライブ(登録商標)(以下、MDと言う)、スマードメディア(登録商標)(以下、SMという)、メモリースティック(登録商標)(以下、MSという)、SDカード、マルチメディアカード(登録商標)(以下MMCという)等のフラッシュメモリカード(以下、単にメモリカードという)には、書換えを繰り返すことによって発生する不良を想定して、データ記憶部にはユーザー使用可能の主記憶部の外に数ブロック単位の予備記憶部が用意されていて、ユーザー使用可能の主記憶部のブロックに不良が発生した場合、ブロック単位で、不良の発生した個所を含むブロックを前記予備記憶部のブロックに不良マーク“00”を付して置き換え、そのブロックを使用禁止としている。
本発明は、メモリカードの予備記憶部を利用してメモリカードに新しい用途を付加するメモリカード用特殊機能付きリードライト装置を提供することを目的とするものである。 It is an object of the present invention to provide a read / write device with a special function for a memory card that adds a new use to the memory card by using a spare storage unit of the memory card.
本発明は上記の課題を解決するためになされたもので、第1の発明は、メモリカードに設けられている予備記憶部の一部を特殊データ書き込み領域にし、その特殊データ書き込み領域を通常は使用禁止とし、必要に応じてその特殊データ書き込み領域のデータを読み書き可能にしたことを特徴とするメモリカード用特殊機能付きリードライト装置である。 The present invention has been made to solve the above-mentioned problems. The first invention is that a part of the spare storage unit provided in the memory card is used as a special data writing area, and the special data writing area is usually used as the special data writing area. A read / write device with a special function for a memory card, characterized in that use is prohibited and data in the special data write area can be read and written as necessary.
第2の発明は、パーソナルコンピューターに転送する形式にするための変換手段と、前記変換手段に接続したメモリカードコネクタと、USBコネクタと、前記変換手段の制御モードをUSB接続のリードライトモードSW1−(L)又はUSB接続のキーボードモードSW1−(H)に切替える第1の制御モード切替えスイッチと、前記変換手段の制御モードを通常のリードライトモードSW2−(L)又は特殊データのリードライトモードSW2−(H)に切替える第2の制御モード切替えスイッチとを設け、これら第1及び第2の制御モード切替えスイッチを操作することにより制御モードを切替えて、カードコネクタに接続したメモリカードの通常のリードライト又は予備記憶部の特殊データ書き込み領域に記録された特殊データをリードライトすることを特徴とするメモリカード用特殊機能付きリードライト装置である。 According to a second aspect of the present invention, there is provided a conversion means for converting to a format for transfer to a personal computer, a memory card connector connected to the conversion means, a USB connector, and a control mode of the conversion means for a read / write mode SW1- (L) or a first control mode switch for switching to a USB-connected keyboard mode SW1- (H), and the control mode of the conversion means is a normal read / write mode SW2- (L) or a special data read / write mode SW2. A second control mode changeover switch for switching to (H), and the control mode is changed by operating these first and second control mode changeover switches, so that the normal read of the memory card connected to the card connector Write or read special data recorded in the special data writing area of the spare storage A read / write device with a special function for a memory card.
本発明によれば、通常はデータの書き込み、読み出しを禁止されている予備記憶部への特殊データのリードライトを第1及び第2切替えスイッチを操作して行うことができるので、セキュリティ分野に応用できる。 According to the present invention, special data can be read / written to / from a spare storage unit that is normally prohibited from writing or reading data by operating the first and second changeover switches. it can.
例えば従来、1つのPCを何人かで使用する場合、使用権限のある人にIDとパスワードを教えていた。この場合、パスワードを複雑にすると、覚えていられないので、メモに書いたりする為、パスワードの流出が問題になる。 For example, conventionally, when several people use one PC, an ID and a password are taught to a person who has authority to use. In this case, if the password is complicated, it will not be remembered, so it will be written in a memo, and password leakage will be a problem.
本発明装置の出現により、メモリカードを複雑なパスワードのメモリとして使用することが可能となるため、一々PCの使用権限のある人にパスワードを教える煩わしさが省け、パスワードを必要とする場合の利便さが増すという実益がある。なお、本発明装置は、通常は、USB接続のメモリカード用リードライト装置として利用することが出来る。 The advent of the device of the present invention makes it possible to use a memory card as a memory for a complicated password. Therefore, the trouble of teaching a password to a person who has authority to use a PC is eliminated, and convenience when a password is required. There is a real benefit that increases. The apparatus of the present invention can usually be used as a read / write apparatus for a USB-connected memory card.
図1は、本発明の一実施例のブロック図で、1はSMリードライト装置、2はコンピュータ、ROM及びカードインターフェイスを具備したICチップから成る変換手段、3及び4は前記変換手段2に接続したSMコネクタ及びUSBコネクタである。SW1,SW2は変換手段2に接続した2つの制御モード切替えスイッチで、一方に倒すとLの信号を出力し、他方に倒すとHの信号を出力するものである。5はSM、6はPCである。 FIG. 1 is a block diagram of an embodiment of the present invention, wherein 1 is an SM read / write device, 2 is a conversion means comprising an IC chip having a computer, a ROM and a card interface, and 3 and 4 are connected to the conversion means 2. SM connector and USB connector. SW1 and SW2 are two control mode changeover switches connected to the conversion means 2, and output an L signal when tilted to one, and output an H signal when tilted to the other. 5 is SM and 6 is PC.
SMリードライト装置1の動作用ソフトは、ROMに格納されていて、このソフトが、電源立上り時に、制御モード切替えスイッチSW1とSW2の値(LかH)を読取り、読取った値により、各種モードで動作させるようになっている。
The operation software of the SM read / write
第1の制御モード切替えスイッチSW1を動作させることにより、下記2つのモードに切替える。
SW1−(L):USB接続のSMリードライトモード
SW1−(H):USB接続のキーボードモード
また、第2の制御モード切替えスイッチSW2を動作させることにより、前記SW1−(L):USB接続のSMリードライトモード時に、下記2つのモードに切替えることができる。
SW2−(L):従来のSMリードライトモード
SW2−(L):特殊機能のSMリードライトモード
By operating the first control mode switch SW1, the following two modes are switched.
SW1- (L): SM connection / write mode with USB connection SW1- (H): Keyboard mode with USB connection
Further, by operating the second control mode changeover switch SW2, the following two modes can be switched in the SW1- (L): USB connection SM read / write mode.
SW2- (L): Conventional SM read / write mode SW2- (L): Special function SM read / write mode
図2は、制御モード切替えスイッチSW1,SW2を操作した時のモード切替え動作用ソフトのフローチャートを示すもので、両スイッチを切替えると次に示すような制御モードとなる。
(A)2つの制御モード切替えスイッチをSW1−(L),SW2−(L)とした場合 は、従来と同格のSMリードライトモードとなり、ユーザー使用可能主記憶部をメ モリカードの記憶部としてPC6に認識させる。即ち、SMリードライト装置1は 現在、量販店等で販売されている通常のUSB接続のSMリードライト装置と同様 のリードライトを行うものとなる。例えば、32MBのSMをSMコネクタ3のス ロットに挿入すると、32MBの容量のメモリカードとして認識される。
(B)2つの制御モード切替えスイッチをSW1−(L),SW2−(H)とした場合 は、特殊機能のSMリードライトモードとなり、予備記憶部をメモリカードの記憶 部としてPC6に認識させ、予備の記憶部が数KBの容量のメモリカードとして認 識され、SMリードライト装置1は通常のUSB接続のSMリードライト装置と同 じ動作をする。即ち、(B)モードとした場合は、予備記憶部にリードライト可能 になる。
(C)制御モード切替えスイッチをSW1−(H)とした場合は、USB接続のキーボ ードモードとなる。即ちPC6からは、通常のUSB接続のキーボードとして認識 される。
FIG. 2 shows a flowchart of the mode switching operation software when the control mode switching switches SW1 and SW2 are operated. When both switches are switched, the following control mode is set.
(A) When the two control mode changeover switches are SW1- (L) and SW2- (L), the SM read / write mode is equivalent to the conventional one, and the user-usable main memory is used as the memory card memory. Let the PC 6 recognize it. In other words, the SM read / write
(B) When the two control mode changeover switches are set to SW1- (L) and SW2- (H), the special function SM read / write mode is set, and the PC 6 is recognized as the memory card memory unit. The spare storage unit is recognized as a memory card having a capacity of several KB, and the SM read / write
(C) When the control mode changeover switch is set to SW1- (H), the USB connection keyboard mode is set. That is, the PC 6 recognizes it as a normal USB-connected keyboard.
ここで通常SMは、各ブロックのData Status Area(516バイト)に正常なブロックの場合は“FFh”が、不良なブロックの場合は不良ブロックマーク“00h”が書き込まれており、Data Status Area(516バイト)の値によって正常なブロックか否かを判断している。 Here, in the normal SM, “FFh” is written in the Data Status Area (516 bytes) of each block in the case of a normal block, and a bad block mark “00h” is written in the case of a bad block. Whether the block is a normal block is determined based on the value of (516 bytes).
又、各ブロックにはData Status Area(516バイト)の他にReserved Area(512〜515バイト)があり、このReserved Areaは、将来の機能拡張のために用意された領域であり、現在は未使用領域となっており、この領域は、“FFFFFFFFh”の固定値としている。 Each block has a reserved area (512 to 515 bytes) in addition to the data status area (516 bytes). This reserved area is an area prepared for future function expansion and is not currently used. This area is a fixed value of “FFFFFFFFh”.
従来のSMリードライト装置では、このReserved Area(512〜515バイト)はチェックせず、Data Status Area(516バイト)のみをチェックし、不良ブロックマークの有無でブロックが不良かどうかを判断している。 In the conventional SM read / write device, this Reserved Area (512 to 515 bytes) is not checked, but only the Data Status Area (516 bytes) is checked to determine whether or not the block is defective based on the presence or absence of a defective block mark. .
本発明では、先ず予備記憶部の任意のブロックのData Status Area(516バイト)に不良ブロックマークを故意に書き込み、実際にユーザー使用の主記憶部で不良ブロックとなった場合に、そのブロックと交換されるのを防ぎ、Reserved Area(512〜515バイト)に識別マーク“01234567”を書き込んで、故意に不良にしたブロックか、本物の不良ブロックかを判断することができる。この処理は前記(B)モードとした時に行われ、(B)モードとした場合の動作を次に説明する。 In the present invention, first, when a bad block mark is intentionally written in the Data Status Area (516 bytes) of an arbitrary block in the spare storage unit, and actually becomes a bad block in the main storage unit used by the user, the block is replaced. Thus, the identification mark “01234567” is written in the Reserved Area (512 to 515 bytes), and it can be determined whether the block is intentionally defective or a genuine defective block. This process is performed when the (B) mode is set, and the operation when the (B) mode is set will be described below.
まず、SM5をSMコネクタ3のスロットに挿入すると、図3に示すフローチャートのように故意に作成した不良ブロックを検索し、見つからなかった場合は、任意の1ブロックのData Status Area(516バイト)に、“00”、Reserved Area(512〜515バイト)に“01234567”を書き込んで、1ブロック分の容量(0.5KB)のドライブとしてPC6に伝える。故意に作成したブロックが見つかったら、0.5KB容量のメモリカードとしてPC6に伝える。
First, when SM5 is inserted into the slot of the
以上のように、(B)モードとすることによりSM5の予備記憶部を必要に応じて通常のユーザー使用可能記憶部として使用できる。本実施例以外の通常のSMリードライト装置では、予備記憶部には故意に不良ブロックとしたブロックを読み書きすることができないので、SM5の予備記憶部に記憶させた特殊データを秘匿することができる。 As described above, by setting the mode (B), the SM5 spare storage unit can be used as a normal user-usable storage unit as necessary. In a normal SM read / write device other than the present embodiment, blocks that are intentionally defective blocks cannot be read from or written to the spare storage unit, so that special data stored in the spare storage unit of SM5 can be concealed. .
次に(C)の制御モードとした場合の動作を説明する。 Next, the operation when the control mode (C) is set will be described.
まず、前記(B)の制御モードにおいて、例えば、IDとパスワードが記載された2つのテキストファイルを作成し、そのファイルに夫々PC6へのログインに使用するIDとパスワードを書き込み、それらのファイルを上記で作成した不良ブロックに書き込んでおく。
First, in the control mode of (B), for example, two text files in which an ID and a password are described are created, IDs and passwords used for logging in to the PC 6 are written in the files, and these files are stored in the above-mentioned file. Write in the bad block created in
例えば、前述のように(B)モードとした時に、SM5の予備記憶部へのリードライトが可能になり、PC6には、0.5KB容量のリムーバブルメディアドライブとして伝えられるので、ユーザは、下記の手順でパスワード等の特殊データを書き込むことができる。
For example, when the mode (B) is set as described above, reading / writing to the spare storage unit of SM5 becomes possible, and it is transmitted to the
ユーザーは、先ずPC6においてテキストエディタ等を利用して、下記ファイルを作成する。
ファイル名:password.txt
ファイル内容:ABCDEFGH01234567
The user first creates the following file on the PC 6 using a text editor or the like.
File name: password.txt
File content: ABCDEFGH01234567
次に作成したファイルを、0.5KB容量のリムーバブルメディアドライブにコピーする。 Next, copy the created file to a removable media drive with a 0.5 KB capacity.
SMリードライト装置1は、上記コピーされたファイルを特殊データ書き込み領域内のData areaに書き込む。その時に、通常のData areaに書きこむ時と同様にECCの計算も行い結果を記録する。これにより、特殊データ書きこみ領域内に書かれたデータの信頼性も確保される
The SM read /
次に(C)の制御モードにしてPC6にログインする場合は、
(1)前記(C)の制御モードにSMリードライト装置1の制御モードを替え、PC6を起動させた後、ログイン画面が出たら、SM5を装置1に挿入する。装置1は、SM5の挿入を検出し、挿入されたSM5が、故意に不良ブロックを作成したメディアかどうかを判断する。(図3)
Next, when logging into the
(1) When the control mode of the SM read /
故意に不良を作成したメディアと判断できたら、IDとパスワードが記載された2つのテキストファイルを読込む。 If it can be determined that the media has been intentionally created, two text files containing the ID and password are read.
そしてPC6はパスワード待ちの状態になっているので、Tab、ID、Tab、パスワード、EnterのキーコードをPC6へ送信し、ログインが完了する。
Since the
ここで、故意に不良を作成したメディアと判断できなかった場合は、何も動作しない。 Here, if it cannot be determined that the medium has intentionally created a defect, no operation is performed.
また、PC操作を途中で終え、一時的にPC6から離れる場合、他人にPC6を操作されないようにSM5を装置1から抜く。すると装置1は、SM5が引抜かれたことを検知し、PC6をロックさせるために以下の操作を行う。
Further, when the PC operation is finished halfway and temporarily leaves the
(2)具体的には、例えばPC6のOSがマイクロソフト社のWindowsNT(登録商標)、Windows2000(登録商標)、WindowsXP(登録商標)の場合、PCのロック機能の標準のコマンド、Ctrl+Alt+Del、Enterのキーコードを送信し、PC6をロックする。
(2) Specifically, for example, when the OS of the
PCがロックされている間は、PCはログインの時と同様、パスワード待ちの状態になっているので、再度、PC6に戻って操作を続ける場合は、SMリードライト装置1のSMコネクタ3のスロットにSM5を挿入すると、前記(1)の動作を行い、これにより、再度ログインが完了し、ロック機能が解除される。
While the PC is locked, the PC is waiting for a password as in the case of login. Therefore, when returning to the
1 SMリードライト装置
2 変換手段
3 SMコネクタ
4 USBコネクタ
5 SM
6 PC
DESCRIPTION OF
6 PC
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076537A JP2005267054A (en) | 2004-03-17 | 2004-03-17 | Read/write device with special function for flash memory card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004076537A JP2005267054A (en) | 2004-03-17 | 2004-03-17 | Read/write device with special function for flash memory card |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005267054A true JP2005267054A (en) | 2005-09-29 |
Family
ID=35091562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004076537A Pending JP2005267054A (en) | 2004-03-17 | 2004-03-17 | Read/write device with special function for flash memory card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005267054A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007148518A (en) * | 2005-11-24 | 2007-06-14 | Neo Techno:Kk | Usb device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001014441A (en) * | 1999-04-27 | 2001-01-19 | Matsushita Electric Ind Co Ltd | Semiconductor memory card and reader |
-
2004
- 2004-03-17 JP JP2004076537A patent/JP2005267054A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001014441A (en) * | 1999-04-27 | 2001-01-19 | Matsushita Electric Ind Co Ltd | Semiconductor memory card and reader |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007148518A (en) * | 2005-11-24 | 2007-06-14 | Neo Techno:Kk | Usb device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2242805C2 (en) | Recording method, control device and recording device | |
KR100655501B1 (en) | Recording medium, recording apparatus, recording method, editimg apparatus and editing method | |
US7039754B2 (en) | Detachably mounted removable data storage device | |
US7600085B2 (en) | Apparatus and method for determining erasability of data | |
JP2003196142A (en) | Write-once type memory device and file management method | |
KR20080098511A (en) | Date storage device using two types of storage medium | |
TW200939068A (en) | Method and system of digital key | |
JPH1173379A (en) | Data management device, data management method and storage device | |
US6662269B1 (en) | Data rewriting apparatus, control method, and recording medium | |
JP2006252451A (en) | Storage system | |
WO2004079575A1 (en) | Data management method for slash memory medium | |
JP2010511923A (en) | Memory card reader for recovering a memory card | |
JP2005267054A (en) | Read/write device with special function for flash memory card | |
JP4655545B2 (en) | Memory card and playback device | |
JP3882460B2 (en) | MEMORY DEVICE, DATA PROCESSING DEVICE, DATA PROCESSING SYSTEM, AND DATA PROCESSING METHOD | |
JP2001325134A (en) | Directory setting method and recorder | |
JP2001056777A (en) | Digital data recording and reproducing device | |
JP4612816B2 (en) | Recording / reproducing apparatus and control method | |
JP2006065505A (en) | Memory card and reproducing apparatus | |
JP4655547B2 (en) | Memory card and method for making the same | |
JP2001331328A (en) | Information processor and its method | |
JP4019589B2 (en) | Semiconductor memory device | |
KR20060056646A (en) | Removable storage and recovering method for file system using removable sotrages | |
JP2001331280A (en) | Information processor and information processing method | |
JP2006190185A (en) | Information recording device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091105 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091124 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100406 |