The present invention relates to a recording medium playback apparatus having the function of reading character codes recorded on a recording medium and, more particularly to a recording medium playback apparatus suited to read character codes recorded along with audio playback digital data on a recording medium such as a CD, a DVD, or an MD.
For example, on a CD (compact disc) that conforms to the CD-TEXT format, character data for presenting the title of music recorded on each track, artist name, etc. for display on an operation panel is recorded in addition to the audio playback digital data recorded on conventional CD.
Such character data can be written by a user using a CD-R writer. However, when character data is written to a CD by using a CD-R writer, there can occur cases where data that does not conform to the standard is written due to errors on the part of the user. If such data is to be displayed as is, totally unintelligible characters may be displayed. Further, there can occur cases where a null code indicating a track separation cannot be detected and, as a result, the character data acquisition process does not terminate, endlessly trying to acquire the character data and thus resulting in an inability to proceed to the audio playback process.
Accordingly, an object of the present invention is to provide a recording medium playback apparatus that can detect an abnormality in the data format of the character data recorded on a recording medium such as a CD conforming to the CD-text format, and can perform appropriate processing for display.
A recording medium playback apparatus according to the present invention comprises: a determining unit making a determination as to the presence or absence of abnormal data wherein, when character code for text data recorded on a recording medium is a double-byte character code, if only one of two bytes forming the double-byte character code at the present check position coincides with a predetermined special code, the determining unit determines that abnormal data is recorded; and a repeating unit updating the check position and causing the determining unit to repeat the determination.
For example, a plurality of tracks of audio playback digital data are further recorded on the recording medium, the text data is recorded in corresponding relationship to each track of the audio playback digital data, and the special code is a null code indicating a track separation.
A recording medium playback apparatus according to an alternative mode of the present invention comprises: a character position detecting unit detecting a character position for at least one of character codes contained in text data recorded on a recording medium; and a determining unit for determining that abnormal data is recorded, if the character position detected by the character position detecting unit contradicts character position information recorded on the recording medium.
For example, a plurality of tracks of audio playback digital data are further recorded on the recording medium, the text data is recorded in corresponding relationship to each track of the audio playback digital data, and the character position is a character position within a string of characters recorded in each track.
The above-described apparatus further comprises an output unit outputting characters corresponding to the text data recorded on the recording medium, wherein when it is determined by the determining unit that abnormal data has occurred, the output unit can stop outputting the characters.
The above-described apparatus may further comprise a changing unit changing a character separating position for reading a double-byte character code when it is determined by the determining unit that abnormal data has occurred.
In
In
In each block, the first byte of the text data field of the pack whose ID1 is 8F (hexadecimal, the same applies hereinafter) and whose ID2 is 00 designates the character code used in the block to which the pack belongs. For example, when this byte is 00 or 01, the character code used in that block is a single-byte character code, while when the byte is any one of 80 to 82, a double-byte character code is used in that block. In the example shown in
In the text data fields of the packs whose ID1 is 80, album name and the titles of music recorded in the respective tracks are recorded contiguously, with a null code 00 (in the case of a single-byte character) or 00 00 (in the case of a double-byte character) recorded to separate each track. In the example shown in
The byte ID4 in each of these packs carries a character code identification bit, block number, and character position that are recorded in the format shown in
As earlier described, when the text data is recorded in a double-byte character code, the track separation code is a two-byte null code 00; therefore, the characters before and after that are recorded, for example, as “6B 79 00 00 82 B3”. Here, if the double-byte character separating position is displaced, for example, due to an error at the time of writing, the characters may be recognized, for example, as “79 00 00 82 B3 8A”, resulting in garbled characters or an inability to recognize an end code. In view of this, if any set of two bytes forming a double-byte character code is detected in which, of the two bytes, only one byte coincides with the null code, as in “XX 00” or “00 XX” (XX is an arbitrary hexadecimal number other than 00), then it is determined that abnormal data is recorded.
As previously described, in the lower four bits of the ID4 of each pack, the character position indicating the ordinal position that the first character of the text data in that pack holds within the track to which that character belongs is recorded using a single-digit hexadecimal number starting with 0. Accordingly, an abnormality in the text data, if any, can be detected by actually examining the ordinal position of the character recorded at the beginning or end of the pack and by checking that it does not contradict the information carried in the ID4.
For any text data in which an abnormality is detected in the abnormal data detection process shown in
The above-described process can be implemented by a software program created by programming the operations of the CPU (not shown) built into the control section 12 shown in
As described above, according to the present invention, there is provided a playback apparatus that can detect an abnormality in the text data recorded on a recording medium and can perform appropriate processing for display.
Number | Date | Country | Kind |
---|---|---|---|
2003-207363 | Aug 2003 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2004/011715 | 8/9/2004 | WO | 00 | 2/10/2006 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2005/015559 | 2/17/2005 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6174170 | Olmedo | Jan 2001 | B1 |
6473376 | Tsuda et al. | Oct 2002 | B1 |
6519676 | Suzuki et al. | Feb 2003 | B1 |
6961903 | Suzuki et al. | Nov 2005 | B2 |
Number | Date | Country |
---|---|---|
59153227 | Sep 1984 | JP |
3069066 | Mar 1991 | JP |
7121333 | May 1995 | JP |
10247357 | Sep 1998 | JP |
11015672 | Jan 1999 | JP |
2000-113644 | Apr 2000 | JP |
2000-156074 | Jun 2000 | JP |
2003-009060 | Jan 2003 | JP |
2003-178536 | Jun 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20060206750 A1 | Sep 2006 | US |