JP2746770B2 - File processing method of optical disk verification system - Google Patents

File processing method of optical disk verification system

Info

Publication number
JP2746770B2
JP2746770B2 JP3104904A JP10490491A JP2746770B2 JP 2746770 B2 JP2746770 B2 JP 2746770B2 JP 3104904 A JP3104904 A JP 3104904A JP 10490491 A JP10490491 A JP 10490491A JP 2746770 B2 JP2746770 B2 JP 2746770B2
Authority
JP
Japan
Prior art keywords
optical disk
file
address
disk drive
data
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 - Lifetime
Application number
JP3104904A
Other languages
Japanese (ja)
Other versions
JPH04274512A (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.)
NEC Home Electronics Ltd
Original Assignee
NEC Home Electronics 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 NEC Home Electronics Ltd filed Critical NEC Home Electronics Ltd
Priority to JP3104904A priority Critical patent/JP2746770B2/en
Publication of JPH04274512A publication Critical patent/JPH04274512A/en
Application granted granted Critical
Publication of JP2746770B2 publication Critical patent/JP2746770B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、パッケージソフトの記
録媒体として用いられるCD−ROM等の光ディスクを
製作するに当たって、その光ディスクに書き込むデータ
の配列やファイル構造、アプリケーションプログラムな
どが設計通りなされているか否かを検証するアプリケー
ション検証システムのファイル処理方式に関し、特に実
機の光ディスクドライブ装置の動作の模擬手段に関連し
てファイルを管理する光ディスクのアプリケーション検
証システムのファイル処理方式に関する。
The present invention relates to the manufacture of an optical disk such as a CD-ROM used as a recording medium for packaged software, and it is required that an array of data to be written on the optical disk, a file structure, an application program, etc., be as designed. More particularly, the present invention relates to a file processing method of an application verification system for an optical disk that manages a file in relation to a simulation unit of an operation of an actual optical disk drive device.

【0002】[0002]

【従来の技術】従来、この種のアプリケーション検証シ
ステムのファイル処理方式においては、光ディスクの物
理的記録形式と同様にファイルを配置するようなファイ
ル管理を行い、光ディスク利用システムからのデータ読
みだし命令に含まれる光ディスクの物理アドレスデータ
を単純な四則演算でシミュレーションシステムのディス
クドライブ装置のアドレスに変換しアクセス出来るよう
にしたものである。それ故、ファイルのデータ量が変化
する可能性のある編集段階では、ファイルを書き込む前
に適当な量の記録領域を確保してからファイルの登録を
行なっていた。
2. Description of the Related Art Conventionally, in a file processing system of this kind of application verification system, file management is performed such that a file is arranged in the same manner as a physical recording format of an optical disk, and a data read command from a system using an optical disk is used. The physical address data of the contained optical disk is converted into the address of the disk drive device of the simulation system by a simple four arithmetic operations so that the address can be accessed. Therefore, in the editing stage where the data amount of the file may change, an appropriate amount of recording area is secured before writing the file, and then the file is registered.

【0003】[0003]

【発明が解決しようとする課題】このようなシステムに
おいては、利用者はファイルを書き込む領域を確保する
手間が必要となり、さらに余分に領域確保するために空
き領域が至る所に生じ記録媒体の記憶容量すなわちメモ
リ資源を浪費するといった問題点がある。
In such a system, the user needs time and effort to secure an area for writing a file, and an empty area is generated everywhere in order to secure an extra area. There is a problem that the capacity, that is, the memory resource is wasted.

【0004】また、アプリケーションの設計変更に伴う
ファイルの削除やデータの差替えを行なう際に、ファイ
ルの削除の場合は、空き領域が光ディスクのファイル配
置イメージの真っ直中にできてしまう。その結果、削除
したファイル以降のアドレスに配置されているファイル
を前に詰めて配置し直したりする。また、データの差替
えの場合は、元のファイルよりデータ量が増えて元の領
域に書ききれなくなったとき、そのファイル以降のアド
レスに配置されているファイルを順次後ろにずらして配
置し直さなければならない。したがって従来の方法で
は、光ディスクで扱うデータ量が膨大なだけに、非常に
手間と時間の掛かる作業が必要であるといった問題点が
ある。
Further, when deleting a file or replacing data in accordance with a change in the design of an application, in the case of deleting a file, an empty area is created in the middle of a file arrangement image on an optical disk. As a result, the file located at the address after the deleted file is moved to the front and rearranged. Also, in the case of data replacement, when the amount of data is larger than the original file and it is not possible to write in the original area, the files located at addresses subsequent to that file must be sequentially shifted backward and rearranged. No. Therefore, the conventional method has a problem in that the amount of data handled by the optical disk is enormous, so that a very laborious and time-consuming operation is required.

【0005】それ故、本発明の目的は、ファイルを記録
する際に光ディスクの物理的配置を直接行なうのではな
く、仮想的な配置を行なうことによって、領域確保やフ
ァイルの削除、データの差替えなどの編集作業による空
き領域の発生と、ファイルの再配置といった手間と時間
を必要とする作業を最小限に食い止め、利用者にとって
ファイルの扱いを容易にし、さらに、アプリケーション
の開発期間を従来よりも短縮できるような光ディスクの
アプリケーション検証システムを提供することにある。
Therefore, an object of the present invention is not to directly arrange the physical arrangement of an optical disc when recording a file, but to perform virtual arrangement to secure an area, delete a file, replace data, and the like. Minimizes time-consuming tasks such as creating free space and relocating files by editing files, making it easier for users to handle files, and shortening the application development period. An object of the present invention is to provide an optical disk application verification system that can perform the above.

【0006】[0006]

【課題を解決するための手段】したがって、本発明は上
述の目的を達成するために、光ディスクに記録されたア
プリケーションデータを読み出して利用する光ディスク
利用システムと、本来は前記光ディスク利用システムに
接続して用いる光ディスクドライブ装置の代わりに、該
光ディスクドライブ装置の動作を模擬する光ディスクド
ライブ装置シミュレータとしての処理と、前記光ディス
クに書き込むデータを連続的ファイルとして管理する処
理とを行なうシミュレーションシステムと、該シミュレ
ーションシステムに接続し光ディスクに書き込むデータ
を記録するディスク状の記録媒体を持つディスクドライ
ブ装置とを有する光ディスクのアプリケーションの検証
システムにおいて、前記シミュレーションシステムのワ
ークメモリ領域に光ディスクのアドレスから前記光ディ
スクドライブ装置のアドレスに変換するアドレス変換テ
ーブルを持つことによって、光ディスク利用システムは
実際の光ディスクドライブ装置と同様の命令で前記光デ
ィスクドライブ装置をアクセスして、アプリケーション
の検証を行なうことを可能にしたものである。
SUMMARY OF THE INVENTION Therefore, in order to achieve the above-mentioned object, the present invention provides an optical disk utilizing system which reads and uses application data recorded on an optical disk, and which is originally connected to the optical disk utilizing system. A simulation system that performs processing as an optical disk drive simulator that simulates the operation of the optical disk drive, and that manages data to be written to the optical disk as a continuous file, instead of the optical disk drive used. A disk drive device having a disk-shaped recording medium for recording data to be written to the optical disk connected thereto; By having an address conversion table for converting the address of the disk to the address of the optical disk drive, the optical disk utilization system can access the optical disk drive with the same command as the actual optical disk drive and verify the application. Is made possible.

【0007】[0007]

【作用】この発明によれば、光ディスク利用システムは
実機の光ディスクドライブ装置と全く同様な命令体系で
シミュレーションシステムのディスクドライブ装置をア
クセスすることにより、実際に光ディスクを製作する前
にアプリケーションの検証を行なうことが可能である。
According to the present invention, the optical disk utilizing system accesses the disk drive of the simulation system with the same instruction system as the optical disk drive of the actual machine, thereby verifying the application before actually producing the optical disk. It is possible.

【0008】また、連続的ファイルの書き込み時におけ
る領域確保やファイルの削除、データの差替えなどの編
集作業による空き領域の発生とファイルの再配置作業を
最小限に食い止め、ファイルを処理することが可能であ
る。
Further, it is possible to minimize the generation of free space and the relocation of files due to editing operations such as securing an area, deleting files, and replacing data when writing continuous files, and processing the files. It is.

【0009】[0009]

【実施例】次に、本発明の一実施例について図面を用い
て説明する。図1は本発明の方法が適用される光ディス
クのアプリケーション検証システムの一般的な構成を示
すブロック図で大きく分けて2つの部分がある。1つは
利用者が光ディスクに書き込むデータを入力し編集を行
ったり、アプリケーション検証時にシステムに接続され
たディスクドライブ装置を制御して光ディスクの動作を
模擬するシミュレーションシステム1と、このシミュレ
ーションシステムを実機の光ディスクドライブ装置とし
てアプリケーションの実行を行いアプリケーションが設
計通り動作するかを確認するための光ディスク利用シス
テム2とで構成される。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a general configuration of an application verification system for an optical disk to which the method of the present invention is applied. One is a simulation system 1 in which a user inputs and edits data to be written on an optical disk, or controls a disk drive device connected to the system during application verification to simulate the operation of an optical disk. The optical disk drive includes an optical disk drive system 2 for executing an application and confirming whether the application operates as designed.

【0010】ここで、シミュレーションシステム1内の
ワークメモリ11に本発明の特徴とするアドレス変換テ
ーブル12を図2におけるメモリ領域M1のように置
く。またディスクドライブ装置8内に登録するファイル
を管理するファイル管理テーブルをメモリ領域M2のよ
うに置く。さらにそれぞれのテーブルの1つのファイル
に対する管理情報を示すと、ファイル管理テーブルM1
は図3(a)のように、これから製作しようとする光ディ
スクと全く同一の物理的アドレス情報を持つ光ディスク
セクタアドレスおよびセクタ長と、このファイルのシス
テムのディスクドライブ装置におけるファイル管理情報
へのポインタであるファイル管理テーブルメモリアドレ
スとを持つ。
Here, an address conversion table 12 which is a feature of the present invention is placed in a work memory 11 in the simulation system 1 like a memory area M1 in FIG. In addition, a file management table for managing files to be registered in the disk drive device 8 is placed as in the memory area M2. Furthermore, when the management information for one file in each table is shown, the file management table M1
As shown in FIG. 3 (a), an optical disk sector address and sector length having exactly the same physical address information as an optical disk to be manufactured, and a pointer to file management information in the disk drive device of the file system. It has a certain file management table memory address.

【0011】一方ファイル管理テーブルM2は図3(b)
に示すように、登録ファイル名とそのデータの種類等を
示す属性とディスクドライブ装置8に記録したアドレス
情報を持つディスクドライブセクタアドレスおよびセク
タ長とを持つ。
On the other hand, the file management table M2 is shown in FIG.
As shown in FIG. 7, the file has a registered file name, an attribute indicating the type of data, a disk drive sector address having address information recorded in the disk drive device 8, and a sector length.

【0012】さてここでアドレス変換テーブルM1、フ
ァイル管理テーブルM2、これから製作しようとする光
ディスクのファイル配置、ディスクドライブ装置のファ
イル配置との相互関係を図4から図6を用いて説明す
る。
Now, the interrelationship between the address conversion table M1, the file management table M2, the file arrangement of the optical disk to be manufactured from now on, and the file arrangement of the disk drive will be described with reference to FIGS.

【0013】まずファイルF1を登録するしようとする
と、システムはディスクドライブ装置内において空き領
域の先頭から詰めてファイルを書き込むように管理する
ものとすると、はじめに空き領域を探しファイルの書き
込み先頭アドレスB1を求め、ファイルF1のデータ量
からシステムのディスクドライブ装置におけるセクタ長
BL1を計算し、ディスクドライブ装置にデータを記録
すると共に、ファイル管理テーブルにB1、BL1およ
びファイル名F1を記憶する。
First, when the file F1 is to be registered, it is assumed that the system manages the file to be written from the beginning of the free area in the disk drive device. Then, the sector length BL1 in the disk drive of the system is calculated from the data amount of the file F1, the data is recorded in the disk drive, and B1, BL1 and the file name F1 are stored in the file management table.

【0014】またこの時、光ディスクにおける書き込み
先頭アドレスA1を利用者またはシステムが設定し、フ
ァイルのデータ量と光ディスクの物理セクタ長とから光
ディスクにおけるセクタ長AL1を計算し、さらにファ
イル管理テーブルM2に記憶したファイルF1の管理情
報へのポインタ(ファイル管理テーブルのメモリアドレ
ス)をアドレス変換テーブルM1に記憶する。
At this time, the user or the system sets the write start address A1 on the optical disk, calculates the sector length AL1 on the optical disk from the data amount of the file and the physical sector length of the optical disk, and stores it in the file management table M2. The pointer to the management information of the file F1 (memory address of the file management table) is stored in the address conversion table M1.

【0015】次にF2を登録しようとしたとき、ファイ
ルF1を時と同様にまずディスクドライブ装置のアドレ
スB2、セクタ長BL2を求めファイル管理テーブルM
2に記憶し、次に光ディスクにおける物理アドレスA
2、セクタ長AL2を求めアドレス変換テーブルM1に
記憶する。
Next, when an attempt is made to register F2, the file F1 is first obtained in the same manner as at first, the address B2 and the sector length BL2 of the disk drive are obtained, and the file management table M is obtained.
2 and then the physical address A on the optical disc
2. The sector length AL2 is obtained and stored in the address conversion table M1.

【0016】以下同様にして順次ファイルを登録してい
くと、アドレス変換テーブルM1およびファイル管理テ
ーブルM2は図4、仮想的な光ディスクのファイル配置
状態は図5、ディスクドライブ装置8のファイル配置状
態は図6のようになる。
When files are sequentially registered in the same manner, the address conversion table M1 and the file management table M2 are shown in FIG. 4, the file arrangement state of the virtual optical disk is shown in FIG. 5, and the file arrangement state of the disk drive 8 is shown in FIG. As shown in FIG.

【0017】ここで、光ディスク利用システムでアプリ
ケーションの検証を行うとき、ファイルF1のデータ転
送を例にとって次のように各ブロックの動作を説明す
る。
Here, the operation of each block will be described as follows, taking the data transfer of the file F1 as an example when verifying the application in the optical disk utilization system.

【0018】(1)光ディスク利用システムがプログラム
の実行を行う前に、アドレス変換テーブルM1の光ディ
スクの物理アドレスA1とセクタ長AL1とを光ディス
ク利用システムの処理装置4のワークメモリ13内に予
め決められた領域に配置されている光ディスクアドレス
記憶テーブル14に転送し記憶させる。
(1) Before the system using the optical disk executes the program, the physical address A1 of the optical disk and the sector length AL1 of the address conversion table M1 are predetermined in the work memory 13 of the processing device 4 of the system using the optical disk. The data is transferred to and stored in the optical disk address storage table 14 located in the area set.

【0019】(2)光ディスク利用システムは、この光デ
ィスクアドレス記憶テーブルのファイルアドレス情報A
1を用いて光ディスクドライブ装置へデータのアクセス
命令を作り出し、システムインターフェース10からシ
ミュレーションシステムのシステムインターフェース9
と実機の光ディスクドライブ装置と同一のプロトコルで
命令を転送する。
(2) The optical disk utilization system uses the file address information A in the optical disk address storage table.
1 to create a data access command to the optical disk drive, and from the system interface 10 to the system interface 9 of the simulation system.
Then, the command is transferred by the same protocol as that of the actual optical disk drive.

【0020】(3)シミュレーションシステムは、システ
ムインターフェース9から受け取ったディスクアクセス
命令のパラメータから、光ディスクのアドレス情報を抽
出し、さらにアドレス変換テーブルM1の光ディスクセ
クタアドレスの項目を先頭から順次サーチし、命令のア
ドレス値A1と一致するものを検索する。
(3) The simulation system extracts address information of the optical disk from the parameters of the disk access instruction received from the system interface 9, further searches the optical disk sector address items of the address conversion table M1 sequentially from the beginning, and executes the instruction. Is searched for an address that matches the address value A1 of.

【0021】(4)一致したアドレス変換テーブルのファ
イル管理テーブルメモリアドレスの項目からT1を用い
て、今度は、T1で指されるファイル管理テーブルのデ
ィスクアドレスB1およびセクタ長BL1を用いて、実
際にデータが記録されているディスクドライブ装置への
アクセス命令を作り出し、ディスクドライブインターフ
ェース7を経由しディスクドライブ装置にその命令を転
送する。
(4) T1 is used from the file management table memory address item of the matched address conversion table, and this time, using the disk address B1 and sector length BL1 of the file management table designated by T1, An access instruction to the disk drive in which data is recorded is created, and the instruction is transferred to the disk drive via the disk drive interface 7.

【0022】(5)命令を受け取ったディスクドライブ装
置8は、記録媒体から目的のデータを読み出し、ディス
クドライブインターフェース7とシステムインターフェ
ース9を経由して、光ディスク利用システム側へデータ
を送り出す。
(5) Upon receiving the command, the disk drive 8 reads the target data from the recording medium and sends the data to the optical disk utilization system via the disk drive interface 7 and the system interface 9.

【0023】(6)光ディスク利用システムは、システム
インターフェース10に送られて来るデータを読み出
し、ワークメモリ13に記憶する等の処理を行う。
(6) The optical disk utilization system reads data sent to the system interface 10 and stores it in the work memory 13.

【0024】以上が光ディスク利用システムが、ファイ
ルF1を読み出すときのシステムの動作である。このよ
うに、光ディスク利用システムは実機の光ディスクドラ
イブ装置と全く同様な命令を用いてファイルをアクセス
することが可能なので、費用および時間のかかる光ディ
スクを製作しなくてもアプリケーションの検証を行うこ
とが可能となる。
The above is the operation of the optical disk utilizing system when reading the file F1. In this way, the optical disk utilization system can access files using exactly the same command as the actual optical disk drive, so that application verification can be performed without producing expensive and time-consuming optical disks. Becomes

【0025】次に、ファイルの編集時に於ける更新(再
登録)、削除について説明する。まず、ファイルの登録
状態は図4から図6に示すものと同様とする。ここで従
来は、ファイルF2の削除を行うとすると、従来はファ
イル管理テーブルからファイルF2に関する情報を無効
にすることによって削除し、このままではディスクドラ
イブ装置内のF2の領域が空き領域となってしまうの
で、ファイルF2以降のファイルF3、F4を順次ファ
イルF2の領域に詰めて移動させなければならなかっ
た。本発明の方式ではアドレス変換テーブルを用いて図
7(b)のようにファイルF2の各項目A2、AL2、T
2を削除することで、従来のようにファイルの移動をさ
せる必要はない。たたし図7(b)においてアドレス変換
テーブルの項目、アドレスAの計算が必要となり、それ
は次式で示される。
Next, updating (re-registration) and deletion at the time of editing a file will be described. First, it is assumed that the file registration state is the same as that shown in FIGS. Here, conventionally, when the file F2 is deleted, the file F2 is conventionally deleted by invalidating information about the file F2 from the file management table, and the area of F2 in the disk drive becomes a free area in this state. Therefore, the files F3 and F4 after the file F2 must be sequentially moved to the area of the file F2. In the method of the present invention, each item A2, AL2, T of the file F2 is used as shown in FIG.
By deleting 2, there is no need to move the file as in the prior art. In FIG. 7B, however, it is necessary to calculate the address A, an item of the address conversion table, which is expressed by the following equation.

【0026】[0026]

【数1】 (Equation 1)

【0027】この式の意味は、ファイルF2するという
ことは、そのセクタ長AL2分のデータが無くなったと
同じことであるから、それ以降に配置されているファイ
ルF3、F4をファイルF1の後に配置するためにAL
2の分だけアドレスA3およびA4から減算しているの
である。この計算は通常のシステムではディスクドライ
ブ装置へのアクセスよりもワークメモリへのアクセスの
方が数万から数十万倍も高速なので、ディスクドライブ
装置内のファイルを移動する方式に比べて比較にならな
いほど高速にファイル削除処理を行うことが可能であ
る。
The meaning of this equation is that the file F2 means that the data corresponding to the sector length AL2 has been lost, so that the files F3 and F4 arranged thereafter are arranged after the file F1. AL for
That is, two are subtracted from the addresses A3 and A4. This calculation is tens of thousands to hundreds of thousands of times faster in accessing the work memory than in accessing the disk drive in a normal system, so it is incomparable compared to the method of moving files in the disk drive The file deletion process can be performed at a higher speed.

【0028】次にファイルF2の更新を行い元のデータ
量より増えてディスクドライブ装置の元の位置に入り切
らなくなったとき、まず図8(b)のようにディスクドラ
イブ装置内の空き領域の先頭アドレスを求めそこから更
新したデータを記録していく。そしてファイル管理テー
ブルにアドレスB2’とセクタ長BL2’を記憶し、さ
らにアドレス変換テーブルは次のように計算をしてファ
イルの更新を行う。
Next, when the file F2 is updated and becomes larger than the original data amount and cannot fit in the original position of the disk drive, first, as shown in FIG. Obtain the address and record the updated data from there. Then, the address B2 'and the sector length BL2' are stored in the file management table, and the address conversion table performs the following calculation to update the file.

【0029】まずファイルF2のデータ量が増えたので
そのセクタ長AL2’を求め、ファイルF2のセクタ長
の項目に記憶する。これに伴い、ファイルF2以降に配
置されているファイルF3およびF4は位置を後ろにず
らし、うまくファイルF2の後ろに詰めて配置するよう
にアドレスを次式のようにして求める。
First, since the data amount of the file F2 has increased, its sector length AL2 'is obtained and stored in the item of the sector length of the file F2. Along with this, the addresses of the files F3 and F4 arranged after the file F2 are shifted rearward, and the addresses are obtained according to the following formula so as to be arranged properly after the file F2.

【0030】[0030]

【数2】 (Equation 2)

【0031】上式において、AL2’、−AL2の項は
ファイルF2の更新によるデータの増加量を表し、この
増加分をファイルF2以降のファイルF3およびF4の
元のアドレスA3およびA4に加算し、アドレスA3’
およびA4’に計算し直している。
In the above equation, the terms AL2 'and -AL2 represent the amount of data increase due to the update of the file F2, and this increase is added to the original addresses A3 and A4 of the files F3 and F4 after the file F2. Address A3 '
And A4 '.

【0032】これにより、従来のように登録中のファイ
ルが編集によりデータ量が増えて元の位置に書き込み切
れなくなったとき、それ以降に配置されているファイル
を後方に移動させて更新したファイルが書き込めるよう
な領域を作ってから記録するといった手間と時間のかか
る作業をしなくても、本発明の方式ならば更新ファイル
の書き込みとアドレス変換テ−ブルのアドレス情報の計
算程度の時間で処理することが可能となる。
As a result, when the data amount of the file being registered increases due to editing as in the prior art and the data cannot be completely written to the original position, the file arranged thereafter is moved backward to update the updated file. According to the method of the present invention, processing is performed in a time period equivalent to writing an update file and calculating address information of an address conversion table, without the need for time-consuming and time-consuming work of creating a recordable area and then recording. It becomes possible.

【0033】ただし本方式の場合、更新ファイルの元の
位置は空き領域となってしまうが、次以降に登録するフ
ァイルの記録領域の対象として処理すれば無駄も最小限
に済ますことが可能である。またこの空き領域は何も記
録されていないわけではなく、ファイルF2の更新前の
データが記録されているので、利用者にファイル更新の
アンドゥー処理(この場合は更新という処理の取り消
し)を実現することも可能である。
However, in the case of this method, the original position of the update file is an empty area, but if the processing is performed as a target of the recording area of the file to be registered subsequently, the waste can be minimized. . This empty area does not mean that nothing is recorded, but data before the update of the file F2 is recorded, so that the user can perform an undo process of updating the file (in this case, canceling the process of updating). It is also possible.

【0034】最後に、ファイルの配置の入れ替え処理に
ついて図9を用いて説明する。ここではファイルF2と
F3の入れ替えを行うことにすると、仮想的光ディスク
のファイル配置状態は図9(b)のようになる。このとき
はアドレス変換テーブルのファイル管理テーブルメモリ
アドレスの項目T2とT3を入れ換えるだけで、ファイ
ルF2とF3の入れ替えが可能である。
Finally, the process of replacing the file arrangement will be described with reference to FIG. Here, if the files F2 and F3 are exchanged, the file arrangement state of the virtual optical disk is as shown in FIG. 9B. In this case, the files F2 and F3 can be exchanged only by exchanging the items T2 and T3 of the file management table memory address of the address conversion table.

【0035】ただしファイルF2とF3はそのデータ量
が異なるのが普通であるから、ファイルF2からF3の
間にあるファイルのアドレスAおよびセクタ長ALを再
計算する必要がある。その計算は次式で表せられる。
However, since the data amounts of the files F2 and F3 are usually different, it is necessary to recalculate the address A and the sector length AL of the file between the files F2 and F3. The calculation is expressed by the following equation.

【0036】[0036]

【数3】 (Equation 3)

【0037】式(3)はファイルF2の位置にファイルF
3が入ったのでファイルF2の先頭アドレスA3’はア
ドレスA2にファイルF3のセクタ長AL3を加算した
ものとなる。そして式(4)と(5)はファイルF2とF3
のセクタ長AL2とAL3とがそれぞれAL3’とAL
2’に入れ替わることを示している。
The equation (3) indicates that the file F
3, the start address A3 'of the file F2 is the sum of the address A2 and the sector length AL3 of the file F3. Equations (4) and (5) are then used for files F2 and F3.
Sector lengths AL2 and AL3 are AL3 'and AL, respectively.
2 ′.

【0038】このように本発明におけるファイルの入れ
替えは、アドレス変換テーブルの再計算のみという非常
に簡単で短時間の処理で可能であり、従来のように物理
的にデータの入れ替えを行うといった処理はまったく必
要ない。
As described above, the replacement of files in the present invention can be performed by a very simple and short process of only recalculating the address conversion table, and the process of physically replacing data as in the prior art is not required. No need at all.

【0039】[0039]

【発明の効果】以上説明したように本発明は、光ディス
ク利用システムは実機の光ディスクドライブ装置と全く
同様な命令体系でシミュレーションシステムのディスク
ドライブ装置をアクセスすることにより、実際に光ディ
スクを製作する前にアプリケーションの検証を行なうこ
とが可能である。
As described above, according to the present invention, the optical disk utilizing system accesses the disk drive of the simulation system by using the same instruction system as the optical disk drive of the actual machine, so that the optical disk can be produced before the optical disk is actually manufactured. It is possible to verify the application.

【0040】また、連続的ファイルの書き込み時におけ
る領域確保やファイルの削除、データの差替えなどの編
集作業による空き領域の発生とファイルの再配置作業を
最小限に食い止め、ファイルを処理することによって、
利用者にファイルの扱いが容易な環境を提供し、アプリ
ケーション開発の期間を削減することが可能となる。
In addition, the generation of free space and the relocation of files due to editing operations such as area reservation, file deletion, and data replacement during continuous file writing are minimized, and files are processed.
It provides an environment where users can easily handle files, and reduces the time required for application development.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の方法が適用される一実施例光ディスク
のアプリケーション検証システムの一般的な構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a general configuration of an optical disk application verification system according to an embodiment to which a method of the present invention is applied.

【図2】光ディスクドライブを模擬するシミュレーショ
ンシステム内のワークメモリのマップを示す図である。
FIG. 2 is a diagram showing a map of a work memory in a simulation system that simulates an optical disk drive.

【図3】(a)は光デイスクのデ−タの構成を示し、
(b)はディスクドライブ装置内のファイルのアドレス情
報などを持つファイル管理テーブルのデータの構成を示
す図である。
FIG. 3A shows a data structure of an optical disc;
FIG. 2B is a diagram showing a data configuration of a file management table having address information of files in the disk drive device and the like.

【図4】アドレス変換テーブルとファイル管理テーブル
の内容に具体的なデータを用いて本実施例のファイル処
理方法を説明する図である。
FIG. 4 is a diagram illustrating a file processing method according to the present embodiment using specific data for the contents of an address conversion table and a file management table.

【図5】図4のデータに基づいた仮想的な光ディスクの
ファイルの配置状態を示す図である。
FIG. 5 is a diagram showing an arrangement state of files on a virtual optical disk based on the data of FIG. 4;

【図6】図4のデータに基づいたシミュレーションシス
テム内のディスクドライブ装置のファイル配置状態を示
す図である。
FIG. 6 is a diagram showing a file arrangement state of a disk drive device in the simulation system based on the data of FIG. 4;

【図7】本発明のファイル処理に関する説明図である。FIG. 7 is an explanatory diagram relating to file processing of the present invention.

【図8】本発明のアドレス書き込み状態を説明するため
のマップ図である。
FIG. 8 is a map diagram for explaining an address write state according to the present invention.

【図9】本発明のファイル配置の入れ替え処理を説明す
るための図である。
FIG. 9 is a diagram for explaining a file arrangement replacement process according to the present invention.

【符号の説明】[Explanation of symbols]

1 シミュレーションシステム 2 光ディスク利用システム 3 シミュレーションシステムの処理装置 4 光ディスク利用システムの処理装置 5 利用者がファイルを入力したり、ファイルの編集な
どを行なうためにシステムへの動作指定をする入出力装
置 6 利用者がアプリケーションの検証をするための入出
力装置 7 処理装置とのインターフェース 8 ファイルを記録するディスクドライブ装置 9、10 シミュレーションシステムと光ディスク利用
システムとのデータのやりとりをするシステムインター
フェース 11、13 各々のシステムのワークメモリ 12 アドレス変換テーブル 14 光ディスクアドレス記憶テーブルを示し、M1、
M2、M3…それぞれアドレス変 換テーブル、ファイル
管理テーブル、処理装置の残りのワークメモリ F ファイル及びファイル名 A 光ディスクアドレス AL 光ディスクセクタ長 T ファイル管理テーブルメモリアドレス B ディスクドライブセクタアドレス BL ディスクドライブ装置セクタ長
DESCRIPTION OF SYMBOLS 1 Simulation system 2 Optical disk utilization system 3 Simulation system processing unit 4 Optical disk utilization system processing unit 5 Input / output device which designates operation to the system in order for a user to input a file or edit a file 6 Input / output device for user verification of application 7 Interface with processing device 8 Disk drive device 9 for recording file 9, 10 System interface for exchanging data between simulation system and optical disk utilization system 11, 13 Each system 12 shows a work memory 12 address conversion table 14 an optical disk address storage table,
M2, M3 ... address conversion table, file management table, remaining work memory of the processing device F file and file name A optical disk address AL optical disk sector length T file management table memory address B disk drive sector address BL disk drive device sector length

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 パッケージソフトの記録媒体として用い
られる光ディスクの製作に先立って、光ディスクに記録
するデータが正確か否かを判定するために、光ディスク
に記録されたアプリケーションデータを読み出して処理
する光ディスク利用システムと、本来は前記光ディスク
利用システムに接続して用いる光ディスクドライブ装置
の代わりに、該光ディスクドライブ装置の動作を模擬す
る光ディスクドライブ装置シミュレータとしての処理
と、前記光ディスクに書き込むデータを連続的ファイル
として管理する処理とを行なうシミュレーションシステ
ムと、該シミュレーションシステムに接続し、光ディス
クに書き込むデータを記録する読み書き可能な回転記録
媒体を持つディスクドライブ装置とで構成される光ディ
スクのアプリケーション検証システムにおいて、前記シ
ミュレーションシステムのワークメモリ領域に、光ディ
スク上のアドレスから前記ディスクドライブ装置上のア
ドレスに変換するアドレス変換テーブルを持つことによ
って、前記シミュレーションシステムに光ディスクに記
録するデータをファイルとして登録する際に、光ディス
クの物理的アドレス情報を前記アドレス変換テーブルに
記憶し、そのアドレス情報を用いてファイルの管理を行
ない、また光ディスク利用システムは実際の光ディスク
ドライブ装置と全く同様の命令で前記シミュレーション
システムをアクセスしてアプリケーションの検証を行な
うことを特徴とした光ディスク検証システムのファイル
処理方式。
1. An optical disk for reading and processing application data recorded on an optical disk in order to determine whether data to be recorded on the optical disk is accurate prior to manufacturing an optical disk used as a recording medium of package software. A system and a process as an optical disk drive simulator that simulates the operation of the optical disk drive instead of the optical disk drive originally used to be connected to the optical disk utilization system, and manages data to be written on the optical disk as a continuous file. And a disk drive device having a readable and writable rotary recording medium connected to the simulation system for recording data to be written on the optical disk. Registering data to be recorded on the optical disk as a file in the simulation system by having an address conversion table for converting an address on the optical disk into an address on the disk drive device in a work memory area of the simulation system. In doing so, the physical address information of the optical disk is stored in the address conversion table, the file is managed using the address information, and the system using the optical disk uses the same simulation system as the actual optical disk drive device with the same instruction. A file processing method for an optical disk verification system, characterized in that an application is accessed to verify an application.
JP3104904A 1991-02-28 1991-02-28 File processing method of optical disk verification system Expired - Lifetime JP2746770B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3104904A JP2746770B2 (en) 1991-02-28 1991-02-28 File processing method of optical disk verification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3104904A JP2746770B2 (en) 1991-02-28 1991-02-28 File processing method of optical disk verification system

Publications (2)

Publication Number Publication Date
JPH04274512A JPH04274512A (en) 1992-09-30
JP2746770B2 true JP2746770B2 (en) 1998-05-06

Family

ID=14393119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3104904A Expired - Lifetime JP2746770B2 (en) 1991-02-28 1991-02-28 File processing method of optical disk verification system

Country Status (1)

Country Link
JP (1) JP2746770B2 (en)

Also Published As

Publication number Publication date
JPH04274512A (en) 1992-09-30

Similar Documents

Publication Publication Date Title
JP3005645B2 (en) How to read and write files on non-erasable storage media
EP0487331B1 (en) Directory management system
JP2746770B2 (en) File processing method of optical disk verification system
JPS62226375A (en) Picture information retrieving system
JP2643811B2 (en) Database reorganization method
JP5248762B2 (en) Design data dependency management device, design data dependency management method and program
JP2649675B2 (en) Optical disk storage management method
JP2721034B2 (en) Clustering control system
JP2641399B2 (en) File management device
JPH0644118A (en) File backup system
JP4093802B2 (en) CAD data conversion system
KR100352500B1 (en) Method for automation of form controls generation
JPH03268037A (en) Data editing system
JP2689116B2 (en) Optical disk storage management method
JP2002132555A (en) System, method and record medium of database access
JPS6336375A (en) File managing method in data filling device
JP2004334255A (en) Area sharing file management device, member deletion method, and program
JPH05324734A (en) Electronic filing device
JPS62226487A (en) Memory control system for optical disk
JPS636627A (en) Starter os restoring method
JPH01169793A (en) System for moving optical disk management information
JPH04336341A (en) File access control system
JPH07105067A (en) File control system
JPH0628107A (en) File movement system
JP2003085215A (en) Shape display device, shape display method, shape display program and computer readable recording medium recorded with the program

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110213

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110213

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120213

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120213

Year of fee payment: 14