WO2004095449A1 - 情報処理装置及び情報処理方法 - Google Patents

情報処理装置及び情報処理方法 Download PDF

Info

Publication number
WO2004095449A1
WO2004095449A1 PCT/JP2004/005017 JP2004005017W WO2004095449A1 WO 2004095449 A1 WO2004095449 A1 WO 2004095449A1 JP 2004005017 W JP2004005017 W JP 2004005017W WO 2004095449 A1 WO2004095449 A1 WO 2004095449A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
processing
content
time
decryption
Prior art date
Application number
PCT/JP2004/005017
Other languages
English (en)
French (fr)
Inventor
Takeshi Iwatsu
Manabu Kimura
Takashi Koike
Takashi Goto
Original Assignee
Sony Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2003119947A external-priority patent/JP2004326922A/ja
Priority claimed from JP2003119946A external-priority patent/JP3846449B2/ja
Application filed by Sony Corporation filed Critical Sony Corporation
Priority to US10/553,077 priority Critical patent/US20060198518A1/en
Priority to EP04726282A priority patent/EP1617430A1/en
Publication of WO2004095449A1 publication Critical patent/WO2004095449A1/ja

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/14Protection against unauthorised use of memory or access to memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis

Definitions

  • the present invention relates to an information processing apparatus and a method for executing processing on unit data in which one content is treated as a unit of content.
  • encryption is being used as an encoding method.
  • Such encryption is generally performed for the purpose of copyright protection. That is, when reproducing the encrypted content data, a key for decryption is given only when the reproduction of the content data is permitted. Then, by performing decryption processing for encryption using this key, it becomes possible to reproduce and output.
  • the content data encoded in this way includes, for example, a plurality of contexts.
  • the contents may have continuity all night long. In such a case, simply playing back successive contents would result in a complete playback output for each content data, and would not provide continuity of playback output before and after the content data. . Therefore, Japanese Patent Application Laid-Open No. 2002-112123 discloses a technique for encoding content data which is arranged in the order of reproduction so as to maintain the continuity of the reproduction output. There is what is described in. As described above, even if the configuration of the encoding technology that gives continuity of the reproduction output between a plurality of content data is adopted, in the following situations, the reproduction output In some cases, continuity cannot be maintained.
  • a configuration may be adopted in which the above-described decryption processing for encryption and compression encoding is executed as software processing. That is, the CPU or the like executes the processing according to the program for the decoding processing.
  • the CPU executes another different process in parallel with the decoding process. May have to be done.
  • decryption processing of AV content data is heavy processing in which the occupancy of CPU is assumed to be high. Then, it is assumed that even the processing that must be executed in parallel with the decoding processing is a heavy processing with a considerably high occupancy rate of CPU. In such a case, for example, a considerable load is applied to the CPU, and the decoding process may be delayed to such an extent that the continuity of the reproduction output cannot be maintained. In such a state, for example, even in the content data, a state in which the reproduction output is interrupted may occur.
  • An object of the present invention is to provide a novel information processing device and information processing method that can solve the problems of the conventional technology.
  • a specific object of the present invention is to provide information such that when a decoding process is executed under a condition that a CPU having a certain processing capacity is used, the occupation rate of the CPU becomes equal to or less than a certain value.
  • An object of the present invention is to provide a processing device and an information processing method.
  • An information processing apparatus proposed to achieve the object as described above relates to a decoding process for decoding encoded unit data, and a process related to the unit data executed prior to the decoding process.
  • Processing means for performing at least pre-decoding processing; storage means for temporarily storing the decoded data obtained by the decoding processing; and reading out the decoded data stored in the storage means continuously for reproduction.
  • Output means for outputting the data as output data overnight, wherein the processing means starts the decoding processing of the unit data after the completion of the pre-decoding process relating to the unit data.
  • the information processing method includes a decoding pre-process related to the encoded unit data, a decoding process of decoding the unit data after the end of the pre-decoding process, and a decoding data obtained by the decoding process. It has an accumulation process for temporarily accumulating the evening, and an output process for continuously reading out the decoded data temporarily accumulated by the accumulation process and outputting the data as reproduction output data.
  • FIG. 1 is a block diagram showing a configuration example of a recording / reproducing apparatus according to the present invention.
  • FIG. 2 is a diagram showing a reproduction process of the encrypted content according to the present invention.
  • FIG. 3 is a timing chart showing a general example of a processing sequence in the case of continuously reproducing encrypted content.
  • FIG. 4 is a timing chart showing a processing sequence in the case of continuously playing back encrypted content to which the present invention is applied.
  • FIG. 5 is a timing chart showing an example of a reproduction processing operation in the case of continuously reproducing encrypted content having a normal reproduction time by setting a normal buffer capacity.
  • FIG. 6 is an evening timing chart showing an example of a playback processing operation in a case where encrypted content having a short playback time is continuously played back with a normal buffer capacity setting.
  • FIG. 7 is a timing chart showing an example of a playback processing operation when continuously encrypting content having a short playback time by setting a short-time continuous playback buffer capacity.
  • FIG. 8 is an explanatory diagram showing another example of the playback processing of the encrypted content according to the present invention.
  • FIG. 9 is a timing chart showing a processing sequence in the case of continuously playing back encrypted content.
  • FIG. 10 is a timing chart showing an example of a playback processing operation in the case where encrypted content is continuously played back including a fringe demodulation process with a processing time within a normal range by setting a normal buffer capacity.
  • FIG. 11 is a timing chart showing an example of a playback processing operation in a case where encrypted content is continuously played back including a fringe demodulation process using a processing time outside the normal range by setting a normal buffer capacity.
  • FIG. 12 is an evening timing chart showing an example of a playback processing operation in the case of continuously playing back encrypted content including a fringe demodulation process using a processing time outside the normal range by setting the buffer capacity for long-time processing.
  • BEST MODE FOR CARRYING OUT THE INVENTION As shown in FIG. 1, an information processing apparatus to which the present invention is applied includes a CPU (CPU) that performs overall control and arithmetic processing of the recording / reproducing apparatus 1 based on a started program. Central Processing Unit) 1 1 1
  • the CPU 11 performs, for example, a communication operation via a network, an input / output operation with respect to a user, content reproduction and ritving from media, It performs storage of content in HDD 21 and management for it.
  • the CPU 11 exchanges control signals with the respective circuit units via the bus 12.
  • the ROM 13 stores an operation program to be executed by the CPU 11, a program loader, various operation coefficients, parameters used in the program, and the like.
  • a program to be executed by the CPU 11 is expanded. It is also used as a data area and a task area required when the CPU 11 executes various processes.
  • an area as the buffer area 20a may be secured as one of such data areas and task areas.
  • the buffer area 20a is, for example, an area for temporarily storing decoded content data when reproducing and outputting the media loaded in the media drive 19 or the content data read from the HDD 21 or the like. It is said.
  • audio content data is used as content data that can be recorded and reproduced by the recording and reproducing device 1 according to the present invention.
  • the operation input unit 15 is a part composed of operation keys provided on a casing of the recording / reproducing apparatus 1, various operators such as a jog dial and a touch panel. Note that a keyboard or mouse for GUI (Graphical User Interface) operation may be provided as the operation input unit 15. Further, the operation input unit 15 may be a remote controller.
  • GUI Graphic User Interface
  • the information input by the operation input unit 15 is subjected to predetermined processing in the input processing unit 14 and transmitted to the CPU 11 as an operation command.
  • the CPU 11 performs necessary calculations and controls so as to obtain an operation as a device in response to the input operation command.
  • a display device such as a liquid crystal display is connected, and various kinds of information are displayed.
  • the display processing unit 16 executes a display operation on the display monitor 17 based on the supplied display data. Let it.
  • the ripped audio file Depending on the program that manages the playback of audio files, a GUI screen for managing and playing audio files is displayed.
  • the media drive 19 is a drive that can play at least a predetermined medium.
  • a drive capable of recording as well as reproducing may be used according to a predetermined medium.
  • the medium to which the media drive 19 is compatible is not particularly limited, but may be, for example, various optical disk-shaped recording media such as a CD, a DVD, and a mini disk.
  • the medium may be configured by a memory element such as a flash memory.
  • various drives corresponding to these various media may be individually provided and connected to the path 12.
  • the CPU 11 instructs the media drive 19 to play back the media.
  • the media drive 19 accesses the specified data from the loaded media and executes reading.
  • the data read out in this way is audio content, it is decoded by the processing of the CPU 11 as necessary, and then sent to the audio input / output processing unit 24. Will be transferred.
  • processing such as sound processing such as equalizing, volume adjustment, D / A conversion, amplification and the like are performed, and output from the speed controller 25.
  • the data reproduced by the media drive 19 can be stored as an audio data file in the HDD 21 under the control of the CPU 11.
  • an audio data file obtained by so-called ribbing can be stored as content.
  • the format of the audio data file may be digital audio with 16-bit quantization at a sampling frequency of 44.1 KHz in the CD format, or the capacity of the HDD 21 may be reduced.
  • the compression audio may be a format in which compression processing is performed according to a predetermined method. Also, although the compression method is not limited, an ATRAC (Adaptive Transform Acoustic Coding) method or an MP3 (MPEG Audio Layer III) method can be adopted.
  • ATRAC Adaptive Transform Acoustic Coding
  • MP3 MPEG Audio Layer III
  • the tuner 27 is, for example, an AM / FM radio tuner, and demodulates a broadcast signal received by the antenna 26 under the control of the CPU 11.
  • a tuner such as a TV tuner, a satellite broadcast tuner, or a digital broadcast tuner may be used.
  • the demodulated broadcast audio signal is subjected to required processing in an audio data processing unit 24, and is output from a speaker 25 as broadcast audio.
  • the communication processing unit 22 performs an encoding process on transmission data and a decoding process on reception data under the control of the CPU 11.
  • the network interface 23 transmits the transmission data encoded by the communication processing unit 22 to a predetermined external network compatible device via a network. In addition, it passes the signal transmitted from the external network compatible device to the communication processing unit 22 via the network. The communication processing unit 22 transfers the received information to the CPU 11.
  • the recording / reproducing device 1 is not limited to the one shown in FIG. 1, and various devices can be used.
  • an interface with peripheral devices using a communication method such as Universal Serial Bus (USB), IEEE1394, or Bluetooth may be provided.
  • USB Universal Serial Bus
  • the audio content data downloaded over the network by the network interface 23 and the audio content data transferred via an interface such as USB or IEEE1394 are also stored in the HDD 21. Can be stored.
  • a terminal used to connect a microphone or external headphones, a video output terminal corresponding to DVD playback, a line connection terminal, an optical digital connection terminal, or the like may be provided.
  • a PCMC IA slot, a memory card slot, and the like may be formed so that data can be exchanged with an external information processing device or audio device.
  • the recording / reproducing apparatus 1 can reproduce and output audio content data as audio. For example, if the content data is recorded on the medium loaded in the media drive 19, it is possible to reproduce and output the content data read from this medium. Also, the content data stored in the HDD 21 can be read out and reproduced and output.
  • audio content is compressed and encoded by a predetermined compression encoding method and further encrypted by a predetermined encryption method (hereinafter, simply referred to as “audio content”). (Also called “encrypted content”).
  • FIG. 2 shows a case where one encrypted content is reproduced and output.
  • the HDD 21 stores the encrypted content to be reproduced.
  • the playback processing of the encrypted content according to the present invention described below is performed, for example, when the encrypted content recorded on the medium is read out and played by the media drive 19, or when the encrypted content obtained via a network is encrypted.
  • the present invention can be generally applied to the case where the encrypted content is reproduced by the recording / reproducing apparatus 1 according to the present invention, such as when reproducing the content.
  • the encrypted content to be played back stored in the HDD 21 is subjected to a falsification check process for verifying whether or not any unauthorized falsification has been performed. You.
  • This tampering check process is executed by the CPU 11 according to a program for playing back the encrypted content.
  • the program for playing back the encrypted content is stored in such a manner that it is installed in the HDD 21.
  • the program is read from the HDD 21 and expanded in the RAM 20. Will be.
  • the encryption / decryption Z demodulation process is also executed by the CPU 11 in accordance with the program for playing back the encrypted content, and the data of the transferred encrypted content is encrypted for each predetermined processing data unit. Perform decryption processing. Then, demodulation processing (decompression processing) according to the compression encoding method is performed on the decrypted content data obtained by the decryption processing of the encryption. As a result, digital audio data after the decompression processing is obtained.
  • the digital audio data obtained by the encryption / decryption Z demodulation process—the data sequence as the evening is transferred to the buffer formed by dividing the buffer area 20 sequentially by the buffer writing process. Writing is performed for this.
  • the encryption / decryption / demodulation processing is processing for actually demodulating digital audio data by decrypting the encrypted content and performing decompression processing. In other words, it is a process for performing decoding for encryption and compression.
  • the tampering check process is not a decryption process itself, but it is a process that must be performed prior to performing the decryption process.
  • each of these buffers is configured as a ring buffer.
  • the buffer writing process in such a case is executed as follows. Prior to the start of the encryption / decryption Z demodulation processing, buffers 1, 2, and 3 are all empty, but the encryption / decryption demodulation processing is started and data should be written to the buffer. When the timing comes, for example, data is first written to the buffer 1. Then, when it is assumed that the data accumulation amount in the buffer 1 is full, the data is subsequently written to the buffer 2, and if the data accumulation amount in the buffer 2 becomes full, Data is written to buffer 3. Note that writing data to the buffer is faster than reading data from the buffer. Done by the team. In addition, the data written and accumulated in the buffers 1, 2, and 3 in this manner usually has continuity on the time axis.
  • buffer reading process if it is assumed that all the data stored in buffer 1 has been read, then the data stored in buffer 2 is read, and then stored in buffer 2. If all the read data has been read, the data is read from buffer 3.
  • the writing process for buffers 1, 2, and 3 is repeated in the order of buffers 1, 2, and 3, and data is written to the empty buffer at a predetermined data rate.
  • the read processing for buffers 1, 2, and 3 is performed in the order of buffers 1, 2, and 3 by delaying the time corresponding to the accumulation of a certain amount or more of data by the buffer write processing. Reading is performed at a lower data rate than writing.
  • the buffer writing process includes a process for all buffers.
  • the system waits for data writing, and starts writing data when the buffer to be written in the writing order becomes empty. That is, at least the buffer write processing may be an intermittent operation.
  • the reproduction / output transfer processing is started in synchronization with the start of reading data from the buffer.
  • the reproduction output system transfer processing is also executed by the CPU 11 in accordance with a program for reproducing the encrypted content.
  • the data read from the buffer is reproduced by the reproduction signal processing system (reproduction) for reproduction output. This is the process for transferring to the output system.
  • the reproduced signal processing system (reproduced output system) is the high-speed data processing unit 24 in the apparatus shown in FIG.
  • the reproduction output system transfer processing the data read from the buffer is read at a required data rate so that the continuity of the audio data to be reproduced and output in the audio data processing section 24 is guaranteed. The transfer is performed via the bus 12.
  • the buffer writing process is a process of writing digital audio data obtained by the encryption / decryption demodulation process to the buffer, and the data read by the buffer reading process is converted into audio data by the reproduction output system transfer process. It is transferred to the processing section 24. Therefore, there is a period in which the encryption / decryption Z demodulation process and the reproduction output system transfer process are performed simultaneously.
  • the digital audio data read from the buffer as described above is continuously input.
  • the digital audio data thus input is subjected to predetermined signal processing including DZA conversion processing, so that the digital audio data is finally output as audio from the speaker 25.
  • predetermined signal processing including DZA conversion processing
  • continuity can be obtained as the audio of the content output from the speaker 25.
  • the CPU 11 executes the program for reproducing the encrypted content. Therefore, the basic processing (encrypted content-compatible playback processing) to be executed is a tampering check processing.
  • the tampering check process checks the authenticity of the data content based on the presence or absence of data tampering, so it must be executed before the encryption / decryption / demodulation process. It becomes. In other words, when only one content is targeted, the falsification check process and the encryption / decryption Z demodulation process are not performed simultaneously, and the falsification check process—the order of execution of the encryption / decryption / demodulation process must be observed. It becomes. However, the encryption / decryption / demodulation processing and the reproduction / output system transfer processing may be simultaneously executed as described above.
  • the writing process to the buffer in the buffer area 20a shall be associated with the encryption / decryption / demodulation process, and the reading process shall be associated with the reproduction output system transfer process.
  • the reproduction process corresponding to the encrypted content may be, for example, generally the execution timing shown in the timing chart of FIG.
  • a tampering check process for the content A is executed.
  • the time required for the tampering check processing is substantially constant regardless of the content of the encoded content and the like. However, depending on the encryption method, etc., the time required for the falsification check processing may vary for each content.
  • the encryption / decryption / demodulation processing of the content A is started from the time t2. Is done.
  • the operation of accumulating the digital audio data obtained by the demodulation process in the buffer of the buffer area 20a is also started. After a certain period of time, the storage capacity of the buffer becomes equal to or greater than a certain value, and the buffer becomes readable. This timing is shown as time t3.
  • the reproduction output system transfer processing for the content A is started from the time point t3. That is, the digital audio data read from the buffer is transferred to the audio data processing unit 2 which is a reproduction output system.
  • the output of the playback sound as the content A is started in response to the time t3.
  • the encryption / decryption / demodulation processing for the encoded data as content A is completed at time t5.
  • the writing of the content A obtained by the encryption / decryption Z demodulation processing to the digital audio overnight buffer is also completed, but at this time, the buffer is still read. It is in a state where digital audio data has not been accumulated.
  • the reproduction output system transfer processing of the content A is continued until all data stored in the buffer is read.
  • the reproduction output system transfer processing for the content A has been completed, and accordingly, the reproduction output sound as the content A has also been completed at time t7. It is assumed that. From this, the playback output period during which the content A is played back is the period from time t3 to time t7.
  • the playback processing corresponding to the encrypted content for the content B to be played next to the content A is executed as follows.
  • the start timing of the playback output system transfer process for the content B needs to be continuous with the end timing of the playback output system transfer process for the content A. That is, in this case, as shown in the figure, it is necessary to start the reproduction output system transfer processing for the content B from time t7. For this reason, the encryption / decryption / demodulation processing for the content B is performed using the time t7 as a base point in order to guarantee that the reading processing from the buffer from the time t7 is started. It should be started from the time point t6 at the timing before the time required for storing the predetermined amount of digital audio data.
  • the falsification check processing of the content B is executed after the falsification check processing of the content A ends.
  • the tampering check process for the content A has been completed at the time t2
  • the tampering check process for the content B is to be started at the time t2.
  • the tampering check processing of the content B is completed at time t4.
  • the tampering check processing, the encryption / decryption / demodulation processing, and the reproduction / output system transfer processing include the tampering check processing and the encryption / decryption Z demodulation processing as the actual processing of the encrypted content compatible playback processing Is that each process is a heavy process with a relatively high CPU 11 occupancy.
  • the reproduction output system transfer processing only the instruction to transfer the digital audio data read from the buffer via the bus 12 is given, so that the light processing in which the occupancy rate of the CPU 11 is low is small. Become.
  • a program of another application may be executed in addition to the reproduction of the encrypted content.
  • the recording / reproducing device 1 of the present embodiment has a network connection function, an application such as a Web browser or a mailer for sending and receiving e-mails using this function can be used. By installing them on the HDD 21, these applications can be started and executed as needed.
  • the CPU occupancy rate is high as shown in periods t2 to t4 in FIG. If a state occurs, in this case, there is a high possibility that the reproduction output sound is interrupted as described above. Or, conversely, the operation of other application programs may become heavy and slow.
  • the processing sequence of the playback processing corresponding to the encrypted content is executed. Note that, in the processing sequence shown in FIG. 4, as an example, a case where reproduction is started from the content A and then the content B is continuously reproduced as the encrypted content will be described. .
  • the timings of the tampering check processing, the encryption / decryption / demodulation processing, and the reproduction / output transfer processing for the content A are the same as those in FIG.
  • the timing of the encryption / decryption / demodulation processing for the content B and the transfer processing for the playback output system are the same as those in Fig. 3 because continuous playback following the content A is required. .
  • the tampering check process is started at time t5, which is the end of the encryption / decryption / demodulation process for content A.
  • the program is designed so that the tampering check processing for the content to be reproduced next is executed following the encryption / decryption / demodulation processing for the content currently being reproduced / output. It constitutes the algorithm.
  • the tampering check process for the content B in such a processing sequence is performed by the reproduction / output system transfer process for the same content A after the encryption / decryption Z demodulation process for the content A is completed. It is executed using the period during which the digital audio data stored in the buffer is read out and reproduced and output.
  • the tampering check processing of the content B target is completed at time t6 when the decoding / demodulation processing of the content B target is started. This indicates that the tampering check process should be completed at the latest at time t6. For example, in actuality, the processing may be terminated at a time before the start of the encryption / decryption / demodulation processing for the content B.
  • the execution timing of the falsification check processing for the next content to be reproduced next is performed by the encryption / decryption / demodulation processing. It uses the operation of temporarily storing digital audio data in a buffer.
  • the period until the encryption / decryption / demodulation processing for the content is started is a period in which the digital audio data stored in the buffer is read out and reproduced and output.
  • This period is a period in which only the playback output system transfer process for the current content is executed as the encrypted content corresponding playback process for the current content, and the encryption / decryption Z demodulation process is not executed.
  • the falsification check process for the next content is to be executed.
  • a buffer must be set after the end of the encryption / decryption / demodulation process for the current content. It is only necessary that the time length from the reading of the digital audio data stored in the memory to the end of the reproduction output be longer than the time required for the falsification check processing.
  • encryption / decryption / demodulation processing starts after falsification checking processing, and playback / output transfer processing including buffer reading processing starts after a certain amount of data is accumulated in the buffer. It starts as it is done. In other words, during a period until data equal to or more than a predetermined amount is accumulated in the buffer, a standby period in which reproduction is not started occurs.
  • the start of data reading from the buffer corresponding to the start of content reproduction is performed, for example, when the three buffers of buffers 1, 2, and 3 are provided, the first buffer 1
  • the capacity of buffers 1, 2, and 3 will increase the amount of storage, but it will also increase the waiting time until playback starts, which is not desirable in this regard.
  • FIG. 5 shows that, among the encrypted contents A and B that are continuously reproduced, at least the reproduction time of the content A that is to be reproduced first is considered to be a normal length.
  • the case where B is continuously reproduced is shown.
  • the portions indicated by white bars in the buffers 1, 2, and 3 indicate periods during which the read is being executed.
  • the portions shown as black bars in buffers 1, 2, and 3 indicate the period during which writing is being performed.
  • a tampering check process for the content A is executed in the period from the time point t1 to the time point t2, and an encryption / decryption / demodulation process for the content A is started from the time point 2 onward.
  • writing to the buffer 1 is performed. This writing to buffer 1 has been completed at time t3.
  • the writing to the buffers 2 and 3 is performed sequentially, and the writing is repeated by returning to the buffer 1 and repeating the writing.
  • the reproduction output transfer processing for the content is started from the time t3, At the same time t3, the reading process for the buffer 1 is executed.
  • the buffer reading process the buffer 2 and 3 in which data is already stored are sequentially read, and the process returns to the buffer 1 to execute reading.
  • the writing speed for the buffer is higher than the reading speed. Therefore, depending on whether writing / reading to / from a buffer is performed normally, for example, when reading from / to a certain buffer is being executed, data may be stored almost constantly in another buffer. Will be obtained.
  • the encryption / decryption / demodulation processing for the content A is completed, and the writing of the digital audio data as the content A to the buffer is performed, for example, by writing to the buffer 3.
  • the writing of the digital audio data as the content A to the buffer is performed, for example, by writing to the buffer 3.
  • it has been completed.
  • a state in which data was accumulated in buffers 2 and 3 after time t4 had elapsed. become. Therefore, depending on the reproduction output system transfer processing after time t4, first, the data read from buffer 2 is transferred and reproduced and output, and then the data read from buffer 3 is transferred and reproduced and output. become.
  • the tampering check process according to the present embodiment has a processing time longer than the unit playback time T s corresponding to one buffer storage capacity but shorter than the unit playback time T s X 2.
  • the tampering check process for the content B is performed in the unit playback time T s
  • the process ends at time t5 in the period from time t4 to time t6 corresponding to X2.
  • the reproduction output system transfer for the content B is performed from the time t6 when the reproduction period of the content A ends. Processing is starting. In other words, it can be seen that the sound reproduction of the content B is started from the time point t6, whereby the continuous reproduction operation of the content A and B is obtained.
  • the playback process shown in Fig. 6 is performed. There is. Also in this case, first, a tampering check process for the content A is executed in the period t1 to t2. Following this, the encryption / decryption / demodulation processing for the content A is started from the time point t2. However, in this case, it is assumed that the time required for the encryption / decryption / demodulation processing for the content A is completed in a relatively short time in response to the short playback time of the content A.
  • the execution period of the encryption / decryption / demodulation process is also very short.
  • the buffer writing process during the execution period of the encryption / decryption / demodulation process is performed.
  • the difference between the amount of data stored and the amount of data read and consumed by the reading process is not sufficiently obtained.
  • the time that can be earned by the reproduction output transfer processing for the content A after time t4 is the unit time Ts corresponding to the data accumulated in the buffer 3.
  • the reproduction / output transfer processing of the content A target after the time point t4 ends at the time point t4a, which is almost unit time Ts after the time point t4, and according to this time point, However, the playback sound output of the content A is also stopped.
  • the tampering check process is a process longer than the unit time T s, the tampering check process of the content B target started at the time point t4 is executed even after the time point t4a. And ends, for example, at time t5.
  • the encryption / decryption / demodulation processing for the content B is started from this time t5, and from this time t5, for example, the time when it is assumed that the data writing to the buffer 1 is almost completed
  • the playback / output system transfer processing for the content B is started, and the audio output of the content B is also started.
  • a non-playback period (t) is provided between the time point t4a at which the output of the playback sound of the content A ends and the time point t6 at which the output of the playback sound of the content B starts. 4 a to t 6). In other words, content A and B cannot be played continuously.
  • the user when performing the link editing, the user is asked to confirm whether the connection state between the end position and the start position of the content before and after the content specified as the link is to be connected is intended by the user.
  • the continuous playback is repeated by extracting only a few seconds each of the end and start parts of the content.
  • connection status In order to be able to confirm that the connection status is appropriate during connection editing, the end and start portions of the preceding and following content must be reliably and continuously played back.
  • the encrypted content to be reproduced first is to be reproduced as the encrypted content to be continuously reproduced. If the interval is less than or equal to the predetermined value and continuous playback cannot be guaranteed with the normal buffer capacity setting, the required buffer capacity that is assumed to be larger than normal (hereinafter referred to as “buffer capacity for short-time continuous playback”) ) Is set.
  • Such a change in the setting of the buffer capacity can be realized by changing the setting of each area of the buffers 1, 2, and 3 in the buffer area 20a in the RAM 20 under the control of the CPU 11.
  • the area allocation for the capacity A is performed for each of the buffers 1, 2, and 3. , 3 are allocated to a predetermined capacity B larger than the capacity A.
  • the timing chart of FIG. 7 shows an operation in the case where the buffer capacity for short-time continuous reproduction is set and the content B is reproduced following the content A having a short reproduction time, as in the case of FIG.
  • the encryption / decryption / demodulation processing is started from time point t2 following the tampering check processing of the content A target in the period t1 to t2. Then, with the encryption / decryption / demodulation processing, writing is started from the buffer 1 at the same time t2 and thereafter.
  • the capacity of each of the buffers 1, 2, and 3 is set larger than usual, it can be seen that the time required to complete the writing to the buffer 1 is longer.
  • the time length from the time point t2 to the time point t3 at which the reproduction output system transfer process of the content A is started is actually longer than the time periods t2 to t3 shown in FIG. Have been. In other words, the standby time until the sound actually starts to be output when the reproduction is started becomes longer.
  • the data is stored only in the buffer 3 among the buffers 1, 2, and 3.
  • the state is shown. Therefore, after time t4, an operation of reading out the data stored in the buffer 3 and reproducing and outputting the data is performed in accordance with the reproduction output system transfer processing of the content A. Then, this operation is executed by the period length of the reproduction time TL corresponding to the capacity of the buffer 3.
  • the unit playback time TL corresponds to the buffer capacity for short-time continuous playback, it must be longer than the unit playback time T s corresponding to the normal buffer capacity. I have.
  • the time required for the tampering check process is almost constant regardless of the content playback time.
  • the tampering check process for the content B target executed from the time point t4 ends at the time point t5 when a substantially same time length as in the case of FIG. 6 has elapsed.
  • the time point t5 is a time point before the time point t6 at which the operation of reading out the data accumulated in the buffer 3 and reproducing and outputting the data ends, as shown in the figure. That is, in this case, while the digital audio data of the content A is being reproduced and output, the falsification check processing for the content B is completed.
  • the audio reproduction output of the content A is terminated at the time t6 after a certain time has elapsed from the time t5.
  • the playback output transfer processing for the content B is started properly. That is, the sound reproduction output of the content A is started. In this way, by setting the required buffer capacity larger than usual, it is understood that audio continuity is maintained even when performing continuous playback including encrypted content with a short playback time. Is done.
  • a normal buffer capacity is set in response to a normal operation.
  • the playback time length of the encrypted content is longer than a certain value. Therefore, the continuity can be maintained as described with reference to FIG.
  • the buffer capacity at this time is set in consideration of the fact that the standby time until the actual start of audio reproduction at the start of reproduction is also within the allowable range, so that in normal use conditions, However, they do not feel uncomfortable during the waiting time.
  • the playback of the linked position in the linked editing described above and the continuous playback of the encrypted content following the very short playback time of the encrypted content with a playback time shorter than a certain value are considered.
  • the buffer capacity is switched to the buffer capacity for short-time continuous reproduction. As a result, as shown in FIG. 7, continuity can be ensured even when playing back encrypted content having a short playback time.
  • fringe data related data other than audio data
  • fringe data include, for example, image data as an album jacket for the corresponding encrypted content, artist's profile, linano's data, lyrics, etc.
  • image data to be displayed or text data can be cited.
  • Such fringe data is managed in association with the encrypted content as audio data, and is stored as a separate file from the encrypted content file as the audio data. Is what it is.
  • a plurality of such fringe data may be associated with one encrypted content, for example, album jacket data, lyrics data, or the like.
  • the fringe data is in a format compressed by a predetermined image compression method, and is also encrypted.
  • the fringe data is decoded along with the playback of the encrypted content, when the encrypted content is played back and output as a sound, the image of the album jacket, lyrics, etc. can be displayed on the display monitor 1. It becomes possible to output the display on 7.
  • FIG. 8 shows a case where one encrypted content is reproduced and output. Also, here is the theory For the sake of simplicity, the encrypted content to be played is stored in the HDD 21.
  • the playback processing of the encrypted content according to the present embodiment described below is performed, for example, when the encrypted content recorded on the medium is read out and played by the media drive 19, or when the encrypted content obtained via a network is encrypted.
  • the present invention can be generally applied to the case where the encrypted content is reproduced by the recording / reproducing apparatus 1 shown in FIG. 1 according to the present invention, such as when reproducing the content.
  • This fringe demodulation processing is executed by the CPU 11 in accordance with a program for reproducing the encrypted content.
  • the fringe demodulation processing is performed not by hardware but by software.
  • the program for playing back the encrypted content is stored in such a manner as to be installed in the HDD 21, and when this program is to be executed, the program is read from the HDD 21 and expanded in the RAM 20. .
  • the HDD 21 is instructed to read the target fringe data overnight.
  • fringe data is read from HDD 21 and transferred to CPU 12 via path 12.
  • the CPU 12 first executes a process for encryption / decryption of the transferred data using the RAM 20 as a work area. Since the deciphered fringe data is in the form of, for example, a compression-encoded image, a decompression process corresponding to the compression-encoding is performed.
  • the fringe data thus demodulated is stored in, for example, the RAM 20.
  • the display output of the fringe data is to be performed simultaneously with the start of the audio reproduction of the encrypted content, for example.
  • the decoding processing of Fringe Data is relatively heavy processing for the CPU 11, even if it is executed simultaneously with the encryption / decryption / demodulation processing of the encrypted content, this decrypted encryption Be in time for the start of the audio playback output of the content Is difficult.
  • the fringe image is decoded before decoding the encrypted content.
  • the fringe data in order to display the fringe data, for example, it is only necessary to transfer the fringe data to the display processing unit 16. Therefore, if the fringe data after decoding is transferred to the display processing unit 16 in synchronization with the audio playback output timing of the encrypted content, the fringe data can be displayed and output simultaneously with the start of the audio playback output of the encrypted content. Becomes possible.
  • the encryption / decryption / demodulation processing is also executed by the CPU 11 in accordance with a program for playing back the encrypted content, and the data of the transferred encrypted content is encrypted for each predetermined processing data unit. Perform decryption processing. Then, demodulation processing (decompression processing) according to the compression encoding method is performed on the decrypted content data obtained by the decryption processing of the encryption. As a result, digital audio data after the decompression processing is obtained.
  • the data stream as the digital audio data obtained by the encryption / decryption / demodulation processing is sequentially transferred to the buffer formed by dividing the buffer area 20a by the buffer writing processing. Writing is performed.
  • the encryption / decryption / demodulation process is a process of actually decrypting the encrypted content and performing a decompression process to demodulate digital audio data.
  • it is a process of performing decoding for encryption and compression.
  • the fringe demodulation process is a process for demodulating information that is not itself content data as audio, but is additionally required to reproduce and output the content data. That means there is.
  • a plurality of buffers 7 are provided in the buffer area 20a.
  • an example having three buffers 1, 2, and 3 is shown. Also, here It is assumed that the same data capacity is assigned to each of the plurality of buffers. In practice, each of these buffers is configured as a ring buffer.
  • the buffer writing process in such a case is executed as follows.
  • buffers 1, 2 and 3 Prior to the start of encryption / decryption / demodulation processing, buffers 1, 2 and 3 are all empty, but the timing at which encryption / decryption / demodulation processing is started and data must be written to the buffer Then, for example, first, data is written to buffer 1 first. Then, if it is assumed that the amount of data stored in buffer 1 is full, then data is written to buffer 2 and then the amount of data stored in buffer 2 becomes full. For example, data is written to buffer 3. It should be noted that, for confirmation, writing data to the buffer is performed at a faster rate than reading data from the buffer. In addition, the data written and accumulated in the buffers 1, 2, and 3 in this manner usually has continuity on the time axis.
  • buffer write process As a buffer write process, after writing to buffer 3 is completed, return to buffer 1, which has been completed as a result of reading data as described above and becomes empty, and perform writing. Let go. Thereafter, similarly, data is sequentially written to the empty buffers 2 and 3 after reading is completed. In other words, the write processing for the buffers 1, 2, and 3 is repeated in the order of the buffers 1, 2, and 3 so that data is written to the empty buffer at a predetermined data rate. Is done.
  • the read processing for buffers 1, 2, and 3 is delayed by the time corresponding to the accumulation of a certain amount or more of data by the buffer write processing, and buffers 1, 2, and 3 are sequentially processed. Reading is performed at a lower data rate than writing.
  • the buffer write process involves waiting for data write when data is accumulated in all buffers, and emptying buffers to be written in write order. Then, it starts to write data. That is, at least the buffer writing process may be an intermittent operation.
  • the reproduction output system transfer processing is started in synchronization with the start of reading data from the buffer.
  • the reproduction output system transfer processing is also executed by the CPU 11 in accordance with a program for reproducing the encrypted content.
  • the data read from the buffer is reproduced by the reproduction signal processing system (reproduction) for reproduction output. This is the process for transferring to the output system.
  • the reproduction signal processing system (reproduction output system) is the audio data processing unit 24 in FIG.
  • the reproduction output system transfer processing the data read from the buffer at a required data rate is transferred via the bus 12 at a required data rate so that the repetitiveness of the audio data to be reproduced and output in the audio data processing section 24 is guaranteed. It will be transferred.
  • the buffer write process is a process of writing digital audio data obtained by the decoding / demodulation process to the buffer, and is a process of reading the buffer by the buffer read process.
  • the extracted data is transferred to the audio data processing unit 24 by a reproduction output system transfer process. Therefore, there is a period during which the encryption / decryption / demodulation processing and the reproduction / output transfer processing are performed simultaneously.
  • the digital data read from the buffer as described above is continuously input. Then, by performing predetermined signal processing including D / A conversion processing on the digital audio data thus input, the digital audio data is finally output as audio from the speaker 25. .
  • predetermined signal processing including D / A conversion processing on the digital audio data thus input, the digital audio data is finally output as audio from the speaker 25.
  • continuity can be obtained as the audio of the content output from the speaker 25.
  • the data transfer processing to the display processing section 16 for reproducing and outputting (display output) the fringe data demodulated by the fringe demodulation processing is performed by the above-described reproduction for audio data. It may be executed at the same time as the start transfer which is almost simultaneous with the output transfer processing.
  • the basic processing includes fringe demodulation processing (including transfer processing for display output)
  • the fringe demodulation process is a process for demodulating fringe data typified by, for example, an image of an album jacket corresponding to the content.
  • reproduction and output of audio as the content are started.
  • the fringe data will be decoded so that it can be played back and displayed. Therefore, the fringe demodulation processing in this case must be executed in a stage prior to the encryption / decryption / demodulation processing.
  • the fringe demodulation process and the encryption / decryption demodulation process are not performed at the same time, and the order of execution of the fringe demodulation process ⁇ the encryption / decryption demodulation process should be observed. Become.
  • encryption / decryption demodulation processing and playback output may be performed simultaneously and concurrently.
  • the writing process to the buffer in the buffer area 20a is associated with the encryption / decryption / demodulation process, and the reading process is associated with the reproduction / output system transfer process.
  • the time required for the fringe demodulation processing differs depending on the fringe data to be demodulated.
  • the image size and resolution of the fringe image in the present embodiment are not particularly unified.
  • the time required for the demodulation processing for individual fringe data varies depending on the image size, resolution, and the like.
  • the number of fringe data associated with one encrypted content is described above as having multiple values, the number of fringe data to be associated with one content is not particularly specified. Therefore, the number of files as an attached fringe image differs for each encrypted content. Therefore, the length of time required for fringe demodulation varies depending on the number of fringe demodulations to be demodulated.
  • the digital audio data obtained by the demodulation process is transferred to the buffer in the buffer area 20a in response to the start of the decryption / demodulation process for the content A target.
  • the operation of accumulating data in the buffer is also started, and after a lapse of a certain period of time, the storage capacity of the buffer becomes a certain value or more, and the buffer becomes readable. This timing is shown as time t3.
  • the reproduction output system transfer processing for the content A is started from the time point t3.
  • the digital audio data read from the buffer is transferred to the audio data processing unit 24, which is a reproduction output system.
  • the output of the playback sound as the content A is started in response to the time t3.
  • the encryption / decryption / demodulation processing for the encoded data as the content A is completed at time t4.
  • the writing of the content A obtained by the encryption / decryption / demodulation processing to the digital audio buffer is also completed, but at this time, the buffer has not yet been read. There is no digital audio data stored.
  • the reproduction output system transfer processing for the content A is continued until all the data stored in the buffer is read.
  • the reproduction output system transfer processing for the content A has been completed, and accordingly, the reproduction output sound as the content A has also been completed at time t6. It is assumed that. From this, the playback output period during which the content A is played back is output from the time point t3 to the time point t6.
  • the playback processing corresponding to the encrypted content for the content B to be played next to the content A is executed as follows.
  • the start timing of the playback output system transfer processing for the content B needs to be continuous with the end timing of the playback output system transfer processing for the content A.
  • the encryption / decryption demodulation processing for the content B is performed with a predetermined amount of digital data starting at time t6 to assure that the reading processing from the buffer from time t6 is started. It should be started from the time t5 at the evening of 'time required for accumulation of Diode overnight'. Therefore, the fringe demodulation processing for the content B needs to be executed at a stage before this time t5.
  • the fringe demodulation processing for the content B is executed after the encryption / decryption / demodulation processing of the content A is completed. I have to.
  • the encryption / decryption / demodulation processing of the content A is completed at the time t4, but the fringe demodulation processing for the content B is to be started at the time t4. .
  • This fringe demodulation processing of the content B should be completed by the time t4 when the encryption / decryption / demodulation processing of the content B is started.
  • the timing of starting the execution of the fringe demodulation processing for the content B may be, for example, immediately after the end of the fringe demodulation processing for the content A. That is, as shown in the fringe demodulation processing enclosed by the broken line in FIG. 9, the processing is started at time t2.
  • the fringe demodulation process is to execute the fringe demodulation process for the encrypted content to be reproduced next to the fringe demodulation process for the encrypted content currently being reproduced. I have. Even at such processing timing of the fringe demodulation processing, the fringe demodulation processing can be completed before the encryption / decryption / demodulation processing of the encrypted content.
  • the fringe demodulation process, the encryption / decryption / demodulation process, and the playback / output-system transfer process among the fringe demodulation process and the encryption / decryption / demodulation process in the encrypted content-based playback process are actually performed. Is that each process is a heavy process with a relatively high CPU 11 occupancy. On the other hand, in the reproduction output system transfer processing, only the instruction to transfer the digital audio data read from the buffer via the bus 12 is given, so that the light processing in which the occupancy rate of the CPU 11 is low is small. Become.
  • the time t 2 In the following, encryption for content A A period occurs in which the decoding / decoding Z demodulation process and the fringe demodulation process for the content B are simultaneously executed. During this period, the CPU 11 is simultaneously executing two processes that are considered to have a high CPU occupancy, and the actual CPU occupancy is considerably high.
  • the recording / reproducing apparatus 1 used in the present invention for example, a program of another application may be executed in addition to the reproduction of the encrypted content.
  • a program of another application may be executed in addition to the reproduction of the encrypted content.
  • the recording / reproducing apparatus 1 of the present embodiment has a network connection function, it is possible to use this function, for example, a Web browser, a mail transmission / reception mailer, or the like. By installing these applications on the HDD 21, these applications can be started and executed as needed.
  • the CPU occupancy rate is high as shown in periods t2 to t4 in FIG. If a state occurs, in this case, there is a high possibility that the reproduction output sound is interrupted as described above. Or, conversely, the operation of other application programs may become heavy and slow.
  • the fringe demodulation processing for content B is started at time t4, which is the end of the encryption / decryption Z demodulation processing for content A.
  • the free content targeted for the next content to be reproduced is set.
  • the algorithm of the program is configured to be executed following the encryption / decryption / demodulation process for the content currently being reproduced and output.
  • the fringe demodulation processing for the content B by such a processing sequence is performed by the reproduction output system transfer processing for the same content A after the encryption / decryption Z demodulation processing for the content A is completed. It is executed using the period during which the digital audio data stored in the buffer is read out and reproduced and output.
  • the fringe demodulation processing for the content B is completed at time t5 when the encryption / decryption / demodulation processing for the content B is started. Indicates that the fringe demodulation processing for the content B should be completed at the latest at time t5. For example, in actuality, the processing may be ended at a time before the start of the encryption / decryption / demodulation processing for the content B.
  • the setting of the execution timing of the fringe demodulation processing for the next content to be reproduced next is based on the digital audio data subjected to the encryption / decryption / demodulation processing. This is possible on the premise that the operation of temporarily storing one night in a buffer is performed.
  • the period from the end of the encryption / decryption of the current content being played back to the end of the encryption / decryption processing for the next content until the start of the encryption / decryption demodulation process for the next content Read audio data and play back and output Period.
  • This period is a period in which only the playback output system transfer process for the current content is executed as the encrypted content corresponding playback process for the current content, and the encryption / decryption / demodulation process is not executed. However, fringe demodulation processing for the next content is to be executed.
  • a buffer must be set after the end of the encryption / decryption / demodulation processing of the current content.
  • the time required for reading the digital audio data stored in the memory and ending the reproduction output need only be longer than the time required for the fringe demodulation processing.
  • the capacity of each buffer in the buffer area 20a is set.
  • the audio reproduction of the encrypted content starts with the encryption / decryption / demodulation processing after the fringe demodulation processing, and after a certain amount or more of data is accumulated in the buffer, the buffer is read out. It starts in response to the start of the playback output system transfer process including the process. In other words, during a period until a predetermined amount of data is accumulated in the buffer, a standby period in which reproduction is not started occurs.
  • the start of data reading from the buffer corresponding to the start of content reproduction is started, for example, when three buffers, ie, buffers 1, 2, and 3, are provided.
  • three buffers ie, buffers 1, 2, and 3
  • the capacity of the buffers 1, 2, and 3 is increased, the accumulated amount is also increased, but the waiting time until the start of playback is also increased, which is not preferable in this respect.
  • the length of time required for fringe demodulation may exceed the normal range, depending on the content and number of fringe images.
  • the capacity of the normal buffers 1, 2, and 3 cannot guarantee the former condition, and the continuity of the playback output between the current content and the next content cannot be maintained.
  • Fig. 10 shows that when the encrypted contents A and B are played continuously, the processing time is considered to be normal, at least for the fringe data of the content B to be played next to the content A. This is the length, indicating that the content A and B are properly played back continuously.
  • the portions indicated by white bars in the buffers 1, 2, and 3 indicate the periods during which the read is being executed.
  • the portions shown as black bars in buffers 1> 2, 3 indicate the period during which writing is being performed.
  • the fringe demodulation processing for the content A is executed in the period from the time point t1 to the time point t2, and the encryption / decryption / demodulation processing for the content A is started from the time point t2. ing.
  • writing to the buffer 1 is performed.
  • the writing to the buffer 1 is completed at the time point t3.
  • the writing is executed sequentially to the buffers 2 and 3, and the writing is repeated by returning to the buffer 1 and the writing is repeated. .
  • the reproduction output system transfer processing for the content A is started from the time t3. Is read out. Buffer reading As processing, reading is performed sequentially on buffers 2 and 3 in which data has already been stored, and the process returns to buffer 1 to perform reading.
  • the writing speed for the buffer is higher than the reading speed. Therefore, depending on whether the writing / reading to the buffer is performed normally, for example, when reading from / to a certain buffer is being performed, data may be stored almost constantly in another buffer. Condition will be obtained.
  • the encryption / decryption / demodulation processing for the content A is completed, and the writing of digital audio data as the content A to the buffer is also performed, for example, to the buffer 3 It is assumed that writing has been completed.
  • the encryption / decryption of the content A is performed at the time t4.
  • the content A can be read by the reproduction output transfer processing for the time represented by the unit reproduction time T s X 2.
  • the time required for the fringe demodulation processing for content B is a processing time that is longer than the unit playback time T s corresponding to one buffer storage capacity, but shorter than the unit playback time T s X 2. Suppose there was.
  • the fringe demodulation processing for the content B is performed in the unit playback
  • the process ends at time t5 in the period from time t4 to time t6 corresponding to time TsX2.
  • the reproduction output system transfer for the content B is performed from the time t6 when the reproduction period of the content A ends. Processing is starting. In other words, it can be seen that the sound reproduction of the content B is started from the time point t6, whereby the continuous reproduction operation of the content A, B is obtained.
  • the fringe demodulation processing for the content A is executed in the period t1 to t2.
  • the encryption / decryption / demodulation processing for the content A is started at time t2, and is completed at time t4 as in the case of FIG.
  • the demodulation processing of the fringe data corresponding to the content B requires a processing time exceeding a normal range. Therefore, the time point t5, which is the end point of the fringe demodulation processing for the content B started from the time point t4, is later than the time point t5 at which the reproduction output transfer processing for the content A is completed. It has become.
  • the encryption / decryption process for content B is performed by fringe recovery for content B.
  • the execution cannot be started until after the adjustment process.
  • the decoding / decoding Z demodulation processing for the content B is started from the time t5 when the fringe demodulation processing for the content B ends, and the reproduction output system transfer processing for the content B is further performed.
  • the process is started from a time t6a after a lapse of a certain time from the time t5. That is, the output of the playback sound of the content B is started from the time point t6a.
  • non-playback is performed during the period from the point in time t6 when the playback output system transfer process for the content A is completed to the point in time t6a when the playback output system transfer process for the content B is started.
  • a period will occur. In other words, content A and B cannot be played continuously.
  • the processing time of the fringe demodulation processing for the next encrypted content to be played exceeds the normal range. If the normal buffer capacity setting does not guarantee continuous playback, the required buffer capacity that is assumed to be larger than normal (hereinafter also referred to as “buffer capacity for long-time processing”) is used. It will be set.
  • Such a change in the setting of the buffer capacity can be realized by changing the area setting of the buffers 1, 2, and 3 in the buffer area 20a in the RAM 20 under the control of the CPU 11.
  • the area for the capacity A is allocated to each of the buffers 1, 2, and 3 as the normal buffer capacity
  • the buffers 1, 2, 3 For each of these, an area of a predetermined capacity B larger than the capacity A is allocated.
  • the evening timing chart in Fig. 12 shows the operation in the case where the buffer capacity for long-time processing is set and the content B is played immediately after the content A with a short playback time as in Fig. 11 .
  • the encryption / decryption / demodulation processing starts at time t2.
  • the encryption / decryption Z demodulation process is defeated, and writing is started from the buffer 1 at the same time t2 and thereafter.
  • the capacity of each of the buffers 1, 2, and 3 is set larger than usual, it can be seen that the time required to complete the writing to the buffer 1 is longer.
  • the period from time t2 to time t3, at which the playback output transfer process for the content A is started is actually the time period t2 to! It is longer than three. In other words, the standby time until the sound actually starts to be output when the reproduction is started becomes longer.
  • the period from the end of the encryption / decryption Z demodulation processing to the end of the reproduction / output system transfer processing is extended. That is, the time width as the periods t4 to t6 in FIG. 12 is longer than the periods t4 to t6 in FIG.
  • the fringe demodulation processing for the content B which is executed from time t4, ends at time t5, which is almost the same time length as in the case of FIG.
  • the encryption / decryption / demodulation processing of the content B is started from the time t5 when the fringe demodulation processing of the content B is completed, and at a time t6 after a lapse of a certain time from the time t5.
  • the playback output system transfer processing for content B has started.
  • the end of the playback output system transfer process for content A Immediately after the completion, the reproduction output system transfer processing for the content B is started, thereby enabling the continuous reproduction of the contents A and B.
  • switching between the two buffer capacities that is, the normal buffer capacity and the buffer capacity for long-time processing is performed. Then, such switching of the buffer capacity is to be executed by the CPU 11 according to, for example, an encrypted content reproduction program.
  • the CPU 11 recognizes that the processing time required for the demodulation processing on the fringe data of the content data to be reproduced next to the encrypted content to be reproduced is within the normal range. Is set to the normal buffer capacity. At this time, for example, as described with reference to FIG. 10, the continuity of the reproduced sound of the continuously reproduced encrypted content can be maintained. On the other hand, when it is recognized that the time required for processing the fringe data of the encrypted content to be reproduced next is longer than the normal range, the buffer capacity is switched to the long-time processing-capable buffer capacity. As a result, as shown in FIG. 12, continuity can be ensured even when playing back encrypted content having a short playback time.
  • the content of the fringe data is determined based on information stored in a header or the like added to the fringe data. What is necessary is just to recognize the data size, the format of compression coding, and the like, and to execute processing for estimating the processing time for the fringe data from these recognition results.
  • the buffer capacity is changed according to the processing time of the fringe data.
  • the encrypted content data whose playback order is one before the encrypted content corresponding to the fringe data This should be done at the start of buffering, but this is just an example.
  • the timing for determining the processing time of the fringe data is not particularly limited as long as it is executed at a predetermined timing before the timing at which the buffer capacity should be changed.
  • the buffer capacity is switched in two stages.
  • the buffer capacity is switched in three or more stages according to the time required for processing fringe data. It may be configured so as to be performed.
  • the buffer is formed by allocating the area sizes of the buffers 1, 2, and 3 in the area as the buffer area 20a in the RAM 20.
  • a memory element functioning as a buffer may be provided.
  • the memory elements having the capacity as the buffers 1, 2, and 3 corresponding to the normal buffer capacity, and the capacity as the buffers 1, 2, and 3 corresponding to the buffer capacity corresponding to the long-time processing It is also conceivable to separately provide a memory element having the following.
  • the encoding performed on the content to be reproduced does not need to be limited to the compression encoding and the encryption encoding.
  • the content decryption process and the pre-decryption process corresponding to the decryption process may be changed as appropriate.
  • the content to be encoded may be, for example, video data in addition to audio data.
  • the program can be temporarily stored on a removable recording medium such as a flexible disk, CD-ROM (Compact Disk Read Only Memory), MO (Magnet Optical) disk, DVD (Digital Versatile Disc), magnetic disk, or semiconductor memory. It can be stored (recorded) permanently or permanently.
  • a removable recording medium can be provided as so-called package software.
  • the program can be recorded on a medium or the like corresponding to the media drive 19 and provided as package software.
  • the program can be installed by reading the program from the medium by the media drive 19 and storing the program in the HDD 21 or the ROM 13.
  • package software it becomes possible to install the system program to which the present invention is applied, for example, on a general-purpose personal computer.
  • the program In addition to installing the program from a removable recording medium as described above, the program must be downloaded from a server that stores the program via a network such as a LAN (Local Area Network) or the Internet. You can do it.
  • a network such as a LAN (Local Area Network) or the Internet. You can do it.
  • an update program for adding functions to which the present invention is applied later may be configured, and this update program may be distributed as package media or distributed on a network. Conceivable. Users only need to obtain this update and install it in the environment where the existing system is installed. Note that the present invention is not limited to the above-described embodiment described with reference to the drawings, and various changes, substitutions, or equivalents thereof may be made without departing from the scope and spirit of the appended claims.
  • the present invention executes a decryption process (encryption decryption / demodulation process) and a pre-decryption process that must be performed at a timing before the start of the decryption process.
  • the unit data (contents data) reproduced by this is targeted for information processing. If such unit data should be reproduced and output continuously, the pre-decoding processing for the unit data to be reproduced next to the unit data currently being reproduced and output is performed by the current reproduction output
  • the decoding is started at a timing after the completion of the decoding process for the target unit data.
  • the decoding preprocessing for the unit data to be reproduced is performed by reading out the data stored in the storage means (storage area) while the reproduction and output of the unit data to be currently reproduced and output are continued. Will be executed.
  • the present invention provides, as information processing, a decryption process (encryption decryption / demodulation process) for unit data (content data) and a process to be executed at a timing before the start of the decryption process.
  • a decryption process encryption decryption / demodulation process
  • the pre-decoding processing for the unit data to be reproduced next to the target unit data is started at a timing after the completion of the decoding processing for the unit data to be currently reproduced and output. .
  • the pre-decoding processing for the unit data to be reproduced is executed while the reproduction output of the unit data currently being reproduced and output is continued by reading out the data stored in the storage means. It will be.
  • the data capacity of the storage means is changed according to the required processing time length.
  • the reproduction output continuation time of the unit data after the completion of the decoding process can be changed according to the processing time length required for the pre-decoding process. That is, for example, even if the processing time required for the pre-decoding processing is considerably long, the reproduction output continuation time of the unit data according to the processing time can be obtained by changing the data storage capacity of the storage means. This makes it possible to maintain continuous reproduction of unit data.

Abstract

本発明は、一のコンテンツを一の単位として扱う単位データについての処理を実行する情報処理方法であり、コンテンツデータを連続して再生出力させるべき場合には、現在再生対象である現コンテンツデータの次に再生対象となる次コンテンツデータについての改竄チェック処理を、現コンテンツデータについての暗号化復号/復調処理の終了後となるタイミングで開始させる。これにより、現コンテンツデータについての暗号化復号/復調処理と、次コンテンツデータについての改竄チェック処理が同時併行して実行される期間はなくなって、改竄チェック処理と暗号化復号/復調処理が同時実行されることによる処理負担の増加を防止する。

Description

明細書 情報処理装置及び情報処理方法 技術分野 本発明は、 一のコンテンツがーの単位として扱われる単位データについての処 理を実行する情報処理装置及びその方法に関する。
本出願は、 日本国において 2003年 4月 24日に出願された日本特許出願番 号 2003— 1 1 9946、 日本特許出願番号 2003 - 1 19947を基礎と して優先権を主張するものであり、 この出願は参照することにより、 本出願に援 用される。 背景技術 近年においては、 例えばオーディオデータ又はビデオデータなどの A V (Audi o, Video) コンテンツデ一夕について、 さらに何らかの符号化を施して記録するこ とが行われる。 このような符号化の 1つとして、 所定方式による圧縮形式とする ための圧縮符号化が広く知られている。 コンテンツデータを圧縮符号化すれば、 コンテンッ単位のデ一夕サイズも小さくなるから、 有限の記録媒体の記録容量を 有効に使用することができる。 また、 ネットワークを介してのコンテンツデータ のダウン口一ドも、 より短時間で行うことができる。
また、 符号化としては、 暗号化を施すことも行われるようになってきている。 このような暗号化は、 一般に著作権保護を目的として行われる。 つまり、 暗号符 号化されたコンテンツデータを再生するのに当たっては、 このコンテンツデータ の再生が許可される場合に応じてのみ、 暗号解読のための鍵が与えられるように される。 そして、 この鍵を利用して暗号化についての復号処理を行うことで、 再 生出力することができるようになる。
このようにして符号化されたコンテンツデータとしては、 例えば複数のコンテ ンッデ一夕間で内容が連続性を有している場合がある。 このような場合において、 単に、 連続するコンテンツを順次再生したのでは、 それぞれコンテンツデータご とに完結した再生出力となってしまい、 コンテンッデータの前後において再生出 力の連続性を与えることができない。 そこで、 再生順的に前後となるコンテンツ データについて、 再生出力の連続性が維持されるように符号化を施すようにされ た技術として、 特開 2 0 0 2— 1 1 2 3 4 1号公報に記載されたものがある。 上述のようにして、 複数のコンテンツデータの間での再生出力の連続性が与え られるようにした符号化技術の構成を採用したとしても、 以下のような状況の場 合には、 再生出力の連続性を維持できなくなる場合がある。
例えば、 近年においては、 上述したような暗号化及び圧縮符号化についての復 号処理を、 ソフトウエア処理として実行するように実行させる構成を採る場合が ある。 即ち、 C P Uなどが、 復号処理のためのプログラムに従って処理を実行す るものである。
このような構成においては、 例えば現在再生出力すべきコンテンツデ一夕につ いての復号化処理を実行しているときに、 C P Uが、 この復号化処理と併行して 異なる他の処理を実行しなければならない場合がある。
ここで一般に、 A Vコンテンツデータの復号化処理は、 C P Uの占有率が高い とされる、 重い処理である。 そして、 この復号化処理と併行して実行しなければ ならなくなった処理としても、 相当に C P Uの占有率が高い、 重たい処理であつ たとする。 このような場合、 例えば C P Uに相当の負荷がかかり、 再生出力の連 続性を維持できない程度に復号化処理が遅くなつてしまうようなことがある。 こ のような状態では、 例えばコンテンツデータ内であっても、 再生出力が途切れて しまう状態が発生する可能性がある。
このような不都合に対応して、 1つには、 より高性能で処理能力の高い C P U を採用すればよいこととなるが、 現状としては、 例えばコストの問題から、 シス テムに見合った処理能力の C P Uを選定することが一般には行われる。 したがつ て、 例えば上記したような再生出力の連続性を完全に保証できるレベルの処理能 力が、 実際のシステムに対応しては過剰であるような場合には、 性能保証とコス ト的なバランスが崩れるので、 必ずしも好ましいことではない。 発明の開示 本発明の目的は、 従来の技術が有する問題点を解消することができる新規な情 報処理装置及び情報処理方法を提供することにある。
本発明の具体的な目的は、 或る一定の処理能力の C P Uを使用している条件の 下で復号化処理を実行している際に、 C P Uの占有率が一定以下となるような情 報処理装置及び情報処理方法を提供することにある。
上述のような目的を達成するために提案される本発明に係る情報処理装置は、 符号化された単位データを復号する復号処理と、 この復号処理に先立って実行さ れる、 単位データに関連する復号前処理とを、 少なくとも実行する処理手段と、 復号処理によって得られる復号データが書き込まれて一時蓄積される蓄積手段と、 この蓄積手段に蓄積されている復号データを連続的に読み出して、 再生出力用デ 一夕として出力する出力手段とを備え、 処理手段は、 単位デ一夕に関連する復号 前処理の終了後に、 単位デ一夕の復号処理を開始する。
また、 本発明に係る情報処理方法は、 符号化された単位データに関連する復号 前処理と、 復号前処理の終了後に、 単位データを復号する復号処理と、 復号処理 によって得られた復号デ一夕を一時蓄積する蓄積処理と、 蓄積処理により一時蓄 積された復号デ一夕を連続的に読み出して、 再生出力用データとして出力する出 力処理とを備える。
本発明の更に他の目的及び本発明により得られる利点は、 以下において図面と ともに説明する具体的な実施の形態から一層明らかにされる。 図面の簡単な説明 図 1は、 本発明に係る記録再生装置の構成例を示すブロック図である。
図 2は、 本発明に係る暗号化コンテンッの再生処理を示す図である。
図 3は、 暗号化コンテンッを連続再生する場合の処理シーケンスの一般的な例 を示すタイミングチヤ一トである。 図 4は、 本発明が適用された暗号化コンテンッを連続再生する場合の処理シ一 ケンスを示すタイミングチヤ一卜である。
図 5は、 通常のバッファ容量設定により、 通常の再生時間の暗号化コンテンツ を連続再生する場合の再生処理動作例を示すタイミングチヤ一トである。
図 6は、 通常のバッファ容量設定により、 短い再生時間の暗号化コンテンツを 連続再生する場合の再生処理動作例を示す夕イミングチャートである。
図 7は、 短時間連続再生用バッファ容量の設定により、 短い再生時間の暗号化 コンテンツを連続再生する場合の再生処理動作例を示すタイミングチャートであ る。
図 8は、 本発明に係る暗号化コンテンツの再生処理の他の例を示す説明図であ る。
図 9は、 暗号化コンテンッを連続再生する場合の処理シーケンスを示すタイミ ングチヤ一卜である。
図 1 0は、 通常のバッファ容量設定により、 通常範囲内の処理時間によるフリ ンジ復調処理を含んで暗号化コンテンツを連続再生する場合の再生処理動作例を 示すタイミングチヤ一トである。
図 1 1は、 通常のバッファ容量設定により、 通常範囲外の処理時間によるフリ ンジ復調処理を含んで暗号化コンテンツを連続再生する場合の再生処理動作例を 示すタイミングチャートである。
図 1 2は、 長時間処理対応バッファ容量の設定により、 通常範囲外の処理時間 によるフリンジ復調処理を含んで暗号化コンテンッを連続再生する場合の再生処 理動作例を示す夕イミングチャートである。 発明を実施するための最良の形態 本発明が適用される情報処理装置は、 図 1に示すように、 起動されたプロダラ ムに基づいて記録再生装置 1の全体の制御、 演算処理を行う C P U (Central Pr ocess ing Uni t) 1 1を備える。 C P U 1 1は、 例えばネットワークを介した通信 動作、 ユーザに対する入出力動作、 メディアからのコンテンツ再生やリツビング、 HDD 2 1へのコンテンツ記憶やそのための管理などを行う。 この CPU 1 1は、 バス 12を介して各回路部との間で制御信号ゃデ一夕のやりとりを行う。
ROM 13は、 C PU 1 1が実行すべき動作プログラム、 プログラムローダや、 各種演算係数、 プログラムで用いるパラメ一夕等が記憶される。
RAM20には、 C P U 1 1が実行すべきプログラムが展開される。 また、 C PU1 1が各種処理を実行する際において必要となるデータ領域、 タスク領域と しても用いられる。 そして、 本実施の形態では、 このようなデータ領域、 タスク 領域の 1つとして、 バッファエリァ 20 aとしての領域が確保される場合がある。 このバッファエリア 20 aは、 例えば、 メディアドライブ 1 9に装填されたメデ ィァ又は HDD 21などから読み出したコンテンツデータを再生出力させる際に おいて、 デコード処理後のコンテンツデータが一時蓄積される領域とされる。 なお、 以降の説明において、 本発明に係る記録再生装置 1において記録再生可 能なコンテンツデータとして、 オーディォのコンテンツデータを用いる例を挙げ て説明する。
操作入力部 15は、 記録再生装置 1の筐体に設けられた操作キーやジョグダイ ャル、 夕ツチパネルなどの各種操作子などから成る部位である。 なお、 GU I (Graphical User Interface) 操作のためのキーボードやマウスが操作入力部 1 5として設けられてもよい。 また、 操作入力部 15としては、 リモートコント口 ーラとされてもよい。
操作入力部 1 5で入力された情報は、 入力処理部 14において所定の処理が施 され、 C P U 1 1に対して操作コマンドとして伝送される。 CPU 1 1は入力さ れた操作コマンドに応答した機器としての動作が得られるように、 所要の演算や 制御を行う。
ディスプレイモニタ 17としては、 例えば液晶ディスプレイなどの表示デバィ スが接続され、 各種情報表示が行われる。
CPU 1 1が各種動作状態や入力状態、 通信状態に応じて表示情報を表示処理 部 16に供給すると、 表示処理部 1 6は供給された表示データに基づいてデイス プレイモニタ 17に表示動作を実行させる。
例えば、 本実施の形態の場合であれば、 リツビングされたオーディオファイル を再生管理するプログラムに従っては、 オーディオファイルを管理、 再生するた めの G U I画面が表示される。
この場合のメディアドライブ 1 9は、 所定のメディアに対応して少なくとも再 生が可能なドライブとされる。 ここで用いるメディアドライブ 1 .9は、 所定メデ ィァに対応して、 再生だけではなく、 記録が可能なドライブを用いてもよい。 この場合のメディアドライブ 1 9が対応するメディアとしては、 特に限定され るべきものではないが、 例えば C D、 D V D , ミニディスクなどの各種光学ディ スク状記録媒体とされてもよい。 あるいは、 フラッシュメモリなどのメモリ素子 により構成されたメディアとされてもよい。 また、 メディアドライブとしては、 例えばこれらの各種メディァに対応した各種のドライブが個々に設けられてパス 1 2と接続される構成とされてもよいものである。
例えば、 ユーザが操作入力部 1 5に対する操作によって、 メディアドライブ 1 9による再生指示を行った場合は、 C P U 1 1は、 メディアドライブ 1 9に対し てメディアに対する再生を指示する。 これに応じて、 メディアドライブ 1 9は、 装填されているメディァから、 指定されたデータにアクセスして読出しを実行す る。
このようにして読み出されたデ一夕が、 オーディォコンテンツである場合には、 必要に応じて C P U 1 1の処理によってデコード処理等が施された後、 オーディ ォ入出力処理部 2 4に転送される。 オーディオ入出力処理部 2 4においては、 ィ コライジング等の音塲処理や音量調整、 D / A変換、 増幅等の処理が施され、 ス ピ一力 2 5から出力される。
また、 メディアドライブ 1 9にて再生されたデータは、 C P U 1 1の制御によ つて、 H D D 2 1にオーディオデ一夕ファイルとして蓄積することもできる。 つ まり、 いわゆるリッビングにより得たオーディォデータファイルをコンテンツと して記憶させることができる。
なお、 このオーディオデータファイルの形式としては、 C Dフォーマットにお けるサンプリング周波数 4 4 . 1 K H zで 1 6ビット量子化のデジタルオーディ ォデ一夕とされてもよいし、 H D D 2 1の容量を節約するために、 所定方式にし たがって圧縮処理が施された形式の圧縮オーディォデ一夕とされてもよい。 また、 圧縮方式としても限定されるものではないが、 ATRAC (Adaptive Transform Acoustic Coding) 方式や MP 3 (MPEG Audio Layer III) 方式などを採用する ことができる。
チューナ 27は、 例えば AM · FMラジオチューナとされ、 CPU 1 1の制御 に基づいて、 アンテナ 26で受信された放送信号を復調する。 もちろんテレビチ ュ一ナや衛星放送チューナ、 デジタル放送チューナなどとしてのチューナでもよ い。
復調された放送音声信号は、 オーディオデータ処理部 24において所要の処理 が施され、 スピーカ 2 5から放送音声として出力される。
通信処理部 22は、 CPU 1 1の制御に基づいて送信データのエンコード処理、 受信デ一夕のデコード処理を行う。
ネットワークインタフェース 23は、 通信処理部 22でエンコードされた送信 データをネットワークを介して所定の外部ネットワーク対応機器に送信する。 ま たネットワークを介して外部ネットワーク対応機器から送信されてきた信号を通 信処理部 22に受け渡す。 通信処理部 22は、 受信した情報を C P U 1 1に転送 する。
なお、 記録再生装置 1は、 図 1に示すものに限られることなく、 更に各種の装 置を用いることができる。
例えば、 US B (Universal Serial Bus) 、 I EEE 1 394、 Bluetoothなど の通信方式による周辺機器とのィン夕フェースが設けられるようにしてもよい。 そして、 ネットワークインタフェース 23によりネットワークを介してダウン ロードしたオーディオのコンテンツデータや、 USB、 I EEE 1 394などの ィン夕フェースを経由して転送されてきたオーディォのコンテンッデ一夕につい ても、 HDD 21に対して記憶させることができる。
また、 マイクロホンや外部のヘッドホンの接続に用いられる端子や、 DVD再 生時に対応するビデオ出力端子、 ライン接続端子、 光デジタル接続端子等が設け られてもよい。
さらに、 PCMC I Aスロット、 メモリカードスロットなどが形成され、 外部 の情報処理装置やオーディォ機器とデータのやりとりが可能とされてもよい。 上述した図 1を参照した説明から理解されるように、 本発明に係る記録再生装 置 1は、 オーディオのコンテンツデータについて、 音声として再生出力すること が可能とされる。 例えば、 メディアドライブ 1 9に装填されたメディアにコンテ ンッデータが記録されていれば、 このメディァから読み出したコンテンツデータ についての再生出力を行うことができる。 また、 H D D 2 1に記憶されているコ ンテンッデータについての読出しを行って再生出力させることができる。
その上で、 本実施の形態としては、 所定の圧縮符号化方式により圧縮符号化さ れた上で、 さらに所定の暗号化方式により暗号化が施されたオーディォのコンテ ンッデ一夕 (以下、 単に 「暗号化コンテンツ」 ともいう) について、 音声として 再生出力することが可能に構成されている。
このような暗号化コンテンツを、 音声として再生出力するための処理シ一ケン スについて、 図 2を参照して説明する。 図 2には、 1つの暗号化コンテンツを再 生出力する場合が示されている。 また、 ここでは説明を簡単にするために、 再生 対象の暗号化コンテンツが記憶されているのは H D D 2 1であることとする。 ただし、 以下において説明する本発明に係る暗号化コンテンツの再生処理は、 例えばメディアに記録された暗号化コンテンツをメディアドライブ 1 9により読 み出して再生する場合や、 ネットワークを介して取得した暗号化コンテンツを再 生する場合など、 本発明に係る記録再生装置 1により暗号化コンテンツを再生す る場合全般に適用できるものである。
H D D 2 1に記憶された再生対象の暗号化コンテンツに対しては、 先ず、 不正 なデ一夕の改竄などが行われていないか否かについての検証を行うための、 改竄 チェック処理が実行される。 この改竄チェック処理は、 暗号化コンテンツ再生の ためのプログラムに従って、 C P U 1 1が実行する。 また、 暗号化コンテンツ再 生のためのプログラムは、 H D D 2 1にィンストールされるようにして記憶され ており、 このプログラムを実行すべきときには、 H D D 2 1から読み出されて R A M 2 0に展開されることになる。
そして、 上述の改竄チェック処理が完了して、 不正なデータの改竄などは行わ れていないことが認識されると、 続いては、 H D D 2 1から読み出されて逐次転 送されてくる暗号化コンテンツについて、 暗号化復号/復調処理を実行していく ようにされる。
暗号化復号 Z復調処理も、 暗号化コンテンツ再生のためのプログラムに従って、 C P U 1 1が実行するもので、 転送されてきた暗号化コンテンツのデータについ て、 所定の処理データ単位ごとに暗号化についての復号処理を実行する。 そして、 この暗号の復号処理によって得られた、 暗号化の解かれたコンテンツデータにつ いて、 圧縮符号化方式に従った復調処理 (伸長処理) を実行する。 これにより、 伸長処理後のデジタルオーディオデータが得られることになる。
このようにして、 暗号化復号 Z復調処理により得られたデジタルオーディォデ —夕としてのデ一夕列は、 バッファ書込処理によって、 順次、 バッファエリア 2 0 を分割して形成されるバッファに対して書込みが行われていく。
ここで、 暗号化復号/復調処理は、 暗号化コンテンツについて、 実際に暗号化 を解き、 伸長処理を施すことで、 デジタルオーディオデータを復調する処理であ る。 つまり、 暗号符号化及び圧縮符号化についての復号を行う処理である。 これ に対して、 改竄チェック処理は、 これ自体は復号処理ではないが、 復号処理を実 行するのに先だって実行すべきことが必須として要求される処理であるというこ とになる。
ここで、 ノ ッファエリア 2 0 aにおいて、 複数のバッファを設けるようにして いる。 ここでは、 3つのバッファ 1, 2, 3を備えた例を示している。 これら複 数のバッファの各々は、 同じデータ容量が割り与えられているものとする。 実際 には、 これらの各バッファは、 リングバッファとして構成される。
このような場合におけるバッファ書込処理としては次のようにして実行する。 暗号化復号 Z復調処理が開始される以前の段階では、 バッファ 1 , 2, 3は全 て空きの状態にあるが、 暗号化復号ノ復調処理が開始されて、 バッファにデ一夕 を書き込むべきタイミングとなると、 例えば、 先ずバッファ 1に対してデータを 書き込んでいくようにされる。 そして、 バッファ 1におけるデータ蓄積量が一杯 になったとされると、 続いては、 バッファ 2にデータを書き込んでいくようにさ れ、 さらにバッファ 2におけるデータ蓄積量が一杯になったのであれば、 バッフ ァ 3にデータを書き込んでいくようにされる。 なお、 確認のために述べておくと、 パッファへのデータの書込みは、 バッファに対する読出しよりも高速なデータレ ートによって行われる。 また、 このようにして、 ノ ッファ 1 , 2, 3に書き込ま れて蓄積されていったデータは、 通常であれば、 時間軸的に連続性を有している ことになる。 つまり、 再生出力音としては連続性が得られているものである。 上述のようにして、 バッファ 1から書込みが開始され、 次のバッファ 2, 3への 書込みが順次実行されている過程において、 例えばバッファ 1に対して一定以上 のデータが蓄積される状態となると、 バッファエリア 2 0 aに対するメモリ読出 しとして、 このバッファ 1に最初に蓄積されたデータから、 所定のデ一夕レート による読出しが開始される。
そして、 バッファ読出処理としては、 バッファ 1に蓄積されたデ一夕を全て読 み出したとされると、 続いては、 バッファ 2に蓄積されたデータの読出しを実行 し、 さらにバッファ 2に蓄積されたデータを全て読み出したのであれば、 バッフ ァ 3からのデータ読出しを行う。
一方、 バッファ書込処理として、 バッファ 3までの書込みが完了した後は、 上 記のようにしてデータの読出しが完了して空きとなったバッファ 1に戻って、 書 込みを行っていくようにされる。 以降においては、 同様にして、 順次、 読出しが 完了して空きとなったバッファ 2、 バッファ 3に対してデータの書込みを実行し ていく。
つまり、 バッファ 1, 2 , 3に対する書込処理としては、 バッファ 1 , 2, 3 の順で繰り返すようにして、 空き状態のパッファにデータの書込みを所定のデー 夕レートによって行うようにされる。
そして、 バッファ 1, 2 , 3に対する読出処理としては、 バッファ書込処理に よって一定量以上のデータが蓄積されるのに対応した時間分遅延するようにして、 バッファ 1, 2 , 3の順で、 書込みよりも低速なデータレートによって読出しを 行っていく。
このようなバッファ 1 , 2 , 3に対する書込み/読出しの処理によると、 いわ ゆるメモリのォ一パフ口一、 アンダフローが生じない限りは、 バッファ 1, 2 , 3の少なくともいずれかにおいて、 データが蓄積されている状態にあるようにさ れる。 これにより、 再生データの連続性が得られるようにしている。 また、 この ような読出動作である場合、 バッファ書込処理としては、 全てのバッファにおい てデータが蓄積されている状態ではデータ書込みを待機し、 書込順的に書込みを 行うべきバッファが空になったら、 データ書込みを開始するようにされる。 つま り、 少なくともバッファ書込処理については、 間欠的な動作となる場合がある。 上述したようなバッファに対する書込み/読出しの処理に対応して、 バッファ からのデータの読出しの開始に同期しては、 再生出力系転送処理が開始されるこ とになる。
この再生出力系転送処理も、 暗号化コンテンッ再生のためのプログラムに従つ て、 C P U 1 1が実行するものであり、 バッファから読み出したデータを、 再生 出力のために、 再生信号処理系 (再生出力系) に対して転送するための処理とな る。
この場合の再生信号処理系 (再生出力系) は、 図 1に示す装置において、 ォ一 ディォデ一夕処理部 2 4となる。 再生出力系転送処理としては、 オーディオデ一 夕処理部 2 4において再生出力すべきオーディォデータの連続性が保証されるよ うに、 所要のデ一夕レートによって、 バッファから読み出したデ一夕をバス 1 2 を介して転送していくことになる。
ここで、 バッファ書込処理は、 暗号化復号ノ復調処理により得られるデジタル オーディォデータをバッファに書き込む処理であり、 バッファ読出処理により読 み出されたデータは、 再生出力系転送処理によってオーディオデータ処理部 2 4 に転送される。 したがって、 暗号化復号 Z復調処理と再生出力系転送処理とは同 時に併行して実行されている期間が存在する。
オーディオデータ処理部 2 4では、 上記のようにしてバッファから読み出され たデジタルオーディオデータが連続的に入力されてくることになる。 そして、 こ のようにして入力されてくるデジタルオーディォデータについて、 D ZA変換処 理を含む所定の信号処理を実行することで、 最終的にスピーカ 2 5から音声とし て出力するようにされる。 ここで、 オーディオデータ処理部 2 4に入力されるデ ジ夕ルオーディオデータが連続性を保っている限り、 スピーカ 2 5から出力され るコンテンツの音声としても連続性が得られることになる。
+ 上述した図 2の説明から理解されるように、 1つの暗号化コンテンツを再生出 力するのに当たって、 C P U 1 1が暗号化コンテンッ再生のためのプログラムに 従って実行すべき基本的な処理 (暗号化コンテンツ対応再生処理) としては、 改竄チェック処理
暗号化復号/復調処理
再生出力系転送処理
の 3つであるということがいえる。 そして、 改竄チェック処理は、 データの改竄 などの有無に基づいて、 コンテンッのデータ内容についての真性をチェックする ものであるから、 必然的に暗号化復号/復調処理の前段階において実行されるべ きものとなる。 つまり、 1コンテンツを対象とした場合において、 改竄チェック 処理と暗号化復号 Z復調処理とは同時に実行されることはなく、 改竄チェック処 理—暗号化復号/復調処理の実行順が守られるべきものとなる。 ただし、 暗号化 復号/復調処理と再生出力系転送処理については、 前述もしたように同時に併行 して実行される場合がある。
なお、 ここではバッファエリア 2 0 aのバッファに対する書込処理は、 暗号化 復号/復調処理に付随するものであることとし、 また、 読出処理は再生出力系転 送処理に付随するものであることとする。
そして、 暗号化コンテンツを連続して再生する場合における、 暗号化コンテン ッ対応再生処理としては、 例えば一般的には、 図 3のタイミングチャートに示す 実行タイミングとすることが考えられる。
ここでは暗号化コンテンッとして、 コンテンツ Aからコンテンツ再生を開始し て、 続いてコンテンッ Bを連続的に再生する場合を例に挙げる。
例えば、 コンテンツ Aの再生を開始すべき指示が得られたとされると、 先ず、 時点 t 1において、 コンテンツ Aを対象とした改竄チェック処理を実行すること になる。 なお、 本実施の形態においては、 改竄チェック処理に要する時間は、 喑 号化コンテンツの内容等にかかわらず、 ほぼ一定となる。 ただし、 暗号化方式な どによっては、 改竄チェック処理に要する時間が、 コンテンツごとに変化するこ とがある。
そして、 時点 t 1から或る時間経過した時点 t 2においてコンテンツ A対象の 改竄チェック処理が終了したとされると、 この時点 t 2からコンテンツ A対象の 暗号化復号/復調処理を開始するようにされる。 コンテンッ A対象の暗号化復号 復調処理が実行開始されるのに応じては、 復 調処理によって得られたデジタルオーディォデータをバッファエリア 2 0 aのバ ッファに蓄積させていく動作も開始され、 或る時間を経過すると、 バッファにお ける蓄積容量が一定以上となって、 読出可能な状態となる。 このタイミングが時 点 t 3として示されている。
これにより、 時点 t 3から、 コンテンツ A対象の再生出力系転送処理が開始さ れる。 つまり、 バッファから読み出したデジタルオーディオデータを再生出力系 であるオーディォデータ処理部 2 に対して転送する処理である。
コンテンツ Aとしての再生音の出力は、 この時点 t 3に対応して開始されるも のとなる。
例えば、 コンテンッ Aとしての符号化デ一夕についての暗号化復号/復調処理 は、 時点 t 5にて完了する。 この時点 t 5において、 暗号化復号 Z復調処理によ り得られたコンテンツ Aのデジタルオーディォデ一夕のバッファへの書込みも終 了するが、 このとき、 バッファには、 未だ読出しが行われていないデジ夕ルオー ディォデ一夕が蓄積されている状態にある。
このため、 時点 t 5以降においても、 バッファに蓄積されているデ一夕が全て 読み出されるまでは、 コンテンツ A対象の再生出力系転送処理は継続される。 そ して、 この場合には、 時点 t 7において、 コンテンツ A対象の再生出力系転送処 理が終了しており、 これに対応して、 時点 t 7においてコンテンツ Aとしての再 生出力音も終了するものとされる。 このことから、 コンテンツ Aが再生出力され る再生出力期間としては、 時点 t 3〜時点 t 7の期間ということになる。
また、 コンテンッ Aに連続して次に再生されるべきコンテンツ Bを対象とする 暗号化コンテンツ対応再生処理は、 次のようにして実行する。
コンテンツ A , Bの順で連続再生するには、 コンテンツ B対象の再生出力系転 送処理の開始タイミングを、 コンテンツ A対象の再生出力系転送処理の終了タイ ミングと連続させる必要がある。 つまり、 この場合には、 図示もしているように、 時点 t 7からコンテンツ B対象の再生出力系転送処理を開始させる必要がある。 このため、 コンテンツ B対象の暗号化復号ノ復調処理は、 時点 t 7からのパッ ファからの読出処理が開始されることを保証するために、 時点 t 7を基点として、 所定量のデジタルオーディォデータの蓄積に要する時間分前のタイミングの時点 t 6から開始すべきものとなる。
したがって、 コンテンツ B対象の改竄チェック処理は、 この時点 t 6よりも前 の段階において実行する必要がある。
そこで、 この図 3に示す場合には、 このような場合の順当な処理シーケンスと して、 コンテンツ B対象の改竄チェック処理について、 コンテンツ Aの改竄チェ ック処理が終了するのに続けて実行するようにしている。 つまり、 図 3において は、 コンテンツ Aの改竄チェック処理が時点 t 2において終了しているが、 コン テンッ B対象の改竄チェック処理については、 この時点 t 2から開始させること としているものである。 このコンテンツ Bの改竄チェック処理は、 時点 t 4にお いて終了させている。
ここで留意すべきことは、 暗号化コンテンツ対応再生処理の実際として、 改竄 チェック処理、 暗号化復号/復調処理、 及び再生出力系転送処理のうち、 改竄チ エック処理及び暗号化復号 Z復調処理については、 それぞれ、 比較的 C P U 1 1 の占有率が高い重い処理となることである。 これに対して、 再生出力系転送処理 は、 バッファから読み出されたデジタルオーディオデータを、 バス 1 2を介して 転送させる指示を行うだけであるので、 C P U 1 1の占有率が低い軽い処理とな る。
ここで、 図 3に例示した処理シーケンスのタイミングを見てみると、 時点 t 2 から時点 t 4の期間において、 コンテンツ A対象の暗号化復号/復調処理と、 コ ンテンッ B対象の改竄チェック処理とが同時に併行して実行されていることが分 かる。
つまり、 C P U 1 1としては、 共に C P U占有率が高いとされる 2つの処理を 同時に実行していることになり、 実際の C P U占有率としても相当に高くなつて いることになる。
上記した期間 t 2〜 t 4に示す C P U 1 1の処理状況となるときには、 例えば、 C P U 1 1の性能にもよるが、 同時実行される処理について遅れが生じるような 可能性も出てくる。 これにより、 例えば、 図 3の場合であれば、 コンテンツ A対 象の暗号化復号ノ復調処理が必要とされる処理速度を維持できずに、 バッファに アンダフ口一を生じさせ、 結果として再生出力の音声が途切れるなどの、 不都合 を生じる可能性が出てくる。
また、 本発明に係る記録再生装置 1としては、 例えば暗号化コンテンツ再生以 外にも、 他のアプリケーションのプログラムが実行される場合がある。 例えば、 本実施の形態の記録再生装置 1としてはネットワーク接続機能を有しているから、 この機能を利用した、 例えば W e bブラウザであったり、 電子メール送受信のた めのメーラ一などのアプリケーションを H D D 2 1にインストールしておくこと で、 これらのアプリケーションを必要に応じて起動させて実行させることが可能 とされる。
そして、 例えば暗号化コンテンツの再生処理プログラムと、 上述したような他 のアプリケ一ションプログラムを実行させているようなときに、 図 3の期間 t 2 〜 t 4に示すような C P U占有率の高い状態が生じたとすると、 この場合には、 さらに上記したような再生出力音声の途切れが生じる可能性が高くなる。 あるい は、 逆に他のアプリケ一ションプログラムの動作が重くなつて緩慢な状態となる ことも考えられる。
このようにして、 例えば暗号化コンテンツ対応再生処理のための処理シ一ケン スについて、 C P U占有率が高いとされる重い処理が併行して実行されることは、 結果的に機器の動作に好ましくない影響を及ぼしてしまうという不都合を招く。 そこで、 本実施の形態では、 図 4に示すようにして、 暗号化コンテンツ対応再 生処理の処理シーケンスを実行させるようにしている。 なお、 図 4に示すような 処理シーケンスにおいても、 暗号化コンテンツとして、 コンテンツ Aから再生を 開始し、 続けてコンテンツ Bを連続して再生する場合を例に挙げる。 .
この場合において、 コンテンツ Aを対象とする改竄チェック処理、 暗号化復号 ノ復調処理、 及び再生出力系転送処理のタイミングについては、 図 3の場合と同 様である。
また、 コンテンツ Bを対象とする暗号化復号/復調処理、 及び再生出力系転送 処理としても、 コンテンツ Aに続けての連続再生が要求される都合上、 図 3の場 合と同様のタイミングとなる。
その上で、 本実施の形態では、 図 4に示すようにして、 コンテンツ B対象の改 竄チェック処理については、 コンテンッ Aを対象とする暗号化復号/復調処理の 終了時点である時点 t 5から開始されるようにしている。
つまり、 本実施の形態では、 次に再生されるべきコンテンツを対象とする改竄 チェック処理については、 現在再生出力中のコンテンツを対象とする暗号化復号 ノ復調処理に続けて実行させるように、 プログラムのアルゴリズムを構成するも のである。
このような処理シーケンスによるコンテンツ Bを対象とする改竄チェック処理 は、 コンテンツ Aを対象とする暗号化復号 Z復調処理が完了した後において、 同 じコンテンツ Aを対象とする再生出力系転送処理により、 バッファに蓄積されて いるデジタルオーディォデータを読み出して再生出力している期間を利用して実 行されることになる。
図 4では、 コンテンツ B対象の改竄チェック処理は、 コンテンツ B対象の喑号 化復号ノ復調処理が開始される時点 t 6において完了していることになつている が、 これは、 コンテンツ B対象の改竄チェック処理が、 遅くとも時点 t 6に終了 すればよいことを示している。 例えば実際においては、 このコンテンツ B対象の 暗号化復号/復調処理の開始時点よりも前の時点で終了されてよい。
このような処理シーケンスであれば、 暗号化コンテンッを連続して再生出力す る場合において、 C P U占有率の高い暗号化復号 Z復調処理と改竄チェック処理 とが同時に実行される期間をなくすことができる。 これにより、 暗号化コンテン ッの再生に対応した C P Uの最大占有率を、 これまでよりも大幅に低くすること ができる。 これによつて、 例えば C P U占有率が高くなつて、 再生出力の連続性 が維持できなくなるような不都合な動作を回避できる。 また、 例えば他のアプリ ケ一ションを同時に実行するときにも、 C P Uの能力に余裕を与えることが可能 となる。
ところで、 上述したことから理解されるように、 図 4に示した処理シーケンス において、 次に再生されるべき次コンテンツを対象とする改竄チェック処理の実 行タイミングは、 暗号化復号/復調処理されたデジタルオーディオデータをバッ ファに一時蓄積するという動作を利用している。
つまり、 現在再生中の現コンテンツの暗号化復号/復調処理の終了時から、 次. のコンテンツのための暗号化復号/復調処理が開始されるまでの期間は、 即ち、 バッファに蓄積されているデジタルオーディォデータを読み出して再生出力する 期間となる。 この期間は、 現コンテンツについての暗号化コンテンツ対応再生処 理として、 現コンテンツを対象とする再生出力系転送処理のみが実行され、 暗号 化復号 Z復調処理が実行されない期間であるから、 この期間において、 次のコン テンッを対象とする改竄チェック処理を実行させることとしているものである。 したがって、 この次コンテンツを対象とする改竄チェック処理の終了と、 次の コンテンッの連続再生が適正に行われるようにするには、 現コンテンツの暗号化 復号/復調処理が終了した時点以降において、 バッファに蓄積されているデジ夕 ルオーディォデータを読み出して再生出力を終了させるまでの時間長として、 改 竄チェック処理に要するとされる時間よりも長くなるようにされていればよいこ とになる。
本実施の形態としても、 通常考えられる再生時間を有する暗号化コンテンツを 連続再生することを前提とすれば、 次コンテンッを対象とする改竄チェック処理 の終了と、 次のコンテンツの連続再生とが保証されることを考慮して、 バッファ エリア 2 0 aにおける各バッファの容量が設定されているものである。
また、 暗号化コンテンツの音声再生は、 改竄チェック処理の後において暗号化 復号 復調処理が開始され、 バッファに一定量以上のデータが蓄積された後に、 バッファ読出処理を含む再生出力系転送処理が開始されるのに応じて開始される。 つまり、 バッファに所定以上のデータが蓄積されるまでの期間は、 再生が開始さ れない待機期間が生じる。
本実施の形態では、 コンテンツ再生の開始に対応したバッファからのデータ読 出しの開始は、 例えばバッファ 1, 2 , 3の 3つのバッファが備えられている場 合であれば、 最初のバッファ 1の全容量にデータを書き込んだことを以て、 一定 以上のデータが蓄積されたとみなし、 バッファからの読出しを開始することとし ている。 したがって、 バッファ 1, 2, 3の容量を多くすれば、 それだけ蓄積量 も多くなるのではあるが、 再生開始までの待機時間も長くなるので、 この点で好 ましいことではない。
そこで、 本実施の形態としては、 上述したように、 1 . 通常考えられる再生時間を有する暗号化コンテンッを連続再生することを 前提として、 次コンテンツを対象とする改竄チェック処理の終了と、 次のコンテ ンッの連続再生とが保証されること、
2 . 再生開始までの待機時間が、 実使用上問題とならない程度に収まるように すること、
という、 これらの 2つの条件を考慮して、 通常のバッファ 1, 2, 3の容量を 設定している。
しかし、 通常のバッファ 1, 2, 3の容量では、 連続再生されるべき暗号化コ ンテンッが非常に短いような場合には、 前者の条件を保証することができなくな り、 現コンテンツと次のコンテンツとの間での再生出力の連続性が維持できなく なる場合がある。
この点について、 図 5及び図 6を参照して説明する。
先ず、 図 5には、 連続再生される暗号化コンテンツ A , Bにおいて、 少なくと も先に再生されるコンテンツ Aについては、 再生時間が通常として考えられる長 さとされており、 適正にコンテンツ A, Bが連続再生される場合を示している。 なお、 この図において、 読出処理として、 バッファ 1, 2 , 3において白抜きの バーで示す部分が、 読出しが実行されている期間を示す。 また、 書込処理として、 バッファ 1, 2 , 3において黒色のバーとして示す部分が、 書込みが実行されて いる期間を示す。
この場合において、 先ず、 時点 t 1〜時点 t 2の期間によりコンテンツ Aを対 象とする改竄チェック処理が実行され、 時点 2以降からコンテンツ Aを対象と する暗号化復号 復調処理が実行開始されている。 このコンテンツ Aを対象とす る暗号化復号ノ復調処理の開始に応じては、 バッファ 1に対して書込みが行われ る。 このバッファ 1に対する書込みが時点 t 3において完了している。 以降の暗 号化復号ノ復調処理に伴っては、 順次バッファ 2, 3に対して書込みを実行して いき、 またバッファ 1に戻って書込みを繰り返していくという、 バッファ書込処 理のシーケンスとなる。
また、 バッファ 1に対する書込みが時点 t 3において完了したのに応じて、 こ の時点 t 3から、 コンテンツを対象とする再生出力系転送処理が開始されており、 同じ時点 t 3からバッファ 1に対する読出処理が実行される。 バッファ読出処理 としても、 既にデータが蓄積されているバッファ 2 , 3に対して順次読出しを実 行し、 バッファ 1に戻って読出しを実行していく。
ただし、 前述もしているように、 バッファに対する書込速度は、 読出速度より も高速とされている。 したがって、 バッファに対する書込み/読出しが正常に実 行されていくことによっては、 例えば、 或るバッファに対する読出しが実行され ているときには、 他のバッファにデ一夕がほぼ定常的に蓄積されているような状 態が得られることになる。
ここで、 例えば時点 t 4に示すタイミングで、 コンテンツ Aを対象とする暗号 化復号/復調処理が終了して、 コンテンツ Aとしてのデジタルオーディオデータ のバッファへの書込みも、 例えばバッファ 3への書込みを以て終了したとする。 この場合、 時点 t に至るまでにおいてバッファ 1に対するデータ読出しが実行 されていたとすると、 時点 t 4を経過した後においては、 バッファ 2とバッファ 3にデータが蓄積されている状態が得られていることになる。 したがって、 時点 t 4以降における再生出力系転送処理によっては、 先ず、 バッファ 2から読み出 したデ一タを転送して再生出力させ、 続いてバッファ 3から読み出したデータを 転送して再生出力させることになる。
ここで、 例えば通常のバッファ 2の記憶容量に対応する単位再生時間が、 図示 しているようにして T sに相当するものであるとすると、 時点 t 4にてコンテン ッ Aの暗号化復号/復調処理が終了した後において、 この単位再生時間 T s X 2 で表される時間分、 再生出力系転送処理によってコンテンツ Aの読出しが可能と されていることになる。
そして、 時点 t 4においては、 コンテンツを対象とする暗号化復号/復調処理 が終了したのであるから、 時点 t 4からはコンテンツ Bを対象とする改竄チェッ ク処理が開始されることになる。
例えば、 本実施の形態の改竄チェック処理は、 概ね 1つのバッファ蓄積容量に 対応する単位再生時間 T sよりは長いが、 単位再生時間 T s X 2よりも短い処理 時間であるとする。
このため、 コンテンツ Bを対象とする改竄チェック処理は、 単位再生時間 T s X 2に相当する時点 t 4〜時点 t 6の期間内における時点 t 5において終了され ることになる。
そして、 この場合には、 時点 t 5からコンテンツ Bの暗号化復号/復調処理を 開始させることで、 コンテンツ Aの再生期間が終了する時点 t 6から、 コンテン ッ Bを対象とする再生出力系転送処理を開始させている。 つまり、 時点 t 6から コンテンツ Bの音声再生を開始させており、 これによりコンテンツ A, Bの連続 再生動作が得られていることが分かる。
これに対して、 通常のバッファ容量を設定してコンテンツ A , Bを連続再生す るのに当たり、 少なくともコンテンツ Aが非常に短い再生時間である場合には、 図 6のような再生処理となる場合がある。 この場合においても、 先ず、 期間 t 1 〜 t 2によりコンテンツ Aを対象とする改竄チェック処理が実行されている。 そ して、 これに続けて、 時点 t 2からコンテンツ Aを対象とする暗号化復号/復調 処理が開始されている。 ただし、 この場合においては、 コンテンツ Aの再生時間 が短いことに対応して、 コンテンッ A対象の暗号化復号 復調処理としての時間 も比較的短時間で終了したとする。
このような場合、 例えば図 6における、 コンテンツ A対象の暗号化復号/復調 処理の実行期間 (t 2〜 t 4 ) における、 バッファ 1 , 2 , 3に対する書込/読 出処理によると、 時点 t 4に至った段階で、 データが蓄積されているのは、 パッ プア 3のみとなっている。
つまり、 コンテンツ Aの再生時間が非常に短いために、 暗号化復号/復調処理 の実行期間も非常に短いものとなり、 この結果、 暗号化復号/復調処理の実行期 間における、 バッファ書込処理により蓄積されるデータ量と、 読出処理により読 み出されて消費されるデータ量との差分が充分に得られていない状態である。 この場合、 時点 t 4以降によるコンテンツ A対象の再生出力系転送処理によつ て稼ぐことのできる時間は、 バッファ 3に蓄積されたデータ分に相当する単位時 間 T sということになる。
したがって、 この場合には、 時点 t 4以降におけるコンテンツ A対象の再生出 力系転送処理が、 時点 t 4からほぼ単位時間 T sを経過した時点 t 4 aにて終了 し、 この時点に応じて、 コンテンツ Aの再生音出力も停止されることになる。 これに対して、 改竄チェック処理は、 単位時間 T sよりも長い処理であるから、 時点 t 4から開始されたコンテンツ B対象の改竄チェック処理は、 時点 t 4 aを 経過しても実行していることになり、 例えば時点 t 5において終了することに なる。
このときのコンテンツ B対象の暗号化復号 復調処理は、 この時点 t 5から開 始されることになり、 この時点 t 5から、 例えばバッファ 1へのデ一夕書込みが ほぼ完了したとされる時点 t 6からコンテンッ B対象の再生出力系転送処理が開 始されて、 コンテンツ Bの音声出力も開始されることになる。
このような動作となる結果、 コンテンツ Aの再生音声の出力が終了する時点 t 4 aと、 コンテンツ Bの再生音声の出力が開始される時点 t 6との間には、 非再 生期間 ( t 4 a〜 t 6 ) が生じることになる。 つまり、 コンテンッ A , Bを連続 再生することができなくなつている。
例えば、 このようにして非常に再生時間の短いコンテンツの連続再生が必要と なる場合としては、 実際のコンテンツの再生時間が短い場合の他に、 コンテンツ の連結編集を行うような場合を挙げることができる。
つまり、 連結編集を行うのに当たっては、 連結すべきとして指定した前後のコ ンテンッの終了位置と開始位置の連結状態が、 ユーザの意図するものであるか否 かを確認してもらうために、 前後のコンテンツの終端部分と開始部分の各数秒の みを抜き出して、 連続再生を繰り返すことが行われる。
このような前後のコンテンツの終端部分と開始部分を連続再生する再生動作は、 ちょうど、 図 6に示したような、 再生時間の非常に短いコンテンツ Aに続けてコ ンテンッ Bを再生する状況と同等であることになり、 したがって、 前後のコンテ ンッの終端部分と開始部分は、 連続的に再生されない場合が生じる可能性が高い ということになる。
連結編集に際して、 その連結状態が適正であるかを確認できるようにするため には、 前後のコンテンツの終端部分と開始部分は、 確実に連続的に再生されなけ ればならない。
そこで、 本実施の形態としては、 上述のようにして、 連続再生されるべき暗号 化コンテンツとして、 少なくとも先に再生されるべき暗号化コンテンツの再生時 間が所定以下であって、 通常のバッファ容量設定では連続再生が保証できないと される場合においては、 通常よりも大きいとされる所要のバッファ容量 (以降、 「短時間連続再生用バッファ容量」 ともいう) を設定することとする。
このようなバッファ容量の設定変更は、 C P U 1 1の制御によって、 R A M 2 0内のバッファエリア 2 0 aにおけるバッファ 1 , 2 , 3の各領域設定を変更す ることで実現できる。 つまり、 通常のバッファ容量として、 ノ ッファ 1, 2 , 3 の各々について、 容量 A分の領域割当を行うとすれば、 短時間連続再生用バッフ ァ容量を設定する際には、 バッファ 1 , 2 , 3の各々について、 容量 Aよりも大 きい所定の容量 B分の領域割当を行うようにするものである。
図 7のタイミングチャートは、 短時間連続再生用バッファ容量を設定して、 図 6の場合と同様に、 再生時間が短いコンテンツ Aに続けてコンテンツ Bを再生し た場合の動作を示している。
この場合においても、 期間 t 1〜 t 2によるコンテンツ A対象の改竄チェック 処理に続けて、 時点 t 2から暗号化復号/復調処理が開始される。 そして、 この 暗号化復号 復調処理に伴って、 同じ時点 t 2以降において、 バッファ 1から書 込みが開始されている。 ここでバッファ 1, 2, 3の各々は、 通常よりも大きな 容量が設定されているので、 バッファ 1への書込み終了に要する時間も長くなつ ていることが分かる。 これにより、 実際に、 時点 t 2から、 コンテンツ A対象の 再生出力系転送処理が開始される時点 t 3までの時間長としても、 図 6に示す期 間 t 2〜 t 3よりも長いものとされている。 つまり、 再生開始時において実際に 音声が再生出力開始されるまでの待機時間は長くなる。
そして、 この場合においても、 例えばコンテンツ A対象の暗号化復号 復調処 理が終了した時点 t 4の段階では、 バッファ 1 , 2 , 3のうち、 バッファ 3にの みデ一夕が蓄積されている状態が示されている。 したがって、 時点 t 4以降にお いては、 コンテンツ A対象の再生出力系転送処理に伴い、 バッファ 3に蓄積され たデ一夕を読み出して再生出力させる動作が実行されることになる。 そして、 こ の動作は、 バッファ 3の容量に応じた再生時間 T Lの期間長によって実行されるこ とになる。 ここで、 単位再生時間 T Lは、 短時間連続再生用バッファ容量に対応し ているから、 通常のバッファ容量に対応する単位再生時間 T sよりも長くなつて いる。 これに対して、 改竄チェック処理に要する時間は、 コンテンツの再生時間 等にかかわらず、 ほぼ一定とされる。
この場合において、 時点 t 4から実行されるコンテンツ B対象の改竄チェック 処理は、 図 6の場合とほぼ同様の時間長を経過した時点 t 5にて終了することに なる。 この時点 t 5は、 図示するようにして、 バッファ 3に蓄積されたデータを 読み出して再生出力させる動作が終了する時点 t 6よりも以前のタイミングであ る。 つまり、 この場合には、 コンテンツ Aのデジタルオーディオデータを再生出 力させている間に、 コンテンッ B対象の改竄チェック処理が完了することになる。 この場合においては、 時点 t 5からコンテンツ B対象の暗号化復号ノ復調処理が 実行された上で、 時点 t 5から一定時間経過した時点 t 6において、 コンテンツ Aの音声再生出力が終了されるのに代わり、 コンテンッ B対象の再生出力系転送 処理が適正に開始される。 つまり、 コンテンツ Aの音声再生出力が開始される。 このようにして、 通常よりも大きな所要のバッファ容量が設定されることで、 短い再生時間の暗号化コンテンッを含んで連続再生を実行する場合にも、 音声の 連続性が保たれることが理解される。
本実施の形態としては、 通常時に対応しては、 通常のバッファ容量を設定する こととしている。 通常時の場合、 暗号化コンテンツを連続再生するときでも、 喑 号化コンテンツの再生時間長は一定以上であることから、 図 5により説明したよ うにして連続性を保つことができる。
また、 このときのバッファ容量としても、 再生開始時において実際に音声再生 が開始されるまでの待機時間も許容範囲内となることを考慮して設定されている から、 通常の使用状態において、 ユーザが、 待機時間に違和感を感じるようなこ とはない。
これに対して、 例えば先に説明した連結編集における連結位置の確認再生や、 一定以下の再生時間となる非常に再生時間の短い暗号化コンテンッに続けて、 暗 号化コンテンッを連続再生するような場合には、 短時間連続再生用のバッファ容 量に切り換えるようにされる。 これにより、 図 7に示したように、 再生時間の短 い暗号化コンテンツを再生するときにも、 連続性が確保できる。
図 7において時点 t 2から時点 t 3の期間としても示したように、 短時間連続 再生用のバッファ容量は、 通常のバッファ容量よりも大きいことから、 再生処理 を開始してから音声出力開始までの再生待機時間は長くなつてしまう。 しかしな がら、 連結編集、 及び非常に再生時間の短い暗号化コンテンツの再生などは、 通 常の暗号化コンテンツの再生と比較すれば、 特殊な再生となるものであり、 実行 される頻度、 機会は少ない。 つまり、 特殊とされる場合においてのみ、 一時的に 再生待機時間が長くなるだけであるから、 記録再生装置 1を実際に使用する上で 特に問題にはならない。
次に、 オーディオデータである暗号化コンテンツごとに、 フリンジデ一夕とい われる、 オーディォデータ以外の関連データが付随する例を挙げて説明する。 暗号化コンテンツに関連デ一夕として付随されるフリンジデ一夕としては、 例 えば、 対応する暗号化コンテンツについてのアルバムジャケットとしての画像デ 一夕、 ァ一テイストのプロフィール、 ライナノ一ッ、 歌詞等を表示するための画 像デ一夕、 若しくはテキストデータなどを挙げることができる。
そして、 このようなフリンジデータは、 オーディオデータである暗号化コンテ ンッと対応付けが行われて管理された上で、 これらオーディオデ一夕である暗号 化コンテンツのファイルとは個別のファイルとして記憶されているものである。 また、 これらのフリンジデータは、 例えば 1つの暗号化コンテンツに対して、 ァ ルバムジャケットのデータ、 歌詞のデータなどのようにして、 複数が対応付けら れてもよいものである。
さらに、 これらのフリンジデータとしても、 例えば画像データであれば、 所定 の画像圧縮方式によって圧縮された形式とされており、 さらに暗号符号化も施さ れている。
暗号化コンテンツを再生するのに伴い、 フリンジデータをデコ一ドしておけば、 暗号化コンテンッが音声として再生出力されるときに、 アルバムジャケットの画 像や、 歌詞などの画像を、 ディスプレイモニタ 1 7に表示出力させることが可能 になる。
このような、 フリンジデータが付随する暗号化コンテンツを、 音声として再生 出力するための処理シーケンスについて、 図 8を参照して説明する。 図 8には、 1つの暗号化コンテンツを再生出力する場合が示されている。 また、 ここでは説 明を簡単にするために、 再生対象の暗号化コンテンツが記憶されているのは HD D 2 1である。
ただし、 以降説明する本実施の形態としての暗号化コンテンツの再生処理は、 例えば、 メディアに記録された暗号化コンテンツをメディアドライブ 1 9により 読み出して再生する場合や、 ネットワークを介して取得した暗号化コンテンツを 再生する場合など、 本発明に係る前述した図 1に示す記録再生装置 1により暗号 化コンテンッを再生する場合全般に適用できるものである。
HDD 2 1に記憶された再生対象の暗号化コンテンツをデコードするのに先立 つては、 フリンジデータについての暗号化の復号、 及び圧縮符号化についての復 調 (伸長) 処理 (以降、 フリンジ復調処理という) を実行する。
このフリンジ復調処理は、 暗号化コンテンツ再生のためのプログラムに従って、 CPU 1 1が実行する。 つまり、 フリンジ復調処理は、 ハードウェアによるので はなく、 ソフトウェアにより実行される。 なお、 暗号化コンテンツ再生のための プログラムは、 HDD 2 1にインストールされるようにして記憶されており、 こ のプログラムを実行すべきときには、 HDD 2 1から読み出されて RAM 20に 展開される。
この際の処理としては、 HDD 2 1に対して、 目的のフリンジデ一夕の読出し を指示する。 これに応じて、 HDD 2 1からは、 フリンジデ一夕が読み出されて パス 1 2を介して C P U 1 2に対して転送されてくることになる。 C PU 1 2は、 先ず、 転送されてきたデータについて、 RAM2 0を作業領域として利用して、 暗号化復号のための処理を実行する。 暗号化が解かれたフリンジデータは、 例え ば圧縮符号化された画像形式となっているので、 この圧縮符号化に対応した伸長 処理を実行する。 そして、 このようにして復調された状態のフリンジデータを例 えば RAM 2 0に保持させておくようにされる。
フリンジデータの表示出力は、 本実施の形態では、 例えば暗号化コンテンツの 音声再生の開始と同時に行われるべきものとされる。 しかしながら、 フリンジデ 一夕のデコード処理は、 CPU 1 1にとつては比較的重い処理であることから、 暗号化コンテンッの暗号化復号 /復調処理と同時に実行したとしても、 この復号 化された暗号化コンテンツの音声再生出力の開始タイミングに間に合わせること が難しい。
このために、 本実施の形態では、 暗号化コンテンツのデコードに先立ってフリ ンジデ一夕をデコードしておくようにされる。 フリンジデータがデコード処理後 のものである場合、 これを表示させるためには、 例えば、 表示処理部 1 6に対し てフリンジデータを転送するだけでよい。 したがって、 暗号化コンテンツの音声 再生出力タイミングに同期させて、 デコード後のフリンジデータを表示処理部 1 6に転送すれば、 暗号化コンテンツの音声再生出力の開始と同時にフリンジデ一 夕を表示出力させることが可能になる。
上述したフリンジ復調処理が完了したとされると、 続いては、 H D D 2 1から 読み出されて逐次転送されてくる暗号化コンテンッについて、 暗号化復号/復調 処理を実行していく。
暗号化復号/復調処理も、 暗号化コンテンツ再生のためのプログラムに従って、 C P U 1 1が実行するもので、 転送されてきた暗号化コンテンツのデータについ て、 所定の処理データ単位ごとに暗号化についての復号処理を実行する。 そして、 この暗号の復号処理によって得られた、 暗号化の解かれたコンテンツデータにつ いて、 圧縮符号化方式に従った復調処理 (伸長処理) を実行する。 これにより、 伸長処理後のデジタルオーディォデータが得られることになる。
このようにして、 暗号化復号ノ復調処理により得られたデジ夕ルオーディォデ 一夕としてのデータ列は、 ノ ッファ書込処理によって、 順次、 バッファエリア 2 0 aを分割して形成されるバッファに対して書込みが行われていく。
ここで、 暗号化復号/復調処理は、 暗号化コンテンツについて、 実際に暗号化 を解き、 伸長処理を施すことで、 デジタルォ一ディォデータを復調する処理であ る。 つまり、 暗号符号化及ぴ圧縮符号化についての復号を行う処理である。 これ に対して、 フリンジ復調処理は、 これ自体は、 オーディオとしてのコンテンツデ ータではないが、 コンテンツデータを再生出力させるのに当たつて付随して必要 となる情報を復調するための処理であるということになる。
ここで、 本実施の形態としては、 前述した記録再生装置と同様に、 図 8に示す ように、 ノ ツファエリア 2 0 aにおいて複数のバッフ 7を設けるようにしている。 ここでは、 3つのバッファ 1, 2 , 3を備えた例を示している。 また、 ここでは、 これら複数のバッファの各々は同じデータ容量が割り与えられているものとする。 また、 実際においては、 これらの各バッファは、 リングバッファとして構成され る。
このような場合におけるバッファ書込処理は、 次のように実行される。
暗号化復号/復調処理が開始される以前の段階では、 バッファ.1 , 2 , 3は全 て空きの状態にあるが、 暗号化復号/復調処理が開始されて、 バッファにデータ を書き込むべきタイミングとなると、 例えば、 先ずバッファ 1に対してデ一夕を 書き込んでいくようにされる。 そして、 バッファ 1におけるデータ蓄積量が一杯 になったとされると、 続いては、 バッファ 2にデ一夕を書き込んでいくようにさ れ、 さらにバッファ 2におけるデータ蓄積量が一杯になったのであれば、 バッフ ァ 3にデータを書き込んでいくようにされる。 なお、 確認のために述べておくと、 バッファへのデータの書込みは、 バッファに対する読出しよりも高速なデ一タレ ートによって行われる。 また、 このようにして、 バッファ 1, 2 , 3に書き込ま れて蓄積されていったデ一タは、 通常であれば、 時間軸的に連続性を有している ことになる。 つまり、 再生出力音としては連続性が得られているものである。 上述のようにして、 バッファ 1から書込みが開始され、 次のバッファ 2, 3へ の書込みが順次実行されている過程において、 例えばバッファ 1に対して一定以 上のデータが蓄積される状態となると、 ノ ッファエリア 2 0 aに対するメモリ読 出しとして、 このバッファ 1に最初に蓄積されたデータから、 所定のデータレー トによる読出しが開始される。
そして、 バッファ読出処理としては、 バッファ 1に蓄積されたデータを全て読 み出したとされると、 続いては、 バッファ 2に蓄積されたデータの読出しを実行 し、 さらにバッファ 2に蓄積されたデータを全て読み出したのであれば、 パッフ ァ 3からのデ一夕読出しを行う。
—方、 バッファ書込処理として、 バッファ 3までの書込みが完了した後は、 上 記のようにしてデ一夕の読出しが完了して空きとなったバッファ 1に戻って、 書 込みを行っていくようにされる。 以降においては、 同様にして、 順次、 読出しが 完了して空きとなったバッファ 2、 バッファ 3に対してデータの書込みを実行し ていく。 つまり、 ノ'ッファ 1 , 2 , 3に対する書込処理としては、 バッファ 1, 2 , 3 の順で繰り返すようにして、 空き状態のバッファにデータの書込みを所定のデ一 夕レートによって行うようにされる。
そして、 バッファ 1, 2, 3に対する読出処理としては、 バッファ書込処理に よって一定量以上のデータが蓄積されるのに対応した時間分遅延するようにして、 バッファ 1 , 2 , 3の順で、 書込みよりも低速なデ一夕レートによって読出しを · 行っていくようにされる。
このようなバッファ 1, 2, 3に対する書込み/読出しの処理によると、 いわ ゆるメモリのアンダフ口一が生じない限りは、 ノ、ッファ 1 , 2 , 3の少なくとも いずれかにおいて、 データが蓄積されている状態にあるようにされる。 これによ り、 再生データの連続性が得られるようにしている。 また、 このような読出動作 である場合、 バッファ書込処理としては、 全てのバッファにおいてデータが蓄積 されている状態ではデータ書込みを待機し、 書込順的に書込みを行うべきバッフ ァが空になったら、 データ書込みを開始するようにされる。 つまり、 少なくとも バッファ書込処理については、 間欠的な動作となる場合がある。
上記したようなパッファに対する書込み Z読出しの処理に対応して、 バッファ からのデータの読出しの開始に同期しては、 再生出力系転送処理が開始されるこ とになる。
この再生出力系転送処理も、 暗号化コンテンッ再生のためのプログラムに従つ て、 C P U 1 1が実行するものであり、 バッファから読み出したデータを、 再生 出力のために、 再生信号処理系 (再生出力系) に対して転送するための処理とな る。
この場合の再生信号処理系 (再生出力系) は、 図 1においてはオーディオデー タ処理部 2 4となる。 再生出力系転送処理としては、 オーディオデータ処理部 2 4において再生出力すべきオーディオデータの連銃性が保証されるように、 所要 のデータレートによって、 バッファから読み出したデータをバス 1 2を介して転 送していくことになる。
ここで、 バッファ書込処理は、 喑号化復号/復調処理により得られるデジタル オーディォデータをパッファに書き込む処理であり、 バッファ読出処理により読 み出されたデータは、 再生出力系転送処理によってオーディォデータ処理部 2 4 に転送される。 したがって、 暗号化復号 復調処理と再生出力系転送処理とは同 時に併行して実行されている期間が存在する。
オーディオデータ- ^υ 2 4では、 上述のようにしてバッファから読み出され たデジタルォ一デ^牙-データが連続的に入力されてくることになる。 そして、 こ のようにして入力されてくるデジタルオーディオデータについて、 D / A変換処 理を含む所定の信号処理を実行することで、 最終的にスピーカ 2 5から音声とし て出力するようにされる。 ここで、 オーディオデータ処理部 2 4に入力されるデ ジタルオーディオデータが連続性を保っている限り、 スピーカ 2 5から出力され るコンテンツの音声としても連続性が得られることになる。
なお、 図 8には示していないが、 フリンジ復調処理によって復調されたフリン ジデータを再生出力 (表示出力) するための表示処理部 1 6に対するデータ転送 処理は、 上記したオーディォデータのための再生出力系転送処理とほぼ同時とな る開始夕イミングにより実行されればよい。
図 8を参照した説明から理解されるように、 1つの暗号化コンテンツを再生出 力するのに当たって、 C P U 1 1が暗号化コンテンツ再生のためのプログラムに 従って実行すべき基本的な処理 (暗号化コンテンツ対応再生処理) としては、 フリンジ復調処理 (ここでは表示出力のための転送処理を含む)
暗号化復号ノ復調処理
再生出力系転送処理
の 3つである。 そして、 フリンジ復調処理は、 例えばコンテンツに対応するアル バムジャケッ 卜の画像などに代表されるフリンジデータを復調する処理であるが、 この場合の仕様としては、 コンテンツとしての音声の再生出力が開始されるまで には、 フリンジデータについて、 表示などの再生出力が可能な状態にデコードし ておくこととしている。 したがって、 この場合のフリンジ復調処理は、 必然的に 暗号化復号/復調処理の前段階において実行されるべきものとなる。 つまり、 1 コンテンツを対象とした場合において、 フリンジ復調処理と暗号化復号 復調処 理とは同時に実行されることはなく、 フリンジ復調処理→暗号化復号ノ復調処理 の実行順が守られるべきものとなる。 ただし、 暗号化復号 復調処理と再生出力 系転送処理については、 前述もしたように同時に併行して実行される場合がある。 ここではバッファエリア 2 0 aのバッファに対する書込処理は、 暗号化復号 復調処理に付随するものであることとし、 また、 読出処理は再生出力系転送処理 に付随するものである。
図 8に示した 1つの暗号化コンテンツについての暗号化コンテンツ対応再生処 理のシーケンスを前提として、 暗号化コンテンツを連続して再生する場合におけ る、 暗号化コンテンツ対応再生処理について、 図 9のタイミングチャートを参照 して説明する。
ここでは暗号化コンテンッとして、 コンテンツ Aからコンテンッ再生を開始し て、 続いてコンテンツ Bを連続的に再生する場合を例に挙げる。
例えば、 コンテンツ Aの再生を開始すべき指示が得られたとされると、 先ず、 時点 t 1において、 コンテンッ Aを対象としたフリンジ復調処理を実行すること になる。
ここで、 フリンジ復調処理に要する時間は、 復調対象となるフリンジデータに 応じて異なってくるものとされる。 例えば、 本実施の形態におけるフリンジデ一 夕についての画像サイズ、 解像度は、 特に統一化されていない。 このため、 個々 のフリンジデータについては、 その画像サイズ、 解像度等に応じて復調処理に要 する時間は異なってくる。
また、 1つの暗号化コンテンツに対応して付随されるフリンジデータの数は、 複数の塲合もあると先に述べたが、 1コンテンッに対応させるべきフリンジデ一 夕の数も特に規定されてはいないから、 付随するフリンジデ一夕としてのフアイ ル数も暗号化コンテンツごとに異なる。 したがって、 復調処理すべきフリンジデ 一夕の数によっても、 フリンジ復調処理に要する時間長は異なってくるものであ る。
この場合においては、 時点 t 1から或る時間経過した時点 t 2においてコンテ ンッ A対象のフリンジ復調処理が終了したとされる。 この時点 t 2からコンテン ッ A対象の暗号化復号 復調処理を開始するようにされる。
コンテンッ A対象の暗号化復号ノ復調処理が実行開始されるのに応じては、 復 調処理によって得られたデジタルオーディォデータをパッファエリア 2 0 aのバ ッファに蓄積させていく動作も開始され、 或る時間を経過すると、 バッファにお ける蓄積容量が一定以上となって、 読出可能な状態となる。 このタイミングが時 点 t 3として示されている。
これにより、 時点 t 3から、 コンテンツ A対象の再生出力系転送処理が開始さ れる。 つまり、 バッファから読み出したデジタルオーディオデータを再生出力系 であるオーディォデータ処理部 2 4に対して転送する処理である。
コンテンツ Aとしての再生音の出力は、 この時点 t 3に対応して開始されるも のとなる。
例えば、 コンテンツ Aとしての符号化データについての暗号化復号/復調処理 は、 時点 t 4にて完了する。 この時点 t 4において、 暗号化復号/復調処理によ り得られたコンテンツ Aのデジ夕ルオーディォデ一夕のバッファへの書込みも終 了するが、 このとき、 バッファには、 未だ読出しが行われていないデジタルォ一 ディォデータが蓄積されている状態にある。
このため、 時点 t 4以降においても、 バッファに蓄積されているデータが全て 読み出されるまでは、 コンテンツ A対象の再生出力系転送処理は継続される。 そ して、 この場合には、 時点 t 6において、 コンテンツ A対象の再生出力系転送処 理が終了しており、 これに対応して、 時点 t 6においてコンテンツ Aとしての再 生出力音も終了するものとされる。 このことから、 コンテンツ Aが再生出力され る再生出力期間としては、 時点 t 3〜時点 t 6の期間ということになる。
また、 コンテンッ Aに連続して次に再生されるべきコンテンツ Bを対象とする 暗号化コンテンツ対応再生処理は、 次のようにして実行する。
コンテンツ A , Bの順で連続再生するには、 コンテンツ B対象の再生出力系転 送処理の開始タイミングを、 コンテンッ A対象の再生出力系転送処理の終了タイ ミングと連続させる必要がある。 つまり、 この場合には、 図示もしているように、 時点 t 6からコンテンツ B対象の再生出力系転送処理を開始させる必要がある。 このため、 コンテンツ B対象の暗号化復号ノ復調処理は、 時点 t 6からのパッ ファからの読出処理が開始されることを保証するために、 時点 t 6を基点として、 所定量のデジタルォ一'ディォデ一夕の蓄積に要する'時間分前の夕イミングの時点 t 5から開始すべきものとなる。 したがって、 コンテンツ B対象のフリンジ復調処理は、 この時点 t 5よりも前 の段階において実行する必要がある。
そこで、 この図 9に示す場合には、 このような場合の処理シ一ケンスとして、 コンテンッ B対象のフリンジ復調処理について、 コンテンッ Aの暗号化復号 復 調処理が終了するのに続けて実行するようにしている。 つまり、 図においては、 コンテンツ Aの暗号化復号/復調処理が時点 t 4において終了しているが、 コン テンッ B対象のフリンジ復調処理については、 この時点 t 4から開始させること としているものである。
このコンテンツ Bのフリンジ復調処理は、 コンテンッ B対象の暗号化復号 復 調処理が開始される時点 t 4までに終了されるべきものとなる。
ところで、 コンテンツ B対象のフリンジ復調処理を実行開始するタイミングと しては、 例えば、 コンテンツ A対象のフリンジ復調処理の終了直後とすることも 考えられる。 つまり、 図 9において破線で括ったフリンジ復調処理として示すよ うに、 時点 t 2から開始させるものである。
これは、 フリンジ復調処理については、 現在再生対象となっている暗号化コン テンッのフリンジ復調処理に続けて、 次に再生対象となる暗号化コンテンッのフ リンジ復調処理を実行することを意味している。 このようなフリンジ復調処理の 処理タイミングであっても、 フリンジ復調処理としては、 その暗号化コンテンツ の暗号化復号/復調処理の前段階で完了させておくことができる。
ここで留意すべきことは、 暗号化コンテンツ対応再生処理の実際として、 フリ ンジ復調処理、 暗号化復号/復調処理、 及び再生出力系転送処理のうち、 フリン ジ復調処理及び暗号化復号 復調処理については、 それぞれ、 比較的 C P U 1 1 の占有率が高い重い処理となることである。 これに対して、 再生出力系転送処理 は、 バッファから読み出されたデジタルオーディオデータを、 バス 1 2を介して 転送させる指示を行うだけであるので、 C P U 1 1の占有率が低い軽い処理とな る。
例えば上述したように、 現在再生対象となっている暗号化コンテンツのフリン ジ復調処理に続けて、 次に再生対象となる暗号化コンテンツのフリンジ復調処理 を実行すべきこととした場合、 時点 t 2以降において、 コンテンツ A対象の暗号 化復号 Z復調処理と、 コンテンッ B対象のフリンジ復調処理とが同時に併行して 実行される期間が生じてしまう。 この期間では、 C P U 1 1としては、 共に C P U占有率が高いとされる 2つの処理を同時に実行していることになり、 実際の C P U占有率としても相当に高くなつていることになる。
このような C P U 1 1の処理状況となるときには、 例えば、 C P U 1 1の性能 にもよるが、 同時実行される処理について遅れが生じるような可能性も出てくる。 これにより、 例えば、 コンテンツ A対象の暗号化復号 Z復調処理が必要とされる 処理速度を維持できずに、 バッファにアンダフ口一を生じさせ、 結果として再生 出力の音声が途切れるなどの、 不都合を生じる可能性が出てくる。
また、 本発明に用いられる記録再生装置 1としては、 例えば暗号化コンテンツ 再生以外にも、 他のアプリケーションのプログラムが実行される場合がある。 例 えば、 本実施の形態の記録再生装置 1としてはネットワーク接続機能を有してい るから、 この機能を利用した、 例えば W e bブラウザであったり、 電子メール送 受信のためのメ一ラ一などのアプリケーシヨンを H D D 2 1にインストールして おくことで、 これらのアプリケーションを必要に応じて起動させて実行させるこ とが可能とされる。
そして、 例えば暗号化コンテンツの再生処理プログラムと、 上記したような他 のアプリケ一ションプログラムを実行させているようなときに、 図 9の期間 t 2 〜 t 4に示すような C P U占有率の高い状態が生じたとすると、 この場合には、 さらに上記したような再生出力音声の途切れが生じる可能性が高くなる。 あるい は、 逆に他のアプリケ一ションプログラムの動作が重くなつて緩慢な状態となる ことも考えられる。
このようにして、 例えば暗号化コンテンッ対応再生処理のための処理シ一ゲン スについて、 C P U占有率が高いとされる重い処理が併行して実行されることは、 結果的に機器の動作に好ましくない影響を及ぼしてしまうという不都合を招く。 そこで、 本実施の形態では、 コンテンツ B対象のフリンジ復調処理については、 コンテンッ Aを対象とする暗号化復号 Z復調処理の終了時点である時点 t 4から 開始されるようにしているものである。
つまり、 本実施の形態では、 次に再生されるべきコンテンツを対象とするフリ ンジ復調処理については、 現在再生出力中のコンテンツを対象とする暗号化復号 /復調処理に続けて実行させるように、 プログラムのアルゴリズムを構成するも のである。
このような処理シーケンスによるコンテンッ Bを対象とするフリンジ復調処理 は、 コンテンツ Aを対象とする暗号化復号 Z復調処理が完了した後において、 同 じコンテンツ Aを対象とする再生出力系転送処理により、 バッファに蓄積されて いるデジタルオーディォデ一夕を読み出して再生出力している期間を利用して実 行されることになる。
なお、 図 3に示す処理シーケンスでは、 コンテンツ B対象のフリンジ復調処理 は、 コンテンツ B対象の暗号化復号/復調処理が開始される時点 t 5において完 了していることになつているが、 これは、 コンテンツ B対象のフリンジ復調処理 が、 遅くとも時点 t 5に終了すればよいことを示している。 例えば実際において は、 このコンテンツ B対象の暗号化復号ノ復調処理の開始時点よりも前の時点で 終了されてよい。
このような処理シーケンスであれば、 暗号化コンテンッを連続して再生出力す る場合において、 C P U占有率の高い暗号化復号 Z復調処理とフリンジ復調処理 とが同時に実行される期間をなくすことができる。 これにより、 暗号化コンテン ッの再生に対応した C P Uの最大占有率を、 これまでよりも大幅に低くすること ができる。
これによつて、 例えば C P U占有率が高くなつて、 再生出力の連続性が維持で きなくなるような不都合な動作を回避できる。 また、 例えば他のアプリケーショ ンを同時に実行するときにも、 C P Uの能力に余裕を与えることが可能となる。 ところで、 図 9に示した本実施の形態としての、 次に再生されるべき次コンテ ンッを対象とするフリンジ復調処理の実行タイミングの設定は、 暗号化復号ノ復 調処理されたデジタルォ一ディォデ一夕をバッファに一時蓄積するという動作が 実行されることを前提として可能とされているものである。
つまり、 現在再生中の現コンテンツの暗号化復号 Z復調処理の終了時から、 次 のコンテンツのための暗号化復号ノ復調処理が開始されるまでの期間は、 即ち、 パッファに蓄積されているデジタルオーディォデータを読み出して再生出力する 期間となる。 この期間は、 現コンテンツについての暗号化コンテンツ対応再生処 理として、 現コンテンツを対象とする再生出力系転送処理のみが実行され、 暗号 化復号/復調処理が実行されない期間であるから、 この期間において、 次のコン テンッを対象とするフリンジ復調処理を実行させることとしているものである。 したがって、 この次コンテンツを対象とするフリンジ復調処理の終了と、 次の コンテンッの連続再生が適正に行われるようにするには、 現コンテンツの暗号化 復号/復調処理が終了した時点以降において、 バッファに蓄積されているデジ夕 ルオーディォデ一夕を読み出して再生出力を終了させるまでの時間長として、 フ リンジ復調処理に要するとされる時間よりも長くなるようにされていればよいこ とになる。
本実施の形態としても、 通常考えられるフリンジデータの復調に要する時間長 を前提とすれば、 次コンテンツを対象とするフリンジ復調処理の終了と、 次のコ ンテンッの連続再生とが保証されることを考慮して、 バッファエリア 2 0 aにお ける各バッファの容量が設定されているものである。
これまでの説明から理解されるように、 暗号化コンテンツの音声再生は、 フリ ンジ復調処理の後において暗号化復号 復調処理が開始され、 バッファに一定量 以上のデータが蓄積された後に、 バッファ読出処理を含む再生出力系転送処理が 開始されるのに応じて開始される。 つまり、 バッファに所定以上のデ一夕が蓄積 されるまでの期間は、 再生が開始されない待機期間が生じる。
本実施の形態では、 コンテンッ再生の開始に対応したバッファからのデータ読 出しの開始は、 例えばバッファ 1 , 2 , 3の 3つのバッファが備えられている場 合であれば、 最初のバッファ 1の全容量にデータを書き込んだことを以て、 一定 以上のデータが蓄積されたとみなし、 バッファからの読出しを開始することとし ている。 したがって、 バッファ 1 , 2 , 3の容量を多くすれば、 それだけ蓄積量 も多くなるのではあるが、 再生開始までの待機時間も長くなるので、 この点で好 ましいことではない。
そこで、 本実施の形態としては、 上述したように、
1 . 通常考えられるフリンジ復調処理の処理時間長を前提として、 次コンテン ッを対象とするフリンジ復調処理の終了と、 次のコンテンツの連続再生とが保証 されること、
2 . 再生開始までの待機時間が、 実使用上問題とならない程度に収まるように すること、
という、 これらの 2つの条件を考慮して、 通常のバッファ 1, 2 , 3の容量を 設定している。
しかしながら、 フリンジデ一夕の内容、 数によっては、 フリンジ復調処理に要 する時間長が、 通常とされる範囲を越えてしまう場合がある。 このような場合、 通常のバッファ 1, 2, 3の容量では、 前者の条件を保証することができなくな り、 現コンテンツと次のコンテンツとの間での再生出力の連続性が維持できなく なる可能性がある。
この点について、 図 1 0及び図 1 1を参照して説明する。
先ず、 図 1 0には、 暗号化コンテンツ A , Bを連続再生する場合に、 少なくと も、 コンテンッ Aの次に再生されるべきコンテンツ Bのフリンジデ一夕について は、 処理時間が通常として考えられる長さとされており、 適正にコンテンツ A, Bが連続再生される場合を示している。 なお、 この図において、 読出処理として、 バッファ 1, 2 , 3において白抜きのバーで示す部分が、 読出しが実行されてい る期間を示す。 また、 書込処理として、 バッファ 1 > 2, 3において黒色のバー として示す部分が、 書込が実行されている期間を示す。
この場合において、 先ず、 時点 t 1〜時点 t 2の期間によりコンテンツ Aを対 象とするフリンジ復調処理が実行され、 時点 t 2以降からコンテンツ Aを対象と する暗号化復号 復調処理が実行開始されている。 このコンテンツ Aを対象とす る暗号化復号 復調処理の開始に応じては、 バッファ 1に対して書込みが行われ る。 そして、 このバッファ 1に対する書込みが時点 t 3において完了している。 以降の暗号化復号 復調処理に伴っては、 順次バッファ 2 , 3に対して書込みを 実行していき、 またバッファ 1に戻って書込みを繰り返していくという、 ノ ツフ ァ書込処理のシーケンスとなる。
また、 バッファ 1に対する書込みが時点 t 3において完了したのに応じて、 こ の時点 t 3から、 コンテンツ Aを対象とする再生出力系転送処理が開始されてお り、 同じ時点 t 3からバッファ 1に対する読出処理が実行される。 バッファ読出 処理としても、 既にデータが蓄積されているバッファ 2 , 3に対して順次読出し を実行し、 バッファ 1に戻って読出しを実行していくようにされる。
ただし、 前述もしているように、 バッファに対する書込速度は、 読出速度より も高速とされている。 したがって、 バッファに対する書込み Ζ読出しが正常に実 行されていくことによっては、 例えば、 或るバッファに対する読出しが実行され ているときには、 他のバッファにデータがほぼ定常的に蓄積されているような状 態が得られることになる。
そしてここで、 例えば時点 t 4に示すタイミングで、 コンテンツ Aを対象とす る暗号化復号/復調処理が終了して、 コンテンツ Aとしてのデジタルオーディオ データのバッファへの書込みも、 例えばバッファ 3への書込みを以て終了したと する。
この場合、 時点 t 4に至るまでにおいてバッファ 1に対するデータ読出しが実 行されていたとすると、 時点 t 4を経過した後においては、 ノ ツファ 2とバッフ ァ 3にデータが蓄積されている状態が得られていることになる。 したがって、 時 点 t 4以降における再生出力系転送処理によっては、 先ず、 バッファ 2から読出 したデータを転送して再生出力させ、 続いてバッファ 3から読み出したデ一夕を 転送して再生出力させることになる。
ここで、 例えば通常のバッファ 2の記憶容量に対応する単位再生時間が、 図示 しているようにして T sに相当するものであるとすると、 時点 t 4にてコンテン ッ Aの暗号化復号ノ復調処理が終了した後において、 この単位再生時間 T s X 2 で表される時間分、 再生出力系転送処理によってコンテンツ Aの読出しが可能と されていることになる。
そして、 時点 t 4においては、 コンテンツ Aを対象とする暗号化復号/復調処 理が終了したのであるから、 この時点 t 4から、 コンテンツ Bを対象とするフリ ンジ復調処理が開始されることになる。
この場合のコンテンツ B対応のフリンジ復調処理に要する時間は、 概ね 1つの バッファ蓄積容量に対応する単位再生時間 T sよりは長いが、 単位再生時間 T s X 2よりも短いとされる処理時間であったとする。
このため、 上記コンテンツ Bを対象とするフリンジ復調処理は、 上記単位再生 時間 T s X 2に相当する時点 t 4〜時点 t 6の期間内における時点 t 5において 終了されることになる。
そして、 この場合には、 時点 t 5からコンテンツ Bの暗号化復号 /復調処理を 開始させることで、 コンテンツ Aの再生期間が終了する時点 t 6から、 コンテン ッ Bを対象とする再生出力系転送処理を開始させている。 つまり、 時点 t 6から コンテンツ Bの音声再生を開始させており、 これによりコンテンツ A , Bの連続 再生動作が得られていることが分かる。
これに対して、 通常のバッファ容量を設定してコンテンツ A , Bを連続再生す るのに当たり、 コンテンッ B対象のフリンジ復調処理に要する処理時間が通常範 囲を越えて長くなつたような場合には、 図 1 1のような再生処理となる場合があ る。
この場合においても、 先ず、 期間 t 1〜 t 2によりコンテンッ Aを対象とする フリンジ復調処理が実行されている。 そして、 これに続けて、 時点 t 2からコン テンッ Aを対象とする暗号化復号/復調処理が開始されており、 図 1 0の場合と 同様にして時点 t 4にて完了している。
この場合にも、 時点 t 4に至った時点では、 バッファ 2とバッファ 3にデータ が蓄積されている状態が得られている。 そして、 時点 t 4以降における再生出力 系転送処理によっては、 先ず、 バッファ 2から読み出したデータを転送して再生 出力させ、 続いてバッファ 3から読み出したデータを転送して再生出力させるこ とになる。 したがって、 この場合の時点 t 4以降におけるコンテンツ A対象の再 生出力系転送処理は、 時点 t 4から単位再生時間 T s X 2だけの時間が経過した、 時点 t 6において終了する。 そして、 この時点に応じて、 コンテンツ Aの再生音 出力も停止されることになる。 この点については、 図 1 0の場合と同様である。 この場合においては、 コンテンッ Bに対応するフリンジデータの復調処理は、 通常範囲を越える処理時間を要するものとされている。 このため、 時点 t 4から 開始されるコンテンツ B対象のフリンジ復調処理の終了時点である時点 t 5は、 この場合には、 コンテンツ A対象の再生出力系転送処理が終了する時点 t 5より も後となっている。
コンテンッ B対象の暗号化復号 復調処理は、 コンテンッ B対象のフリンジ復 調処理の終了後でなければ実行開始できない。 このため、 コンテンツ B対象の喑 号化復号 Z復調処理は、 コンテンツ B対象のフリンジ復調処理が終了する時点 t 5から開始されることになり、 コンテンツ B対象の再生出力系転送処理は、 さら に、 この時点 t 5から一定時間経過した時点 t 6 aから開始されることになる。 つまり、 コンテンツ Bの再生音の出力は、 時点 t 6 aから開始されることになる。 このような動作となる結果、 コンテンッ A対象の再生出力系転送処理が終了す る時点 t 6から、 コンテンツ B対象の再生出力系転送処理が開始される時点 t 6 aまでの期間において、 非再生期間が生じることになる。 つまり、 コンテンツ A, Bを連続再生することができなくなつている。
このようにして、 フリンジ復調処理に要する時間が通常範囲を越えて長くなつ た場合には、 バッファに蓄積されている前のコンテンツデータの読出しが終了し て音声再生出力が停止しても、 フリンジ復調処理を実行するような状況となって、 コンテンッの連続再生が行えなくなるという不都合が生じる場合がある。
そこで、 本実施の形態としては、 上記のようにして、 暗号化コンテンツを連続 再生する場合において、 次に再生対象となる暗号化コンテンッを対象とするフリ ンジ復調処理の処理時間が通常範囲を越えて長いことで、 通常のバッファ容量設 定では連続再生が保証できないとされる場合においては、 通常よりも大きいとさ れる所要のバッファ容量 (以降、 「長時間処理対応バッファ容量」 ともいう) を 設定することとする。
このようなバッファ容量の設定変更は、 C P U 1 1の制御によって、 R A M 2 0内のバッファエリア 2 0 aにおけるバッファ 1, 2 , 3の各領域設定を変更す ることで実現できる。 つまり、 通常のバッファ容量として、 ノ ッファ 1 , 2 , 3 の各々について、 容量 A分の領域割当を行うとすれば、 長時間処理対応バッファ 容量を設定する際には、 バッファ 1 , 2 , 3の各々について、 容量 Aよりも大き い所定の容量 B分の領域割当を行うようにするものである。
図 1 2の夕イミングチャートは長時間処理対応バッファ容量を設定して、 図 1 1の場合と同様に、 再生時間が短いコンテンツ Aに続けてコンテンツ Bを再生し た場合の動作を示している。
この場合においても、 期間 t 1〜 t 2によるコンテンツ A対象のフリンジ復調 処理に続けて、 時点 t 2から暗号化復号/復調処理が開始される。 そして、 この 暗号化復号 Z復調処理に挫、 · て、 同じ時点 t 2以降において、 バッファ 1から書 込みが開始されている。一ここでバッファ 1, 2, 3の各々は、 通常よりも大きな 容量が設定されているので、 バッファ 1への書込終了に要する時間も長くなつて いることが分かる。 これにより、 実際に、 時点 t 2から、 コンテンツ A対象の再 生出力系転送処理が開始される時点 t 3までの時間長としても、 図 1 2に示す期 間 t 2〜!; 3よりも長いものとされている。 つまり、 再生開始時において実際に 音声が再生出力開始されるまでの待機時間は長くなる。
この場合においては、 例えばコンテンッ A対象の暗号化復号/復調処理が終了 した時点 t 4の段階では、 ノ ッファ 1, 2 , 3のうち、 バッファ 3にのみデータ が蓄積されている状態が示されている。 したがって、 時点 t 4以降においては、 コンテンツ A対象の再生出力系転送処理に伴い、 バッファ 3に蓄積されたデータ を読み出して再生出力させる動作が実行されることになる。 そして、 この動作は、 バッファ 3の容量に応じた再生時間 T Lの期間長によって実行されることになる。 ここで、 単位再生時間 T Lは、 長時間処理対応バッファ容量に対応しているから、 通常のバッファ容量に対応する単位再生時間 T sよりも長くなつている。
つまり、 長時間処理対応バッファ容量が設定されることによっては、 暗号化復 号 Z復調処理が終了した時点から、 さらに再生出力系転送処理が終了するまでの 期間が、 延長されることになる。 つまり、 図 1 2における期間 t 4〜 t 6として の時間幅は、 図 1 1における期間 t 4〜 t 6よりも長いものとなっている。
この場合においても、 時点 t 4から実行されるコンテンツ B対象のフリンジ復 調処理は、 図 1 1の場合とほぼ同様の時間長を経過した時点 t 5にて終了するこ ととなるが、 上述のようにして、 期間 t 4〜 t 6が延長されていることで、 コン テンッ B対象のフリンジ復調処理の終了する時点 t 5は、 コンテンツ A対象の再 生出力系転送処理が終了する時点 t 6よりも前となっている。
そして、 この場合にはコンテンツ B対象のフリンジ復調処理が終了した時点 t 5から、 コンテンツ B対象の暗号化復号/復調処理が開始されており、 この時点 t 5から一定時間経過した時点 t 6において、 コンテンツ B対象の再生出力系転 送処理が開始されている。 つまり、 コンテンツ A対象の再生出力系転送処理の終 了直後にコンテンツ B対象の再生出力系転送処理が開始されており、 これによつ て、 コンテンツ A , Bの連続再生が可能となっているものである。
このようにして、 通常よりも大きな所要のバッファ容量が設定されることで、 フリンジ復調処理に通常以上の時間を要するような場合にも、 再生音声の連続性 が保たれることが理解される。
上述したように、 本実施の形態では、 通常のバッファ容量と、 長時間処理対応 パッファ容量との 2つのバッファ容量の間での切換えが行われることになる。 そ して、 このようなバッファ容量の切換えは、 例えば暗号化コンテンツ再生プログ ラムに従って C P U 1 1が実行すべきものとなる。
つまり、 C P U 1 1が、 現在再生対象であるとされる暗号化コンテンツの次に 再生対象となっているコンテンツデータのフリンジデータに対する復調処理に要 する処理時間が通常範囲内であると認識した場合には、 通常のバッファ容量を設 定することとしている。 このときには、 例えば図 1 0により説明したようにして 連続再生される暗号化コンテンツについての再生音の連続性を保つことができる。 これに対して、 次に再生対象となる暗号化コンテンッのフリンジデータの処理 に要する時間が通常範囲を越える程度に長いと認識した場合においては、 長時間 処理対応バッファ容量に切り換えるようにされる。 これにより、 図 1 2に示した ように、 再生時間の短い暗号化コンテンツを再生するときにも、 連続性が確保で きる。
なお、 フリンジデータの処理時間が通常範囲内であるか、 あるいは通常範囲を 越えるものであるのかの判定に当たっては、 例えば、 フリンジデータに付加され たヘッダなどに格納される情報から、 フリンジデータの内容、 データサイズ、 圧 縮符号化などの形式などを認識し、 これらの認識結果から、 そのフリンジデータ についての処理時間を推定する処理を実行させればよい。
また、 フリンジデータの処理時間に応じたバッファ容量の変更は、 図 1 2にし た例では、 そのフリンジデータが対応する暗号化コンテンツに対して再生順が 1 つ前となる暗号化コンテンッのデータをバッファリング開始するタイミングで行 われるべきものとしているが、 これはあくまでも一例である。
フリンジデータの処理時間が通常範囲を越える場合にも対応して、 コンテンッ の連続再生を可能とするには、 遅くとも、 例えば前の暗号化コンテンツを再生中 であっても、 このフリンジデータの処理を開始する一定時間前から、 長時間処理 対応パッファ容量に切り換えられていればよいということがいえる。
そこで、 フリンジデータが対応する暗号化コンテンツに対して再生順が 1つ前 となる暗号化コンテンツのデータを再生出力している途中であっても、 フリンジ データの処理が開始される所定時間前なるしかるべきタイミングで、 記憶容量が 空きとなったバッファから、 順次、 容量切換えを行っていくようにすることも考 えられる。
また、 フリンジデータの処理時間について判定を行うタイミングについては、 バッファ容量を変更すべきタイミングより以前における所定のタイミングで実行 されさえすれば、 特に限定されるべきものではないということがいえる。
また、 本発明としては上述の実施の形態に限定されるものではない。
例えば、 上記実施の形態としての説明では、 バッファ容量の切換えを 2段階で 行っていることになるが、 例えば、 フリンジデータの処理に要する時間に応じて、 3段階以上のバッファ容量の切換えが行われるように構成してもよいものである。 上述の実施の形態では、 バッファは、 R A M 2 0におけるバッファエリア 2 0 aとしての領域において、 バッファ 1, 2, 3の各領域サイズの割当てを行うこ とで形成されるようにしているが、 R A M 2 0とは別に、 バッファとして機能す るメモリ素子を設けるようにしてもよい。 このような場合 fcおいては、 通常のバ ッファ容量に対応するバッファ 1 , 2 , 3としての容量を有するメモリ素子と、 長時間処理対応バッファ容量に対応するバッファ 1, 2 , 3としての容量を有す るメモリ素子とを個別に設けるようにすることも考えられる。 そして、 バッファ 書込/読出処理として、 通常のバッファ容量を設定する場合には、 前者のメモリ 素子に対する書込み 読出しを実行し、 長時間処理対応バッファ容量を設定する 場合には、 後者のメモリ素子に対する書込み 読出しを実行するように構成して もよい。 このような構成であっても、 本発明としてのデータ蓄積手段の容量を変 更する動作が得られているものである。
また、 上述の実施の形態では、 再生対象となるコンテンツに対して行われる符 号化としても、 圧縮符号化及び暗号符号化に限定される必要はない。 これに伴つ て、 コンテンツの復号処理と、 この復号処理に対応する復号前処理の実際として は、 適宜変更されてよい。
また、 符号化されるコンテンツとしては、 オーディオデータ以外にも、 例えば ビデオデータなどとされてよい。
さらに、 本発明に係る動作を実現するのは、 C PU 1 1が実行すべきプロダラ ムであるとして説明した。 このようなプログラムは、 例えば HDD 21、 又は R OM 13にインスト一ルされるようにして格納されるものである。
あるいは、 プログラムは、 フレキシブルディスク、 CD— ROM (Compact Di sc Read Only Memory) 、 MO (Magnet Optical) ディスク、 DVD (Digital V ersatile Disc) 、 磁気ディスク、 半導体メモリなどのリム一バブル記録媒体に、 一時的あるいは永続的に格納 (記録) しておくことができる。 このようなリム一 バブル記録媒体は、 いわゆるパッケージソフトウェアとして提供することができ る。
例えば、 本実施の形態であれば、 メディアドライブ 19が対応するメディアな どにプログラムを記録し、 パッケージソフトウェアとして提供することができる。 これにより、 記録再生装置 1では、 メディアドライブ 19によりメディアからプ ログラムを読み出し、 HDD 21や ROM1 3に記憶させることでィンストール できる。 また、 このようなパッケージソフトウェアとすることで、 例えば汎用の パーソナルコンピュータにも、 本発明が適用されたシステムのプログラムをイン ストールすることは可能になる。
また、 プログラムは、 上記のようなリム一バブルな記録媒体からインスト一ル する他、 プログラムを記憶しているサーバなどから、 LAN (Local Area Netwo rk) 、 インターネットなどのネットワークを介してダウンロードすることもでき る。
さらには、 例えば本発明が適用された機能を後から追加するためのアップデー トプログラムを構成し、 このアップデートプログラムをパッケージメディアとし て配布したり、 ネットヮ一ク上で配布するようにすることも考えられる。 ュ一ザ は、 このアップデートプログラムを入手して、 既存のシステムがインストールさ れている環境に対して、 このアップデートプログラムをィンストールすればよい。 なお、 本発明は、 図面を参照して説明した上述の実施例に限定されるものでは なく、 添付の請求の範囲及びその主旨を逸脱することなく、 様々な変更、 置換又 はその同等のものを行うことができることは当業者にとって明らかである。 産業上の利用可能性 上述したように、 本発明は、 復号処理 (暗号化復号/復調処理) と、 この復号 処理の開始以前のタイミングで必ず実行すべきとされる復号前処理とを実行する ことで再生される単位データ (コンテンツデータ) を情報処理対象としている。 このような単位データを連続して再生出力させるべき場合には、 現在再生出力 対象とされている単位デ一夕の次に再生対象となる単位デ一夕についての復号前 処理を、 現在再生出力対象とされている単位データについての復号処理の終了後 となるタイミングで開始させる。 次に再生対象となる単位データについての復号 前処理は、 蓄積手段 (蓄積領域) に蓄積されたデータの読出しによって、 この現 在再生出力対象とされる単位データの再生出力が継続される間に実行されること になる。
このようにすれば、 例えば現在再生対象とされる単位データについての復号処 理と、 次に再生対象となる単位データについての復号前処理が同時併行して実行 される期間は存在しないことになる。 これにより、 復号前処理と復号処理が同時 実行されることによる処理負担の増加は無いこととなって、 例えば復号処理が適 正な速度で実行されることを保証できる。 さらには、 例えば単位コンテンツ再生 以外の処理が併行して実行されるときにも、 復号前処理と復号処理が同時実行さ れないことで、 処理能力には余裕が得られる。
したがって、 本発明によれば、 単位データの再生出力を含む、 現在実行中とさ れている処理が不安定となることが避けられる。
また、 本発明は、 情報処理として、 単位デ一タ (コンテンツデータ) について の復号処理 (暗号化復号/復調処理) と、 この復号処理の開始以前のタイミング で実行すべき処理であり、 その単位データの再生に関して必要となる復号前処理 とを実行し、 単位データを連続して再生出力させるべき場合には、 現在再生出力 対象とされている単位データの次に再生対象となる単位データについての復号前 処理を、 現在再生出力対象とされている単位データについての復号処理の終了後 となるタイミングで開始させるようにしている。 次に再生対象となる単位データ についての復号前処理は、 .蓄積手段に蓄積されたデータの読出しによって、 この 現在再生出力対象とされる単位デ一夕の再生出力が継続される間に実行されるこ とになる。
この構成によっては、 先ず、 現在再生対象とされる単位データについての復号 処理と、 次に再生対象となる単位データについての復号前処理が同時併行して実 行される期間は存在しないことになる。 これにより、 復号前処理と復号処理が同 時実行されることによる処理負担の増加は無いこととなって、 例えば復号処理が 適正な速度で実行されることを保証できる。
その上で、 現在再生出力対象とされている単位データについての復号デ一夕が 蓄積手段に蓄積される期間内において、 次に再生出力対象となる単位データにつ いての復号前処理に要するとされる処理時間長に応じて、 蓄積手段のデータ容量 を変更するようにしている。
これによつて、 復号前処理に要するとされる処理時間長に応じて、 復号処理終 了後における単位データの再生出力継続時間も変更することができる。 つまり、 例えば復号前処理に要する処理時間が相当に長いような場合でも、 蓄積手段のデ 一夕容量の変更によって、 上記処理時間に応じた単位データの再生出力継続時間 が得られるものであり、 これにより、 単位データの連続再生を維持することが可 能となるものである。

Claims

請求の範囲
1 . 符号化された単位データを復号する復号処理と、 この復号処理に先立って実 行される、 上記単位データに関連する復号前処理とを、 少なくとも実行する処理 手段と、
上記復号処理によって得られる復号デ一夕が書き込まれて一時蓄積される蓄積 手段と、
上記蓄積手段に蓄積されている復号デ一夕を連続的に読み出して、 再生出力用 データとして出力する出力手段とを備え、
上記処理手段は、 上記単位データに関連する復号前処理の終了後に、 上記単位 データの復号処理を開始することを特徴とする情報処理装置。
2 . 第 1の単位データに続いて第 2の単位デ一夕を再生出力させるときには、 上 記処理手段は、 第 1の単位データの復号処理の終了後に、 第 2の単位データに関 連する復号前処理を開始することを特徴とする請求の範囲第 1項記載の情報処理 装置。
3 . 上記蓄積手段は複数の一時蓄積領域を備え、
上記処理手段は、 復号処理によって得られた復号データを、 上記一時蓄積領域 のデータ容量ごとに上記複数の一時蓄積領域に順次書き込み、
上記出力手段は、 上記一時蓄積領域への書込みごとに、 書き込まれた復号デ一 夕を読み出して、 再生出力用データとして出力する
ことを特徴とする請求の範囲第 1項記載の情報処理装置。
4 . 単位データに対する上記復号処理は、 暗号化復号処理及び 又は圧縮符号化 復調処理であり、
単位データに関連する上記符号前処理は、 当該単位データの改竄チェック処理 である
ことを特徴とする請求の範囲第 1項記載の情報処理装置。
5 . 単位データに対する上記復号処理は、 暗号化復号処理及び/又は圧縮符号化 復調処理であり、
単位データ関連する上記復号前処理は、 当該単位データに関連付けられる関連 データに対する暗号化復号処理及び Z又は、 圧縮符号化復調処理である ことを特徴とする請求の範囲第 1項記載の情報処理装置。
6 . 上記蓄積手段は、 少なくとも一の一時蓄積領域を有し、 単位データの再生時 間長に応じて、 上記一時蓄積領域のデータ容量を変更するデータ容量変更手段を 備えることを特徴とする請求の範囲第 1項記載の情報処理装置。
7 . 上記蓄積手段は、 複数の一時蓄積領域を有し、
上記蓄積手段の一時蓄積領域のデ一夕容量を変更するデータ容量変更手段を備 え、
上記データ容量変更手段は、 上記単位データに関連する上記復号前処理に要す るとされる処理時間長に応じて、 上記一時蓄積領域のデータ領域を変更する ことを特徴とする請求の範囲第 1項記載の情報処理装置。
8 . 単位データに関連する上記復号前処理が、 単位データに関連付けられる関連 データに対する暗号化復号処理及び/又は圧縮符号化復調処理であるとき、 上記 復号前処理に要するとされる処理時間長は、 この関連データ付加される付随情報 に基づいて推定されることを特徴とする請求の範囲第 7項記載の情報処理装置。
9 . 上記蓄積手段は、 複数の一時蓄積領域を組として、 それぞれデータ容量の異 なる複数組の一時蓄積領域を有し、
上記デ一夕容量変更手段は、 上記復号前処理に要するとされる処理時間長に応 じて、 上記複数組の一時蓄積領域のうちいずれかの一時蓄積領域を選択する ことを特徴とする請求の範囲第 7項記載の情報処理装置。
1 0 . 符号化された単位データに関連する復号前処理と、
上記復号前処理の終了後に、 上記単位デ一夕を復号する復号処理と、 上記復号処理によって得られた復号デ一夕を一時蓄積する蓄積処理と、 上記蓄積処理により一時蓄積された復号データを連続的に読み出して、 再生出 力用データとして出力する出力処理と
を備えることを特徴とする情報処理方法。
1 1 . 第 1の単位データに続いて第 2の単位データを再生出力させるときには、 第 1の単位デ一夕の復号処理の終了後に、 第 2の単位データに関連する復号前処 理を開始することを特徴とする請求の範囲第 1 0項記載の情報処理方法。
1 2 . 上記復号処理は、 暗号化復号処理及び/又は圧縮符号化処理であり、 上記復号前処理は、 当該単位デ一夕の改竄チェック処理である
ことを特徴とする請求の範囲第 1 0項記載の情報処理方法。
1 3 . 上記復号処理は、 暗号化復号処理及びノ又は圧縮符号化復調処理であり、 上記復号前処理は、 当該単位データに関連付けられる関連データに対する暗号 化復号処理及び/又は圧縮符号化復調処理である
ことを特徴とする請求の範囲第 1 0項記載の情報処理方法。
1 4 . 上記蓄積処理は、 少なくとも一の一時蓄積領域を有する蓄積手段に対して なされ、
上記単位データの再生時間長に応じて、 上記一時蓄積領域のデータ容量を変更 するデータ容量変更処理をさらに備える
ことを特徴とする請求の範囲第 1 0項記載の情報処理方法。
1 5 . 上記蓄積処理は、 複数の一時蓄積領域を有する蓄積手段に対してなされ、 上記単位データに関連する上記復号前処理に要するとされる処理時間長に応じ て、 上記一時蓄積領域のデータ容量を変更するデータ容量変更処理をさらに備え る
ことを特徴とする請求の範囲第 1 0項記載の情報処理方法。
1 6 . 単位データに関連する上記復号前処理が、 単位デ一夕に閼連付けられる関 連データに対する暗号化復号処理及び 又は圧縮符号化復調処理であるとき、 上 記復号前処理に要するとされる処理時間長は、 この関連データに付加される付随 情報に基づいて推定されることを特徴とする請求の範囲第 1 5項記載の情報処理 方法。
1 7 . 上記蓄積手段は、 複数の一時蓄積領域を組として、 それぞれデータ容量の 異なる複数組の一時蓄積領域を有し、
上記データ容量変更処理は、 上記復号前処理に要するとされる処理時間長に応 じて、 上記複数組の一時蓄積領域のうちいずれかの一時蓄積領域を選択する ことを特徴とする請求の範囲第 1 5項記載の情報処理方法。
PCT/JP2004/005017 2003-04-24 2004-04-07 情報処理装置及び情報処理方法 WO2004095449A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/553,077 US20060198518A1 (en) 2004-04-07 2004-04-07 Information processing device and information processing method
EP04726282A EP1617430A1 (en) 2003-04-24 2004-04-07 Information processing device and information processing method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2003-119946 2003-04-24
JP2003-119947 2003-04-24
JP2003119947A JP2004326922A (ja) 2003-04-24 2003-04-24 情報処理装置、情報処理方法
JP2003119946A JP3846449B2 (ja) 2003-04-24 2003-04-24 情報処理装置、情報処理方法

Publications (1)

Publication Number Publication Date
WO2004095449A1 true WO2004095449A1 (ja) 2004-11-04

Family

ID=33312641

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/005017 WO2004095449A1 (ja) 2003-04-24 2004-04-07 情報処理装置及び情報処理方法

Country Status (3)

Country Link
EP (1) EP1617430A1 (ja)
KR (1) KR20050122259A (ja)
WO (1) WO2004095449A1 (ja)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100817374B1 (ko) * 2006-07-24 2008-03-27 하나로미디어(주) 그룹화된 복수의 독립된 컨텐츠를 연속 재생하는 시스템 및방법
CN104132626B (zh) * 2014-06-04 2016-09-28 暨南大学 一种光学条纹位相空域解调方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139156A (ja) * 1997-07-22 1999-02-12 Fuji Xerox Co Ltd 暗号化データ復号装置
JPH11312364A (ja) * 1998-04-28 1999-11-09 Mitsubishi Electric Corp ディジタルデータ記録装置、ディジタルデータ再生装置、及びチェックコード生成方法
JP2000165844A (ja) * 1998-11-19 2000-06-16 Hewlett Packard Co <Hp> 連続メディア・ストリーム再生システムおよびその方法
JP2002132257A (ja) * 2000-10-26 2002-05-09 Victor Co Of Japan Ltd Midi楽曲データ再生方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1139156A (ja) * 1997-07-22 1999-02-12 Fuji Xerox Co Ltd 暗号化データ復号装置
JPH11312364A (ja) * 1998-04-28 1999-11-09 Mitsubishi Electric Corp ディジタルデータ記録装置、ディジタルデータ再生装置、及びチェックコード生成方法
JP2000165844A (ja) * 1998-11-19 2000-06-16 Hewlett Packard Co <Hp> 連続メディア・ストリーム再生システムおよびその方法
JP2002132257A (ja) * 2000-10-26 2002-05-09 Victor Co Of Japan Ltd Midi楽曲データ再生方法

Also Published As

Publication number Publication date
EP1617430A1 (en) 2006-01-18
KR20050122259A (ko) 2005-12-28

Similar Documents

Publication Publication Date Title
WO1999042996A1 (fr) Appareil et procede d&#39;enregistrement / reproduction, et processeur de donnees
KR101229522B1 (ko) 비휘발성 메모리로부터의 미디어 데이터의 효율적인 저전력 리트리브 기법들
KR20010040207A (ko) 데이터 기록재생장치 및 그 방법
JP2004038988A (ja) 外部記憶媒体を用いたホスト処理装置
US6990589B1 (en) Recording and/or playback apparatus and method
JP4135051B2 (ja) 記録再生装置、記録再生方法およびプログラム
CN101295528B (zh) 记录设备、记录方法及程序
JP3846449B2 (ja) 情報処理装置、情報処理方法
WO2004095449A1 (ja) 情報処理装置及び情報処理方法
JP2004326922A (ja) 情報処理装置、情報処理方法
JP4191221B2 (ja) 記録再生装置、同時記録再生制御方法、および同時記録再生制御プログラム
CN100458812C (zh) 数据处理电路和方法、再现装置和方法及存储介质
US20060198518A1 (en) Information processing device and information processing method
JP3874021B2 (ja) 記録装置
JP2003224801A (ja) 再生装置システム、情報処理装置及び情報処理装置の制御方法
JP2004326922A5 (ja)
JP4792684B2 (ja) 復号装置
US20030058560A1 (en) Apparatus and method for processing content information capable of time-divisionally carrying out recording and reproducing operations
KR100558991B1 (ko) 휴대용 단말기에서의 오디오 데이터 역재생방법
JP4021756B2 (ja) 圧縮音声データ記録装置及び圧縮音声データ記録方法
KR100537542B1 (ko) 카 오디오 시스템의 엠펙 음악파일 재생장치
US9020620B2 (en) Recording apparatus and method for a storage medium exchange during recording
JP2005278201A (ja) データ転送装置およびデータ転送方法
JP2008084382A (ja) 圧縮データ再生方法
JP2004038578A (ja) 情報処理装置、情報処理方法、プログラム、記録媒体

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 10553077

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020057019629

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2004726282

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 20048108862

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 1020057019629

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2004726282

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 10553077

Country of ref document: US