JP2598534B2 - Image and audio data recording device - Google Patents

Image and audio data recording device

Info

Publication number
JP2598534B2
JP2598534B2 JP31779789A JP31779789A JP2598534B2 JP 2598534 B2 JP2598534 B2 JP 2598534B2 JP 31779789 A JP31779789 A JP 31779789A JP 31779789 A JP31779789 A JP 31779789A JP 2598534 B2 JP2598534 B2 JP 2598534B2
Authority
JP
Japan
Prior art keywords
recording
data
unit
image
cluster
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
JP31779789A
Other languages
Japanese (ja)
Other versions
JPH03179982A (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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP31779789A priority Critical patent/JP2598534B2/en
Publication of JPH03179982A publication Critical patent/JPH03179982A/en
Priority to US08/200,573 priority patent/US5682202A/en
Application granted granted Critical
Publication of JP2598534B2 publication Critical patent/JP2598534B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 技術分野 本発明は画像および音声データ圧縮記録装置に関し、
特にあらかじめ複数の記録領域に分割されている記録媒
体に圧縮された画像または音声信号データを記録する装
置に関する。
Description: TECHNICAL FIELD The present invention relates to a video and audio data compression recording device,
In particular, the present invention relates to an apparatus for recording compressed image or audio signal data on a recording medium divided into a plurality of recording areas in advance.

背景技術 画像信号または音声信号のデータを半導体などのメモ
リに記録する場合には、記録容量を少なくするため圧縮
符号化して記録することが行われている。
2. Description of the Related Art When recording image signal or audio signal data in a memory such as a semiconductor, compression encoding is performed to reduce the recording capacity.

このように半導体メモリに画像または音声信号のデー
タを記録する場合に、メモリをあらかじめ同一の記録容
量の複数の領域(クラスタ)に分割し、データの量に応
じて1または複数のクラスタを使用し、データを記録す
ることが本出願人により提案され、たとえば特願平1−
10997号に記載されている。
When recording image or audio signal data in the semiconductor memory as described above, the memory is divided into a plurality of areas (clusters) having the same recording capacity in advance, and one or a plurality of clusters are used according to the amount of data. It is proposed by the present applicant to record data.
No. 10997.

このような記録方法によれば、メモリを複数のクラス
タに分割して、最初のクラスタを管理データ格納用と
し、その他のクラスタを画像データ記録用とする。管理
データ領域にはディレクトリおよびMAT(メモリアロケ
ーションテーブル)を設け、たとえば圧縮された画像デ
ータを複数のクラスタに記録する場合に、管理データ領
域のディレクトリには画像データの先頭のものが記録さ
れるクラスタ番号を、MATには画像データの先頭のもの
が記録されるクラスタ番号に続くクラスタ番号が記録さ
れ、これらの管理データによって画像データの書き込み
および読み出しが管理される。
According to such a recording method, the memory is divided into a plurality of clusters, and the first cluster is used for storing management data, and the other clusters are used for recording image data. A directory and a MAT (memory allocation table) are provided in the management data area. For example, when compressed image data is recorded in a plurality of clusters, a cluster in which the head of the image data is recorded is stored in the directory of the management data area. A cluster number is recorded in the MAT, and a cluster number following a cluster number in which the first one of the image data is recorded. Writing and reading of the image data are managed by these management data.

たとえば新たな画像データがメモリに記録される場合
には、記録される画像データがクラスタ何個分に相当す
るかを判断し、未記録のクラスタがそれ以上の容量であ
ることを確認して記録を行う。
For example, when new image data is recorded in the memory, the number of clusters corresponding to the image data to be recorded is determined, and the unrecorded clusters are confirmed to have a larger capacity before recording. I do.

ところで、画像データの圧縮処理または固定長化処理
に何らかの異常が生じ、本来のデータ長を越えて画像デ
ータが圧縮符号化部から出力された場合にも、これらの
データはメモリへ送られる。したがって、このような場
合にはあらかじめ設定されたクラスタ数を越えるデータ
が送られるため、これらのデータが設定されたクラスタ
数を越えてメモリに記録されることにより、必要なデー
タが破壊される恐れがあった。また、音声データの記録
の場合には、音声データは画像データと異なり、長さが
必ずしも一定ではないため、データ量を一定の長さで打
ち切ることが要求される。
By the way, even if some abnormality occurs in the compression processing or the fixed length processing of the image data and the image data is output from the compression encoding unit beyond the original data length, these data are also sent to the memory. Therefore, in such a case, data exceeding the preset number of clusters is sent, and if these data are recorded in the memory exceeding the preset number of clusters, the necessary data may be destroyed. was there. In addition, in the case of recording audio data, the length of the audio data is not always constant unlike the image data, so that it is required to cut off the data amount at a fixed length.

目 的 本発明はこのような従来技術の欠点を解消し、圧縮処
理、固定長化処理などに異常が発生してデータ長が所定
の量を越える場合にも、これにより他の領域のデータが
影響を受けないようにするため、記録するデータ量を所
定の量で打ち切る画像および音声データ記録装置を提供
することを目的とする。
Objective The present invention solves the drawbacks of the prior art, and even when the data length exceeds a predetermined amount due to an abnormality in the compression processing, fixed length processing, or the like, the data in other areas is thereby reduced. It is an object of the present invention to provide an image and audio data recording device in which the amount of data to be recorded is cut off at a predetermined amount so as not to be affected.

発明の開示 本発明によれば、画像データおよび音声データのすく
なくともいずれかを記録媒体に記録する装置であって、
記録媒体があらかじめ所定の記録容量ごとに複数の単位
記録領域に分割されており、画像および音声データを記
録媒体の複数の単位記録領域に記録する画像および音声
データ記録装置は、記録される画像および音声データを
カウントするデータ量カウント手段と、記録される画像
および音声データを記録する記録媒体の複数の単位記録
領域の指示を記録するアドレス記憶手段と、記録される
画像および音声データと、アドレス記憶手段から出力さ
れるアドレス指示データとを切り換えて出力する切り換
え手段と、アドレス記憶手段に画像および音声データを
記録する記録媒体の複数の単位記録領域の指示を出力す
るとともに、アドレス記憶手段から指示を出力させる制
御手段と、制御手段からアドレス記憶手段に入力される
単位記録領域の指示の数およびアドレス記憶手段から出
力される単位記録領域の指示の数を比較する比較手段と
を有し、比較手段によって、アドレス記憶手段に入力さ
れた単位記録領域の指示の数とアドレス記憶手段から出
力される単位記録領域の指示の数とが等しいことが検出
されると、データ量カウント手段によりカウントされた
データ量に応じて、画像および音声データの出力を制限
するものである。
DISCLOSURE OF THE INVENTION According to the present invention, an apparatus for recording at least one of image data and audio data on a recording medium,
The recording medium is divided into a plurality of unit recording areas for each predetermined recording capacity in advance, and an image and audio data recording apparatus that records image and audio data in a plurality of unit recording areas of the recording medium includes an image and an audio data to be recorded. Data amount counting means for counting audio data, address storage means for recording instructions of a plurality of unit recording areas of a recording medium for recording recorded image and audio data, recorded image and audio data, and address storage Switching means for switching and outputting the address instruction data output from the means; outputting instructions for a plurality of unit recording areas of a recording medium for recording image and audio data to the address storage means; Control means for outputting, and a finger of a unit recording area inputted from the control means to the address storage means. And comparing means for comparing the number of unit recording areas output from the address storage means with the number of unit recording area instructions output from the address storage means. When it is detected that the number of instructions of the unit recording area to be output is equal, the output of image and audio data is limited in accordance with the data amount counted by the data amount counting means.

実施例の説明 次に添付図面を参照して本発明を画像および音声デー
タ圧縮記録装置に適用した実施例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an image and audio data compression recording apparatus will be described in detail with reference to the accompanying drawings.

第1図には、本発明を画像データ圧縮記録装置に適用
した一実施例が示されている。
FIG. 1 shows an embodiment in which the present invention is applied to an image data compression recording apparatus.

本装置は画像データを圧縮符号化するための直交変換
部26および符号化部28を有する。なお、本実施例におい
ては画像データについて説明するが、音声データについ
ても同様に適用できる。直交変換部26にはたとえば電子
スチルカメラにより撮影された画像データが入力され
る。直交変換部26は入力された画像データについて2次
元コサイン変換などの直交変換を行う。直交変換部26か
らの出力は符号化部28に入力される。符号化部28は直交
変換された画像データをハフマン符号化などにより符号
化する。符号化部28からの出力はセレクタ34および符号
量カウンタ32に送られる。
This apparatus has an orthogonal transform unit 26 and an encoding unit 28 for compressing and encoding image data. In the present embodiment, image data will be described, but the present invention can be similarly applied to audio data. Image data captured by, for example, an electronic still camera is input to the orthogonal transform unit 26. The orthogonal transformation unit 26 performs orthogonal transformation such as two-dimensional cosine transformation on the input image data. The output from the orthogonal transform unit 26 is input to the encoding unit 28. The encoding unit 28 encodes the orthogonally transformed image data by Huffman encoding or the like. The output from the encoding unit 28 is sent to the selector 34 and the code amount counter 32.

セレクタ34の他の入力端子にはアドレス発生器18から
後述するクラスタのアドレスが入力される。セレクタ34
は符号化部28から入力される符号化された画像データ
と、アドレス発生器18から入力されるクラスタのアドレ
スとを切り換える。
To the other input terminal of the selector 34, an address of a cluster described later is input from the address generator 18. Selector 34
Switches between the encoded image data input from the encoding unit 28 and the cluster address input from the address generator 18.

符号量カウンタ32は符号化部28から出力される画像デ
ータの量をカウントし、画像データの量がクラスタに記
録されるデータ量に達するとクラスタ切り換え要求信号
を出力する。符号量カウンタ32からのクラスタ切り換え
要求信号は、アドレス発生器18、フリップフロップ回路
22およびセレクタ34に送られる。
The code amount counter 32 counts the amount of image data output from the encoding unit 28, and outputs a cluster switching request signal when the amount of image data reaches the amount of data recorded in a cluster. The cluster switching request signal from the code amount counter 32 is sent to the address generator 18 and the flip-flop circuit.
Sent to 22 and selector 34.

MATRAM(メモリアロケーションテーブルRAM)16に
は、画像データをメモリカード44の複数のクラスタに記
録する場合に必要な各クラスタの番号が記憶される。画
像を記録するにあたり、制御部40があらかじめ、どのク
ラスタが空きであるかを確認し、これらのクラスタにど
のような順序で画像データを記録するかを設定すると、
MATRAM16には制御部40から指示されるこれらのクラスタ
の番号が記憶される。MATRAM16からの出力はアドレス発
生器18に送られる。アドレス発生器18は、MATRAM16から
出力されるクラスタの番号を上位11ビットとし、下位13
ビットをすべて0とする24ビットのアドレスデータを出
力する。下位13ビットをすべて0とする24ビットのアド
レスデータによりクラスタの先頭のアドレスが指定され
る。この24ビットのアドレスデータはメモリカード44に
画像を記録する場合にそのクラスタを示す実アドレスと
なる。
The MATRAM (memory allocation table RAM) 16 stores the number of each cluster necessary for recording image data in a plurality of clusters of the memory card 44. When recording an image, the control unit 40 checks in advance which clusters are empty, and sets the order in which image data is recorded in these clusters.
The MATRAM 16 stores the numbers of these clusters specified by the control unit 40. The output from the MATRAM 16 is sent to an address generator 18. The address generator 18 sets the cluster number output from the MATRAM 16 to the upper 11 bits, and
Outputs 24-bit address data with all bits set to 0. The start address of the cluster is specified by 24-bit address data in which all the lower 13 bits are 0. The 24-bit address data becomes a real address indicating the cluster when an image is recorded on the memory card 44.

本装置はさらに、2つのアドレスカウンタ10、12が設
けられている。アドレスカウンタ10は画像データの記録
にあたり、あらかじめ制御部40からMATRAM16に指示され
るクラスタの数をカウントする。一方、アドレスカウン
タ12は画像データのメモリカード44への記録時において
アドレス発生器18から読み出されるアドレスすなわち、
クラスタの数をカウントする。アドレスカウンタ10およ
び12からの出力はセレクタ14に入力される。セレクタ14
はアドレスカウンタ10または12の出力を選択してMATRAM
16に出力する。セレクタ14は画像記録の前処理時におい
ては、アドレスカウンタ10からの出力をMATRAM16に送
り、画像記録時にはアドレスカウンタ12からの出力をMA
TRAM16に送る。
The device is further provided with two address counters 10,12. The address counter 10 counts the number of clusters instructed by the control unit 40 to the MATRAM 16 before recording image data. On the other hand, the address counter 12 reads the address read from the address generator 18 when the image data is recorded on the memory card 44, that is,
Count the number of clusters. Outputs from the address counters 10 and 12 are input to the selector 14. Selector 14
Selects the output of the address counter 10 or 12 and sets the MATRAM
Output to 16. The selector 14 sends the output from the address counter 10 to the MATRAM 16 at the time of pre-processing of image recording, and outputs the output from the address counter 12 to the MATRAM 16 at the time of image recording.
Send to TRAM16.

アドレスカウンタ10および12からの出力はまた、デー
タ比較器20に送られる。データ比較器20は、アドレスカ
ウンタ10および12のカウント値を比較し、一致した場合
に一致信号を出力する。この一致信号はあらかじめ設定
された数のクラスタへの記録が終了すると、出力され
る。データ比較器20からの出力は、フリップフロップ回
路22のD端子に入力される。一方、フリップフロップ回
路22のCK(クロック)端子には符号量カウンタ32からの
クラスタ切り換え要求信号が入力される。フリップフロ
ップ回路22は符号量カウンタ32からのクラスタ切り換え
要求信号が入力され、かつデータ比較器20から一致信号
が出力された時に、クラスタオーバー信号を出力する。
すなわち、一致信号によってあらかじめ設定された数の
クラスタへの記録の終了が確認され、クラスタ切り換え
要求信号によって次のクラスタのアドレスが出力可能な
状態にされると、クラスタオーバー信号が出力される。
The outputs from address counters 10 and 12 are also sent to data comparator 20. The data comparator 20 compares the count values of the address counters 10 and 12, and outputs a match signal when they match. This coincidence signal is output when recording on a predetermined number of clusters is completed. The output from the data comparator 20 is input to the D terminal of the flip-flop circuit 22. On the other hand, a cluster switching request signal from the code amount counter 32 is input to a CK (clock) terminal of the flip-flop circuit 22. The flip-flop circuit 22 outputs a cluster-over signal when a cluster switching request signal is input from the code amount counter 32 and a coincidence signal is output from the data comparator 20.
That is, the end of recording to a preset number of clusters is confirmed by the coincidence signal, and when the address of the next cluster is made available for output by the cluster switching request signal, a cluster over signal is output.

フリップフロップ回路22からのクラスタオーバー信号
はアンド回路30の一方の入力に入力される。アンド回路
30の他方の入力には符号量カウンタ32からのクラスタ切
り換え要求信号が入力される。アンド回路30は、フリッ
プフロップ回路22からのクラスタオーバー信号および符
号量カウンタ32からのクラスタ切り換え要求信号が入力
されると、C−BUSY信号を出力する。すなわち、クラス
タオーバー信号によって所定の数のクラスタに達したこ
とが検出され、クラスタ切り換え要求信号によって記録
すべきクラスタを越えて次のクラスタへの記録開始状態
となると、C−BUSY信号を出力し、符号化部28からの出
力をストップさせる。C−BUSY信号は、通常は画像デー
タ記録が終了すると、ローレベルに落ち、上記のように
アンドをとることによってハイレベルに戻る(出力され
る)。
The cluster-over signal from the flip-flop circuit 22 is input to one input of the AND circuit 30. AND circuit
A cluster switching request signal from the code amount counter 32 is input to the other input of 30. The AND circuit 30 outputs a C-BUSY signal when the cluster over signal from the flip-flop circuit 22 and the cluster switching request signal from the code amount counter 32 are input. That is, it is detected that a predetermined number of clusters has been reached by the cluster over signal, and when a cluster switching request signal exceeds a cluster to be recorded and a recording start state for the next cluster is started, a C-BUSY signal is output, The output from the encoding unit 28 is stopped. The C-BUSY signal normally falls to a low level when image data recording is completed, and returns (is output) to a high level by performing an AND operation as described above.

フリップフロップ回路22からのクラスタオーバー信号
はまた、3ステートバッファ38に送られる。3ステート
バッファ38は、メモリカード44に記録されるアドレス、
画像データを記憶するとともに、これらのデータの出力
をストップする状態をとることが可能なバッファであ
る。3ステートバッファ38は、フリップフロップ回路22
からのクラスタオーバー信号によりメモリカード44への
データの出力をストップする。
The cluster over signal from the flip-flop circuit 22 is also sent to the three-state buffer 38. The 3-state buffer 38 stores addresses recorded on the memory card 44,
It is a buffer that can store image data and can stop outputting these data. The three-state buffer 38 is connected to the flip-flop circuit 22.
The output of data to the memory card 44 is stopped by the cluster-over signal from.

3ステートバッファ38にはコネクタ42を介してメモリ
カード44が着脱可能に接続されている。メモリカード44
は、半導体メモリを有し、このメモリは前述のように所
定の数のクラスタに分割されている。
A memory card 44 is detachably connected to the three-state buffer 38 via a connector 42. Memory card 44
Has a semiconductor memory, which is divided into a predetermined number of clusters as described above.

ここでメモリカード44におけるデータの記録方式につ
いて簡単に説明する。
Here, a data recording method in the memory card 44 will be briefly described.

第3図に示すように、メモリカード44の記録領域をあ
らかじめ所定の数の均等なクラスタ114に分割し、これ
らのクラスタ114の中から例えば同図に示すように複数
のクラスタ114を選択して1つの画像データ(パケット1
22)を記録する。パケット112を構成する複数のクラス
タ114は連続して設定されることもあり、また同図に示
す例のようにとびとびに設定されることもある。新たな
画像データを記録する場合にはすでに記録されているク
ラスタ以外のクラスタ114の中から所定の数のクラスタ
を選択し、パケット122を構成する。
As shown in FIG. 3, the recording area of the memory card 44 is divided into a predetermined number of uniform clusters 114 in advance, and a plurality of clusters 114 are selected from these clusters 114, for example, as shown in FIG. One image data (packet 1
Record 22). A plurality of clusters 114 constituting the packet 112 may be set continuously, or may be set discretely as in the example shown in FIG. When recording new image data, a predetermined number of clusters are selected from the clusters 114 other than the already recorded clusters, and a packet 122 is formed.

このように画像データの量に応じて所定の数のクラス
タ114を選択し、記録する方式においては、記録された
各画像データのパケット122ごとに、使用されたクラス
タの番号を記録しておくことが画像データの検索および
読み出しのために必要である。そこで、メモリの最初の
クラスタ114に相当する部分を管理領域とし、第4図に
示すように、ヘッダ、パケット情報エリア、ディレクト
リ、MATの各エリアを設ける。同図に示すようにディレ
クトリには各パケット(各画像データ)のスタートクラ
スタが記録される。すなわち、それぞれのパケットが記
録される先頭のクラスタの番号が記録される。また、MA
T(メモリアロケーションテーブル)にはそれぞれのク
ラスタについて、そのクラスタに続いて記録されるクラ
スタの番号が記録される。これらのデータにより画像の
読み出しが容易となる。すなわち、画像データを読み出
す場合に、ディレクトリからその画像データ(パケッ
ト)が記録されている先頭のクラスタの番号を読み出
し、さらにMATからこれに続くクラスタの番号を読み出
すことにより、1まとまりの画像データを読み出すこと
ができる。
In the method of selecting and recording a predetermined number of clusters 114 according to the amount of image data as described above, the number of the used cluster is recorded for each packet 122 of each recorded image data. Is necessary for searching and reading out image data. Therefore, a portion corresponding to the first cluster 114 of the memory is set as a management area, and a header, a packet information area, a directory, and a MAT area are provided as shown in FIG. As shown in the figure, the directory records the start cluster of each packet (each image data). That is, the number of the first cluster in which each packet is recorded is recorded. Also, MA
In T (memory allocation table), for each cluster, the number of the cluster recorded following that cluster is recorded. The reading of the image is facilitated by these data. That is, when image data is read, the number of the first cluster in which the image data (packet) is recorded is read from the directory, and the number of the subsequent cluster is read from the MAT, so that a group of image data is read. Can be read.

本装置はこのような記録方式でメモリカード44に符号
化された画像データを記録する場合において、符号化部
28などに異常が発生して画像データが所定のクラスタ数
を越えて出力された時に、このような余分のデータの記
録を防ぐものである。
This apparatus is used to record encoded image data on the memory card 44 using such a recording method.
This prevents the recording of such extra data when the image data is output beyond a predetermined number of clusters due to an abnormality such as 28.

制御部40は本装置の各部を制御する制御部であり、特
に、画像データを、メモリカード44の複数のクラスタに
記録する場合に、空きクラスタを検索し、空きクラスタ
の中から記録すべきクラスタを選択し、これらのクラス
タの番号をMATRAM16に指示する。
The control unit 40 is a control unit that controls each unit of the present apparatus.In particular, when image data is recorded in a plurality of clusters of the memory card 44, an empty cluster is searched for and a cluster to be recorded is selected from the empty clusters. And instruct the MATRAM 16 of the numbers of these clusters.

第2図のタイミングチャートを参照して本装置の動作
を説明する。
The operation of the present apparatus will be described with reference to the timing chart of FIG.

制御部40は画像データの記憶にあたり、記録すべき圧
縮画像データの量から使用するクラスタ数を判断する。
次に、メモリカード44にすでに記録された画像データを
コネクタ42、3ステートバッファ38を介して読み取り、
メモリカード44のどのクラスタが空いているかを判断す
る。制御部40は記録すべき圧縮画像データが空きクラス
タに記録可能であるか否かを判断し、記録可能な場合に
は、どのクラスタに記録するかを決定する。制御部40は
決定されたクラスタの番号をアドレスカウンタ10に送る
とともにセレクタ14をアドレスカウンタ10側に切り換え
る。
When storing the image data, the control unit 40 determines the number of clusters to be used from the amount of the compressed image data to be recorded.
Next, the image data already recorded on the memory card 44 is read via the connector 42 and the 3-state buffer 38,
It is determined which cluster of the memory card 44 is free. The control unit 40 determines whether or not the compressed image data to be recorded can be recorded in an empty cluster, and if recording is possible, decides in which cluster to record. The control unit 40 sends the determined cluster number to the address counter 10 and switches the selector 14 to the address counter 10 side.

アドレスカウンタ10は制御部40から送られたクラスタ
の番号をカウントし、アドレスカウンタ10からの出力は
セレクタ14を介してMATRAM16に入力される。MATRAM16は
入力されたクラスタの番号、すなわち記録に使用される
クラスタの番号を順次記憶する。制御部40からクラスタ
の番号の出力が終了すると、アドレスカウンタ10はカウ
ントをストップし、クラスタの番号が設定されたままの
状態となる。本実施例においては第2図に示すようにN
個のクラスタを使用して画像データを記録するから、ア
ドレスカウンタ10のカウント値はNでストップする。
The address counter 10 counts the cluster number sent from the control unit 40, and the output from the address counter 10 is input to the MATRAM 16 via the selector 14. The MATRAM 16 sequentially stores the input cluster number, that is, the cluster number used for recording. When the output of the cluster number from the control unit 40 is completed, the address counter 10 stops counting, and the cluster number remains set. In this embodiment, as shown in FIG.
Since the image data is recorded using the clusters, the count value of the address counter 10 stops at N.

クラスタの番号の出力が終了すると、制御部40はMATR
AM16に制御信号を送り、MATRAM16に入力されているクラ
スタの番号のMATRAM16からの出力を開始させる。MATRAM
16は記録に使用されるクラスタの番号を示す11ビットの
アドレスを順次出力する。MATRAM16から出力された11ビ
ットのアドレスはアドレス発生器18に入力され、アドレ
ス発生器18においてこの11ビットを上位アドレスとし、
下位13ビットにそれぞれ0が加えられ、各クラスタの先
頭を示す実アドレスとなってセレクタ34に送られる。
When the output of the cluster number is completed, the control unit 40
A control signal is sent to AM16, and the output of the cluster number input to MATRAM16 from MATRAM16 is started. MATRAM
Reference numeral 16 sequentially outputs 11-bit addresses indicating the numbers of clusters used for recording. The 11-bit address output from the MATRAM 16 is input to an address generator 18, and the address generator 18 sets the 11 bits as an upper address,
The lower 13 bits are each added with 0, and sent to the selector 34 as a real address indicating the head of each cluster.

符号量カウンタ32から制御信号がセレクタ34に送ら
れ、セレクタ34がアドレス発生器18側に切り換えられ、
符号量カウンタ32からのクラスタ切り換え信号がアドレ
ス発生器18に送られると、アドレス発生器18からセレク
タ34に最初のクラスタのアドレスが送られる。このアド
レスはセレクタ34、セレクタ36、3ステートバッファ3
8、コネクタ42を通してメモリカード44に送られ、記録
すべきメモリカード44のクラスタを示すアドレスが指定
される。このアドレスはアドレスカウンタ12にも送られ
る。
A control signal is sent from the code amount counter 32 to the selector 34, and the selector 34 is switched to the address generator 18 side,
When the cluster switching signal from the code amount counter 32 is sent to the address generator 18, the address of the first cluster is sent from the address generator 18 to the selector 34. This address is stored in the selector 34, selector 36, 3-state buffer 3
8. The address is sent to the memory card 44 through the connector 42 and the address indicating the cluster of the memory card 44 to be recorded is specified. This address is also sent to the address counter 12.

次にセレクタ34は符号量カウンタ32からの制御信号に
よって符号化部28側に切り換えられ、符号化部28から出
力される圧縮符号化された画像データがセレクタ34を通
して、メモリカード44の上記アドレスによって指定され
たクラスタに順次記録される。
Next, the selector 34 is switched to the encoding unit 28 side by the control signal from the code amount counter 32, and the compression-encoded image data output from the encoding unit 28 is passed through the selector 34 according to the address of the memory card 44. It is recorded in the designated cluster sequentially.

このようなセレクタ34の切り換え動作が繰り返され、
第2図に示すように、各クラスタの先頭アドレス、その
クラスタに記録される圧縮画像データがクラスタごとに
メモリカード44へ送られる。クラスタの先頭アドレスは
同図に示すように、制御部40から出力されるR/W信号ご
とに8ビットの下位、中位、上位アドレスがそれぞれメ
モリカード44に送られる。メモリカード44にアドレスが
送られ、圧縮画像データが記録される動作が繰り返され
る。アドレス発生器18から出力された各クラスタのアド
レスはアドレスカウンタ12にも送られ、アドレスカウン
タ12はこのクラスタの数をカウントする。
Such a switching operation of the selector 34 is repeated,
As shown in FIG. 2, the head address of each cluster and the compressed image data recorded in that cluster are sent to the memory card 44 for each cluster. As shown in the figure, the lower, middle and upper 8 bit addresses of the cluster are sent to the memory card 44 for each R / W signal output from the control unit 40, as shown in FIG. The operation of transmitting the address to the memory card 44 and recording the compressed image data is repeated. The address of each cluster output from the address generator 18 is also sent to the address counter 12, and the address counter 12 counts the number of the cluster.

このような動作が繰り返されて第2図に示すように所
定の数、すなわちN個のクラスタへの画像データ記録に
よって正常な記録動作は終了する。N個のクラスタの先
頭アドレスがアドレス発生器18から出力されるたびに、
このアドレスは上記のようにアドレスカウンタ12にも送
られ、アドレスカウンタ12はこれをカウントする。した
がって、N個のクラスタのアドレスが出力されると、す
なわち第2図のクラスタ切り換え信号がハイレベル(ア
ドレス発生器側)となると、アドレスカウンタ12の値は
Nに設定される。アドレスカウンタ10および12の値がデ
ータ比較器20に送られ、比較される。アドレスカウンタ
10の値は前記のようにNに設定されているから、アドレ
スカウンタ12からの出力がNとなった時に両方のアドレ
スカウンタ10、12の値が一致し、第2図のA=B信号が
ローレベルとなる。
This operation is repeated, and the normal recording operation is completed by recording image data in a predetermined number, that is, N clusters as shown in FIG. Each time the head address of the N clusters is output from the address generator 18,
This address is also sent to the address counter 12 as described above, and the address counter 12 counts this. Therefore, when the addresses of the N clusters are output, that is, when the cluster switching signal in FIG. 2 goes high (address generator side), the value of the address counter 12 is set to N. The values of the address counters 10 and 12 are sent to the data comparator 20 and compared. Address counter
Since the value of 10 is set to N as described above, when the output from the address counter 12 becomes N, the values of both address counters 10 and 12 match, and the A = B signal in FIG. Low level.

データ比較器20からフリップフロップ回路22へ一致信
号(A=B)が出力される。N+1番目のクラスタに対
応するクラスタ切り換え信号が符号量カウンタ32から出
力されると、フリップフロップ回路22は第2図のクラス
タオーバー信号(ローレベル)を出力する。クラスタオ
ーバー信号が出力される(ローレベルになる)と、3ス
テートバッファ38に送られ、3ステートバッファ38から
メモリカード44へのデータの送出がストップされる。ク
ラスタオーバー信号はまた、アドレスカウンタ12に送ら
れ、アドレスカウンタ12のカウントをリセットする。
A match signal (A = B) is output from the data comparator 20 to the flip-flop circuit 22. When the cluster switching signal corresponding to the (N + 1) th cluster is output from the code amount counter 32, the flip-flop circuit 22 outputs the cluster over signal (low level) shown in FIG. When the cluster-over signal is output (becomes low level), it is sent to the 3-state buffer 38, and the transmission of data from the 3-state buffer 38 to the memory card 44 is stopped. The cluster over signal is also sent to the address counter 12 to reset the count of the address counter 12.

クラスタオーバー信号はさらに、アンド回路30にも送
られる。アンド回路30はクラスタオーバー信号と符号量
カウンタ32からのクラスタ切り換え信号とのアンドをと
ることによりC−BUSY信号を出力する。したがって、N
番目のクラスタのアドレスが送られた時、すなわちクラ
スタ切り換え信号がハイレベルになった時には、クラス
タオーバー信号がハイレベルになっているから、これら
のアンドをとることによってC−BUSY信号がN番目のク
ラスタの画像データ出力開始時に出力される。したがっ
て、N番目のクラスタの画像データが符号化部28から出
力される。C−BUSY信号はN番目のクラスタの画像デー
タの出力が終了するとローレベルに戻り、符号化部28か
らの画像データの出力が停止される。N番目のクラスタ
のデータ送出後は、クラスタオーバー信号がローレベル
となるため、クラスタ切り換え信号がハイレベルになっ
てもC−BUSY信号は出力されず、ローレベルのままであ
る。したがって、符号化部28からの出力が停止される。
これにより、N+1番目のクラスタに相当する画像デー
タを誤って出力することを防ぐことができる。
The cluster over signal is also sent to the AND circuit 30. The AND circuit 30 outputs a C-BUSY signal by ANDing the cluster over signal and the cluster switching signal from the code amount counter 32. Therefore, N
When the address of the cluster is sent, that is, when the cluster switching signal goes high, the cluster-over signal is high. Output when the image data output of the cluster starts. Therefore, the image data of the N-th cluster is output from the encoding unit 28. When the output of the image data of the N-th cluster is completed, the C-BUSY signal returns to the low level, and the output of the image data from the encoding unit 28 is stopped. After the data of the Nth cluster is transmitted, the cluster-over signal becomes low level. Therefore, even if the cluster switching signal becomes high level, the C-BUSY signal is not output and remains at low level. Therefore, the output from the encoding unit 28 is stopped.
This can prevent erroneous output of image data corresponding to the (N + 1) th cluster.

したがって、たとえば符号化部28などに異常が発生
し、正常な動作が行われなくなった場合にも、所定の数
Nを越えて符号化部28からデータを出力するのを防止す
ることができる。
Therefore, even when an abnormality occurs in the encoding unit 28 or the like and normal operation is not performed, it is possible to prevent the encoding unit 28 from outputting data exceeding a predetermined number N.

このように本装置によれば、符号化部28などに異常が
発生した場合にも、所定のクラスタ数を越えて異常デー
タがメモリカード44に記録されるのを防止することがで
きる。したがって、あらかじめ設定したクラスタ内に記
録を抑えることができるから、すでに記録されている必
要なデータが破壊されるのを防止できる。また、符号化
部28から余分な符号化データを出力するのを防止でき
る。
As described above, according to the present apparatus, even when an abnormality occurs in the encoding unit 28 or the like, it is possible to prevent abnormal data from being recorded on the memory card 44 exceeding a predetermined number of clusters. Therefore, since recording can be suppressed in a preset cluster, it is possible to prevent the necessary data already recorded from being destroyed. In addition, it is possible to prevent output of unnecessary encoded data from the encoding unit 28.

上記の実施例は画像データの圧縮記録装置について説
明したが、本発明は画像データに限らず、音声データの
圧縮記録装置についても同様に適用できる。音声データ
の圧縮記録装置に適用した場合には、音声データの記録
を所定の長さで打ち切ることができる。したがって、長
さが一定でない音声圧縮データを記録する場合にも、所
定の数のクラスタの範囲内に記録することができる。
Although the above embodiment has been described with respect to a compression recording apparatus for image data, the present invention is not limited to image data, but can be similarly applied to a compression recording apparatus for audio data. When applied to an audio data compression recording device, recording of audio data can be terminated at a predetermined length. Therefore, even when compressed audio data having a variable length is recorded, it can be recorded within a predetermined number of clusters.

また、上記の実施例は圧縮記録装置について説明して
いるが、本発明は圧縮記録装置に限らず、圧縮されない
データの記憶装置にも適用できる。
Although the above embodiment describes a compression recording device, the present invention is not limited to the compression recording device, but can be applied to a storage device for uncompressed data.

効 果 本発明によれば、記録されるデータの量に異常が発生
した場合にも、所定のクラスタ数を越えて異常データが
メモリカードに記録されるのを防止することができる。
したがって、あらかじめ設定したクラスタ内に記録を押
さえることができるから、すでに記録されている必要な
データが破壊されるのを防止できる。
Effects According to the present invention, even when an abnormality occurs in the amount of data to be recorded, it is possible to prevent abnormal data from being recorded on a memory card exceeding a predetermined number of clusters.
Therefore, since the recording can be suppressed in the cluster set in advance, it is possible to prevent the necessary data already recorded from being destroyed.

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

第1図は本発明を画像データ圧縮記録装置に適用した一
実施例を示すブロック図、 第2図は第1図の装置の動作を示すタイミングチャー
ト、 第3図は第1図の装置によるメモリカードの記憶管理方
式の概念を示す概念図、 第4図は第1図の装置によるメモリカードの記憶管理方
式の説明図である。 主要部分の符号の説明 10,12……アドレスカウンタ 14……セレクタ 16……MATRAM 18……アドレス発生器 20……データ比較器 22……フリップフロップ回路 30……アンド回路 32……符号量カウンタ 34……セレクタ 44……メモリカード
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to an image data compression recording apparatus, FIG. 2 is a timing chart showing the operation of the apparatus shown in FIG. 1, and FIG. 3 is a memory by the apparatus shown in FIG. FIG. 4 is a conceptual diagram showing the concept of a card storage management system. FIG. 4 is an explanatory diagram of a memory card storage management system by the apparatus shown in FIG. Explanation of Signs of Main Parts 10, 12… Address Counter 14… Selector 16… MATRAM 18… Address Generator 20… Data Comparator 22… Flip-Flop Circuit 30… AND Circuit 32… Code Counter 34 ... Selector 44 ... Memory card

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像データおよび音声データのすくなくと
もいずれかを記録媒体に記録する装置であって、前記記
録媒体があらかじめ所定の記録容量ごとに複数の単位記
録領域に分割されており、前記画像および音声データを
前記記録媒体の複数の単位記録領域に記録する画像およ
び音声データ記録装置において、該装置は、 前記記録媒体に記録される画像および音声データのデー
タ量をカウントし、該カウントされるデータ量が前記所
定の記憶容量となると、前記単位記録領域を切り換える
切り換え要求を出力するデータ量カウント手段と、 前記記録される画像および音声データを記録する前記記
録媒体の前記複数の単位記録領域の指示を記録するアド
レス記憶手段と、 前記記録される画像および音声データと、前記アドレス
記憶手段から出力されるアドレス指示データとを切り換
えて出力する切り換え手段と、 前記画像および音声データを記録する前記記録媒体の前
記複数の単位記録領域の指示を前記アドレス記憶手段に
出力するとともに、前記アドレス記憶手段から該指示を
出力させる制御手段と、 前記制御手段から前記アドレス記憶手段に入力される前
記単位記録領域の指示の数と前記アドレス記憶手段から
出力される前記単位記録領域の指示の数とを比較する比
較手段と、 前記画像および音声データの出力を制限する制限手段と
を有し、 該制限手段は前記アドレス記憶手段に入力された前記単
位記録領域の指示の数と前記アドレス記憶手段から出力
される前記単位記録領域の指示の数とが等しいことが前
記比較手段にて検出されると、前記データ量カウント手
段から出力される前記切り換え要求に応じて、前記画像
および音声データの出力を制限することを特徴とする画
像および音声データ記録装置。
An apparatus for recording at least one of image data and audio data on a recording medium, wherein the recording medium is divided into a plurality of unit recording areas for each predetermined recording capacity in advance, and In an image and sound data recording device for recording sound data in a plurality of unit recording areas of the recording medium, the device counts the data amounts of the image and sound data recorded on the recording medium, and Data amount counting means for outputting a switching request for switching the unit recording area when the amount reaches the predetermined storage capacity; and indication of the plurality of unit recording areas of the recording medium for recording the recorded image and audio data. From the address storage unit, and from the address storage unit, Switching means for switching and outputting input address instruction data; outputting instructions of the plurality of unit recording areas of the recording medium for recording the image and audio data to the address storage means; A control unit for outputting the instruction from the control unit; and comparing the number of instructions of the unit recording area input to the address storage unit from the control unit with the number of instructions of the unit recording area output from the address storage unit. And a limiting means for limiting the output of the image and audio data. The limiting means outputs the number of instructions of the unit recording area input to the address storage means and the output from the address storage means. When the comparing means detects that the number of instructions in the unit recording area is equal to the number of instructions, the data amount counting means outputs the same. In response to said change request, the image and audio data recording apparatus characterized by limiting the output of the image and audio data.
【請求項2】請求項1に記載の装置において、前記比較
手段は、2個のカウンタおよび比較器により構成され、
前記2個のカウンタの一方によって前記制御手段から前
記アドレス記憶手段に入力される前記単位記録領域の指
示の数をカウントし、他方によって前記アドレス記憶手
段から出力される前記単位記録領域の指示の数をカウン
トし、前記比較器は、前記2個のカウンタのカウント値
を比較することを特徴とする画像および音声データ記録
装置。
2. The apparatus according to claim 1, wherein said comparing means comprises two counters and a comparator,
One of the two counters counts the number of unit recording area instructions input from the control means to the address storage means, and the other counts the number of unit recording area instructions output from the address storage means. Wherein the comparator compares the count values of the two counters.
JP31779789A 1989-12-08 1989-12-08 Image and audio data recording device Expired - Lifetime JP2598534B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP31779789A JP2598534B2 (en) 1989-12-08 1989-12-08 Image and audio data recording device
US08/200,573 US5682202A (en) 1989-12-08 1994-02-22 Apparatus for recording/reproducing video data in a memory card on a cluster basis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31779789A JP2598534B2 (en) 1989-12-08 1989-12-08 Image and audio data recording device

Publications (2)

Publication Number Publication Date
JPH03179982A JPH03179982A (en) 1991-08-05
JP2598534B2 true JP2598534B2 (en) 1997-04-09

Family

ID=18092149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31779789A Expired - Lifetime JP2598534B2 (en) 1989-12-08 1989-12-08 Image and audio data recording device

Country Status (1)

Country Link
JP (1) JP2598534B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63284987A (en) * 1987-05-18 1988-11-22 Toshiba Corp Electronic still camera
JPH01147976A (en) * 1987-12-04 1989-06-09 Canon Inc Image pickup device

Also Published As

Publication number Publication date
JPH03179982A (en) 1991-08-05

Similar Documents

Publication Publication Date Title
US5226145A (en) Storage management system for memory card using memory allocation table
US5237460A (en) Storage of compressed data on random access storage devices
US6427049B2 (en) Electronic still camera
KR100606486B1 (en) Circulating memory apparatus and image storage and distribution system
JPH0828053B2 (en) Data recording method
US7062603B2 (en) External storage device for selectively storing data between first and second recording media
JP2598534B2 (en) Image and audio data recording device
US5682202A (en) Apparatus for recording/reproducing video data in a memory card on a cluster basis
US5276841A (en) Audio/video data reproducing apparatus which generates end of data transfer signal and which transfers data after communication error without resetting address data
JP4991895B2 (en) Video recording / playback device
JPH04241681A (en) Storage device of compression switching system
EP0490239A2 (en) Storage of compressed data on random access storage devices
JPS6314386B2 (en)
JP2573700B2 (en) Image recording and playback device
JP2573701B2 (en) Image recording and playback device
EP0676757A2 (en) Recording medium having correlation information that represents correlation between physical sectors and logical sectors, recording method for recording data thereto, and reproducing apparatus thereof
KR100239120B1 (en) Device and method for reproducing image record of digital camera
JP2834070B2 (en) Special playback system for image data
JP3170967B2 (en) Data compression device
JP2001273714A (en) Recorder and method for recording
JPH05143406A (en) Information reproducing device
JP3059745B2 (en) Facsimile apparatus and control method thereof
JPH0352384A (en) Variable length coding device
JP3924389B2 (en) Signal processing device
JP3233480B2 (en) Image compression / expansion circuit device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20080109

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100109

Year of fee payment: 13

EXPY Cancellation because of completion of term