JPH08153040A - Picture file device - Google Patents

Picture file device

Info

Publication number
JPH08153040A
JPH08153040A JP6296735A JP29673594A JPH08153040A JP H08153040 A JPH08153040 A JP H08153040A JP 6296735 A JP6296735 A JP 6296735A JP 29673594 A JP29673594 A JP 29673594A JP H08153040 A JPH08153040 A JP H08153040A
Authority
JP
Japan
Prior art keywords
disk
cache buffer
data
buffer memory
disc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6296735A
Other languages
Japanese (ja)
Inventor
Mari Kimura
真理 木村
Kyo Odaka
教 小高
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6296735A priority Critical patent/JPH08153040A/en
Publication of JPH08153040A publication Critical patent/JPH08153040A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE: To improve the efficiency of reading a picture disk. CONSTITUTION: The picture file device reproducing and displaying picture data of a disk specified from a host computer 1 is provided with a cache buffer memory 3 (a buffer, hereafter) holding the volume parts, the directory parts and the reference parameter parts of disks 81 to 8n, a buffer managing table 4 managing the address of each part and a disk exchange detecting means 11. At the time of reading picture data, the managing table is referred to and when data of each part does not exist on the buffer, access is given to a specified disk to read data to be held in the buffer. When data of each part exists on the buffer, the disk exchange detecting means 11 detects the presence of disk exchange. When disk exchange does not exist, data on the buffer is read but when disk exchange exists, data on the buffer of the disk device is canceled, and data is read from a disk and held in the buffer.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多数の静止画像データ
が圧縮されて記録されている光磁気ディスクやCD−R
OMなどの着脱可能なディスクから所望の静止画像デー
タを再生表示する画像ファイル装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magneto-optical disk or a CD-R in which a large number of still image data are compressed and recorded.
The present invention relates to an image file device for reproducing and displaying desired still image data from a removable disk such as an OM.

【0002】[0002]

【従来の技術】従来より、静止画像をディジタル信号に
変換し、JPEG方式を用いて光磁気ディスクやCD−
ROMに圧縮記録し、記録された複数の静止画を組み合
わせながらストーリーを持たせてまとまった作品として
再生する展示型ハイビジョン静止画ディスクシステムが
美術館等で多く利用されている。
2. Description of the Related Art Conventionally, a still image is converted into a digital signal, and a JPEG method is used to read a magneto-optical disk or a CD
BACKGROUND ART Exhibition-type high-definition still image disk systems, which are compressed and recorded in a ROM, and which combine a plurality of recorded still images and play back as a grouped work, are widely used in museums and the like.

【0003】このようなシステムではディスクの種類、
記録フォーマット等が展示型ハイビジョン静止画ディス
クシステム技術ガイドライン((財)ハイビジョン普及
支援センター)として規定されており、画像ディスクの
論理フォーマットはボリューム部、ディレクトリ部、参
照パラメータ部、データ部より構成される。
In such a system, the type of disc,
The recording format, etc. is stipulated as an exhibition-type HDTV still image disc system technical guideline (HDTV Diffusion Support Center), and the image disc logical format consists of a volume part, a directory part, a reference parameter part, and a data part. .

【0004】図2は論理フォーマットの構成の概念図で
ある。ボリューム部は固定のセクターアドレスに1つ存
在し、ディスクの識別、画像データの記録エリアの管理
情報が記録されている部分である。ディレクトリ部は画
像データが記録されているセクターアドレスを記録する
部分であり、画像データの識別はディレクトリに記録さ
れている順番で決まる番号による。
FIG. 2 is a conceptual diagram of a logical format configuration. There is one volume part at a fixed sector address, and is a part where the disc identification and the management information of the image data recording area are recorded. The directory portion is a portion for recording the sector address where the image data is recorded, and the identification of the image data is based on the number determined in the order of recording in the directory.

【0005】参照パラメータ部は画像を再生表示すると
きにディスク内で共通に使用する圧縮パラメータを記録
する部分で固定のセクターアドレスに記録されている。
画像データ部はヘッダーを含む画像データの実体が記録
されている。上記の画像ディスクを複数枚用い、複数台
のディスク装置を備え、ホストコンピュータからの指令
によって指定する画像データを読み出し、再生表示する
画像ファイル装置において、ホストコンピュータから再
生するディスク装置番号nと画像番号mが入力される
と、当該ディスク装置番号nに装着されているディスク
にアクセスし、まずボリューム部を読みだし、ボリュー
ム内の管理情報部よりディレクトリ部のアドレスとサイ
ズを獲得する。
The reference parameter section is a section for recording a compression parameter commonly used in the disc when an image is reproduced and displayed, and is recorded at a fixed sector address.
In the image data section, the substance of the image data including the header is recorded. An image file device for reproducing and displaying image data designated by a command from a host computer by using a plurality of the above-mentioned image discs and a plurality of disc devices, and a disc device number n and an image number to be reproduced from the host computer. When m is input, the disk mounted in the disk device number n is accessed, the volume section is first read, and the address and size of the directory section are acquired from the management information section in the volume.

【0006】次に、獲得したディレクトリ部のアドレス
にアクセスし、前記獲得したサイズ分だけ読み出し、前
記入力された画像番号mのデータのアドレスをディレク
トリ部の先頭からm番目を読み出すことによって獲得
し、データ部のアドレスにアクセスし、まずヘッダーを
読む。画像データには画像の種類、サイズ等が記述され
ており、圧縮データであれば、参照パラメータ部をよみ
だし、伸長するためパラメータをデコード部に設定し、
画像データの実体部を読みだし、伸長し、再生表示す
る。
Next, the acquired address of the directory portion is accessed, the acquired size is read, and the address of the data of the input image number m is acquired by reading the m-th address from the head of the directory portion. Access the address in the data section and read the header first. The image data describes the type, size, etc. of the image. If it is compressed data, read the reference parameter section and set the parameter in the decoding section for decompression,
The actual part of the image data is read, decompressed, and reproduced and displayed.

【0007】通常複数枚のディスクが装着されていると
きに、各ディスク装置に装着されているディスクを識別
するために、使用者はホストコンピュータよりディスク
装置番号を指定し、当該ディスク装置に装着されている
ディスクのボリューム部を読みだし、ディスクの識別情
報等を知る。使用者は再生すべきディスクの装着されて
いるディスク装置番号を知り、ホストコンピュータにデ
ィスク装置番号と画像番号を入力し、画像を再生表示す
ることができる。
Usually, when a plurality of discs are loaded, the user specifies the disc device number from the host computer in order to identify the disc loaded in each disc device, and the disc device is loaded in the disc device. Read the volume part of the disc, and know the disc identification information. The user knows the disc device number in which the disc to be reproduced is mounted, and inputs the disc device number and the image number into the host computer to reproduce and display the image.

【0008】[0008]

【発明が解決しようとする課題】上記の方法において、
画像データを読み出す際には、画像データのアドレスを
得るために常にディスクをアクセスし、ボリューム部を
読み、次にディレクトリ部をアクセスするという動作を
行っていた。すなわち、実際の画像データにアクセスす
るまでにボリューム部、ディレクトリ部、参照パラメー
タ部の3回のディスクへのアクセスが発生する。画像フ
ァイル装置の画像データの再生表示は出来る限り高速性
が求められるが、光磁気ディスクやCD−ROMのアク
セスは一般にハードディスクに比べて遅く、ディスクへ
のアクセスを少なくすることが望まれる。
SUMMARY OF THE INVENTION In the above method,
When reading the image data, the disk is always accessed to obtain the address of the image data, the volume part is read, and then the directory part is accessed. That is, three accesses to the disk, that is, the volume part, the directory part, and the reference parameter part, occur before the actual image data is accessed. The reproduction and display of the image data of the image filing apparatus is required to be as fast as possible, but access to a magneto-optical disk or a CD-ROM is generally slower than that of a hard disk, and it is desirable to reduce access to the disk.

【0009】上記課題を解決するために、画像ファイル
装置内にメモリを設け、ディスクを装着した後、画像を
読み出す前に予め、全てのディスクのボリューム部、デ
ィレクトリ部、圧縮パラメータ部を前記メモリに読み込
んで保持しておき、画像を読み出す際にはボリューム
部、ディレクトリ部、圧縮パラメータ部を前記メモリか
ら読み出す構成が考えられるが、ディスクを交換する毎
に前記メモリにボリューム部、ディレクトリ部、参照パ
ラメータ部を新たに読み込むコマンドをホストコンピュ
ータから入力する操作が発生し、操作のオーバーヘッド
が生じる。
In order to solve the above-mentioned problems, a memory is provided in the image filing apparatus, and after the disc is loaded and before the image is read, the volume part, the directory part and the compression parameter part of all the discs are stored in the memory in advance. A configuration is conceivable in which the volume part, the directory part, and the compression parameter part are read from the memory when reading and holding the image and reading the image, but the volume part, the directory part, and the reference parameter are stored in the memory each time the disk is replaced. An operation of inputting a command for newly reading a copy from the host computer occurs, resulting in an operation overhead.

【0010】本発明は上記課題を解決するものであり、
ディスクアクセスを最小限に抑え、画像の読みだし、そ
の他のディスクにアクセスするコマンドを高速に処理す
る画像ファイル装置を提供することを目的とするもので
ある。
The present invention is to solve the above-mentioned problems.
An object of the present invention is to provide an image filing apparatus that minimizes disk access, reads an image, and processes commands for accessing other disks at high speed.

【0011】[0011]

【課題を解決するための手段】上記課題を解決するため
に本願の第1の発明では、複数枚のディスクが着脱可能
な複数台のディスク装置と、ホストコンピュータとを備
え、ホストコンピュータからの命令により、指定したデ
ィスクの画像データを読み出し、デコードし、再生表示
する画像ファイル装置において、画像データを読み出す
ために必要なディスクのボリューム部、ディレクトリ
部、参照パラメータ部をディスク毎に保持するキャッシ
ュバッファメモリと、保持した各部のキャッシュバッフ
ァメモリ上のアドレスを管理するキャッシュバッファ管
理テーブルと、ディスク装置におけるディスク交換検出
手段を有し、ディスクから画像を読み出し、再生表示す
るコマンドまたは前記ディスクのボリューム部、ディレ
クトリ部、参照パラメータ部のいずれかを読み出すコマ
ンドが前記ホストコンピュータより発行された場合に、
前記管理テーブルを参照し、指定ディスクに対応する必
要な前記各部のデータがキャッシュバッファメモリ上に
存在しなければ、指定ディスクにアクセスし、前記必要
な各部をキャッシュバッファメモリに読み出し、前記管
理テーブルを更新し、前記必要な各部がキャッシュバッ
ファメモリ上に存在すれば、当該ディスク装置のディス
ク交換の有無を検出し、交換が無かったときはキャッシ
ュバッファメモリ上の必要な各部の当該データを読みだ
し、ディスク交換が検出されたときは、当該ディスクの
キャッシュバッファメモリ上の全てのデータを破棄し、
当該ディスクにアクセスし、前記必要な各部を新たにキ
ャッシュバッファメモリに読み出し、前記管理テーブル
を更新する手段を備えたものである。
In order to solve the above problems, according to the first invention of the present application, a plurality of disk devices to which a plurality of disks can be attached and detached and a host computer are provided, and instructions from the host computer are provided. A cache buffer memory that holds, for each disk, the volume part, directory part, and reference parameter part of the disk necessary to read the image data in the image file device that reads, decodes, and displays the image data of the specified disk. And a command for reading and reproducing and displaying an image from a disk, a cache buffer management table that manages the addresses on the cache buffer memory of each part that it holds, and a disk exchange detection means in the disk device, or a volume part of the disk, and a directory. Part, reference para If the command for reading one of the over data unit is issued from the host computer,
If the necessary data of each part corresponding to the designated disk does not exist in the cache buffer memory by referring to the management table, the designated disk is accessed, the necessary parts are read into the cache buffer memory, and the management table is read. Update, if each of the necessary units are present in the cache buffer memory, the presence or absence of disk replacement of the disk device is detected, and if there is no replacement, read the relevant data of the necessary units on the cache buffer memory, When a disk replacement is detected, discard all data on the cache buffer memory of the disk,
It is provided with means for accessing the disk, newly reading the necessary parts into the cache buffer memory, and updating the management table.

【0012】又本願の第2の発明では、電源投入時に装
着されている全てのディスクのボリューム部、ディレク
トリ部、参照パラメータ部を読み出し、キャッシュバッ
ファメモリに保持し、管理テーブルを有効にする手段を
備えたものである。
In the second invention of the present application, there is provided means for reading out the volume part, the directory part and the reference parameter part of all the disks mounted when the power is turned on, holding them in the cache buffer memory, and validating the management table. Be prepared.

【0013】[0013]

【作用】本発明は上記の構成において、画像読みだしコ
マンドやディスクにアクセスするコマンドで、キャッシ
ュバッファに必要なデータ部が無ければ、実際にディス
クにアクセスして、ボリューム部、ディレクトリ部、参
照パラメータ部のうちの必要なデータ部をキャッシュバ
ッファに読み込み保持し、当該コマンドを実行する。キ
ャッシュバッファに必要なデータが保持されていれば、
まず、ディスク交換の有無を検出し、交換が検出されな
い場合、キャッシュバッファのデータは装着されている
ディスクの内容と同一とみなし、キャッシュバッファの
データを用いてコマンドを実行し、交換が検出された場
合は、キャッシュバッファの内容は無効とみなし、破棄
され、新たに必要な前記データ部をディスクから読みだ
し、キャッシュバッファに保持し、コマンドを実行す
る。すなわちディスクを装着してはじめての当該ディス
クの読みだしコマンドまたは当該ディスクへのアクセス
コマンドのみ、ボリューム部、ディレクトリ部、参照パ
ラメータ部を読み出すためにディスクへのアクセスが発
生し、その後の当該ディスクへの読みだし、またはアク
セスコマンドは上記データ部へのアクセスが発生せず、
ディスクアクセスを最小限に抑え、画像の読みだし、そ
の他のディスクにアクセスするコマンドを高速に処理す
ることができる。
According to the present invention, in the above construction, if there is no data portion necessary for the cache buffer in the image reading command or the command for accessing the disk, the disk is actually accessed to access the volume portion, the directory portion and the reference parameter. The necessary data part of the copy is read and held in the cache buffer, and the command is executed. If the cache buffer holds the required data,
First, the presence or absence of disk replacement is detected, and if replacement is not detected, the data in the cache buffer is regarded as the same as the content of the installed disk, the command is executed using the data in the cache buffer, and the replacement is detected. In this case, the contents of the cache buffer are regarded as invalid and discarded, and the newly required data section is read from the disk, held in the cache buffer, and the command is executed. In other words, only the read command or access command to the disc for the first time after mounting the disc causes access to the disc to read the volume part, the directory part, and the reference parameter part, and the subsequent access to the disc. Read or access command does not cause access to the above data part,
Disk access can be minimized, and images can be read and commands for accessing other disks can be processed at high speed.

【0014】さらに使用者がディスクの交換を意識せず
に読みだしコマンドやディスクへのアクセスコマンドを
発行できる画像ファイル装置を提供できる。
Further, it is possible to provide an image filing device in which a user can issue a read command or a disc access command without being aware of disc exchange.

【0015】[0015]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0016】図1は請求項1、2の発明による画像ファ
イル装置の一実施例の構成を示すブロック図であり、本
発明に関わる要部のみを示し、他の部分は省略してあ
る。図1において、1はホストコンピュータであり、画
像表示コマンドやディスクの識別情報表示コマンド等の
コマンドが入力される。2はコントローラ部で、ホスト
コンピュータ1から発行されたコマンドを解釈し、各部
を制御する。
FIG. 1 is a block diagram showing the construction of an embodiment of an image filing apparatus according to the first and second aspects of the present invention. Only the essential parts relating to the present invention are shown and the other parts are omitted. In FIG. 1, reference numeral 1 is a host computer to which commands such as an image display command and a disc identification information display command are input. A controller unit 2 interprets a command issued from the host computer 1 and controls each unit.

【0017】81〜8nはn台のディスク装置であり、
それぞれ装置番号d1〜dnによって識別される。91
〜9nは光磁気ディスクやCD−ROM等の着脱可能な
画像ディスクでディスク装置81〜8nのいずれかに装
着でき、各々のディスク装置に同時にn枚まで装着出来
る。またこれらの画像ディスクの論理フォーマットは従
来例で示した図2の構成となっている。
Reference numerals 81 to 8n are n disk devices,
They are identified by device numbers d1 to dn, respectively. 91
9n are removable image discs such as magneto-optical discs and CD-ROMs that can be mounted in any of the disc devices 81-8n, and up to n discs can be mounted in each disc device at the same time. The logical format of these image disks has the configuration of FIG. 2 shown in the conventional example.

【0018】3は画像ディスクから読みだしたボリュー
ム部、ディレクトリ部、参照パラメータ部を保持するキ
ャッシュバッファメモリ、4はキャッシュバッファメモ
リ3に保持された各画像ディスク毎のボリューム部、デ
ィレクトリ部、参照パラメータ部の各々の先頭アドレス
を管理するキャッシュバッファ管理テーブルである。
Reference numeral 3 denotes a cache buffer memory for holding a volume portion, directory portion, and reference parameter portion read from the image disc, and 4 denotes a volume portion, directory portion, reference parameter for each image disc held in the cache buffer memory 3. It is a cache buffer management table that manages the head address of each copy.

【0019】11はディスク交換検出手段で、ホストコ
ンピュータ1より画像ディスクからボリューム部、ディ
レクトリ部、参照パラメータ部のいずれかを読み出すコ
マンドが発行された場合に、キャッシュバッファメモリ
3上に上記の該当部が存在するならばコントローラ部2
より該当ディスク装置のディスク交換の有無をチェック
する命令を受け、該当ディスク装置のディスクの交換の
有無をチェックする。
Reference numeral 11 denotes a disk exchange detection means, which is used when the host computer 1 issues a command to read out any of the volume section, the directory section and the reference parameter section from the image disk. If there exists, the controller unit 2
In response to the instruction to check whether or not the disk of the corresponding disk device is exchanged, it is checked whether or not the disk of the corresponding disk device is exchanged.

【0020】ディスク交換を検出する手段は例えば、光
磁気ディスクやCD−ROMのディスク装置では固有の
コマンドを当該ディスク装置に発行し、ディスク装置の
ステータスを読み込み、その内容で判断することによっ
て実現される。5はデコーダ部で読み出した圧縮画像デ
ータを伸長し、復元した画像を6の画像メモリに書き込
む。また読みだした画像データが非圧縮であればデコー
ダ部5を介さず直接画像メモリ6に書き込まれる。
The means for detecting the disk exchange is realized, for example, in a disk device such as a magneto-optical disk or a CD-ROM, by issuing a unique command to the disk device, reading the status of the disk device, and judging by the contents. It Reference numeral 5 decompresses the compressed image data read by the decoder unit and writes the restored image into the image memory 6. If the read image data is uncompressed, it is directly written in the image memory 6 without going through the decoder unit 5.

【0021】7は表示部で画像メモリの内容をモニター
10に出力する。また図3はキャッシュバッファメモリ
3とキャッシュバッファ管理テーブル4の構成を示した
図である。キャッシュバッファ管理テーブル4は各ディ
スク装置番号毎にボリューム部、ディレクトリ部、参照
パラメータ部のキャッシュバッファメモリ3上のアドレ
スが格納される。キャッシュバッファメモリ上に各部の
データが保持されていないときは、キャッシュバッファ
管理テーブル4の各部のアドレスは0となっている。
A display unit 7 outputs the contents of the image memory to the monitor 10. FIG. 3 is a diagram showing the configurations of the cache buffer memory 3 and the cache buffer management table 4. The cache buffer management table 4 stores the addresses on the cache buffer memory 3 of the volume part, the directory part, and the reference parameter part for each disk device number. When the data of each part is not held in the cache buffer memory, the address of each part of the cache buffer management table 4 is 0.

【0022】従ってコントローラ2は各部のアドレスが
0か否かでキャッシュバッファメモリ上に当該データが
存在するかしないかを判断する。図4は電源投入直後の
画像ファイル装置のキャッシュバッファ管理テーブルの
状態を示した図で、すべての各部のアドレスは0となっ
ている。
Therefore, the controller 2 determines whether or not the data exists in the cache buffer memory depending on whether the address of each unit is 0 or not. FIG. 4 is a diagram showing the state of the cache buffer management table of the image file apparatus immediately after the power is turned on, and the addresses of all parts are 0.

【0023】以下本実施例を用いた場合の画像の再生表
示コマンドの動作について図5のフローチャートを用い
て説明する。
The operation of the image reproduction / display command when this embodiment is used will be described below with reference to the flowchart of FIG.

【0024】S1でホストコンピュータ1よりディスク
装置N、画像番号Mが指定され、画像再生表示コマンド
が入力される。コントローラ部2では画像再生表示コマ
ンドを受信し、S2以降の動作を行う。S2でキャッシ
ュバッファ管理テーブル3のディスク装置Nに対応する
ディレクトリ部のアドレスを参照する。S3で前記ディ
レクトリ部のアドレスが0か否かでキャッシュバッファ
メモリ3上にディスク装置Nのディレクトリ部が存在す
るかどうかを判断する。
In S1, the disk device N and the image number M are designated by the host computer 1, and the image reproduction display command is input. The controller unit 2 receives the image reproduction display command, and performs the operations after S2. In S2, the address of the directory portion corresponding to the disk device N in the cache buffer management table 3 is referred to. In S3, it is determined whether or not the directory portion of the disk device N exists on the cache buffer memory 3 depending on whether the address of the directory portion is 0 or not.

【0025】アドレスが0ならばキャッシュバッファメ
モリ3上に存在せず、それ以外ではキャッシュバッファ
メモリ3上のそのアドレスにディレクトリ部は存在す
る。S3でディレクトリ部が存在する場合、S4でディ
スク交検出手段11はディスク装置Nのディスクの交換
の有無をチェックする。S4でディスク交換が検出され
なかった場合、S5でキャッシュバッファメモリ上の前
記ディレクトリ部を参照し、先頭アドレスからM番目の
アドレスを読みだし、画像番号Mのディスク上のデータ
先頭アドレスを得る。
If the address is 0, it does not exist in the cache buffer memory 3, and in other cases, the directory portion exists at that address in the cache buffer memory 3. If the directory portion exists in S3, the disc exchange detecting means 11 checks in S4 whether or not the disc of the disc device N has been replaced. When the disk exchange is not detected in S4, the directory section on the cache buffer memory is referred to in S5, the Mth address is read from the start address, and the data start address on the disk of the image number M is obtained.

【0026】一方S3でキャッシュバッファメモリ3に
ディレクトリ部が存在しない場合、S6でキャッシュバ
ッファ管理テーブル3のディスク装置Nに対応するボリ
ューム部のアドレスを参照し、S7で前記ボリューム部
のアドレスが0か否かでキャッシュバッファメモリ3上
にディスク装置Nのボリューム部が存在するかどうかを
判断する。アドレスが0ならばキャッシュバッファメモ
リ3上に存在せず、それ以外ではキャッシュバッファメ
モリ3上のそのアドレスにボリューム部は存在する。
On the other hand, if the directory portion does not exist in the cache buffer memory 3 in S3, the address of the volume portion corresponding to the disk device N of the cache buffer management table 3 is referred to in S6, and the address of the volume portion is 0 in S7. Whether or not the volume portion of the disk device N exists on the cache buffer memory 3 is determined. If the address is 0, it does not exist in the cache buffer memory 3, and otherwise, the volume part exists at that address in the cache buffer memory 3.

【0027】S7の判定でボリューム部が存在する場
合、S8でディスク交検出手段11によりディスク装置
Nのディスクの交換の有無をチェックする。S8でディ
スク交換が検出されなかった場合、S9でキャッシュバ
ッファメモリ上の前記ボリューム部を参照し、該当ディ
スク上のディレクトリ部の先頭アドレスとサイズを得
て、S10でディスク装置Nのディスクよりディレクト
リ部をキャッシュバッファメモリ3に読み出し、S11
でキャッシュバッファ管理テーブル4のディスク装置N
に対応するディレクトリ部のアドレスを更新する。その
後S5の処理に進む。
If the volume portion exists in the determination in S7, the disc exchange detecting means 11 checks in S8 whether or not the disc of the disc device N has been replaced. When the disk exchange is not detected in S8, the volume section on the cache buffer memory is referred to in S9 to obtain the start address and size of the directory section on the corresponding disk, and in S10, the directory section is read from the disk of the disk device N. Is read to the cache buffer memory 3 and S11
And the disk device N of the cache buffer management table 4
The address of the directory part corresponding to is updated. After that, the process proceeds to S5.

【0028】また、S7においてキャッシュバッファメ
モリ3にボリューム部が存在しないときは、S12でデ
ィスク装置Nのディスクにアクセスし、ボリューム部を
読み出し、キャッシュバッファメモリ3に保持し、S1
3でキャッシュバッファ管理テーブル4のディスク装置
Nに対応するボリューム部のアドレスを更新し、その後
S9の処理に進む。
If the volume portion does not exist in the cache buffer memory 3 in S7, the disk of the disk device N is accessed in S12, the volume portion is read out and held in the cache buffer memory 3, and S1
In 3 the address of the volume part corresponding to the disk device N in the cache buffer management table 4 is updated, after which the process proceeds to S9.

【0029】また、S8においてディスク交換が検出さ
れた場合、S14でキャッシュバッファメモリ上に存在
するディスク装置Nの全てのデータを破棄し、ディスク
管理テーブル4のディスク装置Nに対応する各部のアド
レスを0に初期化し、S12の処理へ進む。また同様に
S4でディスク交換が検出された場合、S15でキャッ
シュバッファメモリ上に存在するディスク装置Nの全て
のデータを破棄し、ディスク管理テーブル4のディスク
装置Nに対応する各部のアドレスを0に初期化し、S1
2の処理へ進む。
When the disk exchange is detected in S8, all the data of the disk device N existing in the cache buffer memory is discarded in S14, and the address of each part corresponding to the disk device N of the disk management table 4 is set. It is initialized to 0 and the process proceeds to S12. Similarly, when the disk exchange is detected in S4, all the data of the disk device N existing in the cache buffer memory is discarded in S15, and the address of each part corresponding to the disk device N of the disk management table 4 is set to 0. Initialize, S1
Proceed to step 2.

【0030】上記に説明したようにキャッシュバッフ
ァ、またはディスクからディレクトリ部を読みだし、指
定番号の画像データアドレスを得て、S16で当該ディ
スク装置Nにアクセスし、前記獲得した、アドレスから
まず画像データ部のヘッダー情報のみを読み出す。
As described above, the directory portion is read from the cache buffer or the disc, the image data address of the designated number is obtained, the disc device N is accessed in S16, and the image data is first obtained from the obtained address. Read only the header information of the copy.

【0031】次にS17でヘッダー情報より当該画像デ
ータが圧縮データか非圧縮データかを判断する。圧縮デ
ータであれば、S18でキャッシュバッファ管理テーブ
ル3のディスク装置Nに対応する参照パラメータ部のア
ドレスを参照し、S19で前記参照パラメータ部のアド
レスが0か否かでキャッシュバッファメモリ3上にディ
スク装置Nの参照パラメータ部が存在するかどうかを判
断する。存在する場合、S20でディスク装置Nのディ
スク交換の有無をチェックする。S20でディスク交換
が検出され無かった場合、S23でキャッシュバッファ
メモリ上に存在するディスク装置Nの参照パラメータ部
を読みだし、伸長するためのパラメータをデコーダ部5
に設定する。
Next, in S17, it is determined from the header information whether the image data is compressed data or uncompressed data. If it is compressed data, the address of the reference parameter portion corresponding to the disk device N of the cache buffer management table 3 is referred to in S18, and the disk is stored in the cache buffer memory 3 depending on whether the address of the reference parameter portion is 0 in S19. It is determined whether the reference parameter part of the device N exists. If it exists, it is checked in S20 whether the disk of the disk device N has been replaced. If the disk exchange is not detected in S20, the decoder unit 5 reads out the reference parameter portion of the disk device N existing on the cache buffer memory and decompresses the parameter in S23.
Set to.

【0032】次にS24でディスク装置Nのディスクに
アクセスし、画像データの本体部を読みだし、デコーダ
部を介して、伸長した画像データを画像メモリ6に書き
込み、S25で表示部7を介して、画像メモリ6の内容
を表示し、コマンドの処理が終了する。
Next, in S24, the disk of the disk device N is accessed, the main body of the image data is read, the expanded image data is written in the image memory 6 via the decoder unit, and in S25 via the display unit 7. , The contents of the image memory 6 are displayed, and the command processing ends.

【0033】一方S17で読み出す画像データMが非圧
縮の場合、S26でデコーダ部を介さず、直接、画像メ
モリ6に画像データの本体部を読み出し、S25に進
む。またS20でディスク交換が検出された場合、コマ
ンド処理中にディスク交換が発生したことになる。S2
7でキャッシュバッファメモリ3上のディスク装置Nの
全てのデータを破棄し、ディスク管理テーブル4のディ
スク装置Nに対応する各部のアドレスを0に初期化す
る。
On the other hand, if the image data M to be read in S17 is uncompressed, the main body of the image data is directly read into the image memory 6 without passing through the decoder section in S26, and the process proceeds to S25. When the disk exchange is detected in S20, it means that the disk exchange has occurred during the command processing. S2
At 7, all the data of the disk device N on the cache buffer memory 3 is discarded, and the address of each part corresponding to the disk device N of the disk management table 4 is initialized to 0.

【0034】次にS28でディスク装置Nにアクセス
し、参照パラメータ部を読み出し、S29でキャッシュ
バッファに前記参照パラメータ部を保持し、キャッシュ
バッファ管理テーブル3のディスク装置Nの参照パラメ
ータ部のアドレスを更新する。その後S30でコマンド
処理中にディスク交換が有ったことをホストコンピュー
タに知らせ、ホストコンピュータはエラーを表示する等
のエラー処理を行い、処理を中断させる。
Next, the disk device N is accessed in S28, the reference parameter part is read out, the reference parameter part is held in the cache buffer in S29, and the address of the reference parameter part of the disk device N in the cache buffer management table 3 is updated. To do. After that, in S30, the host computer is notified that the disk has been replaced during the command processing, and the host computer performs error processing such as displaying an error and interrupts the processing.

【0035】以上のようにディスクのボリューム部、デ
ィレクトリ部、参照パラメータ部を参照する必要のある
コマンドにおいて、各部のデータはキャッシュバッファ
上にあればキャッシュバッファから読みだし、キャッシ
ュバッファ上に無ければディスクから読みだし、キャッ
シュバッファ上に保持し、そのアドレスを管理テーブル
によって管理することにより、次回同一ディスクに対し
て上記のコマンドが発行された場合、ディスクにアクセ
スすること無く高速に各部の必要なデータが参照でき
る。
As described above, in the command that needs to refer to the volume part, directory part, and reference parameter part of the disk, the data of each part is read from the cache buffer if it is in the cache buffer, and if it is not in the cache buffer, the disk is read. When the above command is issued to the same disk the next time, the necessary data for each part will be read quickly without accessing the disk by reading the data from the disk, holding it in the cache buffer, and managing its address using the management table. Can be referred to.

【0036】すなわち、前記コマンドにおいてディスク
にアクセスして各部のデータを読み出すのは、画像ファ
イル装置の電源投入後、当該各部を必要とする1回目に
出されるコマンド、及びディスクを交換したディスク装
置に対して当該各部を必要とする1回目に出されるコマ
ンドのみとなり、次回以降の同一ディスクに対するコマ
ンドはキャッシュバッファ上のデータを参照出来るの
で、コマンド処理の高速化がはかれる。
That is, in the above command, the disk is accessed and the data of each section is read out by the first command that requires each section after the power of the image file apparatus is turned on, and the disk apparatus in which the disk is replaced. On the other hand, only the first command that requires each part is issued, and the commands for the same disk from the next time onward can refer to the data in the cache buffer, so that the command processing can be speeded up.

【0037】また、キャッシュバッファ上のデータを参
照する場合に、キャッシュバッファ上のデータが現在当
該ディスク装置に装着されている画像ディスクのものと
一致しているかを確認するために必ず当該ディスク装置
に対してディスク交換の有無をチェックし、ディスク交
換が検出された場合、当該ディスク装置番号の保持して
いるキャッシュバッファ上のデータを全て破棄し、新た
に当該ディスク装置に装着されているディスクから必要
な各部のデータを読みだし、キャッシュバッファを更新
する。
Further, when referring to the data in the cache buffer, the data in the cache buffer must be checked by the disk device in order to confirm that the data in the image disk is currently loaded in the disk device. On the other hand, it is checked whether or not the disk has been replaced, and if it is detected that the disk has been replaced, all the data in the cache buffer held by the disk unit number is discarded, and it is necessary from the disk newly installed in the disk unit. The data of each part is read and the cache buffer is updated.

【0038】これにより、コマンドを発行する使用者は
ディスクの交換を意識することなく、現在装着されてい
るディスクを正しく読み出すことができる。
As a result, the user who issues the command can correctly read the currently mounted disc without being aware of disc replacement.

【0039】また請求項2の発明の実施例では、図1に
おいて画像ファイル装置の電源が投入されると、コント
ローラ部2に組み込まれたプログラムにより、接続され
ているディスク装置81から8nに対してそれぞれのデ
ィスクのボリューム部、ディレクトリ部、参照パラメー
タ部を全て読みだし、キャッシュバッファメモリ3に保
持し、キャッシュバッファ管理テーブル4に各部のキャ
ッシュバッファメモリ3上の先頭アドレスを書き込む。
すなわち電源投入時に装着されている、ディスクの全て
の各部のデータがキャッシュメモリ上に存在するので、
1回目のコマンドから高速に処理できる。
In the second embodiment of the invention, when the power of the image filing apparatus in FIG. 1 is turned on, the programs installed in the controller section 2 cause the connected disk apparatuses 81 to 8n to be connected. The volume part, the directory part, and the reference parameter part of each disk are all read and held in the cache buffer memory 3, and the head address of each part on the cache buffer memory 3 is written in the cache buffer management table 4.
That is, since the data of all the respective parts of the disk, which are mounted when the power is turned on, exist in the cache memory,
High-speed processing is possible from the first command.

【0040】[0040]

【発明の効果】以上詳細に説明したように、本願の請求
項1、2の発明によれば、ディスクにアクセスするコマ
ンドで共通に使用する必要なデータをキャッシュバッフ
ァに保持することにより、画像の再生表示その他のディ
スクにアクセスするコマンドの。ディスクアクセスを効
率的に最小限に抑え、ディスクにアクセスするコマンド
を高速に処理することができる。さらに使用者がディス
クの交換を意識せずに読みだしコマンドやディスクへの
アクセスコマンドを発行できる画像ファイル装置を提供
できる。
As described in detail above, according to the first and second aspects of the present invention, by holding in the cache buffer the necessary data commonly used by the commands to access the disk, the image data Playback display of other commands to access the disc. Disk access can be efficiently minimized and commands for accessing the disk can be processed at high speed. Further, it is possible to provide an image filing device in which a user can issue a read command or a disc access command without being aware of disc exchange.

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

【図1】本願の請求項1、2の発明の実施例の画像ファ
イル装置の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of an image filing device according to an embodiment of the invention of claims 1 and 2 of the present application.

【図2】本発明による画像ファイル装置で使用される画
像ディスクの論理フォーマットの模式図
FIG. 2 is a schematic diagram of a logical format of an image disc used in an image filing apparatus according to the present invention.

【図3】本発明による画像ファイル装置のキャッシュバ
ッファメモリとキャッシュバッファ管理テーブルの模式
FIG. 3 is a schematic diagram of a cache buffer memory and a cache buffer management table of the image file device according to the present invention.

【図4】図3によるキャッシュバッファ管理テーブルの
初期状態を示した模式図
4 is a schematic diagram showing an initial state of a cache buffer management table according to FIG.

【図5】同実施例を用いた画像再生表示コマンドの制御
手順のフローを示したフローチャート
FIG. 5 is a flowchart showing a flow of a control procedure of an image reproduction display command using the same embodiment.

【符号の説明】 1 ホストコンピュータ 2 コントローラ部 3 キャッシュバッファメモリ 4 キャッシュバッファ管理テーブル 5 デコーダ部 6 画像メモリ 7 表示部 10 モニター 11 ディスク交換検出手段 81〜8n ディスク装置 91〜9n 画像ディスク[Explanation of Codes] 1 host computer 2 controller section 3 cache buffer memory 4 cache buffer management table 5 decoder section 6 image memory 7 display section 10 monitor 11 disk replacement detection means 81-8n disk device 91-9n image disk

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数枚のディスクが着脱可能な複数台のデ
ィスク装置と、ホストコンピュータとを備え、ホストコ
ンピュータからの命令により、指定したディスクの画像
データを読み出し、デコードし、再生表示する画像ファ
イル装置において、画像データを読み出すために必要な
ディスクのボリューム部、ディレクトリ部、参照パラメ
ータ部をディスク毎に保持するキャッシュバッファメモ
リと、保持した各部のキャッシュバッファメモリ上のア
ドレスを管理するキャッシュバッファ管理テーブルと、
ディスク装置におけるディスク交換検出手段を有し、デ
ィスクから画像を読み出し、再生表示するコマンドまた
は前記ディスクのボリューム部、ディレクトリ部、参照
パラメータ部のいずれかを読み出すコマンドが前記ホス
トコンピュータより発行された場合に、前記管理テーブ
ルを参照し、指定ディスクに対応する必要な前記各部の
データがキャッシュバッファメモリ上に存在しなけれ
ば、指定ディスクにアクセスし、前記必要な各部をキャ
ッシュバッファメモリに読み出し、前記管理テーブルを
更新し、前記必要な各部がキャッシュバッファメモリ上
に存在すれば、当該ディスク装置のディスク交換の有無
を検出し、交換が無かったときはキャッシュバッファメ
モリ上の必要な各部の当該データを読みだし、ディスク
交換が検出されたときは、当該ディスクのキャッシュバ
ッファメモリ上の全てのデータを破棄し、当該ディスク
にアクセスし、前記必要な各部を新たにキャッシュバッ
ファメモリに読み出し、前記管理テーブルを更新するこ
とを特徴とする画像ファイル装置。
1. An image file comprising a plurality of disc devices to which a plurality of discs can be attached and detached, and a host computer, wherein image data of a designated disc is read, decoded, reproduced and displayed according to an instruction from the host computer. In the device, a cache buffer memory that holds a volume part, a directory part, and a reference parameter part of a disk necessary for reading image data for each disk, and a cache buffer management table that manages addresses on the cache buffer memory of each part that is held When,
When the host computer issues a command for reading and reproducing and displaying an image from the disc or a command for reading out any of the volume portion, directory portion, and reference parameter portion of the disc, which has disc exchange detection means in the disc device. If the necessary data of each part corresponding to the designated disk does not exist in the cache buffer memory by referring to the management table, the designated disk is accessed, the necessary parts are read into the cache buffer memory, and the management table is stored. If the necessary parts are present in the cache buffer memory, the presence / absence of disk replacement in the disk device is detected, and if there is no replacement, the corresponding data in the necessary parts in the cache buffer memory is read out. , A disk swap was detected The image file device characterized by discarding all data on the cache buffer memory of the disk, accessing the disk, newly reading the necessary parts into the cache buffer memory, and updating the management table. .
【請求項2】電源投入時にディスク装置に装着されてい
る全てのディスクのボリューム部、ディレクトリ部、参
照パラメータ部を読み出し、各ディスク毎にキャッシュ
バッファメモリに保持し、前記管理テーブルを有効にす
ることを特徴とする請求項1記載の画像ファイル装置。
2. A volume section, a directory section, and a reference parameter section of all the disks mounted in the disk device when the power is turned on are read, held in the cache buffer memory for each disk, and the management table is validated. The image file device according to claim 1, wherein
JP6296735A 1994-11-30 1994-11-30 Picture file device Pending JPH08153040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6296735A JPH08153040A (en) 1994-11-30 1994-11-30 Picture file device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6296735A JPH08153040A (en) 1994-11-30 1994-11-30 Picture file device

Publications (1)

Publication Number Publication Date
JPH08153040A true JPH08153040A (en) 1996-06-11

Family

ID=17837427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6296735A Pending JPH08153040A (en) 1994-11-30 1994-11-30 Picture file device

Country Status (1)

Country Link
JP (1) JPH08153040A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7697379B2 (en) 2004-09-28 2010-04-13 Canon Kabushiki Kaisha Information processing apparatus and its control method, program, and storage medium
US8412020B2 (en) 2004-09-21 2013-04-02 Canon Kabushiki Kaisha Data processing apparatus and its control method, program, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8412020B2 (en) 2004-09-21 2013-04-02 Canon Kabushiki Kaisha Data processing apparatus and its control method, program, and storage medium
US7697379B2 (en) 2004-09-28 2010-04-13 Canon Kabushiki Kaisha Information processing apparatus and its control method, program, and storage medium

Similar Documents

Publication Publication Date Title
US6449687B1 (en) Computer readable medium and information processing apparatus
TW486690B (en) Apparatuses and method for recording data, reproducing data, recording data reproducing, and transmission medium
US7460766B2 (en) Recording medium having recorded thereon a data structure capable of linking and reproducing audio data and video data, and method and apparatus of recording/reproducing using the data structure
US6111592A (en) DMA data transfer apparatus, motion picture decoding apparatus using the same, and DMA data transfer method
JPH04236589A (en) Data processing system provided with cd-rom drive
JPH11327800A (en) Data copying method for disk recording medium and disk recording medium
US5940358A (en) CD-R recording circuit with formatter to increase rate of generating control signals
JPH08153040A (en) Picture file device
KR19990060321A (en) Processing Method of Defect Sector Data in Digital Video Disc-RAM System
JPH10161630A (en) Dynamic image data output device and method for betting its environment
JP3461930B2 (en) Information recording / reproducing device
JPH07200182A (en) Information processor
EP1434223B1 (en) Method and apparatus for multiple data access with pre-load and after-write buffers in a video recorder with disk drive
JP2000276857A (en) Data recording device, data recording method, data reproducing device and data reproducing method
JP2003006998A (en) File recording apparatus and file recording method
JPH11176103A (en) Digital information recording and reproducing system and defect control method applied to the system
JP2008171566A (en) Device and method for reproducing data, and device and method for recording data
KR100385949B1 (en) Method for compensating data for optical disc and apparatus thereof
JP2009104410A (en) Data recording device, internal control method thereof, and data recording system
JP2000152141A (en) Information storage medium and moving image and sound recording and reproducing device
JP5063382B2 (en) Recording / reproducing apparatus, recording apparatus and reproducing apparatus
JPH07240065A (en) Disk driving device
JP2001211412A (en) High-speed av information server and its magnetic disk device adding method
JPH0764730A (en) Transferring method for image/voice data
KR100228670B1 (en) Efficient memory managing device of optical disc reproduction system