Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3866519B2 - File management system - Google Patents
[go: Go Back, main page]

JP3866519B2 - File management system - Google Patents

File management system Download PDF

Info

Publication number
JP3866519B2
JP3866519B2 JP2000615902A JP2000615902A JP3866519B2 JP 3866519 B2 JP3866519 B2 JP 3866519B2 JP 2000615902 A JP2000615902 A JP 2000615902A JP 2000615902 A JP2000615902 A JP 2000615902A JP 3866519 B2 JP3866519 B2 JP 3866519B2
Authority
JP
Japan
Prior art keywords
recording medium
management information
medium
determined
storage destination
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.)
Expired - Fee Related
Application number
JP2000615902A
Other languages
Japanese (ja)
Other versions
JPWO2000067130A1 (en
Inventor
順 蒲田
越夫 小野
敏達 野田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of JPWO2000067130A1 publication Critical patent/JPWO2000067130A1/en
Application granted granted Critical
Publication of JP3866519B2 publication Critical patent/JP3866519B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、記憶媒体のフォーマッタ及び記憶媒体のファイル管理システムに関する。   The present invention relates to a storage medium formatter and a storage medium file management system.

今日、情報化社会の進展に伴い、情報を相互に交換できることがますます重要となっている。このような情報の相互交換には、現在ではLANなどを使用した、ネットワークを介してのデータ転送が頻繁に使用される。しかし、一部には、大量のデータをネットワークを介して送信しようとすると時間がかかりすぎる等の問題があり、フロッピーディスクなどに記録して運搬する形態の情報交換も盛んに利用されている。また、プログラムなどのソフトウェア商品を販売する場合には、CD−ROM等に記憶させて、ユーザに自分のパソコンにインストールさせる方式を採用している場合が多い。また、最近では、計算機上で動作するプログラムの頒布のみならず、MD、音楽CD、DVDにより、画像や音声、音楽や映画など様々なソフトが頒布されるようになってきている。フロッピーディスクや、最近注目されているMO等の光磁気ディスクに代表される可搬型媒体は、複数の計算機間でのファイル交換を容易にするという特徴がある一方、機密情報などの本来隠しておきたい情報が他の計算機上で容易にアクセスされてしまうという問題がある。   Today, with the progress of the information society, it is increasingly important to be able to exchange information with each other. For mutual exchange of such information, data transfer through a network using a LAN or the like is frequently used nowadays. However, in some cases, there is a problem that it takes too much time to transmit a large amount of data via a network, and information exchange in the form of being recorded and transported on a floppy disk or the like is also actively used. In addition, when selling software products such as programs, it is often the case that a method of storing the product on a CD-ROM or the like and allowing the user to install it on his / her personal computer is employed. Recently, various software such as images, sounds, music, and movies have been distributed not only by programs that run on computers but also by MD, music CD, and DVD. Portable media, such as floppy disks and recently-focused magneto-optical disks such as MO, have the feature of facilitating file exchange among multiple computers, while keeping confidential information, etc., hidden. There is a problem that the desired information is easily accessed on other computers.

可搬型媒体による情報交換の際の秘匿性を高める方式として、従来では、可搬型媒体に記憶されるファイルを暗号化する方式が取られる。これは、現在では、一般的な方法であるが、ディレクトリなどのファイル管理情報は暗号化されていないためファイルの存在が分かってしまい、故意に上書き、削除される等の問題がある。従来のファイルを暗号化して記憶し、秘匿性を高める方法の詳細に関しては、マイクロソフト社発行「Windows NT Server」1998年を参照されたい。   Conventionally, a method of encrypting a file stored in a portable medium has been adopted as a method for enhancing the confidentiality when exchanging information using a portable medium. This is a common method at present, but there is a problem that the file management information such as the directory is not encrypted, so that the existence of the file is known, and the file is intentionally overwritten or deleted. For details of the conventional method for encrypting and storing a file to enhance confidentiality, refer to “Windows NT Server” 1998 published by Microsoft Corporation.

また、従来技術では、それほど秘匿性が要求されない場合には、1つ1つのファイルを暗号化するには処理の負担が重すぎて、実際の使用に際して不便であるという問題がある。   Further, in the conventional technique, when confidentiality is not so required, there is a problem that it is inconvenient in actual use because the processing load is too heavy to encrypt each file.

そこで、本発明では媒体に固有の媒体ID、ドライブ装置に固有のドライブ装置ID、計算機に固有の計算機ID等を元に、ファイルのファイル管理情報の媒体上での格納先(媒体上のブロック番号)を決定したり、これらのIDを元に管理情報を暗号化することで、特定の媒体上、特定のドライブ装置上、または特定の計算機上等でしかそのファイルにアクセスできない方式を提供する。   Therefore, in the present invention, based on the medium ID unique to the medium, the drive device ID unique to the drive device, the computer ID unique to the computer, etc., the storage destination (block number on the medium) of the file management information of the file ) And encryption of management information based on these IDs provides a method in which the file can be accessed only on a specific medium, a specific drive device, or a specific computer.

従って、本発明の課題は、特定の媒体あるいは特定の装置を用いてしか必要なデータにアクセスすることができない、秘匿性を有するデータの記憶方式を提供することである。   Therefore, an object of the present invention is to provide a data storage method having confidentiality that can access necessary data only by using a specific medium or a specific device.

本発明の装置は、記録媒体をフォーマットする、あるいは、該記録媒体に記録されているファイルにアクセスする装置であって、該記録媒体、あるいは、該装置の識別子を読み取り、該識別子に基づいて、該記録媒体に秘匿性を持たせる、あるいは、該記録媒体の秘匿性を解除する秘匿性付与/解除手段と、該秘匿性を該記録媒体に付与する場合、あるいは、該記録媒体の秘匿性が解除される場合に、該記録媒体にアクセスする記録媒体アクセス手段とを備えることを特徴とする。
本発明の方法は、記録媒体をフォーマットする、あるいは、該記録媒体に記録されているファイルにアクセスする方法であって、(a)該記録媒体、あるいは、該装置の識別子を読み取り、該識別子に基づいて、該記録媒体に秘匿性を持たせる、あるいは、該記録媒体の秘匿性を解除するステップと、(b)該秘匿性を該記録媒体に付与する場合、あるいは、該記録媒体の秘匿性が解除される場合に、該記録媒体にアクセスするステップとを備えることを特徴とする。
The apparatus of the present invention is an apparatus that formats a recording medium or accesses a file recorded on the recording medium, reads the identifier of the recording medium or the apparatus, and based on the identifier, When the recording medium is concealed, or the secrecy imparting / releasing means for releasing the secrecy of the recording medium and the secrecy are imparted to the recording medium, or the secrecy of the recording medium is And a recording medium access means for accessing the recording medium when the recording medium is released.
The method of the present invention is a method of formatting a recording medium or accessing a file recorded on the recording medium, comprising: (a) reading the identifier of the recording medium or the device, and And (b) providing the recording medium with confidentiality, or (b) providing the recording medium with confidentiality, or concealing the recording medium. And a step of accessing the recording medium when the is released.

本発明によれば、データを読み込もうとする記録媒体、あるいは、装置に固有の識別子を用いて、秘匿性を記録媒体に持たせることが可能となるので、特定の記録媒体からデータを読み出す場合、あるいは、特定の装置を使って、データを読み出す以外には、データにアクセスすることができない。特に、記録媒体に秘匿性を持たせる方法としては、例えば、ファイルなどの管理情報を上記識別子に基づいた演算に従って移動したり、上記識別子を使って暗号化するなどが考えられる。上記識別子はこの場合、通常の方法では書き換え不可能であることが好ましく、更には、通常の方法では読み出せないようにしておく。これにより、記録媒体の内容を不正コピーしても、上記識別子はコピーされないようにできるので、不正にデータを利用されることを防ぐことができる。しかも、秘匿性を備えるために必要となる処理が単純であるので、従来の方法に比べて、より速く軽い処理で、秘匿性を記録媒体に与えることができる。   According to the present invention, the recording medium from which data is to be read or the identifier unique to the apparatus can be used to provide confidentiality to the recording medium, so when reading data from a specific recording medium, Alternatively, the data cannot be accessed except by reading the data using a specific device. In particular, as a method for imparting confidentiality to a recording medium, for example, management information such as a file may be moved according to a calculation based on the identifier, or may be encrypted using the identifier. In this case, it is preferable that the identifier is not rewritable by a normal method, and further, it cannot be read by a normal method. Thus, even if the contents of the recording medium are illegally copied, the identifier can be prevented from being copied, so that illegal use of data can be prevented. In addition, since the processing necessary for providing confidentiality is simple, confidentiality can be imparted to the recording medium faster and lighter than the conventional method.

図1は、媒体上のファイル及びファイル管理情報の代表的なレイアウトを示す図である。
区画管理情報は、連続領域である区画の先頭BN(Block Number:区画開始位置)とその長さ(区画長)を管理している。ボリューム管理情報は、ユーザが使用できる領域であるボリュームがどの区画から構成されているかを管理し(使用区画のリスト)、そのボリューム内のルートディレクトリ管理情報へのリンクを持つ。この例では、一つの区画でボリュームを構成している。
FIG. 1 is a diagram showing a typical layout of files on a medium and file management information.
The section management information manages the head BN (Block Number: section start position) of a section that is a continuous area and its length (section length). The volume management information manages from which partition the volume, which is an area that can be used by the user, is configured (a list of used partitions), and has a link to root directory management information in the volume. In this example, a volume is composed of one partition.

ルートディレクトリ管理情報は、媒体上に断片化して存在するルートディレクトリのブロック番号をリストとして持つ(使用ブロックのリスト)。この例では、ルートディレクトリを3つに断片化している。ルートディレクトリ内には、ファイルのファイル名とそのファイル管理情報へのリンク、及び、サブディレクトリを有する場合には、サブディレクトリ名とサブディレクトリ管理情報へのリンクを持つ。ファイル管理情報は、媒体上に断片化して存在するファイルのブロック番号をリストとして持つ。この例ではファイルを3つに断片化している。サブディレクトリ管理情報は、ルートディレクトリ管理情報と同様に、サブディレクトリが使用している使用ブロックのリストを有しており、サブディレクトリは、当該サブディレクトリに置かれているファイルの名前やファイル管理情報へのリンクを持つ。もちろん、当該サブディレクトリに更に下位のサブディレクトリが含まれる場合には、その下位のサブディレクトリの名前と管理情報へのリンクが格納される。     The root directory management information has a list of block numbers of root directories that are fragmented on the medium (a list of used blocks). In this example, the root directory is fragmented into three. In the root directory, there are a file name and a link to the file management information of the file, and a subdirectory name and a link to the subdirectory management information when having a subdirectory. The file management information has a list of block numbers of files that are fragmented on the medium. In this example, the file is fragmented into three. Similar to the root directory management information, the subdirectory management information has a list of used blocks used by the subdirectory, and the subdirectory includes the name of the file placed in the subdirectory and the file management information. Have a link to Of course, when the subdirectory includes a lower subdirectory, the name of the lower subdirectory and a link to the management information are stored.

通常、区画外の管理情報は固定位置に置かれる。この例では、区画管理情報はBN=iに、ボリューム管理情報はBN=jに置かれている。従って、同図のようなデータフォーマットを有する媒体上のファイルにアクセスする場合には、予め定められた固定位置に存在する区画管理情報やボリューム管理情報を読みとって、そのファイルの存在するブロックの番号(ブロック番号)を特定する。   Normally, the management information outside the partition is placed at a fixed position. In this example, the partition management information is placed at BN = i, and the volume management information is placed at BN = j. Therefore, when accessing a file on a medium having a data format as shown in the figure, the partition management information and volume management information existing at a predetermined fixed position are read, and the block number where the file exists is read. (Block number) is specified.

そこで、本実施形態に於いては、区画外の管理情報である区画管理情報とボリューム管理情報の格納先を媒体ID(媒体の識別子)、装置ID(装置の識別子)、計算機ID(計算機の識別子)に応じて変化させたり、これらIDを鍵として管理情報を暗号化することによって、容易には媒体上のファイルへアクセスできないようにする。   Therefore, in this embodiment, the storage location of the partition management information and volume management information, which are management information outside the partition, is a medium ID (medium identifier), a device ID (device identifier), and a computer ID (computer identifier). ), Or by encrypting the management information using these IDs as keys, the files on the medium cannot be easily accessed.

図2は、本発明の第1の実施形態に従った装置の構成図である。
媒体1上には書き換え不可能な媒体ID2と読み書き可能領域3がある。ドライブ装置4には、媒体ID2を読み出す媒体ID読み出し部5と、媒体ID読み出し部5により読み出された媒体ID2を計算機11に転送する媒体ID転送部6、及び、読み書き可能領域アクセス部12がある。計算機11上で動作するフォーマッタ10には、媒体ID転送部6から転送される媒体ID2を受け取る媒体ID読み出し部7、媒体ID読み出し部7により読み出された媒体ID2を元に管理情報を格納するブロックの番号(ブロック番号)を決定する格納先決定部8、格納先決定部8により決定されたブロック番号を有するブロックに管理情報を格納する読み書き可能領域アクセス部9がある。
FIG. 2 is a block diagram of an apparatus according to the first embodiment of the present invention.
On the medium 1, there are a non-rewritable medium ID 2 and a readable / writable area 3. The drive device 4 includes a medium ID reading unit 5 that reads the medium ID 2, a medium ID transfer unit 6 that transfers the medium ID 2 read by the medium ID reading unit 5 to the computer 11, and a readable / writable area access unit 12. is there. The formatter 10 operating on the computer 11 stores the management information based on the medium ID 2 read by the medium ID reading unit 7 and the medium ID reading unit 7 that receives the medium ID 2 transferred from the medium ID transfer unit 6. There is a storage destination determination unit 8 that determines a block number (block number), and a readable / writable area access unit 9 that stores management information in a block having a block number determined by the storage destination determination unit 8.

書き換え不可能な媒体ID2は、媒体1上の通常の読み書き可能領域3とは別の領域であって、特別な方法によってのみ読み込みができるような媒体1上の位置に記録される。これは、媒体ID2が通常の読み書き可能領域3と同様な部分に書き込まれていると、例えば、書き込み保護を行っていたとしても、何らかの方法により書き換えられてしまい、書き換えた本人だけがファイルにアクセスできるようにすることが可能となってしまう。従って、本来媒体1の所有者のみがアクセスできるべきものであるファイルの媒体ID2が書き換えられてしまった場合には、その所有者はファイルにアクセスすることができなくなり、媒体ID2を書き換えた本人のみがファイルにアクセスできるようになる。従って、悪意を持つユーザが、所有者の媒体1に不正にアクセスして、自分だけがファイルにアクセスできるように媒体ID2を変えることができてしまう。また、媒体ID2が通常のアクセス方法で、読み込み可能な領域に記憶されていると、容易に媒体ID2が盗まれてしまい、秘匿性を維持することができなくなってしまう。   The non-rewritable medium ID 2 is an area different from the normal readable / writable area 3 on the medium 1 and is recorded at a position on the medium 1 that can be read only by a special method. This is because if the medium ID 2 is written in the same part as the normal readable / writable area 3, for example, even if write protection is performed, it is rewritten by some method, and only the rewritten person accesses the file. It will be possible to do so. Therefore, when the medium ID2 of a file that should originally be accessible only by the owner of the medium 1 is rewritten, the owner cannot access the file, and only the person who rewritten the medium ID2 can access. Will be able to access the file. Therefore, a malicious user can change the medium ID 2 so that the owner's medium 1 is illegally accessed and only the user can access the file. Further, if the medium ID2 is stored in a readable area by a normal access method, the medium ID2 is easily stolen, and confidentiality cannot be maintained.

従って、ドライブ装置4には、媒体ID2を読み出すための媒体ID読み出し部5が特別に設けられる。媒体ID読み出し部5によって読み出された媒体ID2は、媒体ID転送部6に送られ、ドライブ装置4が接続されている計算機11に送られる。計算機11では、計算機11上で動作するフォーマッタ10の媒体ID読み出し部7で媒体ID2を受け取り、格納先決定部8に送る。   Therefore, the drive device 4 is specially provided with a medium ID reading unit 5 for reading the medium ID2. The medium ID 2 read by the medium ID reading unit 5 is sent to the medium ID transfer unit 6 and sent to the computer 11 to which the drive device 4 is connected. In the computer 11, the medium ID reading unit 7 of the formatter 10 operating on the computer 11 receives the medium ID 2 and sends it to the storage destination determining unit 8.

格納先決定部8では、送られてきた媒体ID2を用いて、あるいは、媒体ID2に一対一に対応する番号を用いて、区画管理情報やボリューム管理情報を記憶すべきブロックの番号を決定し、読み書き可能領域アクセス部9に、区画管理情報やボリューム管理情報を書き込むように指示を出す。フォーマッタ10の読み書き可能領域アクセス部9からの指示は、ドライブ装置4の読み書き可能領域アクセス部12に渡され、読み書き可能領域アクセス部12により媒体1上の読み書き可能領域3の上記指示されたブロック番号を有するブロックに区画管理情報やボリューム管理情報が書き込まれる。   The storage destination determination unit 8 determines the number of the block in which the partition management information and the volume management information are to be stored using the sent medium ID2 or a number corresponding to the medium ID2 on a one-to-one basis. The read / write area access unit 9 is instructed to write partition management information and volume management information. The instruction from the readable / writable area access unit 9 of the formatter 10 is passed to the readable / writable area access unit 12 of the drive device 4, and the indicated block number of the readable / writable area 3 on the medium 1 by the readable / writable area access unit 12. Partition management information and volume management information are written in the block having

図3は、図2のフォーマッタ10の処理の流れを示したフローチャートである。
フォーマッタ10は処理を開始すると、媒体ID2を読み出す(ステップS1;例えば、同図の場合、媒体IDは、「12345」である)。次に媒体ID2を元に区画管理情報を格納すべきブロックのBN(ブロック番号)を決定する(ステップS2)。この例では、BNを媒体ID2のモジュロ64を、ベースとなる(オフセットブロック番号である)BN=512に足した値にしている。ここで、「ID%64」という表記は、媒体ID2を64で割った余りを示している。ただし、区画管理情報格納先のブロック番号(BN)の決定の仕方は、上記方法には限定されず、より秘匿性を高めるために、当業者によって適宜定められるべきものである。そして、区画管理情報を、上記決定されたブロック番号に書き込む(ステップS3)。次に、区画管理情報と同様にしてボリューム管理情報の格納先のブロック番号を決定(ステップS4)し、これを該ブロックに書き込む(ステップS5)。なお、同図では、ボリューム管理情報の格納先ブロック番号は、媒体ID2を64で割った余りを513に加えて決定している。しかし、区画管理情報の場合に述べたように、上記格納先ブロック番号を決定する方法は、この方法には限定されない。
FIG. 3 is a flowchart showing a processing flow of the formatter 10 of FIG.
When the formatter 10 starts processing, it reads the medium ID 2 (step S1; for example, in the case of the figure, the medium ID is “12345”). Next, the BN (block number) of the block in which the partition management information is to be stored is determined based on the medium ID 2 (step S2). In this example, BN is set to a value obtained by adding modulo 64 of the medium ID 2 to BN = 512 as a base (which is an offset block number). Here, the notation “ID% 64” indicates a remainder obtained by dividing the medium ID 2 by 64. However, the method of determining the block number (BN) of the partition management information storage destination is not limited to the above method, and should be appropriately determined by those skilled in the art in order to further improve confidentiality. Then, the partition management information is written in the determined block number (step S3). Next, similarly to the partition management information, the block number of the storage destination of the volume management information is determined (step S4), and this is written in the block (step S5). In the figure, the storage block number of the volume management information is determined by adding 513 to the remainder obtained by dividing the medium ID 2 by 64. However, as described in the case of the partition management information, the method for determining the storage block number is not limited to this method.

図4は、本発明の第2の実施形態に従った装置の構成図である。
なお、同図に於いて、図2と同じ構成要素には同じ参照符号を付してある。
媒体1上には書き換え不可能な媒体ID2と読み書き可能領域3がある。ドライブ装置4には、媒体ID読み出し部5と、読み出された媒体ID2を計算機11に転送する媒体ID転送部6、及び読み書き可能領域アクセス部12がある。計算機11上のファイルシステム15には、媒体ID読み出し部7、読み出した媒体ID2を元に管理情報を格納するブロックの番号を決定する格納/読み出し先決定部8、決定されたブロック番号のブロックにアクセスする読み書き可能領域アクセス部9’がある。また、ファイルシステム15はアプリケーション16からの媒体使用要求によって処理を行う。
FIG. 4 is a block diagram of an apparatus according to the second embodiment of the present invention.
In the figure, the same components as those in FIG. 2 are denoted by the same reference numerals.
On the medium 1, there are a non-rewritable medium ID 2 and a readable / writable area 3. The drive device 4 includes a medium ID reading unit 5, a medium ID transfer unit 6 that transfers the read medium ID 2 to the computer 11, and a readable / writable area access unit 12. The file system 15 on the computer 11 includes a medium ID reading unit 7, a storage / read destination determining unit 8 that determines a block number for storing management information based on the read medium ID 2, and a block with the determined block number. There is a readable / writable area access unit 9 ′ to access. The file system 15 performs processing in response to a medium use request from the application 16.

アプリケーション16としては、ワープロソフト、ファイル管理ツール、その他様々なアプリケーションが考えられる。すなわち、媒体1にアクセスする機能を有する全てのアプリケーションが該当する。同図において、媒体ID読み出し部5、媒体ID転送部6、媒体ID読み出し部7、読み書き可能領域アクセス部12は、図2の場合と同様の機能を有する。格納/読み出し先決定部8’は、図2のフォーマッタ10のように、区画管理情報とボリューム管理情報を記憶するためにブロック番号を特定するのではなく、アプリケーション16からの媒体1上のファイルへのアクセス要求に対しても、該アクセスされたファイルの区画管理情報とボリューム管理情報が格納されているブロック番号を、媒体ID2から算出し、それを読み書き可能領域アクセス部9’に通知するものである。読み書き可能領域アクセス部9’は、アプリケーション16からの媒体使用要求に従って、媒体1へファイルの書き込みや、読み出しを行う。この場合、アプリケーション16には、図2のようなフォーマッタ10もしくはその機能を有するアプリケーションであり、物理フォーマットと共に論理フォーマットを行うものであって、ファイルシステム15を介して区画管理情報やボリューム管理情報を媒体1に書き込むような作業をするものも含まれる。   As the application 16, word processing software, a file management tool, and various other applications can be considered. That is, all applications having a function of accessing the medium 1 are applicable. In the figure, a medium ID reading unit 5, a medium ID transfer unit 6, a medium ID reading unit 7, and a readable / writable area access unit 12 have the same functions as in FIG. The storage / read-out destination determining unit 8 ′ does not specify a block number for storing the partition management information and the volume management information as in the formatter 10 of FIG. The block number storing the partition management information and volume management information of the accessed file is calculated from the medium ID 2 and the read / write area access unit 9 ′ is notified of the access request. is there. The readable / writable area access unit 9 ′ writes or reads a file on the medium 1 in accordance with a medium use request from the application 16. In this case, the application 16 is a formatter 10 as shown in FIG. 2 or an application having a function thereof, which performs a logical format together with a physical format, and stores partition management information and volume management information via the file system 15. Also included is a task of writing on the medium 1.

図5は、図4のファイルシステム15の処理の流れを示したフローチャートである。
ファイルシステム15はアプリケーション16からの媒体使用要求によってマウント処理(ドライブ装置4に媒体1を設定し、媒体1のデータを読み込む準備)を開始する。次に、媒体ID2を読み出す(ステップS10、同図の場合ID=12345)。次に媒体ID2を元に区画管理情報が格納されているBN(ブロック番号)を決定する(ステップS11)。同図の例では、媒体IDのモジュロ64をベースとなるBase1(図3の場合と同じとすればBN512)に足した値にしている。なお、前述したように、Base1は、本実施形態を利用する当業者によって適宜定められるものであり、また、媒体IDを64で割った余りをBase1に加えるという処理形態も適宜変更されるべきものである。次に、区画管理情報を、上記決定されたブロック番号から読み出す(ステップS12)。そして、区画管理情報と同様にしてボリューム管理情報の格納先を決定(ステップS13)し、これを読み出す(ステップS14)。なお、ボリューム管理情報の格納先を、同図では、Base2(図3の場合513)に、媒体IDを64で割った値を加えて算出しているが、ボリューム管理情報の格納先の決定方法は本実施形態を使用する当業者によって適宜変更されるべきものである。
FIG. 5 is a flowchart showing a processing flow of the file system 15 of FIG.
The file system 15 starts mount processing (preparing to set the medium 1 in the drive device 4 and read the data of the medium 1) in response to a medium use request from the application 16. Next, the medium ID2 is read (step S10, ID = 12345 in the figure). Next, the BN (block number) in which the partition management information is stored is determined based on the medium ID 2 (step S11). In the example of the figure, the modulo 64 of the medium ID is set to a value added to Base1 (BN 512 if it is the same as the case of FIG. 3). Note that, as described above, Base1 is appropriately determined by those skilled in the art using this embodiment, and the processing mode of adding the remainder obtained by dividing the medium ID by 64 to Base1 should be changed as appropriate. It is. Next, the partition management information is read from the determined block number (step S12). Then, similarly to the partition management information, the storage location of the volume management information is determined (step S13), and this is read (step S14). In the figure, the storage location of the volume management information is calculated by adding the value obtained by dividing the medium ID by 64 to Base2 (513 in FIG. 3). These should be changed as appropriate by those skilled in the art using this embodiment.

図6は、第1の実施形態に従ったフォーマッタで論理フォーマットを行った記憶媒体のレイアウトを示す図である。
図3の計算式により、媒体IDを“12345”とすると、区画管理情報はブロック番号569のブロックに、ボリューム管理情報はブロック番号570のブロックに配置される。図1で説明したように、区画管理情報には、区画の開始位置や区画長が記録され、ボリューム管理情報には、使用区画のリスト及びルートディレクトリ管理情報へのリンクが記録される。ルートディレクトリには、ファイル名やファイル管理情報へのリンク、サブディレクトリ名やサブディレクトリ管理情報へのリンクが格納される。
FIG. 6 is a diagram showing a layout of a storage medium that has been logically formatted by the formatter according to the first embodiment.
If the medium ID is “12345” according to the calculation formula of FIG. 3, the partition management information is arranged in the block of block number 569 and the volume management information is arranged in the block of block number 570. As described with reference to FIG. 1, the partition management information records the start position and partition length of the partition, and the volume management information records a list of used partitions and a link to the root directory management information. The root directory stores a file name and a link to file management information, and a subdirectory name and a link to subdirectory management information.

第1及び第2の実施形態に従った方式を使用した場合、区画管理情報やボリューム管理情報の記録位置は、媒体ID2が変化することによって移動するので、媒体1に記録されているデータを他の媒体にコピーしても、媒体ID2がコピーされなければ、該他の媒体からデータを読み込むことは不可能となり、情報の秘匿性を獲得することができる。好ましくは、区画管理情報とボリューム管理情報の記録位置の決定方法を変えて、区画管理情報あるいはボリューム管理情報のいずれか一方の記録位置の算出方法が分かっても、他方の記録位置の算出方法が分からないようにする。ただし、この場合、区画管理情報とボリューム管理情報の記録位置が重ならないようにしておく必要がある。   When the method according to the first and second embodiments is used, the recording position of the partition management information and the volume management information moves when the medium ID 2 changes. If the medium ID2 is not copied even if it is copied to the other medium, it is impossible to read data from the other medium, and the confidentiality of the information can be obtained. Preferably, even if the method for calculating the recording position of either the partition management information or the volume management information is known by changing the method for determining the recording position of the partition management information and the volume management information, the calculation method for the other recording position is Do not understand. However, in this case, it is necessary that the recording positions of the partition management information and the volume management information do not overlap.

図7は、本発明の第3の実施形態に従った装置の構成図である。
本実施形態においては、媒体1'上の媒体IDを使用せずに、ドライブ装置4’上のドライブ装置IDを使用する。ドライブ装置4’のIDは、装置ID記憶部17に記憶される。実際には、例えば、ドライブ装置4’のROM(不図示)に書き込まれているファームウェアの一部に装置IDを書き込んでおき、必要に応じて読み出せるようにしておく。装置ID記憶部17に記憶された装置IDは、装置ID転送部6によって読み出され、計算機11上で動作するフォーマッタ10Aの装置ID読み出し部7に渡される。そして、装置ID読み出し部7から格納先決定部8に装置IDが渡され、前述した第1の実施形態のように、格納先決定部8により区画管理情報やボリューム管理情報を格納する位置を決定し、読み書き可能領域アクセス部9に渡す。読み書き可能領域アクセス部9は、ドライブ装置4’の読み書き可能領域アクセス部12に指示を出して、媒体1’の読み書き可能領域3’に区画管理情報やボリューム管理情報を格納する。
FIG. 7 is a block diagram of an apparatus according to the third embodiment of the present invention.
In the present embodiment, the drive device ID on the drive device 4 ′ is used without using the medium ID on the medium 1 ′. The ID of the drive device 4 ′ is stored in the device ID storage unit 17. Actually, for example, a device ID is written in a part of firmware written in a ROM (not shown) of the drive device 4 ′ so that it can be read out as necessary. The device ID stored in the device ID storage unit 17 is read by the device ID transfer unit 6 and passed to the device ID reading unit 7 of the formatter 10A operating on the computer 11. Then, the device ID is transferred from the device ID reading unit 7 to the storage destination determination unit 8, and the storage destination determination unit 8 determines the location for storing the partition management information and the volume management information as in the first embodiment described above. To the readable / writable area access unit 9. The readable / writable area access unit 9 issues an instruction to the readable / writable area access unit 12 of the drive device 4 ′, and stores partition management information and volume management information in the readable / writable area 3 ′ of the medium 1 ′.

本実施形態に於いては、媒体1’は媒体IDを記録している必要はないが、後述の実施形態のように、媒体1’に第1の実施形態のように媒体IDを記録しておき、必要に応じて、装置IDと媒体IDを組み合わせたり、区画管理情報の記録位置とボリューム管理情報の記録位置を算出する際に、媒体IDと装置IDをそれぞれ使用するということを行っても良い。   In the present embodiment, it is not necessary for the medium 1 'to record the medium ID. However, as in the embodiment described later, the medium ID is recorded on the medium 1' as in the first embodiment. If necessary, the device ID and the medium ID may be combined or the medium ID and the device ID may be used when calculating the recording position of the partition management information and the recording position of the volume management information. good.

図8は、第3の実施形態における処理の流れを示すフローチャートである。
なお、同図に示すステップにおいて、図3と同様のステップには同じステップ符号を付してある。
FIG. 8 is a flowchart showing the flow of processing in the third embodiment.
Note that, in the steps shown in the figure, the same steps as those in FIG.

ステップS1’で、装置IDを読み出す。同図の例では、ID=12345である。次に、区画管理情報格納先を決定する(ステップS2)。同図では、格納先BN(区画管理情報格納先のBN)を、Base1に装置IDを64で割った余りを加算して求めている。区画管理情報を、ステップS2で求めた格納先に格納する(ステップS3)。次に、ステップS4で、ボリューム管理情報格納先を決定する。ここでは、格納先BNは、Base2に装置IDを64で割った余りを加算して求めている。そして、このようにして求められた格納先に、ボリューム管理情報を格納して(ステップS5)、フォーマット処理を終了する。   In step S1 ', the device ID is read. In the example of FIG. Next, the partition management information storage destination is determined (step S2). In this figure, the storage destination BN (partition management information storage destination BN) is obtained by adding the remainder obtained by dividing the device ID by 64 to Base1. The partition management information is stored in the storage location obtained in step S2 (step S3). Next, in step S4, a volume management information storage destination is determined. Here, the storage destination BN is obtained by adding the remainder obtained by dividing the device ID by 64 to Base2. Then, the volume management information is stored in the storage location thus obtained (step S5), and the formatting process is terminated.

なお、前述したように、Base1、Base2は任意に設定されるべき値であり、格納先BNを求める方法も本実施形態に限定されるものではない。
図9は、本発明の第4の実施形態の装置の構成図である。
As described above, Base1 and Base2 are values that should be set arbitrarily, and the method for obtaining the storage destination BN is not limited to this embodiment.
FIG. 9 is a block diagram of an apparatus according to the fourth embodiment of the present invention.

なお、同図に於いて、第2及び第3の実施形態と同様の構成要素には同じ参照符号を付してある。
同図の構成は、第3の実施形態に於いて、計算機11がアプリケーション16及びファイルシステム15を用いて、媒体1’にアクセスする場合を示している。アプリケーション16としては、様々なものが考えられるが、一例を挙げれば、ワープロや表計算ソフト、描画ソフトなどである。しかし、これらに限定されるものではなく、前述したように、媒体1’にデータを書き込んだり、媒体1’からデータを読み込んだりするものであれば何でも良い。アプリケーション16からの媒体使用要求は、ファイルシステム15Aの読み書き可能領域アクセス部9'に送られる。
In the figure, the same components as those in the second and third embodiments are denoted by the same reference numerals.
The configuration shown in the figure shows a case where the computer 11 accesses the medium 1 ′ using the application 16 and the file system 15 in the third embodiment. Various applications 16 are conceivable. For example, a word processor, spreadsheet software, drawing software, and the like are available. However, the present invention is not limited to these, and as described above, anything may be used as long as data is written to the medium 1 ′ or data is read from the medium 1 ′. The medium use request from the application 16 is sent to the readable / writable area access unit 9 ′ of the file system 15A.

一方、ドライブ装置4’の装置IDは、装置ID記憶部17から読み出され、装置ID転送部6によって、計算機11上で動作するファイルシステム15Aの装置ID読み出し部7に転送される。装置ID読み出し部7が取得した装置IDは、格納/読み出し先決定部8’に送られ、格納/読み出し先決定部8'により区画管理情報やボリューム管理情報の格納先あるいは読み出し先のブロックのBNが決定される。格納/読み出し先決定部8’で決定されたBNは、読み書き可能領域アクセス部9’に送られ、読み書き可能領域アクセス部9’からドライブ装置4'へ媒体1’へのアクセス指示が出力される。媒体1’へのアクセス指示を受信したドライブ装置4’の読み書き可能領域アクセス部12は、取得したBNを元に、媒体1’の読み書き可能領域3’にアクセスする。   On the other hand, the device ID of the drive device 4 ′ is read from the device ID storage unit 17, and transferred by the device ID transfer unit 6 to the device ID reading unit 7 of the file system 15 </ b> A operating on the computer 11. The device ID acquired by the device ID reading unit 7 is sent to the storage / read destination determining unit 8 ′, and the storage / read destination determining unit 8 ′ stores the BN of the block where the partition management information or the volume management information is stored or read. Is determined. The BN determined by the storage / read destination determination unit 8 ′ is sent to the readable / writable area access unit 9 ′, and an instruction to access the medium 1 ′ is output from the readable / writable area access unit 9 ′ to the drive device 4 ′. . The readable / writable area access unit 12 of the drive device 4 ′ that has received the instruction to access the medium 1 ′ accesses the readable / writable area 3 ′ of the medium 1 ′ based on the acquired BN.

図10は、第4の実施形態における処理の流れを示すフローチャートである。
なお、同図で、図5と同じステップには、同じステップ符号を付してある。
まず、ステップS10’で、装置IDを読み出す。同図では、ID=12345。次に、区画管理情報格納先を決定する(ステップS11)。格納先のBNの算出の仕方は、図5と同様である。格納先のBNが決定されると、区画管理情報が格納されている位置が分かるので、ステップS12で、区画管理情報を読み込む。ステップS13で、ボリューム管理情報格納先のBNを決定する。そして、ステップS14で、ボリューム管理情報格納先のBNからボリューム管理情報を読み込む。
FIG. 10 is a flowchart showing the flow of processing in the fourth embodiment.
In the figure, the same steps as those in FIG.
First, in step S10 ′, the device ID is read. In the figure, ID = 12345. Next, the partition management information storage destination is determined (step S11). The method of calculating the storage destination BN is the same as in FIG. When the storage destination BN is determined, the location where the partition management information is stored is known, so the partition management information is read in step S12. In step S13, the BN of the volume management information storage destination is determined. In step S14, the volume management information is read from the BN of the volume management information storage destination.

図11は、本発明の第5の実施形態の装置の構成図である。
なお、同図において、図7と同じ構成要素には同じ参照符号を付してある。
本実施形態に於いては、媒体1'上の媒体IDを使用せずに、計算機11'上の計算機IDを使用する。計算機IDとしては、CPU−ID、拡張スロットに挿入された専用のハードウェアに持たせたID等、計算機11’を固有に特定することのできるIDであればよい。
FIG. 11 is a block diagram of an apparatus according to the fifth embodiment of the present invention.
In the figure, the same components as those in FIG.
In the present embodiment, the computer ID on the computer 11 ′ is used without using the medium ID on the medium 1 ′. The computer ID may be any ID that can uniquely identify the computer 11 ′, such as a CPU-ID or an ID given to dedicated hardware inserted into an expansion slot.

計算機11’上にインストールされているフォーマッタ10Bが媒体1’をフォーマットする場合には、まず、媒体1’を物理的にフォーマットした後、計算機ID読み出し部19が計算機ID記憶部18から計算機IDを読み出す。読み出された計算機IDは、格納先決定部8に入力され、区画管理情報やボリューム管理情報の格納先BNの決定に使用される。格納先決定部8によって決定された格納先BNは、読み書き可能領域アクセス部9に入力され、媒体1’へのアクセス指示と共に、ドライブ装置4’’の読み書き可能領域アクセス部12に送られる。媒体1’へのアクセス指示を受けたドライブ装置4’’の読み書き可能領域アクセス部12は、受信した格納先BNを参照して、読み書き可能領域3’の格納先BNで示されるブロックに、区画管理情報やボリューム管理情報を書き込んで、論理フォーマットを終了する。   When the formatter 10B installed on the computer 11 ′ formats the medium 1 ′, first, after physically formatting the medium 1 ′, the computer ID reading unit 19 obtains the computer ID from the computer ID storage unit 18. read out. The read computer ID is input to the storage destination determination unit 8 and used to determine the storage destination BN of the partition management information and the volume management information. The storage destination BN determined by the storage destination determination unit 8 is input to the readable / writable area access unit 9 and sent to the readable / writable area access unit 12 of the drive device 4 ″ together with an access instruction to the medium 1 ′. The readable / writable area access unit 12 of the drive device 4 ″ that has received an access instruction to the medium 1 ′ refers to the received storage destination BN and partitions the block indicated by the storage destination BN of the readable / writable area 3 ′. Write management information and volume management information, and finish the logical format.

図12は、第5の実施形態における処理の流れを示すフローチャートである。
なお、同図に於いて、図3と同じステップには同じステップ符号を付してある。
まず、ステップS1’’で、計算機IDを読み出す。次に、ステップS2で、区画管理情報格納先のBNを決定し、ステップS3で、区画管理情報を格納する。区画管理情報格納先BNの決定方法は、同図に示されるように、所定の値であるBase1に計算機IDを64で割った余りを加えて求めても良いし、他の方法でも良い。次に、ステップS4で、ボリューム管理情報の格納先のBNを決定する。同図では、該BNを所定の値であるBase2に、計算機IDを64で割った余りを加算して求めているが、これ以外の方法でも良い。そして、媒体1'上の求められた格納先BNを有するブロックにボリューム管理情報を格納して(ステップS5)、論理フォーマットを終了する。
FIG. 12 is a flowchart showing the flow of processing in the fifth embodiment.
In the figure, the same steps as those in FIG.
First, in step S1 ″, the computer ID is read out. Next, the partition management information storage BN is determined in step S2, and the partition management information is stored in step S3. As shown in the figure, the method for determining the partition management information storage destination BN may be obtained by adding a remainder obtained by dividing the computer ID by 64 to Base1, which is a predetermined value, or another method may be used. Next, in step S4, the storage destination BN of the volume management information is determined. In the figure, the BN is obtained by adding the remainder obtained by dividing the computer ID by 64 to Base2 which is a predetermined value, but other methods may be used. Then, the volume management information is stored in the block having the determined storage destination BN on the medium 1 ′ (step S5), and the logical format is terminated.

図13は、本発明の第6の実施形態の装置の構成図である。
なお、同図に於いて、図9及び図11と同じ構成要素には、同じ参照符号を付してある。
FIG. 13 is a configuration diagram of an apparatus according to the sixth embodiment of the present invention.
In the figure, the same components as those in FIGS. 9 and 11 are denoted by the same reference numerals.

本実施形態に於いては、第5の実施形態に基づいてフォーマットされた媒体1’にファイルシステム15Bとアプリケーション16を介してアクセスする場合を示している。計算機IDとしては、CPU−ID、拡張スロットに挿入された専用のハードウェアに持たせたID等何でも良い。   In the present embodiment, the case where the medium 1 ′ formatted according to the fifth embodiment is accessed via the file system 15 </ b> B and the application 16 is shown. The computer ID may be anything such as a CPU-ID or an ID assigned to dedicated hardware inserted in an expansion slot.

アプリケーション16から媒体使用要求が出力されると、その要求はファイルシステム15Bの読み書き可能領域アクセス部9’において受信される。一方、計算機ID読み出し部19は、計算機ID記憶部18から計算機IDを読み出し、それを格納/読み出し先決定部8’に出力する。格納/読み出し先決定部8’は、所定の方法により、計算機IDを使って、区画管理情報とボリューム管理情報の媒体1’上の格納位置を特定し、読み書き可能領域アクセス部9’に与える。読み書き可能領域アクセス部9’は、この格納位置の入力とアプリケーション16からの媒体使用要求の入力を受けて、ドライブ装置4’’の読み書き可能領域アクセス部12に、媒体1’の読み書き可能領域3’へのアクセスを指示する。読み書き可能領域アクセス部12は、格納/読み出し先決定部8’において特定された、区画管理情報とボリューム管理情報の格納位置を取得することができるので、読み書き可能領域3’内のどこを読めば良いかが分かり、データあるいはファイルを正常に読み出すことができる。また、ファイルやデータを媒体1’に書き込む場合も同様である。   When a medium use request is output from the application 16, the request is received by the read / write area access unit 9 'of the file system 15B. On the other hand, the computer ID reading unit 19 reads the computer ID from the computer ID storage unit 18 and outputs it to the storage / read destination determination unit 8 ′. The storage / read-out destination determination unit 8 ′ uses the computer ID to specify the storage location of the partition management information and the volume management information on the medium 1 ′ by a predetermined method, and gives it to the readable / writable area access unit 9 ′. The readable / writable area access unit 9 ′ receives the input of the storage location and the input of the medium use request from the application 16, and sends the readable / writable area 3 of the medium 1 ′ to the readable / writable area access unit 12 of the drive device 4 ″. Instruct access to '. The readable / writable area access unit 12 can acquire the storage positions of the partition management information and the volume management information specified by the storage / read destination determination unit 8 ′, so where to read in the readable / writable area 3 ′. You can see if it's good and you can read the data or file normally. The same applies when writing a file or data to the medium 1 '.

図14は、第6の実施形態における処理の流れを示すフローチャートである。
なお、同図に於いて、図5と同じステップには、同じステップ符号を付してある。
まず、ステップS10’’で、計算機IDを読み出す。ここで、該IDは、12345としている。次に、ステップS11で、区画管理情報の格納先のBNを決定する。ここでは、所定の値であるBase1に、計算機IDを64で割った余りを加算して、格納先のBNを求めているが、必ずしもこれには限定されない。格納先のBNが決定されると、この格納先のBNで示される位置に区画管理情報が書き込まれていることが分かるので、ステップS12で、区画管理情報を読み込む。次に、ステップS13で、ボリューム管理情報格納先のBNを決定する。ここでは、所定の値Base2に、計算機IDを64で割った余りを加算して求めているが、必ずしもこれには限られない。ボリューム管理情報格納先のBNが特定されると、媒体1'上のこの格納先からボリューム管理情報を読み込む(ステップS14)。これにより、媒体1'上のデータを読み込むのに必要なデータが揃うので、通常の媒体と同様にファイルなどのデータを読み出したり、書き込むことができる。
FIG. 14 is a flowchart showing the flow of processing in the sixth embodiment.
In the figure, the same steps as those in FIG.
First, in step S10 ″, the computer ID is read out. Here, the ID is 12345. Next, in step S11, the storage destination BN of the partition management information is determined. Here, the remainder of dividing the computer ID by 64 is added to Base1, which is a predetermined value, to obtain the storage destination BN, but this is not necessarily limited thereto. When the storage destination BN is determined, it can be seen that the partition management information is written at the position indicated by the storage destination BN, and therefore the partition management information is read in step S12. Next, in step S13, the BN of the volume management information storage destination is determined. Here, it is obtained by adding the remainder obtained by dividing the computer ID by 64 to the predetermined value Base2, but it is not necessarily limited to this. When the BN of the volume management information storage destination is specified, the volume management information is read from this storage destination on the medium 1 ′ (step S14). As a result, the data necessary for reading the data on the medium 1 ′ is prepared, so that data such as a file can be read or written as in the case of a normal medium.

なお、上記第3〜第6の実施形態における媒体1'のデータフォーマットは、図6に与えられるものと同様である。
図15は、本発明の第7の実施形態に従った装置の構成図である。
The data format of the medium 1 ′ in the third to sixth embodiments is the same as that given in FIG.
FIG. 15 is a block diagram of an apparatus according to the seventh embodiment of the present invention.

なお、同図において、図11と同じ構成要素には同じ参照符号を付してある。
本実施形態に於いては、媒体1'上の媒体IDや、その他使用する機器に付属するIDを使用せずに、外部IDを使用する。外部IDとしては、アプリケーションから与えられたID、ユーザから与えられたID、または、例えば、PCカードスロットに挿入されたPCカード内のID等、計算機11'に入力可能なIDなら何でもよい。
In the figure, the same components as those in FIG. 11 are denoted by the same reference numerals.
In the present embodiment, the external ID is used without using the medium ID on the medium 1 ′ or any other ID attached to the device to be used. The external ID may be any ID that can be input to the computer 11 ′, such as an ID given by an application, an ID given by a user, or an ID in a PC card inserted into a PC card slot.

フォーマッタ10Cは、媒体1’をフォーマットする場合、まず、外部IDを取得する。これは、外部ID読み出し部20によって読み込まれる。読み込まれた外部IDは、格納先決定部8において演算に使用される。格納先決定部8では、媒体1’上の読み書き可能領域3’のどの位置に区画管理情報とボリューム管理情報を書き込むかを外部IDを用いて所定の方法で決定する。決定された格納先は、読み書き可能領域アクセス部9に入力され、ドライブ装置4’’の読み書き可能領域アクセス部12にアクセス指示の一部として渡される。ドライブ装置4’’の読み書き可能領域アクセス部12は、フォーマッタ10Cの読み書き可能領域アクセス部9からのアクセス指示に基づき、媒体1’にアクセスし、読み書き可能領域3’内の決定された格納位置に区画管理情報とボリューム管理情報を書き込み、論理フォーマットを終了する。   When formatting the medium 1 ′, the formatter 10 </ b> C first acquires an external ID. This is read by the external ID reading unit 20. The read external ID is used for calculation in the storage location determination unit 8. The storage destination determination unit 8 determines in which position in the readable / writable area 3 'on the medium 1' the partition management information and volume management information are to be written using an external ID by a predetermined method. The determined storage location is input to the readable / writable area access unit 9 and is passed to the readable / writable area access unit 12 of the drive device 4 ″ as a part of the access instruction. The readable / writable area access unit 12 of the drive device 4 ″ accesses the medium 1 ′ based on the access instruction from the readable / writable area access unit 9 of the formatter 10C, and sets the determined storage position in the readable / writable area 3 ′. Write partition management information and volume management information, and finish the logical format.

本実施形態に基づいた処理の流れは、前述の実施形態の記載から明らかであるので、説明を省略する。
図16は、本発明の第8の実施形態の装置の構成図である。
Since the flow of processing based on this embodiment is clear from the description of the above-described embodiment, description thereof will be omitted.
FIG. 16 is a block diagram of an apparatus according to the eighth embodiment of the present invention.

なお、同図において、図13及び図15と同じ構成要素には同じ参照符号を付している。
同図は、第7の実施形態に於いて、媒体1’に対し、アプリケーション16及びファイルシステム15Cを介してアクセスする場合を示している。アプリケーション16の媒体使用要求は、ファイルシステム15Cの読み書き可能領域アクセス部9'に入力される。また、別のアプリケーションの出力、あるいは、ユーザによる手入力として、外部IDが外部ID読み出し部20によって読み込まれる。外部IDは、格納/読み出し先決定部8’に渡され、区画管理情報やボリューム管理情報が格納されている、読み書き可能領域3’のBNの算出が行われる。算出されたBNは、読み書き可能領域アクセス部9'に入力される。
In the figure, the same components as those in FIGS. 13 and 15 are denoted by the same reference numerals.
This figure shows a case where the medium 1 ′ is accessed via the application 16 and the file system 15C in the seventh embodiment. The medium use request of the application 16 is input to the read / write area access unit 9 ′ of the file system 15C. In addition, the external ID is read by the external ID reading unit 20 as an output of another application or as a manual input by the user. The external ID is passed to the storage / read destination determination unit 8 ′, and the BN of the readable / writable area 3 ′ in which the partition management information and the volume management information are stored is calculated. The calculated BN is input to the readable / writable area access unit 9 ′.

ファイルシステム15の読み書き可能領域アクセス部9'は、アプリケーション16からの媒体使用要求と、格納/読み出し先決定部8’からのBNの入力に従って、ドライブ装置4’’の読み書き可能領域アクセス部12に媒体1’へのアクセス指示を出力する。読み書き可能領域アクセス部12は、指示に基づいて、媒体1’上の読み書き可能領域3’に格納されている区画管理情報やボリューム管理情報を読み込み、ファイルの読み出しや書き込みを行う。   The readable / writable area access unit 9 ′ of the file system 15 sends the readable / writable area access unit 12 of the drive device 4 ″ to the readable / writable area access unit 12 of the drive device 4 ″ according to the medium use request from the application 16 and the BN input from the storage / read destination determination unit 8 ′. An instruction to access the medium 1 ′ is output. Based on the instruction, the readable / writable area access unit 12 reads the partition management information and the volume management information stored in the readable / writable area 3 ′ on the medium 1 ′, and reads and writes the file.

なお、本実施形態の処理の流れは、前述の実施形態と同様なので説明を省略する。本実施形態の場合は、IDの読み込みステップが、外部IDの読み込みステップとなる。
図17は、本発明の第9の実施形態の装置を示す構成図である。
Note that the processing flow of this embodiment is the same as that of the above-described embodiment, and thus the description thereof is omitted. In the present embodiment, the ID reading step is the external ID reading step.
FIG. 17 is a block diagram showing an apparatus according to the ninth embodiment of the present invention.

なお、図2及び図15と同じ構成要素には同じ参照符号を付してある。
本実施形態に於いては、媒体IDまたは外部IDをそのまま単独で用いて区画管理情報やボリューム管理情報の格納位置を算出するのに使うのではなくて、両方を使用して該格納位置を求めるものである。
The same components as those in FIGS. 2 and 15 are denoted by the same reference numerals.
In this embodiment, the medium ID or the external ID is not used as it is to calculate the storage position of the partition management information or the volume management information, but is used to determine the storage position using both. Is.

まず、計算機11’’のフォーマッタ10Dが起動されると、外部IDが外部ID読み出し部20によって読み込まれる。そして、読み込まれた外部IDは、ID変換部21に入力される。一方、ドライブ装置4の媒体ID読み出し部5は、媒体1から媒体ID2を読み出し、それを媒体ID転送部6を介して、フォーマッタ10’の媒体ID読み出し部7に送る。媒体ID読み出し部7は、受け取った媒体ID2をID変換部21に出力する。ID変換部21では、外部IDと媒体ID2を組み合わせて、新しい符号を生成する。例えば、外部IDを符号の上位部分に、媒体ID2を下位部分に持つ新しい符号を生成する。この新しい符号は、格納先決定部8に送られ、格納先決定部8により区画管理情報とボリューム管理情報の格納先が決定される。それぞれの格納先が決定されると、これらの格納先は、フォーマッタ10Dの読み書き可能領域アクセス部9に入力される。読み書き可能領域アクセス部9では、媒体1への上記格納先情報を含むアクセス指示をドライブ装置4の読み書き可能領域アクセス部12に出力する。ドライブ装置4の読み書き可能領域アクセス部12は、この指示を受けて、媒体1の読み書き可能領域3にアクセスし、格納先決定部8で決定された格納先に、区画管理情報とボリューム管理情報を格納する。そして、他の区画のフォーマットを行って、論理フォーマットを終了する。   First, when the formatter 10 </ b> D of the computer 11 ″ is activated, the external ID is read by the external ID reading unit 20. Then, the read external ID is input to the ID conversion unit 21. On the other hand, the medium ID reading unit 5 of the drive device 4 reads the medium ID 2 from the medium 1 and sends it to the medium ID reading unit 7 of the formatter 10 ′ via the medium ID transfer unit 6. The medium ID reading unit 7 outputs the received medium ID2 to the ID conversion unit 21. The ID conversion unit 21 generates a new code by combining the external ID and the medium ID2. For example, a new code having the external ID in the upper part of the code and the medium ID 2 in the lower part is generated. This new code is sent to the storage destination determination unit 8, and the storage destination determination unit 8 determines the storage destination of the partition management information and the volume management information. When the respective storage destinations are determined, these storage destinations are input to the read / write area access unit 9 of the formatter 10D. The readable / writable area access unit 9 outputs an access instruction including the storage location information to the medium 1 to the readable / writable area access unit 12 of the drive device 4. In response to this instruction, the readable / writable area access unit 12 of the drive device 4 accesses the readable / writable area 3 of the medium 1 and stores the partition management information and the volume management information in the storage destination determined by the storage destination determination unit 8. Store. Then, the formatting of other sections is performed, and the logical formatting is completed.

図18は、本発明の第10の実施形態の装置を示す構成図である。
なお、同図に於いて、図16及び図17と同じ構成要素には同じ参照符号を付してある。
FIG. 18 is a block diagram showing an apparatus according to the tenth embodiment of the present invention.
In the figure, the same components as those in FIGS. 16 and 17 are denoted by the same reference numerals.

本実施形態においては、図17の実施形態に於いて、フォーマッタではなく、アプリケーション16及びファイルシステム15Cを介して、媒体1にアクセスする。
計算機11C上で動作するアプリケーション16から媒体使用要求が発生すると、これは、同じく計算機11C上で動作するファイルシステム15Cの読み書き可能領域アクセス部9に入力される。読み書き可能領域アクセス部9は、格納/読み出し先決定部8’からの区画管理情報とボリューム管理情報の格納位置の入力を待つ。ドライブ装置4の媒体ID読み出し部5は、媒体1の媒体ID2を読み出し、媒体ID転送部6を介して、ファイルシステム15Cの媒体ID読み出し部7へ媒体ID2を送信する。媒体ID読み出し部7は、媒体IDを受け取ると、これをID変換部21に出力する。一方、外部ID読み出し部20は、外部IDを受け取り、これをやはりID変換部21に入力する。ID変換部21は、第9の実施形態でフォーマッタ10Dが行った処理と同じ処理を媒体ID2と外部IDに対して施し、新しい符号を生成する。例えば、符号の上位部分に外部IDを、下位部分に媒体ID2を有するような新しい符号を生成する。この新しい符号は、フォーマットの時点で使用したものと同じになるようにする。もし、同じ符号が得られない場合には、媒体1にはアクセスできないからである。
In the present embodiment, the medium 1 is accessed via the application 16 and the file system 15C instead of the formatter in the embodiment of FIG.
When a medium use request is generated from the application 16 operating on the computer 11C, this is input to the read / write area access unit 9 of the file system 15C also operating on the computer 11C. The readable / writable area access unit 9 waits for input of the storage location of the partition management information and the volume management information from the storage / read destination determination unit 8 ′. The medium ID reading unit 5 of the drive device 4 reads the medium ID 2 of the medium 1 and transmits the medium ID 2 to the medium ID reading unit 7 of the file system 15C via the medium ID transfer unit 6. Upon receiving the medium ID, the medium ID reading unit 7 outputs this to the ID conversion unit 21. On the other hand, the external ID reading unit 20 receives the external ID and inputs it to the ID conversion unit 21 as well. The ID conversion unit 21 performs the same process as the process performed by the formatter 10D in the ninth embodiment on the medium ID2 and the external ID to generate a new code. For example, a new code having an external ID in the upper part of the code and a medium ID 2 in the lower part is generated. This new code should be the same as that used at the time of formatting. This is because the medium 1 cannot be accessed if the same code cannot be obtained.

ID変換部21により生成された新しい符号は、格納/読み出し先決定部8’に入力され、区画管理情報とボリューム管理情報の格納先が決定される。格納/読み出し先決定部8’においても、フォーマット時に使用した方法と同じ方法で格納先を求めるようにする。異なる方法を用いて格納先を求めると、フォーマット時に得られた格納先が再現されず、媒体1にアクセスできないことになってしまう。これらのことは前述の実施形態についても同様である。   The new code generated by the ID conversion unit 21 is input to the storage / read destination determination unit 8 ', and the storage destination of the partition management information and the volume management information is determined. In the storage / read-out destination determination unit 8 ', the storage destination is obtained by the same method as that used at the time of formatting. If the storage destination is obtained using a different method, the storage destination obtained at the time of formatting is not reproduced and the medium 1 cannot be accessed. The same applies to the above-described embodiment.

格納/読み出し先決定部8’によって決定された格納先は、ファイルシステム15Cの読み書き可能領域アクセス部9に入力され、ドライブ装置4の読み書き可能領域アクセス部12へ、媒体アクセス指示と共に送信される。ドライブ装置4の読み書き可能領域アクセス部12は、受信した格納先を元に、媒体1の読み書き可能領域3にアクセスし、区画管理情報とボリューム管理情報を読みとることによって、媒体1の読み書き可能領域3へのファイルの書き込み、あるいは、ファイルの読み出しを実行する。   The storage destination determined by the storage / read destination determination unit 8 ′ is input to the read / write area access unit 9 of the file system 15 </ b> C and transmitted to the read / write area access unit 12 of the drive device 4 together with the medium access instruction. The readable / writable area access unit 12 of the drive device 4 accesses the readable / writable area 3 of the medium 1 based on the received storage destination, and reads the partition management information and the volume management information to thereby read / write the area 3 of the medium 1. Write file to or read file.

なお、本実施形態における処理の流れは、前述の実施形態から明らかであるので説明を省略する。
図19は、本発明の第11の実施形態に従った処理の流れを示すフローチャートである。
Note that the flow of processing in the present embodiment is clear from the above-described embodiment, and thus description thereof is omitted.
FIG. 19 is a flowchart showing a process flow according to the eleventh embodiment of the present invention.

なお、第11の実施形態では、複数あるIDのいずれを使用するかの選択部が設けられるだけで、その他の構成については前述の第1〜第8の実施形態の装置構成と基本的に同じ構成で実現可能であるので、装置構成の図示及びその説明は省略する。   In the eleventh embodiment, only a selection unit for selecting which of a plurality of IDs is used is provided, and the other configurations are basically the same as those in the first to eighth embodiments. Since it is realizable with a structure, illustration and description of an apparatus structure are abbreviate | omitted.

本実施形態での、フォーマッタの処理の流れを説明する。まず、ステップS20で、アプリケーションから、使用するIDの種類を示す情報を取得する。次に、ステップS21で、上記取得情報を基にどのIDを使用するかを判断する。媒体IDを使用する場合には、ステップS22に進み、媒体IDを読み出す。ドライブ装置のIDを使用する場合には、ステップS23に進んで、装置IDを読み出す。計算機IDを使用する場合には、計算機に保持されている、例えば、プロセッサのIDや拡張スロットに挿入される専用のボードが保持するIDのいずれを使用するかを判断し、ステップS24あるいはステップS25で、上記いずれかのIDを読み出す。   The flow of formatter processing in this embodiment will be described. First, in step S20, information indicating the type of ID to be used is acquired from the application. Next, in step S21, it is determined which ID is used based on the acquired information. When the medium ID is used, the process proceeds to step S22, and the medium ID is read out. When the ID of the drive device is used, the process proceeds to step S23, and the device ID is read out. When using the computer ID, it is determined whether to use, for example, the ID of the processor or the ID of the dedicated board inserted into the expansion slot, which is held in the computer, for example, step S24 or step S25. Then, any one of the above IDs is read.

そして、ステップS26で、読み出したIDを元に、区画管理情報の格納先のBNを決定し、ステップS27で、媒体上の該格納先に区画管理情報を格納する。次に、ステップS28で、読み出したIDを元に、ボリューム管理情報の格納先のBNを決定し、ステップS29で媒体上の該格納先にボリューム管理情報を格納して論理フォーマットを終了する。なお、ここでは、区画管理情報の格納先のBNは、512に、読み込んだIDを64で割った余りを加えて得ており、ボリューム管理情報の格納先は、513に、読み込んだIDを64で割った余りを加えて得ている。   In step S26, based on the read ID, the BN of the storage location of the partition management information is determined. In step S27, the partition management information is stored in the storage location on the medium. Next, in step S28, based on the read ID, the storage destination BN of the volume management information is determined. In step S29, the volume management information is stored in the storage destination on the medium, and the logical format is terminated. Here, the storage BN of the partition management information is obtained by adding 512 to the remainder of dividing the read ID by 64, and the storage destination of the volume management information is 513 and the read ID is 64. It is obtained by adding the remainder divided by.

図20は、本発明の第12の実施形態に従った処理の流れを示すフローチャートである。
なお、同図に於いては、図19と同じステップには同じステップ符号を付してある。
FIG. 20 is a flowchart showing a process flow according to the twelfth embodiment of the present invention.
In the figure, the same steps as those in FIG. 19 are denoted by the same step symbols.

同図の処理は、ファイルシステムが行う処理である。まず、ステップS20で、アプリケーションからどのIDを使用するかを示す情報を取得し、ステップS21で、どのIDを使用するかを判断する。媒体IDを使用する場合には、ステップS22に進んで、媒体からIDの読み出しを行う。ドライブ装置のIDを使用する場合には、ステップS23で、装置IDの読み出しを行う。計算機に設定されている複数のIDの内いずれかを使用する場合には、ステップS24またはステップS25で、選択されたIDを読み出す。   The process shown in the figure is performed by the file system. First, in step S20, information indicating which ID is used is acquired from the application, and in step S21, which ID is used is determined. When the medium ID is used, the process proceeds to step S22, and the ID is read from the medium. If the ID of the drive device is used, the device ID is read in step S23. When any one of a plurality of IDs set in the computer is used, the selected ID is read in step S24 or step S25.

続いて、該選択されたIDを元に、区画管理情報の格納先のBN(位置)を決定し(ステップS26)、ステップS30で、媒体上の該格納先から区画管理情報の読み込みを行う。次に、ステップS28で、選択されたIDを元に、ボリューム管理情報の格納先のBNを決定する。そして、ステップS31で、媒体上の該格納先からボリューム管理情報を読み込む。ここで、ステップS26とS28の格納先の決定に於いては、フォーマット時に使用した方法と同じ方法によって格納先のBNを決定する。   Subsequently, based on the selected ID, the BN (position) of the storage location of the partition management information is determined (step S26), and the partition management information is read from the storage location on the medium in step S30. Next, in step S28, based on the selected ID, the storage destination BN of the volume management information is determined. In step S31, volume management information is read from the storage location on the medium. Here, in the determination of the storage destination in steps S26 and S28, the storage destination BN is determined by the same method as that used at the time of formatting.

図21は、本発明の第13の実施形態に従った処理の流れを示すフローチャートである。
なお、同図に於いて、図5と同じステップには同じステップ符号を付してある。
FIG. 21 is a flowchart showing a process flow according to the thirteenth embodiment of the present invention.
In the figure, the same steps as those in FIG.

本実施形態は、上記実施形態のフォーマッタでフォーマットされた媒体のフラグメント解消を行うツールの動作を説明する図である。なお、フラグメント解消を行うための処理は、例えば、マイクロソフト社の製品であるウィンドウズ95等にツールとして含まれている「デフラグ」として公知であるので詳細な説明は省略する。   This embodiment is a diagram for explaining the operation of a tool for defragmenting a medium formatted by the formatter of the above embodiment. The process for defragmenting is known as “defragmentation” included as a tool in, for example, Windows 95, which is a product of Microsoft Corporation, and will not be described in detail.

まず、ステップS10において、ID読み出しを行う。ここで、IDは、媒体に記憶された媒体ID、ドライブ装置の装置ID、計算機に与えられた計算機ID、あるいは、アプリケーションやユーザから入力される外部IDのいずれであってもよい。また、上記第9及び第10の実施形態のように、任意の複数のIDを選択して読み込むようにしても良い。ステップS11では、読み込んだIDから区画管理情報の格納先のBNを決定する。ここでは、読み込んだIDを64で割った余りに、512を加算して求めている。また、ステップS11の直前に、読み込んだ複数のIDを組み合わせて、新しい符号を作成し、これを元に、区画管理情報の格納先を決定するようにしても良い。   First, in step S10, ID reading is performed. Here, the ID may be any of a medium ID stored in a medium, a device ID of a drive device, a computer ID given to a computer, or an external ID input from an application or a user. Further, as in the ninth and tenth embodiments, an arbitrary plurality of IDs may be selected and read. In step S11, the storage BN of the partition management information is determined from the read ID. Here, 512 is obtained by adding 512 to the remainder obtained by dividing the read ID by 64. Alternatively, immediately before step S11, a plurality of read IDs may be combined to create a new code, and based on this, the storage location of the partition management information may be determined.

そして、ステップS11で決定された格納先のBNを参照して、ステップS12で、該格納先から区画管理情報を読み込む。次に、ステップS35で読み込んだIDを元に、ボリューム管理情報の格納先のBNを決定する。ここでは、IDを64で割った余りに513を加算して求めているが、複数のIDを組み合わせて新しい符号を生成し、この新しい符号に基づいてボリューム管理情報の格納先のBNを決定しても良い。このようにして、決定されたボリューム管理情報の格納先のBNを参照して、ステップS14で、該格納先からボリューム管理情報の読み込みを行う。以上で、媒体に対するアクセスが可能となる。次に、ステップS36で、区画管理情報やボリューム管理情報からルートディレクトリを経て、目的のファイル管理情報に到達後、該管理情報を基に既知のデフラグメント処理を実行する。   Then, with reference to the storage destination BN determined in step S11, the partition management information is read from the storage destination in step S12. Next, based on the ID read in step S35, the BN of the volume management information storage destination is determined. Here, the ID is obtained by adding 513 to the remainder of dividing the ID by 64. However, a new code is generated by combining a plurality of IDs, and the storage destination BN of the volume management information is determined based on the new code. Also good. In this way, with reference to the determined storage location BN of the volume management information, the volume management information is read from the storage location in step S14. As described above, the medium can be accessed. Next, in step S36, after reaching the target file management information via the root directory from the partition management information and volume management information, a known defragmentation process is executed based on the management information.

図22は、本発明の第14の実施形態の装置の構成図を示す図である。
なお、同図に於いて、図2と同じ構成要素には同じ参照符号を付してある。
媒体1上には書き換え不可能な媒体ID2と読み書き可能領域3がある。ドライブ装置4には、媒体ID読み出し部5、媒体ID転送部6、及び、読み書き可能領域アクセス部12がある。計算機11上で動作するフォーマッタ10Eには、媒体ID読み出し部7、媒体ID読み出し部7により読み出された媒体IDを鍵として管理情報を暗号化する管理情報暗号化部30、該暗号化した管理情報を格納する読み書き可能領域アクセス部9がある。
FIG. 22 is a diagram showing the configuration of the device according to the fourteenth embodiment of the present invention.
In the figure, the same components as those in FIG. 2 are denoted by the same reference numerals.
On the medium 1, there are a non-rewritable medium ID 2 and a readable / writable area 3. The drive device 4 includes a medium ID reading unit 5, a medium ID transfer unit 6, and a readable / writable area access unit 12. The formatter 10E operating on the computer 11 includes a medium ID reading unit 7, a management information encryption unit 30 that encrypts management information using the medium ID read by the medium ID reading unit 7 as a key, and the encrypted management. There is a readable / writable area access unit 9 for storing information.

ドライブ装置4の媒体ID読み出し部5は、媒体1の媒体ID2を読み出し、媒体ID転送部6に出力する。媒体ID転送部6は、読み出した媒体IDを計算機11のフォーマッタ10Eの媒体ID読み出し部7に送信する。媒体ID読み出し部7は、受信した媒体IDを管理情報暗号化/格納先決定部30に出力する。媒体ID管理情報暗号化/格納先決定部30は、入力された媒体IDを鍵として、区画管理情報やボリューム管理情報などの管理情報を暗号化すると共に、管理情報の格納先BNを算出して、それらを読み書き可能領域アクセス部9に出力する。上記暗号化の方法は、従来知られているDES(Data Encryption Standard)等を用いれば良く、特に暗号化方法は限定されるものではなく、媒体IDに一対一に対応する符号を使用して暗号化すれば、暗号化鍵として媒体IDそのものを使用しなくても良い。
また、使用するIDは媒体IDだけに限定されず、計算機IDやドライブ装置の装置IDを使用したり、これらの組み合わせを使用したりすることも可能である。
The medium ID reading unit 5 of the drive device 4 reads the medium ID 2 of the medium 1 and outputs it to the medium ID transfer unit 6. The medium ID transfer unit 6 transmits the read medium ID to the medium ID reading unit 7 of the formatter 10 </ b> E of the computer 11. The medium ID reading unit 7 outputs the received medium ID to the management information encryption / storage destination determining unit 30. The medium ID management information encryption / storage destination determination unit 30 encrypts management information such as partition management information and volume management information using the input medium ID as a key, and calculates the storage destination BN of the management information. These are output to the readable / writable area access unit 9. As the encryption method, a conventionally known DES (Data Encryption Standard) or the like may be used. The encryption method is not particularly limited, and encryption is performed using a code corresponding to the medium ID on a one-to-one basis. In other words, the medium ID itself may not be used as the encryption key.
Further, the ID to be used is not limited to the medium ID, and it is possible to use a computer ID, a device ID of a drive device, or a combination thereof.

また、本実施形態では、管理情報の暗号化の他に、管理情報の格納位置を媒体IDによって移動可能としているが、管理情報の格納位置は固定でも構わない。また、更に、本実施形態では、管理情報のみを暗号化すようにしているが、ルートディレクトリとそこに含まれる管理情報、及びファイルとその管理情報も一緒に暗号化しても良い。ルートディレクトリやファイルの暗号化は、媒体IDを使っても使わなくても良く、特に、ファイルに関しては、既知の暗号化方法を用いて暗号化しておき、第三者に媒体IDが知られて、媒体1にアクセス可能となった場合にも、ファイルの秘匿性は保たれるように構成しても良い。   In this embodiment, the management information storage location can be moved by the medium ID in addition to the management information encryption. However, the management information storage location may be fixed. Furthermore, in this embodiment, only the management information is encrypted, but the root directory and the management information included therein, and the file and the management information may be encrypted together. The encryption of the root directory and the file may or may not use the medium ID. In particular, the file is encrypted using a known encryption method, and the medium ID is known to a third party. Even when the medium 1 becomes accessible, the confidentiality of the file may be maintained.

読み書き可能領域アクセス部9は、管理情報の格納位置と、暗号化された管理情報を受け取ると、ドライブ装置4の読み書き可能領域アクセス部12に、これらを送信し、媒体1の読み書き可能領域3に記録させる。このようにして、より秘匿性の高い媒体1の論理フォーマットを行うことができる。   When the management information storage location and the encrypted management information are received, the readable / writable area access unit 9 transmits these to the readable / writable area access unit 12 of the drive device 4 and sends them to the readable / writable area 3 of the medium 1. Let me record. In this way, the logical format of the medium 1 with higher confidentiality can be performed.

図23は、本発明の第14の実施形態における処理の流れを示すフローチャートである。
図22のフォーマッタ10Eは処理を開始すると、媒体1から媒体ID2を読み出す(ステップS40)。次に、媒体ID2を鍵として区画管理情報を暗号化する(ステップS41)。次に区画管理情報の格納先を取得し(ステップS42)、該格納先に暗号化した区画管理情報を書き込む(ステップS43)。更に、区画管理情報と同様にボリューム管理情報を暗号化(ステップS44)し、ボリューム管理情報の格納先を取得して(ステップS45)、上記暗号化された管理情報を該格納先に書き込む(ステップS46)。
FIG. 23 is a flowchart showing the flow of processing in the fourteenth embodiment of the present invention.
When the formatter 10E in FIG. 22 starts processing, it reads the medium ID 2 from the medium 1 (step S40). Next, the partition management information is encrypted using the medium ID2 as a key (step S41). Next, the storage location of the partition management information is acquired (step S42), and the encrypted partition management information is written in the storage location (step S43). Further, similarly to the partition management information, the volume management information is encrypted (step S44), the storage destination of the volume management information is acquired (step S45), and the encrypted management information is written to the storage destination (step S45). S46).

図24は、本発明の第15の実施形態の装置構成を示す構成図である。
なお、図4及び図22と同じ構成要素には同じ参照符号を付してある。
本実施形態に於いては、第14の実施形態に於いてフォーマットされた媒体に対してアクセスし、ファイルの書き込みや読み出し等を行う。
FIG. 24 is a configuration diagram showing a device configuration according to the fifteenth embodiment of the present invention.
The same components as those in FIGS. 4 and 22 are denoted by the same reference numerals.
In this embodiment, the medium formatted in the fourteenth embodiment is accessed, and a file is written or read.

媒体1には書き換え不可能な媒体ID2と読み書き可能領域3がある。ドライブ装置4には、媒体ID読み出し部5と、媒体ID読み出し部5により読み出された媒体ID2を計算機に転送する媒体ID転送部6、及び読み書き可能領域アクセス部12がある。計算機11上のファイルシステム15Dには、媒体ID読み出し部7、読み書き可能領域アクセス部9、読み出した管理情報を媒体ID2を鍵として復号する管理情報復号/格納先決定部30がある。また、ファイルシステム15Dはアプリケーション16からの媒体使用要求の入力によって処理を行う。   The medium 1 has a non-rewritable medium ID 2 and a readable / writable area 3. The drive device 4 includes a medium ID reading unit 5, a medium ID transfer unit 6 that transfers the medium ID 2 read by the medium ID reading unit 5 to the computer, and a readable / writable area access unit 12. The file system 15D on the computer 11 includes a medium ID reading unit 7, a readable / writable area access unit 9, and a management information decryption / storage destination determination unit 30 that decrypts the read management information using the medium ID2 as a key. The file system 15D performs processing in response to a medium use request input from the application 16.

アプリケーション16からの媒体使用要求は、読み書き可能領域アクセス部9に入力される。また、媒体ID2は、ドライブ装置4の媒体ID読み出し部5から読み出され、媒体ID転送部6によって、計算機11のファイルシステム15Dに含まれる媒体ID読み出し部7に送られる。媒体ID読み出し部7は受け取った媒体ID2を、管理情報復号/格納先決定部30に出力する。管理情報復号/格納先決定部30は、受信した媒体ID2から管理情報の格納先を決定し、その情報を読み書き可能領域アクセス部9に与える。読み書き可能領域アクセス部9は、受信した格納先に基づいて、ドライブ装置4の読み書き可能領域アクセス部12に読み出し命令を出す。読み書き可能領域アクセス部12が、媒体1の読み書き可能領域3から読み出された暗号化された管理情報は、ファイルシステム15Dの読み書き可能領域アクセス部9を介して、管理情報復号/格納先決定部30に入力され、管理情報復号/格納先決定部30により復号される。この復号された管理情報を元に、媒体1へのアクセスが行われる。   A medium use request from the application 16 is input to the readable / writable area access unit 9. Further, the medium ID 2 is read from the medium ID reading unit 5 of the drive device 4 and sent to the medium ID reading unit 7 included in the file system 15 D of the computer 11 by the medium ID transfer unit 6. The medium ID reading unit 7 outputs the received medium ID 2 to the management information decoding / storage destination determining unit 30. The management information decryption / storage destination determining unit 30 determines the storage destination of the management information from the received medium ID 2 and gives the information to the readable / writable area access unit 9. The readable / writable area access unit 9 issues a read command to the readable / writable area access unit 12 of the drive device 4 based on the received storage destination. The encrypted management information read from the readable / writable area 3 of the medium 1 by the readable / writable area access unit 12 is sent to the management information decryption / storage destination determining unit via the readable / writable area access unit 9 of the file system 15D. 30 and decrypted by the management information decryption / storage destination determination unit 30. Based on the decrypted management information, access to the medium 1 is performed.

なお、容易に分かるように、管理情報復号/格納先決定部30における復号処理は、第14の実施形態においてフォーマット時に行われる符号化処理に対応したものである必要がある。   As can be easily understood, the decoding process in the management information decoding / storage destination determining unit 30 needs to correspond to the encoding process performed at the time of formatting in the fourteenth embodiment.

図25は、第15の実施形態における処理の流れを示すフローチャートである。
なお、同図に於いては、図23のステップと同様のステップには同じステップ符号を付してある。
FIG. 25 is a flowchart showing the flow of processing in the fifteenth embodiment.
In the figure, steps similar to those in FIG. 23 are denoted by the same step symbols.

図24のファイルシステム15Dは、アプリケーション16の媒体使用要求によってマウント処理を開始する。すなわち、まず、媒体ID2を読み出す(ステップS40)。次に、媒体ID2から区画管理情報の格納先を取得し(ステップS42)、該格納先から区画管理情報を読み出し(ステップS50)、これを媒体ID2を鍵として復号する(ステップS51)。次に、区画管理情報と同様にボリューム管理情報の格納先を取得し(ステップS45)、該格納先からボリューム管理情報を読み出し(ステップS52)、これを媒体ID2を鍵として復号する(ステップS53)。   The file system 15D in FIG. 24 starts the mount process in response to a medium use request from the application 16. That is, first, the medium ID2 is read (step S40). Next, the storage location of the partition management information is acquired from the medium ID2 (step S42), the partition management information is read from the storage location (step S50), and is decrypted using the medium ID2 as a key (step S51). Next, the storage location of the volume management information is acquired in the same manner as the partition management information (step S45), the volume management information is read from the storage location (step S52), and is decrypted using the medium ID2 as a key (step S53). .

なお、第14及び第15の実施形態に於いては、媒体ID2を読みとることによって、管理情報の格納先を決定したり、暗号化、復号を行っている場合を示したが、媒体IDの他にも、ドライブ装置の装置IDや計算機IDを使用することも可能である。また、読み出したこれらのIDをそのまま暗号鍵として使用しなくてもよく、複数のIDを組み合わせて、新しい符号を生成し、これを使って暗号化及び復号を行っても良い。あるいは、これらの単一あるいは複数のIDに一対一に対応する符号を予め用意しておき、これを暗号化や復号に用いても良いし、格納先の決定に使用しても良い。   In the fourteenth and fifteenth embodiments, a case has been described in which the storage location of management information is determined by reading the medium ID2, and encryption and decryption are performed. In addition, the device ID or computer ID of the drive device can be used. Further, these read IDs may not be used as encryption keys as they are, but a plurality of IDs may be combined to generate a new code, which may be used for encryption and decryption. Alternatively, codes corresponding to one or a plurality of IDs may be prepared in advance and used for encryption or decryption, or may be used for determining a storage destination.

図26は、第14及び第15の実施形態における暗号化・復号回路の一例を示す図である。
同図は、DESのCBC(Cipher Block Chaining)モードを利用した暗号化・復号回路を示している。媒体2へのデータの書き込みや読み出しは512ビット単位であるが、同図に示すDESでの暗号化や復号は64ビット単位で行われるので、暗号化する場合には、上記データをM1〜Mnのように64ビット毎に分割して暗号化・復号回路52に入力する。まず、データM1がDES処理部50−1に入力される。DES処理部50−1により暗号化されたデータは、暗号化データE1として出力される。次に、データM2が入力される。これは、排他的論理和回路51−1において、暗号化されたデータM1(=E1)と加算され、DES処理部50−2に入力され、DES処理部50−2により暗号化されて、暗号化データE2として出力される。以下、同様の手順で、前のブロックが次のブロックのデータに影響を与える形で暗号化が進められ、最後の暗号化データEn(n=8)まで出力した時点で、媒体2への書き込み単位である512ビットのデータができあがるので、E1〜Enからなる暗号化データが媒体2に書き込まれる。上記暗号化で使用される暗号鍵は、各DES処理部50−1〜50−nにそれぞれ入力される。暗号鍵は、例えば、媒体IDである。
FIG. 26 is a diagram illustrating an example of the encryption / decryption circuit in the fourteenth and fifteenth embodiments.
This figure shows an encryption / decryption circuit using a DES CBC (Cipher Block Chaining) mode. Data is written to and read from the medium 2 in units of 512 bits, but encryption and decryption in the DES shown in the figure are performed in units of 64 bits. Thus, the data is divided into 64 bits and input to the encryption / decryption circuit 52. First, the data M1 is input to the DES processing unit 50-1. The data encrypted by the DES processing unit 50-1 is output as encrypted data E1. Next, data M2 is input. This is added to the encrypted data M1 (= E1) in the exclusive OR circuit 51-1, input to the DES processing unit 50-2, encrypted by the DES processing unit 50-2, and encrypted. Is output as converted data E2. Thereafter, in the same procedure, the encryption is advanced in such a way that the previous block affects the data of the next block, and when the last encrypted data En (n = 8) is output, writing to the medium 2 is performed. Since 512-bit data as a unit is completed, encrypted data composed of E1 to En is written to the medium 2. The encryption key used for the encryption is input to each DES processing unit 50-1 to 50-n. The encryption key is, for example, a medium ID.

復号する場合には、同図の網掛けの部分に暗号化されたデータが入力され、64ビット毎に分割される。そして、DES処理部50−1〜50−nに、暗号鍵と共に入力される。この場合、復号処理は、データE1の方からデータEnに向かって行われる。DES処理部50−1から出力された、復号データM1は、排他論理和回路51−1において、DES処理部50−2から出力されたE2の復号データから減算され、復号データM2が得られる。以下、同様にして、入力された暗号化データ512ビットを全て処理し終わった時点で、1回の復号処理が終了する。   In the case of decryption, the encrypted data is input to the shaded portion of the figure and divided into 64 bits. Then, it is input to the DES processing units 50-1 to 50-n together with the encryption key. In this case, the decoding process is performed from the data E1 toward the data En. The decrypted data M1 output from the DES processing unit 50-1 is subtracted from the decrypted data E2 output from the DES processing unit 50-2 in the exclusive OR circuit 51-1, thereby obtaining decoded data M2. Thereafter, similarly, when all 512 bits of the input encrypted data have been processed, one decryption process is completed.

図27は、第14の実施形態のフォーマッタ10Eによって論理フォーマットされた媒体1上のレイアウトを示す図である。
図中、斜線部分が管理情報単位に媒体ID2で暗号化されている。なお、第14の実施形態では、管理情報単位に暗号化を行っているが、特定の領域を管理情報専用領域として定義し、この領域全体を暗号化してもよい。これは、管理情報格納先が固定の場合に使用できる。
FIG. 27 is a diagram showing a layout on the medium 1 logically formatted by the formatter 10E of the fourteenth embodiment.
In the figure, the hatched portion is encrypted with the medium ID 2 for each management information unit. In the fourteenth embodiment, encryption is performed in units of management information. However, a specific area may be defined as a management information dedicated area and the entire area may be encrypted. This can be used when the management information storage destination is fixed.

また、ルートディレクトリなどが格納される区画内のデータについても、第14の実施形態の説明で述べたように、管理情報と同様に暗号化しても良く、特に、ファイルについては、従来採用されているような暗号化を行うことにより、管理情報やルートディレクトリやその管理情報の暗号化とは異なる暗号化を行うことにより、より秘匿性を高めることができる。   In addition, as described in the description of the fourteenth embodiment, data in a partition in which a root directory or the like is stored may be encrypted in the same manner as the management information. In particular, files are conventionally employed. By performing such encryption, it is possible to improve confidentiality by performing encryption different from the encryption of the management information, the root directory, and the management information.

図28は、本発明の第16の実施形態に従ったドライブ装置の構成図を示す図である。
なお、同図に於いて、図2と同様の構成要素には同じ参照符号を付してある。
ここで、計算機61はいわゆる「パーソナルコンピュータ」や「ワークステーション」等の個人やオフィス用途向けのコンピュータでなくても良く、マイクロプロセッサとファームウェアを格納するフラッシュメモリを備えた、家電などに実装される「組み込み機器用コンピュータ」的なものであっても良い。更に、結線論理されたハードウェアによる構成も可能である。また、ドライブ装置60としては、DVDや音楽CD専用のプレーヤ等も含まれるものとする。
FIG. 28 is a diagram showing the configuration of the drive device according to the sixteenth embodiment of the present invention.
In the figure, the same components as those in FIG. 2 are denoted by the same reference numerals.
Here, the computer 61 does not have to be a computer for personal use or office use such as a so-called “personal computer” or “workstation”, and is mounted on a home appliance or the like having a flash memory for storing a microprocessor and firmware. It may be a “built-in computer”. Furthermore, it is possible to adopt a hardware-connected configuration. Further, the drive device 60 includes a player dedicated to a DVD or a music CD.

媒体1をフォーマットする場合、媒体ID読み出し部5が媒体1から媒体ID2を読み出す。そして、これを媒体ID転送部6がドライブ装置60内部の計算機61上で動作するフォーマッタ62の媒体ID読み出し部7に転送する。媒体ID読み出し部7は、受信した媒体ID2を格納先決定部8に送る。格納先決定部8は、受信した媒体ID2を用いて、管理情報の格納先を決定し、これを読み書き可能領域アクセス部9へ送信する。読み書き可能領域アクセス部9は、受信した格納先情報を基にドライブ装置60の読み書き可能領域アクセス部12に媒体1へのアクセス指示を出す。アクセス指示を受けた読み書き可能領域アクセス部12は、媒体1の読み書き領域3にアクセスし、格納先決定部8で決定された格納先に管理情報を格納する。格納先決定部8における格納先の決定方法は、例えば、第1の実施形態に示したような方法である。   When formatting the medium 1, the medium ID reading unit 5 reads the medium ID 2 from the medium 1. Then, the medium ID transfer unit 6 transfers this to the medium ID reading unit 7 of the formatter 62 operating on the computer 61 inside the drive device 60. The medium ID reading unit 7 sends the received medium ID 2 to the storage destination determining unit 8. The storage destination determination unit 8 determines the storage destination of the management information using the received medium ID 2 and transmits it to the readable / writable area access unit 9. The readable / writable area access unit 9 issues an instruction to access the medium 1 to the readable / writable area access unit 12 of the drive device 60 based on the received storage location information. Upon receiving the access instruction, the readable / writable area access unit 12 accesses the read / write area 3 of the medium 1 and stores the management information in the storage location determined by the storage destination determination unit 8. The storage destination determination method in the storage destination determination unit 8 is, for example, the method shown in the first embodiment.

なお、使用するIDは、媒体IDに限られず、ドライブ装置60の装置IDを用いても良く、あるいは、ドライブ装置60に内蔵される計算機61に、ドライブ装置60とは異なるIDが付されている場合には、計算機IDを使用しても良い。   The ID to be used is not limited to the medium ID, and the device ID of the drive device 60 may be used, or the computer 61 built in the drive device 60 is assigned an ID different from that of the drive device 60. In some cases, a computer ID may be used.

更に、第14及び第15の実施形態で述べたように、管理情報などを暗号化して格納するようにしても良い。暗号化する場合には、管理情報の格納先は読み出されたIDにはよらない固定位置とすることも可能である。   Furthermore, as described in the fourteenth and fifteenth embodiments, management information and the like may be encrypted and stored. In the case of encryption, the storage location of management information can be a fixed position that does not depend on the read ID.

図29は、本発明の第17の実施形態に従った装置の構成図である。
なお、同図に於いて、図4と同じ構成要素には同じ参照符号を付してある。
また、本実施形態は、第16の実施形態に対応するものであり、計算機61及びドライブ装置60Aの意味するところは、前述したとおりである。
FIG. 29 is a block diagram of an apparatus according to the seventeenth embodiment of the present invention.
In the figure, the same components as those in FIG. 4 are denoted by the same reference numerals.
The present embodiment corresponds to the sixteenth embodiment, and the meanings of the computer 61 and the drive device 60A are as described above.

また、計算機61がマイクロプロセッサとメモリを備えたPCカードのようなものの場合、ドライブ装置60が持つ機能の全てまたは一部をPCカード側で実行することが可能である。これは、第16の実施形態に於いても同様である。   When the computer 61 is a PC card having a microprocessor and a memory, all or part of the functions of the drive device 60 can be executed on the PC card side. The same applies to the sixteenth embodiment.

ドライブ装置60Aの媒体ID読み出し部5は、媒体1の媒体ID2を読み出し、これを媒体ID転送部6に送信する。媒体ID転送部6は、受信した媒体IDを計算機63のファイルシステム63に含まれる媒体ID読み出し部7を介して、格納/読み出し先決定部8’に入力する。格納/読み出し先決定部8’は、受信した媒体ID2から管理情報の格納先を決定し、それをファイルシステム63の読み書き可能領域アクセス部9’に出力する。読み書き可能領域アクセス部9’は、管理情報の格納先とアプリケーション16からの媒体使用要求を受け取ると、ドライブ装置60Aの読み書き可能領域アクセス部12に、媒体1へのアクセス指示を出す。読み書き可能領域アクセス部12は、指示を受け取ると、媒体1の読み書き可能領域3にアクセスし、媒体1から管理情報を読み出して、媒体1へのファイルアクセスを可能とする。   The medium ID reading unit 5 of the drive device 60 </ b> A reads the medium ID 2 of the medium 1 and transmits it to the medium ID transfer unit 6. The medium ID transfer unit 6 inputs the received medium ID to the storage / read destination determination unit 8 ′ via the medium ID reading unit 7 included in the file system 63 of the computer 63. The storage / readout destination determination unit 8 ′ determines the storage destination of the management information from the received medium ID 2 and outputs it to the readable / writable area access unit 9 ′ of the file system 63. When the management information storage destination and the medium use request from the application 16 are received, the readable / writable area access unit 9 ′ issues an access instruction to the medium 1 to the readable / writable area access unit 12 of the drive device 60 </ b> A. When receiving the instruction, the readable / writable area access unit 12 accesses the readable / writable area 3 of the medium 1, reads management information from the medium 1, and enables file access to the medium 1.

なお、第16の実施形態の説明でも述べたように、使用するIDは、媒体IDに限定されず、ドライブ装置60Aの装置IDや計算機61の計算機IDなどを使用可能である。また、第14、15の実施形態のように暗号化を合わせて行っても良い。   As described in the description of the sixteenth embodiment, the ID to be used is not limited to the medium ID, and the device ID of the drive device 60A, the computer ID of the computer 61, and the like can be used. Further, encryption may be performed together as in the fourteenth and fifteenth embodiments.

上記各実施形態の説明に於いては、IDとして、媒体ID、装置ID、計算機IDを使用することを述べたが、このほかにもアプリケーションに与えられるIDを使用することも可能である。これによれば、特定のアプリケーションを使って媒体にアクセスするユーザだけが、媒体の内容を操作することができるようにすることができる。   In the description of each of the embodiments described above, the medium ID, the device ID, and the computer ID are used as the ID. However, it is also possible to use an ID given to the application. Accordingly, only the user who accesses the medium using a specific application can operate the contents of the medium.

図30は、本発明の上記各実施形態をプログラムで実現する場合に必要とされるハードウェア構成を説明する図である。
CPU71は、バス70を介して、他のコンポーネントとデータ交換をし、本発明の各実施形態を実現するプログラムを実行する。プログラムは、ROM73、ハードディスクなどの外部記録装置77、あるいは、可搬型記録媒体79に記録される。可搬型記録媒体79に格納されたプログラムは、可搬型記録媒体79が装着されるドライブ装置78を介してRAM72に読み込まれる。ROM73あるいは、外部記録装置77に記録されたプログラムは、直接RAM72に読み込まれる。CPU71は、RAM72に実行可能な状態に展開されたプログラムを実行する。ユーザからのID入力や処理結果の出力は、入出力装置80によって行われる。入出力装置80は、キーボード、マウス、ディスプレイなどからなる。通信インタフェース74は、ネットワーク75を介して、情報提供者76にアクセスし、情報提供者76から本発明の実施形態を実現するプログラムを外部記録装置77等にダウンロードして、CPU71がローカルな計算機上で実行可能なようにするネットワーク接続機器である。あるいは、プログラムを、情報提供者76側で実行し、その実行処理結果などのみを通信インタフェース74がネットワーク75を介して、情報提供者76から受信することにより、本発明の実施形態をリモートアクセスにより実現することも可能である。
FIG. 30 is a diagram illustrating a hardware configuration required when the above-described embodiments of the present invention are realized by a program.
The CPU 71 exchanges data with other components via the bus 70 and executes a program for realizing each embodiment of the present invention. The program is recorded in a ROM 73, an external recording device 77 such as a hard disk, or a portable recording medium 79. The program stored in the portable recording medium 79 is read into the RAM 72 via the drive device 78 in which the portable recording medium 79 is mounted. The program recorded in the ROM 73 or the external recording device 77 is directly read into the RAM 72. The CPU 71 executes a program expanded in an executable state in the RAM 72. An ID input from a user and output of processing results are performed by the input / output device 80. The input / output device 80 includes a keyboard, a mouse, a display, and the like. The communication interface 74 accesses the information provider 76 via the network 75, downloads a program for realizing the embodiment of the present invention from the information provider 76 to the external recording device 77 and the like, and the CPU 71 is on a local computer. It is a network connection device that can be executed on the network. Alternatively, the program is executed on the information provider 76 side, and the communication interface 74 receives only the execution processing result or the like from the information provider 76 via the network 75, whereby the embodiment of the present invention can be performed by remote access. It can also be realized.

媒体上での管理情報の格納先を、媒体や使用する装置にユニークな情報に基づいて移動可能とすることで、媒体上の全データを他の媒体に丸ごと不正コピーしたとしても、不正コピー先の媒体あるいは装置にユニークな情報からは管理情報の格納場所を得ることができず、ファイルに不正にアクセスすることを防止することができる。また、これらのユニークな情報を鍵として管理情報を暗号化することで同様の効果を得ることができる。   By making it possible to move the storage location of management information on a medium based on information unique to the medium and the device used, even if all data on the medium is illegally copied to another medium, the illegal copy destination The management information storage location cannot be obtained from information unique to the medium or apparatus, and unauthorized access to the file can be prevented. The same effect can be obtained by encrypting the management information using these unique information as keys.

以上により、媒体上に格納されたファイルの機密レベルに応じてそのファイルに正しくアクセスできる範囲を制限することができる。   As described above, the range in which the file can be correctly accessed can be limited according to the confidential level of the file stored on the medium.

媒体上のファイル及びファイル管理情報の代表的なレイアウトを示す図である。It is a figure which shows the typical layout of the file on a medium, and file management information. 本発明の第1の実施形態に従った装置の構成図である。It is a block diagram of the apparatus according to the first embodiment of the present invention. 図2のフォーマッタの処理の流れを示したフローチャートである。3 is a flowchart showing a flow of processing of the formatter of FIG. 本発明の第2の実施形態に従った装置の構成図である。It is a block diagram of the apparatus according to the 2nd Embodiment of this invention. 図4のファイルシステムの処理の流れを示したフローチャートである。5 is a flowchart showing a process flow of the file system in FIG. 4. 第1の実施形態に従ったフォーマッタで論理フォーマットを行った記憶媒体のレイアウトを示す図である。It is a figure which shows the layout of the storage medium which performed the logical format with the formatter according to 1st Embodiment. 本発明の第3の実施形態に従った装置の構成図である。It is a block diagram of the apparatus according to the 3rd Embodiment of this invention. 第3の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in 3rd Embodiment. 本発明の第4の実施形態の装置の構成図である。It is a block diagram of the apparatus of the 4th Embodiment of this invention. 第4の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in 4th Embodiment. 本発明の第5の実施形態の装置の構成図である。It is a block diagram of the apparatus of the 5th Embodiment of this invention. 第5の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in 5th Embodiment. 本発明の第6の実施形態の装置の構成図である。It is a block diagram of the apparatus of the 6th Embodiment of this invention. 第6の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in 6th Embodiment. 本発明の第7の実施形態に従った装置の構成図である。It is a block diagram of the apparatus according to the 7th Embodiment of this invention. 本発明の第8の実施形態の装置の構成図である。It is a block diagram of the apparatus of the 8th Embodiment of this invention. 本発明の第9の実施形態の装置を示す構成図である。It is a block diagram which shows the apparatus of the 9th Embodiment of this invention. 本発明の第10の実施形態の装置を示す構成図である。It is a block diagram which shows the apparatus of the 10th Embodiment of this invention. 本発明の第11の実施形態に従った処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process according to the 11th Embodiment of this invention. 本発明の第12の実施形態に従った処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process according to the 12th Embodiment of this invention. 本発明の第13の実施形態に従った処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process according to the 13th Embodiment of this invention. 本発明の第14の実施形態の装置の構成図を示す図である。It is a figure which shows the block diagram of the apparatus of the 14th Embodiment of this invention. 本発明の第14の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the 14th Embodiment of this invention. 本発明の第15の実施形態の装置構成を示す構成図である。It is a block diagram which shows the apparatus structure of the 15th Embodiment of this invention. 第15の実施形態における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in 15th Embodiment. 第14及び第15の実施形態における暗号化・復号回路の一例を示す図である。It is a figure which shows an example of the encryption / decryption circuit in 14th and 15th Embodiment. 第14の実施形態のフォーマッタによって論理フォーマットされた媒体上のレイアウトを示す図である。It is a figure which shows the layout on the medium logically formatted by the formatter of 14th Embodiment. 本発明の第16の実施形態の装置の構成図を示す図である。It is a figure which shows the block diagram of the apparatus of the 16th Embodiment of this invention. 本発明の第17の実施形態に従った装置の構成図である。It is a block diagram of the apparatus according to the 17th Embodiment of this invention. 本発明の実施形態をプログラムで実現する際に必要とされるハードウェア構成を示す図である。It is a figure which shows the hardware constitutions required when implement | achieving embodiment of this invention with a program.

Claims (33)

記録媒体をフォーマットする、あるいは、該記録媒体に記録されているファイルにアクセスする装置であって、
該記録媒体、あるいは、該装置の識別子を読み取り、該識別子に基づいて決定された格納先に該記録媒体に格納されるファイルに関する管理情報を格納することによって、該記録媒体に秘匿性を持たせ、該識別子を読み取ることによって、該管理情報の格納先を特定することによって、該記録媒体の秘匿性を解除する秘匿性付与/解除手段と、
該秘匿性を該記録媒体に付与する場合、あるいは、該記録媒体の秘匿性が解除される場合に、該記録媒体にアクセスする記録媒体アクセス手段と、
を備えることを特徴とする装置。
An apparatus for formatting a recording medium or accessing a file recorded on the recording medium,
By reading the identifier of the recording medium or the device and storing management information relating to the file stored in the recording medium in a storage location determined based on the identifier, the recording medium has confidentiality. A secrecy assigning / releasing means for deciphering the secrecy of the recording medium by specifying the storage location of the management information by reading the identifier ;
A recording medium access means for accessing the recording medium when the confidentiality is imparted to the recording medium or when the confidentiality of the recording medium is released;
A device comprising:
前記秘匿性付与/解除手段は計算機に含まれ、前記記録媒体アクセス手段は、前記記録媒体のドライブ装置に含まれることを特徴とする請求項1に記載の装置。 The apparatus according to claim 1 , wherein the secrecy assigning / releasing means is included in a computer, and the recording medium access means is included in a drive device of the recording medium. 前記格納先は、前記記録媒体に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項2に記載の装置。 The apparatus according to claim 2 , wherein the storage destination is determined by using position information on the recording medium obtained by calculation based on an identifier uniquely given to the recording medium. 前記格納先は、前記ドライブ装置に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項2に記載の装置。 3. The apparatus according to claim 2 , wherein the storage destination is determined using position information on the recording medium obtained by calculation based on an identifier uniquely given to the drive device. 前記格納先は、前記計算機に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項2に記載の装置。 3. The apparatus according to claim 2 , wherein the storage destination is determined using position information on the recording medium obtained by an operation based on an identifier uniquely given to the computer. 前記格納先は、前記計算機に対して外部から入力される識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定されることを特徴とする請求項2に記載の装置。 The storage location is obtained by calculation based on the identifier inputted from the outside to the computer, according to claim 2, characterized in that it is determined using the position information on the recording medium apparatus. 前記格納先は、前記記録媒体、前記ドライブ装置、及び前記計算機にそれぞれ固有に与えられる識別子を組み合わせて生成された符号に基づく演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項2に記載の装置。 The storage destination is determined using position information on the recording medium obtained by an operation based on a code generated by combining identifiers uniquely given to the recording medium, the drive device, and the computer. The apparatus according to claim 2 , wherein: 前記秘匿性の解除は、前記管理情報が格納されている位置を特定し、該特定された位置から、該管理情報を正常に読みとることによって行われることを特徴とする請求項2に記載の装置。 3. The apparatus according to claim 2 , wherein the release of the confidentiality is performed by specifying a position where the management information is stored and reading the management information normally from the specified position. . 前記格納先は、前記記録媒体に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項1に記載の装置。 The apparatus according to claim 1 , wherein the storage destination is determined using position information on the recording medium obtained by an operation based on an identifier uniquely given to the recording medium. 前記格納先は、前記装置に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項1に記載の装置。 2. The apparatus according to claim 1 , wherein the storage destination is determined by using position information on the recording medium obtained by an operation based on an identifier uniquely given to the apparatus. 前記格納先は、前記記録媒体、及び前記装置にそれぞれ固有に与えられる識別子を組み合わせて生成された符号に基づく演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項1に記載の装置。 The storage destination is determined using position information on the recording medium obtained by calculation based on a code generated by combining identifiers uniquely given to the recording medium and the device. The apparatus according to claim 1 . 前記秘匿性の解除は、前記管理情報が格納されている位置を特定し、該特定された位置から、該管理情報を正常に読みとることによって行われることを特徴とする請求項1に記載の装置。 2. The apparatus according to claim 1 , wherein the release of the confidentiality is performed by specifying a position where the management information is stored, and reading the management information normally from the specified position. . 前記秘匿性付与/解除手段は、前記記録媒体をフォーマットするフォーマッタに含まれることを特徴とする請求項1に記載の装置。 The apparatus according to claim 1 , wherein the secrecy assigning / releasing means is included in a formatter that formats the recording medium. 前記秘匿性付与/解除手段は、前記記録媒体にアクセスするファイルシステムに含まれることを特徴とする請求項1に記載の装置。 The apparatus according to claim 1 , wherein the secrecy assigning / releasing unit is included in a file system that accesses the recording medium. 前記秘匿性付与/解除手段は、前記記録媒体のデフラクグメンテーション処理を行うシステムに含まれることを特徴とする請求項1に記載の装置。 The apparatus according to claim 1 , wherein the secrecy assigning / releasing unit is included in a system that performs defragmentation processing of the recording medium. 記録媒体からの読み出し、あるいは該記録媒体への書き込みを行うドライブ装置を少なくとも有するシステムに使用される記録媒体であって、
該ドライブ装置に固有に与えられる識別子、あるいは、該記録媒体に固有に与えられる識別子に基づいて算出された該記録媒体上の位置に、該記録媒体に記録されるべきファイルに関する管理情報を記録したことを特徴とする記録媒体。
A recording medium used in a system having at least a drive device for reading from or writing to the recording medium,
Management information relating to a file to be recorded on the recording medium is recorded at a position on the recording medium calculated based on an identifier uniquely given to the drive device or an identifier uniquely given to the recording medium A recording medium characterized by the above.
前記システムは、更に、計算機を含み、
前記管理情報が、該計算機に固有に与えられる識別子、あるいは、外部から入力される識別子に基づいて算出された格納先に記録されていることを特徴とすることを特徴とする請求項16に記載の記録媒体。
The system further includes a computer,
The management information is an identifier uniquely given to the said computer or, according to claim 16, characterized in that characterized in that it is recorded in the storage destination that is calculated based on the identifiers inputted from the outside Recording media.
情報処理装置が、情報処理装置が読み取り/書き込み可能な記録媒体をフォーマットする、あるいは、該記録媒体に記録されているファイルにアクセスする方法であって、
(a)該記録媒体、あるいは、該装置に識別子を読み取り、該識別子に基づいて決定された格納先に該記録媒体に格納されるファイルに関する管理情報を格納することによって、該記録媒体に秘匿性を持たせ、該識別子を読み取ることによって、該管理情報の格納先を特定することによって、該記録媒体の秘匿性を解除するステップと、
(b)該秘匿性を該記録媒体に付与する場合、あるいは、該記録媒体の秘匿性が解除される場合に、該記録媒体にアクセスするステップと、
を備えることを特徴とする方法。
A method in which the information processing apparatus formats a recording medium readable / writable by the information processing apparatus or accesses a file recorded in the recording medium,
(A) An identifier is read from the recording medium or the device, and management information relating to a file stored in the recording medium is stored in a storage location determined based on the identifier, thereby concealing the recording medium. Removing the secrecy of the recording medium by specifying the storage location of the management information by reading the identifier ,
(B) accessing the recording medium when the confidentiality is imparted to the recording medium, or when the confidentiality of the recording medium is released;
A method comprising the steps of:
前記ステップ(a)は計算機で実行され、前記ステップ(b)は、前記記録媒体のドライブ装置で実行されることを特徴とする請求項18に記載の方法。 19. The method according to claim 18 , wherein the step (a) is executed by a computer, and the step (b) is executed by a drive device of the recording medium. 前記格納先は、前記記録媒体に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項19に記載の方法。 The method according to claim 19 , wherein the storage destination is determined by using position information on the recording medium obtained by calculation based on an identifier uniquely given to the recording medium. 前記格納先は、前記ドライブ装置に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項19に記載の方法。 The method according to claim 19 , wherein the storage destination is determined by using position information on the recording medium obtained by an operation based on an identifier uniquely given to the drive device. 前記格納先は、前記計算機に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項19に記載の方法。 The method according to claim 19 , wherein the storage destination is determined by using position information on the recording medium obtained by an operation based on an identifier uniquely given to the computer. 前記格納先は、前記計算機上に対して外部から入力される識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定されることを特徴とする請求項19に記載の方法。 The storage destination, according to claim 19, wherein the obtained by a calculation based on the identifier inputted from the outside to calculate machine is determined using the position information on the recording medium the method of. 前記格納先は、前記記録媒体、前記ドライブ装置、及び前記計算機にそれぞれ与えられる識別子を組み合わせて生成された符号に基づく演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項19に記載の方法。 The storage destination is determined using position information on the recording medium obtained by calculation based on a code generated by combining identifiers given to the recording medium, the drive device, and the computer, respectively. The method according to claim 19 . 前記秘匿性の解除は、前記管理情報が格納されている位置を特定し、該特定された位置から、該管理情報を正常に読みとることによって行われることを特徴とする請求項19に記載の方法。 The method according to claim 19 , wherein the release of the confidentiality is performed by specifying a position where the management information is stored and reading the management information normally from the specified position. . 前記格納先は、前記記録媒体に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項18に記載の方法。 19. The method according to claim 18 , wherein the storage destination is determined by using position information on the recording medium obtained by calculation based on an identifier uniquely given to the recording medium. 前記格納先は、前記装置に固有に与えられる識別子に基づいた演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項18に記載の方法。 19. The method according to claim 18 , wherein the storage destination is determined by using position information on the recording medium obtained by an operation based on an identifier uniquely given to the device. 前記格納先は、前記記録媒体、及び前記装置にそれぞれ固有に与えられる識別子を組み合わせて生成された符号に基づく演算によって得られた、該記録媒体上の位置情報を使用して決定することを特徴とする請求項18に記載の方法。 The storage destination is determined using position information on the recording medium obtained by calculation based on a code generated by combining identifiers uniquely given to the recording medium and the device. The method according to claim 18 . 前記秘匿性の解除は、前記管理情報が格納されている位置を特定し、該特定された位置から、該管理情報を正常に読みとることによって行われることを特徴とする請求項18に記載の方法。 The method according to claim 18 , wherein the release of the confidentiality is performed by specifying a position where the management information is stored, and reading the management information normally from the specified position. . 前記ステップ(a)は、前記記録媒体をフォーマットするフォーマッタで実行されることを特徴とする請求項18に記載の方法。 The method of claim 18 , wherein step (a) is performed by a formatter that formats the recording medium. 前記ステップ(a)は、前記記録媒体にアクセスするファイルシステムで実行されることを特徴とする請求項18に記載の方法。 The method according to claim 18 , wherein the step (a) is executed in a file system that accesses the recording medium. 前記ステップ(a)は、前記記録媒体のデフラクグメンテーション処理を行うシステムで実行されることを特徴とする請求項18に記載の方法。 The method according to claim 18 , wherein the step (a) is executed by a system that performs a defragmentation process of the recording medium. コンピュータに、記録媒体をフォーマットする、あるいは、該記録媒体に記録されているファイルにアクセスする処理を実行させるプログラムを格納した記憶媒体であって、
該処理は、
(a)該記録媒体、あるいは、該記録媒体にアクセスする装置の識別子を読み取り、該識別子に基づいて決定された格納先に該記録媒体に格納されるファイルに関する管理情報を格納することによって、該記録媒体に秘匿性を持たせ、該識別子を読み取ることによって、該管理情報の格納先を特定することによって、該記録媒体の秘匿性を解除するステップと、
(b)該秘匿性を該記録媒体に付与する場合、あるいは、該記録媒体の秘匿性が解除される場合に、該記録媒体にアクセスするステップと、
を備えることを特徴とする記憶媒体。
A storage medium storing a program for causing a computer to format a recording medium or execute a process of accessing a file recorded on the recording medium,
The process is
(A) by reading the identifier of the recording medium or a device that accesses the recording medium, and storing management information relating to the file stored in the recording medium in a storage location determined based on the identifier , Releasing the secrecy of the recording medium by providing the secrecy to the recording medium, identifying the storage location of the management information by reading the identifier ,
(B) accessing the recording medium when the confidentiality is imparted to the recording medium, or when the confidentiality of the recording medium is released;
A storage medium comprising:
JP2000615902A 1999-04-30 1999-04-30 File management system Expired - Fee Related JP3866519B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP1999/002324 WO2000067130A1 (en) 1999-04-30 1999-04-30 File managing system

Publications (2)

Publication Number Publication Date
JPWO2000067130A1 JPWO2000067130A1 (en) 2002-12-03
JP3866519B2 true JP3866519B2 (en) 2007-01-10

Family

ID=14235610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000615902A Expired - Fee Related JP3866519B2 (en) 1999-04-30 1999-04-30 File management system

Country Status (2)

Country Link
JP (1) JP3866519B2 (en)
WO (1) WO2000067130A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100406630B1 (en) 2001-03-13 2003-11-20 엘지전자 주식회사 Method for recording and reproducing a demo data, and medium thereof
JP4122777B2 (en) 2002-01-18 2008-07-23 日本ビクター株式会社 Content recording / playback device
JP2004070403A (en) 2002-08-01 2004-03-04 Hitachi Ltd File storage volume control method
CA2496664C (en) 2002-08-23 2015-02-17 Exit-Cube, Inc. Encrypting operating system
US8219823B2 (en) 2005-03-04 2012-07-10 Carter Ernst B System for and method of managing access to a system using combinations of user information
US8984636B2 (en) 2005-07-29 2015-03-17 Bit9, Inc. Content extractor and analysis system
JP2009080772A (en) * 2007-09-27 2009-04-16 Toppan Printing Co Ltd Software activation system, software activation method, and software activation program
JP2012169983A (en) * 2011-02-16 2012-09-06 Kddi Corp Data processing apparatus and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01309120A (en) * 1988-06-07 1989-12-13 Nec Corp Medium protection control system
JPH04163768A (en) * 1990-10-29 1992-06-09 Hitachi Ltd Disk security methods and devices

Also Published As

Publication number Publication date
WO2000067130A1 (en) 2000-11-09

Similar Documents

Publication Publication Date Title
JP4169822B2 (en) Data protection method for storage medium, apparatus therefor, and storage medium therefor
JP3073590B2 (en) Electronic data protection system, licensor&#39;s device and user&#39;s device
CN100414864C (en) Audio data playback management system and method with editing device and recording medium
JP4687703B2 (en) RECORDING SYSTEM, INFORMATION PROCESSING DEVICE, STORAGE DEVICE, RECORDING METHOD, AND PROGRAM
JP2004510367A (en) Protection by data chunk address as encryption key
KR20040041684A (en) Apparatus and method for reading or writing block-wise stored user data
JP2005506589A (en) System, method and device for playing recorded audio, video or other content from non-volatile memory card, compact disc or other media
JP2001256113A (en) Content processing system and content protection method
JPH08287653A (en) Optical recording medium
JP2010237480A (en) Content protection apparatus and content protection method
JPH0383132A (en) Software protection control system
JP2000330870A (en) Content processing system and content protection method
JP3866519B2 (en) File management system
JPWO2000067130A1 (en) File Management System
JP4702689B2 (en) Music content utilization apparatus and program
KR100859651B1 (en) A computer-readable recording medium recording a data structure for storing variable size data, a variable size data storing method, and a program for executing the variable size data storing method on a computer
JP2000163882A (en) Digital work recording medium and recording apparatus, reproducing apparatus, and deleting apparatus for accessing the recording medium
JP4537772B2 (en) Disk system
JP3184189B2 (en) Electronic data protection system, licensor side apparatus, user side apparatus, license information generation processing method, and electronic data decryption processing method
JP2003345660A (en) Information processing apparatus, information processing method, content input / output processing system, content input / output processing method, and computer program
US20050100168A1 (en) Electronic device, information processing system, information processing apparatus and method, program, and recording medium
JP5539024B2 (en) Data encryption apparatus and control method thereof
JP3184191B2 (en) Electronic data protection system, licensor side apparatus, user side apparatus, license information generation processing method, and electronic data decryption processing method
JP5759925B2 (en) Data control apparatus, data control method, and data control program
JP3184192B2 (en) Storage medium for electronic data transfer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060911

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061005

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees