WO2002037490A1 - Av stream recording/reproducing device, av stream recording device, av stream recording/reproducing method, av stream recording method - Google Patents

Av stream recording/reproducing device, av stream recording device, av stream recording/reproducing method, av stream recording method Download PDF

Info

Publication number
WO2002037490A1
WO2002037490A1 PCT/JP2001/009467 JP0109467W WO0237490A1 WO 2002037490 A1 WO2002037490 A1 WO 2002037490A1 JP 0109467 W JP0109467 W JP 0109467W WO 0237490 A1 WO0237490 A1 WO 0237490A1
Authority
WO
WIPO (PCT)
Prior art keywords
recording
stream
buffer
reproducing
system information
Prior art date
Application number
PCT/JP2001/009467
Other languages
French (fr)
Japanese (ja)
Inventor
Kazuhiro Mihara
Shinichirou Takigawa
Yoshiki Kuno
Junichi Komeno
Toshikazu Koudo
Original Assignee
Matsushita Electric Industrial Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Publication of WO2002037490A1 publication Critical patent/WO2002037490A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0613Improving I/O performance in relation to throughput
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • 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
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • 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
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/781Television signal recording using magnetic recording on disks or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction

Definitions

  • the present invention relates to an AV stream recording / reproducing apparatus for recording and reproducing an AV stream composed of digital video and audio, an AV stream recording apparatus, an AV stream recording / reproducing method, an AV stream recording method, and the like.
  • FIG. 12 is a diagram schematically showing a configuration of an AV stream recording / reproducing apparatus for recording / reproducing an AV stream according to a conventional technique.
  • the disk device 1200 is a means for storing an AV stream and system information related to the AV stream realized by an HDD, and an HDD controller.
  • an HDD controller for AV recording and reproduction 1 230 is a means for reading and writing the AV stream and system information to the disk device 1 210
  • a memory means 1 240 is a means for temporarily storing an AV stream written from the outside to the disk drive, an AV stream read out from the disk drive 121 to the outside, and system information.
  • QUE 1 250 is a write command issued from the memory means. This is a means for receiving a read request or a read request and outputting the request to the HDD controller 1220.
  • the system information buffer 1 24 1 Is a means for temporarily recording system information
  • an REC buffer 1242 is a means for temporarily recording an AV stream written from the outside to the disk device 1210
  • a PLAY buffer 1 243 is an AV stream read from the disk device 1210 to the outside. This is a means for temporarily recording
  • the AV stream input from the outside is input to the memory means 1240, it is once stored in the REC buffer 1242a.
  • the capacity of the REC buffer 1242a becomes full, the storage destination of the external AV stream is switched to the rec buffer 1242b, and the storage of the AV stream is continued.
  • the HDD controller for AV recording and playback uses the REC buffer.
  • the HDD controller 122 When it is detected that 2a has become short, the HDD controller 122 is requested to record the REC buffer 1242a in the disk device 1210. '
  • the request issued to the HDD controller 1220 is stored in the QUE 1250, and is output to the HDD controller 1220.
  • the HDD controller 1220 records the designated area of the memory on the disk device 1210 in the order in which the requests accumulated in the QUE 1250 are issued.
  • the AV stream written from the outside When the storage in the REC buffer 1242b becomes short and the storage in the REC buffer 1242b becomes short, the data in the REC buffer 1242b is recorded on the disk device 1210 in the same procedure as in the case of the REC buffer 1242a.
  • the temporary recording of the externally written AV stream in the memory means 1240 is performed by the REC buffer 1242a, the REC buffer 1242b, the REC buffer 1242a, the REC buffer 1242b,. Is performed by using each REC buffer alternately.
  • the HDD controller for AV recording and reproduction 1230 issues a read request to the HDD controller 1220.
  • the read request ⁇ is temporarily stored in QUE 1.250.
  • the HDD controller reads the AV stream data from the disk device 1210 in the order in which the requests stored in the QUE 1 250 are issued, and sends the data via the AV controller 1230 to the PLAY Store the data in buffer 1243a.
  • the PLAY buffer 124 When data accumulation continues in the PLAY buffer 1 243a and the PLAY buffer 1243a becomes short, the PLAY buffer 124
  • the AV stream data temporarily recorded in a is output to the outside as a “playback AV stream” in order from the beginning of the buffer, while the data from the disk device 1210 is stored in the PLAY buffer 1243 b. .
  • the HDD controller for AV recording / reproduction 1230 sends out the data in the PLAY buffer 1243b after all the data in the PLAY buffer 1243a is sent out.
  • the AV recording / reproducing HDD controller 1230 detects that the PLAY buffer 1243a has become empty, and issues a read request to the QUE 1250.
  • QUE 1 Upon receiving the read request, the 250 outputs this to the HDD controller 1220, and the HDD controller 1220 reads the data from the disk device 1210 and stores it in the PLAY buffer 1243a.
  • the system information indicates a recording position of an object on a medium of the disk device 1210 and attribute information of an object (for example, a recorded program name and a recording time).
  • the system information is recorded on the medium after the end of the recording / reproducing operation of the AV stream.
  • the AV stream recording / reproducing device is as described above. There were, however, the following issues.
  • the REC buffer 1242b is to reach a pie, data of RE C buffer 1242 a, when the c you need data recorded to the disk device 1210 is completed, before RE C buffer 1242 b overflows, R EC buffer 1242 a ⁇ If the recording of the data in the disk device 1210 is completed, the storage destination of the AV stream can be switched to the REC buffer 1242a again, and the recording operation of the AV stream can be continued.
  • the system information was recorded on the media.
  • the system information will not be recorded, and the AV stream is partially recorded in the disk device 1 210 Despite this, the AV stream recording / reproducing device 1200 cannot manage the AV stream.
  • system information is recorded periodically at a predetermined timing during recording of an AV stream, the corresponding system information exists at timing 130a ′.
  • system information corresponding to the timing 1300b and system information corresponding to the timing 1300c is recorded periodically at a predetermined timing during recording of an AV stream.
  • the present invention has been made in view of the above problems, and has an AV stream recording / reproducing apparatus capable of reducing an influence on data during recording or reproduction due to interruption of an AV stream generated during recording / reproduction.
  • the purpose is to obtain.
  • Another object of the present invention is to obtain an AV stream recording device or the like that can record an AV stream without causing an inconsistency irrespective of an interruption during operation.
  • a first aspect of the present invention (corresponding to claim 1) comprises a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream, at least a reproduction buffer for the AV stream, and Memory means having a buffer for
  • Request generation means for monitoring the memory means and requesting a predetermined type of operation to be executed by the recording / reproduction means;
  • An operation determining unit that selects a specific operation from a queue of the requests based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit.
  • This is an AV stream recording / reproducing device having a priority determined according to the type of the AV stream.
  • FIG. 4 is an AV stream recording / reproducing apparatus according to a first aspect of the present invention.
  • a third aspect of the present invention (corresponding to claim 3) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream,
  • a memory means having at least a playback buffer and a recording buffer for an AV stream
  • Request generation means By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproducing buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproducing means is monitored.
  • Request generation means By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproducing buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproducing means is monitored.
  • Request generation means By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproducing buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproducing means is monitored.
  • An operation determining unit that selects a specific operation from a queue of the request based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit.
  • An AV stream recording / reproducing apparatus for determining whether or not the data capacity has reached a predetermined threshold value monitored by the request generation means. -Further, according to a fourth aspect of the present invention (corresponding to claim 4), the predetermined threshold value is determined according to a data writing speed to the recording buffer or a reproduction speed of data reproduced from the reproduction buffer. This is a third modified AV stream recording / reproducing apparatus of the present invention.
  • a fifth aspect of the present invention there are a plurality of the recording buffers and a plurality of Z or the reproduction buffers,
  • the read operation from the recording buffer and / or the write operation to the reproduction buffer are performed in parallel according to the number of the recording buffer or the reproduction buffer,
  • the AV stream recording / reproducing apparatus according to a third aspect of the present invention, wherein the predetermined threshold value decreases as the number of the recording buffer or the reproduction buffer increases.
  • a sixth aspect of the present invention (corresponding to claim 6) relates to an AV stream.
  • Recording and reproducing means for performing a plurality of types of recording and reproducing operations;
  • Memory means having at least a playback buffer and a recording buffer for the AV stream;
  • a request generating means for performing an operation request By monitoring whether the writing speed of the AV stream transmitted from the recording buffer or the reproduction speed of the data in the reproduction buffer reaches a predetermined threshold value, a predetermined type of recording and reproduction performed by the recording and reproduction means is performed.
  • a request generating means for performing an operation request By monitoring whether the writing speed of the AV stream transmitted from the recording buffer or the reproduction speed of the data in the reproduction buffer reaches a predetermined threshold value, a predetermined type of recording and reproduction performed by the recording and reproduction means is performed.
  • An operation determining unit that selects a specific operation from the request queue based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit, wherein the predetermined criterion is the writing speed or An AV stream recording / reproducing apparatus for determining whether or not a reproducing speed has reached a predetermined threshold value monitored by the request generating means.
  • the plurality of types of recording / reproducing operations are: reading an AV stream from the recording buffer; writing an AV stream to the reproducing buffer; writing for special reproduction of the AV stream to the use buffer, first with at least a first 3 or the 6 c also is any AV stream recording and reproducing apparatus of the present invention, the present invention of the eighth (
  • the memory means further includes a system information buffer for reading or writing system information related to the AV stream,
  • the plurality of types of recording / reproducing operations are the AV stream recording / reproducing according to any one of the first, third, sixth, and seventh aspects of the present invention, including reading or writing of the system information in the system information buffer.
  • a device c Further, the present invention of the ninth (corresponding to claim 9), the priority, the between multiple several recording operation, first or are determined based on the relative importance
  • a seventh embodiment is an AV stream recording / reproducing apparatus of the present invention.
  • the priority order is such that reading of an AV stream from at least the recording buffer is performed with the highest priority. This is an AV stream recording / playback apparatus of the present invention.
  • the eleventh invention (corresponding to claim 11) is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object. Recording means for non-continuously recording during the recording of the AV stream so as to correspond to the previously recorded AV stream;
  • the matching means when the recording operation of the recording means is aborted, an AV stream recording for associating the system information held in the recording means with the AV stream of the content of the system information as the object.
  • an AV stream recording for associating the system information held in the recording means with the AV stream of the content of the system information as the object.
  • a twelfth aspect of the present invention is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object. Recording means for non-continuously recording during the recording of the AV stream so as to correspond to the previously recorded AV stream;
  • a matching unit for matching the system information with the AV stream recorded in the recording unit
  • the matching unit detects the end of recording of the AV stream by referring to the AV stream and the system information recorded in the recording unit until then. End of the record
  • An AV stream recording apparatus for associating an AV stream up to an end with the contents of the system information as the object.
  • the AV stream has an identifier for maintaining continuity of the contents of the AV stream, and the matching unit refers to the identifier. Then, there is provided an AV stream recording apparatus according to a twelfth aspect of the present invention for judging the continuity of the contents of the AV stream. Also, a fourteenth invention (corresponding to claim 14) is that the AV stream has time information for maintaining the continuity of the AV dream,
  • the AV stream recording apparatus according to a twelfth aspect of the present invention, wherein the matching unit refers to the time information to determine continuity of the AV stream.
  • the matching means can perform the processing when the recording means resumes recording of the abortion data after the abortion.
  • An AV stream recording apparatus according to the eleventh or eleventh aspect of the present invention, wherein the content of the object information is rewritten to update the content of the object so as to include the data after the abortion. is there.
  • a sixteenth aspect of the present invention includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream;
  • a seventeenth aspect of the present invention includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream;
  • a request generation step It is monitored whether the amount of data read from the recording buffer or the amount of data written to the reproduction buffer reaches a predetermined threshold value, and a predetermined type of operation request executed by the 'recording / reproduction process is performed.
  • an eighteenth aspect of the present invention includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream,
  • the predetermined criterion is an AV stream recording / reproducing method that determines whether the read speed or the write speed has reached a predetermined threshold value monitored by the request generation unit.
  • a nineteenth aspect of the present invention is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object.
  • a matching step for matching the system information held in the recording step with the AV stream recorded in the recording step
  • the matching step is an AV stream that associates the system information held in the recording step with the AV stream of the system information as the object. This is a trim recording method.
  • a twenty-second aspect of the present invention (corresponding to claim 20) is that, while continuously recording an AV stream, system information for processing the AV stream having a predetermined data amount as an object is provided by: During the recording of the AV stream, a recording step of recording non-continuously so as to correspond to the AV stream recorded up to that time; the system information; and the AV stream recorded in the recording step And a matching process for ensuring consistency with
  • the matching step when the recording operation of the recording step is aborted, the end of recording of the AV stream is detected by referring to the AV stream and the system information recorded by the recording step until then. Then, the AV stream up to the recording end and the contents of the system information are AV stream recording method used as an object This is an AV stream recording method.
  • a twenty-first aspect of the present invention is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream in the AV stream recording / reproducing apparatus of the first aspect of the present invention,
  • a memory means having at least a playback buffer for an AV stream and a recording buffer;
  • a request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording / reproduction unit; and selecting a specific operation from a queue of the request based on a predetermined criterion.
  • This is a program for causing a computer to function as all or a part of the operation determining means for determining the operation to be performed next by the reproducing means.
  • a twenty-second invention (corresponding to claim 22) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream of the AV stream recording / reproducing apparatus of the third invention
  • a memory means having a stream playback buffer and a recording buffer, and a capacity of data read from the recording buffer or a capacity of data written in the playback buffer is set to a predetermined threshold value.
  • a request generating means for making a predetermined type of operation request to be executed by the recording / reproducing means by monitoring whether or not the specified operation is reached; and selecting a specific operation from a queue of the request based on a predetermined criterion.
  • This is a program for causing a computer to function as all or part of the operation determining means for determining the operation to be performed next by the recording / reproducing means.
  • a twenty-third aspect of the present invention is a recording / reproducing means for performing a plurality of types of recording / reproducing operations relating to the AV stream of the AV stream recording / reproducing apparatus of the sixth aspect of the present invention
  • a memory means having at least a playback buffer for an AV stream and a recording buffer; and a reading speed of data from the recording buffer, or data to the playback buffer.
  • a request generating unit for performing a predetermined type of operation request executed by the recording / reproducing unit by monitoring whether a writing speed of the request reaches a predetermined threshold; and a predetermined reference from a queue of the request.
  • a program for causing a computer to function as a whole or a part of an operation determining means for selecting a specific operation based on the selected operation and determining an operation to be performed next by the recording / reproducing means.
  • the AV stream recording apparatus of the eleventh aspect of the present invention continuously records an AV stream, and stores the AV stream having a predetermined data amount.
  • a twenty-fifth aspect of the present invention (corresponding to claim 25) is that the AV stream recording apparatus of the twelfth aspect of the present invention continuously records an AV stream and has a predetermined data amount. Recording means for non-continuously recording system information for processing an AV stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream;
  • a twenty-sixth aspect of the present invention is a recording / reproducing means for the AV stream recording / reproducing apparatus of the first aspect of the present invention, which performs a plurality of types of recording / reproducing operations on an AV stream, At least the playback stream for the AV stream Memory means having a buffer and a recording buffer;
  • a request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording and reproduction unit; and selecting a specific operation from a queue of the requests based on a predetermined criterion,
  • a medium carrying a program for causing a computer to function as all or part of an operation determining means for determining an operation to be performed next by the recording / reproducing means, and is a medium that can be processed by the computer.
  • a twenty-seventh aspect of the present invention is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream of the AV stream recording / reproducing apparatus of the third aspect of the present invention.
  • a memory unit having a stream playback buffer and a recording buffer, and whether a capacity of data read from the recording buffer or a capacity of data written in the playback buffer reaches a predetermined threshold value;
  • a request generating means for making a predetermined type of operation request to be executed by the recording / reproducing means, and a specific operation being selected from a queue of the request based on a predetermined criterion, and
  • a medium carrying a program for causing a computer to function as all or a part of an operation determining means for determining an operation to be performed next by a reproducing means; It is a medium that can be processed by.
  • a twenty-eighth aspect of the present invention is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream by the AV stream recording / reproducing apparatus of the sixth aspect of the present invention.
  • a memory means having at least a playback buffer for AV stream and a recording buffer, and a reading speed of data from the recording buffer or a writing speed of data to the playback buffer is a predetermined threshold value.
  • a request generating unit for performing a predetermined type of operation request to be executed by the recording / reproducing unit, and selecting a specific operation based on a predetermined criterion from the request queue;
  • the above A medium carrying a program for causing a computer to function as all or part of the operation determining means for determining the operation to be performed next by the recording / reproducing means, and which can be processed by the computer.
  • a twenty-ninth aspect of the present invention is the AV stream recording apparatus according to the eleventh aspect of the present invention, wherein an AV stream is continuously recorded and a predetermined data amount of the AV stream is recorded.
  • Recording means for non-continuously recording system information for processing an audio stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream; and
  • a medium carrying a program for causing a computer to function as all or part of the held system information and the matching unit for matching the AV stream recorded in the recording unit.
  • the AV stream recording apparatus of the thirteenth aspect of the present invention continuously records an AV stream and stores the AV stream having a predetermined data amount.
  • a medium carrying a program for causing a computer to function as all or part of the system information and matching means for matching the AV stream recorded on the recording means comprising: Media that can be processed by the -Brief description of drawings
  • FIG. 1 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 1 of the present invention.
  • FIG. 2 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 2 of the present invention.
  • FIG. 3 is a diagram for explaining the state of the REC buffer 242 and the PLAY buffer 243 in the memory means 240 in the AV stream recording / reproducing apparatus according to the second embodiment of the present invention. .
  • FIG. 4 is a flowchart for explaining the operation of the AV stream recording / reproducing apparatus according to Embodiment 2 of the present invention.
  • FIG. 5 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 3 of the present invention.
  • FIG. 6 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 4 of the present invention.
  • FIG. 7 is a diagram for explaining the states of the REC buffers 641, 642, the PLAY buffer 643, and the like in the memory means 240 in the AV stream recording / reproducing apparatus according to the fourth embodiment of the present invention.
  • FIG. 7 is a diagram for explaining the states of the REC buffers 641, 642, the PLAY buffer 643, and the like in the memory means 240 in the AV stream recording / reproducing apparatus according to the fourth embodiment of the present invention.
  • FIG. 8 is a flowchart for explaining the operation of the AV stream recording / playback apparatus according to Embodiment 4 of the present invention.
  • FIG. 9 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 9 of the present invention.
  • FIG. 10 is a flowchart for explaining the operation of the AV stream recording / reproducing apparatus according to Embodiment 9 of the present invention.
  • FIG. 11 is a diagram for explaining a configuration of an AV stream processed in the AV stream recording and reproducing apparatus according to the ninth embodiment of the present invention.
  • FIG. 12 is a configuration diagram of an AV stream recording / reproducing apparatus according to a conventional technique.
  • FIG. 13 is a diagram for explaining a power-off state during recording of an AV stream and system information.
  • FIG. 14 is a diagram for explaining the operation of the AV stream recording / playback device according to the fifth embodiment of the present invention. Explanation of reference numerals
  • FIG. 1 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 1 of the present invention.
  • the disk device 110 includes, for example, an HDD stream, means for storing system information related to the AV stream,
  • the HDD controller 120 is a unit for driving the disk device 110
  • the AV recording / reproducing HDD controller 130 is a unit for reading / writing the AV stream and system information from / to the disk device 110
  • the memory unit 140 is an external device.
  • QUE 150 with scheduler is a memory; write request or read issued from the means After receiving and accumulating the requests, it is means for outputting the requests to the HDD controller 120 based on a predetermined priority.
  • the system information buffer 141 is a means for temporarily recording system information
  • the REC buffer 142 is a means for temporarily recording an AV stream to be externally written to the disk device 110
  • the buffer 143 is a means for temporarily recording the AV stream read from the disk device 110 to the outside.
  • the REC buffer 142 and the PLAY buffer 143 each have a structure internally divided into two, a REC buffer 142a, b and a PLAY buffer 143a, b.
  • the configuration is the same as that of the conventional example except for the QUE 150 with the scheduler, but the QUE 1 '50 with the scheduler receives the read Z write request and once holds it, in accordance with the predetermined priority order. The difference is that an instruction corresponding to the order is issued to the HDD controller 120.
  • the operation of the AV stream recording / reproducing apparatus according to the first embodiment of the present invention having the above-described configuration will be described below, whereby the embodiment of the AV stream recording / reproducing method of the present invention will be described. Is explained.
  • the AV stream input from the outside is accumulated in the REC buffer 142a of the memory means 140, and when the capacity of the REC buffer 142a becomes full, the external AV The storage destination of the stream is switched to the REC buffer 142b, and when the HDD controller 130 for AV recording and reproduction detects that the REC buffer 142a is full, the HDD controller 120 stores the disk in the REC buffer 142a. Request recording on device 110.
  • the request issued to the HDD controller 120 is temporarily stored in the QUE 150 with scheduler. .
  • the QUE 150 with the scheduler writes (a) a read request for the AV stream from the REC buffer 142 as the first priority request, and (b) a write of the AV stream to the play buffer 143 as the second priority request.
  • An instruction execution priority scheduler which is set in the order of (c) System information read / write request to the system information buffer 141, as a third priority request, and an HDD controller for AV recording and playback 1 A write request for each buffer in the memory means 140 issued from 30.
  • the first priority request (a) issues an AV stream read request from the REC buffer 142 to the HDD controller 120.
  • the HDD controller 120 drives the disk device 110, and the AV recording / reproducing HDD controller 130 records the AV stream read from the REC buffer 142 on the disk device 110.
  • the AV recording / reproducing HDD controller 130 may issue a data read request from the system information buffer 141 to the QUE 150 with scheduler in order to record system information.
  • a request to read data from the system information buffer 141 is set as a third priority request.
  • the HDD controller for AV recording and reproduction 130 issues a read request to the HDD controller 120.
  • the read request is stored in QUE 150 with scheduler. '
  • the QUE 150 with scheduler has an instruction execution priority scheduler set, and, like the REC operation, sends an operation instruction to the HDD controller 120 based on the priority order of the first to third priority requests. And drive the disk unit 1 103 ⁇ 4r.
  • the AV recording / reproducing HDD controller 130 sends a data read request from the system information buffer 141 to the QUE 150 with scheduler to record system information.
  • a request to read data from the system information buffer 141 is set as the third priority request in the QUE 150 with the scheduler.
  • a read request from the system information buffer 141 is sent to the HDD controller 120 as long as the (b) write request for the AV stream to the PLAY buffer 143 is accumulated in the QUE 150 with the scheduler.
  • the disk device 110 always gives priority to the operation of writing the AV stream to the PL AY buffer 143, and
  • the AV recording / reproducing HDD controller 130 sends at least (a) a signal from the REC publisher 142 to the QUE with the scheduler.
  • AV stream read request (b) Both write requests for the AV stream to the PLAY buffer 143 have been issued.
  • the QUE 150 with the scheduler sends the AV stream read request from the REC buffer 142, which is the first priority based on the set priority, to the second priority.
  • (B) Gives an instruction to the HDD controller 120 in preference to a request to write the AV stream to the PLAY buffer 143.
  • the AV recording / reproducing HDD controller 130 issues a data read request from the system information buffer 141 to the QUE 150 with scheduler to record the system information.
  • the request to read data from this system information buffer 141 is set as a third priority request.
  • the system information buffer 141 Is not sent to the HDD controller 120, and the disk device 110 first reads data from the REC buffer 142, and then writes the AV stream to the PLAY buffer 143. Perform the operation with priority.
  • the HDD controller for AV recording / playback 130 When performing special playback such as double-speed playback or stop motion as the playback operation during the simultaneous recording / playback operation, the HDD controller for AV recording / playback 130 sends a PLAY buffer 143 to the QUE 150 with scheduler. A write request for special playback of the AV stream to the is issued.
  • the QUE 150 with the scheduler as the priority scheduler, in addition to the above-described first to third priority requests, and as a fourth priority request, (d) the AV queue to the PLAY buffer 143 Set a write request for trick trick play.
  • the above REC operation As in the case of the PLAY operation and the simultaneous recording / reproducing operation, the QUE 150 with the scheduler receives a write request / read request to each buffer in the memory means 140 issued from the AV recording / reproducing HDD controller 130. Regardless of the order of arrival of the requests, an operation command is issued to the HDD controller 120 based on the priority order of the first to fourth priority requests, and the disk device 110 is driven.
  • the (d) write request for special playback of the AV stream to the PLAY buffer 143 is set as a fourth priority request at a lower order than the write Z read request to the system information buffer 141. Because, when writing to the disk device 1 10 from the system information buffer 141 is prioritized, there fear that mosquitoes s AV stream is interrupted to be special playback. -However, since the data to be specially reproduced is originally displayed in the form of fast-forwarding, frame skipping, etc., there is little effect on actual viewing, and recording of system information on the disk device 110 may be given priority.
  • the HDD controller for AV recording / reproduction is controlled by an external controller (not shown).
  • the fifth priority request for performing the processing corresponding to the deletion command is made by the first priority request and the second priority request described above. It may be set between requests.
  • This fifth priority request is issued to the disk executed in response to the data erase command.
  • the data recorded on the disk device 1'10 Although the description has been made assuming that the instruction is an erase instruction, the present invention is not limited to this instruction, and the same applies to an instruction requiring rewriting of the file system.
  • the type of operation is By prioritizing data read / write from / to the disk drive according to the degree of importance, interruption of data during recording and playback of AV stream is minimized, and interruption occurs. Even in this case, it is possible to maintain the quality of the data to be reproduced or recorded.
  • FIG. 2 shows a configuration (2) of an AV stream recording / playback apparatus according to Embodiment 2 of the present invention.
  • the HDD controller 210 for AV recording / reproduction is a means for reading and writing AV stream / system information to / from the disk device 110 based on the monitoring of the address monitoring means 220
  • the QUE 230 with a scheduler is a memory. After receiving and storing a write request or a read request issued from the means 240, the request is output to the HDD controller 120 based on a predetermined priority.
  • the data buffer has a threshold of 300a for the REC buffer 242a, the threshold 300b for the REC buffer 242b, and the PLAY buffer 243.
  • the data capacity threshold 300c is set for a
  • the data capacity threshold 300d is set for the PLAY buffer 243b.
  • FIG. 41 is a diagram for explaining states of the P buffer 42 and the PLAY buffer 243.
  • the AV stream storage pointer 310 is a means for the address monitoring means 220 to monitor the data capacity of the REC buffer 242
  • the AV stream transmission pointer 320 is a This is a means for monitoring the data capacity of 243.
  • the recording AV stream input from the outside is accumulated sequentially from the head of the REC buffer 242a, and the AV stream accumulation pointer 310 moves to the REC buffer 242b accordingly.
  • the external AV stream recording operation is continued for 1 £ (the storage destination is changed to the buffer 242b.
  • the trim accumulation pointer 310 also moves to the end of the REC buffer 242b (accumulation direction a in FIG. 3).
  • the REC buffer 242b is in a state where the accumulation of the AV stream has already been completed and the data needs to be stored in the disk device 1 ⁇ 0.
  • b is a state where the AV stream is currently being accumulated from outside.
  • the HDD controller for AV recording / reproducing 210 issues a request for an operation to the disk device to the QUE 230 with the scheduler.
  • the QUE 230 with the scheduler When passing an operation request to the disk device, For the access operation requests stored in QUE ', the urgency of the request is determined, and if there is an urgent request, the request is given priority and passed to the HDD controller 120.
  • “urgency” is determined based on the amount of data in the REC buffer 242. The following describes how the REC Buffer 242 determines whether there is “urgency”.
  • the QUE 230 with scheduler refers to the AV stream storage pointer via the address monitoring means 220 while the AV stream is being stored in the REC buffer 242 from the outside, and the REC buffer 242 Monitor the accumulation status of AV stream in a and b.
  • the AV stream is fully accumulated in the REC buffer 242a, and the AV stream accumulation pointer 310 in the REC buffer 242b advances beyond the threshold value 300b.
  • the operation of writing the data in the REC buffer 242a to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the REC buffer to the HDD controller 120. Issue a request to read the data in 242a.
  • the HDD controller 120 performs a required access operation to the disk device 110.
  • the threshold value 300b is, for example, (the time required to save the data in the REC buffer 242a to the disk device)> (exceeding the threshold value 300b to the REC buffer 242b from the outside) The time until the AV stream is accumulated). 'Next. Next, the data in the REC buffer 242a is recorded in the disk device 110, and the REC buffer 242a becomes empty. When the recording of the REC buffer 242 b is full, the data is stored again in the £ 1 (: buffer 242 a (accumulation direction b in FIG. 3).
  • the threshold value is set to the threshold value 300a in the REC buffer 242a, and the AV stream storage pointer 310 in the REC buffer 242a advances beyond the threshold value 300a.
  • the operation of writing the data in the REC buffer 242 b to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the REC buffer 242 b to the HDD controller 1.20. Issues a request to read data in
  • the AV streams read from the disk device 110 are accumulated in order from the beginning of the PLAY buffer 243a, and the AV stream transmission pointer 320 is accordingly set to the PLAY buffer 7243b in accordance with that. Move to.
  • the data in the PLAY buffer 243a is sent to the outside, and the operation of storing the AV stream from the disk device 110 is performed as follows.
  • the storage destination is changed to the PLAY buffer 243b, and is continued.
  • the AV stream sending pointer 320 moves to the end of the PLAY buffer 243b (the sending direction a in FIG. 3).
  • the PLAY buffer 243a is in a state where the AV stream has already been sent and the data needs to be stored, while the PLAY buffer 243b is currently This is a state where the AV stream is being accumulated from the disk device 110.
  • the AV recording / reproducing HDD controller 210 issues an operation request to the disk device to the QUE 230 with the scheduler.
  • the QUE 230 with the scheduler When passing an operation request to the disk device, For the access operation requests stored in the QUE, the urgency of the request is determined, and if there is an urgent request, the request is given priority and passed to the HDD controller 120.
  • “urgency” is determined based on the amount of data in the PLAY buffer 243.
  • the determination of the presence or absence of “urgency” of the PLAY know-how 243 will be described.
  • the QUE 230 with the scheduler refers to the AV stream transmission pointer 320 via the address monitoring means 220 while the AV stream is being stored in the PLAY buffer 243 from the disk device 110, and the PLAY buffer 243 Monitor the accumulation status of AV streams in a and b.
  • the AV stream is empty in the PLAY buffer 243a, and the AV stream transmission pointer 320 in the PLAY buffer 243b advances beyond the threshold 300d.
  • the operation of writing the AV stream from the disk device 110 to the play buffer 243a is determined to be urgent, and the QUE 230 with scheduler sends the PLAY buffer to the HDD controller 120. Issue a data write request to the key 243a.
  • the HDD controller 120 performs a required access operation to the disk device 110.
  • the threshold value 300d is, for example, (the time required to write data from the disk device 110 to the PLAY buffer 243a). The time until the AV stream of the PLAY buffer 243 b ⁇ is transmitted).
  • the PLAY buffer 243b sends an AV stream to the outside and becomes empty, while the PLAY buffer 243a stores the disk device 110 in the PLAY buffer 243a.
  • the AV stream is written (transmission direction b in FIG. 3).
  • the threshold value is set to the threshold value 30 Oc in the PLAY buffer 243a, and the AV stream sending pointer 320 in the PLAY buffer 243a exceeds the threshold value 300c. If it has proceeded, the operation of writing the data in the PLAY buffer 243 b to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the disk device 1 1 1 to the HDD controller 120. From 0, a request to write data to the PLAY buffer 243b is issued.
  • FIG. 4 shows a flowchart of the AV stream recording / reproducing apparatus of the present embodiment when the simultaneous recording / reproducing operation is performed.
  • FIG. 4 shows a flowchart of the AV stream recording / reproducing apparatus of the present embodiment when the simultaneous recording / reproducing operation is performed.
  • the HDD controller 210 for AV recording and playback monitors the system information buffer 141, REC buffer 242, and PLAY buffer 243.
  • the QUE 230 with scheduler receives a signal from the REC buffer 242.
  • a request to read the AV stream, a request to write the AV stream to the PLAY buffer 243, and a request to read the system information from the system information buffer 141 are made (step 401).
  • the QUE 230 with the scheduler receives the above request from the AV recording / reproducing HDD controller 210
  • the QUE 230 temporarily accumulates the request and uses the address monitoring means 220 to store the data capacity of the REC buffer 242 and the PLAY buffer 243. Is monitored with reference to the AV stream storage pointer 310 and the AV stream transmission pointer 320. At this time, monitoring is performed in the order of the RE C buffer 242 (step 403) and then the PLAY buffer 243 (step 404).
  • the data capacity of the REC buffer 242b reaches the threshold value 300b.
  • the QUE 230 with the scheduler instructs the HDD controller 12.0 to read the AV stream from the REC buffer 242 among the stored requests.
  • the HDD controller 120 that has received the command activates the disk device 110, reads and records the data in the REC buffer 242 (step 406).
  • step 403 determines whether the data capacity of the REC buffer 242b has reached the threshold value 300b based on the reference of the AV stream storage pointer 310.
  • the QUE with scheduler 230 determines whether the data capacity of the PLAY buffer 243b has reached the threshold value 300d based on the reference of the AV stream transmission pointer 320 (step 404).
  • step 404 If it is determined in step 404 that the data capacity of the PLAY buffer 243b has reached the threshold value 300d based on the reference of the AV stream transmission pointer 320 and it is determined that the data needs to be read out, Instructs the HDD controller 120 to write the AV stream to the PLAY buffer 243 among the accumulated requests.
  • the HDD controller 120 that has received the command activates the disk device 110, reads out the data, and records it in the PLAY buffer 243 (step 407).
  • step 404 if it is determined in step 404 that the data capacity of the PLAY buffer 243b has not reached the threshold value 300b based on the reference of the AV stream accumulation pointer 310, it is determined that there is no need to write data.
  • the QUE 230 with the scheduler instructs the HDD controller 120 to read the system information from the system information buffer 141 and records the system information on the disk device 110 (step 405). .
  • interruption of data during recording and reproduction of an AV stream on a disk device is minimized, and even when interruption occurs, the quality of data reproduced or recorded is improved. Can be held.
  • FIG. 5 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 3 of the present invention.
  • the same or corresponding parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted.
  • the timer 510 measures the time and works in conjunction with the address management means 220 to measure the data write Z read speed to the REC buffer 242 and the PLAY buffer 243 in the memory means 240. It is a means for
  • the operation of the AV stream recording / reproducing apparatus according to the present embodiment having the above-described configuration will be described below, and thereby an embodiment of the AV stream recording / reproducing method of the present invention will be described. .
  • parts common to the second embodiment are omitted, and differences are mainly described.
  • the provision of the timer 510 linked to the address monitoring means 220 allows the writing speed of the recording AV stream to the REC buffer 242 in the memory means 240 to be improved.
  • the playback speed of the AV stream from the PLAY buffer 243 can be measured, and the value of the threshold value set in each buffer can be changed according to the writing or playback speed.
  • the writing speed of the AV stream to the REC buffer 242 during recording is low, and the transmission speed of the AV stream from the PLAY buffer 243
  • the threshold values 300 c and 300 d of the PLAY buffer 243 a and b are set to lower values, and the instruction operation for the HDD controller 120 of the QUE 230 with scheduler is performed.
  • the change of the threshold value may be performed by the HDD recording / reproducing HDD controller 210 or may be performed by control means (not shown).
  • the priority of the instruction execution priority scheduler is set as the first priority request.
  • the AV stream read request from the REC buffer 242 and the second priority request are set as ( b) A request to write the AV stream to the PLAY buffer 243, as the third priority request.
  • the configuration may be such that a conventional AV stream recording / reproducing device shown in FIG. 12 is provided with the kedress monitoring means 220 and the timer 510.
  • the QUE 230 with scheduler transmits the AV data to the RE buffer 242. It is possible to change the execution order of the issued requests according to the stream reading speed and the playback speed of the AV stream from the PLAY buffer 243, and issue the requests to the HDD controller 120.
  • interruption of data during recording and reproduction of an AV stream on a disk device is minimized, and even when interruption occurs, the quality of data reproduced or recorded is improved. Can be held.
  • FIG. 6 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 4 of the present invention.
  • the memory means 640 of the present embodiment is a means provided with a two-channel REC buffer 641 and a ⁇ ⁇ REC buffer 642, and a one-channel PLAY buffer of a PLAY buffer 643.
  • the memory means 640 is a two-channel REC buffer having RE buffers 641 and 642.
  • the read operation of the AV stream from the REC buffer is performed in parallel with the number (2) of the REC buffers.
  • the T and AV streams are stored independently in the REC buffer 641 and the REC buffer 642, and the REC buffers 641a and 641b and the REC buffers 642a and 642b are completely stored.
  • the REC buffers 642 a and 642 a have been completely accumulated and the REC buffers 641 b and 642 b are being accumulated, and the REC buffers 641 a and 642 b have been completely accumulated and the REC buffers 641 b and 642 a have been accumulated.
  • REC buffers 641 b and 642 a have completed storage, and REC buffers 641 a and 642 b have been stored, while REC buffers 641 b and 642 b have completed storage and REC buffers 641 a and 642 a have been stored. It can be in the state of accumulation.
  • the number of operation requests issued from the AV recording / reproducing HDD controller 210 to the QUE 230 with a scheduler changes according to the number of channels, whereas the number of operation requests issued from the HDD controller 120 to the disk device 1 10 varies.
  • the threshold values set in the REC buffer and the PLAY buffer are reduced as the number of channels increases, since the processing time of the access operation to the PHY buffer is the same.
  • FIG. 7A is a diagram schematically showing a change in the threshold value in the REC buffers 641 and 642
  • FIG. 7B is a diagram schematically showing a change in the threshold value in the PLAY buffer 643.
  • the REC buffer operates with a threshold of 700 a when operating with one channel (either the REC buffer 641 or 642) and operating with two channels (REC buffers 641 and 642).
  • the threshold 700a ' is set lower than the threshold 700a'.
  • the threshold b when operating on one channel PLAY buffer 643
  • the threshold b when operating on two channels not shown in Figure 6
  • the threshold 700 a, a, also c is set to 60% of the total data capacity of one channel RE C buffer, the threshold 700 a, as a setting method of In the case of the two-channel REC buffers 641 and 642 shown in FIG. 6, for example, (the time required to store the data of both the REC buffer 641 a and the REC buffer 642 a to the disk device 110) > (Time until the AV stream is accumulated in the REC buffer 641b or the REC buffer 642b after exceeding the threshold 700a). If the number of channels is 3 or more, the data amount is “half the capacity of the REC buffer for one channel.
  • the PLAY buffer has two channels, for example, (half of the capacity of one PLAY buffer and half of the capacity of the other PLAY buffer)
  • the time required to write data from the disk device 110) ⁇ (the time until the AV stream of one or the other PLAY buffer stored in the position after the threshold 700b 'is transmitted) Shall be defined as If the number of channels is 3 or more, the disk device 1 (for the P-lay buffers of a and b for one channel, for example (for the p-lay buffer 643a and the p-lay buffer 634b)) Time required to write data from 0 ”X number of channels) (Threshold 700b, time until the AV stream of each channel's PLAY buffer stored in the subsequent positions is transmitted) I do.
  • FIG. 8 shows a case where the simultaneous recording / reproducing operation is performed.
  • 5 shows a flowchart of an AV stream recording / reproducing apparatus 600.
  • an operation example of the present embodiment will be described with reference to this flowchart.
  • the HDD controller 210 for AV recording / playback monitors the system information buffer 141, REC buffers 641, 642, and PLAY buffer 643.
  • the QUE 230 with scheduler sends the AV buffer from the REC buffers 641, 642 to the QUE 230 with scheduler.
  • a stream read request, an AV stream write request to the PLAY buffer 643, and a system information read request from the system information buffer 141 are made (step 801.).
  • the QUE 230 with the scheduler When the QUE 230 with the scheduler receives the above request from the AV recording / reproducing HDD controller 210, the QUE 230 temporarily accumulates the request, and uses the address monitoring means 220 to send 1 £ (buffers 641, 642 and PLAY buffer 643).
  • the data capacity is monitored with reference to the AV stream accumulation pointer and the AV stream transmission pointer, first by monitoring the REC buffer 641 (step 803), then the REC buffer 642 (step 804), and the PLAY buffer. The steps are performed in the order of 643 (step 805).
  • step 803 If it is determined in step 803 that the data capacity of the REC buffer 641a has reached the threshold value 700a, based on the reference of the AV stream storage pointer 310, and that it is necessary to read data,
  • the QUE 230 with a scheduler instructs the HDD controller 120 of a request to read an AV stream from the REC buffer 641, among the accumulated requests.
  • the HDD controller 120 Upon receiving the instruction, the HDD controller 120 activates the disk device 110, reads and records the data in the REC buffer 641 (step 807).
  • step 803 the AV stream storage pointer 310 is referred to. If it is determined that the data capacity of 1 £ (: Puffer 641 & has not reached the threshold 700a 'and that it is not necessary to read the data, the QUE 230 with the scheduler sends the AV stream accumulation pointer Based on the reference to 310, it is determined whether or not the data capacity of the REC buffer 642a has reached the threshold value 700a '(step 804).
  • step 804 based on the reference of the AV stream accumulation pointer 310, if it is determined that the data capacity of the REC buffer 642a has reached the threshold value 700a and it is necessary to read data,
  • the QUE 230 instructs the HDD controller 120 of an AV stream read request from the REC ⁇ 77642 2 among the stored requests.
  • the HDD controller 120 activates the disk device 110, reads and records the data in the REC buffer 642 (step 808).
  • step 804 determines whether the data capacity of the REC buffer 642a has reached the threshold 700a 'based on the reference of the AV stream accumulation pointer 310, and that it is not necessary to read data.
  • the QUE 230 with scheduler determines whether the data capacity of the PLAY buffer 643 has reached the threshold value 700b 'based on the reference to the AV stream transmission pointer 320 (step 805).
  • step 805 based on the reference of the AV stream transmission pointer 320, if the data capacity of the PLAY buffer 643 has reached the threshold value 700b, and it is determined that the data needs to be read out, 230 instructs the HDD controller 120 to write the AV stream to the PLAY buffer 644 among the accumulated requests.
  • the HDD controller 120 starts the disk device 110, reads the data, and writes the data to the PLAY buffer 643. Record (step 809).
  • step 805 if it is determined in step 805 that the data capacity of the PLAY buffer 643 a has not reached the threshold value 700 b ′ based on the reference of the AV stream accumulation pointer 310 and it is not necessary to perform data writing.
  • the QUE 230 with scheduler instructs the HDD controller 120 to read the system information from the system information buffer 1.41 and records the system information in the disk device 110 (step 806).
  • the AV stream recording / reproducing apparatus is configured such that when the apparatus is started, the AV stream recorded on the disk device is matched with the system information for managing the AV stream. It is.
  • FIG. 9 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 5 of the present invention.
  • the disk device 910 is, for example, an HDD, means for storing an AV stream and system information related to the AV stream
  • the HDD controller 920 is a means for driving the disk device 910
  • the QUE 930 receives and stores a write request or a read request issued from the HDD controller 940 for AV recording / reproducing, and then stores the HDD controller in the order of receiving the request.
  • a system information buffer 951 is a means for temporarily recording system information
  • an REC buffer 952 is a means for temporarily recording an AV stream written from the outside to the disk device 910
  • the LAY buffer 953 is a means for temporarily recording the AV stream read from the disk device 910 to the outside.
  • each of the REC buffer 952 and the PLAY buffer 953 has a configuration internally divided into two REC buffers 952a, b and PLAY buffers 953a, b.
  • Each of the above means has the same configuration as that of the conventional example except that the system information-AV file consistency check controller 960 is provided. Further, when an AV stream is input from outside, the AV stream recording / reproducing apparatus 900 continuously records the AV stream into a disk unit in DAU (disc access • Un.it) units described later, and starts recording. Recorded from An AV stream consisting of a plurality of DAUs up to the end is managed as an AV file, which is an example of the object of the present invention. System information is periodically managed at a predetermined timing in order to manage this AV file. Specifically, it is assumed that the information is information recorded on the disk device 910.
  • step 1000 it is assumed that the AV stream recording / reproducing device 900 has been turned on from a power-off state (step 1000).
  • the system information-AV file matching checker controller 960 searches for the AV stream recorded on the disk device 910 until the power is turned off in units of AV files, and constructs the AV file in the AV file. Detects the end of the AV stream and refers to the system information for managing the AV file, and determines whether the end of the AV stream matches the recording end of the AV stream described in the system information. (Step 1001).
  • step 1001 if the end of recording of the AV stream and the end of recording of the AV stream described in the system information match, all the AV files recorded in the disk device 910 are read. It is determined whether or not a check has been performed (step 1002). If all the AV files have been checked, the system information and AV file consistency check controller 960 terminates the operation (step 1003). If there is an unchecked AV file, perform the operation of playback step 1 001. On the other hand, in step 1001, if the recording end of the AV stream and the recording end of the AV stream described in the system information do not match, the system information-AV file consistency check controller 960 will return. Then, a process of matching the recording end of the system information relating to the AV file with the end of the AV stream is performed (step 1004).
  • step 104 the operation of step 104 will be described in detail.
  • an AV or the like occurs due to an accident or the like. If the power is turned off during the trim recording operation, the data actually recorded in the AV stream on the disk device 9100 becomes data that can be managed by the AV file C1330. In addition, despite the fact that some data was recorded in the range from time T1 to T2 in the figure, the system information is in a state where only the data up to the AV file C1330 can be managed. A mismatch occurs between the actually recorded AV stream and the AV file, that is, the system information.
  • system information-AV file consistency check controller 960 corrects this mismatch in two ways.
  • the first method is based on the contents of system information recorded on a disk device.
  • An AV stream that can be managed as an AV file C1330 and its system information are recorded on the disk device 9110. .
  • the system information-AV file matching checker controller 960 sends the AV information recorded on the disk device between the storage timing of system information 1300 c and the power-off 134 0 that is not described in the system information. Delete the stream to record system information related to the AV file The end is matched with the recording end of the AV stream recorded on the disk device 910.
  • system information-AV file consistency check controller 960 temporarily determines the AV file up to the storage timing 1300c as being manageable by the disk device 910.
  • System information is mainly divided into FAT information and object information.
  • the FAT (File Alloc a tio nta b le) information indicates the recording order of the AV stream, and the object information is for recording the AV stream in units of programs.
  • the FAT information By setting this object information as the end, the FAT information at the end of the recording of the system information, the recording time of the AV stream, and the data size of the AV stream are determined, and the AV file having such information is temporarily stored. Is determined.
  • the second method is to rewrite the contents of system information based on the end of recording of the AV stream recorded on the disk device.
  • FIG. 11 is a diagram showing a configuration of a DAU (Dice Access Unit) which is a unit AV stream which is a recording unit on the disk device 910 of the AV stream.
  • DAU Device Access Unit
  • the DAU 1 100 is composed of two types of data, a DAU header 1 1 10 and a pay mode 1 120, and the D AU header 1 1 1 1
  • the payload 1 120 stores the actual data of the AV stream.
  • the DAU header 1 110 includes the number of the DAU adjacent to the front and rear of the DAU having the DAU header (in the case of D AU 1 100b in FIG. 11, the adjacent D AU is D AU 1 100 a and DAU 1 100 c), and the recording position on the disk that is the recording medium in the disk unit 910. Is stored as pointer 1 1 30.
  • the system information-AV file consistency check controller 960 of the present embodiment accesses the DAU header 1 110 and restores the pointers 1130 of the preceding and succeeding numbers between the DAUs.
  • the DAU at the recording end of the AV stream may be recorded on the disk device 910 with the DAU header holding a pointer indicating the DAU number to be recorded next to the DAU in the DAU header.
  • the system information-AV file consistency check controller 960 finds a break in the recorded AV stream data, and performs a process of writing that information to the terminal DAU. '. More specifically, every time the AV stream recording / reproducing device 900 performs a REC operation, a common number incremented each time is recorded in the D AU header of each D AU, and the system Information 1.
  • the AV file matching check controller 9.60 tries to find the discontinuity of the number.
  • system information-AV file consistency check controller 960 finds the DAU at the recording end of the AV stream from the DAU header or the payload, it rewrites the system information recorded on the disk device 910 based on the DAU.
  • the end of the DAU recorded in the system information should match the DAU at the end of recording in the AV stream. I do.
  • the system information manages the AV stream up to the AV file C1330 according to the save timing 1300C, and the DAU termination Is set to DAU1 100, but the system information AV file consistency check controller 960 detects the DAU1100 at the time of the power-off 1340, and the system information is transferred to the DAU1100. Rewrite as including. By rewriting the system information, a new AV file D1350 is generated. This includes the AV stream of the AV file C and the AV stream of the DAU from the DAU 1100 to the end of recording of the AV stream.
  • system information-AV file consistency check controller 960 temporarily determines an AV file including the AV stream up to time T2 as being manageable by the disk device 910.
  • the above operation will be described using FAT information and object information as in the case of the first method.
  • the object information determines the FAT information at the end of the recording of system information, the recording time of the AV stream, and the data size of the AV stream. Update the FAT information and other information by rewriting based on DAU, set the object information as the end, and temporarily determine the AV file.
  • the c- disk device 901 can be used to target the AV file temporarily fixed at the time when the power is turned off.
  • the AV file based on the V stream or system information is temporarily determined, and the AV stream in the AV file is in a playable state. If it detects that the AV stream recorded in the 901 is the same as the AV stream that was input before the power was turned off, it will be temporarily recorded as an AV stream by one of the above two methods.
  • the system information-AV file consistency check controller 960 rewrites the system information of the AV file, and makes the confirmed AV file unconfirmed, that is, a state in which the AV stream can be additionally written.
  • the object information is set to the end, so that the recording time of the FAT information and the AV stream at the end of the recording of the AV file is set.
  • the system information-The AV file consistency check controller 960 rewrites this object information not to the end, so the recording time of the AV stream and the data size of the AV stream are undefined. Rewritten to fixed.
  • the FAT information merely indicates the recording order of the AV stream on the recording medium, the content itself is not rewritten.
  • the A stream or file recorded by the time of the power failure is recorded. Based on the information, the AV file is determined, preventing inconsistency between the recorded AV stream and system information, and the AV stream that was recorded before the power failure occurred can be played Can be saved as an AV file.
  • the AV stream that has been the target of recording can be added to the recording of the AV stream.
  • the present invention is not limited to this. Directly refer to time information stored in the same continuously recorded AV stream to find the DAU at the recording end of the AV stream and the DAU break to be recorded next to the DAU. It may be.
  • the system information is periodically recorded in the disk device 910.
  • the present invention is not limited to this.
  • the information may be intermittently recorded in the disk device 910.
  • the system information may be continuously recorded as in the case of the AV stream.
  • the AV stream recording / reproducing apparatus of the present invention performs the above processing as long as it can record continuously recorded AV streams and non-continuously or continuously recorded system information. It can be carried out Things.
  • the configuration of the AV stream recording / reproducing device 900 described above is described as being realized on a conventional AV stream recording / reproducing device equipped with a HDD controller ⁇ "920 that receives instructions from the conventional Q UE 930.
  • the system information-AV file consistency check controller 960 of the present embodiment may be realized as a configuration added to the AV stream recording / reproducing apparatus of the above-described first to fourth embodiments.
  • the operation of processing the request from the HDD controller 940 for AV recording and reproduction by the QUE 230 with a scheduler ⁇ In addition, the interruption of data during recording and reproduction of the AV stream to the disk device is minimized. In addition, even when a break occurs, the quality of data to be reproduced or recorded can be maintained.
  • the AV recording / reproducing HDD controller 940, the address monitoring means 220, and the timer 510 are examples of the request generation means of the present invention.
  • the QUE 230 with a scheduler is an example of the operation determining means of the present invention.
  • the HDD controller 120 and the disk device 110 are examples of the recording / reproducing means of the present invention.c
  • the HDD controller 920 and the disk device 910 are the recording / reproducing means of the present invention. This is an example.
  • the system information-AV file consistency check controller 960 is an example of the consistency means of the present invention.
  • the configuration of the AV stream recording / reproducing apparatuses 100, 200, 500, and 600 according to the first to fourth embodiments uses a disk device 910 capable of recording / reproducing the AV stream and system information, and the memory means is a system.
  • the configuration of the AV stream recording / reproducing device 900 according to the fifth embodiment uses the disk device 910 capable of recording / reproducing the AV stream, but the recording means of the AV stream recording / reproducing device of the present invention is However, the present invention is not limited to this, and it is assumed that a disk device that performs only recording is used.
  • the REC buffers 142, 242, 641, 642, 952, and PLAY buffer of the memory means are provided.
  • 142, 242, 641, 642, and 952 are described as being divided into two blocks (indicated by a and b), the same applies to the case where there are three or more blocks. Operation can be performed immediately.
  • the present invention provides the above-described AV stream recording / reproducing apparatus of the present invention.
  • the present invention also provides a program for causing a computer to execute all or some of the functions of all or some of the above-described AV stream recording / reproducing apparatus and AV stream recording apparatus of the present invention.
  • the program may be a medium that is readable by a computer and that executes the function in cooperation with the computer.
  • some devices (or elements, circuits, units, and the like) of the present invention mean several devices among a plurality of devices, or one device among one device. It means the means of a unit (or an element, a circuit, a unit, etc.), or means a part of the function of one means.
  • a computer-readable recording medium that records the program of the present invention is also included in the present invention.
  • one usage form of the program of the present invention may be a form in which the program is recorded on a computer-readable recording medium and operates in cooperation with the computer.
  • One use form of the program of the present invention may be a form in which the program is transmitted through a transmission medium, read by a computer, and operates in cooperation with the computer.
  • the data structure of the present invention includes a database, a data format, a data table, a data list, a data type, and the like.
  • the recording medium includes ROM and the like
  • the transmission medium includes transmission media such as the Internet, light, radio waves, and sound waves.
  • the computer of the present invention described above is not limited to pure hardware such as CPU, but may include firmware, OS, and peripheral devices.
  • the configuration of the present invention may be realized by software or hardware. Industrial applicability
  • an AV stream recording / reproducing apparatus capable of reducing the influence on data during recording or reproduction due to interruption of the AV stream occurring during recording / reproduction, etc. Can be obtained.
  • an AV stream recording device or the like that can eliminate the inconsistency between the recorded AV stream and the system information without interrupting the operation during operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

A conventional AV stream recording/reproducing method poses a problem of interrupting an AV stream read or written between a buffer and a disk unit. An AV stream recording/reproducing device comprising an HDD controller (120) and a disk unit (110) for performing a plurality of types of AV stream reading/reproducing operations, a memory means (140) having at least AV stream-use reproducing buffer (142) and recording buffer (141), an AV recording/reproducing HDD controller (130) for monitoring the memory means (140) and requesting a specified type of operation to be performed by the disk unit (110), and a scheduler-carrying QUE (150) for selecting a specified operation out of the request queues based on a specified reference to determine the next operation to be performed by the disk unit (110), the specified reference being a priority order determined according to a type of recording/reproducing operation.

Description

明 細 書  Specification
A Vス トリーム記録再生装置、 A Vス トリーム記録装置、 AVス トリ ーム記録再生方法、 AVス トリーム記録方法 技術分野 AV stream recording / reproducing device, AV stream recording device, AV stream recording / reproducing method, AV stream recording method
本発明は、 デジタル映像 ·音声からなる AVストリームの記録再生を 行う AVストリーム記録再生装置、 AVストリーム記録装置、 AVスト リーム記録再生方法、 A Vス トリーム記録方法等に関する。 背景技術  The present invention relates to an AV stream recording / reproducing apparatus for recording and reproducing an AV stream composed of digital video and audio, an AV stream recording apparatus, an AV stream recording / reproducing method, an AV stream recording method, and the like. Background art
図 1 2は、 従来の技術による AVストリームの記録再生を行う AVス トリーム記録再生装置の構成を模式的に示す図である。 図に示すように 、 AVストリーム記録再生装置 1 2 00において、 ディスク装眞 1 2 1 0は、 HDDで実現される、 AVストリームおよぴ該 AVストリームに 関するシステム情報を蓄積する手段、 HDDコントローラ 1 220は、 ディスク装置 1 2 1 0を駆動させるための手段、 AV記録再生用 HDD コントローラ 1 230は、 ディスク装置 1 2 1 0に対し A Vストリーム やシステム情報を読み書きするための手段、 メモリ手段 1 240は外部 からディスク装置に書き込まれる A Vストリーム、 ディスク装置 1 2 1 0から外部へ読み出される A Vス トリーム、 およびシステム情報を一時 的に蓄積する手段、 QUE 1 250はメモリ手段から発行される書き込 み要求または読み出し要求を受けて、 HDDコントローラ 1 220に該 要求を出力する手段である。  FIG. 12 is a diagram schematically showing a configuration of an AV stream recording / reproducing apparatus for recording / reproducing an AV stream according to a conventional technique. As shown in the figure, in the AV stream recording / reproducing apparatus 1200, the disk device 1200 is a means for storing an AV stream and system information related to the AV stream realized by an HDD, and an HDD controller. 1220 is a means for driving the disk device 1 210, an HDD controller for AV recording and reproduction 1 230 is a means for reading and writing the AV stream and system information to the disk device 1 210, a memory means 1 240 is a means for temporarily storing an AV stream written from the outside to the disk drive, an AV stream read out from the disk drive 121 to the outside, and system information.QUE 1 250 is a write command issued from the memory means. This is a means for receiving a read request or a read request and outputting the request to the HDD controller 1220.
また、 メモリ手段 1 240において、 システム情報バッファ 1 24 1 はシステム情報を一時記録するための手段、 RE Cバッファ 1242は 外部からディスク装置 1210に書き込まれる A Vストリームを一時記 録するための手段、 PLAYバッファ 1 243はディスク装置 1210 から外部へ読み出される AVストリームを一時記録するための手段であ る。 In the memory means 1240, the system information buffer 1 24 1 Is a means for temporarily recording system information, an REC buffer 1242 is a means for temporarily recording an AV stream written from the outside to the disk device 1210, and a PLAY buffer 1 243 is an AV stream read from the disk device 1210 to the outside. This is a means for temporarily recording
さらに、 RE Cバッファ 1242および P LAYバッファ 1 243は それぞれ内部で RE Cバッファ 1242 a、 bおよび P LAYバッファ In addition, the RE C buffer 1242 and the P LAY buffer 1 243 are internally
1243 a, bの二つに分けられた構成を有している。 1243 a, b.
以上のような構成を有する従来の技術による AVストリーム記録再生 装置の動作について、 以下に説明する。  The operation of the conventional AV stream recording / reproducing apparatus having the above configuration will be described below.
はじめに、 外部から該 AVストリーム記録再生装置 1 200へ記録 ( REC) 動作を行う場合を説明する。  First, a case where a recording (REC) operation is performed from the outside to the AV stream recording / reproducing apparatus 1200 will be described.
外部より入力された AVストリームは、 メモリ手段 1 240に入力す ると、 いったん RE Cバッファ 1 242 aに蓄積される。 RECバッフ ァ 1 242 aの容量がいっぱいになると、 外部からの AVス トリームの 蓄積先は RE Cパッファ 1242 bに切り替わり、 AVストリ一ムの蓄 積が継続される。  When the AV stream input from the outside is input to the memory means 1240, it is once stored in the REC buffer 1242a. When the capacity of the REC buffer 1242a becomes full, the storage destination of the external AV stream is switched to the rec buffer 1242b, and the storage of the AV stream is continued.
一方、 AV記録再生用 HDDコントローラは、 RECバッファ 124 On the other hand, the HDD controller for AV recording and playback uses the REC buffer.
2 aがいつぱいになったことを検出すると、 HDDコントローラ 1 22 0に RE Cバッファ 1242 aのディスク装置 1210への記録を要求 する。 . ' When it is detected that 2a has become short, the HDD controller 122 is requested to record the REC buffer 1242a in the disk device 1210. '
HDDコントローラ 1220に出された要求は、 ー且 QUE 1250 に蓄積され、 これより HDDコントローラ 1 220へ出力される。 HD Dコントローラ 1220は、 QUE 1250に蓄積された要求の出され た順番に、 メモリの指定領域をディスク装置 1 210に記録する。  The request issued to the HDD controller 1220 is stored in the QUE 1250, and is output to the HDD controller 1220. The HDD controller 1220 records the designated area of the memory on the disk device 1210 in the order in which the requests accumulated in the QUE 1250 are issued.
一方、 外部から書き込まれる AVストリームは、 RE Cバッファ 1 2 42 bに蓄積が継続され、 RECバッファ 1 242 bがいつぱいになる と、 RECバッファ 1 242 aの場合と同じ手順で、 RECバッファ 1 242 bのデータが、 ディスク装置 1210に記録される。 On the other hand, the AV stream written from the outside When the storage in the REC buffer 1242b becomes short and the storage in the REC buffer 1242b becomes short, the data in the REC buffer 1242b is recorded on the disk device 1210 in the same procedure as in the case of the REC buffer 1242a.
上記の動作において、 外部から'書き込まれる AVス トリームの、 メモ リ手段 1240における一時記録は、 RECバッファ 1242 a、 RE Cバッファ 1242 b、 RECバッファ 1 242 a、 RECバッファ 1 242 b、 、 、 、 と、 各 RECバッファを交互に用いて行われる。  In the above operation, the temporary recording of the externally written AV stream in the memory means 1240 is performed by the REC buffer 1242a, the REC buffer 1242b, the REC buffer 1242a, the REC buffer 1242b,. Is performed by using each REC buffer alternately.
次に、 該 AVストリーム記録再生装置 1200から外部へ A Vストリ ームの再生 (PLAY) 動作を行う場合を説明する。  Next, a case will be described in which the AV stream recording / reproducing apparatus 1200 performs an AV stream reproducing operation (PLAY) to the outside.
P LAY開始時に、 AV記録再生用 HDDコントローラ 1230は、 HDDコントローラ 1220に対し、 読み出し要汆を出す。 読み出し要 汆は、 QUE 1.250に一旦蓄積され、 これより HDDコントローラ 1 At the start of the play, the HDD controller for AV recording and reproduction 1230 issues a read request to the HDD controller 1220. The read request 一旦 is temporarily stored in QUE 1.250.
220へ出力される。 HDDコントローラは、 QUE 1 250に蓄積さ れた要求の出された順番に、 ディスク装置 1 210から AVストリーム データを読み出し、 AV記録再生用 HDDコントローラ 1230を介し て、 メモリ手段 1 240内の P LAYバッファ 1243 aにデータを蓄 積する。 P LAYバッファ 1 243 aにデータの蓄積が継続され、 PL AYバッファ 1243 aがいつぱいになると、 P LAYバッファ 124Output to 220. The HDD controller reads the AV stream data from the disk device 1210 in the order in which the requests stored in the QUE 1 250 are issued, and sends the data via the AV controller 1230 to the PLAY Store the data in buffer 1243a. When data accumulation continues in the PLAY buffer 1 243a and the PLAY buffer 1243a becomes short, the PLAY buffer 124
3 aに一時記録された AVストリームデータは、 バッファの先頭から順 に 「再生 AVスト'リーム」 として外^へ出力される一方、 ディスク装置 1210からのデータは P LAYバッファ 1243 bに蓄積される。 次に、 AV記録再生用 HDDコントローラ 1230は、 PLAYパッ ファ 1243 a内のデータが全て外部へ送出された後、 続けて P LAY バッファ 1243 bのデータを送出する。 このとき、 AV記録再生用 H DDコントローラ 1230は、 P LAYバッファ 1243 aが空になつ たことを検出し、 QUE 1250に読み出し要求を発行する。 QUE 1 250は読み出し要求を受けると、 これを HDDコントローラ 1220 に出力し、 HDDコントローラ 1 220は、 ディスク装置 1 210から データを読み出し、 P LAYバッファ 1243 aに蓄積する。 3 The AV stream data temporarily recorded in a is output to the outside as a “playback AV stream” in order from the beginning of the buffer, while the data from the disk device 1210 is stored in the PLAY buffer 1243 b. . Next, the HDD controller for AV recording / reproduction 1230 sends out the data in the PLAY buffer 1243b after all the data in the PLAY buffer 1243a is sent out. At this time, the AV recording / reproducing HDD controller 1230 detects that the PLAY buffer 1243a has become empty, and issues a read request to the QUE 1250. QUE 1 Upon receiving the read request, the 250 outputs this to the HDD controller 1220, and the HDD controller 1220 reads the data from the disk device 1210 and stores it in the PLAY buffer 1243a.
外部へ A Vストリームデータの送出を行っていた P LAYバッファ 1 243 bが空になったあとは、 続けて PLAYバッファ 1243 aのデ ータを送出し、 再生動作を継続する。  After the PLAY buffer 1243b, which had been transmitting the AV stream data to the outside, became empty, the data in the PLAY buffer 1243a is continuously transmitted, and the reproduction operation is continued.
次に、 上述した AVストリームの記録 Z再生動作とは別に行われる、 システム情報の保存動作について説明を行う。  Next, a description will be given of an operation of saving system information, which is performed separately from the above-described recording / playback operation of the AV stream.
システム情報とは、 ディスク装置 1210のメディア上での、 ォブジ ク トの記録位置や、 オブジェク トの属性情報 (例えば、 記録番組名や 記録時間等) を指すものである。  The system information indicates a recording position of an object on a medium of the disk device 1210 and attribute information of an object (for example, a recorded program name and a recording time).
システム情報をディスク装置 1 210内のディスクメディア上に記録 するために、 AVストリームの記録/再生動作が終了したあとにシステ ム情報をメディア上に記録するようにしている。  In order to record the system information on the disk medium in the disk device 1210, the system information is recorded on the medium after the end of the recording / reproducing operation of the AV stream.
これにより、 ディスク装置 1 21 0に記録された A Vストリームを、 ォ ブジェクトである A Vファイルとして管理することが可能となる。 As a result, it is possible to manage the AV stream recorded on the disk device 1210 as an AV file that is an object.
ところで、 .この方法では、 記録する AVス トリームの長さが長くなる と、 記録終了時に、 記録開始時の情報をたどることによりシステム情報 を構成する必要が'あり、 システム情報の記録に時間がかかるという不具 合があった。  By the way, in this method, if the length of the AV stream to be recorded becomes long, it is necessary to compose the system information by following the information at the start of recording at the end of recording. There was such a problem.
これを解消するため、 AVストリームを記録再生中に、 定期的に、 シ ステム情報も HDDに記録するようにする技術がある。 これによれば、 AVストリーム記録終了時に、 その終了直前の時点におけるシステム情 報を参照して、 記録終了時のシステム情報を得ることができるため、 シ ステム情報の記録を短縮することができる。  To solve this problem, there is a technology that periodically records system information on the HDD during recording and playback of AV streams. According to this, when the recording of the AV stream ends, the system information at the time of the end of the recording can be obtained by referring to the system information at the time immediately before the end thereof, so that the recording of the system information can be shortened.
従来の技術による A Vストリーム記録再生装置は以上のようなもので あるが、 これには以下のような課題があった。 The AV stream recording / reproducing device according to the conventional technology is as described above. There were, however, the following issues.
はじめに、 AVストリームの RE C動作時には以下のような課題があ つた。 上述したような RE C動作において、 RECバッファ 1 242 a 内のデータがディスク装置に書き込まれる一方、 外部からのデータが R ECバッファ 1 242 bに書き込まれている状態では、 RECバッファ 1242 bがいつぱいになるまでに、 RE Cバッファ 1242 aのデー タは、 ディスク装置 1210へのデータ記録が完了している必要がある c このとき、 RE Cバッファ 1242 bが溢れる前に、 R ECバッファ 1242 a內のデータのディスク装置 1 210への記録が完了レていれ ば-、 AVス トリームの蓄積先を再び RE Cバッファ 1242 aに切り替 えて、 AVス トリームの記録動作を継続する事が可能である。 First, the following issues were encountered during AV stream REC operation. In the REC operation as described above, while the data in the REC buffer 1242a is written to the disk device, while the data from the outside is written to the REC buffer 1242b, the REC buffer 1242b is to reach a pie, data of RE C buffer 1242 a, when the c you need data recorded to the disk device 1210 is completed, before RE C buffer 1242 b overflows, R EC buffer 1242 a內If the recording of the data in the disk device 1210 is completed, the storage destination of the AV stream can be switched to the REC buffer 1242a again, and the recording operation of the AV stream can be continued.
ところが、 RE Cバッファ 1242 bが溢れるまでに、 R ECバッフ ァ 1242 a内のデータのディスク装置 1210への記録が終了せず、 AVス トリームが溢れてしまうと、 ディスク装置 1210に記録される AVストリームに欠落が生じることとなつてしまう。  However, if the data in the REC buffer 1242a is not completely recorded on the disk device 1210 by the time the REC buffer 1242b overflows, and the AV stream overflows, the AV recorded on the disk device 1210 will not be completed. This will result in missing streams.
次に、 AVス トリームの P LAY動作時には以下のような課題があつ た。 上述したような P LAY動作において、 PLAYバッファ 1 243 b内のデータが外部へ読み出されている一方、 ディスク装置 1 210か らのデータが P L AYバッファ.1243 aに書き込まれている状態では 、 P LAYバッファ 1243 bが空になる前に、 PLAYバッファ 1 2 43 aへの再蓄積が完了している必要がある。  Next, the following issues were encountered during AV stream PLAY operation. In the PLAY operation as described above, while the data in the PLAY buffer 1 243b is being read to the outside, while the data from the disk device 1210 is being written to the PLAY buffer .1243a, Before the PLAY buffer 1243b becomes empty, the re-accumulation in the PLAY buffer 1243a must be completed.
このとき、 P LAYバッファ 1 243 bが空になるまでに、 P,LAY バッファ 1243 aへのデータの再蓄積が完了しなければ、 P LAYバ ッファ 1243 bのデータ送出後、 P LAYバッファ 1243 aからの データ送出がすぐには行われないこととなり、 P LAY動作における、 AVス トリームの送出が途切れてしまうことになってしまう。 また、 システム情報の記録時には以下のような問題があった。 既に述 ベたように、 従来は、 システム情報をディスク装置に記録するためにはAt this time, if the re-accumulation of data in the P, LAY buffer 1243a is not completed before the PLAY buffer 1243b becomes empty, the PLAY buffer 1243a is output after the data of the PLAY buffer 1243b is transmitted. Will not be transmitted immediately, and the transmission of the AV stream in the PLAY operation will be interrupted. There were the following problems when recording system information. As mentioned earlier, conventionally, system information has to be recorded on a disk drive.
、 AVストリームの記録/再生動作が終了したあと、 システム情報をメ ディア上に記録するようにしていた。 After the recording / playback operation of the AV stream was completed, the system information was recorded on the media.
システム情報の記録途中に停電やコンセント抜け等で電源断が発生す ると、 システム情報は記録されないこととなってしまい、.ディスク装置 1 2 1 0内に AVストリームは途中までは記録されているにも関わらず 、 AVス トリーム記録再生装置 1 2 0 0は、 この A Vス トリームを管理 することができなくなってしまう。  If a power failure occurs during recording of system information due to a power failure, disconnection of outlet, etc., the system information will not be recorded, and the AV stream is partially recorded in the disk device 1 210 Despite this, the AV stream recording / reproducing device 1200 cannot manage the AV stream.
以上のような問題を回避する方法として、 AVストリームの記録再生 時の途切れを防ぐものとしては、 メモリ手段 1 2 4 0内の R E Cバッフ 了 1 2.4 2および P L AYバッファ 1 2 4 3の容量をそれぞれ多くとる というものがあるが、 メモリ手段 1 2 4 0を高コストにするものとなつ てしまっていた。  As a method of avoiding the above problems, to prevent interruption during recording and playback of the AV stream, the capacity of the REC buffer 12.42 and the PLAY buffer 1243 in the memory means 124 Each of them requires a lot, but it has made the memory means 1,240 expensive.
また、 図 1 3に示すように、 A Vストリームの記録中に、 所定のタイ ミングで定期的にシステム情報を記録するようにすると、 タイミング 1 3 0 0 a 'にて対応するシステム情報が存在し、 タイミング 1 3 0 0 bに て対応するシステム情報が存在し、 タイミング 1 3 0 0 cにて対応する システム情報が存在する。  Further, as shown in FIG. 13, if system information is recorded periodically at a predetermined timing during recording of an AV stream, the corresponding system information exists at timing 130a ′. There is system information corresponding to the timing 1300b and system information corresponding to the timing 1300c.
しかしながら、 タイミング 1 3 0 0 cから、 次のシステム情報記録が 行われる予定のタイミング 1 3 0 0 dまでの途中の任意の時刻 T 2に電 源断 1 3 4 0が発生すると、 実際にディスク装置 1 2 1 0に A Vストリ ーム記録されているデータは、 時刻 T 1〜T 2の範囲まで記録されたデ ータもあるにも関わらず、 システム情報は A Vファイル C 1 3 3 0まで のデータ対応しないようになっていないため、 実際に記録された AVス トリームと A Vファイル、 すなわちシステム情報との間には不整合が生 じ A Vス トリームの処理が不可能になってしまっていた。 発明の開示 However, if a power failure 1340 occurs at any time T2 between timing 1300c and timing 1300d at which the next system information recording is to be performed, the actual disk The system information is stored in the AV file C1330, even though the data recorded in the AV stream on the device 1210 is recorded in the range of time T1 to T2. Data is not supported, so there is inconsistency between the actually recorded AV stream and the AV file, that is, the system information. The AV stream processing has become impossible. Disclosure of the invention
本発明は、 上記の課題に鑑みてなされたものであり、 記録再生時に生 ずる A Vストリームの途切れによる、 記録または再生時のデータへの影 響を軽減することが可能な A Vストリーム記録再生装置等を得ることを 目的とする。 - また'、 本発明は、 動作中の動作中断によらず、 不整合を生じることな く A Vス トリームを記録することが可能な A Vス トリーム記録装置等を 得ることを目的とする。  The present invention has been made in view of the above problems, and has an AV stream recording / reproducing apparatus capable of reducing an influence on data during recording or reproduction due to interruption of an AV stream generated during recording / reproduction. The purpose is to obtain. Another object of the present invention is to obtain an AV stream recording device or the like that can record an AV stream without causing an inconsistency irrespective of an interruption during operation.
上記の目的を達成するために、 第 1の本発明 (請求項 1に対応) は、 A Vス トリームに関する複数種類の記録再生動作を行う記録再生手段と 少なくとも A Vス トリーム用の再生用バッファおよび記録用バッファ 'を有するメモリ手段と、  In order to achieve the above object, a first aspect of the present invention (corresponding to claim 1) comprises a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream, at least a reproduction buffer for the AV stream, and Memory means having a buffer for
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする要求生成手段と、  Request generation means for monitoring the memory means and requesting a predetermined type of operation to be executed by the recording / reproduction means;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記記録再生動作の種類に応じて定められた優先 順位である AVストリーム記録再生装置である。  An operation determining unit that selects a specific operation from a queue of the requests based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit. This is an AV stream recording / reproducing device having a priority determined according to the type of the AV stream.
また、 第 2の本発明 (請求項 2に対応) は、 前記優先順位は、 前記記 録用バッファへのデーダの記録速度、 または前記再生用バッファから再 生されるデータの再生速度に応じて変わる第 1の本発明の AVストリー ム記録再生装置である。 また、 第 3の本発明 (請求項 3に対応) は、 A Vス トリームに関する 複数種類の記録再生動作を行う記録再生手段と、 Also, in the second invention (corresponding to claim 2), the priority order is determined according to a data recording speed to the recording buffer or a reproduction speed of data reproduced from the reproduction buffer. FIG. 4 is an AV stream recording / reproducing apparatus according to a first aspect of the present invention. A third aspect of the present invention (corresponding to claim 3) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream,
少なくとも AVストリーム用の再生用バッファおよび記録用バッファ を有するメモリ手段と、  A memory means having at least a playback buffer and a recording buffer for an AV stream;
前記記録用バッファから読み出されるデータの容量、 または前記再生 用バッブァに書き込まれるデータの容量が、 所定の閾値に達するかどう か監視して、 前記記録再生手段が実行する所定の種類の動作要求をする 要求生成手段と、  By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproducing buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproducing means is monitored. Request generation means;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記メモリ手段内のデータの容量が、 前記要求生 成手段が監視する所定の閾値に達したかどうかである A Vストリーム記 録再生装置である.。 - また、 第 4の本発明 (請求項 4に対応) は、 前記所定の閾値は、 前記 記録用バッファへのデータの書き込み速度、 または前記再生用バッファ から再生されるデータの再生速度に応じて変わる第 3の本発明の A Vス トリーム記録再生装置である。  An operation determining unit that selects a specific operation from a queue of the request based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit. An AV stream recording / reproducing apparatus for determining whether or not the data capacity has reached a predetermined threshold value monitored by the request generation means. -Further, according to a fourth aspect of the present invention (corresponding to claim 4), the predetermined threshold value is determined according to a data writing speed to the recording buffer or a reproduction speed of data reproduced from the reproduction buffer. This is a third modified AV stream recording / reproducing apparatus of the present invention.
また、 第 5の本発明 (請求項 5に対応) は、 前記記録用バッファおよ ぴ Zまたは前記再生用バッファは複数あり、  In a fifth aspect of the present invention (corresponding to claim 5), there are a plurality of the recording buffers and a plurality of Z or the reproduction buffers,
前記記録用バッファからの読み出し動作および/または前記再生用バ ッファへの書き込み動作は、 前記記録用パッファまたは前記再生用パッ ファの数に応じて並列的に行われ、  The read operation from the recording buffer and / or the write operation to the reproduction buffer are performed in parallel according to the number of the recording buffer or the reproduction buffer,
前記所定の閾値は、 前記記録用バッファまたは前記再生用パッファの 数が増えるにつれて低くなる第 3の本発明の A Vストリーム記録再生装 置である。 '  The AV stream recording / reproducing apparatus according to a third aspect of the present invention, wherein the predetermined threshold value decreases as the number of the recording buffer or the reproduction buffer increases. '
また、 第 6の本発明 (請求項 6に対応) は、 A Vス トリームに関する 複数種類の記録再生動作を行う記録再生手段と、 A sixth aspect of the present invention (corresponding to claim 6) relates to an AV stream. Recording and reproducing means for performing a plurality of types of recording and reproducing operations;
少なくとも A Vストリーム用の再生用バッファおよび記録用バッファ を有するメモリ手段と、  Memory means having at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファから送出する A Vストリームの書き込み速度、 ま たは前記再生用バッファへのデータの再生速度が、 所定の閾値に達する かどうか監視して、 前記記録再生手段が実行する所定の種類の動作要求 をする要求生成手段と、  By monitoring whether the writing speed of the AV stream transmitted from the recording buffer or the reproduction speed of the data in the reproduction buffer reaches a predetermined threshold value, a predetermined type of recording and reproduction performed by the recording and reproduction means is performed. A request generating means for performing an operation request;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記書き込み速度または再生速度が、 前記要求生 成手段が監視する所定の閾値に達したかどうかである AVストリーム記 録再生装置である。  An operation determining unit that selects a specific operation from the request queue based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit, wherein the predetermined criterion is the writing speed or An AV stream recording / reproducing apparatus for determining whether or not a reproducing speed has reached a predetermined threshold value monitored by the request generating means.
また、 第 7の本発明 (請求項 7に対応) は、 前記複数種類の記録再生 操作は、 前記記録用バッファからの AVストリームの読み出し、 前記再 生用バッファへの A Vストリームの書き込み、 前記再生用バッファへの AVス トリームの特殊再生用の書き込みを、 少なくとも有する第 1、 第 3.または第 6のいずれかの本発明の AVス トリーム記録再生装置である c また、 第 8の本発明 (請求項 8に対応) は、 前記メモリ手段は、 前記 A Vス トリームに関するシステム情報の読み出しまたは書き込みを行う システム情報用バッファをさらに備え、 In a seventh aspect of the present invention (corresponding to claim 7), the plurality of types of recording / reproducing operations are: reading an AV stream from the recording buffer; writing an AV stream to the reproducing buffer; writing for special reproduction of the AV stream to the use buffer, first with at least a first 3 or the 6 c also is any AV stream recording and reproducing apparatus of the present invention, the present invention of the eighth ( The memory means further includes a system information buffer for reading or writing system information related to the AV stream,
前記複数種類の記録再生動作は、 前記システム情報用バッファに対す る前記システム情報の読み出しまたは書き込みを有する第 1, 第 3, 第 6または第 7のいずれかの本発明の A Vストリ^ム記録再生装置である c また、 第 9の本発明 (請求項 9に対応) は、 前記優先順位は、 前記複 数種類の記録再生動作間での、 相対的な重要性に基づき定められている 第 1または第 7の本発明の A Vス トリーム記録再生装置である。 また、 第 1 0の本発明 (請求項 1 0に対応) は、 前記優先順位は、 少 なくとも前記記録用バッファからの A Vストリームの読み出しが最優先 で行われるものである第 1または第 8の本発明の A Vストリーム記録再 生装置である。 The plurality of types of recording / reproducing operations are the AV stream recording / reproducing according to any one of the first, third, sixth, and seventh aspects of the present invention, including reading or writing of the system information in the system information buffer. a device c Further, the present invention of the ninth (corresponding to claim 9), the priority, the between multiple several recording operation, first or are determined based on the relative importance A seventh embodiment is an AV stream recording / reproducing apparatus of the present invention. In a tenth aspect of the present invention (corresponding to claim 10), the priority order is such that reading of an AV stream from at least the recording buffer is performed with the highest priority. This is an AV stream recording / playback apparatus of the present invention.
また、 第 1 1の本発明 (請求項 1 1に対応) は、 A Vス トリームを連 続的に記録するとともに、 所定のデータ量の前記 A Vストリームをォブ ジェタトとして処理するためのシステム情報を、 前記 AVストリームの 記録中に、 それまで記録された AVス トリームに対応するように、 非連 続的に記録する記録手段と、  Also, the eleventh invention (corresponding to claim 11) is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object. Recording means for non-continuously recording during the recording of the AV stream so as to correspond to the previously recorded AV stream;
前記記録手段に保持されている前 システム情報と、 前記記録手段に 記録された前記 A Vス トリームとの整合性をとるための整合手段とを備 え、  And a matching means for matching the previous system information held in the recording means with the AV stream recorded in the recording means,
前記整合手段は、 前記記録手段の記録動作が中絶した場合、 前記記録 手段に保持されている前記システム情報と、 前記システム情報の内容の 前記 AVストリームとを、 前記オブジェクトとして対応させる AVスト リーム記録装置である。 '  The matching means, when the recording operation of the recording means is aborted, an AV stream recording for associating the system information held in the recording means with the AV stream of the content of the system information as the object. Device. '
また、 第 1 2の本発明 (請求項 1 2に対応) は、 A Vス トリームを連 続的に記録するとともに、 所定のデータ量の前記 A Vストリームをォブ ジェタトとして処理するためのシステム情報を、 前記 A Vストリームの 記録中に、 それまで記録された A Vス トリームに対応するように、 非連 続的に記録する記録手段と、  Further, a twelfth aspect of the present invention (corresponding to claim 12) is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object. Recording means for non-continuously recording during the recording of the AV stream so as to correspond to the previously recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 AVス トリーム との整合性をとるための整合手段とを備え、  A matching unit for matching the system information with the AV stream recorded in the recording unit,
前記整合手段は、 前記記録手段の記録動作が中絶した場合、 それまで 前記記録手段に記録されていた前記 A Vストリームおょぴ前記システム 情報を参照して、 前記 AVス トリームの記録終端を検出して、 該記録終 端までの AVス トリームと、 前記システム情報との内容とを、 前記ォブ ジェタトとして対応させる A Vストリーム記録装置 A Vストリーム記録 装置である。 ' When the recording operation of the recording unit is aborted, the matching unit detects the end of recording of the AV stream by referring to the AV stream and the system information recorded in the recording unit until then. End of the record An AV stream recording apparatus for associating an AV stream up to an end with the contents of the system information as the object. '
また、 第 1 3の本発明 (請求項 1 3に対応) は、 前記 AVス トリーム は、 前記 A Vストリームの内容の連続性を保っための識別子を有し、 前記整合手段は、 前記識別子を参照して、 前記 A Vス トリームの内容 の連続性を判断する第 1 2の本発明の AVス トリーム記録装置である。 また、 第 1 4の本発明 (請求項 1 4に対応) は、 前記 AVス トリーム は、 前記 A Vスドリームの連続性を保っための時間情報を有し、  According to a thirteenth aspect of the present invention (corresponding to claim 13), the AV stream has an identifier for maintaining continuity of the contents of the AV stream, and the matching unit refers to the identifier. Then, there is provided an AV stream recording apparatus according to a twelfth aspect of the present invention for judging the continuity of the contents of the AV stream. Also, a fourteenth invention (corresponding to claim 14) is that the AV stream has time information for maintaining the continuity of the AV dream,
前記整合手段は、 前記時間情報を参照して、 前記 A Vス トリームの連 続性を判断する第 1 2の本発明の A Vス トリーム記録装置である。  The AV stream recording apparatus according to a twelfth aspect of the present invention, wherein the matching unit refers to the time information to determine continuity of the AV stream.
また、 第 1 5の本発明 (請求項 1 5に対応) は、 前記整合手段は、 前 記記録手段が前記中絶以後に前記中絶時のデータの記録を再開した場合 、 前記処理可能となった前記オブジェク トのシステム情報の内容を書き 換えて、 前記オブジェクトの内容を、 前記中絶後のデータを含むことが できるように更新する第 1 1または第 1 2の本発明の AVストリーム記 録装置である。  According to a fifteenth aspect of the present invention (corresponding to claim 15), the matching means can perform the processing when the recording means resumes recording of the abortion data after the abortion. An AV stream recording apparatus according to the eleventh or eleventh aspect of the present invention, wherein the content of the object information is rewritten to update the content of the object so as to include the data after the abortion. is there.
また、 第 1 6の本発明 (請求項 1 6に対応) は、 A Vス トリームに関 する複数種類の記録再生動作を行う記録再生工程と、  A sixteenth aspect of the present invention (corresponding to claim 16) includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream;
少なくとも AVストリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vストリームの一時記録を行うメモリ工程と、  A memory step of temporarily recording the AV stream using at least a playback buffer and a recording buffer for an AV stream;
前記メモリ工程を監視して、 前記記録再生工程が実行する所定の種類 の動作要求をする要求生成工程と、  A request generation step of monitoring the memory step and requesting a predetermined type of operation request executed by the recording / reproduction step;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ 、 前記記録再生手段が次に行う動作を决定する動作決定工程とを備え、 . 前記所定の基準は、 前記記録再生動作の種類に応じて定められた優先 順位である A Vス トリーム記録再生方法である。 An operation determining step of selecting a specific operation from the request queue based on a predetermined criterion, and determining an operation to be performed next by the recording / reproducing means. Priorities determined according to the type of operation This is the AV stream recording / reproducing method that is ranked.
また、 第 1 7の本発明 (請求項 1 7に対応) は、 A Vス トリームに関 する複数種類の記録再生動作を行う記録再生工程と、  A seventeenth aspect of the present invention (corresponding to claim 17) includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream;
少なくとも A Vストリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vストリームの一時記録を行うメモリ工程と、  A memory step of temporarily recording the AV stream using at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファから読み出されるデータの容量、 または前記再生 用パッファに書き込まれるデータの容量が、 所定の閾値に達するかどう か監視して、 前記'記録再生工程が実行する所定の種類の動作要求をする 要求生成工程と、  It is monitored whether the amount of data read from the recording buffer or the amount of data written to the reproduction buffer reaches a predetermined threshold value, and a predetermined type of operation request executed by the 'recording / reproduction process is performed. A request generation step;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生工程にて次に行う動作を決定する動作決定工程とを備え 前記所定の基準は、 前記メモリ工程におけるデータの容量が、 前記要 求生成工程が監視する所定の閾値に達したかどうかである A Vストリー ム記録再生方法である。 .  An operation determining step of selecting a specific operation from a queue of the requests based on a predetermined criterion, and determining an operation to be performed next in the recording / reproducing step, wherein the predetermined criterion is data in the memory step. An AV stream recording / reproducing method for determining whether or not the capacity of the AV stream has reached a predetermined threshold value monitored by the request generation step. .
また、 第 1 8の本発明 (請求項 1 8に対応) は、 A Vス トリームに関 する複数種類の記録再生動作を行う記録再生工程と、  Also, an eighteenth aspect of the present invention (corresponding to claim 18) includes a recording / reproducing step of performing a plurality of types of recording / reproducing operations relating to an AV stream,
少なくとも A Vス トリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vストリームの一時記録を行うメモリ工程と、  A memory step of temporarily recording the AV stream using at least an AV stream playback buffer and a recording buffer;
前記記録用バッファからのデータの読み出し速度、 または前記再生用 バッファへのデータの書き込み速度が、 所定の閾値に達するかどうか監 視して、 前記記録再生工程が実行する所定の種類の動作要求をする要求 生成工程と、  By monitoring whether a reading speed of data from the recording buffer or a writing speed of data to the reproduction buffer reaches a predetermined threshold value, a predetermined type of operation request executed by the recording / reproduction process is monitored. Request generation process,
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生工程にて次に行う動作を決定する動作決定工程とを備え 前記所定の基準は、 前記読み出し速度または書き込み速度が、 前記要 求生成手段が監視する所定の閾値に達したかどうかである A Vストリー ム記録再生方法である。 An operation determining step of selecting a specific operation based on a predetermined criterion from the request queue and determining an operation to be performed next in the recording / reproducing step. The predetermined criterion is an AV stream recording / reproducing method that determines whether the read speed or the write speed has reached a predetermined threshold value monitored by the request generation unit.
また、 第 1 9の本発明 (請求項 1 9に対応) は、 A Vス トリームを連 続的に記録するとともに、 所定のデータ量の前記 A Vストリームをォブ ジェクトとして処理するためのシステム情報を、 前記 A Vストリームの 記録中に、 それま'で記録された A Vス トリームに対応するように、 非連 続的に記録する記録工程と、  A nineteenth aspect of the present invention (corresponding to claim 19) is to continuously record an AV stream and to store system information for processing the AV stream having a predetermined data amount as an object. A recording step of recording non-continuously during recording of the AV stream so as to correspond to the previously recorded AV stream;
前記記録工程により保持されている前記システム情報と、 前記記録ェ 程にて記録された前記 A Vストリームとの整合性をとるための整合工程 とを備え、  A matching step for matching the system information held in the recording step with the AV stream recorded in the recording step,
前記整合工程は、 前記記録工程の記録動作が中絶した場合、 前記記録 工程により保持されている前記システム情報と、 前記システム情報の内 容の前記 AVストリームとを、 前記オブジェク トとして対応させる AV ス トリーム記録方法である。  When the recording operation of the recording step is aborted, the matching step is an AV stream that associates the system information held in the recording step with the AV stream of the system information as the object. This is a trim recording method.
また、 第 2 0の本発明 (請求項 2 0に対応) は、 A Vストリームを連 続的に記録するとともに、 所定のデータ量の前記 AVストリームをォブ ジェタトとして処理するためのシステム情報を、 前記 A Vストリームの 記録中に、 それまで記録された A Vストリームに対応するように、 非連 続的に記録する記録工程と、 · 前記システム情報と、 前記記録工程にて記録された前記 AVストリー ムとの整合性をとるための整合工程とを備え、 ,  A twenty-second aspect of the present invention (corresponding to claim 20) is that, while continuously recording an AV stream, system information for processing the AV stream having a predetermined data amount as an object is provided by: During the recording of the AV stream, a recording step of recording non-continuously so as to correspond to the AV stream recorded up to that time; the system information; and the AV stream recorded in the recording step And a matching process for ensuring consistency with
前記整合工程は、 前記記録工程の記録動作が中絶した場合、 それまで 前記記録工程により記録されていた前記 AVストリームおょぴ前記シス テム情報を参照して、 前記 A Vス トリームの記録終端を検出して、 該記 録終端までの AVストリームと、 前記システム情報との内容とを、 前記 オブジェク トとして対応させる A Vストリーム記録方法 A Vストリーム 記録方法である。 In the matching step, when the recording operation of the recording step is aborted, the end of recording of the AV stream is detected by referring to the AV stream and the system information recorded by the recording step until then. Then, the AV stream up to the recording end and the contents of the system information are AV stream recording method used as an object This is an AV stream recording method.
また、 第 2 1の本発明 (請求項 2 1に対応) は、 第 1の本発明の A V ス トリーム記録再生装置の、 A Vス トリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも A Vストリーム用の再生用バ ッファおよぴ記録用バッファを有するメモリ手段と、  Further, a twenty-first aspect of the present invention (corresponding to claim 21) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream in the AV stream recording / reproducing apparatus of the first aspect of the present invention, A memory means having at least a playback buffer for an AV stream and a recording buffer;
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする要求生成手段と、 前記要求のキューの中から、 所定の 基準に基づき、 特定の動作を選び、 前記記録再生手段が次に行う動作を 決定する動作決定手段との全部または一部としてコンピュータを機能さ せるためのプログラムである。  A request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording / reproduction unit; and selecting a specific operation from a queue of the request based on a predetermined criterion. This is a program for causing a computer to function as all or a part of the operation determining means for determining the operation to be performed next by the reproducing means.
また、 第 2 2の本発明 (請求項 2 2に対応) は、 第 3の本発明の A V ストリーム記録再生装置の、 AVストリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも AVストリーム用の再生用パ ッファおよぴ記録用パッファを有するメモリ手段と、 前記記録用バッフ ァから読み出されるデータの容量、 または前記再生用バッファに書き込 まれるデータの容量が、 所定の閾値に達するかどうか監視して、 前記記 録再生手段が実行する所定の種類の動作要求をする要求生成手段と、 前 記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び、 前 記記録再生手段が次に行う動作を決定する動作決定手段との全部または 一部としてコンピュータを機能させるためのプログラムである。  Also, a twenty-second invention (corresponding to claim 22) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream of the AV stream recording / reproducing apparatus of the third invention, A memory means having a stream playback buffer and a recording buffer, and a capacity of data read from the recording buffer or a capacity of data written in the playback buffer is set to a predetermined threshold value. A request generating means for making a predetermined type of operation request to be executed by the recording / reproducing means by monitoring whether or not the specified operation is reached; and selecting a specific operation from a queue of the request based on a predetermined criterion. This is a program for causing a computer to function as all or part of the operation determining means for determining the operation to be performed next by the recording / reproducing means.
また、 第 2 3の本発明 (請求項 2 3に対応) は、 第 6の本発明の A V ス トリーム記録再生装置の、 AVス トリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも A Vストリーム用の再生用バ ッファおよぴ記録用バッファを有するメモリ手段と、 前記記録用パッフ ァからのデータの読み出し速度、 または前記再生用パッファへのデータ の書き込み速度が、 所定の閾値に達するかどうか監視して、 前記記録再 生手段が実行する所定の種類の動作要求をする要求生成手段と、 前記要 求のキューの中から、 所定の基準に基づき、 特定の動作を選び、 前記記 録再生手段が次に.行う動作を決定する動作決定手段との全部または一部 としてコンピュータを機能させるためのプログラムである。 Further, a twenty-third aspect of the present invention (corresponding to claim 23) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations relating to the AV stream of the AV stream recording / reproducing apparatus of the sixth aspect of the present invention, A memory means having at least a playback buffer for an AV stream and a recording buffer; and a reading speed of data from the recording buffer, or data to the playback buffer. A request generating unit for performing a predetermined type of operation request executed by the recording / reproducing unit by monitoring whether a writing speed of the request reaches a predetermined threshold; and a predetermined reference from a queue of the request. A program for causing a computer to function as a whole or a part of an operation determining means for selecting a specific operation based on the selected operation and determining an operation to be performed next by the recording / reproducing means.
また、 第 2 4の本発明 (請求項 2 4に対応) は、 第 1 1の本発明の A Vストリーム記録装置の、 A Vス トリームを連続的に記録するとともに 、 所定のデータ量の前記 A Vストリ一ムをォブジェクトとして処理する ためのシステム情報を、 前記 A Vス トリームの記録中に、 それまで記録 された A Vストリームに対応するように、 非連続的に記録する記録手段 と、 前記記録手段に保持されている前記システム情報と、 前記記録竽段 に記録された前記 A Vス トリームとの整合性をとるための整合手段との 全部または一部としてコンピュータを機能させるためのプログラムであ る。  According to a twenty-fourth aspect of the present invention (corresponding to claim 24), the AV stream recording apparatus of the eleventh aspect of the present invention continuously records an AV stream, and stores the AV stream having a predetermined data amount. Recording means for non-continuously recording system information for processing an audio stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream; and A program for causing a computer to function as all or a part of matching system information and matching means for matching the AV stream recorded in the recording unit.
また、 第 2 5の本発明 (請求項 2 5に対応) は、'第 1 2の本発明の A Vス トリーム記録装置の、 AVス トリームを連続的に記録するとともに 、 所定のデータ量の前記 A Vストリ一ムをォブジェクトとして処理する ためのシステム情報を、 前記 AVス トリームの記録中に、 それまで記録 された A Vストリームに対応するように、 非連続的に記録する記録手段 と、  A twenty-fifth aspect of the present invention (corresponding to claim 25) is that the AV stream recording apparatus of the twelfth aspect of the present invention continuously records an AV stream and has a predetermined data amount. Recording means for non-continuously recording system information for processing an AV stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 A Vストリーム との整合性をとるための整合手段との全部または一部としてコンビユー タを機能させるためのプログラムである。  A program for causing a computer to function as all or a part of matching means for matching the system information with the AV stream recorded in the recording means.
また、 第 2 6の本発明 (請求項 2 6に対応) は、 第 1の本発明の A V ストリーム記録再.生装置の、 AVストリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも A Vストリーム用の再生用パ ッファおよび記録用パッファを有するメモリ手段と、 Further, a twenty-sixth aspect of the present invention (corresponding to claim 26) is a recording / reproducing means for the AV stream recording / reproducing apparatus of the first aspect of the present invention, which performs a plurality of types of recording / reproducing operations on an AV stream, At least the playback stream for the AV stream Memory means having a buffer and a recording buffer;
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする'要求生成手段と、 前記要求のキューの中から、 所定の 基準に基づき、 特定の動作を選ぴ、 前記記録再生手段が次に行う動作を 決定する動作決定手段との全部または一部としてコンピュータを機能さ せるためのプログラムを担持した媒体であって、 コンピュータにより処 理可能な媒体である。  A request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording and reproduction unit; and selecting a specific operation from a queue of the requests based on a predetermined criterion, A medium carrying a program for causing a computer to function as all or part of an operation determining means for determining an operation to be performed next by the recording / reproducing means, and is a medium that can be processed by the computer.
また、 第 2 7の本発明 (請求項 2 7に対応) は、 第 3の本発明の A V ストリーム記録再生装置の、 A Vストリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも A Vストリーム用の再生用パ ッファおよび記録用バッファを有するメモリ手段と、 前記記録用パッフ ァから読み出されるデータの容量、 または前記再生用バッファに書き込 まれるデータの容量が、 所定の閾値に達するかどうか監視して、 前記記 録再生手段が実行する所定の種類の動作要求をする要求 成手段と、 前 記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び、 前 記記録再生手段が次に行う動作を決定する動作決定手段との全部または 一部と.してコンピュータを機能させるためのプログラムを担持した媒体 であって、 コンピュータにより処理可能な媒体である。  A twenty-seventh aspect of the present invention (corresponding to claim 27) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on an AV stream of the AV stream recording / reproducing apparatus of the third aspect of the present invention. A memory unit having a stream playback buffer and a recording buffer, and whether a capacity of data read from the recording buffer or a capacity of data written in the playback buffer reaches a predetermined threshold value; A request generating means for making a predetermined type of operation request to be executed by the recording / reproducing means, and a specific operation being selected from a queue of the request based on a predetermined criterion, and A medium carrying a program for causing a computer to function as all or a part of an operation determining means for determining an operation to be performed next by a reproducing means; It is a medium that can be processed by.
また、 第 2 8の本発明 (請求項 2 8に対応) は、 第 6の本発明の A V ス トリーム記録再生装覃の、 AVス トリームに関する複数種類の記録再 生動作を行う記録再生手段と、 少なくとも A Vストリーム用の再生用パ ッファおよび記録用パッファを有するメモリ手段と、 前記記録用パッフ ァからのデータの読み出し速度、 または前記再生用パッファへのデータ の書き込み速度が'、 所定の閾値に達するかどうか監視して、 前記記録再 生手段が実行する所定の種類の動作要求をする要求生成手段と、 前記要 求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ、 前記記 録再生手段が次に.行う動作を決定する動作決定手段との全部または一部 としてコンピュータを機能させるためのプログラムを担持した媒体であ つて、 コンピュータにより処理可能な媒体である。 A twenty-eighth aspect of the present invention (corresponding to claim 28) is a recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream by the AV stream recording / reproducing apparatus of the sixth aspect of the present invention. A memory means having at least a playback buffer for AV stream and a recording buffer, and a reading speed of data from the recording buffer or a writing speed of data to the playback buffer is a predetermined threshold value. A request generating unit for performing a predetermined type of operation request to be executed by the recording / reproducing unit, and selecting a specific operation based on a predetermined criterion from the request queue; The above A medium carrying a program for causing a computer to function as all or part of the operation determining means for determining the operation to be performed next by the recording / reproducing means, and which can be processed by the computer.
また、 第 2 9の本発明 (請求項 2 9に対応) は、 第 1 1の本発明の A Vストリーム記録装置の、 A Vストリームを連続.的に記録するとともに 、 所定のデータ量の前記 A Vストリ一ムをォブジェク トとして処理する ためのシステム情報を、 前記 A Vス トリームの記録中に、 それまで記録 された A Vストリームに対応するように、 非連続的に記録する記録手段 と、 前記記録手段に保持されている前記システム情報と、 前記記録手段 に記録された前記 A Vストリームとの整合性をとるための整合手段との 全部または一部としてコンピュータを機能させるためのプログラムを担 持した媒体であって、 コンピュータにより処理可能な媒体である。  A twenty-ninth aspect of the present invention (corresponding to claim 29) is the AV stream recording apparatus according to the eleventh aspect of the present invention, wherein an AV stream is continuously recorded and a predetermined data amount of the AV stream is recorded. Recording means for non-continuously recording system information for processing an audio stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream; and A medium carrying a program for causing a computer to function as all or part of the held system information and the matching unit for matching the AV stream recorded in the recording unit. A medium that can be processed by a computer.
また、 第 3 0の本発明 (請求項 3 0に対応) は、 第 1 2の本発明の A Vス トリーム記録装置の、 A Vス トリームを連続的に記録するとともに 、 所定のデータ量の前記 A Vス トリ一ムをォブジェク トとして処理する ためのシステム情報を、 前記 AVス トリームの記録中に、 それまで記録 された A Vストリームに対応するように、 非連続的に記録する記録手段 と、  According to a thirty-fourth aspect of the present invention (corresponding to claim 30), the AV stream recording apparatus of the thirteenth aspect of the present invention continuously records an AV stream and stores the AV stream having a predetermined data amount. Recording means for non-continuously recording system information for processing a stream as an object during recording of the AV stream so as to correspond to the previously recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 A Vス トリーム との整合性をとるための整合手段との全部または一部としてコンビユー タを機能させるためのプログラムを担持した媒体であって、 コンビユー タにより処理可能な媒体である。 - 図面の簡単な説明  A medium carrying a program for causing a computer to function as all or part of the system information and matching means for matching the AV stream recorded on the recording means, comprising: Media that can be processed by the -Brief description of drawings
図 1は、 本発明の実施の形態 1による A Vストリーム記録再生装置の 構成図である。 図 2は、 本発明の実施の形態 2による AVストリーム記録再生装置の 構成図である。 FIG. 1 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 1 of the present invention. FIG. 2 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 2 of the present invention.
図 3は、 本発明の実施の形態 2による AVストリーム記録再生装置に おける、 メモリ手段 2 4 0内の R E Cバッファ 2 4 2および P L AYパ ッファ 2 4 3の状態を説明するための図である。  FIG. 3 is a diagram for explaining the state of the REC buffer 242 and the PLAY buffer 243 in the memory means 240 in the AV stream recording / reproducing apparatus according to the second embodiment of the present invention. .
図 4は、 本発明の実施の形態 2による AVストリーム記録再生装置の 動作を説明するためのフローチヤ一ト  FIG. 4 is a flowchart for explaining the operation of the AV stream recording / reproducing apparatus according to Embodiment 2 of the present invention.
図 5は、 本発明の実施の形態 3による AVストリーム記録再生装置の 構成図である。  FIG. 5 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 3 of the present invention.
図 6は、 本発明の実施の形態 4による AVストリーム記録再生装置の 構成図である。  FIG. 6 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 4 of the present invention.
図 7は、 本発明の実施の形態 4による AVストリーム記録再生装置に おける、 メモリ手段 2 4 0内の R E Cバッファ 6 4 1, 6 4 2および P L A Yバッファ 6 4 3等の状態を説明するための図である。  FIG. 7 is a diagram for explaining the states of the REC buffers 641, 642, the PLAY buffer 643, and the like in the memory means 240 in the AV stream recording / reproducing apparatus according to the fourth embodiment of the present invention. FIG.
図 8は、 本発明の実施の形態 4によ ¾ AVストリーム記録再生装置の 動作を説明するためのフローチヤ一トである。  FIG. 8 is a flowchart for explaining the operation of the AV stream recording / playback apparatus according to Embodiment 4 of the present invention.
図 9は、 本発明の実施の形態 9による AVストリーム記録再生装置の 構成図である。  FIG. 9 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 9 of the present invention.
図 1 0は、 本発明の実施の形態 9による A Vストリーム記録再生装置 の動作を説明するためのフローチャートである。  FIG. 10 is a flowchart for explaining the operation of the AV stream recording / reproducing apparatus according to Embodiment 9 of the present invention.
図 1 1は、 本発.明の実施の形態 9による A Vストリーム記録再生装置 において処理される A Vストリームの構成を説明するための図である。 図 1 2は、 従来の技術による A Vストリーム記録再生装置の構成図で ある。  FIG. 11 is a diagram for explaining a configuration of an AV stream processed in the AV stream recording and reproducing apparatus according to the ninth embodiment of the present invention. FIG. 12 is a configuration diagram of an AV stream recording / reproducing apparatus according to a conventional technique.
図 1 3は、 A Vストリームおよびシステム情報の記録中における電源 断の状態を説明するための図である。 図 14は、 本発明の実施の形態 5による A Vストリーム記録再生装置 の動作を説明するための図である。 符号の説明 FIG. 13 is a diagram for explaining a power-off state during recording of an AV stream and system information. FIG. 14 is a diagram for explaining the operation of the AV stream recording / playback device according to the fifth embodiment of the present invention. Explanation of reference numerals
1 00、 200, 500, 600 A Vス トリーム記録再生装置 100, 200, 500, 600 A V stream recording / reproducing device
1 10、 910 ディスク装置 1 10, 910 disk unit
1 20、 920 HDDコントローラ  1 20, 920 HDD controller
1 30、 210、 940 AV記録再生用 HDDコントローラ  1 30, 210, 940 HDD controller for AV recording and playback
140、 240、 640、 950 メモリ手段  140, 240, 640, 950 memory means
141、 951 システム情報バッファ  141, 951 System information buffer
142、 242、 641、 642、 952 RECバッファ  142, 242, 641, 642, 952 REC buffer
143、 243、 643、 953 PLAYバッファ ' 1 5.0、 230 スケジューラ付き QUE  143, 243, 643, 953 PLAY buffer '1 5.0, 230 QUE with scheduler
220 アドレス監視手段  220 Address monitoring means
5 10 タイマ  5 10 Timer
930 QUE  930 QUE
960 システム情報一 A Vファイル整合チェックコントローラ 発明を実施するための最良の形態 ;  960 System information-AV file consistency check controller Best mode for carrying out the invention;
以下、 本発明の'実施の形態を、 図面を参照して説明する。  Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(実施の形態 1 )  (Embodiment 1)
図 1は、 本発明の実施の形態 1による AVストリーム記録再生装置の 構成図である。 図に示すように、 A Vス トリーム記録再生装置 100に おいて、 ディスク装置 1 10は、 例えば HDDで実現される、 AVスト リームおょぴ該 AVストリームに関するシステム情報を蓄積する手段、 HDDコントローラ 120は、 ディスク装置 1 10を駆動させるための 手段、 AV記録再生用 HDDコントローラ 130は、 ディスク装置 1 1 0に対し AVストリームやシステム情報を読み書きするための手段、 メ モリ手段 140は外部からディスク装置に書き込まれる AVス トリーム 、 ディスク装置 1 10から外部へ読み出される A Vストリーム、 および システム情報を一時的に蓄積する手段、 スケジューラ付き QUE 1 50 はメモリ.手段から発行される書き込み要求または読み出し要求を受けて 蓄積した後、 所定の優先順位に基づき、 HDDコントローラ 120に該 要求を出力する手段である。 · FIG. 1 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 1 of the present invention. As shown in the figure, in the AV stream recording / reproducing apparatus 100, the disk device 110 includes, for example, an HDD stream, means for storing system information related to the AV stream, The HDD controller 120 is a unit for driving the disk device 110, the AV recording / reproducing HDD controller 130 is a unit for reading / writing the AV stream and system information from / to the disk device 110, and the memory unit 140 is an external device. Means for temporarily storing AV streams written to the disk drive from the disk drive, AV streams read out from the disk drive 110 to the outside, and system information; QUE 150 with scheduler is a memory; write request or read issued from the means After receiving and accumulating the requests, it is means for outputting the requests to the HDD controller 120 based on a predetermined priority. ·
また、 メモリ手段 140において、 システム情報バッファ 141はシ ステム情報を一時記録するための手段、 RECバッファ 142は外部か らディスク装置 1 10に書き込まれる AVストリームを一時記録するた めの手段、 P LAYバッファ 143はディスク装置 1 10から外部へ読 み出される A Vストリームを一時記録するための手段である。  Further, in the memory means 140, the system information buffer 141 is a means for temporarily recording system information, the REC buffer 142 is a means for temporarily recording an AV stream to be externally written to the disk device 110, and a PLAY The buffer 143 is a means for temporarily recording the AV stream read from the disk device 110 to the outside.
. さらに、 RE Cパッファ 142および P LAYバッファ 143はそれ ぞれ内部で RE Cバッファ 142 a、 bおよび P LAYバッファ 143 a、 bの二つに分けられた構成を有している。 Further, the REC buffer 142 and the PLAY buffer 143 each have a structure internally divided into two, a REC buffer 142a, b and a PLAY buffer 143a, b.
以上の各手段において、 スケジューラ付き QUE 150以外は従来例 と同一の構成であるが、 スケジューラ付き QUE 1' 50は、 読み出し Z 書き込み要求を受けて一旦保持すると、 所定の優先順位に応じてその順 位に応じた命令を HDDコントローラ 1 20に発行する点が異なる。 以上のような構成を有する本発明の実施の形態 1における AVストリ ーム記録再生装置の動作について、 以下に説明するとともに、 これによ り、 本発明の A Vストリーム記録再生方法の一実施の形態について説明 を行う。  In each of the above means, the configuration is the same as that of the conventional example except for the QUE 150 with the scheduler, but the QUE 1 '50 with the scheduler receives the read Z write request and once holds it, in accordance with the predetermined priority order. The difference is that an instruction corresponding to the order is issued to the HDD controller 120. The operation of the AV stream recording / reproducing apparatus according to the first embodiment of the present invention having the above-described configuration will be described below, whereby the embodiment of the AV stream recording / reproducing method of the present invention will be described. Is explained.
外部から該 A Vス トリーム記録再生装置 1 00へ記録 (REC) 動作 を行う場合は、 従来例と同様に、 外部より入力ざれた AVス トリームは 、 メモリ手段 140の R ECバッファ 142 aに蓄積され、 RECパッ ファ 142 aの容量がいっぱいになると、 外部からの AVストリームの 蓄積先は RECパップァ 142 bに切り替わり、 A V記録再生用 HDD コントローラ 130は、 R ECバッファ 142 aがー杯になったことを 検出すると、 HDDコントローラ 1 20に RE Cバッファ 142 aのデ イスク装置 1 10への記録を要求する。 Recording (REC) operation from the outside to the AV stream recording / reproducing device 100 In this case, the AV stream input from the outside is accumulated in the REC buffer 142a of the memory means 140, and when the capacity of the REC buffer 142a becomes full, the external AV The storage destination of the stream is switched to the REC buffer 142b, and when the HDD controller 130 for AV recording and reproduction detects that the REC buffer 142a is full, the HDD controller 120 stores the disk in the REC buffer 142a. Request recording on device 110.
: HDDコントローラ 120に出された要求は、 一旦スケジューラ付き QUE 150に蓄積される。 .  The request issued to the HDD controller 120 is temporarily stored in the QUE 150 with scheduler. .
このとき、 スケジューラ付き QUE 1 50は、 第 1優先要求として ( a) RECバッファ 142からの AVス トリームの読み出し要求、 第 2 優先要求として (b) P LAYバッファ 143への AVストリームの書 き込み要求、 第 3優先要求として (c) システム情報バッファ 141に 対するシステム情報の読み出し/書き込み要求、 の順に設定された、 命 令実行の優先順位スケジューラを有しており、 AV記録再生用 HDDコ ントローラ 1 30から発行された、 メモリ手段 140内の各バッファに 対する書き込み要.求 Z読み出し要求を受けると、 該要求の到着順序に関 わらず、 この第 1〜第 3優先要求の優先順位に基づき、 HDDコント口 ーラ 120に対して動作命令を出し、 ディスク装置 1 10を駆動させる c したがって、 スケジューラ付き QUE 1 50は、 蓄積された動作要求 の中から、 常に第 1優先要求である (a) RE Cバッファ 142からの AVス トリームの読み出し要求を、 HDDコントローラ 120に対し命 令する。 HDDコントローラ 120は、 該命令を受けると、 ディスク装 置 1 10を駆動させ、 AV記録再生用 HDDコントローラ 130は、 R ECバッファ 142から読み出された AVストリームをディスク装置 1 10に記録する。 このとき、 上記の動作の途中において、 AV記録再生用 HDDコント ローラ 130は、 システム情報を記録するために、 システム情報バッフ ァ 141からのデータの読み出し要求をスケジューラ付き QUE 1 50 に発行する場合があるが、 スケジューラ付き QUE 1 50において、 こ のシステム情報バッファ 141からのデータの読み出し要求は第 3優先 要求として設定されている。 At this time, the QUE 150 with the scheduler writes (a) a read request for the AV stream from the REC buffer 142 as the first priority request, and (b) a write of the AV stream to the play buffer 143 as the second priority request. An instruction execution priority scheduler, which is set in the order of (c) System information read / write request to the system information buffer 141, as a third priority request, and an HDD controller for AV recording and playback 1 A write request for each buffer in the memory means 140 issued from 30. Upon receiving a Z read request, regardless of the order of arrival of the request, based on the priority order of the first to third priority requests. issues an operation instruction to the HDD controller port over la 120, c to drive the disk device 1 10 Thus, with the scheduler QUE 1 50, from the accumulated operation request always The first priority request (a) issues an AV stream read request from the REC buffer 142 to the HDD controller 120. Upon receiving the command, the HDD controller 120 drives the disk device 110, and the AV recording / reproducing HDD controller 130 records the AV stream read from the REC buffer 142 on the disk device 110. At this time, during the above operation, the AV recording / reproducing HDD controller 130 may issue a data read request from the system information buffer 141 to the QUE 150 with scheduler in order to record system information. However, in the QUE 150 with the scheduler, a request to read data from the system information buffer 141 is set as a third priority request.
したがって、 スケジューラ付き QUE 150に上記 (a) RECバッ ファ 142からの AVス トリームの読み出し要求が蓄積されている限り 、 システム情報バッファ 141からの読み出し要求が、 HDDコント口 ーラ 120に送られることはなく、 ディスク装置 110は、 常に RE C ノ ッファ 142からのデータ読み出し動作を優先して行う。  Therefore, as long as (a) the read request for the AV stream from the REC buffer 142 is stored in the QUE 150 with the scheduler, the read request from the system information buffer 141 must be sent to the HDD controller 120. However, the disk device 110 always gives priority to the data read operation from the REC buffer 142.
次に、 外部に対し該 AVス トリーム記録再生装置 1 200から再生 ( PLAY) 動作を行う場合は、 以下のようになる。 AV記録再生用 HD Dコントローラ 1 30は、 HDDコントローラ 1 20に対し、 読み出し 要求を出す。 読み出し要求は、 スケジューラ付き QUE 1 50にー且蓄 積される。 '  Next, when a playback (PLAY) operation is performed externally from the AV stream recording / reproducing apparatus 1200, the following is performed. The HDD controller for AV recording and reproduction 130 issues a read request to the HDD controller 120. The read request is stored in QUE 150 with scheduler. '
スケジューラ付き QUE 1 50は、 命令実行の優先順位スケジューラ が設定されており、 REC動作時と同様、 第 1優先要求〜第 3優先要求 の優先順位に基づき、 HDDコントローラ 1 20に対して動作命令を出 し、 ディスク装置 1 10¾r駆動させる。  The QUE 150 with scheduler has an instruction execution priority scheduler set, and, like the REC operation, sends an operation instruction to the HDD controller 120 based on the priority order of the first to third priority requests. And drive the disk unit 1 10¾r.
したがって、 現在 RE C動作は行われていないため、 スケジューラ付 き QUE 150は、 蓄積された動作要求の中から、 常に第 2優先要求で ある (b) PLAYバッファ 143への AVス トリームの書き込み要求 を、 HDDコントローラ 1 20に対し命令する。 HDDコントローラ 1 20は、 該命令を受けると、 ディスク装置 1 10を駆動させ、 AV記録 再生用 HDDコントローラ 1 30は、 P LAYバッファ 143に対し、 AVストリームをディスク装置 1 1 0から読み出す。 Therefore, since the REC operation is not currently performed, the QUE 150 with the scheduler is always the second priority request from the accumulated operation requests. (B) A request to write the AV stream to the PLAY buffer 143 To the HDD controller 120. Upon receiving the command, the HDD controller 120 drives the disk device 110, and the HDD controller for AV recording / reproduction 130 The AV stream is read from the disk device 110.
このとき、 上記の動作の途中において、 AV記録再生用 HDDコント ローラ 1 30は、 システム情報を記録するために、 システム情報バ,ッフ ァ 141からのデータの読み出し要求をスケジューラ付き QUE 1 50 に発行する場合があるが、 スケジューラ付き QUE 150において、 こ のシステム情報バッファ 141からのデータの読み出し要求は第 3優先 要求として設定されている。  At this time, during the above operation, the AV recording / reproducing HDD controller 130 sends a data read request from the system information buffer 141 to the QUE 150 with scheduler to record system information. In some cases, a request to read data from the system information buffer 141 is set as the third priority request in the QUE 150 with the scheduler.
したがって、 スケジューラ付き QUE 150に上記 (b) PL AYパ ッファ 143への A Vス トリームの書き込み要求が蓄積されている限り 、 システム情報バッファ 141からの読み出し要求が、 HDDコント口 ーラ 1 20に送られることはなく、 ディスク装置 1 10は、 常に PL A Yバッファ 143に対する AVストリームの書き込み動作を優先して行 5 o  Therefore, a read request from the system information buffer 141 is sent to the HDD controller 120 as long as the (b) write request for the AV stream to the PLAY buffer 143 is accumulated in the QUE 150 with the scheduler. The disk device 110 always gives priority to the operation of writing the AV stream to the PL AY buffer 143, and
次に、 A Vス トリーム記録再生装置が、 タイムシフト再生など、 同時 記録再生動作を行う場合は、 AV記録再生用 HDDコントローラ 1 30 は、 スケジューラ付き QUEに対し、 少なくとも (a) RECパップァ 142からの AVストリームの読み出し要求おょぴ (b ) P LAYパッ ファ 143への AVス トリームの書き达み要求の両方が発行されている ことになる。  Next, when the AV stream recording / reproducing apparatus performs a simultaneous recording / reproducing operation such as time-shift reproducing, the AV recording / reproducing HDD controller 130 sends at least (a) a signal from the REC publisher 142 to the QUE with the scheduler. AV stream read request (b) Both write requests for the AV stream to the PLAY buffer 143 have been issued.
このとき、 スケジューラ付き QUE 1 50は、 設定された優先順位に 基づき、 上記の第 1優先順位である (a) RE Cバッファ 142からの AVストリームの読み出し要求を、 上記の第 2優先順位である (b) P LAYバッファ 143への A Vス トリームの書き込み要求に対して優先 して HDDコントローラ 1 20に命令する。  At this time, the QUE 150 with the scheduler sends the AV stream read request from the REC buffer 142, which is the first priority based on the set priority, to the second priority. (B) Gives an instruction to the HDD controller 120 in preference to a request to write the AV stream to the PLAY buffer 143.
したがって、 スケジューラ付き QUE 150に上記 (a) RECパッ ファ 142からの AVストリームの読み出し要求が蓄積されている限り 、 (b) P LAYバッファ 143への AVス トリームの書き込み要求が 、 HDDコントローラ 1 20に送られることはなく、 ディスク装置 1 1 0は、 常に RECバッファ 142からのデータ読み出し動作を優先して 行う。 Therefore, as long as the above (a) the read request of the AV stream from the REC buffer 142 is stored in the QUE 150 with the scheduler. (B) The request to write the AV stream to the PLAY buffer 143 is not sent to the HDD controller 120, and the disk device 110 always gives priority to the data read operation from the REC buffer 142. .
このとき、 上記の同時記録再生動作の途中において、 AV記録再生用 HDDコントローラ 130は、 システム情報を記録するために、 システ ム情報バッファ 141からのデータの読み出し要求をスケジューラ付き QUE 1 50に発行する場合があるが、 スケジューラ付き QUE 1 50 において、 このシステム情報バッファ 141からのデータの読み出し要 求は第 3優先要求として設定されている。  At this time, during the simultaneous recording / reproducing operation, the AV recording / reproducing HDD controller 130 issues a data read request from the system information buffer 141 to the QUE 150 with scheduler to record the system information. In some cases, in QUE 150 with a scheduler, the request to read data from this system information buffer 141 is set as a third priority request.
したがって、 スケジューラ付き QUE 150に上記 (a) RECパッ ファ 142からの AVス トリームの読み出し要求および (b) PLAY バッファ 143への A Vス トリームの書き込み要求が蓄積されている限 り、 システム情報バッファ 141からの読み出し要求が、 HDDコント ローラ 1 20に送られることはなく、 ディスク装置 1 10は、 第 1に、 RECバッファ 142からのデータ読み出し動作、 次いで P LAYパッ ファ 143への A Vス トリームの書き込み動作を優先して行う。  Therefore, as long as (a) the read request of the AV stream from the REC buffer 142 and (b) the write request of the AV stream to the PLAY buffer 143 are accumulated in the QUE 150 with the scheduler, the system information buffer 141 Is not sent to the HDD controller 120, and the disk device 110 first reads data from the REC buffer 142, and then writes the AV stream to the PLAY buffer 143. Perform the operation with priority.
なお、 上記の同時記録再生の動作時に、 再生動作として、 倍速再生や ストップモーションなどの特殊再生を行わせる場合は、 AV記録再生用 HDDコントローラ 130は、 スケジューラ付き QUE 150に対し、 P LAYバッファ 143への AVス トリームの特殊再生用の書き込み要 求が発行される。  When performing special playback such as double-speed playback or stop motion as the playback operation during the simultaneous recording / playback operation, the HDD controller for AV recording / playback 130 sends a PLAY buffer 143 to the QUE 150 with scheduler. A write request for special playback of the AV stream to the is issued.
このとき、 スケジューラ付き QUE 1 50においては、 優先順位スケ ジユーラとして、 上記の第 1〜第 3の優先要求に加えて、 さらに第 4の 優先要求として、 (d) P LAYバッファ 143への AVス トリームの 特殊再生用の書き込み要求を設定する。 これにより、 上記 REC動作、 PLAY動作、 同時記録再生動作の場合と同様に、 スケジューラ付き Q UE 1 50は、 AV記録再生用 HDDコントローラ 1 30から発行され た、 メモリ手段 140内の各バッファに対する書き込み要求 /読み出し 要求を受けると、 該要求の到着順序に関わらず、 この第 1〜第 4·優先要 求の優先順位に基づき、 HDDコントローラ 1 20に対して動作命令を 出し、 ディスク装置 1 10を駆動させる。 At this time, in the QUE 150 with the scheduler, as the priority scheduler, in addition to the above-described first to third priority requests, and as a fourth priority request, (d) the AV queue to the PLAY buffer 143 Set a write request for trick trick play. As a result, the above REC operation, As in the case of the PLAY operation and the simultaneous recording / reproducing operation, the QUE 150 with the scheduler receives a write request / read request to each buffer in the memory means 140 issued from the AV recording / reproducing HDD controller 130. Regardless of the order of arrival of the requests, an operation command is issued to the HDD controller 120 based on the priority order of the first to fourth priority requests, and the disk device 110 is driven.
このとき、 (d) P LAYバッファ 143への AVス トリ.ームの特殊 再生用の書き込み要求は、 第 4優先要求として、 システム情報バッファ 141に対する書き込み Z読み込み要求よりも低い順位に設定されてい るため、 システム情報バッファ 141からのディスク装置 1 10への書 き込みが優先される際に、 特殊再生される AVストリームが途切れる恐 れカ sある。 - しかしながら、 もともと特殊再生されるデータは早送り、 コマ落とし 等の形で表示されるため、 実際の視聴時の影響は少なく、 システム情報 のディスク装置 1 10への記録を優先しても構わない。 At this time, the (d) write request for special playback of the AV stream to the PLAY buffer 143 is set as a fourth priority request at a lower order than the write Z read request to the system information buffer 141. because, when writing to the disk device 1 10 from the system information buffer 141 is prioritized, there fear that mosquitoes s AV stream is interrupted to be special playback. -However, since the data to be specially reproduced is originally displayed in the form of fast-forwarding, frame skipping, etc., there is little effect on actual viewing, and recording of system information on the disk device 110 may be given priority.
また、 上記の動作に加えて、 該 AVストリーム記録再生装置が、 外部 から AVストリームの記録または再生を行っている最中に、 図示しない 外部コントローラ等の制御により、 A V記録再生用 HDDコントローラ 1 30に対し、 ディスク装置 1 10に記録されているデータの消去命令 が出された場合、 この消去命令に対応した処理を行うための第 5優先要 求を、 上述した第 1優先要求と第 2優先要求との間に設定してもよい。  In addition to the above operation, while the AV stream recording / reproducing apparatus is recording or reproducing an AV stream from outside, the HDD controller for AV recording / reproduction is controlled by an external controller (not shown). On the other hand, when a command for erasing the data recorded in the disk device 110 is issued, the fifth priority request for performing the processing corresponding to the deletion command is made by the first priority request and the second priority request described above. It may be set between requests.
この第 5優先要求は、 上記データ消去命令に応じて実行されるデイス  This fifth priority request is issued to the disk executed in response to the data erase command.
0のデータの消去に伴うディスク装置 1 10 情 報の更新のための、 システム情報バッファ 141に対する読み出し/書 き込み要求である。 .  This is a read / write request to the system information buffer 141 for updating the information of the disk device 110 accompanying the erasure of the data of 0. .
なお、 上記の例では、 ディスク装置 1'10に記録されているデータの 消去命令であるとして説明を行ったが、 この命令に限らず、 ファイルシ ステムの書き換えを必要とする命令でも同様である。 In the above example, the data recorded on the disk device 1'10 Although the description has been made assuming that the instruction is an erase instruction, the present invention is not limited to this instruction, and the same applies to an instruction requiring rewriting of the file system.
このように、 本実施の形態によれば、 発行された動作要求を、 定めら れた優先順位に基づき、 HDDコントローラへ命令するスケジューラ付 き QUE 1 5 0を備えたことにより、 動作の種類の重要度に応じて、 優 先的にディスク装置に対しデータの読み出し/書き込みを行うようにし たことにより、 AVス トリームの記録、 再生時のデータの途切れを極力 抑えて、 また、 途切れが起こった場合でも、 再生または記録されるデー タの品質を保持することが可能となる。  As described above, according to the present embodiment, by providing the QUE 150 with a scheduler that instructs the HDD controller based on the determined priority according to the issued operation request, the type of operation is By prioritizing data read / write from / to the disk drive according to the degree of importance, interruption of data during recording and playback of AV stream is minimized, and interruption occurs. Even in this case, it is possible to maintain the quality of the data to be reproduced or recorded.
(実施の形態 2)  (Embodiment 2)
図 2は、 本発明の実施の形態 2による AVストリーム記録再生装置の 構成囱である。 図に示すように、 AVス トリーム記録再生装置 200に おいて、 図 1と同一または相当部分には、 同一符号を付し、 説明を省略 する。 また、 AV記録再生用 HDDコントローラ 2 1 0は、 アドレス監 視手段 220の監視に基づき、 ディスク装置 1 1 0に対し AVストリー ムゃシステム情報を読み書きするための手段、 スケジューラ付き QUE 23 0はメモリ手段 240から発行される書き込み要求または読み出し 要求を受けて蓄積した後、 所定の優先順位に基づき、 HDDコントロー ラ 1 20に該要求を出力する手段である。  FIG. 2 shows a configuration (2) of an AV stream recording / playback apparatus according to Embodiment 2 of the present invention. As shown in the figure, in the AV stream recording / reproducing apparatus 200, the same or corresponding parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted. Also, the HDD controller 210 for AV recording / reproduction is a means for reading and writing AV stream / system information to / from the disk device 110 based on the monitoring of the address monitoring means 220, and the QUE 230 with a scheduler is a memory. After receiving and storing a write request or a read request issued from the means 240, the request is output to the HDD controller 120 based on a predetermined priority.
また、 メモリ手段 240において、 RECバッファ 242および P L AYバッファ 243について、 RE Cバッファ 242 aにはデータ容量 のしきい値 300 a、 RECバッファ 242 bにはしきい値 3 00 b、 P LAYバッファ 243 aにはデータ容量のしきい値 300 c、 P L A Yバッファ 243 bにはデータ容量のしきい値 300 dがそれぞれ設定 されている。  In the memory means 240, regarding the REC buffer 242 and the PLAY buffer 243, the data buffer has a threshold of 300a for the REC buffer 242a, the threshold 300b for the REC buffer 242b, and the PLAY buffer 243. The data capacity threshold 300c is set for a, and the data capacity threshold 300d is set for the PLAY buffer 243b.
次に、 図 3 (a) (b) は、 メモリ手段 240内の RECバッファ 2 42および P LAYバッファ 243の状態を説明するための図 ある。 図に示すよ'うに、 A Vス トリーム蓄積ポインタ 3 10は、 アドレス監視 手段 220が RECバッファ 242のデータ容量を監視するための手段 、 A Vス トリーム送出ポインタ 320は、 アドレス監視手段 220が P LAYバッファ 243のデータ容量を監視するための手段である。 Next, Fig. 3 (a) and (b) show the REC buffer 2 in the memory means 240. FIG. 41 is a diagram for explaining states of the P buffer 42 and the PLAY buffer 243. As shown in the figure, the AV stream storage pointer 310 is a means for the address monitoring means 220 to monitor the data capacity of the REC buffer 242, and the AV stream transmission pointer 320 is a This is a means for monitoring the data capacity of 243.
以上のような構成を有する本実施の形態による AVス トリーム記録再 生装置の動作について、 以下に説明を行うとともに、 これにより、 本発 明の AVス トリーム記録再生方法の一実施の形態について説明を行う。 まず、 AVス トリームの RE C動作について説明する。  The operation of the AV stream recording / reproducing apparatus according to the present embodiment having the above-described configuration will be described below, and thereby, an embodiment of the AV stream recording / reproducing method of the present invention will be described. I do. First, the REC operation of the AV stream will be described.
REC動作が開始されると、 外部から入力された記録 AVストリーム は、 RE Cバッファ 242 aの先頭から順に蓄積され、 それに従って、 AVス トリーム蓄積ポインタ 310は RECバッファ 242 bのほうへ 移動する。  When the REC operation is started, the recording AV stream input from the outside is accumulated sequentially from the head of the REC buffer 242a, and the AV stream accumulation pointer 310 moves to the REC buffer 242b accordingly.
RECバッファ 242 aに外部からの AVス トリームの蓄積が終了す ると、 外部からの AVス トリームの記録動作は、 1 £( バッファ 242 bに蓄積先が変更され継続される。 また、 AVス トリーム蓄積ポインタ 310も RE Cバッファ 242 bの末尾へ移動する (図 3中の蓄積方向 a) 。  When the storage of the external AV stream in the REC buffer 242a is completed, the external AV stream recording operation is continued for 1 £ (the storage destination is changed to the buffer 242b. The trim accumulation pointer 310 also moves to the end of the REC buffer 242b (accumulation direction a in FIG. 3).
ここで図 3 (a) に示すように、 R ECバッファ 242 bは、 すでに AVストリームの蓄積が終了し、 ディスク装置 1 ϊ 0へデータ保存する 必要のある状態であり、 一方、 RE Cバッファ 242 bは、 現時点で外 部から A Vストリームが蓄積されている途中の状態である。  Here, as shown in FIG. 3 (a), the REC buffer 242b is in a state where the accumulation of the AV stream has already been completed and the data needs to be stored in the disk device 1ϊ0. b is a state where the AV stream is currently being accumulated from outside.
次に、 AV記録再生用 HDDコントローラ 210は、 スケジューラ付 き QUE 230にディスク装置に対する動作の要求を発行すさが、 本実 施の形態においては、 スケジューラ付き QUE 230は、 HDDコント ローラ 1 20に、 ディスク装置に対する動作要求を渡す際、 そのときに QUE'に蓄積されているアクセス動作要求について、 その要求の緊急性 を判断し、 緊急性のある要求があれば、 その要求を優先して、 HDDコ ントローラ 120に渡すものとする。 ここで 「緊急性」 とは、 RECパ ッファ 242内のデータの容量に基づき判断される。 以下、 RECパッ ファ 242の 「緊急性」 の有無の判断について説明を行なう。 Next, the HDD controller for AV recording / reproducing 210 issues a request for an operation to the disk device to the QUE 230 with the scheduler. In the present embodiment, the QUE 230 with the scheduler When passing an operation request to the disk device, For the access operation requests stored in QUE ', the urgency of the request is determined, and if there is an urgent request, the request is given priority and passed to the HDD controller 120. Here, “urgency” is determined based on the amount of data in the REC buffer 242. The following describes how the REC Buffer 242 determines whether there is “urgency”.
スケジューラ付き QUE 230は、 外部から RECバッファ 242に AVス トリ ^"ムの蓄積が行われている間、 ァドレス監視手段 220を介 して、 AVス トリーム蓄積ポインタを参照することにより、 RECバッ ファ 242 aおよび bへの AVス トリームの蓄積状況を監視する。  The QUE 230 with scheduler refers to the AV stream storage pointer via the address monitoring means 220 while the AV stream is being stored in the REC buffer 242 from the outside, and the REC buffer 242 Monitor the accumulation status of AV stream in a and b.
このとき、 上記の動作のように、 RE Cバッファ 242 aに AVスト リームが一杯蓄積されており、 RE Cバッファ 242 bにある、 AVス トリーム蓄積ポインタ 310がしきい値 300 bを越えて進んでいた場 合、 R ECバッファ 242 a内のデータの、 ディスク装置 110への書 き込み動作は、 緊急性があるものと判断され、 スケジューラ付き QUE 230は、 HDDコントローラ 120に対し、 R ECバッファ 242 a 内のデータの読み出し要求を発行する。 HDDコントローラ 120は、 要求されているディスク装置 1 10へのアクセス動作を行う。  At this time, as in the above operation, the AV stream is fully accumulated in the REC buffer 242a, and the AV stream accumulation pointer 310 in the REC buffer 242b advances beyond the threshold value 300b. In this case, the operation of writing the data in the REC buffer 242a to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the REC buffer to the HDD controller 120. Issue a request to read the data in 242a. The HDD controller 120 performs a required access operation to the disk device 110.
上記の動作において、 しきい値 300 bは、 例えば (RECバッファ 242 aのデータをディスク装置へ保存するのに必要な時間) > (しき い値 300 bを越えて R ECバッファ 242 bに外部からの A Vストリ' ームが蓄積されるまでの時間) として定義するものとする。 ' 次に.、 RECバッファ 242 a内のデータがディスク装置 1 10内に 記録され、 RECバッファ 242 aが空になった状態となる一方、 RE Cバッファ 242 b内には、 外部からの AVストリームの記録が継続さ れ、 RE Cパッファ 242 bがー杯になると、 再ぴ1 £ (:バッファ 24 2 aにデータの蓄積が行われる (図 3中の蓄積方向 b) 。 このときは、 しきい値は RE Cバッファ 242 a内のしきい値 300 aに設定され、 RE Cバッファ 242 aにある、 AVス トリーム蓄積ポ インタ 3 10がしきい値 300 aを越えて進んでいた場合、 RECバッ ファ 242 b内のデータの、 ディスク装置 1 10への書き込み動作は、 緊急性があるものと判断され、 スケジューラ付き QUE 230は、 HD Dコントローラ 1.20に対し、 RECパッファ 242 b内のデータの読 み出し要求を発行する。 In the above operation, the threshold value 300b is, for example, (the time required to save the data in the REC buffer 242a to the disk device)> (exceeding the threshold value 300b to the REC buffer 242b from the outside) The time until the AV stream is accumulated). 'Next. Next, the data in the REC buffer 242a is recorded in the disk device 110, and the REC buffer 242a becomes empty. When the recording of the REC buffer 242 b is full, the data is stored again in the £ 1 (: buffer 242 a (accumulation direction b in FIG. 3). In this case, the threshold value is set to the threshold value 300a in the REC buffer 242a, and the AV stream storage pointer 310 in the REC buffer 242a advances beyond the threshold value 300a. In this case, the operation of writing the data in the REC buffer 242 b to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the REC buffer 242 b to the HDD controller 1.20. Issues a request to read data in
次に、 AVストリームの P LAY動作について説明する。  Next, the PLAY operation of the AV stream will be described.
P LAY動作が開始されると、 ディスク装置 1 10から読み出された AVストリームは、 PLAYバッファ 243 aの先頭から順に蓄積され 、 それに従って、 AVス トリーム送出ポインタ 320は P LAYバッフ 7243 bのほうへ移動する。  When the PLAY operation is started, the AV streams read from the disk device 110 are accumulated in order from the beginning of the PLAY buffer 243a, and the AV stream transmission pointer 320 is accordingly set to the PLAY buffer 7243b in accordance with that. Move to.
P LAYバッファ 243 aに、 ディスク装置 1 10からの AVストリ ームの蓄積が終了すると、 P LAYバッファ 243 a内のデータは外部 へ送出され、 ディスク装置 1 10からの AVストリームの蓄積動作は、 PLAYバッファ 243 bに蓄積先が変更され継続される。 また、 AV ストリーム送出ポィンタ 320も P LAYバッファ 243 bの末尾へ移 動する (図 3中の送出方向 a) 。 '  When the storage of the AV stream from the disk device 110 in the PLAY buffer 243a is completed, the data in the PLAY buffer 243a is sent to the outside, and the operation of storing the AV stream from the disk device 110 is performed as follows. The storage destination is changed to the PLAY buffer 243b, and is continued. Also, the AV stream sending pointer 320 moves to the end of the PLAY buffer 243b (the sending direction a in FIG. 3). '
ここで図 3 (b) に示すように、 P LAYバッファ 243 aは、 すで に AVストリームが送出ざれ、 データを蓄積する必要のある状態であり 、 一方、 P LAYバッファ 243 bは、 現時点でディスク装置 1 10か ら AVストリームが蓄積されている途中の状態である。  Here, as shown in FIG. 3 (b), the PLAY buffer 243a is in a state where the AV stream has already been sent and the data needs to be stored, while the PLAY buffer 243b is currently This is a state where the AV stream is being accumulated from the disk device 110.
次に、 AV記録再生用 HDDコントローラ 210は、 スケジューラ付 き QUE 230にディスク装置に対する動作の要求を発行するが、 本実 施の形態においては、 スケジューラ付き QUE 230は、 HDDコント ローラ 1 20に、 ディスク装置に対する動作要求を渡す際、 そのときに QUEに蓄積されているアクセス動作要求について、 その要求の緊急性 を判断し、 緊急性のある要求があれば、 その要求を優先して、 HDDコ ントローラ 120に渡すものとする。 ここで 「緊急性」 とは、 PLAY バッファ 243内のデータの容量に基づき判断される。 以下、 PLAY ノ ッファ 243の. 「緊急性」 の有無の判断について説明を行なう。 Next, the AV recording / reproducing HDD controller 210 issues an operation request to the disk device to the QUE 230 with the scheduler. In the present embodiment, the QUE 230 with the scheduler When passing an operation request to the disk device, For the access operation requests stored in the QUE, the urgency of the request is determined, and if there is an urgent request, the request is given priority and passed to the HDD controller 120. Here, “urgency” is determined based on the amount of data in the PLAY buffer 243. Hereinafter, the determination of the presence or absence of “urgency” of the PLAY know-how 243 will be described.
スケジューラ付き QUE 230は、 ディスク装置 1 10から PLAY バッファ 243に AVストリームの蓄積が行われている間、 アドレス監 視手段 220を介して、 AVストリーム送出ボインタ 320を参照する ことにより、 P LAYバッファ 243 a、 bへの A Vス トリームの蓄積 状況を監視する。  The QUE 230 with the scheduler refers to the AV stream transmission pointer 320 via the address monitoring means 220 while the AV stream is being stored in the PLAY buffer 243 from the disk device 110, and the PLAY buffer 243 Monitor the accumulation status of AV streams in a and b.
このとき、 上記の動作のように、 P LAYバッファ 243 aに A Vス トリームが空となっており、 P LAYバッファ 243 bにある、 AVス トリーム送出ポインタ 320がしきい値 300 dを越えて進んでいた場 合、 ディスク装置 1 10から P LAYバッファ 243 aへの A Vストリ ームの書き込み動作は、 緊急性があるものと判断され、 スケジューラ付 き QUE 230は、 HDDコントローラ 120に対し、 PLAYパッフ ァ 243 aに対するデータの書き込み要求を発行する。 HDDコントロ ーラ 120は、 要求されているディスク装置 1 10へのアクセス動作を 行う。  At this time, as in the above operation, the AV stream is empty in the PLAY buffer 243a, and the AV stream transmission pointer 320 in the PLAY buffer 243b advances beyond the threshold 300d. In this case, the operation of writing the AV stream from the disk device 110 to the play buffer 243a is determined to be urgent, and the QUE 230 with scheduler sends the PLAY buffer to the HDD controller 120. Issue a data write request to the key 243a. The HDD controller 120 performs a required access operation to the disk device 110.
上記の動作において、 しきい値 300 dは、 例えば (PLAYパッフ ァ 243 aに、 ディスク装置 1 10からデータを書き込むのに必要な時 間) く (しきい値 300 d以降の位置に蓄積されている、 PLAYパッ ファ 243 b內の AVス トリームを送出するまでの時間) として定義す るものとする。  In the above operation, the threshold value 300d is, for example, (the time required to write data from the disk device 110 to the PLAY buffer 243a). The time until the AV stream of the PLAY buffer 243 b 內 is transmitted).
次に、 P LAYバッファ 243 bが外部に AVストリームを送出して 空になる一方、 P LAYバッファ 243 a内にディスク装置 1 10か AVストリームが書き込まれた状態となる (図 3中の送出方向 b) 。 このときは、 しきい値は P LAYバッファ 243 a内のしきい値 30 O cに設定され、 P LAYバッファ 243 aにある、 AVス トリーム送 出ポィンタ 320·がしきい値 300 cを越えて進んでいた場合、 P L A Yバッファ 243 b内のデータの、 ディスク装置 1 10への書き込み動 作は、 緊急性があるものと判断され、 スケジューラ付き QUE 230は 、 HDDコントローラ 120に対し、 ディスク装置 1 1 0から、 P L A Yバッファ 243 bに対するデータの書き込み要求を発行する。 Next, the PLAY buffer 243b sends an AV stream to the outside and becomes empty, while the PLAY buffer 243a stores the disk device 110 in the PLAY buffer 243a. The AV stream is written (transmission direction b in FIG. 3). In this case, the threshold value is set to the threshold value 30 Oc in the PLAY buffer 243a, and the AV stream sending pointer 320 in the PLAY buffer 243a exceeds the threshold value 300c. If it has proceeded, the operation of writing the data in the PLAY buffer 243 b to the disk device 110 is determined to be urgent, and the QUE 230 with scheduler sends the disk device 1 1 1 to the HDD controller 120. From 0, a request to write data to the PLAY buffer 243b is issued.
次に、 図 4に同時記録再生動作を行っている場合の、 本実施の形態の AVス トリーム記録再生装置フローチャートを示す。 以下、 このフロー チャートに従い、 本実施の形態の動作例を説明する。  Next, FIG. 4 shows a flowchart of the AV stream recording / reproducing apparatus of the present embodiment when the simultaneous recording / reproducing operation is performed. Hereinafter, an operation example of the present embodiment will be described with reference to this flowchart.
はじめに、 AV記録再生用 HDDコントローラ 210は、 システム ■ '情卜 m虫 報バッファ 141、 RECバッファ 242および P LAYバッファ 24 3を監視しており、 スケジューラ付き QUE 230に対し、 RECパッ ファ 242からの AVストリームの読み出し要求、 P LAYバッファ 2 43への AVストリームの書き込み要求、 システム情報バッファ 141 からのシステム情報の読み出し要求を行う (ステップ 401) 。 · スケジューラ付き QUE 230は、 AV記録再生用 HDDコントロー ラ 210から上記の要求を受けると、 これらを一旦蓄積し、 アドレス監 視手段 220を用いて、 RE Cバッファ 242および P LAYバッファ 243のデータ容量を、 AVストリーム蓄積ボインタ 310および AV ス トリーム送出ポインタ 320を参照して監視する。 このとき監視は、 最初に RE Cバッファ 242 (ステップ 403) 、 次いで PLAYバッ ファ 243の順に行われる (ステップ 404) 。  First, the HDD controller 210 for AV recording and playback monitors the system information buffer 141, REC buffer 242, and PLAY buffer 243. The QUE 230 with scheduler receives a signal from the REC buffer 242. A request to read the AV stream, a request to write the AV stream to the PLAY buffer 243, and a request to read the system information from the system information buffer 141 are made (step 401). · When the QUE 230 with the scheduler receives the above request from the AV recording / reproducing HDD controller 210, the QUE 230 temporarily accumulates the request and uses the address monitoring means 220 to store the data capacity of the REC buffer 242 and the PLAY buffer 243. Is monitored with reference to the AV stream storage pointer 310 and the AV stream transmission pointer 320. At this time, monitoring is performed in the order of the RE C buffer 242 (step 403) and then the PLAY buffer 243 (step 404).
ステップ 403.で、 AVス トリ一厶蓄積ボインタ 310の参照に基づ き、 RECバッファ 242 bのデータ容量がしきい値 300 bに達し、 データ読み出しを行う必要があると判断された場合は、 スケジューラ付 き QUE 230は、 蓄積していた各犟求のうち、 RECバッファ 242 からの A Vストリームの読み出し要求を HDDコントローラ 1 2.0に命 令する。 命令を受けた HDDコントローラ 120は、 ディスク装置 1 1 0を起動させ、 RECバッファ 242内のデータを読み出し、 記録する (ステップ 406 ) 。 At step 403, based on the reference of the AV stream storage pointer 310, the data capacity of the REC buffer 242b reaches the threshold value 300b, When it is determined that the data needs to be read, the QUE 230 with the scheduler instructs the HDD controller 12.0 to read the AV stream from the REC buffer 242 among the stored requests. . The HDD controller 120 that has received the command activates the disk device 110, reads and records the data in the REC buffer 242 (step 406).
—方、 ステップ 403で、 A Vス トリーム蓄積ポインタ 310の参照 に基づき、 RE Cバッファ 242 bのデータ容量がしきい値 300 bに 達しておらず、 データ読み出しを行う必要がないと判断された場合は、 スケジューラ付き QUE 230は、 AVストリーム送出ボインタ 320 の参照に基づき、 P LAYバッファ 243 bのデータ容量がしきい値 3 00 dに達しているかどうかを判断する (ステップ 404) 。  On the other hand, if it is determined in step 403 that the data capacity of the REC buffer 242b has not reached the threshold value 300b based on the reference of the AV stream storage pointer 310, it is not necessary to read data. The QUE with scheduler 230 determines whether the data capacity of the PLAY buffer 243b has reached the threshold value 300d based on the reference of the AV stream transmission pointer 320 (step 404).
ステップ 404で、 AVストリーム送出ボインタ 320の参照に基づ き、 PLAYバッファ 243 bのデータ容量がしきい値 300 dに達し 、 データ読み出しを行う必要があると判断された場合は、 スケジューラ 付き QUE 230は、 蓄積していた各要求のうち、 PLAYバッファ 2 43への AVス トリームの書き込み要求を HDDコントローラ 120に 命令する。 命令を受けた HDDコントローラ 120は、 ディスク装置 1 10を起動させ、 データを読み出し、 P LAYバッファ 243に対し記 録する (ステップ 407) 。  If it is determined in step 404 that the data capacity of the PLAY buffer 243b has reached the threshold value 300d based on the reference of the AV stream transmission pointer 320 and it is determined that the data needs to be read out, Instructs the HDD controller 120 to write the AV stream to the PLAY buffer 243 among the accumulated requests. The HDD controller 120 that has received the command activates the disk device 110, reads out the data, and records it in the PLAY buffer 243 (step 407).
一方、 ステップ 404で、 A Vス トリーム蓄積ポインタ 310の参照 に基づき、 P LAYバッファ 243 bのデータ容量がしきい値 300 b に達しておらず、 データ書き込みを行う必要がないと判断された場合は 、 スケジューラ付き QUE 230は、 システム情報バッファ 141から のシステム情報の読み出し要求を HDDコントローラ 120へ命令し、 ディスク装置 1 10にシステム情報を記録する (ステップ 405) 。 . このように、 本実施の形態によれば、 ディスク装置への A Vストリー ムの記録、 再生時のデータの途切れを極力抑えて、 また、 途切れが起こ つた場合でも、 再生または記録されるデータの品質を保持することが可 能となる。 On the other hand, if it is determined in step 404 that the data capacity of the PLAY buffer 243b has not reached the threshold value 300b based on the reference of the AV stream accumulation pointer 310, it is determined that there is no need to write data. The QUE 230 with the scheduler instructs the HDD controller 120 to read the system information from the system information buffer 141 and records the system information on the disk device 110 (step 405). . As described above, according to the present embodiment, interruption of data during recording and reproduction of an AV stream on a disk device is minimized, and even when interruption occurs, the quality of data reproduced or recorded is improved. Can be held.
なお、 上記のフローチャートにおいては、 RECバッファ 242への 監視が行われたあと、 P LAYバッファ 243への監視が行われるもの として説明を行ったが、 P LAYバッファ 243のほうを先に行うもの としてもよい。  In the above flowchart, the description has been made on the assumption that the monitoring of the PLAY buffer 243 is performed after the monitoring of the REC buffer 242, but it is assumed that the monitoring of the PLAY buffer 243 is performed first. Is also good.
(実施の形態 3)  (Embodiment 3)
図 5は、 本発明の実施.の形態 3による AVストリーム記録再生装置の 構成図である。 図に示すように、 A Vス トリーム記録再生装置 500に おいて、 図 2と同一または相当部分には、 同一符号を付し、 説明を省略 する。 また、 タイマ 5 1 0は、 時間を計測して、 アドレス管理手段 2 2 0と連動し、 メモリ手段 240内の RE Cパッファ 242および P LA Yバッファ 243へのデータの書き込み Z読み出し速度を計測するため の手段である。  FIG. 5 is a configuration diagram of an AV stream recording / playback apparatus according to Embodiment 3 of the present invention. As shown in the figure, in the AV stream recording / reproducing apparatus 500, the same or corresponding parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted. The timer 510 measures the time and works in conjunction with the address management means 220 to measure the data write Z read speed to the REC buffer 242 and the PLAY buffer 243 in the memory means 240. It is a means for
以上のような構成を有する本実施の形態による AVストリーム記録再 生装置の動作について、 以下に説明を行うとともに、 これにより、 本発 明の AVストリーム記録再生方法の一実施の形態について説明を行う。 ただし、 実施の形態 2と共通する部分は省略し、 相違点を中心に述べる。 本実施の形態は、 ァドレス監視手段 2 20と連動するタイマ 5 1 0を 備えたことにより、 記録 AVス ト リ ムの、 メモリ手段 240内の RE Cバッファ 242への A Vス トリームの書き込み速度や、 P LAYバッ ファ 243からの A Vストリームの再生速度を測定できるようにし、 こ の書き込みまたは再生速度に応じて、 各バッファ内に設定したしきい値 の値を変更できるようにしたものである。 これにより、 AVストリーム記録再生装置 200が同時記録再生動作 を行っているときに、 記録時 AVストリームの RECパッファ 242へ の書き込み速度が低速であり、 P LAYバッファ 243からの AVスト リームの送出速度が、 書き込み速度よりも高速である場合は、 PLAY ノ ッファ 243 aおよび bのしきい値 300 c、 300 dをより低い値 に設定して、 スケジューラ付き QUE 230の HDDコントローラ 1 2 0に対する命令動作として、 P LAYバッファ 243への AVストリー ムの書き込み要求が、 RECパッファ 242からの AVストリ一ムの読 み出し要求に対して優先される状態を作り出すことが可能となる。 The operation of the AV stream recording / reproducing apparatus according to the present embodiment having the above-described configuration will be described below, and thereby an embodiment of the AV stream recording / reproducing method of the present invention will be described. . However, parts common to the second embodiment are omitted, and differences are mainly described. In the present embodiment, the provision of the timer 510 linked to the address monitoring means 220 allows the writing speed of the recording AV stream to the REC buffer 242 in the memory means 240 to be improved. The playback speed of the AV stream from the PLAY buffer 243 can be measured, and the value of the threshold value set in each buffer can be changed according to the writing or playback speed. As a result, when the AV stream recording / reproducing device 200 is performing the simultaneous recording / reproducing operation, the writing speed of the AV stream to the REC buffer 242 during recording is low, and the transmission speed of the AV stream from the PLAY buffer 243 However, if the writing speed is higher than the writing speed, the threshold values 300 c and 300 d of the PLAY buffer 243 a and b are set to lower values, and the instruction operation for the HDD controller 120 of the QUE 230 with scheduler is performed. As a result, it is possible to create a state in which an AV stream write request to the PLAY buffer 243 is given priority over an AV stream read request from the REC buffer 242.
このとき、 しきい値の変更は.、 A V記録再生用 HDDコントローラ 2 10が行ってもよいし、 図示しない制御手段によって行うようにしても よい。  At this time, the change of the threshold value may be performed by the HDD recording / reproducing HDD controller 210 or may be performed by control means (not shown).
また、 本実施の形態は、 実施の形態 2の構成にタイマ 510 加えた 構成であるとして説明を行ったが、 実施の形態 1の構成にタイマ 510 を加えた構成としてもよい。 この場合、 上記実施の形態 1では、 命令実 行の優先順位スケジューラの優先順位を、 第 1優先要求として (a) R ECバッファ 242からの AVス トリームの読み出し要求、 第 2優先要 求として (b) P LAYバッファ 243への AVス トリームの書き込み 要求、 第 3優先要求として (c) システム情報バッファ 141に対する システム情報の読み出し Z書き込み要求として固定していたが、 RE C バッファ 242ベの A Vストリームの読み出し速度、 P LAYバッファ 243からの、 AVス トリームの再生速度に応じて、 この優先順位を変 更して、 第 1優先要求として (b) の要求を設定することが可能となる。  Further, although the present embodiment has been described as a configuration in which timer 510 is added to the configuration of Embodiment 2, a configuration in which timer 510 is added to the configuration of Embodiment 1 may be used. In this case, in the first embodiment, the priority of the instruction execution priority scheduler is set as the first priority request. (A) The AV stream read request from the REC buffer 242 and the second priority request are set as ( b) A request to write the AV stream to the PLAY buffer 243, as the third priority request. (c) A read of the system information to the system information buffer 141, which was fixed as a Z write request. The priority can be changed according to the read speed of the AV buffer and the playback speed of the AV stream from the PLAY buffer 243, and the request (b) can be set as the first priority request.
また、 ケドレス監視手段 220とタイマ 510とを、 図 12に示す従 来の AVストリーム記録再生装置に備えた構成としてもよく、 この場合 は、 スケジューラ付き QUE 230は、 RE Cバッファ 242への AV ス トリームの読み出し速度、 P LAYバッファ 243からの、 AVス ト リームの再生速度に応じて、 発行された要求の実行順位を変更して、 H DDコントローラ 120に対し発行することが可能となる。 Further, the configuration may be such that a conventional AV stream recording / reproducing device shown in FIG. 12 is provided with the kedress monitoring means 220 and the timer 510. In this case, the QUE 230 with scheduler transmits the AV data to the RE buffer 242. It is possible to change the execution order of the issued requests according to the stream reading speed and the playback speed of the AV stream from the PLAY buffer 243, and issue the requests to the HDD controller 120.
このように、 本実施の形態によれば、 ディスク装置への AVストリー ムの記録、 再生時のデータの途切れを極力抑えて、 また、 途切れが起こ つた場合でも、 再生または記録されるデータの品質を保持することが可. 能となる。  As described above, according to the present embodiment, interruption of data during recording and reproduction of an AV stream on a disk device is minimized, and even when interruption occurs, the quality of data reproduced or recorded is improved. Can be held.
(実施の形態 4)  (Embodiment 4)
図 6は、 本.発明の実施の形態 4による A Vストリーム記録再生装置の 構成図である。 図に示すように、 A Vス トリーム記録再生装置 600に おいて、 図 2と同一または相当部分には、 同一符号を付し、 説明を省略 する。 また、 本実施の形態のメモリ手段 640は、 RECバッファ 64 1およ.ぴ RE Cバッファ 642の 2チャンネルの R E Cバッファと、 P LAYバッファ 643の 1チャンネルの P L AYバッファを備えた手段 である。  FIG. 6 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 4 of the present invention. As shown in the figure, in the AV stream recording / reproducing apparatus 600, the same or corresponding parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted. Further, the memory means 640 of the present embodiment is a means provided with a two-channel REC buffer 641 and a お よ REC buffer 642, and a one-channel PLAY buffer of a PLAY buffer 643.
以上のような構成を有する本実施の形態による AVストリーム記録再 生装置の動作について、 以下に説明を行うとともに、 これにより、 本発 明の AVストリーム記録再生方法の一実施の形態について説明を行う。 ただし、 実施の形態 2と共通する部分は省略し、 相違点を中心に述べる 本実施の形態に'おいては、 メモリ手段 640は RE Cバッファ 641 および 642を備えた 2チャンネルの R ECバッファを有しており、 R E Cバッファからの AVズ トリームの読み込み動作が、 R ECバッファ の数 (2つ) だけ並列的に行われるようにしている。 . このとき、 RECバッファ 641と RECバッファ 642に対し T、 AVストリームの蓄積はそれぞれ独立に行われ、 RE Cパッファ 641 aと 641 b、 RECバッファ 642 aと 642 bとは、 相互に蓄積完 了してディスク 1 10へ蓄積を待つ状態と、 蓄積中の状態とをとる。 す なわち、 RECバッファ 642 aと 642 aは蓄積完了して RE Cパッ ファ 641 bと 642 bが蓄積中、 RECパップァ 641 aと 642 b が蓄積完了して RE Cバッファ 641 bと 642 aが蓄積中、 RECパ ッファ 641 bと 642 aが蓄積完了して R ECバッファ 641 aと 6 42 bとが蓄積中、 RECバッファ 641 bと 642 bが蓄積完了して RECバッファ 641 aと 642 aが蓄積中という状態を取り うる。 The operation of the AV stream recording / reproducing apparatus according to the present embodiment having the above-described configuration will be described below, and thereby an embodiment of the AV stream recording / reproducing method of the present invention will be described. . However, parts common to the second embodiment will be omitted, and differences will be mainly described. In the present embodiment, the memory means 640 is a two-channel REC buffer having RE buffers 641 and 642. The read operation of the AV stream from the REC buffer is performed in parallel with the number (2) of the REC buffers. At this time, the T and AV streams are stored independently in the REC buffer 641 and the REC buffer 642, and the REC buffers 641a and 641b and the REC buffers 642a and 642b are completely stored. To wait for storage on the disk 110, and a state of storing. That is, the REC buffers 642 a and 642 a have been completely accumulated and the REC buffers 641 b and 642 b are being accumulated, and the REC buffers 641 a and 642 b have been completely accumulated and the REC buffers 641 b and 642 a have been accumulated. During storage, REC buffers 641 b and 642 a have completed storage, and REC buffers 641 a and 642 b have been stored, while REC buffers 641 b and 642 b have completed storage and REC buffers 641 a and 642 a have been stored. It can be in the state of accumulation.
したがって、 A V記録再生用 HDDコントローラ 210からスケジュ ーラ付き QUE 230に対して発行される動作要求の数は、 チャンネル 数に応じて変化しているのに対し、 HDDコントローラ 120からディ スク装置 1 10へのアクセス動作の処理時間は同一であるため、 本実施 の形態では、 RECバッファ、 および P LAYバッファに設定したしき い値を、 チャンネルの数が増えるにつれて下げるようにしている。  Therefore, the number of operation requests issued from the AV recording / reproducing HDD controller 210 to the QUE 230 with a scheduler changes according to the number of channels, whereas the number of operation requests issued from the HDD controller 120 to the disk device 1 10 varies. In the present embodiment, the threshold values set in the REC buffer and the PLAY buffer are reduced as the number of channels increases, since the processing time of the access operation to the PHY buffer is the same.
ここで図 7 (a) は、 R ECバッファ 641および 642におけるし きい値の変化を模式的に示す図であり、 図 7 (b) は、 PLAYバッフ ァ 643におけるしきい値の変化を模式的に示す図である。  Here, FIG. 7A is a diagram schematically showing a change in the threshold value in the REC buffers 641 and 642, and FIG. 7B is a diagram schematically showing a change in the threshold value in the PLAY buffer 643. FIG.
図に示すように、 RE Cバッファにおいては、 1チャンネノレ (RE C バッファ 641または 642のいずれか) で動作する場合のしきい値 7 00 aと、 2チャンネル (RE Cバッファ 641および 642) で動作 する場合のしきい値 700 a, とでは、 しきい値 700 a' の方が低め に設定されている。 ' 同様に、 P LAYバッファにおいては、 1チャンネル (PLAYパッ ファ 643) で動作する場合のしきい値 bと、 2チャンネル (図 6には 示さず) で動作する場合のしきい値 b ' とでは、 しきい値 b, の方が低 めに設定されている。 例えば、 RE Cバッファが 1チャンネルのときの 場合は、 しきい値 700 aを、 バッファの全データ容量の 80%と設定 し、 RECバッファが 2チャンネルのときの場合は、 しきい値 700 a , を、 1チャンネル RE Cバッファの全データ容量の 60%と設定する c また、 しきい値 700 a, の設定方法としては、 図 6に示す 2チャン ネルの RE Cバッファ 641および 642の場合は、 例えば (RECパ ッファ 641 aと RECバッファ 642 aの両方のデータをディスク装 置 1 10へ保存するのに必要な時間) > (しきい値 700 a, を越えて RECバッファ 641 bまたは RECパッファ 642 bに AVストリー ムが蓄積されるまでの時間) として定義する。 チャンネル数が 3以上の 場合は、 ( 「 1チャンネル分の RE Cバッファの容量の半分のデータ量As shown in the figure, the REC buffer operates with a threshold of 700 a when operating with one channel (either the REC buffer 641 or 642) and operating with two channels (REC buffers 641 and 642). The threshold 700a 'is set lower than the threshold 700a'. 'Similarly, in the PLAY buffer, the threshold b when operating on one channel (PLAY buffer 643) and the threshold b when operating on two channels (not shown in Figure 6) In, the thresholds b and are set lower. For example, if the REC buffer has one channel, set the threshold 700a to 80% of the total data capacity of the buffer. And, in the case of when the REC buffer is 2-channel, the threshold 700 a, a, also c is set to 60% of the total data capacity of one channel RE C buffer, the threshold 700 a, as a setting method of In the case of the two-channel REC buffers 641 and 642 shown in FIG. 6, for example, (the time required to store the data of both the REC buffer 641 a and the REC buffer 642 a to the disk device 110) > (Time until the AV stream is accumulated in the REC buffer 641b or the REC buffer 642b after exceeding the threshold 700a). If the number of channels is 3 or more, the data amount is “half the capacity of the REC buffer for one channel.
(例えば RE Cパッファ 641 a、 641 bの容量) Xチャンネル数」 のデータをディスク装置 1 10へ保存するのに必要な時間) < (しきい 値 700 a, を越えて、 各チャンネノレの RE Cバッファのそれぞれに A Vストリームが蓄積されるまでの時間) として定義する。 (For example, the time required to store the data of “number of channels” in the disk drive 110) <(the capacity of the RE C buffer 641a, 641b) <(the threshold of 700 a Time until the AV stream is accumulated in each buffer).
次に、 しきい値 700 b, の設定方法としては、 PLAYバッファが 2チャンネルある場合は、 例えば、 (一方の P LAYバッファの容量の 半分と他方の P LAYバッファの容量の半分との両方に、 ディスク装置 1 10からデータを書き込むのに必婁な時間) < (しきい値 700 b' 以降の位置に蓄積されている、 一方または他方の P LAYバッファの A Vストリームを送出するまでの時間) として定義するものとする。 チヤ ンネル数が 3以上の場合は、 ( 「 1チャンネル分のそれぞれの a、 bの P LAYバッファに、 例えば (P LAYバッファ 643 aや P LAYバ ッファ 634 bに対して) 、 ディスク装置 1 1 0からデータを書き込む のに必要な時間」 Xチャンネル数) く (しきい値 700 b, 以降の位置 に蓄積されている、 各チャンネルの P LAYバッファの AVストリーム を送出するまでの時間) として定義する。  Next, as a method of setting the threshold value 700b, if the PLAY buffer has two channels, for example, (half of the capacity of one PLAY buffer and half of the capacity of the other PLAY buffer) , The time required to write data from the disk device 110) <(the time until the AV stream of one or the other PLAY buffer stored in the position after the threshold 700b 'is transmitted) Shall be defined as If the number of channels is 3 or more, the disk device 1 (for the P-lay buffers of a and b for one channel, for example (for the p-lay buffer 643a and the p-lay buffer 634b)) Time required to write data from 0 ”X number of channels) (Threshold 700b, time until the AV stream of each channel's PLAY buffer stored in the subsequent positions is transmitted) I do.
次に、 図 8に同時記録再生動作を行っている場合の、 本実施の形態の AVス トリーム記録再生装置 600のフローチャートを示す。 以下、 こ のフローチャートに従い、 本実施の形態の動作例を説明する。 Next, FIG. 8 shows a case where the simultaneous recording / reproducing operation is performed. 5 shows a flowchart of an AV stream recording / reproducing apparatus 600. Hereinafter, an operation example of the present embodiment will be described with reference to this flowchart.
はじめに、 AV記録再生用 HDDコントローラ 210は、 システム情 報バッファ 141、 RECバッファ 641、 642および PLAYバッ ファ 643を監視しており、 スケジューラ付き QUE 230に対し、 R ECバッファ 641, 642からの AVス トリームの読み出し要求、 P LAYバッファ 643への A Vス トリームの書き込み要求、 システム情 報バッファ 141からのシステム情報の読み出し要求を行う (ステップ 801.) 。  First, the HDD controller 210 for AV recording / playback monitors the system information buffer 141, REC buffers 641, 642, and PLAY buffer 643. The QUE 230 with scheduler sends the AV buffer from the REC buffers 641, 642 to the QUE 230 with scheduler. A stream read request, an AV stream write request to the PLAY buffer 643, and a system information read request from the system information buffer 141 are made (step 801.).
スケジューラ付き QUE 230は、 A V記録再生用 HDDコントロー ラ 210から上記の要求を受けると、 これらを一旦蓄積し、 ア ドレス監 視手段 220を用いて、 1 £( バッファ 641, 642および PLAY バッファ 643のデータ容量を、 AVストリーム蓄積ポィンタおよび A Vス トリーム送出ポインタを参照して監視する。 このとき監視は、 最初 に R ECバッファ 641 (ステップ 803) 、 次いで RECバッファ 6 42 (ステップ 804) 、 P LAYバッファ 643の順に行われる (ス テツプ 805 ) 。  When the QUE 230 with the scheduler receives the above request from the AV recording / reproducing HDD controller 210, the QUE 230 temporarily accumulates the request, and uses the address monitoring means 220 to send 1 £ (buffers 641, 642 and PLAY buffer 643). The data capacity is monitored with reference to the AV stream accumulation pointer and the AV stream transmission pointer, first by monitoring the REC buffer 641 (step 803), then the REC buffer 642 (step 804), and the PLAY buffer. The steps are performed in the order of 643 (step 805).
ステップ 803で、 AVス トリーム蓄積ポインタ 3 10の参照に基づ き、 RE Cバッファ 641 aのデータ容量がしきい値 700 a, に達し 、 データ読み出しを行う必要があると判断された場合は、 スケジューラ 付き QUE 230は、 蓄積していた各要求のうち、 RECバッファ 64 1からの AVストリームの読み出し要求を HDDコントローラ 1 20に 命令する。 命令を受けた HDDコントローラ 1 20は、 ディスク装置 1 10を起動させ、 RECバッファ 641内のデータを読み出し、 記録す る (ステップ 807) 。  If it is determined in step 803 that the data capacity of the REC buffer 641a has reached the threshold value 700a, based on the reference of the AV stream storage pointer 310, and that it is necessary to read data, The QUE 230 with a scheduler instructs the HDD controller 120 of a request to read an AV stream from the REC buffer 641, among the accumulated requests. Upon receiving the instruction, the HDD controller 120 activates the disk device 110, reads and records the data in the REC buffer 641 (step 807).
一方、 ステップ 803で、 AVス トリーム蓄積ボインタ 31 0の参照 に基づき、 1 £ (:パッファ 641 &のデータ容量がしきい値 700 a ' に達しておらず、 データ読み出しを行う必要がないと判断された場合は 、 スケジューラ付き QUE 230は、 AVストリーム蓄積ポインタ 31 0の参照に基づき、 RECバッファ 642 aのデータ容量がしきい値 7 00 a ' に達しているかどうかを判断する (ステップ 804) 。 On the other hand, in step 803, the AV stream storage pointer 310 is referred to. If it is determined that the data capacity of 1 £ (: Puffer 641 & has not reached the threshold 700a 'and that it is not necessary to read the data, the QUE 230 with the scheduler sends the AV stream accumulation pointer Based on the reference to 310, it is determined whether or not the data capacity of the REC buffer 642a has reached the threshold value 700a '(step 804).
ステップ 804で、 AVストリーム蓄積ポインタ 310の参照に基づ き、 RE Cバッファ 642 aのデータ容量がしきい値 700 a, に達し 、 データ読み出しを行う必要があると判断された場合は、 スケジューラ 付き QUE 230は、 蓄積していた各要求のうち、 REC ^^7764 2からの AVス トリームの読み出し要求を HDDコントローラ 1 20に 命令する。 命令を受けた HDDコントローラ 1 20は、 ディスク装置 1 10を起動させ、 RECバッファ 642内のデータを読み出し、 記録す る (ステップ 808) 。  In step 804, based on the reference of the AV stream accumulation pointer 310, if it is determined that the data capacity of the REC buffer 642a has reached the threshold value 700a and it is necessary to read data, The QUE 230 instructs the HDD controller 120 of an AV stream read request from the REC ^ 77642 2 among the stored requests. Upon receiving the instruction, the HDD controller 120 activates the disk device 110, reads and records the data in the REC buffer 642 (step 808).
一方、 ステップ 804で、 A Vス トリーム蓄積ポインタ 310の参照 に基づき、 RE Cバッファ 642 aのデータ容量がしきい値 700 a ' に達しておらず、 データ読み出しを行う必要がないと判断された場合は 、 スケジューラ付き QUE 230は、 AVス トリーム送出ポインタ 32 0の参照に基づき、 P LAYバッファ 643のデータ容量がしきい値 7 00 b' に達しているかどうかを判断する (ステップ 805) 。  On the other hand, if it is determined in step 804 that the data capacity of the REC buffer 642a has not reached the threshold 700a 'based on the reference of the AV stream accumulation pointer 310, and that it is not necessary to read data. The QUE 230 with scheduler determines whether the data capacity of the PLAY buffer 643 has reached the threshold value 700b 'based on the reference to the AV stream transmission pointer 320 (step 805).
ステップ 805で、 AVストリーム送出ボインタ 320の参照に基づ き、 P LAYバッファ 643のデータ容量がしきい値 700 b, に達し 、 データ読み出しを行う必要があると判断された場合は、 スケジューラ 付き QUE 230は、 蓄積していた各要求のうち、 PLAYバッファ 6 43への AVストリームの書き込み要求を HDDコントローラ 120に 命令する。 命令を受けた HDDコントローラ 120は、 ディスク装置 1 10を起動させ、 データを読み出し、 P LAYバッファ 643に対し記 録する (ステップ 809) 。 In step 805, based on the reference of the AV stream transmission pointer 320, if the data capacity of the PLAY buffer 643 has reached the threshold value 700b, and it is determined that the data needs to be read out, 230 instructs the HDD controller 120 to write the AV stream to the PLAY buffer 644 among the accumulated requests. Upon receiving the instruction, the HDD controller 120 starts the disk device 110, reads the data, and writes the data to the PLAY buffer 643. Record (step 809).
一方、 ステップ 805で、 AVス トリーム蓄積ポインタ 310の参照 に基づき、 P LAYバッファ 643 aのデータ容量がしきい値 700 b ' に達しておらず、 データ書き込みを行う必要がないと判断された場合 は、 スケジューラ付き QUE 230は、 システム情報バッファ 1.41か らのシステム情報の読み出し要求を HDDコントローラ 120へ命令し ' 、 ディスク装置 1 10にシステム情報を記録する (ステップ 806) 。  On the other hand, if it is determined in step 805 that the data capacity of the PLAY buffer 643 a has not reached the threshold value 700 b ′ based on the reference of the AV stream accumulation pointer 310 and it is not necessary to perform data writing. The QUE 230 with scheduler instructs the HDD controller 120 to read the system information from the system information buffer 1.41 and records the system information in the disk device 110 (step 806).
このように、 本実施の形態によれば、 メモリ手段の有する AVストリ ームのバッファが複数チャンネルある場合も、 ディスク装置への A Vス トリームの記録、 再生時のデータの途切れを極力抑えて、 また、 途切れ が起こった場合でも、 再生または記録されるデータの品質を保持するこ とが可能となる。  As described above, according to the present embodiment, even when there are a plurality of channels of AV stream buffers included in the memory means, interruption of data during recording and reproduction of the AV stream on the disk device is suppressed as much as possible. In addition, even if a break occurs, the quality of data to be reproduced or recorded can be maintained.
なお、 上記のフローチャートにおいては、 R ECバッファ 641、 R E Cバッファ 642への監視が行われたあと、 P LAYバッファ 643 への監視が行われるものとして説明を行ったが、 P LAYバッファ 64 3のほうを先に行うものとしてもよい。 また、 RECバッファ 641, 642との間で監視の順番を入れ換えるようにしてもよい。  In the above flowchart, the description has been made on the assumption that the monitoring of the REC buffer 641 and the REC buffer 642 is performed, and then the monitoring of the PLAY buffer 643 is performed. May be performed first. Further, the order of monitoring between the REC buffers 641 and 642 may be changed.
(実施の形態 5)  (Embodiment 5)
本発明の実施の形態 5による AVストリーム記録再生装置は、 該装置 の起動時に、 ディスク装置に記録された AVストリームと、 AVストリ ームを管理するためのシステム情報との整合をとるようにしたものであ る。  The AV stream recording / reproducing apparatus according to the fifth embodiment of the present invention is configured such that when the apparatus is started, the AV stream recorded on the disk device is matched with the system information for managing the AV stream. It is.
図 9は、 本発明の実施の形態 5による AVストリーム記録再生装置の 構成図である。 図に示すように、 A Vストリーム記録再生装置 900に おいて、 ディスク装置 9 10は、 例えば HDDで実現される、 AVス ト リームおよび該 AVス トリームに関するシステム情報を蓄積する手段、 HDDコントローラ 920は、 ディスク装置 910を駆動させるための 手段、 QUE 930は AV記録再生用 HDDコントローラ 940から発 行される書き込み要求または読み出し要求を受けて蓄積した後、 該要求 を受けた順に HDDコントローラ 920.に出力する手段、 AV記録再生 用 HDDコントローラ 940は、 ディスク装置 910に対し AVストリ ームゃシステム情報を読み書きするための手段、 メモリ手段 950は外 部からディスク装置に書き込まれる A Vストリーム、 ディスク装置 91 0から外部へ読み出される AVストリーム、 およびシステム情報を一時 的に蓄積する手段、 システム情報一 A Vファイル整合チヱックコント口 ーラ 960は、 HDDコントローラ 920内のデータとシステム情報と を参照して、 HDDコントローラによりディスク装置に書き込まれたデ ータと、 システム'情報とが整合しているかどうかをチェックする手段で ある。 FIG. 9 is a configuration diagram of an AV stream recording / reproducing apparatus according to Embodiment 5 of the present invention. As shown in the figure, in the AV stream recording / reproducing device 900, the disk device 910 is, for example, an HDD, means for storing an AV stream and system information related to the AV stream, The HDD controller 920 is a means for driving the disk device 910, and the QUE 930 receives and stores a write request or a read request issued from the HDD controller 940 for AV recording / reproducing, and then stores the HDD controller in the order of receiving the request. Means for outputting to the 920; an HDD controller for AV recording / reproduction 940; means for reading / writing AV stream / system information from / to the disk device 910; memory means 950; an AV stream which is externally written to the disk device; Means for temporarily storing the AV stream read from the disk device 910 to the outside and the system information, and the system information-AV file matching check controller 960 refers to the data in the HDD controller 920 and the system information. Data written to the disk drive by the HDD controller and system information There is a means to check whether the match.
また、 メモリ手段 950において、 システム情報バッファ 951はシ ステム情報を一時記録するための手段、 RECバッファ 952は外部か らディスク装置 910に書ぎ込まれる AVストリームを一時記録するた めの手段、 P LAYバッファ 953はディスク装置 910から外部へ読 み出される A Vス トリームを一時記録するための手段である。  Also, in the memory means 950, a system information buffer 951 is a means for temporarily recording system information, an REC buffer 952 is a means for temporarily recording an AV stream written from the outside to the disk device 910, The LAY buffer 953 is a means for temporarily recording the AV stream read from the disk device 910 to the outside.
さらに、 RE Cバッファ 952および P LAYバッファ 953はそれ ぞれ内部で RECバッファ 952 a、 bおよび PLAYバッファ 953 a、 bの二つに分けられた構成を有している。  Further, each of the REC buffer 952 and the PLAY buffer 953 has a configuration internally divided into two REC buffers 952a, b and PLAY buffers 953a, b.
以上の各手段において、 システム情報一 AVファイル整合チェックコ ントローラ 960を備えたこと以外は、 従来例と同一の構成である。 また、 AVストリーム記録再生装置 900は、 外部から AVストリー ムの入力をうけると、 これを後述する D AU (D i s c Ac c e s s • Un.i t) 単位で連続的にディスク装置に記録し、 記録開始から記録 終了までの複数の DAUからなる A Vストリームを、 本発明のオブジェ ク トの一例である AVファイルとして管理するものであり、 システム情 報は、 この AVファイルを管理するために、 所定のタイミングで定期的 にディスク装置 910に記録される情報であるものとする。 Each of the above means has the same configuration as that of the conventional example except that the system information-AV file consistency check controller 960 is provided. Further, when an AV stream is input from outside, the AV stream recording / reproducing apparatus 900 continuously records the AV stream into a disk unit in DAU (disc access • Un.it) units described later, and starts recording. Recorded from An AV stream consisting of a plurality of DAUs up to the end is managed as an AV file, which is an example of the object of the present invention. System information is periodically managed at a predetermined timing in order to manage this AV file. Specifically, it is assumed that the information is information recorded on the disk device 910.
以上のような構成を有する AVス トリーム記録再生装置 900の動作 について、 図 9および図 10に示すフローチャートを参照して、 以下に 説明するとともに、 これにより、 本発明の A Vストリーム記録方法の一 実施の形態について説明を う。 ただし、 従来例と同様な部分は省略し て、 相違点のみを中心に述べる。  The operation of the AV stream recording / reproducing apparatus 900 having the above-described configuration will be described below with reference to the flowcharts shown in FIGS. 9 and 10, and thereby, an embodiment of the AV stream recording method of the present invention will be described. The form will be described. However, parts similar to those in the conventional example are omitted, and only differences are described.
はじめに、 AVス トリーム記録再生装置 900が電源断の状態から電 源が投入されたものとする (ステップ 1000) 。  First, it is assumed that the AV stream recording / reproducing device 900 has been turned on from a power-off state (step 1000).
次に、 システム情報一 A Vファイル整合チェッタコン十ローラ 960 は、 電源断までにディスク装置 910に記録されていた AVストリーム を、 AVファイル単位で検索し、 該 AVファイルにおいて、 その AVフ アイルを構成する AVストリームの終端を検出するとともに、 該 AVフ アイルを管理するシステム情報を参照し、 AVス トリームの終端と、 シ ステム情報に記載された AVストリームの記録終端とがー致しているか どうか判断する (ステップ 1001) 。  Next, the system information-AV file matching checker controller 960 searches for the AV stream recorded on the disk device 910 until the power is turned off in units of AV files, and constructs the AV file in the AV file. Detects the end of the AV stream and refers to the system information for managing the AV file, and determines whether the end of the AV stream matches the recording end of the AV stream described in the system information. (Step 1001).
次に、 ステップ 1001において、 AVス トリームの記録終端と、 シ ステム情報に記載された AVストリームの記録終端とがー致している場 合は、 ディスク装置 910内に記録されている全ての AVファイルに関 し、 チェックが行われたかどうかを判断し (ステップ 1002) 、 全て の A Vファイルのチェックが行われている場合は、 システム情報一 A V ファイル整合チェックコントローラ 960は動作終了し (ステップ 10 03) .、 チェックされていない AVファイ^/があれば、 再ぴステップ 1 001の動作を行う。 一方、 ステップ 1 0 0 1において、 A Vストリームの記録終端と、 シ ステム情報に記載された A Vス トリームの記録終端とがー致していない 場合は、 システム情報一 A Vファイル整合チェックコントローラ 9 6 0 は、 当該 AVファイルに関するシステム情報の記録終端と、 AVストリ ームの終端とを一致させる処理を行う (ステップ 1 0 0 4 ) 。 Next, in step 1001, if the end of recording of the AV stream and the end of recording of the AV stream described in the system information match, all the AV files recorded in the disk device 910 are read. It is determined whether or not a check has been performed (step 1002). If all the AV files have been checked, the system information and AV file consistency check controller 960 terminates the operation (step 1003). If there is an unchecked AV file, perform the operation of playback step 1 001. On the other hand, in step 1001, if the recording end of the AV stream and the recording end of the AV stream described in the system information do not match, the system information-AV file consistency check controller 960 will return. Then, a process of matching the recording end of the system information relating to the AV file with the end of the AV stream is performed (step 1004).
ここで、 ステップ 1 0 0 4の動作に関し、 詳細に説明する。  Here, the operation of step 104 will be described in detail.
図 1 3を参照して説明したように、 A Vストリームの記録中に、 所定 のタイミングで定期的にシステム情報を記録するような記録動作を行つ ている間に、 事故等の原因で、 A V トリームの記録動作中に電源断 1 3 4 0が発生した場合は、 実際にディスク装置 9 1 0に A Vストリーム 記録されているデータは、 A Vファイル C 1 3 3 0にて管理可能なデー タに加えて、 図中時刻 T 1〜T 2の範囲まで記録されたものがあるにも 関わらず、 システム情報は A Vファイル C 1 3 3 0までのデータしか管 理可能な状態となっていないため、 実際に記録された A Vストリームと A Vファイル、 すなわちシステム情報との間には不整合が生じる。  As described with reference to FIG. 13, during recording of an AV stream, while performing a recording operation for periodically recording system information at a predetermined timing, an AV or the like occurs due to an accident or the like. If the power is turned off during the trim recording operation, the data actually recorded in the AV stream on the disk device 9100 becomes data that can be managed by the AV file C1330. In addition, despite the fact that some data was recorded in the range from time T1 to T2 in the figure, the system information is in a state where only the data up to the AV file C1330 can be managed. A mismatch occurs between the actually recorded AV stream and the AV file, that is, the system information.
この不整合に対し、 本実施の形態の A Vストリーム記録再生装置は、 システム情報一 A Vファイル整合チェックコントローラ 9 6 0が、 この 不整合を、 2通りの方法で修正する。  In the AV stream recording / reproducing apparatus according to the present embodiment, the system information-AV file consistency check controller 960 corrects this mismatch in two ways.
第 1の方法は、 ディスク装置に記録されているシステム情報の内容に 基づく ものである。 ディスク装置 9 1 0には、 A Vファイル C 1 3 3 0 として管理可能な A Vストリームおよびそのシステム情報が記録されて いる。 .  The first method is based on the contents of system information recorded on a disk device. An AV stream that can be managed as an AV file C1330 and its system information are recorded on the disk device 9110. .
そこでシステム情報一 AVファイル整合チェッタコントローラ 9 6 0 は、 システム情報に記載されていない、 システム情報の保存タイミング 1 3 0 0 cから電源断 1 3 4 0までの間にディスク装置に記録された A Vス トリームを削除して、 A Vファイルに関連するシステム情報の記録 終端と.、 ディスク装置 91 0に記録された AVストリームの記録終端と を一致させる。 Therefore, the system information-AV file matching checker controller 960 sends the AV information recorded on the disk device between the storage timing of system information 1300 c and the power-off 134 0 that is not described in the system information. Delete the stream to record system information related to the AV file The end is matched with the recording end of the AV stream recorded on the disk device 910.
最後に、 システム情報一 AVファイル整合チェックコントローラ 96 0は、 保存タイミング 1 300 cまでの A Vファイルを、 ディスク装置 910により管理可能なものとして一時的に確定する。  Finally, the system information-AV file consistency check controller 960 temporarily determines the AV file up to the storage timing 1300c as being manageable by the disk device 910.
システム情報についてさらに詳細に説明する。 システム情報は主に F AT情報とオブジェクト情報に大別される。 FAT (F i l e A l l o c a t i o n t a b l e) 情報 、 AVストリームの記録順序を示 すものであり、 ォブ'ジェタ ト情報は、 AVストリームを番組単位で記録 するためものである。 このオブジェクト情報を終端であると設定して、 システム情報の記録終端時点における FAT情報、 AVストリームの記 録時間おょぴ AVストリームのデータサイズが定められ、 これらの情報 を有する AVファイルが一時的に確定される。  The system information will be described in more detail. System information is mainly divided into FAT information and object information. The FAT (File Alloc a tio nta b le) information indicates the recording order of the AV stream, and the object information is for recording the AV stream in units of programs. By setting this object information as the end, the FAT information at the end of the recording of the system information, the recording time of the AV stream, and the data size of the AV stream are determined, and the AV file having such information is temporarily stored. Is determined.
第 2の方法は、 ディスク装置に記録されている A Vス トリームの記録 終端に基づき、 システム情報の内容を書き換えるものである。  The second method is to rewrite the contents of system information based on the end of recording of the AV stream recorded on the disk device.
図 1 1は、 AVストリームのディスク装置 910上の記録単位となる 単位 AVストリームである DAU (D i s c Ac c e s s Un i t ) の構成を示す図である。  FIG. 11 is a diagram showing a configuration of a DAU (Dice Access Unit) which is a unit AV stream which is a recording unit on the disk device 910 of the AV stream.
図に示すように、 DAU 1 100は、 DAUヘッダ 1 1 10とペイ口 ード 1 120の 2種のデータから構成されており、 D AUヘッダ 1 1 1 As shown in the figure, the DAU 1 100 is composed of two types of data, a DAU header 1 1 10 and a pay mode 1 120, and the D AU header 1 1 1
0は DAU自体に関する情報を格納し、 ペイロード 1 1 20は AVスト リームの実データを格納するものである。 0 stores information on the DAU itself, and the payload 1 120 stores the actual data of the AV stream.
このとき、 DAUヘッダ 1 1 10には、 該 D AUヘッダを有する DA Uの前後に隣り合った DAUの番号 (図 11の D AU 1 100 bの場合 は、 隣り合った D AUは D AU 1 1 00 aおよび DAU 1 100 cとな る) や、 ディスク装置 91 0内の記録媒体であるディスク上の記録位置. を、 ポインタ 1 1 30として格納するようにする。 At this time, the DAU header 1 110 includes the number of the DAU adjacent to the front and rear of the DAU having the DAU header (in the case of D AU 1 100b in FIG. 11, the adjacent D AU is D AU 1 100 a and DAU 1 100 c), and the recording position on the disk that is the recording medium in the disk unit 910. Is stored as pointer 1 1 30.
これにより、 P LAY動作を行う際に、' DAUヘッダ 1 1 10を参照 してアクセスを行うことができるので、 ディスク側の FAT (F i l e By doing so, when performing the PLAY operation, it is possible to access by referring to the DAU header 1 1 10 so that the FAT (File
A l l o c a t i o n T a b l e) 情報を検索する等の動作の必要 がなくなり、 ディスク装置 9 10のアクセス効率を高める事ができる。 Alloc a tio o T ab le e) It is not necessary to perform operations such as searching for information, and the access efficiency of the disk devices 9 and 10 can be improved.
ところで、 図 1 1の構成を有する AVストリームの記録動作中に、 図 1 3に示すような'電源断 1 340が発生すると、 この D AU間の前後関 係を表すポインタ 1 130が、 中途半端な状態で途切れる場合がある。  By the way, during the recording operation of the AV stream having the configuration of FIG. 11, when the power-off 1 340 as shown in FIG. 13 occurs, the pointer 1130 indicating the relation between the D AUs becomes halfway. In some situations.
本実施の形態のシステム情報一 A Vファイル整合チェックコントロー ラ 960は、 D AUヘッダ 1 1 10にアクセスを行い、 この DAU間の 前後番号のボインタ 1 130を修復する。  The system information-AV file consistency check controller 960 of the present embodiment accesses the DAU header 1 110 and restores the pointers 1130 of the preceding and succeeding numbers between the DAUs.
特に、 AVス トリームの記録終端の D AUは、 その DAUヘッダに、 該 DAUの次に記録されるべき DAUの番号を指すボインタを保持した ままでディスク装置 910に記録されている可能性がある。 その場合、 システム情報一 AVファイル整合チェックコントローラ 960は、 記録 されている AVストリームデータの切れ目を見つけて、 終端となる D A Uにその情報を書き込む処理をおこなう。 ' . 具体的には、 該 AVス トリーム記録再生装置 900が R EC動作を行 う度に、 毎にィンクリメントされる共通の番号を各 D AUの D AUへッ ダに記録しておき、 システム情報一 A Vファィル整合チエックコント口 ーラ 9.60は、 その番号の不連続点を見つけるようにする。  In particular, the DAU at the recording end of the AV stream may be recorded on the disk device 910 with the DAU header holding a pointer indicating the DAU number to be recorded next to the DAU in the DAU header. . In this case, the system information-AV file consistency check controller 960 finds a break in the recorded AV stream data, and performs a process of writing that information to the terminal DAU. '. More specifically, every time the AV stream recording / reproducing device 900 performs a REC operation, a common number incremented each time is recorded in the D AU header of each D AU, and the system Information 1. The AV file matching check controller 9.60 tries to find the discontinuity of the number.
さらに、 システム情報一 AVファイル整合チェックコントローラ 96 0は、 DAUヘッダまたはペイロードから、 AVス トリームの記録終端 の DAUを見つけると、 これに基づき、 ディスク装置 910に記録され ているシステム情報を書き換えて、 該システム情報に記録されている D AUの終端を、 AVス トリームの記録終端の DAUと一致させるように する。 Further, when the system information-AV file consistency check controller 960 finds the DAU at the recording end of the AV stream from the DAU header or the payload, it rewrites the system information recorded on the disk device 910 based on the DAU. The end of the DAU recorded in the system information should match the DAU at the end of recording in the AV stream. I do.
次に、 図 13に示す例では、 電源断 1 340が生じた時点で、 システ ム情報は保存タイミング 1300 Cに従って A Vファイル C 1 330ま での AVス トリームを管理しており、 その DAUの終端は、 DAU1 1 00となっているが、 システム情報 A Vファイル整合チェックコント ローラ 960は、 電源断 1 340の時点の D AU 1 100を検出したこ とにより、 システム情報を、 該 DAU 1 100の情報を含むものとして 書き換える。 システム情報が書き換えられたことにより、 新たに AVフ アイル D 1 350が生成される。 これは、 AVファイル Cの AVス トリ ームと、 DAU 1 100から AVストリームの記録終端までの DAUの 部分の A Vストリームを含むものである。  Next, in the example shown in Fig. 13, at the point when the power is turned off 1340, the system information manages the AV stream up to the AV file C1330 according to the save timing 1300C, and the DAU termination Is set to DAU1 100, but the system information AV file consistency check controller 960 detects the DAU1100 at the time of the power-off 1340, and the system information is transferred to the DAU1100. Rewrite as including. By rewriting the system information, a new AV file D1350 is generated. This includes the AV stream of the AV file C and the AV stream of the DAU from the DAU 1100 to the end of recording of the AV stream.
最後に、 システム情報一 AVファイル整合チェックコントローラ 96 0は、 時刻 T 2までの AVストリームを含む AVファイルを、 ディスク 装置 910により管理可能なものとして一時的に確定する。  Finally, the system information-AV file consistency check controller 960 temporarily determines an AV file including the AV stream up to time T2 as being manageable by the disk device 910.
以上の動作を、 第 1の方法の場合と同様に FAT情報とオブジェク ト 情報とを用いて説明する。 オブジェク ト情報によって、 システム情報の 記録終端時点における FAT情報、 AVストリームの記録時間おょぴ A Vス トリームのデータサイズが定められるため、 システム情報一 AVフ アイル整合チェックコントローラ 960は、 電源断時の DAUに基づき 書き換えることによって FAT情報他の情報を更新し、 オブジェク ト情 報を終端であると設定して、 AVファイルを一時的に確定する。  The above operation will be described using FAT information and object information as in the case of the first method. The object information determines the FAT information at the end of the recording of system information, the recording time of the AV stream, and the data size of the AV stream. Update the FAT information and other information by rewriting based on DAU, set the object information as the end, and temporarily determine the AV file.
また、 AVストリーム記録再生装置 900は電源断から復帰した後、 電源断が生ずるまで入力を受け付けていた AVス トリームの入力を再開 することもでき、 該 AVス トリームの記録を、 電源断が生じた時点で一 時的に確定した A Vファイルを対象として行うようにすることができる c ディスク装置 901内には、 電源断が生じた時点で記録されている A Vス トリームまたはシステム情報に基づく A Vファイルが一時的に確定 しており、 AVファイル内の AVストリームは再生可能な状態となって いるが、 システム情報一 A Vファイル整合チェックコントローラ 960 は、 ディスク装置 ·901に記録される AVストリームが、 電源断までに 入力していた AVス トリームと同一であることを検出すると、 AVス ト リームの記録対象として、 上記の 2方法のいずれかにて一時的に確定し た AVファイルを設定する。 このとき、 システム情報一AVファイル整 合チェックコントローラ 960は、 AVファイルのシステム情報を書き 替え、 確定した AVファイルを未確定、 すなわち AVス トリームが追記 可能な状態とする。 Further, after the AV stream recording / reproducing device 900 recovers from the power interruption, it can resume the input of the AV stream which had been accepting the input until the power interruption occurred, and the recording of the AV stream can be restarted. The c- disk device 901 can be used to target the AV file temporarily fixed at the time when the power is turned off. The AV file based on the V stream or system information is temporarily determined, and the AV stream in the AV file is in a playable state. If it detects that the AV stream recorded in the 901 is the same as the AV stream that was input before the power was turned off, it will be temporarily recorded as an AV stream by one of the above two methods. Set the confirmed AV file. At this time, the system information-AV file consistency check controller 960 rewrites the system information of the AV file, and makes the confirmed AV file unconfirmed, that is, a state in which the AV stream can be additionally written.
これをォブジェク ト情報によって説明すると、 一時確定した AVファ ィルにおいては、 オブジェク ト情報を終端と設定することにより、 AV ファイルの記録終端時点における FAT情報、 AVストリームの記録時 間おょぴ AVストリームのデータサイズが定められるが、 システム情報 一 A Vファイル整合チェックコントローラ 960は、 このオブジェク ト 情報を終端ではないと書き替えるため、 AVス トリームの記録時間およ び AVス トリームのデータサイズは未確定に書き替えられる。 ただし F AT情報は、 単に記録媒体上の AVストリームの記録順を示すものであ るから内容自体が書き替えられることはない。  This will be described using object information. For a temporarily determined AV file, the object information is set to the end, so that the recording time of the FAT information and the AV stream at the end of the recording of the AV file is set. Although the data size of the stream is determined, the system information-The AV file consistency check controller 960 rewrites this object information not to the end, so the recording time of the AV stream and the data size of the AV stream are undefined. Rewritten to fixed. However, since the FAT information merely indicates the recording order of the AV stream on the recording medium, the content itself is not rewritten.
なお、 図 14に示すように、 電源断が生じる直前のシステム情報保存 のタイミングが、 図中破線部のように、 DAU全体のデータの記録が途 中に位置している場合、 システム情報は、 斜線部を含む DAU全体が、 データ記録が完了したものとみなして設定する。  As shown in FIG. 14, when the timing of saving the system information immediately before the power failure occurs, as shown by the broken line in the figure, when the data recording of the entire DAU is located in the middle, the system information is The entire DAU including the shaded area is set assuming that data recording is completed.
これにより、 追記動作を行う際、 斜線部のデータを含む DAUの次の DAUから始める'ことができる。 す わち、 このシステム情報の設定が なされていないと、 追記動作の際に、 斜線部のデータが未記録ととみな され、 DAU全体を再び記録する必要があるが、 上記の処理により、 同 一の DAUに重複した AVス トリー Λの記録動作を行う必要をなく して 、 迅速な追記動作を実現することができる。 This allows you to start with the DAU next to the DAU that includes the data in the shaded area when performing the appending operation. In other words, if this system information is not set, the data in the shaded area is regarded as unrecorded during the additional recording operation. It is necessary to record the entire DAU again, but with the above processing, it is not necessary to perform the recording operation of the AV stream に duplicated in the same DAU, and it is possible to realize the rapid additional recording operation .
このように、 本実施の形態によれば、 AVス トリームを記録中に、 事 故等の原因で装置に電源断が生じたとしても、 電源断時までに記録され ていた A ス トリームまたはファイル情報に基づき、 A Vファイルを確 定して、 記録された AVストリームとシステム情報との間に不整合が生 ずることを防ぎ、 電源断が発生するまでに記録していた AVストリーム を、 再生可能な AVファイルとして保存することができる。  As described above, according to the present embodiment, even if the device loses power due to an accident or the like during recording of the AV stream, the A stream or file recorded by the time of the power failure is recorded. Based on the information, the AV file is determined, preventing inconsistency between the recorded AV stream and system information, and the AV stream that was recorded before the power failure occurred can be played Can be saved as an AV file.
また、 電源断以降、 AVス トリームの記録を再開す ¾場合、 それまで 記録の対象となっていた AVファイルに、 AVストリームの追記を行わ せることができる。  If the recording of the AV stream is restarted after the power is turned off, the AV stream that has been the target of recording can be added to the recording of the AV stream.
なお、 上記の動作においては、 AVス トリームの DAUヘッドに含ま れているポインタを参照することにより、 AVス,トリームの終端を検出 するものとして説明を行ったが、 これに限定する必要はなく、 連続して 記録される同一の AVス トリームに格納されている時間情報を直接参照 して、 AVス トリームの記録終端の DAUと、 該 DAUの次に記録され るべき DAUの切れ目を見つけるようにしてもよい。  Although the above operation has been described as detecting the end of the AV stream and the stream by referring to the pointer included in the DAU head of the AV stream, the present invention is not limited to this. Directly refer to time information stored in the same continuously recorded AV stream to find the DAU at the recording end of the AV stream and the DAU break to be recorded next to the DAU. It may be.
また、 上記の動作においては、 システム情報は定期的にディスク装置 9 10へ記録されているものとして説明を行ったが、 本発明はこれに限 定する必要はなく、 システム情報の記録は、 ランダムまたは間欠的にデ イスク装置 910へ記録されるようになっていてもよい。 さらに、 シス テム情報は AVストリームと同様に、 連続的に記録されるものであって もよい。 要するに、 本発明の AVス トリーム記録再生装置は、 連続的に 記録される AVス トリームと、 非連続的または連続的に記録されるシス テム情報とを記録できるものであれば、 上記の処理を行うことができる ものである。 - なお、 上記の A Vス トリーム記録再生装置 900の構成は、 従来の Q UE 930によって命令を受ける HDDコントロ ^"ラ 920を搭載した 、 従来の A Vストリーム記録再生装置上にて実現するものとして説明を 行ったが、 本実施の形態のシステム情報一 AVファイル整合チェックコ ントローラ 960は、 上記実施の形態 1〜実施の形態 4の. AVストリー ム記録再生装置に付加した構成として実現してもよい。 この場合、 スケ ジユーラ付き QUE 230による AV記録再生用 HDDコントローラ 9 40からの要求の処理の動作 ^合わせて、 ディスク装置への A Vストリ ームの記録、 再生時のデータの途切れを極力抑えて、 また、 途切れが起 こった場合でも、 再生または記録されるデータの品質を保持することが 可能となる。 Further, in the above operation, description has been made assuming that the system information is periodically recorded in the disk device 910. However, the present invention is not limited to this. Alternatively, the information may be intermittently recorded in the disk device 910. Further, the system information may be continuously recorded as in the case of the AV stream. In short, the AV stream recording / reproducing apparatus of the present invention performs the above processing as long as it can record continuously recorded AV streams and non-continuously or continuously recorded system information. It can be carried out Things. -The configuration of the AV stream recording / reproducing device 900 described above is described as being realized on a conventional AV stream recording / reproducing device equipped with a HDD controller ^ "920 that receives instructions from the conventional Q UE 930. However, the system information-AV file consistency check controller 960 of the present embodiment may be realized as a configuration added to the AV stream recording / reproducing apparatus of the above-described first to fourth embodiments. In this case, the operation of processing the request from the HDD controller 940 for AV recording and reproduction by the QUE 230 with a scheduler ^ In addition, the interruption of data during recording and reproduction of the AV stream to the disk device is minimized. In addition, even when a break occurs, the quality of data to be reproduced or recorded can be maintained.
また、 上記の実施の形態 1〜4において、 AV記録再生用 HDDコン トローラ 940、 ァドレス監視手段 220およびタイマ 510は、 本発 明の要求生成手段の一例である。 また、 スケジューラ付き QUE 230 は、 本発明の動作決定手段の一例である。 また、 HDDコントローラ 1 20およびディスク装置 1 10は、 本発明の記録再生手段の一例である c また、 上記の実施の形態 5において、 HDDコントローラ 920および ディスク装置 910は、 本発明の記録再生手段の一例である。 また、 シ ステム情報一 AVファイル整合チェックコントローラ 960は、 本発明 の整合手段の一例である。  In the first to fourth embodiments, the AV recording / reproducing HDD controller 940, the address monitoring means 220, and the timer 510 are examples of the request generation means of the present invention. The QUE 230 with a scheduler is an example of the operation determining means of the present invention. Further, the HDD controller 120 and the disk device 110 are examples of the recording / reproducing means of the present invention.c In the fifth embodiment, the HDD controller 920 and the disk device 910 are the recording / reproducing means of the present invention. This is an example. Further, the system information-AV file consistency check controller 960 is an example of the consistency means of the present invention.
このとき、 実施の形態 1〜4の AVス トリ ム記録再生装置 100、 200, 500, 600の構成は、 A Vス トリームおよびシステム情報 の記録再生可能なディスク装置 9 10を用い、 メモリ手段はシステム情 報バッファを備えたものとして説明を行ったが、 本発明 c A Vストリー ム記録再生装置は、 これに限定されるものではなく、 システム情報の記 録再生を省略した構成として実現してもよい。 At this time, the configuration of the AV stream recording / reproducing apparatuses 100, 200, 500, and 600 according to the first to fourth embodiments uses a disk device 910 capable of recording / reproducing the AV stream and system information, and the memory means is a system. Although the description has been made assuming that the apparatus has an information buffer, the c stream recording / reproducing apparatus of the present invention is not limited to this. The recording and reproduction may be omitted.
また、 実施の形態 5の AVストリーム記録再生装置 900の構成は、 AVストリームの記録再生可能なディスク装置 910を用いたものとし たが、 本発明の A Vス トリーム記録再生装置の記録手段は、 これに限定 されるものではなく、 記録だけを行うディスク装置を用いたものとして また、 上記の各実施の形態においては、 メモリ手段の有する RECバ ッファ 142、 242、 641、 642、 952および P L A Yパップ ァ 142、 242、 641、 642、 952は、 それぞれ 2つのブロッ ク (a、 bにて示した) に分かれているものとして説明を行ったが、 3 つ以上のプロックに分かれている場合でも、 同様に動作を行うことがで きる。  Further, the configuration of the AV stream recording / reproducing device 900 according to the fifth embodiment uses the disk device 910 capable of recording / reproducing the AV stream, but the recording means of the AV stream recording / reproducing device of the present invention is However, the present invention is not limited to this, and it is assumed that a disk device that performs only recording is used.In each of the above embodiments, the REC buffers 142, 242, 641, 642, 952, and PLAY buffer of the memory means are provided. Although 142, 242, 641, 642, and 952 are described as being divided into two blocks (indicated by a and b), the same applies to the case where there are three or more blocks. Operation can be performed immediately.
また、 上記の説明においては、 本発明の実施の形態における AVス ト リーム記録再生装置および AVストリーム記録装置について説明を行つ たが、 本発明は、 上述した本発明の AVス トリーム記録再生装置および AVス トリーム記録装置の全部または一部の手段 (または、 装置、 素子 、 回路、 部等) の機能をコンピュータにより実行させるためのプログラ ムであって、 コンピュータと協働して動作するプログラムであってもよ い。  Further, in the above description, the AV stream recording / reproducing apparatus and the AV stream recording apparatus according to the embodiment of the present invention have been described. However, the present invention provides the above-described AV stream recording / reproducing apparatus of the present invention. And a program for causing a computer to execute the functions of all or a part of the AV stream recording device (or device, element, circuit, unit, etc.), and a program that operates in cooperation with the computer. It may be.
また、 本発明は、 上述した本発明の AVス トリーム記録再生装置およ び AVストリーム'記録装置の全部ま^は一部の手段の全部または一部の 機能をコンピュータにより実行させるためのプログラムを担持した媒体 であり、 コンピュータにより読み取り可能且つ、 読み取られた前記プロ グラムが前記コンピュータと協動して前記機能を実行する媒体であって もよい。  The present invention also provides a program for causing a computer to execute all or some of the functions of all or some of the above-described AV stream recording / reproducing apparatus and AV stream recording apparatus of the present invention. The program may be a medium that is readable by a computer and that executes the function in cooperation with the computer.
なお、 本発明の一部の手段 (または、 装置、 素子、 回路、 部等) 、 本 発明の一部のステップ (または、 工程、 動作、 作用等) とは、 それらの 複数の手段またはステップの内の、 幾つかの手段またはステップを意味 し、 あるいは、 一つの手段またはステップの内の、 一部の機能または一 部の動作を意味するものである。 It should be noted that some means (or devices, elements, circuits, units, etc.) of the present invention, Some steps (or steps, actions, actions, etc.) of the invention mean several means or steps of the plurality of means or steps, or one of the means or steps. , Means some functions or some operations.
また、 本発明の一部の装置 (または、 素子、 回路、 部等) とは、 それ らの複数の装置の内の、 幾つかの装置を意味し、 あるいは、 一つの装置 の内の、 一部の手段 (または、 素子、 回路、 部等) を意味し、 あるいは 、 一つの手段の内の、 一部の機能を意味するものである。  Further, some devices (or elements, circuits, units, and the like) of the present invention mean several devices among a plurality of devices, or one device among one device. It means the means of a unit (or an element, a circuit, a unit, etc.), or means a part of the function of one means.
また、 本発明のプログラムを記録した、 コンピュータに読みとり可能 な記録媒体も本発明に含まれる。 .  Further, a computer-readable recording medium that records the program of the present invention is also included in the present invention. .
また、 本発明のプログラムの一利用形態は、 コンピュータにより読み 取り可能な記録媒体に記録され、 コンピュータと協働して動作する態様 であつ.ても良い。  Further, one usage form of the program of the present invention may be a form in which the program is recorded on a computer-readable recording medium and operates in cooperation with the computer.
また、 本発明のプログラムの一利用形態は、 伝送媒体中を伝送し、 コ ンピュータにより読みとられ、 コンピュータと協働して動作する態様で あっても良い。  One use form of the program of the present invention may be a form in which the program is transmitted through a transmission medium, read by a computer, and operates in cooperation with the computer.
また、 本発明のデータ構造としては、 データベース、 データフォーマ ッ ト、 データテーブル、 データリス ト、 データの種類などを含む。  Further, the data structure of the present invention includes a database, a data format, a data table, a data list, a data type, and the like.
また、 記録媒体としては、 R OM等が含まれ、 伝送媒体としては、 ィ ンターネ'ット等の '伝送媒体、 光,電波 ·音波等が含まれる。 また、 上述した本発明のコンピュータは、 C P U等の純然たるハード ウェアに限らず、 ファームウェアや、 O S、 更に周辺機器を含むもので あっても良い。  The recording medium includes ROM and the like, and the transmission medium includes transmission media such as the Internet, light, radio waves, and sound waves. Further, the computer of the present invention described above is not limited to pure hardware such as CPU, but may include firmware, OS, and peripheral devices.
なお、 以上説明した様に、 本発明の構成は、 ソフトウェア的に実現し ても良いし、 ハードウェア的に実現しても良い。 産業上の利用可能性 As described above, the configuration of the present invention may be realized by software or hardware. Industrial applicability
以上説明したところから明らかなように、 本発明によれば、 記録再生 時に生ずる A Vス トリームの途切れによる、 記録または再生時のデータ への影響を軽減することが可能な A Vス トリーム記録再生装置等を得る ことができる。  As is apparent from the above description, according to the present invention, an AV stream recording / reproducing apparatus capable of reducing the influence on data during recording or reproduction due to interruption of the AV stream occurring during recording / reproduction, etc. Can be obtained.
また、 本発明によれば、 動作中の動作中断によらず、 記録された A V ストリームとシステム情報との不整合を解消することが可能な A Vスト リーム記録装置等を得ることができる。  Further, according to the present invention, it is possible to obtain an AV stream recording device or the like that can eliminate the inconsistency between the recorded AV stream and the system information without interrupting the operation during operation.

Claims

請 求 の 範 囲 The scope of the claims
1 . AVス トリームに関する複数種類の記録再生動作を行う記録再 生手段と、  1. Recording / playback means for performing a plurality of types of recording / playback operations related to the AV stream;
少なくとも AVストリーム用の再生用バッファおよび記録用バッファ を有するメモリ手段と、  A memory means having at least a playback buffer and a recording buffer for an AV stream;
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする要求生成手段と、  Request generation means for monitoring the memory means and requesting a predetermined type of operation to be executed by the recording / reproduction means;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記記録再生動作の種類に応じて定められた優先 順位である A Vス トリーム記録再生装置。  An operation determining means for selecting a specific operation from the request queue based on a predetermined criterion, and determining an operation to be performed next by the recording / reproducing means, wherein the predetermined criterion is An AV stream recording / reproducing device that has a priority determined according to the type.
2 . 前記優先順位は、 前記記録用バッファへのデータの記録速度、 または前記再生用バッファから再生されるデータの再生速度に応じて変 わる請求項 1に記載の A Vストリーム記録再生装置。  2. The AV stream recording / reproducing apparatus according to claim 1, wherein the priority order changes according to a recording speed of data in the recording buffer or a reproducing speed of data reproduced from the reproducing buffer.
3 . AVストリームに関する複数種類の記録再生動作を行う記録再 生手段と、  3. Recording / playback means for performing a plurality of types of recording / playback operations on the AV stream,
少なくとも A Vストリーム用の再生用バッファおよび記録甩バッファ を有するメモリ手段と、  Memory means having at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファから読み出されるデータの容量、 または前記再生 用バッファに書き込まれるデータの容量が、 所定の閾値に達するかどう か監視して、 前記記録再生手段が実行する所定の種類の動作要求をする 要求生成手段と、  By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproduction buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproduction means is determined. Request generation means;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記メモリ手段内のデータの容量が、'.前記要求生 成手段が監視する所定の閾値に達したかどうかである AVストリーム記 An operation determining unit that selects a specific operation from the request queue based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit, wherein the predetermined criterion is: The data capacity is'. AV stream recording that has reached a predetermined threshold monitored by
4 . 前記所定の閾値は、 前記記録用バッファへのデータの書き込み 速度、 または前記再生用バッファから再生されるデータの再生速度に応 じて変わる請求項 3に記載の A Vストリーム記録再生装置。 4. The AV stream recording / reproducing apparatus according to claim 3, wherein the predetermined threshold value changes according to a data writing speed to the recording buffer or a reproduction speed of data reproduced from the reproduction buffer.
5 . 前記記録用パッファおよぴ Zまたは前記再生用バッファは複数 あり、  5. There are a plurality of the recording buffer and the Z or the reproduction buffer,
前記記録用バッファからの読み出し動作およぴ Zまたは前記再生用バ ッファへの書き込み動作は、 前記記録用バッファまたは前記再生用パッ ファの数に応じて並列的に行われ、  The reading operation from the recording buffer and the writing operation to Z or the reproduction buffer are performed in parallel according to the number of the recording buffer or the reproduction buffer.
'前記所定の閾値は、 前記記録用バッファまたは前記再生用バッファの 数が増えるにつれて低くなる請求項 3に記載の A Vストリーム記録再生  The AV stream recording / reproduction according to claim 3, wherein the predetermined threshold value decreases as the number of the recording buffer or the reproduction buffer increases.
6 . AVストリームに関する複数種類の記録再生動作を行う記録再 生手段と、 . 6. Recording / playback means for performing a plurality of types of recording / playback operations on AV streams.
少なくとも A Vストリーム用の再生用バッファおよび記録用バッファ を有するメモリ手段と、  Memory means having at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファから送出する AVストリームの書き込み速度、 ま たは前記再生用バッファへのデータの再生速度が、 所定の閾値に達する かどうか監視して、 前記記録再生手段が実行する所定の種類の動作要求 をする要求生成手段と、  By monitoring whether the writing speed of the AV stream transmitted from the recording buffer or the reproduction speed of the data in the reproduction buffer reaches a predetermined threshold value, a predetermined type of recording and reproduction performed by the recording and reproduction means is performed. A request generating means for performing an operation request;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生手段が次に行う動作を決定する動作決定手段とを備え、 前記所定の基準は、 前記書き込み速度または再生速度が、 前記要求生 成手段が監視する所定の閾値に達したかどうかである A Vストリーム記 ': An operation determining unit that selects a specific operation from the request queue based on a predetermined criterion, and determines an operation to be performed next by the recording / reproducing unit, wherein the predetermined criterion is the writing speed or the reproduction. An AV stream record indicating whether the speed has reached a predetermined threshold value monitored by the request generation means. ':
55  55
7 . 前記複数種類の記録再生操作は、 前記記録用バッファからの A Vス トリームの読み出し、 前記再生用バッファへの A Vス トリームの書 き込み、 前記再生用バッファへの A Vストリームの特殊再生用の書き込 みを、 少なくとも有する請求項 1、 3または 6のいずれかに記載の A V ストリーム記録再生装置。 '  7. The plurality of types of recording / playback operations include reading an AV stream from the recording buffer, writing an AV stream to the playback buffer, and performing special playback of an AV stream to the playback buffer. 7. The AV stream recording / reproducing apparatus according to claim 1, which has at least writing. '
8 . 前記メモリ手段は、 前記 A Vス トリームに関するシス ム情報 の読み出しまたは書き込みを行うシステム情報用バッファをさらに備え 前記複数種類の記録再生動作は、 前記システム情報用バッファに対す る前記システム情報の読み出しまたは書き込みを有する請求項 1, 3, 6または 7のいずれかに記載の A Vストリーム記録再生装置。  8. The memory means further includes a system information buffer for reading or writing system information related to the AV stream. The plurality of types of recording / reproducing operations include reading the system information from the system information buffer. 8. The AV stream recording / reproducing apparatus according to claim 1, further comprising writing.
9 . 前記優先順位は、 前記複数種類の記録再生動作聞での、 相対的 な重要性に基づき定められている請求項 1または 7に記載の A Vス トリ ーム記録再生装置。  9. The AV stream recording / reproducing apparatus according to claim 1, wherein the priority is determined based on a relative importance of the plurality of types of recording / reproducing operations.
1 0 . 前記優先順位は、 少なくとも前記記録用バッファからの A Vス トリームの読み出しが最優先で行われるものである請求項 1または 8に 記載の A Vス トリーム記録再生装置。  10. The AV stream recording / reproducing apparatus according to claim 1, wherein the priority is such that at least reading of the AV stream from the recording buffer is performed with the highest priority.
1 1 . A Vス トリームを連続的に記録するとともに、 所定のデータ量 の前記 A Vストリ一ムをォブジェクトとして処理するためのシステム情 報を、 前記 A Vス トリームの記録中に、 それまで記録された A Vストリ ームに対応するように、 非連続的に記録する記録手段と、 11. While recording the AV stream continuously, system information for processing the AV stream of a predetermined data amount as an object is recorded during the recording of the AV stream. Recording means for recording discontinuously so as to correspond to the AV stream;
前記記録手段に保持されている前記システム情報と、 前記記録手段に 記録された前記 A Vストリームとの整合性をとるための整合手段とを備 え、  The system information held in the recording means, and matching means for matching the AV stream recorded in the recording means,
前記整合手段は、 前記記録手段の記録動作が中絶した場合、 前記記録 手段に保持されている前記システム情報と、 前記システム情報の内容の 前記 A Vストリームとを、 前記オブジェクトとして対応させる A Vスト リーム記録装置。 When the recording operation of the recording unit is aborted, the matching unit includes the system information held in the recording unit, and the contents of the system information. An AV stream recording device that associates the AV stream with the object.
1 2 . AVス トリームを連続的に記録するとともに、 所定のデータ量 の前記 AVストリ一ムをォブジェク トとして処理するためのシ^テム情 報を、 前記 AVス トリームの記録中に、 それまで記録された A Vストリ 一ムに対応するように、 非連続的に記録する記録手段と、  12. While continuously recording the AV stream, system information for processing the AV stream having a predetermined data amount as an object is stored during the recording of the AV stream. Recording means for recording discontinuously so as to correspond to the recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 A Vス トリーム との整合性をとるための整合手段とを備え、  The system information, and matching means for matching the AV stream recorded in the recording means,
前記整合手段は、 前記記録手段の記録動作が中絶した場合、 それまで 前記記録手段に記録されていた前記 AVストリームおよび前記システム 情報を参照して、 前記 A Vス トリームの記録終端を検出して、 該記録終 端までの AVス トリームと、 前記システム情報との内容とを、 前記ォプ ジェク トとして対応させる A Vストリーム記録装置。  When the recording operation of the recording unit is aborted, the matching unit refers to the AV stream and the system information that have been recorded in the recording unit, and detects a recording end of the AV stream, An AV stream recording apparatus that associates the AV stream up to the recording end with the contents of the system information as the object.
1 3 . 前記 A Vス トリームは、 前記 A Vス トリームの内容の連続性を 保っための識別子を有し、  13. The AV stream has an identifier for maintaining continuity of the content of the AV stream,
前記整合手段は、 前記識別子を参照して、 前記 AVス トリームの内容 の連続性を判断する請求項 1 2に記載の A Vス トリーム記録装置。  13. The AV stream recording device according to claim 12, wherein the matching unit determines continuity of the contents of the AV stream with reference to the identifier.
1 4 . 前記 A Vス トリームは、 前記 A Vス トリームの連続性を保った めの時間情報を有し、  14. The AV stream has time information for maintaining continuity of the AV stream,
前記整合手段は、 前記時間情報を参照して、 前記 A Vストリームの連 続性を判断する請求項 1 2に記載の A Vス トリーム記録装置。  13. The AV stream recording device according to claim 12, wherein the matching unit refers to the time information to determine continuity of the AV stream.
1 5 . 前記整合手段は、 前記記録手段が前記中絶以後に前記中絶時の データの記録を再開した場合、 前記処理可能となった前記オブジェクト のシステム情報の内容を書き換えて、 前記オブジェク トの内容を、 前記 中絶後のデータを含むことができるように更新する請求項 1 1または 1 2に記載の A Vス トリーム記録装置。 15. The aligning means, when the recording means resumes recording of the data at the time of the abortion after the abortion, rewrites the contents of the system information of the object which can be processed, thereby rewriting the contents of the object. 13. The AV stream recording device according to claim 11, wherein the AV stream recording device is updated so as to include the post-abortion data.
1 6 . AVス トリームに関する複数種類の記録再生動作を行う記録再 生工程と、 · 16 6. A recording / reproducing process for performing a plurality of types of recording / reproducing operations related to the AV stream;
少なくとも A Vス トリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vス トリームの一時記録を行うメモリ工程と、  A memory step of temporarily recording the AV stream using at least an AV stream playback buffer and a recording buffer;
前記メモリ工程を監視して、 前記記録再生工程が実行する所定の種類 の動作要求をする要求生成工程と、  A request generation step of monitoring the memory step and requesting a predetermined type of operation request executed by the recording / reproduction step;
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選び 、 前記記録再生手段が次に行う動作を決定する動作決定工程とを備え、 前記所定の基準は、 前記記録再生動作の種類に応じて定められた優先 順位である A Vス トリーム記録再生方法。  An operation determining step of selecting a specific operation from a queue of the requests based on a predetermined criterion and determining an operation to be performed next by the recording / reproducing means, wherein the predetermined criterion is An AV stream recording / reproducing method that has a priority determined according to the type.
1 7 . A Vストリームに関する複数種類の記録再生動作を行う記録再 生工程と、  17. A recording / reproducing process for performing a plurality of types of recording / reproducing operations on the AV stream;
少なくとも A Vストリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vストリームの一時記録を行うメモリ工程と、  A memory step of temporarily recording the AV stream using at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファから読み出されるデータの容量、 または前記再生 用バッファに書き込まれるデータの容量が、 所定の閾値に達するかどう か監視して、 前記記録再生工程が実行する所定の種類の動作要求をする 要求生成工程と、  By monitoring whether the amount of data read from the recording buffer or the amount of data written to the reproduction buffer reaches a predetermined threshold, a predetermined type of operation request executed by the recording / reproduction process is determined. Request generation process,
前記要求のキューの中から、 所定の基準に基づき、 特定の動作を選ぴ 、 前記記録再生工程にて次に行う動作を決定する動作決定工程とを備え 前記所定の基準は、 前記メモリ工程におけるデータの容量が、 前記要 求生成工程が監視する所定の閾値に達したかどうかである A Vス トリー ム記録再生方法。  An operation determining step of selecting a specific operation from the request queue based on a predetermined criterion and determining an operation to be performed next in the recording / reproducing step. An AV stream recording / reproducing method, which is for determining whether or not a data capacity has reached a predetermined threshold value monitored by the request generation step.
1 8 . AVストリームに関する複数種類の記録再生動作を行う記録再 生工程と、 少なくとも A Vストリーム用の再生用バッファおよび記録用バッファ を用いて前記 A Vストリームの一時記録を行うメモリ工程と、 . 18. A recording / reproducing process for performing a plurality of types of recording / reproducing operations on an AV stream; A memory step of temporarily recording the AV stream using at least a playback buffer and a recording buffer for the AV stream;
前記記録用バッファからのデータの読み出し速度、 または前記再生用 バッファへのデータの書き込み速度が、 所定の閾値に達するかどうか監 視して、 前記記録再生工程が実行する所定の種類の動作要求をする要求 生成工程と、  By monitoring whether a reading speed of data from the recording buffer or a writing speed of data to the reproduction buffer reaches a predetermined threshold value, a predetermined type of operation request executed by the recording / reproduction process is monitored. Request generation process,
前記要求のキューの中から、 所定の基準に基づき、:特定の動作を選び 、 前記記録再生工程にて次に行う動作を決定する動作決定工程とを備え 前記所定の基準は、 前記読み出し速度または書き込み速度が、 前記要 求生成手段が監視する所定の閾値に達したかどうかである A Vストリー ム記録再生方法。  An operation determining step of selecting a specific operation from the request queue based on a predetermined criterion and determining an operation to be performed next in the recording / reproducing step, wherein the predetermined criterion is the read speed or An AV stream recording / reproducing method for determining whether a writing speed has reached a predetermined threshold value monitored by the request generation means.
1 9 . A Vス トリームを連続的に記録するとともに、 所定のデータ量 の前記 A Vストリ一ムをォブジェクトとして処理するためのシステム情 報を、 前記 AVス トリームの記録中に、 それまで記録された AVストリ ームに対応するように、 非連続的に記録する記録工程と、  19. While recording the AV stream continuously, system information for processing the AV stream having a predetermined data amount as an object is recorded during the recording of the AV stream. A recording step of discontinuously recording to correspond to the AV stream;
前記記録工程により保持されている前記システム情報と、 前記記録ェ 程にて記録された前記 A Vス トリームとの整合性をとるための整合工程 とを備え、  A matching step for matching the system information held in the recording step with the AV stream recorded in the recording step,
前記整合工程は、 前記記録工程の記録動作が中絶した場合、 前記記録 工程により保持されている前記システム情報と、 前記システム情報の内 容の前記 A Vストリームとを、 前記オブジェク トとして対応させる A V ス トリーム記録方法。  When the recording operation of the recording step is aborted, the matching step is an AV stream that associates the system information held in the recording step with the AV stream of the system information as the object. Trim recording method.
2 0 . AVス トリームを連続的に記録するとともに、 所定のデータ量 の前記 A Vストリ一ムをォブジェクトとして処理するためのシステム情 報を、 前記 AVス トリームの記録中に、 それまで記録された AVス トリ ームに対応するように、 非連続的に記録する記録工程と、 ' 前記システム情報と、 前記記録工程にて記録された前記 AVストリー ムとの整合性をとるための整合工程とを備え、 20. While recording the AV stream continuously, system information for processing a predetermined amount of the AV stream as an object is recorded during the recording of the AV stream. AV Story A recording step of recording discontinuously so as to correspond to a stream, and a matching step for obtaining consistency between the system information and the AV stream recorded in the recording step.
前記整合工程は、 前記記録工程の記録動作が中絶した場合、 それまで 前記記録工程により記録されていた前記 AVス トリームおょぴ前記シス テム情報を参照して、 前記 A Vス トリームの記録終端を検出して、 該記 録終端までの A Vス トリームと、 前記システム情報との内容とを、 前記 オブジェクトとして対応させる A Vス トリーム記録方法。  In the matching step, when the recording operation of the recording step is aborted, the recording end of the AV stream is referred to by referring to the AV stream and the system information recorded by the recording step. An AV stream recording method for detecting the AV stream up to the end of the recording and associating the content of the system information with the content of the system information as the object.
2 1 . 請求項 Γに記載の A Vストリーム記録再生装置の、 A Vストリ ームに関する複数種類の記録再生動作を行う記録再生手段と、 少なくと も A Vストリーム用の再生用バッファおよび記録用バッファを有するメ モリ手段と、 , 21. The AV stream recording / reproducing apparatus according to claim 有 す る, comprising: recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream; and at least a reproduction buffer for the AV stream and a recording buffer. Memory means,,
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする要求生成手段と、 前記要求のキューの中から、 所定の 基準に基づき、 特定の動作を選び、 前記記録再生手段が次に行う動作を 決定する動作決定手段との全部または一部としてコンピュータを機能さ せるためのプログラム。  A request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording / reproduction unit; and selecting a specific operation from a queue of the request based on a predetermined criterion. A program for causing a computer to function as all or part of an operation determining unit that determines an operation to be performed next by a reproducing unit.
2 2 . 請求項 3に記載の A Vス トリーム記録再生装置の、 A Vス トリ ームに関する複数種類の記録再生動作を行う記録再生手段と、 少なくと も A Vストリーム用の再生用バッファおよび記録用バッファを有するメ モリ手段と、 前記記録用バッファから読み出されるデータの容量、 また は前記再生用バッファに書き込まれるデータの容量が、 所定の閾値に達 するかどうか監視して、 前記記録再生手段が実行する所定の種類の動作 要求をする要求生成手段と、 前記要求のキューの中から、 所定の基準に 基づき、 特定の動作を選び、 前記記録再生手段が次に行う動作を決定す る動作決定手段との全部または一部としてコンピュータを機能させるた めのフ。口グラム。 22. The AV stream recording / reproducing apparatus according to claim 3, wherein the recording / reproducing means for performing a plurality of types of recording / reproducing operations related to the AV stream, at least a reproducing buffer for the AV stream and a recording buffer. A memory unit having the following configuration: monitoring whether a capacity of data read from the recording buffer or a capacity of data written to the reproduction buffer reaches a predetermined threshold value; Request generation means for making a predetermined type of operation request, and operation determination means for selecting a specific operation from a queue of the requests based on a predetermined criterion, and determining the next operation to be performed by the recording / reproducing means. To make the computer function as all or part of Fu. Mouth g.
2 3 . 請求項 6に記載の A Vストリーム記録再生装置の、 A Vストリ ームに関する複数種類の記録再生動作を行う記録再生手段と、 少なくと も A Vス トリーム用の再生用バッファおよび記録用バッファを有するメ モリ手段と、 前記記録用バッファからのデータの読み出し速度、 または 前記再生用バッファへのデータの書き込み速度が、 所定の閾値に達する かどうか監視して、 前記記録再生手段が実行する所定の種類の動作要求 をする要求生成手'段と、 前記要求のキューの中から、 所定の基準に基づ き、 特定の動作を選び、 前記記録再生手段が次に行う動作を決定する動 作決定手段との全部または一部としてコンピュータを機能させるための プログラム。  23. The AV stream recording / reproducing apparatus according to claim 6, wherein the recording / reproducing means for performing a plurality of types of recording / reproducing operations relating to the AV stream, and at least a reproduction buffer and a recording buffer for the AV stream are provided. A memory means having the data read / write speed for reading data from the recording buffer or a write speed of data to the reproduction buffer for monitoring a predetermined threshold value; A request generation means for making a type of operation request, and an operation determination for selecting a specific operation from a queue of the requests based on a predetermined criterion and determining an operation to be performed next by the recording / reproducing means. A program that causes a computer to function as all or part of the means.
2 4 . 請求項 1 1に記載の A Vス トリーム記録装置の、 A Vス トリー ムを連続的に記録するとともに、 所定のデータ量の前記 A Vストリーム をォブジェクトとして処理するためのシステム情報を、 前記 A Vストリ ームの記録中に、 それまで記録された AVストリームに対応するように 、 非連続的に記録する記録手段と、 前記記録手段に保持されている前記 システム情報と、 前記記録手段に記録された前記 A Vストリームとの整 合性をとるための整合手段との全部または一部としてコンピュータを機 能させるためのプログラム。 .  24. The AV stream recording apparatus according to claim 11, wherein system information for continuously recording the AV stream and processing the AV stream having a predetermined data amount as an object is stored in the AV stream recording apparatus. During recording of the stream, recording means for discontinuously recording so as to correspond to the AV stream recorded so far, the system information held in the recording means, and the recording means recorded in the recording means. And a program for causing a computer to function as all or a part of matching means for obtaining consistency with the AV stream. .
2 5 . 請求項 1 2に記載の AVストリーム記録装置の、 AVストリー ムを連続的に記録するとともに、 所定のデータ量の前記 A Vス ト'リーム をォブジェクトとして処理するためのシステム情報を、 前記 A Vストリ ームの記録中に、 それまで記録された AVストリームに対応するように 、 非連続的に記録する記録手段と、 25. The AV stream recording apparatus according to claim 12, wherein the system information for continuously recording the AV stream and processing the AV stream having a predetermined data amount as an object is stored in the AV stream recording apparatus. Recording means for recording discontinuously during recording of the AV stream so as to correspond to the previously recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 A Vストリーム との整合性をとるための整合手段との全部または一部としてコンビユー タを機能させるためのプログラム。 As a whole or a part of the matching unit for matching the system information with the AV stream recorded in the recording unit, Program to make the data work.
2 6 . 請求項 1に記載の A Vストリーム記録再生装置の、 A Vストリ ームに関する複数種類の記録再生動作を行う記録再生手段と、 少なくと も A Vストリーム用の再生用バッファおよび記録用パップァを有するメ モリ手段と、  26. The AV stream recording / reproducing apparatus according to claim 1, comprising a recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream, and at least a reproducing buffer for the AV stream and a recording papper. Memory means,
前記メモリ手段を監視して、 前記記録再生手段が実行する所定の種類 の動作要求をする要求生成手段と、 前記要求のキューの中から、 所定の 基準に基づき、 特定の動作を選び、 前記記録再生手段が次に行う動作を 決定する動作決定手段との全部または一部としてコンピュータを機能さ せるためのプログラムを担持した媒体であって、 コンピュータにより処 理可能な媒体。  A request generation unit for monitoring the memory unit and issuing a predetermined type of operation request to be executed by the recording / reproduction unit; and selecting a specific operation from a queue of the request based on a predetermined criterion. A medium carrying a program for causing a computer to function as all or a part of an operation determining means for determining an operation to be performed next by a reproducing means, and which can be processed by the computer.
2 7 . 請求項 3に記載の A Vス トリーム記録再生装置の、 A Vストリ ームに関する複数種類の記録再生動作を行う記録再生手段と、 少なくと も A Vストリーム用の再生用バッファおよび記録用バッファを有するメ モリ手段と、 前記記録用バッファから読み出されるデータの容量、 また は前記再生用バッファに書き込まれるデータの容量が、 所定の閾値に達 するかどうか監視して、 前記記録再生手段が実行する所定の種類の動作 要求をする要求生成手段と、 前記要求のキューの中から、'所定の基準に 基づき、 特定の動作を選び、 前記記録再生手段が次に行う動作を決定す る動作決定手段との全部または一部としてコンピュータを機能させるた めのプログラムを担持した媒体であって、 コンピュータにより処理可能 な媒体。  27. The AV stream recording / reproducing apparatus according to claim 3, wherein the recording / reproducing means for performing a plurality of types of recording / reproducing operations related to the AV stream, and at least a reproducing buffer and a recording buffer for the AV stream are provided. The recording / reproducing means executes the process by monitoring whether or not the memory means having the data capacity read out from the recording buffer or the capacity of the data written in the reproduction buffer reaches a predetermined threshold value. Request generating means for performing a predetermined type of operation request; and operation determining means for selecting a specific operation from a queue of the request based on a predetermined criterion and determining an operation to be performed next by the recording / reproducing means. A medium that carries a program for causing a computer to function as all or part of the above, and that can be processed by a computer.
2 8 . 請求項 6に記載の A Vス トリーム記録再生装置の、 A Vス トリ ームに関する複数種類の記録再生動作を行う會己録再生手段と、 少なくと も A Vストリーム用の再生用 'バッファおよび記録用バッファを有するメ モリ手段と、 前記記録用バッファからのデータの読み出し速度、 または 前記再生用バッファへのデータの書き込み速度が、 所定の閾値に達する かどうか監視して、 前記記録再生手段が実行する所定の種類の動作要求 をする要求生成手段と、 前記要求のキューの中から、 所定の基準に基づ き、 特定の動作を選び、 前記記録再生手段が次に行う動作を決定する動 作決定手段との全..部または一部とし Tコンピュータを機能させるための プログラムを担持した媒体であって、 コンピュータにより処理可能な媒 体。 28. The AV stream recording / reproducing apparatus according to claim 6, wherein self-recording / reproducing means for performing a plurality of types of recording / reproducing operations on the AV stream; A memory means having a recording buffer; a reading speed of data from the recording buffer; or A request generation unit that performs a predetermined type of operation request executed by the recording and reproduction unit by monitoring whether a writing speed of data to the reproduction buffer reaches a predetermined threshold; and Based on a predetermined standard, a specific operation is selected, and the operation determining means for determining the next operation to be performed by the recording / reproducing means is a part or a part of a program for causing the T computer to function. A supported medium that can be processed by a computer.
2 9 . 請求項 1 1に記載の A Vス トリーム記録装置の、 A Vス トリー ムを連続的に記録するとともに、 所定のデータ量の前記 A Vストリーム をォブジェクトとして処理するためのシステム情報を、 前記 AVストリ ームの記録中に、 それまで記録された A Vストリームに対応するように 、 非連続的に記録する記録手段と、 前記記録丰段に保持されている前記 システム情報と、 前記記録手段に記録された前記 A Vストリームとの整 合性をとるための整合手段との全部または一部としてコンピュータを機 能させるためのプログラムを担持した媒体であって、 コンピュータによ り処理可能な媒体。  29. The AV stream recording apparatus according to claim 11, wherein system information for continuously recording the AV stream and processing the AV stream having a predetermined data amount as an object is stored in the AV stream recording apparatus. During the recording of the stream, recording means for discontinuously recording so as to correspond to the AV stream recorded so far, the system information held in the recording means, and recording in the recording means A medium for storing a program for causing a computer to function as all or a part of matching means for obtaining consistency with the AV stream, wherein the medium can be processed by the computer.
' 3 0 . 請求項 1 2に記載の AVス トリーム記録装置の、 AVス トリー ムを連続的に記録するとともに、 所定のデータ量の前記 A Vストリーム をオブジェクトとして処理するためのシステム情報を、 前記 AVストリ ームの記録中に、 それまで記録された A Vストリームに対応するように 、 非連続的に記録する記録手段と、  '30. The AV stream recording apparatus according to claim 12, wherein the system information for continuously recording the AV stream and processing the AV stream having a predetermined data amount as an object is provided. Recording means for recording discontinuously during recording of the AV stream so as to correspond to the previously recorded AV stream;
前記システム情報と、 前記記録手段に記録された前記 A Vス トリーム との整合性をとるための整合手段との全部または一部としてコンビユー タを機能させるためのプログラムを担持した媒体であって、 コンビユー タにより処理可能な媒体。  A medium carrying a program for causing a computer to function as all or part of the system information and matching means for matching the AV stream recorded on the recording means, comprising: Media that can be processed by
PCT/JP2001/009467 2000-10-30 2001-10-29 Av stream recording/reproducing device, av stream recording device, av stream recording/reproducing method, av stream recording method WO2002037490A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000331516 2000-10-30
JP2000-331516 2000-10-30

Publications (1)

Publication Number Publication Date
WO2002037490A1 true WO2002037490A1 (en) 2002-05-10

Family

ID=18807848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2001/009467 WO2002037490A1 (en) 2000-10-30 2001-10-29 Av stream recording/reproducing device, av stream recording device, av stream recording/reproducing method, av stream recording method

Country Status (2)

Country Link
TW (1) TWI227016B (en)
WO (1) WO2002037490A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416954A (en) * 2019-01-07 2020-07-14 深圳声联网科技有限公司 Audio and video backtracking recording method and wireless monitoring system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05307834A (en) * 1992-05-01 1993-11-19 Victor Co Of Japan Ltd Buffer memory device
JPH06195178A (en) * 1991-11-19 1994-07-15 Adaptec Inc Page-mode buffer controller and structure
JPH0854990A (en) * 1994-08-09 1996-02-27 Matsushita Electric Ind Co Ltd Providing device for information on dynamic image
JPH09134573A (en) * 1995-10-30 1997-05-20 Samsung Electron Co Ltd Memory control circuit of cd-rom driving system and its method
JPH1097492A (en) * 1996-06-24 1998-04-14 Samsung Electron Co Ltd Device and method for priority control for memory access
JPH10222929A (en) * 1997-01-21 1998-08-21 Samsung Electron Co Ltd System decoder for high-speed data transmission and method for controlling track buffering
JPH10275059A (en) * 1996-04-30 1998-10-13 Matsushita Electric Ind Co Ltd Storage device controller and management system
JPH1169279A (en) * 1997-06-10 1999-03-09 Matsushita Electric Ind Co Ltd Recording and reproducing device
JP2000224549A (en) * 1999-01-27 2000-08-11 Matsushita Electric Ind Co Ltd Data transfer controlling method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06195178A (en) * 1991-11-19 1994-07-15 Adaptec Inc Page-mode buffer controller and structure
JPH05307834A (en) * 1992-05-01 1993-11-19 Victor Co Of Japan Ltd Buffer memory device
JPH0854990A (en) * 1994-08-09 1996-02-27 Matsushita Electric Ind Co Ltd Providing device for information on dynamic image
JPH09134573A (en) * 1995-10-30 1997-05-20 Samsung Electron Co Ltd Memory control circuit of cd-rom driving system and its method
JPH10275059A (en) * 1996-04-30 1998-10-13 Matsushita Electric Ind Co Ltd Storage device controller and management system
JPH1097492A (en) * 1996-06-24 1998-04-14 Samsung Electron Co Ltd Device and method for priority control for memory access
JPH10222929A (en) * 1997-01-21 1998-08-21 Samsung Electron Co Ltd System decoder for high-speed data transmission and method for controlling track buffering
JPH1169279A (en) * 1997-06-10 1999-03-09 Matsushita Electric Ind Co Ltd Recording and reproducing device
JP2000224549A (en) * 1999-01-27 2000-08-11 Matsushita Electric Ind Co Ltd Data transfer controlling method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416954A (en) * 2019-01-07 2020-07-14 深圳声联网科技有限公司 Audio and video backtracking recording method and wireless monitoring system

Also Published As

Publication number Publication date
TWI227016B (en) 2005-01-21

Similar Documents

Publication Publication Date Title
US6763429B1 (en) Method and apparatus for recording and playing back information
JP2003533843A (en) How to improve bandwidth efficiency
US6697902B1 (en) Data storage device and interface device for the data storage device
JP2008243367A (en) Method and device for recording broadcast data
JPH10269706A (en) Information reproducing apparatus and information reproducing method
US7194548B1 (en) Data transmission apparatus, receiving apparatus, and sending apparatus
WO2007072843A1 (en) Recording device for recording a content into a plurality of recording media and control method thereof
JP2006244653A (en) Device and method for recording stream data
JP2004334459A (en) Recording and reproduction device, method, and program
WO2002037490A1 (en) Av stream recording/reproducing device, av stream recording device, av stream recording/reproducing method, av stream recording method
JP2002203363A (en) Av stream recording and reproducing device, av stream recorder, av stream recording and reproducing method, and av stream recording method
KR100837012B1 (en) Recording/reproducing apparatus, recording/reproducing method, medium, and program
JP3997640B2 (en) Information recording / reproducing device
JPH08171459A (en) Information processing system
JP2009151838A (en) Data processor and data processing method
JP2005317139A (en) Recording/reproducing device
JP2004078704A (en) Image and sound record/playback device and file read/write method thereof
JP2008171566A (en) Device and method for reproducing data, and device and method for recording data
US20050141382A1 (en) Optical disk apparatus
WO2010007727A1 (en) Video recording device, video reproduction device, and method thereof
JP2004362592A (en) System and method using swappable storage device for storing program data
JP4137429B2 (en) Recording / reproducing apparatus, recording / reproducing method, program, and recording medium
JP3973443B2 (en) Recording / reproducing apparatus and recording / reproducing method
JPH03214315A (en) Digital data recording and reproducing device
JPS6359640A (en) Log information file control system

Legal Events

Date Code Title Description
DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase