JP2007079063A - Data processing apparatus, data processing method and data processing control program - Google Patents

Data processing apparatus, data processing method and data processing control program Download PDF

Info

Publication number
JP2007079063A
JP2007079063A JP2005266101A JP2005266101A JP2007079063A JP 2007079063 A JP2007079063 A JP 2007079063A JP 2005266101 A JP2005266101 A JP 2005266101A JP 2005266101 A JP2005266101 A JP 2005266101A JP 2007079063 A JP2007079063 A JP 2007079063A
Authority
JP
Japan
Prior art keywords
data
processing
data processing
unit
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
JP2005266101A
Other languages
Japanese (ja)
Other versions
JP4770348B2 (en
Inventor
Daisuke Takeda
大輔 武田
Takashi Koike
隆 小池
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2005266101A priority Critical patent/JP4770348B2/en
Publication of JP2007079063A publication Critical patent/JP2007079063A/en
Application granted granted Critical
Publication of JP4770348B2 publication Critical patent/JP4770348B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processing apparatus in which a processing load of a main control section is reduced. <P>SOLUTION: A control section 52 detects a terminal processing executing instruction and an input data size for first data PD inputted to a data processing section 53 and calculates an output data size corresponding to said input data size. When the first data inputted to the data processing section 53 reach the input data size in a case where the terminal processing executing instruction is detected, all processing data in the data processing section 53 are processed and outputted but in a case where the terminal processing executing instruction is not detected, the data processing section 53 is operated until output data reach the output data size. Thus, only by notifying whether the execution of terminal processing is instructed and the input data size from a main control section, terminal processing can be executed in accordance with whether the execution of terminal processing is instructed or not, and a processing load of the main control section can be reduced. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はデータ処理装置、データ処理方法及びデータ処理制御プログラムに関し、例えば音楽コンテンツを記録再生するコンテンツ記録再生装置に適用して好適なものである。   The present invention relates to a data processing device, a data processing method, and a data processing control program, and is suitably applied to, for example, a content recording / playback device that records and plays back music content.

従来のパーソナルコンピュータは、複数の音楽データを連続して所定の圧縮伸長フォーマット(以下、これをコーデックフォーマットと呼ぶ)で圧縮符号化処理(以下、これをエンコード処理と呼ぶ)する場合、各音楽データをそれぞれ所定サンプルからなる直交変換ブロックに分割する。そしてパーソナルコンピュータは、音楽データの最後に位置する直交変換ブロックの後端の位置と、当該音楽データの最後の位置とが一致しないとき、その音楽データの最後に位置する直交変換ブロックに格納すべきサンプルを、次の音楽データの先頭の直交変換ブロックの最初に格納する。またパーソナルコンピュータは、最後尾の音楽データについては、最後に位置する直交変換ブロックの後端の位置と、当該音楽データの最後の位置とが一致しないとき、その直交変換ブロックに対し、かかる音楽データのサンプルに続いて「0」であるデータを格納する。この状態でパーソナルコンピュータは、これら複数の音楽データを順次1個の直交変ブロックと次の1個の直交変換ブロックとの2個毎にエンコード処理することにより、連続する複数の符号化データを生成していた。   When a conventional personal computer compresses and encodes a plurality of music data in a predetermined compression / decompression format (hereinafter referred to as a codec format) (hereinafter referred to as an encoding process), each music data Are divided into orthogonal transform blocks each consisting of predetermined samples. When the position of the rear end of the orthogonal transformation block located at the end of the music data does not match the last position of the music data, the personal computer should store the data in the orthogonal transformation block located at the end of the music data. The sample is stored at the beginning of the first orthogonal transform block of the next music data. Further, the personal computer, for the last music data, when the position of the rear end of the orthogonal transform block located at the end does not match the last position of the music data, Following this sample, data of “0” is stored. In this state, the personal computer sequentially encodes each of the plurality of music data into two pieces of one orthogonal transformation block and the next one orthogonal transformation block, thereby generating a plurality of continuous encoded data. Was.

またパーソナルコンピュータは、上述したエンコード処理により生成した連続する複数の符号化データを伸長復号処理(以下、これをデコード処理と呼ぶ)する場合、これら複数の符号化データを順次1個ずつデコード処理することにより、所定サンプルからなる複数の直交変換ブロックを生成する。そしてパーソナルコンピュータは、これら複数の直交変換ブロックの所定部分同士を加算するようにして元の直交変換ブロックを生成していた(例えば、特許文献1参照)。
特開2001−175293公報(第7頁、第8頁、第9頁、図12、図16)
In addition, when a personal computer performs decompression decoding processing (hereinafter referred to as decoding processing) on a plurality of continuous encoded data generated by the above-described encoding processing, the plurality of encoded data are sequentially decoded one by one. As a result, a plurality of orthogonal transform blocks including predetermined samples are generated. The personal computer generates the original orthogonal transform block by adding predetermined portions of the plurality of orthogonal transform blocks (see, for example, Patent Document 1).
JP 2001-175293 A (page 7, page 8, page 9, FIG. 12, FIG. 16)

ところでかかる構成のパーソナルコンピュータは、主制御部(すなわち、中央処理装置)が圧縮符号化プログラム(以下、これをエンコードプログラムと呼ぶ)や伸長復号プログラム(以下、これをデコードプログラムと呼ぶ)に従って、音楽データや符号化データのような処理対象データを上述したエンコード処理やデコード処理のようにデータ処理している。またパーソナルコンピュータは、主制御部が、例えばコーデックフォーマットに準じて処理対象データを直交変換ブロックのような所定データ単位毎にデータ処理している。   By the way, in the personal computer having such a configuration, the main control unit (that is, the central processing unit) performs music according to a compression encoding program (hereinafter referred to as an encoding program) or an expansion decoding program (hereinafter referred to as a decoding program). Data to be processed such as data and encoded data is processed like the above-described encoding and decoding processes. In the personal computer, the main control unit processes data to be processed for each predetermined data unit such as an orthogonal transform block in accordance with, for example, a codec format.

ところがパーソナルコンピュータは、主制御部が、処理対象データを所定データ単位毎にデータ処理し得るようにするために、当該処理対象データのデータサイズを検出すると共に、処理対象データが連続するか否かも検出したうえで、前後の処理対象データを接続し、また最後尾の処理対象データの後に例えば「0」でなるデータを追加するようにして、処理対象データを終端まで的確にデータ処理させるための終端処理を実行していた。このため、かかるパーソナルコンピュータでは、処理対象データをデータ処理する場合、主制御部の処理負荷が増大しているという問題があった。   However, the personal computer detects the data size of the processing target data and whether the processing target data is continuous so that the main control unit can process the processing target data for each predetermined data unit. In order to accurately process the processing target data until the end by connecting the processing target data before and after the detection, and adding, for example, “0” after the last processing target data. The termination process was executed. For this reason, such a personal computer has a problem that the processing load of the main control unit is increased when data to be processed is processed.

本発明は以上の点を考慮してなされたもので、主制御部の処理負荷を低減し得るデータ処理装置、データ処理方法及びデータ処理制御プログラムを提案しようとするものである。   The present invention has been made in view of the above points, and an object of the present invention is to propose a data processing device, a data processing method, and a data processing control program that can reduce the processing load of the main control unit.

かかる課題を解決するため本発明においては、入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部を制御する制御部が、当該データ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出し、当該検出した入力データサイズに応じた出力データサイズを算出し、終端処理の実行指示が検出されているときは、データ処理部に入力される第1のデータのデータサイズが入力データサイズに到達すると、データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、当該終端処理の実行指示が検出されていないときは、データ処理部から出力される出力データのデータサイズが出力データサイズに達するまでデータ処理部を動作させるように当該データ処理部を制御するようにした。   In order to solve such a problem, in the present invention, a decoding unit that decodes input encoded data and outputs the obtained decoded data, encodes the input data, and converts the obtained encoded data to The control unit that controls the data processing unit having at least one of the encoding unit to output, the execution instruction of the termination process for the first data input to the data processing unit, and the first data The input data size is detected, the output data size corresponding to the detected input data size is calculated, and when the termination processing execution instruction is detected, the data size of the first data input to the data processing unit When the input data size reaches the input data size, the data processing unit is controlled to process and output all the processing data in the data processing unit, and the execution instruction of the termination processing is detected. If not, and to control the data processing unit to operate the data processing unit to the data size of the output data outputted from the data processing unit reaches the output data size.

従って本発明では、データ処理装置の制御元である主制御部から、当該データ処理装置の制御部に対し第1のデータに対する終端処理の実行指示の有無と、当該第1のデータの入力データサイズとを通知するだけで、当該制御部がデータ処理部を制御して第1のデータに対し終端処理の実行指示の有無にそれぞれ応じた終端処理を実行することができる。   Therefore, in the present invention, from the main control unit that is the control source of the data processing device, the control unit of the data processing device is instructed to execute termination processing for the first data, and the input data size of the first data , The control unit can control the data processing unit to execute termination processing corresponding to the presence / absence of termination processing execution instruction for the first data.

本発明によれば、入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部を制御する制御部が、当該データ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出し、当該検出した入力データサイズに応じた出力データサイズを算出し、終端処理の実行指示が検出されているときは、データ処理部に入力される第1のデータのデータサイズが入力データサイズに到達すると、データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、当該終端処理の実行指示が検出されていないときは、データ処理部から出力される出力データのデータサイズが出力データサイズに達するまでデータ処理部を動作させるように当該データ処理部を制御するようにしたことにより、データ処理装置の制御元である主制御部から、当該データ処理装置の制御部に対し第1のデータに対する終端処理の実行指示の有無と、当該第1のデータの入力データサイズとを通知するだけで、当該制御部がデータ処理部を制御して第1のデータに対し終端処理の実行指示の有無にそれぞれ応じた終端処理を実行することができ、かくして主制御部の処理負荷を低減し得るデータ処理装置、データ処理方法及びデータ処理制御プログラムを実現することができる。   According to the present invention, a decoding unit that decodes input encoded data and outputs the obtained decoded data, and an encoding unit that encodes input data and outputs the obtained encoded data The control unit that controls the data processing unit having at least one of and detects the termination processing execution instruction for the first data input to the data processing unit and the input data size of the first data Then, the output data size corresponding to the detected input data size is calculated, and when the termination processing execution instruction is detected, the data size of the first data input to the data processing unit is set to the input data size. When the data processing unit arrives, it controls the data processing unit to process and output all the processing data in the data processing unit, and when the execution instruction for the termination processing is not detected, By controlling the data processing unit to operate the data processing unit until the data size of the output data output from the processing unit reaches the output data size, the main control unit that is the control source of the data processing device From this, the control unit controls the data processing unit only by notifying the control unit of the data processing device of the presence / absence of the execution instruction of the termination processing for the first data and the input data size of the first data. Thus, a data processing device, a data processing method, and data processing control capable of executing termination processing corresponding to the presence / absence of termination processing execution instructions for the first data, thus reducing the processing load on the main control unit. A program can be realized.

以下図面について、本発明の一実施の形態を詳述する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

(1)実施の形態の概要
図1において、100は全体として本発明によるデータ処理装置を示す。かかるデータ処理装置100においてデータ処理部101は、入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有している。またデータ処理装置100において制御部102は、データ処理部101を制御する。
(1) Outline of Embodiment In FIG. 1, reference numeral 100 denotes a data processing apparatus according to the present invention as a whole. In such a data processing device 100, the data processing unit 101 decodes input encoded data, outputs a decoding processing data obtained, encodes the input data, and obtains the encoded processing data obtained At least one of the encoding units that output. In the data processing apparatus 100, the control unit 102 controls the data processing unit 101.

この場合、制御部102は、検出部103と、算出部104と、データ処理制御部105とから構成されている。そして検出部103は、データ処理部101に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出する。また算出部104は、検出部103により検出された入力データサイズに応じた出力データサイズを算出する。さらにデータ処理制御部105は、検出部103により終端処理の実行指示が検出されているときは、データ処理部101に入力される第1のデータのデータサイズが入力データサイズに到達すると、データ処理部101内の処理データを全て処理して出力させるように当該データ処理部101を制御する。またデータ処理制御部105は、検出部103により終端処理の実行指示が検出されていないときは、データ処理部101から出力される出力データのデータサイズが出力データサイズに達するまでデータ処理部101を動作させるように当該データ処理部101を制御する。   In this case, the control unit 102 includes a detection unit 103, a calculation unit 104, and a data processing control unit 105. Then, the detection unit 103 detects a termination processing execution instruction for the first data input to the data processing unit 101 and an input data size of the first data. The calculation unit 104 also calculates an output data size corresponding to the input data size detected by the detection unit 103. Further, the data processing control unit 105 performs data processing when the data size of the first data input to the data processing unit 101 reaches the input data size when the detection unit 103 detects the execution instruction of the termination processing. The data processing unit 101 is controlled so that all the processing data in the unit 101 is processed and output. In addition, when the detection unit 103 has not detected the termination processing execution instruction, the data processing control unit 105 causes the data processing unit 101 to continue until the data size of the output data output from the data processing unit 101 reaches the output data size. The data processing unit 101 is controlled to operate.

実際上、データ処理制御部105は、検出部103により終端処理の実行指示が検出されていないときは、データ処理部101に入力される第1のデータのデータサイズが入力データサイズに到達すると、当該第1のデータに続く第2のデータをデータ処理部101に対して入力するように当該データ処理部101を制御する。またデータ処理制御部105は、検出部103により終端処理の実行指示が検出されていないときには、データ処理部101に入力される第1のデータのデータサイズが入力データサイズに到達したとき、第2のデータの入力がないことを検出すると、データ処理部101内の処理データを全て処理して出力させるように当該データ処理部101を制御する。さらにデータ処理制御部105は、検出部103により終端処理の実行指示が検出されていないときには、第1のデータに続いて入力される第2のデータに対する符号化方式が当該第1のデータに対する符号化方式とは異なることを検出すると、データ処理部101内の処理データを全て処理して出力させるように当該データ処理部101を制御する。   Actually, the data processing control unit 105, when the execution instruction of the termination process is not detected by the detection unit 103, when the data size of the first data input to the data processing unit 101 reaches the input data size, The data processing unit 101 is controlled so that second data subsequent to the first data is input to the data processing unit 101. In addition, when the detection unit 103 has not detected the termination processing execution instruction, the data processing control unit 105 performs the second processing when the data size of the first data input to the data processing unit 101 reaches the input data size. When it is detected that there is no data input, the data processing unit 101 is controlled so that all the processing data in the data processing unit 101 is processed and output. Further, the data processing control unit 105, when the detection unit 103 has not detected the termination processing execution instruction, determines that the encoding method for the second data input following the first data is the code for the first data. When it is detected that the processing method is different from the data conversion method, the data processing unit 101 is controlled so that all the processing data in the data processing unit 101 is processed and output.

(2)実施の形態
図2において、1は全体として音楽コンテンツを記録再生するコンテンツ記録再生装置の機能的な構成を示し、制御部2が、記憶部3から読み出した各種プログラムを一時記憶部4に展開して実行することにより全体を統括制御すると共に、各種処理を行うようになされている。
(2) Embodiment In FIG. 2, reference numeral 1 denotes a functional configuration of a content recording / playback apparatus that records and plays back music content as a whole, and the control unit 2 stores various programs read from the storage unit 3 as a temporary storage unit 4. The system is integrated and controlled by executing and executing various processes.

すなわち制御部2は、操作部5を介して、例えばネットワークNT上のコンテンツ配信サーバ(図示せず)から配信される音楽コンテンツの取得操作がユーザにより行われたことを認識すると、これに応じて、音楽コンテンツの配信を要求する要求信号を、通信部6を介してネットワークNT上のコンテンツ配信サーバに送信する。   That is, when the control unit 2 recognizes that an operation for obtaining music content distributed from a content distribution server (not shown) on the network NT is performed by the user via the operation unit 5, for example, Then, a request signal for requesting distribution of the music content is transmitted to the content distribution server on the network NT via the communication unit 6.

コンテンツ配信サーバは、コンテンツ記録再生装置1から要求信号を受信すると、これに応じて、要求された音楽コンテンツの配信に伴う対価をコンテンツ記録再生装置1のユーザに対して課金するための課金処理を実行すると共に、要求された音楽コンテンツに対応する暗号化された音楽データ(以下、これを暗号化音楽データと呼ぶ)と、この音楽コンテンツを利用する権利がある旨を示す権利情報とを、ネットワークNTを介して、コンテンツ記録再生装置1に送信する。因みに、この場合の権利情報には、例えば、暗号化音楽データを復号する復号鍵の元となるデータ(いわゆる復号鍵の種)、音楽コンテンツの再生可能回数や転送可能回数等を示すコンテンツ利用条件、及び実際に音楽コンテンツが再生された回数や転送された回数等を示すコンテンツ利用状態等が記されている。   When the content distribution server receives the request signal from the content recording / playback apparatus 1, in response to this, the content distribution server performs a billing process for charging the user of the content recording / playback apparatus 1 for the fee associated with the distribution of the requested music content. Encrypted music data corresponding to the requested music content (hereinafter referred to as encrypted music data) and right information indicating that there is a right to use the music content The content is transmitted to the content recording / playback apparatus 1 via NT. Incidentally, in this case, the right information includes, for example, data that is a source of a decryption key for decrypting encrypted music data (so-called decryption key seed), a content usage condition that indicates the number of times that music content can be played, the number of times that transfer is possible, and the like. In addition, the content usage state and the like indicating the number of times the music content has been actually reproduced and the number of times the music content has been transferred are described.

コンテンツ記録再生装置1の制御部2は、コンテンツ配信サーバから送信される暗号化音楽データとその権利情報とを、通信部6を介して受信すると、これらを内蔵記録媒体駆動部7で駆動制御される内蔵記録媒体8に記録する。   When the control unit 2 of the content recording / playback apparatus 1 receives the encrypted music data and the right information transmitted from the content distribution server via the communication unit 6, these are controlled by the built-in recording medium driving unit 7. To the built-in recording medium 8.

このようにコンテンツ記録再生装置1は、ネットワークNT上のコンテンツ配信サーバから音楽コンテンツを取得(ダウンロード)して、この音楽コンテンツを内蔵記録媒体8に記録し得るようになされている。   In this way, the content recording / playback apparatus 1 can acquire (download) music content from a content distribution server on the network NT and record the music content on the internal recording medium 8.

その後、制御部2は、操作部5を介して、内蔵記録媒体8に記録した音楽コンテンツに対する再生指示がユーザにより行われたことを認識すると、これに応じて、この音楽コンテンツに対応する暗号化音楽データとその権利情報とを内蔵記録媒体8から読み出し、権利情報を権利処理部9に送ると共に、暗号化音楽データを音楽処理部10に送る。   After that, when the control unit 2 recognizes that the user has given an instruction to reproduce the music content recorded on the internal recording medium 8 via the operation unit 5, the control unit 2 encrypts corresponding to the music content accordingly. The music data and its right information are read from the built-in recording medium 8, the right information is sent to the right processing unit 9, and the encrypted music data is sent to the music processing unit 10.

権利処理部9は、内蔵記録媒体8から送られてきた権利情報が正当なものであるか否かを確認し、正当なものであることが確認できると、この権利情報に対応する暗号化音楽データの利用(この場合再生)を許可する。そして権利処理部9は、この権利情報に基づいて暗号化音楽データの復号鍵を生成し、この復号鍵を音楽処理部10に渡す。ここで、権利処理部9と音楽処理部10とは専用経路で接続され、この専用経路を介して復号鍵の受け渡しを行うことで、この復号鍵が外部から不正に取得されるのを防止し得るようになされている。   The right processing unit 9 confirms whether the right information sent from the built-in recording medium 8 is legitimate. If the right processing section 9 can confirm that the right information is legitimate, the encrypted music corresponding to the right information is obtained. Allow data usage (playback in this case). The right processing unit 9 generates a decryption key for the encrypted music data based on the right information, and passes this decryption key to the music processing unit 10. Here, the right processing unit 9 and the music processing unit 10 are connected by a dedicated path, and the decryption key is transferred via this dedicated path, thereby preventing the decryption key from being illegally acquired from the outside. Has been made to get.

音楽処理部10は、内蔵記録媒体8から送られてきた暗号化音楽データを、権利処理部9から渡された復号鍵で復号することにより音楽データを得、さらにこの音楽データに対して伸長復号処理(以下、これをデコード処理と呼ぶ)、デジタルアナログ変換処理及び増幅処理等を順次行うことにより音楽信号を得、この音楽信号を外部の音楽出力部11に送出して、この音楽出力部11から音楽信号に基づく音楽を出力させる。   The music processing unit 10 obtains music data by decrypting the encrypted music data sent from the internal recording medium 8 with the decryption key passed from the right processing unit 9, and further decompresses and decrypts the music data. A music signal is obtained by sequentially performing processing (hereinafter referred to as “decoding processing”), digital-analog conversion processing, amplification processing, and the like, and this music signal is sent to an external music output unit 11. To output music based on the music signal.

このようにコンテンツ記録再生装置1は、内蔵記録媒体8に記録した音楽コンテンツを再生し得るようになされている。   As described above, the content recording / playback apparatus 1 can play back the music content recorded in the internal recording medium 8.

またコンテンツ記録再生装置1の制御部2は、ユーザによる操作部5の操作に応じて、外部記録媒体駆動部12で駆動制御される外部記録媒体13に記録された圧縮符号化処理(以下、これをエンコード処理と呼ぶ)されている音楽データ(以下、これを符号化音楽データと呼ぶ)を読み出し、この読み出した符号化音楽データに対して音楽処理部10でデコード処理、デジタルアナログ変換処理及び増幅処理等を順次行うことにより音楽信号を得、この音楽信号に基づく音楽を音楽出力部11から出力させる。   In addition, the control unit 2 of the content recording / playback apparatus 1 performs compression encoding processing (hereinafter referred to as “this”) recorded in the external recording medium 13 that is driven and controlled by the external recording medium driving unit 12 according to the operation of the operation unit 5 by the user. Is called music processing (hereinafter referred to as encoded music data), and the music processing unit 10 performs decoding processing, digital analog conversion processing and amplification on the read encoded music data. A music signal is obtained by sequentially performing processing and the like, and music based on the music signal is output from the music output unit 11.

さらに制御部2は、ユーザによる操作部5の操作に応じて、インタフェース部14を介して接続される外部機器15に記録された符号化音楽データを読み出し、この読み出した符号化音楽データに対して音楽処理部10でデコード処理、デジタルアナログ変換処理及び増幅処理等を順次行うことにより音楽信号を得、この音楽信号に基づく音楽を音楽出力部11から出力させる。   Further, the control unit 2 reads out the encoded music data recorded in the external device 15 connected via the interface unit 14 in accordance with the operation of the operation unit 5 by the user, and with respect to the read out encoded music data The music processing unit 10 sequentially performs decoding processing, digital-analog conversion processing, amplification processing, and the like to obtain a music signal, and music based on the music signal is output from the music output unit 11.

さらに制御部2は、ユーザによる操作部5の操作に応じて、外部の音楽入力部16から音楽処理部10に入力される音楽信号に対して音楽処理部10でアナログデジタル変換処理、イコライジング処理、デジタルアナログ変換処理及び増幅処理等を順次行うことにより音楽信号を得、この音楽信号に基づく音楽を音楽出力部11から出力させる。このようにコンテンツ記録再生装置1は、外部記録媒体13や外部機器15に記録された音楽コンテンツや、音楽入力部16から入力される音楽コンテンツを再生し得るようにもなされている。   Further, the control unit 2 performs an analog-digital conversion process, an equalizing process on the music signal input to the music processing unit 10 from the external music input unit 16 according to the operation of the operation unit 5 by the user. A music signal is obtained by sequentially performing digital-analog conversion processing, amplification processing, and the like, and music based on the music signal is output from the music output unit 11. As described above, the content recording / playback apparatus 1 can play back music content recorded on the external recording medium 13 or the external device 15 or music content input from the music input unit 16.

また制御部2は、ユーザによる操作部5の操作に応じて、外部の音楽入力部16から音楽処理部10に入力される音楽信号に対して音楽処理部10でアナログデジタル変換処理した後、音楽処理部10でエンコード処理し、その結果得られた符号化音楽データを内蔵記録媒体駆動部7により内蔵記録媒体8に記録する。このようにコンテンツ記録再生装置1は、音楽入力部16から入力される音楽コンテンツを録音し得るようにもなされている。因みに、外部記録媒体13や外部機器15に記録された音楽コンテンツが、上述したコンテンツ配信サーバから取得した音楽コンテンツのように、権利情報と対応付けられた暗号化音楽データである場合は、この音楽コンテンツを、コンテンツ配信サーバから取得して内蔵記録媒体8に記録した音楽コンテンツと同じように再生すればよい。   In addition, the control unit 2 performs an analog-digital conversion process on the music signal input from the external music input unit 16 to the music processing unit 10 according to the operation of the operation unit 5 by the user, Encoding processing is performed by the processing unit 10, and the encoded music data obtained as a result is recorded on the internal recording medium 8 by the internal recording medium driving unit 7. As described above, the content recording / playback apparatus 1 can record the music content input from the music input unit 16. Incidentally, if the music content recorded on the external recording medium 13 or the external device 15 is encrypted music data associated with the right information, such as the music content acquired from the content distribution server described above, this music The content may be reproduced in the same manner as the music content acquired from the content distribution server and recorded on the internal recording medium 8.

さらに制御部2は、ユーザによる操作部5の操作に応じて、外部記録媒体13や外部機器15に記録された音楽データを読み出し、この読み出した音楽データに対して音楽処理部10でエンコード処理を行うと共に、このとき権利処理部9から与えられる暗号鍵で暗号化することにより暗号化音楽データを得、この暗号化音楽データと、このとき権利処理部9で生成される権利情報とを対応付けて内蔵記録媒体8に記録する。   Further, the control unit 2 reads out music data recorded on the external recording medium 13 or the external device 15 in accordance with the operation of the operation unit 5 by the user, and the music processing unit 10 encodes the read music data. At this time, encrypted music data is obtained by encrypting with the encryption key given from the right processing unit 9, and this encrypted music data is associated with the right information generated by the right processing unit 9 at this time To the internal recording medium 8.

さらに制御部2は、ユーザによる操作部5の操作に応じて、音楽入力部16から音楽処理部10に入力される音楽信号に対して音楽処理部10でアナログデジタル変換処理及びエンコード処理等を順次行うと共に、このとき権利処理部9から与えられる暗号鍵で暗号化することにより暗号化音楽データを得、この暗号化音楽データと、このとき権利処理部9で生成される権利情報とを対応付けて内蔵記録媒体8に記録する。   Further, the control unit 2 sequentially performs analog-digital conversion processing, encoding processing, and the like on the music signal input from the music input unit 16 to the music processing unit 10 in accordance with the operation of the operation unit 5 by the user. At this time, the encrypted music data is obtained by encrypting with the encryption key given from the right processing unit 9, and the encrypted music data is associated with the right information generated by the right processing unit 9 at this time. To the internal recording medium 8.

このようにコンテンツ記録再生装置1は、外部記録媒体13や外部機器15に記録された音楽コンテンツや、音楽入力部16から入力される音楽コンテンツを内蔵記録媒体8に録音し得るようにもなされている。因みに、この録音時に行う音楽データの暗号化、及び権利情報の対応付けのそれぞれについては、必要に応じて(例えばユーザによる操作部5の操作に応じて)行えばよく、例えば、暗号化及び権利情報の対応付けを行うことなく、外部記録媒体13や外部機器15から読み出した符号化音楽データをそのまま内蔵記録媒体8に記録することができるし、音楽入力部16から入力される音楽信号に対して、音楽処理部10でアナログデジタル変換処理及びエンコード処理等を順次行うことにより符号化音楽データを得、この符号化音楽データをそのまま内蔵記録媒体8に記録することもできる。   As described above, the content recording / playback apparatus 1 can record the music content recorded in the external recording medium 13 or the external device 15 or the music content input from the music input unit 16 in the internal recording medium 8. Yes. Incidentally, each of the encryption of music data and the association of right information performed at the time of recording may be performed as necessary (for example, according to the operation of the operation unit 5 by the user). The encoded music data read from the external recording medium 13 or the external device 15 can be recorded as it is in the built-in recording medium 8 without associating information, and the music signal input from the music input unit 16 can be recorded. Then, the music processing unit 10 can sequentially perform analog-digital conversion processing, encoding processing, and the like to obtain encoded music data, and the encoded music data can be directly recorded on the built-in recording medium 8.

さらに制御部2は、ユーザによる操作部5の操作に応じて、内蔵記録媒体8に記録した暗号化音楽データとその権利情報とを読み出し、又は符号化音楽データを読み出し、これらを外部記録媒体13や外部機器15に記録する。このようにコンテンツ記録再生装置1は、内蔵記録媒体8に記録した符号化音楽コンテンツを外部に転送し得るようにもなされている。   Further, the control unit 2 reads out the encrypted music data and its right information recorded in the built-in recording medium 8 or reads out the encoded music data according to the operation of the operation unit 5 by the user, and reads them out to the external recording medium 13. Or to the external device 15. As described above, the content recording / playback apparatus 1 can transfer the encoded music content recorded in the internal recording medium 8 to the outside.

さらに制御部2は、記憶部3から読み出した各種プログラムの実行結果(例えば音楽コンテンツの取得、再生、録音及び転送等)に基づく表示用データを表示処理部17に送る。表示処理部17は、制御部2から送られてくる表示用データに基づく画面を外部の表示部18に表示する。このようにコンテンツ記録再生装置1は、表示部18を介して、音楽コンテンツの取得、再生、録音及び転送等に関する各種画面をユーザに視認させ得るようにもなされている。   Further, the control unit 2 sends display data to the display processing unit 17 based on the execution results of various programs read from the storage unit 3 (for example, acquisition, playback, recording, transfer, etc. of music content). The display processing unit 17 displays a screen based on the display data sent from the control unit 2 on the external display unit 18. In this way, the content recording / playback apparatus 1 is configured to allow the user to visually recognize various screens related to acquisition, playback, recording, and transfer of music content via the display unit 18.

なお、音楽出力部11、外部機器15、音楽入力部16及び表示部18は、コンテンツ記録再生装置1に所定のケーブルを介して外部接続されていてもよいし、コンテンツ記録再生装置1の筐体に直接取り付けられて内部接続されていてもよい。   The music output unit 11, the external device 15, the music input unit 16, and the display unit 18 may be externally connected to the content recording / playback apparatus 1 via a predetermined cable, or the housing of the content recording / playback apparatus 1. It may be directly attached to and connected internally.

次に、図3を用いて、上述したコンテンツ記録再生装置1の構成を具体的なハードウェア構成で実現した場合について説明する。このコンテンツ記録再生装置1は、CPU(Central Processing Unit )20と各ハードウェアとがバス21を介して接続され、CPU20がEEPROM(Electronically Erasable and Programmable Read Only Memory )22から読み出した各種プログラムをRAM(Random Access Memory)23に展開して実行することにより全体を統括制御すると共に、各種処理を行うようになされている。   Next, a case where the configuration of the content recording / playback apparatus 1 described above is realized with a specific hardware configuration will be described with reference to FIG. In this content recording / reproducing apparatus 1, a CPU (Central Processing Unit) 20 and hardware are connected via a bus 21, and various programs read out from an EEPROM (Electronically Erasable and Programmable Read Only Memory) 22 by the CPU 20 are stored in a RAM (RAM). Random Access Memory) 23 is executed and executed to perform overall control and perform various processes.

すなわちCPU20は、コンテンツ記録再生装置1の筐体等に設けられた操作キー24を介して、例えばネットワークNT上のコンテンツ配信サーバ(図示せず)から配信される音楽コンテンツの取得操作がユーザにより行われたことを認識すると、これに応じて、音楽コンテンツの配信を要求する要求信号を、ネットワークインタフェース25を介してネットワークNT上のコンテンツ配信サーバに送信する。   That is, the CPU 20 performs an operation for acquiring music content distributed from, for example, a content distribution server (not shown) on the network NT via the operation key 24 provided on the housing or the like of the content recording / playback apparatus 1. If it is recognized, a request signal for requesting distribution of music content is transmitted to the content distribution server on the network NT via the network interface 25 accordingly.

コンテンツ配信サーバは、コンテンツ記録再生装置1から要求信号を受信すると、これに応じて、要求された音楽コンテンツの配信にともなう対価をコンテンツ記録再生装置1のユーザに対して課金するための課金処理を実行すると共に、要求された音楽コンテンツに対応する暗号化音楽データと、この音楽コンテンツを利用する権利がある旨を示す権利情報とを、ネットワークNTを介して、コンテンツ記録再生装置1に送信する。因みにこの場合の権利情報には、例えば、暗号化音楽データを復号する復号鍵の元となるデータ(いわゆる復号鍵の種)、音楽コンテンツの再生可能回数や転送可能回数等を示すコンテンツ利用条件、及び実際に音楽コンテンツが再生された回数や転送された回数等を示すコンテンツ利用状態等が記されている。   When the content distribution server receives the request signal from the content recording / playback apparatus 1, in response to this, the content distribution server performs a billing process for charging the user of the content recording / playback apparatus 1 for the fee associated with the distribution of the requested music content. At the same time, the encrypted music data corresponding to the requested music content and the right information indicating the right to use the music content are transmitted to the content recording / reproducing apparatus 1 via the network NT. Incidentally, the right information in this case includes, for example, data that is a source of a decryption key for decrypting encrypted music data (so-called decryption key seed), content usage conditions that indicate the number of reproducible times and the number of times that music content can be transferred, In addition, a content usage state or the like indicating the number of times the music content has been actually reproduced or transferred is described.

コンテンツ記録再生装置1のCPU20は、コンテンツ配信サーバから送信される暗号化音楽データとその権利情報とを、ネットワークインタフェース25を介して受信すると、これらをハードディスクドライブ26に記録する。   When the CPU 20 of the content recording / reproducing apparatus 1 receives the encrypted music data and the right information transmitted from the content distribution server via the network interface 25, the CPU 20 records them on the hard disk drive 26.

このようにコンテンツ記録再生装置1は、ネットワークNT上のコンテンツ配信サーバから音楽コンテンツを取得(ダウンロード)して、この音楽コンテンツをハードディスクドライブ26に記録し得るようになされている。   In this way, the content recording / playback apparatus 1 can acquire (download) music content from a content distribution server on the network NT and record the music content on the hard disk drive 26.

その後、CPU20は、操作キー24を介して、ハードディスクドライブ26に記録した音楽コンテンツに対する再生指示がユーザにより行われたことを認識すると、これに応じて、この音楽コンテンツに対応する暗号化音楽データとその権利情報とをハードディスクドライブ26から読み出し、これらを権利処理及び音楽処理モジュール27に送る。   Thereafter, when the CPU 20 recognizes that the user has issued a playback instruction for the music content recorded on the hard disk drive 26 via the operation key 24, the CPU 20 responds accordingly with the encrypted music data corresponding to the music content and The rights information is read from the hard disk drive 26 and sent to the rights processing and music processing module 27.

権利処理及び音楽処理モジュール27は、モジュール外から隠蔽されるハードウェアモジュールでなり、ローカルブリッジ27Aを介してモジュール外のバス21に接続されると共に、このローカルブリッジ27Aに接続されるDSP(Digital Signal Processor)27Bを介してモジュール外のアナログ処理回路28に接続されている。そしてこの権利処理及び音楽処理モジュール27は、ハードディスクドライブ26に記録されているDSP27B用の暗号化されたファームウェアがCPU20により読み出されて供給されると、これをローカルブリッジ27Aを介してDSP27Bに取り込んで、かかるDSP27Bで復号してRAM27Cに一時記憶し、このRAM27Cに一時記憶したファームウェアを当該DSP27Bが実行することにより、上述したコンテンツ記録再生装置1の権利処理部9の処理と、音楽処理部10のデジタル処理と同様の処理を行うようになされている。またこの権利処理及び音楽処理モジュール27は、DSP27Bがアクセスし得るEEPROM27Dを有し、このEEPROM27Dにモジュール外から隠蔽したい秘匿情報等を記憶するようになされている。   The right processing and music processing module 27 is a hardware module that is hidden from outside the module, and is connected to the bus 21 outside the module via the local bridge 27A, and is connected to the DSP (Digital Signal) connected to the local bridge 27A. Processor) 27B is connected to an analog processing circuit 28 outside the module. Then, when the encrypted firmware for DSP 27B recorded in the hard disk drive 26 is read and supplied by the CPU 20, the rights processing and music processing module 27 takes this into the DSP 27B via the local bridge 27A. The DSP 27B decrypts the data and temporarily stores it in the RAM 27C. When the DSP 27B executes the firmware temporarily stored in the RAM 27C, the processing of the right processing unit 9 of the content recording / reproducing apparatus 1 described above and the music processing unit 10 are performed. The same processing as the digital processing is performed. The right processing and music processing module 27 has an EEPROM 27D that can be accessed by the DSP 27B, and stores confidential information and the like to be concealed from outside the module in the EEPROM 27D.

すなわちこの権利処理及び音楽処理モジュール27は、ハードディスクドライブ26から送られてきた暗号化音楽データとその権利情報とをローカルブリッジ27Aを介してDSP27Bに入力する。DSP27Bは、この権利情報が正当なものであるか否かを確認し、正当なものであることが確認できると、この権利情報と共に送られてきた暗号化音楽データの利用(この場合再生)を許可する。そしてDSP27Bは、この権利情報に基づいて暗号化音楽データの復号鍵を生成し、この復号鍵で暗号化音楽データを復号することにより音楽データを得、さらにこの音楽データに対してデコード処理等のデジタル処理を行った後、このデジタル処理された音楽データをアナログ処理回路28に送出する。   That is, the rights processing and music processing module 27 inputs the encrypted music data and the rights information sent from the hard disk drive 26 to the DSP 27B via the local bridge 27A. The DSP 27B confirms whether or not the right information is valid, and if it is confirmed that the right information is valid, the DSP 27B uses (reproduces in this case) the encrypted music data sent together with the right information. to approve. The DSP 27B generates a decryption key for the encrypted music data based on the right information, obtains the music data by decrypting the encrypted music data with the decryption key, and further performs a decoding process or the like on the music data. After digital processing, the digitally processed music data is sent to the analog processing circuit 28.

アナログ処理回路28は、デジタル処理された音楽データに対してデジタルアナログ変換処理及び増幅処理等のアナログ処理を行うことにより音楽信号を得、この音楽信号を外部のスピーカ29に送出して、このスピーカ29から音楽信号に基づく音楽を出力させる。   The analog processing circuit 28 obtains a music signal by performing analog processing such as digital-analog conversion processing and amplification processing on the digitally processed music data, sends the music signal to an external speaker 29, and sends the music signal to the speaker. 29 outputs music based on the music signal.

このようにコンテンツ記録再生装置1は、ハードディスクドライブ26に記録した音楽コンテンツを再生し得るようになされている。   As described above, the content recording / playback apparatus 1 can play back the music content recorded on the hard disk drive 26.

またコンテンツ記録再生装置1のCPU20は、ユーザによる操作キー24の操作に応じて、CD(Compact Disc)ドライブ30に装填されたCD31に記録された音楽データを読み出し、この読み出した音楽データに対して、権利処理及び音楽処理モジュール27でデジタル処理を行った後、アナログ処理回路28でデジタルアナログ変換処理及び増幅処理等のアナログ処理を行うことにより音楽信号を得、この音楽信号に基づく音楽をスピーカ29から出力させる。   Further, the CPU 20 of the content recording / reproducing apparatus 1 reads out music data recorded on a CD 31 loaded in a CD (Compact Disc) drive 30 in response to the operation of the operation key 24 by the user, and the read music data is read out. After the digital processing by the right processing and music processing module 27, the analog processing circuit 28 performs analog processing such as digital-analog conversion processing and amplification processing to obtain a music signal, and the music based on the music signal is sent to the speaker 29. Output from.

さらにCPU20は、ユーザによる操作キー24の操作に応じて、USB(Universal Serial Bus)インタフェース32を介して接続されるUSB機器33に記録された符号化音楽データを読み出し、この読み出した符号化音楽データに対して、権利処理及び音楽処理モジュール27でデコード処理等のデジタル処理を行った後、さらにアナログ処理回路28でデジタルアナログ変換処理及び増幅処理等のアナログ処理を行うことにより音楽信号を得、この音楽信号に基づく音楽をスピーカ29から出力させる。   Further, the CPU 20 reads out the encoded music data recorded in the USB device 33 connected via the USB (Universal Serial Bus) interface 32 in accordance with the operation of the operation key 24 by the user, and this read out encoded music data. On the other hand, after digital processing such as decoding processing is performed by the right processing and music processing module 27, a music signal is obtained by further performing analog processing such as digital-analog conversion processing and amplification processing by the analog processing circuit 28. Music based on the music signal is output from the speaker 29.

さらにCPU20は、ユーザによる操作キー24の操作に応じて、チューナ34や外部入力端子35からアナログ処理回路28に入力される音楽信号に対して、アナログ処理回路28でアナログデジタル変換処理等のアナログ処理を行った後、権利処理及び音楽処理モジュール27でイコライジング処理等のデジタル処理を行い、さらにこの後アナログ処理回路28でデジタルアナログ変換処理等のアナログ処理を行うことにより音楽信号を得、この音楽信号に基づく音楽をスピーカ29から出力させる。   Further, the CPU 20 performs analog processing such as analog-digital conversion processing by the analog processing circuit 28 on the music signal input from the tuner 34 or the external input terminal 35 to the analog processing circuit 28 in accordance with the operation of the operation key 24 by the user. After that, the right processing and music processing module 27 performs digital processing such as equalizing processing, and then the analog processing circuit 28 performs analog processing such as digital-analog conversion processing to obtain a music signal. The music based on is output from the speaker 29.

このようにコンテンツ記録再生装置1は、CD31やUSB機器33に記録された音楽コンテンツや、チューナ34や外部入力端子35から入力された音楽コンテンツを再生し得るようにもなされている。因みに、CD31やUSB機器33に記録された音楽コンテンツが、上述したコンテンツ配信サーバから取得した音楽コンテンツのように、権利情報と対応付けられた暗号化音楽データである場合は、この音楽コンテンツを、コンテンツ配信サーバから取得してハードディスクドライブ26に記録した音楽コンテンツと同じように再生すればよい。   As described above, the content recording / playback apparatus 1 can play back music content recorded on the CD 31 or the USB device 33 or music content input from the tuner 34 or the external input terminal 35. Incidentally, if the music content recorded on the CD 31 or the USB device 33 is encrypted music data associated with the right information, such as the music content acquired from the content distribution server described above, this music content is What is necessary is just to reproduce | regenerate like the music content acquired from the content delivery server and recorded on the hard disk drive 26.

さらにCPU20は、ユーザによる操作キー24の操作に応じて、CD31やUSB機器33に記録された音楽データを読み出し、この読み出した音楽データに対して、権利処理及び音楽処理モジュール27でエンコード処理を行うと共に、このとき権利処理及び音楽処理モジュール27で生成される暗号鍵で暗号化することにより暗号化音楽データを得、この暗号化音楽データと、このとき権利処理及び音楽処理モジュール27で生成される権利情報とを対応付けてハードディスクドライブ26に記録する。   Further, the CPU 20 reads out music data recorded on the CD 31 or the USB device 33 in accordance with the operation of the operation key 24 by the user, and performs encoding processing on the read music data by the right processing and music processing module 27. At the same time, encrypted music data is obtained by encrypting with the encryption key generated by the right processing and music processing module 27, and the encrypted music data and the right processing and music processing module 27 are generated at this time. The rights information is recorded in association with the hard disk drive 26.

さらにCPU20は、ユーザによる操作キー24の操作に応じて、チューナ34や外部入力端子35からアナログ処理回路28に入力される音楽信号に対して、アナログ処理回路28でアナログデジタル変換処理等のアナログ処理を行った後、権利処理及び音楽処理モジュール27でエンコード処理等のデジタル処理を行うと共に、このとき権利処理及び音楽処理モジュール27で生成される暗号鍵で暗号化することにより暗号化音楽データを得、この暗号化音楽データと、このとき権利処理及び音楽処理モジュール27で生成される権利情報とを対応付けてハードディスクドライブ26に記録する。   Further, the CPU 20 performs analog processing such as analog-to-digital conversion processing by the analog processing circuit 28 on the music signal input to the analog processing circuit 28 from the tuner 34 or the external input terminal 35 in accordance with the operation of the operation key 24 by the user. After that, the digital processing such as encoding processing is performed by the right processing and music processing module 27, and at this time, encrypted music data is obtained by encrypting with the encryption key generated by the right processing and music processing module 27. The encrypted music data and the right information generated by the right processing and music processing module 27 at this time are associated with each other and recorded in the hard disk drive 26.

このようにコンテンツ記録再生装置1は、CD31やUSB機器33に記録された音楽コンテンツや、チューナ34や外部入力端子35から入力される音楽コンテンツをハードディスクドライブ26に録音し得るようにもなされている。因みに、この録音時に行う音楽データの暗号化、及び権利情報の対応付けのそれぞれについては、必要に応じて(例えばユーザによる操作キー24の操作に応じて)行えばよい。例えばコンテンツ記録再生装置1は、暗号化及び権利情報の対応付けを行うことなく、CD31から読み出した音楽データをエンコード処理してハードディスクドライブ26に記録することもできるし、USB機器33から読み出した符号化音楽データをそのままハードディスクドライブ26に記録することもできる。またコンテンツ記録再生装置1は、チューナ34や外部入力端子35から入力される音楽信号に対してアナログ処理回路28及び権利処理及び音楽処理モジュール27でアナログ処理及びデジタル処理等を順次行うことにより符号化音楽データを得、この符号化音楽データをそのままハードディスクドライブ26に記録することもできる。   As described above, the content recording / playback apparatus 1 can record the music content recorded on the CD 31 or the USB device 33 or the music content input from the tuner 34 or the external input terminal 35 on the hard disk drive 26. . Incidentally, each of the encryption of music data and the association of right information performed at the time of recording may be performed as necessary (for example, according to the operation of the operation key 24 by the user). For example, the content recording / playback apparatus 1 can encode the music data read from the CD 31 and record it in the hard disk drive 26 without performing encryption and associating the right information, or the code read from the USB device 33. The digitized music data can be recorded in the hard disk drive 26 as it is. The content recording / playback apparatus 1 encodes the music signal input from the tuner 34 or the external input terminal 35 by sequentially performing analog processing, digital processing, and the like in the analog processing circuit 28 and the right processing and music processing module 27. It is also possible to obtain music data and record the encoded music data on the hard disk drive 26 as it is.

さらにCPU20は、ユーザによる操作キー24の操作に応じて、ハードディスクドライブ26に記録した暗号化音楽データとその権利情報とを読み出し、又は符号化音楽データを読み出し、これらをCD31やUSB機器33に記録する。このようにコンテンツ記録再生装置1は、ハードディスクドライブ26に記録した音楽コンテンツを外部に転送し得るようにもなされている。   Further, the CPU 20 reads the encrypted music data and the right information recorded in the hard disk drive 26 or reads the encoded music data according to the operation of the operation key 24 by the user, and records them in the CD 31 or the USB device 33. To do. As described above, the content recording / playback apparatus 1 can also transfer the music content recorded on the hard disk drive 26 to the outside.

さらにCPU20は、EEPROM22から読み出した各種プログラムの実行結果(例えば音楽コンテンツの取得、再生、録音及び転送等)に基づく表示用データを表示コントローラ36に送る。表示コントローラ36は、CPU20から送られてくる表示用データに基づく画面を外部のディスプレイ37に表示する。このようにコンテンツ記録再生装置1は、ディスプレイ37を介して、音楽コンテンツの取得、再生、録音及び転送等に関する各種画面をユーザに視認させ得るようにもなされている。   Further, the CPU 20 sends display data to the display controller 36 based on the execution results of various programs read from the EEPROM 22 (for example, acquisition, reproduction, recording, transfer, etc. of music content). The display controller 36 displays a screen based on the display data sent from the CPU 20 on the external display 37. In this way, the content recording / playback apparatus 1 is configured to allow the user to visually recognize various screens related to acquisition, playback, recording, and transfer of music content via the display 37.

なお、スピーカ29、USB機器33、チューナ34、外部入力端子35及びディスプレイ37は、コンテンツ記録再生装置1に所定のケーブルを介して外部接続されていてもよいし、コンテンツ記録再生装置1の筐体に直接取り付けられて内部接続されていてもよい。   The speaker 29, the USB device 33, the tuner 34, the external input terminal 35, and the display 37 may be externally connected to the content recording / playback apparatus 1 via a predetermined cable, or the casing of the content recording / playback apparatus 1 It may be directly attached to and connected internally.

因みに、このコンテンツ記録再生装置1のCPU20は上述した制御部2(図2)に相当し、EEPROM22は記憶部3に相当し、RAM23は一時記憶部4に相当し、操作キー24は操作部5に相当し、ネットワークインタフェース25は通信部6に相当し、ハードディスクドライブ26は内蔵記録媒体駆動部7及び内蔵記録媒体8に相当し、権利処理及び音楽処理モジュール27及びアナログ処理回路28は権利処理部9及び音楽処理部10に相当し、CDドライブ30は外部記録媒体駆動部12に相当し、USBインタフェース32はインタフェース部14に相当し、表示コントローラ36は表示処理部17に相当するものである。   Incidentally, the CPU 20 of the content recording / playback apparatus 1 corresponds to the control unit 2 (FIG. 2) described above, the EEPROM 22 corresponds to the storage unit 3, the RAM 23 corresponds to the temporary storage unit 4, and the operation keys 24 correspond to the operation unit 5. The network interface 25 corresponds to the communication unit 6, the hard disk drive 26 corresponds to the built-in recording medium driving unit 7 and the built-in recording medium 8, and the right processing and music processing module 27 and the analog processing circuit 28 are the right processing unit. 9 and the music processing unit 10, the CD drive 30 corresponds to the external recording medium driving unit 12, the USB interface 32 corresponds to the interface unit 14, and the display controller 36 corresponds to the display processing unit 17.

かかる構成に加えコンテンツ記録再生装置1の場合、権利処理及び音楽処理モジュール27のDSP27Bは、ハードディスクドライブ26に予め記憶されている暗号化された圧縮符号化プログラム(以下、これをエンコードプログラムと呼ぶ)、伸長復号プログラム(以下、これをデコードプログラムと呼ぶ)、サンプリングレート変換プログラム及びフィルタリングプログラム等の各種プログラムをDSP27Bで復号してRAM27Cに適宜展開することにより、これら各種プログラムに従ってエンコード処理、デコード処理、サンプリングレート変換処理及びフィルタリング処理等のデータ処理を実行している。またDSP27Bは、ハードディスクドライブ26に予め記憶されている暗号化されたデータ処理制御プログラムをDSP27Bで復号してRAM27Cに展開することにより、当該データ処理制御プログラムに従って、これらエンコード処理、デコード処理、サンプリングレート変換処理及びフィルタリング処理等のデータ処理を制御している。   In addition to such a configuration, in the case of the content recording / reproducing apparatus 1, the DSP 27B of the right processing and music processing module 27 is an encrypted compression encoding program (hereinafter referred to as an encoding program) stored in the hard disk drive 26 in advance. By decoding various programs such as a decompression decoding program (hereinafter referred to as a decoding program), a sampling rate conversion program, and a filtering program with the DSP 27B and appropriately developing them in the RAM 27C, an encoding process, a decoding process, Data processing such as sampling rate conversion processing and filtering processing is executed. Further, the DSP 27B decrypts the encrypted data processing control program stored in advance in the hard disk drive 26 by the DSP 27B and develops it in the RAM 27C, so that these encoding processing, decoding processing, sampling rate are performed according to the data processing control program. Data processing such as conversion processing and filtering processing is controlled.

さらにDSP27Bは、エンコード処理として、ATRAC3(Adaptive Transform Acoustic Coding 3)、AAC(Advanced Audio Coding )、WMA(Windows(登録商標) Media Audio )、RealAUDIO G2 Music Codec、MPEG(Moving Picture Experts Group)1 Audio Layer 3、MPEG2 Audio Layer 3等の各種圧縮伸長方式(以下、これをコーデックフォーマットと呼ぶ)に準じたエンコードプログラムに従い、ATRAC3に準じたエンコード処理や、MPEG1 Audio Layer 3に準じたエンコード処理等のようにコーデックフォーマットの異なる複数種類のエンコード処理を実行することができる。さらにまたDSP27Bは、デコード処理についても、これら各種コーデックフォーマットに応じたデコードプログラムに従って複数種類のデコード処理を実行することができる。   Further, the DSP 27B performs ATRAC3 (Adaptive Transform Acoustic Coding 3), AAC (Advanced Audio Coding), WMA (Windows (registered trademark) Media Audio), RealAudio G2 Music Codec, MPEG (Moving Picture Experts Group) 1 Audio Layer as encoding processing. 3. In accordance with an encoding program according to various compression / decompression methods (hereinafter referred to as codec format) such as MPEG2 Audio Layer 3, etc., encoding processing according to ATRAC3, encoding processing according to MPEG1 Audio Layer 3, etc. Multiple types of encoding processes with different codec formats can be executed. Furthermore, the DSP 27B can execute a plurality of types of decoding processing according to decoding programs corresponding to these various codec formats.

そしてDSP27Bは、かかるデータ処理として、例えばハードディスクドライブ26に記録されている符号化音楽データを再生する際の再生用データ処理を実行することができる。またDSP27Bは、かかるデータ処理として、外部入力端子35やチューナ34からアナログ処理回路28を介して入力される音楽データをエンコード処理してハードディスクドライブ26に記録する際の録音用データ処理を実行することもできる。さらにDSP27Bは、かかるデータ処理として、例えばハードディスクドライブ26からUSB機器33に転送する符号化音楽データに対しコーデックフォーマットを変換する(すなわち、すでに所定のコーデックフォーマットでエンコード処理された音楽データを、例えばUSB機器33で処理可能な他のコーデックフォーマットでエンコード処理し直す)際のフォーマット変換用データ処理も実行することができる。   The DSP 27B can execute reproduction data processing for reproducing encoded music data recorded in the hard disk drive 26, for example, as such data processing. Further, as such data processing, the DSP 27B performs recording data processing when encoding music data input from the external input terminal 35 or the tuner 34 via the analog processing circuit 28 and recording it in the hard disk drive 26. You can also. Further, as such data processing, the DSP 27B converts the codec format of the encoded music data transferred from the hard disk drive 26 to the USB device 33, for example (that is, converts the music data already encoded in a predetermined codec format to, for example, the USB Data conversion for format conversion at the time of re-encoding with another codec format that can be processed by the device 33 can also be executed.

従って以下には、図4乃至図6に示す回路構成を元に、DSP27Bが実行する各種データ処理について詳細に説明する。ただし、図4に示す回路構成については、例えばDSP27B内に設けられたハードウェアとしての入力バッファメモリ50及び出力バッファメモリ51と共に、説明の便宜上、DSP27Bがデータ処理において上述した各種プログラムに従い実現可能な各種機能をそれぞれ機能ブロックとして示している。この場合、機能ブロックとしては、データ処理制御プログラムに従って実行されるデータ処理の制御機能を示すデータ処理制御部52がある。またかかる機能ブロックとしては、実際に音楽データをデータ処理するデータ処理ブロック53があり、かかるデータ処理ブロック53が、デコードプログラムに従って実行するデコード処理の機能を示すデコーダ部54と、サンプリングレート変換プログラムに従って実行するサンプリングレート変換処理の機能を示すサンプリングレートコンバータ部55と、フィルタリングプログラムに従って実行するフィルタリング処理の機能を示すデエンファシスフィルタ部56と、エンコードプログラムに従って実行するエンコード処理の機能を示すエンコーダ部57とに細分化されている。   Therefore, hereinafter, various data processing executed by the DSP 27B will be described in detail based on the circuit configurations shown in FIGS. However, for the convenience of explanation, the circuit configuration shown in FIG. 4 can be realized by the DSP 27B according to the above-described various programs in the data processing together with the input buffer memory 50 and the output buffer memory 51 as hardware provided in the DSP 27B. Various functions are shown as function blocks. In this case, as a functional block, there is a data processing control unit 52 indicating a control function of data processing executed according to the data processing control program. Further, as such functional blocks, there is a data processing block 53 that actually processes music data, and the data processing block 53 includes a decoder section 54 indicating a decoding processing function executed according to the decoding program and a sampling rate conversion program. A sampling rate converter 55 indicating the function of the sampling rate conversion process to be executed, a de-emphasis filter part 56 indicating the function of the filtering process executed according to the filtering program, and an encoder part 57 indicating the function of the encoding process executed according to the encoding program It is subdivided into.

また図5に示すエンコーダ部57については、DSP27Bにより実現可能な、コーデックフォーマットの異なる複数種類のエンコード処理の機能を、機能ブロックとしの複数のエンコーダ57A乃至57Nとして示している。さらに図6に示すデコーダ部54についても、DSP27Bにより実現可能な、コーデックフォーマットの異なる複数種類のデコード処理の機能を、機能ブロックとしての複数のデコーダ54A乃至54Nとして示している。そしてDSP27Bの一部機能であるデータ処理制御部52は、処理対象の音楽データに適用されたコーデックフォーマットに応じてエンコーダ部57及びデコーダ部54をそれぞれ制御して、データ処理に用いるエンコーダ57A乃至57N及びデコーダ54A乃至54Nを切り替えている。   For the encoder unit 57 shown in FIG. 5, the functions of a plurality of types of encoding processes with different codec formats that can be realized by the DSP 27B are shown as a plurality of encoders 57A to 57N as function blocks. Further, for the decoder unit 54 shown in FIG. 6, the functions of a plurality of types of decoding processes with different codec formats that can be realized by the DSP 27B are shown as a plurality of decoders 54A to 54N as functional blocks. The data processing control unit 52, which is a partial function of the DSP 27B, controls the encoder unit 57 and the decoder unit 54 according to the codec format applied to the music data to be processed, and uses encoders 57A to 57N used for data processing. The decoders 54A to 54N are switched.

まずCPU20は、音楽コンテンツの再生時や音楽コンテンツに対するコーデックフォーマットの変換時、再生対象の符号化音楽データや、フォーマット変換対象の符号化音楽データをパケット化することにより図7に示すようなパケットPCを生成する。かかるパケットPCは、再生対象の符号化音楽データやフォーマット変換対象の符号化音楽データをパケットデータPDとし、当該パケットデータPDの先頭にパケットヘッダPHが付加されて生成されている。   First, the CPU 20 packetizes the encoded music data to be reproduced or the encoded music data to be converted at the time of reproduction of the music contents or conversion of the codec format for the music contents, thereby causing the packet PC as shown in FIG. Is generated. The packet PC is generated by using the encoded music data to be reproduced and the encoded music data to be converted as the packet data PD, and the packet header PH is added to the head of the packet data PD.

この場合、CPU20は、パケットヘッダPHに対し、パケットデータPD(すなわち、音楽データ)に適用されたコーデックフォーマットの種別や、データ処理時のサンプリングレート及びビットレート、ステレオ及びモノラルを示すチャンネル数、フィルタリング処理の実行指示の有無等のように、DSP27Bにおけるデータ処理ブロック53内の各部に対し設定する処理条件を示す処理条件設定情報を格納している。またCPU20は、かかるパケットヘッダPHに対し、パケットデータPDのデータサイズ(以下、これを入力データサイズと呼ぶ)や、パケットデータPDを終端まで的確にデータ処理させるための終端処理に対する実行指示の有無、DSP27Bの各部に設定していた処理条件等の初期化の有無等のようにデータ処理制御部52がデータ処理ブロック53内の各部を制御するために用いる制御情報も格納している。   In this case, for the packet header PH, the CPU 20 sorts the codec format applied to the packet data PD (that is, music data), the sampling rate and bit rate during data processing, the number of channels indicating stereo and monaural, filtering Processing condition setting information indicating processing conditions to be set for each unit in the data processing block 53 in the DSP 27B, such as presence / absence of processing execution instruction, is stored. In addition, the CPU 20 determines whether or not there is an instruction to execute the data size of the packet data PD (hereinafter referred to as the input data size) or termination processing for accurately processing the packet data PD up to the termination for the packet header PH. Control information used by the data processing control unit 52 to control each unit in the data processing block 53 such as the presence / absence of initialization of processing conditions set in each unit of the DSP 27B is also stored.

因みに処理条件設定情報に含まれるコーデックフォーマットの種別は、パケットデータPD(すなわち、符号化音楽データ)のエンコード処理に利用されたコーデックフォーマットを示す。また、かかるコーデックフォーマットの種別は、パケットデータPDをフォーマット変換によりエンコード処理し直すときに適用するコーデックフォーマットも示す。なおCPU20は、パケットPCを生成する場合、1曲分の符号化音楽データを複数部分に分割し、それぞれをパケットデータPDとすることもできるし、当該1曲分の符号化音楽データをそのまま1つのパケットデータPDとすることもできる。ただし以下の説明では、例えば1曲分の符号化音楽データをそのまま1つのパケットデータPDとした場合について説明する。   Incidentally, the type of codec format included in the processing condition setting information indicates the codec format used for the encoding process of the packet data PD (that is, encoded music data). The type of codec format also indicates a codec format to be applied when the packet data PD is encoded again by format conversion. When generating the packet PC, the CPU 20 can also divide the encoded music data for one song into a plurality of parts, each of which can be used as packet data PD. One packet data PD can also be used. However, in the following description, a case will be described in which, for example, encoded music data for one song is directly used as one packet data PD.

そしてCPU20は、かかるパケットPCをDSP27Bに送出して入力バッファメモリ50に一時記録すると共に、このとき処理開始命令をデータ処理制御部52に与える。データ処理制御部52は、CPU20から与えられる処理開始命令を受け取ると、これに応じて再生用データ処理やフォーマット変換用データ処理を開始する。そしてデータ処理制御部52は、そのとき入力バッファメモリ50に一時記録しているパケットPCのパケットヘッダPHから処理条件設定情報及び制御情報を読み出し、当該読み出した処理条件設定情報に従いデータ処理ブロック53においてデコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対し、それぞれ処理条件を設定する。   The CPU 20 sends the packet PC to the DSP 27B and temporarily records it in the input buffer memory 50. At this time, the CPU 20 gives a processing start command to the data processing control unit 52. When the data processing control unit 52 receives a processing start command given from the CPU 20, the data processing control unit 52 starts reproduction data processing and format conversion data processing accordingly. Then, the data processing control unit 52 reads the processing condition setting information and the control information from the packet header PH of the packet PC temporarily recorded in the input buffer memory 50 at that time, and in the data processing block 53 according to the read processing condition setting information. Processing conditions are set for the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57, respectively.

因みにデータ処理制御部52は、再生用データ処理やフォーマット変換用データ処理を新たに実行するときや、処理条件を変更するとき等は、制御情報に応じて、これらデコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57を一旦初期化した後、処理条件を設定する。またデータ処理制御部52は、デコーダ部54やエンコーダ部57に対しては、処理対象のパケットデータPDに適用されたコーデックフォーマットに従ってデコード処理及びエンコード処理に用いるデコーダ54A乃至54N及びエンコーダ57A乃至57Nを切り替える。ただしデータ処理制御部52は、再生用データ処理を実行する場合、パケットデータPDをエンコード処理しないため、このときだけはエンコーダ部57の処理を停止させる。またデータ処理制御部52は、再生用データ処理及びフォーマット変換用データ処理の何れを実行する場合でも、処理条件設定情報内でフィルタリング処理の実行指示を検出しなかったときは、デエンファシスフィルタ部56の処理も停止させる。   Incidentally, the data processing control unit 52, when newly executing reproduction data processing or format conversion data processing, or when changing processing conditions, etc., according to the control information, these decoder unit 54, sampling rate converter unit 55. After initializing the de-emphasis filter unit 56 and the encoder unit 57, processing conditions are set. Further, the data processing control unit 52 provides the decoder unit 54 and the encoder unit 57 with decoders 54A to 54N and encoders 57A to 57N used for decoding processing and encoding processing according to the codec format applied to the packet data PD to be processed. Switch. However, since the data processing control unit 52 does not encode the packet data PD when executing the reproduction data processing, the data processing control unit 52 stops the processing of the encoder unit 57 only at this time. In addition, the data processing control unit 52 does not detect the execution instruction of the filtering process in the processing condition setting information regardless of whether the data process for reproduction or the data process for format conversion is executed. This process is also stopped.

この状態でデータ処理制御部52は、入力バッファメモリ50からパケットデータPDをこれに適用されたコーデックフォーマットに応じたデータ処理単位毎に分割してデータ処理ブロック53に入力する(この場合は、デコーダ部54に入力する)。これによりデータ処理ブロック53において、デコーダ部54は、パケットデータPDをこれに適用されたコーデックフォーマットに応じたデコーダ54A乃至54Nによりデコード処理し、得られた処理データをサンプリングレートコンバータ部55に送出する。サンプリングレートコンバータ部55は、デコーダ部54から与えられた処理データに対しサンプリングレート変換処理を施し、得られた処理データをデエンファシスフィルタ部56に送出する。デエンファシスフィルタ部56は、サンプリングレートコンバータ部55から与えられた処理データをフィルタリング処理し、得られた処理データをエンコーダ部57に送出する。エンコーダ部57は、デエンファシスフィルタ部56から与えられた処理データを、パケットデータPDに適用されたコーデックフォーマットに応じたエンコーダ57A乃至57Nによりエンコード処理する。因みにデータ処理ブロック53では、処理条件の設定やデータ処理の種類に応じて、デエンファシスフィルタ部56やエンコーダ部57の処理を停止させている場合、これらの前段で得られた処理データを当該デエンファシスフィルタ部56やエンコーダ部57をそのまま通過させる。   In this state, the data processing control unit 52 divides the packet data PD from the input buffer memory 50 for each data processing unit corresponding to the codec format applied thereto, and inputs it to the data processing block 53 (in this case, the decoder Part 54). Accordingly, in the data processing block 53, the decoder unit 54 decodes the packet data PD by the decoders 54A to 54N corresponding to the codec format applied thereto, and sends the obtained processing data to the sampling rate converter unit 55. . The sampling rate converter unit 55 performs a sampling rate conversion process on the processing data given from the decoder unit 54 and sends the obtained processing data to the de-emphasis filter unit 56. The de-emphasis filter unit 56 performs a filtering process on the processing data given from the sampling rate converter unit 55 and sends the obtained processing data to the encoder unit 57. The encoder unit 57 encodes the processing data given from the de-emphasis filter unit 56 by encoders 57A to 57N corresponding to the codec format applied to the packet data PD. Incidentally, in the data processing block 53, when the processing of the de-emphasis filter unit 56 and the encoder unit 57 is stopped in accordance with the setting of processing conditions and the type of data processing, the processing data obtained in the preceding stage is processed in the data processing block 53. The emphasis filter unit 56 and the encoder unit 57 are passed as they are.

そしてデータ処理制御部52は、再生用データ処理の実行時には、データ処理ブロック53でパケットデータPDを再生用データ処理した結果、最終的に得られ処理データ(すなわち、この場合は音楽データ)を出力データとしてそのままアナログ処理回路28に送出する。またデータ処理制御部52は、フォーマット変換用データ処理の実行時、データ処理ブロック53でパケットデータPDをフォーマット変換用データ処理した結果、最終的に得られた処理データ(すなわち、この場合はエンコードフォーマット変換後の符号化音楽データ)を出力データとして、出力バッファメモリ51を介してCPU20に送出する。   Then, the data processing control unit 52 outputs the processing data (that is, music data in this case) finally obtained as a result of processing the packet data PD for the playback in the data processing block 53 when executing the playback data processing. The data is sent to the analog processing circuit 28 as it is. In addition, the data processing control unit 52 performs processing of the packet data PD by the data processing block 53 when the format conversion data processing is executed. As a result, the data processing control unit 52 finally obtains the processing data (that is, the encoded format in this case). The converted encoded music data) is sent as output data to the CPU 20 via the output buffer memory 51.

またCPU20は、音楽コンテンツの録音時、上述したパケットPCのパケットヘッダPHに格納していた処理条件設定情報及び制御情報と基本的には同じ処理条件設定情報及び制御情報を設定及び制御データとしてDSP27Bのデータ処理制御部52に与える。ただしCPU20は、例えばユーザにより指定された録音対象の音楽データに対する録音時間に応じて、当該音楽データに対する入力データサイズを求め、かかる入力データサイズを制御情報に加えている。またCPU20は、処理条件設定情報に加える音楽データに適用されたコーデックフォーマットの種別により、録音対象の音楽データのエンコード処理に適用するコーデックフォーマットを示している。そしてCPU20は、かかる設定及び制御データと共に処理開始命令をデータ処理制御部52に与える。   Further, the CPU 20 sets the processing condition setting information and control information basically the same as the processing condition setting information and control information stored in the packet header PH of the packet PC at the time of recording the music content as DSP 27B as setting and control data. To the data processing control unit 52. However, the CPU 20 obtains the input data size for the music data according to the recording time for the music data to be recorded designated by the user, for example, and adds the input data size to the control information. Further, the CPU 20 indicates the codec format applied to the encoding process of the music data to be recorded, depending on the type of codec format applied to the music data added to the processing condition setting information. Then, the CPU 20 gives a processing start command to the data processing control unit 52 together with the setting and control data.

データ処理制御部52は、この際にCPU20から与えられる設定及び制御データと共に処理開始命令を受け取ると、これに応じて録音用データ処理を開始する。そしてデータ処理制御部52は、そのとき設定及び制御データに含まれる処理条件設定情報に従い上述と同様にデータ処理ブロック53においてサンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対し、それぞれ処理条件を設定する。   When the data processing control unit 52 receives the processing start command together with the setting and control data given from the CPU 20 at this time, the data processing control unit 52 starts the recording data processing accordingly. Then, the data processing control unit 52 performs the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 in the data processing block 53 in the same manner as described above according to the processing condition setting information included in the setting and control data at that time. Set the processing conditions.

因みにデータ処理制御部52は、録音用データ処理を新たに実行するときや、処理条件を変更するとき等は、設定及び制御データに含まれる制御情報に応じて、これらサンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57を一旦初期化する。またデータ処理制御部52は、エンコーダ部57に対しては、録音対象の音楽データに適用されたコーデックフォーマットに従ってエンコード処理に用いるエンコーダ57A乃至57Nを切り替える。ただしデータ処理制御部52は、録音用データ処理を実行する場合、録音対象の音楽データをデコード処理しないため、このときデコーダ部54の処理を停止させる。またデータ処理制御部52は、録音用データ処理を実行する場合も、処理条件設定情報内でフィルタリング処理の実行指示を検出しなかったときは、デエンファシスフィルタ部56の処理も停止させる。   Incidentally, the data processing control unit 52, when newly executing the recording data processing, or when changing the processing condition, etc., according to the control information included in the setting and control data, The emphasis filter unit 56 and the encoder unit 57 are once initialized. Further, the data processing control unit 52 switches the encoders 57A to 57N used for the encoding process in accordance with the codec format applied to the music data to be recorded with respect to the encoder unit 57. However, when executing the recording data processing, the data processing control unit 52 does not decode the music data to be recorded, so the processing of the decoder unit 54 is stopped at this time. In addition, when executing the recording data processing, the data processing control unit 52 also stops the processing of the de-emphasis filter unit 56 when the execution instruction of the filtering processing is not detected in the processing condition setting information.

この状態でデータ処理制御部52は、外部入力端子35又はチューナ34からアナログ処理回路28を介してDSP27Bに与えられる録音対象の音楽データをデータ処理ブロック53に入力する(この場合は、デコーダ部54を介してそのままサンプリングレートコンバータ部55に入力する)。サンプリングレートコンバータ部55は、デコーダ部54を介して与えられた音楽データに対しサンプリングレート変換処理を施し、得られた処理データをデエンファシスフィルタ部56に送出する。デエンファシスフィルタ部56は、サンプリングレートコンバータ部55から与えられた処理データをフィルタリング処理し、得られたフィルタリングデータをエンコーダ部57に送出する。エンコーダ部57は、デエンファシスフィルタ部56から与えられた処理データを、かかる音楽データに適用されたコーデックフォーマットに応じたエンコーダ57A乃至57Nによりエンコード処理する。因みにデータ処理ブロック53では、処理条件の設定に応じてデエンファシスフィルタ部56の処理を停止させている場合、その前段で得られた処理データを当該デエンファシスフィルタ部56をそのまま通過させる。そしてデータ処理制御部52は、録音用データ処理の実行時には、データ処理ブロック53で録音対象の音楽データを録音用データ処理した結果、最終的に得られ処理データ(すなわち、この場合は符号化音楽データ)を出力データとして、出力バッファメモリ51を介してCPU20に送出する。   In this state, the data processing control unit 52 inputs music data to be recorded supplied to the DSP 27B from the external input terminal 35 or the tuner 34 via the analog processing circuit 28 to the data processing block 53 (in this case, the decoder unit 54). Are input to the sampling rate converter 55 as they are). The sampling rate converter unit 55 performs a sampling rate conversion process on the music data given through the decoder unit 54 and sends the obtained processed data to the de-emphasis filter unit 56. The de-emphasis filter unit 56 performs a filtering process on the processing data provided from the sampling rate converter unit 55, and sends the obtained filtering data to the encoder unit 57. The encoder unit 57 encodes the processing data provided from the de-emphasis filter unit 56 by encoders 57A to 57N according to the codec format applied to the music data. Incidentally, in the data processing block 53, when the processing of the de-emphasis filter unit 56 is stopped according to the setting of the processing conditions, the processing data obtained in the preceding stage is passed through the de-emphasis filter unit 56 as it is. When the data processing control unit 52 executes the data processing for recording, the data processing block 53 processes the music data to be recorded in the data processing block 53. As a result, the data processing control unit 52 finally obtains processed data (that is, encoded music in this case) Data) is output as output data to the CPU 20 via the output buffer memory 51.

ところで上述した各種コーデックフォーマットでは、パケットデータPDや音楽データをコーデック処理及びエンコード処理する際のデータ処理単位がそれぞれ独自に規定されている。また各種コーデックフォーマットでは、それぞれ個々のデータ処理単位の処理データを後続のデータ処理単位の処理データ等と共に用いてエンコード処理及びデコード処理するようにも規定されている。このためデコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57は、それぞれ自己の処理専用のバッファメモリを有している。因みに、デコーダ部54やエンコーダ部57では、個々のデコーダ54A乃至54Nやエンコーダ57A乃至57Nそれぞれが自己の処理専用のバッファメモリを有している。そしてデコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57は、それぞれ自己の処理専用のバッファメモリに対し、1又は複数のデータ処理単位の処理データを一時記憶した時点でこれら1又は複数のデータ処理単位の処理データを処理している。   By the way, in the various codec formats described above, a data processing unit when the packet data PD and music data are subjected to codec processing and encoding processing is uniquely defined. The various codec formats also stipulate that the processing data of each individual data processing unit is encoded and decoded using the processing data of the subsequent data processing unit and the like. Therefore, the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 each have a buffer memory dedicated to its own processing. Incidentally, in the decoder unit 54 and the encoder unit 57, each of the decoders 54A to 54N and the encoders 57A to 57N has a buffer memory dedicated to its own processing. Then, the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 each store the processing data of one or a plurality of data processing units in its own dedicated buffer memory. Processing data of one or more data processing units is processed.

しかしながらデコーダ部54及びエンコーダ部57は、データ処理ブロック53に対しパケットデータPDや音楽データが終端まで入力されたとき、そのままでは終端部分のデータ処理単位の処理データと共にデコード処理及びエンコード処理するための他のデータ処理単位の処理データが不足する等して、当該終端部分の処理データがデコード処理及びエンコード処理しきれずにバッファメモリに残ることになる。またサンプリングレートコンバータ部55、デエンファシスフィルタ部56についても、前段のデコーダ部54で処理しきれない処理データが残ると、その影響を受けて自己の処理に用いる処理データも不足し、その結果、同様に終端部分の処理データが処理しきれずにバッファメモリに残ることになる。   However, when the packet data PD and music data are input to the data processing block 53 until the end, the decoder unit 54 and the encoder unit 57 perform decoding processing and encoding processing together with the processing data of the data processing unit of the end portion. Due to the lack of processing data in other data processing units, the processing data at the end portion cannot be completely decoded and encoded, and remains in the buffer memory. Further, in the sampling rate converter unit 55 and the de-emphasis filter unit 56, if processing data that cannot be processed by the preceding decoder unit 54 remains, the processing data used for its own processing is insufficient due to the influence, and as a result, Similarly, the processing data at the end portion cannot be processed and remains in the buffer memory.

従ってCPU20は、1曲分のパケットデータPDや録音指定された所定の入力データサイズ分の音楽データを単独、又は他のパケットデータPDや音楽データに連続して最後尾としてデータ処理させるとき、当該1曲分のパケットデータPDや録音指定された所定の入力データサイズ分の音楽データを終端までデータ処理させるために終端処理の実行指示を制御情報に含めている。これにより図8に示すように、データ処理制御部52は、データ処理ブロック53に対しパケットデータPD1や音楽データをその終端まで入力させたとき、制御情報に含まれる終端処理の実行指示に応じて、デコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対し内部の処理データを全てデータ処理して出力させるように制御する。その結果、データ処理制御部52は、パケットデータPD1や音楽データの終端に対し例えば不足分のデータを「0」のデータで補う等して、デコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対しかかるパケットデータPD1や音楽データを終端までデータ処理させ、かくして出力データOD1を生成することができる。   Therefore, when the CPU 20 processes the packet data PD for one song or the music data for a predetermined input data size designated for recording alone or continuously as the last piece of the other packet data PD or music data, In order to process the packet data PD for one song and the music data for a predetermined input data size designated for recording to the end, an instruction to execute the end process is included in the control information. As a result, as shown in FIG. 8, when the data processing control unit 52 inputs the packet data PD1 and music data to the data processing block 53 to the end thereof, the data processing control unit 52 responds to the end processing execution instruction included in the control information. The decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 are controlled so that all the internal processing data is processed and output. As a result, the data processing control unit 52 supplements the deficient data with “0” data for the end of the packet data PD1 or the music data, for example, so that the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter The unit 56 and the encoder unit 57 can process the packet data PD1 and the music data up to the end, thus generating the output data OD1.

またCPU20は、複数のパケットデータPDや複数の音楽データを連続してデータ処理させるとき、データ処理が連続している間、制御情報に対し終端処理の実行指示を特には含めないようにしている。しかしながら図9に示すように、データ処理制御部52は、データ処理ブロック53に対し、連続する複数のパケットデータPD2及びPD3や複数の音楽データのうち最後尾以外のパケットデータPD3や音楽データをその終端まで入力させたとき、制御情報に終端処理の実行指示が含まれていなくても、この際にはかかるパケットデータPDや音楽データに応じた出力データを得るまで、データ処理ブロック53に対し次のパケットデータPD3や音楽データを連続して入力させてデコーダ部54、デコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57をそのまま動作させるように当該データ処理ブロック53を制御する。これによりデータ処理制御部52は、パケットデータPD1や音楽データの終端に対し、次のパケットデータPD3や音楽データの先頭部分のデータで出力データOD1を生成することができる。   Further, when the CPU 20 continuously processes a plurality of packet data PD and a plurality of music data, the CPU 20 does not particularly include an instruction to execute the termination process for the control information while the data processing is continued. . However, as shown in FIG. 9, the data processing control unit 52 sends the packet data PD3 and music data other than the last of the plurality of continuous packet data PD2 and PD3 and the plurality of music data to the data processing block 53. Even if the control information does not include an instruction to execute the termination process when the input is made to the end, the data processing block 53 is next processed until output data corresponding to the packet data PD or music data is obtained. The data processing block 53 is controlled so that the decoder unit 54, the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56 and the encoder unit 57 are operated as they are. To do. As a result, the data processing control unit 52 can generate the output data OD1 with the next packet data PD3 or data at the beginning of the music data at the end of the packet data PD1 or music data.

ここで実際上、DSP27Bにおいてデータ処理制御部52は、音楽コンテンツの再生時、図10に示す再生用データ処理制御処理手順RT1を開始する。データ処理制御部52は、かかる再生用データ処理制御処理手順RT1を開始すると、ステップSP1において、CPU20から送出されるパケットPCが入力バッファメモリ50に書き込まれると共に、当該CPU20から与えられる再生用データ処理の処理開始命令を受け取って、次のステップSP2に移る。   Here, in practice, in the DSP 27B, the data processing control unit 52 starts the reproduction data processing control processing procedure RT1 shown in FIG. 10 when reproducing the music content. When starting the reproduction data processing control processing procedure RT1, the data processing control unit 52 writes the packet PC sent out from the CPU 20 in the input buffer memory 50 and the reproduction data processing given from the CPU 20 in step SP1. The process start command is received, and the process proceeds to the next step SP2.

ステップSP2においてデータ処理制御部52は、入力バッファメモリ50から、これに書き込まれたパケットPCのパケットヘッダPHを読み出す。そしてデータ処理制御部52は、かかるパケットヘッダPH内の処理条件設定情報及び制御情報の内容を検出して、次のステップSP3に移る。ステップSP3においてデータ処理制御部52は、処理条件設定情報に応じて、データ処理ブロック53のデコーダ部54、サンプリングレートコンバータ部55及びデエンファシスフィルタ部56に対し、必要に応じて初期化した後、処理条件を設定して、次のステップSP4に移る。ステップSP4においてデータ処理制御部52は、制御情報内の入力データサイズを元に、処理条件設定情報内のサンプリングレートやビットレート等の設定条件を適宜用いて、この時点に処理対象のパケットデータPD(すなわち、この時点に入力バッファメモリ50に書き込まれたパケットPCのパケットデータPD)を先端から終端まで再生用データ処理した結果得られる出力データの出力データサイズを算出して、次のステップSP5に移る。   In step SP2, the data processing control unit 52 reads the packet header PH of the packet PC written in the input buffer memory 50. Then, the data processing control unit 52 detects the contents of the processing condition setting information and the control information in the packet header PH, and proceeds to the next step SP3. In step SP3, the data processing control unit 52 initializes the decoder unit 54, the sampling rate converter unit 55, and the de-emphasis filter unit 56 of the data processing block 53 according to the processing condition setting information as necessary, The processing conditions are set, and the process proceeds to the next step SP4. In step SP4, the data processing control unit 52 appropriately uses setting conditions such as the sampling rate and bit rate in the processing condition setting information based on the input data size in the control information, and processes the packet data PD to be processed at this time. (That is, the packet data PD of the packet PC written in the input buffer memory 50 at this time point) The output data size of the output data obtained as a result of processing the data for reproduction from the front end to the end is calculated, and the next step SP5 is performed. Move.

ステップSP5においてデータ処理制御部52は、入力バッファメモリ50内のパケットデータPDを所定のデータ処理単位に分割してデータ処理ブロック53(すなわち、デコーダ部54)に入力し、次のステップSP6に移る。ここで、データ処理制御部52は、入力バッファメモリ50内のパケットデータPDに対するデータ処理ブロック53への入力を開始すると、当該データ処理ブロック53に入力した分のパケットデータPDのデータサイズを監視している。従ってステップSP6においてデータ処理制御部52は、データ処理ブロック53に入力したパケットデータPDのデータサイズが入力データサイズに到達したか否かを判別する。このステップSP6において否定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDの先頭から終端までをデータ処理ブロック53に対し未だ入力してはいないことを表している。従ってデータ処理制御部52は、このとき次のステップSP7に移る。   In step SP5, the data processing control unit 52 divides the packet data PD in the input buffer memory 50 into predetermined data processing units and inputs them to the data processing block 53 (that is, the decoder unit 54), and proceeds to the next step SP6. . Here, when the data processing control unit 52 starts to input the packet data PD in the input buffer memory 50 to the data processing block 53, the data processing control unit 52 monitors the data size of the packet data PD corresponding to the data input to the data processing block 53. ing. Accordingly, in step SP6, the data processing control unit 52 determines whether or not the data size of the packet data PD input to the data processing block 53 has reached the input data size. If a negative result is obtained in step SP6, this means that the data from the beginning to the end of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50 has not yet been input to the data processing block 53. Yes. Therefore, the data processing control unit 52 proceeds to the next step SP7 at this time.

ステップSP7においてデータ処理制御部52は、データ処理ブロック53においてパケットデータPDに対し再生用データ処理を実行させ、次のステップSP8に移る。ステップSP8においてデータ処理制御部52は、データ処理ブロック53においてパケットデータPDに対し再生用データ処理を実行させた結果得られた処理データを出力データとしてアナログ処理回路28に送出させ、次のステップSP9に移る。   In step SP7, the data processing control unit 52 causes the data processing block 53 to execute reproduction data processing on the packet data PD, and proceeds to the next step SP8. In step SP8, the data processing control unit 52 sends the processing data obtained as a result of executing the data processing for reproduction on the packet data PD in the data processing block 53 to the analog processing circuit 28 as output data, and next step SP9. Move on.

ここでデータ処理制御部52は、この際、データ処理ブロック53から出力された分の出力データのデータサイズを監視している。従ってステップSP9においてデータ処理制御部52は、データ処理ブロック53から出力された出力データのデータサイズが、先に算出した出力データサイズに到達したか否かを判別する。このステップSP9において否定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDを先頭から終端まで再生用データ処理し終えてはいないことを表している。従ってデータ処理制御部52は、このときステップSP5に戻る。従ってデータ処理制御部52は、この後、ステップSP6及びステップSP9の何れか一方において肯定結果が得られるまでの間、ステップSP5乃至ステップSP9の処理を循環的に繰り返し実行する。これによりデータ処理制御部52は、入力バッファメモリ50内のパケットデータPDを順次所定のデータ処理単位毎にデータ処理ブロック53に入力し、当該パケットデータPDを再生用データ処理させて、その結果得られる出力データをアナログ処理回路28に送出する。   Here, the data processing control unit 52 monitors the data size of the output data for the amount output from the data processing block 53 at this time. Accordingly, in step SP9, the data processing control unit 52 determines whether or not the data size of the output data output from the data processing block 53 has reached the previously calculated output data size. If a negative result is obtained in step SP9, this indicates that the reproduction data processing of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50 has not been completed from the beginning to the end. Therefore, the data processing control unit 52 returns to step SP5 at this time. Therefore, after that, the data processing control unit 52 cyclically repeats the processing from step SP5 to step SP9 until a positive result is obtained in any one of step SP6 and step SP9. Thus, the data processing control unit 52 sequentially inputs the packet data PD in the input buffer memory 50 to the data processing block 53 for each predetermined data processing unit, processes the packet data PD for reproduction, and obtains the result. The output data is sent to the analog processing circuit 28.

ところで上述したステップSP6において肯定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDの先頭から終端までをデータ処理ブロック53に入力したことを表している。従ってデータ処理制御部52は、このときステップSP10に移る。ステップSP10においてデータ処理制御部52は、制御情報により終端処理の実行指示を検出していたか否かを判別する。このステップSP10において否定結果が得られると、このことはデータ処理制御部52が先のステップSP2において終端処理の実行指示を検出してはいないことを表している。すなわち、かかる否定結果は、CPU20から与えられる複数のパケットデータPDを連続して再生用データ処理することを表している。従ってデータ処理制御部52は、このときステップSP1に戻る。   When a positive result is obtained in step SP6 described above, this indicates that the data from the beginning to the end of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50 is input to the data processing block 53. Therefore, the data processing control unit 52 moves to step SP10 at this time. In step SP10, the data processing control unit 52 determines whether or not a termination processing execution instruction has been detected based on the control information. If a negative result is obtained in step SP10, this indicates that the data processing control unit 52 has not detected an execution instruction for termination processing in the previous step SP2. That is, such a negative result indicates that a plurality of packet data PD given from the CPU 20 is continuously processed for reproduction data. Therefore, the data processing control unit 52 returns to step SP1 at this time.

従ってデータ処理制御部52は、CPU20から次に再生用データ処理するパケットデータPDに対する処理開始命令を受け取り、引き続き上述したステップSP2乃至ステップSP4の処理と同様に、このとき入力バッファメモリ50に一時記録した次のパケットデータPDに対応する処理を順次実行した後、ステップSP5に移る。そしてステップSP5においてデータ処理制御部52は、このとき入力バッファメモリ50内の次のパケットデータPDを所定のデータ処理単位に分割してデータ処理ブロック53(すなわち、デコーダ部54)に入力し、次のステップSP6に移る。ステップSP6においてデータ処理制御部52は、このときデータ処理ブロック53に入力された次のパケットデータPDのデータサイズが、当該次のパケットデータPDに対応する入力データサイズに到達したか否かを判別する。そしてステップSP6においてデータ処理制御部52は、否定結果を得ると、次のステップSP7に移る。これによりステップSP7においてデータ処理制御部52は、データ処理ブロック53において先のパケットデータPDの終端に次のパケットデータPDの先頭を連続させて再生用データ処理を実行し、続くステップSP8において、かかる再生用データ処理の結果得られた出力データをアナログ処理回路28に送出して、再びステップSP9に移る。   Therefore, the data processing control unit 52 receives a processing start command for the packet data PD to be processed next for data to be reproduced from the CPU 20, and continues to temporarily record it in the input buffer memory 50 at this time, similarly to the processing in steps SP2 to SP4. After sequentially executing the processing corresponding to the next packet data PD, the process proceeds to step SP5. In step SP5, the data processing control unit 52 then divides the next packet data PD in the input buffer memory 50 into predetermined data processing units and inputs them to the data processing block 53 (that is, the decoder unit 54). The process proceeds to step SP6. In step SP6, the data processing control unit 52 determines whether or not the data size of the next packet data PD input to the data processing block 53 at this time has reached the input data size corresponding to the next packet data PD. To do. In step SP6, when the data processing control unit 52 obtains a negative result, the data processing control unit 52 proceeds to next step SP7. As a result, in step SP7, the data processing control unit 52 executes the reproduction data processing in the data processing block 53 by continuing the head of the next packet data PD at the end of the previous packet data PD. The output data obtained as a result of the data processing for reproduction is sent to the analog processing circuit 28, and the process proceeds to step SP9 again.

ここでステップSP9においてデータ処理制御部52は、再び上述したように否定結果を得ると、ステップSP5に戻る。これによりデータ処理制御部52は、ステップSP5乃至ステップSP9の処理を適宜繰り返し実行することで、この後、出力データのデータサイズが先のパケットデータPDに対応する出力データサイズに到達するまでデータ処理ブロック53を制御する。その結果、データ処理制御部52は、データ処理ブロック53から先のパケットデータPDに対する再生用データ処理により出力されていた出力データのデータサイズが、当該先のパケットデータPDに対応する出力データサイズに到達することにより肯定結果を得ると、次のステップSP11に移る。そしてステップSP11においてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズ(すなわち、監視していた出力データの最終的なデータサイズ)と共に、先のパケットデータPDに対する再生用データ処理が終了したことを通知して、次のステップSP12に移る。ステップSP12においてデータ処理制御部52は、次のパケットデータPDを再生用データ処理中であるか否かを判別する。かかるステップSP12においてデータ処理制御部52は、先のパケットデータPDに連続して次のパケットデータPDを再生用データ処理している途中であるために肯定結果を得ると、ステップSP5に戻る。このようにしてデータ処理制御部52は、CPU20から複数のパケットデータPDが連続して与えられている間は、これら複数のパケットデータPDを連続して再生用データ処理し、その結果。得られた出力データをアナログ処理回路28に送出する。   Here, when the data processing control unit 52 obtains a negative result again as described above in step SP9, the process returns to step SP5. As a result, the data processing control unit 52 repeatedly executes the processing from step SP5 to step SP9 as appropriate, and thereafter, the data processing until the data size of the output data reaches the output data size corresponding to the previous packet data PD. The block 53 is controlled. As a result, the data processing control unit 52 sets the data size of the output data output from the data processing block 53 by the reproduction data processing for the previous packet data PD to the output data size corresponding to the previous packet data PD. If a positive result is obtained by arriving, the process moves to the next step SP11. In step SP11, the data processing control unit 52 performs the data processing for reproduction on the previous packet data PD together with the data size of the output data (that is, the final data size of the monitored output data). After notifying that the process has been completed, the process proceeds to the next step SP12. In step SP12, the data processing control unit 52 determines whether or not the next packet data PD is being processed for reproduction. In step SP12, if the data processing control unit 52 obtains an affirmative result because it is in the middle of processing the data for reproduction of the next packet data PD continuously to the previous packet data PD, it returns to step SP5. In this way, the data processing control unit 52 continuously processes the plurality of packet data PDs for reproduction while the plurality of packet data PDs are continuously given from the CPU 20, and as a result. The obtained output data is sent to the analog processing circuit 28.

ところで上述したステップSP10において肯定結果が得られると、このことはデータ処理制御部52が先のステップSP2において終端処理の実行指示を検出していたことを表している。すなわち、かかる肯定結果は、この時点に再生用データ処理しているパケットデータPDが、単独で再生用データ処理するもの、又は連続する複数のパケットデータPDの最後尾に位置するものであることを表している。従ってデータ処理制御部52は、このとき次のステップSP13に移る。ステップSP13においてデータ処理制御部52は、データ処理ブロック53が内部の処理データを全て再生用データ処理して出力するように当該データ処理ブロック53を制御して動作させることにより、パケットデータPDの終端部分を終端処理し、その結果得られた出力データをアナログ処理回路28に送出して、ステップSP11に移る。   By the way, if a positive result is obtained in step SP10 described above, this indicates that the data processing control unit 52 has detected the execution instruction of the termination process in the previous step SP2. In other words, the positive result indicates that the packet data PD that is being processed for reproduction at this time is one that is for data processing for reproduction alone or that is located at the end of a plurality of consecutive packet data PDs. Represents. Therefore, the data processing control unit 52 proceeds to the next step SP13 at this time. In step SP13, the data processing control unit 52 controls and operates the data processing block 53 so that the data processing block 53 processes and outputs all the internal processing data for reproduction, thereby terminating the end of the packet data PD. The part is terminated, and the output data obtained as a result is sent to the analog processing circuit 28, and the process proceeds to step SP11.

従ってステップSP11においてデータ処理制御部52は、ステップSP13においてパケットデータPDの終端部分を終端処理して得られた出力データ分のデータサイズを、当該終端処理を実行する前の出力データのデータサイズに加算する。これによりデータ処理制御部52は、パケットデータPDの先頭から終端までを再生用データ処理して得られた出力データ全体のデータサイズを得る。そしてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズと共に、パケットデータPDに対する再生用データ処理が終了したことを通知して、次のステップSP12に移る。ところでステップSP12において否定結果が得られると、このことはパケットデータPDに対する再生用データ処理が全て終了したことを表している。従ってデータ処理制御部52は、このとき次のステップSP14に移って、かかる再生用データ処理制御処理手順RT1を終了する。   Accordingly, in step SP11, the data processing control unit 52 sets the data size for the output data obtained by terminating the termination portion of the packet data PD in step SP13 to the data size of the output data before executing the termination processing. to add. As a result, the data processing control unit 52 obtains the data size of the entire output data obtained by processing the data for reproduction from the beginning to the end of the packet data PD. The data processing control unit 52 notifies the CPU 20 that the reproduction data processing for the packet data PD is completed together with the data size of the output data, and proceeds to the next step SP12. By the way, if a negative result is obtained in step SP12, this indicates that all the reproduction data processing for the packet data PD has been completed. Therefore, the data processing control unit 52 moves to the next step SP14 at this time, and ends the reproduction data processing control processing procedure RT1.

またDSP27Bにおいてデータ処理制御部52は、音楽コンテンツの録音時、図11に示す録音用データ処理制御処理手順RT2を開始する。データ処理制御部52は、かかる録音用データ処理制御処理手順RT2を開始すると、ステップSP21において、CPU20から与えられる設定及び制御データと、録音用データ処理の処理開始命令とを受け取って、次のステップSP22に移る。   In the DSP 27B, the data processing control unit 52 starts the recording data processing control processing procedure RT2 shown in FIG. 11 when recording the music content. When the recording data processing control processing procedure RT2 is started, the data processing control unit 52 receives the setting and control data given from the CPU 20 and a recording data processing processing start command in step SP21, and performs the next step. Move on to SP22.

ステップSP22においてデータ処理制御部52は、設定及び制御データに含まれる処理条件設定情報及び制御情報の内容を検出して、次のステップSP23に移る。ステップSP23においてデータ処理制御部52は、処理条件設定情報に応じて、データ処理ブロック53のサンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対し、必要に応じて初期化した後、処理条件を設定して、次のステップSP24に移る。ステップSP24においてデータ処理制御部52は、制御情報内の入力データサイズを元に、処理条件設定情報内のサンプリングレートやビットレート等の設定条件を適宜用いて、この時点に処理対象の音楽データ(すなわち、この時点にアナログ処理回路28から与えられる音楽データ)を先端から終端まで録音用データ処理した結果得られる出力データの出力データサイズを算出して、次のステップSP25に移る。   In step SP22, the data processing control unit 52 detects the contents of the processing condition setting information and control information included in the setting and control data, and proceeds to the next step SP23. In step SP23, the data processing control unit 52 initializes the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 of the data processing block 53 according to the processing condition setting information as necessary. The processing conditions are set and the process proceeds to the next step SP24. In step SP24, the data processing control unit 52 uses the setting conditions such as the sampling rate and the bit rate in the processing condition setting information as appropriate based on the input data size in the control information, and at this time the music data to be processed ( That is, the output data size of the output data obtained as a result of processing the recording data from the front end to the end of the music data given from the analog processing circuit 28 at this time is calculated, and the process proceeds to the next step SP25.

ステップSP25においてデータ処理制御部52は、アナログ処理回路28から与えられる音楽データをデータ処理ブロック53(すなわち、サンプリングレートコンバータ部55)に入力し、次のステップSP26に移る。ここで、データ処理制御部52は、アナログ処理回路28から与えられる音楽データに対するデータ処理ブロック53への入力を開始すると、当該データ処理ブロック53に入力した分の音楽データのデータサイズを監視している。従ってステップSP26においてデータ処理制御部52は、データ処理ブロック53に入力した音楽データのデータサイズが入力データサイズに到達したか否かを判別する。このステップSP26において否定結果が得られると、このことは処理対象の音楽データの先頭から終端までをデータ処理ブロック53に対し未だ入力してはいないことを表している。従ってデータ処理制御部52は、このとき次のステップSP27に移る。   In step SP25, the data processing control unit 52 inputs the music data given from the analog processing circuit 28 to the data processing block 53 (that is, the sampling rate converter unit 55), and proceeds to the next step SP26. Here, when the data processing control unit 52 starts to input the music data supplied from the analog processing circuit 28 to the data processing block 53, the data processing control unit 52 monitors the data size of the music data input to the data processing block 53. Yes. Therefore, in step SP26, the data processing control unit 52 determines whether or not the data size of the music data input to the data processing block 53 has reached the input data size. If a negative result is obtained in step SP26, this means that the data from the beginning to the end of the music data to be processed has not yet been input to the data processing block 53. Therefore, the data processing control unit 52 proceeds to the next step SP27 at this time.

ステップSP27においてデータ処理制御部52は、データ処理ブロック53において音楽データに対し録音用データ処理を実行させ、次のステップSP28に移る。ステップSP28においてデータ処理制御部52は、データ処理ブロック53において音楽データに対し録音用データ処理を実行させた結果得られた処理データを出力データとして出力バッファメモリ51を介しCPU20に送出させて、次のステップSP29に移る。   In step SP27, the data processing control unit 52 causes the data processing block 53 to execute recording data processing on the music data, and proceeds to the next step SP28. In step SP28, the data processing control unit 52 causes the processing data obtained as a result of executing the recording data processing on the music data in the data processing block 53 to be sent as output data to the CPU 20 via the output buffer memory 51, and next processed. The process proceeds to step SP29.

ここでデータ処理制御部52は、この際、データ処理ブロック53から出力された分の出力データのデータサイズを監視している。従ってステップSP29においてデータ処理制御部52は、データ処理ブロック53から出力された出力データのデータサイズが、先に算出した出力データサイズに到達したか否かを判別する。このステップSP29において否定結果が得られると、このことはアナログ処理回路28から与えられる処理対象の音楽データを先頭から終端まで録音用データ処理し終えてはいないことを表している。従ってデータ処理制御部52は、このときステップSP25に戻る。従ってデータ処理制御部52は、この後、ステップSP26及びステップSP29の何れか一方において肯定結果が得られるまでの間、ステップSP25乃至ステップSP29の処理を循環的に繰り返し実行する。これによりデータ処理制御部52は、アナログ処理回路28から入力される音楽データを順次データ処理ブロック53に入力し、当該音楽データを録音用データ処理させて、その結果得られる出力データを、出力バッファメモリ51を介しCPU20に送出する。   Here, the data processing control unit 52 monitors the data size of the output data for the amount output from the data processing block 53 at this time. Accordingly, in step SP29, the data processing control unit 52 determines whether or not the data size of the output data output from the data processing block 53 has reached the previously calculated output data size. If a negative result is obtained in this step SP29, this indicates that the processing-target music data given from the analog processing circuit 28 has not been processed from the beginning to the end. Therefore, the data processing control unit 52 returns to step SP25 at this time. Accordingly, the data processing control unit 52 thereafter repeatedly executes the processing of step SP25 to step SP29 cyclically until a positive result is obtained in either one of step SP26 and step SP29. Thus, the data processing control unit 52 sequentially inputs the music data input from the analog processing circuit 28 to the data processing block 53, processes the music data for recording, and outputs the resulting output data to the output buffer. The data is sent to the CPU 20 via the memory 51.

ところで上述したステップSP26において肯定結果が得られると、このことはアナログ処理回路28からデータ処理ブロック53に入力していた音楽データのデータサイズが入力データサイズに到達したことを表している。従ってデータ処理制御部52は、このときステップSP30に移る。ステップSP30においてデータ処理制御部52は、制御情報により終端処理の実行指示を検出していたか否かを判別する。このステップSP30において否定結果が得られると、このことはデータ処理制御部52が先のステップSP22において終端処理の実行指示を検出してはいないことを表している。すなわち、かかる否定結果は、アナログ処理回路28から順次与えられる複数の音楽データを連続して録音用データ処理することを表している。従ってデータ処理制御部52は、このときステップSP21に戻る。   If a positive result is obtained in step SP26 described above, this indicates that the data size of the music data input from the analog processing circuit 28 to the data processing block 53 has reached the input data size. Therefore, the data processing control unit 52 moves to step SP30 at this time. In step SP30, the data processing control unit 52 determines whether or not a termination processing execution instruction has been detected based on the control information. If a negative result is obtained in step SP30, this indicates that the data processing control unit 52 has not detected an execution instruction for termination processing in the previous step SP22. That is, the negative result indicates that a plurality of music data sequentially supplied from the analog processing circuit 28 is processed for recording data. Therefore, the data processing control unit 52 returns to step SP21 at this time.

従ってデータ処理制御部52は、CPU20から次に録音用データ処理する音楽データに対する設定及び制御データと処理開始命令とを受け取り、引き続き上述したステップSP22乃至ステップSP24の処理と同様に、次の音楽データに対応する処理を順次実行した後、ステップSP25に移る。そしてステップSP25においてデータ処理制御部52は、このときアナログ処理回路28から与えられた次の音楽データをデータ処理ブロック53(すなわち、サンプリングレートコンバータ部55)に入力し、次のステップSP26に移る。ステップSP26においてデータ処理制御部52は、このときデータ処理ブロック53に入力された次の音楽データのデータサイズが、当該次の音楽データに対応する入力データサイズに到達したか否かを判別する。そしてステップSP26においてデータ処理制御部52は、否定結果を得ると、次のステップSP27に移る。これによりステップSP27においてデータ処理制御部52は、データ処理ブロック53において先の音楽データの終端に次の音楽データの先頭を連続させて録音用データ処理を実行し、続くステップSP28において、かかる録音用データ処理の結果得られた出力データを、入力バッファメモリ51を介しCPU20に送出して、再びステップSP29に移る。   Therefore, the data processing control unit 52 receives the setting and control data for the music data to be processed next for recording data and the processing start command from the CPU 20, and continues to the next music data in the same manner as the processing of the above-described steps SP22 to SP24. After sequentially executing the processes corresponding to the above, the process proceeds to step SP25. In step SP25, the data processing control unit 52 then inputs the next music data given from the analog processing circuit 28 to the data processing block 53 (that is, the sampling rate converter unit 55), and proceeds to the next step SP26. In step SP26, the data processing control unit 52 determines whether or not the data size of the next music data input to the data processing block 53 at this time has reached the input data size corresponding to the next music data. In step SP26, when the data processing control unit 52 obtains a negative result, the data processing control unit 52 proceeds to next step SP27. Thus, in step SP27, the data processing control unit 52 executes the recording data processing in the data processing block 53 by continuing the beginning of the next music data at the end of the previous music data, and in the subsequent step SP28, the data recording control unit 52 executes the recording data processing. The output data obtained as a result of the data processing is sent to the CPU 20 via the input buffer memory 51, and the process proceeds to step SP29 again.

ここでステップSP29においてデータ処理制御部52は、再び上述したように否定結果を得ると、ステップSP25に戻る。これによりデータ処理制御部52は、ステップSP25乃至ステップSP29の処理を適宜繰り返し実行することで、この後、出力データのデータサイズが先の音楽データに対応する出力データサイズに到達するまでデータ処理ブロック53を制御する。その結果、データ処理制御部52は、データ処理ブロック53から先の音楽データに対する録音用データ処理により出力されていた出力データのデータサイズが、当該先の音楽データに対応する出力データサイズに到達することにより肯定結果を得ると、次のステップSP31に移る。そしてステップSP31においてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズ(すなわち、監視していた出力データの最終的なデータサイズ)と共に、先の音楽データに対する録音用データ処理が終了したことを通知して、次のステップSP32に移る。ステップSP32においてデータ処理制御部52は、次の音楽データを録音用データ処理中であるか否かを判別する。かかるステップSP32においてデータ処理制御部52は、先の音楽データに連続して次の音楽データを録音用データ処理している途中であるために肯定結果を得ると、ステップSP25に戻る。このようにしてデータ処理制御部52は、アナログ処理回路28から複数の音楽データが連続して与えられている間は、これら複数の音楽データを連続して録音用データ処理し、その結果。得られた出力データを、出力バッファメモリ51を介しCPU20に送出する。   Here, if the data processing control unit 52 obtains a negative result again as described above in step SP29, it returns to step SP25. As a result, the data processing control unit 52 repeatedly executes the processing from step SP25 to step SP29 as appropriate, and thereafter the data processing block until the data size of the output data reaches the output data size corresponding to the previous music data. 53 is controlled. As a result, in the data processing control unit 52, the data size of the output data output from the data processing block 53 by the recording data processing for the previous music data reaches the output data size corresponding to the previous music data. If a positive result is obtained, the process proceeds to the next step SP31. In step SP31, the data processing control unit 52 completes the recording data processing for the previous music data together with the data size of the output data (that is, the final data size of the monitored output data). The process proceeds to the next step SP32. In step SP32, the data processing control unit 52 determines whether or not the next music data is being processed for recording data. In step SP32, the data processing control unit 52 returns to step SP25 if it obtains a positive result because the next music data is being processed for recording data following the previous music data. In this way, the data processing control unit 52 continuously processes the plurality of music data for recording while the plurality of music data is continuously supplied from the analog processing circuit 28, and as a result. The obtained output data is sent to the CPU 20 via the output buffer memory 51.

ところで上述したステップSP30において肯定結果が得られると、このことはデータ処理制御部52が先のステップSP22において終端処理の実行指示を検出していたことを表している。すなわち、かかる肯定結果は、この時点に録音用データ処理している音楽データが、単独で録音用データ処理するもの、又は連続する複数の音楽データの最後尾に位置するものであることを表している。従ってデータ処理制御部52は、このとき次のステップSP33に移る。ステップSP33においてデータ処理制御部52は、データ処理ブロック53が内部の処理データを全て録音用データ処理して出力するように当該データ処理ブロック53を制御して動作させることにより、音楽データの終端部分を終端処理し、その結果得られた出力データを、出力バッファメモリ51を介しCPU20に送出して、ステップSP31に移る。   By the way, if a positive result is obtained in step SP30 described above, this indicates that the data processing control unit 52 has detected the execution instruction of the termination process in the previous step SP22. In other words, this positive result indicates that the music data that is being processed for recording at this time is one that is for recording data processing alone, or is located at the end of a plurality of continuous music data. Yes. Therefore, the data processing control unit 52 proceeds to the next step SP33 at this time. In step SP33, the data processing control unit 52 controls and operates the data processing block 53 so that the data processing block 53 processes and outputs all of the internal processing data for recording, so that the end portion of the music data is processed. Is terminated, and the output data obtained as a result is sent to the CPU 20 via the output buffer memory 51, and the process proceeds to step SP31.

従ってステップSP31においてデータ処理制御部52は、ステップSP33において音楽データの終端部分を終端処理して得られた出力データ分のデータサイズを、当該終端処理を実行する前の出力データのデータサイズに加算する。これによりデータ処理制御部52は、音楽データの先頭から終端までを録音用データ処理して得られた出力データ全体のデータサイズを得る。そしてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズと共に、音楽データに対する録音用データ処理が終了したことを通知して、次のステップSP32に移る。ところでステップSP32において否定結果が得られると、このことは音楽データに対する録音用データ処理が全て終了したことを表している。従ってデータ処理制御部52は、このとき次のステップSP34に移って、かかる録音用データ処理制御処理手順RT2を終了する。   Therefore, in step SP31, the data processing control unit 52 adds the data size for the output data obtained by terminating the termination portion of the music data in step SP33 to the data size of the output data before executing the termination processing. To do. As a result, the data processing control unit 52 obtains the data size of the entire output data obtained by processing the recording data from the beginning to the end of the music data. Then, the data processing control unit 52 notifies the CPU 20 that the recording data processing for the music data is completed together with the data size of the output data, and proceeds to the next step SP32. By the way, if a negative result is obtained in step SP32, this indicates that all the recording data processing for the music data has been completed. Accordingly, at this time, the data processing control unit 52 moves to the next step SP34 and ends the recording data processing control processing procedure RT2.

さらにDSP27Bにおいてデータ処理制御部52は、音楽コンテンツに対するコーデックフォーマットの変換時、図12に示すフォーマット変換用データ処理制御処理手順RT3を開始する。データ処理制御部52は、かかるフォーマット変換用データ処理制御処理手順RT3を開始すると、ステップSP41において、CPU20から送出されるパケットPCが入力バッファメモリ50に書き込まれると共に、当該CPU20から与えられるフォーマット変換用データ処理の処理開始命令を受け取って、次のステップSP42に移る。   Further, in the DSP 27B, the data processing control unit 52 starts the format conversion data processing control processing procedure RT3 shown in FIG. 12 when converting the codec format for the music content. When starting the format conversion data processing control processing procedure RT3, the data processing control unit 52 writes the packet PC sent from the CPU 20 to the input buffer memory 50 in step SP41, and also receives the format conversion data given from the CPU 20. The processing start command for data processing is received, and the process proceeds to the next step SP42.

ステップSP42においてデータ処理制御部52は、入力バッファメモリ50から、これに書き込まれたパケットPCのパケットヘッダPHを読み出すと共に、かかるパケットヘッダPH内の処理条件設定情報及び制御情報の内容を検出して、次のステップSP43に移る。ステップSP43においてデータ処理制御部52は、処理条件設定情報に応じて、データ処理ブロック53のデコーダ部54、サンプリングレートコンバータ部55、デエンファシスフィルタ部56及びエンコーダ部57に対し、必要に応じて初期化した後、処理条件を設定して、次のステップSP44に移る。ステップSP44においてデータ処理制御部52は、制御情報内の入力データサイズを元に、処理条件設定情報内のサンプリングレートやビットレート等の設定条件を適宜用いて、この時点に処理対象のパケットデータPD(すなわち、この時点に入力バッファメモリ50に書き込まれたパケットPCのパケットデータPD)を先端から終端までフォーマット変換用データ処理した結果得られる出力データの出力データサイズを算出して、次のステップSP45に移る。   In step SP42, the data processing control unit 52 reads the packet header PH of the packet PC written therein from the input buffer memory 50, and detects the contents of the processing condition setting information and control information in the packet header PH. Then, the process proceeds to the next step SP43. In step SP43, the data processing control unit 52 initializes the decoder unit 54, the sampling rate converter unit 55, the de-emphasis filter unit 56, and the encoder unit 57 of the data processing block 53 as needed according to the processing condition setting information. Then, the processing conditions are set, and the process proceeds to the next step SP44. In step SP44, the data processing control unit 52 uses setting conditions such as the sampling rate and bit rate in the processing condition setting information as appropriate based on the input data size in the control information, and packet data PD to be processed at this point in time. That is, the output data size of the output data obtained as a result of processing the data for format conversion from the leading end to the end of the packet data PD of the packet PC written in the input buffer memory 50 at this time is calculated, and the next step SP45 Move on.

ステップSP45においてデータ処理制御部52は、入力バッファメモリ50内のパケットデータPDを所定のデータ処理単位に分割してデータ処理ブロック53(すなわち、デコーダ部54)に入力し、次のステップSP46に移る。ここで、データ処理制御部52は、上述と同様にデータ処理ブロック53に入力した分のパケットデータPDのデータサイズを監視している。従ってステップSP46においてデータ処理制御部52は、データ処理ブロック53に入力したパケットデータPDのデータサイズが入力データサイズに到達したか否かを判別する。このステップSP46において否定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDの先頭から終端までをデータ処理ブロック53に対し未だ入力してはいないことを表している。従ってデータ処理制御部52は、このとき次のステップSP47に移る。   In step SP45, the data processing control unit 52 divides the packet data PD in the input buffer memory 50 into predetermined data processing units and inputs them to the data processing block 53 (that is, the decoder unit 54), and proceeds to the next step SP46. . Here, the data processing control unit 52 monitors the data size of the packet data PD corresponding to the data input to the data processing block 53 as described above. Accordingly, in step SP46, the data processing control unit 52 determines whether or not the data size of the packet data PD input to the data processing block 53 has reached the input data size. If a negative result is obtained in step SP46, this means that the data from the beginning to the end of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50 has not yet been input to the data processing block 53. Yes. Accordingly, the data processing control unit 52 proceeds to the next step SP47 at this time.

ステップSP47においてデータ処理制御部52は、データ処理ブロック53においてパケットデータPDに対しフォーマット変換用データ処理を実行させ、次のステップSP48に移る。ステップSP48においてデータ処理制御部52は、データ処理ブロック53においてパケットデータPDに対しフォーマット変換用データ処理を実行させた結果得られた処理データを出力データとして、出力バッファメモリ51を介しCPU20に送出させ、次のステップSP49に移る。   In step SP47, the data processing control unit 52 causes the data processing block 53 to execute data processing for format conversion on the packet data PD, and proceeds to the next step SP48. In step SP48, the data processing control unit 52 sends the processing data obtained as a result of executing the data processing for format conversion on the packet data PD in the data processing block 53 to the CPU 20 via the output buffer memory 51 as output data. Then, the process proceeds to next step SP49.

ここでデータ処理制御部52は、この際、上述と同様にデータ処理ブロック53から出力された分の出力データのデータサイズを監視している。従ってステップSP49においてデータ処理制御部52は、データ処理ブロック53から出力された出力データのデータサイズが、先に算出した出力データサイズに到達したか否かを判別する。このステップSP49において否定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDの先頭から終端までをフォーマット変換用データ処理し終えてはいないことを表している。従ってデータ処理制御部52は、このときステップSP45に戻る。従ってデータ処理制御部52は、この後、ステップSP46及びステップSP49の何れか一方において肯定結果が得られるまでの間、ステップSP45乃至ステップSP49の処理を循環的に繰り返し実行する。これによりデータ処理制御部52は、入力バッファメモリ50内のパケットデータPDを順次所定のデータ処理単位毎にデータ処理ブロック53に入力し、当該パケットデータPDをフォーマット変換用データ処理させて、その結果得られる出力データを、出力バッファメモリ51を介しCPU20に送出する。   Here, the data processing control unit 52 monitors the data size of the output data corresponding to the amount output from the data processing block 53 in the same manner as described above. Accordingly, in step SP49, the data processing control unit 52 determines whether or not the data size of the output data output from the data processing block 53 has reached the previously calculated output data size. If a negative result is obtained in step SP49, this means that the format conversion data processing has not been completed from the beginning to the end of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50. Therefore, the data processing control unit 52 returns to step SP45 at this time. Therefore, thereafter, the data processing control unit 52 repeatedly executes the processing of step SP45 to step SP49 cyclically until a positive result is obtained in either one of step SP46 and step SP49. Thereby, the data processing control unit 52 sequentially inputs the packet data PD in the input buffer memory 50 to the data processing block 53 for each predetermined data processing unit, causes the packet data PD to be processed for format conversion, and the result The obtained output data is sent to the CPU 20 via the output buffer memory 51.

ところで上述したステップSP46において肯定結果が得られると、このことは入力バッファメモリ50に一時記録したパケットPCのパケットデータPDの先頭から終端までをデータ処理ブロック53に入力したことを表している。従ってデータ処理制御部52は、このときステップSP50に移る。ステップSP50においてデータ処理制御部52は、制御情報により終端処理の実行指示を検出していたか否かを判別する。このステップSP50において否定結果が得られると、このことはデータ処理制御部52が先のステップSP42において終端処理の実行指示を検出してはいないことを表している。すなわち、かかる否定結果は、CPU20から与えられる複数のパケットデータPDを連続してフォーマット変換用データ処理することを表している。従ってデータ処理制御部52は、このときステップSP41に戻る。   When a positive result is obtained in step SP46 described above, this indicates that the data from the beginning to the end of the packet data PD of the packet PC temporarily recorded in the input buffer memory 50 is input to the data processing block 53. Therefore, the data processing control unit 52 moves to step SP50 at this time. In step SP50, the data processing control unit 52 determines whether or not a termination processing execution instruction has been detected based on the control information. If a negative result is obtained in step SP50, this indicates that the data processing control unit 52 has not detected the termination processing execution instruction in the previous step SP42. That is, such a negative result indicates that a plurality of packet data PD given from the CPU 20 is continuously subjected to format conversion data processing. Therefore, the data processing control unit 52 returns to step SP41 at this time.

従ってデータ処理制御部52は、CPU20から次にフォーマット変換用データ処理するパケットデータPDに対する処理開始命令を受け取り、引き続き上述したステップSP42乃至ステップSP44の処理と同様に、このとき入力バッファメモリ50に一時記録した次のパケットデータPDに対応する処理を順次実行した後、ステップSP45に移る。そしてステップSP45においてデータ処理制御部52は、このとき入力バッファメモリ50内の次のパケットデータPDを所定のデータ処理単位に分割してデータ処理ブロック53(すなわち、デコーダ部54)に入力し、次のステップSP46に移る。ステップSP46においてデータ処理制御部52は、このときデータ処理ブロック53に入力された次のパケットデータPDのデータサイズが、当該次のパケットデータPDに対応する入力データサイズに到達したか否かを判別する。そしてステップSP46においてデータ処理制御部52は、否定結果を得ると、次のステップSP47に移る。これによりステップSP47においてデータ処理制御部52は、データ処理ブロック53において先のパケットデータPDの終端に次のパケットデータPDの先頭を連続させてフォーマット変換用データ処理を実行し、続くステップSP48において、かかるフォーマット変換用データ処理の結果得られた出力データをアナログ処理回路28に送出して、再びステップSP49に移る。   Accordingly, the data processing control unit 52 receives a processing start command for the packet data PD to be processed next for format conversion data from the CPU 20, and continues to temporarily store the input buffer memory 50 at this time, similarly to the processing of the above-described steps SP42 to SP44. After sequentially executing processing corresponding to the recorded next packet data PD, the process proceeds to step SP45. In step SP45, the data processing control unit 52 then divides the next packet data PD in the input buffer memory 50 into a predetermined data processing unit and inputs it to the data processing block 53 (that is, the decoder unit 54). The process proceeds to step SP46. In step SP46, the data processing control unit 52 determines whether or not the data size of the next packet data PD input to the data processing block 53 at this time has reached the input data size corresponding to the next packet data PD. To do. If the data processing control unit 52 obtains a negative result in step SP46, the data processing control unit 52 proceeds to the next step SP47. As a result, in step SP47, the data processing control unit 52 executes the format conversion data processing in the data processing block 53 by continuing the head of the next packet data PD at the end of the previous packet data PD, and in the subsequent step SP48, The output data obtained as a result of the data processing for format conversion is sent to the analog processing circuit 28, and the process again proceeds to step SP49.

ここでステップSP49においてデータ処理制御部52は、再び上述したように否定結果を得ると、ステップSP45に戻る。これによりデータ処理制御部52は、ステップSP45乃至ステップSP49の処理を適宜繰り返し実行することで、この後、出力データのデータサイズが先のパケットデータPDに対応する出力データサイズに到達するまでデータ処理ブロック53を制御する。その結果、データ処理制御部52は、データ処理ブロック53から先のパケットデータPDに対するフォーマット変換用データ処理により出力されていた出力データのデータサイズが、当該先のパケットデータPDに対応する出力データサイズに到達することにより肯定結果を得ると、次のステップSP51に移る。そしてステップSP51においてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズ(すなわち、監視していた出力データの最終的なデータサイズ)と共に、先のパケットデータPDに対するフォーマット変換用データ処理が終了したことを通知して、次のステップSP52に移る。ステップSP52においてデータ処理制御部52は、次のパケットデータPDをフォーマット変換用データ処理中であるか否かを判別する。かかるステップSP52においてデータ処理制御部52は、先のパケットデータPDに連続して次のパケットデータPDをフォーマット変換用データ処理している途中であるために肯定結果を得ると、ステップSP45に戻る。このようにしてデータ処理制御部52は、CPU20から複数のパケットデータPDが連続して与えられている間は、これら複数のパケットデータPDを連続してフォーマット変換用データ処理し、その結果得られた出力データを、出力バッファメモリ51を介しCPU20に送出する。   Here, if the data processing control unit 52 obtains a negative result again as described above in step SP49, it returns to step SP45. As a result, the data processing control unit 52 repeatedly executes the processing from step SP45 to step SP49 as needed, and thereafter the data processing until the data size of the output data reaches the output data size corresponding to the previous packet data PD. The block 53 is controlled. As a result, the data processing control unit 52 determines that the output data size output from the data processing block 53 by the format conversion data processing for the previous packet data PD is the output data size corresponding to the previous packet data PD. If an affirmative result is obtained by reaching, the process proceeds to the next step SP51. In step SP51, the data processing control unit 52 instructs the CPU 20 to process the format conversion data for the previous packet data PD together with the data size of the output data (that is, the final data size of the output data monitored). Is finished, and the process proceeds to the next step SP52. In step SP52, the data processing control unit 52 determines whether or not the next packet data PD is being subjected to format conversion data processing. In step SP52, when the data processing control unit 52 obtains an affirmative result because the next packet data PD is being processed for data for format conversion following the previous packet data PD, the process returns to step SP45. In this way, while the plurality of packet data PDs are continuously given from the CPU 20, the data processing control unit 52 continuously processes the plurality of packet data PDs for format conversion and obtains the result. The output data is sent to the CPU 20 via the output buffer memory 51.

ところで上述したステップSP50において肯定結果が得られると、このことはデータ処理制御部52が先のステップSP42において終端処理の実行指示を検出していたことを表している。すなわち、かかる肯定結果は、この時点にフォーマット変換用データ処理しているパケットデータPDが、単独でフォーマット変換用データ処理するもの、又は連続する複数のパケットデータPDの最後尾に位置するものであることを表している。従ってデータ処理制御部52は、このとき次のステップSP53に移る。ステップSP53においてデータ処理制御部52は、データ処理ブロック53が内部の処理データを全てフォーマット変換用データ処理して出力するように当該データ処理ブロック53を制御して動作させることにより、パケットデータPDの終端部分を終端処理し、その結果得られた出力データを、出力バッファメモリ51を介しCPU20に送出して、ステップSP51に移る。   By the way, if a positive result is obtained in step SP50 described above, this indicates that the data processing control unit 52 has detected the execution instruction of the termination process in the previous step SP42. That is, the positive result is that the packet data PD that has been processed for format conversion at this time is processed by the format conversion data alone, or is located at the end of a plurality of continuous packet data PD. Represents that. Therefore, the data processing control unit 52 proceeds to the next step SP53 at this time. In step SP53, the data processing control unit 52 controls and operates the data processing block 53 so that the data processing block 53 processes and outputs all the internal processing data for format conversion. The termination part is terminated, and the output data obtained as a result is sent to the CPU 20 via the output buffer memory 51, and the process proceeds to step SP51.

従ってステップSP51においてデータ処理制御部52は、ステップSP53においてパケットデータPDの終端部分を終端処理して得られた出力データ分のデータサイズを、当該終端処理を実行する前の出力データのデータサイズに加算する。これによりデータ処理制御部52は、パケットデータPDの先頭から終端までをフォーマット変換用データ処理して得られた出力データ全体のデータサイズを得る。そしてデータ処理制御部52は、CPU20に対し、かかる出力データのデータサイズと共に、パケットデータPDに対するフォーマット変換用データ処理が終了したことを通知して、次のステップSP52に移る。ところでステップSP52において否定結果が得られると、このことはパケットデータPDに対するフォーマット変換用データ処理が全て終了したことを表している。従ってデータ処理制御部52は、このとき次のステップSP54に移って、かかるフォーマット変換用データ処理制御処理手順RT3を終了する。   Accordingly, in step SP51, the data processing control unit 52 sets the data size for the output data obtained by terminating the termination portion of the packet data PD in step SP53 to the data size of the output data before executing the termination processing. to add. As a result, the data processing control unit 52 obtains the data size of the entire output data obtained by processing the data for format conversion from the beginning to the end of the packet data PD. Then, the data processing control unit 52 notifies the CPU 20 that the format conversion data processing for the packet data PD is completed together with the data size of the output data, and proceeds to the next step SP52. If a negative result is obtained in step SP52, this indicates that all the format conversion data processing for the packet data PD has been completed. Accordingly, at this time, the data processing control unit 52 proceeds to the next step SP54 and ends the format conversion data processing control processing procedure RT3.

ところでコンテンツ記録再生装置1は、音楽コンテンツを再生する場合、複数の音楽コンテンツを連続再生する連続再生モードや、一曲の音楽コンテンツを繰り返し再生する1曲繰返再生モード、また1曲の音楽コンテンツのみを1回だけ再生する単独再生モード等のように、種々の再生モードで音楽コンテンツを再生することができる。またコンテンツ記録再生装置1は、音楽コンテンツの再生中にかかる音楽コンテンツに対する再生モードをユーザの指示に応じて変更することもできる。このため図13に示すように、コンテンツ記録再生装置1は、例えば、予め再生対象の音楽コンテンツと、その再生の順番とを登録したプレイリストに従って、連続再生モードで複数の音楽コンテンツを連続再生している際、最後尾以外の1曲の音楽コンテンツ(図13に示すコンテンツ3)に対する再生モードがその再生途中にユーザによって1曲繰返再生モードや単独再生モードに変更される可能性がある。   By the way, when playing back music content, the content recording / playback apparatus 1 continuously plays back a plurality of music contents, repeats a single music playback mode that repeatedly plays a single music content, or plays a single music content. Music content can be played back in various playback modes, such as a single playback mode that plays back only once. The content recording / playback apparatus 1 can also change the playback mode for the music content during playback of the music content in accordance with a user instruction. For this reason, as shown in FIG. 13, the content recording / reproducing apparatus 1 continuously reproduces a plurality of music contents in the continuous reproduction mode, for example, according to a playlist in which the music contents to be reproduced and the reproduction order are registered in advance. In this case, the playback mode for one piece of music content (content 3 shown in FIG. 13) other than the last may be changed to the one-track repeated playback mode or the single playback mode by the user during the playback.

そしてCPU20は、このように例えばプレイリストに従い、複数の音楽コンテンツを連続再生する場合、これら複数の音楽コンテンツに対応する複数のパケットPCのうち、最後尾以外の音楽コンテンツに対応するパケットPCについてはパケットヘッダPHに対し終端処理の実行指示を格納しないようにしている。このためDSP27Bでは、複数の音楽コンテンツに対する連続再生モードに応じて複数のパケットデータPDを連続して再生用データ処理している途中で、最後尾以外のパケットデータPDに対する再生用データ処理中に、連続再生モードが1曲繰返再生モードや単独再生モードに変更されると、かかるパケットデータPDに対応するパケットヘッダPHに対し終端処理の実行指示が含まれていないと共に、CPU20から、かかるパケットデータPDに連続して他のパケットデータPDが与えられることもないことになる。従ってDSP27Bのデータ処理制御部52は、このような状況において上述し再生用データ処理制御処理手順RT1を実行していたのでは、連続再生モードから1曲繰返再生モードや単独再生モードに変更されたときに再生用データ処理途中のパケットデータPDに対し終端部分を終端処理し得なくなる。   When the CPU 20 continuously reproduces a plurality of music contents in accordance with, for example, a playlist as described above, the packet PC corresponding to the music contents other than the last of the plurality of packet PCs corresponding to the plurality of music contents is described. The termination instruction execution instruction is not stored in the packet header PH. For this reason, in the DSP 27B, during the data processing for the reproduction of the packet data PD other than the last while the data for the reproduction of the plurality of packet data PD is continuously processed according to the continuous reproduction mode for the plurality of music contents, When the continuous playback mode is changed to the one-track repeated playback mode or the single playback mode, the termination instruction is not included in the packet header PH corresponding to the packet data PD, and the CPU 20 sends the packet data. No other packet data PD is continuously given to the PD. Accordingly, the data processing control unit 52 of the DSP 27B is changed from the continuous playback mode to the one-track repeated playback mode or the single playback mode when the playback data processing control processing procedure RT1 described above is executed in such a situation. In this case, the end portion of the packet data PD in the middle of the reproduction data processing cannot be terminated.

従ってCPU20は、かかる状況が発生する可能性を考慮して、DSP27Bに対し、音楽コンテンツの連続再生時にパケットPCのパケットヘッダPHに対し、終端処理の実行指示を格納しないときでも、かかるパケットPCのパケットデータPDに引き続き他のパケットデータPDを連続的に再生用データ処理しないときには、先のパケットデータPDの終端部分を自動的に終端処理する第1の終端処理自動実行モードに設定し得るようにしている。   Accordingly, in consideration of the possibility that such a situation will occur, the CPU 20 does not store the termination instruction for the packet PC in the packet header PH of the packet PC during continuous playback of music content. When other packet data PD is not continuously processed for data subsequent to the packet data PD, it is possible to set the first termination processing automatic execution mode in which the termination portion of the previous packet data PD is automatically terminated. ing.

すなわちDSP27Bが第1の終端処理自動実行モードに設定されている場合、データ処理制御部52は、音楽コンテンツの再生時、図10との対応部分に同一符号を付した図14に示す再生用データ処理制御処理手順RT4を開始する。データ処理制御部52は、かかる再生用データ処理制御処理手順RT4を開始すると、ステップSP1乃至ステップSP9の処理を順次実行するようにして、ステップSP6において肯定結果を得ると、ステップSP10に移る。そしてステップSP10においてデータ処理制御部52は、終端処理の実行指示を検出していたこと、すなわち、この時点に再生用データ処理しているパケットデータPDが、単独で再生用データ処理するもの、又は連続する複数のパケットデータPDの最後尾に位置するものであるために、肯定結果を得ると、ステップSP13に移る。   That is, when the DSP 27B is set in the first termination process automatic execution mode, the data processing control unit 52 reproduces the data for reproduction shown in FIG. The process control processing procedure RT4 is started. When starting the reproduction data processing control processing procedure RT4, the data processing control unit 52 sequentially executes the processing from step SP1 to step SP9. In step SP10, the data processing control unit 52 detects that the termination processing execution instruction has been detected, that is, the packet data PD that is being processed for reproduction at this point is subjected to reproduction data processing alone, or Since it is located at the end of a plurality of continuous packet data PD, if a positive result is obtained, the process proceeds to step SP13.

これに対してステップSP10においてデータ処理制御部52は、終端処理の実行指示を検出してはいないために否定結果を得ると、次のステップSP61に移る。そしてステップSP61においてデータ処理制御部52は、CPU20から、この時点に再生用データ処理していたパケットデータPDに連続して次のパケットデータPDが与えられたか否かを判別する。このステップSP61において肯定結果が得られると、このことはパケットデータPDを再生用データ処理している途中で再生モードが何ら変更されてはいないことを表している。従ってデータ処理制御部52は、このときステップSP1に戻る。これに対してステップSP61において否定結果が得られると、このことは、パケットデータPDの再生用データ処理中に、連続再生モードが1曲繰返再生モード又は単独再生モードに変更されたことを表している。従ってデータ処理制御部52は、このときステップSP13に移る。そしてデータ処理制御部52は、この後ステップSP13、ステップSP11及びステップSP12の処理を順次実行した後、次のステップSP62に移って、かかる再生用データ処理制御処理手順RT4を終了する。   On the other hand, if the data processing control unit 52 obtains a negative result in step SP10 because it has not detected the termination processing execution instruction, it proceeds to the next step SP61. In step SP61, the data processing control unit 52 determines whether or not the next packet data PD is continuously given from the CPU 20 to the packet data PD that has been processed for reproduction data at this time. If an affirmative result is obtained in step SP61, this indicates that the playback mode has not been changed during the processing of the packet data PD for playback. Therefore, the data processing control unit 52 returns to step SP1 at this time. On the other hand, if a negative result is obtained in step SP61, this indicates that the continuous playback mode has been changed to the one-track repeated playback mode or the single playback mode during the data processing for playback of the packet data PD. ing. Therefore, the data processing control unit 52 moves to step SP13 at this time. After that, the data processing control unit 52 subsequently executes the processing of step SP13, step SP11 and step SP12, and then proceeds to the next step SP62 to end the reproduction data processing control processing procedure RT4.

このようにしてデータ処理制御部52は、複数のパケットデータPDを連続して再生用データ処理している途中で、再生モードが連続再生モードから1曲繰返再生モードや単独再生モードに変更されても、これに的確に対処して、モード変更時点に再生用データ処理していたパケットデータPDの終端部分を終端処理することができる。   In this way, the data processing control unit 52 changes the playback mode from the continuous playback mode to the one-track repeated playback mode or the single playback mode while continuously processing the data for playback of a plurality of packet data PD. However, this can be dealt with accurately, and the end portion of the packet data PD that has been processed for reproduction data at the time of mode change can be terminated.

ところでDSP27Bにおいてデータ処理制御部52は、再生用データ処理を実行する場合、処理対象のパケットデータPDに適用されたコーデックフォーマットに応じてデコーダ部54において再生用データ処理に用いるデコーダ54A乃至54Nを切り替えている。そしてCPU20は、例えば複数のパケットデータPDを連続して再生用データ処理させる場合、1つのパケットデータに適用されたコーデックフォーマットと、これに連続して次に再生用データ処理させるパケットデータPDに適用されたコーデックフォーマットとが異なると、当該1つのパケットデータPDに付加されるパケットヘッダPHに対し終端処理の実行指示を格納している。従ってデータ処理制御部52は、互いに異なるコーデックフォーマットが適用された2つのパケットデータPDを連続して再生用データ処理する場合、先のパケットデータPDが入力データサイズ分、データ処理ブロック53に入力されたとき、これに対応する終端処理の実行指示に応じて、当該先のパケットデータPDの終端部分を終端処理する。これによりデータ処理制御部52は、先のパケットデータPDの終端部分の処理データが何れかのデコーダ54A乃至54N内部に残った状態のまま、引き続き他のデコーダ54A乃至54Nで次のパケットデータPDがデコード処理されることを回避している。   By the way, in the DSP 27B, when executing the data processing for reproduction, the decoder unit 54 switches the decoders 54A to 54N used for the data processing for reproduction according to the codec format applied to the packet data PD to be processed. ing. Then, for example, when processing a plurality of packet data PD continuously for reproduction data, the CPU 20 applies the codec format applied to one packet data and the packet data PD to be processed next for reproduction data successively. If the codec format is different, the termination instruction execution instruction is stored in the packet header PH added to the one packet data PD. Therefore, when the data processing control unit 52 continuously processes data for reproduction of two packet data PDs to which different codec formats are applied, the previous packet data PD is input to the data processing block 53 for the input data size. In response to the instruction to execute the corresponding termination processing, the termination portion of the destination packet data PD is terminated. As a result, the data processing control unit 52 continues to process the next packet data PD in the other decoders 54A to 54N while the processing data of the end portion of the previous packet data PD remains in any of the decoders 54A to 54N. The decoding process is avoided.

しかしながらコンテンツ記録再生装置1は、例えばプレイリストに従って複数の音楽コンテンツを再生している場合、再生対象の音楽コンテンツを他の音楽コンテンツと交換する等のように、かかるプレイリストの内容を変更することができる。このため例えば図15に示すように、コンテンツ記録再生装置1では、プレイリストに従って同一のコーデックフォーマットが適用された連続する2つの音楽コンテンツ(図15に示すコンテンツ3及びコンテンツ4)のうち先の音楽コンテンツ(図15に示すコンテンツ3)の再生途中に、次の音楽コンテンツ(図15に示すコンテンツ4)が、これらに適用されたコーデックフォーマットとは異なる他のコーデックフォーマットが適用された他の音楽コンテンツ(図15に示すコンテンツ5)に交換される可能性がある。   However, when the content recording / playback apparatus 1 is playing a plurality of music contents according to the playlist, for example, the content recording / playback apparatus 1 can change the contents of the playlist such as exchanging the music content to be played back with other music contents. Can do. Therefore, for example, as shown in FIG. 15, in the content recording / playback apparatus 1, the first music among two consecutive music contents (the contents 3 and 4 shown in FIG. 15) to which the same codec format is applied according to the playlist. During the reproduction of the content (content 3 shown in FIG. 15), the next music content (content 4 shown in FIG. 15) is another music content to which another codec format different from the codec format applied thereto is applied. There is a possibility of being exchanged for (content 5 shown in FIG. 15).

そしてデータ処理制御部52は、かかる状況が発生すると、先の音楽コンテンツに対応するパケットデータPDに対し、終端処理の実行指示が格納されてはいないパケットヘッダPHが付加されているため、このような状況において上述し再生用データ処理制御処理手順RT1を実行していたのでは、先の音楽コンテンツに対応する再生用データ処理途中のパケットデータPDに対し終端部分を終端処理し得なくなる。従ってCPU20は、かかる状況が発生する可能性を考慮して、DSP27Bに対し、音楽コンテンツの連続再生時に、何れかのコーデックフォーマットが適用されたパケットデータPDに対する再生用データ処理の実行途中に、そのコーデックフォーマットと同じコーデックフォーマットが適用された次に再生用データ処理するパケットデータPDが、他のコーデックフォーマットが適用された他のパケットデータPDに変更された場合、当該再生用データ処理中のパケットデータPDの終端部分を自動的に終端処理する第2の終端処理自動実行モードに設定し得るようにしている。   When such a situation occurs, the data processing control unit 52 adds a packet header PH that does not store a termination processing execution instruction to the packet data PD corresponding to the previous music content. If the playback data processing control processing procedure RT1 described above is executed in such a situation, the end portion of the packet data PD in the middle of playback data processing corresponding to the previous music content cannot be terminated. Therefore, in consideration of the possibility of such a situation, the CPU 20 causes the DSP 27B to execute the data processing for reproduction on the packet data PD to which any codec format is applied during continuous reproduction of music content. When the packet data PD to be processed for reproduction next to which the same codec format as the codec format is applied is changed to other packet data PD to which another codec format is applied, the packet data being processed for the reproduction data The second end processing automatic execution mode for automatically terminating the end portion of the PD can be set.

すなわちDSP27Bが第2の終端処理自動実行モードに設定されている場合、データ処理制御部52は、音楽コンテンツの再生時、図10との対応部分に同一符号を付した図16及び図17に示す再生用データ処理制御処理手順RT5を開始する。データ処理制御部52は、かかる再生用データ処理制御処理手順RT5を開始すると、ステップSP1及びステップSP2の処理を順次実行した後、ステップSP71に移る。そしてステップSP71においてデータ処理制御部52は、再生用データ処理中のパケットデータPDに対し終端処理を実行するように指示されてはいないものの、次に再生用データ処理するパケットデータPDに適用されたコーデックフォーマットが、当該再生用データ処理中のパケットデータPDに適用されたコーデックフォーマットと異なるか否かを判別する。このステップSP71において否定結果が得られると、このことは再生用データ処理中のパケットデータPD、及び次に再生用データ処理するパケットデータPDに適用されたコーデックフォーマットが互いに同一であることを表している。すなわち、かかる否定結果は、次に再生用データ処理するパケットデータPDがコーデックフォーマットの異なるパケットデータPDに変更されてはいないことを表している。従ってデータ処理制御部52は、このとき次のステップSP3に移り、当該ステップSP3乃至ステップSP10と、引き続きステップSP1及びステップSP2との処理を順次実行する。   That is, when the DSP 27B is set to the second termination process automatic execution mode, the data processing control unit 52 is shown in FIG. 16 and FIG. The reproduction data processing control processing procedure RT5 is started. When starting the reproduction data processing control processing procedure RT5, the data processing control unit 52 sequentially executes the processing of step SP1 and step SP2, and then proceeds to step SP71. In step SP71, the data processing control unit 52 is applied to the packet data PD to be processed next for reproduction data, although it is not instructed to perform termination processing on the packet data PD being processed for reproduction. It is determined whether or not the codec format is different from the codec format applied to the packet data PD being processed for reproduction. If a negative result is obtained in step SP71, this indicates that the codec format applied to the packet data PD being processed for reproduction and the packet data PD to be processed next for reproduction data are the same. Yes. That is, this negative result indicates that the packet data PD to be processed next for reproduction data has not been changed to the packet data PD having a different codec format. Accordingly, at this time, the data processing control unit 52 proceeds to the next step SP3, and sequentially executes the processing of the steps SP3 to SP10, and subsequently the steps SP1 and SP2.

これに対してステップSP71において肯定結果が得られると、このことは再生用データ処理中のパケットデータPD、及び次に再生用データ処理するパケットデータPDに適用されたコーデックフォーマットが互いに異なることを表している。すなわち、かかる肯定結果は、次に再生用データ処理するパケットデータPDがコーデックフォーマットの異なるパケットデータPDに変更されたことを表している。従ってデータ処理制御部52は、このときステップSP13に移る。そしてデータ処理制御部52は、この後ステップSP13、ステップSP11及びステップSP12の処理を順次実行した後、次のステップSP72に移って、かかる再生用データ処理制御処理手順RT5を終了する。   On the other hand, when a positive result is obtained in step SP71, this indicates that the codec formats applied to the packet data PD being processed for reproduction data and the packet data PD to be processed next for reproduction data are different from each other. ing. That is, the positive result indicates that the packet data PD to be processed next for reproduction data is changed to the packet data PD having a different codec format. Therefore, the data processing control unit 52 moves to step SP13 at this time. After that, the data processing control unit 52 subsequently executes the processing of step SP13, step SP11 and step SP12, and then proceeds to the next step SP72 to end the reproduction data processing control processing procedure RT5.

このようにしてデータ処理制御部52は、同一のコーデックフォーマットが適用された連続する少なくとも2つのパケットデータPDのうち先のパケットデータPDに対する再生用データ処理中に、次のパケットデータPDが異なるコーデックフォーマットの適用された他のパケットデータPDに変更されても、これに的確に対処して、当該先のパケットデータPDの終端部分を終端処理することができる。   In this way, the data processing control unit 52 allows the codec in which the next packet data PD is different during the reproduction data processing for the previous packet data PD among at least two consecutive packet data PDs to which the same codec format is applied. Even if the packet data PD is changed to another packet data PD to which the format is applied, it is possible to appropriately deal with this and to terminate the end portion of the previous packet data PD.

以上の構成において、コンテンツ記録再生装置1のDSP27Bは、音楽データをデータ処理する場合、当該DSP27Bの制御元であるCPU20から与えられる制御情報により処理対象の音楽データの入力データサイズを検出すると共に、かかる処理対象の音楽データに対する終端処理の実行指示の有無を検出する。またDSP27Bは、その入力データサイズに応じた出力データの出力データサイズを算出し、かかる状態で処理対象の音楽データを入力してエンコード処理及び又はデコード処理等のデータ処理を実行する。   In the above configuration, when the DSP 27B of the content recording / playback apparatus 1 processes music data, the DSP 27B detects the input data size of the music data to be processed based on the control information provided from the CPU 20 that is the control source of the DSP 27B. The presence / absence of a termination processing execution instruction for the music data to be processed is detected. Further, the DSP 27B calculates the output data size of the output data corresponding to the input data size, inputs the music data to be processed in such a state, and executes data processing such as encoding processing and decoding processing.

そしてDSP27Bは、入力した音楽データのデータサイズが入力データサイズに到達したとき、終端処理の実行指示を検出していると、内部の処理データを全て処理して出力する。またDSP27Bは、入力した音楽データのデータサイズが入力データサイズに到達したとき、終端処理の実行指示を検出していないと、次の音楽データを入力して出力データのデータサイズが出力データサイズに到達するまでデータ処理を継続する。   When the data size of the input music data reaches the input data size, the DSP 27B processes and outputs all the internal processing data if it detects the termination processing execution instruction. If the data size of the input music data reaches the input data size and the DSP 27B does not detect the termination processing execution instruction, the DSP 27B inputs the next music data and the output data size becomes the output data size. Data processing continues until it reaches.

従ってコンテンツ記録再生装置1は、連続してデータ処理する複数の音楽データのうち最後尾の音楽データをデータ処理する際、また音楽データを単独でデータ処理する際には、CPU20からDSP27Bに対し、かかる音楽データの入力データサイズと終端処理に実行指示とを通知することで、当該DSP27Bがその音楽データを終端処理して出力データサイズ分の出力データを得ることができる。またコンテンツ記録再生装置1は、連続してデータ処理する複数の音楽データのうち最後尾以外の音楽データをデータ処理する際には、CPU20からDSP27Bに対し、終端処理の実行指示を特には通知しなくても、かかる音楽データの入力データサイズを通知することで、当該DSP27Bがその音楽データを入力データサイズ分入力したときに、連続して次の音楽データを入力してデータ処理することにより、当該音楽データを終端処理して出力データサイズ分の出力データを得ることができる。   Therefore, when the content recording / playback apparatus 1 processes the last music data among a plurality of music data to be continuously processed, or when processing music data alone, the CPU 20 sends the data to the DSP 27B. By notifying the input data size of the music data and the execution instruction to the termination process, the DSP 27B can terminate the music data and obtain output data corresponding to the output data size. Further, the content recording / playback apparatus 1 particularly notifies the execution instruction of the termination process from the CPU 20 to the DSP 27B when data processing of music data other than the last of the plurality of music data to be continuously processed. Even if it is not, by notifying the input data size of the music data, when the DSP 27B inputs the music data for the input data size, the next music data is continuously input and processed. It is possible to obtain output data corresponding to the output data size by terminating the music data.

そしてDSP27Bは、音楽データをデータ処理して出力データを得たとき、CPU20に対して当該音楽データに対するデータ処理の終了を通知すると共に、かかる出力データに対して検出したデータサイズも通知する。よってCPU20は、自己が音楽データをデータ処理しなくとも、当該音楽データをデータ処理して得られた出力データのデータサイズを容易に知ることができる。   When the DSP 27B processes the music data and obtains output data, the DSP 27B notifies the CPU 20 of the end of the data processing for the music data and also notifies the detected data size of the output data. Therefore, the CPU 20 can easily know the data size of the output data obtained by data processing of the music data, even if the CPU 20 does not process the music data.

以上の構成によれば、DSP27Bが、音楽データをデータ処理する場合、CPU20から通知される制御情報により、その音楽データに対する終端処理の実行指示の有無と当該音楽データの入力データサイズとを検出すると共に、当該検出した入力データサイズに応じた出力データサイズを算出し、終端処理の実行指示を検出しているときは、DSP27Bに入力される音楽データのデータサイズが入力データサイズに到達すると、内部の処理データを全てデータ処理して出力データとして出力し、当該終端処理の実行指示を検出していないときは、DSP27Bから出力する出力データのデータサイズが出力データサイズに到達するまでデータ処理を継続するようにした。これによりコンテンツ記録再生装置1は、CPU20からDSP27Bに対し音楽データに対する終端処理の実行指示の有無と、その音楽データの入力データサイズとを通知するだけで、かかる音楽データに対し終端処理の実行指示の有無にそれぞれ応じた終端処理を実行することができる。よってコンテンツ記録再生装置1は、音楽データのデータ処理時にCPU20に対する処理負荷を低減させることができる。   According to the above configuration, when the DSP 27B processes music data, the control information notified from the CPU 20 detects the presence / absence of a termination processing execution instruction for the music data and the input data size of the music data. At the same time, when the output data size corresponding to the detected input data size is calculated and the execution instruction of the termination process is detected, when the data size of the music data input to the DSP 27B reaches the input data size, the internal data If all the processing data is processed and output as output data, and the termination instruction execution instruction is not detected, the data processing is continued until the data size of the output data output from the DSP 27B reaches the output data size. I tried to do it. Thus, the content recording / playback apparatus 1 simply notifies the DSP 27B of the presence / absence of the termination process for the music data and the input data size of the music data. It is possible to execute termination processing according to the presence or absence of each. Therefore, the content recording / playback apparatus 1 can reduce the processing load on the CPU 20 during data processing of music data.

またDSP27Bは、複数の音楽データを連続して再生用データ処理している途中で、再生モードが連続再生モードから1曲繰返再生モードや単独再生モードに変更されたとき、再生用データ処理中の音楽データに対し終端処理の実行が指示されていなくても、DSP27Bに連続して次の音楽データが入力されなければ、当該DSP27Bから出力する出力データのデータサイズが出力データサイズに到達するまでデータ処理を継続するようにして、かかる再生用データ処理中の音楽データを自動的に終端処理するようにした。従ってDSP27Bは、再生用データ処理中の音楽データの終端部分がデータ処理されないことで、再生中の音楽の最後の部分が途切れることをほぼ確実に防止することができる。   In addition, the DSP 27B is processing data for playback when the playback mode is changed from the continuous playback mode to the one-track repeated playback mode or the single playback mode while processing a plurality of music data continuously. If the next music data is not continuously input to the DSP 27B even if the termination processing is not instructed for the music data of the current data until the data size of the output data output from the DSP 27B reaches the output data size. By continuing the data processing, the music data being processed for reproduction is automatically terminated. Therefore, the DSP 27B can almost certainly prevent the last part of the music being played back from being interrupted by the fact that the end part of the music data being played back is not processed.

さらにDSP27Bは、同一のコーデックフォーマットが適用された連続する少なくも2つの音楽データうち先の音楽データに対する再生用データ処理中に、次の音楽データが異なるコーデックフォーマットの適用された他の音楽データに変更されたとき、当該先の音楽データに対し終端処理の実行が指示されていなくても、DSP27Bから出力する出力データのデータサイズが出力データサイズに到達するまでデータ処理を継続するようにして、かかる再生用データ処理中の音楽データを自動的に終端処理するようにした。従ってDSP27Bは、このときも再生用データ処理中の音楽データの終端部分がデータ処理されないことで、再生中の音楽の最後の部分が途切れることをほぼ確実に防止することができる。   Further, the DSP 27B, during reproduction data processing for at least two consecutive music data to which the same codec format is applied, plays the music data for the next music data to other music data to which a different codec format is applied. When the change is made, the data processing is continued until the data size of the output data output from the DSP 27B reaches the output data size, even if the termination processing is not instructed for the music data in question. The music data being processed for reproduction is automatically terminated. Accordingly, the DSP 27B can almost certainly prevent the last portion of the music being played back from being interrupted because the end portion of the music data being played back is not processed at this time.

そしてコンテンツ記録再生装置1は、音楽データを連続してデータ処理する場合、DSP27Bが順次入力される音楽データに対する終端処理の実行指示の有無と当該音楽データの入力データサイズとを検出すると共に、当該検出した入力データサイズに応じた出力データサイズを算出するようにした。従ってコンテンツ記録再生装置1は、CPU20において、従来のパーソナルコンピュータの主制御部のように、前後の音楽データを接続し、また最後尾の音楽データの終端に例えば「0」でなるデータを追加するようにして個々の音楽データを終端処理したうえで、これら連続する複数の音楽データを、その処理状況等を確認しながらデータ処理することで処理負荷が増大するようなことなく、DSP27Bにより連続する複数の音楽データを的確にデータ処理することができる。   When the music recording / playback apparatus 1 continuously processes music data, the DSP 27B detects the presence / absence of a termination process execution instruction for the music data sequentially input and the input data size of the music data, and The output data size corresponding to the detected input data size is calculated. Therefore, the content recording / reproducing apparatus 1 connects the music data before and after the CPU 20 as in the main control unit of the conventional personal computer, and adds data such as “0” to the end of the last music data. In this way, after the individual music data is terminated, the continuous music data is continuously processed by the DSP 27B without increasing the processing load by processing the data while confirming the processing status and the like. A plurality of music data can be accurately processed.

またコンテンツ記録再生装置1は、CPU20が、処理対象の音楽データに適用されたコーデックフォーマット毎に何ら特別な処理を行うことなく、DSP27Bに対し処理条件と制御情報とを与えて、種々のコーデックフォーマットが適用された音楽データをそのコーデックフォーマットに応じてデータ処理させるため、多数のコーデックフォーマット、いわゆるマルチコーデックに容易に対応することができる。   In the content recording / playback apparatus 1, the CPU 20 gives processing conditions and control information to the DSP 27B without performing any special processing for each codec format applied to the music data to be processed. Since the music data to which is applied is processed according to the codec format, it is possible to easily cope with a large number of codec formats, so-called multi-codecs.

(3)他の実施の形態
なお上述した実施の形態においては、DSP27Bにより音楽データをエンコード処理及びデコード処理する際に終端処理するようにした場合について述べたが、本発明はこれに限らず、DSP27Bにより音楽データを暗号化処理及び復号処理する際に終端処理するようにしても良い。これに加えてDSP27Bによりエンコード処理や暗号化処理のような符号化処理と、デコード処理や暗号化を復号する復号処理とのうち、少なくとも何れか一方のデータ処理を実行するようにしても良く、当該一方のデータ処理において終端処理するようにしても良い。
(3) Other Embodiments In the above-described embodiments, the case where the termination processing is performed when the music data is encoded and decoded by the DSP 27B has been described. However, the present invention is not limited to this. When music data is encrypted and decrypted by the DSP 27B, termination processing may be performed. In addition to this, the DSP 27B may execute at least one of data processing among encoding processing such as encoding processing and encryption processing, and decoding processing and decryption processing for decrypting encryption. Termination processing may be performed in the one data processing.

また上述した実施の形態においては、DSP27Bにより第1及び第2の終端処理自動実行モードが設定された際、図14、図16及び図17について上述した再生用データ処理制御処理手順RT4及びRT5を実行するようにした場合について述べたが、本発明はこれに限らず、DSP27Bを予め再生用データ処理制御処理手順RT4及びRT5のみを実行するように構成しても良い。そしてDSP27Bが再生用データ処理制御処理手順RT4及びRT5を別々に実行するのではなく、これら2つの再生用データ処理制御処理手順RT4及びRT5の機能をあわせもつ再生用データ処理制御処理手順を実行するようにしても良い。   In the embodiment described above, when the first and second termination processing automatic execution modes are set by the DSP 27B, the reproduction data processing control processing procedures RT4 and RT5 described above with reference to FIGS. Although the case where it executes is described, the present invention is not limited to this, and the DSP 27B may be configured to execute only the reproduction data processing control processing procedures RT4 and RT5 in advance. The DSP 27B does not execute the reproduction data processing control processing procedures RT4 and RT5 separately, but executes a reproduction data processing control processing procedure having the functions of these two reproduction data processing control processing procedures RT4 and RT5. You may do it.

さらに上述した実施の形態においては、音楽コンテンツの再生時に図14、図16及び図17について上述した再生用データ処理制御処理手順RT4及びRT5を実行するようにした場合について述べたが、本発明はこれに限らず、音楽コンテンツの録音時やコーデックフォーマットの変換時に、これら再生用データ処理制御処理手順RT4及びRT5の機能を別々又はあわせもった録音用データ処理制御処理手順やフォーマット変換用データ処理制御処理手順を実行するようにしても良い。   Further, in the above-described embodiment, the case where the reproduction data processing control processing procedures RT4 and RT5 described above with reference to FIGS. 14, 16 and 17 are executed at the time of reproduction of the music content has been described. Not limited to this, when recording music content or converting the codec format, the recording data processing control processing procedure or the format conversion data processing control that separately or combined the functions of the playback data processing control processing procedures RT4 and RT5. A processing procedure may be executed.

さらに上述した実施の形態においては、DSP27Bにより音楽データをデータ処理し、その際に終端処理するようにした場合について述べたが、本発明はこれに限らず、DSP27Bにより映像データをデータ処理し、その際に終端処理するようにしても良い。   Further, in the above-described embodiment, the case has been described in which music data is processed by the DSP 27B and terminated at that time, but the present invention is not limited to this, and the video data is processed by the DSP 27B. At that time, termination processing may be performed.

さらに上述した実施の形態においては、本発明によるデータ処理装置を、図1乃至図17について上述したデータ処理装置100や、コンテンツ記録再生装置1に設けられた音楽処理部10及びDSP27Bに適用するようにした場合について述べたが、本発明はこれに限らず、コンピュータや携帯電話機、PDA(Personal Digital Assistance )、ゲーム機器等の情報処理装置、DVD(Digital Versatile Disc)レコーダやハードディスクレコーダ等の記録再生装置、これら情報処理装置や記録再生装置に設けられたデータ処理回路等のように、この他種々の構成のデータ処理装置に広く適用することができる。   Further, in the embodiment described above, the data processing apparatus according to the present invention is applied to the data processing apparatus 100 described above with reference to FIGS. 1 to 17, the music processing unit 10 and the DSP 27B provided in the content recording / playback apparatus 1. The present invention is not limited to this, but the present invention is not limited to this, and information recording devices such as computers, mobile phones, PDAs (Personal Digital Assistance), game machines, DVD (Digital Versatile Disc) recorders, hard disk recorders, etc. The present invention can be widely applied to various other configurations of data processing devices such as devices, data processing circuits provided in these information processing devices and recording / reproducing devices, and the like.

さらに上述した実施の形態においては、本発明によるデータ処理制御プログラムを、図1乃至図17についてデータ処理制御プログラムに適用し、DSP27Bがそのデータ処理制御プログラムに従って図10乃至図12、図14、図16及び図17について上述した再生用データ処理制御処理手順RT1、RT4、RT5、録音用データ処理制御処理手順RT2、フォーマット変換用データ処理制御処理手順RT3を実行するようにした場合について述べたが、本発明はこれに限らず、この他種々の構成のデータ処理制御プログラムを適用し、そのデータ処理制御プログラムが格納されたプログラム格納媒体をコンテンツ記録再生装置1にインストールすることにより再生用データ処理制御処理手順RT1、RT4、RT5、録音用データ処理制御処理手順RT2、フォーマット変換用データ処理制御処理手順RT3を実行するようにしても良い。   Further, in the above-described embodiment, the data processing control program according to the present invention is applied to the data processing control program with respect to FIGS. 1 to 17, and the DSP 27B follows FIGS. 10 to 12, 14, and FIG. Although the reproduction data processing control processing procedures RT1, RT4, RT5, the recording data processing control processing procedure RT2, and the format conversion data processing control processing procedure RT3 described above with reference to FIGS. The present invention is not limited to this, and a data processing control program of various other configurations is applied, and a data storage control for reproduction is performed by installing the program storage medium storing the data processing control program in the content recording / reproducing apparatus 1. Processing procedure RT1, RT4, RT5, recording data Management control processing procedure RT2, it is also possible to execute the format conversion data processing control processing procedure RT3.

さらに上述した実施の形態においては、入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部として、図1乃至図17について上述したデータ処理装置100のデータ処理部101や、コンテンツ記録再生装置1の音楽処理部10及びDSP27B(特に、データ処理ブロック53に相当する各種プログラム)を適用するようにした場合について述べたが、本発明はこれに限らず、入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するハードウェア構成のデータ処理回路等のように、この他種々のデータ処理部を広く適用することができる。   Further, in the above-described embodiment, a decoding unit that decodes input encoded data, outputs the obtained decoded data, encodes the input data, and outputs the obtained encoded data As the data processing unit having at least one of the encoding units, the data processing unit 101 of the data processing device 100 described above with reference to FIGS. However, the present invention is not limited to this, and the input encoded data is decoded, and the obtained decoded data is output. At least one of a decoding unit and an encoding unit that encodes input data and outputs the obtained encoded data is provided. That way, such as data processing circuit of a hardware configuration, it is possible to widely apply various other data processing unit.

さらに上述した実施の形態においては、データ処理部を制御する制御部として、図1乃至図17について上述したデータ処理装置100の制御部102や、コンテンツ記録再生装置1の音楽処理部10及びDSP27B(特にデータ処理制御部52に相当するデータ処理制御プログラム)を適用するようにした場合について述べたが、本発明はこれに限らず、データ処理部を制御するハードウェア構成の制御回路等のように、この他種々の制御部を広く適用することができる。   Further, in the above-described embodiment, as the control unit for controlling the data processing unit, the control unit 102 of the data processing apparatus 100 described above with reference to FIGS. 1 to 17, the music processing unit 10 of the content recording / reproducing apparatus 1, and the DSP 27B ( In particular, the case where a data processing control program corresponding to the data processing control unit 52 is applied has been described. However, the present invention is not limited to this, such as a control circuit having a hardware configuration for controlling the data processing unit. Various other control units can be widely applied.

さらに上述した実施の形態においては、データ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出する検出部として、図1乃至図17について上述したデータ処理装置100の検出部103や、コンテンツ記録再生装置1の音楽処理部10及びDSP27B(特にデータ処理制御部52に相当するデータ処理制御プログラム)を適用するようにした場合について述べたが、本発明はこれに限らず、データ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出するハードウェア構成の検出回路等のように、この他種々の検出部を広く適用することができる。   Further, in the embodiment described above, FIGS. 1 to 17 are used as detection units for detecting the termination processing execution instruction for the first data input to the data processing unit and the input data size of the first data. Although the detection unit 103 of the data processing device 100 described above, the music processing unit 10 and the DSP 27B (particularly the data processing control program corresponding to the data processing control unit 52) of the content recording / playback device 1 have been described. However, the present invention is not limited to this, such as a termination circuit execution instruction for the first data input to the data processing unit, and a hardware configuration detection circuit that detects the input data size of the first data. Various other detection units can be widely applied.

さらに上述した実施の形態においては、入力データサイズに応じた出力データサイズを算出する算出部として、図1乃至図17について上述したデータ処理装置100の算出部104や、コンテンツ記録再生装置1の音楽処理部10及びDSP27B(特にデータ処理制御部52に相当するデータ処理制御プログラム)を適用するようにした場合について述べたが、本発明はこれに限らず、入力データサイズに応じた出力データサイズを算出するハードウェア構成の算出回路等のように、この他種々の算出部を広く適用することができる。   Further, in the above-described embodiment, as the calculation unit for calculating the output data size corresponding to the input data size, the calculation unit 104 of the data processing device 100 described above with reference to FIGS. The case where the processing unit 10 and the DSP 27B (particularly the data processing control program corresponding to the data processing control unit 52) are applied has been described. However, the present invention is not limited to this, and the output data size corresponding to the input data size is set. Various other calculation units such as a calculation circuit of a hardware configuration to be calculated can be widely applied.

さらに上述した実施の形態においては、検出部により終端処理の実行指示が検出されているときは、データ処理部に入力される第1のデータのデータサイズが入力データサイズに到達すると、データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、検出部により終端処理の実行指示が検出されていないときは、データ処理部から出力される出力データのデータサイズが出力データサイズに達するまでデータ処理部を動作させるように当該データ処理部を制御するデータ処理制御部して、図1乃至図17について上述したデータ処理装置100のデータ処理制御部105や、コンテンツ記録再生装置1の音楽処理部10及びDSP27B(特にデータ処理制御部52に相当するデータ処理制御プログラム)を適用するようにした場合について述べたが、本発明はこれに限らず、検出部により終端処理の実行指示が検出されているときは、データ処理部に入力される第1のデータのデータサイズが入力データサイズに到達すると、データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、検出部により終端処理の実行指示が検出されていないときは、データ処理部から出力される出力データのデータサイズが出力データサイズに達するまでデータ処理部を動作させるように当該データ処理部を制御するハードウェア構成のデータ処理制御回路等のように、この他種々のデータ処理制御部を広く適用することができる。   Furthermore, in the above-described embodiment, when the execution instruction of the termination process is detected by the detection unit, if the data size of the first data input to the data processing unit reaches the input data size, The data processing unit is controlled so that all processing data is processed and output, and when the execution instruction of the termination processing is not detected by the detection unit, the data size of the output data output from the data processing unit is output A data processing control unit that controls the data processing unit to operate the data processing unit until the data size is reached, such as the data processing control unit 105 of the data processing apparatus 100 described above with reference to FIGS. The music processing unit 10 and the DSP 27B (particularly the data processing control program corresponding to the data processing control unit 52) of the device 1 However, the present invention is not limited to this, and when the execution instruction of the termination process is detected by the detection unit, the data size of the first data input to the data processing unit is When the input data size is reached, the data processing unit is controlled to process and output all the processing data in the data processing unit, and when the detection unit has not detected the termination processing execution instruction, the data processing unit Various other data processing controls such as a data processing control circuit having a hardware configuration for controlling the data processing unit so that the data processing unit is operated until the data size of the output data to be output reaches the output data size. Parts can be widely applied.

本発明は、パーソナルコンピュータや携帯電話機等のデータ処理装置に利用することができる。   The present invention can be used in a data processing apparatus such as a personal computer or a mobile phone.

本発明によるデータ処理装置の概要を示すブロック図である。It is a block diagram which shows the outline | summary of the data processor by this invention. 本発明によるコンテンツ記録再生装置の機能ブロックによる回路構成の一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the circuit structure by the functional block of the content recording / reproducing apparatus by this invention. 本発明によるコンテンツ記録再生装置のハードウェアブロックによる回路構成の一実施の形態を示すブロック図である。It is a block diagram which shows one Embodiment of the circuit structure by the hardware block of the content recording / reproducing apparatus by this invention. DSPの機能構成を示すブロック図である。It is a block diagram which shows the function structure of DSP. エンコーダ部の機能構成を示すブロック図である。It is a block diagram which shows the function structure of an encoder part. デコーダ部の機能構成を示すブロック図である。It is a block diagram which shows the function structure of a decoder part. パケットの構成を示す略線図である。It is a basic diagram which shows the structure of a packet. 終端処理が指示されたときのデータ処理の説明に供する略線図である。It is an approximate line figure used for explanation of data processing when termination processing is instructed. 終端処理が指示されていないときのデータ処理の説明に供する略線図である。It is a basic diagram with which it uses for description of a data process when the termination | terminus process is not instruct | indicated. 再生用データ処理制御処理手順を示すフローチャートである。It is a flowchart which shows the data processing control processing procedure for reproduction | regeneration. 録音用データ処理制御処理手順を示すフローチャートである。It is a flowchart which shows the recording data processing control processing procedure. フォーマット変換用データ処理制御処理手順を示すフローチャートである。It is a flowchart which shows the data processing control processing procedure for format conversion. 再生モードの変更の説明に供する略線図である。It is an approximate line figure used for explanation of change of playback mode. 第1の終端処理自動実行モードが設定されたときの再生用データ処理制御処理手順を示すフローチャートである。It is a flowchart which shows the data processing control processing procedure for reproduction | regeneration when the 1st termination processing automatic execution mode is set. プレイリストの変更の説明に供する略線図である。It is an approximate line figure used for explanation of change of a play list. 第2の終端処理自動実行モードが設定されたときの再生用データ処理制御処理手順(1)を示すフローチャートである。It is a flowchart which shows the data process control process procedure (1) for reproduction | regeneration when the 2nd termination | terminus process automatic execution mode is set. 第2の終端処理自動実行モードが設定されたときの再生用データ処理制御処理手順(2)を示すフローチャートである。It is a flowchart which shows the data processing control process procedure (2) for reproduction | regeneration when the 2nd termination | terminus process automatic execution mode is set.

符号の説明Explanation of symbols

1……コンテンツ記録再生装置、2……制御部、10……音楽処理部、20……CPU、27……権利処理及び音楽処理モジュール、27B……DSP、27C……RAM、27D……EEPROM、50……入力バッファ、51……出力バッファ、52……データ処理制御部、53……データ処理ブロック、54……デコーダ部、54A乃至54N……デコーダ、55……サンプリングレートコンバータ部、56……デエンファシスフィルタ部、57……エンコーダ部、57A乃至57N……エンコーダ、100……データ処理装置、101……データ処理部、102……制御部、103……検出部、104……算出部、105……データ処理制御部、RT1、RT4、RT5……再生用データ処理制御処理手順、RT2……録音用データ処理制御処理手順、RT3……フォーマット変換用データ処理制御処理手順、PC……パケット、PD、PD1乃至PD3……パケットデータ、PH……パケットヘッダ、OD1乃至OD3……出力データ。   DESCRIPTION OF SYMBOLS 1 ... Content recording / reproducing apparatus, 2 ... Control part, 10 ... Music processing part, 20 ... CPU, 27 ... Rights processing and music processing module, 27B ... DSP, 27C ... RAM, 27D ... EEPROM , 50... Input buffer, 51... Output buffer, 52... Data processing control unit, 53... Data processing block, 54 ... decoder unit, 54A to 54N. ...... De-emphasis filter unit 57 57 Encoder unit 57A to 57N Encoder 100 Data processing unit 101 Data processing unit 102 Control unit 103 Detection unit 104 Calculation , 105... Data processing control unit, RT 1, RT 4, RT 5... Reproduction data processing control processing procedure, RT 2. Management control processing procedure, RT3 ...... format conversion data processing control procedure, PC ...... packet, PD, PD1 to PD3 ...... packet data, PH ...... packet header, OD1 to OD3 ...... output data.

Claims (6)

入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部と、
上記データ処理部を制御する制御部と
を具え、
上記制御部は、
上記データ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出する検出部と、
上記入力データサイズに応じた出力データサイズを算出する算出部と、
上記検出部により上記終端処理の実行指示が検出されているときは、上記データ処理部に入力される上記第1のデータのデータサイズが上記入力データサイズに到達すると、上記データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、上記検出部により上記終端処理の実行指示が検出されていないときは、上記データ処理部から出力される出力データのデータサイズが上記出力データサイズに達するまで上記データ処理部を動作させるように当該データ処理部を制御するデータ処理制御部とを有する
ことを特徴とするデータ処理装置。
At least one of a decoding unit that decodes input encoded data and outputs the obtained decoded processing data, and an encoding unit that encodes input data and outputs the obtained encoded processing data A data processing unit having one;
A control unit for controlling the data processing unit,
The control unit
An instruction to execute termination processing on the first data input to the data processing unit, and a detection unit that detects an input data size of the first data;
A calculation unit for calculating an output data size according to the input data size;
When the execution instruction of the termination processing is detected by the detection unit, when the data size of the first data input to the data processing unit reaches the input data size, the processing data in the data processing unit The data processing unit is controlled so as to be processed and output, and when the execution instruction of the termination processing is not detected by the detection unit, the data size of the output data output from the data processing unit is A data processing control unit that controls the data processing unit to operate the data processing unit until the output data size is reached.
上記データ処理制御部は、
上記検出部により上記終端処理の実行指示が検出されていないときは、上記データ処理部に入力される上記第1のデータのデータサイズが上記入力データサイズに到達すると、当該第1のデータに続く第2のデータを上記データ処理部に対して入力するように当該データ処理部を制御する
ことを特徴とする請求項1に記載のデータ処理装置。
The data processing control unit
When the execution instruction of the termination process is not detected by the detection unit, when the data size of the first data input to the data processing unit reaches the input data size, the first data is continued. The data processing apparatus according to claim 1, wherein the data processing unit is controlled to input second data to the data processing unit.
上記データ処理制御部は、
上記検出部により上記終端処理の実行指示が検出されていないときには、上記データ処理部に入力される上記第1のデータのデータサイズが上記入力データサイズに到達したとき、第2のデータの入力がないことを検出すると、上記データ処理部内の上記処理データを全て処理して出力させるように当該データ処理部を制御する
ことを特徴とする請求項1に記載のデータ処理装置。
The data processing control unit
When the execution instruction of the termination process is not detected by the detection unit, when the data size of the first data input to the data processing unit reaches the input data size, the input of the second data is 2. The data processing apparatus according to claim 1, wherein when the absence is detected, the data processing unit is controlled so as to process and output all the processing data in the data processing unit.
上記データ処理制御部は、
上記検出部により上記終端処理の実行指示が検出されていないときには、上記第1のデータに続いて入力される第2のデータに対する符号化方式が当該第1のデータに対する符号化方式とは異なることを検出すると、上記データ処理部内の上記処理データを全て処理して出力させるように当該データ処理部を制御する
ことを特徴とする請求項1に記載のデータ処理装置。
The data processing control unit
When the execution instruction of the termination processing is not detected by the detection unit, the encoding method for the second data input following the first data is different from the encoding method for the first data. 2. The data processing apparatus according to claim 1, wherein the data processing unit is controlled so as to process and output all the processing data in the data processing unit when detected.
入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出する検出ステップと、
上記検出ステップで検出された上記入力データサイズに応じた出力データサイズを算出する算出ステップと、
上記検出ステップで上記終端処理の実行指示が検出されているときは、上記データ処理部に入力される上記第1のデータのデータサイズが上記入力データサイズに到達すると、上記データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、上記検出ステップで上記終端処理の実行指示が検出されていないときは、上記データ処理部から出力される出力データのデータサイズが上記出力データサイズに達するまで上記データ処理部を動作させるように当該データ処理部を制御するデータ処理制御ステップと
を具えることを特徴とするデータ処理方法。
At least one of a decoding unit that decodes input encoded data and outputs the obtained decoded processing data, and an encoding unit that encodes input data and outputs the obtained encoded processing data A detection step of detecting a termination processing execution instruction for the first data input to the data processing unit having one, and an input data size of the first data;
A calculation step of calculating an output data size according to the input data size detected in the detection step;
When the execution instruction of the termination process is detected in the detection step, when the data size of the first data input to the data processing unit reaches the input data size, the processing data in the data processing unit When the execution instruction of the termination process is not detected in the detection step, the data size of the output data output from the data processing unit is A data processing method comprising: a data processing control step for controlling the data processing unit to operate the data processing unit until an output data size is reached.
情報処理装置に対して、
入力される符号化データを復号し、得られた復号処理データを出力する復号部と、入力されるデータを符号化し、得られた符号化処理データを出力する符号化部とのうち少なくともいずれか一方を有するデータ処理部に入力される第1のデータに対する終端処理の実行指示、及び当該第1のデータの入力データサイズを検出する検出ステップと、
上記検出ステップで検出された上記入力データサイズに応じた出力データサイズを算出する算出ステップと、
上記検出ステップで上記終端処理の実行指示が検出されているときは、上記データ処理部に入力される上記第1のデータのデータサイズが上記入力データサイズに到達すると、上記データ処理部内の処理データを全て処理して出力させるように当該データ処理部を制御し、上記検出ステップで上記終端処理の実行指示が検出されていないときは、上記データ処理部から出力される出力データのデータサイズが上記出力データサイズに達するまで上記データ処理部を動作させるように当該データ処理部を制御するデータ処理制御ステップと
を実行させるためのデータ処理制御プログラム。
For information processing equipment
At least one of a decoding unit that decodes input encoded data and outputs the obtained decoded processing data, and an encoding unit that encodes input data and outputs the obtained encoded processing data A detection step of detecting a termination processing execution instruction for the first data input to the data processing unit having one, and an input data size of the first data;
A calculation step of calculating an output data size according to the input data size detected in the detection step;
When the execution instruction of the termination process is detected in the detection step, when the data size of the first data input to the data processing unit reaches the input data size, the processing data in the data processing unit When the execution instruction of the termination process is not detected in the detection step, the data size of the output data output from the data processing unit is A data processing control program for executing a data processing control step for controlling the data processing unit to operate the data processing unit until the output data size is reached.
JP2005266101A 2005-09-13 2005-09-13 Data processing apparatus, data processing method, and data processing control program Expired - Fee Related JP4770348B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005266101A JP4770348B2 (en) 2005-09-13 2005-09-13 Data processing apparatus, data processing method, and data processing control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005266101A JP4770348B2 (en) 2005-09-13 2005-09-13 Data processing apparatus, data processing method, and data processing control program

Publications (2)

Publication Number Publication Date
JP2007079063A true JP2007079063A (en) 2007-03-29
JP4770348B2 JP4770348B2 (en) 2011-09-14

Family

ID=37939455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005266101A Expired - Fee Related JP4770348B2 (en) 2005-09-13 2005-09-13 Data processing apparatus, data processing method, and data processing control program

Country Status (1)

Country Link
JP (1) JP4770348B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087786A (en) * 2001-06-29 2003-03-20 Matsushita Electric Ind Co Ltd Data reproduction apparatus and data reproducing method
JP2004093729A (en) * 2002-08-30 2004-03-25 Alpine Electronics Inc Recording device and reproducing device for music data
JP2005044409A (en) * 2003-07-24 2005-02-17 Pioneer Electronic Corp Information reproducing device, information reproducing method, and information reproducing program
JP2005122034A (en) * 2003-10-20 2005-05-12 Fujitsu Ten Ltd Audio data compression method
JP2006030577A (en) * 2004-07-15 2006-02-02 Yamaha Corp Method and device for coded transmission of music
JP2007033585A (en) * 2005-07-25 2007-02-08 Matsushita Electric Ind Co Ltd Voice coding apparatus and voice coding method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087786A (en) * 2001-06-29 2003-03-20 Matsushita Electric Ind Co Ltd Data reproduction apparatus and data reproducing method
JP2004093729A (en) * 2002-08-30 2004-03-25 Alpine Electronics Inc Recording device and reproducing device for music data
JP2005044409A (en) * 2003-07-24 2005-02-17 Pioneer Electronic Corp Information reproducing device, information reproducing method, and information reproducing program
JP2005122034A (en) * 2003-10-20 2005-05-12 Fujitsu Ten Ltd Audio data compression method
JP2006030577A (en) * 2004-07-15 2006-02-02 Yamaha Corp Method and device for coded transmission of music
JP2007033585A (en) * 2005-07-25 2007-02-08 Matsushita Electric Ind Co Ltd Voice coding apparatus and voice coding method

Also Published As

Publication number Publication date
JP4770348B2 (en) 2011-09-14

Similar Documents

Publication Publication Date Title
US8090884B2 (en) Apparatus and method for interfacing between A/V system and portable device
JP4702817B2 (en) Multi-format personal digital audio player
JP2007079876A (en) Signal processor, signal processing method and signal processing program
JP5329846B2 (en) Digital data player, data processing method thereof, and recording medium
KR20070005879A (en) Content reproduction system, content providing method, content reproduction apparatus, content providing apparatus, content reproduction program and content providing program
USRE49766E1 (en) Apparatus and method for interfacing between A/V system and portable device
CN100505065C (en) Data processing circuit, data processing apparatus, data processing method, data processing control method
JP2001184089A (en) Device and method for voice reproduction and recording
JP4770348B2 (en) Data processing apparatus, data processing method, and data processing control program
WO2004093073A1 (en) Digital data storage/reproduction method and device
JP2006209689A (en) Data processing circuit
JP2001266480A (en) Recording medium with recorded enciphered audio data and information processor
JP2006238154A (en) Data processing method
JP2010123225A (en) Record reproducing apparatus and record reproducing method
JP2009170037A (en) Recording device, recording method and recording program
JP4505742B2 (en) Recording apparatus, recording method, and recording program
JP4179021B2 (en) Encoding device and encoding method
JP4475355B2 (en) Audio data processing apparatus, audio data processing method, program, and audio data reproduction system
JP2007079728A (en) Recording method, recorder and file switch recording program
JP2003050746A (en) Device and method for protecting copyright in personal computer
JP2000156071A (en) Audio dubbing system and recording medium
JP2007057584A (en) Audio apparatus and sound effect setting method
JP2006202474A (en) Recorder
JP2005190522A (en) Reproducing system
JP2005057721A (en) Method for processing av signals

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110124

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

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

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees