JPH10124404A - Recording and playback device - Google Patents
Recording and playback deviceInfo
- Publication number
- JPH10124404A JPH10124404A JP8282416A JP28241696A JPH10124404A JP H10124404 A JPH10124404 A JP H10124404A JP 8282416 A JP8282416 A JP 8282416A JP 28241696 A JP28241696 A JP 28241696A JP H10124404 A JPH10124404 A JP H10124404A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- memory
- management table
- recording medium
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 230000002950 deficient Effects 0.000 claims abstract description 15
- 230000004044 response Effects 0.000 claims abstract description 4
- 238000000034 method Methods 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 45
- 238000013500 data storage Methods 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000007704 transition Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】
【課題】 メモリ消去中に電源の供給が停止した場合で
も、前記無記録領域の再生または利用されることのない
記録再生装置を提供すること。
【解決手段】 メモリ8上の管理テーブル記憶領域であ
るメモリ管理テーブル8b上の「記録済み」として録音
件数ナンバーがマーキングしてある箇所を「無記録」を
表したデータに書き換えて記録した後、メモリ制御手段
8よりメモリ8に消去のコマンドを送り、管理テーブル
記録領域以外の範囲(メモリ8a)のデータの消去を行
い、このメモリ消去動作後、不良ブロック(チャプタ)
の検出、即ち、メモリ8にステータスリード信号を出力
しその応答であるメモリのステータス信号を読んで当該
消去箇所が不良ブロックであるか否かの検出を行い、管
理テーブル上に、例えば不良の場合“1”を正常の場合
“0”を記録しメモリ8の管理テーブル記憶領域である
メモリ8b上に再記録(上書き)する。
(57) [Problem] To provide a recording / reproducing apparatus which does not reproduce or use the non-recording area even when power supply is stopped during memory erasing. SOLUTION: After rewriting a location where a recording number is marked as “recorded” on a memory management table 8b, which is a management table storage area on a memory 8, to data representing “non-recording”, recording is performed. An erase command is sent from the memory control means 8 to the memory 8 to erase data in a range (memory 8a) other than the management table recording area, and after this memory erase operation, a bad block (chapter)
That is, a status read signal is output to the memory 8, and a status signal of the memory, which is a response to the status read signal, is read to detect whether or not the erased portion is a defective block. If "1" is normal, "0" is recorded and re-recorded (overwritten) on the memory 8b, which is the management table storage area of the memory 8.
Description
【0001】[0001]
【発明の属する技術分野】本発明はフラッシュメモリ等
の不揮発性メモリを記録媒体として用いた記録再生装置
に関する。The present invention relates to a recording / reproducing apparatus using a nonvolatile memory such as a flash memory as a recording medium.
【0002】[0002]
【従来の技術】従来、例えばフラッシュメモリを記録媒
体とした音声記録装置において、記録内容を消去する場
合、次の手順で行われていた。即ち、(1) メモリ上のデ
ータを消去する。そして、(2) 前記メモリより出力され
るステータス信号を読み、消去NGが発生していた場
合、消去を行った箇所に該当するメモリ管理テーブル上
のエリアに不良ブロックのマーキングをする。次に、
(3) 前記消去を行った箇所に該当するメモリ管理テーブ
ル上のエリアにおけるマーキングを、無記録(使用不
可)のマーキングに書き換えを行う。最後に、(4) 前記
メモリ管理テーブルをメモリに格納する。2. Description of the Related Art Hitherto, in a voice recording apparatus using a flash memory as a recording medium, erasing recorded contents has been performed in the following procedure. That is, (1) data on the memory is erased. (2) The status signal output from the memory is read, and if erasure NG has occurred, a bad block is marked in an area on the memory management table corresponding to the erased location. next,
(3) The marking in the area on the memory management table corresponding to the position where the erasing is performed is rewritten to the non-recording (unusable) marking. Finally, (4) the memory management table is stored in the memory.
【0003】ところで、前記音声記録装置は、上記の手
順にて記録内容の消去を行うにあたり、前記メモリは消
去後に、消去動作が正常に行われたか否かをステータス
信号を読むことにより判別し、さらに、消去NGの場合
には、管理テーブルの該当個所をマーキングすることに
より、以降メモリ上の当該箇所(不良ブロック)のアク
セス防止を可能とするシステムであり、これは前記音声
記録装置を構成するフラッシュメモリの有する特性によ
り実現されている。[0003] By the way, when erasing recorded contents in the above-described procedure, the voice recording device determines whether or not the erasing operation has been normally performed by reading a status signal after the erasing, Furthermore, in the case of erasure NG, the system is configured to mark the corresponding location in the management table, thereby preventing access to the location (defective block) on the memory thereafter, and this constitutes the voice recording device. This is realized by the characteristics of the flash memory.
【0004】即ち、NAND型フラッシュメモリの場
合、その機能の1つとしてステータスリード機能を備え
ている。この機能はプログラムや消去動作の実行および
検証の繰り返し動作をデバイス内部で自動的に実行し、
その実行動作の結果やデバイスの状態等を外部からのコ
マンドによってデータバスにステータス信号として出力
するものである。これにより、消去動作実行後、ステー
タスリード信号を前記デバイスに送ると、例えば、正常
の場合“0”が、失敗(異常)の場合“1”が出力さ
れ、制御側でその信号を読むことにより、消去しようと
したブロックが不良か否かを判別することができるつま
り、前記の手順、即ち、消去動作を行うことにより不良
ブロックの検出が行われ、管理テーブルの更新が行われ
て、検出された不良ブロックのアクセス防止が実現され
る。That is, a NAND type flash memory has a status read function as one of its functions. This function automatically executes the program and erase operations and repeats the verification operation inside the device,
The result of the execution operation, the state of the device, and the like are output as a status signal to the data bus by an external command. As a result, when a status read signal is sent to the device after the execution of the erasing operation, for example, “0” is output in the case of normal operation and “1” is output in the case of failure (abnormal operation). In other words, it is possible to determine whether the block to be erased is defective. That is, the above-mentioned procedure, that is, the erasing operation is performed, the defective block is detected, the management table is updated, and the detection is performed. This prevents access to the bad block.
【0005】ところで、前記音声記録装置を構成するフ
ラッシュメモリが、例えば、16メガビットのフラッシ
ュメモリであったとすると、このメモリの全領域を消去
するためには、約3秒を要する。したがって、前述の消
去手順の実行中に前記デバイス(フラッシュメモリ)へ
の電源の供給が停止した場合、即ち、メモリ消去中に電
源が切られた場合等、前記フラッシュメモリ上のデータ
は途中まで消去されているのに、前記管理テーブル上の
データ(記録)は更新されていないという状況が発生す
る(場合がほとんどである)。このため、以降の操作の
内容如何によっては、メモリ上の無記録領域、即ち、前
記電源の供給が停止する直前までの消去動作(処理)の
既に完了している領域を再生(利用)してしまうという
不具合が生じる。If the flash memory constituting the audio recording device is, for example, a 16-megabit flash memory, it takes about 3 seconds to erase the entire area of the memory. Therefore, when power supply to the device (flash memory) is stopped during execution of the above-described erasing procedure, that is, when power is turned off during memory erasing, data in the flash memory is partially erased. However, a situation occurs in which the data (record) on the management table is not updated even though the management table has been updated. Therefore, depending on the contents of the subsequent operations, the non-recorded area on the memory, that is, the area in which the erasing operation (processing) has been completed immediately before the power supply is stopped is reproduced (utilized). There is a problem that it is lost.
【0006】[0006]
【発明が解決しようとする課題】上記の如く、従来の
(メモリの)消去動作手順によると、前記消去動作の実
行中、即ち、前記消去動作が完了する以前に何らかの原
因で電源の供給が停止した場合、前記フラッシュメモリ
上のデータは途中まで消去されているのに、管理テーブ
ル上のデータ(記録)は更新されないという状況が発生
し、電源の供給が再開されて以降、メモリ上の無記録領
域、即ち、前記電源の供給が停止する直前までの消去動
作(処理)の既に完了している領域を再生(利用)して
しまう場合が発生するという問題(欠点)があった。As described above, according to the conventional (memory) erase operation procedure, the supply of power is stopped for some reason during the execution of the erase operation, that is, before the erase operation is completed. In this case, the data (recording) on the management table is not updated even though the data on the flash memory has been erased halfway, and after the power supply is restarted, no data is recorded on the memory. There is a problem (defect) that an area, that is, an area in which the erasing operation (processing) has been completed (immediately before the power supply is stopped) may be reproduced (utilized).
【0007】そこで、本発明はこのような問題に鑑み、
メモリ消去中に電源の供給が停止した場合でも、前記無
記録領域の再生または利用されることのない記録再生装
置を提供することを目的とするものである。Accordingly, the present invention has been made in view of such a problem,
It is an object of the present invention to provide a recording / reproducing apparatus that does not reproduce or use the non-recording area even when the supply of power is stopped during memory erasure.
【0008】[0008]
【課題を解決するための手段】請求項1に記載の発明に
よる記録再生装置は、入力データの書き込みが可能で、
且つ書き込まれたデータの読み出しおよび消去が可能な
記録媒体と、前記記録媒体に対して、データの記録,再
生,並びに消去を行うための指示を出力する操作手段
と、前記操作手段からの指示を受けて、前記記録媒体に
対して、データの記録,再生,並びに消去を行うための
制御を行うメモリ制御手段と、前記記録媒体の各記録領
域の各種の管理を行うための管理テーブルを記憶する記
憶手段と、前記記録媒体における所定の記録領域に記録
されたデータを前記メモリ制御手段と連係して消去する
手順であって、消去しようとする前記記録媒体上の所定
の記録領域に対応した前記管理テーブル上の当該管理領
域をクリアし、続いて前記記録媒体における当該記録領
域上のデータを消去し、その後前記記録媒体における前
記消去箇所が不良であるか否かを判別し、最後に前記判
別結果に基づいて前記管理テーブルにおける前記当該管
理領域を更新する管理テーブル制御手段とを具備したこ
とを特徴とする。According to the first aspect of the present invention, there is provided a recording / reproducing apparatus capable of writing input data.
A recording medium capable of reading and erasing written data; operating means for outputting instructions for recording, reproducing, and erasing data on the recording medium; and an instruction from the operating means. Upon receiving the data, a memory control means for performing control for recording, reproducing, and erasing data on the recording medium and a management table for performing various managements of each recording area of the recording medium are stored. Storing means for erasing data recorded in a predetermined recording area of the recording medium in cooperation with the memory control means, the data corresponding to a predetermined recording area on the recording medium to be erased; Clearing the management area on the management table, then erasing the data on the recording area on the recording medium, and then determining that the erased area on the recording medium is defective. It is determined whether or not Luke, characterized by comprising a management table control means for updating the said management region in the management table based on the last on the determination result.
【0009】また、請求項2に記載の発明による記録再
生装置は、請求項1に記載の記録再生装置において、前
記管理テーブルは、前記記録媒体の一部に設けられるこ
とを特徴とするものであり、請求項3に記載の発明によ
る記録再生装置は、請求項1または2に記載の記録再生
装置において、前記記録媒体は、フラッシュメモリで構
成されていることを特徴とするものであり、請求項4に
記載の発明による記録再生装置は、請求項1,2または
3に記載の記録再生装置において、前記制御手段は、マ
イクロコンピュータで構成され、前記管理テーブルは、
前記マイクロコンピュータ内のRAMに設けられること
を特徴とするものである。A recording and reproducing apparatus according to a second aspect of the present invention is the recording and reproducing apparatus according to the first aspect, wherein the management table is provided in a part of the recording medium. According to a third aspect of the present invention, there is provided a recording / reproducing apparatus according to the first or second aspect, wherein the recording medium comprises a flash memory. The recording / reproducing apparatus according to the fourth aspect of the present invention is the recording / reproducing apparatus according to the first, second or third aspect, wherein the control means is constituted by a microcomputer, and the management table is
It is provided in a RAM in the microcomputer.
【0010】請求項1から4に記載の発明によれば、消
去操作を行う際に、まず管理デーブル上の記録済みを示
すマーキングの施されている箇所(チャプタまたはブロ
ック)を無記録状態を示すマーキングに書き換えるよう
にしたので、その後のメモリ消去動作中にメモリへの電
源の供給が停止し、消去動作が途中で中断された場合で
も、管理テーブル上の記録(マーキング)は無記録とな
っているため、その後(電源の供給が再開)の操作で無
記録領域、即ち、電源断により消去が完了していない中
途半端な領域(ブロック)が再生されてしまうことを防
止することができる。According to the first to fourth aspects of the present invention, when an erasing operation is performed, first, a portion (chapter or block) on the management table where a marking indicating recording has been made is set to a non-recording state. Since the marking is rewritten, the power supply to the memory is stopped during the subsequent memory erasing operation, and even if the erasing operation is interrupted halfway, the recording (marking) on the management table becomes unrecorded. Therefore, it is possible to prevent a non-recording area, that is, an incomplete area (block) in which erasing has not been completed due to power-off, from being reproduced by a subsequent operation (resumption of power supply).
【0011】さらに、消去動作後にステータス信号を読
んで不良ブロックの検出を行い、再度管理テーブルを更
新するので、不良ブロックをアクセスすることも同時に
防止することができる。Further, since the status signal is read after the erasing operation to detect a defective block and the management table is updated again, access to the defective block can be prevented at the same time.
【0012】請求項5に記載の発明による記録再生装置
は、請求項1から4のいずれか1に記載の記録再生装置
において、前記記録媒体が扱うデータは音声または映像
データであることを特徴とするものであり、請求項6に
記載の発明による記録再生装置は、請求項1から4のい
ずれか1に記載の記録再生装置において、前記記録媒体
が扱うデータは音声および映像データであることを特徴
とするものである。According to a fifth aspect of the present invention, in the recording and reproducing apparatus according to any one of the first to fourth aspects, the data handled by the recording medium is audio or video data. According to a sixth aspect of the present invention, there is provided the recording / reproducing apparatus according to any one of the first to fourth aspects, wherein the data handled by the recording medium is audio and video data. It is a feature.
【0013】請求項5または6に記載の発明によれば、
記録再生装置として、音声信号および映像信号をも記録
再生可能な固体録音再生装置に応用することができる。According to the invention described in claim 5 or 6,
As a recording / reproducing device, the present invention can be applied to a solid-state recording / reproducing device capable of recording and reproducing also an audio signal and a video signal.
【0014】[0014]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明の記録再生装
置の実施の形態を示すブロック図であり、その一例であ
るフラッシュメモリを記録媒体とする記録再生装置の構
成を示している。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a recording / reproducing apparatus according to the present invention, and shows a configuration of a recording / reproducing apparatus using a flash memory as a recording medium as an example.
【0015】この記録再生装置は、操作部1と、モード
遷移制御手段2と、表示部3と、表示制御部4と、音声
入力部5と、DSP( Digital Sound Processor)6
と、DSP制御手段7と、メモリ8と、メモリ制御手段
9と、音声出力部10と、管理テーブル制御手段18
と、バッテリ検出制御手段20と、A/D変換回路21
と、バッテリ22とを具備して構成される。This recording / reproducing apparatus includes an operation unit 1, a mode transition control unit 2, a display unit 3, a display control unit 4, an audio input unit 5, and a DSP (Digital Sound Processor) 6.
, DSP control means 7, memory 8, memory control means 9, audio output unit 10, management table control means 18
, Battery detection control means 20, A / D conversion circuit 21
And a battery 22.
【0016】操作部1は、再生釦11と、記録釦12
と、停止釦13と、早送り釦(FF釦という)14と、
巻戻し釦(REW釦という)16などの釦を有してい
る。The operation unit 1 includes a play button 11 and a record button 12
A stop button 13, a fast-forward button (referred to as an FF button) 14,
It has buttons such as a rewind button (referred to as a REW button) 16.
【0017】表示部3は、例えば液晶表示装置で構成さ
れている。The display section 3 is composed of, for example, a liquid crystal display device.
【0018】記録開始時には、操作部1に設けられた記
録釦12が押されたことをモード遷移制御手段2により
検出している。この記録モードへの移行により、記録開
始の指示をDSP制御手段7へ出す。DSP制御手段7
は、これを受けDSP6を制御して圧縮動作を行わせ
る。At the start of recording, the mode transition control means 2 detects that the recording button 12 provided on the operation unit 1 has been pressed. By the transition to the recording mode, a recording start instruction is issued to the DSP control means 7. DSP control means 7
Receives this signal and controls the DSP 6 to perform a compression operation.
【0019】音声入力部5は、マイクロフォン51、フ
ィルタ52およびA/D変換回路53等を備えており、
例えば、マイクロフォン51より入力され、A/D変換
回路53によりディジタル変換された音声信号をDSP
6へ供給している。DSP6とメモリ制御手段9によ
り、音声入力部5からの音声信号をメモリ8の音声デー
タ格納部8aへ所定の単位(ブロック長)にて記録して
いく。The voice input unit 5 includes a microphone 51, a filter 52, an A / D conversion circuit 53, and the like.
For example, an audio signal input from the microphone 51 and digitally converted by the A / D conversion circuit 53 is converted to a DSP.
6. The DSP 6 and the memory control unit 9 record the audio signal from the audio input unit 5 in the audio data storage unit 8a of the memory 8 in a predetermined unit (block length).
【0020】メモリ8は、例えばフラッシュメモリで構
成されており、音声データ格納部8aと前記音声データ
格納部8aの記録状態(アドレスなど)や障害情報等の
各種の情報を記憶する管理テーブル部8bとに分けられ
ている。メモリ制御手段9はメモリ8の記録および再生
を制御する機能を有しており、これによりメモリ8の音
声データ格納部8aへの音声データの書き込みおよび読
み出し等の制御が行われる。即ち、メモリ8への記録時
には、例えば、消去動作実行後にステータスリード信号
を出力し、その応答であるメモリのステータス信号を読
んで不良ブロックの検出を行い、正常であると判別され
たブロックに対して書き込み動作を行うと共に前記ステ
ータス信号に基づく不良ブロックの検出結果を前記管理
テーブル部8bに書き込む。また、再生時には前記管理
テーブル部8bに記録された情報に基づいて不良ブロッ
ク以外のブロック(正常ブロック)から読み出しを行う
ように制御している。The memory 8 is composed of, for example, a flash memory, and has an audio data storage section 8a and a management table section 8b for storing various information such as a recording state (address and the like) of the audio data storage section 8a and fault information. And is divided into The memory control means 9 has a function of controlling recording and reproduction of the memory 8, and thereby controls writing and reading of audio data to and from the audio data storage unit 8 a of the memory 8. That is, at the time of recording in the memory 8, for example, a status read signal is output after the execution of the erasing operation, the status signal of the memory which is a response is read, and a defective block is detected. To write a defective block based on the status signal to the management table unit 8b. At the time of reproduction, control is performed such that reading is performed from blocks other than the defective block (normal blocks) based on the information recorded in the management table section 8b.
【0021】管理テーブル制御手段18は、音声データ
格納部8aに一回の記録動作にて記録した領域の開始ア
ドレスと終了アドレスを、管理テーブル部8bにそれぞ
れ書き込み、再生時にはこれを参照して一件分のデータ
として読み出しを行えるようになっている。The management table control means 18 writes the start address and the end address of the area recorded in the audio data storage section 8a in one recording operation into the management table section 8b, and refers to these at the time of reproduction, and The data can be read out as data for the case.
【0022】メモリ8内の模様を図2に示す。図2
(A)は管理テーブル部8bのみを、図2(B)はメモ
リ8をそれぞれ示している。FIG. 2 shows a pattern in the memory 8. FIG.
2A shows only the management table unit 8b, and FIG. 2B shows the memory 8.
【0023】管理テーブル部8bは、メモリ8の音声デ
ータ格納部8aの領域を分別する際に、メモリ領域の割
り当てを管理するためのものであり、固体メモリなどで
は開始アドレス、終了アドレスなどをテーブルに記録し
て管理している。The management table section 8b manages the allocation of a memory area when the area of the audio data storage section 8a of the memory 8 is separated. In a solid-state memory or the like, a start address and an end address are stored in a table. Is recorded and managed.
【0024】一回の記録動作にて記録される情報を一件
の情報として扱う単位(前記ブロック)を、チャブタ
(録音件数)と呼び、固体メモリなどの記録単位を示す
ものとして、文字通り重要な一区切りを意味している。
図2に示したチャプタ毎に開始アドレス、終了アドレス
などの情報を記録開始時または記録中、記録終了時に所
定の箇所に書き込んでいる。このテーブルを用いた記録
内容の管理については、特願平7ー339244号明細
書などに記載されている。A unit (the block) for treating information recorded in one recording operation as one piece of information is called a piglet (the number of recordings), and is literally important as a recording unit such as a solid-state memory. It means one break.
Information such as a start address and an end address for each chapter shown in FIG. 2 is written at a predetermined location at the start of recording, during recording, or at the end of recording. The management of recorded contents using this table is described in Japanese Patent Application No. 7-339244.
【0025】ここで、管理テーブルの作成について説明
する。DSP6を介して、音声入力部5からの音声デー
タをメモリ8へ書き込む際には、管理テーブル制御手段
18は、メモリ8bの情報から過去に記録されているチ
ャプタの件数と、その終了アドレスとを検索している。
図2では、チャプタ3まで記録済みであり、その終了ア
ドレスに1加算した 0101アドレスからチャプタ4
として記録を行う。このとき管理テーブル8bへ開始ア
ドレスを書き込み、記録時には書き込みアドレスが増え
る毎にこのアドレスを終了アドレスとして書き込み続け
る。この作業を停止釦13が押されるまで続ける。した
がって、停止釦13による記録終了時の書き込みアドレ
スを終了アドレスとして、管理テーブル8bに書き込む
ことになる。これを繰り返し行い、図2(A)に示すよう
に、チャプタ毎の開始アドレスと終了アドレスとを管理
テーブル8bへ書き込んでいく。Here, the creation of the management table will be described. When writing audio data from the audio input unit 5 to the memory 8 via the DSP 6, the management table control unit 18 determines the number of chapters recorded in the past from the information in the memory 8b and the end address thereof. Searching.
In FIG. 2, up to chapter 3 has been recorded, and the end address thereof is incremented by one.
Record as At this time, the start address is written into the management table 8b, and at the time of recording, each time the write address is increased, this address is continued as the end address. This operation is continued until the stop button 13 is pressed. Therefore, the write address at the end of recording by the stop button 13 is written in the management table 8b as the end address. By repeating this, the start address and the end address of each chapter are written into the management table 8b as shown in FIG.
【0026】さらに、本実施の形態では、管理テーブル
8bには、チャブタ毎に開始アドレス、終了アドレスを
記録するほかに、事前録音領域内のスタートブロックナ
ンバ(0〜Fhで表される4ビット)や前記不良チャプ
タ(ブロック)情報等が記録されている。Further, in this embodiment, in addition to recording the start address and end address for each piglet in the management table 8b, a start block number (4 bits represented by 0 to Fh) in the pre-recorded area is recorded. And the defective chapter (block) information.
【0027】ここまでが記録動作に関する部分である
が、次に再生動作に関する部分について述べる。Up to this point, the part relating to the recording operation has been described. Next, the part relating to the reproducing operation will be described.
【0028】再生釦11が押されたことを、モード遷移
制御手段2により検出して再生モードへの移行をDSP
制御手段7へ伝える。DSP制御手段7は、再生指示を
DSP6へ出力し、記録された信号をメモリ8の音声デ
ータ格納部8aから読み出し再生する。このときDSP
6は、圧縮された信号を伸張して復元してから再生して
いる。また、前記メモリ8の音声データ格納部8aから
の読み出しは、前記管理テーブル8bの不良チャプタ
(ブロック)情報等に基づき、正常チャプタ(ブロッ
ク)のみから行われる。尚、前記メモリ8の音声データ
格納部8a音声データ等の記録データは、既述の記録動
作の際に正常チャプタ(ブロック)のみに記録されてい
る。The mode transition control means 2 detects that the reproduction button 11 has been pressed, and the DSP shifts to the reproduction mode.
Notify control means 7. The DSP control means 7 outputs a reproduction instruction to the DSP 6, reads the recorded signal from the audio data storage section 8a of the memory 8, and reproduces the signal. At this time the DSP
No. 6 reproduces after expanding and restoring the compressed signal. Reading from the audio data storage section 8a of the memory 8 is performed only from normal chapters (blocks) based on defective chapter (block) information in the management table 8b. The recording data such as the audio data in the audio data storage section 8a of the memory 8 is recorded only in the normal chapter (block) at the time of the recording operation described above.
【0029】そして、再生された音声信号は、音声出力
部10に導かれ、音声出力部10のD/A変換回路10
1でアナログ信号に変換され、さらにフィルタ102を
通してスピーカ103から出力される。Then, the reproduced audio signal is guided to the audio output unit 10 and the D / A conversion circuit 10 of the audio output unit 10
The signal is converted into an analog signal by 1 and output from the speaker 103 through the filter 102.
【0030】また、表示制御部4および表示部3は、記
録された部分を表示するために設けられており、この表
示を見ながらユーザは再生したい部分を探すことにな
る。早送り(FF)あるいは巻き戻し(REW)によ
り、再生したい部分を検索して再生できる構成となって
いる。この部分の具体的な構成については、本出願人が
既に出願した特願平7−104093号明細書に詳しく
記載してある。The display control unit 4 and the display unit 3 are provided for displaying the recorded portion, and the user searches for the portion to be reproduced while watching the display. By fast forward (FF) or rewind (REW), a part to be reproduced can be searched and reproduced. The specific configuration of this portion is described in detail in the specification of Japanese Patent Application No. 7-104093 filed by the present applicant.
【0031】次に、前記図1の記録再生装置における消
去動作の詳細について、図3のフローチャートを参照し
ながら説明する。図3は本発明の記録再生装置における
消去動作の一例を示したフローチャートである。Next, the details of the erasing operation in the recording / reproducing apparatus of FIG. 1 will be described with reference to the flowchart of FIG. FIG. 3 is a flowchart showing an example of the erasing operation in the recording / reproducing apparatus of the present invention.
【0032】図3に示すように、メモリ(フラッシュメ
モリ)8の消去操作に先立って、先ずメモリ8上の管理
テーブル記憶領域であるメモリ管理テーブル8bの更新
を行う(ステップS1)。ここでは、管理テーブル8b
上の「記録済み」として録音件数ナンバーのマーキング
してある箇所を「無記録」を表したデータ(例えばF
F)に書き換えて、メモリ8b上に記録する。As shown in FIG. 3, prior to an erasing operation of the memory (flash memory) 8, first, a memory management table 8b, which is a management table storage area on the memory 8, is updated (step S1). Here, the management table 8b
Data indicating the “recorded” number as the “recorded” above and indicating “no record” (for example, F
F), and is recorded on the memory 8b.
【0033】次に、メモリ8の消去動作を行う(ステッ
プS2)。ここでは、メモリ(フラッシュメモリ)8に
消去のコマンドを送り、管理テーブル記録領域以外の範
囲(前記メモリ8a)のデータの消去を行う。Next, an erasing operation of the memory 8 is performed (step S2). Here, an erase command is sent to the memory (flash memory) 8 to erase data in a range (the memory 8a) other than the management table recording area.
【0034】次に、不良ブロックの検出を行う(ステッ
プS3)。ここでは、メモリ消去動作後、メモリ8にス
テータスリード信号を出力し、その応答であるメモリの
ステータス信号を読んで、当該消去箇所が不良ブロック
であるか否かの検出を行い、管理テーブル上に、例え
ば、不良の場合“1”を正常の場合“0”を記録し、メ
モリ8の管理テーブル記憶領域であるメモリ8b上に再
記録(上書き)する。Next, a defective block is detected (step S3). Here, after the memory erasing operation, a status read signal is output to the memory 8, the response of the status signal of the memory is read, and it is detected whether or not the erased portion is a defective block. For example, "1" is recorded in the case of a defect, and "0" is recorded in the case of a normal case, and is re-recorded (overwritten) on the memory 8b which is a management table storage area of the memory 8.
【0035】ところで、以上の制御により、例えば、前
記ステップS2の処理中に電池を抜かれる等して電源の
供給が停止し、処理が中断した場合、メモリ上には消し
残りのデータが残存することになる。しかし、その後電
源の供給が再開されとき、前記管理テーブルは前記ステ
ップS1の処理内容にしたがって更新された状態、即
ち、ステップS1の処理は既に完了しているため(前記
消去動作において最も時間を要するのは、メモリ8の音
声データ記憶領域であるメモリ8a上に記録された音声
データを物理的に消去する時間であるため)、この消し
残りの残存データが再生されることはなく、また、録音
する場合においても上記管理テーブルにしたがって(参
酌して)録音されるため、前記消し残り部分(ブロッ
ク)も使用可能である。By the above-described control, for example, when the power supply is stopped by removing the battery during the process of step S2 and the process is interrupted, the remaining data remains erased in the memory. Will be. However, when the supply of power is resumed thereafter, the management table is updated according to the processing contents of step S1, that is, the processing of step S1 has already been completed (the erasing operation takes the longest time). Is the time when the audio data recorded on the memory 8a, which is the audio data storage area of the memory 8, is physically erased). In this case, since the recording is performed according to the above management table (with consideration), the unerased portion (block) can be used.
【0036】但し、前記ステップS3が実施されていな
いため、停電等により、前記消去動作が途中で中断され
た後において、メモリ(フラッシュメモリ)上にデータ
(音声データや映像データ等)記録する際には、前記ス
テップS3を実施した後、行うことが好ましい。However, since the step S3 is not performed, the data (audio data, video data, etc.) is recorded on the memory (flash memory) after the erasing operation is interrupted due to a power failure or the like. Is preferably performed after performing step S3.
【0037】尚、上記発明の実施の形態では、記憶媒体
として固体メモリであるフラッシュメモリを用いた記録
再生装置について説明したが、本発明はこれに限定され
ず、ディスクを用いたランダムアクセス可能な記録再生
装置などへ応用することも可能である。In the embodiment of the present invention, a recording / reproducing apparatus using a flash memory which is a solid-state memory as a storage medium has been described. However, the present invention is not limited to this. It is also possible to apply to a recording / reproducing device or the like.
【0038】また、前記記録再生装置において、音声デ
ータを記録・再生するとして説明を行ったが、本発明
は、例えば映像データのように、ディジタルデータに変
換し、それをアナログデータに復元した際に支障をきた
すことのない、あらゆる種類の情報データの記録・再生
に応用可能である。In the above-mentioned recording / reproducing apparatus, the description has been made assuming that the audio data is recorded / reproduced. However, in the present invention, when the audio data is converted into digital data such as video data and restored to analog data, The present invention can be applied to recording / reproducing of all kinds of information data without causing any trouble.
【0039】[0039]
【発明の効果】以上述べたように本発明によれば、メモ
リ消去動作中に何らかの原因で電源の供給が停止した場
合でも、前記メモリ中の無記録領域におけるデータが再
生されたり、または利用されることのない記録再生装置
を提供することができる。As described above, according to the present invention, even if the power supply is stopped for some reason during the memory erasing operation, the data in the non-recording area in the memory is reproduced or used. It is possible to provide a recording / reproducing apparatus that does not need to be performed.
【図1】本発明の記録再生装置の実施の形態を示すブロ
ック図である。FIG. 1 is a block diagram showing an embodiment of a recording / reproducing apparatus of the present invention.
【図2】メモリ8の構成を示した図である。FIG. 2 is a diagram showing a configuration of a memory 8;
【図3】本発明の記録再生装置の消去動作の一例を示し
たフローチャートである。FIG. 3 is a flowchart showing an example of an erasing operation of the recording / reproducing apparatus of the present invention.
1 …操作部 2 …モード遷移制御手段 3 …表示部 4 …表示制御部 5 …音声入力部 6 …DSP 7 …DSP制御手段 8 …メモリ(フラッシュメモリ) 8a…メモリ(音声データ記憶用) 8b…メモリ(管理テーブル記憶用) 9 …メモリ制御手段 10…音声出力部 18…管理テーブル制御手段 20…バッテリ検出制御手段 21…A/D変換回路 22…バッテリ DESCRIPTION OF SYMBOLS 1 ... Operation part 2 ... Mode transition control means 3 ... Display part 4 ... Display control part 5 ... Speech input part 6 ... DSP 7 ... DSP control means 8 ... Memory (flash memory) 8a ... Memory (for sound data storage) 8b ... Memory (for management table storage) 9 ... Memory control means 10 ... Audio output unit 18 ... Management table control means 20 ... Battery detection control means 21 ... A / D conversion circuit 22 ... Battery
Claims (6)
込まれたデータの読み出しおよび消去が可能な記録媒体
と、 前記記録媒体に対して、データの記録,再生,並びに消
去を行うための指示を出力する操作手段と、 前記操作手段からの指示を受けて、前記記録媒体に対し
て、データの記録,再生,並びに消去を行うための制御
を行うメモリ制御手段と、 前記記録媒体の各記録領域の各種の管理を行うための管
理テーブルを記憶する記憶手段と、 前記記録媒体における所定の記録領域に記録されたデー
タを前記メモリ制御手段と連係して消去する手順であっ
て、消去しようとする前記記録媒体上の所定の記録領域
に対応した前記管理テーブル上の当該管理領域をクリア
し、続いて前記記録媒体における当該記録領域上のデー
タを消去し、その後前記記録媒体における前記消去箇所
が不良であるか否かを判別し、最後に前記判別結果に基
づいて前記管理テーブルにおける前記当該管理領域を更
新する管理テーブル制御手段とを具備したことを特徴と
する記録再生装置。1. A recording medium on which input data can be written and from which the written data can be read and erased, and an instruction for recording, reproducing, and erasing data on the recording medium. Operating means for outputting, a memory control means for performing control for recording, reproducing, and erasing data on the recording medium in response to an instruction from the operating means, and each recording area of the recording medium A storage unit for storing a management table for performing various types of management, and a procedure for erasing data recorded in a predetermined recording area of the recording medium in cooperation with the memory control unit. Clearing the management area on the management table corresponding to a predetermined recording area on the recording medium, then erasing data on the recording area on the recording medium, And a management table control means for determining whether or not the erased portion on the recording medium is defective, and finally updating the management area in the management table based on the determination result. Recording and reproducing device.
に設けられることを特徴とする請求項1に記載の記録再
生装置。2. The recording / reproducing apparatus according to claim 1, wherein the management table is provided in a part of the recording medium.
されていることを特徴とする請求項1または2に記載の
記録再生装置。3. The recording / reproducing apparatus according to claim 1, wherein said recording medium comprises a flash memory.
構成され、 前記管理テーブルは、前記マイクロコンピュータ内のR
AMに設けられることを特徴とする請求項1,2または
3に記載の記録再生装置。4. The control means is constituted by a microcomputer, and the management table is stored in an R in the microcomputer.
4. The recording / reproducing apparatus according to claim 1, wherein the recording / reproducing apparatus is provided in an AM.
再生装置において、前記記録媒体が扱うデータは音声ま
たは映像データであることを特徴とする記録再生装置。5. A recording / reproducing apparatus according to claim 1, wherein the data handled by said recording medium is audio or video data.
再生装置において、前記記録媒体が扱うデータは音声お
よび映像データであることを特徴とする記録再生装置。6. The recording / reproducing apparatus according to claim 1, wherein the data handled by said recording medium is audio and video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8282416A JPH10124404A (en) | 1996-10-24 | 1996-10-24 | Recording and playback device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8282416A JPH10124404A (en) | 1996-10-24 | 1996-10-24 | Recording and playback device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10124404A true JPH10124404A (en) | 1998-05-15 |
Family
ID=17652134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8282416A Withdrawn JPH10124404A (en) | 1996-10-24 | 1996-10-24 | Recording and playback device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10124404A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002312253A (en) * | 2001-04-17 | 2002-10-25 | Denso Corp | Portable information terminal device |
CN115578803A (en) * | 2022-09-06 | 2023-01-06 | 山东中联防务科技有限公司 | Airborne data transcription control method, control system, equipment and storage medium |
-
1996
- 1996-10-24 JP JP8282416A patent/JPH10124404A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002312253A (en) * | 2001-04-17 | 2002-10-25 | Denso Corp | Portable information terminal device |
CN115578803A (en) * | 2022-09-06 | 2023-01-06 | 山东中联防务科技有限公司 | Airborne data transcription control method, control system, equipment and storage medium |
CN115578803B (en) * | 2022-09-06 | 2024-04-26 | 山东中联防务科技有限公司 | Airborne data transcription control method, control system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH11242850A (en) | Real-time data recording method | |
KR0130622B1 (en) | Recording apparatus | |
US6882493B2 (en) | Data recording apparatus and data erasing apparatus capable of performing restoration when power supply malfunction occurs during recording or erasing | |
JP3511916B2 (en) | Recording / playback device | |
JP2610737B2 (en) | Recording and playback device | |
JPH09120639A (en) | Recording/reproducing apparatus | |
JPH09128165A (en) | Solid-state recording / reproducing device | |
US7099562B1 (en) | Image data recording apparatus | |
JPH10124404A (en) | Recording and playback device | |
JPH06325473A (en) | Recording and reproducing device | |
JPH07168600A (en) | Digital voice recording and reproducing device | |
JP3790868B2 (en) | Editing device | |
JPH11249947A (en) | Method and device for file management | |
JPH08315551A (en) | Data recorder/reproducer | |
JPH09259571A (en) | Recording/reproducing apparatus | |
JP2787839B2 (en) | Digital recording device | |
JP4058776B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JPH0845131A (en) | Recording and reproducing device and erroneous erasing prevention and writing inhibition methods | |
JP3455718B2 (en) | Information recording / reproducing device | |
JPH08305504A (en) | Solid-state recording / reproducing device | |
KR100746398B1 (en) | Optical disk formatting method and device | |
JPH1069300A (en) | Recording and playback device | |
JPH06162740A (en) | Rewritable disk recording and reproducing device | |
JPH05120844A (en) | Information recording and reproducing device | |
JP2004104337A (en) | Reproducing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060328 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060404 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20060529 |