The present invention relates to a reproducing apparatus and a reproducing method that are suitable for reproducing a program from a record medium on which both a program that has been reproduction restricted and a program that has not been reproduction restricted (namely, a program that can be freely reproduced) have been recorded.
EEPROM (Electrically Erasable Programmable ROM) that is an electrically rewritable memory requires a large space because each bit is composed of two transistors. Thus, the integration of EEPROM is restricted. To solve this problem, a flash memory that allows one bit to be accomplished with one transistor using all-bit-erase system has been developed. The flash memory is being expected as a successor of conventional record mediums such as magnetic disks and optical discs.
A memory card using a flash memory is also known. The memory card can be freely attached to an apparatus and detached therefrom. A digital audio recording/reproducing apparatus that uses a memory card instead of a conventional CD (Compact Disc: Trademark) or MD (Mini Disc: Trademark) can be accomplished.
When a user buys commercially available package software for example a CD, he or she is assured of unlimited duration of reproduction and unlimited number of reproduction times for the package software. On the other hand, as audio and video information is digitized and used as multi media, in recent years, the copyright protection has become important. In the field of information service, digitized audio and video information is recorded on a record medium in such a manner that some restriction information is added thereto. In such a format, information is provided to a user. In addition, a service of which digitized audio and video information to which some reproduction restriction information is added is distributed to each user through a digital broadcast or the Internet has been studied. In such a circumstance, for an advertisement, free audio and video information that has been reproduction restricted with respect to the duration of reproduction and the number of reproduction times may be distributed to each user. In this case, each user can reproduce the audio and video information (called a program or a content) for the duration and the number of reproduction times represented in the reproduction restriction information. When a user wants the audio and video information, he or she can record it to a memory card at a predetermined price.
In such a situation, there is a possibility of which both a program that has not been reproduction restricted (that can freely reproduced) and a program that has been reproduction restricted are recorded on one record medium. When a program is reproduced from such a record medium by a conventional reproducing apparatus, the user will face an inconvenient problem. When the user repeatedly reproduces programs, he or she can freely reproduce a program that has not been reproduction restricted. In contrast, when a program that has been reproduction restricted is reproduced with respect to the number of reproduction times, after the number of reproduction times of the program that has been reproduction restricted exceeds the designated number of reproduction times, the program cannot be reproduced. Thus, there is a case that it is preferred to exclude a program that has been reproduction restricted from a program repeat reproducing operation. In addition, there is a method for asking the user whether or not he or she wants to reproduce a program that has been reproduction restricted. However, when a program that has been reproduction restricted is tried to be reproduced, the reproducing operation is stopped and the user is asked whether or not he or she wants to reproduce it. Thus, the operability of the apparatus deteriorates.
Therefore, an object of the present invention is to provide a reproducing apparatus and a reproducing method that allow the user to designate an operating method for a program that has been reproduction restricted.
To solve the forgoing problem, claim 1 of the present invention is a reproducing apparatus for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the number of reproduction times and a program that has not been reproduction restricted with respect to the number of reproduction times have been recorded, the record medium having a management area for managing an identifier that represents whether or not a program has been reproduction restricted with respect to the number of reproduction times, the reproducing apparatus comprising:
a determining means for determining whether or not a program to be reproduced has been reproduction restricted with respect to the number of reproduction times corresponding to the identifier managed in the management area,
wherein the reproducing apparatus has a mode designating function that allows at least two of a first mode, a second mode, and a third mode to be designated, when the determined result of the determining means represents that the program to be reproduced has been reproduction restricted with respect to the number of reproduction times, the first mode asking the user whether or not he or she wants to reproduce the program, the second mode forcedly prohibiting the program from being reproduced, the third mode causing the program to be unconditionally reproduced.
Claim 4 of the present invention is a reproducing apparatus for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the number of reproduction times and a program that has not been reproduction restricted with respect to the number of reproduction times have been recorded, the record medium having a management area for managing an identifier that represents whether or not a program has been reproduction restricted with respect to the number of reproduction times, the reproducing apparatus comprising:
a determining means for determining whether or not a program repeat reproducing operation has been designated; and
a controlling means for causing the reproducing apparatus to repeatedly reproduce a program except for a program that has been reproduction restricted with respect to the number of reproduction times when the determined result of the determining means represents that the program repeat reproducing operation has been designated.
Claim 8 of the present invention is a reproducing apparatus for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the duration of reproduction has been recorded, the reproducing apparatus comprising:
a date and time counting means for counting the date and time;
an operating means for allowing the user to input date and time information;
a memory means for storing date and time information that is input by the operating means;
a determining means for determining whether or not the date and time information has been stored in the memory means; and
a controlling means for prohibiting a program that has been reproduction restricted with respect to the duration of reproduction from being reproduced when the determined result of the determining means represents that the date and time information has not been stored in the memory means.
Claim 9 of the present invention is a reproducing method for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the number of reproduction times and a program that has not been reproduction restricted with respect to the number of reproduction times have been recorded, the record medium having a management area for managing an identifier that represents whether or not a program has been reproduction restricted with respect to the number of reproduction times, the reproducing method comprising the steps of:
determining whether or not a program to be reproduced has been reproduction restricted with respect to the number of reproduction times corresponding to the identifier managed in the management area,
wherein the reproducing method has a mode designating function that allows at least two of a first mode, a second mode, and a third mode to be designated, when the determined result at the determining step represents that the program to be reproduced has been reproduction restricted with respect to the number of reproduction times, the first mode asking the user whether or not he or she wants to reproduce the program, the second mode forcedly prohibiting the program from being reproduced, the third mode causing the program to be unconditionally reproduced.
Claim 12 of the present invention is a reproducing method for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the number of reproduction times and a program that has not been reproduction restricted with respect to the number of reproduction times have been recorded, the record medium having a management area for managing an identifier that represents whether or not a program has been reproduction restricted with respect to the number of reproduction times, the reproducing method comprising the steps of:
determining whether or not a program repeat reproducing operation has been designated; and
causing a program except for a program that has been reproduction restricted with respect to the number of reproduction times to be repeatedly reproduced when the determined result at the determining step represents that the program repeat reproducing operation has been designated.
Claim 16 of the present invention is a reproducing method for reproducing a program from a record medium on which a program that has been reproduction restricted with respect to the duration of reproduction has been recorded, the reproducing method comprising the steps of:
allowing the user to input date and time information;
storing date and time information that is input to memory means;
determining whether or not the date and time information has been stored in the memory means; and
prohibiting a program that has been reproduction restricted with respect to the duration of reproduction from being reproduced when the determined result at the determining step represents that the date and time information has not been stored in the memory means.
According to claims 1 to 7 and 9 to 15 of the present invention, in a mode that the user has designated, a program that has been reproduction restricted can be reproduced. Thus, a program that has been reproduction restricted can be prevented from being reproduced against the user's will.
Next, an embodiment of the present invention will be described.
The recording/reproducing apparatus has an audio encoder/decoder IC 10, a security IC 20, a DSP (Digital Signal Processor) 30. Each of these devices is composed of a one-chip IC. The recording/reproducing apparatus has a detachable memory card 40. The one-chip IC of the memory card 40 has flash memory (nonvolatile memory), a memory control block, and a security block. The security block has a DES (Data Encryption Standard) encrypting circuit. According to the embodiment, the recording/reproducing apparatus may use a microcomputer instead of the DSP 30.
The audio encoder/decoder IC 10 has an audio interface 11 and an encoder/decoder block 12. The encoder/decoder block 12 encodes a digital audio data corresponding to a highly efficient encoding method and writes the encoded data to the memory card 40. In addition, the encoder/decoder block 12 decodes encoded data that is read from the memory card 40. As the highly efficient encoding method, the ATRAC3 format that is a modification of the ATRAC (Adaptive Transform Acoustic Coding) format used in Mini-Disc is used.
In the ATRAC3 format, audio data sampled at 44.1 kHz and quantized with 16 bits is highly efficiently encoded. In the ATRAC3 format, the minimum data unit of audio data that is processed is a sound unit (SU). 1 SU is data of which data of 1024 samples (1024×16 bits×2 channels) is compressed to data of several hundred bytes. The duration of 1 SU is around 23 msec. In the highly efficient encoding method, the data amount of audio data is compressed to data that is around 10 times smaller than that of original data. As with the ATRAC1 format used in Mini-Disc, the audio signal compressed and decompressed corresponding to the ATRAC3 format less deteriorates in the audio quality.
A line input selector 13 selectively supplies the reproduction output signal of an MD, the output signal of a tuner, or a reproduction output signal of a tape to an A/D converter 14. The A/D converter 14 converts the input line signal to a digital audio signal (sampling frequency=44.1 kHz; the number of quantizing bits=16). A digital input selector 16 selectively supplies a digital output signal of an MD, a CD, or a CS (Satellite Digital Broadcast) to a digital input receiver 17. The digital input signal is transmitted through for example an optical cable. An output signal of the digital input receiver 17 is supplied to a sampling rate converter 15. The sampling rate converter 15 converts the digital input signal into a digital audio signal (sampling frequency=44.1 kHz; the number of quantizing bits=16).
The encoder/decoder block 12 of the audio encoder/decoder IC 10 supplies encoded data to a DES encrypting circuit 22 through an interface 21 of the security IC 20. The DES encrypting circuit 22 has a FIFO 23. The DES encrypting circuit 22 is disposed so as to protect the copyright of contents. The memory card 40 also has a DES encrypting circuit. The DES encrypting circuit 22 of the recording/reproducing apparatus has a plurality of master keys and an apparatus-unique storage key. The DES encrypting circuit 22 also has a random number generating circuit. The DES encrypting circuit 22 can share an authenticating process and a session key with the memory card 40 that has the DES encrypting circuit. In addition, the DES encrypting circuit 22 can re-encrypt data with the storage key of the DES encrypting circuit.
The encrypted audio data that is output from the DES encrypting circuit 22 is supplied to a DSP (Digital Signal Processor) 30. The DSP 30 communicates with the memory card 40 through an interface. In this example, the memory card 40 is attached to an attaching/detaching mechanism (not shown) of the recording/reproducing apparatus. The DSP 30 writes the encrypted data to the flash memory of the memory card 40. The encrypted data is serially transmitted between the DSP 30 and the memory card 40. In addition, an external SRAM (Static Random Access Memory) 31 is connected to the DSP 30. The SRAM 31 provides the recording/reproducing apparatus with a sufficient storage capacity so as to control the memory card 40.
In addition, encrypted ATRAC3 data is supplied from an external personal computer (not shown) to the DSP 30 through an interface 33. When predetermined application software is installed to the external personal computer, it can capture audio file and so forth compressed corresponding to EMD (Electronic Music Distribution), music CD, or MP3 (MPEG1 Audio Layer III) to a hard disk, converts the captured data into ATRAC3 format data, encrypts the converted data, and outputs the encrypted data.
Reference numeral 32 represents a system controller that controls the operation of the entire audio system shown in
The encrypted ATRAC3 data that is read from the memory card 40 by the DSP 30 is decrypted by the security IC 20. The audio encoder/decoder IC 10 decodes the encoded data corresponding to the ATRAC3 format. Output data of the audio encoder/decoder 10 is supplied to a D/A converter 18. The D/A converter 18 converts the output data of the audio encoder/decoder 10 into an analog audio signal. The analog audio signal is supplied to a line output terminal 19. The analog audio signal is supplied to an amplifying unit (not shown) through the line output terminal 19. The analog audio signal is reproduced from a speaker or a head set. The external controller supplies a muting signal to the D/A converter 18. When the muting signal represents a mute-on state, the external controller prohibits the audio signal from being output from the line output terminal 19.
In addition, encrypted ATRAC3 data that is read from the memory card 40 is supplied from the DSP 30 to the external personal computer through an interface 33. The ATRAC3 data is stored in a hard disk of the personal computer.
The DSP 30 controls a writing process for writing encrypted audio data and additional information to the memory card 40 corresponding to an operation signal such as a record command received from the system controller 32 and a reading process for reading them therefrom. In other words, the DSP 30 is disposed between the application software side of the audio system that records/reproduces audio data and additional information and the memory card 40. The DSP 30 is operated when the memory card 40 is accessed. In addition, the DSP 30 is operated corresponding to software such as a file system.
The DSP 30 manages files stored in the memory card 40 with the FAT system used in conventional personal computers. In addition to the file system, according to the embodiment of the present invention, a management file is used. The management file will be descried later. The management file is used to manage data files stored in the memory card 40. The management file as the first file management information is used to manage audio data files. On the other hand, the FAT as the second file management information is used to mange all files including audio data files and management files stored in the flash memory of the memory card 40. The management file is stored in the memory card 40. The FAT is written to the flash memory along with the route directory and so forth before the memory card 40 is shipped. The details of the FAT will be described later.
According to the embodiment of the present invention, to protect the copyright of data, audio data that has been compressed corresponding to the ATRAC3 format is encrypted. On the other hand, since it is not necessary to protect the copyright of the management file, it is not encrypted. There are two types of memory cards that are an encryption type and a non-encryption type. However, a memory card for use with the recorder/player that records copyright protected data is limited to the encryption type. Voice data and image data that are recorded by users are recorded on non-encryption type memory cards.
The clock line SCK is used for transmitting a clock signal in synchronization with data. The status line SBS is used for transmitting a signal that represents the status of the memory card 40. The data line DIO is used for inputting and outputting a command and encrypted audio data. The interrupt line INT is used for transmitting an interrupt signal that causes the memory card 40 to interrupt the DSP 30 of the recorder/player. When the memory card 40 is attached to the recorder/player, the memory card 40 generates the interrupt signal. However, according to the embodiment of the present invention, since the interrupt signal is transmitted through the data line DIO, the interrupt line INT is grounded.
A serial/parallel converting, parallel/serial converting, and interface block (S/P, P/S, I/F block) 43 is an interface disposed between the DSP 30 of the recorder/player and the control block 41 of the memory card 40. The S/P, P/S, and IF block 43 converts serial data received from the DSP 30 of the recorder/player into parallel data and supplies the parallel data to the control block 41. In addition, the S/P, P/S, and IF block 43 converts parallel data received from the control block 41 into serial data and supplies the serial data to the DSP 30. When the S/P, P/S, and IF block 43 receives a command and data through the data line DIO, the S/P, P/S, and IF block 43 separates them into these that are normally accessed to the flash memory 42 and those that are encrypted.
In the format of which data is transmitted through the data line DIO, after a command is transmitted, data is transmitted. The S/P, P/S, and IF block 43 detects the code of a command and determines whether the command and data are those that are normally accessed or those that are encoded. Corresponding to the determined result, the S/P, P/S, and IF block 43 stores a command that is normally accessed to a command register 44 and stores data that is normally accessed to a page buffer 45 and a write register 46. In association with the write register 46, the memory card 40 has an error correction code encoding circuit 47. The error correction code encoding circuit 47 generates a redundant code that is an error correction code for data temporarily stored in the page buffer 45.
Output data of the command register 44, the page buffer 45, the write register 46, and the error correction code encoding circuit 47 is supplied to a flash memory interface and sequencer (hereinafter, referred to as memory I/F and sequencer) 51. The memory IF and sequencer 51 is an interface disposed between the control block 41 and the flash memory 42 and controls data exchanged therebetween. Data is written to the flash memory through the memory IF and sequencer 51.
Audio data that has been compressed corresponding to the ATRAC3 format and written to the flash memory (hereinafter, this audio data is referred to as ATRAC3 data) is encrypted by the security IC 20 of the recorder/player and the security block 52 of the memory card 40 so as to protect the copyright of the ATRAC3 data. The security block 52 comprises a buffer memory 53, a DES encrypting circuit 54, and a nonvolatile memory 55.
The security block 52 of the memory card 40 has a plurality of authentication keys and a unique storage key for each memory card. The nonvolatile memory 55 stores a key necessary for encrypting data. The key stored in the nonvolatile memory 55 cannot be analyzed. According to the embodiment, for example, a storage key is stored in the nonvolatile memory 55. The security block 52 also has a random number generating circuit. The security block 52 authenticates an applicable recorder/player and shares a session key therewith. In addition, the security block 52 re-encrypts contents with the storage key through the DSE encrypting circuit 54.
For example, when the memory card 40 is attached to the recorder/player, they are mutually authenticated. The security IC 20 of the recorder/player and the security block 52 of the memory card 40 mutually authenticate. When the recorder/player has authenticated the attached memory card 40 as an applicable memory card and the memory card 40 has authenticated the recorder/player as an applicable recorder/player, they are mutually authenticated. After the mutual authenticating process has been successfully performed, the recorder/player and the memory card 40 generate respective session keys and share them with each other. Whenever the recorder/player and the memory card 40 authenticate each other, they generate respective session keys.
When contents are written to the memory card 40, the recorder/player encrypts a contents key with a session key and supplies the encrypted data to the memory card 40. The memory card 40 decrypts the contents key with the session key, re-encrypts the contents key with a storage key, and supplies the contents key to the recorder/player. The storage key is a unique key for each memory card 40. When the recorder/player receives the encrypted contents key, the recorder/player performs a formatting process for the encrypted contents key, and writes the encrypted contents key and the encrypted contents to the memory card 40.
In the above section, the writing process for the memory card 40 was described. In the following, the reading process for the memory card 40 will be described. Data that is read from the flash memory 42 is supplied to the page buffer 45, the read register 48, and the error correction circuit 49 through the memory IF and the sequencer 51. The error correcting circuit 49 corrects an error of the data stored in the page buffer 45. Output data of the page buffer 45 that has been error-corrected and the output data of the read register 48 are supplied to the S/P, P/S, and IF block 43. The output data of the S/P, P/S, and IF block 43 is supplied to the DSP 30 of the recorder/player through the above-described serial interface.
When data is read from the memory card 40, the contents key encrypted with the storage key and the contents encrypted with the block key are read from the flash memory 42. The security block 52 decrypts the contents key with the storage key. The security block 52 re-encrypts the decrypted content key with the session key and transmits the re-encrypted contents key to the recorder/player. The recorder/player decrypts the contents key with the received session key and generates a block key with the decrypted contents key. The recorder/player successively decrypts the encrypted ATRAC3 data.
A config. ROM 50 is a memory that stores partition information, various types of attribute information, and so forth of the memory card 40. The memory card 40 also has an erase protection switch 60. When the switch 60 is in the erase protection position, even if a command that causes the memory card 40 to erase data stored in the flash memory 42 is supplied from the recorder/player side to the memory card 40, the memory card 40 is prohibited from erasing the data stored in the flash memory 42. An OSC cont. 61 is an oscillator that generates a clock signal that is the reference of the timing of the process of the memory card 40.
One page is composed of a data portion of 512 bytes and a redundant portion of 16 bytes. The first three bytes of the redundant portion is an overwrite portion that is rewritten whenever data is updated. The first three bytes successively contain a block status area, a page status area, and an update status area. The remaining 13 bytes of the redundant portion are fixed data that depends on the contents of the data portion. The 13 bytes contain a management flag area (1 byte), a logical address area (2 bytes), a format reserve area (5 bytes), a dispersion information ECC area (2 bytes), and a data ECC area (3 bytes). The dispersion information ECC area contains redundant data for an error correction process against the management flag area, the logical address area, and the format reserve area. The data ECC area contains redundant data for an error correction process against 512-byte data.
The management flag area contains a system flag (1: user block, 0: boot block), a conversion table flag (1: invalid, 0: table block), a copy prohibition flag (1: OK, 0: NG), and an access permission flag (1: free, 0: read protect).
The first two blocks—blocks 0 and 1 are boot blocks. The block 1 is a backup of the block 0. The boot blocks are top blocks that are valid in the memory card. When the memory card is attached to the recorder/player, the boot blocks are accessed at first. The remaining blocks are user blocks. Page 0 of the boot block contains a header area, a system entry area, and a boot and attribute information area. Page 1 of the boot block contains a prohibited block data area. Page 2 of the boot block contains a CIS (Card Information Structure)/IDI (identify Drive Information) area.
The header area of the boot block contains a boot block ID and the number of effective entries. The system entries are the start position of prohibited block data, the data size thereof, the data type thereof, the data start position of the CIS/IDI area, the data size thereof, and the data type thereof. The boot and attribute information contains the memory card type (read only type, rewritable type, or hybrid type), the block size, the number of blocks, the number of total blocks, the security/non-security type, the card fabrication data (date of fabrication), and so forth.
Since the flash memory has a restriction for the number of rewrite times due to the deterioration of the insulation film, it is necessary to prevent the same storage area (block) from being concentratedly accessed. Thus, when data at a particular logical address stored at a particular physical address is rewritten, updated data of a particular block is written to a non-used block rather than the original block. Thus, after data is updated, the relation between the logical address and the physical address changes. This process is referred to as swap process. Consequently, the same block is prevented from being concentratedly accessed. Thus, the service life of the flash memory can be prolonged.
The logical address associates with data written to the block. Even if the block of the original data is different from the block of updated data, the address on the FAT does not change. Thus, the same data can be properly accessed. However, since the swap process is performed, a conversion table that correlates logical addresses and physical addresses is required (this table is referred to as logical-physical address conversion table). With reference to the logical-physical address conversion table, a physical address corresponding to a logical address designated on the FAT is obtained. Thus, a block designated with a physical address can be accessed.
The DSP 30 stores the logical-physical address conversion table in the SRAM. When the storage capacity of the RAM is small, the logical-physical address conversion table can be stored to the flash memory. The logical-physical address conversion table correlates logical addresses (2 bytes) sorted in the ascending order with physical addresses (2 bytes). Since the maximum storage capacity of the flash memory is 128 MB (8192 blocks), 8192 addresses can be assigned with two bytes. The logical-physical address conversion table is managed for each segment. Thus, the size of the logical-physical address conversion table is proportional to the storage capacity of the flash memory. When the storage capacity of the flash memory is 8 MB (two segments), two pages are used as the logical-physical address conversion table for each of the segments. When the conversion table is stored in the flash memory, a predetermined one bit of the management flag area in the redundant portion in each page represents whether or not the current block is a block containing the logical-physical address conversion table.
The above-described memory card can be used with the FAT system of a personal computer system as with the disc shaped record medium. The flash memory has an IPL area, a FAT area, and a route directory area (not shown in
Next, with reference to
The boot sector, the FAT area, the FAT backup area, the root directory area, the sub directory area, and the data area are collectively referred to as FAT partition area.
The partition table portion contains the start address and the end address of the FAT partition area. The FAT used for a conventional floppy disk does not have such a partition table. Since the first track has only a partition table, there is a blank area.
The boot sector contains the size of the FAT structure (12 bit FAT or 16 bit FAT), the cluster size, and the size of each area. The FAT is used to manage the position of a file recorded in the data area. The copy area of the FAT is a backup area of the FAT. The route directory area contains file names, start cluster addresses thereof, and various attributes thereof. The route directory area uses 32 bytes per file.
The sub directory area is a directory attribute file as a directory. In the embodiment shown in
An area after cluster 2 is used as a data area. In this embodiment, audio data that has been compressed corresponding to the ATRAC3 format is recorded in the data area. A slot of the file name MAN.MSA is assigned address “110” on the FAT.
According to the embodiment of the present invention, audio data that has been compressed corresponding to the ATRAC3 format and that has the file name CAT.MSA is recorded in clusters 5, 6, 7, and 8. Audio data of DOG-1 as the first half of a file that has been compressed corresponding to the ATAC3 format and that has the file name DOG.MSA is recorded in clusters 10, 11, and 12. Audio data DOG-2 as the second half of the file that has been compressed corresponding to the ATRAC3 format and that has the file name DOG.MSA is recorded in clusters 100 and 101. Audio data that has been compressed corresponding to the ATRAC3 format and that has the file name MAN.MSA is recorded in clusters 110 and 111.
According to the embodiment of the present invention, an example of which a single file is divided into two portions and dispersedly recorded is described. In the example, an area “Empty” in the data area is a recordable area.
An area after cluster 200 is used for managing file names. The file CAT.MSA is recorded in cluster 200. The file DOG.MSA is recorded in cluster 201. The file MAN.MSA is recorded in cluster 202. When the positions of the files are changed, the area after cluster 200 is rearranged.
When the memory card is attached at the first time, the beginning and the end of the FAT partition area are recorded with reference to the top partition table portion. After the boot sector portion is reproduced, the root directory area and the sub directory area are reproduced. The slot of the reproduction management information PBLIST.MSF in the sub directory area is detected so as to reference the address of the end portion of the slot of the file PBLIST.MSF.
According to the embodiment, since address “200” is recorded at the end of the slot of the file PBLIST.MSF, cluster 200 is referenced. The area after cluster 200 is used for managing file names and the reproduction order thereof. According to the embodiment, the file CAT.MSA is the first program. The file DOG.MSA is the second program. The file MAN.MSA is the third program.
After all the areas after cluster 200 are referenced, in the subdirectory, slots of the files CAT.MSA, DOG.MSA, and MAN.MSA are referenced. In
When an entry address is searched on the FAT with address “5” recorded at the end of the slot of the file name CAT.MSA, cluster address “6” is obtained. When an entry address is searched on the FAT with address “6”, cluster address “7” is obtained. When an entry address is searched on the FAT with address “8”, code “FFF” that represents the end is obtained.
Thus, the file CAT.MSA uses clusters 5, 6, 7, and 8. With reference to clusters 5, 6, 7, and 8 in the data area, an area of ATRAC3 data with the file name CAT.MSA can be accessed.
Next, a method for searching the file DOG.MSA that has been dispersedly recorded will be described. The end of the slot of the file DOG.MSA is assigned address “10”. When an entry address is searched on the FAT with address “10”, cluster address “11” is obtained. When an entry address is searched on the FAT with address “11”, cluster address “12” is obtained. When an entry address is searched on the FAT with address “12”, cluster address “100” is obtained. When an entry address is searched on the FAT with address “100”, cluster address “101” is obtained. When an entry address is searched on the FAT with address “101”, code “FFF” that represents the end is obtained.
Thus, the file DOG.MSA uses clusters 10, 11, 12, 100, and 101. When clusters 10, 11, and 12 of the data area are referenced, an area of ATRAC3 data corresponding to the first part of the file DOG.MSA can be accessed. When clusters 100 and 101 of the data area are referenced, an area of ATRAC3 data corresponding to the second part of the file DOG.MSA can be accessed.
In addition, when an entry address is searched on the FAT with address “110” recorded at the end of the slot of the file name MAN.MSA, cluster address “111” is obtained. When an entry address is searched on the FAT with address “111”, code “FFF” that represents the end is obtained.
Thus, the file MAN.MSA uses clusters 110 and 111. When clusters 110 and 111 of the data area are referenced, an area of ATRAC3 data of the file MAN.MSA can be accessed.
As described above, a data file dispersed in the flash memory can be linked and sequentially reproduced.
According to the embodiment of the present invention, in addition to the file management system defined in the format of the memory card 40, a management file is used for managing tracks as music files and parts thereof. The management file is recorded in the flash memory 42 using a user block of the memory card 40. Thus, as will be described later, even if the FAT of the memory card 40 is destroyed, a file can be recovered.
The management file is created by the DSP 30. For example, when the power of the recorder/player is turned on at the first time, the DSP 30 determines whether or not the memory card 40 has been attached to the recorder/player. When the memory card has been attached, the DSP 30 authenticates the memory card 40. When the DSP 30 has successfully authenticated the memory card 40, the DSP 30 reads a boot block of the flash memory 42. Thereafter, the DSP 30 reads a physical address—logical address conversion table and stores the read data to the SRAM. The data that has been read to the DSP 30 is stored in an SRAM. Before the memory card is shipped, the FAT and the route directory have been already written to the flash memory of the memory card 40. On the other hand, when data is recorded to the memory card 40, the management file is created.
In other words, a record command issued by the user's remote controller or the like is supplied from the system controller 32 to the DSP 30. The encoder/decoder IC 10 compresses the received audio data and supplies the resultant ATRAC3 data to the security IC 20. The security IC 20 encrypts the ATRAC3 data. The encrypted ATRAC3 data is recorded to the flash memory 42 of the memory card 40. Thereafter, the FAT and the management file are updated. Whenever a file is updated (in reality, whenever the recording operation of audio data is started and completed), the FAT and the management file stored in the SRAMs 31 and 36 are rewritten. When the memory card 40 is detached from the recorder/player or its power is turned off, the latest FAT and management file that are supplied from the SRAMs 31 and 36 are recorded to the flash memory 42. Alternatively, whenever the recording operation of audio data is started and completed, the FAT and the management file stored in the flash memory 42 may be rewritten. In addition, when audio data is edited, the contents of the management file are updated.
In the data structure according to the embodiment, additional information is created and updated in the management file. The additional information is recorded to the flash memory 42. In another data structure of the management file, an additional information management file is independently created besides the track management file. The additional information is supplied from the system controller 32 to the DSP 30. The additional information received by the bSP 30 is recorded to the flash memory 42 of the memory card 40. Since the additional information is not supplied to the security IC 20, it is not encrypted. When the memory card 40 is detached from the recorder/player or its power is turned off, the additional information is written from the SRAM of the DSP 30 to the flash memory 42.
The reproduction management file shown in
The attribute data is followed by ATRAC3 music data. The music data is block-segmented every 16 KB. Each block starts with a header. The header contains an initial value for decrypting encrypted data. Only music data of an ATRAC3 data file is encrypted. Thus, other data such as the reproduction management file, the header, and so forth are not encrypted.
Next, with reference to
One music program is basically composed of one part. However, when a music program is edited, one music program may be composed of a plurality of parts. A part is a unit of data that is successively recorded. Normally, one track is composed of one part. The connection of parts of a music program is managed with part information PRTINF in the attribute header of each music program. In other words, the part size is represented with part size PRTSIZE (4 bytes) of the part information PRTINF. The first two bytes of the part size PRTSIZE represents the number of total clusters of the current part. The next two bytes represent the positions of the start sound unit (SU) and the end sound unit (SU) of the beginning and last clusters, respectively. Hereinafter, a sound unit is abbreviated as SU. With such a part notation, when music data is edited, the movement of the music data can be suppressed. When music data is edited for each block, although the movement thereof can be suppressed, the edit unit of a block is much larger than the edit unit of a SU.
SU is the minimum unit of a part. In addition, SU is the minimum data unit in the case that audio data is compressed corresponding to the ATRAC3 format. 1 SU is audio data of which data of 1024 samples at 44.1 kHz (1024×16 bits×2 channels) is compressed to data that is around 10 times smaller than that of original data. The duration of 1 SU is around 23 msec. Normally, one part is composed of several thousand SU. When one cluster is composed of 42 SU, one cluster allows a sound of one second to be generated. The number of parts composing one track depends on the size of the additional information. Since the number of parts is obtained by subtracting the header, the program name, the additional data, and so forth from one block, when there is no additional information, the maximum number of parts (645 parts) can be used.
There are four types of edit processes that are a divide process, a combine process, an erase process, and a move process. The divide process is performed to divide one track into two portions. When the divide process is performed, the number of total tracks increases by one. In the divide process, one file is divided into two files on the file system. Thus, in this case, the reproduction management file and the FAT are updated. The combine process is performed to combine two tracks into one track. When the combine process is performed, the number of total tracks decreases by one. In the combine process, two files are combined into one file on the file system. Thus, when the combine process is performed, the reproduction management file and the FAT are updated. The erase process is performed to erase a track. The track numbers after the track that has been erased decrease one by one. The move process is performed to change the track sequence. Thus, when the erase process or the move process is performed, the reproduction management file and the FAT are updated.
As described above, according to the embodiment of the present invention, since the part notation is defined, as the combined result (see
The first 32 bytes of (0x0000) to (0x0010) shown in
Next, areas (see
As the last slot of the reproduction management file, the same BLKID TL0, MCode, and REVISION as those in the header are written.
While data is being recorded to a memory card, it may be mistakenly or accidentally detached or the power of the recorder/player may be turned off. When such an improper operation is performed, a defect should be detected. As described above, the REVISION area is placed at the beginning and end of each block. Whenever data is rewritten, the value of the REVISION area is incremented. If a defect termination takes place in the middle of a block, the value of the REVISION area at the beginning of the block does not match the value of the REVISION area at the end of the block. Thus, such a defect termination can be detected. Since there are two REVISION areas, the abnormal termination can be detected with a high probability. When an abnormal termination is detected, an alarm such as an error message is generated.
In addition, since the fixed value BLKID TL0 is written at the beginning of one block (16 KB), when the FAT is destroyed, the fixed value is used as a reference for recovering data. In other words, with reference to the fixed value, the type of the file can be determined. Since the fixed value BLKID TL0 is redundantly written at the header and the end portion of each block, the reliability can be secured. Alternatively, the same reproduction management file can be redundantly recorded.
The data amount of an ATRAC3 data file is much larger than that of the track information management file. In addition, as will be described later, a block number BLOCK SERIAL is added to ATRAC3 data file. However, since a plurality of ATRAC3 data files are recorded to the memory card, to prevent them from become redundant, both CONNUM0 and BLOCK SERIAL are used. Otherwise, when the FAT is destroyed, it will be difficult to recover the file. In other words, one ATRAC3 data file may be composed of a plurality of blocks that are dispersed. To identify blocks of the same ATRAC3 data file, CONNUM0 is used. In addition, to identify the order of blocks in the ATRAC3 data file, BLOCK SERIAL is used.
Likewise, the maker code (Mcode) is redundantly recorded at the beginning and the end of each block so as to identify the maker and the model in such a case that a file has been improperly recorded in the state that the FAT has not been destroyed.
Next, with reference to
In
In
In
Next, the music program title areas NM1 and NM2 will be described.
Data of 80 bytes starting from the fixed position (0x320) of the attribute header is referred to as track information area TRKINF. This area is mainly used to totally manage the security information and copy control information.
The secret sequence number is a sequence number recorded in the secret area of the memory card. A non-copyright protection type recorder cannot read data from the secret area of the memory card. On the other hand, a copyright protection type recorder and a computer that operates with a program that can read data from a memory card can access the secret area.
In the following description, monaural mode (N=0 or 1) is defined as a special joint mode of which bit 7=1, sub signal=0, main signal=(L+R). A non-copyright protection type player may ignore information of bits 2 and 1.
Bit 0 of the area A represents information of emphasis on/off state. Bit 1 of the area A represents information of reproduction skip or normal reproduction. Bit 2 represents information of data type such as audio data, FAX data, or the like. Bit 3 is undefined. By a combination of bits 4, 5, and 6, mode information of ATRAC3 is defined as shown in
For example, an example of which a 64 MB memory card is used in the SP mode will be described. A 64-MB memory card has 3968 blocks. In the SP mode, since 1 SU is 304 bytes, one block has 53 SU. 1 SU is equivalent to (1024/44100) seconds. Thus, one block is (1024/44100)×53×(3968 16)=4863 seconds=81 minutes.
The transmission rate is (44100/1024)×304×8=104737 bps.
The track information area TRKINF is followed by a 24-byte part management information area (PRTINF) starting from 0x0370. When one track is composed of a plurality of parts, the values of areas PRTINF of the individual parts are successively arranged on the time axis.
The above-described attribute header is followed by data of each block of an ATRAC3 data file. As shown in
In
When the FAT area is destroyed, all blocks of the flash memory are searched. It is determined whether the value of the block ID BLKID of the top block is TL0, HD0, or A3D. Next, with reference to a flow chart shown in
When the determined result at step SP1 represents that the value of the block ID BLKID of the top block is not TL0, the flow advances to step SP2. At step SP2, the block number is incremented. Thereafter, the flow advances to step SP3. at step SP3, it is determined whether or not the last block has been searched. When the determined result at step SP3 represents that the last block has not been searched, the flow returns to step SP1.
When the determined result at step SP1 represents that the value of the block ID BLKID of the top block is TL0, the flow advances to step SP4. At step SP4, it is determined that the searched block is the reproduction management file PBLIST. Thereafter, the flow advances to step SP5. At step SP5, with reference to the number of total tracks T TRK contained in the reproduction management file PBLIST, the number of total tracks N is stored to the register. For example, when the memory stores 10 ATRAC3 data files (10 music programs), the value of T-TRK is 10.
Next, at step SP6, with reference to the value of the number of total tracks T TRK, TRK 001 to TRK 400 of blocks are successively referenced. In this example, since 10 music programs have been recorded, only TRK 001 to TRK 010 of blocks are referenced.
Since a file number FNO is recorded in TRK XXX (where X=1 to 400), a table that represents the relation of the track numbers TRK XXX and the file numbers FNO is stored to the memory at step SP7.
At step SP8, the value of N stored in the register is decremented. At step SP9, a loop of steps SP6, SP7, and SP8 is repeated until the value of N becomes 0. When the determined result at step SP9 represents that the value N is 0, the flow advances to step SP10. At step SP10, the pointer is reset to the top block. The searching process is repeated from the top block.
Thereafter, the flow advances to step SP11. At step SP11, it is determined whether or not the value of the block ID BLKID of the top block is BLKID HD0. When the determined result at step SPl1 represents that the block ID BLKID of the top block is not BLKID HD0, the flow advances to step SP12. At step SP12, the block number is incremented. At step SP13, it is determined whether or not the last block has been searched.
When the determined result at step SP13 represents that the last block has not been searched, the flow returns to step SP11.
The searching process is repeated until the determined result at step SP11 represents that the value of the block ID BLKID of the top block is BLKID HD0. When the determined result at step SP11 represents that the value of the block ID BLKID of the top block is BLKID HD0, the flow advances to step SP14. At step SP14, it is determined that the block is the attribute header (see
Next, at step SP15, with reference to the file number FNO, the sequence number BLOCK SERIAL of the ATRAC data file, and the content cumulation number key CONNUM0 contained in the attribute header, they are stored to the memory. When 10 ATRAC3 data files (10 music programs) have been recorded, since there are 10 blocks whose block ID BLKID is BLKID TL0, the searching process is continued until they are searched.
When the determined result at step SP13 represents that the last block has been searched, the flow advances to step SP16. At step SP16, the pointer is reset to the top block. The searching process is repeated from the top block.
At step SP17, it is determined whether or not the value of the block ID BLKID of the top block is BLKID A3D. When the determined result at step SP17 represents that the value of the block ID BLKID of the top block is not BLKID A3D, the flow advances to step SP18. At step SP18, the block number is incremented. Thereafter, the flow advances to step SP19. At step SP19, it is determined whether or not the last block has been searched. When the determined result at step SP19 represents that the last block has not been searched, the flow returns to step SP17.
When the determined result at step SP17 represents that the value of the block ID BLKID of the top block is BLKID A3D, the flow advances to step SP20. At step SP20, it is determined that the block is a block in which the ATRAC3 data file has been recorded.
At step SP21, with reference to the serial number BLOCK SERIAL and the contents cumulation number key CONNUM0 recorded in the ATRAC3 data block, they are stored in the memory. In the same ATRAC3 data file, the same content cumulation number key CONNUM0 is assigned. In other words, when one ATRAC3 data file is composed of 10 blocks, the same number is assigned to CONNUM0 of each block.
In addition, when one ATRAC3 data file is composed of 10 blocks, serial numbers 1 to 0 are successively assigned to BLOCK SERIALs of the 10 blocks. With CONNUM0, it is determined whether or not the current block composes the same content. With BLOCKSERIAL, the reproduction order of the current block in the same content (namely, the connection sequence) can be obtained.
According to the embodiment of the present invention, when 10 ATRAC3 data files (namely, 10 music programs) have been recorded and each of the ATRAC3 data files is composed of 10 blocks, there are 100 data blocks. With reference to CONNUM0 and BLOCK SERIAL, the reproduction order of music programs of 100 data blocks and the connection order thereof can be obtained.
When the determined result at step SP19 represents that the last block has been searched, all the blocks have been searched for the reproduction management file, the ATRAC3 data file, and the attribute file. Thus, at step SP22, based on CONNUM0, BLOCK SERIAL, FNO, and TRK XXX stored in the memory corresponding to block numbers, a link state of a file are obtained. After the link state is obtained, the FAT may be created in a free non-destroyed area of the memory.
Next, a management file according to a second embodiment of the present invention will be described.
The track information area TRKINF nnnn and part information area PRTINF nnnn of the track information management file TRKLIST are used to manage the data file A3Dnnnn and the additional information INFLIST. Only the ATRAC3 data file A3Dnnnn is encrypted. In
According to the second embodiment, three files that are the track management file TRKLIST (including a program title file), the additional information management file INFLIST, and the data file A3Dnnnn are used. According to the first embodiment (see
Next, the data structure according to the second embodiment will be described. For simplicity, in the data structure according to the second embodiment, the description of similar portions to those of the first embodiment is omitted.
The last 16 bytes of the file TRKLIST are used for an area BLKID TL0, an area MCode, and an area REVISION that are the same as those of the header. The backup file TRKLISTB contains the above-described header. In this case, the header contains an area BLKID TL1, an area MCode, and an area REVISION.
The header is followed by a track information area TRKINF for information with respect to each track and a part information area PRTINF for information with respect to each part of tracks (music programs).
The track information area TRKINF nnn and the part information area PRTINF nnn contain areas of an ATRAC3 data file. In other words, the track information area TRKINF nnn and the part information area PRTINF nnn each contain a reproduction restriction flag area LT (1 byte), a contents key area CONTENTS KEY (8 bytes), a recorder/player security block serial number area MG(D) SERIAL (16 bytes), an area XT (2 bytes) (option) for representing a feature portion of a music program, an area INX (2 bytes) (option), an area YMDhms S (4 bytes) (option), an area YMDhms E (4 bytes) (option), an area MT (1 byte) (option), an area CT (1 byte) (option), an area CC (1 byte) (option), an area CN (1 byte) (option) (these areas YMDhms S, YMDhms E, MT, CT, CC, and CN are used for reproduction restriction information and copy control information), an area A (1 byte) for part attribute, a part size area PRTSIZE (4 bytes), a part key area PRTKEY (8 bytes), and a contents cumulation number area CONNUM (4 bytes). The meanings, functions, and values of these areas are the same as those of the first embodiment. In addition, the track information area TRKINF nnn and the part information area PRTINF nnn each contain the following areas.
Next, the areas NAME1 (for one byte code) and NAME2 (for two byte code) for managing names will be described.
BLKID INF (4 bytes)
According to the second embodiment of the present invention, in addition to the file system defined as a format of the memory card, the track information management file TRKLIST for music data is used. Thus, even if the FAT is destroyed, the file can be recovered.
All blocks of the flash memory whose FAT has been destroyed are searched for TL 0 as the value (BLKID) at the top position of each block. In addition, all the blocks are searched for NM 1 as the value (BLKID) at the top position of each block. Thereafter, all the blocks are searched for NM 2 as the value (BLKID) at the top position of each block. All the contents of the four blocks (track information management file) are stored to for example a hard disk by the recovery computer.
The number of total tracks is obtained from data after the fourth byte of the track information management file. The 20-th byte of the track information area TRKINF 001, the value of the area CONNUM 001 of the first music program, and the value of the next area P 001 are obtained. The number of parts is obtained with the value of the area P 001. The values of the areas PRTSIZE of all parts of the track 1 of the area PRTINF is obtained. The number of total blocks (clusters) n is calculated and obtained.
After the track information management file is obtained, the flow advances to step 102. At step 102, a voice data file (ATRAC3 data file) is searched. All blocks of other than the management file is searched from the flash memory. Blocks whose top value (BLKID) is A3D are collected.
A block of which the value of the area CONNUM0 at the 16-th byte of A3Dnnnn is the same as that of the area CONNUM 001 of the first music program of the track information management file and of which the value of the area BLOCK SERIAL that starts from 20-th byte is 0 is searched. After the first block is obtained, a block (cluster) with the same value of the area CONNUM value as the first block and of which the value of BLOCK SERIAL is incremented by 1 (1=0+1) is searched. After the second block is obtained, a block with the same value of the area CONNUM0 as the second block and of which the value of the area BLOCK SERIAL is incremented by 1 (2=1+1) is searched.
By repeating the process, the ATRC3 data.file is searched until n blocks (clusters) of the track 1 are obtained. When all the blocks (clusters) are obtained, they are successively stored to the hard disk.
The same process for the track 1 is performed for the track 2. In other words, a block of which the value of the area CONNUM0 is the same as that of the area CONNUM 002 of the first music program of the track information management file and of which the value of the area BLOCK SERIAL that starts at the 20-th byte is searched. Thereafter, in the same manner as the track 1, the ATRAC3 data file is searched until the last block (cluster) n′ is detected. After all blocks (clusters) are obtained, they are successively stored to the hard disk.
By repeating the above-described process for all tracks (the number of tracks: m), all the ATRAC3 data is stored to the hard disk controlled by the recovering computer.
At step 103, the memory card whose the FAT has been destroyed is re-initialized and then the FAT is reconstructed. A predetermined directory is formed in the memory card. Thereafter, the track information management file and the ATRAC3 data file for m tracks are copied from the hard disk to the memory card. Thus, the recovery process is finished.
In the management file and data file, important parameters (in particular, codes in headers) may be recorded triply rather than doubly. When data is redundantly recorded, the same data may be recorded at any positions as long as they are apart from each other for one page or more.
According to the present invention, as was described above, when a data file for example an audio file recorded on the memory card 40 is reproduced therefrom, even if a file that has been reproduction restricted and a file that has not been reproduction restricted have been stored on the memory card 40, they can be reproduced in a user's desired method. The system controller 32 and the operation portion (not shown) designate an audio file to be reproduced from the memory card 40 and a reproducing method thereof.
The following reproducing method can be applied for both the first format shown in
Bits 7 and 6 of LT (one byte) of the track information area TRKINF shown in
In the first mode, when a program that has been reproduction restricted is tried to be reproduced, the reproducing operation is paused, the user is informed that the program has been reproduction restricted, and the user is asked whether or not he or she wants to reproduce the program. Corresponding to the user's reply, the program is reproduced or prohibited from being reproduced. However, when the number of reproduction times of the program reaches the number of permitted reproduction times, the program is prohibited from being reproduced. In the second mode, when a program has been reproduction restricted, it is prohibited from being reproduced. In other words, in the second mode, a program that has been reproduction restricted is treated as if it were not present on the medium. In the third mode, a program that has been reproduction restricted is unconditionally reproduced. However in the third mode, when the number of reproduction times reaches the number of permitted reproduction times, the program is prohibited from being reproduced.
When a program (track) is prohibited from being reproduced, the program (track) is skipped. Alternatively, the program can be substantially prohibited from being reproduced in such a manner that the reproducing operation is stopped, that the reproduced output is muted, or that the program is erased from the medium. In the following description, term “reproduction prohibition” has the forgoing meaning. However, where appropriate, term “skip” may be used.
In
At step S35, it is determined whether or not the reproduction button has been pressed. When the determined result at step S35 represents that the reproduction button has been pressed, the flow advances to step S36. At step S36, it is determined whether or not the program to be reproduced has been reproduction restricted. When the determined result at step S36 represents that the program has not been reproduction restricted, the flow advances to step S37. At step S37, the program is normally reproduced. After one program has been reproduced, the flow advances to step S36. At step S36, it is determined whether or not the next program has been reproduction restricted.
When the determined result at step S36 represents that the program to be reproduced has been reproduction restricted, the flow advances to step S38. At step S38, a reproducing operation is performed corresponding to the mode stored in the nonvolatile memory 32a. Thereafter, the flow advances to step S39. At step S39, in any mode, the reproducing operation of the program that can be reproduced is completed. Thereafter, the next program is processed. After the program that has been reproduction restricted with respect to the number of reproduction times has been reproduced, a reproduction log file is recorded in additional information INF for the track, the additional information INF having been described in the attribute header of the reproduced data file. Thereafter, the flow returns to step S36.
Although the additional information INF has been described with reference to
The three-byte null is followed by data of one byte representing the number of reproduction times. In reality, the data of one byte is the value (eight bits) of CT. The value of CT before the program is reproduced or the value of CT after the program is reproduced is recorded. The value of CT is followed by data of reproduction date and time (YMDhms) of four bytes. The value of year (for example, 1980 to 2079) is recorded with seven bits. The value of month is recorded with four bits. The value of day (0 to 31) is recorded with five bits. The value of hour (0 to 23) is recorded with five bits. The value of minute (0 to 59) is recorded with six bits. The value of second (at intervals of two seconds) is recorded with five bits.
Whenever a program that has been reproduction restricted is reproduced, one reproduction log is recorded. At a result, with reproduction logs, the reproduction history of the program can be obtained. When management information such as additional information or track information is changed, the memory card 40 is attached to the recorder/player. The management information is read to the RAM of the system controller 32. The system controller 32 rewrites the management information stored in the RAM and records the changed management information to the memory card 40. When the memory card 40 is detached from the recorder/player or when the power thereof is turned off, rewritten management information may be recorded to the memory card 40.
When the determined result at step S41 represents that bit 6=0, the flow advances to step S42. At step S42, by comparing the reproduction start date and time YMDhms S with the reproduction end date and time YMDhms E, it is determined whether or not the program has been reproduction restricted with respect to the duration of reproduction (the program has been expired). When the determined result at step S42 represents that the program has been reproduction restricted with respect to the duration of reproduction (the program has been expired), the flow advances to step S43. At step S43, the program is prohibited from being reproduced. When the determined result at step S42 represents that the program has not been reproduction restricted with respect to the duration of reproduction (the program has not been expired), the flow advances to step S44. At step S44, it is determined whether or not bit 7 of LT is 0.
Since (bit 7: 0=not restricted; 1=restricted), when the determined result at step S44 represents that bit 7 is 0, the flow advances to step S45. At step S45, the program is reproduced. When the determined result at step S44 represents that bit 7 is not 0, the flow advances to step S46. At step S46, it is determined whether or not the value of CT is 0. When the determined result at step S46 represents that the value of CT is 0, since the number of permitted reproduction times is 0, the program is prohibited from being reproduced (at step S47).
When the determined result at step S46 represents that the value of CT is not 0, the flow advances to step S48. At step S48, it is determined whether or not the designated mode is the second mode. To determine the designated mode, the system controller 32 reads a code corresponding to the mode from the nonvolatile memory 32a. When the determined result at step S48 represents that the designated mode is the second mode, the flow advances to step S49. At step S49, the program is skipped.
When the determined result at step S48 represents that the designated mode is not the second mode, the flow advances to step S50. At step S50, it is determined whether or not the designated mode is the first mode. When the determined result at step S50 represents that the designated mode is not the first mode, it is determined that the designated mode is the third mode. In the third mode, since a program that has been reproduction restricted is unconditionally reproduced, the flow advances to step S51. At step S51, the number of reproduction times CT is decremented. Thereafter, the flow advances to step S45. At step S45, the reproducing operation is performed.
When the determined result at step S50 represents that the designated mode is the first mode, the flow advances to step S52. At step S52, the user is informed that the program has been reproduction restricted with for example a message displayed on the monitor. Thereafter, the user is asked whether or not he or she wants to reproduce the program. For example, a message “Track Tr2 Play ?” is displayed. In this case, it is not always necessary to inform the user that the program has been reproduction restricted. When the user replies that he or she does not want to reproduce the program, the flow advances to step S53. At step S53, the program is skipped. When the user replies that he or she wants to reproduce the program, the flow advances to step S51. At step S51, the value of CT is decremented. Thereafter, the flow advances to step S45. At step S45, the program is reproduced.
In a combination of those reproducing methods and the first mode or the third mode, a reproducing method is automatically designated. In the process shown in
When the determined result at step S54 represents that the program repeat reproducing operation has not been designated, the flow advances to step S45 through step S51. At step S45, the program is reproduced. When the determined result at step S54 represents that the program repeat reproducing operation has been designated, the flow advances to step S55. At step S55, the program is skipped. Thereafter, the flow returns to a reproducing process for the next program. For example, the flow returns to step S41 (see
The flow chart of
In the system, when predetermined application software is installed to the personal computer 78, digital audio data is stored to a hard disk of the personal computer 78. For example, music data is downloaded by the EMD system through the Internet. In addition, a CD ROM drive of the personal computer 78 reproduces a program from a music CD and records the reproduced program to the hard disk. In addition, a music file in the MP3 format is converted into an ATRAC3 format. The music file in the ATRAC3 format is recoded to the hard disk. In addition, the recorder 71 can record encrypted ATRAC3 data that is received from the personal computer 78 to the memory card. Moreover, music data can be prohibited from being recorded from the recorder 71 to the memory card.
The recorder 71 has a memory card slot 72 and a displaying device 73. The displaying device 73 is composed of for example a liquid crystal display. In addition, the recorder 71 has a power switch 74, an audio volume controller knob 75, an AMS/JOG knob 76, and switch buttons 77a to 77e. The AMS/JOG knob 76 is used to detect the beginning of a program. In addition, the recorder 71 can be operated by a remote control commander (not shown).
Next, an operation associated with the present invention will be described. First of all, a method for designating a reproducing mode for a program that has been reproduction restricted will be described. First, a MENU/NO button 77c is pressed. The AMS/JOG knob 76 is rotated. “RESTRICT” is selected from a menu displayed on the displaying device 73. Thereafter, an ENTRY/YES button 77d is pressed.
On the displaying device 73, a menu for selecting one of the first mode, the second mode, and the third mode is displayed. The AMS/JOG knob 76 is rotated. One of the three modes is selected. Thereafter, the ENTRY/YES button 77d is pressed. With such a sequence of operations, a desired mode has been designated.
As was described above, when a program has been reproduction restricted with respect to the duration of reproduction, by comparing the reproduction start date and time with the reproduction end date and time, it is determined whether or not the program has been expired. Thus, it is necessary to correctly set the time of the clock of the recorder 71. The date and time are input by the user and stored in the RAM of the system controller 32. When the system controller 32 has determined that the date and time information that was input by the user is not stored in the RAM, the system controller 32 prohibits a program that has been reproduction restricted with respect to the duration of reproduction from being reproduced.
Next, an operation for designating the date and time of the recorder 71 will be described. First, the MENU/NO button 77c is pressed. The AMS/JOG knob 76 is rotated. “DATE ADJ” is selected from a menu displayed on the displaying device 73. Thereafter, the ENTRY/YES button 77d is pressed.
The AMS/JOG knob 76 is rotated. A correct value (for example, low order two digits of Christian year) is set to “year” that blinks. Thereafter, the ENTRY/YES button 77d is pressed. Thereafter, “month” blinks. The AMS/JOG knob 76 is rotated. A correct value is set to “month”. Thereafter, the ENTRY/YES button 77d is pressed. Thereafter, “day” blinks. The AMS/JOG knob 76 is rotated. A correct value is set to “day”. Thereafter, the ENTRY/YES button 77d is pressed. In the same manner as “year”, “month”, and “day”, correct values are set to “hour” and “minute”. In the forgoing operations, the date and time have been set.
In the forgoing, the case that the present invention is applied to a digital audio recorder was described. Likewise, the present invention can be applied to an apparatus that deals with video data, another type of audio data, and/or program data. In addition, the present invention can be applied to a reproducing apparatus that uses a record medium such as a writable optical disc as well as a memory card.
According to the present invention, when a program is reproduced from a record medium on which both a program that has been reproduction restricted and a program that has not been reproduction restricted have been recorded, a program that has been reproduction restricted is reproduced in a method that the user has designated. Thus, the user can select a method for reproducing a program that has been reproduction restricted. Consequently, whenever a program that has been reproduction restricted is reproduced, a situation of which the reproducing operation is paused can be prevented. In addition, a situation of which the user fails to notice that the number of permitted reproduction times becomes 0 can be prevented. In addition, when a program that has been reproduction restricted is reproduced, a log file is automatically created. Thus, the user can know the reproduction history of the program with the created log files. Consequently, the user can use the reproduction logs to prevent a trouble from taking place.
Number | Date | Country | Kind |
---|---|---|---|
2000-373153 | Dec 2000 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP01/10711 | 12/7/2001 | WO | 00 | 11/25/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO02/47069 | 6/13/2002 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5745640 | Ishii et al. | Apr 1998 | A |
5793928 | Shim | Aug 1998 | A |
5796828 | Tsukamoto et al. | Aug 1998 | A |
5933569 | Sawabe et al. | Aug 1999 | A |
6034832 | Ichimura et al. | Mar 2000 | A |
6327109 | Kori et al. | Dec 2001 | B1 |
6546490 | Sako et al. | Apr 2003 | B2 |
6577810 | Ogino | Jun 2003 | B1 |
20020166121 | Rovira | Nov 2002 | A1 |
20030142958 | Matsunaga et al. | Jul 2003 | A1 |
Number | Date | Country |
---|---|---|
6-4996 | Jan 1994 | JP |
8-129826 | May 1996 | JP |
10-208002 | Aug 1998 | JP |
11-144379 | May 1999 | JP |
11-177936 | Jul 1999 | JP |
2000-207834 | Jul 2000 | JP |
2000-259801 | Sep 2000 | JP |
2000-347696 | Dec 2000 | JP |
2001-56784 | Feb 2001 | JP |
2001-67794 | Mar 2001 | JP |
2001-125961 | May 2001 | JP |
2001-210011 | Aug 2001 | JP |
2001-344470 | Dec 2001 | JP |
2001-350479 | Dec 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20030142960 A1 | Jul 2003 | US |