JP2006318602A - Recording control method - Google Patents
Recording control method Download PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; 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/32—Indexing; 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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00086—Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
- G11B20/0021—Circuits 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/00217—Circuits 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/00253—Circuits 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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/00086—Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
- G11B20/0021—Circuits 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/00485—Circuits 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/00492—Circuits 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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
- G11B2020/10546—Audio or video recording specifically adapted for audio data
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/1062—Data buffering arrangements, e.g. recording or playback buffers
- G11B2020/10629—Data buffering arrangements, e.g. recording or playback buffers the buffer having a specific structure
- G11B2020/10666—Ring 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
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
- G11B2220/25—Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
- G11B2220/2537—Optical 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
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,
データ制御部2は、録音動作を行うに際して、音楽データ出力装置1から連続的に入力される音楽データをエンコードまたは暗号化した後、一定サイズごとに音楽データ記憶部3に蓄積する。音楽データ記憶部3は複数のバッファ#1,#2,#3に分けられており、データ制御部2が書き込む順番を切替えていく。音楽データ記憶部3の残量が無くなると、システムコントローラ4は音楽データ記憶部3の音楽データを読み出し、記録媒体インターフェース5を介して記録媒体6に音楽データを書き込む。このようにして、連続的な入力に対して録音を実現する。
When performing a recording operation, the
以下に、図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
この曲切替えファイル操作は、図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
以上の録音動作を繰り返し行うことで、連続的に入力される音楽データに対して、曲毎にファイルとして録音する機能を実現する。 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
そこで、処理落ちによる音楽データの欠落が発生する前に、入力データ量を減らし、あるいは一時的に入力を止めることにより、録音失敗を回避する工夫が提案されている(例えば、特許文献1参照)。
従来の技術においては、録音の高倍速化・高音質化等に伴って一定時間の入力データ量が増加すると、ステップ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
本発明による録音制御方法は、連続的に入力される音楽データをファイルシステムでフォーマットされた記録媒体に曲ごとにファイル形式で記録する録音制御方法であって、曲の切替えが発生したときに、音楽データ記憶部に蓄積されている前曲の最終データを前記記録媒体に書き込み、次いで前記音楽データ記憶部に蓄積されている次曲の先頭データを前記記録媒体に書き込み、さらにその後に曲切替えファイル操作を実行することを特徴とするものである。 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
まず、録音動作時のデータ制御部2の処理手順を図2に示すフローチャートに基づいて説明する。
First, the processing procedure of the
ステップS1において、データ制御部2は、音楽データ出力装置1から音楽データが入力されると、録音を開始するために、ステップS2に進む。
ステップS2において、入力されてくる音楽データに対して一定サイズ毎に録音処理(エンコードおよび暗号化)を行い、次いでステップS3において、暗号化データを音楽データ記憶部3のバッファに蓄積していく。そしてステップS4において、バッファの残量が無くなったかを監視し、バッファの残量が無くなると、システムコントローラ4に対してバッファの音楽データの記録媒体6への書き込み要求を送信する。次いでステップS6において、書き込みバッファの更新(繰り替え)を行う。
In step S1, when the music data is input from the music
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
より具体的には、第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
以上の処理を音楽データが入力されている間、繰り返し実行する。 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
一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップ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
このステップ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
以上のように本実施の形態の録音制御方法によれば、システムコントローラ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
(実施の形態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
本実施の形態の録音動作時のシステムコントローラ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
一方、データ制御部2から書き込み要求があったときは、ステップS35に進んで、曲の切替わりが発生しているかどうかを判断する。曲の切替わりが発生していなければ、ステップS36に進んで、指定されたバッファの音楽データ全てを記録媒体6に対して書き込む。完了後、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS32)。
On the other hand, when there is a write request from the
一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップ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
このステップ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
これにより、例えば高倍速化や高音質化に伴う一定時間内の入力データ量の増加に起因して、システムコントローラの処理落ちが発生する確率を低くすることができる。 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
本実施の形態における録音装置において、データ制御部2の処理は、実施の形態1の図2と同様であるため、説明は省略する。
In the recording apparatus according to the present embodiment, the processing of the
本実施の形態の録音動作時のシステムコントローラ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
一方、データ制御部2から書き込み要求があったときは、ステップS56に進んで、曲の切替わりが発生しているかどうかを判断する。曲の切替わりが発生していなければ、ステップS57に進んで、指定されたバッファの音楽データ全てを記録媒体6に対して書き込む。完了後、再びデータ制御部2からの書き込み要求の待ち状態になる(ステップS52)。
On the other hand, when there is a write request from the
一方、曲の切替わりが発生していれば、バッファ内には前曲の最終データと次曲の先頭データが格納されていることになる。このときは、ステップ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
このステップ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
次いでステップ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
これにより、例えば高倍速化や高音質化に伴う一定時間内の入力データ量の増加に起因して、システムコントローラの処理落ちが発生する確率を低くすることができる。 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
なお、本実施の形態では、曲切替えファイル操作(図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 音楽データ出力装置
2 データ制御部
3 音楽データ記憶部
4 システムコントローラ
5 記録媒体インターフェース
6 記録媒体
7 曲切替えファイル操作要求退避部
DESCRIPTION OF
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.
前記記録媒体の認証領域に対して前曲の鍵情報を書き込む前曲鍵情報書き込み処理と、
前曲の曲情報をファイルに書き込む前曲曲情報書き込み処理と、
前記記録媒体に次曲のファイルを生成する次曲ファイルオープン処理とを含み、
前記前曲ファイルクローズ処理は、前記曲の切替え発生以降の空き時間に実行する請求項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.
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)
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)
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 |
-
2005
- 2005-05-16 JP JP2005142439A patent/JP4420854B2/en not_active Expired - Fee Related
-
2006
- 2006-05-10 CN CN200610078538XA patent/CN1866375B/en not_active Expired - Fee Related
- 2006-05-11 US US11/431,582 patent/US20060254408A1/en not_active Abandoned
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 |