JP4016167B2 - Playback method - Google Patents

Playback method Download PDF

Info

Publication number
JP4016167B2
JP4016167B2 JP36244598A JP36244598A JP4016167B2 JP 4016167 B2 JP4016167 B2 JP 4016167B2 JP 36244598 A JP36244598 A JP 36244598A JP 36244598 A JP36244598 A JP 36244598A JP 4016167 B2 JP4016167 B2 JP 4016167B2
Authority
JP
Japan
Prior art keywords
title
pack
information
data
process proceeds
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.)
Expired - Fee Related
Application number
JP36244598A
Other languages
Japanese (ja)
Other versions
JP2000187933A (en
Inventor
伸明 久松
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 JP36244598A priority Critical patent/JP4016167B2/en
Publication of JP2000187933A publication Critical patent/JP2000187933A/en
Application granted granted Critical
Publication of JP4016167B2 publication Critical patent/JP4016167B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、オーディオデータが記録されている記録媒体、特にCDテキストフォーマットに従ってオーディオデータおよびそれに付随するデータが記録されているディジタルオーディオデータ用CD(コンパクトディスク)の再生方法に関する。
【0002】
【従来の技術】
従来、CDプレーヤのシステムをコントロールするマイクロ・コンピュータにおいて、CDテキストが記録されているコンパクトディスクからCDテキストデータを読込む場合には、1ヶ国語につき4096バイトのRAM(Random Access Memory)容量を必要とする。さらに、ディスクに記録されている全てのテキストデータ(例えば8ヶ国語)を読込む場合には、4096×8=32768バイトものRAM容量を必要とする。
【0003】
また、CDプレーヤのシステムをコントロールするマイクロ・コンピュータ内に設けられるRAMの容量は、通常2000〜4000バイト程度であるが、その大半がシステムをコントロールするために使用されてしまい、1ヶ国語分のCDテキストデータを読込むために充分なRAM容量が残存することはない場合が多い。
【0004】
従って、CDテキストデータを読込むためには、マイクロコンピュータに容量の大きいRAMを接続する構成とする必要がある。このような構成においてはコストアップが招来されるため、低価格の機種でCDテキストデータを読込む機能を実現することは不可能であった。
【0005】
【発明が解決しようとする課題】
従って、この発明の目的は、低コストのハードウエアを用いて、記録媒体から、CDテキストデータ等の情報量の多いデータを読込むことを可能とする再生方法を提供することにある。
【0006】
【課題を解決するための手段】
請求項1の発明は、装着された記録媒体に記録されたコンテンツデータを再生する再生方法において、
前記記録媒体に同様に記録され、前記コンテンツデータに関連する情報を所定サイズの関連データ単位で管理する関連情報を読み出し、
各関連データに含まれ、当該関連データの種類を識別するための関連データ識別情報を判定し、
前記判定によりある関連データが前記関連情報のサイズに関する情報を含むと判定された場合は、当該サイズに関する情報に基づき当該関連情報に関するサイズを計算し、
前記計算が行われた後に、さらに同様の判定により他の関連データが前記関連情報の一部または全部を含むと判定された場合は、計算された前記サイズに基づき当該関連情報を記憶する
ことを特徴とする再生方法である。
【0012】
以上のような発明によれば、CDテキストフォーマット等に従ってCD等の記録媒体に記録された情報が読込まれるRAM等を効率的に使用することができる。
【0013】
【発明の実施の形態】
以下、この発明の一実施形態について説明する。この発明を適用することが可能な再生装置の全体的な構成の一例を図1に示す。着脱自在なトレイ501を有するローディング機構にディスク1が装着されると、搬送モータ502によって発生する動力を与えられる搬送機構がディスク1をチャッキング位置まで搬送する。ディスク1は、スピンドルモータ2によってCLV(Constant Linear Velocity)回転駆動される。そして、光学ヘッド3によってディスク1上のピット情報が読取られる。ここで、トレイ501に装着されたディスク1については、スピンドルモータ2によって回転させられる状態でのディスク1と大きさが異なるように図示されているが、これは記載スペースを考慮したためであり、搬送時および回転駆動時の何れにおいてもディスク1の大きさは一定である。
【0014】
図示は省略するが、光学ヘッド3内には、レーザダイオードと、回折格子、ビームスプリッタ、1/4波長板等からなる光学系とが設けられ、かかる光学系によって、レーザダイオードから出射されるレーザ光が所定の状態(例えば所定のスポット径を有する等)とされてディスク1の記録面に照射される。そして、その反射光が上述の光学系に入射し、ビームスプリッタによって照射光と分離して取出されて、シリンドリカルレンズ等を介してディテクタに導かれる。ディテクタは、入射する光を電気信号に変換する。
【0015】
ディテクタが生成する電気信号が光学ヘッド3による読取り信号としてRF演算部4に供給される。RF演算部4は、供給される信号に基づいて、再生データとしてのRF信号、フォーカスエラー信号EF,およびトラッキングエラー信号ETを生成する。フォーカスエラー信号EFおよびトラッキングエラー信号ETは、サーボ回路5に供給される。サーボ回路5は、供給されるフォーカスエラー信号EFおよびトラッキングエラー信号ETに基づいてフォーカスドライブ信号FD,トラッキングドライブ信号TDを生成し、生成したフォーカスドライブ信号FD,トラッキングドライブ信号TDを、光学ヘッド3の対物レンズの位置制御を行う2軸機構(図示せず)に供給する。
【0016】
2軸機構は、供給される信号に従って対物レンズの位置を変位させる。これにより、適正な読取り信号が得られるための所定の範囲内に、フォーカスエラーおよびトラッキングエラーが収められる。また、サーボ回路5は、供給されるトラッキングエラー信号ETに基づいてスレッドドライブ信号SDを生成し、生成したスレッドドライブ信号SDを、光学ヘッド3をディスク1の半径方向に駆動するスレッド機構6に供給する。これにより、例えばアクセスすべき目標トラックへの移動等の、ディスク1の半径方向の比較的大きな規模の位置制御がなされる。サーボ回路5には、さらに、スピンドルサーボ信号SSおよびトラックジャンプ信号TJ等が供給され、これらの信号に基づく動作を行うが、これらについては後述する。
【0017】
一方、RF信号は、RF演算部4からデコーダ7に供給される。デコーダ7は、供給されるRF信号に、EFM変調,CIRC(Cross Interleave Read-Solomon Code)エラー訂正処理等を施し、これらの処理によって生成した信号をD/A変換器8に供給する。D/A変換器8は、供給される信号を例えば2チャンネルのアナログ音声信号L,Rに変換する。そして、アナログ音声信号L,Rに基づいて増幅回路9がスピーカ10a,10bを駆動することにより、音声出力を発生させる。ここでは2チャンネルの場合について説明したが、チャンネル数は2に限定されるものでは無い。一般的には、チャンネル数に等しい数のスピーカが設けられる。
【0018】
また、デコーダ6は、供給されるRF信号からサブコードデータCSUB,CDテキストデータCDTEXT,およびスピンドルサーボを行うためのクロック誤差信号ESP等を取出し、取出したデータをコントローラ100に供給する。コントローラ100は、マイクロコンピュータと、RAM(Random Access Memory )100a等を有する。コントローラ100は、ユーザーが行う操作、サブコードデータCSUB,CDテキストデータCDTEXT等に応じて装置内の各構成要素を制御する。また、コントローラ100は、RAM100aに、ディスク1から再生される、TOCデータ、CDテキストデータCDTEXT等を記憶する。なお、図1では、RAM100aがコントローラ100内に内蔵される場合を示したが、RAM100aと同じ機能を有するRAMを、コントローラ100とは別個に設けても良い。
【0019】
例えば、スピンドルサーボ信号SSおよびトラックジャンプ信号TJをサーボ回路5に供給する。サーボ回路5は、供給されるスピンドルサーボ信号SSに基づいてスピンドルドライブ信号SPDを生成し、スピンドルドライブ信号SPDをスピンドルモータ2に供給することにより、スピンドルサーボすなわちスピンドルモータ2の制御を行う。また、サーボ回路5は、トラックジャンプ信号TJに基づいてスレッド機構6等を制御し、光学ヘッド3をユーザーが行う操作等に対応する適正なトラックにアクセスさせる。
【0020】
ユーザーが行う操作は、操作部200を介して入力される。操作部200は、装置の外筐パネル上に設けられた、各種操作キーを有する操作部である。操作部200には、ローディング機構等の動作によってチャッキング位置等に装着が完了したディスク1に対する操作に係る再生キー、停止キー、早送りキー、早戻しキー、AMS(頭出し)キー等のCD操作キー、およびシャッフル再生、プログラム再生等の再生モード操作キー等を有する。
【0021】
操作部200には、さらに、ユーザーによる電源操作(2次電源)に係る操作スイッチ、ディスク1(トレイ501)の収納/取出し等の指令を入力するためのオープン/クローズキー等が設けられる。オープン/クローズキーを操作することによって、例えば、チャッキング位置からトレイ501がイジェクトされ、そのトレイ501に対してディスク1を装填/脱却することができる。また、表示部300には、再生中のCDの時間情報、各種モード状態等がコントローラ100の制御に基づいて表示される。
【0022】
一方、電源回路400は、商用交流電源から供給される電流を整流、平滑して直流動作電源電圧を生成し、生成した直流動作電源電圧を各構成要素に供給する。コンセントが商用交流電源に接続された状態では、1次電源がオンとされ、スタンバイ電源電圧V2を出力する。スタンバイ電源電圧V2は、コントローラ100等に供給される。また、ユーザーが例えば操作部200に設置された電源操作スイッチをオンとすることに応じて、動作電源電圧V1を各構成要素に供給する。
【0023】
コンセントが商用交流電源に接続された状態では、コントローラ100には常にスタンバイ電源電圧V2が供給される。このため、スタンバイ状態においてもある程度の動作を行うことができる。例えば、所定の条件が満たされる場合に電源回路400に対して自動的に動作電源電圧V1を出力させる等の制御も可能である。
【0024】
モータドライバ部500は、トレイ501を搬送するローディング機構に動力を与える搬送モータ502を駆動する。すなわち、モータドライバ部500は、コントローラ100から供給されるモータ制御情報SMDに従ってトレイ501の搬送モータ502に動作電流を印加する。これにより、搬送モータ502の回転方向および回転動作期間がコントローラ100によって制御されることになる。
【0025】
また、ローディング機構からコントローラ100には、各種センサからの信号が供給される。すなわち、チャッキング検出スイッチ503から信号SEN、アウトスイッチ504から信号SSENがコントローラ100に供給される。これらの信号により、コントローラ100がローディング機構における各種状態を検知することができる。
【0026】
上述したような構成において、現在時点において再生準備状態となっていないディスク、すなわちTOCおよびCDテキストを未だ読込んでいないディスクについて、当該ディスクがイジェクトからチャッキング位置に搬送された後にTOCおよびCDテキストの読込みが実行される。
【0027】
CDテキストデータについて以下に説明する。図2に、CDテキストデータのフォーマットの一例を示す。ID1,ID2,ID3およびID4は、例えば8ビット(1バイト)からなる識別データである。これらの識別データに後続する位置に、各8ビット(1バイト)からなる12個のテキストデータtext1〜text12が設けられる。そして、これら16バイトで1パックを構成する。
【0028】
ID1〜ID4について説明する。ID1は、8ビットの内の上位4ビットの内、MSBから始まる上位3ビットがモード4を表現する”100”とされる。上位4ビット中の残りの1ビットは0とされるので、上位4ビットは、”1000”とされる。なお、モード4は、CD−テキストフォーマットが提案される以前には未定義のモードである。これにより、CD−テキストフォーマットに対応しない既存の再生装置にCD−テキストフォーマットに従って記録されたディスクが装着された場合には認識不可能なモードが検出されて再生不可能と判断され、誤動作が防止される。
【0029】
また、下位4ビットが以下に説明するようにID1で始まるパックが扱うデータの内容(16種類)を表す。すなわち、ID1は、(8xh)(hは16進数を意味し、また、xが下位4ビットの値を意味する)と表現される。具体的には、ID1が(80h)の場合は、text1〜text12の文字がアルバム・タイトル/トラック・タイトルを示し、(81h)の場合には、text1〜text12の文字がアルバム・アーチスト/トラック・アーチストを示す。また、ID1が(82h)の場合は作詩者、(83h)の場合は作曲者、(84h)の場合は編曲者、(85h)の場合はメッセージ、(86h)の場合はdiscID、(87h)の場合はジャンルID、(88h)の場合はTOC情報、(89h)の場合は2ndTOC情報が扱われる。
【0030】
さらに、(8ah),(8bh)および(8ch)は予約、すなわち現在は未定義であることを意味する。とされる。そして、ID1が8dhの場合はクローズド情報、(8eh)の場合はアルバムのUPC/EAN(POSコード)および各トラックのISRC(International Standard Recording Code) が扱われる。また、ID1が(8fh)の場合は、ID1で始まるパックによってブロックのサイズ情報が扱われる。すなわち、ID1が(8fh)とされているパックは、サイズパックである。
【0031】
ID2は、1ビットの拡張フラグと7ビットのトラックナンバーまたはパックエレメントナンバーを含む。トラックナンバーは、そのパックのテキストデータの最初の文字が属するトラックナンバーを示す。ID3は、パックに付された連続番号(シーケンスナンバー)である。この連続番号は、0から255(00hからffh)までである。ID4は、1ビット(MSB)のDBCC(Double Byte Character Code)識別ビットと、3ビットのブロックナンバーと、そのパックの文字位置を示す4ビットからなる。
【0032】
次に、テキストデータは、ID1によって示されるパックの情報に依存した文字列あるいはバイナリー情報を含む。(ID1=88h),(ID1=89h),(ID1=8fh)とされるパック以外のパックにおいては、テキストデータが文字列で表される。文字列は、文字の系列と終端子としてのヌルコードとからなる。また、(ID1=8fh)の場合、当該パックはサイズ・パックである。サイズ・パックの一例を図3に示す。text1は、そのブロックの文字(キャラクタ)コードを示す。text2およびtext3は、それぞれ、最初のトラックナンバーおよび最後のトラックナンバーを示す。text4は、コピー制御フラッグを示す。text5〜text12は、(ID1=80h)〜(ID1=87h)を有するパックの総数をそれぞれ表す。
【0033】
CDテキストのデータ・フォーマットは、上述したような16バイトからなる1パックのデータを、1ヶ国語について最大256パック(4096バイト)含むブロックから構成される。なお、1枚のディスク1には、最大で8ヶ国語に相当する8ブロック(すなわち最大で32768バイト)を記録することが可能である。以上のようなCDテキストのデータ・フォーマットにおいては、1ヶ国語のCDテキストデータを読込むために必要なRAM容量は、通常、4096バイトである。
【0034】
この発明の一実施形態では、限られたRAM容量の下でCDテキストの読込みを実行するために、コントローラ100内のRAM100aに対して、以下のような割り付けを行う。すなわち、図4Aに示すように、CDテキストデータの内の識別データID1〜ID4を除いた、text1〜text12をRAM100aに割り付ける。この場合、図4Bに示すように、RAM100a上では、text1〜text12の計12バイトを1パケットとして扱い、RAM100a上のアドレスを縦/横について、save_pack_no/save_text_noとして表す。
【0035】
次に、CDテキストデータを1パケット読込んで、RAM100aに格納する処理について図5のフローチャートを参照して説明する。ステップS1として、〔フラグ8F00〕=OFFとする。かかる処理は、ID1=8Fであるサイズ・パックのデータを読込んだか否かについての記憶を行うためのフラグの初期化である。次に、ステップS2としてCDテキストデータが1パケット読込まれたか判定し、読込まれた場合にはステップS3に移行し、読込まれていない場合には再度ステップS2に移行する。すなわち、ステップS2は、CDテキストデータが1パケット読込まれるまで待機して、その後ステップS3に移行するステップである。
【0036】
ステップS3では、ID1=8Fであるか否か、すなわち読込まれた1パックがサイズ・パックであるか否かを判定する。ID1=8Fである場合にはステップS4に移行し、それ以外の場合にはステップS9に移行する。ステップS4では、ID2=00であるか否かを判定し、ID2=00である場合にはステップS5に移行し、それ以外の場合にはステップS2に移行して、後続の1パケットが読込まれるまで待機する。ステップS5では、〔フラグ8F00〕=OFFであるか否かを判定する。〔フラグ8F00〕=OFFである場合には最初にID1=8Fとなった場合、すなわち、最初のサイズ・パックが読込まれた場合には、ステップS6に移行し、それ以外の場合にはステップS2に移行して、後続の1パケットが読込まれるまで待機する。
【0037】
ステップS6では、読込まれたサイズ・パックのデータに基づいてテキスト・サイズ計算を行う。そして、ステップS7に移行し、〔フラグ8F00〕=ONとする。これにより、ステップS6が1度行われたことが記憶される。さらに、ステップS11に移行する。
【0038】
一方、ステップS9では、〔フラグ8F00〕=ONであるか否かを判定する。〔フラグ8F00〕=ONと判定される場合にはテキスト・サイズ計算が既に完了しているので、この場合にはステップS10に移行してフォント・データ格納を実行する。一方、ステップS9で〔フラグ8F00〕=OFFと判定される場合にはステップS2に移行して、後続の1パケットが読込まれるまで待機する。
【0039】
ステップS6におけるテキスト・サイズ計算について図6および図7のフローチャートを参照して詳細に説明する。ここで、2個の図面に分けて記載したのは記載スペースの都合によるものであり、以下の説明においては、図6および図7を一体として参照する。なお、図6および図7の連結位置を(A),(B)として示した。ステップS101としてタイトル曲数(title_track ) を計算する。例えば、最後のタイトル曲が記録されているトラックナンバー(last _track)から最初のタイトル曲が記録されているトラックナンバー(start_track)を差し引いて、その差に1を加える演算によってタイトル曲数を計算することができる。次に、ステップS102に移行し、変数pack_80の値としてtext5=タイトルの総パック数(図3参照)を設定する。次に、ステップS103に移行して、変数pack_81の値としてtext6=アーチストの総パック数(図3参照)を設定する。
【0040】
次に、ステップS104に移行し、最後のパック番号=「タイトル総パック数」+「アーチスト総パック数」−1とする。次に、ステップS105に移行し、アーチストを格納する文字数として予め定義されているMAX _ARTIST_FONTをパケット数に変換し、artist_packとする。1パケットが12バイトなので、変換式は、MAX _ARTIST_FONT÷12であり、この除算において余りが生じる時は商に1を加えたものをartist_packの値とする。次に、ステップS106に移行し、タイトル割り当て分のRAM容量をパケット単位で求める。すなわち、タイトル・パック(title _pack) =MAX _TEXT_PACK−artist_packと計算する。ここで、MAX _TEXT_PACKは、テキストデータを格納するRAM容量を定義する。
【0041】
次に、ステップ107に移行し、変数pack_80の値(ステップS102においてtext5=タイトルの総パック数が設定されている)がタイトルパック(title _pack) 以下であるか否かを判定する。変数pack_80の値がタイトルパック数(title _pack) 以下である場合にはタイトルの総パック数がタイトルパックに入りきるとの判断の下に、ステップS108に移行する。それ以外の場合にはタイトルの総パック数がタイトルパックに入りきらないとの判断の下に、ステップS200に移行する。
【0042】
ステップS108に移行し、タイトル文字数(title _font)=変数pack_80の値(ステップS102においてtext5=タイトルの総パック数が設定されている)×12とする。次に、ステップS109に移行し、アーチスト文字数(artist_font)=(MAX _TEXT_PACK−変数pack_80の値)×12と計算する。次に、ステップS111に移行し、タイトルパック数(title _pack) =タイトル総パック数(pack_80の値)として格納する。次に、ステップS112に移行し、タイトルの、残りRAMを再計算するためのフラグ(2nd_cal)を再計算しないようにOFFとする。そして、ステップS301に移行する。
【0043】
一方、ステップS107において変数pack_80の値がタイトルパック数(title _pack) 以下であると判定される場合以外に場合には、ステップS200に移行し、MAX _TITLE _TRACK <タイトル曲数(title _track)であるか否かをチェックする。ここで、MAX _TITLE _TRACK は、タイトルを格納する曲数を定義する。MAX _TITLE _TRACK =0の時はアルバム・タイトルのみとなる。MAX _TITLE _TRACK <タイトル曲数(title _track)である場合にはステップS201に移行し、それ以外の場合にはステップS203に移行する。ステップS201では、タイトル曲数(title _track)=MAX _TITLE _TRACK と設定する。次に、ステップS202に移行し、最後のトラックナンバー(last _track)=最初のトラックナンバー(start_track)+MAX _TITLE _TRACK −1と設定する。そして、ステップS203に移行する。
【0044】
ステップS203として、タイトル文字数(title _font) =タイトルパック数(title _pack) ×12÷(タイトル曲数(title _track)+1(アルバム分))とする。次に、ステップ204に移行し、アーチスト文字数(artist_font)=MAX _ARTIST_FONTと設定する。次に、ステップ205に移行し、タイトルの、残りRAMを再計算するためのフラグ(2nd_cal)を再計算するようにONとする。そして、ステップS301に移行する。
【0045】
ステップS301として、テキストデータ読込みのID3の番号を指定する。すなわち、リードID3(read_id3)=0とする。次に、ステップS302に移行し、格納するRAMのアドレスを示す変数の値を設定する。すなわち、パケットナンバー(save _pack_no) =0,テキストナンバー(save _text_no) =0とする。次に、ステップS303に移行し、格納したトラック数(save _track)=0とする。次に、ステップS304に移行し、格納した文字数(save _font) =0にする。
【0046】
次に、図5中のステップS10におけるフォント・データ格納について、図8および図9のフローチャートを参照して説明する。ここで、2個の図面に分けて記載したのは記載スペースの都合によるものであり、以下の説明においては、図8および図9を一体として参照する。なお、図8および図9の連結位置を(C),(D),(E),(F)として示した。フォント・データの格納は、CDテキストデータ読み込みのID3の番号を指定する、リードID3(read _id3)に従って読込むことによって行われるので、ステップS401として、ID3=リードID3(read _id3)であるか否かをチェックする。ID3=リードID3(read _id3)であると判定される場合にはステップS402に移行し、それ以外の場合には、後続するパケットを待つ。
【0047】
ステップS402として、CDテキストデータのID1=80h(タイトル)か否かをチェックする。ID1=80hであると判定される場合にはステップS404に移行し、それ以外の場合には、ステップS403に移行する。ステップS403として、CDテキストデータのID1=81h(アーチスト)である否かをチェックする。ID1=81hであると判定される場合にはステップS406に移行し、それ以外の場合には、格納を終了する。従って、CDテキストデータのID1が80h,81hの何れでもない場合に、格納が終了することになる。
【0048】
ステップS402においてID1=80hであると判定される場合には、ステップS404において格納最大曲数(track_max)=タイトル・トラック(title_track)と設定し、さらに、ステップS405において格納最大文字数(font _max)=タイトル文字数(title_font) と設定する。そして、ステップS408に移行する。一方、ステップS403においてID1=81hであると判定される場合には、ステップS406において格納最大曲数(track_max)=0と設定し(タイトル・トラックと同様に設定しても良い)、さらに、ステップS407において格納最大文字数(font _max)=アーチスチト文字数(artist _font) と設定する。そして、ステップS408に移行する。
【0049】
ステップS408においては、CDテキストデータのtext1〜text12までについて1バイトずつチェックし、格納済ならばステップS500に移行し、それ以外の場合にはステップS409に移行し、格納する。ステップS500では、CDテキストデータ読込みのID3の番号を指定する変数であるリードID3(read _id3)に1を加算して、後続の1パケットを待つ。一方、ステップS410では、格納したtextをチェックする。すなわち、ヌル・データ(00)である場合にはステップS601に移行し、それ以外の場合にはS411に移行する。
【0050】
ステップS411では、格納した文字数(save _font) をチェックし、格納した文字数(save _font) <格納最大文字数(font _max)であるか否かを判定する。そして、格納した文字数(save _font) <格納最大文字数(font _max)である場合にはステップS412に移行し、それ以外の場合にはステップS413に移行する。ステップS412では、格納した文字数(save _font) に1を加算し、さらに、ステップS414に移行して、格納アドレス(save _pack_no,save _text_no) に1を加算する。そして、ステップS408に移行し、残りのtextをチェックする。
【0051】
一方、ステップS413では、格納した文字数(save _font) 、格納アドレス(save _pack_no,save _text_no) はそのままとされる。また、格納した文字数(save _font) <格納最大文字数(font _max)でない場合には格納最大アドレスを一度はみ出したので、残りRAM容量を再計算するためのフラグ(2nd_cal)を、再計算しないようにOFFする。そして、ステップS408に移行し、残りのtextをチェックする。
【0052】
一方、ステップS601は、格納した文字数(save _font) =0とし、さらに、ステップS602に移行して、格納したトラック数(save _track)に1を加算する。次に、ステップS603に移行し、格納したトラック数(save _track)≦格納最大曲数(track_max)であるか否かを判定する。格納したトラック数(save _track)≦格納最大曲数(track_max)である場合にはステップS604に移行し、それ以外の場合にはステップS605に移行する。
【0053】
ステップS604では、格納アドレス(save _pack_no,save _text_no) に1を加算する。次に、ステップS606に移行し、残りRAM容量を再計算するためのフラグ(2nd_cal)をチェックする。再計算しない(OFF)とされている場合にはステップS408に移行し、残りのtextをチェックする。一方、再計算する(ON)とされている場合にはステップS607に移行する。ステップS607では、CDテキストデータのID1=80h(タイトル)であるか否かをチェックする。ID1=80h(タイトル)でない場合には、ステップS408に移行し、残りのtextをチェックする。一方、ID1=80h(タイトル)である場合には、ステップS608に移行する。
【0054】
ステップS608では、残りRAM容量を再計算する。すなわち、タイトル割当て文字数を、「タイトル割当て文字数」=「タイトル・パック(title_pack) 」×12として計算し、格納した文字数を、「格納した文字数」=「格納アドレス(save _pack_no×12+save_text_no)」として計算する。これらの計算値に基づいて、タイトル残りRAM容量を、「タイトル残りRAM容量」=「タイトル割当て文字数」−「格納した文字数」として計算する。
【0055】
また、残り曲数を、「残り曲数」=「タイトル曲数(title_track)」−「格納したトラック数(save_track)」+1として計算し、残りの、1曲当たりの文字数を、「残りの、1曲当たりの文字数」=「タイトル残りRAM容量」÷「残り曲数」として計算する。なお、この計算では残りRAM容量を文字数に割振ったが、曲数に割振っても良い。残りRAM容量を再計算した後に、格納最大文字数(font _max)を,〔格納最大文字数(font _max)〕=タイトル文字(title_font) =「残りの、1曲当たりの文字数」とする。そして、ステップS408に移行し、残りのtextをチェックする。
【0056】
一方、ステップS605では、「格納したトラック数(save_track)=0」と設定し、ステップS609に移行する。ステップS609では、格納アドレスのtext12までヌル・データ(00)を格納し、ステップS610に移行する。ステップS610では、格納アドレスを設定する。すなわち、save_pack_noに1を加算し、save_text_noの値を0とする。
【0057】
次に、ステップS611に移行し、ID1=80h(タイトル)であるか否かをチェックし、ID1=80h(タイトル)である場合にはステップS612に移行し、それ以外の場合にはステップS613に移行する。ステップS612では、次のCDテキストデータ読込みのID3の番号リードID3(read _id3)を、「リードID3(read _id3)=タイトルの総パック数(pack _80) 」 (アーチストの先頭パックNo.)とし、ステップS614に移行する。ステップS614では、「タイトルの総パック数(pack _80) =格納アドレス(save _pack_no) 」(格納したパック数)に設定する。そして、ステップS615に移行する。
【0058】
ステップS615では、アーチストの総パック数=0であるか否かを判定する。アーチストの総パック数=0、すなわちアーチスト無しの場合には、格納を終了する。それ以外の場合には、ステップS616に移行する。ステップS616では、「アーチスト文字数=(MAX_TEXT_PACK−save_pack_no) ×12」(残りRAM容量の全て)として、後続の1パケットを待つ。一方、ステップS613では、「アーチストの総パック数(pack _81) =格納アドレス(save _pack_no) (格納したパック数)−格納したタイトルの総パック数(pack _80) に設定し、格納を終了する。
【0059】
図5、図6および図7、並びに図8および図9を参照して上述したようなアルゴリズム、すなわち、CDテキストデータを例えば1パケット(1バイト)読込んで、そのパケットがサイズパックである場合にはテキスト・サイズ計算を行い、そのパケットがサイズパックでない場合にはフォント・データ格納を行うアルゴリズムにより、限られたRAM容量の下で、MAX _TEXT_PACK, MAX _TITLE _TRACK, およびMAX _ARTIST_FONTを指定することにより、CDテキストデータを的確に読込むことが可能となる。なお、MAX _TEXT_PACKとしては、例えば60パケット(上述したように1パケットは12バイトである)、MAX _TITLE _TRACK としては例えば20曲、MAX _ARTIST_FONTとしては例えば30文字等をそれぞれ設定することができる。
【0060】
上述したアルゴリズムの他に、別の定義の仕方を用いたアルゴリズムを用いるようにしても良い。例えば、MAX _TEXT_PACK(RAM容量)、MAX _TRACK(MAX _TITLE _TRACK,MAX _ARTIST_TRACK)(曲数)、およびMAX _FONT(MAX_TITLE _FONT,MAX_ARTIST_FONT)(文字数)の定義を行うことにより、サイズパックを読込んだ時に、ユーザ指定のRAM容量にタイトル、アーチスト、その他について、どのように読込むかを算出するようにしたアルゴリズムも可能である。具体的には、以下のような処理を行うことが可能である。
【0061】
(1)RAM容量÷ディスク総曲数なる計算によって最大文字数を定義し、一定とすることも可能である。また、データを格納しながら、残りRAM容量から最大文字数を増加することも可能である。
【0062】
(2)RAM容量÷ディスク総文字数なる計算によって最大曲数を定義し、一定とすることも可能である。また、データを格納しながら、残りRAM容量から最大曲数を増加することも可能である。
【0063】
(3)RAM容量÷MAX _TRACK なる計算によって最大文字数を定義し、一定とすることも可能である。また、データを格納しながら、残りRAM容量から最大文字数を増加することも可能である。
【0064】
(4)RAM容量÷MAX _FONTなる計算によって最大曲数を定義し、一定とすることも可能である。また、データを格納しながら、残りRAM容量から最大曲数を増加することも可能である。
【0065】
上述したこの発明の一実施形態は、CDに対してこの発明を適用したものであるが、この発明は、CDテキストと同様な記録フォーマットを使用するものであれば、他の情報記録媒体を再生する場合においても適用することができる。
【0066】
また、この発明は、上述した実施の形態に限定されることなく、この発明の要旨を逸脱しない範囲で種々の応用および変形が考えられる。
【0067】
【発明の効果】
上述したように、この発明によれば、テキストデータを読込むために割り当てられる総記憶容量、テキストデータから読込む文字数、テキストデータから読込む曲数を規定するパラメータの内の少なくとも1個を使用し、このようなパラメータを使用した所定の処理を含むアルゴリズムを用いることによって、例えば装置各部の動作を制御するコントローラ内に設けられる、テキストデータを読込むためのRAM等の記憶回路の記憶容量をより効率的に使用することができる。
【0068】
このため、テキストデータを読込むために割り当てられる記憶容量が限定される場合にも、テキストデータを適切に読込むことができる。従って、再生装置の機能を損なうことなくテキストデータを読込むために割り当てられる記憶容量を削減することができる。
【0069】
このため、装置の機能を損なうことなく、若しくはその程度を最小限としながら、装置内の記憶回路の総記憶容量を削減することができ、装置のコスト低減に寄与することができる。
【図面の簡単な説明】
【図1】この発明を適用することができる再生装置の構成について説明するためのブロック図である。
【図2】CDテキストデータのフォーマット(1パック)の一例を示す略線図である。
【図3】サイズ・パックのフォーマットの一例を示す略線図である。
【図4】この発明の一実施形態における、CDテキストデータを格納するRAMの割り付けについて説明するための略線図である。
【図5】この発明の一実施形態において、CDテキストデータを1パケット読込んで、RAMに格納する処理について説明するためのフローチャートである。
【図6】図5に示す処理の一部分(テキスト・サイズ計算)について詳細に説明するためのフローチャートの一部である。
【図7】図5に示す処理の一部分(テキスト・サイズ計算)について詳細に説明するためのフローチャートの他の一部である。
【図8】図5に示す処理の他の一部分(フォント・データ格納)について詳細に説明するためのフローチャートの一部である。
【図9】図5に示す処理の他の一部分(フォント・データ格納)について詳細に説明するためのフローチャートの他の一部である。
【符号の説明】
100・・・コントローラ、100a・・・RAM
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a method for reproducing a recording medium on which audio data is recorded, particularly a digital audio data CD (compact disc) on which audio data and accompanying data are recorded in accordance with a CD text format.To the lawRelated.
[0002]
[Prior art]
Conventionally, in a microcomputer controlling a CD player system, when reading CD text data from a compact disc on which CD text is recorded, a RAM (Random Access Memory) capacity of 4096 bytes per language is required. And Furthermore, in order to read all text data (for example, 8 languages) recorded on the disc, a RAM capacity of 4096 × 8 = 32768 bytes is required.
[0003]
The capacity of the RAM provided in the microcomputer for controlling the system of the CD player is usually about 2000 to 4000 bytes, but most of it is used for controlling the system, and it is equivalent to one language. In many cases, sufficient RAM capacity does not remain to read CD text data.
[0004]
Therefore, in order to read the CD text data, it is necessary to connect the RAM having a large capacity to the microcomputer. In such a configuration, the cost is increased, and it has been impossible to realize a function of reading CD text data with a low-priced model.
[0005]
[Problems to be solved by the invention]
  Accordingly, an object of the present invention is to provide a reproduction method that enables reading of data having a large amount of information such as CD text data from a recording medium using low-cost hardware.The lawIt is to provide.
[0006]
[Means for Solving the Problems]
  The invention of claim 1In a reproduction method for reproducing content data recorded on a mounted recording medium,
  Read related information that is similarly recorded on the recording medium and manages information related to the content data in units of related data of a predetermined size,
  The related data identification information included in each related data to identify the type of the related data is determined,
  When it is determined by the determination that certain related data includes information regarding the size of the related information, the size regarding the related information is calculated based on the information regarding the size,
  After the calculation is performed, if it is determined by the same determination that other related data includes a part or all of the related information, the related information is stored based on the calculated size.
This is a reproduction method characterized by the above.
[0012]
According to the invention as described above, it is possible to efficiently use a RAM or the like in which information recorded on a recording medium such as a CD is read in accordance with a CD text format or the like.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described. An example of the overall configuration of a playback apparatus to which the present invention can be applied is shown in FIG. When the disk 1 is mounted on a loading mechanism having a detachable tray 501, a transport mechanism to which power generated by the transport motor 502 is applied transports the disk 1 to a chucking position. The disk 1 is driven to rotate at a CLV (Constant Linear Velocity) by a spindle motor 2. Then, the pit information on the disk 1 is read by the optical head 3. Here, the disk 1 mounted on the tray 501 is shown to be different in size from the disk 1 rotated by the spindle motor 2, but this is because the description space is taken into consideration and the conveyance is carried out. The size of the disk 1 is constant both at the time and at the time of rotational driving.
[0014]
Although not shown, the optical head 3 is provided with a laser diode and an optical system composed of a diffraction grating, a beam splitter, a quarter-wave plate, etc., and the laser emitted from the laser diode by the optical system. Light is irradiated in a predetermined state (for example, having a predetermined spot diameter) onto the recording surface of the disk 1. Then, the reflected light enters the above-described optical system, is separated from the irradiated light by the beam splitter, is taken out, and is guided to the detector via a cylindrical lens or the like. The detector converts incident light into an electrical signal.
[0015]
An electric signal generated by the detector is supplied to the RF calculation unit 4 as a read signal by the optical head 3. The RF operation unit 4 generates an RF signal, a focus error signal EF, and a tracking error signal ET as reproduction data based on the supplied signal. The focus error signal EF and the tracking error signal ET are supplied to the servo circuit 5. The servo circuit 5 generates a focus drive signal FD and a tracking drive signal TD based on the supplied focus error signal EF and tracking error signal ET, and generates the generated focus drive signal FD and tracking drive signal TD from the optical head 3. This is supplied to a biaxial mechanism (not shown) that controls the position of the objective lens.
[0016]
The biaxial mechanism displaces the position of the objective lens according to the supplied signal. As a result, the focus error and the tracking error are within a predetermined range for obtaining an appropriate read signal. The servo circuit 5 generates a thread drive signal SD based on the supplied tracking error signal ET, and supplies the generated thread drive signal SD to the thread mechanism 6 that drives the optical head 3 in the radial direction of the disk 1. To do. As a result, position control on a relatively large scale in the radial direction of the disk 1 is performed, for example, movement to a target track to be accessed. The servo circuit 5 is further supplied with a spindle servo signal SS, a track jump signal TJ, and the like, and performs operations based on these signals, which will be described later.
[0017]
On the other hand, the RF signal is supplied from the RF operation unit 4 to the decoder 7. The decoder 7 performs EFM modulation, CIRC (Cross Interleave Read-Solomon Code) error correction processing, and the like on the supplied RF signal, and supplies a signal generated by these processing to the D / A converter 8. The D / A converter 8 converts the supplied signal into, for example, 2-channel analog audio signals L and R. Then, the amplifier circuit 9 drives the speakers 10a and 10b based on the analog audio signals L and R, thereby generating an audio output. Although the case of two channels has been described here, the number of channels is not limited to two. In general, the number of speakers equal to the number of channels is provided.
[0018]
The decoder 6 extracts subcode data CSUB, CD text data CDTEXT, a clock error signal ESP for performing spindle servo, and the like from the supplied RF signal, and supplies the extracted data to the controller 100. The controller 100 includes a microcomputer and a RAM (Random Access Memory) 100a. The controller 100 controls each component in the apparatus according to an operation performed by a user, subcode data CSUB, CD text data CDTEXT, and the like. Further, the controller 100 stores TOC data, CD text data CDTEXT, and the like reproduced from the disk 1 in the RAM 100a. 1 shows the case where the RAM 100a is built in the controller 100, a RAM having the same function as the RAM 100a may be provided separately from the controller 100.
[0019]
For example, the spindle servo signal SS and the track jump signal TJ are supplied to the servo circuit 5. The servo circuit 5 generates a spindle drive signal SPD based on the supplied spindle servo signal SS, and supplies the spindle drive signal SPD to the spindle motor 2, thereby controlling the spindle servo, that is, the spindle motor 2. The servo circuit 5 controls the sled mechanism 6 and the like based on the track jump signal TJ, and causes the optical head 3 to access an appropriate track corresponding to an operation performed by the user.
[0020]
Operations performed by the user are input via the operation unit 200. The operation unit 200 is an operation unit having various operation keys provided on the outer casing panel of the apparatus. The operation unit 200 includes CD operations such as a play key, a stop key, a fast forward key, a fast rewind key, and an AMS (cue) key related to operations on the disc 1 that has been mounted at a chucking position or the like by an operation of a loading mechanism or the like. Keys and playback mode operation keys such as shuffle playback and program playback.
[0021]
The operation unit 200 is further provided with an operation switch related to a power operation (secondary power source) by the user, an open / close key for inputting a command for storing / removing the disk 1 (tray 501), and the like. By operating the open / close key, for example, the tray 501 is ejected from the chucking position, and the disc 1 can be loaded / removed from the tray 501. Further, the display unit 300 displays time information of the CD being played, various mode states, and the like based on the control of the controller 100.
[0022]
On the other hand, the power supply circuit 400 rectifies and smoothes the current supplied from the commercial AC power supply to generate a DC operating power supply voltage, and supplies the generated DC operating power supply voltage to each component. When the outlet is connected to the commercial AC power supply, the primary power supply is turned on and the standby power supply voltage V2 is output. The standby power supply voltage V2 is supplied to the controller 100 and the like. For example, when the user turns on a power operation switch installed in the operation unit 200, the operation power supply voltage V1 is supplied to each component.
[0023]
When the outlet is connected to the commercial AC power supply, the controller 100 is always supplied with the standby power supply voltage V2. For this reason, a certain amount of operation can be performed even in the standby state. For example, it is possible to control the power supply circuit 400 to automatically output the operating power supply voltage V1 when a predetermined condition is satisfied.
[0024]
The motor driver unit 500 drives a transport motor 502 that provides power to a loading mechanism that transports the tray 501. That is, the motor driver unit 500 applies an operating current to the transport motor 502 of the tray 501 in accordance with the motor control information SMD supplied from the controller 100. As a result, the rotation direction and the rotation operation period of the transport motor 502 are controlled by the controller 100.
[0025]
Further, signals from various sensors are supplied from the loading mechanism to the controller 100. That is, the signal SEN is supplied from the chucking detection switch 503 and the signal SSEN is supplied from the out switch 504 to the controller 100. With these signals, the controller 100 can detect various states in the loading mechanism.
[0026]
In the configuration as described above, for a disc that is not ready for playback at the present time, that is, a disc that has not yet read the TOC and CD text, the TOC and CD text are transferred after the disc is transported from the eject to the chucking position. Reading is executed.
[0027]
The CD text data will be described below. FIG. 2 shows an example of the format of CD text data. ID1, ID2, ID3, and ID4 are identification data composed of, for example, 8 bits (1 byte). Twelve text data text1 to text12 each having 8 bits (1 byte) are provided at positions following these identification data. These 16 bytes constitute one pack.
[0028]
ID1 to ID4 will be described. ID1 is set to “100” in which the upper 3 bits starting from the MSB among the upper 4 bits of the 8 bits represent mode 4. Since the remaining 1 bit in the upper 4 bits is set to 0, the upper 4 bits are set to “1000”. Mode 4 is an undefined mode before the CD-text format is proposed. As a result, when a disc recorded in accordance with the CD-text format is loaded into an existing playback device that does not support the CD-text format, an unrecognizable mode is detected and it is determined that playback is not possible, and malfunction is prevented. Is done.
[0029]
Further, the lower 4 bits represent the contents (16 types) of data handled by the pack starting with ID1 as described below. That is, ID1 is expressed as (8xh) (h means a hexadecimal number, and x means a value of lower 4 bits). Specifically, when ID1 is (80h), the texts from text1 to text12 indicate the album title / track title. When the ID1 is (81h), the texts from text1 to text12 are the album artist / track. Show the artist. Also, if ID1 is (82h), a composer, (83h) is a composer, (84h) is an arranger, (85h) is a message, (86h) is a discID, (87h) Is handled as a genre ID, (88h) as TOC information, and (89h) as 2nd TOC information.
[0030]
Further, (8ah), (8bh), and (8ch) mean reservation, that is, currently undefined. It is said. When ID1 is 8 dh, closed information is handled. When it is (8 eh), UPC / EAN (POS code) of the album and ISRC (International Standard Recording Code) of each track are handled. When ID1 is (8fh), block size information is handled by a pack starting with ID1. That is, a pack whose ID1 is (8 fh) is a size pack.
[0031]
ID2 includes a 1-bit extension flag and a 7-bit track number or pack element number. The track number indicates the track number to which the first character of the text data of the pack belongs. ID3 is a serial number (sequence number) given to the pack. This serial number is from 0 to 255 (00h to ffh). ID4 consists of a 1-bit (MSB) DBCC (Double Byte Character Code) identification bit, a 3-bit block number, and 4 bits indicating the character position of the pack.
[0032]
Next, the text data includes a character string or binary information depending on the pack information indicated by ID1. In packs other than (ID1 = 88h), (ID1 = 89h), and (ID1 = 8fh), text data is represented by a character string. The character string consists of a character sequence and a null code as a terminal. When (ID1 = 8 fh), the pack is a size pack. An example of a size pack is shown in FIG. text1 indicates the character (character) code of the block. text2 and text3 indicate the first track number and the last track number, respectively. text4 indicates a copy control flag. text5 to text12 represent the total number of packs having (ID1 = 80h) to (ID1 = 87h), respectively.
[0033]
The data format of the CD text is composed of blocks containing a maximum of 256 packs (4096 bytes) of one pack of 16 bytes as described above. In addition, it is possible to record 8 blocks corresponding to 8 languages (that is, 32768 bytes at the maximum) on one disc 1. In the CD text data format as described above, the RAM capacity required to read CD text data in one language is usually 4096 bytes.
[0034]
In one embodiment of the present invention, the following allocation is made to the RAM 100a in the controller 100 in order to read CD text under a limited RAM capacity. That is, as shown in FIG. 4A, text1 to text12 excluding the identification data ID1 to ID4 in the CD text data are allocated to the RAM 100a. In this case, as shown in FIG. 4B, a total of 12 bytes of text1 to text12 are treated as one packet on the RAM 100a, and the address on the RAM 100a is expressed as save_pack_no / save_text_no in the vertical / horizontal direction.
[0035]
Next, a process of reading one packet of CD text data and storing it in the RAM 100a will be described with reference to the flowchart of FIG. In step S1, [flag 8F00] = OFF is set. This process is initialization of a flag for storing whether or not the data of the size / pack whose ID1 = 8F has been read. Next, in step S2, it is determined whether one packet of CD text data has been read. If read, the process proceeds to step S3. If not read, the process proceeds to step S2 again. That is, step S2 is a step in which the process waits until one packet of CD text data is read, and then proceeds to step S3.
[0036]
In step S3, it is determined whether or not ID1 = 8F, that is, whether or not one read pack is a size pack. If ID1 = 8F, the process proceeds to step S4, and otherwise, the process proceeds to step S9. In step S4, it is determined whether or not ID2 = 00. If ID2 = 00, the process proceeds to step S5. Otherwise, the process proceeds to step S2, and one subsequent packet is read. Wait until In step S5, it is determined whether or not [flag 8F00] = OFF. If [Flag 8F00] = OFF, ID1 = 8F is first obtained, that is, if the first size pack is read, the process proceeds to Step S6. Otherwise, Step S2 is performed. The process waits until one subsequent packet is read.
[0037]
In step S6, the text size is calculated based on the read size pack data. Then, the process proceeds to step S7, and [flag 8F00] = ON is set. Thereby, it is memorized that Step S6 was performed once. Further, the process proceeds to step S11.
[0038]
On the other hand, in step S9, it is determined whether or not [flag 8F00] = ON. If it is determined that [Flag 8F00] = ON, the text size calculation has already been completed. In this case, the process proceeds to Step S10 to execute font data storage. On the other hand, if it is determined in step S9 that [flag 8F00] = OFF, the process proceeds to step S2 and waits until one subsequent packet is read.
[0039]
The text size calculation in step S6 will be described in detail with reference to the flowcharts of FIGS. Here, the description is divided into two drawings for the convenience of description space. In the following description, FIGS. 6 and 7 are referred to as one body. 6 and 7 are shown as (A) and (B). In step S101, the number of title songs (title_track) is calculated. For example, the number of title songs is calculated by subtracting the track number (start_track) where the first title song is recorded from the track number (last_track) where the last title song is recorded, and adding 1 to the difference. be able to. Next, the process proceeds to step S102, where text5 = total number of title packs (see FIG. 3) is set as the value of variable pack_80. Next, the process proceeds to step S103, where text6 = total number of artists pack (see FIG. 3) is set as the value of variable pack_81.
[0040]
Next, the process proceeds to step S104, where the last pack number = “title total pack number” + “artist total pack number” −1. Next, the process proceeds to step S105, and MAX_ARTIST_FONT, which is defined in advance as the number of characters for storing the artist, is converted into the number of packets to be artist_pack. Since one packet is 12 bytes, the conversion formula is MAX_ARTIST_FONT ÷ 12. When a remainder occurs in this division, the value obtained by adding 1 to the quotient is the value of artist_pack. Next, the process proceeds to step S106, and the RAM capacity for title allocation is obtained in units of packets. That is, title pack (title_pack) = MAX_TEXT_PACK−artist_pack. Here, MAX_TEXT_PACK defines a RAM capacity for storing text data.
[0041]
Next, the process proceeds to step 107, and it is determined whether or not the value of the variable pack_80 (text5 = total number of title packs set in step S102) is equal to or less than the title pack (title_pack). If the value of the variable pack_80 is equal to or less than the number of title packs (title_pack), the process proceeds to step S108 based on the determination that the total number of packs of titles can fit into the title pack. In other cases, the process proceeds to step S200 based on the determination that the total number of packs of the title does not fit in the title pack.
[0042]
The process proceeds to step S108, where the number of title characters (title_font) = the value of the variable pack_80 (text5 = total number of title packs set in step S102) × 12. Next, the process proceeds to step S109, where the number of artist characters (artist_font) = (MAX_TEXT_PACK−value of variable pack_80) × 12 is calculated. Next, the process proceeds to step S111, where the number of title packs (title_pack) = the total number of title packs (pack_80 value) is stored. Next, the process proceeds to step S112, and a flag (2 for recalculating the remaining RAM of the title).ndSet _cal) to OFF so that it is not recalculated. Then, the process proceeds to step S301.
[0043]
On the other hand, if it is determined in step S107 that the value of the variable pack_80 is less than or equal to the number of title packs (title_pack), the process proceeds to step S200, and MAX_TITLE_TRACK <title song number (title_track). Check whether or not. Here, MAX_TITLE_TRACK defines the number of songs storing the title. When MAX_TITLE_TRACK = 0, only the album title is available. If MAX_TITLE_TRACK <title song number (title_track), the process proceeds to step S201, and otherwise, the process proceeds to step S203. In step S201, the number of title songs (title_track) = MAX_TITLE_TRACK is set. Next, the process proceeds to step S202, where the last track number (last_track) = the first track number (start_track) + MAX_TITLE_TRACK-1 is set. Then, the process proceeds to step S203.
[0044]
In step S203, the number of title characters (title_font) = the number of title packs (title_pack) × 12 ÷ (the number of title songs (title_track) +1 (for album)). Next, the process proceeds to step 204 where the number of artist characters (artist_font) = MAX_ARTIST_FONT is set. Next, the process proceeds to step 205, where a flag (2 for recalculating the remaining RAM of the title).nd_Cal) is turned ON to recalculate. Then, the process proceeds to step S301.
[0045]
In step S301, the number of ID3 for reading the text data is designated. That is, read ID 3 (read_id 3) = 0. In step S302, a variable value indicating the RAM address to be stored is set. That is, the packet number (save_pack_no) = 0 and the text number (save_text_no) = 0. Next, the process proceeds to step S303, where the number of stored tracks (save_track) = 0. Next, the process proceeds to step S304, and the number of stored characters (save_font) = 0 is set.
[0046]
Next, the font data storage in step S10 in FIG. 5 will be described with reference to the flowcharts in FIGS. Here, the description is divided into two drawings for the convenience of description space, and in the following description, FIGS. 8 and 9 are referred to as one body. 8 and 9 are shown as (C), (D), (E), and (F). Since the font data is stored by reading according to the read ID 3 (read_id3) that designates the ID 3 number for reading the CD text data, whether or not ID3 = read ID3 (read_id3) is determined as step S401. To check. If it is determined that ID3 = read ID3 (read_id3), the process proceeds to step S402. Otherwise, the process waits for a subsequent packet.
[0047]
In step S402, it is checked whether or not CD text data ID1 = 80h (title). If it is determined that ID1 = 80h, the process proceeds to step S404; otherwise, the process proceeds to step S403. In step S403, it is checked whether or not CD1 text data ID1 = 81h (artist). If it is determined that ID1 = 81h, the process proceeds to step S406. Otherwise, the storage ends. Therefore, the storage ends when the ID 1 of the CD text data is neither 80h nor 81h.
[0048]
If it is determined in step S402 that ID1 = 80h, the maximum number of stored songs (track_max) = title / track (title_track) is set in step S404, and the maximum number of stored characters (font_max) = in step S405. Set the number of title characters (title_font). Then, the process proceeds to step S408. On the other hand, if it is determined in step S403 that ID1 = 81h, the maximum number of stored songs (track_max) = 0 is set in step S406 (may be set similarly to the title / track), and further, step In S407, the maximum number of characters stored (font_max) = the number of artist characters (artist_font) is set. Then, the process proceeds to step S408.
[0049]
In step S408, the text text 1 to text12 of the CD text data is checked one byte at a time, and if stored, the process proceeds to step S500, otherwise the process proceeds to step S409 and stored. In step S500, 1 is added to the read ID3 (read_id3) which is a variable for specifying the ID3 number for reading the CD text data, and the subsequent one packet is awaited. On the other hand, in step S410, the stored text is checked. That is, if the data is null data (00), the process proceeds to step S601. Otherwise, the process proceeds to S411.
[0050]
In step S411, the number of stored characters (save_font) is checked, and it is determined whether or not the number of stored characters (save_font) <the maximum number of stored characters (font_max). If the number of stored characters (save_font) <the maximum number of stored characters (font_max), the process proceeds to step S412. Otherwise, the process proceeds to step S413. In step S412, 1 is added to the number of stored characters (save_font), and the process proceeds to step S414, and 1 is added to the storage address (save_pack_no, save_text_no). Then, the process proceeds to step S408, and the remaining text is checked.
[0051]
On the other hand, in step S413, the number of stored characters (save_font) and the storage address (save_pack_no, save_text_no) are kept as they are. In addition, when the number of stored characters (save_font) <the maximum number of stored characters (font_max) is not satisfied, the maximum storage address is overflowed once, so a flag (2 for recalculating the remaining RAM capacity)nd_Cal) is turned OFF not to recalculate. Then, the process proceeds to step S408, and the remaining text is checked.
[0052]
On the other hand, in step S601, the number of stored characters (save_font) = 0 is set, and the process proceeds to step S602, where 1 is added to the number of stored tracks (save_track). Next, the process proceeds to step S603, where it is determined whether or not the number of stored tracks (save_track) ≦ the maximum number of stored songs (track_max). If the number of stored tracks (save_track) ≦ the maximum number of stored songs (track_max), the process proceeds to step S604. Otherwise, the process proceeds to step S605.
[0053]
In step S604, 1 is added to the storage address (save_pack_no, save_text_no). Next, the process proceeds to step S606 and a flag (2 for recalculating the remaining RAM capacity).ndCheck _cal). If not recalculated (OFF), the process proceeds to step S408, and the remaining text is checked. On the other hand, if recalculation is set (ON), the process proceeds to step S607. In step S607, it is checked whether or not CD text data ID1 = 80h (title). If ID1 = 80h (title) is not satisfied, the process proceeds to step S408, and the remaining text is checked. On the other hand, if ID1 = 80h (title), the process proceeds to step S608.
[0054]
In step S608, the remaining RAM capacity is recalculated. That is, the number of characters assigned to the title is calculated as “title assigned characters” = “title pack (title_pack)” × 12, and the number of stored characters is calculated as “number of stored characters” = “storage address (save_pack_no × 12 + save_text_no)”. To do. Based on these calculated values, the remaining title RAM capacity is calculated as “title remaining RAM capacity” = “number of characters assigned to title” − “number of stored characters”.
[0055]
Also, the number of remaining songs is calculated as “number of remaining songs” = “number of title songs (title_track)” − “number of stored tracks (save_track)” + 1, and the remaining number of characters per song is calculated as “remaining, The number of characters per song is calculated as “title remaining RAM capacity” ÷ “number of remaining songs”. In this calculation, the remaining RAM capacity is allocated to the number of characters, but may be allocated to the number of songs. After recalculating the remaining RAM capacity, the maximum number of stored characters (font_max) is set to [maximum stored number of characters (font_max)] = title character (title_font) = “number of remaining characters per song”. Then, the process proceeds to step S408, and the remaining text is checked.
[0056]
On the other hand, in step S605, “the number of stored tracks (save_track) = 0” is set, and the process proceeds to step S609. In step S609, null data (00) is stored up to text12 of the storage address, and the process proceeds to step S610. In step S610, a storage address is set. That is, 1 is added to save_pack_no, and the value of save_text_no is set to 0.
[0057]
Next, the process proceeds to step S611, and it is checked whether or not ID1 = 80h (title). If ID1 = 80h (title), the process proceeds to step S612. Otherwise, the process proceeds to step S613. Transition. In step S612, the number lead ID3 (read_id3) of ID3 for reading the next CD text data is set to “lead ID3 (read_id3) = total number of title packs (pack_80)” (first pack number of artist). The process proceeds to step S614. In step S614, “total number of title packs (pack_80) = storage address (save_pack_no)” (the number of stored packs) is set. Then, control goes to a step S615.
[0058]
In step S615, it is determined whether or not the total number of artists pack = 0. When the total number of packed artists = 0, that is, when there is no artist, the storage is terminated. In cases other than that described here, process flow proceeds to Step S616. In step S616, “number of artist characters = (MAX_TEXT_PACK−save_pack_no) × 12” (all remaining RAM capacity) is waited for one subsequent packet. On the other hand, in step S613, “artist total pack number (pack_81) = storage address (save_pack_no) (stored pack number) −total title pack number stored (pack_80) is set.
[0059]
  The algorithm as described above with reference to FIGS. 5, 6 and 7, and FIGS. 8 and 9, ie, CD text data is transmitted in one packet (12Bytes), and if the packet is a size pack, the text size is calculated. If the packet is not a size pack, the font data storage algorithm is used. By specifying _TEXT_PACK, MAX_TITLE_TRACK, and MAX_ARTIST_FONT, it becomes possible to read CD text data accurately. For example, 60 packets (1 packet is 12 bytes as described above) can be set as MAX_TEXT_PACK, 20 songs can be set as MAX_TITLE_TRACK, and 30 characters can be set as MAX_ARTIST_FONT.
[0060]
In addition to the algorithm described above, an algorithm using another definition method may be used. For example, when a size pack is read by defining MAX_TEXT_PACK (RAM capacity), MAX_TRACK (MAX_TITLE_TRACK, MAX_ARTIST_TRACK) (number of songs), and MAX_FONT (MAX_TITLE_FONT, MAX_ARTIST_FONT) (number of characters) It is also possible to use an algorithm that calculates how titles, artists, and the like are read into a user-specified RAM capacity. Specifically, the following processing can be performed.
[0061]
(1) The maximum number of characters can be defined by a calculation of RAM capacity / total number of songs on the disk, and can be made constant. It is also possible to increase the maximum number of characters from the remaining RAM capacity while storing data.
[0062]
(2) The maximum number of songs can be defined by a calculation of RAM capacity / total number of characters of the disk, and can be made constant. It is also possible to increase the maximum number of songs from the remaining RAM capacity while storing data.
[0063]
(3) The maximum number of characters can be defined by a calculation of RAM capacity / MAX_TRACK and can be made constant. It is also possible to increase the maximum number of characters from the remaining RAM capacity while storing data.
[0064]
(4) The maximum number of songs can be defined by a calculation of RAM capacity / MAX_FONT and can be made constant. It is also possible to increase the maximum number of songs from the remaining RAM capacity while storing data.
[0065]
In the above-described embodiment of the present invention, the present invention is applied to a CD. However, the present invention reproduces other information recording media as long as it uses a recording format similar to a CD text. It can be applied even in the case of.
[0066]
The present invention is not limited to the above-described embodiment, and various applications and modifications can be considered without departing from the gist of the present invention.
[0067]
【The invention's effect】
As described above, according to the present invention, at least one of the parameters specifying the total storage capacity allocated for reading the text data, the number of characters read from the text data, and the number of songs read from the text data is used. By using an algorithm including predetermined processing using such parameters, the storage capacity of a storage circuit such as a RAM for reading text data provided in a controller that controls the operation of each unit of the apparatus, for example, can be made more efficient. Can be used.
[0068]
For this reason, even when the storage capacity allocated for reading the text data is limited, the text data can be read appropriately. Therefore, it is possible to reduce the storage capacity allocated for reading the text data without impairing the function of the playback device.
[0069]
For this reason, the total storage capacity of the storage circuit in the device can be reduced without impairing the function of the device or while minimizing the degree thereof, which can contribute to the cost reduction of the device.
[Brief description of the drawings]
FIG. 1 is a block diagram for explaining a configuration of a playback apparatus to which the present invention can be applied.
FIG. 2 is a schematic diagram illustrating an example of a format (1 pack) of CD text data.
FIG. 3 is a schematic diagram illustrating an example of a size pack format;
FIG. 4 is a schematic diagram for explaining allocation of a RAM for storing CD text data in an embodiment of the present invention.
FIG. 5 is a flowchart for explaining a process of reading one packet of CD text data and storing it in a RAM according to an embodiment of the present invention;
6 is a part of a flowchart for explaining in detail a part of the processing (text size calculation) shown in FIG. 5;
7 is another part of the flowchart for explaining in detail a part of the processing (text size calculation) shown in FIG. 5;
FIG. 8 is a part of a flowchart for explaining in detail another part (font data storage) of the process shown in FIG. 5;
FIG. 9 is another part of a flowchart for explaining in detail another part (font data storage) of the process shown in FIG. 5;
[Explanation of symbols]
100: Controller, 100a: RAM

Claims (4)

装着された記録媒体に記録されたコンテンツデータを再生する再生方法において、
前記記録媒体に同様に記録され、前記コンテンツデータに関連する情報を所定サイズの関連データ単位で管理する関連情報を読み出し、
各関連データに含まれ、当該関連データの種類を識別するための関連データ識別情報を判定し、
前記判定によりある関連データが前記関連情報のサイズに関する情報を含むと判定された場合は、当該サイズに関する情報に基づき当該関連情報に関するサイズを計算し、
前記計算が行われた後に、さらに同様の判定により他の関連データが前記関連情報の一部または全部を含むと判定された場合は、計算された前記サイズに基づき当該関連情報を記憶する
ことを特徴とする再生方法。
In a reproduction method for reproducing content data recorded on a mounted recording medium,
Read related information that is similarly recorded on the recording medium and manages information related to the content data in units of related data of a predetermined size,
The related data identification information included in each related data to identify the type of the related data is determined,
When it is determined by the determination that certain related data includes information regarding the size of the related information, the size regarding the related information is calculated based on the information regarding the size,
After the calculation is performed, if it is determined by the same determination that other related data includes a part or all of the related information, the related information is stored based on the calculated size. A reproduction method characterized by the above.
計算された前記サイズに基づき前記関連情報を記憶する際に、記憶する当該関連情報の最大値を指定する
ことを特徴とする請求項1記載の再生方法。
Calculated in storing the related information based on the size, method of reproducing the specifying the maximum value of the associated information <br/> that you characterized according to claim 1, in which the storage.
前記コンテンツデータはオーディオデータであり、前記関連情報はタイトル情報またはアーチスト情報であるThe content data is audio data, and the related information is title information or artist information.
ことを特徴とする請求項1記載の再生方法。The reproducing method according to claim 1, wherein:
任意の関連データに含まれる関連データ識別情報に対応する処理を実行できない場合は、前記記録媒体を再生不可とするWhen the processing corresponding to the related data identification information included in any related data cannot be executed, the recording medium is made unplayable.
ことを特徴とする請求項Claims 1 1 記載の再生方法。The playback method described.
JP36244598A 1998-12-21 1998-12-21 Playback method Expired - Fee Related JP4016167B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36244598A JP4016167B2 (en) 1998-12-21 1998-12-21 Playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36244598A JP4016167B2 (en) 1998-12-21 1998-12-21 Playback method

Publications (2)

Publication Number Publication Date
JP2000187933A JP2000187933A (en) 2000-07-04
JP4016167B2 true JP4016167B2 (en) 2007-12-05

Family

ID=18476873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36244598A Expired - Fee Related JP4016167B2 (en) 1998-12-21 1998-12-21 Playback method

Country Status (1)

Country Link
JP (1) JP4016167B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251719B2 (en) 2003-08-11 2007-07-31 Fujitsu Ten Limited Recording medium playback apparatus
JP2005100638A (en) * 2004-11-30 2005-04-14 Victor Co Of Japan Ltd Audio data recording/reproducing disk
JP2005108425A (en) * 2004-11-30 2005-04-21 Victor Co Of Japan Ltd Audio data recording and reproducing disk
JP2005108424A (en) * 2004-11-30 2005-04-21 Victor Co Of Japan Ltd Audio data recording and reproducing disk
JP2005100637A (en) * 2004-11-30 2005-04-14 Victor Co Of Japan Ltd Text data recording method
JP2005056578A (en) * 2004-11-30 2005-03-03 Victor Co Of Japan Ltd Text data recording method
JP2005056579A (en) * 2004-11-30 2005-03-03 Victor Co Of Japan Ltd Text data recording method
JP2005108426A (en) * 2004-11-30 2005-04-21 Victor Co Of Japan Ltd Audio data recording and reproducing disk
JP2005056580A (en) * 2004-11-30 2005-03-03 Victor Co Of Japan Ltd Text data recording method
JP2005122894A (en) * 2004-11-30 2005-05-12 Victor Co Of Japan Ltd Text data recording method

Also Published As

Publication number Publication date
JP2000187933A (en) 2000-07-04

Similar Documents

Publication Publication Date Title
KR980011091A (en) Record carrier and playback device
JP4016167B2 (en) Playback method
JP2002032922A (en) Optical disk and optical unit
US6661763B2 (en) Optical disk recording apparatus and recording control method for recording data in a lead-in area and a program area
US6594212B2 (en) Reproducing device with cross-fading operation
US6519676B1 (en) Method for reading a CD having CD-text data
JP2001243638A (en) Device and method for reproducing information
JPH0554525A (en) Method of preventing erroneous recording of compact disk player
JPH06111548A (en) Digital audio medium changer system
JP3360873B2 (en) Disk recording apparatus and method
JP2001250324A (en) Device and method for recording
EP1579326B1 (en) Module for reading a data carrier
JP3209369B2 (en) Recording and playback device
JP4092804B2 (en) Playback device
JPH04162261A (en) Information recording disk and information reproducing method
JP2002343031A (en) Disk recording device and disk
JPH09185863A (en) Disk device
JP3555938B2 (en) Optical disk reproducing apparatus and optical disk reproducing method
JP2704996B2 (en) Optical disk recording device
JP2704997B2 (en) Optical disk recording device
JP2001266554A (en) Reproducing device for vehicle and discrimination name display method
JPH1125607A (en) Recording medium and reproducing device
JPH08212761A (en) Reproducing apparatus for recording medium
JP4436012B2 (en) Recording / reproducing apparatus and program
JPS63241779A (en) Disk reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050816

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070723

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070903

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees