A record player 10 is an audio unit in a car navigation system and includes an operating unit 101 such as a switch, a display 102 for displaying an image and various information, a CD drive 103 capable of reading data recorded in a CD, a hard disk drive (HDD) 104 capable of storing various data, an audio playback unit 106 capable of performing audio playback, and an LSI (semiconductor integrated circuit) 117 for record and playback. A CD inserted in the CD drive 103 is an example of a first storing medium in the invention, and the hard disk drive 104 is an example of a second storing medium in the invention.
The LSI 117 for record and playback includes, although not limited, a key interface (I/F) 107, a display interface 108, a CD drive interface 109, a hard disk drive interface (HDD I/F) 110, an audio interface 111, a file management system 112, a primary encoder 113, a secondary encoder 114, a primary decoder 115, a secondary decoder 116, and a system bus 118 for connecting the components so that signals can be transmitted/received to/from each other. The primary encoder 113 is an example of a first processor in the invention, and the secondary encoder 114 is an example of a second processor in the invention.
The key interface 107 can fetch key input data from the operating unit 101. The display interface 108 can transmit display data to the display 102. The display 102 is, although not limited, a liquid crystal display. A CD (not shown) as a recording medium can be loaded/unloaded to/from the CD drive 103. In the state where a CD is inserted in the CD drive 103, audio data can be read from the CD. The CD drive interface 109 can fetch audio data read from the CD in the CD drive 103. The hard disk drive 104 can write/read data to/from a magnetic disk as a built-in recording medium. The hard disk interface 110 can transmit/receive audio data to/from the hard disk drive 104. The audio interface 111 can transmit audio data to the audio playback unit 106. The file management system 112 manages various data files dealt in the LSI 117 for record and playback. The primary encoder 113 performs primary encoding of audio data transmitted from the CD drive 103 via the CD drive interface 109. The encoding denotes coding of data on the basis of a predetermined rule. In the embodiment, the primary encoding is, although not limited, an enciphering process. The process result is transmitted to the hard disk drive 104 via the hard disk interface 110, and is written as a temporary file in a predetermined area. The primary decoder 115 decodes the encoded data received from the hard disk drive 104 via the hard disk interface 110 to the original audio data (unenciphered audio data). The secondary encoder 114 performs secondary encoding on the audio data decoded by the primary decoder 115. In the embodiment, the secondary encoding is compression of data and is, although not limited, AAC (Advanced Audio Codec) or MP3 (MPEG1 Audio Layer-3) as known audio compressing standards. The result of the secondary encoding is stored again in the predetermined area in the hard disk drive 104. In such a manner, the temporary file in the hard disk drive 104 is converted to compressed stream data.
In the configuration, encoding process performed in the case where the audio data fetched from the CD drive 103 is compressed and enciphered and the resultant data is stored in the hard disk drive 104 is divided into the primary encoding and the secondary encoding.
Specifically, as shown in 
Preferably, a primary encoding process amount in the primary encoder 113 is smaller than the secondary encoding process amount in the secondary encoder 114, and the encoding process is performed at a speed equal to or higher than speed of reading data from the CD drive 103. Consequently, as shown in 
The encoding process itself may be performed in the primary encoding and the secondary encoding. However, the process amount of the primary encoding varies according to the audio compressing method (AAC, MP3, or the like). Therefore, the enciphering process is applied as the primary encoding.
  
In 
The flow of data accompanying the primary encoding process is as follows. Audio data is read from a CD by the CD drive 103 and is enciphered by the primary encoder 113, and the enciphered audio data is stored in a first area in the hard disk drive 104.
The flow of data accompanying the secondary encoding process is as follows. Enciphered data 104A is read from the hard disk drive 104 and is deciphered by the primary decoder 115, thereby converting the enciphered data to audio data. After that, the audio data is compressed by the secondary encoder 114, and the compressed audio data is stored in a second area in the hard disk drive 104. Since the stored secondary encoded data 104B is data generally compressed by an irreversible compressing method, even if the data is read falsely, there is no problem in copyright. The secondary encoding in the secondary encoder 114 is conformed with the audio compressing standard (AAC, MP3, or the like).
In the case of reproducing the primary encoded data (enciphered data) 104 stored in the hard disk drive 104, the enciphered data 104A is read from the hard disk drive 104, deciphered in the primary decoder 115 to audio data, and the audio data is transferred to the audio playback unit 106 and reproduced. In the case of reproducing the secondary encoded data (audio compressed data) 104B stored in the hard disk drive 104, the audio compressed data 104B is read from the hard disk drive 104 and decompressed to audio data in the secondary decoder 116. The audio data is transferred to the audio playback unit 106 and reproduced.
The flow of data as described above is controlled by the file management system 112.
The primary encoder 113 and the secondary encoder 114 can be realized by a single processing unit constructed by a CPU (Central Processing Unit), a nonvolatile memory in which a program for operating the CPU is stored, and a RAM used as a work area in the CPU. 
First, the power of the record player 10 is turned on (312), and whether primary-encoded audio data exists in the hard disk drive 104 or not is determined (306). In the case where it is determined that the primary-encoded audio data does not exist in the hard disk drive 104 (“No”), whether there is a new ripping request or not is determined (313). If it is determined that there is a new ripping request (“Yes”), audio data is read from a CD by the CD drive 103 (301) and transferred to the primary encoder 113, and the primary encoding process is performed (302). The resultant data is written in the hard disk drive 104 (303). After that, whether the primary encoding has been finished on data of the first music piece or not is determined (304). In the case where it is determined that the primary encoding has not been finished on the data of the first music piece (“No”), the routine shifts to the process in the step 301. In the case where it is determined in the step 304 that the primary encoding on the data of the first music piece has been finished (“Yes”), whether there is a new ripping request or not is determined (305). In the case where it is determined that there is a new ripping request (“Yes”), the routine shifts to the process in the step 301. In the case where it is determined in the step 305 that there is no new ripping request (“No”), whether the primary-encoded data exists in the hard disk drive 104 or not is determined (306). In the case where it is determined that the primary encoded data exists in the hard disk drive 104 (“Yes”), the primary-encoded data is read from the hard disk drive 104 on a frame unit basis (307) and is transferred to the secondary encoder 114 where the secondary encoding process is performed on the frame unit basis (308). The frame is defined in the audio compressing standard. For example, in the case of the AAC, one frame consists of 1,024 samples. The result of the secondary encoding process is written on the frame unit basis to the hard disk drive 104 (309). Whether the primary encoding on the data of the first music piece has been finished or not is determined (310). In the case where it is determined that the primary encoding on data of the first music piece has not been finished (“No”), the routine shifts to the process in the step 307. In the case where it is determined in the step 310 that the primary encoding on the data of the first music piece has been finished (“Yes”), the primary encoded data in the hard disk drive 104 is erased (311), and the routine shifts to the process in the step 305.
As described above, the secondary encoding process is executed in the finely divided units, that is, on the frame unit basis (for example, 1,024 samples in the case of the AAC). When there is a new ripping request, the secondary encoding process is interrupted and the primary encoding process is performed. The secondary encoding process is performed in time during which the primary encoding process is not performed (unoccupied time of the CPU). Consequently, the primary encoder 113 and the secondary encoder 114 can be realized by a single CPU (Central Processing Unit). After the secondary encoding process is finished, the primary encoded data which becomes unnecessary is erased. Therefore, the free space in the hard disk drive 104 can be prevented from being occupied by unnecessary data.
Next, reproduction of audio data will be described with reference to the flowchart of 
The audio data becomes reproducible on completion of the primary encoding of the primary encoder 113.
The file name of an audio data file which can be reproduced at present can be displayed on the display 102 on the basis of management information in the file management system 112. By selecting an arbitrary file name from file names displayed on the display 102 via the operating unit 101, the user can reproduce the data file. The file management system 112 changes the file name of the primary encoded file (file output from the primary encoder) so that the user can see it in a manner similar to the secondary encoded file (file output from the secondary encoder). For example, as shown in 
Specifically, in the case where the user instructs start of reproduction of the first music piece (701), the file management system 112 determines whether a primary encoded file exists in the hard disk drive 104 or not (702). In the case where it is determined that no primary encoded file exists in the hard disk drive 104 (“No”), it denotes that the secondary encoding has been completed on the file, so that a secondary encoded file in the hard disk drive 104 is read (708) and decoded by the secondary decoder 116 (709). The audio data as the result of decoding of the secondary encoded file is transferred to the audio playback unit 106 (710).
For example, as shown in 
On the contrary, in the case where it is determined in the step 702 that a primary encoded file exists in the hard disk drive 104 (“Yes”), the secondary encoded file is converted to a primary encoded file name (703), the primary encoded file is read (704) and is decoded by the primary decoder 115 (705), thereby obtaining audio data. The audio data is transferred to the audio playback unit 106.
For example, as shown in 
As described above, the user can reproduce audio data on completion the primary encoding without awareness of whether the secondary encoding on the selected file has been completed or not.
By the foregoing embodiments, the following effects can be obtained.
(1) The primary encoder 113 performs primary encoding on data read from a ROM. The result of encoding is stored as a temporary file in the hard disk drive 104. The primary decoder 115 decodes the temporary file. The result of decoding is encoded by the secondary encoder 114, thereby converting the decoded data to compressed stream data. Since the temporary file and the compressed stream data can be reproduced, the data in the hard disk drive 104 becomes reproducible on completion of the primary encoding, so that the user does not have to wait for completion of the secondary encoding. Consequently, the process of encoding data read from a CD and writing the encoded data to the hard disk drive 104 can be performed at high speed seemingly. Moreover, since the temporary file is a file subjected to the primary encoding process, even when the encoding process is interrupted by, for example, erroneous operation on the stop button of the user, there is no possibility that audio data or video data remains in the original data format in the second storing medium. Therefore, the copyright of the data is protected.
(2) Since the process in the primary encoder 113 is enciphering and the process in the secondary encoder 114 is data compression, time required for the process in the primary encoder 113 can be constant irrespective of the compressing method in the secondary encoder 114.
The inventions achieved by the inventors herein have been concretely described above. However, obviously, the present invention is not limited to the above but can be variously modified without departing from the gist.
For example, although the primary encoder 113 and the secondary encoder 114 are formed by the same processing units in the foregoing embodiment, the primary encoder 113 and the secondary encoder 114 can be also realized by the same hardware dedicated to encoding. It is also possible to construct one of the primary encoder 113 and the secondary encoder 114 by the hardware dedicated to encoding, and construct the other encoder by the processing unit as shown in 
An LSI (semiconductor integrated circuit) 905 for record and playback shown in 
In the case where the primary encoder 113 and the secondary encoder 114 are separately constructed by the hardware dedicated to encoding as described above, by employing the configuration such that the primary decoder 115 is provided and a decoded output of the primary decoder 115 is encoded by the secondary encoder 114, a general chip can be applied as the secondary encoder 113. The configuration is advantageous from the viewpoint of reducing the manufacture cost of the record player.
Although a CD is used as the first recording medium in the foregoing embodiment, the invention is not limited to the embodiment. For example, a DVD can be used as the first recording medium.
Although the case where the present invention achieved by the inventors herein is applied to an audio unit in a car navigation system in the field of utilization as the background of the invention has been described above, the invention is not limited to the case but can be widely applied to various devices handling audio data and video data.
The present invention can be applied under condition that at least data read from a storing medium is stored into another storing medium.
| Number | Date | Country | Kind | 
|---|---|---|---|
| 2006-82451 | Mar 2006 | JP | national |