JP2002025197A - Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text - Google Patents

Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text

Info

Publication number
JP2002025197A
JP2002025197A JP2000203456A JP2000203456A JP2002025197A JP 2002025197 A JP2002025197 A JP 2002025197A JP 2000203456 A JP2000203456 A JP 2000203456A JP 2000203456 A JP2000203456 A JP 2000203456A JP 2002025197 A JP2002025197 A JP 2002025197A
Authority
JP
Japan
Prior art keywords
text
pack
information
additional information
address
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.)
Pending
Application number
JP2000203456A
Other languages
Japanese (ja)
Inventor
Minoru Hirata
稔 平田
Yoko Himuro
葉子 氷室
Yutaka Hino
豊 日野
Masakazu Hijikata
雅和 土方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000203456A priority Critical patent/JP2002025197A/en
Publication of JP2002025197A publication Critical patent/JP2002025197A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a CD text storing and reproducing method for reproducing a CD text from a musical compact disk in which the musical information and CD text additional information corresponding to the musical information are recorded, to provide a recording medium in which a program for the CD text storing and reproducing method is recorded, and to provide a compact disk reproducing device. SOLUTION: A CD text is read from a CD on which the musical information and CD text additional information are recorded, and the CD text data is re-arranged, simplified, and temporarily stored in a RAM 27. Further, the data stored in the RAM 27 is retrieved in accordance with the reproduction request from an external device, and is displayed on a display part 29.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、音楽情報と、その
音楽情報に対応した付加文字情報(以下、略して「CD
テキスト」と呼ぶ。)が記録された音楽用コンパクトデ
ィスクから文字情報を読み出して格納および再生するC
Dテキスト格納および再生方法、コンパクトディスク再
生装置、並びに、CDテキスト格納および再生プログラ
ムを記録した記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to music information and additional character information (hereinafter abbreviated as "CD") corresponding to the music information.
Call it "text." ) For reading, storing, and reproducing character information from a compact disc for music on which
The present invention relates to a method for storing and reproducing D text, a compact disk reproducing apparatus, and a recording medium on which a program for storing and reproducing CD text is recorded.

【0002】[0002]

【従来の技術】近年、音楽用コンパクトディスクは、音
楽情報とともに、その音楽情報に対する付加文字情報と
して、例えば、曲のタイトル、アーティスト名、作詞者
名、作曲者名、編曲者名およびメッセージなどのテキス
トデータ、すなわちCDテキストが記録できるものが普
及してきている。
2. Description of the Related Art In recent years, music compact discs have been added to music information as additional character information for the music information, such as a song title, artist name, lyricist name, composer name, arranger name and message. Text data, that is, data that can record a CD text, has become widespread.

【0003】図18に示すように、このような音楽用コ
ンパクトディスク1は、円盤形状を有し、その中心のリ
ードインエリア3と、このリードインエリア3の外側円
周方向に向かって延在する音楽情報エリア5とにフォー
マットされている。
As shown in FIG. 18, such a music compact disc 1 has a disk shape, and extends in the center of a lead-in area 3 and in a circumferential direction outside the lead-in area 3. Music information area 5.

【0004】リードインエリア3は、上述のCDテキス
トが記録される領域であり、コンパクトディスク1内の
音楽情報エリア5に相当する一つのセッションの先頭に
確保される領域である。本図では、1つのセッションを
有するコンパクトディスク1を例にしているが、複数の
セッションを有するマルチセッション対応のコンパクト
ディスクでは、各セッションの先頭にそれぞれリードイ
ンエリアが確保される。
[0004] The lead-in area 3 is an area in which the above-mentioned CD text is recorded, and is an area secured at the beginning of one session corresponding to the music information area 5 in the compact disc 1. In this figure, the compact disc 1 having one session is taken as an example. However, in a multi-session compatible compact disc having a plurality of sessions, a lead-in area is secured at the beginning of each session.

【0005】音楽情報エリア5は、音楽情報が記録され
る領域であり、最大99トラックを有する。一つのトラ
ックに一曲分の音楽情報が記録されるので、音楽情報エ
リア5には、最大99曲分の音楽情報が記録できる。
[0005] The music information area 5 is an area where music information is recorded, and has a maximum of 99 tracks. Since music information for one song is recorded on one track, music information for a maximum of 99 songs can be recorded in the music information area 5.

【0006】図19に、リードインエリア3の内部構成
図を示す。同図に示すように、リードインエリア3は、
最大8個のブロックB0〜ブロックB7からなり、さらに
各ブロックは、最大256個のパックP0〜P255からな
る階層構造を有している。さらに各パックは、ヘッダー
部7と、テキストデータ部9と、巡回冗長検査コード
(以下、「CRC」と略す)部11とを有する。ヘッダ
ー部7、テキストデータ部9およびCRC部11は、そ
れぞれ4、12および2バイトのデータ長を有し、すな
わち、各パックは18バイトの固定長データである。
尚、本図において、サブコードは図示していないが、レ
ッドブックに記載された規格のリードインエリア3にお
いて、モード4のCDテキストは、サブコードR〜Wに
記録されている。
FIG. 19 shows an internal configuration diagram of the lead-in area 3. As shown in FIG.
Made from a maximum of eight blocks B 0 ~ block B 7, and each block has a hierarchical structure consisting of up to 256 packs P 0 to P 255. Each pack further includes a header section 7, a text data section 9, and a cyclic redundancy check code (hereinafter abbreviated as "CRC") section 11. The header section 7, the text data section 9 and the CRC section 11 have data lengths of 4, 12, and 2 bytes, respectively, that is, each pack is 18-byte fixed length data.
In this figure, the subcode is not shown, but the CD text of mode 4 is recorded in the subcodes R to W in the lead-in area 3 of the standard described in the Red Book.

【0007】ヘッダー部7は、後述する各パックの識別
子を含む。テキストデータ部9は、付加情報のテキスト
文字列をシングルバイトコードで12文字分含む。CR
C部11は、各パックのエラーチェック用のコードを含
む。
The header section 7 includes an identifier of each pack described later. The text data section 9 includes a text character string of additional information for 12 characters in a single byte code. CR
The C unit 11 includes an error check code for each pack.

【0008】図20および21を用いて、リードインエ
リア3へのCDテキストの記録方法を説明する。図20
は、音楽用コンパクトディスク1に記録されるべき付加
情報の一覧である。同図に示すように、付加文字情報と
しては、例えば、アルバム名、曲のタイトル名などがあ
る。これらの付加文字情報は、図21に示すように、コ
ンパクトディスク1のリードインエリア3内の複数の固
定長データのパックのテキストデータ部9に分割して記
録される。図21では、各パックのテキストデータ部9
のコードの下に、そのコードが再生時に表示される文字
を表示データとして示してある。コード“00”はテキ
スト文字列の区切りを示し、コード“20”はスペース
である。CRCコードは図示していない。
A method for recording a CD text in the lead-in area 3 will be described with reference to FIGS. FIG.
Is a list of additional information to be recorded on the music compact disc 1. As shown in the figure, the additional character information includes, for example, an album name, a song title name, and the like. As shown in FIG. 21, the additional character information is divided and recorded in the text data section 9 of a plurality of fixed-length data packs in the lead-in area 3 of the compact disc 1. In FIG. 21, the text data portion 9 of each pack
Below the code, characters displayed when the code is reproduced are shown as display data. The code “00” indicates a delimiter of a text character string, and the code “20” is a space. The CRC code is not shown.

【0009】各パックのヘッダー部7は、4つの識別子
ID1〜ID4を含んでいる。第1識別子ID1は、テ
キストデータ部9に記載されるテキストデータの種別、
すなわち、アルバム名、曲のタイトル、アーティスト
名、作詞者名、作曲者名およびメッセージなどを示すコ
ードである。規格では、80(h)〜8F(h)でデー
タ種別を分類して示すように規定されている。例えば、
アルバム名および曲のタイトルは、80(h)である。
ここで、異なるデータ種別のテキストデータが、同じ一
つのパックに格納されることは無く、テキストデータ部
9の途中でテキスト文字列が終了し、次の異なるデータ
種別を格納する場合は、当該パックのテキストデータ部
9の最終桁までNULLにより埋められる。
The header section 7 of each pack includes four identifiers ID1 to ID4. The first identifier ID1 is a type of text data described in the text data section 9,
That is, the code indicates the album name, song title, artist name, lyricist name, composer name, message, and the like. According to the standard, data types are categorized and indicated by 80 (h) to 8F (h). For example,
The album name and the song title are 80 (h).
Here, text data of different data types is not stored in the same one pack, and when a text character string ends in the middle of the text data part 9 and the next different data type is stored, Is filled with NULL up to the last digit of the text data portion 9.

【0010】第2識別子ID2は、各パックのテキスト
データ部9の1桁目tx1に記録されている文字が含まれ
るテキスト文字列が、何番目のトラック(曲)に該当す
る付加文字情報かを示す。例えば、パックP1のテキス
トデータ部9の1桁目tx1に記録されている文字「N」
は、1曲目のタイトルなので、第2識別子ID2は01
(h)である。
The second identifier ID2 indicates the number of a track (song) in which the character string containing the character recorded in the first digit tx1 of the text data portion 9 of each pack corresponds to the additional character information. Show. For example, the character “N” recorded in the first digit tx1 of the text data portion 9 of the pack P1
Is the title of the first song, the second identifier ID2 is 01
(H).

【0011】第3識別子ID3は、パックに付けられた
連番であり、各ブロックは初期値“00”から始まる。
The third identifier ID3 is a serial number assigned to the pack, and each block starts with an initial value "00".

【0012】第4識別子ID4は、その下位4ビット
で、各パックのテキストデータ部9の1桁目tx1の文字
が、当該テキスト文字列の何文字目であるかを示す。こ
こで、テキスト文字列は、1文字目を0としてカウント
する。例えば、パックP3の一桁目tx1の文字、ここで
はスペース(“20”)は、4曲目のタイトル「THE
ROOT」の3文字目にあたるので、第4識別子ID4
は3(h)となる。また、テキストデータ部9に格納さ
れるテキスト文字列の桁数に制限は無く、16文字以上
の場合、第4識別子ID4の下位4ビットは、F(h)
で固定される。
The fourth identifier ID4 uses the lower 4 bits to indicate the character of the first digit tx1 of the text data portion 9 of each pack in the text character string. Here, the text character string is counted with the first character as 0. For example, the character of the first digit tx1 of the pack P3, in this case, a space (“20”) is assigned to the title “THE
ROOT ", the fourth identifier ID4
Is 3 (h). Further, the number of digits of the text character string stored in the text data part 9 is not limited. When the number of characters is 16 or more, the lower 4 bits of the fourth identifier ID4 are F (h).
Fixed at.

【0013】一般的な音楽用コンパクトディスク記録お
よび再生装置(以後、「CD再生装置」と略す。)のブ
ロック構成図を図22に示す。同図に示すように、CD
再生装置20は、コンパクトディスク1を載置して回転
させるCD駆動部21と、ピックアップを含む信号処理
を行う信号処理部23と、後述する本発明のCDテキス
ト格納および再生プログラムを含む所定のプログラムに
従って、装置全体の制御を行うコントロール部25と、
ランダムアクセスメモリ(RAM)などの記憶装置27
と、表示部29とを備えている。
FIG. 22 shows a block diagram of a general music compact disk recording and reproducing apparatus (hereinafter abbreviated as "CD reproducing apparatus"). As shown in FIG.
The playback device 20 includes a CD drive unit 21 for mounting and rotating the compact disc 1, a signal processing unit 23 for performing signal processing including a pickup, and a predetermined program including a CD text storage and playback program of the present invention described later. A control unit 25 for controlling the entire apparatus in accordance with
Storage device 27 such as random access memory (RAM)
And a display unit 29.

【0014】信号処理部23は、CD駆動部21、コン
トロール部25およびRAM27に電気的に接続され
る。コントロール部25は、信号処理部23およびRA
M27に電気的に接続される。RAM27は、信号処理
部23およびコントロール部25に電気的に接続され
る。表示部29は、コントロール部25に電気的に接続
される。
The signal processing section 23 is electrically connected to the CD driving section 21, the control section 25 and the RAM 27. The control unit 25 includes the signal processing unit 23 and the RA
It is electrically connected to M27. The RAM 27 is electrically connected to the signal processing unit 23 and the control unit 25. The display unit 29 is electrically connected to the control unit 25.

【0015】CD再生装置20は、外部のデータ要求手
段31にコントロール部25を介して電気的に接続され
る。このデータ要求手段31は、各種のデータ要求をC
D再生装置20に行うとともに、CD再生装置20から
要求によって得られたデータ信号を受け取るものであ
る。
The CD reproducing apparatus 20 is electrically connected to an external data request means 31 via a control section 25. The data request means 31 sends various data requests to C
This is performed by the D playback device 20 and receives a data signal obtained by a request from the CD playback device 20.

【0016】CD再生装置20のコントロール部25
は、外部データ要求手段31から出された音楽情報など
の信号入力要求に応じて、信号処理部23に対してコン
パクトディスク1からの信号を取り出し、RAM27に
一時的に格納するなどの制御を行う。
The control unit 25 of the CD reproducing device 20
Performs control such as taking out a signal from the compact disc 1 to the signal processing unit 23 and temporarily storing the signal in the RAM 27 in response to a signal input request such as music information output from the external data requesting unit 31. .

【0017】このように構成されたCD再生装置20に
おいて、コンパクトディスク1から音楽情報およびCD
テキストを読み出し再生する従来の手順を示すフローチ
ャートを図23に示す。従来のCDテキスト再生方法に
おいては、コンパクトディスク1がCD駆動部21に載
置されると、信号処理部23およびコントロール部25
を介して、コンパクトディスク1のリードインエリア3
内のCDテキストが図23に示される手順で読み込ま
れ、RAM27に一時的に格納される。
In the CD reproducing apparatus 20 configured as described above, music information and CD
FIG. 23 is a flowchart showing a conventional procedure for reading and reproducing a text. In the conventional CD text reproducing method, when the compact disc 1 is placed on the CD driving unit 21, the signal processing unit 23 and the control unit 25
Through the lead-in area 3 of the compact disc 1
23 is read in accordance with the procedure shown in FIG. 23 and is temporarily stored in the RAM 27.

【0018】図23に示すように、ステップS1で、ト
ラック番号nおよびパック番号iを初期化するために0
にセットする。ステップS2に進み、i番目のパックP
iのID1を、RAM27に確保されたトラックnのデ
ータに対応するHD1にセットする。ステップS3に進
み、トラックnのHD2にトラック番号nをセットす
る。ステップS4に進み、i番目のパックPiのテキス
トデータ部9からテキストデータを読み込む。続くステ
ップS5で、ステップS4で読み込んだテキストデータ
のCRCチェックをi番目のパックPiのCRC部11
のコードに基づいて行い、CRCエラーチェック判定を
行う。CRCエラーの場合は、ステップS6へ進み、正
常の場合は、ステップS7へ進む。ステップS6では、
トラックnのHD3に1をセットしてステップS7へ進
む。
As shown in FIG. 23, in step S1, 0 is set to initialize the track number n and the pack number i.
Set to. Proceeding to step S2, the i-th pack P
The ID 1 of i is set in the HD 1 corresponding to the data of the track n secured in the RAM 27. Proceeding to step S3, the track number n is set in HD2 of track n. Proceeding to step S4, text data is read from the text data section 9 of the i-th pack Pi. In the following step S5, the CRC check of the text data read in step S4 is performed by the CRC unit 11 of the i-th pack Pi.
And a CRC error check determination is made. In the case of a CRC error, the process proceeds to step S6, and in the case of a normal error, the process proceeds to step S7. In step S6,
The HD3 of the track n is set to 1 and the process proceeds to step S7.

【0019】ステップS7では、ステップS4で読み込
んだテキストデータを一文字目から順にNULL検索を
行い、NULLが検出された場合、ステップS10に進
む。NULLが検出されなかった場合、ステップS8へ
進み、テキストデータ部にステップS4で読み込んだデ
ータを格納する。このとき、先に格納されているデータ
があれば、その後に続けて格納する。ステップS8から
ステップS9へ進み、iに1を加算して、ステップS4
へ戻る。
In step S7, a NULL search is performed on the text data read in step S4 in order from the first character. If NULL is detected, the process proceeds to step S10. If NULL is not detected, the process proceeds to step S8, and the data read in step S4 is stored in the text data portion. At this time, if there is data stored earlier, it is stored subsequently. Proceeding from step S8 to step S9, 1 is added to i, and step S4
Return to

【0020】ステップS10では、検出されたNULL
までの文字列をトラックnのテキストデータ部に格納
し、NULL以降の文字列を次のトラック(n+1)の
テキストデータ部に格納する。ステップS11へ進み、
トラック番号nに1を加算してステップS12へ進む。
ステップS12で、トラック番号nが99以下か否かの
判定を行い、99以下の場合、ステップS2へ戻り、9
9を越えた場合は、本処理を終了する。尚、本処理で、
一つのパックに2つ以上のNULLが含まれる場合の処
理は省略してある。
In step S10, the detected NULL
Are stored in the text data section of track n, and the character strings after NULL are stored in the text data section of the next track (n + 1). Proceed to step S11,
One is added to the track number n, and the process proceeds to step S12.
In step S12, it is determined whether or not the track number n is 99 or less.
If the number exceeds 9, the process ends. In this process,
The processing in the case where two or more NULLs are included in one pack is omitted.

【0021】このようにして、コンパクトディスク1の
リードインエリア3内のCDテキストが読み込まれ、図
24に示されるようなデータ配列で、RAM27に一時
的に格納される。
In this way, the CD text in the lead-in area 3 of the compact disc 1 is read, and is temporarily stored in the RAM 27 in a data arrangement as shown in FIG.

【0022】コンパクトディスク1のCDテキストの付
加文字情報を表示する場合は、テキストデータ表示要求
が外部データ要求手段31からなされ、この要求に応じ
て、コントロール部25が、RAM27に格納されてい
るCDテキスト付加文字情報を検索して読み出し、読み
出したCDテキストを表示部29に表示させる。
When displaying the additional character information of the CD text on the compact disc 1, a text data display request is made from the external data request means 31, and in response to this request, the control unit 25 causes the control unit 25 to store the CD data stored in the RAM 27. The text additional character information is searched and read, and the read CD text is displayed on the display unit 29.

【0023】[0023]

【発明が解決しようとする課題】しかし、このような従
来のCDテキスト再生方法では、CD再生装置20が、
最大99トラック分の音楽情報に対応する付加文字情報
を格納できる容量の大きなRAM27を備える必要があ
った。あるいは、容量の小さいRAM27を有するCD
再生装置20の場合は、RAM27に読み出して格納す
るコンパクトディスク1内の付加文字情報の容量に制限
を設け、すなわち、CD再生装置20で表示できるCD
テキスト情報に文字数制限を設ける必要があった。ま
た、コンパクトディスク1からデータを読み出した際、
CRCチェックにおいてエラーが検出された場合、エラ
ー検出の認識のみで、該当するパックに記録されていた
テキストデータは、表示することができないという問題
点があった。
However, in such a conventional CD text reproducing method, the CD reproducing apparatus 20
It was necessary to provide a large-capacity RAM 27 capable of storing additional character information corresponding to music information for up to 99 tracks. Alternatively, a CD having a small-capacity RAM 27
In the case of the reproducing apparatus 20, the capacity of the additional character information in the compact disk 1 to be read and stored in the RAM 27 is limited, that is, the CD that can be displayed by the CD reproducing apparatus 20
It was necessary to set a limit on the number of characters in text information. When data is read from the compact disc 1,
When an error is detected in the CRC check, there is a problem that the text data recorded in the corresponding pack cannot be displayed only by recognizing the error detection.

【0024】本発明はこのような問題を解決するために
なされたもので、CD再生装置の記憶装置の容量を小さ
くでき、かつコンパクトディスクからのデータの読み出
し時にエラーが検出された場合でも、エラーを復帰する
手段を有するCDテキスト格納および再生方法、コンパ
クトディスク再生装置およびCDテキスト格納および再
生プログラムを記録した記録媒体を提供するものであ
る。
The present invention has been made in order to solve such a problem, and it is possible to reduce the capacity of a storage device of a CD reproducing apparatus, and even if an error is detected at the time of reading data from a compact disc, an error is detected. The present invention provides a CD text storing and reproducing method having means for restoring a CD, a compact disk reproducing apparatus, and a recording medium on which a CD text storing and reproducing program is recorded.

【0025】[0025]

【課題を解決するための手段】本発明のCDテキスト格
納方法は、少なくとも1つの音楽情報に対する少なくと
も1種のテキスト付加情報が、ヘッダが付加された固定
長文字列を含む複数のパックに分割して記録された音楽
用コンパクトディスクから、前記テキスト付加情報を再
生するために、前記テキスト付加情報を前記音楽用コン
パクトディスクから読み出して一時的に記憶装置に格納
するCDテキスト格納方法において、(a)前記記憶装
置に、テキストデータ格納領域と、識別情報格納領域と
を準備するステップと、(b)前記音楽用コンパクトデ
ィスクから、前記パックを順に読み込むステップと、
(c)このステップ(b)で読み込んだ前記パックの固
定長文字列を、前記記憶装置のテキストデータ格納領域
に所定の順序で格納するステップと、(d)前記ステッ
プ(b)で読み込んだ前記パックのヘッダの一部を、固
定長パック情報として、前記記憶装置の前記識別情報格
納領域に所定の順序で格納するステップとを含むことを
特徴とする。
According to the CD text storing method of the present invention, at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added. A CD text storage method for reading the additional text information from the compact music disc and temporarily storing the additional text information in a storage device in order to reproduce the additional text information from the compact music disc recorded by the following method: (a) Preparing a text data storage area and an identification information storage area in the storage device; (b) sequentially reading the packs from the music compact disc;
(C) storing the fixed-length character string of the pack read in step (b) in a text data storage area of the storage device in a predetermined order; and (d) storing the fixed-length character string read in step (b). Storing a part of the pack header as fixed-length pack information in the identification information storage area of the storage device in a predetermined order.

【0026】ここで、上記の付加情報は、アルバム名、
曲のタイトル、アーティスト名、作詞者名、作曲者名、
編曲者名およびメッセージなどの種別があり、音楽用コ
ンパクトディスクのリードインエリアに記録される。リ
ードインエリアは、最大8個のブロックを含み、さらに
各ブロックは、最大256個のパックを有している。上
記の固定長データ領域は、このパックを意味する。各パ
ックは、4、12および2バイトのデータ長をそれぞれ
有するヘッダー部、テキストデータ部およびCRC部と
からなる。
Here, the additional information includes an album name,
Song title, artist name, lyricist name, composer name,
There are types such as an arranger name and a message, which are recorded in the lead-in area of the compact disc for music. The lead-in area includes a maximum of eight blocks, and each block has a maximum of 256 packs. The above fixed length data area means this pack. Each pack includes a header section, a text data section, and a CRC section each having a data length of 4, 12, and 2 bytes.

【0027】付加情報は、各トラックの音楽情報毎に、
前記種別の情報を有し、これらの各情報はテキスト文字
列からなり、所定の区切り文字、例えば、NULLコー
ドで区切られ、一繋がりのデータ列を構成し、このデー
タ列が、固定データ長のデータ領域、すなわちパックの
テキストデータ部に分割して順に記録されている。
The additional information is, for each music information of each track,
Each type of information includes a text character string, is separated by a predetermined delimiter, for example, a NULL code, and forms a continuous data string. This data string has a fixed data length. The data are divided into data areas, that is, text data portions of the pack, and are sequentially recorded.

【0028】ヘッダー部には、所定の識別子が含まれ、
パック内のテキストデータの各種情報を示す。テキスト
データ部には、テキスト文字列が所定文字数分毎に分割
して記録される。
The header section includes a predetermined identifier.
Shows various information of text data in the pack. In the text data portion, a text character string is divided and recorded every predetermined number of characters.

【0029】この方法により、音楽用コンパクトディス
ク内の識別子の情報を並べ替え、簡略化して各パック情
報として、アドレス情報格納領域に格納し、かつ、識別
子情報とは独立して、テキスト文字列をテキストデータ
格納領域内に羅列して格納することができるので、コン
パクトディスクから読み出して付加情報を格納するのに
必要な記憶装置の容量を削減できることとなる。
According to this method, the identifier information in the music compact disc is rearranged, simplified and stored as pack information in the address information storage area, and a text character string is converted independently of the identifier information. Since the data can be stored in the text data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0030】本発明のCDテキスト格納方法は、前記パ
ックがエラー検査コードを含み、前記CDテキスト格納
方法が、(e)前記ステップ(b)で読み込んだ前記パ
ックの前記エラー検査コードを取得するステップと、
(f)前記ステップ(b)で前記パックを読み出した時
に、前記ステップ(e)で取得したエラー検査コードに
基づいて、前記パックのデータ読み取りエラーを判定す
るステップと、(g)このステップ(f)での判定結果
を、前記パック情報に含めて前記記憶装置の前記識別情
報格納領域に格納するステップとを含むことを特徴とす
る。
In the CD text storing method of the present invention, the pack includes an error check code, and the CD text storing method obtains (e) the error check code of the pack read in the step (b). When,
(F) determining the data read error of the pack based on the error check code obtained in step (e) when reading the pack in step (b); And storing the determination result in the identification information storage area of the storage device together with the determination result in the pack information.

【0031】これにより、コンパクトディスクからのデ
ータの読み出し時にエラーが検出された場合でも、エラ
ーを復帰することが可能となる。
Thus, even if an error is detected when reading data from the compact disk, the error can be recovered.

【0032】本発明のCDテキスト格納方法は、前記ス
テップ(d)で、前記記憶装置の容量が、前記音楽用コ
ンパクトディスクの前記CDテキストエリアの容量より
小さくなるように前記パック情報を前記記憶装置の前記
識別情報格納領域に格納することを特徴とする。
In the CD text storing method according to the present invention, in the step (d), the pack information is stored in the storage device such that the capacity of the storage device is smaller than the capacity of the CD text area of the music compact disc. In the identification information storage area.

【0033】これにより、コンパクトディスクから読み
出して付加情報を格納するのに必要な記憶装置の容量を
削減できることとなる。
As a result, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0034】本発明のCDテキスト再生方法は、少なく
とも1つの音楽情報に対する少なくとも1種のテキスト
付加情報が、ヘッダが付加された固定長文字列を含む複
数のパックに分割して記録された音楽用コンパクトディ
スクから、前記テキスト付加情報を読み出して一時的に
記憶装置に格納するステップと、再生要求に応じて、前
記記憶装置から前記テキスト付加情報を抽出して再生す
るステップとを含むCDテキスト再生方法において、
(a)前記記憶装置に、テキストデータ格納領域と、識
別情報格納領域とを準備するステップと、(b)前記音
楽用コンパクトディスクから、前記パックを順に読み込
むステップと、(c)このステップ(b)で読み込んだ
前記パックの固定長文字列を、前記記憶装置のテキスト
データ格納領域に所定の順序で格納するステップと、
(d)前記ステップ(b)で読み込んだ前記パックのヘ
ッダの一部を、固定長パック情報として、前記記憶装置
の前記識別情報格納領域に所定の順序で格納するステッ
プと、(e)任意のテキスト付加情報を指定する再生要
求条件を入力するステップと、(f)このステップ
(e)で入力された再生要求条件に基づいて、前記記憶
装置の前記識別情報格納領域を検索し、当該パックの前
記パック情報を取得するステップと、(g)このステッ
プ(f)で取得したパック情報に基づいて、前記記憶装
置の前記テキストデータ格納領域の前記指定されたテキ
スト付加情報の格納位置を算出するステップと、(h)
このステップ(g)で算出された格納位置から前記テキ
スト付加情報を抽出するステップとを含むことを特徴と
する。
According to the CD text reproducing method of the present invention, at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added, and recorded. A CD text reproducing method, comprising: reading the text additional information from a compact disc and temporarily storing the text additional information in a storage device; and extracting and reproducing the text additional information from the storage device in response to a reproduction request. At
(A) preparing a text data storage area and an identification information storage area in the storage device; (b) sequentially reading the packs from the music compact disc; and (c) this step (b). B) storing the fixed-length character string of the pack read in the text data storage area of the storage device in a predetermined order;
(D) storing a part of the header of the pack read in the step (b) as fixed-length pack information in the identification information storage area of the storage device in a predetermined order; (F) searching for the identification information storage area of the storage device based on the reproduction request condition input in step (e), and Obtaining the pack information; and (g) calculating a storage location of the specified text additional information in the text data storage area of the storage device based on the pack information obtained in step (f). And (h)
Extracting the text additional information from the storage position calculated in step (g).

【0035】これにより、音楽用コンパクトディスク内
の識別子の情報を並べ替え、簡略化して各パック情報と
して、アドレス情報格納領域に格納し、かつ、識別子情
報とは独立して、テキスト文字列をテキストデータ格納
領域内に羅列して格納することができるので、コンパク
トディスクから読み出して付加情報を格納するのに必要
な記憶装置の容量を削減できることとなる。
Thus, the information of the identifiers in the compact disc for music is rearranged and simplified and stored as pack information in the address information storage area, and the text character string is converted to a text independently of the identifier information. Since the data can be stored in the data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0036】本発明のCDテキスト再生方法は、少なく
とも1つのトラックに記録された音楽情報に対する少な
くとも1種のテキスト付加情報が、可変長文字列と、こ
の可変長文字列の間に挿入された区切りコードとからな
り、このテキスト付加情報が、ヘッダが付加された固定
長文字列を含む複数のパックに分割して記録された音楽
用コンパクトディスクから、前記テキスト付加情報を読
み出して一時的に記憶装置に格納するステップと、再生
要求に応じて、前記記憶装置から前記テキスト付加情報
を抽出して再生するステップとを含むCDテキスト再生
方法において、前記ヘッダは、前記パックに記録された
テキスト付加情報の種別コードと、前記パックに記録さ
れたテキスト付加情報に対応する音楽情報のトラックに
連続して付されたトラック番号コードと、前記パックに
連続して付されたパック番号コードと、前記パックに分
割して記録された前記テキスト付加情報の前記文字列の
何文字目が当該パックの1桁目に記録されているかを示
す文字桁数コードとを有し、(a)前記記憶装置に、テ
キストデータ格納領域と、識別情報格納領域とを準備す
るステップと、(b)前記音楽用コンパクトディスクか
ら、前記パックを順に読み込むステップと、(c)この
ステップ(b)で読み込んだ前記パックの固定長文字列
を、前記記憶装置のテキストデータ格納領域に所定の順
序で格納するステップと、(d)前記ステップ(b)で
読み込んだ前記パックのヘッダの一部を、固定長パック
情報として、前記記憶装置の前記識別情報格納領域に所
定の順序で格納するステップと、(e)任意のテキスト
付加情報を指定する再生要求条件を入力するステップ
と、(f)このステップ(e)で入力された再生要求条
件に含まれる前記トラック番号コードおよび前記データ
種別コードに基づいて、前記記憶装置の前記識別情報格
納領域を検索し、当該パックの前記パック情報を取得す
るステップと、(g)このステップ(f)で取得したパ
ック情報から前記パック番号コードおよび前記文字桁数
コードを抽出し、このパック番号コードおよび文字桁数
コードに基づいて、前記テキスト付加情報が格納されて
いる前記記憶装置の前記テキストデータ格納領域のスタ
ートアドレスを算出するステップと、(h)前記記憶装
置の前記テキストデータ格納領域の前記スタートアドレ
スから、当該パックの前記文字列を抽出するステップ
と、(i)前記ステップ(g)で抽出された文字列から
前記テキスト付加情報の前記区切りコードを検出するス
テップと、(j)このステップ(i)で前記区切りコー
ドが検出されるまで、前記記憶装置の前記テキストデー
タ格納領域から前記文字列の抽出を繰り返すステップと
を含むことを特徴とする。
According to the CD text reproducing method of the present invention, at least one type of text additional information for music information recorded on at least one track is composed of a variable length character string and a separator inserted between the variable length character strings. The text additional information is read from a music compact disc in which the text additional information is divided into a plurality of packs each including a fixed-length character string to which a header is added and recorded, and is temporarily stored in a storage device. And reproducing the text additional information from the storage device in response to a reproduction request, wherein the header stores the text additional information recorded in the pack. The type code and the track of music information corresponding to the text additional information recorded in the pack are continuously attached. A rack number code, a pack number code consecutively attached to the pack, and a character number of the character string of the text additional information divided and recorded in the pack are recorded in the first digit of the pack. (A) preparing a text data storage area and an identification information storage area in the storage device; and (b) storing the pack from the music compact disc. (C) storing the fixed-length character string of the pack read in this step (b) in a text data storage area of the storage device in a predetermined order; and (d) the step ( storing a part of the header of the pack read in b) as fixed-length pack information in the identification information storage area of the storage device in a predetermined order; And (f) inputting a reproduction request condition designating arbitrary text additional information; and (f) based on the track number code and the data type code included in the reproduction request condition input in step (e). Searching the identification information storage area of the storage device to obtain the pack information of the pack; and (g) extracting the pack number code and the character number code from the pack information obtained in step (f). Calculating a start address of the text data storage area of the storage device in which the text additional information is stored, based on the pack number code and the character number code; and (h) calculating a start address of the storage device. Extracting the character string of the pack from the start address of a text data storage area; (I) detecting the delimiter code of the text additional information from the character string extracted in the step (g); and (j) storing the delimiter code until the delimiter code is detected in the step (i). Repeating the extraction of the character string from the text data storage area.

【0037】これにより、音楽用コンパクトディスク内
の識別子の情報を並べ替え、簡略化して各パック情報と
して、アドレス情報格納領域に格納し、かつ、識別子情
報とは独立して、テキスト文字列をテキストデータ格納
領域内に羅列して格納することができるので、コンパク
トディスクから読み出して付加情報を格納するのに必要
な記憶装置の容量を削減できることとなる。
As a result, the identifier information in the music compact disc is rearranged and simplified, stored as pack information in the address information storage area, and a text character string is converted to a text string independently of the identifier information. Since the data can be stored in the data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0038】本発明のCDテキスト再生方法は、前記パ
ックがエラー検査コードを含み、前記CDテキスト再生
方法が、(k)前記音楽用コンパクトディスクから、前
記エラー検査コードを読み込み、このエラー検査コード
に基づいて、前記ステップ(b)で、前記パックを読み
出した時に、このパックのデータ読み取りエラーを判定
するステップと、(l)このステップ(k)での判定結
果を、前記パック情報に含めて前記記憶装置の前記識別
情報格納領域に格納するステップとを含むことを特徴と
する。
According to the CD text reproducing method of the present invention, the pack includes an error check code, and the CD text reproducing method reads (k) the error check code from the music compact disc, and reads the error check code. Determining the data read error of the pack when the pack is read in the step (b), and (l) including the determination result in the step (k) in the pack information. Storing in the identification information storage area of a storage device.

【0039】これにより、コンパクトディスクからのデ
ータの読み出し時にエラーが検出された場合でも、エラ
ーを復帰することが可能となる。
Thus, even if an error is detected when reading data from the compact disk, the error can be recovered.

【0040】本発明のCDテキスト再生方法は、(m)
前記ステップ(e)で入力された再生要求条件により抽
出されるべき前記テキスト付加情報の次の前記テキスト
付加情報が格納されている前記記憶装置の前記テキスト
データ格納領域のスタートアドレスの一つ前のアドレス
を最終アドレスとして算出するステップと、(n)前記
ステップ(i)で区切りコードが検出された時のアドレ
スをエンドアドレスとするステップと、(o)前記ステ
ップ(m)で算出された最終アドレスが、前記ステップ
(n)で得られたエンドアドレスより小さいか否かを判
定するステップと、(p)このステップ(o)で前記最
終アドレスが、前記エンドアドレスより小さいと判定さ
れた時、前記エンドアドレスを前記最終アドレスに置き
換えるステップとを含むことを特徴とする。これによ
り、エンドアドレスの抽出ミスを防ぐこととなる。
The CD text reproducing method of the present invention comprises the steps of (m)
The one before the start address of the text data storage area of the storage device in which the text additional information next to the text additional information to be extracted according to the reproduction request condition input in step (e) is stored; Calculating the address as the final address, (n) setting the address at the time when the delimiter code is detected in the step (i) as the end address, and (o) calculating the final address in the step (m). Is determined to be less than or equal to the end address obtained in step (n); and (p) when it is determined in step (o) that the final address is smaller than the end address, Replacing the end address with the last address. This prevents end address extraction errors.

【0041】本発明のCDテキスト再生方法は、(q)
前記ステップ(g)で抽出された前記トラック番号コー
ドが、連続しているか否かを判定するステップと、
(r)このステップ(q)で、前記トラック番号コード
が連続していないと判定された場合、このトラック番号
コードを補完するステップとを含むことを特徴とする。
According to the CD text reproducing method of the present invention, (q)
Determining whether or not the track number codes extracted in step (g) are continuous;
(R) supplementing the track number code if it is determined in step (q) that the track number codes are not continuous.

【0042】これにより、トラック番号が欠損している
場合でも、要求された付加情報に対応するCDテキスト
データを確実に検索でき、再生することができるととな
る。
As a result, even when the track number is missing, the CD text data corresponding to the requested additional information can be reliably retrieved and reproduced.

【0043】本発明のCDテキスト再生方法は、前記テ
キスト付加情報が、曲のタイトル、アーティスト名、作
詞者名、作曲者名、編曲者名およびメッセージを含んで
もよい。また、前記種別コードが、前記テキスト付加情
報の種別を識別してもよい。さらに、本発明のCDテキ
スト再生方法は、前記ステップ(h)で抽出された文字
列を表示するステップをさらに含んでもよい。
In the CD text reproducing method according to the present invention, the text additional information may include a song title, an artist name, a lyricist name, a composer name, an arranger name, and a message. Further, the type code may identify a type of the text additional information. Further, the CD text reproducing method of the present invention may further include a step of displaying the character string extracted in the step (h).

【0044】本発明のコンパクトディスク再生装置は、
少なくとも1つの音楽情報に対する少なくとも1種のテ
キスト付加情報が、ヘッダが付加された固定長文字列を
含む複数のパックに分割して記録された音楽用コンパク
トディスクから、前記テキスト付加情報を読み出して一
時的に格納する記憶装置と、再生要求に応じて、前記記
憶装置から前記テキスト付加情報を抽出して再生する再
生手段とを含むコンパクトディスク再生装置において、
前記記憶装置が、テキストデータ格納領域と、識別情報
格納領域とを含み、前記音楽用コンパクトディスクか
ら、前記パックを順に読み込む読み込み手段と、この読
み込み手段で読み込んだ前記パックの固定長文字列を、
前記記憶装置のテキストデータ格納領域に所定の順序で
格納するとともに、前記読み込み手段で読み込んだ前記
パックのヘッダの一部を、固定長パック情報として、前
記記憶装置の前記識別情報格納領域に所定の順序で格納
する制御手段と、任意のテキスト付加情報を指定する再
生要求条件を入力する入力手段と、この入力手段で入力
された再生要求条件に基づいて、前記記憶装置の前記識
別情報格納領域を検索し、当該パックの前記パック情報
を取得するパック情報取得手段と、このパック情報取得
手段で取得したパック情報に基づいて、前記記憶装置の
前記テキストデータ格納領域の前記指定されたテキスト
付加情報の格納位置を算出するアドレス算出手段と、こ
のアドレス算出手段で算出された格納位置から前記テキ
スト付加情報を抽出する抽出手段とを含むことを特徴と
して構成を有している。
The compact disk reproducing apparatus of the present invention
The text additional information is read out from a compact disc for music in which at least one type of additional text information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added and recorded, and temporarily read out. A compact disk playback device comprising: a storage device for temporarily storing the text additional information from the storage device in response to a playback request;
The storage device includes a text data storage area and an identification information storage area, reading means for sequentially reading the pack from the music compact disc, and a fixed-length character string of the pack read by the reading means,
While storing in the text data storage area of the storage device in a predetermined order, a part of the header of the pack read by the reading unit is stored in the identification information storage area of the storage device as a fixed length pack information. Control means for storing in the order; input means for inputting a reproduction request condition for specifying arbitrary text additional information; and the identification information storage area of the storage device based on the reproduction request condition input by the input means. A pack information obtaining unit that searches and obtains the pack information of the pack; and, based on the pack information obtained by the pack information obtaining unit, stores the specified text additional information in the text data storage area of the storage device. Address calculating means for calculating a storage position, and extracting the text additional information from the storage position calculated by the address calculating means. It has a structure as comprising an extraction means for.

【0045】この構成により、音楽用コンパクトディス
ク内の識別子の情報を並べ替え、簡略化して各パック情
報として、アドレス情報格納領域に格納し、かつ、識別
子情報とは独立して、テキスト文字列をテキストデータ
格納領域内に羅列して格納することができるので、コン
パクトディスクから読み出して付加情報を格納するのに
必要な記憶装置の容量を削減できることとなる。
According to this configuration, the information of the identifiers in the compact disc for music is rearranged and simplified to be stored as pack information in the address information storage area, and the text character string is converted independently of the identifier information. Since the data can be stored in the text data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0046】本発明のコンパクトディスク再生装置は、
少なくとも1つのトラックに記録された音楽情報に対す
る少なくとも1種のテキスト付加情報が、可変長文字列
と、この可変長文字列の間に挿入された区切りコードと
からなり、このテキスト付加情報が、ヘッダが付加され
た固定長文字列を含む複数のパックに分割して記録され
た音楽用コンパクトディスクから、前記テキスト付加情
報を読み出して一時的に記憶装置に格納する手段と、再
生要求に応じて、前記記憶装置から前記テキスト付加情
報を抽出して再生する手段とを含むコンパクトディスク
再生装置において、前記ヘッダは、前記パックに記録さ
れたテキスト付加情報の種別コードと、前記パックに記
録されたテキスト付加情報に対応する音楽情報のトラッ
クに連続して付されたトラック番号コードと、前記パッ
クに連続して付されたパック番号コードと、前記パック
に分割して記録された前記テキスト付加情報の前記文字
列の何文字目が当該パックの1桁目に記録されているか
を示す文字桁数コードとを有し、前記記憶装置が、テキ
ストデータ格納領域と、識別情報格納領域とを含み、前
記音楽用コンパクトディスクから、前記パックを順に読
み込む読み込み手段と、この読み込み手段で読み込んだ
前記パックの固定長文字列を、前記記憶装置のテキスト
データ格納領域に所定の順序で格納するとともに、前記
読み込み手段で読み込んだ前記パックのヘッダの一部
を、固定長パック情報として、前記記憶装置の前記識別
情報格納領域に所定の順序で格納する制御手段と、任意
のテキスト付加情報を指定する再生要求条件を入力する
入力手段と、この入力手段で入力された再生要求条件に
含まれる前記トラック番号コードおよび前記データ種別
コードに基づいて、前記記憶装置の前記識別情報格納領
域を検索し、当該パックの前記パック情報を取得するパ
ック情報取得手段と、このパック情報取得手段で取得し
たパック情報から前記パック番号コードおよび前記文字
桁数コードを抽出し、このパック番号コードおよび文字
桁数コードに基づいて、前記テキスト付加情報が格納さ
れている前記記憶装置の前記テキストデータ格納領域の
スタートアドレスを算出するアドレス算出手段と、前記
記憶装置の前記テキストデータ格納領域の前記スタート
アドレスから、当該パックの前記文字列を抽出する抽出
手段と、前記アドレス算出手段で抽出された文字列から
前記テキスト付加情報の前記区切りコードを検出する検
出手段と、この検出手段で前記区切りコードが検出され
るまで、前記記憶装置の前記テキストデータ格納領域か
ら前記文字列の抽出を繰り返す手段とを含むことを特徴
とした構成を有している。
The compact disk reproducing apparatus of the present invention
At least one type of text additional information for music information recorded on at least one track includes a variable-length character string and a delimiter code inserted between the variable-length character strings. Means for reading the text additional information from a music compact disc divided into a plurality of packs including fixed-length character strings and having the added text string temporarily stored in a storage device, and in response to a reproduction request, Means for extracting and playing back the text additional information from the storage device, wherein the header comprises: a type code of the text additional information recorded in the pack; and a text additional information recorded in the pack. A track number code continuously assigned to the track of the music information corresponding to the information; A pack number code, and a character number code indicating which character of the character string of the text additional information recorded in the pack is recorded in the first digit of the pack, The storage device includes a text data storage area and an identification information storage area, reading means for sequentially reading the pack from the music compact disc, and a fixed-length character string of the pack read by the reading means, While storing in the text data storage area of the storage device in a predetermined order, a part of the header of the pack read by the reading unit is stored in the identification information storage area of the storage device as a fixed length pack information. Control means for storing in the order, input means for inputting a reproduction request condition for specifying arbitrary text additional information, Pack information obtaining means for searching the identification information storage area of the storage device based on the track number code and the data type code included in the reproduction request condition and obtaining the pack information of the pack; The pack number code and the character number code are extracted from the pack information acquired by the acquisition unit, and the text of the storage device in which the text additional information is stored is stored based on the pack number code and the character number code. Address calculation means for calculating a start address of the data storage area, extraction means for extracting the character string of the pack from the start address of the text data storage area of the storage device, and extraction by the address calculation means Detection for detecting the delimiter code of the text additional information from a character string Means, and means for repeating extraction of the character string from the text data storage area of the storage device until the detection means detects the delimiter code.

【0047】この構成により、音楽用コンパクトディス
ク内の識別子の情報を並べ替え、簡略化して各パック情
報として、アドレス情報格納領域に格納し、かつ、識別
子情報とは独立して、テキスト文字列をテキストデータ
格納領域内に羅列して格納することができるので、コン
パクトディスクから読み出して付加情報を格納するのに
必要な記憶装置の容量を削減できることとなる。
According to this configuration, the information of the identifiers in the compact disc for music is rearranged and simplified to be stored in the address information storage area as each pack information, and the text character string is converted independently of the identifier information. Since the data can be stored in the text data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0048】本発明のコンパクトディスク再生装置は、
前記パックがエラー検査コードを含み、前記コンパクト
ディスク再生装置が、前記音楽用コンパクトディスクか
ら、前記エラー検査コードを読み込み、このエラー検査
コードに基づいて、前記読み込み手段で、前記パックを
読み出した時に、このパックのデータ読み取りエラーを
判定するエラー判定手段を備え、前記制御手段が、前記
エラー判定手段での判定結果を、前記パック情報に含め
て前記記憶装置の前記識別情報格納領域に格納すること
を特徴とした構成を有している。
The compact disk reproducing apparatus of the present invention
The pack includes an error check code, and the compact disc reproducing device reads the error check code from the music compact disc, and based on the error check code, the reading unit reads the pack. An error determination unit that determines an error in reading the data of the pack, wherein the control unit stores the determination result of the error determination unit in the identification information storage area of the storage device while including the determination result in the pack information. It has a characteristic configuration.

【0049】この構成により、コンパクトディスクから
のデータの読み出し時にエラーが検出された場合でも、
エラーを復帰することが可能となる。
With this configuration, even if an error is detected when reading data from a compact disc,
The error can be recovered.

【0050】本発明のコンパクトディスク再生装置は、
前記入力手段で入力された再生要求条件により抽出され
るべき前記テキスト付加情報の次の前記テキスト付加情
報が格納されている前記記憶装置の前記テキストデータ
格納領域のスタートアドレスの一つ前のアドレスを最終
アドレスとして算出する最終アドレス算出手段と、前記
検出手段で区切りコードが検出された時のアドレスをエ
ンドアドレスとするエンドアドレス取得手段と、前記最
終アドレス算出手段で算出された最終アドレスが、前記
エンドアドレス取得手段で得られたエンドアドレスより
小さい時、前記エンドアドレスを前記最終アドレスに置
き換える手段とを含むことを特徴とした構成を有してい
る。
The compact disk reproducing apparatus of the present invention
The address immediately before the start address of the text data storage area of the storage device in which the text additional information next to the text additional information to be extracted according to the reproduction request condition input by the input means is stored. A final address calculating means for calculating as a final address, an end address obtaining means for setting an address at the time when the delimiter code is detected by the detecting means as an end address, and a final address calculated by the last address calculating means for determining whether the end address is the end address. Means for replacing the end address with the last address when the end address is smaller than the end address obtained by the address acquisition means.

【0051】この構成により、エンドアドレスの抽出ミ
スを防ぐこととなる。
With this configuration, it is possible to prevent a mistake in extracting the end address.

【0052】本発明のコンパクトディスク再生装置は、
前記アドレス算出手段で抽出された前記トラック番号コ
ードが、連続していない場合、このトラック番号コード
を補完する手段とを含むことを特徴とした構成を有して
いる。
The compact disk reproducing apparatus of the present invention
When the track number codes extracted by the address calculating means are not continuous, means for complementing the track number codes is included.

【0053】この構成により、トラック番号が欠損して
いる場合でも、要求された付加情報に対応するCDテキ
ストデータを確実に検索でき、再生することができると
となる。
With this configuration, even if the track number is missing, the CD text data corresponding to the requested additional information can be reliably searched and reproduced.

【0054】本発明のコンパクトディスク再生装置は、
前記テキスト付加情報が、曲のタイトル、アーティスト
名、作詞者名、作曲者名、編曲者名およびメッセージを
含んでもよい。また、前記種別コードが、前記テキスト
付加情報の種別を識別してもよい。さらに、本発明のコ
ンパクトディスク再生装置は、前記抽出手段で抽出され
た文字列を表示する表示手段をさらに含んでもよい。
The compact disk reproducing apparatus of the present invention
The additional text information may include a song title, an artist name, a lyricist name, a composer name, an arranger name, and a message. Further, the type code may identify a type of the text additional information. Further, the compact disc reproducing apparatus of the present invention may further include a display unit for displaying the character string extracted by the extraction unit.

【0055】本発明のCDテキスト格納プログラムが記
録されたコンピュータが読み取り可能な記録媒体は、少
なくとも1つの音楽情報に対する少なくとも1種のテキ
スト付加情報が、ヘッダが付加された固定長文字列を含
む複数のパックに分割して記録された音楽用コンパクト
ディスクから、前記テキスト付加情報を再生するため
に、前記テキスト付加情報を前記音楽用コンパクトディ
スクから読み出して一時的に記憶装置に格納するCDテ
キスト格納プログラムが記録されたコンピュータが読み
取り可能な記録媒体において、(a)前記記憶装置に、
テキストデータ格納領域と、識別情報格納領域とを準備
するステップと、(b)前記音楽用コンパクトディスク
から、前記パックを順に読み込むステップと、(c)こ
のステップ(b)で読み込んだ前記パックの固定長文字
列を、前記記憶装置のテキストデータ格納領域に所定の
順序で格納するステップと、(d)前記ステップ(b)
で読み込んだ前記パックのヘッダの一部を、固定長パッ
ク情報として、前記記憶装置の前記識別情報格納領域に
所定の順序で格納するステップとを含むことを特徴とす
る。
A computer readable recording medium on which the CD text storage program of the present invention is recorded is a computer-readable recording medium wherein at least one type of text additional information for at least one piece of music information includes a fixed-length character string to which a header is added. CD text storage program for reading the text additional information from the music compact disc and temporarily storing the text additional information in the storage device in order to reproduce the text additional information from the music compact disc divided and recorded in the pack In a computer-readable recording medium on which (a) is stored;
Preparing a text data storage area and an identification information storage area; (b) sequentially reading the packs from the music compact disc; and (c) fixing the packs read in this step (b). Storing a long character string in a text data storage area of the storage device in a predetermined order; and (d) the step (b).
And storing in the identification information storage area of the storage device a part of the header of the pack read in the above as fixed length pack information in a predetermined order.

【0056】これにより、音楽用コンパクトディスク内
の識別子の情報を並べ替え、簡略化して各パック情報と
して、アドレス情報格納領域に格納し、かつ、識別子情
報とは独立して、テキスト文字列をテキストデータ格納
領域内に羅列して格納することができるので、コンパク
トディスクから読み出して付加情報を格納するのに必要
な記憶装置の容量を削減できることとなる。
Thus, the information of the identifiers in the compact disc for music is rearranged and simplified and stored as pack information in the address information storage area, and the text character string is converted to a text independently of the identifier information. Since the data can be stored in the data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0057】本発明のCDテキスト格納プログラムが記
録された記録媒体は、前記パックがエラー検査コードを
含み、前記CDテキスト格納プログラムが、(e)前記
ステップ(b)で読み込んだ前記パックの前記エラー検
査コードを取得するステップと、(f)前記ステップ
(b)で前記パックを読み出した時に、前記ステップ
(e)で取得したエラー検査コードに基づいて、前記パ
ックのデータ読み取りエラーを判定するステップと、
(g)このステップ(f)での判定結果を、前記パック
情報に含めて前記記憶装置の前記識別情報格納領域に格
納するステップとを含むことを特徴とする。
[0057] In the recording medium on which the CD text storage program of the present invention is recorded, the pack includes an error check code, and the CD text storage program (e) reads the error of the pack read in step (b). Obtaining a check code; and (f) determining a data read error of the pack based on the error check code obtained in step (e) when the pack is read in step (b). ,
(G) storing the determination result in step (f) in the identification information storage area of the storage device while including the determination result in the pack information.

【0058】これにより、コンパクトディスクからのデ
ータの読み出し時にエラーが検出された場合でも、エラ
ーを復帰することが可能となる。
Thus, even if an error is detected when reading data from the compact disk, the error can be recovered.

【0059】本発明のCDテキスト格納プログラムが記
録された記録媒体は、前記CDテキスト格納プログラム
の前記ステップ(d)で、前記記憶装置の容量が、前記
音楽用コンパクトディスクの前記CDテキストエリアの
容量より小さくなるように前記パック情報を前記記憶装
置の前記識別情報格納領域に格納することを特徴とす
る。これにより、コンパクトディスクから読み出して付
加情報を格納するのに必要な記憶装置の容量を削減でき
ることとなる。
According to the recording medium storing the CD text storage program of the present invention, in the step (d) of the CD text storage program, the capacity of the storage device is equal to the capacity of the CD text area of the music compact disc. The pack information is stored in the identification information storage area of the storage device so as to be smaller. As a result, it is possible to reduce the capacity of the storage device necessary for reading from the compact disk and storing the additional information.

【0060】前記テキスト付加情報が、曲のタイトル、
アーティスト名、作詞者名、作曲者名、編曲者名および
メッセージを含んでもよい。また、前記種別コードが、
前記テキスト付加情報の種別を識別してもよい。
The text additional information includes a song title,
It may include an artist name, lyricist name, composer name, arranger name and message. Also, the type code is
The type of the text additional information may be identified.

【0061】本発明のCDテキスト再生プログラムを記
録した記録媒体は、少なくとも1つの音楽情報に対する
少なくとも1種のテキスト付加情報が、ヘッダが付加さ
れた固定長文字列を含む複数のパックに分割して記録さ
れた音楽用コンパクトディスクから、前記テキスト付加
情報を読み出して一時的に記憶装置に格納するステップ
と、再生要求に応じて、前記記憶装置から前記テキスト
付加情報を抽出して再生するステップとを含むCDテキ
スト再生プログラムが記録されたコンピュータが読み取
り可能な記録媒体において、(a)前記記憶装置に、テ
キストデータ格納領域と、識別情報格納領域とを準備す
るステップと、(b)前記音楽用コンパクトディスクか
ら、前記パックを順に読み込むステップと、(c)この
ステップ(b)で読み込んだ前記パックの固定長文字列
を、前記記憶装置のテキストデータ格納領域に所定の順
序で格納するステップと、(d)前記ステップ(b)で
読み込んだ前記パックのヘッダの一部を、固定長パック
情報として、前記記憶装置の前記識別情報格納領域に所
定の順序で格納するステップと、(e)任意のテキスト
付加情報を指定する再生要求条件を入力するステップ
と、(f)このステップ(e)で入力された再生要求条
件に基づいて、前記記憶装置の前記識別情報格納領域を
検索し、当該パックの前記パック情報を取得するステッ
プと、(g)このステップ(f)で取得したパック情報
に基づいて、前記記憶装置の前記テキストデータ格納領
域の前記指定されたテキスト付加情報の格納位置を算出
するステップと、(h)このステップ(g)で算出され
た格納位置から前記テキスト付加情報を抽出するステッ
プとを含むことを特徴とする。
In the recording medium on which the CD text reproducing program of the present invention is recorded, at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added. Reading the text additional information from the recorded music compact disc and temporarily storing the text additional information in a storage device, and extracting and reproducing the text additional information from the storage device in response to a reproduction request. (A) preparing a text data storage area and an identification information storage area in the storage device, and (b) the music compact. Reading the packs sequentially from the disk; and (c) in this step (b) Storing the fixed-length character string of the inserted pack in a text data storage area of the storage device in a predetermined order; and (d) replacing a part of the pack header read in step (b) with: Storing the fixed-length pack information in the identification information storage area of the storage device in a predetermined order; (e) inputting a reproduction request condition designating arbitrary text additional information; and (f) this step. Searching the identification information storage area of the storage device based on the reproduction request condition input in (e), and obtaining the pack information of the pack; and (g) obtaining the pack information in this step (f). Calculating the storage location of the specified text additional information in the text data storage area of the storage device based on the pack information; Characterized in that from the calculated storage position in g) and extracting the text additional information.

【0062】これにより、音楽用コンパクトディスク内
の識別子の情報を並べ替え、簡略化して各パック情報と
して、アドレス情報格納領域に格納し、かつ、識別子情
報とは独立して、テキスト文字列をテキストデータ格納
領域内に羅列して格納することができるので、コンパク
トディスクから読み出して付加情報を格納するのに必要
な記憶装置の容量を削減できることとなる。
As a result, the identifier information in the music compact disc is rearranged, simplified and stored as pack information in the address information storage area, and a text character string is converted to a text independently of the identifier information. Since the data can be stored in the data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0063】本発明のCDテキスト再生プログラムを記
録したコンピュータが読み取り可能な記録媒体は、少な
くとも1つのトラックに記録された音楽情報に対する少
なくとも1種のテキスト付加情報が、可変長文字列と、
この可変長文字列の間に挿入された区切りコードとから
なり、このテキスト付加情報が、ヘッダが付加された固
定長文字列を含む複数のパックに分割して記録された音
楽用コンパクトディスクから、前記テキスト付加情報を
読み出して一時的に記憶装置に格納するステップと、再
生要求に応じて、前記記憶装置から前記テキスト付加情
報を抽出して再生するステップとを含むCDテキスト再
生プログラムを記録したコンピュータが読み取り可能な
記録媒体において、前記ヘッダは、前記パックに記録さ
れたテキスト付加情報の種別コードと、前記パックに記
録されたテキスト付加情報に対応する音楽情報のトラッ
クに連続して付されたトラック番号コードと、前記パッ
クに連続して付されたパック番号コードと、前記パック
に分割して記録された前記テキスト付加情報の前記文字
列の何文字目が当該パックの1桁目に記録されているか
を示す文字桁数コードとを有し、(a)前記記憶装置
に、テキストデータ格納領域と、識別情報格納領域とを
準備するステップと、(b)前記音楽用コンパクトディ
スクから、前記パックを順に読み込むステップと、
(c)このステップ(b)で読み込んだ前記パックの固
定長文字列を、前記記憶装置のテキストデータ格納領域
に所定の順序で格納するステップと、(d)前記ステッ
プ(b)で読み込んだ前記パックのヘッダの一部を、固
定長パック情報として、前記記憶装置の前記識別情報格
納領域に所定の順序で格納するステップと、(e)任意
のテキスト付加情報を指定する再生要求条件を入力する
ステップと、(f)このステップ(e)で入力された再
生要求条件に含まれる前記トラック番号コードおよび前
記データ種別コードに基づいて、前記記憶装置の前記識
別情報格納領域を検索し、当該パックの前記パック情報
を取得するステップと、(g)このステップ(f)で取
得したパック情報から前記パック番号コードおよび前記
文字桁数コードを抽出し、このパック番号コードおよび
文字桁数コードに基づいて、前記テキスト付加情報が格
納されている前記記憶装置の前記テキストデータ格納領
域のスタートアドレスを算出するステップと、(h)前
記記憶装置の前記テキストデータ格納領域の前記スター
トアドレスから、当該パックの前記文字列を抽出するス
テップと、(i)前記ステップ(g)で抽出された文字
列から前記テキスト付加情報の前記区切りコードを検出
するステップと、(j)このステップ(i)で前記区切
りコードが検出されるまで、前記記憶装置の前記テキス
トデータ格納領域から前記文字列の抽出を繰り返すステ
ップとを含むことを特徴とする。
A computer-readable recording medium on which the CD text reproducing program of the present invention is recorded is characterized in that at least one type of text additional information for music information recorded on at least one track includes a variable-length character string,
It consists of a delimiter code inserted between the variable-length character strings, and this text additional information is obtained from a music compact disc divided into a plurality of packs including a fixed-length character string to which a header is added and recorded. A computer storing a CD text reproduction program, comprising: reading the text additional information and temporarily storing the text additional information in a storage device; and extracting and reproducing the text additional information from the storage device in response to a reproduction request. In a readable recording medium, the header includes a type code of the text additional information recorded in the pack, and a track continuously attached to a track of music information corresponding to the text additional information recorded in the pack. A number code, a pack number code consecutively assigned to the pack, and the A character number code indicating the number of the character of the character string of the text additional information that is recorded in the first digit of the pack; and (a) a text data storage area in the storage device; Preparing an identification information storage area; and (b) sequentially reading the packs from the music compact disc;
(C) storing the fixed-length character string of the pack read in step (b) in a text data storage area of the storage device in a predetermined order; and (d) storing the fixed-length character string read in step (b). Storing a part of the pack header as fixed-length pack information in the identification information storage area of the storage device in a predetermined order; and (e) inputting a reproduction request condition for specifying arbitrary text additional information. And (f) searching the identification information storage area of the storage device based on the track number code and the data type code included in the reproduction request condition input in step (e), and (G) obtaining the pack number code and the character number code from the pack information obtained in step (f). Calculating the start address of the text data storage area of the storage device in which the text additional information is stored based on the pack number code and the character number code; and (h) calculating the start address of the text data storage area. Extracting the character string of the pack from the start address of the text data storage area; and (i) detecting the delimiter code of the text additional information from the character string extracted in step (g). , (J) repeating the extraction of the character string from the text data storage area of the storage device until the delimiter code is detected in step (i).

【0064】これにより、音楽用コンパクトディスク内
の識別子の情報を並べ替え、簡略化して各パック情報と
して、アドレス情報格納領域に格納し、かつ、識別子情
報とは独立して、テキスト文字列をテキストデータ格納
領域内に羅列して格納することができるので、コンパク
トディスクから読み出して付加情報を格納するのに必要
な記憶装置の容量を削減できることとなる。
As a result, the identifier information in the compact disc for music is rearranged, simplified and stored as pack information in the address information storage area, and a text character string is converted to a text independently of the identifier information. Since the data can be stored in the data storage area in a row, it is possible to reduce the capacity of the storage device required for reading from the compact disk and storing the additional information.

【0065】本発明のCDテキスト再生プログラムを記
録した記録媒体は、前記パックがエラー検査コードを含
み、前記CDテキスト再生プログラムが、(k)前記音
楽用コンパクトディスクから、前記エラー検査コードを
読み込み、このエラー検査コードに基づいて、前記ステ
ップ(b)で、前記パックを読み出した時に、このパッ
クのデータ読み取りエラーを判定するステップと、
(l)このステップ(k)での判定結果を、前記パック
情報に含めて前記記憶装置の前記識別情報格納領域に格
納するステップとを含むことを特徴とする。
In the recording medium storing the CD text reproducing program according to the present invention, the pack includes an error checking code, and the CD text reproducing program reads (k) the error checking code from the music compact disc, Determining a data reading error of the pack when reading the pack in the step (b) based on the error check code;
(L) storing the determination result in step (k) in the identification information storage area of the storage device while including the determination result in the pack information.

【0066】これにより、コンパクトディスクからのデ
ータの読み出し時にエラーが検出された場合でも、エラ
ーを復帰することが可能となる。
As a result, even if an error is detected when reading data from the compact disk, the error can be recovered.

【0067】本発明のCDテキスト再生プログラムを記
録した記録媒体は、前記CDテキスト再生プログラム
が、(m)前記ステップ(e)で入力された再生要求条
件により抽出されるべき前記テキスト付加情報の次の前
記テキスト付加情報が格納されている前記記憶装置の前
記テキストデータ格納領域のスタートアドレスの一つ前
のアドレスを最終アドレスとして算出するステップと、
(n)前記ステップ(i)で区切りコードが検出された
時のアドレスをエンドアドレスとするステップと、
(o)前記ステップ(m)で算出された最終アドレス
が、前記ステップ(n)で得られたエンドアドレスより
小さいか否かを判定するステップと、(p)このステッ
プ(o)で前記最終アドレスが、前記エンドアドレスよ
り小さいと判定された時、前記エンドアドレスを前記最
終アドレスに置き換えるステップとを含むことを特徴と
する。これにより、エンドアドレスの抽出ミスを防ぐこ
ととなる。
The recording medium on which the CD text reproducing program of the present invention is recorded is characterized in that the CD text reproducing program is (m) next to the text additional information to be extracted according to the reproduction request conditions input in the step (e). Calculating, as a final address, an address immediately before a start address of the text data storage area of the storage device in which the text additional information is stored;
(N) setting an address when the delimiter code is detected in the step (i) as an end address;
(O) determining whether the final address calculated in step (m) is smaller than the end address obtained in step (n); and (p) determining the final address in step (o). Is determined to be smaller than the end address, the end address is replaced with the last address. This prevents end address extraction errors.

【0068】本発明のCDテキスト再生プログラムを記
録した記録媒体は、前記CDテキスト再生プログラム
が、(q)前記ステップ(g)で抽出された前記トラッ
ク番号コードが、連続しているか否かを判定するステッ
プと、(r)このステップ(q)で、前記トラック番号
コードが連続していないと判定された場合、このトラッ
ク番号コードを補完するステップとを含むことを特徴と
する。これにより、トラック番号が欠損している場合で
も、要求された付加情報に対応するCDテキストデータ
を確実に検索でき、再生することができるととなる。
In the recording medium storing the CD text reproducing program of the present invention, the CD text reproducing program determines whether (q) the track number code extracted in the step (g) is continuous or not. And (r) complementing the track number code if it is determined in step (q) that the track number codes are not continuous. As a result, even if the track number is missing, the CD text data corresponding to the requested additional information can be reliably searched and reproduced.

【0069】本発明のCDテキスト再生プログラムを記
録した記録媒体は、前記テキスト付加情報が、曲のタイ
トル、アーティスト名、作詞者名、作曲者名、編曲者名
およびメッセージを含んでもよい。また、前記種別コー
ドが、前記テキスト付加情報の種別を識別してよい。さ
らに、本発明のCDテキスト再生プログラムを記録した
記録媒体は、前記CDテキスト再生プログラムが、前記
ステップ(h)で抽出された文字列を表示するステップ
をさらに含んでもよい。
In the recording medium on which the CD text reproducing program of the present invention is recorded, the text additional information may include a song title, an artist name, a lyricist name, a composer name, an arranger name, and a message. Further, the type code may identify a type of the text additional information. Further, the recording medium on which the CD text reproducing program of the present invention is recorded may further include a step of displaying the character string extracted in the step (h) by the CD text reproducing program.

【0070】[0070]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を用いて説明する。尚、すべての図面におい
て、同様な構成要素は同じ参照記号および符号を用いて
示してある。
Embodiments of the present invention will be described below with reference to the drawings. In all the drawings, similar components are denoted by the same reference symbols and symbols.

【0071】本発明のCD再生装置は、図22に示され
る従来のCD再生装置20と同様であり、図18に示さ
れる音楽用コンパクトディスク1のリードインエリア3
に記録されたテキスト文字列からなる付加情報を再生す
るものである。またコンパクトディスク1のリードイン
エリア3に記録された付加情報の構成も図19に示され
た従来の構成と同様である。また、本実施例でリードイ
ンエリア3に記録されている付加情報は、図20に示さ
れた付加情報例を使用する。尚、本実施の形態では、リ
ードインエリア3が1つのブロックを含む場合について
説明するが、これに限定されるものではなく、複数のブ
ロックを含んでもよい。
The CD reproducing apparatus of the present invention is the same as the conventional CD reproducing apparatus 20 shown in FIG. 22, and has a lead-in area 3 of the compact disk for music 1 shown in FIG.
The reproduction of the additional information consisting of the text character string recorded in the. The configuration of the additional information recorded in the lead-in area 3 of the compact disc 1 is the same as the conventional configuration shown in FIG. In the present embodiment, the additional information recorded in the lead-in area 3 uses the example of the additional information shown in FIG. In this embodiment, the case where the lead-in area 3 includes one block will be described. However, the present invention is not limited to this, and may include a plurality of blocks.

【0072】本発明の第1実施の形態のCDテキスト格
納方法は、コンパクトディスク1のリードインエリア3
内のCDテキストを読み出して、CD再生装置20のR
AM27に一時的に格納されるデータの記憶容量を削減
できるCDテキスト格納方法である。この一時的にRA
M27に格納されたCDテキストデータは、外部からの
再生要求に応じて音楽情報に対応する付加情報を再生す
る時、読み出され、CD再生装置20の表示部29に表
示される。
The CD text storage method according to the first embodiment of the present invention
And reads the CD text in the
This is a CD text storage method capable of reducing the storage capacity of data temporarily stored in the AM 27. This temporary RA
The CD text data stored in M27 is read out when the additional information corresponding to the music information is reproduced in response to a reproduction request from the outside, and is displayed on the display unit 29 of the CD reproduction device 20.

【0073】図1は、本発明の第1実施の形態のCDテ
キスト格納方法の処理手順を示すフローチャートであ
る。同図に示すように、第1実施の形態のCDテキスト
格納方法は、ステップS101で、CD再生装置20の
RAM27に、アドレステーブル41が格納されるアド
レス情報格納領域43と、テキストデータ9が格納され
るテキストデータ格納領域45とを確保する。図2に示
すように、本実施の形態において、アドレス情報格納領
域43に格納されるアドレステーブル41の先頭アドレ
ス初期値は0x0E00であり、テキストデータ格納領
域45に格納されるテキストデータ9の先頭アドレス初
期値は0x0200であるが、これに限定されるもので
はない。
FIG. 1 is a flowchart showing a processing procedure of the CD text storing method according to the first embodiment of the present invention. As shown in the figure, in the CD text storage method according to the first embodiment, in step S101, an address information storage area 43 in which an address table 41 is stored and a text data 9 are stored in the RAM 27 of the CD playback device 20. And a text data storage area 45 to be stored. As shown in FIG. 2, in the present embodiment, the initial value of the start address of the address table 41 stored in the address information storage area 43 is 0x0E00, and the start address of the text data 9 stored in the text data storage area 45. The initial value is 0x0200, but is not limited to this.

【0074】図3は、アドレス情報格納領域43に格納
されるアドレステーブル41のデータ構成例を示す。同
図に示すように、アドレステーブル41は、各パックに
対応するテーブルアドレス毎に、第1のデータHD1
と、第2のデータHD2と、第3のデータHD3とを有
する。各データの容量は1バイトである。すなわち、各
パックの情報を格納するのに必要な容量は3バイトとな
る。
FIG. 3 shows a data configuration example of the address table 41 stored in the address information storage area 43. As shown in the figure, the address table 41 stores the first data HD1 for each table address corresponding to each pack.
And second data HD2 and third data HD3. The capacity of each data is 1 byte. That is, the capacity required to store the information of each pack is 3 bytes.

【0075】RAM27のアドレス0x0E00に0番
目のパックP0のデータが格納され、1番目のパックP1
のデータは、アドレス0x0E03に格納され、n番目
のパックPnのデータは、(アドレス初期値0x0E0
0+3×n)のアドレスに格納される。
The data of the 0th pack P 0 is stored at the address 0x0E00 of the RAM 27 and the first pack P 1
Is stored at address 0x0E03, and the data of the n-th pack P n is (address initial value 0x0E0
0 + 3 × n).

【0076】第1のデータHD1は、その上位4ビット
に、対応するパックの第1識別子ID1の下位4ビット
がセットされ、HD1の下位4ビットに、対応するパッ
クの第4識別子ID4の下位4ビットがセットされる。
ここで、対応するパックの第1識別子ID1は、先にも
述べた通り、パックに格納されているテキスト文字列の
データ種別を示す識別子であり、規格で、80(h)〜
8F(h)に定められており、2バイトのデータのうち
下位4ビットで、データ種別は識別可能であるので、下
位4ビットのみを採用するものである。データ種別に
は、曲のタイトル、アーティスト名、作詞者名、作曲者
名、編曲者名およびメッセージなどがある。例えば、第
1識別子ID1=80(h)は、アルバム名または曲の
タイトルを示す。
In the first data HD1, the lower 4 bits of the first identifier ID1 of the corresponding pack are set in the upper 4 bits, and the lower 4 bits of the first identifier HD1 of the corresponding pack are set in the lower 4 bits of HD1. Bit is set.
Here, the first identifier ID1 of the corresponding pack is, as described above, an identifier indicating the data type of the text character string stored in the pack.
8F (h), the lower 4 bits of the 2-byte data and the data type can be identified, so that only the lower 4 bits are employed. The data type includes a song title, artist name, lyricist name, composer name, arranger name, message, and the like. For example, the first identifier ID1 = 80 (h) indicates an album name or a song title.

【0077】また、対応するパックの第4識別子ID4
は、パックに格納されているテキストデータの1桁目の
データが、当該テキスト文字列の何文字目に該当するの
かを示している。本実施の形態では、この第4識別子I
D4の下位4ビットのみを採用し、後述する処理に使用
するものである。
The fourth identifier ID4 of the corresponding pack
Indicates which character of the text string corresponds to the first digit of the text data stored in the pack. In the present embodiment, the fourth identifier I
Only the lower 4 bits of D4 are used, and are used for processing described later.

【0078】第2のデータHD2は、対応するパックの
第2識別子ID2のデータがセットされる。対応するパ
ックの第2識別子ID2は、パックに格納されているテ
キストデータが、何番目のトラックであるかを示す識別
子であり、最大99番目のトラックが一枚のコンパクト
ディスク1に含まれるので、第2識別子ID2の取り得
る数値は、00(h)〜63(h)である。すなわち、
この第2識別子ID2の下位7ビットで、トラック番号
は識別可能であるので、下位7ビットのみを採用する。
さらに、第2のデータHD2は、その最上位1ビット
に、対応するパックのCRC部11のCRCに基づい
て、当該パックから読み出したデータのエラーチェック
を行い、さらに、その結果に基づいて1または0がセッ
トされる。本実施例では、エラー検出時に1をセット
し、正常時には0としているが、逆に、エラー検出時に
0とし、正常時に1をセットするようにしても良い。
In the second data HD2, the data of the second identifier ID2 of the corresponding pack is set. The second identifier ID2 of the corresponding pack is an identifier indicating the track number of the text data stored in the pack, and the 99th track at the maximum is included in one compact disc 1. Possible numerical values of the second identifier ID2 are 00 (h) to 63 (h). That is,
Since the track number can be identified by the lower 7 bits of the second identifier ID2, only the lower 7 bits are employed.
Further, the second data HD2 performs an error check on data read from the pack based on the most significant bit of the second data HD2 based on the CRC of the CRC unit 11 of the corresponding pack. 0 is set. In this embodiment, 1 is set when an error is detected and 0 is set when the error is normal. Conversely, 0 may be set when an error is detected and 1 may be set when the error is normal.

【0079】第3のデータHD3は、対応するパックの
第3識別子ID3のデータがセットされる。対応するパ
ックの第3識別子ID3は、そのパックに付けられた連
続番号であり、最大256個のパックが1つのブロック
に含まれるので、1ブロック毎に、00(h)〜FE
(h)で示される。この番号は、ブロック毎に初期化さ
れる。この第3のデータHD3は、後述するRAM27
のテキストデータ格納領域45にパック内のテキストデ
ータが格納されるアドレスを算出するのに使用される。
In the third data HD3, data of the third identifier ID3 of the corresponding pack is set. The third identifier ID3 of the corresponding pack is a serial number assigned to the pack. Since a maximum of 256 packs are included in one block, 00 (h) to FE are assigned to each block.
(H). This number is initialized for each block. The third data HD3 is stored in a RAM 27 described later.
Is used to calculate the address at which the text data in the pack is stored in the text data storage area 45 of FIG.

【0080】このように本発明のCDテキスト格納方法
において、上述の第1〜3のデータは、各パックに格納
されたテキストデータの領域情報として、データ種別
と、当該パックの1桁目の文字が、テキスト文字列の何
文字目かを示す情報と、当該パックの1桁目の文字が含
まれるテキスト文字列が、何番目のトラック(曲)の情
報を示す情報と、エラー情報と、当該パック番号とを有
している。
As described above, in the CD text storage method according to the present invention, the above-described first to third data includes, as area information of text data stored in each pack, a data type and a first digit character of the pack. Is information indicating the character of the text string, the text string including the first digit character of the pack is information indicating the information of the track (song), error information, And a pack number.

【0081】図4は、テキストデータ格納領域45に、
図21に示されたリードインエリア3内の付加情報のテ
キストデータが格納された時の例を示している。同図に
示すように、各パック毎のテキストデータは、パック順
に隙間無くテキストデータ格納領域45内に格納され
る。各テキスト文字列間の区切りはコード“00”で示
されるNULLが使用され、テキスト文字列内のスペー
スは、コード“20”が使用される。
FIG. 4 shows that the text data storage area 45 has
23 illustrates an example when text data of additional information in the lead-in area 3 illustrated in FIG. 21 is stored. As shown in the drawing, the text data of each pack is stored in the text data storage area 45 in the order of the pack without any gap. Null indicated by a code “00” is used as a delimiter between the text character strings, and a code “20” is used as a space in the text character string.

【0082】図1に戻り、ステップS102で、変数i
に0をセットする。ここで、変数iは、パック番号のイ
ンデックスとして使用される。続くステップS103
で、コンパクトディスク1のリードインエリア3から、
i番目のパックPiのデータを読み出す。続くステップ
S104で、読み出したi番目のパックPiのテキスト
データ部9のテキストデータを読み出し、RAM27の
テキストデータ格納領域45に格納する。テキストデー
タは、テキストデータ格納領域に所定のアドレスから始
めて、i番目のパックPiのテキストデータは、(i−
1)番目のパックPi-1のデータが格納されたすぐ後ろ
に隙間無く順に格納される。
Returning to FIG. 1, in step S102, the variable i
Is set to 0. Here, the variable i is used as an index of the pack number. Subsequent step S103
From the lead-in area 3 of the compact disc 1,
The data of the i-th pack Pi is read. In a succeeding step S104, the text data of the text data portion 9 of the read i-th pack Pi is read and stored in the text data storage area 45 of the RAM 27. Text data, starting from a given address in the text data storage area, the text data of the i-th pack P i is (i-
1) The data of the pack P i-1 is stored immediately after the data of the pack P i-1 without any space.

【0083】続くステップS105で、読み出したi番
目のパックPiのヘッダ部7の識別子情報に基づいて、
アドレステーブル41のHD1をセットする。詳細に
は、読み出したi番目のパックPiのヘッダ部7の第1
識別子ID1の下位4ビットをアドレステーブル41の
HD1の上位4ビットにセットし、読み出したi番目の
パックPiのヘッダ部7の第4識別子ID4の下位4ビ
ットをアドレステーブル41のHD1の下位4ビットに
セットする。
In the following step S105, based on the identifier information of the header portion 7 of the read i-th pack Pi,
HD1 of the address table 41 is set. Specifically, the first part of the header part 7 of the read i-th pack Pi is
The lower 4 bits of the identifier ID1 are set to the upper 4 bits of HD1 of the address table 41, and the lower 4 bits of the fourth identifier ID4 of the header part 7 of the read i-th pack Pi are set to the lower 4 bits of HD1 of the address table 41. Set to.

【0084】続くステップS106で、読み出したi番
目のパックPiのヘッダ部7の第2識別子ID2をアド
レステーブル41のHD2にセットする。次に、ステッ
プS107で、読み出したi番目のパックPiのCRC
部11のデータに基づいて、ステップS103で読み出
したデータのCRCチェックを行い、その結果に基づい
て、CRCエラーが検出されたか否かの判定を行う。ス
テップS107の判定で、エラーが検出されなかった場
合は、ステップS108に進み、エラーが検出された場
合は、ステップS109に進む。
In the subsequent step S106, the second identifier ID2 of the header portion 7 of the read i-th pack Pi is set in HD2 of the address table 41. Next, in step S107, the CRC of the read i-th pack P i is read.
A CRC check is performed on the data read in step S103 based on the data of the unit 11, and it is determined whether a CRC error has been detected based on the result. If no error is detected in the determination in step S107, the process proceeds to step S108, and if an error is detected, the process proceeds to step S109.

【0085】ステップS108では、読み出したi番目
のパックPiのヘッダ部7の第3識別子ID3のデータ
をアドレステーブル41のHD3にセットする。一方、
ステップS109では、先に読み出した(i−1)番目
のパックPi-1のアドレステーブルのHD3のデータを
読み出して、読み出したHD3に1を加算して得られた
値を、i番目のパックPiのアドレステーブル41のH
D3のデータとしてセットする。次いで、ステップS1
10で、アドレステーブル41のHD2の上位1ビット
目に1をセットする。ステップS108およびS110
はともにステップS111に進み、ステップS111で
は、リードインエリア3内のすべてのパックにデータが
読み出された否かの判定を行う。この判定は、例えば、
リードインエリア3に格納された情報のデータ種別を示
す識別子ID1が80(h)から始まり、順に8F
(h)まで読み出された後、再度、80(h)が検出さ
れたことなどにより行う。
[0085] At step S108, it sets the read i-th third identifier ID3 data of the header portion 7 of the pack P i to HD3 of the address table 41. on the other hand,
In step S109, the data of the HD3 in the address table of the (i-1) -th pack P i-1 previously read is read, and the value obtained by adding 1 to the read HD3 is used as the i-th pack. H of the address table 41 of P i
Set as D3 data. Then, step S1
At 10, 1 is set to the upper 1 bit of HD 2 in the address table 41. Steps S108 and S110
Go to step S111, and in step S111, it is determined whether data has been read out to all the packs in the lead-in area 3. This determination is, for example,
The identifier ID1 indicating the data type of the information stored in the lead-in area 3 starts from 80 (h) and is sequentially 8F.
After reading up to (h), this is performed again when 80 (h) is detected.

【0086】すべてのデータが読み出された場合は、本
処理を終了する。一方、すべてのデータが読み出されて
いない場合は、ステップS112に進み、変数iに1を
加算してステップS103に戻る。このようにして、変
数iを0から順にインクリメントして、0番目のパック
0から順にパック毎にステップS103〜S111の
処理を繰り返し行う。先に述べたように、パックは最大
256個、1つのブロックに含まれ、さらにリードイン
エリア3には最大8個のブロックが含まれる。本実施の
形態では、複数のブロックが含まれる場合については記
載してないが、複数のブロックが含まれても良い。
When all the data has been read, the present processing is terminated. On the other hand, if not all data has been read, the process proceeds to step S112, where 1 is added to the variable i, and the process returns to step S103. In this way, the variable i is incremented sequentially from 0, and the processing of steps S103 to S111 is repeated for each pack sequentially from the 0th pack P0. As described above, a maximum of 256 packs are included in one block, and the lead-in area 3 includes a maximum of eight blocks. Although a case where a plurality of blocks are included is not described in the present embodiment, a plurality of blocks may be included.

【0087】図1に示された本発明の第1実施の形態の
CDテキスト格納方法は、コンピュータが読み取り可能
な記録媒体に記録されたCDテキスト格納プログラムの
処理ルーチンの一例を示しており、本発明に係るCDテ
キスト格納プログラムは、図1に示されたステップを有
するものである。CDテキスト格納プログラムは、どの
ようなプログラム言語で記述されても良く、コンピュー
タが読み取り可能な記録媒体に、コンピュータが実行可
能な形式で記録される。CD再生装置20のコントロー
ル部25が、このCDテキスト格納プログラムに記述さ
れたステップに基づいて、CDテキスト格納処理を行
う。尚、本実施の形態において、リードインエリア3に
は、1つのブロックのみが含まれている場合の手順を示
してあるが、これに限定されるものではなく、複数のブ
ロックが含まれても良い。その場合の処理手順について
は、設計変更の範疇である。
The CD text storage method according to the first embodiment of the present invention shown in FIG. 1 shows an example of a processing routine of a CD text storage program recorded on a computer-readable recording medium. A CD text storage program according to the invention has the steps shown in FIG. The CD text storage program may be described in any programming language, and is recorded on a computer-readable recording medium in a computer-executable format. The control unit 25 of the CD playback device 20 performs a CD text storage process based on the steps described in the CD text storage program. In this embodiment, the procedure when the lead-in area 3 includes only one block is shown. However, the present invention is not limited to this, and the lead-in area 3 may include a plurality of blocks. good. The processing procedure in that case is in the category of design change.

【0088】次に、本発明の第1実施の形態のCDテキ
スト格納方法の作用について図1のフローチャートを用
いて説明する。
Next, the operation of the CD text storing method according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.

【0089】コンパクトディスク1が、CD再生装置2
0のCD駆動部21に載置されると、図1に示されるC
Dテキスト格納処理が開始される。
When the compact disc 1 is the CD player 2
0 is placed on the CD drive unit 21 of FIG.
D text storage processing is started.

【0090】ステップS101で、CD再生装置20の
RAM27に、アドレステーブル41が格納されるアド
レス情報格納領域43と、テキストデータ9が格納され
るテキストデータ格納領域45とが確保され、アドレス
情報格納領域43のアドレス初期値が0x0E00と設
定され、テキストデータ格納領域45のアドレス初期値
が0x0200と設定される。
In step S101, an address information storage area 43 for storing the address table 41 and a text data storage area 45 for storing the text data 9 are secured in the RAM 27 of the CD reproducing apparatus 20. The address initial value of 43 is set to 0x0E00, and the address initial value of the text data storage area 45 is set to 0x0200.

【0091】次に、ステップS102に進み、変数iに
0がセットされる。ステップS103に進み、コンパク
トディスク1のリードインエリア3の0番目のブロック
B0の0番目のパックP0のデータが読み出される。ス
テップS104に進み、読み出した0番目のパックP0
のテキストデータ部9に格納されているテキスト文字列
のコードが読み出される。すなわち、図21に示される
テキスト文字列表示データ「TEST DISK M
O」に対応する12バイト分のコードが読み出される。
読み出されたコードは、図4に示すように、RAM27
のテキストデータ格納領域45のアドレス0x0200
から順に格納される。
Next, the routine proceeds to step S102, where 0 is set to a variable i. Proceeding to step S103, the data of the 0th pack P0 of the 0th block B0 of the lead-in area 3 of the compact disc 1 is read. Proceeding to step S104, the read-out 0th pack P 0
The code of the text character string stored in the text data part 9 is read. That is, the text character string display data “TEST DISK M
A code for 12 bytes corresponding to "O" is read.
The read code is stored in the RAM 27 as shown in FIG.
Address 0x0200 of the text data storage area 45
Are stored sequentially.

【0092】ステップS105に進み、0番目のパック
0のヘッダ部7の第1識別子ID1のコード80
(h)および第4識別子ID4のコード00(h)に基
づいて、アドレステーブル41のアドレス0x0E00
の第1データHD1が図5に示すように00(h)とセ
ットされる。
The process advances to step S105, where the code 80 of the first identifier ID1 of the header 7 of the 0th pack P 0
(H) and the code 0 (h) of the fourth identifier ID4, the address 0x0E00 of the address table 41 is obtained.
Is set to 00 (h) as shown in FIG.

【0093】ステップS106に進み、0番目のパック
0のヘッダ部の第2識別子ID2のコード00(h)
がアドレステーブル41の第2データHD2にセットさ
れる。
The flow advances to step S106 to code 00 (h) of the second identifier ID2 in the header of the 0th pack P0.
Is set in the second data HD2 of the address table 41.

【0094】次に、ステップS107に進み、0番目の
パックP0のCRC部11のデータに基づいて、ステッ
プS103で読み出した0番目のパックP0のデータの
CRCチェックが行われる。エラーが検出されなかった
ので、ステップS108で、0番目のパックP0のヘッ
ダ部7の第3識別子ID3のコード00(h)がアドレ
ステーブル41の第3データHD3にセットされる。ス
テップS111に進み、リードインエリア3のデータ
は、すべて読み出されていないので、ステップS112
に進み、変数iに1が加算されてi=1として、ステッ
プS103に戻る。
[0094] Then, the process proceeds to step S107, based on the data of the 0-th pack P 0 of the CRC unit 11, CRC check of the 0th data of the pack P 0 read in step S103 is performed. Since no error was detected, the code 00 (h) of the third identifier ID3 of the header 7 of the 0th pack P0 is set in the third data HD3 of the address table 41 in step S108. Proceeding to step S111, since all data in the lead-in area 3 has not been read out,
Then, 1 is added to the variable i, i = 1, and the process returns to step S103.

【0095】ステップS103では、コンパクトディス
ク1のリードインエリア3の0番目のブロックB0の1
番目のパックP1のデータが読み出される。ステップS
104に進み、読み出した1番目のパックP1のテキス
トデータ部9に格納されているテキスト文字列のコード
が読み出される。すなわち、図21に示されるテキスト
文字列表示データ「NEY BATTERFR」に対応
する12バイト分のコードが読み出される。読み出され
たコードは、図4に示すように、RAM27のテキスト
データ格納領域45のアドレス0x020Cから順に格
納される。
In step S103, 1 of the 0th block B0 in the lead-in area 3 of the compact disc 1
Th pack P 1 of the data is read. Step S
Proceeds to 104, read the first text string code stored in the text data portion 9 of the pack P 1 has is read. That is, a 12-byte code corresponding to the text character string display data “NEY BATTERFR” shown in FIG. 21 is read. The read codes are stored in order from the address 0x020C in the text data storage area 45 of the RAM 27 as shown in FIG.

【0096】ステップS105に進み、1番目のパック
1のヘッダ部7の第1識別子ID1のコード80
(h)および第4識別子ID4のコード02(h)に基
づいて、アドレステーブル41のアドレス0x0E03
の第1データHD1が図5に示すように02(h)とセ
ットされる。
[0096] proceeds to step S105, the code 80 of the first first identifier ID1 of the header portion 7 of the pack P 1
Based on (h) and the code 02 (h) of the fourth identifier ID4, the address 0x0E03 of the address table 41 is obtained.
Is set to 02 (h) as shown in FIG.

【0097】ステップS106に進み、1番目のパック
1のヘッダ部の第2識別子ID2のコード01(h)
がアドレステーブル41の第2のデータHD2にセット
される。
In step S106, the code 01 (h) of the second identifier ID2 in the header of the first pack P1
Is set in the second data HD2 of the address table 41.

【0098】次に、ステップS107に進み、1番目の
パックP1のCRC部11のデータに基づいて、ステッ
プS103で読み出した1番目のパックP1のデータの
CRCチェックが行われる。エラーが検出されなかった
ので、ステップS108で、1番目のパックP1のヘッ
ダ部7の第3識別子ID3のコード01(h)がアドレ
ステーブル41の第3のデータHD3にセットされる。
ステップS111に進み、リードインエリア3のデータ
は、すべて読み出されていないので、ステップS112
に進み、変数iに1が加算されてi=1として、ステッ
プS103に戻る。
[0098] Then, the process proceeds to step S107, based on the data of the first pack P 1 of the CRC unit 11, CRC check of the first pack P 1 of the data read in step S103 is performed. Since no error was detected, the code 01 (h) of the third identifier ID3 of the header 7 of the first pack P1 is set in the third data HD3 of the address table 41 in step S108.
Proceeding to step S111, since all data in the lead-in area 3 has not been read out,
Then, 1 is added to the variable i, i = 1, and the process returns to step S103.

【0099】ステップS103では、コンパクトディス
ク1のリードインエリア3の0番目のブロックB0の2
番目のパックP2のデータが読み出される。ステップS
104に進み、読み出した2番目のパックP2のテキス
トデータ部9に格納されているテキスト文字列のコード
が読み出される。すなわち、図21に示されるテキスト
文字列表示データ「Y MY ABC THE」に対応
する12バイト分のコードが読み出される。読み出され
たコードは、図4に示すように、RAM27のテキスト
データ格納領域45のアドレス0x0218の(1)〜
(12)の位置に順に格納される。
In step S103, the second block B0 in the lead-in area 3 of the compact disc 1
Th of the pack P 2 of the data is read. Step S
Proceeds to 104, reading the second text string of code stored in the text data portion 9 of the pack P 2 has is read. That is, a 12-byte code corresponding to the text character string display data “Y MY ABC THE” shown in FIG. 21 is read. As shown in FIG. 4, the read codes are (1) to (0) of address 0x0218 of the text data storage area 45 of the RAM 27.
The data is sequentially stored at the position (12).

【0100】ステップS105に進み、2番目のパック
2のヘッダ部7の第1識別子ID1のコード80
(h)および第4識別子ID4のコード08(h)に基
づいて、アドレステーブル41のアドレス0x0E06
の第1データHD1が図5に示すように08(h)とセ
ットされる。
[0100] proceeds to step S105, the second first identifier ID1 of the header portion 7 of the pack P 2 Code 80
(H) and the code 08 (h) of the fourth identifier ID4, the address 0x0E06 of the address table 41 is obtained.
Is set to 08 (h) as shown in FIG.

【0101】ステップS106に進み、2番目のパック
2のヘッダ部の第2識別子ID2のコード02(h)
がアドレステーブル41の第2のデータHD2にセット
される。
[0102] Proceeding to step S106, 2-th pack P 2 code 02 of the second identifier ID2 in the header portion (h)
Is set in the second data HD2 of the address table 41.

【0102】次に、ステップS107に進み、2番目の
パックP2のCRC部11のデータに基づいて、ステッ
プS103で読み出した2番目のパックP2のデータの
CRCチェックが行われる。本実施の形態では、2番目
のパックP2のデータ読み出しでエラーが検出されたも
のとし、ここではステップS109に進み、1番目のパ
ックP1のアドレステーブルのHD3のデータ01
(h)を読み出し、このHD3に1を加算して2番目の
パックP2のHD3のデータとしてセットする。ステッ
プS110に進み、アドレステーブル41の第2のデー
タHD2の上位1ビット目に1をセットする。すなわ
ち、アドレステーブル41の第2パックP2に対応する
HD2には、図5に示すように、82(h)がセットさ
れる。ステップS111に進み、リードインエリア3の
データは、すべて読み出されていないので、ステップS
112に進み、変数iに1が加算されてi=3として、
ステップS103に戻る。
[0102] Then, the process proceeds to step S107, based on the data of the second pack P 2 of the CRC unit 11, the CRC check of the second data pack P 2 read in step S103 is performed. In the present embodiment, it is assumed that an error has been detected in the data reading of the second pack P2. Here, the process proceeds to step S109, where the data 01 of the HD3 in the address table of the first pack P1 is stored.
(H) is read out, 1 is added to HD3, and the data is set as HD3 data of the second pack P2. Proceeding to step S110, 1 is set to the first upper bit of the second data HD2 in the address table 41. That is, the second pack P 2 corresponding to the HD2 of the address table 41, as shown in FIG. 5, 82 (h) are set. Proceeding to step S111, since all data in the lead-in area 3 has not been read out,
Proceeding to 112, 1 is added to the variable i, and i = 3,
It returns to step S103.

【0103】以後、パック毎に上記の処理を繰り返し、
すべてのパックのデータが読み取られた時、ステップS
111の判定で、本処理を抜ける。
Thereafter, the above processing is repeated for each pack.
When the data of all the packs have been read, step S
With the determination of 111, the process exits.

【0104】以上のように、本発明の第1実施の形態の
CDテキスト格納方法は、コンパクトディスク1内のリ
ードインエリア3のヘッダ部7に含まれる識別子情報を
並べ替え、簡略化してアドレステーブル41に格納し、
かつ、テキストデータ部9のテキストデータは、テキス
トデータ格納領域45内に識別子情報とは独立して羅列
して格納することができるので、リードインエリア3内
の情報をコンパクトディスク1から読み出して格納する
のに必要なRAM27の容量を削減できる。
As described above, according to the CD text storing method of the first embodiment of the present invention, the identifier information contained in the header section 7 of the lead-in area 3 in the compact disc 1 is rearranged, and the address table is simplified. 41,
In addition, since the text data of the text data section 9 can be stored in the text data storage area 45 independently of the identifier information, the information in the lead-in area 3 is read from the compact disc 1 and stored. The required capacity of the RAM 27 can be reduced.

【0105】図6は、本発明の第2実施の形態のCDテ
キスト再生方法の処理手順を示すフローチャートであ
る。本発明の第2実施の形態のCDテキスト再生方法
は、本発明の第1実施の形態のCDテキスト格納方法に
よってRAM27に一時的に格納された音楽情報対応す
る付加情報を再生する方法である。本実施の形態におい
ても、CD再生装置は、図22に示される従来のCD再
生装置20と同様であり、図18に示される音楽用コン
パクトディスク1のリードインエリア3に記録されたテ
キスト文字列からなる付加情報を再生するものである。
またコンパクトディスク1のリードインエリア3に記録
された付加情報の構成も図19に示された従来の構成と
同様である。また、本実施例でリードインエリア3に記
録されている付加情報は、図20に示された付加情報例
を使用する。尚、本実施の形態において、リードインエ
リア3は1つのブロックのみ含むものとする。
FIG. 6 is a flowchart showing a processing procedure of the CD text reproducing method according to the second embodiment of the present invention. The CD text reproducing method according to the second embodiment of the present invention is a method for reproducing additional information corresponding to music information temporarily stored in the RAM 27 by the CD text storing method according to the first embodiment of the present invention. Also in this embodiment, the CD playback device is the same as the conventional CD playback device 20 shown in FIG. 22, and a text character string recorded in the lead-in area 3 of the music compact disc 1 shown in FIG. The additional information consisting of
The configuration of the additional information recorded in the lead-in area 3 of the compact disc 1 is the same as the conventional configuration shown in FIG. In the present embodiment, the additional information recorded in the lead-in area 3 uses the example of the additional information shown in FIG. In this embodiment, the lead-in area 3 includes only one block.

【0106】図6に示すように、第2実施の形態のCD
テキスト再生方法は、ステップS201で、コントロー
ル部25が、外部データ要求手段31から、再生すべき
付加情報のテキスト文字列に対応するデータ種別を示す
第1識別子ID1およびトラック番号を示す第2識別子
ID2を含むテキストデータ要求を受け付ける。第1識
別子ID1および第2識別子ID2を入力後、ステップ
S202に進み、入力した第1識別子ID1および第2
識別子ID2に基づいて、アドレステーブル41を検索
して、該当するデータを獲得する。続くステップS20
3で、検索された第1データHD1および第3データH
D3に基づいて、テキストデータ格納領域45内に該当
するテキスト文字列格納されているスタートアドレスを
算出する。ここで、スタートアドレスは、下記の式(2
a)で算出する。
As shown in FIG. 6, the CD of the second embodiment
In the text reproducing method, in step S201, the control unit 25 sends, from the external data request unit 31, the first identifier ID1 indicating the data type corresponding to the text character string of the additional information to be reproduced and the second identifier ID2 indicating the track number. A text data request including a is received. After inputting the first identifier ID1 and the second identifier ID2, the process proceeds to step S202, and the first identifier ID1 and the second identifier
The address table 41 is searched based on the identifier ID2 to obtain the corresponding data. Subsequent step S20
3, the retrieved first data HD1 and third data H
Based on D3, a start address at which the corresponding text character string is stored in the text data storage area 45 is calculated. Here, the start address is calculated by the following equation (2
Calculate in a).

【0107】 スタートアドレス=アドレス初期値 +(HD3)×12−(HD1の下位4ビット) …式(2a) 本実施の形態では、アドレス初期値は0x0200であ
る。上記の式(2a)では、パック番号に1つのパックに
含まれているテキストコード容量の12バイトを乗算
し、アドレス初期値を加算し、当該パックの先頭桁の文
字桁数を減算することによりスタートアドレスを算出し
ている。
Start address = address initial value + (HD3) × 12− (lower 4 bits of HD1) Expression (2a) In the present embodiment, the address initial value is 0x0200. In the above equation (2a), the pack number is multiplied by the text code capacity of 12 bytes included in one pack, the initial address value is added, and the number of leading digits of the pack is subtracted. Start address is calculated.

【0108】本実施の形態では、スタートアドレスの算
出時に、絶対値アドレスに補正を行っているが、この補
正処理は、ステップS207のテキストデータを取り出
す直前に行うようにしても良い。その場合は、絶対値ア
ドレスを算出する前までは、相対値により各アドレスを
扱うことになる。
In the present embodiment, the absolute value address is corrected when the start address is calculated. However, this correction process may be performed immediately before the text data is extracted in step S207. In that case, each address is handled by a relative value until the absolute value address is calculated.

【0109】ステップS204に進み、ステップS20
3で算出されたスタートアドレスを仮アドレスとし、こ
の仮アドレスに格納されているテキストデータのコード
が、NULL(00(h))か否かを判定する。NUL
Lで無いの場合は、ステップS205に進み、NULL
の場合は、ステップS206に進む。
The operation proceeds to step S204, and step S20
The start address calculated in step 3 is used as a temporary address, and it is determined whether or not the text data code stored in the temporary address is NULL (00 (h)). NUL
If it is not L, the process proceeds to step S205, and NULL
In the case of, the process proceeds to step S206.

【0110】ステップS205では、仮アドレスに1を
加算して、ステップS204に戻る。これにより、スタ
ートアドレスから順に仮アドレスに格納されているテキ
ストデータのコードがNULLであるか否かの検出が行
われる。
In step S205, 1 is added to the temporary address, and the flow returns to step S204. As a result, it is detected whether or not the code of the text data stored in the temporary address from the start address is NULL.

【0111】ステップS206では、ステップS205
でNULL検出された仮アドレスを、エンドアドレスと
決定する。ステップS207に進み、ステップS203
で算出されたスタートアドレスからステップS206で
決定されたエンドアドレスの間のテキストデータをテキ
ストデータ格納領域45から取り出し、本処理を終了す
る。これにより、外部データ要求手段31からの要求に
応じた、テキスト文字列が抽出される。このようにして
抽出されたテキスト文字列は、コントロール部25によ
って表示部29に表示される。
In step S206, step S205
Is determined as an end address. Proceeding to step S207, step S203
The text data between the start address calculated in step S206 and the end address determined in step S206 is extracted from the text data storage area 45, and the process ends. Thereby, a text character string corresponding to the request from the external data requesting unit 31 is extracted. The text string thus extracted is displayed on the display unit 29 by the control unit 25.

【0112】次に、第2実施の形態のCDテキスト再生
方法の作用について図6を用いて説明する。
Next, the operation of the CD text reproducing method according to the second embodiment will be described with reference to FIG.

【0113】ここでは、外部データ要求手段31がコン
トロール部25に、1曲目のタイトルを表示する要求を
行った場合について説明する。ステップS201では、
ID1=80(h)およびID2=01(h)が外部デ
ータ要求手段31の要求に応じて入力される。ステップ
S202に進み、アドレステーブルを検索して、ステッ
プS201で入力されたID1およびID2の条件を満
たすデータを抽出する。ここでは、ID1=80(h)
なので、HD1の下位4ビットが0(h)で、かつ、I
D2=01(h)なので、HD2の下位7ビットが01
(h)であるデータが条件を満たすので、アドレステー
ブル41のアドレス0x0E03が該当する。
Here, a case will be described in which the external data requesting unit 31 requests the control unit 25 to display the title of the first music piece. In step S201,
ID1 = 80 (h) and ID2 = 01 (h) are input in response to a request from the external data request unit 31. In step S202, the address table is searched to extract data satisfying the conditions of ID1 and ID2 input in step S201. Here, ID1 = 80 (h)
Therefore, the lower 4 bits of HD1 are 0 (h) and I
Since D2 = 01 (h), the lower 7 bits of HD2 are 01
Since the data of (h) satisfies the condition, the address 0x0E03 of the address table 41 corresponds.

【0114】ステップS203に進み、アドレステーブ
ル41のアドレス0x0E03の第1データHD1=0
x02および第3データHD3=0x01に基づいて、
テキストデータ格納領域45内に該当するテキスト文字
列格納されているスタートアドレスが下記のように算出
される。
The flow advances to step S203, where the first data HD1 = 0 of the address 0x0E03 in the address table 41 is set.
x02 and the third data HD3 = 0x01,
The start address at which the corresponding text character string is stored in the text data storage area 45 is calculated as follows.

【0115】スタートアドレス=0x0200+1×1
2−2=0x020A ステップS204に進み、ステップS203で算出され
たスタートアドレスから順に、該当するアドレスに格納
されているテキストデータのコードが、NULL(00
(h))か否かが判定される。ここで、図4に示すよう
に、テキストデータ格納領域45のアドレス0x020
Aのデータは、“M”であり、NULLでは無いので、
ステップS205に進み、アドレスに1が加算され、0
x020Bとして、ステップS204に戻る。ステップ
S204およびS205で、順次1つずつアドレスを増
加させて、NULL検出を行うと、アドレス0x020
Fのとき、NULLが検出される。そこで、ステップS
204からステップS206に進み、エンドアドレス0
x020Fが決定される。次いで、ステップS207に
進み、ステップS203で算出されたスタートアドレス
からステップS206で決定されたエンドアドレスの間
のテキストデータ「MONEY」をテキストデータ格納
領域45から取り出し、本処理を終了する。これによ
り、外部データ要求手段31からの要求に応じた、1曲
目のタイトルであるテキスト文字列「MONEY」が抽
出される。このようにして抽出されたテキスト文字列
「MONEY」が、コントロール部25によって表示部
29に表示される。
Start address = 0x0200 + 1 × 1
2-2 = 0x020A The process proceeds to step S204, and the code of the text data stored at the corresponding address is set to NULL (00) in order from the start address calculated at step S203.
(H)) is determined. Here, as shown in FIG. 4, the address 0x020 of the text data storage area 45 is set.
Since the data of A is “M” and not NULL,
Proceeding to step S205, 1 is added to the address and 0
The process returns to step S204 as x020B. In steps S204 and S205, if the address is sequentially increased by one and NULL detection is performed, the address 0x020
At F, NULL is detected. Therefore, step S
From step 204, the process proceeds to step S206, where the end address 0
x020F is determined. Next, the process proceeds to step S207, where the text data “MONEY” between the start address calculated in step S203 and the end address determined in step S206 is extracted from the text data storage area 45, and the process ends. Thereby, the text character string “MONEY”, which is the title of the first music piece, according to the request from the external data requesting unit 31 is extracted. The text character string “MONEY” extracted as described above is displayed on the display unit 29 by the control unit 25.

【0116】このように、本発明の第2実施の形態のC
Dテキスト再生方法は、小容量のRAM27に一時的に
格納された情報に基づいて、必要なCDテキストデータ
を再生することができる。
As described above, according to the second embodiment of the present invention, C
The D text reproducing method can reproduce necessary CD text data based on information temporarily stored in the small-capacity RAM 27.

【0117】図7および8は、本発明の第3実施の形態
のCDテキスト再生方法の処理手順を示すフローチャー
トである。本発明の第3実施の形態のCDテキスト再生
方法は、第2実施の形態のCDテキスト再生方法の他の
実施例として、CRCエラーを検出した場合のCRCエ
ラー処理を含むものである。
FIGS. 7 and 8 are flowcharts showing the processing procedure of the CD text reproducing method according to the third embodiment of the present invention. The CD text reproducing method according to the third embodiment of the present invention includes, as another example of the CD text reproducing method according to the second embodiment, a CRC error process when a CRC error is detected.

【0118】図7に示すように、第3実施の形態のCD
テキスト再生方法は、図6に示した第2実施の形態のC
Dテキスト再生方法と同じステップS201、S202
およびS204〜S207と、第2実施の形態のCDテ
キスト再生方法のステップS203の代わりにCRCエ
ラー処理ルーチンのステップS301とを含む。第2実
施の形態のCDテキスト再生方法と同じステップの説明
は省略する。
As shown in FIG. 7, the CD of the third embodiment
The text reproduction method is the same as that of the second embodiment shown in FIG.
Steps S201 and S202 same as D text reproducing method
And S204 to S207, and step S301 of a CRC error processing routine instead of step S203 of the CD text reproducing method of the second embodiment. The description of the same steps as in the CD text reproducing method of the second embodiment is omitted.

【0119】図7において、ステップS202の後、ス
テップS301に進むと、図8に示されるCRCエラー
処理ルーチンへ移行する。CRCエラー処理ルーチンか
ら制御が戻ると、ステップS204へ進む。
In FIG. 7, when the process proceeds to step S301 after step S202, the process proceeds to a CRC error processing routine shown in FIG. When control returns from the CRC error processing routine, the process proceeds to step S204.

【0120】図8は、第3実施の形態のCDテキスト再
生方法のCRCエラー処理ルーチンの手順を示すフロー
チャートである。同図に示すように、ステップS302
では、図7のステップS202で検索されたアドレステ
ーブル41に該当するパックのデータのCRCエラーチ
ェック結果に基づいて、CRCエラー有りか否かを判定
する。詳細には、当該HD2の最上位ビットが1か否か
を判定する。CRCエラーの場合は、ステップS303
に進み、エラーでない場合は、ステップS304に進
む。
FIG. 8 is a flowchart showing a procedure of a CRC error processing routine of the CD text reproducing method according to the third embodiment. As shown in FIG.
Then, it is determined whether or not there is a CRC error based on the CRC error check result of the data of the pack corresponding to the address table 41 searched in the step S202 in FIG. Specifically, it is determined whether or not the most significant bit of the HD2 is “1”. In the case of a CRC error, step S303
If not, the process proceeds to step S304.

【0121】ステップS303では、図7のステップS
202で検索されたアドレステーブル41のアドレスの
一つ前のアドレスの第3データHD3に基づいて、下記
の式(3a)により仮アドレスを算出する。一つ前のアド
レスは、ステップS202で検索されたアドレステーブ
ルのアドレスから3をマイナスして算出される。
At step S303, step S of FIG.
Based on the third data HD3 of the address immediately before the address of the address table 41 searched in 202, a temporary address is calculated by the following equation (3a). The immediately preceding address is calculated by subtracting 3 from the address in the address table searched in step S202.

【0122】 仮アドレス=アドレス初期値+(HD3)×12 …式(3a) このステップS303のCRCエラー時の仮アドレスの
算出処理は、特に限定されるものではなく、無くても良
い。
Temporary address = address initial value + (HD3) × 12 Expression (3a) The process of calculating the temporary address at the time of the CRC error in step S303 is not particularly limited and may be omitted.

【0123】ステップS305に進み、図7のステップ
S202で検索されたアドレステーブル41のアドレス
の第1データHD1の下位4ビットのデータを調べ、0
(h)〜B(h)の場合はステップS306へ進み、C
(h)〜F(h)の場合はステップS307へ進む。
At step S305, the lower 4 bits of the first data HD1 of the address in the address table 41 searched at step S202 of FIG.
In the case of (h) to B (h), the process proceeds to step S306, and C
In the case of (h) to F (h), the process proceeds to step S307.

【0124】ステップS306では、ステップS303
で算出した仮アドレスに1バイトずつプラスして、仮ア
ドレスに格納されているテキストデータのコードが、N
ULL(00(h))か否かを判定し、NULLが検出
された仮アドレスにさらに1バイト加算して、スタート
アドレスとする。
In step S306, step S303
The byte of the text data stored in the temporary address is added to the temporary address calculated in
It is determined whether or not the address is UL (00 (h)), and one byte is further added to the temporary address where NULL is detected, to obtain a start address.

【0125】 仮アドレス=アドレス初期値+(HD3)×12 …式(3a) ステップS307では、ステップS303で算出した仮
アドレスから1バイトずつマイナスして、仮アドレスに
格納されているテキストデータのコードが、NULL
(00(h))か否かを判定し、NULLが検出された
仮アドレスにさらに1を加算して、スタートアドレスと
する。
Temporary address = initial address value + (HD3) × 12 Expression (3a) In step S307, the code of the text data stored in the temporary address is subtracted by one byte from the temporary address calculated in step S303. But NULL
It is determined whether (00 (h)) or not, and 1 is further added to the temporary address where NULL is detected, to obtain a start address.

【0126】ステップS304では、下記の式(3b)で
算出する。
In step S304, calculation is made by the following equation (3b).

【0127】 スタートアドレス=アドレス初期値 +(HD3)×12−(HD1の下位4ビット) …式(3b) ステップS304、S306およびS307の処理が終
わると図7の処理ルーチンのステップS204に戻る。
Start address = address initial value + (HD3) × 12− (lower 4 bits of HD1) Expression (3b) When the processing of steps S304, S306 and S307 is completed, the process returns to step S204 of the processing routine of FIG.

【0128】次に、第3実施の形態のCDテキスト再生
方法の作用について、図7および8を用いて説明する。
Next, the operation of the CD text reproducing method according to the third embodiment will be described with reference to FIGS.

【0129】ここでは、外部データ要求手段31が、コ
ントロール部25に、2曲目のタイトルを表示する要求
を行った場合について説明する。ステップS201で
は、ID1=80(h)およびID2=02(h)が外
部データ要求手段31の要求に応じて入力される。ステ
ップS202に進み、アドレステーブルを検索して、ス
テップS201で入力されたID1およびID2の条件
を満たすデータを抽出する。ここでは、ID1=80
(h)なので、HD1の下位4ビットが0(h)で、か
つ、ID2=02(h)なので、HD2の下位7ビット
が02(h)であるデータが条件を満たすので、アドレ
ステーブル41のアドレス0x0E06が該当する。ス
テップS301に進み、図8に示されるCRCエラー処
理ルーチンのステップS302に処理が移行する。
Here, a case will be described in which the external data requesting unit 31 requests the control unit 25 to display the title of the second music piece. In step S201, ID1 = 80 (h) and ID2 = 02 (h) are input in response to a request from the external data requesting unit 31. In step S202, the address table is searched to extract data satisfying the conditions of ID1 and ID2 input in step S201. Here, ID1 = 80
(H), the lower 4 bits of HD1 are 0 (h) and ID2 = 02 (h), so that the data whose lower 7 bits of HD2 are 02 (h) satisfies the condition. Address 0x0E06 corresponds. Proceeding to step S301, the process moves to step S302 of the CRC error processing routine shown in FIG.

【0130】ステップS302では、CRCエラーか否
かの判定を、当該HD2の最上位ビットが1か否かによ
って判定する。ここで、アドレス0x0E06のHD2
の最上位ビットは1なので、ステップS303に進む。
ステップS303では、図7のステップS202で検索
されたアドレステーブル41のアドレス0x0E06か
ら3をマイナスして0x0E03を求める。このアドレ
ス0x0E03の第3データHD3は、図5に示すよう
に、01(h)である。
In step S302, it is determined whether or not a CRC error has occurred based on whether or not the most significant bit of the HD2 is 1. Here, HD2 at address 0x0E06
Since the most significant bit of is “1”, the process proceeds to step S303.
In step S303, 3 is subtracted from the address 0x0E06 in the address table 41 searched in step S202 in FIG. 7 to obtain 0x0E03. The third data HD3 at the address 0x0E03 is 01 (h) as shown in FIG.

【0131】この第3データHD3に基づいて、上記の
式(3a)により仮アドレスが算出される。仮アドレス=
0x0200+1×12=0x020CステップS30
5に進み、アドレス0x0E06の第1データHD1の
下位4ビットのデータを調べる。ここでは、アドレス0
x0E06のHD1の下位4ビットは、8(h)なの
で、ステップS306に進む。
Based on the third data HD3, a temporary address is calculated by the above equation (3a). Temporary address =
0x0200 + 1x12 = 0x020C Step S30
Proceeding to step 5, the lower 4 bits of the first data HD1 at the address 0x0E06 are examined. Here, address 0
Since the lower 4 bits of HD1 of x0E06 are 8 (h), the process proceeds to step S306.

【0132】ステップS306では、ステップS303
で算出した仮アドレス0x020Cに1バイトずつプラ
スして、仮アドレスに格納されているテキストデータの
コードが、NULL(00(h))か否かを判定する。
詳しくは、図4に示すように、テキストデータ格納領域
45のアドレス0x020Cのデータは、“N”であ
り、NULLでは無いので、仮アドレスに1バイト加算
され、0x020Dとして、そのアドレスのデータを調
べる。順次1バイトずつ仮アドレスを増加させて、NU
LL検出を行うと、アドレス0x020Fのとき、NU
LLが検出される。NULLが検出された仮アドレスに
さらに1バイト加算して、スタートアドレス0x021
0が決定する。
In step S306, step S303
It is determined whether the code of the text data stored in the temporary address is NULL (00 (h)) by adding one byte at a time to the temporary address 0x020C calculated in step (1).
Specifically, as shown in FIG. 4, the data at the address 0x020C in the text data storage area 45 is "N" and not NULL, so that one byte is added to the temporary address and the data at that address is examined as 0x020D. . The tentative address is sequentially increased by one byte, and NU
When LL detection is performed, when address 0x020F, NU
LL is detected. One byte is added to the temporary address where NULL is detected, and the start address 0x021 is added.
0 is determined.

【0133】以上で、CRCエラー処理ルーチンを終了
して、図7のステップS204に戻り、先に算出された
スタートアドレスから順に、該当するアドレスに格納さ
れているテキストデータのコードがNULL(00
(h))か否かが判定される。ここで、部4に示すよう
に、テキストデータ格納領域45のアドレス0x021
0のデータは、“B”であり、NULLでは無いので、
ステップS205に進み、アドレスに1が加算され、0
x0211として、ステップS204に戻る。ステップ
S204およびS205で、順次1バイトずつアドレス
を増加させて、NULL検出を行うと、アドレス0x0
219のとき、NULLが検出される。そこで、ステッ
プS204からステップS206に進み、エンドアドレ
ス0x0219が決定する。
Thus, the CRC error processing routine is ended, and the process returns to step S204 in FIG. 7, where the code of the text data stored at the corresponding address is NULL (00) in order from the previously calculated start address.
(H)) is determined. Here, as shown in the part 4, the address 0x021 of the text data storage area 45 is set.
Since the data of 0 is “B” and is not NULL,
Proceeding to step S205, 1 is added to the address and 0
The process returns to step S204 as x0211. In steps S204 and S205, if the address is sequentially increased by one byte and NULL detection is performed, the address 0x0
At 219, NULL is detected. Therefore, the process proceeds from step S204 to step S206, and the end address 0x0219 is determined.

【0134】次いで、ステップS207に進み、ステッ
プS203で算出されたスタートアドレスからステップ
S206で決定したエンドアドレスの間のテキストデー
タ「BATTERFRY」をテキストデータ格納領域4
5から取り出し、本処理を終了する。これにより、外部
データ要求手段31からの要求に応じた、2曲目のタイ
トルであるテキスト文字列「BATTERFRY」が抽
出される。このようにして抽出されたテキスト文字列
「BATTERFRY」が、コントロール部25によっ
て表示部29に表示される。
Next, the process proceeds to step S207, where the text data "BATTERFRY" between the start address calculated in step S203 and the end address determined in step S206 is stored in the text data storage area 4.
5 and the process ends. As a result, the text character string “BATTERFRY”, which is the title of the second song, according to the request from the external data requesting unit 31 is extracted. The text character string “BATTERRY” extracted in this manner is displayed on the display unit 29 by the control unit 25.

【0135】このように、本発明の第3実施の形態のC
Dテキスト再生方法は、小容量のRAM27に一時的に
格納された情報が、読み込み時にCRCエラーとなって
いる場合であっても、必要なCDテキストデータを再生
することができる。
As described above, according to the third embodiment of the present invention, C
The D text reproducing method can reproduce necessary CD text data even if the information temporarily stored in the small-capacity RAM 27 has a CRC error at the time of reading.

【0136】図9は、本発明の第4実施の形態のCDテ
キスト再生方法の処理手順を示すフローチャートであ
る。本発明の第4実施の形態のCDテキスト再生方法
は、第2実施の形態のCDテキスト再生方法の他の実施
例として、エンドアドレスの抽出ミスを防ぐエンドアド
レス保護処理を含むものである。
FIG. 9 is a flowchart showing a processing procedure of the CD text reproducing method according to the fourth embodiment of the present invention. The CD text reproducing method according to the fourth embodiment of the present invention includes, as another example of the CD text reproducing method according to the second embodiment, an end address protection process for preventing a mistake in extracting an end address.

【0137】図9に示すように、第4実施の形態のCD
テキスト再生方法は、図6に示した第2実施の形態のC
Dテキスト再生方法と同じステップS201〜S207
と、さらに前記ステップS207の前にエンドアドレス
保護処理ルーチンのステップS401とを含むものであ
る。第2実施の形態のCDテキスト再生方法と同じステ
ップの説明は省略する。
As shown in FIG. 9, the CD of the fourth embodiment
The text reproduction method is the same as that of the second embodiment shown in FIG.
Steps S201 to S207 same as D text reproducing method
And step S401 of the end address protection processing routine before step S207. The description of the same steps as in the CD text reproducing method of the second embodiment is omitted.

【0138】図9において、ステップS206からステ
ップS401に進むと、図10に示されるエンドアドレ
ス保護処理ルーチンへ移行する。図10は、第4実施の
形態のCDテキスト再生方法のエンドアドレス保護処理
ルーチンの手順を示すフローチャートである。同図に示
すように、ステップS402では、図9のステップS2
01で入力したID2が、ラストトラックか否かを判定
する。ここで、ラストトラックであるか否かの判定は、
リードインエリア3に記載されているサブコードQの情
報に基づいて行われる。入力ID2がラストトラックの
場合、ステップS403へ進み、ラストトラックでない
場合は、ステップS404へ進む。
In FIG. 9, when the process proceeds from step S206 to step S401, the process proceeds to the end address protection processing routine shown in FIG. FIG. 10 is a flowchart showing a procedure of an end address protection processing routine of the CD text reproducing method according to the fourth embodiment. As shown in the drawing, in step S402, step S2 in FIG.
It is determined whether ID2 input at 01 is the last track. Here, whether or not the track is the last track is determined by
This is performed based on the information of the subcode Q described in the lead-in area 3. If the input ID2 is the last track, the process proceeds to step S403; otherwise, the process proceeds to step S404.

【0139】ステップS403では、下記の式(4a)に
より最終アドレスを算出する。ここで、最終アドレスと
は、エンドアドレスが例えばパックの読み取り時のエラ
ーなどにより検出されなかった場合を想定して、仮のエ
ンドアドレスとして設定されるものであり、当該パック
に含まれるテキスト情報の次の情報のスタートアドレス
の一つ前のアドレスである。
In step S403, the final address is calculated by the following equation (4a). Here, the final address is set as a temporary end address on the assumption that the end address is not detected due to, for example, an error when reading the pack, and the final address of the text information included in the pack is assumed. This is the address immediately before the start address of the next information.

【0140】 最終アドレス=(次HD3)×12 −(次HD1の下位4ビット)−1 …式(4a) ここで、(次HD1)および(次HD3)とは、ステッ
プS202で検索されたアドレステーブル41のアドレ
スの次のアドレスのデータHD1およびHD3を意味す
る。すなわちステップS202で検索されたアドレステ
ーブル41のアドレスに3バイト加算したアドレスのデ
ータHD1およびHD3である。
Final address = (next HD3) × 12− (lower 4 bits of next HD1) −1 Expression (4a) Here, (next HD1) and (next HD3) are the addresses searched in step S202. It means the data HD1 and HD3 of the address next to the address in the table 41. That is, they are the data HD1 and HD3 of the address obtained by adding 3 bytes to the address of the address table 41 searched in step S202.

【0141】ステップS404では、下記の式(4b)に
より最終アドレスを算出する。
In step S404, the final address is calculated by the following equation (4b).

【0142】 最終アドレス=(次HD3)×12−(次HD1の下位4ビット) −((次HD2の下位7ビット)−(現HD2の下位7ビット)) …式(4b) ここで、(次HD2)は、ステップS202で検索され
たアドレステーブル41のアドレスの次のアドレスのデ
ータHD2。すなわちステップS202で検索されたア
ドレステーブル41のアドレスに3バイト加算したアド
レスのデータHD2である。また、(現HD2)は、ス
テップS202で検索されたアドレステーブル41のア
ドレスのデータHD2である。
Final address = (next HD3) × 12− (lower 4 bits of next HD1) − ((lower 7 bits of next HD2) − (lower 7 bits of current HD2)) Expression (4b) where (4b) Next HD2) is data HD2 of the address next to the address of the address table 41 searched in step S202. That is, it is the data HD2 of the address obtained by adding 3 bytes to the address of the address table 41 searched in step S202. (Current HD2) is the data HD2 of the address in the address table 41 searched in step S202.

【0143】ステップS403およびS404は、とも
にステップS405に進み、図9のステップS206で
算出されたエンドアドレスと、上記ステップS403ま
たはS404で算出された最終アドレスとを比較する。
エンドアドレスが最終アドレスよりも大きい場合は、ス
テップS406に進み、エンドアドレスが最終アドレス
よりも小さい場合は、本処理ルーチンを終了し、図9の
ステップS207に戻る。
In steps S403 and S404, the process proceeds to step S405, where the end address calculated in step S206 of FIG. 9 is compared with the final address calculated in step S403 or S404.
If the end address is larger than the last address, the process proceeds to step S406. If the end address is smaller than the last address, the process ends, and the process returns to step S207 in FIG.

【0144】ステップS406では、上記ステップS4
03またはS404で算出された最終アドレスで、図9
のステップS206で算出されたエンドアドレスを置き
換えて更新する。その後、本処理ルーチンを終了し、図
9のステップS207に戻る。
In step S406, step S4
03 or the final address calculated in S404.
Is updated by replacing the end address calculated in step S206. Thereafter, this processing routine ends, and the process returns to step S207 in FIG.

【0145】第4実施の形態のCDテキスト再生方法の
作用については、後述する第7実施の形態のCDテキス
ト再生方法に含めて説明することにする。
The operation of the CD text reproducing method according to the fourth embodiment will be described in connection with the CD text reproducing method according to the seventh embodiment described later.

【0146】図11は、本発明の第5実施の形態のCD
テキスト再生方法の処理手順を示すフローチャートであ
る。本発明の第5実施の形態のCDテキスト再生方法
は、第4実施の形態のCDテキスト再生方法の他の実施
例として、エンドアドレスの抽出ミスを防ぐエンドアド
レス保護処理に第3実施の形態のCDテキスト再生方法
のCRCエラー処理をさらに含むものである。
FIG. 11 shows a CD according to the fifth embodiment of the present invention.
It is a flowchart which shows the processing procedure of a text reproduction method. The CD text reproducing method according to the fifth embodiment of the present invention is different from the CD text reproducing method according to the fourth embodiment in that an end address protection process for preventing a mistake in extraction of an end address is performed according to the third embodiment. It further includes a CRC error process of the CD text reproducing method.

【0147】図11に示すように、第5実施の形態のC
Dテキスト再生方法は、図6に示した第2実施の形態の
CDテキスト再生方法と同じステップS201〜S20
7と、さらに前記ステップS207の前にCRCエラー
対策付きエンドアドレス保護処理ルーチンのステップS
501とを含むものである。第2実施の形態のCDテキ
スト再生方法と同じステップの説明は省略する。
As shown in FIG. 11, C in the fifth embodiment
The D text reproducing method is the same as steps S201 to S20 as the CD text reproducing method of the second embodiment shown in FIG.
7, and before step S207, step S207 of the end address protection processing routine with CRC error countermeasures.
501. The description of the same steps as in the CD text reproducing method of the second embodiment is omitted.

【0148】図11において、ステップS206からス
テップS501に進むと、図12に示されるCRCエラ
ー対策付きエンドアドレス保護処理ルーチンへ移行す
る。図12は、第5実施の形態のCDテキスト再生方法
のCRCエラー対策付きエンドアドレス保護処理ルーチ
ンの手順を示すフローチャートであり、ステップS50
2およびS503に加え、図10のCRCエラー処理ル
ーチンのステップS402〜S406を含む。この図1
0のCRCエラー処理ルーチンと同じステップの説明は
省略する。
Referring to FIG. 11, when the process proceeds from step S206 to step S501, the process proceeds to an end address protection processing routine with a countermeasure against a CRC error shown in FIG. FIG. 12 is a flowchart showing a procedure of an end address protection processing routine with a countermeasure against a CRC error in the CD text reproducing method according to the fifth embodiment.
2 and S503, and includes steps S402 to S406 of the CRC error processing routine of FIG. This figure 1
Description of the same steps as those of the CRC error processing routine of 0 is omitted.

【0149】図12において、ステップS502では、
図11のステップS202で検索されたアドレステーブ
ル41のアドレス(以後、「現テーブルアドレス」と呼
ぶ。)の次のアドレス(以後、「次テーブルアドレス」
と呼ぶ。)のCRCエラーの有無を確認する。次テーブ
ルアドレスは、現テーブルアドレスに3バイト加算して
算出される。CRCエラーの有無は、次テーブルアドレ
スのデータHD2の最上位ビットが1か否かで判定す
る。
Referring to FIG. 12, in step S502,
The address next to the address of the address table 41 (hereinafter, referred to as “current table address”) searched in step S202 in FIG. 11 (hereinafter, “next table address”)
Call. Check whether there is a CRC error. The next table address is calculated by adding 3 bytes to the current table address. The presence or absence of a CRC error is determined based on whether the most significant bit of the data HD2 of the next table address is 1.

【0150】CRCエラーが検出された場合は、ステッ
プS503へ進み、エラーが検出されなかった場合は、
ステップS402へ進む。ステップS402以降は、図
10に示された第4実施の形態のCDテキスト再生方法
のCRCエラー処理ルーチンと同じである。
If a CRC error has been detected, the process proceeds to step S503. If no error has been detected, the process proceeds to step S503.
Proceed to step S402. Step S402 and subsequent steps are the same as the CRC error processing routine of the CD text reproducing method of the fourth embodiment shown in FIG.

【0151】ステップS503では、下記の式(5a)に
より、最終アドレスを算出する。
In step S503, the final address is calculated by the following equation (5a).

【0152】 最終アドレス=(次HD3)×12−1 …式(5a) ステップS503からステップS405へ進み、ステッ
プS503、S403またはS404で算出された最終
アドレスに基づいて、ステップS405で、図11のス
テップS206で算出されたエンドアドレスとの比較を
行い、エンドアドレスが最終アドレスよりも大きい場合
には、ステップS406へ進み、エンドアドレスを最終
アドレスと置き換える。以上で、本処理ルーチンを終了
し、図11のステップS207へ戻る。
Final address = (next HD3) × 12-1 Expression (5a) The process proceeds from step S503 to step S405, and based on the final address calculated in step S503, S403, or S404, in step S405, FIG. The end address is compared with the end address calculated in step S206. If the end address is larger than the last address, the process proceeds to step S406, where the end address is replaced with the last address. This ends the processing routine and returns to step S207 in FIG.

【0153】第5実施の形態のCDテキスト再生方法の
作用については、後述する第7実施の形態のCDテキス
ト再生方法に含めて説明することにする。
The operation of the CD text reproducing method according to the fifth embodiment will be described in connection with the CD text reproducing method according to the seventh embodiment described later.

【0154】図13〜16は、本発明の第6実施の形態
のCDテキスト再生方法の処理手順を示すフローチャー
トである。本発明の第6実施の形態のCDテキスト再生
方法は、第2実施の形態のCDテキスト再生方法の他の
実施例として、一つのパック内に3つ以上のトラックの
付加情報が含まれた場合に発生するトラック番号のスキ
ップによりテキストデータが検出できなくなるのを防ぐ
トラック番号補完処理を含むものである。
FIGS. 13 to 16 are flowcharts showing the processing procedure of the CD text reproducing method according to the sixth embodiment of the present invention. The CD text reproducing method according to the sixth embodiment of the present invention is different from the CD text reproducing method according to the second embodiment in that additional information of three or more tracks is included in one pack. And a track number complementing process for preventing the text data from being undetectable due to the skipping of the track number occurring in the process.

【0155】図13に示すように、第6実施の形態のC
Dテキスト再生方法は、図6に示した第2実施の形態の
CDテキスト再生方法と同じステップS201とS20
3〜S207に加え、ステップS601〜S603を含
む。第2実施の形態のCDテキスト再生方法と同じステ
ップの説明は省略する。
As shown in FIG. 13, C in the sixth embodiment
The D text reproducing method is the same as steps S201 and S20 as the CD text reproducing method of the second embodiment shown in FIG.
Steps S601 to S603 are included in addition to steps S601 to S207. The description of the same steps as in the CD text reproducing method of the second embodiment is omitted.

【0156】図13において、ステップS201からス
テップS601に進み、ステップS201で入力された
第1識別子ID1および第2識別子ID2に基づいて、
アドレステーブル41を検索して、該当するデータがあ
るか否かを判定する。詳しくは、アドレステーブル41
の第1データHD1の上位4ビットが入力された第1識
別子ID1の下位4ビットと同じで、かつ、アドレステ
ーブル41の第2データHD2の下位7ビットが入力さ
れた第2識別子ID2と同じテーブルアドレスを検索す
る。該当するデータが有る場合は、ステップS602に
進み、無い場合は、ステップS603へ進む。
In FIG. 13, the process proceeds from step S201 to step S601, and based on the first identifier ID1 and the second identifier ID2 input in step S201,
The address table 41 is searched to determine whether or not there is corresponding data. For details, see the address table 41
Is the same as the lower 4 bits of the input first identifier ID1 and the same as the second identifier ID2 of the address table 41 to which the lower 7 bits of the second data HD2 are input. Search for an address. If there is such data, the process proceeds to step S602; otherwise, the process proceeds to step S603.

【0157】ステップS602では、該当するデータが
あるアドレステーブル41のアドレスを現テーブルアド
レスとして獲得する。ステップS603では、図14に
示されるトラック番号補完処理ルーチンへ移行する。ス
テップS603のトラック番号補完処理ルーチンから制
御が戻ると、本処理を終了する。
In step S602, the address of the address table 41 having the corresponding data is obtained as the current table address. In step S603, the process proceeds to a track number complementing process routine shown in FIG. When the control returns from the track number complementing processing routine of step S603, the present processing ends.

【0158】図14は、第6実施の形態のCDテキスト
再生方法のトラック番号補完処理ルーチンの手順を示す
フローチャートである。同図に示すように、ステップS
604では、カウンタiに1をセットする。ここで、カ
ウンタiは、以下のステップでアドレステーブル41内
で、テーブルアドレスを検索する際に、アドレス値を1
バイトずつ加算する加算数に対応する。この加算数は、
最大何バイトまで加算可能かを制限値として予め定めて
おいてもよく、本実施の形態では制限した場合について
説明する。すなわち、ステップS605へ進み、カウン
タiが、制限値を越えていないかどうかを判定する。越
えている場合は、ステップS606へ進み、越えていな
い場合は、ステップS607へ進む。
FIG. 14 is a flowchart showing a procedure of a track number complementing processing routine of the CD text reproducing method according to the sixth embodiment. As shown in FIG.
At 604, 1 is set to a counter i. Here, the counter i sets the address value to 1 when searching for a table address in the address table 41 in the following steps.
Corresponds to the number to be added byte by byte. This addition number is
The maximum number of bytes that can be added may be determined in advance as a limit value. In the present embodiment, a case where the limit is set will be described. That is, the process proceeds to step S605, and it is determined whether or not the counter i has exceeded the limit value. If so, the process proceeds to step S606; otherwise, the process proceeds to step S607.

【0159】ステップS606では、アドレステーブル
41内に該当するテーブルアドレスが存在しないものと
して、コントロール部25に、該当するテキストデータ
が存在しないことを通知して、本処理ルーチンを終了す
る。
In step S606, it is determined that the corresponding table address does not exist in the address table 41, the control unit 25 is notified that there is no corresponding text data, and the processing routine ends.

【0160】ステップS607では、図13のステップ
S201で入力されたID2を検索対象のトラック番号
として、次のトラック番号を検索するためにトラック番
号に1を加算する。
In step S607, ID2 input in step S201 of FIG. 13 is set as the search target track number, and 1 is added to the track number to search for the next track number.

【0161】ステップS608へ進み、ステップS60
7で算出されたトラック番号に対応するアドレステーブ
ル41内のHD2の下位7ビットがID2データと同じ
アドレス検索する。ID2データに該当するHD2デー
タが検出された場合は、ステップS609へ進み、検出
されなかった場合は、ステップS605へ戻る。
Proceeding to step S608, step S60
The lower 7 bits of HD2 in the address table 41 corresponding to the track number calculated in 7 search for the same address as the ID2 data. When HD2 data corresponding to ID2 data is detected, the process proceeds to step S609, and when not detected, the process returns to step S605.

【0162】ステップS609では、ステップS608
で、対応するHD2データが検出されたテーブルアドレ
ス(以下、「仮テーブルアドレス」と呼ぶ。)を獲得す
る。ステップS610へ進み、ステップS609で獲得
した仮テーブルアドレスのCRCエラー情報を取得す
る。すなわち、当該テーブルアドレスのHD2の最上位
ビットのデータを取得する。
In step S609, step S608
Then, a table address at which the corresponding HD2 data is detected (hereinafter, referred to as “temporary table address”) is obtained. The process advances to step S610 to acquire CRC error information of the temporary table address acquired in step S609. That is, the data of the most significant bit of HD2 of the table address is obtained.

【0163】ステップS611では、図15に示される
スタートアドレス検索ルーチンへ移行する。スタートア
ドレス検索ルーチンから制御が戻ると、ステップS61
2へ進み、図16に示されるエンドアドレス検索ルーチ
ンへ移行する。エンドアドレス検索ルーチンから制御が
戻ると、本処理ルーチンを終了し、図13に制御を戻
す。
In step S611, the flow shifts to the start address search routine shown in FIG. When the control returns from the start address search routine, step S61 is executed.
Then, the process proceeds to an end address search routine shown in FIG. When the control returns from the end address search routine, the present processing routine ends, and the control returns to FIG.

【0164】図15は、第6実施の形態のCDテキスト
再生方法のトラック番号補完処理におけるスタートアド
レス検索ルーチンの手順を示すフローチャートである。
FIG. 15 is a flowchart showing a procedure of a start address search routine in the track number complementing process of the CD text reproducing method according to the sixth embodiment.

【0165】ステップS621では、図14のステップ
S609で獲得した仮テーブルアドレスのデータに基づ
いて、下記の式(6a)および(6b)によりスタートアド
レスを検索する範囲を設定する。
In step S621, based on the data of the temporary table address obtained in step S609 of FIG. 14, a range for searching for the start address is set by the following equations (6a) and (6b).

【0166】 第1アドレス=アドレス初期値 +((HD3)×12−(HD1の下位4ビット)−2) …式(6a) 第2アドレス=アドレス初期値+((HD3)×12−11) …式(6b) ここで、アドレス初期値は、テキストデータ格納領域4
5の初期値0x0200である。
First address = address initial value + ((HD3) × 12− (lower 4 bits of HD1) −2) Expression (6a) Second address = address initial value + ((HD3) × 12-11) Equation (6b) Here, the initial address is set in the text data storage area 4
The initial value of 5 is 0x0200.

【0167】ステップS622へ進み、ステップS62
1で算出された第1アドレスを仮アドレスとする。ステ
ップS623へ進み、仮アドレスが、ステップS621
で算出された第2アドレス以上か否かを判定する。仮ア
ドレスが、第2アドレスより小さい場合は、ステップS
624へ進む。仮アドレスが、第2アドレス以上の場合
は、ステップS625へ進み、テキストデータ格納領域
45内の仮アドレスのコードがNULLか否かを調べ
る。NULLが検出された場合は、ステップS626へ
進み、NULL数のカウント値Cに1を加算する。カウ
ント値Cの初期値は0である。ステップS625での判
定で、NULLが検出されなかった場合は、ステップS
627へ進み、仮アドレスから1バイトマイナスし、ス
テップS623へ戻る。ステップS626は、ステップ
S628へ進み、カウント値Cがカウンタiより大きい
か否かを判定する。カウント値Cがカウンタi以下の場
合は、ステップS627へ戻り、カウント値Cがカウン
タiより大きい場合は、ステップS629へ進む。ステ
ップS629では、仮アドレスに1バイト加算した値を
スタートアドレスとする。ステップS624またはS6
29でスタートアドレスが決定すると、本処理ルーチン
を終了し、図14のトラック番号補完処理ルーチンへ戻
る。
The process proceeds to step S622 and proceeds to step S62.
The first address calculated in 1 is a temporary address. Proceeding to step S623, the tentative address is changed to step S621.
It is determined whether or not it is equal to or greater than the second address calculated in. If the temporary address is smaller than the second address, step S
Proceed to 624. If the temporary address is equal to or larger than the second address, the process proceeds to step S625, and it is determined whether the code of the temporary address in the text data storage area 45 is NULL. When NULL is detected, the process proceeds to step S626, and 1 is added to the count value C of the number of NULL. The initial value of the count value C is 0. If NULL is not detected in the determination in step S625, the process proceeds to step S625.
The process advances to 627, minus one byte from the temporary address, and returns to step S623. The step S626 proceeds to a step S628, in which it is determined whether or not the count value C is larger than the counter i. If the count value C is equal to or smaller than the counter i, the process returns to step S627. If the count value C is larger than the counter i, the process proceeds to step S629. In step S629, a value obtained by adding one byte to the temporary address is set as a start address. Step S624 or S6
When the start address is determined in step 29, the present processing routine ends, and the process returns to the track number complementing processing routine of FIG.

【0168】図16は、第6実施の形態のCDテキスト
再生方法のトラック番号補完処理におけるエンドアドレ
ス検索ルーチンの手順を示すフローチャートである。
FIG. 16 is a flowchart showing the procedure of an end address search routine in the track number complementing process of the CD text reproducing method according to the sixth embodiment.

【0169】同図において、ステップS631では、図
15のスタートアドレス検索ルーチンで取得したスター
トアドレスを仮アドレスにセットする。ステップS63
2へ進み、テキストデータ格納領域45の仮アドレスの
コードがNULLか否かを判定する。NULLで無い場
合は、ステップS633へ進み、仮アドレスに1を加算
してステップS632へ戻る。NULLの場合、ステッ
プS634へ進み、当該仮アドレスをエンドアドレスと
する。
In the figure, in a step S631, the start address acquired in the start address search routine of FIG. 15 is set to a temporary address. Step S63
Then, the process proceeds to 2 to determine whether or not the code of the temporary address in the text data storage area 45 is NULL. If it is not NULL, the process proceeds to step S633, 1 is added to the temporary address, and the process returns to step S632. In the case of NULL, the process proceeds to step S634, and the temporary address is set as the end address.

【0170】ステップS635へ進み、図14のステッ
プS610で獲得したCRCエラー情報に基づいて、C
RCエラーの検出を行う。CRCエラーが検出された場
合は、ステップS636へ進み、下記の式(6c)により
最終アドレスを算出する。ここで、検索HD3とは、図
14のステップS609で獲得されたテーブルアドレス
のHD3データである。
Proceeding to step S635, based on the CRC error information obtained in step S610 of FIG.
An RC error is detected. If a CRC error has been detected, the flow advances to step S636 to calculate the final address using the following equation (6c). Here, the search HD3 is the HD3 data of the table address acquired in step S609 of FIG.

【0171】最終アドレス=アドレス初期値+(検索H
D3)×12−1 …式(6c)一方、エラーが検出され
なかった場合は、ステップS637へ進み、下記の式
(6d)により最終アドレスを算出する。
Last address = address initial value + (search H)
D3) × 12-1 Expression (6c) On the other hand, if no error is detected, the process proceeds to step S637, and the final address is calculated by the following expression (6d).

【0172】 最終アドレス=アドレス初期値 +(検索HD3)×12−(検索HD1の下位4ビット) …式(6d) ステップS636またはS637からステップS638
へ進み、ステップS634で得られたエンドアドレスと
ステップS636またはS637で算出された最終アド
レスを比較して、エンドアドレスの方が大きい場合、ス
テップS693へ進み、最終アドレスがエンドアドレス
以下の場合は、本処理ルーチンを終了し、図14のトラ
ック番号補完処理ルーチンへ戻る。ステップS639で
は、ステップS636またはS637で算出された最終
アドレスにステップS634で取得したエンドアドレス
を置き換え、エンドアドレス検索ルーチンを終了し、図
14のトラック番号補完処理ルーチンへ戻る。
Final address = address initial value + (search HD3) × 12− (lower 4 bits of search HD1) Expression (6d) Step S636 or S637 to Step S638
The process proceeds to step S634, where the end address obtained in step S634 is compared with the final address calculated in step S636 or S637. If the end address is larger, the process proceeds to step S693. If the final address is equal to or smaller than the end address, This processing routine ends, and the process returns to the track number complementing processing routine of FIG. In step S639, the end address obtained in step S634 is replaced with the end address calculated in step S636 or S637, the end address search routine ends, and the process returns to the track number complementing processing routine in FIG.

【0173】第6実施の形態のCDテキスト再生方法の
作用については、後述する第7実施の形態のCDテキス
ト再生方法に含めて説明することにする。
The operation of the CD text reproducing method according to the sixth embodiment will be described in connection with a CD text reproducing method according to a seventh embodiment described later.

【0174】図17は、本発明の第7実施の形態のCD
テキスト再生方法の処理手順を示すフローチャートであ
る。本発明の第7実施の形態のCDテキスト再生方法
は、第6実施の形態のCDテキスト再生方法の他の実施
例として、トラック番号補完処理に、第3実施の形態の
CRCエラー処理と、第5実施の形態のCRCエラー対
策付きエンドアドレス保護処理とを含むものである。
FIG. 17 shows a CD according to the seventh embodiment of the present invention.
It is a flowchart which shows the processing procedure of a text reproduction method. The CD text reproducing method according to the seventh embodiment of the present invention is different from the CD text reproducing method according to the sixth embodiment in that the track number complementing process includes the CRC error process according to the third embodiment, The end address protection processing with a CRC error countermeasure of the fifth embodiment is included.

【0175】図17に示すように、第7実施の形態のC
Dテキスト再生方法は、図13に示した第6実施の形態
のCDテキスト再生方法と同じステップS201、S2
04〜S207、S601〜S603と、第3実施の形
態のCDテキスト再生方法と同じステップS301と、
第5実施の形態のCDテキスト再生方法と同じステップ
S501とを含む。各実施の形態のCDテキスト再生方
法と同じステップの説明は省略する。
As shown in FIG. 17, C in the seventh embodiment
The D text reproducing method is the same as the steps S201 and S2 in the CD text reproducing method of the sixth embodiment shown in FIG.
04 to S207, S601 to S603, the same step S301 as the CD text reproducing method of the third embodiment,
It includes the same step S501 as in the CD text reproducing method of the fifth embodiment. The description of the same steps as in the CD text reproducing method of each embodiment is omitted.

【0176】図17において、ステップS602の後、
ステップS301に進み、図8に示されるCRCエラー
処理ルーチンへ移行する。CRCエラー処理ルーチンか
ら制御が戻ると、ステップS204へ進む。
In FIG. 17, after step S602,
The process proceeds to step S301 and shifts to a CRC error processing routine shown in FIG. When control returns from the CRC error processing routine, the process proceeds to step S204.

【0177】図17のステップS206の後、ステップ
S501に進み、図12に示されるCRCエラー対策付
きエンドアドレス保護処理ルーチンへ移行する。このC
RCエラー対策付きエンドアドレス保護処理ルーチンか
ら制御が戻ると、ステップS207へ進む。
After step S206 in FIG. 17, the flow advances to step S501 to shift to an end address protection processing routine with measures against CRC errors shown in FIG. This C
When the control returns from the end address protection processing routine with an RC error countermeasure, the process proceeds to step S207.

【0178】次に、第7実施の形態のCDテキスト再生
方法の作用について、図17、8、12、14〜16お
よび5を用いて説明する。
Next, the operation of the CD text reproducing method according to the seventh embodiment will be described with reference to FIGS. 17, 8, 12, 14 to 16, and 5.

【0179】ここでは、外部データ要求手段31が、コ
ントロール部25に、3曲目のタイトルを表示する要求
を行った場合について説明する。ステップS201で
は、第1識別子ID1=80(h)および第2識別子I
D2=03(h)が外部データ要求手段31の要求に応
じて入力される。ステップS601に進み、ステップS
201で入力された第1識別子ID1=80(h)およ
び第2識別子ID2=03(h)に基づいて、図5のア
ドレステーブル41を検索して、該当するデータがある
か否かを判定する。すなわち、(HD1の上位4ビット
=0(h))かつ(HD2の下位7ビット=03
(h))の条件を満たすアドレスを検索する。本実施の
形態のアドレステーブル41では、上記の条件を満たす
アドレスは存在しないので、ステップS603へ進む。
Here, a case will be described in which the external data requesting unit 31 requests the control unit 25 to display the title of the third music piece. In step S201, the first identifier ID1 = 80 (h) and the second identifier I
D2 = 03 (h) is input in response to a request from the external data request unit 31. Proceeding to step S601, step S601
Based on the first identifier ID1 = 80 (h) and the second identifier ID2 = 03 (h) input in 201, the address table 41 of FIG. 5 is searched to determine whether there is corresponding data. . That is, (the upper 4 bits of HD1 = 0 (h)) and (the lower 7 bits of HD2 = 03)
An address that satisfies the condition of (h)) is searched. In the address table 41 according to the present embodiment, there is no address that satisfies the above condition, and thus the process proceeds to step S603.

【0180】ステップS603では、図14に示される
トラック番号補完処理ルーチンへ移行する。ステップS
604で、カウンタi=1がセットされる。ステップS
605で、カウンタiが制限値以上かどうかを判定す
る。本実施の形態では、この制限値=11とし、カウン
タiは制限値より小さいので、ステップS607へ進
む。ステップS607で、図17のステップS201で
入力されたID=03(h)を検索対象のトラック番号
として、次のトラック番号を検索するために、トラック
番号に1を加算する。すなわち、トラック番号=4とな
る。ステップS608へ進み、ステップS607で算出
されたトラック番号に対応するアドレステーブル41内
のID2データ=04(h)に対応するアドレスが検索
される。すなわち、図5のアドレステーブル41のHD
2の下位7ビットが04(h)であるアドレスが検索さ
れる。ここでは、アドレステーブル41のアドレス0x
0E09に該当するHD2データが有るので、ステップ
S609へ進み、仮テーブルアドレス=0x0E09が
獲得される。
In the step S603, the process shifts to a track number complementing processing routine shown in FIG. Step S
At 604, a counter i = 1 is set. Step S
At 605, it is determined whether the counter i is equal to or greater than the limit value. In the present embodiment, the limit value is set to 11, and the counter i is smaller than the limit value, so that the process proceeds to step S607. In step S607, the ID = 03 (h) input in step S201 of FIG. 17 is set as the search target track number, and 1 is added to the track number in order to search for the next track number. That is, track number = 4. Proceeding to step S608, an address corresponding to ID2 data = 04 (h) in the address table 41 corresponding to the track number calculated in step S607 is searched. That is, the HD of the address table 41 of FIG.
The address whose lower 7 bits of 2 are 04 (h) is searched. Here, the address 0x of the address table 41
Since there is HD2 data corresponding to 0E09, the process proceeds to step S609, and temporary table address = 0x0E09 is obtained.

【0181】ステップS610へ進み、ステップS60
9で獲得した仮テーブルアドレス=0x0E09のCR
Cエラー情報、すなわちHD2の最上位ビットデータ
“0”が獲得される。
The process advances to step S610 to go to step S60.
Temporary table address acquired in 9 = CR of 0x0E09
C error information, that is, the most significant bit data “0” of HD2 is obtained.

【0182】ステップS611へ進み、図15に示され
るスタートアドレス検索ルーチンへ移行する。図15の
ステップS621で、図14のステップS609で獲得
した仮テーブルアドレス=0x0E09のデータに基づ
いて、上記の式(6a)および(6b)により、スタートア
ドレスを検索する範囲を設定する。
The flow advances to step S611 to shift to a start address search routine shown in FIG. In step S621 in FIG. 15, based on the data of the temporary table address = 0x0E09 obtained in step S609 in FIG. 14, the range for searching the start address is set by the above equations (6a) and (6b).

【0183】 第1アドレス=0x0200+(03(h)×12-3(h))=0x0221(h) 第2アドレス=0x0200+(03(h)×12-11)=0x0219(h) ステップS622へ進み、ステップS621で算出され
た第1アドレス0x021E(h)を仮アドレスとす
る。ステップS623へ進み、仮アドレスが、ステップ
S621で算出された第2アドレス0x0219(h)
より大きいか否かを判定する。仮アドレス0x0221
(h)は、第2アドレス0x0219(h)以上である
ので、ステップS625へ進む。図4のテキストデータ
格納領域45内の仮アドレス0x0221(h)のコー
ドがNULLか否かを調べる。図4の(10)で示され
る位置が仮アドレス0x0221(h)に該当するの
で、当該アドレスのコードは、「T」であるので、NU
LLではないので、ステップS627へ進む。
First address = 0x0200 + (03 (h) × 12-3 (h)) = 0x0221 (h) Second address = 0x0200 + (03 (h) × 12-11) = 0x0219 (h) Go to step S622 The first address 0x021E (h) calculated in step S621 is set as a temporary address. Proceeding to step S623, the tentative address is the second address 0x0219 (h) calculated in step S621.
It is determined whether it is greater than. Temporary address 0x0221
Since (h) is equal to or greater than the second address 0x0219 (h), the process proceeds to step S625. It is checked whether or not the code at the temporary address 0x0221 (h) in the text data storage area 45 in FIG. 4 is NULL. Since the position indicated by (10) in FIG. 4 corresponds to the temporary address 0x0221 (h), the code of the address is “T”, so that NU
Since it is not LL, the process proceeds to step S627.

【0184】ステップS672で、仮アドレスから1バ
イトマイナスして、仮アドレス=0x021D(h)と
する。ステップS623へ戻り、仮アドレスと第2アド
レスを比較して、仮アドレス0x0220(h)>第2
アドレス0x0219(h)であるので、ステップS6
25へ進む。ステップS625で、図4のテキストデー
タ格納領域45のアドレス0x0220(h)のコード
(9)がNULLか否かを調べ、NULLであるので、
ステップS626へ進む。
In step S672, the temporary address is subtracted by one byte, and the temporary address is set to 0x021D (h). Returning to step S623, the tentative address is compared with the second address, and the tentative address 0x0220 (h)> second
Since the address is 0x0219 (h), step S6
Proceed to 25. In step S625, it is checked whether or not the code (9) at the address 0x0220 (h) of the text data storage area 45 in FIG. 4 is NULL.
Proceed to step S626.

【0185】ステップS626では、NULL数のカウ
ント値Cに1が加算されて、C=1となる。ステップS
628へ進み、C>iの判定を行い、C=i=1である
ので、ステップS627へ戻る。
In step S626, 1 is added to the count value C of the NULL number, and C = 1. Step S
The process proceeds to 628, where C> i is determined. Since C = i = 1, the process returns to step S627.

【0186】ステップS627で、仮アドレスを1バイ
トマイナスして、0x021Fとし、ステップS623
で第2アドレス0x0219(h)より大きいので、ス
テップS625へ進み、図4のテキストデータ格納領域
45のアドレス0x021Fのコード「C」がNULL
で無いので、ステップS627へ進み 以後、順次、仮
アドレスを1バイトずつ減らして、第2アドレス0x0
219までの範囲で、NULLを検索する。
In step S627, the temporary address is subtracted by one byte to obtain 0x021F, and in step S623
Is larger than the second address 0x0219 (h), the process proceeds to step S625, and the code “C” at the address 0x021F of the text data storage area 45 in FIG.
Therefore, the process proceeds to step S627. Thereafter, the temporary address is sequentially reduced by one byte, and the second address 0x0
Null is searched in the range up to 219.

【0187】図4のテキストデータ格納領域45の
(2)で示されるアドレス0x0219のコードがNU
LLであるので、仮アドレス0x0219の時、ステッ
プS625の判定で、ステップS626へ進み、カウン
タ値Cに1が加算されて2となる。ステップS628
で、C=2およびi=1なので、C>iの条件を満たす
ので、ステップS629へ進み、スタートアドレスが、
仮アドレス0x0219に1加算した0x021Aに決
定する。
The code of the address 0x0219 indicated by (2) in the text data storage area 45 in FIG.
Since it is LL, when the temporary address is 0x0219, the process proceeds to step S626 in the determination of step S625, and 1 is added to the counter value C to become 2. Step S628
Since C = 2 and i = 1, the condition of C> i is satisfied, so the process proceeds to step S629, where the start address is
It is determined to be 0x021A obtained by adding 1 to the temporary address 0x0219.

【0188】以上で、スタートアドレス検索ルーチンが
終了し、図14のトラック番号補完処理ルーチンへ戻
り、ステップS612に進み、図16のエンドアドレス
検索ルーチンへと処理が移行する。
With the above, the start address search routine ends, the process returns to the track number complementing process routine of FIG. 14, proceeds to step S612, and the process shifts to the end address search routine of FIG.

【0189】図16のエンドアドレス検索ルーチンのス
テップS631で、上記で得られたスタートアドレス0
x021Aが仮アドレスにセットされる。ステップS6
32へ進み、テキストデータ格納領域45の仮アドレス
のコードがNULLか否かを判定する。図4に示すよう
に、テキストデータ格納領域45のアドレス0x021
Aのコード(3)は、「M」であり、NULLで無いの
で、ステップS633へ進む。仮アドレスに1を加算し
て、0x021Bとし、ステップS632へ戻る。この
ようにテキストデータ格納領域45のコードを順に調
べ、NULLを検索する。図4のテキストデータ格納領
域45のコード(9)の位置のアドレス0x0220の
時、ステップS632で、NULLが検出され、ステッ
プS634へ進む。エンドアドレスにこの仮アドレス0
x0220がセットされる。
In step S631 of the end address search routine in FIG. 16, the start address 0 obtained above is obtained.
x021A is set to the temporary address. Step S6
Proceeding to 32, it is determined whether the code of the temporary address in the text data storage area 45 is NULL. As shown in FIG. 4, the address 0x021 of the text data storage area 45
Since the code (3) of A is “M” and is not NULL, the process proceeds to step S633. One is added to the temporary address to obtain 0x021B, and the process returns to step S632. As described above, the codes in the text data storage area 45 are sequentially examined to search for NULL. At the address 0x0220 at the position of the code (9) in the text data storage area 45 in FIG. 4, NULL is detected in step S632, and the process proceeds to step S634. This temporary address 0 is used as the end address.
x0220 is set.

【0190】次いで、ステップS635へ進み、図14
のステップS610で獲得したCRCエラー情報に基づ
いて、CRCエラーの検出を行う。CRCエラーが検出
されなかったので、ステップS637へ進み、上記の式
(6d)により最終アドレスを算出する。図5に示すよ
うに、先に獲得したテーブルアドレス0x0E09のH
D3は03(h)及びHD1の下位4ビットは03
(h)である。
Next, the process proceeds to step S635, and FIG.
The CRC error is detected based on the CRC error information obtained in step S610. Since no CRC error has been detected, the process proceeds to step S637, and the final address is calculated by the above equation (6d). As shown in FIG. 5, H of the previously acquired table address 0x0E09
D3 is 03 (h) and the lower 4 bits of HD1 are 03
(H).

【0191】最終アドレス=0x0200+03(h)
×12−03(h)=0x0221ステップS637か
らステップS638へ進み、ステップS634で獲得し
たエンドアドレス0x0220と上記の最終アドレス0
x0221を比較して、最終アドレスの方が大きいの
で、本処理を終了し、図14のトラック番号補完処理ル
ーチンへ戻る。図14のトラック番号補完処理ルーチン
も終了し、図17のステップS207へ戻る。得られた
スタートアドレス0x021Aとエンドアドレス0x0
220に基づいて、テキストデータ格納領域45からテ
キストデータ「MY ABC」が取り出され、本処理が
終了する。これにより、外部データ要求手段31からの
要求に応じた、3曲目のタイトルであるテキスト文字列
「MYABC」が抽出される。このようにして抽出され
たテキスト文字列「MY ABC」が、コントロール部
25によって表示部29に表示される。
Last address = 0x0200 + 03 (h)
× 12-03 (h) = 0x0221 The process proceeds from step S637 to step S638, where the end address 0x0220 obtained in step S634 and the above-mentioned final address 0
Compared with x0221, since the last address is larger, this processing ends, and the process returns to the track number complementing processing routine of FIG. The track number complementing processing routine in FIG. 14 is also ended, and the process returns to step S207 in FIG. The obtained start address 0x021A and end address 0x0
Based on 220, the text data “MY ABC” is extracted from the text data storage area 45, and this processing ends. Thereby, the text character string “MYABC”, which is the title of the third piece of music, according to the request from the external data requesting unit 31 is extracted. The text character string “MY ABC” extracted in this manner is displayed on the display unit 29 by the control unit 25.

【0192】このように、本発明の第7実施の形態のC
Dテキスト再生方法は、CRCエラー処理と、CRCエ
ラー対策付きエンドアドレス保護処理と、トラック番号
補完処理とを備えているので、トラック番号が欠損して
いる場合でも、さらに、CRCエラーが発生した場合で
も、要求された付加情報に対応するCDテキストデータ
を確実に検索でき、再生することができる。
As described above, according to the seventh embodiment of the present invention, C
The D text playback method includes a CRC error process, an end address protection process with CRC error countermeasures, and a track number complementing process. Therefore, even if a track number is missing, if a CRC error occurs, However, the CD text data corresponding to the requested additional information can be reliably retrieved and reproduced.

【0193】[0193]

【発明の効果】以上説明したように、本発明は、コンパ
クトディスクから読み出したCDテキスト情報を、並べ
替え、簡略化して一時的に記憶装置に格納することによ
り、CD再生装置の記憶装置の容量を小さくでき、かつ
コンパクトディスクからのデータの読み出し時にエラー
が検出された場合でも、エラーを復帰する手段を有する
という優れた効果を有するCDテキスト格納および再生
方法、コンパクトディスク再生装置、並びに、CDテキ
スト格納および再生プログラムを記録した記録媒体を提
供することができるものである。
As described above, the present invention rearranges, simplifies, and temporarily stores the CD text information read from the compact disk to temporarily store the CD text information in the storage device of the CD playback device. CD text storing and reproducing method, compact disk reproducing apparatus, and CD text having excellent effects of reducing errors and having a means for recovering an error even when an error is detected at the time of reading data from a compact disk. It is possible to provide a recording medium on which a storage and reproduction program is recorded.

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

【図1】本発明の第1実施の形態のCDテキスト格納方
法の処理手順を示すフローチャート
FIG. 1 is a flowchart showing a processing procedure of a CD text storage method according to a first embodiment of the present invention.

【図2】図1のCDテキスト格納方法よるCD再生装置
の記憶装置の領域割付例を示す図
FIG. 2 is a diagram showing an example of area allocation of a storage device of a CD reproducing apparatus according to the CD text storing method of FIG. 1;

【図3】図2の記憶装置のアドレステーブル領域のデー
タ構成を示す図
FIG. 3 is a diagram showing a data configuration of an address table area of the storage device of FIG. 2;

【図4】図2の記憶装置のテキストデータ格納領域のデ
ータ配置例を示す図
FIG. 4 is a diagram showing an example of a data arrangement in a text data storage area of the storage device of FIG. 2;

【図5】図3の記憶装置のアドレステーブル領域のデー
タ配置例を示す図
FIG. 5 is a diagram showing an example of data arrangement in an address table area of the storage device of FIG. 3;

【図6】本発明の第2実施の形態のCDテキスト再生方
法の処理手順を示すフローチャート
FIG. 6 is a flowchart showing a processing procedure of a CD text reproducing method according to a second embodiment of the present invention;

【図7】本発明の第3実施の形態のCDテキスト再生方
法の処理手順を示すフローチャート
FIG. 7 is a flowchart showing a processing procedure of a CD text reproducing method according to a third embodiment of the present invention;

【図8】図7のCDテキスト再生方法のCRCエラー処
理ルーチンの処理手順を示すフローチャート
8 is a flowchart showing a processing procedure of a CRC error processing routine of the CD text reproducing method of FIG. 7;

【図9】本発明の第4実施の形態のCDテキスト再生方
法の処理手順を示すフローチャート
FIG. 9 is a flowchart showing a processing procedure of a CD text reproducing method according to a fourth embodiment of the present invention.

【図10】図9のCDテキスト再生方法のエンドアドレ
ス保護処理ルーチンの処理手順を示すフローチャート
10 is a flowchart showing a processing procedure of an end address protection processing routine of the CD text reproducing method of FIG. 9;

【図11】本発明の第5実施の形態のCDテキスト再生
方法の処理手順を示すフローチャート
FIG. 11 is a flowchart showing a processing procedure of a CD text reproducing method according to a fifth embodiment of the present invention.

【図12】図11のCDテキスト再生方法のCRCエラ
ー対策付きエンドアドレス保護処理ルーチンの処理手順
を示すフローチャート
FIG. 12 is a flowchart showing a processing procedure of an end address protection processing routine with a CRC error countermeasure in the CD text reproducing method of FIG. 11;

【図13】本発明の第6実施の形態のCDテキスト再生
方法の処理手順を示すフローチャート
FIG. 13 is a flowchart showing a processing procedure of a CD text reproducing method according to a sixth embodiment of the present invention.

【図14】図13のCDテキスト再生方法のトラック番
号補完処理ルーチンの処理手順を示すフローチャート
14 is a flowchart showing a processing procedure of a track number complementing processing routine of the CD text reproducing method of FIG.

【図15】図14のCDテキスト再生方法のトラック番
号補完処理ルーチンのスタートアドレス検索処理ルーチ
ンの処理手順を示すフローチャート
15 is a flowchart showing a processing procedure of a start address search processing routine of a track number complementing processing routine of the CD text reproducing method of FIG.

【図16】図14のCDテキスト再生方法のトラック番
号補完処理ルーチンのエンドアドレス検索処理ルーチン
の処理手順を示すフローチャート
16 is a flowchart showing a processing procedure of an end address search processing routine of a track number complement processing routine of the CD text reproducing method of FIG.

【図17】本発明の第7実施の形態のCDテキスト再生
方法の処理手順を示すフローチャート
FIG. 17 is a flowchart showing a processing procedure of a CD text reproducing method according to a seventh embodiment of the present invention;

【図18】一般的な音楽用コンパクトディスクのフォー
マット図
FIG. 18 is a format diagram of a general music compact disc.

【図19】一般的な音楽用コンパクトディスクのリード
インエリアの内部構成図
FIG. 19 is an internal configuration diagram of a lead-in area of a general music compact disc.

【図20】音楽用コンパクトディスクに記録された付加
情報の一例を示す一覧表
FIG. 20 is a list showing an example of additional information recorded on a compact disc for music.

【図21】音楽用コンパクトディスクのリードインエリ
アに記録される付加情報の格納例を示すブロック図
FIG. 21 is a block diagram showing a storage example of additional information recorded in a lead-in area of a compact disc for music.

【図22】一般的な音楽用コンパクトディスク記録およ
び再生装置のブロック構成図
FIG. 22 is a block diagram of a recording and reproducing apparatus for a general music compact disc.

【図23】従来のCDテキスト再生方法の手順を示すフ
ローチャート
FIG. 23 is a flowchart showing a procedure of a conventional CD text reproducing method.

【図24】従来のCD再生装置の記憶装置のデータ格納
例を示す図
FIG. 24 is a diagram showing an example of data storage in a storage device of a conventional CD reproducing device.

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

1 コンパクトディスク 3 リードインエリア 5 音楽情報エリア P パック 7 ヘッダー部 9 テキストデータ部(固定長文字列) 11 CRC部(エラー検査コード) 21 CD駆動部 23 信号処理部 25 コントロール部 27 RAM(記憶装置) 29 表示部 31 外部データ要求手段 41 アドレステーブル 43 アドレステーブル格納領域(識別情報格納領域) 45 テキストデータ格納領域 DESCRIPTION OF SYMBOLS 1 Compact disc 3 Lead-in area 5 Music information area P pack 7 Header part 9 Text data part (fixed-length character string) 11 CRC part (error check code) 21 CD drive part 23 Signal processing part 25 Control part 27 RAM (Storage device) 29 display section 31 external data requesting means 41 address table 43 address table storage area (identification information storage area) 45 text data storage area

───────────────────────────────────────────────────── フロントページの続き (72)発明者 日野 豊 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 土方 雅和 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5D044 AB05 AB09 BC03 CC04 DE03 DE12 DE18 DE70 GK12 HL04 5D077 AA26 AA40 BA08 CA02 DC12 DC21 DC40 HA07 HC05 HC50 ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Yutaka Hino 1006 Kazuma Kadoma, Osaka Prefecture Inside Matsushita Electric Industrial Co., Ltd. F term (reference) 5D044 AB05 AB09 BC03 CC04 DE03 DE12 DE18 DE70 GK12 HL04 5D077 AA26 AA40 BA08 CA02 DC12 DC21 DC40 HA07 HC05 HC50

Claims (29)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つの音楽情報に対する少な
くとも1種のテキスト付加情報が、ヘッダが付加された
固定長文字列を含む複数のパックに分割して記録された
音楽用コンパクトディスクから、前記テキスト付加情報
を再生するために、前記テキスト付加情報を前記音楽用
コンパクトディスクから読み出して一時的に記憶装置に
格納するCDテキスト格納方法において、(a)前記記
憶装置に、テキストデータ格納領域と、識別情報格納領
域とを準備するステップと、(b)前記音楽用コンパク
トディスクから、前記パックを順に読み込むステップ
と、(c)このステップ(b)で読み込んだ前記パック
の固定長文字列を、前記記憶装置のテキストデータ格納
領域に所定の順序で格納するステップと、(d)前記ス
テップ(b)で読み込んだ前記パックのヘッダの一部
を、固定長パック情報として、前記記憶装置の前記識別
情報格納領域に所定の順序で格納するステップとを含む
ことを特徴とするCDテキスト格納方法。
1. A method according to claim 1, wherein at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added, and recorded from a compact disc for music. In order to reproduce information, a CD text storage method for reading out the text additional information from the music compact disc and temporarily storing the text additional information in a storage device includes: (a) storing a text data storage area in the storage device; Preparing a storage area; (b) sequentially reading the packs from the music compact disc; and (c) storing the fixed-length character strings of the packs read in this step (b) in the storage device. And (d) reading in the step (b) in the text data storage area in a predetermined order. Storing a part of the header of the pack as fixed-length pack information in the identification information storage area of the storage device in a predetermined order.
【請求項2】 前記パックがエラー検査コードを含み、 前記CDテキスト格納方法が、(e)前記ステップ
(b)で読み込んだ前記パックの前記エラー検査コード
を取得するステップと、(f)前記ステップ(b)で前
記パックを読み出した時に、前記ステップ(e)で取得
したエラー検査コードに基づいて、前記パックのデータ
読み取りエラーを判定するステップと、(g)このステ
ップ(f)での判定結果を、前記パック情報に含めて前
記記憶装置の前記識別情報格納領域に格納するステップ
とを含むことを特徴とする請求項1に記載のCDテキス
ト格納方法。
2. The method according to claim 1, wherein the pack includes an error check code, wherein the CD text storing method includes: (e) obtaining the error check code of the pack read in the step (b); and (f) the step. (B) determining a data read error of the pack based on the error check code acquired in step (e) when reading the pack; and (g) determining the result of step (f). Storing the CD text in the identification information storage area of the storage device while including the pack information in the pack information.
【請求項3】 前記ステップ(d)で、前記記憶装置の
容量が、前記音楽用コンパクトディスクの前記CDテキ
ストエリアの容量より小さくなるように前記パック情報
を前記記憶装置の前記識別情報格納領域に格納すること
を特徴とする請求項1または2に記載のCDテキスト格
納方法。
3. In the step (d), the pack information is stored in the identification information storage area of the storage device such that the capacity of the storage device is smaller than the capacity of the CD text area of the music compact disc. 3. The CD text storing method according to claim 1, wherein the CD text is stored.
【請求項4】 前記テキスト付加情報が、曲のタイト
ル、アーティスト名、作詞者名、作曲者名、編曲者名お
よびメッセージを含み、 前記種別コードが、前記テキスト付加情報の種別を識別
することを特徴とする請求項1乃至3の何れかに記載の
CDテキスト格納方法。
4. The text additional information includes a song title, an artist name, a lyricist name, a composer name, an arranger name, and a message, and the type code identifies a type of the text additional information. 4. The CD text storage method according to claim 1, wherein:
【請求項5】 少なくとも1つの音楽情報に対する少な
くとも1種のテキスト付加情報が、ヘッダが付加された
固定長文字列を含む複数のパックに分割して記録された
音楽用コンパクトディスクから、前記テキスト付加情報
を読み出して一時的に記憶装置に格納するステップと、
再生要求に応じて、前記記憶装置から前記テキスト付加
情報を抽出して再生するステップとを含むCDテキスト
再生方法において、(a)前記記憶装置に、テキストデ
ータ格納領域と、識別情報格納領域とを準備するステッ
プと、(b)前記音楽用コンパクトディスクから、前記
パックを順に読み込むステップと、(c)このステップ
(b)で読み込んだ前記パックの固定長文字列を、前記
記憶装置のテキストデータ格納領域に所定の順序で格納
するステップと、(d)前記ステップ(b)で読み込ん
だ前記パックのヘッダの一部を、固定長パック情報とし
て、前記記憶装置の前記識別情報格納領域に所定の順序
で格納するステップと、(e)任意のテキスト付加情報
を指定する再生要求条件を入力するステップと、(f)
このステップ(e)で入力された再生要求条件に基づい
て、前記記憶装置の前記識別情報格納領域を検索し、当
該パックの前記パック情報を取得するステップと、
(g)このステップ(f)で取得したパック情報に基づ
いて、前記記憶装置の前記テキストデータ格納領域の前
記指定されたテキスト付加情報の格納位置を算出するス
テップと、(h)このステップ(g)で算出された格納
位置から前記テキスト付加情報を抽出するステップとを
含むことを特徴とするCDテキスト再生方法。
5. The method according to claim 1, wherein at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added, and recorded from the compact disk for music. Reading the information and temporarily storing it in a storage device;
Extracting the text additional information from the storage device in response to a reproduction request and reproducing the text additional information. (A) A text data storage area and an identification information storage area are stored in the storage device. Preparing; (b) sequentially reading the packs from the music compact disc; and (c) storing the fixed-length character strings of the packs read in this step (b) in text data of the storage device. (D) storing a part of the header of the pack read in step (b) as fixed-length pack information in the identification information storage area of the storage device in a predetermined order; (E) inputting a reproduction request condition for specifying arbitrary text additional information; and (f)
Searching the identification information storage area of the storage device based on the reproduction request condition input in step (e), and acquiring the pack information of the pack;
(G) calculating a storage position of the specified text additional information in the text data storage area of the storage device based on the pack information acquired in step (f); ) Extracting the text additional information from the storage position calculated in step (c).
【請求項6】 少なくとも1つのトラックに記録された
音楽情報に対する少なくとも1種のテキスト付加情報
が、可変長文字列と、この可変長文字列の間に挿入され
た区切りコードとからなり、このテキスト付加情報が、
ヘッダが付加された固定長文字列を含む複数のパックに
分割して記録された音楽用コンパクトディスクから、前
記テキスト付加情報を読み出して一時的に記憶装置に格
納するステップと、再生要求に応じて、前記記憶装置か
ら前記テキスト付加情報を抽出して再生するステップと
を含むCDテキスト再生方法において、 前記ヘッダは、前記パックに記録されたテキスト付加情
報の種別コードと、前記パックに記録されたテキスト付
加情報に対応する音楽情報のトラックに連続して付され
たトラック番号コードと、前記パックに連続して付され
たパック番号コードと、前記パックに分割して記録され
た前記テキスト付加情報の前記文字列の何文字目が当該
パックの1桁目に記録されているかを示す文字桁数コー
ドとを有し、(a)前記記憶装置に、テキストデータ格
納領域と、識別情報格納領域とを準備するステップと、
(b)前記音楽用コンパクトディスクから、前記パック
を順に読み込むステップと、(c)このステップ(b)
で読み込んだ前記パックの固定長文字列を、前記記憶装
置のテキストデータ格納領域に所定の順序で格納するス
テップと、(d)前記ステップ(b)で読み込んだ前記
パックのヘッダの一部を、固定長パック情報として、前
記記憶装置の前記識別情報格納領域に所定の順序で格納
するステップと、(e)任意のテキスト付加情報を指定
する再生要求条件を入力するステップと、(f)このス
テップ(e)で入力された再生要求条件に含まれる前記
トラック番号コードおよび前記データ種別コードに基づ
いて、前記記憶装置の前記識別情報格納領域を検索し、
当該パックの前記パック情報を取得するステップと、
(g)このステップ(f)で取得したパック情報から前
記パック番号コードおよび前記文字桁数コードを抽出
し、このパック番号コードおよび文字桁数コードに基づ
いて、前記テキスト付加情報が格納されている前記記憶
装置の前記テキストデータ格納領域のスタートアドレス
を算出するステップと、(h)前記記憶装置の前記テキ
ストデータ格納領域の前記スタートアドレスから、当該
パックの前記文字列を抽出するステップと、(i)前記
ステップ(g)で抽出された文字列から前記テキスト付
加情報の前記区切りコードを検出するステップと、
(j)このステップ(i)で前記区切りコードが検出さ
れるまで、前記記憶装置の前記テキストデータ格納領域
から前記文字列の抽出を繰り返すステップとを含むこと
を特徴とするCDテキスト再生方法。
6. At least one type of text additional information for music information recorded on at least one track includes a variable length character string and a delimiter code inserted between the variable length character strings. The additional information is
Reading the text additional information from a music compact disc divided into a plurality of packs including a fixed-length character string to which a header is added, and temporarily storing the text additional information in a storage device; Extracting the text additional information from the storage device and reproducing the text additional information, wherein the header comprises: a type code of the text additional information recorded in the pack; and a text recorded in the pack. A track number code continuously assigned to the track of the music information corresponding to the additional information, a pack number code continuously assigned to the pack, and the text additional information of the text additional information divided and recorded in the pack. A character number code indicating which character of the character string is recorded in the first digit of the pack, and (a) the storage device Preparing a text data storage area and an identification information storage area;
(B) sequentially reading the packs from the music compact disc; and (c) this step (b).
Storing the fixed-length character string of the pack read in step 2 in a text data storage area of the storage device in a predetermined order; and (d) replacing a part of the pack header read in step (b) with: Storing the fixed-length pack information in the identification information storage area of the storage device in a predetermined order; (e) inputting a reproduction request condition designating arbitrary text additional information; and (f) this step. Searching the identification information storage area of the storage device based on the track number code and the data type code included in the reproduction request condition input in (e);
Obtaining the pack information of the pack;
(G) The pack number code and the character number code are extracted from the pack information acquired in step (f), and the text additional information is stored based on the pack number code and the character number code. Calculating a start address of the text data storage area of the storage device; (h) extracting the character string of the pack from the start address of the text data storage area of the storage device; Detecting the delimiter code of the text additional information from the character string extracted in step (g);
(J) repeating the extraction of the character string from the text data storage area of the storage device until the delimiter code is detected in step (i).
【請求項7】 前記パックがエラー検査コードを含み、 前記CDテキスト再生方法が、(k)前記音楽用コンパ
クトディスクから、前記エラー検査コードを読み込み、
このエラー検査コードに基づいて、前記ステップ(b)
で、前記パックを読み出した時に、このパックのデータ
読み取りエラーを判定するステップと、(l)このステ
ップ(k)での判定結果を、前記パック情報に含めて前
記記憶装置の前記識別情報格納領域に格納するステップ
とを含むことを特徴とする請求項5または6に記載のC
Dテキスト再生方法。
7. The method according to claim 7, wherein the pack includes an error check code, and the CD text reproducing method includes: (k) reading the error check code from the music compact disc;
Based on the error check code, the step (b)
Determining the data read error of the pack when reading the pack; and (l) including the determination result in step (k) in the pack information so as to include the identification information storage area of the storage device. 7. The method according to claim 5, further comprising the step of:
D text playback method.
【請求項8】 (m)前記ステップ(e)で入力された
再生要求条件により抽出されるべき前記テキスト付加情
報の次の前記テキスト付加情報が格納されている前記記
憶装置の前記テキストデータ格納領域のスタートアドレ
スの一つ前のアドレスを最終アドレスとして算出するス
テップと、(n)前記ステップ(i)で区切りコードが
検出された時のアドレスをエンドアドレスとするステッ
プと、(o)前記ステップ(m)で算出された最終アド
レスが、前記ステップ(n)で得られたエンドアドレス
より小さいか否かを判定するステップと、(p)このス
テップ(o)で前記最終アドレスが、前記エンドアドレ
スより小さいと判定された時、前記エンドアドレスを前
記最終アドレスに置き換えるステップとを含むことを特
徴とする請求項6または7に記載のCDテキスト再生方
法。
8. (m) The text data storage area of the storage device in which the text additional information next to the text additional information to be extracted according to the reproduction request condition input in the step (e) is stored. (N) calculating the end address of the address at the time when the delimiter code is detected in the step (i); m) determining whether the last address calculated in step (n) is smaller than the end address obtained in step (n); and (p) determining in step (o) that the last address is smaller than the end address. Replacing the end address with the last address when it is determined to be smaller. Or the CD text reproduction method according to 7.
【請求項9】 (q)前記ステップ(g)で抽出された
前記トラック番号コードが、連続しているか否かを判定
するステップと、(r)このステップ(q)で、前記ト
ラック番号コードが連続していないと判定された場合、
このトラック番号コードを補完するステップとを含むこ
とを特徴とする請求項6乃至8の何れかに記載のCDテ
キスト再生方法。
9. A step (q) for determining whether or not the track number codes extracted in the step (g) are continuous. (R) In this step (q), the track number code is If it is determined that they are not consecutive,
9. The CD text reproducing method according to claim 6, further comprising a step of complementing the track number code.
【請求項10】 前記テキスト付加情報が、曲のタイト
ル、アーティスト名、作詞者名、作曲者名、編曲者名お
よびメッセージを含み、 前記種別コードが、前記テキスト付加情報の種別を識別
することを特徴とする請求項5乃至9の何れかに記載の
CDテキスト再生方法。
10. The text additional information includes a song title, an artist name, a lyricist name, a composer name, an arranger name, and a message, and the type code identifies a type of the text additional information. The CD text reproducing method according to any one of claims 5 to 9, wherein:
【請求項11】 前記ステップ(h)で抽出された文字
列を表示するステップをさらに含むことを特徴とする請
求項5乃至10の何れかに記載のCDテキスト再生方
法。
11. The CD text reproducing method according to claim 5, further comprising the step of displaying the character string extracted in the step (h).
【請求項12】 少なくとも1つの音楽情報に対する少
なくとも1種のテキスト付加情報が、ヘッダが付加され
た固定長文字列を含む複数のパックに分割して記録され
た音楽用コンパクトディスクから、前記テキスト付加情
報を読み出して一時的に格納する記憶装置と、再生要求
に応じて、前記記憶装置から前記テキスト付加情報を抽
出して再生する再生手段とを含むコンパクトディスク再
生装置において、 前記記憶装置が、テキストデータ格納領域と、識別情報
格納領域とを含み、 前記音楽用コンパクトディスクから、前記パックを順に
読み込む読み込み手段と、 この読み込み手段で読み込んだ前記パックの固定長文字
列を、前記記憶装置のテキストデータ格納領域に所定の
順序で格納するとともに、前記読み込み手段で読み込ん
だ前記パックのヘッダの一部を、固定長パック情報とし
て、前記記憶装置の前記識別情報格納領域に所定の順序
で格納する制御手段と、 任意のテキスト付加情報を指定する再生要求条件を入力
する入力手段と、 この入力手段で入力された再生要求条件に基づいて、前
記記憶装置の前記識別情報格納領域を検索し、当該パッ
クの前記パック情報を取得するパック情報取得手段と、 このパック情報取得手段で取得したパック情報に基づい
て、前記記憶装置の前記テキストデータ格納領域の前記
指定されたテキスト付加情報の格納位置を算出するアド
レス算出手段と、 このアドレス算出手段で算出された格納位置から前記テ
キスト付加情報を抽出する抽出手段とを含むことを特徴
とするコンパクトディスク再生装置。
12. A method for adding text to a music compact disc in which at least one type of text additional information for at least one piece of music information is divided and recorded in a plurality of packs including a fixed-length character string to which a header is added. A compact disc reproducing apparatus comprising: a storage device for reading and temporarily storing information; and a reproducing unit for extracting and reproducing the text additional information from the storage device in response to a reproduction request. A reading unit for sequentially reading the pack from the music compact disc, including a data storage region and an identification information storage region; and a fixed-length character string of the pack read by the reading unit, the text data of the storage device. The data is stored in the storage area in a predetermined order, and the path read by the reading means is read. Control means for storing a part of the header of the header as fixed-length pack information in the identification information storage area of the storage device in a predetermined order; and an input for inputting a reproduction request condition for specifying arbitrary text additional information. Means for searching the identification information storage area of the storage device based on the reproduction request condition input by the input means and obtaining the pack information of the pack; and pack information obtaining means Address calculation means for calculating a storage position of the specified text additional information in the text data storage area of the storage device based on the pack information obtained in the step (a), and the text from the storage position calculated by the address calculation means A compact disk reproducing apparatus comprising: extracting means for extracting additional information.
【請求項13】 少なくとも1つのトラックに記録され
た音楽情報に対する少なくとも1種のテキスト付加情報
が、可変長文字列と、この可変長文字列の間に挿入され
た区切りコードとからなり、このテキスト付加情報が、
ヘッダが付加された固定長文字列を含む複数のパックに
分割して記録された音楽用コンパクトディスクから、前
記テキスト付加情報を読み出して一時的に記憶装置に格
納する手段と、再生要求に応じて、前記記憶装置から前
記テキスト付加情報を抽出して再生する手段とを含むコ
ンパクトディスク再生装置において、 前記ヘッダは、前記パックに記録されたテキスト付加情
報の種別コードと、前記パックに記録されたテキスト付
加情報に対応する音楽情報のトラックに連続して付され
たトラック番号コードと、前記パックに連続して付され
たパック番号コードと、前記パックに分割して記録され
た前記テキスト付加情報の前記文字列の何文字目が当該
パックの1桁目に記録されているかを示す文字桁数コー
ドとを有し、 前記記憶装置が、テキストデータ格納領域と、識別情報
格納領域とを含み、 前記音楽用コンパクトディスクから、前記パックを順に
読み込む読み込み手段と、 この読み込み手段で読み込んだ前記パックの固定長文字
列を、前記記憶装置のテキストデータ格納領域に所定の
順序で格納するとともに、前記読み込み手段で読み込ん
だ前記パックのヘッダの一部を、固定長パック情報とし
て、前記記憶装置の前記識別情報格納領域に所定の順序
で格納する制御手段と、 任意のテキスト付加情報を指定する再生要求条件を入力
する入力手段と、 この入力手段で入力された再生要求条件に含まれる前記
トラック番号コードおよび前記データ種別コードに基づ
いて、前記記憶装置の前記識別情報格納領域を検索し、
当該パックの前記パック情報を取得するパック情報取得
手段と、 このパック情報取得手段で取得したパック情報から前記
パック番号コードおよび前記文字桁数コードを抽出し、
このパック番号コードおよび文字桁数コードに基づい
て、前記テキスト付加情報が格納されている前記記憶装
置の前記テキストデータ格納領域のスタートアドレスを
算出するアドレス算出手段と、 前記記憶装置の前記テキストデータ格納領域の前記スタ
ートアドレスから、当該パックの前記文字列を抽出する
抽出手段と、 前記アドレス算出手段で抽出された文字列から前記テキ
スト付加情報の前記区切りコードを検出する検出手段
と、 この検出手段で前記区切りコードが検出されるまで、前
記記憶装置の前記テキストデータ格納領域から前記文字
列の抽出を繰り返す手段とを含むことを特徴とするコン
パクトディスク再生装置。
13. At least one type of text additional information for music information recorded on at least one track includes a variable-length character string and a delimiter code inserted between the variable-length character strings. The additional information is
Means for reading out the text additional information from a music compact disc divided into a plurality of packs including a fixed-length character string to which a header is added and temporarily storing the text additional information in a storage device; Means for extracting and reproducing the text additional information from the storage device, wherein the header comprises: a type code of the text additional information recorded in the pack; and a text recorded in the pack. A track number code continuously assigned to the track of the music information corresponding to the additional information, a pack number code continuously assigned to the pack, and the text additional information of the text additional information divided and recorded in the pack. A character digit number code indicating which character of the character string is recorded in the first digit of the pack; Reading means for sequentially reading the packs from the music compact disc, and a fixed-length character string of the packs read by the reading means. Control for storing in a data storage area in a predetermined order and storing a part of the header of the pack read by the reading means as fixed length pack information in the identification information storage area of the storage device in a predetermined order. Means, input means for inputting a reproduction request condition designating arbitrary text additional information, and the storage device based on the track number code and the data type code included in the reproduction request condition input by the input means. Searching the identification information storage area of
A pack information acquiring unit for acquiring the pack information of the pack; and extracting the pack number code and the character number code from the pack information acquired by the pack information acquiring unit.
Address calculating means for calculating a start address of the text data storage area of the storage device in which the text additional information is stored, based on the pack number code and the character number code; and storing the text data of the storage device. Extracting means for extracting the character string of the pack from the start address of the area; detecting means for detecting the delimiter code of the text additional information from the character string extracted by the address calculating means; Means for repeatedly extracting the character string from the text data storage area of the storage device until the delimiter code is detected.
【請求項14】 前記パックがエラー検査コードを含
み、 前記コンパクトディスク再生装置が、 前記音楽用コンパクトディスクから、前記エラー検査コ
ードを読み込み、このエラー検査コードに基づいて、前
記読み込み手段で、前記パックを読み出した時に、この
パックのデータ読み取りエラーを判定するエラー判定手
段を備え、 前記制御手段が、前記エラー判定手段での判定結果を、
前記パック情報に含めて前記記憶装置の前記識別情報格
納領域に格納することを特徴とする請求項12または1
3に記載のコンパクトディスク再生装置。
14. The pack includes an error check code, the compact disc reproducing apparatus reads the error check code from the music compact disc, and the reading means reads the pack based on the error check code. When the data is read, there is provided an error determination unit that determines a data read error of the pack, and the control unit determines a determination result by the error determination unit,
13. The storage device according to claim 12, wherein the identification information is stored in the identification information storage area of the storage device while being included in the pack information.
4. The compact disc playback device according to 3.
【請求項15】 前記入力手段で入力された再生要求条
件により抽出されるべき前記テキスト付加情報の次の前
記テキスト付加情報が格納されている前記記憶装置の前
記テキストデータ格納領域のスタートアドレスの一つ前
のアドレスを最終アドレスとして算出する最終アドレス
算出手段と、 前記検出手段で区切りコードが検出された時のアドレス
をエンドアドレスとするエンドアドレス取得手段と、 前記最終アドレス算出手段で算出された最終アドレス
が、前記エンドアドレス取得手段で得られたエンドアド
レスより小さい時、前記エンドアドレスを前記最終アド
レスに置き換える手段とを含むことを特徴とする請求項
13または14に記載のコンパクトディスク再生装置。
15. A start address of the text data storage area of the storage device in which the text additional information next to the text additional information to be extracted according to the reproduction request condition input by the input means is stored. A last address calculating means for calculating a previous address as a last address; an end address obtaining means for setting an address at the time when the delimiter code is detected by the detecting means as an end address; and a last address calculated by the last address calculating means. 15. The compact disk reproducing apparatus according to claim 13, further comprising: a unit that replaces the end address with the last address when the address is smaller than the end address obtained by the end address obtaining unit.
【請求項16】 前記アドレス算出手段で抽出された前
記トラック番号コードが、連続していない場合、このト
ラック番号コードを補完する手段とを含むことを特徴と
する請求項13乃至15の何れかに記載のコンパクトデ
ィスク再生装置。
16. The apparatus according to claim 13, further comprising means for complementing the track number code when the track number code extracted by the address calculating means is not continuous. A compact disc playback device as described.
【請求項17】 前記テキスト付加情報が、曲のタイト
ル、アーティスト名、作詞者名、作曲者名、編曲者名お
よびメッセージを含み、 前記種別コードが、前記テキスト付加情報の種別を識別
することを特徴とする請求項12乃至16の何れかに記
載のコンパクトディスク再生装置。
17. The text additional information includes a song title, an artist name, a lyricist name, a composer name, a arranger name, and a message, and the type code identifies a type of the text additional information. 17. The compact disk reproducing apparatus according to claim 12, wherein the reproducing apparatus is a compact disk reproducing apparatus.
【請求項18】 前記抽出手段で抽出された文字列を表
示する表示手段をさらに含むことを特徴とする請求項1
2乃至17の何れかに記載のコンパクトディスク再生装
置。
18. The apparatus according to claim 1, further comprising display means for displaying the character string extracted by said extraction means.
18. The compact disc reproducing apparatus according to any one of 2 to 17.
【請求項19】 少なくとも1つの音楽情報に対する少
なくとも1種のテキスト付加情報が、ヘッダが付加され
た固定長文字列を含む複数のパックに分割して記録され
た音楽用コンパクトディスクから、前記テキスト付加情
報を再生するために、前記テキスト付加情報を前記音楽
用コンパクトディスクから読み出して一時的に記憶装置
に格納するCDテキスト格納プログラムが記録されたコ
ンピュータが読み取り可能な記録媒体において、(a)
前記記憶装置に、テキストデータ格納領域と、識別情報
格納領域とを準備するステップと、(b)前記音楽用コ
ンパクトディスクから、前記パックを順に読み込むステ
ップと、(c)このステップ(b)で読み込んだ前記パ
ックの固定長文字列を、前記記憶装置のテキストデータ
格納領域に所定の順序で格納するステップと、(d)前
記ステップ(b)で読み込んだ前記パックのヘッダの一
部を、固定長パック情報として、前記記憶装置の前記識
別情報格納領域に所定の順序で格納するステップとを含
むことを特徴とするCDテキスト格納プログラムが記録
された記録媒体。
19. A method according to claim 1, wherein at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added, and recorded from a compact disc for music. In order to reproduce the information, a computer readable recording medium storing a CD text storage program for reading the text additional information from the music compact disc and temporarily storing the text additional information in a storage device includes:
Preparing a text data storage area and an identification information storage area in the storage device; (b) sequentially reading the packs from the music compact disc; and (c) reading in this step (b). Storing a fixed-length character string of the pack in a text data storage area of the storage device in a predetermined order; and (d) converting a part of the pack header read in the step (b) to a fixed length. Storing in a predetermined order as the pack information in the identification information storage area of the storage device, wherein the CD text storage program is recorded.
【請求項20】 前記パックがエラー検査コードを含
み、 前記CDテキスト格納プログラムが、(e)前記ステッ
プ(b)で読み込んだ前記パックの前記エラー検査コー
ドを取得するステップと、(f)前記ステップ(b)で
前記パックを読み出した時に、前記ステップ(e)で取
得したエラー検査コードに基づいて、前記パックのデー
タ読み取りエラーを判定するステップと、(g)このス
テップ(f)での判定結果を、前記パック情報に含めて
前記記憶装置の前記識別情報格納領域に格納するステッ
プとを含むことを特徴とする請求項19に記載のCDテ
キスト格納プログラムが記録された記録媒体。
20. The pack including an error check code, wherein the CD text storage program acquires (e) the error check code of the pack read in step (b); and (f) the step (B) determining a data read error of the pack based on the error check code acquired in step (e) when reading the pack; and (g) determining the result of step (f). Storing the CD text storage program according to claim 19, wherein the information is stored in the identification information storage area of the storage device while being included in the pack information.
【請求項21】 前記CDテキスト格納プログラムの前
記ステップ(d)で、前記記憶装置の容量が、前記音楽
用コンパクトディスクの前記CDテキストエリアの容量
より小さくなるように前記パック情報を前記記憶装置の
前記識別情報格納領域に格納することを特徴とする請求
項19または20に記載のCDテキスト格納プログラム
が記録された記録媒体。
21. In the step (d) of the CD text storage program, the pack information is stored in the storage device so that the capacity of the storage device is smaller than the capacity of the CD text area of the music compact disc. 21. The recording medium according to claim 19, wherein the program is stored in the identification information storage area.
【請求項22】 前記テキスト付加情報が、曲のタイト
ル、アーティスト名、作詞者名、作曲者名、編曲者名お
よびメッセージを含み、 前記種別コードが、前記テキスト付加情報の種別を識別
することを特徴とする請求項19乃至21の何れかに記
載のCDテキスト格納プログラムが記録された記録媒
体。
22. The text additional information includes a song title, an artist name, a lyricist name, a composer name, an arranger name and a message, and the type code identifies a type of the text additional information. 22. A recording medium on which the CD text storage program according to claim 19 is recorded.
【請求項23】 少なくとも1つの音楽情報に対する少
なくとも1種のテキスト付加情報が、ヘッダが付加され
た固定長文字列を含む複数のパックに分割して記録され
た音楽用コンパクトディスクから、前記テキスト付加情
報を読み出して一時的に記憶装置に格納するステップ
と、再生要求に応じて、前記記憶装置から前記テキスト
付加情報を抽出して再生するステップとを含むCDテキ
スト再生プログラムが記録されたコンピュータが読み取
り可能な記録媒体において、(a)前記記憶装置に、テ
キストデータ格納領域と、識別情報格納領域とを準備す
るステップと、(b)前記音楽用コンパクトディスクか
ら、前記パックを順に読み込むステップと、(c)この
ステップ(b)で読み込んだ前記パックの固定長文字列
を、前記記憶装置のテキストデータ格納領域に所定の順
序で格納するステップと、(d)前記ステップ(b)で
読み込んだ前記パックのヘッダの一部を、固定長パック
情報として、前記記憶装置の前記識別情報格納領域に所
定の順序で格納するステップと、(e)任意のテキスト
付加情報を指定する再生要求条件を入力するステップ
と、(f)このステップ(e)で入力された再生要求条
件に基づいて、前記記憶装置の前記識別情報格納領域を
検索し、当該パックの前記パック情報を取得するステッ
プと、(g)このステップ(f)で取得したパック情報
に基づいて、前記記憶装置の前記テキストデータ格納領
域の前記指定されたテキスト付加情報の格納位置を算出
するステップと、(h)このステップ(g)で算出され
た格納位置から前記テキスト付加情報を抽出するステッ
プとを含むことを特徴とするCDテキスト再生プログラ
ムを記録した記録媒体。
23. The method according to claim 13, wherein at least one type of text additional information for at least one piece of music information is divided into a plurality of packs each including a fixed-length character string to which a header is added, and recorded from the compact disk for music. A computer storing a CD text reproducing program, comprising: reading information and temporarily storing the information in a storage device; and extracting and reproducing the text additional information from the storage device in response to a reproduction request. (A) preparing a text data storage area and an identification information storage area in the storage device; (b) sequentially reading the packs from the music compact disc; c) The fixed-length character string of the pack read in step (b) is stored in the storage device (D) storing a part of the header of the pack read in step (b) as fixed-length pack information in the identification information storage area of the storage device; Storing in a predetermined order; (e) inputting a reproduction request condition designating arbitrary text additional information; and (f) storing the storage request based on the reproduction request condition input in step (e). Searching the identification information storage area of the device and obtaining the pack information of the pack; and (g) storing the pack information of the text data storage area of the storage device based on the pack information obtained in step (f). Calculating the storage location of the specified text additional information; and (h) extracting the text additional information from the storage location calculated in step (g). Recording medium recording a CD text playback program characterized by comprising the steps of.
【請求項24】 少なくとも1つのトラックに記録され
た音楽情報に対する少なくとも1種のテキスト付加情報
が、可変長文字列と、この可変長文字列の間に挿入され
た区切りコードとからなり、このテキスト付加情報が、
ヘッダが付加された固定長文字列を含む複数のパックに
分割して記録された音楽用コンパクトディスクから、前
記テキスト付加情報を読み出して一時的に記憶装置に格
納するステップと、再生要求に応じて、前記記憶装置か
ら前記テキスト付加情報を抽出して再生するステップと
を含むCDテキスト再生プログラムを記録したコンピュ
ータが読み取り可能な記録媒体において、 前記ヘッダは、前記パックに記録されたテキスト付加情
報の種別コードと、前記パックに記録されたテキスト付
加情報に対応する音楽情報のトラックに連続して付され
たトラック番号コードと、前記パックに連続して付され
たパック番号コードと、前記パックに分割して記録され
た前記テキスト付加情報の前記文字列の何文字目が当該
パックの1桁目に記録されているかを示す文字桁数コー
ドとを有し、(a)前記記憶装置に、テキストデータ格
納領域と、識別情報格納領域とを準備するステップと、
(b)前記音楽用コンパクトディスクから、前記パック
を順に読み込むステップと、(c)このステップ(b)
で読み込んだ前記パックの固定長文字列を、前記記憶装
置のテキストデータ格納領域に所定の順序で格納するス
テップと、(d)前記ステップ(b)で読み込んだ前記
パックのヘッダの一部を、固定長パック情報として、前
記記憶装置の前記識別情報格納領域に所定の順序で格納
するステップと、(e)任意のテキスト付加情報を指定
する再生要求条件を入力するステップと、(f)このス
テップ(e)で入力された再生要求条件に含まれる前記
トラック番号コードおよび前記データ種別コードに基づ
いて、前記記憶装置の前記識別情報格納領域を検索し、
当該パックの前記パック情報を取得するステップと、
(g)このステップ(f)で取得したパック情報から前
記パック番号コードおよび前記文字桁数コードを抽出
し、このパック番号コードおよび文字桁数コードに基づ
いて、前記テキスト付加情報が格納されている前記記憶
装置の前記テキストデータ格納領域のスタートアドレス
を算出するステップと、(h)前記記憶装置の前記テキ
ストデータ格納領域の前記スタートアドレスから、当該
パックの前記文字列を抽出するステップと、(i)前記
ステップ(g)で抽出された文字列から前記テキスト付
加情報の前記区切りコードを検出するステップと、
(j)このステップ(i)で前記区切りコードが検出さ
れるまで、前記記憶装置の前記テキストデータ格納領域
から前記文字列の抽出を繰り返すステップとを含むこと
を特徴とするCDテキスト再生プログラムを記録した記
録媒体。
24. At least one type of text additional information for music information recorded on at least one track includes a variable length character string and a delimiter code inserted between the variable length character strings. The additional information is
Reading the text additional information from a music compact disc divided into a plurality of packs including a fixed-length character string to which a header is added, and temporarily storing the text additional information in a storage device; Extracting the text additional information from the storage device and reproducing the text additional information, wherein the header is a type of the text additional information recorded in the pack. Code, a track number code consecutively assigned to a track of music information corresponding to the text additional information recorded in the pack, a pack number code consecutively assigned to the pack, and divided into the pack. What character of the character string of the text additional information recorded is recorded in the first digit of the pack. (A) preparing a text data storage area and an identification information storage area in the storage device;
(B) sequentially reading the packs from the music compact disc; and (c) this step (b).
Storing the fixed-length character string of the pack read in step 2 in a text data storage area of the storage device in a predetermined order; and (d) replacing a part of the pack header read in step (b) with: Storing the fixed-length pack information in the identification information storage area of the storage device in a predetermined order; (e) inputting a reproduction request condition designating arbitrary text additional information; and (f) this step. Searching the identification information storage area of the storage device based on the track number code and the data type code included in the reproduction request condition input in (e);
Obtaining the pack information of the pack;
(G) The pack number code and the character number code are extracted from the pack information acquired in step (f), and the text additional information is stored based on the pack number code and the character number code. Calculating a start address of the text data storage area of the storage device; (h) extracting the character string of the pack from the start address of the text data storage area of the storage device; Detecting the delimiter code of the text additional information from the character string extracted in step (g);
(J) repeating the extraction of the character string from the text data storage area of the storage device until the delimiter code is detected in step (i). Recording medium.
【請求項25】 前記パックがエラー検査コードを含
み、 前記CDテキスト再生プログラムが、(k)前記音楽用
コンパクトディスクから、前記エラー検査コードを読み
込み、このエラー検査コードに基づいて、前記ステップ
(b)で、前記パックを読み出した時に、このパックの
データ読み取りエラーを判定するステップと、(l)こ
のステップ(k)での判定結果を、前記パック情報に含
めて前記記憶装置の前記識別情報格納領域に格納するス
テップとを含むことを特徴とする請求項23または24
に記載のCDテキスト再生プログラムを記録した記録媒
体。
25. The pack includes an error check code, the CD text reproducing program reads (k) the error check code from the music compact disc, and performs the step (b) based on the error check code. ), When the pack is read, determining a data read error of the pack; and (l) storing the identification information of the storage device by including the determination result in step (k) in the pack information. Storing in an area.
Recording medium on which the CD text reproduction program described in 1 above is recorded.
【請求項26】 前記CDテキスト再生プログラムが、
(m)前記ステップ(e)で入力された再生要求条件に
より抽出されるべき前記テキスト付加情報の次の前記テ
キスト付加情報が格納されている前記記憶装置の前記テ
キストデータ格納領域のスタートアドレスの一つ前のア
ドレスを最終アドレスとして算出するステップと、
(n)前記ステップ(i)で区切りコードが検出された
時のアドレスをエンドアドレスとするステップと、
(o)前記ステップ(m)で算出された最終アドレス
が、前記ステップ(n)で得られたエンドアドレスより
小さいか否かを判定するステップと、(p)このステッ
プ(o)で前記最終アドレスが、前記エンドアドレスよ
り小さいと判定された時、前記エンドアドレスを前記最
終アドレスに置き換えるステップとを含むことを特徴と
する請求項24または25に記載のCDテキスト再生プ
ログラムを記録した記録媒体。
26. The CD text reproducing program,
(M) one of start addresses of the text data storage area of the storage device in which the text additional information next to the text additional information to be extracted according to the reproduction request condition input in step (e) is stored; Calculating the previous address as the final address;
(N) setting an address when the delimiter code is detected in the step (i) as an end address;
(O) determining whether the final address calculated in step (m) is smaller than the end address obtained in step (n); and (p) determining the final address in step (o). 26. The recording medium according to claim 24, further comprising: replacing the end address with the last address when it is determined that the end address is smaller than the end address.
【請求項27】 前記CDテキスト再生プログラムが、
(q)前記ステップ(g)で抽出された前記トラック番
号コードが、連続しているか否かを判定するステップ
と、(r)このステップ(q)で、前記トラック番号コ
ードが連続していないと判定された場合、このトラック
番号コードを補完するステップとを含むことを特徴とす
る請求項24乃至26の何れかに記載のCDテキスト再
生プログラムを記録した記録媒体。
27. The CD text reproducing program,
(Q) determining whether or not the track number codes extracted in the step (g) are continuous; and (r) determining that the track number codes are not continuous in the step (q). 27. The recording medium according to claim 24, further comprising a step of supplementing the track number code when the judgment is made.
【請求項28】 前記テキスト付加情報が、曲のタイト
ル、アーティスト名、作詞者名、作曲者名、編曲者名お
よびメッセージを含み、 前記種別コードが、前記テキスト付加情報の種別を識別
することを特徴とする請求項23乃至27の何れかに記
載のCDテキスト再生プログラムを記録した記録媒体。
28. The text additional information includes a song title, an artist name, a lyricist name, a composer name, a arranger name, and a message, and the type code identifies a type of the text additional information. A recording medium recording the CD text reproduction program according to any one of claims 23 to 27.
【請求項29】 前記CDテキスト再生プログラムが、 前記ステップ(h)で抽出された文字列を表示するステ
ップをさらに含むことを特徴とする請求項23乃至28
の何れかに記載のCDテキスト再生プログラムを記録し
た記録媒体。
29. The program according to claim 23, wherein the CD text reproducing program further comprises a step of displaying the character string extracted in the step (h).
A recording medium on which the CD text reproduction program according to any one of the above is recorded.
JP2000203456A 2000-07-05 2000-07-05 Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text Pending JP2002025197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000203456A JP2002025197A (en) 2000-07-05 2000-07-05 Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000203456A JP2002025197A (en) 2000-07-05 2000-07-05 Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text

Publications (1)

Publication Number Publication Date
JP2002025197A true JP2002025197A (en) 2002-01-25

Family

ID=18700858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000203456A Pending JP2002025197A (en) 2000-07-05 2000-07-05 Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text

Country Status (1)

Country Link
JP (1) JP2002025197A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005036550A1 (en) * 2003-10-14 2005-04-21 Lg Electronics Inc. Recording medium having data structure for managing reproduction of text subtitle and recording and reproducing methods and apparatuses
WO2005083708A1 (en) * 2004-02-28 2005-09-09 Samsung Electronic Co., Ltd. Storage medium recording text-based subtitle stream, apparatus and method reproducing thereof
US7539092B2 (en) 2004-05-17 2009-05-26 Sanyo Electric Co., Ltd. Optical disk playback apparatus and decoder determining text information
US7729595B2 (en) 2003-07-25 2010-06-01 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US7729594B2 (en) 2004-03-18 2010-06-01 Lg Electronics, Inc. Recording medium and method and apparatus for reproducing text subtitle stream including presentation segments encapsulated into PES packet
US7769277B2 (en) 2003-07-24 2010-08-03 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US8041193B2 (en) 2003-10-15 2011-10-18 Lg Electronics Inc. Recording medium having data structure for managing reproduction of auxiliary presentation data and recording and reproducing methods and apparatuses

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8447172B2 (en) 2003-07-24 2013-05-21 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US7769277B2 (en) 2003-07-24 2010-08-03 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US8515248B2 (en) 2003-07-25 2013-08-20 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US7729595B2 (en) 2003-07-25 2010-06-01 Lg Electronics Inc. Recording medium having a data structure for managing reproduction of text subtitle data recorded thereon and recording and reproducing methods and apparatuses
US8032013B2 (en) 2003-10-14 2011-10-04 Lg Electronics Inc. Recording medium having data structure for managing reproduction of text subtitle and recording and reproducing methods and apparatuses
WO2005036550A1 (en) * 2003-10-14 2005-04-21 Lg Electronics Inc. Recording medium having data structure for managing reproduction of text subtitle and recording and reproducing methods and apparatuses
US8041193B2 (en) 2003-10-15 2011-10-18 Lg Electronics Inc. Recording medium having data structure for managing reproduction of auxiliary presentation data and recording and reproducing methods and apparatuses
US8437612B2 (en) 2004-02-28 2013-05-07 Samsung Electronics Co., Ltd. Storage medium recording text-based subtitle stream, reproducing apparatus and reproducing method for reproducing text-based subtitle stream recorded on the storage medium
US7529467B2 (en) 2004-02-28 2009-05-05 Samsung Electronics Co., Ltd. Storage medium recording text-based subtitle stream, reproducing apparatus and reproducing method for reproducing text-based subtitle stream recorded on the storage medium
WO2005083708A1 (en) * 2004-02-28 2005-09-09 Samsung Electronic Co., Ltd. Storage medium recording text-based subtitle stream, apparatus and method reproducing thereof
US7729594B2 (en) 2004-03-18 2010-06-01 Lg Electronics, Inc. Recording medium and method and apparatus for reproducing text subtitle stream including presentation segments encapsulated into PES packet
US8538240B2 (en) 2004-03-18 2013-09-17 Lg Electronics, Inc. Recording medium and method and apparatus for reproducing text subtitle stream recorded on the recording medium
US7539092B2 (en) 2004-05-17 2009-05-26 Sanyo Electric Co., Ltd. Optical disk playback apparatus and decoder determining text information

Similar Documents

Publication Publication Date Title
US6339561B2 (en) Reproduction apparatus and method of displaying data in selected language
US20050091280A1 (en) Method and apparatus for recording data and recovering recorded data
JPH0991880A (en) Recording medium and reproducing device
US20050281544A1 (en) Multi-session optical media
JP2005011429A (en) File management method and recorder, reproducing device, and recording medium
JP2002025197A (en) Cd text storing and reproducing method, compact disk reproducing device, recording medium recorded with program for storing and reproducing cd text
WO2001093263A1 (en) Information recording medium, information recording method, information recording apparatus, information reproducing method, and information reproducing apparatus
JP3796944B2 (en) Reproduction method, recording medium, and computer
JP3587681B2 (en) Text information playback device
US20030233381A1 (en) File management method
US20070003257A1 (en) Recordable DVD structure
US20070002696A1 (en) Recordable dvd structure
US6262956B1 (en) Reproducing apparatus with improved access to text information
JPH09139053A (en) Recording system and reproducing system for write-ones type recording medium
KR100733060B1 (en) Recording medium reproduction device
EP0886272A2 (en) Reproducing apparatus with user's native language displaying function and user's native language displaying method
US7715933B2 (en) Method of managing lyric data of audio data recorded on a rewritable recording medium
JP4092804B2 (en) Playback device
JP2586603B2 (en) optical disk
JP4088846B2 (en) Disc scratch playback device
JP3716514B2 (en) Playback system
KR100554783B1 (en) Method and apparatus for recording information on change of data speed
US20070065103A1 (en) Recordable DVD structure
KR19990069680A (en) Disk on which AV pointer table information is recorded and data reading method using this information
JP3823443B2 (en) Memory management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080325