JPH1021050A - Voice recording and reproducing device - Google Patents

Voice recording and reproducing device

Info

Publication number
JPH1021050A
JPH1021050A JP17123396A JP17123396A JPH1021050A JP H1021050 A JPH1021050 A JP H1021050A JP 17123396 A JP17123396 A JP 17123396A JP 17123396 A JP17123396 A JP 17123396A JP H1021050 A JPH1021050 A JP H1021050A
Authority
JP
Japan
Prior art keywords
erasing
audio data
block
data
invalid
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
Application number
JP17123396A
Other languages
Japanese (ja)
Inventor
Yuji Ogami
裕二 大上
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP17123396A priority Critical patent/JPH1021050A/en
Publication of JPH1021050A publication Critical patent/JPH1021050A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable the erasing processing of unwanted voice data without disturbing the operation of user by providing a control means with which valid voice data are copied into the spare area of a non-volatile memory, afterwards, an original block is erased by an erasing means, and operation is temporarily stopped when a prescribed operating member such as a button is operated during such operation. SOLUTION: A terminal D3 of a digital signal processing part(DSP) 5 is connected to a non-volatile memory 7 and a terminal D4 is connected to a terminal T1 of a system control part (CPU) 6 as a recording/reproducing, identifying, erasing warning and control means. Excepting for the erasing operation for instructing the erasure of voice data written in the non-volatile memory 7, the CPU 6 copies the valid voice data inside the erasure block containing invalid voice data into the spare area of erasable block unit inside the non- volatile memory 7 and erases the original block later and when a prescribed operating member such as a button is operated during such operation, the operation is temporarily stopped.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は音声記録再生装置に
関する。
The present invention relates to an audio recording / reproducing apparatus.

【0002】[0002]

【従来の技術】入力された音声をデジタル化して半導体
メモリに記録して再生する音声記録再生装置が従来より
知られている。このような音声記録再生装置において特
に携帯型のものにあっては、電源として主に電池が用い
られることから記録媒体として不揮発性のフラッシュメ
モリが適している。
2. Description of the Related Art An audio recording / reproducing apparatus for digitizing input audio, recording the digitalized audio in a semiconductor memory and reproducing the digitalized audio has been known. In such an audio recording / reproducing apparatus, in particular, in a portable type, since a battery is mainly used as a power source, a nonvolatile flash memory is suitable as a recording medium.

【0003】ところがフラッシュメモリを用いた場合に
は消去するブロック単位が大きいことから、編集等で比
較的短い記録部分を消去したい場合でも、一旦ブロック
全体のデータをバッファメモリに退避してから当該ブロ
ックのデータを消去し、その後、未消去データのみを書
き戻すという複雑な処理を行っているために、消去操作
後の他の操作モードへの応答性が遅く使い勝手の向上を
図ることができなかった。
[0003] However, when a flash memory is used, the block unit to be erased is large. Therefore, even if it is desired to erase a relatively short recorded portion by editing or the like, the data of the entire block is temporarily saved in the buffer memory and then the block is deleted. Erasing data and then writing back only the unerased data, the response to other operation modes after the erasing operation was slow and the usability could not be improved. .

【0004】そこで、この様な欠点を解決するために特
開平5−173872号公報は、記録単位毎にそのデー
タが有効であるか無効であるかを示す識別フラグを用
い、消去操作時には消去する部分のデータのフラグを無
効に書き換えるという方法を開示している。
In order to solve such a drawback, Japanese Patent Laid-Open Publication No. Hei 5-173872 uses an identification flag indicating whether the data is valid or invalid for each recording unit, and erases the data at the time of an erasing operation. It discloses a method of invalidating and rewriting a flag of a part of data.

【0005】[0005]

【発明が解決しようとする課題】ところが、上記した方
法によれば消去操作時の応答性は向上するが、不必要な
データが無効データとして残ってしまうために記録した
音声を消去したにもかかわらず記録可能なメモリ容量が
増えないという欠点がある。
However, according to the above method, the responsiveness at the time of the erasing operation is improved, but the recorded voice is erased because unnecessary data remains as invalid data. Disadvantageously that the recordable memory capacity does not increase.

【0006】そこで、ユーザが装置を使用していないと
きに無効データを消去可能にするための操作釦を設ける
ことが考えられるが、このような操作ボタンを設けるた
めのスペースが余分に必要になるとともに、コストが増
大してしまうという問題がある。
Therefore, it is conceivable to provide an operation button for enabling the user to delete invalid data when the user is not using the apparatus. However, an extra space is required for providing such an operation button. At the same time, there is a problem that the cost increases.

【0007】又、ある程度無効データが発生した時点で
自動的に消去をおこなう方法も考慮されているが、この
方法のみではユーザの意図とは無関係に消去処理が行わ
れることになり、この処理中はシステム及びメモリを制
御するCPUが消去処理に占有されてしまう。つまり、
この間に何らかの操作がされたとしても消去処理が終了
するまでは応答できず、特にディクテーション等を行っ
ていた場合は録音時の頭切れという問題が生じてしま
う。
Although a method of automatically erasing data when invalid data has occurred to some extent has also been considered, the erasing process is performed irrespective of the user's intention only by this method. However, the CPU that controls the system and the memory is occupied by the erasing process. That is,
Even if any operation is performed during this time, it is not possible to respond until the erasing process is completed, and particularly when dictation or the like is performed, a problem such as truncation at the time of recording occurs.

【0008】本発明の音声記録再生装置はこのような課
題に着目してなされたものであり、その目的とするとこ
ろは、ユーザの操作を妨げることなく、不要な音声デー
タの消去処理を行なうことができる音声記録再生装置を
提供することにある。
The audio recording / reproducing apparatus of the present invention has been made in view of such a problem, and an object thereof is to perform unnecessary audio data erasing processing without hindering a user's operation. It is an object of the present invention to provide an audio recording / reproducing apparatus which can perform the above.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、第1の発明に係る音声記録再生装置は、不揮発性
メモリに音声データを書込み、不揮発性メモリから音声
データを読出しする記録再生手段と、記録した音声デー
タが有効か無効かを識別する識別手段と、消去可能なブ
ロック単位で音声データを消去するための消去手段と、
消去を指示する操作時の消去動作以外の動作状態のとき
に、無効音声データを含む消去ブロック内の有効音声デ
ータを、不揮発性メモリの消去可能なブロック単位のス
ペア領域にコピーした後、前記消去手段により元のブロ
ックを消去させ、これらの動作中に所定の操作部材が操
作されると、前記動作を一時中断させる制御手段とを具
備する。
In order to achieve the above object, an audio recording and reproducing apparatus according to a first aspect of the present invention writes and reproduces audio data in a nonvolatile memory and reads audio data from the nonvolatile memory. Means, identification means for identifying whether the recorded audio data is valid or invalid, erasing means for erasing audio data in erasable block units,
In an operation state other than the erasing operation at the time of the operation for instructing erasing, the valid voice data in the erasing block including the invalid voice data is copied to the erasable block unit spare area of the nonvolatile memory, and then the erasing is performed. Control means for erasing the original block by means and temporarily interrupting the operation when a predetermined operation member is operated during these operations.

【0010】また、第2の発明に係る音声記録再生装置
は、不揮発性メモリに音声データを書込み、不揮発性メ
モリから音声データを読出しする記録再生手段と、記録
した音声データが有効か無効かを識別する識別手段と、
消去可能なブロック単位で音声データを消去するための
消去手段と、無効音声データを含む消去ブロック内の有
効音声データを、不揮発性メモリの消去可能なブロック
単位のスペア領域にコピーした後、前記消去手段により
元のブロックを消去させる動作を行わせる制御手段と、
前記動作中に所定の操作部材が操作されると、所定の警
告を発する警告手段とを具備する。
The audio recording / reproducing apparatus according to the second invention is a recording / reproducing means for writing audio data to a nonvolatile memory and reading the audio data from the nonvolatile memory, and for determining whether the recorded audio data is valid or invalid. Identification means for identifying;
Erasing means for erasing audio data in erasable block units; and copying the valid audio data in the erasure block including the invalid audio data to a spare area in the erasable block unit of the nonvolatile memory. Control means for performing an operation of erasing the original block by means;
A warning means for issuing a predetermined warning when a predetermined operation member is operated during the operation.

【0011】また、第3の発明に係る音声記録再生装置
は、第1の発明または第2の発明に係る音声記録再生装
置において、無効音声データを含む消去ブロック内の有
効音声データをスペア領域にコピーし、元のブロックを
消去するときの経過時間を表示する表示手段をさらに具
備する。
The audio recording / reproducing apparatus according to the third invention is the audio recording / reproducing apparatus according to the first or second invention, wherein the valid audio data in the erase block including the invalid audio data is stored in the spare area. Display means for displaying the elapsed time when copying and erasing the original block is further provided.

【0012】すなわち、第1の発明に係る音声記録再生
装置においては、不揮発性メモリに書き込まれた音声デ
ータの消去を指示する操作時の消去動作以外の動作状態
のときに、無効音声データを含む消去ブロック内の有効
音声データが、不揮発性メモリの消去可能なブロック単
位のスペア領域にコピーされた後、元のブロックが消去
され、これらの動作中に所定の操作部材が操作される
と、前記動作が一時中断される。
That is, in the audio recording / reproducing apparatus according to the first aspect of the present invention, when the operation state other than the erasing operation at the time of the operation of instructing the erasure of the audio data written in the nonvolatile memory includes the invalid audio data. After the valid voice data in the erase block is copied to the erasable block unit spare area of the nonvolatile memory, the original block is erased, and when a predetermined operation member is operated during these operations, Operation is suspended.

【0013】また、第2の発明に係る音声記録再生装置
においては、不揮発性メモリに書き込まれた音声データ
において、無効音声データを含む消去ブロック内の有効
音声データが、不揮発性メモリの消去可能な単位のスペ
ア領域にコピーされ、元のブロックが消去されていると
きに所定の操作部材が操作されると、警告手段によって
所定の警告が発せられる。
In the audio recording / reproducing apparatus according to the second aspect of the present invention, in the audio data written in the non-volatile memory, the valid audio data in the erase block including the invalid audio data can be erased from the non-volatile memory. When a predetermined operation member is operated while the data is copied to the unit spare area and the original block is erased, a predetermined warning is issued by the warning unit.

【0014】また、第3の発明に係る音声記録再生装置
においては、第1または第2の発明に係る音声記録再生
装置において、無効音声データを含む消去ブロック内の
有効音声データがスペア領域にコピーされ、元のブロッ
クが消去されるときの経過時間が表示される。
According to a third aspect of the present invention, there is provided the audio recording / reproducing apparatus according to the first or second aspect, wherein valid audio data in an erase block including invalid audio data is copied to a spare area. The elapsed time when the original block is erased is displayed.

【0015】[0015]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態を詳細に説明する。図1は本発明の一実施形態
に係る音声記録再生装置のブロック構成図である。同図
において、マイクロホン1は増幅器(AMP)2と、低
域通過フィルタ(LPF)3と、アナログ/ディジタル
(A/D)変換器4とを介してディジタル信号処理部
(以下DSPと呼ぶ)5のD1端子に接続されている。
また、スピーカ11は増幅器(AMP)10と、ディジ
タル/アナログ(D/A)変換器9とを介してDSP5
のD2端子に接続されている。また、DSP5のD3端
子は記録媒体7に接続されるとともに、D4端子は記録
再生手段、識別手段、消去手段、警告手段、制御手段と
してのシステム制御部(CPU)6のT1端子に接続さ
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an audio recording and reproducing apparatus according to an embodiment of the present invention. In FIG. 1, a microphone 1 includes a digital signal processor (hereinafter referred to as DSP) 5 via an amplifier (AMP) 2, a low-pass filter (LPF) 3, and an analog / digital (A / D) converter 4. D1 terminal.
The speaker 11 is connected to a DSP 5 via an amplifier (AMP) 10 and a digital / analog (D / A) converter 9.
D2 terminal. The D3 terminal of the DSP 5 is connected to the recording medium 7, and the D4 terminal is connected to a T1 terminal of a system control unit (CPU) 6 as a recording / reproducing unit, an identifying unit, an erasing unit, a warning unit, and a control unit. I have.

【0016】システム制御部(CPU)6のT2端子は
記録媒体7に接続されるとともに、T3端子は電源制御
部14に接続され、さらにT4端子は駆動回路12を介
して表示手段としての表示器13に接続されている。
The T2 terminal of the system control unit (CPU) 6 is connected to the recording medium 7, the T3 terminal is connected to the power supply control unit 14, and the T4 terminal is connected via the drive circuit 12 to a display as display means. 13 is connected.

【0017】システム制御部(CPU)6にはさらに、
操作ボタン(操作部材)としての録音ボタンREC、再
生ボタンPLAY、停止ボタンSTOP、早送りボタン
FF、早戻しボタンREW、消去ボタンERASEが接
続されている。
The system control unit (CPU) 6 further includes:
A record button REC, a play button PLAY, a stop button STOP, a fast forward button FF, a fast rewind button REW, and an erase button ERASE as operation buttons (operation members) are connected.

【0018】上記した構成において、音声の記録時は、
マイクロホン1より得られるアナログ信号を増幅器(A
MP)2により増幅し、低域通過フィルタ(LPF)3
を通した後、アナログ/ディジタル(A/D)変換器4
によってディジタル信号に変換してDSP5に入力す
る。DSP5は入力された音声をシステム制御部6の制
御の基に圧縮してシステム制御部6に送る。
In the above configuration, when recording audio,
An analog signal obtained from the microphone 1 is converted into an amplifier (A
MP) 2 and a low-pass filter (LPF) 3
After passing through the analog / digital (A / D) converter 4
To a digital signal and input to the DSP5. The DSP 5 compresses the input voice under the control of the system control unit 6 and sends it to the system control unit 6.

【0019】一方、音声の再生時、システム制御部6は
記録媒体7に記録されている音声データを読み出してD
SP5に供給する。DSP5はこの読み出した音声デー
タを伸長し、伸長された読み出しデータはディジタル/
アナログ(D/A)変換器9によりアナログ信号に変換
され、増幅器(AMP)10で増幅された後、スピーカ
11に出力される。
On the other hand, at the time of audio reproduction, the system control section 6 reads the audio data recorded on the recording
Supply to SP5. The DSP 5 decompresses the read audio data, and the decompressed read data is
The signal is converted into an analog signal by an analog (D / A) converter 9, amplified by an amplifier (AMP) 10, and output to a speaker 11.

【0020】上記した記録、再生動作時、システム制御
部6は、駆動回路12を制御して表示器13に、動作モ
ードや現在日時などの各種情報を表示させるとともに、
電源制御部14を制御する。
During the above-described recording and reproducing operations, the system control unit 6 controls the drive circuit 12 to display various information such as the operation mode and the current date and time on the display unit 13.
The power control unit 14 is controlled.

【0021】以下に本実施形態に係る音声データの消去
処理について説明する。ここでは、記録媒体7として装
置に対して着脱自在なメモリカードを用い、このメモリ
カードがフラッシュメモリなどの不揮発性メモリによっ
て構成されている場合の消去処理について説明する。
Hereinafter, the erasing process of the audio data according to the present embodiment will be described. Here, a description will be given of an erasing process in the case where a memory card that is removable from the apparatus is used as the recording medium 7 and the memory card is configured by a nonvolatile memory such as a flash memory.

【0022】図2はフラッシュメモリ内における音声デ
ータの記録形式を示す図である。すなわち、メモリは複
数の消去可能なブロックからなり、ファイル情報領域(
図2のBLOCK-0)、データ領域( 図2のBLOCK-1,BLOCK-2,
BLOCK-3,BLOCK-5)、スペア領域( 図2のBLOCK-4)の3種
類で構成されている。ここでファイル情報領域には記録
された音声のファイル単位の名前(ファイルName)等を
含むレター情報と、そのファイルの音声データの配置情
報が格納されているアドレステーブルの位置(ブロック
No. とセクターNo. )が記録されている。このファイル
情報は通常、ある決められたブロックに配置されてお
り、装置の動作開始時にシステムのRAM上に読み込ま
れ、動作終了時に再書き込みされる。データ領域はメモ
リ上のデータ書き込み、読み出し単位である複数のセク
ターからなり、音声データ(図2のSECTOR-1〜SECTOR-
5)と、アドレスデータ(図2のSECTOR-6)と、各セク
ターのデータが有効か無効か、あるいは録音可能な空デ
ータであるかを示すブロックマップ(図2のSECTOR-0)
で構成されている。
FIG. 2 is a diagram showing a recording format of audio data in the flash memory. That is, the memory is composed of a plurality of erasable blocks, and the file information area (
BLOCK-0 in FIG. 2), data area (BLOCK-1, BLOCK-2,
BLOCK-3, BLOCK-5) and a spare area (BLOCK-4 in FIG. 2). Here, in the file information area, letter information including the name of a recorded audio file (file name) and the like, and the location of the address table (block
No. and sector No.) are recorded. This file information is usually arranged in a predetermined block, and is read into the RAM of the system at the start of the operation of the apparatus and rewritten at the end of the operation. The data area is composed of a plurality of sectors that are data write / read units on the memory, and audio data (SECTOR-1 to SECTOR- in FIG. 2).
5), address data (SECTOR-6 in Fig. 2), and a block map (SECTOR-0 in Fig. 2) indicating whether the data in each sector is valid or invalid, or whether it is empty data that can be recorded.
It is composed of

【0023】ここで例えばファイル名BBBBの音声が
特定のブロックにどのように記録されているかを順を追
って説明する。まずブロック0(BLOCK-0) のファイル情
報領域の中には、ファイル名(ファイルName)として
“BBBB”が、そのファイルのアドレステーブルの位
置であるブロック番号として“2”が、セクター番号と
して“6”が記録されている。そして参照位置にあるア
ドレステーブル1は、このファイルの音声データがBLOC
K-2 (B2)のSECTOR-1〜SECTOR-5(S1〜S5)まで
順番に格納されていることを示している。更に、ブロッ
ク2の先頭セクター0(SECTOR-0)のブロックマップのデ
ータフラグ領域には、ブロック内のSECTOR-1からSECTOR
-6まで既にデータが書き込まれていることを示すデータ
フラグが記録されている。ここでは“1”が記録され
る。
Here, for example, how the sound of the file name BBBB is recorded in a specific block will be described step by step. First, in the file information area of block 0 (BLOCK-0), "BBBB" is used as a file name (file name), "2" is used as a block number, which is the address table position of the file, and "sector number" is used as a sector number. 6 "is recorded. The address table 1 at the reference position indicates that the audio data of this file is BLOC
This shows that SECTOR-1 to SECTOR-5 (S1 to S5) of K-2 (B2) are stored in order. Further, the data flag area of the block map of the first sector 0 (SECTOR-0) of block 2 includes the SECTOR-1 to SECTOR-0 in the block.
A data flag indicating that data has already been written up to -6 is recorded. Here, “1” is recorded.

【0024】次に使用者が消去ボタンERASEを用い
てBLOCK-2 のファイルBBBB内の音声データ3と4を
消去操作したときのメモリー内のデータ書き換えの手順
を図3を用いて説明する。まず、消去すべき音声データ
が格納されているSECTOR-3及びSECTOR-4を除いた新たな
アドレステーブル2をSECTOR-7に作成する。次に、消去
すべきSECTOR-3及びSECTOR-4の音声データ3、4と、SE
CTOR-6のアドレステーブル1が無効である事を示すため
に、SECTOR-0のブロックマップの無効フラグのS3、S
4、S6に対応する領域に“1”を記録する。また、SE
CTOR-7に新たなアドレステーブルが追加されたことを示
すために、SECTOR-0のブロックマップのデータフラグの
S7に対応する領域に“1”を記録する。これらはいず
れも実際のデータ消去を含まない追加記録であるため瞬
時に処理可能である。最後にRAM上のファイル情報の
アドレステーブル位置を7に書き換えて完了する。
Next, the procedure of rewriting data in the memory when the user deletes the audio data 3 and 4 in the file BBBB of BLOCK-2 using the delete button ERASE will be described with reference to FIG. First, a new address table 2 excluding SECTOR-3 and SECTOR-4 storing audio data to be deleted is created in SECTOR-7. Next, SECTOR-3 and SECTOR-4 audio data 3 and 4 to be deleted, and SE
In order to indicate that the address table 1 of CTOR-6 is invalid, the invalid flags S3 and S of the block map of SECTOR-0 are used.
4, "1" is recorded in the area corresponding to S6. Also SE
In order to indicate that a new address table has been added to CTOR-7, "1" is recorded in an area corresponding to S7 of the data flag of the block map of SECTOR-0. Since these are all additional records that do not include actual data deletion, they can be processed instantaneously. Finally, the address table position of the file information on the RAM is rewritten to 7, and the process is completed.

【0025】次に上記した消去操作によって発生した無
効データを実際に消去する時の動作を図4のフローチャ
ートと図5のメモリ内データ配置図を参照して説明す
る。ここでは消去処理は、消去を指示する操作時の消去
動作以外の動作状態のときに、例えば音声の再生中に行
なうものとする。
Next, the operation when the invalid data generated by the above-described erasing operation is actually erased will be described with reference to the flowchart of FIG. 4 and the data layout in the memory of FIG. Here, it is assumed that the erasing process is performed in an operation state other than the erasing operation at the time of the operation of instructing the erasing, for example, during the reproduction of the sound.

【0026】まず、システム制御部(CPU)6はメモ
リーカード内の各ブロックのブロックマップを検索し、
無効フラグの数が一定数以上存在するか否かを判定する
(ステップS1)。もし無効フラグの数が一定数以上の
ブロックが一つ以上あれば、メモリーカードが挿入され
ていることを確認した上で(ステップS2)、検索した
ブロックの中でも最も無効フラグの数が多いブロックを
選択する(ステップS3)。ここでは図3のBLOCK-2 が
選択されたものとする。
First, the system control unit (CPU) 6 searches a block map of each block in the memory card,
It is determined whether the number of invalid flags is equal to or more than a predetermined number (step S1). If there is one or more blocks having a certain number of invalid flags or more, after confirming that a memory card is inserted (step S2), the block having the largest number of invalid flags among the searched blocks is determined. Select (step S3). Here, it is assumed that BLOCK-2 in FIG. 3 has been selected.

【0027】この場合、まずBLOCK-2 の有効データ(音
声データ1、2、5)と最新のアドレステーブル(アド
レステーブル2)のみをスペア領域としてのBLOCK-4 に
音声データ1から順番にコピーするコピー処理を行なう
(ステップS4)。これによって図5に示すように、BL
OCK-4 のSECTOR-1からSECTOR-4には、音声データ1〜3
とアドレステーブル2が順に記録される。次にBLOCK-4
の先頭セクター(SECTOR-0)に新たなブロックマップを
作成(ここでは図5に示すように、S1〜S4に対応す
るデータフラグの領域に“1”が記録される)した後、
元のブロック、すなわち、BLOCK-2 のデータを消去して
新たなスペア領域とするブロック消去処理を行なう(ス
テップS5)。最後に、RAM上のファイル情報領域に
あるBBBBファイルのアドレステーブル位置を、コピ
ー後のブロック番号4とセクター番号4に更新する。
In this case, first, only the valid data (audio data 1, 2, 5) of BLOCK-2 and the latest address table (address table 2) are sequentially copied from the audio data 1 to BLOCK-4 as a spare area. A copy process is performed (step S4). As a result, as shown in FIG.
OCK-4 SECTOR-1 through SECTOR-4 contain audio data 1-3
And the address table 2 are sequentially recorded. Next, BLOCK-4
After a new block map is created in the first sector (SECTOR-0) (in this case, “1” is recorded in the data flag area corresponding to S1 to S4 as shown in FIG. 5),
A block erasing process is performed to erase the original block, that is, the data of BLOCK-2 and make it a new spare area (step S5). Finally, the address table position of the BBBB file in the file information area on the RAM is updated to the copied block number 4 and sector number 4.

【0028】次に、上記したコピー処理中に操作ボタン
が押されたときのCPU6の制御動作を図6のフローチ
ャートを参照して説明する。まず、ステップS11でコ
ピー処理が開始された後、操作ボタンが押された否かを
判断し(ステップS12)、操作ボタンが押されていな
い場合はさらにコピー処理が終了でないことを確認しつ
つ(ステップS13)、操作ボタンが押されるまで待機
する。そして、操作ボタンが押されたときはコピー処理
を中断するとともに(ステップS14)、ユーザに対し
てコピー処理中であることを示すために警告を発する
(ステップS15)。ここでは、スピーカ11を介して
アラームを発音する。または、表示器13の表示を変更
させてもよい。次に、ユーザが押した操作ボタンに対応
する操作ボタン処理を行い(ステップS16)、この処
理が完了した後で当該コピー処理を再開して(ステップ
S17)、次に操作ボタンが押されるまで待機する(ス
テップS12)。
Next, the control operation of the CPU 6 when the operation button is pressed during the above-described copy processing will be described with reference to the flowchart of FIG. First, after the copy processing is started in step S11, it is determined whether or not the operation button is pressed (step S12). If the operation button is not pressed, it is further confirmed that the copy processing is not ended ( Step S13), and wait until the operation button is pressed. When the operation button is pressed, the copying process is interrupted (step S14), and a warning is issued to the user to indicate that the copying process is being performed (step S15). Here, an alarm is sounded through the speaker 11. Alternatively, the display on the display 13 may be changed. Next, operation button processing corresponding to the operation button pressed by the user is performed (step S16), and after this processing is completed, the copy processing is restarted (step S17), and standby is performed until the next operation button is pressed. (Step S12).

【0029】図7は上記したコピー処理中におけるCP
U6の制御動作の変形例を示すフローチャートである。
この変形例は、コピー処理を開始した時点からの経過時
間を表示器13において増加表示あるいは残り処理時間
を表示器13に減算表示する時間表示のステップ(ステ
ップS12′)が追加されている点が図6に示す工程と
異なっているが、他のステップは全く同一である。
FIG. 7 shows the CP during the above-mentioned copy processing.
It is a flowchart which shows the modification of control operation of U6.
This modification is different from the first embodiment in that a time display step (step S12 ') for increasing the display time from the start of the copy processing on the display unit 13 or subtracting and displaying the remaining processing time on the display unit 13 is added. Although different from the process shown in FIG. 6, the other steps are exactly the same.

【0030】以下に、上記したブロック消去処理中に操
作ボタンが押されたときのCPU6の制御動作を図8の
フローチャートを参照して説明する。まず、ステップS
21でブロック消去処理が開始された後、操作ボタンが
押されたか否かを判断し(ステップS22)、操作ボタ
ンが押されていない場合はさらにブロック消去処理が終
了でないことを確認しつつ(ステップS23)、操作ボ
タンが押されるまで待機する。そして、操作ボタンが押
されたときはブロック消去処理を中断する(ステップS
24)とともに、ユーザに対してブロック消去処理中で
あることを示すために警告を発する(ステップS2
5)。ここでは、スピーカ11を介してアラームを発音
する。または、表示器13の表示を変更させてもよい。
次に、ユーザが押した操作ボタンに対応する操作ボタン
処理を行い(ステップS26)、この処理が完了した後
で当該ブロック消去処理を再開して(ステップS2
7)、次に操作ボタンが押されるまで待機する(ステッ
プS22)。
The control operation of the CPU 6 when the operation button is pressed during the above-described block erasing process will be described below with reference to the flowchart of FIG. First, step S
After the block erasing process is started at 21, it is determined whether or not the operation button is pressed (step S22). If the operation button is not pressed, it is further confirmed that the block erasing process is not completed (step S22). S23) Wait until the operation button is pressed. When the operation button is pressed, the block erasing process is interrupted (Step S).
At the same time, a warning is issued to the user to indicate that the block erasing process is being performed (step S2).
5). Here, an alarm is sounded through the speaker 11. Alternatively, the display on the display 13 may be changed.
Next, operation button processing corresponding to the operation button pressed by the user is performed (step S26), and after this processing is completed, the block erasing processing is restarted (step S2).
7), and wait until the next operation button is pressed (step S22).

【0031】図9は上記したブロック消去処理中におけ
るCPU6の制御動作の変形例を示すフローチャートで
ある。この変形例は、ブロック消去処理を開始した時点
からの経過時間を表示器13において増加表示あるいは
残り処理時間を表示器13に減算表示する時間表示のス
テップ(ステップS22′)が追加されている点が図8
に示す工程と異なっているが、他のステップは全く同一
である。
FIG. 9 is a flowchart showing a modification of the control operation of the CPU 6 during the above-described block erasing process. This modification is different from the first embodiment in that a time display step (step S22 ') for increasing the display time from the start of the block erasure processing on the display unit 13 or subtracting and displaying the remaining processing time on the display unit 13 is added. Figure 8
However, the other steps are exactly the same.

【0032】上記したように本実施形態においては、コ
ピー処理、あるいはブロック消去処理中のいずれであっ
ても、所定の操作部材(操作ボタン)が操作された場合
には、この操作の入力処理中は前記動作を一時中断し、
入力処理が終了してから、前記動作を再度実行するよう
にしたので、ユーザの操作を妨げることなく、コピー処
理あるいはブロック消去処理を行なうことができる。
As described above, in the present embodiment, if a predetermined operation member (operation button) is operated during the copy process or the block erase process, the input process of this operation is performed. Suspends the above operation,
Since the above operation is performed again after the input processing is completed, the copy processing or the block erasing processing can be performed without hindering the operation of the user.

【0033】また、コピー処理、あるいはブロック消去
処理中のいずれであっても、所定の操作部材が押された
場合は、警告手段としてのシステム制御部6の制御によ
り表示器13の表示を変更させたり、スピーカ11から
アラームを発音させるようにしたので、ユーザはコピー
処理中あるいはブロック消去処理中であることを知るこ
とができる。
When a predetermined operation member is pressed during the copying process or the block erasing process, the display on the display unit 13 is changed by the control of the system control unit 6 as a warning unit. Or an alarm is generated from the speaker 11, so that the user can know that the copying process or the block erasing process is in progress.

【0034】さらに、コピー処理、ブロック消去処理を
行なうときの経過時間を表示器13によって増加表示、
または、残り処理時間を表示器13によって減算表示す
るようにしたので、ユーザはコピー処理、あるいはブロ
ック消去処理の推移を知ることができる。
Further, the elapsed time when the copy process and the block erase process are performed is increased and displayed on the display 13.
Alternatively, since the remaining processing time is subtracted and displayed by the display 13, the user can know the transition of the copy processing or the block erasing processing.

【0035】[0035]

【発明の効果】請求項1に記載の発明によれば、ユーザ
の操作を妨げることなく、不要な音声データの消去処理
を行なうことができる効果を奏する。また、請求項2に
記載の発明によれば、ユーザは不要な音声データの消去
処理中であることを知ることができる効果を奏する。請
求項3に記載の発明によれば、ユーザは不要な音声デー
タの消去処理の推移を知ることができる効果を奏する。
According to the first aspect of the present invention, there is an effect that unnecessary voice data can be deleted without hindering the operation of the user. Further, according to the invention described in claim 2, there is an effect that the user can know that unnecessary voice data is being deleted. According to the third aspect of the invention, there is an effect that the user can know the transition of the unnecessary voice data erasing process.

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

【図1】本発明の一実施形態に係る音声記録再生装置の
ブロック構成図である。
FIG. 1 is a block diagram of an audio recording and reproducing apparatus according to an embodiment of the present invention.

【図2】フラッシュメモリ内における音声データの記録
形態を示す図である。
FIG. 2 is a diagram showing a recording form of audio data in a flash memory.

【図3】消去処理時におけるメモリー内のデータ書き換
えの手順を説明するための図である。
FIG. 3 is a diagram for explaining a procedure for rewriting data in a memory during an erasing process;

【図4】本発明の一実施形態に係る消去処理動作の詳細
を示すフローチャートである。
FIG. 4 is a flowchart illustrating details of an erase processing operation according to the embodiment of the present invention.

【図5】消去処理後の音声データの記録形態を示す図で
ある。
FIG. 5 is a diagram showing a recording form of audio data after an erasing process.

【図6】コピー処理中に操作ボタンが押されたときのC
PUの制御動作を示すフローチャートである。
FIG. 6 is a diagram illustrating C when an operation button is pressed during a copy process;
6 is a flowchart illustrating a control operation of a PU.

【図7】図6に示す制御動作の変形例を示すフローチャ
ートである。
FIG. 7 is a flowchart showing a modified example of the control operation shown in FIG.

【図8】ブロック消去処理中に操作ボタンが押されたと
きのCPUの制御動作を示すフローチャートである。
FIG. 8 is a flowchart illustrating a control operation of a CPU when an operation button is pressed during a block erasing process.

【図9】図8に示す制御動作の変形例を示すフローチャ
ートである。
FIG. 9 is a flowchart showing a modification of the control operation shown in FIG.

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

1…マイクロホン、2、10…増幅器(AMP)、3…
低域通過フィルタ(LPF)、4…ディジタル/アナロ
グ(A/D)変換器、5…ディジタル信号処理部(DS
P)、6…システム制御部(CPU)、7…記録媒体、
9…ディジタル/アナログ(D/A)変換器、11…ス
ピーカ、12…駆動回路、13…表示器、14…電源制
御部、REC…録音ボタン、PLAY…再生ボタン、S
TOP…停止ボタン、FF…早送りボタン、REW…早
戻しボタン、ERASE…消去ボタン。
1 ... Microphone, 2, 10 ... Amplifier (AMP), 3 ...
Low-pass filter (LPF), 4 ... Digital / analog (A / D) converter, 5 ... Digital signal processor (DS)
P), 6: system control unit (CPU), 7: recording medium,
9: Digital / analog (D / A) converter, 11: speaker, 12: drive circuit, 13: display, 14: power supply control unit, REC: record button, PLAY: play button, S
TOP: stop button, FF: fast forward button, REW: fast reverse button, ERASE: erase button.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 不揮発性メモリに音声データを書込み、
不揮発性メモリから音声データを読出しする記録再生手
段と、 記録した音声データが有効か無効かを識別する識別手段
と、 消去可能なブロック単位で音声データを消去するための
消去手段と、 消去を指示する操作時の消去動作以外の動作状態のとき
に、無効音声データを含む消去ブロック内の有効音声デ
ータを、不揮発性メモリの消去可能なブロック単位のス
ペア領域にコピーした後、前記消去手段により元のブロ
ックを消去させ、これらの動作中に所定の操作部材が操
作されると、前記動作を一時中断させる制御手段と、 を具備することを特徴とする音声記録再生装置。
1. A method for writing audio data to a nonvolatile memory,
Recording / reproducing means for reading audio data from the non-volatile memory; identification means for identifying whether the recorded audio data is valid or invalid; erasing means for erasing audio data in erasable block units; In an operation state other than the erasing operation at the time of the erasing operation, the valid sound data in the erasing block including the invalid sound data is copied to the spare area of the erasable block unit of the non-volatile memory, and the original data is erased by the erasing means. Control means for erasing the blocks and temporarily suspending the operation when a predetermined operation member is operated during the operation.
【請求項2】 不揮発性メモリに音声データを書込み、
不揮発性メモリから音声データを読出しする記録再生手
段と、 記録した音声データが有効か無効かを識別する識別手段
と、 消去可能なブロック単位で音声データを消去するための
消去手段と、 無効音声データを含む消去ブロック内の有効音声データ
を、不揮発性メモリの消去可能なブロック単位のスペア
領域にコピーした後、前記消去手段により元のブロック
を消去する動作を行わせる制御手段と、 前記動作中に所定の操作部材が操作されると、所定の警
告を発する警告手段と、 を具備することを特徴とする音声記録再生装置。
2. Writing audio data to a nonvolatile memory,
Recording / reproducing means for reading audio data from the non-volatile memory; identification means for identifying whether the recorded audio data is valid or invalid; erasing means for erasing audio data in erasable blocks; and invalid audio data Control means for performing an operation of erasing the original block by the erasing means after copying the valid audio data in the erasing block including And a warning means for issuing a predetermined warning when a predetermined operation member is operated.
【請求項3】 無効音声データを含む消去ブロック内の
有効音声データをスペア領域にコピーし、元のブロック
を消去するときの経過時間を表示する表示手段をさらに
具備することを特徴とする請求項1または2記載の音声
記録再生装置。
3. The apparatus according to claim 2, further comprising display means for copying valid audio data in an erasure block including invalid audio data to a spare area, and displaying an elapsed time when the original block is erased. 3. The audio recording / reproducing device according to 1 or 2.
JP17123396A 1996-07-01 1996-07-01 Voice recording and reproducing device Withdrawn JPH1021050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17123396A JPH1021050A (en) 1996-07-01 1996-07-01 Voice recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17123396A JPH1021050A (en) 1996-07-01 1996-07-01 Voice recording and reproducing device

Publications (1)

Publication Number Publication Date
JPH1021050A true JPH1021050A (en) 1998-01-23

Family

ID=15919521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17123396A Withdrawn JPH1021050A (en) 1996-07-01 1996-07-01 Voice recording and reproducing device

Country Status (1)

Country Link
JP (1) JPH1021050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092678A (en) * 2003-09-19 2005-04-07 Matsushita Electric Ind Co Ltd Semiconductor memory card and method for deleting data in nonvolatile memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092678A (en) * 2003-09-19 2005-04-07 Matsushita Electric Ind Co Ltd Semiconductor memory card and method for deleting data in nonvolatile memory

Similar Documents

Publication Publication Date Title
JP2610737B2 (en) Recording and playback device
US6882493B2 (en) Data recording apparatus and data erasing apparatus capable of performing restoration when power supply malfunction occurs during recording or erasing
JP2000057037A (en) Device and method for recording and reproducing and recording medium
JP2006228098A (en) Data processing method, portable reproducing apparatus and computer
JP2006235117A (en) Music reproducing device
JP3666344B2 (en) Electronics
JPH103778A (en) Recording and reproducing device
JPH1021050A (en) Voice recording and reproducing device
JP2013090134A (en) Recording device and recording method
JP2003085946A (en) Data recording device and data recording/reproducing device
JP4713764B2 (en) Data playback device
JPH11249947A (en) Method and device for file management
JPH09311808A (en) Voice recording and reproducing device
JP2000057038A (en) Recording device and method, reproducing device and method and recording medium
JP2574749B2 (en) Document processing device
JP2002222582A (en) Music reproducing apparatus
JP2010128605A (en) Information storage device, data storage method, and program
JP4058776B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP3875861B2 (en) Information recording apparatus, information recording method, and program
JPH07191978A (en) Document processor
JP2953115B2 (en) Operation method of electronic music playback device
JP4103895B2 (en) Recording / playback device
JPH11260090A (en) Recording/reproducing apparatus
JP2002197841A (en) Optical disk device and data erasure method of optical disk device
JP4151657B2 (en) Identification information registration apparatus and identification information registration program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030902