JP2006318602A - Recording control method - Google Patents

Recording control method Download PDF

Info

Publication number
JP2006318602A
JP2006318602A JP2005142439A JP2005142439A JP2006318602A JP 2006318602 A JP2006318602 A JP 2006318602A JP 2005142439 A JP2005142439 A JP 2005142439A JP 2005142439 A JP2005142439 A JP 2005142439A JP 2006318602 A JP2006318602 A JP 2006318602A
Authority
JP
Japan
Prior art keywords
song
file
recording medium
previous
music
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
JP2005142439A
Other languages
Japanese (ja)
Other versions
JP4420854B2 (en
Inventor
Hiroshi Yamaguchi
博史 山口
Hitoshi Fujita
等士 藤田
Naoto Sawada
直人 沢田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005142439A priority Critical patent/JP4420854B2/en
Priority to CN200610078538XA priority patent/CN1866375B/en
Priority to US11/431,582 priority patent/US20060254408A1/en
Publication of JP2006318602A publication Critical patent/JP2006318602A/en
Application granted granted Critical
Publication of JP4420854B2 publication Critical patent/JP4420854B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00217Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source
    • G11B20/00253Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier the cryptographic key used for encryption and/or decryption of contents recorded on or reproduced from the record carrier being read from a specific source wherein the key is stored on the record carrier
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • G11B20/00485Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier
    • G11B20/00492Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier characterised by a specific kind of data which is encrypted and recorded on and/or reproduced from the record carrier wherein content or user data is encrypted
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10629Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
    • G11B2020/10666Ring buffers, e.g. buffers wherein an iteratively progressing read or write pointer moves back to the beginning of the buffer when reaching the last storage cell
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the following problem: when music data inputted continuously are recorded in a file format and the data input rate is increased, the processing cannot catch up with the rate when changing over a musical piece, and data lack occurs. <P>SOLUTION: In a recording control method for recording the continuously inputted music data in a recording medium in the file format for each musical piece, when the changeover of a musical piece occurs, the final data of the preceding musical piece stored in a music data storage part 3 is written in the recording medium 6, and after that, musical piece change-over file manipulation is performed further. Buffer referring time during musical piece change-over processing is shortened by performing (distributing the processing) a part of the musical piece change-over file manipulation during the time other than the musical piece change-over processing. The performance of a recording function can be improved to a rise in an input amount of data within a fixed period of time due to higher speeding and improvement to higher sound quality without raising processing speed of a system controller 4 and an access rate to the recording medium 6. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、音楽再生装置などから連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体に曲ごとにファイル形式で記録する録音制御方法に関するものである。   The present invention relates to a recording control method for recording music data continuously input from a music playback device or the like in a file format for each song on a recording medium formatted by a file system.

音楽再生装置などから連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体にファイル形式で記録する録音装置として、ハードディスクプレーヤやCD−R(Compact Disc-Recordable)プレーヤやディジタルオーディオプレーヤなどが普及している。   As a recording device for recording music data continuously input from a music playback device in a file format on a recording medium formatted by a file system, a hard disk player, a CD-R (Compact Disc-Recordable) player, a digital audio player, etc. Is popular.

上記録音装置は、音楽データをエンコードおよび暗号化するデータ制御部と、データ制御部からの書き込み要求を受けて音楽データを記録媒体に書き込む制御を行うシステムコントローラから構成される。データ制御部とシステムコントローラのデータ受け渡しは、音楽データ記憶部を介して行われる。   The recording apparatus includes a data control unit that encodes and encrypts music data, and a system controller that performs control for writing music data to a recording medium in response to a write request from the data control unit. Data transfer between the data control unit and the system controller is performed via the music data storage unit.

図1は、一般的な録音装置の構成を示すブロック図である。図1において、1は音声信号または音楽データを出力する音楽データ出力装置である。2は入力される音楽データを圧縮または暗号化する手段と、音楽データ記憶部3に書き込む手段を備えたデータ制御部である。3は圧縮または暗号化された音楽データを記憶する音楽データ記憶部である。4は記録媒体インターフェース5を制御することにより、音楽データ記憶部3に格納されている音楽データを読み出し、記録媒体6に書き込む制御手段を備えたシステムコントローラである。5は記録媒体6にアクセスする記録媒体インターフェースである。6はファイルシステムでフォーマットされた記録媒体である。   FIG. 1 is a block diagram showing a configuration of a general recording apparatus. In FIG. 1, reference numeral 1 denotes a music data output device that outputs a voice signal or music data. Reference numeral 2 denotes a data control unit including means for compressing or encrypting input music data and means for writing to the music data storage unit 3. A music data storage unit 3 stores compressed or encrypted music data. Reference numeral 4 denotes a system controller provided with control means for reading out music data stored in the music data storage unit 3 and writing it in the recording medium 6 by controlling the recording medium interface 5. Reference numeral 5 denotes a recording medium interface for accessing the recording medium 6. Reference numeral 6 denotes a recording medium formatted with a file system.

データ制御部2は、録音動作を行うに際して、音楽データ出力装置1から連続的に入力される音楽データをエンコードまたは暗号化した後、一定サイズごとに音楽データ記憶部3に蓄積する。音楽データ記憶部3は複数のバッファ#1,#2,#3に分けられており、データ制御部2が書き込む順番を切替えていく。音楽データ記憶部3の残量が無くなると、システムコントローラ4は音楽データ記憶部3の音楽データを読み出し、記録媒体インターフェース5を介して記録媒体6に音楽データを書き込む。このようにして、連続的な入力に対して録音を実現する。   When performing a recording operation, the data control unit 2 encodes or encrypts music data continuously input from the music data output device 1 and then stores the data in the music data storage unit 3 for each predetermined size. The music data storage unit 3 is divided into a plurality of buffers # 1, # 2, and # 3, and the data control unit 2 switches the order of writing. When the remaining amount of the music data storage unit 3 runs out, the system controller 4 reads the music data in the music data storage unit 3 and writes the music data to the recording medium 6 via the recording medium interface 5. In this way, recording is realized for continuous input.

以下に、図10、図11を用いて従来技術における録音動作の処理手順を説明する。図10は、システムコントローラ4における録音動作時の処理を示すフローチャートである。図11は、システムコントローラ4における曲切替わり発生時のファイル操作ステップのフローチャートである。   Hereinafter, the processing procedure of the recording operation in the prior art will be described with reference to FIGS. FIG. 10 is a flowchart showing processing during recording operation in the system controller 4. FIG. 11 is a flowchart of the file operation step when the music switching occurs in the system controller 4.

ステップS71において、システムコントローラ4は録音中のループに入り、ステップS72において、曲の切替わりが発生したか否かを判断する。曲の切替わりが発生していないときは、ステップS73に進んで、音楽データ記憶部3のバッファ内のすべての音楽データを記録媒体6に書き込む。一方、曲の切替わりが発生していると判断したときは、ステップS74に進んで、音楽データ記憶部3における前曲の最終データを記録媒体6に書き込む。音楽データ内に曲切替え情報が存在する場合や、ユーザによる曲の切替え要求が発生したときには、音楽データ記憶部3には2曲分の音楽データ、すなわち、前曲の最終データと次曲の先頭データとが格納されている。次いでステップS75において、曲切替えファイル操作を実行する。   In step S71, the system controller 4 enters a loop during recording. In step S72, the system controller 4 determines whether or not switching of music has occurred. If no song switching has occurred, the process proceeds to step S73, and all the music data in the buffer of the music data storage unit 3 is written into the recording medium 6. On the other hand, when it is determined that switching of music occurs, the process proceeds to step S74, and the final data of the previous music in the music data storage unit 3 is written in the recording medium 6. When there is music switching information in the music data or when a user requests to switch music, the music data storage unit 3 stores two music data, that is, the last data of the previous music and the head of the next music. Data is stored. Next, in step S75, a music switching file operation is executed.

この曲切替えファイル操作は、図11のように行われる。すなわち、ステップS81において、前曲のデータファイル生成を終了するための前曲ファイルクローズ処理を実行する。次いでステップS82において、前曲ファイルの暗号を解くための鍵情報を書き込む前曲鍵情報書き込み処理を実行する。次いでステップS83において、前曲の曲情報ファイルを作成するための前曲曲情報書き込み処理を実行する。次いでステップS84において、次曲のデータファイルを生成するための次曲ファイルオープン処理を実行する。次いで図10のステップS76に進み、次曲の先頭データを記録媒体6に書き込む。   This music switching file operation is performed as shown in FIG. That is, in step S81, the previous music file closing process for ending the data file generation of the previous music is executed. Next, in step S82, a previous song key information writing process for writing key information for decrypting the previous song file is executed. Next, in step S83, a previous song information writing process for creating a previous song information file is executed. Next, in step S84, a next music file open process for generating a data file of the next music is executed. Next, the process proceeds to step S76 in FIG. 10, and the top data of the next song is written to the recording medium 6.

以上の録音動作を繰り返し行うことで、連続的に入力される音楽データに対して、曲毎にファイルとして録音する機能を実現する。   By repeating the above recording operation, a function for recording music data that is continuously input as a file for each song is realized.

ところで、録音の高倍速化・高音質化等に伴って一定時間の入力データ量が増加すると、システムコントローラ4が音楽データ記憶部3の音楽データを参照する時間が相対的に増加する。これにより、システムコントローラ4が参照中の音楽データ記憶部3の音楽データに対してデータ制御部2が上書きしてしまい、意図しない音楽データが記録媒体6に書き込まれ、録音が失敗する確率が高くなる。   By the way, when the amount of input data for a certain time increases as the recording speed increases or the sound quality increases, the time for the system controller 4 to refer to the music data in the music data storage unit 3 relatively increases. As a result, the data control unit 2 overwrites the music data in the music data storage unit 3 being referenced by the system controller 4, and unintended music data is written to the recording medium 6, so that there is a high probability that recording will fail. Become.

そこで、処理落ちによる音楽データの欠落が発生する前に、入力データ量を減らし、あるいは一時的に入力を止めることにより、録音失敗を回避する工夫が提案されている(例えば、特許文献1参照)。
特開2000−123477号公報(第12−14頁、第3図)
In view of this, there has been proposed a contrivance for avoiding a recording failure by reducing the amount of input data or temporarily stopping the input before music data is lost due to processing failure (see, for example, Patent Document 1). .
Japanese Unexamined Patent Publication No. 2000-123477 (pages 12-14, FIG. 3)

従来の技術においては、録音の高倍速化・高音質化等に伴って一定時間の入力データ量が増加すると、ステップS74での前曲の最終データの記録媒体6への書き込みの処理と、ステップS76での次曲の先頭データの記録媒体6への書き込みの処理との間に行うステップS75での曲切替えファイル操作について、システムコントローラ4が音楽データ記憶部3のバッファを参照する時間が長くなる。その結果として、書き込み要求に対してシステムコントローラ4の処理が追いつかなくなり、録音失敗の確率が高くなる。システムコントローラ4の処理速度や記録媒体6へのアクセス速度を上げれば対応することが容易化されるが、速度アップに伴うコストアップは免れない。   In the conventional technique, when the amount of input data for a certain time increases as the recording speed increases or the sound quality increases, the process of writing the final data of the previous song in step S74 to the recording medium 6 and the step About the music switching file operation in step S75 performed during the process of writing the first data of the next music in S76 to the recording medium 6, the time for the system controller 4 to refer to the buffer of the music data storage unit 3 becomes long. . As a result, the process of the system controller 4 cannot catch up with the write request, and the probability of recording failure increases. Increasing the processing speed of the system controller 4 and the access speed to the recording medium 6 facilitates the response, but the cost increase accompanying the speed increase is inevitable.

本発明による録音制御方法は、連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体に曲ごとにファイル形式で記録する録音制御方法であって、曲の切替えが発生したときに、音楽データ記憶部に蓄積されている前曲の最終データを前記記録媒体に書き込み、次いで前記音楽データ記憶部に蓄積されている次曲の先頭データを前記記録媒体に書き込み、さらにその後に曲切替えファイル操作を実行することを特徴とするものである。   A recording control method according to the present invention is a recording control method for recording continuously input music data in a file format for each song on a recording medium formatted by a file system. When a song switching occurs, Write the last data of the previous song stored in the music data storage unit to the recording medium, then write the first data of the next song stored in the music data storage unit to the recording medium, and then the song switching file An operation is executed.

これによれば、曲の切替えの発生時における次曲の先頭データの書き込み処理を、前曲の最終データの書き込み処理の直後に実行することで、曲切替えファイル操作の実行時の音楽データ記憶部の参照時間を短くすることができる。よって、例えば高倍速化や高音質化による一定時間内の入力データ量の増加に対して、システムコントローラの処理速度や記録媒体へのアクセス速度を上げることなく、録音動作を実行することができる。   According to this, the music data storage unit at the time of the music switching file operation is executed by performing the writing process of the first data of the next music immediately after the final data writing process of the previous music when the music switching occurs. The reference time can be shortened. Therefore, the recording operation can be executed without increasing the processing speed of the system controller or the access speed to the recording medium in response to an increase in the amount of input data within a certain time due to, for example, higher speed or higher sound quality.

上記において、前記曲切替えファイル操作は、
前記記録媒体に記録された前曲データファイルの生成を終了する前曲ファイルクローズ処理と、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理とを含み、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理は、前記前曲の最終データの前記記録媒体への書き込みと前記次曲の先頭データの前記記録媒体への書き込みとの間に実行するものとする。
In the above, the song switching file operation is
A previous song file closing process for ending generation of a previous song data file recorded on the recording medium;
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Including the previous song information writing process for writing the song information of the previous song to the file,
The next song file open process for generating the next song file on the recording medium is executed between the writing of the last data of the previous song to the recording medium and the writing of the first data of the next song to the recording medium. It shall be.

前曲の最終データの書き込み処理の直後に次曲の先頭データの書き込み処理を行う場合、次曲の先頭データの書き込み処理の開始においては、少なくとも記録媒体に次曲のファイルを生成する次曲ファイルオープン処理が必要となる。   When writing the first data of the next song immediately after the writing process of the last data of the previous song, at the start of the writing process of the first data of the next song, at least the next song file that generates the next song file on the recording medium Open processing is required.

また、上記において、前記曲切替えファイル操作は、
前記記録媒体に記録された前曲データファイルの生成を終了する前曲ファイルクローズ処理と、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理とを含み、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理は、前記曲の切替え発生以前の空き時間に実行するものとしてもよい。
In the above, the song switching file operation is
A previous song file closing process for ending generation of a previous song data file recorded on the recording medium;
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Including the previous song information writing process for writing the song information of the previous song to the file,
The next song file opening process for generating the next song file on the recording medium may be executed in an idle time before the song switching occurs.

また、上記において、さらに、前記前曲鍵情報書き込み処理を前記曲の切替え発生以前の空き時間に実行するのでもよい。   Further, in the above, the previous music key information writing process may be executed in a free time before the music switching occurs.

また、上記において、前記曲切替えファイル操作は、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理と、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理とを含み、
前記前曲ファイルクローズ処理は、前記曲の切替え発生以降の空き時間に実行するものとしてもよい。
In the above, the song switching file operation is
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Write the previous song information writing process to write the song information of the previous song to the file,
A next song file open process for generating a file of the next song on the recording medium,
The previous song file closing process may be executed in a free time after the switching of the song.

また、上記において、さらに、前記前曲曲情報書き込み処理を前記曲の切替え発生以降の空き時間に実行するのでもよい。   Further, in the above, the previous music piece information writing process may be executed in an idle time after the switching of the music piece.

これらによれば、曲切替えファイル操作を曲切替え発生時以外の時間帯で実行し、処理を分散することで、曲切替え発生時に行うべき処理に要する時間を短縮することができる。   According to these, the music switching file operation is executed in a time zone other than when the music switching occurs and the processing is distributed, so that the time required for the processing to be performed when the music switching occurs can be shortened.

また、上記の前曲ファイルクローズ処理を曲の切替え発生以降の空き時間に実行する場合において、書き込み要求を通知されてから、前記音楽データ記憶部に蓄積されている音楽データを前記記録媒体に書き込み開始するまでの遅延時間が所定の時間以上になったときのみ、前記前曲ファイルクローズ処理を前記曲の切替え発生以降の空き時間に実行するのでもよい。   In addition, when the previous song file closing process is executed in a free time after the switching of the song, the music data stored in the music data storage unit is written to the recording medium after the writing request is notified. Only when the delay time until the start becomes a predetermined time or more, the previous music file closing process may be executed in a free time after the switching of the music.

また、上記の前曲曲情報書き込み処理を曲の切替え発生以降の空き時間に実行する場合において、書き込み要求を通知されてから、前記音楽データ記憶部に蓄積されている音楽データを前記記録媒体に書き込み開始するまでの遅延時間が所定の時間以上になったときのみ、前記前曲曲情報書き込み処理を前記曲の切替え発生以降の空き時間に実行するのでもよい。   In addition, when the previous song information writing process is executed in the idle time after the song switching occurs, the music data stored in the music data storage unit is notified to the recording medium after the writing request is notified. Only when the delay time until the start of writing becomes a predetermined time or more, the previous music piece information writing process may be executed in a free time after the switching of the music piece.

これによれば、音楽データ記憶部に蓄積されている音楽データを記録媒体に書き込み開始するまでの遅延時間を考慮して、遅延時間が一定以上になったときのみ処理を遅らせることで、不必要にファイルの生成が遅れるのを防ぐことができる。   According to this, in consideration of the delay time until the music data stored in the music data storage unit starts to be written to the recording medium, it is unnecessary to delay the processing only when the delay time exceeds a certain value. Can prevent delays in file generation.

本発明によれば、高倍速化や高音質化による一定時間内の入力データ量の増加に対して、システムコントローラの処理速度や記録媒体へのアクセス速度を上げることなく、録音機能の性能を向上させることができる。   According to the present invention, the performance of the recording function is improved without increasing the processing speed of the system controller and the access speed to the recording medium in response to an increase in the amount of input data within a certain time due to higher speed and higher sound quality. Can be made.

以下、本発明にかかわる録音装置における録音制御方法の実施の形態を図面に基づいて詳細に説明する。   Embodiments of a recording control method in a recording apparatus according to the present invention will be described below in detail with reference to the drawings.

(実施の形態1)
本発明の実施の形態1における録音装置の構成については、従来の技術の説明で用いた図1の構成が適用される。
(Embodiment 1)
As the configuration of the recording apparatus according to Embodiment 1 of the present invention, the configuration of FIG. 1 used in the description of the conventional technique is applied.

まず、録音動作時のデータ制御部2の処理手順を図2に示すフローチャートに基づいて説明する。   First, the processing procedure of the data control unit 2 during the recording operation will be described based on the flowchart shown in FIG.

ステップS1において、データ制御部2は、音楽データ出力装置1から音楽データが入力されると、録音を開始するために、ステップS2に進む。
ステップS2において、入力されてくる音楽データに対して一定サイズ毎に録音処理(エンコードおよび暗号化)を行い、次いでステップS3において、暗号化データを音楽データ記憶部3のバッファに蓄積していく。そしてステップS4において、バッファの残量が無くなったかを監視し、バッファの残量が無くなると、システムコントローラ4に対してバッファの音楽データの記録媒体6への書き込み要求を送信する。次いでステップS6において、書き込みバッファの更新(繰り替え)を行う。
In step S1, when the music data is input from the music data output device 1, the data control unit 2 proceeds to step S2 to start recording.
In step S2, recording processing (encoding and encryption) is performed on the input music data for each predetermined size, and then in step S3, the encrypted data is stored in the buffer of the music data storage unit 3. In step S4, it is monitored whether or not the remaining amount of the buffer is exhausted. When the remaining amount of the buffer is exhausted, a request to write the music data in the buffer to the recording medium 6 is transmitted to the system controller 4. Next, in step S6, the write buffer is updated (repeated).

より具体的には、第1のバッファ#1の残量が無くなると、第1のバッファ#1の音楽データの書き込み要求を送信するとともに、第2のバッファ#2に蓄積を開始する。また、第2のバッファ#2の残量が無くなると、第2のバッファ#2の音楽データの書き込み要求を送信するとともに、第3のバッファ#3に蓄積を開始する。さらに、第3のバッファ#3の残量が無くなると、第3のバッファ#3の音楽データの書き込み要求を送信するとともにし、再び第1のバッファ#1に対して蓄積を開始する。   More specifically, when the remaining capacity of the first buffer # 1 is exhausted, a request to write music data in the first buffer # 1 is transmitted and accumulation in the second buffer # 2 is started. When the remaining capacity of the second buffer # 2 runs out, a request for writing music data in the second buffer # 2 is transmitted and accumulation in the third buffer # 3 is started. Furthermore, when the remaining capacity of the third buffer # 3 runs out, a request for writing music data in the third buffer # 3 is transmitted, and accumulation in the first buffer # 1 is started again.

以上の処理を音楽データが入力されている間、繰り返し実行する。   The above processing is repeatedly executed while music data is being input.

次に、録音動作時のシステムコントローラ4の処理手順を図3に示すフローチャートに基づいて説明する。   Next, the processing procedure of the system controller 4 during the recording operation will be described based on the flowchart shown in FIG.

録音が開始されると、ステップS11において、システムコントローラ4は録音中のループに入り、ステップS12において、データ制御部2からの書き込み要求の待ち状態となる。データ制御部2からの書き込み要求を受けると、ステップS13において、曲の切替わりが発生しているかどうかを判断する。曲の切替わりが発生していなければ、ステップS14に進んで、指定されたバッファの音楽データ全てを記録媒体6に対して書き込む。完了後、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS12)。   When recording is started, the system controller 4 enters a recording loop in step S11, and waits for a write request from the data control unit 2 in step S12. When a write request is received from the data control unit 2, it is determined in step S13 whether or not song switching has occurred. If no song switching has occurred, the process proceeds to step S14, and all the music data in the designated buffer is written to the recording medium 6. After the completion, it again waits for a write request from the data control unit 2 (step S12).

一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップS15に進んで、前曲の最終データを記録媒体6に書き込む。次いでステップS16において、次曲のデータファイルを生成するための次曲ファイルオープン処理を行う。このステップS16の処理は、従来技術の場合の図11でのステップS84に相当するもので、これを先行して実行する。次いでステップS17において、次曲の先頭データを記録媒体6に書き込む。これで、バッファの参照を終了する。そして、ステップS18の曲切替えファイル操作の処理へ進む。   On the other hand, if there is a change of music, the final data of the previous music and the top data of the next music are stored in the buffer. At this time, the process proceeds to step S15, and the final data of the previous music is written to the recording medium 6. Next, in step S16, a next music file open process for generating a data file of the next music is performed. The processing in step S16 corresponds to step S84 in FIG. 11 in the case of the prior art, and is executed in advance. Next, in step S17, the head data of the next song is written to the recording medium 6. This completes the buffer reference. Then, the process proceeds to the music switching file operation process in step S18.

このステップS18の曲切替えファイル操作は、図4のように行う。すなわち、ステップS21において、前曲のデータファイル生成を終了するための前曲ファイルクローズ処理を実行する。次いでステップS22において、前曲ファイルの暗号を解くための鍵情報を書き込む前曲鍵情報書き込み処理を実行する。次いでステップS23において、前曲の曲情報ファイルを作成するための前曲曲情報書き込み処理を実行する。   The music switching file operation in step S18 is performed as shown in FIG. That is, in step S21, a previous song file closing process for ending the previous song data file generation is executed. Next, in step S22, a previous song key information writing process for writing key information for decrypting the previous song file is executed. Next, in step S23, a previous song information writing process for creating a previous song information file is executed.

従来の技術においては、図10に示すように、前曲の最終データの記録媒体6への書き込み(ステップS74)と次曲の先頭データの記録媒体6への書き込み(ステップS76)との間に、曲切替えファイル操作(ステップS75)を実行している。これに対応して、本実施の形態では、前曲の最終データの記録媒体6への書き込み(ステップS15)の後は、曲切替えファイル操作(ステップS18)の実行に先行して、次曲の先頭データの記録媒体6への書き込み(ステップS17)を実行するようにしている。ただし、ファイルシステムの制約で、ファイルをオープンしていないと、そのファイルのデータ書き込みを行えないため、次曲ファイルオープン処理(ステップS16)だけは、次曲の先頭データの記録媒体6への書き込み(ステップS17)よりも前に実行するようにしている。   In the prior art, as shown in FIG. 10, the last data of the previous music is written to the recording medium 6 (step S74) and the first data of the next music is written to the recording medium 6 (step S76). The song switching file operation (step S75) is executed. Corresponding to this, in the present embodiment, after writing the final data of the previous song to the recording medium 6 (step S15), prior to the execution of the song switching file operation (step S18), The first data is written to the recording medium 6 (step S17). However, if the file is not opened due to file system restrictions, data cannot be written to the file unless the file is opened. Therefore, only the next song file open process (step S16) writes the first data of the next song to the recording medium 6. It is executed before (Step S17).

以上のように本実施の形態の録音制御方法によれば、システムコントローラ4による曲切替えファイル操作の実行中にバッファを参照する時間を短くし、バッファ上書きによる録音装置のデータ欠落の可能性を低くすることができる。   As described above, according to the recording control method of the present embodiment, the time for referring to the buffer during execution of the music switching file operation by the system controller 4 is shortened, and the possibility of data loss of the recording device due to buffer overwriting is reduced. can do.

これにより、例えば高倍速化や高音質化による一定時間内の入力データ量の増加に対して、システムコントローラ4の処理速度や記録媒体6へのアクセス速度を上げることなく、録音動作を実行することができる。   Thus, for example, in response to an increase in the amount of input data within a certain time due to higher speed or higher sound quality, the recording operation is executed without increasing the processing speed of the system controller 4 or the access speed to the recording medium 6. Can do.

(実施の形態2)
本発明の実施の形態2における録音装置の構成については、実施の形態1と同様に図1の構成が適用される。また、データ制御部2の処理は、実施の形態1の図2と同様であるため、説明は省略する。
(Embodiment 2)
As for the configuration of the recording apparatus according to the second embodiment of the present invention, the configuration shown in FIG. Moreover, since the process of the data control part 2 is the same as that of FIG. 2 of Embodiment 1, description is abbreviate | omitted.

本実施の形態の録音動作時のシステムコントローラ4の処理手順を図5に示すフローチャートに基づいて説明する。   The processing procedure of the system controller 4 during the recording operation of the present embodiment will be described based on the flowchart shown in FIG.

録音が開始されると、ステップS31において、システムコントローラ4は録音中のループに入り、ステップS32において、データ制御部2からの書き込み要求の待ち状態となる。データ制御部2からの書き込み要求を受けていないときは、ステップS33に進んで、次曲を記録するためのファイルがオープンされているかどうかを判断し、オープンされていなければ、ステップS34に進んで、次曲のデータファイルを生成するための次曲ファイルオープン処理を実行しておく。すなわち、曲の切替え発生以前の空き時間に次曲ファイルオープン処理を実行する。このステップS34の処理は、従来の技術の場合の図11でのステップS84に相当するもので、これを曲の切替え発生以前の空き時間に実行する。次曲ファイルオープン処理の実行が終われば、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS32)。   When recording is started, the system controller 4 enters a recording loop in step S31, and waits for a write request from the data control unit 2 in step S32. When the write request from the data control unit 2 has not been received, the process proceeds to step S33, where it is determined whether or not the file for recording the next song is open. If not, the process proceeds to step S34. Then, the next song file opening process for generating the data file of the next song is executed. That is, the next song file open process is executed in the idle time before the song switching occurs. The process in step S34 corresponds to step S84 in FIG. 11 in the case of the conventional technique, and is executed in the idle time before the switching of music. When the execution of the next song file opening process is completed, the writing request from the data control unit 2 is again waited (step S32).

一方、データ制御部2から書き込み要求があったときは、ステップS35に進んで、曲の切替わりが発生しているかどうかを判断する。曲の切替わりが発生していなければ、ステップS36に進んで、指定されたバッファの音楽データ全てを記録媒体6に対して書き込む。完了後、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS32)。   On the other hand, when there is a write request from the data control unit 2, the process proceeds to step S35, and it is determined whether or not switching of music has occurred. If no song switching has occurred, the process advances to step S36 to write all the music data in the designated buffer to the recording medium 6. After the completion, the process waits for a write request from the data control unit 2 again (step S32).

一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップS37に進んで、前曲の最終データを記録媒体6に書き込む。このときすでに、次曲ファイルオープン処理は完了している(ステップS34)。次いでステップS38において、次曲の先頭データを記録媒体6に書き込む。これで、バッファの参照を終了する。そして、ステップS39の曲切替えファイル操作の処理へ進む。   On the other hand, if there is a change of music, the final data of the previous music and the top data of the next music are stored in the buffer. At this time, the process proceeds to step S37 to write the final data of the previous song on the recording medium 6. At this time, the next music file open processing has already been completed (step S34). Next, in step S38, the head data of the next song is written to the recording medium 6. This completes the buffer reference. Then, the process proceeds to the music switching file operation process in step S39.

このステップS39の曲切替えファイル操作は、図6のように行われる。すなわち、ステップS41において、前曲のデータファイル生成を終了するための前曲ファイルクローズ処理を実行する。次いでステップS42において、前曲ファイルの暗号を解くための鍵情報を書き込む前曲鍵情報書き込み処理を実行する。次いでステップS43において、前曲の曲情報ファイルを作成するための前曲曲情報書き込み処理を実行する。これらのステップは実施の形態1の場合の図4と同じである。   The music switching file operation in step S39 is performed as shown in FIG. That is, in step S41, the previous music file closing process for ending the data file generation of the previous music is executed. Next, in step S42, a previous song key information writing process for writing key information for decrypting the previous song file is executed. Next, in step S43, previous song information writing processing for creating a song information file of the previous song is executed. These steps are the same as those in FIG. 4 in the first embodiment.

以上のように本実施の形態においては、従来、曲の切替わりが発生したときに実行していた次曲ファイルオープン処理を、曲切替わり発生時以外の書き込み要求待ち時間内に、すなわち曲の切替え発生以前の空き時間に実行しておくことに特徴がある。これにより、システムコントローラ4における曲切替え発生時の処理時間が短くなり、データ制御部2からの書き込み要求が発生してからシステムコントローラ4が記録媒体6に書き込むまでの遅延時間が短くなる。   As described above, in the present embodiment, the next song file open process that has been executed when a song change has occurred in the past is performed within a write request waiting time other than when a song change occurs, that is, It is characterized by being executed in the idle time before the occurrence of switching. As a result, the processing time when the music controller is switched in the system controller 4 is shortened, and the delay time from when the write request from the data control unit 2 is generated until the system controller 4 writes to the recording medium 6 is shortened.

これにより、例えば高倍速化や高音質化に伴う一定時間内の入力データ量の増加に起因して、システムコントローラの処理落ちが発生する確率を低くすることができる。   As a result, for example, it is possible to reduce the probability that the processing failure of the system controller will occur due to an increase in the amount of input data within a certain time due to higher speed and higher sound quality.

なお、本実施の形態では、曲切替えファイル操作に関連する次曲ファイルオープン処理(ステップS34)を曲切替え時以外に実行するように示しているが、曲切替えファイル操作に関連する前曲鍵情報書き込み処理(ステップS42)を、曲切替え時以外に実行するように構成してもよい。この場合も、曲切替えファイル操作の処理時間を短くする同様の効果が得られる。   In this embodiment, the next song file opening process (step S34) related to the song switching file operation is shown to be executed at times other than the song switching, but the previous song key information related to the song switching file operation is shown. The writing process (step S42) may be executed at times other than when the music is switched. In this case as well, the same effect of shortening the processing time of the music switching file operation can be obtained.

(実施の形態3)
図7は、本発明の実施の形態3における録音装置の構成を示すブロック図である。図7において、7はデータ制御部2からシステムコントローラ4に対して書き込み要求が発生したときに、記録媒体6に音楽データを書き込むまでの遅延時間が一定時間以上であれば、そのときの曲切替えファイル操作要求を退避(キューイング)しておく曲切替えファイル操作要求退避部である。なお、このときは、前曲ファイルクローズ処理はこの時点では処理をせず、延期される。
(Embodiment 3)
FIG. 7 is a block diagram showing a configuration of a recording apparatus according to Embodiment 3 of the present invention. In FIG. 7, reference numeral 7 indicates that when a write request is issued from the data control unit 2 to the system controller 4, if the delay time until the music data is written to the recording medium 6 is longer than a certain time, the music is switched at that time. This is a song switching file operation request saving unit for saving (queuing) file operation requests. At this time, the previous song file closing process is not performed at this point and is postponed.

本実施の形態における録音装置において、データ制御部2の処理は、実施の形態1の図2と同様であるため、説明は省略する。   In the recording apparatus according to the present embodiment, the processing of the data control unit 2 is the same as that in FIG.

本実施の形態の録音動作時のシステムコントローラ4の処理手順を図8に示すフローチャートに基づいて説明する。   The processing procedure of the system controller 4 during the recording operation of the present embodiment will be described based on the flowchart shown in FIG.

録音が開始されると、ステップS51において、システムコントローラ4は録音中のループに入り、ステップS52において、データ制御部2からの書き込み要求の待ち状態となる。データ制御部2からの書き込み要求を受けていないときは、ステップS53に進んで、曲切替えファイル操作要求退避部7に既に退避(キューイング)されている前曲ファイルクローズ処理があるか否かを判断する(このキューイングは図9のステップS64で行われる)。既に退避されている前曲ファイルクローズ処理があれば、ステップS54に進み、データ制御部2からの書き込み要求が発生してからシステムコントローラ4が記録媒体6に音楽データを書き込むまでの遅延時間を参照する。そして、遅延時間が無ければ、ステップS55に進んで、曲切替えファイル操作要求退避部7に退避されている前曲ファイルクローズ処理を実行する。前曲ファイルクローズ処理の実行が終われば、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS52)。   When recording is started, the system controller 4 enters a recording loop in step S51, and enters a waiting state for a write request from the data control unit 2 in step S52. If a write request from the data control unit 2 has not been received, the process proceeds to step S53 to determine whether there is a previous song file close process already saved (queued) in the song switching file operation request saving unit 7. Judgment is made (this queuing is performed in step S64 in FIG. 9). If there is a previous song file closing process that has already been saved, the process proceeds to step S54, and the delay time from when the write request from the data control unit 2 is generated until the system controller 4 writes the music data to the recording medium 6 is referred. To do. If there is no delay time, the process proceeds to step S55, and the previous song file closing process saved in the song switching file operation request saving unit 7 is executed. When the execution of the previous music file closing process is finished, the writing control request from the data control unit 2 is again waited (step S52).

一方、データ制御部2から書き込み要求があったときは、ステップS56に進んで、曲の切替わりが発生しているかどうかを判断する。曲の切替わりが発生していなければ、ステップS57に進んで、指定されたバッファの音楽データ全てを記録媒体6に対して書き込む。完了後、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS52)。   On the other hand, when there is a write request from the data control unit 2, the process proceeds to step S56, where it is determined whether or not a song switching has occurred. If no song switching has occurred, the process advances to step S57 to write all the music data in the designated buffer to the recording medium 6. After the completion, the process waits for a write request from the data control unit 2 again (step S52).

一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップS58に進んで、前曲の最終データを記録媒体6に書き込む。次いでステップS59において、次曲の先頭データを記録媒体6に書き込む。これで、バッファの参照を終了する。そして、ステップS60の曲切替えファイル操作の処理へ進む。   On the other hand, if there is a change of music, the final data of the previous music and the top data of the next music are stored in the buffer. At this time, the process proceeds to step S58, and the final data of the previous music is written to the recording medium 6. Next, in step S59, the top data of the next song is written to the recording medium 6. This completes the buffer reference. Then, the process proceeds to the music switching file operation process in step S60.

このステップS60の曲切替えファイル操作は、図9のように行われる。すなわち、ステップS61において、データ制御部2からの書き込み要求が発生してからシステムコントローラ4が記録媒体6に音楽データを書き込むまでの遅延時間を参照する。遅延時間が一定時間以上であれば、前曲ファイルクローズ処理はこの時点では処理をせず、ステップS64に進んで、前曲ファイルクローズ処理を曲切替えファイル操作要求退避部7へ退避しておく。一方、遅延時間が無いまたは一定時間未満であれば、ステップS62に進んで、曲切替えファイル操作要求退避部7に既に退避された前曲ファイルクローズ処理が無いか否かを判断する。既に退避された前曲ファイルクローズ処理があれば、ステップS64に進むが、曲切替えファイル操作要求退避部7への前曲ファイルクローズ処理の退避がなければ、ステップS63に進んで、この時点で前曲ファイルクローズ処理を実行する。すなわち、時間的に余裕があれば、前曲ファイルクローズ処理を直ちに実行する。   The music switching file operation in step S60 is performed as shown in FIG. That is, in step S61, the delay time from when the write request from the data control unit 2 is generated until the system controller 4 writes the music data to the recording medium 6 is referred to. If the delay time is equal to or longer than a certain time, the previous music file closing process is not performed at this time, and the process proceeds to step S64, and the previous music file closing process is saved in the music switching file operation request saving unit 7. On the other hand, if there is no delay time or less than a certain time, the process proceeds to step S62 to determine whether or not there is a previous music file closing process already saved in the music switching file operation request saving unit 7. If there is a previous music file closing process that has already been saved, the process proceeds to step S64, but if there is no previous music file closing process saved to the music switching file operation request saving unit 7, the process proceeds to step S63, and at this point Perform song file close processing. That is, if there is time, the previous music file closing process is immediately executed.

次いでステップS65において、前曲ファイルの暗号を解くための鍵情報を書き込む前曲鍵情報書き込み処理を実行する。次いでステップS66において、前曲の曲情報ファイルを作成するための前曲曲情報書き込み処理を実行する。次いでステップS67において、次曲ファイルオープン処理を実行する。   Next, in step S65, a previous song key information writing process for writing key information for decrypting the previous song file is executed. Next, in step S66, a previous song information writing process for creating a previous song information file is executed. Next, in step S67, the next music file open process is executed.

以上のように本実施の形態においては、従来、曲の切替わりが発生したときに実行していた前曲ファイルクローズ処理を、曲切替わり発生時以降の、書き込み要求待ち時間内で実行しておくことに特徴がある。これにより、システムコントローラ4における曲切替え発生時の処理時間が短くなり、データ制御部2からの書き込み要求が発生してからシステムコントローラ4が記録媒体6に書き込むまでの遅延時間が短くなる。   As described above, in the present embodiment, the previous song file closing process, which has been conventionally performed when a song switch occurs, is executed within the write request waiting time after the song switch occurs. It is characterized by As a result, the processing time when the music controller is switched in the system controller 4 is shortened, and the delay time from when the write request from the data control unit 2 is generated until the system controller 4 writes to the recording medium 6 is shortened.

これにより、例えば高倍速化や高音質化に伴う一定時間内の入力データ量の増加に起因して、システムコントローラの処理落ちが発生する確率を低くすることができる。   As a result, for example, it is possible to reduce the probability that the processing failure of the system controller will occur due to an increase in the amount of input data within a certain time due to higher speed and higher sound quality.

また、データ制御部2から書き込み要求が発生してから記録媒体6に書き込まれるまでの遅延時間を監視し、遅延時間が一定以上になったときのみ処理を遅らせることで、不必要にファイルの生成が遅れるのを防ぐことができる。   In addition, the delay time from when a write request is generated from the data control unit 2 to when the data is written to the recording medium 6 is monitored, and the processing is delayed only when the delay time exceeds a certain level, thereby generating a file unnecessarily. Can be delayed.

なお、本実施の形態では、曲切替えファイル操作(図9)の前曲ファイルクローズ処理を曲切替え時以降にて実行するように示しているが、ステップS66の前曲曲情報書き込み処理を曲切替え時以外に実行することでも、同様に曲切替えファイル操作の処理時間を短くする効果が得られる。   In the present embodiment, the previous song file closing process of the song switching file operation (FIG. 9) is shown to be executed after the song switching. However, the previous song information writing process in step S66 is performed. Even if it is executed at other times, the effect of shortening the processing time of the music switching file operation can be obtained.

本発明の録音制御方法は、音楽再生装置などから連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体にファイル形式で記録するハードディスクプレーヤやCD−Rプレーヤやディジタルオーディオプレーヤなどにおいて有用で、製品のコストを上げることなく性能向上が期待できる。   The recording control method of the present invention is useful in a hard disk player, a CD-R player, a digital audio player, and the like that record music data continuously input from a music playback device or the like in a file format on a recording medium formatted by a file system. Therefore, performance can be expected without increasing the cost of the product.

本発明の実施の形態1および従来技術における録音装置の構成を示すブロック図1 is a block diagram showing a configuration of a recording apparatus according to Embodiment 1 of the present invention and a conventional technique. 本発明の実施の形態1における録音装置の録音動作時のデータ制御部の動作を示すフローチャートThe flowchart which shows operation | movement of the data control part at the time of recording operation of the recording device in Embodiment 1 of this invention. 本発明の実施の形態1における録音装置の録音動作時のシステムコントローラの動作を示すフローチャートThe flowchart which shows operation | movement of the system controller at the time of the recording operation of the recording device in Embodiment 1 of this invention. 本発明の実施の形態1における録音装置のシステムコントローラによる曲切替えファイル操作の動作を示すフローチャートThe flowchart which shows the operation | movement of the music switching file operation by the system controller of the recording device in Embodiment 1 of this invention. 本発明の実施の形態2における録音装置の録音動作時のシステムコントローラの動作を示すフローチャートThe flowchart which shows operation | movement of the system controller at the time of the recording operation of the recording device in Embodiment 2 of this invention. 本発明の実施の形態2における録音装置のシステムコントローラによる曲切替えファイル操作の動作を示すフローチャートThe flowchart which shows the operation | movement of the music switching file operation by the system controller of the recording device in Embodiment 2 of this invention 本発明の実施の形態3における録音装置の構成を示すブロック図The block diagram which shows the structure of the recording device in Embodiment 3 of this invention. 本発明の実施の形態3における録音装置の録音動作時のシステムコントローラの動作を示すフローチャートThe flowchart which shows operation | movement of the system controller at the time of the recording operation of the recording device in Embodiment 3 of this invention. 本発明の実施の形態3における録音装置のシステムコントローラによる曲切替えファイル操作の動作を示すフローチャートThe flowchart which shows the operation | movement of the music switching file operation by the system controller of the recording device in Embodiment 3 of this invention. 従来の技術における録音装置の録音動作時のシステムコントローラの動作を示すフローチャートThe flowchart which shows the operation | movement of the system controller at the time of the recording operation of the recording device in a prior art 従来の技術における録音装置のシステムコントローラによる曲切替えファイル操作の動作を示すフローチャートThe flowchart which shows the operation | movement of the music switching file operation by the system controller of the recording device in a prior art

符号の説明Explanation of symbols

1 音楽データ出力装置
2 データ制御部
3 音楽データ記憶部
4 システムコントローラ
5 記録媒体インターフェース
6 記録媒体
7 曲切替えファイル操作要求退避部
DESCRIPTION OF SYMBOLS 1 Music data output device 2 Data control part 3 Music data storage part 4 System controller 5 Recording medium interface 6 Recording medium 7 Song switching file operation request saving part

Claims (8)

連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体に曲ごとにファイル形式で記録する録音制御方法であって、
曲の切替えが発生したときに、音楽データ記憶部に蓄積されている前曲の最終データを前記記録媒体に書き込み、次いで前記音楽データ記憶部に蓄積されている次曲の先頭データを前記記録媒体に書き込み、さらにその後に曲切替えファイル操作を実行することを特徴とする録音制御方法。
A recording control method for recording continuously input music data in a file format for each song on a recording medium formatted with a file system,
When song switching occurs, the last data of the previous song stored in the music data storage unit is written to the recording medium, and then the first data of the next song stored in the music data storage unit is written to the recording medium A recording control method, wherein a song switching file operation is executed after the writing.
前記曲切替えファイル操作は、
前記記録媒体に記録された前曲データファイルの生成を終了する前曲ファイルクローズ処理と、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理とを含み、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理は、前記前曲の最終データの前記記録媒体への書き込みと前記次曲の先頭データの前記記録媒体への書き込みとの間に実行する請求項1に記載の録音制御方法。
The song switching file operation is
A previous song file closing process for ending generation of a previous song data file recorded on the recording medium;
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Including the previous song information writing process for writing the song information of the previous song to the file,
The next song file open process for generating the next song file on the recording medium is executed between the writing of the last data of the previous song to the recording medium and the writing of the first data of the next song to the recording medium. The recording control method according to claim 1.
前記曲切替えファイル操作は、
前記記録媒体に記録された前曲データファイルの生成を終了する前曲ファイルクローズ処理と、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理とを含み、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理は、前記曲の切替え発生以前の空き時間に実行する請求項1に記載の録音制御方法。
The song switching file operation is
A previous song file closing process for ending generation of a previous song data file recorded on the recording medium;
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Including the previous song information writing process for writing the song information of the previous song to the file,
The recording control method according to claim 1, wherein the next song file opening process for generating the next song file on the recording medium is executed in an idle time before the switching of the song.
さらに、前記前曲鍵情報書き込み処理を前記曲の切替え発生以前の空き時間に実行する請求項3に記載の録音制御方法。   4. The recording control method according to claim 3, wherein the previous song key information writing process is executed in a free time before the switching of the song. 前記曲切替えファイル操作は、
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理と、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理とを含み、
前記前曲ファイルクローズ処理は、前記曲の切替え発生以降の空き時間に実行する請求項1に記載の録音制御方法。
The song switching file operation is
A previous song key information writing process for writing key information of the previous song to the authentication area of the recording medium;
Write the previous song information writing process to write the song information of the previous song to the file,
A next song file open process for generating a file of the next song on the recording medium,
The recording control method according to claim 1, wherein the previous song file closing process is executed in an idle time after the switching of the song.
さらに、前記前曲曲情報書き込み処理を前記曲の切替え発生以降の空き時間に実行する請求項5に記載の録音制御方法。   6. The recording control method according to claim 5, wherein the previous song information writing process is executed in an idle time after occurrence of switching of the songs. 書き込み要求を通知されてから、前記音楽データ記憶部に蓄積されている音楽データを前記記録媒体に書き込み開始するまでの遅延時間が所定の時間以上になったときのみ、前記前曲ファイルクローズ処理を前記曲の切替え発生以降の空き時間に実行する請求項5に記載の録音制御方法。   The previous song file closing process is performed only when a delay time from the notification of the write request to the start of writing of the music data stored in the music data storage unit to the recording medium exceeds a predetermined time. The recording control method according to claim 5, wherein the recording control method is executed in an idle time after occurrence of switching of the music. 書き込み要求を通知されてから、前記音楽データ記憶部に蓄積されている音楽データを前記記録媒体に書き込み開始するまでの遅延時間が所定の時間以上になったときのみ、前記前曲曲情報書き込み処理を前記曲の切替え発生以降の空き時間に実行する請求項6に記載の録音制御方法。   The previous song information writing process is performed only when a delay time from when the writing request is notified to when the music data stored in the music data storage unit starts to be written to the recording medium becomes a predetermined time or more. 7. The recording control method according to claim 6, wherein the recording control method is executed in an idle time after the switching of the music.
JP2005142439A 2005-05-16 2005-05-16 Recording control method Expired - Fee Related JP4420854B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2005142439A JP4420854B2 (en) 2005-05-16 2005-05-16 Recording control method
CN200610078538XA CN1866375B (en) 2005-05-16 2006-05-10 Recording control method
US11/431,582 US20060254408A1 (en) 2005-05-16 2006-05-11 Recording control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005142439A JP4420854B2 (en) 2005-05-16 2005-05-16 Recording control method

Publications (2)

Publication Number Publication Date
JP2006318602A true JP2006318602A (en) 2006-11-24
JP4420854B2 JP4420854B2 (en) 2010-02-24

Family

ID=37417819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005142439A Expired - Fee Related JP4420854B2 (en) 2005-05-16 2005-05-16 Recording control method

Country Status (3)

Country Link
US (1) US20060254408A1 (en)
JP (1) JP4420854B2 (en)
CN (1) CN1866375B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680541B (en) * 2012-09-19 2017-03-08 上海博泰悦臻电子设备制造有限公司 The music store method of mobile unit and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW462038B (en) * 1998-09-18 2001-11-01 Sony Corp Reproduction method and reproduction apparatus
US6791907B2 (en) * 1999-04-22 2004-09-14 Roxio, Inc. Automobile audio system for collection, management and playback of audio data
US6487145B1 (en) * 1999-04-22 2002-11-26 Roxio, Inc. Method and system for audio data collection and management
US6901038B2 (en) * 2000-06-02 2005-05-31 Samsung Electronics Co., Ltd. Audio recording medium, methods of recording data on and reproducing data from the recording medium, and recording and reproducing apparatuses therefor

Also Published As

Publication number Publication date
US20060254408A1 (en) 2006-11-16
JP4420854B2 (en) 2010-02-24
CN1866375A (en) 2006-11-22
CN1866375B (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN100505065C (en) Data processing circuit, data processing apparatus, data processing method, data processing control method
JP7201033B2 (en) SOUND DATA PROCESSING DEVICE, SOUND DATA PROCESSING METHOD AND PROGRAM
KR100702908B1 (en) Recording and reproducing apparatus
JP2003006992A (en) Information reproducing method and information reproducing device
KR20010069858A (en) System and method for playing multimedia file
AU2003208806A1 (en) Device and method for controlling playback devices for digital information, especially music information
JP2008052817A (en) Recording and reproducing device and companion system
JP2005044409A (en) Information reproducing device, information reproducing method, and information reproducing program
JP4420854B2 (en) Recording control method
JP2000195144A (en) Device and method for driving recording medium, system and method for information recording and reproducing and providing medium
JP2004093729A (en) Recording device and reproducing device for music data
JPH11149706A (en) Recording reproducer and recording reproduction method
WO2010007727A1 (en) Video recording device, video reproduction device, and method thereof
JP2008199077A (en) Video recording/reproducing method and device
JP2005228421A (en) Digital information recording/reproducing apparatus
JP2002304803A5 (en)
JP4610302B2 (en) Recording / playback device
JP4021756B2 (en) Compressed audio data recording apparatus and compressed audio data recording method
JP4610301B2 (en) Recording / playback device
JP2005216382A (en) Digital audio signal recording/reproducing device
JP2004265537A (en) Recording device, recording method, program, and recording medium
JP4321427B2 (en) Recording / reproducing apparatus and editing method
JP2000100087A (en) Information reproducing device, information reproducing method, information recorder and information recording method
JP2004326922A5 (en)
JP4325781B2 (en) Crypto device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091016

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091104

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: 20091201

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

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees