JP2007018695A - Compressed information storage device - Google Patents

Compressed information storage device Download PDF

Info

Publication number
JP2007018695A
JP2007018695A JP2006212609A JP2006212609A JP2007018695A JP 2007018695 A JP2007018695 A JP 2007018695A JP 2006212609 A JP2006212609 A JP 2006212609A JP 2006212609 A JP2006212609 A JP 2006212609A JP 2007018695 A JP2007018695 A JP 2007018695A
Authority
JP
Japan
Prior art keywords
compression
buffer memory
information
data
rate
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.)
Granted
Application number
JP2006212609A
Other languages
Japanese (ja)
Other versions
JP4531730B2 (en
Inventor
Atsushi Akiyama
淳 秋山
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2006212609A priority Critical patent/JP4531730B2/en
Publication of JP2007018695A publication Critical patent/JP2007018695A/en
Application granted granted Critical
Publication of JP4531730B2 publication Critical patent/JP4531730B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an inexpensive and high vibration resistant device by increasing a compression rate of an information amount to reduce the storage capacity of a temporary storage means when the storage device is in a storage disabled state. <P>SOLUTION: This device is provided with a compression circuit 1 for compressing digital information from a camera part 8 to generate compressed information, a buffer memory 2 for temporarily storing the compressed information, a disk device 4 for storing the compressed information from the buffer memory 2 at a rate faster than that of storage in the buffer memory 2, and a system controller 5 for detecting the recording disabled state of the disk device 4 to increase the compression rate of the compression circuit. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、情報記憶装置に関し、特に、情報を圧縮して記憶する圧縮情報記憶装置に関する。   The present invention relates to an information storage device, and more particularly to a compressed information storage device that compresses and stores information.

近年、画像情報や音声情報をはじめとする各種の情報がデジタル化されるにつれてデジタル情報の量が飛躍的に増大して来た。これに伴い、情報記憶装置の大容量化、高密度化が推進されるとともに、デジタル信号処理によって情報量を圧縮する技術が導入されてきた。   In recent years, the amount of digital information has increased dramatically as various types of information including image information and audio information have been digitized. Along with this, an increase in capacity and density of information storage devices has been promoted, and a technique for compressing the amount of information by digital signal processing has been introduced.

例えば、画素数640×480、1画素当たりRGB各8ビットの画像を30画面/秒で記録再生する場合、1秒当たり約220Mビットの情報が発生し、これを2時間分記憶するには、約200GBの記憶容量が必要になる。この膨大な情報を圧縮処理することにより、転送レートで4〜5Mbps、2時間分の記憶容量で数GBにまで圧縮することが可能になって来ている。この画像圧縮のように、1/100倍に近い圧縮処理を行なう場合、圧縮した情報を伸長処理しても元の情報と全く同じ情報に戻すことは出来ない。このため、圧縮による画質の劣化が発生する。一般に、圧縮率を高くすればするほど、すなわち情報量を少なくすればするほど、画質の劣化が目立ってくる。そこで、画質の劣化が発生し易い動きの激しい場面の画像に対しては、多くの情報量を割り当て、逆に動きの小さな場面の画像に対しては、少ない情報量を割り当てる方法が提案されている。この方法によれば、画像に応じて情報量の割り当てを変化させるため、言い換えると、画像に応じて情報量の圧縮率を変化させるため、画質の劣化を低減できる。   For example, when recording / reproducing an RGB image of 8 bits for each pixel of 640 × 480 at 30 screens / second, information of about 220 Mbits per second is generated and stored for 2 hours. A storage capacity of about 200 GB is required. By compressing this enormous amount of information, it has become possible to compress it to several GB with a storage capacity of 4 to 5 Mbps for 2 hours at a transfer rate. When compression processing close to 1/100 times is performed like this image compression, even if the compressed information is decompressed, it cannot be restored to the same information as the original information. For this reason, degradation of image quality due to compression occurs. In general, the higher the compression rate, that is, the lower the amount of information, the more noticeable the image quality deteriorates. Therefore, a method has been proposed in which a large amount of information is allocated to an image of a scene with a high movement that is likely to cause image quality degradation, and a small amount of information is allocated to an image of a scene with a small movement. Yes. According to this method, since the allocation of the information amount is changed according to the image, in other words, the compression rate of the information amount is changed according to the image, it is possible to reduce image quality deterioration.

つぎに、情報を圧縮することによる、他の問題点について説明する。携帯型のディスク装置においては、使用中の振動、衝撃等によるサーボ外れの防止が課題となっており、この課題を解決するため、防振機構を備えたり、サーボ特性を向上させるなどの対策が実施されて来た。しかし、これらの対策のみでは大きな衝撃等には対応出来ず、サーボが外れてしまい記録再生が出来なくなる場合があった。このような問題を解決し耐震性を向上させた装置が特開平4−103079号公報に開示されている。この装置では、圧縮された情報は、一旦バッファメモリに蓄えられ、その後、ディスクに記録される。以下、この従来の構成、動作について図面を参照しながら説明する。   Next, another problem caused by compressing information will be described. In portable disk devices, there is an issue of preventing servo detachment due to vibration, impact, etc. during use. To solve this problem, measures such as providing a vibration isolation mechanism and improving servo characteristics are required. It has been implemented. However, these measures alone cannot cope with a large impact, etc., and the servo is disconnected and recording / reproduction may not be possible. An apparatus that solves such a problem and improves the earthquake resistance is disclosed in Japanese Patent Laid-Open No. 4-103079. In this apparatus, the compressed information is temporarily stored in a buffer memory and then recorded on a disk. The conventional configuration and operation will be described below with reference to the drawings.

図7に、従来の圧縮情報記憶装置のブロック図を示す。入力された信号は、ディスク装置4の記録時には、A/D変換器7によりデジタル信号に変換され圧縮伸長回路12に送られる一方、ディスク装置4の再生時には、圧縮伸長回路12を介してD/A変換器13によりアナログ信号に変換されて出力される。圧縮伸長回路12は、情報の圧縮と伸長を行なう回路であり、ここでは、本発明に関係する圧縮処理について説明する。圧縮伸長回路12に入力されたデータは、圧縮処理を施される。圧縮処理の方法については数多くの方法が提案されているが、画像情報または音声情報を対象にする場合、高い圧縮率を得るために人間の視覚特性や、聴覚特性が利用される。この結果、入力されたデータは、数分の一から数十分の一にまで圧縮される。圧縮伸長回路12で圧縮されたデータは、メモリコントローラ3を経由してバッファメモリ2に一旦記憶される。メモリコントローラ3は、圧縮伸長回路12、バッファメモリ2、及びディスク装置4の間のデータの流れをコントロールする回路であり、圧縮伸長回路12からバッファメモリ2に転送したデータのバッファメモリ2におけるアドレスやバッファメモリ2からディスク装置4に送ったデータのアドレスなどを管理すると共に、それらのアドレスを元にバッファメモリ2の残量の検出も行なう。ディスク装置4はデータを記憶するための装置であり、光ディスク装置やハードディスク装置などが用いられる。いずれの装置も、光ピックアップや磁気ヘッドをミクロンオーダーで精密に位置決め制御しており、このため装置に大きな振動や衝撃が加わると、光ピックアップや磁気ヘッドの位置が正規の位置からずれてしまい、記録再生ができなくなる。   FIG. 7 shows a block diagram of a conventional compressed information storage device. The input signal is converted into a digital signal by the A / D converter 7 at the time of recording on the disk device 4 and sent to the compression / decompression circuit 12, while at the time of reproduction by the disk device 4, it is converted via the compression / decompression circuit 12 to It is converted into an analog signal by the A converter 13 and output. The compression / decompression circuit 12 is a circuit that compresses and decompresses information. Here, a compression process related to the present invention will be described. The data input to the compression / decompression circuit 12 is subjected to compression processing. Many methods have been proposed for the compression processing method. When image information or audio information is targeted, human visual characteristics and auditory characteristics are used to obtain a high compression rate. As a result, the input data is compressed from a fraction to a few tenths. The data compressed by the compression / decompression circuit 12 is temporarily stored in the buffer memory 2 via the memory controller 3. The memory controller 3 is a circuit that controls the flow of data among the compression / decompression circuit 12, the buffer memory 2, and the disk device 4. The memory controller 3 controls the address in the buffer memory 2 of the data transferred from the compression / decompression circuit 12 to the buffer memory 2. The address of the data sent from the buffer memory 2 to the disk device 4 is managed, and the remaining amount of the buffer memory 2 is detected based on these addresses. The disk device 4 is a device for storing data, and an optical disk device, a hard disk device, or the like is used. Both devices precisely control the optical pickup and magnetic head on the order of microns, so if a large vibration or impact is applied to the device, the position of the optical pickup or magnetic head will deviate from the normal position. Recording / playback is not possible.

次に、従来の圧縮情報記憶装置の動作について説明する。図8にバッファメモリ2の残量の時間的な変化を示す。バッファメモリ2の残量とは、使用可能なメモリ量を意味し、バッファメモリ2の全容量からディスク装置4に転送されずにバッファメモリ2に残っているデータ量を引いたものである。よって、圧縮伸長回路12からバッファメモリ2にデータが転送されると、バッファメモリ2の残量は減少し、バッファメモリ2からディスク装置4へデータが転送されると、バッファメモリ2の残量は増加する。図8では、時刻0において圧縮伸長回路12により圧縮が開始されている。この時刻0においてはバッファメモリ2にはデータは全くなく、従って、バッファメモリ2の残量はバッファメモリ2の全容量に等しい。圧縮伸長回路12からは圧縮された情報が一定の転送レートでバッファメモリ2に転送されるので、時間の経過と共にバッファメモリ2の残量は低下していく。バッファメモリ2の残量が、時刻T1において、あらかじめ決められている第1の設定値TH1を下回ると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を開始するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み開始の指令を出す。圧縮伸長回路12からバッファメモリ2へのデータ転送レートに比べて、バッファメモリ2からディスク装置4へのデータ転送レートは高く設定されているので、時間の経過と共に、バッファメモリ2に一時的に記憶されていた圧縮データは減少していき、バッファメモリ2の残量は増加していく。次に、時刻T2において、バッファメモリ2の残量が第2の設定値TH2を越えると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を停止するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み停止の指令を出す。通常の動作時においては、これ以降、バッファメモリ2の残量がTH1を下回るとディスク装置4へデータを書き込み、TH2を上回るとディスク装置4へのデータの書き込みを停止するということを繰り返す。   Next, the operation of the conventional compressed information storage device will be described. FIG. 8 shows a temporal change in the remaining amount of the buffer memory 2. The remaining capacity of the buffer memory 2 means the amount of usable memory, and is obtained by subtracting the amount of data remaining in the buffer memory 2 without being transferred to the disk device 4 from the total capacity of the buffer memory 2. Therefore, when data is transferred from the compression / decompression circuit 12 to the buffer memory 2, the remaining capacity of the buffer memory 2 decreases. When data is transferred from the buffer memory 2 to the disk device 4, the remaining capacity of the buffer memory 2 is reduced. To increase. In FIG. 8, compression is started by the compression / decompression circuit 12 at time 0. At this time 0, there is no data in the buffer memory 2, so the remaining capacity of the buffer memory 2 is equal to the total capacity of the buffer memory 2. Since the compressed information is transferred from the compression / decompression circuit 12 to the buffer memory 2 at a constant transfer rate, the remaining amount of the buffer memory 2 decreases with time. When the remaining capacity of the buffer memory 2 falls below a predetermined first set value TH1 at time T1, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4, and writes data to the disk to the disk device 4. Issue a start command. Since the data transfer rate from the buffer memory 2 to the disk device 4 is set higher than the data transfer rate from the compression / decompression circuit 12 to the buffer memory 2, the data is temporarily stored in the buffer memory 2 over time. The compressed data that has been reduced decreases, and the remaining amount of the buffer memory 2 increases. Next, when the remaining amount of the buffer memory 2 exceeds the second set value TH2 at time T2, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the memory controller 3 to stop the transfer of data from the buffer memory 2 to the disk device 4 and writes the data to the disk to the disk device 4. Issue a stop command. In normal operation, thereafter, when the remaining capacity of the buffer memory 2 falls below TH1, data is written to the disk device 4, and when it exceeds TH2, writing of data to the disk device 4 is stopped.

さて、ここで時刻T3において、衝撃のためディスク装置4へのデータの書き込みが出来なくなり、書き込み可能な状態に復帰するのに時刻T5までの時間を要したとする。バッファメモリ2の残量が時間とともに減少していき、時刻T4において、第1の設定値TH1を下回るが、この時刻ではディスク装置4は、まだデータの書き込みをできない状態なので、システムコントローラ5はバッファメモリ2からディスク装置4へのデータ転送を行わない。このため、さらにバッファメモリ2の残量は、減少していく。時刻T5において、システムコントローラ5は、ディスク装置4がデータ書き込み可能な状態になったことを検出し、バッファメモリ2からディスク装置4へのデータ転送を開始する指示をメモリコントローラ3に与える。これによりバッファメモリ2の残量は増加していき、これ以降は通常の動作を繰り返す。   Now, assume that at time T3, data cannot be written to the disk device 4 due to an impact, and it takes time until time T5 to return to the writable state. The remaining capacity of the buffer memory 2 decreases with time and falls below the first set value TH1 at time T4. At this time, the disk device 4 cannot write data yet, so the system controller 5 Data transfer from the memory 2 to the disk device 4 is not performed. For this reason, the remaining amount of the buffer memory 2 further decreases. At time T5, the system controller 5 detects that the disk device 4 is ready to write data, and gives an instruction to the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4. As a result, the remaining amount of the buffer memory 2 increases, and thereafter the normal operation is repeated.

このように、ディスク装置4が一時的に書き込み不能状態に陥っても、バッファメモリ2の残量が0になる前に書き込み可能な状態に復帰できれば、その間のデータをバッファメモリ2に一時的に蓄積しておくことにより、データの欠落もなく正しいデータをディスク装置4に書き込む事ができるので耐震性能が向上する。   As described above, even if the disk device 4 temporarily falls into a writable state, if it can be restored to a writable state before the remaining capacity of the buffer memory 2 becomes 0, the data in the meantime is temporarily stored in the buffer memory 2. By accumulating data, correct data can be written to the disk device 4 without data loss, so that the seismic performance is improved.

以上のような動作を実現するには、バッファメモリを備え、しかも、入力からバッファメモリへのデータ転送レートに比べて、バッファメモリからディスク装置へのデータ転送レートのほうが高いという条件を満たす装置であれば良いのであるが、入力からバッファメモリに至る経路に圧縮回路を配置すると、入力からバッファメモリへのデータ転送レートを下げることが出来るので、この条件を満足することが容易になる。前述の動画データの例では、圧縮によりデータ転送レートを220Mbpsから4Mbpsまで低減できる。よって、ディスク装置へのデータ転送レートは、圧縮しない場合220Mbps以上必要であるが、圧縮することにより4Mbps程度まで条件を緩和できる。   In order to realize the operation as described above, the apparatus has a buffer memory and satisfies the condition that the data transfer rate from the buffer memory to the disk device is higher than the data transfer rate from the input to the buffer memory. However, if the compression circuit is arranged on the path from the input to the buffer memory, the data transfer rate from the input to the buffer memory can be lowered, so that this condition can be easily satisfied. In the example of the moving image data described above, the data transfer rate can be reduced from 220 Mbps to 4 Mbps by compression. Therefore, the data transfer rate to the disk device needs to be 220 Mbps or more when not compressed, but the condition can be relaxed to about 4 Mbps by compressing.

以上説明したように、従来技術によれば、バッファメモリと圧縮回路を組み合わせることにより、高い耐震性をもった装置を容易に実現することができる。   As described above, according to the prior art, a device having high earthquake resistance can be easily realized by combining a buffer memory and a compression circuit.

しかし、従来の装置をデータ転送レートの速い情報に適用しようとすると、必要なバッファメモリの量が大きくなってしまう。例えば動画データの場合、衝撃からの復帰に5秒を要するとすれば、4Mbps×5s=20Mbものバッファメモリが必要となる。このように、従来の装置では、特にデータ転送レートの速い情報に対しては、必要なバッファメモリ量が多くなり、高価な装置になってしまうという問題があった。   However, if the conventional apparatus is applied to information with a high data transfer rate, the amount of buffer memory required increases. For example, in the case of moving image data, if it takes 5 seconds to recover from an impact, a buffer memory of 4 Mbps × 5 s = 20 Mb is required. As described above, the conventional apparatus has a problem that an amount of necessary buffer memory is increased particularly for information having a high data transfer rate, resulting in an expensive apparatus.

本発明の目的は、このような問題を解決し、安価で耐震性能の高い圧縮情報記憶装置を提供することにある。   An object of the present invention is to solve such a problem and to provide a compressed information storage device that is inexpensive and has high earthquake resistance.

本発明の圧縮情報記憶装置は、上記課題を解決するために、情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段とを備えた圧縮情報記憶装置であって、前記制御手段が、前記記憶手段が書き込み可能な状態になったことを検出した後、前記残量検出手段で検出された未使用容量が前記所定の設定値を超える他の設定値まで増えるのを待ってから、前記圧縮手段の情報の圧縮率を元の圧縮率に戻すことを特徴としている。   In order to solve the above problems, a compressed information storage device of the present invention compresses information to generate compressed information, temporary storage means for temporarily storing compressed information, and storage in the temporary storage means. Storage means for storing compressed information from the temporary storage means at a rate faster than the rate to be generated, remaining amount detection means for detecting an unused capacity of the temporary storage means, and unused capacity detected by the remaining amount detection means A compression information storage device comprising: a control means for detecting an unstorable state of the storage means when the value is smaller than a predetermined set value, and increasing a compression rate of information of the compression means based on the detection. After detecting that the storage means is in a writable state, the means waits for the unused capacity detected by the remaining amount detecting means to increase to another set value exceeding the predetermined set value. From before It is characterized by returning the compression rate of information compression means to the original compressibility.

上記構成によれば、前記記憶手段が書き込み可能な状態になったことを検出した後、前記一時記憶手段の未使用容量が前記所定の設定値を超える他の設定値まで増えるのを待ってから圧縮率を元に戻すようにすることで、一時記憶手段の残量に余裕ができた時点で圧縮率を下げることになるので、連続して発生する衝撃による記録不能状態に対しても、一時記憶手段の残量が0になるまでの時間に余裕ができる。   According to the above configuration, after detecting that the storage unit is in a writable state, after waiting for the unused capacity of the temporary storage unit to increase to another set value exceeding the predetermined set value By returning the compression rate to the original value, the compression rate will be lowered when the remaining capacity of the temporary storage means is sufficient. There is a margin in the time until the remaining amount of the storage means becomes zero.

本発明によれば、以下のような効果が得られる。   According to the present invention, the following effects can be obtained.

(1)記憶装置が記憶不能状態のときには、情報量の圧縮率を高くするので、一時記憶手段の記憶容量を小さくでき、その結果、安価で耐震性能の高い装置を実現できる。特に、光ディスク装置の光ピックアップは重いので、記録不能な時間が長くなるため、さらに大きな効果を得られる。   (1) When the storage device is incapable of storage, the compression rate of the information amount is increased, so that the storage capacity of the temporary storage means can be reduced, and as a result, an inexpensive and high earthquake-resistant device can be realized. In particular, since the optical pickup of the optical disk apparatus is heavy, the time during which recording cannot be performed becomes longer, so that a greater effect can be obtained.

(2)連続して発生する衝撃による記録不能状態に対しても、一時記憶手段の残量が0になるまでの時間に余裕ができる。   (2) Even when recording is impossible due to a continuously generated impact, there is a margin in the time until the remaining amount of the temporary storage means becomes zero.

本発明の実施の形態について、以下図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1に、本発明の第1の実施の形態における圧縮情報記憶装置のブロック図を示す。ここでは、カメラ一体型ビデオレコーダーに本発明を適用した場合を示している。カメラ部8により電気信号に変換された画像情報は、A/D変換器7によりデジタル信号に変換され圧縮回路1に送られる。圧縮回路1に入力されたデータは、圧縮処理を施される。圧縮処理の方法については数多くの方法が提案されているが、画像情報を対象にする場合、高い圧縮率を得るために人間の視覚特性が利用される。その結果、入力されたデータは、数十分の一にまで圧縮される。第1の実施の形態における圧縮回路1では、データの圧縮率をシステムコントローラ5からの指令により変えられるようになっている。このため、圧縮されたデータには、そのときの圧縮率を示すデータが付加されている。圧縮回路1で圧縮されたデータは、メモリコントローラ3を経由してバッファメモリ2に一旦記憶される。メモリコントローラ3は、圧縮回路1とバッファメモリ2およびディスク装置4の間のデータの流れをコントロールする回路であり、圧縮回路1からバッファメモリ2に転送したデータのバッファメモリ2におけるアドレスやバッファメモリ2からディスク装置4に送ったデータのアドレスなどを管理すると共に、それらのアドレスを元にバッファメモリ2の残量の検出も行なう。ディスク装置4はデータを記憶するための装置であり、光ディスク装置が用いられている。光ディスク装置はアクセス速度が速く、ディスクを交換できる記憶装置としては最も記憶容量が大きいので、画像情報のように大きな記憶容量が必要な場合には最適な装置である。しかし、光ディスク装置では、光ピックアップをミクロンオーダーで精密に位置決め制御しており、このため装置に大きな振動や衝撃が加わると、光ピックアップの位置が正規の位置からずれてしまい、記録ができなくなる。特に、光ディスク装置の光ピックアップは、ハードディスク装置の磁気ヘッドに比べて重いため、振動や衝撃による影響が大きい。つまり、一旦正規の位置からずれると、元の位置に戻るまでに大きな時間を要する。   FIG. 1 shows a block diagram of a compressed information storage device according to the first embodiment of the present invention. Here, a case where the present invention is applied to a camera-integrated video recorder is shown. The image information converted into an electric signal by the camera unit 8 is converted into a digital signal by the A / D converter 7 and sent to the compression circuit 1. Data input to the compression circuit 1 is subjected to compression processing. Many methods have been proposed for the compression processing method. When image information is a target, human visual characteristics are used to obtain a high compression rate. As a result, the input data is compressed to a few tenths. In the compression circuit 1 according to the first embodiment, the data compression rate can be changed by a command from the system controller 5. Therefore, data indicating the compression rate at that time is added to the compressed data. The data compressed by the compression circuit 1 is temporarily stored in the buffer memory 2 via the memory controller 3. The memory controller 3 is a circuit that controls the flow of data between the compression circuit 1, the buffer memory 2, and the disk device 4, and the address in the buffer memory 2 of the data transferred from the compression circuit 1 to the buffer memory 2 and the buffer memory 2 The address of the data sent from the disk to the disk device 4 is managed, and the remaining amount of the buffer memory 2 is detected based on these addresses. The disk device 4 is a device for storing data, and an optical disk device is used. The optical disk apparatus has a high access speed and has the largest storage capacity as a storage apparatus capable of exchanging disks. Therefore, the optical disk apparatus is an optimal apparatus when a large storage capacity is required such as image information. However, in the optical disk apparatus, the optical pickup is precisely positioned and controlled on the micron order. Therefore, if a large vibration or impact is applied to the apparatus, the position of the optical pickup is deviated from the normal position, and recording becomes impossible. In particular, the optical pickup of the optical disk apparatus is heavier than the magnetic head of the hard disk apparatus, and thus is greatly affected by vibration and impact. That is, once it deviates from the normal position, it takes a long time to return to the original position.

次に、第1の実施の形態における動作を説明する。図2(a)に、バッファメモリ2の残量の時間的な変化を示す。バッファメモリ2の残量とは、使用可能なメモリ量を意味し、バッファメモリ2の全容量からディスク装置4に転送されずにバッファメモリ2に残っているデータ量を引いたものである。よって、圧縮回路1からバッファメモリ2にデータが転送されると、バッファメモリ2の残量は減少し、バッファメモリ2からディスク装置4へデータが転送されると、バッファメモリ2の残量は増加する。図2(b)に、圧縮回路1の圧縮率の時間的な変化を示す。この圧縮率が高いほど圧縮回路1から出力されるデータ量が少ないことを意味し、結果として圧縮率が高いほど出力データのデータ転送レートは低くなる。図2(a)では、時刻0において録画が開始されている。録画の開始と同時に圧縮回路1により圧縮が開始される。この時刻0においてはバッファメモリ2にはデータは全くなく、従って、バッファメモリ2の残量はバッファメモリ2の全容量に等しい。圧縮回路1からは圧縮された情報が一定の転送レートでバッファメモリ2に転送されるので、時間の経過と共にバッファメモリ2の残量は低下していく。バッファメモリ2の残量が、時刻T1において、あらかじめ決められている第1の設定値TH1を下回ると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を開始するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み開始の指令を出す。圧縮回路1からバッファメモリ2へのデータ転送レートに比べて、バッファメモリ2からディスク装置4へのデータ転送レートは高く設定されていので、時間の経過と共に、バッファメモリ2に一時的に記憶されていた圧縮データは減少していき、バッファメモリ2の残量は増加していく。次に、時刻T2において、バッファメモリ2の残量が第2の設定値TH2を越えると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を停止するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み停止の指令を出す。通常の動作時においては、これ以降、バッファメモリ2の残量がTH1を下回るとディスク装置4へデータを書き込み、TH2を上回るとディスク装置4へのデータの書き込みを停止するということを繰り返す。また、このような通常の動作時においては、圧縮率はあらかじめ決められた規定値K1に保持されている。   Next, the operation in the first embodiment will be described. FIG. 2A shows a temporal change in the remaining amount of the buffer memory 2. The remaining capacity of the buffer memory 2 means the amount of usable memory, and is obtained by subtracting the amount of data remaining in the buffer memory 2 without being transferred to the disk device 4 from the total capacity of the buffer memory 2. Therefore, when data is transferred from the compression circuit 1 to the buffer memory 2, the remaining capacity of the buffer memory 2 decreases. When data is transferred from the buffer memory 2 to the disk device 4, the remaining capacity of the buffer memory 2 increases. To do. FIG. 2B shows a temporal change in the compression rate of the compression circuit 1. The higher the compression rate, the smaller the amount of data output from the compression circuit 1. As a result, the higher the compression rate, the lower the data transfer rate of output data. In FIG. 2A, recording is started at time 0. Simultaneously with the start of recording, compression is started by the compression circuit 1. At this time 0, there is no data in the buffer memory 2, so the remaining capacity of the buffer memory 2 is equal to the total capacity of the buffer memory 2. Since the compressed information is transferred from the compression circuit 1 to the buffer memory 2 at a constant transfer rate, the remaining amount of the buffer memory 2 decreases with time. When the remaining capacity of the buffer memory 2 falls below a predetermined first set value TH1 at time T1, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives an instruction to the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4 and writes data to the disk to the disk device 4. Issue a start command. Since the data transfer rate from the buffer memory 2 to the disk device 4 is set to be higher than the data transfer rate from the compression circuit 1 to the buffer memory 2, it is temporarily stored in the buffer memory 2 over time. The compressed data decreases and the remaining amount of the buffer memory 2 increases. Next, when the remaining amount of the buffer memory 2 exceeds the second set value TH2 at time T2, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the memory controller 3 to stop the transfer of data from the buffer memory 2 to the disk device 4 and writes the data to the disk to the disk device 4. Issue a stop command. In normal operation, thereafter, when the remaining capacity of the buffer memory 2 falls below TH1, data is written to the disk device 4, and when it exceeds TH2, writing of data to the disk device 4 is stopped. In such a normal operation, the compression rate is held at a predetermined value K1.

さて、ここで時刻T3において衝撃のためディスク装置4へのデータの書き込みが出来なくなり、書き込み可能な状態に復帰するのに時刻T7までの時間を要したとする。バッファメモリ2の残量が時間とともに減少していき、時刻T4において、第1の設定値TH1を下回るが、この時点ではまだディスク装置4はデータの書き込みをできない状態なので、システムコントローラ5はバッファメモリ2からディスク装置4へのデータ転送を行わない。このため、さらにバッファメモリ2の残量は、減少していく。時刻T5において、バッファメモリ2の残量が第3の設定値TH3を下回るとメモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、圧縮回路1に圧縮率をK2に上げるように指令を与える。これに応じて圧縮回路1は、データの圧縮率をK2に上げて、バッファメモリ2へのデータの転送量を減らす。画像情報の圧縮処理は、所定のデータ量からなるデータブロック毎に行われ、1つのデータブロックを処理している途中で圧縮率を変更することはできないので、圧縮回路1が圧縮率を上げるのは、システムコントローラ5からの指令を受けた時点において処理していたデータブロックの処理が完了し、つぎのデータブロックを処理する時点T6からになる。時刻T6において、システムコントローラ5は、圧縮回路1における圧縮率がK2に変更されたことを検出し、それを表示装置6に表示する。具体的には、カメラ一体型ビデオレコーダーの場合、液晶を使ったモニタ画面を備えているので、画面中に圧縮率が上がったことを表示する。また、表示素子としてLEDを使い、圧縮率が上がった時にLEDを発光させるようにしてもよい。このように、表示を行なうことにより、使用者はそれに対応した措置を講じる事ができる。例えば、前述のように圧縮率を上げると一般的には画質が劣化する。しかし、圧縮率が上がったことを使用者が認識して、動きの速い映像を録画することを避けるようにカメラ操作をすれば、画質の劣化は抑えられる。また、圧縮率が上がった原因は、大きな振動や衝撃がカメラに加わったことにあるので、カメラに振動や衝撃が加わらないように使用者がカメラを保持することにより、ディスク装置4が衝撃による書き込み不能状態から復帰するまでの時間を短縮できる。液晶モニタにこのような使用方法の指示を表示しても良い。こうすると、使用者は、画面上の指示通りに操作するだけで適切な対応ができる。時刻T6において圧縮率が上がるため、圧縮回路1からバッファメモリ2へ転送されるデータの転送レートが下がる。これによりバッファメモリ2の残量の減少速度が低下し、図2(a)に示すように、T6の時点から傾きが緩やかになる。   Now, assume that data cannot be written to the disk device 4 due to an impact at time T3, and it takes time until time T7 to return to a writable state. The remaining amount of the buffer memory 2 decreases with time and falls below the first set value TH1 at time T4. At this time, the disk device 4 is still in a state where data cannot be written. No data transfer from 2 to the disk device 4 is performed. For this reason, the remaining amount of the buffer memory 2 further decreases. When the remaining amount of the buffer memory 2 falls below the third set value TH3 at time T5, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the compression circuit 1 to increase the compression rate to K2. In response to this, the compression circuit 1 increases the data compression rate to K2, and reduces the data transfer amount to the buffer memory 2. The compression processing of the image information is performed for each data block having a predetermined amount of data, and the compression ratio cannot be changed in the middle of processing one data block, so the compression circuit 1 increases the compression ratio. Is from time T6 when the processing of the data block being processed when the command from the system controller 5 is received is completed and the next data block is processed. At time T6, the system controller 5 detects that the compression rate in the compression circuit 1 has been changed to K2, and displays it on the display device 6. Specifically, in the case of a camera-integrated video recorder, a monitor screen using liquid crystal is provided, so that an indication that the compression rate has increased is displayed on the screen. Alternatively, an LED may be used as the display element, and the LED may emit light when the compression rate increases. Thus, by performing the display, the user can take measures corresponding to the display. For example, when the compression rate is increased as described above, the image quality generally deteriorates. However, if the user recognizes that the compression rate has increased and operates the camera so as to avoid recording fast-moving video, the image quality deterioration can be suppressed. In addition, the cause of the increase in the compression ratio is that a large vibration or impact is applied to the camera. Therefore, when the user holds the camera so that the camera is not subjected to the vibration or impact, the disk device 4 is affected by the impact. It is possible to shorten the time until returning from the unwritable state. Such usage instructions may be displayed on the liquid crystal monitor. In this way, the user can respond appropriately only by operating according to the instructions on the screen. Since the compression rate increases at time T6, the transfer rate of data transferred from the compression circuit 1 to the buffer memory 2 decreases. As a result, the rate of decrease in the remaining amount of the buffer memory 2 is reduced, and as shown in FIG.

その後、時刻T7において、システムコントローラ5は、ディスク装置4がデータ書き込み可能な状態になったことを検出し、バッファメモリ2からディスク装置4へのデータ転送の開始をメモリコントローラ3に指示する。これによりバッファメモリ2の残量は増加していく。これと同時にシステムコントローラ5は、圧縮回路1に圧縮率をK1に戻すように指示する。圧縮率を上げたときと同様に、指示が与えられたときに処理していたデータブロックの処理が完了し、次のデータブロックの処理を開始する時点T8から、圧縮回路1は、圧縮率をK1に戻す。システムコントローラ5は、圧縮率がK1になったことを検出し、表示装置6にそれを表示する。これ以降は通常の動作を繰り返していく。   Thereafter, at time T7, the system controller 5 detects that the disk device 4 is ready for data writing, and instructs the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4. As a result, the remaining amount of the buffer memory 2 increases. At the same time, the system controller 5 instructs the compression circuit 1 to return the compression rate to K1. Similar to when the compression rate is increased, the compression circuit 1 sets the compression rate from the time T8 when the processing of the data block being processed when the instruction is given is completed and the processing of the next data block is started. Return to K1. The system controller 5 detects that the compression ratio has become K1, and displays it on the display device 6. After this, normal operation is repeated.

第1の実施の形態においては、ディスク装置4がデータ書き込み可能な状態になったことを検出し、圧縮率をK1に戻すようにしている。こうすることにより、早い時点で圧縮率が下がり、よって画像の劣化も早い時点で解消する。   In the first embodiment, it is detected that the disk device 4 is in a data writable state, and the compression rate is returned to K1. By doing so, the compression rate is lowered at an early point, and thus the image deterioration is also eliminated at an early point.

次に、バッファメモリ2の残量が所定値以上になったときに圧縮率をK1に戻す他の場合について説明する。その場合のバッファメモリ2の残量と圧縮率の時間的な変化を図3(a)、(b)に示す。ここで、T7の時点までは、図2(a)、(b)と同一なので、それ以降について説明する。時刻T7においてシステムコントローラ5は、ディスク装置4がデータ書き込み可能な状態になったことを検出し、バッファメモリ2からディスク装置4へのデータ転送の開始をメモリコントローラ3に指示する。これによりバッファメモリ2の残量は増加していく。さらに、バッファメモリ2の残量がTH4になった時刻T8でシステムコントローラ5は、圧縮回路1に圧縮率をK1に戻すように指示する。指示が与えられた時に処理していたデータブロックの処理が完了し、次のデータブロックの処理を開始する時点T9から、圧縮回路1は圧縮率をK1に戻す。システムコントローラ5は、圧縮率がK1になったことを検出し、表示装置6にそれを表示する。これ以降は通常の動作を繰り返していく。このように、バッファメモリ2の残量がTH4まで増えるのを待ってから圧縮率を元に戻すようにすれば、バッファメモリ2の残量に余裕ができた時点で圧縮率を下げることになるので、連続して発生する衝撃による記録不能状態に対しても、バッファメモリ2の残量が0になるまでの時間に余裕ができる。なお、TH4はTH3より大きければよいが、TH1より大きい方がより好ましい。   Next, another case will be described in which the compression rate is returned to K1 when the remaining amount of the buffer memory 2 exceeds a predetermined value. 3A and 3B show temporal changes in the remaining amount of the buffer memory 2 and the compression rate in that case. Here, since it is the same as FIG. 2 (a), (b) until the time of T7, it demonstrates after that. At time T7, the system controller 5 detects that the disk device 4 is ready to write data, and instructs the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4. As a result, the remaining amount of the buffer memory 2 increases. Furthermore, the system controller 5 instructs the compression circuit 1 to return the compression rate to K1 at time T8 when the remaining amount of the buffer memory 2 becomes TH4. The compression circuit 1 returns the compression ratio to K1 from time T9 when the processing of the data block being processed when the instruction is given is completed and the processing of the next data block is started. The system controller 5 detects that the compression ratio has become K1, and displays it on the display device 6. After this, normal operation is repeated. As described above, if the compression rate is restored after waiting for the remaining amount of the buffer memory 2 to increase to TH4, the compression rate is lowered when the remaining amount of the buffer memory 2 is sufficient. Therefore, even when the recording is impossible due to the continuously generated impact, there is enough time until the remaining amount of the buffer memory 2 becomes zero. TH4 may be larger than TH3, but is preferably larger than TH1.

以上の動作を図4のフローチャートを用いて説明する。記録を開始すると、まずメモリ残量とTH1を比較する(S1)。メモリ残量がTH1より少なければ、ディスク装置4が記録可能かどうか調べる(S2)。記録可能であれば、バッファメモリ2からディスク装置4へのデータ転送を開始する(S3)。次に、記録終了かどうかを調べ(S4)、記録を続ける場合、S1を再実行する。上述したループを実行しているので、メモリ残量はTH1より増加しているので、S5に進み、ここでメモリ残量とTH2を比較する。ディスク装置4の記録動作に伴ってメモリ残量がTH2より増えている場合、バッファメモリ2からディスク装置4へのデータ転送を停止する(S6)。以上の動作が、通常の記録動作である。   The above operation will be described with reference to the flowchart of FIG. When recording is started, the remaining memory capacity is first compared with TH1 (S1). If the remaining memory capacity is less than TH1, it is checked whether or not the disk device 4 can record (S2). If recording is possible, data transfer from the buffer memory 2 to the disk device 4 is started (S3). Next, it is checked whether or not the recording is finished (S4). If the recording is continued, S1 is re-executed. Since the above-described loop is executed, the remaining memory capacity is increased from TH1, so the process proceeds to S5, where the remaining memory capacity is compared with TH2. When the remaining memory capacity is increased from TH2 as the disk device 4 performs the recording operation, data transfer from the buffer memory 2 to the disk device 4 is stopped (S6). The above operation is a normal recording operation.

次に、ディスク装置4が記録不能になった場合のフローについて説明する。この場合、メモリ残量がTH1より少なくディスク装置4が記録不能状態であるとする。つまり、S2からS7に移り、そこで、メモリ残量をTH3と比較する。メモリ残量がTH3より少なければ、圧縮率をK2に上げると同時にそれを表示する(S8)。この状態でディスク装置4が記録可能になるのを待つ(S9)。記録可能になれば、ディスク装置4が記録可能になったことを検出して圧縮率をK1に戻し、それを表示する。   Next, a flow when the disk device 4 becomes unrecordable will be described. In this case, it is assumed that the remaining amount of memory is less than TH1 and the disk device 4 is in a recording impossible state. That is, the process proceeds from S2 to S7, where the remaining memory capacity is compared with TH3. If the remaining memory capacity is less than TH3, the compression rate is increased to K2 and displayed at the same time (S8). In this state, it waits for the disk device 4 to be recordable (S9). If recording is possible, it is detected that the disk device 4 is capable of recording, the compression rate is returned to K1, and this is displayed.

図2(a)においてT6からT8までの間、圧縮率が上がることによって、バッファメモリ2の残量の減少速度が低下している。これは、バッファメモリ2の残量が0になるまでの時間が長くなることを意味し、ディスク装置4が書き込み不能状態から復帰するまでの時間に余裕ができることになる。また、バッファメモリ2の残量が0になるまでの時間を同一とすれば使用するメモリ量を低減できる。この点について、さらに詳しく説明する。一例として、16Mbのメモリをバッファメモリ2に使用し、初めの3秒間は4Mbpsの転送レートでメモリにデータを送り、その後データ転送レートを落として1.4Mbpsでデータを送る場合に、バッファメモリの残量が0になるまでの時間を計算すると、3s+(16Mb−4Mbps×3s)/1.4Mbps=5.86sとなる。バッファメモリ2の残量が0になるまでに5.86秒を要することから、ディスク装置4が書き込み不能状態から復帰するまでに最大5.86秒の余裕があることがわかる。従来の装置のように4Mbps固定の転送レートの場合、16Mb/4Mbps=4sとなり、4秒しか余裕がないので、本発明による第1の実施の形態では、復帰時間が約1.5倍に延ばせることがわかる。逆に5.86秒の復帰時間を確保するためのバッファメモリ量を計算すると、従来の装置では、4Mbps×5.86s=23Mbとなり、本発明の第1の実施の形態では、約30%メモリ量を削減できることがわかる。このように、本発明の第1の実施の形態によれば、バッファメモリ量の大幅な削減あるいは書き込み不能状態からの復帰時間の余裕の増加が実現できる。また、圧縮率が上がったことを表示するので、使用者はそれに応じて画質の劣化が少なくなるような使用方法や記録不能状態からの復帰が速くなるような使用法をとることが可能になる。   In FIG. 2A, during the period from T6 to T8, the rate of decrease in the remaining amount of the buffer memory 2 is reduced due to the increase in the compression rate. This means that the time until the remaining amount of the buffer memory 2 becomes 0 becomes longer, and there is a margin for the time until the disk device 4 returns from the write-incapable state. Further, if the time until the remaining amount of the buffer memory 2 becomes 0 is the same, the amount of memory used can be reduced. This point will be described in more detail. As an example, when a 16 Mbps memory is used for the buffer memory 2 and data is sent to the memory at the transfer rate of 4 Mbps for the first 3 seconds, and then the data transfer rate is lowered and the data is sent at 1.4 Mbps, the buffer memory When calculating the time until the remaining amount becomes 0, 3s + (16 Mbps-4 Mbps × 3 s) /1.4 Mbps = 5.86 s. Since 5.86 seconds are required for the remaining amount of the buffer memory 2 to become 0, it can be seen that there is a maximum of 5.86 seconds before the disk device 4 returns from the unwritable state. In the case of a transfer rate fixed at 4 Mbps as in the conventional apparatus, 16 Mbps / 4 Mbps = 4 s, and there is only 4 seconds, so in the first embodiment according to the present invention, the recovery time can be extended by about 1.5 times. I understand that. Conversely, when the amount of buffer memory for securing the recovery time of 5.86 seconds is calculated, it becomes 4 Mbps × 5.86 s = 23 Mb in the conventional apparatus, and in the first embodiment of the present invention, about 30% memory is obtained. It can be seen that the amount can be reduced. As described above, according to the first embodiment of the present invention, it is possible to realize a significant reduction in the amount of buffer memory or an increase in the return time margin from a write-disabled state. In addition, since the fact that the compression rate has increased is displayed, it is possible for the user to take a usage method that reduces image quality degradation and a usage method that speeds up recovery from the unrecordable state. .

以上説明した第1の実施の形態においては、圧縮率を2段階に切り替える例について述べたが、3段階以上の切り替えを行っても良い。この場合、圧縮率の切り替え制御が複雑になるが、画質が徐々に劣化していくので、画質の劣化が目立ちにくいという利点がある。また、上記第1の実施の形態では、バッファメモリ2の残量を所定値に固定したが、バッファメモリ2の残量に応じて圧縮率を可変にしてもよい。   In the first embodiment described above, an example in which the compression rate is switched to two stages has been described, but switching of three or more stages may be performed. In this case, the compression rate switching control is complicated, but since the image quality gradually deteriorates, there is an advantage that the image quality deterioration is not noticeable. In the first embodiment, the remaining amount of the buffer memory 2 is fixed to a predetermined value. However, the compression rate may be made variable according to the remaining amount of the buffer memory 2.

第1の実施の形態においては、バッファメモリ2の残量がTH3を下回った時点で圧縮率を高くしたが、ディスク装置4が記録不能状態になった時刻T3において圧縮率を高くし、ディスク装置4が記録可能になった時刻T7で圧縮率をK1に戻すようにしても良い。この場合、第1の実施の形態に比べて早い時刻で圧縮率を高くすることになるので、それにともなう画像の劣化も早い時刻で始まることになる。しかし、第1の実施の形態に比べ更にバッファメモリ量を削減できる。   In the first embodiment, the compression rate is increased when the remaining capacity of the buffer memory 2 falls below TH3. However, the compression rate is increased at time T3 when the disk device 4 is in a record-disabled state. The compression ratio may be returned to K1 at time T7 when 4 becomes recordable. In this case, since the compression rate is increased at an earlier time than in the first embodiment, the image degradation accompanying the compression starts at an earlier time. However, the amount of buffer memory can be further reduced as compared with the first embodiment.

次に、本発明の第2の実施の形態について説明する。図5に、本発明の第2の実施の形態における圧縮情報記憶装置のブロック図を示す。ここでは、第1の実施の形態と同様にカメラ一体型ビデオレコーダーに本発明を適用した場合を示している。カメラ部8により電気信号に変換された画像情報は、A/D変換器7によりデジタル信号に変換され、圧縮回路1に送られる。同様に音声部9により電気信号に変換された音声情報は、A/D変換器10によりデジタル信号に変換され、圧縮回路1に送られる。圧縮回路1に入力されたデータは、圧縮処理を施される。圧縮回路1には、画像データと音声データが入力されており、画像データに対しては画像データに適した圧縮方法が適用され、音声データに対しては音声データに適した圧縮方法が適用され、2つのデータが圧縮回路1においてそれぞれ同時に並列に圧縮処理される。圧縮されたデータは画像データと音声データとが1つのデータ系列にまとめられる。この過程で画像データには画像データを示す識別符号が、音声データには音声データを示す識別符号が付加される。画像データと音声データはそれぞれ並列に圧縮処理されるため、圧縮回路1においては、画像データのみの圧縮、もしくは音声データのみの圧縮も可能であり、これはシステムコントローラ5の指令により選択できる。圧縮回路1で圧縮されたデータは、メモリコントローラ3を経由してバッファメモリ2に一旦記憶される。メモリコントローラ3は、圧縮回路1とバッファメモリ2およびディスク装置4の間のデータの流れをコントロールする回路であり、圧縮回路1からバッファメモリ2に転送したデータのバッファメモリ2におけるアドレスやバッファメモリ2からディスク装置4に送ったデータのアドレスなどを管理すると共に、それらのアドレスを元にバッファメモリ2の残量の検出も行なう。ディスク装置4はデータを記憶するための装置であり、光ディスク装置が用いられている。付加データ発生回路11は、音声データのみが圧縮された場合、所定の画像データを付加するための回路である。   Next, a second embodiment of the present invention will be described. FIG. 5 shows a block diagram of a compressed information storage device according to the second embodiment of the present invention. Here, as in the first embodiment, a case where the present invention is applied to a camera-integrated video recorder is shown. The image information converted into an electric signal by the camera unit 8 is converted into a digital signal by the A / D converter 7 and sent to the compression circuit 1. Similarly, the audio information converted into an electrical signal by the audio unit 9 is converted into a digital signal by the A / D converter 10 and sent to the compression circuit 1. Data input to the compression circuit 1 is subjected to compression processing. Image data and audio data are input to the compression circuit 1, a compression method suitable for the image data is applied to the image data, and a compression method suitable for the audio data is applied to the audio data. Two pieces of data are simultaneously compressed in parallel in the compression circuit 1. In the compressed data, image data and audio data are combined into one data series. In this process, an identification code indicating the image data is added to the image data, and an identification code indicating the sound data is added to the audio data. Since the image data and the audio data are respectively compressed in parallel, the compression circuit 1 can compress only the image data or only the audio data, which can be selected by a command from the system controller 5. The data compressed by the compression circuit 1 is temporarily stored in the buffer memory 2 via the memory controller 3. The memory controller 3 is a circuit that controls the flow of data between the compression circuit 1, the buffer memory 2, and the disk device 4, and the address in the buffer memory 2 of the data transferred from the compression circuit 1 to the buffer memory 2 and the buffer memory 2. The address of the data sent from the disk to the disk device 4 is managed, and the remaining amount of the buffer memory 2 is detected based on these addresses. The disk device 4 is a device for storing data, and an optical disk device is used. The additional data generation circuit 11 is a circuit for adding predetermined image data when only audio data is compressed.

次に、第2の実施の形態における動作を説明する。図6(a)に、バッファメモリ2の残量の時間的な変化を示す。図6(b)に、画像データの圧縮処理の状態を示す。画像データの圧縮処理を行っているときはON、行っていないときはOFFとなる。同様に図6(c)に、音声データの圧縮処理の状態を示す。図6(a)では、時刻0において録画が開始されている。録画の開始と同時に圧縮回路1により圧縮が開始される。この時刻0においてはバッファメモリ2にはデータは全くなく、従って、バッファメモリ2の残量はバッファメモリ2の全容量に等しい。圧縮回路1からは圧縮された情報が一定の転送レートでバッファメモリ2に転送されるので、時間の経過と共にバッファメモリ2の残量は低下していく。バッファメモリ2の残量が、時刻T1において、あらかじめ決められている第1の設定値TH1を下回ると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を開始するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み開始の指令を出す。圧縮回路1からバッファメモリ2へのデータ転送レートに比べて、バッファメモリ2からディスク装置4へのデータ転送レートは高く設定されているので、時間の経過と共に、バッファメモリ2に一時的に記憶されていた圧縮データは減少していき、バッファメモリ2の残量は増加していく。次に、時刻T2において、バッファメモリ2の残量が第2の設定値TH2を越えると、メモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、メモリコントローラ3に対してバッファメモリ2からディスク装置4へのデータの転送を停止するように指令を与えると共に、ディスク装置4に対して、ディスクへのデータの書き込み停止の指令を出す。通常の動作時においては、これ以降、バッファメモリ2の残量がTH1を下回るとディスク装置4へデータを書き込み、TH2を上回るとディスク装置4へのデータの書き込みを停止するということを繰り返す。また、このような通常の動作時においては、圧縮回路1においては、画像データも音声データも圧縮処理されており、また、付加データ発生回路11は、動作していない。   Next, the operation in the second embodiment will be described. FIG. 6A shows a temporal change in the remaining amount of the buffer memory 2. FIG. 6B shows the state of image data compression processing. It is ON when image data compression processing is being performed, and is OFF when image data compression processing is not being performed. Similarly, FIG. 6C shows the state of audio data compression processing. In FIG. 6A, recording is started at time 0. Simultaneously with the start of recording, compression is started by the compression circuit 1. At this time 0, there is no data in the buffer memory 2, so the remaining capacity of the buffer memory 2 is equal to the total capacity of the buffer memory 2. Since the compressed information is transferred from the compression circuit 1 to the buffer memory 2 at a constant transfer rate, the remaining amount of the buffer memory 2 decreases with time. When the remaining capacity of the buffer memory 2 falls below a predetermined first set value TH1 at time T1, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4, and writes data to the disk to the disk device 4. Issue a start command. Since the data transfer rate from the buffer memory 2 to the disk device 4 is set higher than the data transfer rate from the compression circuit 1 to the buffer memory 2, it is temporarily stored in the buffer memory 2 as time passes. The compressed data that has been reduced decreases, and the remaining amount of the buffer memory 2 increases. Next, when the remaining amount of the buffer memory 2 exceeds the second set value TH2 at time T2, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the memory controller 3 to stop the transfer of data from the buffer memory 2 to the disk device 4 and writes the data to the disk to the disk device 4. Issue a stop command. In normal operation, thereafter, when the remaining capacity of the buffer memory 2 falls below TH1, data is written to the disk device 4, and when it exceeds TH2, writing of data to the disk device 4 is stopped. In such a normal operation, the compression circuit 1 compresses both image data and audio data, and the additional data generation circuit 11 is not operating.

さて、ここで時刻T3において衝撃のためディスク装置4へのデータの書き込みが出来なくなり、書き込み可能な状態に復帰するのに時刻T7までの時間を要したとする。バッファメモリ2の残量が時刻とともに減少していき、時刻T4において、第1の設定値TH1を下回るが、この時点ではまだディスク装置4はデータの書き込みをできない状態なので、システムコントローラ5はバッファメモリ2からディスク装置4へのデータ転送を行わない。このため、さらにバッファメモリ2の残量は、減少していく。時刻T5において、バッファメモリ2の残量が第3の設定値TH3を下回るとメモリコントローラ3は、それをシステムコントローラ5に通知する。これを受けてシステムコントローラ5は、圧縮回路1に画像データの圧縮処理を停止するように指令を与える。これに応じて圧縮回路1は、画像データの圧縮処理を停止し、音声データの圧縮処理のみを行なう。圧縮後の画像データのデータ量は前述のように4Mbps程度であるが、音声データのデータ量は0.3Mbps程度なので画像データの圧縮処理を停止することにより、バッファメモリ2へのデータの転送量は、10分の1以下に減少する。画像情報の圧縮処理は、所定のデータ量からなるデータブロック毎に行われ、1つのデータブロックを処理している途中で圧縮処理を停止することはできないので、圧縮回路1が画像データの圧縮を停止するのは、システムコントローラ5からの指令を受けた時点において処理していたデータブロックの処理が完了し、つぎのデータブロックを処理する時刻T6からになる。時刻T6において、システムコントローラ5は、圧縮回路1における画像データの圧縮処理が停止されたことを検出し、それを表示装置6に表示する。具体的には、カメラ一体型ビデオレコーダーの場合、液晶を使ったモニタ画面を備えているので、画面中に画像データの圧縮処理を停止したことを表示する。また、表示素子としてLEDを使い、画像データの圧縮処理を停止した時にLEDを発光させるようにしてもよい。このように、表示を行なうことにより、使用者はそれに対応した措置を講じる事ができる。例えば、画像データの圧縮処理を停止した原因は、大きな振動や衝撃がカメラに加わったことにあるので、カメラに振動や衝撃が加わらないように使用者がカメラを保持することにより、ディスク装置4が衝撃による書き込み不能状態から復帰するまでの時間を短縮できる。液晶モニタにこのような使用方法の指示を表示しても良い。画像データの圧縮処理を停止した時刻T6をシステムコントローラ5は記憶しておく。時刻T6において画像データの圧縮処理を停止するため、圧縮回路1からバッファメモリ2へ転送されるデータの転送レートが下がる。これによりバッファメモリ2の残量の減少速度が低下し、図6(a)に示すように、T6の時点から傾きが緩やかになる。   Now, assume that data cannot be written to the disk device 4 due to an impact at time T3, and it takes time until time T7 to return to a writable state. The remaining amount of the buffer memory 2 decreases with time and falls below the first set value TH1 at time T4. At this time, the disk device 4 is still in a state where data cannot be written. No data transfer from 2 to the disk device 4 is performed. For this reason, the remaining amount of the buffer memory 2 further decreases. When the remaining amount of the buffer memory 2 falls below the third set value TH3 at time T5, the memory controller 3 notifies the system controller 5 of this. In response to this, the system controller 5 gives a command to the compression circuit 1 to stop the compression processing of the image data. In response to this, the compression circuit 1 stops the compression process of the image data and performs only the compression process of the audio data. The amount of compressed image data is about 4 Mbps as described above, but the amount of audio data is about 0.3 Mbps, so the amount of data transferred to the buffer memory 2 is stopped by stopping the image data compression process. Decreases to less than 1/10. The compression processing of the image information is performed for each data block having a predetermined amount of data. Since the compression processing cannot be stopped in the middle of processing one data block, the compression circuit 1 compresses the image data. The stop is from time T6 when the processing of the data block being processed at the time of receiving the command from the system controller 5 is completed and the next data block is processed. At time T6, the system controller 5 detects that the compression processing of the image data in the compression circuit 1 has been stopped, and displays it on the display device 6. Specifically, since the camera-integrated video recorder has a monitor screen using liquid crystal, the fact that the compression processing of the image data is stopped is displayed on the screen. Alternatively, an LED may be used as the display element, and the LED may emit light when the image data compression process is stopped. Thus, by performing the display, the user can take measures corresponding to the display. For example, the reason why the compression processing of the image data is stopped is that a large vibration or impact is applied to the camera. Therefore, when the user holds the camera so that the camera is not subjected to the vibration or impact, the disk device 4 It is possible to shorten the time until the device recovers from the unwritable state due to the impact. Such usage instructions may be displayed on the liquid crystal monitor. The system controller 5 stores the time T6 when the image data compression processing is stopped. Since the compression processing of the image data is stopped at time T6, the transfer rate of the data transferred from the compression circuit 1 to the buffer memory 2 is lowered. As a result, the rate of decrease in the remaining amount of the buffer memory 2 decreases, and the slope becomes gentle from the time T6 as shown in FIG.

その後、時刻T7において、システムコントローラ5は、ディスク装置4がデータ書き込み可能な状態になったことを検出し、バッファメモリ2からディスク装置4へのデータ転送を開始をメモリコントローラ3に指示する。これによりバッファメモリ2の残量は増加していく。これと同時にシステムコントローラ5は、圧縮回路1に画像データの圧縮処理を開始するように指示し、表示装置6に画像データの圧縮処理を開始したことを表示する。これを受けて圧縮回路1は、画像データの圧縮処理を開始する。また、システムコントローラ5は、画像データの圧縮処理を開始した時刻T7を記憶しておく。   Thereafter, at time T7, the system controller 5 detects that the disk device 4 is ready for data writing, and instructs the memory controller 3 to start data transfer from the buffer memory 2 to the disk device 4. As a result, the remaining amount of the buffer memory 2 increases. At the same time, the system controller 5 instructs the compression circuit 1 to start the image data compression process, and displays on the display device 6 that the image data compression process has started. In response to this, the compression circuit 1 starts compression processing of the image data. Further, the system controller 5 stores a time T7 at which the image data compression process is started.

さて、画像データは、T6からT7までの期間は圧縮処理されていないので、バッファメモリ2には、その期間の画像データはなく音声データのみが記憶されている。バッファメモリ2から、ディスク装置4へ転送するデータとしては、その期間については音声データのみとしてもよいが、使用者が後日ディスクを再生する時に、なぜ音声しか再生されないのかわからない。そこで、その期間については、付加データ発生回路11で固定の画像データを発生させ、それをディスク装置4に転送する。具体的には、時刻T6およびT7をシステムコントローラ5は記憶しているので、この間の音声データをバッファメモリ2からディスク装置4に転送するときに、付加データ発生回路11により付加する画像データを発生させるとともに、メモリコントローラ3に指令を与え、付加データ発生回路11で発生した画像データをディスク装置4に転送させる。付加する画像としては、画像の圧縮を停止した事を明示するものがよいが、単純な風景のようなものでも良い。また、画像データの圧縮処理を停止する直前の画像を静止画像として発生させても良い。これ以降は通常の動作を繰り返していく。   Since the image data is not compressed during the period from T6 to T7, the buffer memory 2 stores only the audio data without any image data during that period. The data to be transferred from the buffer memory 2 to the disk device 4 may be only audio data for the period, but when the user reproduces the disk at a later date, it is not known why only audio is reproduced. Therefore, during the period, the additional data generation circuit 11 generates fixed image data and transfers it to the disk device 4. Specifically, since the system controller 5 stores the times T6 and T7, the additional data generation circuit 11 generates the image data to be added when the audio data during this time is transferred from the buffer memory 2 to the disk device 4. In addition, a command is given to the memory controller 3 to transfer the image data generated by the additional data generation circuit 11 to the disk device 4. As an image to be added, it is preferable to clearly indicate that the compression of the image has been stopped, but it may be a simple landscape. Further, the image immediately before stopping the compression processing of the image data may be generated as a still image. After this, normal operation is repeated.

図6(a)においてT6からT7までの間画像データの圧縮処理を停止することによって、バッファメモリ2の残量の減少速度が低下している。これは、バッファメモリ2が0になるまでの時間が長くなることを意味し、ディスク装置が書き込み不能状態から復帰するまでの時間に余裕ができることになる。また、バッファメモリ2の残量が0になるまでの時間を同一とすれば使用するメモリ量を低減できる。この点について、さらに詳しく説明する。一例として、16Mbのメモリをバッファメモリ2に使用し、初めの3.5秒間は4.3Mbpsの転送レートでメモリにデータを送り、その後画像データの圧縮処理を停止し、データ転送レートが0.3Mbpsとなる場合に、バッファメモリ2の残量が0になるまでの時間を計算すると、3.5s+(16Mb−4.3Mbps×3.5s)/0.3Mbps=6.2sとなる。バッファメモリ2の残量が0になるまでに6.2秒を要することから、ディスク装置が書き込み不能状態から復帰するまでに最大6.2秒の余裕があることがわかる。従来の装置のように画像データと音声データを常に圧縮処理する場合、データ転送レートは、4.3Mbps固定なので、16Mb/4.3Mbps=3.7sとなり、3.7秒しか余裕がないので、本発明による第2の実施の形態では、復帰時間が約1.7倍に延ばせることがわかる。逆に6.2秒の復帰時間を確保するためのバッファメモリ量を計算すると、従来の装置では、4.3Mbps×6.2s=27Mbとなり、本発明の第2の実施の形態では、約40%メモリ量を削減できることがわかる。このように、本発明の第2の実施の形態によれば、バッファメモリ量の大幅な削減あるいは書き込み不能状態からの復帰時間の余裕の増加が実現できる。   In FIG. 6A, the reduction rate of the remaining amount of the buffer memory 2 is reduced by stopping the compression processing of the image data from T6 to T7. This means that the time until the buffer memory 2 becomes 0 becomes longer, and there is an allowance for the time until the disk device returns from the unwritable state. Further, if the time until the remaining amount of the buffer memory 2 becomes 0 is the same, the amount of memory used can be reduced. This point will be described in more detail. As an example, a 16 Mb memory is used as the buffer memory 2, data is sent to the memory at the transfer rate of 4.3 Mbps for the first 3.5 seconds, and then the compression process of the image data is stopped, and the data transfer rate is 0. In the case of 3 Mbps, when the time until the remaining amount of the buffer memory 2 becomes 0 is calculated, 3.5 s + (16 Mbps−4.3 Mbps × 3.5 s) /0.3 Mbps = 6.2 s is obtained. Since it takes 6.2 seconds for the remaining amount of the buffer memory 2 to become 0, it can be seen that there is a maximum of 6.2 seconds before the disk device returns from the write-disabled state. When image data and audio data are always subjected to compression processing as in the conventional apparatus, the data transfer rate is fixed at 4.3 Mbps, so 16 Mbps / 4.3 Mbps = 3.7 s, so that there is only a margin of 3.7 seconds. In the second embodiment according to the present invention, it can be seen that the recovery time can be extended by about 1.7 times. Conversely, if the amount of buffer memory for securing the return time of 6.2 seconds is calculated, it becomes 4.3 Mbps × 6.2 s = 27 Mb in the conventional apparatus. In the second embodiment of the present invention, about 40 % Memory can be reduced. As described above, according to the second embodiment of the present invention, it is possible to realize a significant reduction in the amount of buffer memory or an increase in the return time margin from a write-disabled state.

以上説明した第2の実施の形態においては、画像データと音声データの2つのデータを圧縮処理する例について述べたが、3つ以上のデータを圧縮処理する場合にも応用可能である。この場合、3つ以上のデータのどれを停止するかを制御しなければならないので制御が複雑になるが、データ転送レートを大幅に低減できる利点がある。   In the second embodiment described above, an example of compressing two data of image data and audio data has been described, but the present invention can also be applied to a case of compressing three or more data. In this case, since it is necessary to control which of the three or more data is to be stopped, the control becomes complicated, but there is an advantage that the data transfer rate can be greatly reduced.

第2の実施の形態においては、バッファメモリの残量がTH3を下回った時点で画像の圧縮を停止したが、ディスク装置4が記録不能状態になった時点T3において画像の圧縮を停止し、ディスク装置4が記録可能になった時点T7で画像の圧縮を開始するようにしても良い。この場合、第2の実施の形態に比べて早い時点で画像の圧縮を停止することになるので、画像データの無い期間が長くなることになる。しかし、第2の実施の形態に比べ更にバッファメモリを削減できる。   In the second embodiment, the compression of the image is stopped when the remaining amount of the buffer memory falls below TH3. However, the compression of the image is stopped at the time T3 when the disk device 4 becomes unrecordable. Image compression may be started at time T7 when the apparatus 4 becomes recordable. In this case, since the compression of the image is stopped at an earlier time than in the second embodiment, the period without image data becomes longer. However, the buffer memory can be further reduced as compared with the second embodiment.

また、第2の実施の形態においては、ディスク装置4がデータ書き込み可能な状態になったことを検出し、画像データの圧縮処理を開始するようにしたが、第1の実施の形態において説明したのと同様に、バッファメモリ2の残量が所定値以上になったときに画像データの圧縮処理を開始するようにしてもよい。こすることにより、バッファメモリ2の残量に余裕ができた時点で画像データの圧縮を開始することになるので、連続して発生する衝撃による記録不能状態に対してもバッファメモリ2の残量が0になるまでの時間に余裕ができる。   Further, in the second embodiment, it is detected that the disk device 4 is in a state where data can be written, and the image data compression process is started. However, as described in the first embodiment, Similarly to the above, the compression process of the image data may be started when the remaining amount of the buffer memory 2 becomes a predetermined value or more. As a result, the compression of the image data is started when the remaining capacity of the buffer memory 2 is sufficient, so that the remaining capacity of the buffer memory 2 can be used even in a recording impossible state due to a continuously generated shock. There is room for the time to reach 0.

なお、本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、該記憶手段の記憶不能状態を検知して前記圧縮手段の情報の圧縮率を大きくする制御手段と、を備えた構成としても良い。   The compressed information storage device of the present invention includes a compression means for compressing information to generate compressed information, a temporary storage means for temporarily storing the compressed information, and a rate faster than the rate stored in the temporary storage means. The storage means for storing the compression information from the temporary storage means, and the control means for detecting the incomprehensible state of the storage means and increasing the compression rate of the information of the compression means may be provided.

本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段と、を備えた構成としても良い。   The compressed information storage device of the present invention includes a compression unit that compresses information to generate compressed information, a temporary storage unit that temporarily stores compressed information, and a rate faster than the rate stored in the temporary storage unit. A storage unit that stores compression information from the temporary storage unit; a remaining amount detection unit that detects an unused capacity of the temporary storage unit; and an unused capacity detected by the remaining amount detection unit is smaller than a predetermined set value. It is good also as a structure provided with the control means which detects the memory impossible state of the said memory | storage means, and enlarges the compression rate of the information of the said compression means based on this detection.

本発明の圧縮情報記憶装置は、上記構成に加えて、前記制御手段が、前記記憶手段の記憶可能状態を検知して前記圧縮手段の情報の圧縮率を元の圧縮率に戻してもよい。   In the compressed information storage device of the present invention, in addition to the above configuration, the control unit may detect the storage enabled state of the storage unit and return the compression rate of the information of the compression unit to the original compression rate.

本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、前記圧縮情報を記憶する記憶手段と、前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段と、を備えた構成としても良い。   The compressed information storage device of the present invention detects a compression means for compressing information to generate compressed information, a storage means for storing the compressed information, and an unstorable state of the storage means, and the compression based on this detection Control means for increasing the compression rate of the information of the means may be provided.

本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、前記圧縮情報を一時的に記憶する一時記憶手段と、前記一時記憶手段から送られていた圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、前記残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段と、を備えた構成としても良い。   The compressed information storage device of the present invention stores compression means for compressing information to generate compressed information, temporary storage means for temporarily storing the compressed information, and compressed information sent from the temporary storage means Storage means, remaining amount detection means for detecting unused capacity of the temporary storage means, and when the unused capacity detected by the remaining capacity detection means is smaller than a predetermined set value, It is good also as a structure provided with the control means which detects and enlarges the compression rate of the information of the said compression means based on this detection.

さらに、本発明の圧縮情報記憶装置は、複数種の情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、該記憶手段の記憶不能状態を検知し、この検知に基づき複数種の情報から所定の情報のみを圧縮させるように前記圧縮手段へ指令する制御手段と、を備えた構成であっても良い。   Furthermore, the compressed information storage device of the present invention includes a compression means for compressing a plurality of types of information to generate compressed information, a temporary storage means for temporarily storing the compressed information, and a rate stored in the temporary storage means. Storage means for storing compressed information from the temporary storage means at a faster rate, and the compression means for detecting an unstorable state of the storage means and compressing only predetermined information from a plurality of types of information based on this detection And a control means for instructing to.

本発明の圧縮情報記憶装置は、複数種の情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記複数種の情報から所定の情報のみを圧縮させるように圧縮手段へ指令する制御手段と、を備えた構成であっても良い。   The compressed information storage device of the present invention compresses a plurality of types of information to generate compressed information, temporary storage means for temporarily storing compressed information, and a rate faster than the rate stored in the temporary storage means Storage means for storing compression information from the temporary storage means at a rate; remaining amount detection means for detecting unused capacity of the temporary storage means; and unused capacity detected by the remaining amount detection means is a predetermined set value And a control means for detecting an unstorable state of the storage means when the time is smaller, and instructing the compression means to compress only predetermined information from the plurality of types of information based on the detection. good.

本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、該記憶手段の記憶不能状態を検知して前記圧縮手段の情報の圧縮率を大きくする制御手段と、圧縮率が上がったときに圧縮率が上がったことを表示する表示手段と、を備えた構成であっても良い。   The compressed information storage device of the present invention includes a compression unit that compresses information to generate compressed information, a temporary storage unit that temporarily stores compressed information, and a rate faster than the rate stored in the temporary storage unit. A storage means for storing compression information from the temporary storage means; a control means for detecting a non-storable state of the storage means to increase the compression ratio of the information of the compression means; and the compression ratio increases when the compression ratio increases. And a display means for displaying that.

本発明の圧縮情報記憶装置は、情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段と、圧縮率が上がったときに圧縮率が上がったことを表示する表示手段と、を備えたことを特徴とする圧縮情報記憶装置。   The compressed information storage device of the present invention includes a compression unit that compresses information to generate compressed information, a temporary storage unit that temporarily stores compressed information, and a rate faster than the rate stored in the temporary storage unit. A storage unit that stores compression information from the temporary storage unit; a remaining amount detection unit that detects an unused capacity of the temporary storage unit; and an unused capacity detected by the remaining amount detection unit is smaller than a predetermined set value. A control means for detecting a non-storable state of the storage means and increasing the compression rate of the information of the compression means based on this detection; a display means for displaying that the compression rate has increased when the compression rate has increased; A compressed information storage device comprising:

本発明の圧縮情報記憶装置は、上記構成にくわえて、複数種の情報から圧縮していない情報を表示する表示手段をさらに備えた構成であっても良い。   In addition to the above configuration, the compressed information storage device of the present invention may be configured to further include display means for displaying uncompressed information from a plurality of types of information.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記制御手段は、前記記憶手段の記憶可能状態を検知して前記圧縮手段の複数種の全ての情報を圧縮することが好ましい。   In the compressed information storage device of the present invention, in addition to the above configuration, it is preferable that the control unit compresses all information of a plurality of types of the compression unit by detecting a storage enabled state of the storage unit.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記残量検出手段で検出された未使用容量が前記所定の設定値以上の他の設定値より大きい時に、前記制御手段は、前記記憶手段の記憶可能状態を検知して前記圧縮手段の複数種の情報を圧縮することが好ましい。   In addition to the above configuration, the compressed information storage device of the present invention is configured such that when the unused capacity detected by the remaining amount detecting means is larger than another set value that is equal to or greater than the predetermined set value, the control means It is preferable to compress a plurality of types of information of the compressing means by detecting a storable state of the means.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記制御手段からの指示により付加情報を前記記録手段に出力する付加情報発生手段をさらに備えた構成であっても良い。   In addition to the above configuration, the compressed information storage device of the present invention may further include additional information generating means for outputting additional information to the recording means in response to an instruction from the control means.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記付加情報は、前記付加情報発生手段に内蔵されており、前記複数種の情報のうちのいずれか一種類の情報であることが好ましい。   In the compressed information storage device of the present invention, in addition to the above configuration, the additional information is preferably built in the additional information generating means and is any one kind of information among the plurality of types of information. .

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記付加情報は、前記制御手段が前記圧縮手段に複数種の情報から所定の情報のみを圧縮する指示を行った時の情報以外のいずれか一の情報であることが好ましい。   In the compressed information storage device of the present invention, in addition to the above configuration, the additional information may be any information other than information when the control unit instructs the compression unit to compress only predetermined information from a plurality of types of information. It is preferable that the information is one.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記制御手段は、記録不能状態から記録可能状態までの期間分を前記記録手段に記録する場合に、前記一時記憶手段に記憶されている圧縮情報と前記付加情報とを共に記録することが好ましい。   In addition to the above configuration, the compressed information storage device of the present invention is stored in the temporary storage unit when the control unit records the period from the unrecordable state to the recordable state in the recording unit. It is preferable to record both the compressed information and the additional information.

本発明の圧縮情報記憶装置は、上記構成にくわえて、情報を圧縮して圧縮情報を生成する圧縮手段と、前記圧縮手段の情報の圧縮率を変更する制御手段と、圧縮率が上がったときに圧縮率が上がったことを表示する表示手段と、を備えた構成であっても良い。   In addition to the above configuration, the compressed information storage device of the present invention compresses information to generate compressed information, control means for changing the compression rate of the information of the compression unit, and when the compression rate increases And a display means for displaying that the compression rate has increased.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記圧縮情報を一時的に記憶する一時記憶手段をさらに備え、前記制御手段は、前記一時記憶手段のメモリ残量により前記圧縮手段の情報の圧縮率を変更することが好ましい。   In addition to the above configuration, the compressed information storage device of the present invention further includes temporary storage means for temporarily storing the compressed information, and the control means stores information on the compression means according to the remaining memory capacity of the temporary storage means. It is preferable to change the compression ratio.

本発明の圧縮情報記憶装置は、上記構成にくわえて、複数種の情報を圧縮して圧縮情報を生成する圧縮手段と、前記圧縮手段を制御して複数種の情報から所定の情報のみを圧縮する制御手段と、前記複数種の情報から、圧縮していない情報を表示する表示手段と、
を備えた構成であっても良い。
In addition to the above configuration, the compressed information storage device of the present invention compresses a plurality of types of information to generate compressed information, and controls the compression unit to compress only predetermined information from the plurality of types of information. Control means for displaying, display means for displaying uncompressed information from the plurality of types of information,
The structure provided with may be sufficient.

本発明の圧縮情報記憶装置は、上記構成にくわえて、前記圧縮情報を一時的に記憶する一時記憶手段をさらに備え、前記制御手段は、前記一時記憶手段のメモリ残量により前記圧縮手段を制御して複数種の情報から所定の情報のみを圧縮することが好ましい。   In addition to the above configuration, the compressed information storage device of the present invention further includes temporary storage means for temporarily storing the compressed information, and the control means controls the compression means by the remaining memory capacity of the temporary storage means. Thus, it is preferable to compress only predetermined information from a plurality of types of information.

本発明の圧縮情報記憶装置は、複数種の情報を圧縮して圧縮情報を生成する圧縮手段と、前記圧縮情報を記憶する記憶手段と、前記記憶手段の記憶不能状態を検知し、この検知に基づき複数種の情報から所定の情報のみを圧縮させるように前記圧縮手段へ指示する制御手段と、を備えた構成としても良い。   The compressed information storage device of the present invention detects a compression means for compressing a plurality of types of information to generate compressed information, a storage means for storing the compressed information, and an unstorable state of the storage means. And a control unit that instructs the compression unit to compress only predetermined information from a plurality of types of information.

本発明の圧縮情報記憶装置は、複数種の情報を圧縮して圧縮情報を生成する圧縮手段と、圧縮情報を一時的に記憶する一時記憶手段と、該一時記憶手段から送られてきた圧縮情報を記憶する記憶手段と、前記一時記憶手段の未使用容量を検出する残量検出手段と、該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき複数種の情報から所定の情報のみを圧縮させるように圧縮手段へ指示する制御手段と、を備えた構成であっても良い。   The compressed information storage device of the present invention includes a compression means for compressing a plurality of types of information to generate compressed information, a temporary storage means for temporarily storing the compressed information, and compressed information sent from the temporary storage means Storage means for storing the remaining capacity detecting means for detecting the unused capacity of the temporary storage means, and the storage means cannot be stored when the unused capacity detected by the remaining capacity detecting means is smaller than a predetermined set value. It may be configured to include a control unit that detects a state and instructs the compression unit to compress only predetermined information from a plurality of types of information based on the detection.

また、本発明によれば、以下のような効果が得られる。   Further, according to the present invention, the following effects can be obtained.

記憶装置が記憶不能状態のときには、複数種の情報のうち一部の情報のみを圧縮するので一時記憶手段の記憶容量を小さくでき、その結果、安価で耐震性能の高い装置を実現できる。   When the storage device is incapable of storage, only a part of the plurality of types of information is compressed, so that the storage capacity of the temporary storage means can be reduced, and as a result, an inexpensive device with high seismic performance can be realized.

また、圧縮率を高くしたとき、もしくは、圧縮する情報の数を減らしたとき、それを表示するので使用者は、それに応じた対応をとる事ができる。   Further, when the compression rate is increased or when the number of pieces of information to be compressed is reduced, it is displayed so that the user can take a corresponding action.

第1の実施の形態における圧縮情報記憶装置のブロック図である。It is a block diagram of the compression information storage device in a 1st embodiment. 第1の実施の形態における圧縮情報記憶装置のバッファメモリの残量の時間的な変化と圧縮率の時間的な変化を示す図である。It is a figure which shows the time change of the residual amount of the buffer memory of the compression information storage device in 1st Embodiment, and the time change of a compression rate. 第1の実施の形態における圧縮情報記憶装置の他の場合のバッファメモリの残量の時間的な変化と圧縮率の時間的な変化を示す図である。It is a figure which shows the time change of the residual amount of the buffer memory in another case of the compression information storage device in 1st Embodiment, and the time change of a compression rate. 第1の実施の形態における圧縮情報記憶装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the compression information storage device in 1st Embodiment. 第2の実施の形態における圧縮情報記憶装置のブロック図である。It is a block diagram of the compression information storage device in a 2nd embodiment. 第2の実施の形態における圧縮情報記憶装置のバッファメモリの残量の時間的な変化と圧縮状態の時間的な変化を示す図である。It is a figure which shows the time change of the residual amount of the buffer memory of the compression information storage device in 2nd Embodiment, and the time change of a compression state. 従来の圧縮情報記憶装置のブロック図である。It is a block diagram of the conventional compression information storage device. 従来の圧縮情報記憶装置のバッファメモリの残量の時間的な変化を示す図である。It is a figure which shows the time change of the residual amount of the buffer memory of the conventional compression information storage device.

符号の説明Explanation of symbols

1 圧縮回路
2 バッファメモリ
3 メモリコントローラ
4 ディスク装置
5 システムコントローラ
6 表示装置
7 A/D変換器
8 カメラ部
9 音声部
10 A/D変換器
11 付加データ発生回路
DESCRIPTION OF SYMBOLS 1 Compression circuit 2 Buffer memory 3 Memory controller 4 Disk apparatus 5 System controller 6 Display apparatus 7 A / D converter 8 Camera part 9 Audio | voice part 10 A / D converter 11 Additional data generation circuit

Claims (1)

情報を圧縮して圧縮情報を生成する圧縮手段と、
圧縮情報を一時的に記憶する一時記憶手段と、
該一時記憶手段に記憶されるレートより速いレートで前記一時記憶手段から圧縮情報を記憶する記憶手段と、
前記一時記憶手段の未使用容量を検出する残量検出手段と、
該残量検出手段で検出された未使用容量が所定の設定値より小さい時に前記記憶手段の記憶不能状態を検知し、この検知に基づき前記圧縮手段の情報の圧縮率を大きくする制御手段とを備えた圧縮情報記憶装置であって、
前記制御手段が、前記記憶手段が書き込み可能な状態になったことを検出した後、前記残量検出手段で検出された未使用容量が前記所定の設定値を超える他の設定値まで増えるのを待ってから、前記圧縮手段の情報の圧縮率を元の圧縮率に戻すことを特徴とする圧縮情報記憶装置。
Compression means for compressing information to generate compressed information;
Temporary storage means for temporarily storing the compression information;
Storage means for storing compressed information from the temporary storage means at a rate faster than the rate stored in the temporary storage means;
A remaining amount detecting means for detecting an unused capacity of the temporary storage means;
A control means for detecting an unstorable state of the storage means when the unused capacity detected by the remaining amount detection means is smaller than a predetermined set value, and for increasing the compression rate of the information of the compression means based on this detection; A compressed information storage device comprising:
After the control unit detects that the storage unit is in a writable state, the unused capacity detected by the remaining amount detection unit increases to another set value exceeding the predetermined set value. A compression information storage device which waits and returns the compression rate of the information of the compression means to the original compression rate.
JP2006212609A 1996-08-02 2006-08-03 Compressed information storage device Expired - Fee Related JP4531730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006212609A JP4531730B2 (en) 1996-08-02 2006-08-03 Compressed information storage device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP20444696 1996-08-02
JP2006212609A JP4531730B2 (en) 1996-08-02 2006-08-03 Compressed information storage device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP13958797A Division JP3859815B2 (en) 1996-08-02 1997-05-29 Compressed information storage device

Publications (2)

Publication Number Publication Date
JP2007018695A true JP2007018695A (en) 2007-01-25
JP4531730B2 JP4531730B2 (en) 2010-08-25

Family

ID=37755704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006212609A Expired - Fee Related JP4531730B2 (en) 1996-08-02 2006-08-03 Compressed information storage device

Country Status (1)

Country Link
JP (1) JP4531730B2 (en)

Also Published As

Publication number Publication date
JP4531730B2 (en) 2010-08-25

Similar Documents

Publication Publication Date Title
JP3859815B2 (en) Compressed information storage device
JP3977245B2 (en) Playback device
JP2009032331A (en) Electronic apparatus
KR100497913B1 (en) Data recording apparatus, reproducing apparatus, recording/reproducing method, and imaging apparatus
KR100702908B1 (en) Recording and reproducing apparatus
JP3814565B2 (en) Recording device
JP2004349993A (en) Image recording device
JP4343765B2 (en) Recording apparatus and reproducing apparatus
JPH08279976A (en) Disk recording and reproducing device
JP4531730B2 (en) Compressed information storage device
US8620137B2 (en) Method and apparatus for defining entry point in a data stream
JP2006323953A (en) Information recorder and information recording/reproducing device
JP3769358B2 (en) Video switching recording / playback device
JP2002094939A (en) Recording apparatus and reproducing apparatus
US20090060457A1 (en) Recording apparatus
JP3826134B2 (en) Recording device
JP4621163B2 (en) Video recording / playback device
JP2004040518A (en) Imaging recorder and reproducing device
JP3389526B2 (en) Recording device
JP4577346B2 (en) Data recording apparatus, data reproducing apparatus, data recording / reproducing method, and imaging apparatus
JP4444805B2 (en) Recording / playback device
JP2693848B2 (en) Playback signal monitoring method for digital audio tape recorder
JP2000217068A (en) Information recorder
JPH11308570A (en) Image recorder
JP2002369141A (en) Digital image recorder/reproducer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071113

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100609

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees