WO2005117323A1 - トランスポートストリーム処理装置およびトランスポートストリーム処理方法 - Google Patents

トランスポートストリーム処理装置およびトランスポートストリーム処理方法 Download PDF

Info

Publication number
WO2005117323A1
WO2005117323A1 PCT/JP2005/009788 JP2005009788W WO2005117323A1 WO 2005117323 A1 WO2005117323 A1 WO 2005117323A1 JP 2005009788 W JP2005009788 W JP 2005009788W WO 2005117323 A1 WO2005117323 A1 WO 2005117323A1
Authority
WO
WIPO (PCT)
Prior art keywords
transport stream
adaptation field
value
stream packet
packet
Prior art date
Application number
PCT/JP2005/009788
Other languages
English (en)
French (fr)
Inventor
Mikihiko Yamada
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.
Priority to US11/568,581 priority Critical patent/US7706400B2/en
Priority to EP05743660A priority patent/EP1758288A4/en
Priority to JP2006513962A priority patent/JP4279876B2/ja
Priority to CN2005800172276A priority patent/CN1961522B/zh
Publication of WO2005117323A1 publication Critical patent/WO2005117323A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream

Definitions

  • the present invention relates to a transport stream processing apparatus and a transport stream processing method.
  • the present invention relates to a transport stream processing device that processes a transport stream and a transport stream processing method.
  • a receiving apparatus that decodes a video signal and an audio signal encoded by such a high-efficiency compression encoding method, it is necessary to synchronize a reference clock with a reference clock of a transmitting apparatus.
  • a time reference value for example, data called PCR (Program Clock Reference) indicating a reference time is transmitted in a transport stream packet (hereinafter, referred to as a TS packet) in a transport stream transmitted from a transmitting device. Call).
  • PCR Program Clock Reference
  • an STC System Time Clock
  • the frequency of the reference clock is adjusted based on the STC value.
  • a transmission error due to jitter or the like in a transmission path may cause a data error S in a TS bucket of a transport stream.
  • Patent Document 1 proposes an error recovery method when an error occurs in section data of a TS packet.
  • the extracted valid data length is made to match the data length information in the section on a byte-by-byte basis so that the start position of the next extracted section can be recognized.
  • Patent Document 1 Japanese Patent No. 3065276 Disclosure of the invention
  • the STC of the receiving apparatus is reproduced based on an incorrect PCR.
  • the synchronization process between the reference clock in the receiving device and the reference clock in the transmitting device is performed based on incorrect PCR.
  • the synchronization processing of the TS packets received thereafter is performed using the STC reproduced based on the incorrect PCR. In this way, a synchronization process based on incorrect PCR is propagated. As a result, proper synchronization is not ensured between the reference clock of the receiving device and the reference clock of the transmitting device.
  • the receiving apparatus performs unnecessary synchronization processing based on the erroneous PCR, and a useless load is generated in the processing of the TS packet.
  • An object of the present invention is to prevent the transmission of a data error when a data error occurs in a transport stream packet, to ensure normal synchronization of a reference clock, and to reduce the load of synchronization processing. It is an object of the present invention to provide a transport stream processing device and a transport stream processing method.
  • a transport stream processing apparatus is a transport stream processing apparatus that processes a transport stream including a transport stream packet including time information, the transport stream processing apparatus generating a reference clock, and A control unit that controls the frequency of the reference clock based on the time information included in the transport stream packet inside, and a transport stream process that performs a predetermined process on the transport stream in response to the reference clock generated by the control unit And a detector for detecting a data error in a transport stream packet including time information in the transport stream. And a stop unit for stopping the control operation of the reference clock frequency by the control unit when a data error of the transport stream packet including the time information is detected by the detection unit.
  • the control unit In this transport stream processing device, the control unit generates the reference clock and controls the frequency of the reference clock based on the time information included in the transport stream packet in the transport stream. . A predetermined process is performed on the transport stream by the transport stream processing unit in response to the generated reference clock. Further, a data error of the transport stream packet including the time information in the transport stream is detected by the detection unit. When the detection unit detects a data error of the transport stream packet including the time information, the control unit stops the control operation of the reference clock frequency by the stop unit.
  • the stopping unit may include a deletion unit that deletes at least the time information of the transport stream packet including the data error when the detection unit detects the data error of the transport stream packet including the time information.
  • At least the time information of the transport stream packet including the data error is deleted by the deletion unit.
  • the reference clock controlled by the control unit and the reference It is possible to reliably prevent the synchronization with the lock from being performed normally. In addition, it is possible to reliably prevent the propagation of the synchronization process based on incorrect time information.
  • At least the time information of the transport stream packet in which the data error has occurred is not given to the control unit, so that the control unit may perform unnecessary synchronization processing based on the erroneous time information. Is prevented. As a result, no unnecessary load occurs in the synchronization processing by the control unit.
  • the control unit when at least the time information of the transport stream packet is deleted by the deletion unit, keeps the frequency of the reference clock at the value before the deletion of the time information until new time information is provided. Good.
  • the frequency of the reference clock is maintained at the value before the deletion of the time information until at least the time information of the transport stream packet is deleted and the new time information is provided. Therefore, the influence of not giving the time information to the control unit can be suppressed to a small level.
  • the transport stream packet includes information on the adaptation field, and the detecting unit may detect a data error of the transport stream packet based on the information on the adaptation field of the transport stream packet.
  • a data error of the transport stream packet is detected based on the information on the adaptation field of the transport stream packet. This eliminates the need to add special information for detecting data errors. Therefore, it is possible to prevent the data amount of the transport stream packet from increasing due to detection of a data error.
  • the information on the adaptation field of the transport stream packet includes the adaptation field in the transport stream packet and the first identifier indicating the presence or absence of the payload, and the length of the adaptation field in the transport stream packet. And a second identifier indicating the first identifier and the second identifier. Based on this identifier, the presence or absence of a data error of the transport stream packet may be determined.
  • the length of the adaptation field in the transport stream packet or the range thereof can be identified by the first identifier. Also, the length of the adaptation field in the transport stream packet can be identified based on the second identifier. Therefore, the presence or absence of a data error can be easily determined based on the consistency between the first identifier and the second identifier without adding special information.
  • the transport stream packet May be determined to have a data error.
  • the length of the adaptation field indicated by the second identifier is determined based on whether or not the force satisfies the condition of the length of the adaptation field estimated from the first identifier. Easy to determine whether port stream packets have data errors
  • the first identifier is an adaptation field in the transport stream packet and a value of an adaptation field control indicating the presence or absence of a payload
  • the second identifier is an adaptation field control value in the transport stream packet.
  • the length of the adaptation field which indicates the length of the adaptation field, is detected by the detecting unit.
  • the length of the adaptation field calculated by the value of the adaptation field length is determined by the adaptation field control. If the power of the transport stream does not match the length or the range of the length of the estimated adaptation field, it may be determined that there is a data error in the transport stream bucket.
  • the length of the adaptation field calculated by the value of the adaptation field length is the value of the adaptation field control.
  • the detection unit includes a first extraction unit that extracts a value of an adaptation field control from the transport stream packet, and a second extraction unit that extracts a value of the adaptation field length from the transport stream packet. And the transport stream packet has a data error based on the value of the adaptation field control extracted by the first extractor and the value of the adaptation field length extracted by the second extractor. And a judgment unit for judging whether or not it is included.
  • the value of the adaptation field control is extracted from the transport stream packet by the first extracting unit. Further, the value of the adaptation field length is extracted from the transport stream packet by the second extracting unit. Further, based on the value of the extracted adaptation field control and the value of the extracted adaptation field length, the determination unit determines whether or not the transport stream packet has a data error. As described above, it is possible to determine the presence or absence of a data error with a simple configuration and processing.
  • the deletion unit deletes the transport stream packet including the data error when the detection unit detects a data error of the transport stream packet including the time information.
  • a transport stream processing method is a transport stream processing method for processing a transport stream including a transport stream packet including time information, the method including: generating a reference clock; Controlling the frequency of the reference clock based on the time information included in the transport stream packet therein; performing predetermined processing on the transport stream in response to the generated reference clock; Detecting a data error in the transport stream packet including the time information in the middle and stopping the control operation of the reference clock frequency when a data error in the transport stream packet including the time information is detected. It is provided.
  • a reference clock is generated, and the frequency of the reference clock is controlled based on time information included in a transport stream packet in the transport stream.
  • a predetermined process is performed on the transport stream in response to the generated reference clock.
  • a data error of a transport stream packet including time information in the transport stream is detected.
  • the control operation of the reference clock frequency is stopped.
  • the step of stopping may include a step of deleting at least the time information of the transport stream packet containing the data error when a data error of the transport stream packet containing the time information is detected.
  • the controlling step may include, when at least time information of the transport stream packet is deleted, maintaining the frequency of the reference clock at a value before the time information is deleted until new time information is provided. ,.
  • the frequency of the reference clock is maintained at the value before the time information is deleted until at least the time information of the transport stream packet is deleted and the new time information is provided. Therefore, the effect of deleting the time information is reduced.
  • the transport stream packet includes information about an adaptation field
  • the detecting step includes a step of detecting a data error of the transport stream packet based on the information about the adaptation field of the transport stream packet. May be included.
  • a data error of the transport stream packet is detected based on the information on the adaptation field of the transport stream packet. This eliminates the need to add special information for detecting data errors. Therefore, it is possible to prevent the data amount of the transport stream packet from increasing due to detection of a data error.
  • the detecting step includes a first identifier indicating presence / absence of an adaptation field and a payload in the transport stream packet, and a second identifier indicating a length of the adaptation field in the transport stream packet. Determining whether there is a data error in the transport stream packet based on the first identifier and the second identifier.
  • the length or the range of the adaptation field in the transport stream packet can be identified by the first identifier. Also, the length of the adaptation field in the transport stream packet can be identified based on the second identifier. Therefore, the presence or absence of a data error can be easily determined based on the consistency between the first identifier and the second identifier without adding special information.
  • the detecting step includes, if the length of the adaptation field indicated by the second identifier does not satisfy the condition of the length of the adaptation field for which the first identifier power is also estimated, the transport stream packet
  • the method may include a step of determining that there is a data error.
  • the length of the adaptation field indicated by the second identifier is determined based on whether or not the force satisfies the condition of the length of the adaptation field estimated from the first identifier. Easy to determine whether port stream packets have data errors
  • the first identifier is an adaptation field and an adaptation field control value indicating the presence or absence of a payload
  • the second identifier indicates the length of the adaptation field in the transport stream bucket.
  • the length of the adaptation field is indicated by the value of the adaptation field length.
  • the length of the adaptation field indicated by the value of the adaptation field length is determined by the value of the adaptation field control. If the data does not match the length or length range, the method may include a step of determining that the transport stream packet has a data error.
  • the adaptation field calculated by the value of the adaptation field length is used. By determining whether the length of each field matches the length of the adaptation field or the range of the length of the estimated adaptation field, a data error is detected in the transport stream packet. Easy to determine whether or not a certain force
  • the detecting includes extracting an adaptation field control value from the transport stream packet, extracting an adaptation field length value from the transport stream packet, and extracting the adaptation field control value from the transport stream packet. Determining whether there is a data error in the transport stream packet based on the value of the control and the value of the extracted adaptation field length.
  • the value of the adaptation field control is extracted from the transport stream packet. Also, the value of the adaptation field length is extracted from the transport stream packet. Further, whether or not the transport stream packet has a data error is determined based on the value of the extracted adaptation field control and the value of the extracted adaptation field length. Thus, it is possible to determine the presence or absence of a data error by a simple process.
  • the deleting step may include a step of deleting the transport stream packet containing the data error when a data error of the transport stream packet containing the time information is detected.
  • FIG. 1 is a block diagram showing a configuration of a transport stream processing device according to one embodiment of the present invention.
  • FIG. 2 is a diagram showing a part of a configuration of a TS packet of a transport stream.
  • FIG. 3 is a block diagram showing a configuration of a processing unit in the transport stream processing device of FIG. 1.
  • FIG. 4 is a flow chart showing a data error judging operation by the AF error judging unit of the processing unit in FIG.
  • FIG. 5 is a diagram for explaining an operation of a clock recovery unit when a data error of a TS packet is not detected and power is applied.
  • Fig. 6 is a diagram showing the relationship between the arrival time of PCR and the values of PCR and STC when there is no data error in TS packets.
  • FIG. 7 is a diagram for explaining the operation of a clock recovery unit when a data error of a TS packet is detected.
  • Fig. 8 is a diagram showing the relationship between the arrival time of PCR and the values of PCR and STC when there is a data error in the TS packet.
  • FIG. 1 is a block diagram showing a configuration of a transport stream processing device according to one embodiment of the present invention.
  • the transport stream processing apparatus in FIG. 1 includes a processing unit 102, a PID filter unit 104, a clock reproduction unit 106, a video decoding circuit 108, and an audio decoding circuit 110.
  • This transport stream processing device processes a transport stream encoded according to the MPEG2 (Moving Picture Experts Group) standard specified in ISOZIEC13818-1.
  • the transport stream processing device is provided in a receiving device such as a television receiver, a recording device of a recording medium such as a DVD (digital versatile disk), a video tape, a hard disk, a reproducing device or a recording and reproducing device.
  • the processing unit 102 processes the encoded multiplex transport stream TS0 transmitted from a transmitting device such as a broadcasting station.
  • PI D Packet Identifier
  • filter section 104 converts transport stream packets (hereinafter, referred to as TS packets) in transport stream TS1 processed by processing section 102 into video signal VS and audio signal AS. And a separation circuit for separating.
  • the PID filter unit 104 uses a PCR (Program Clock Reference), which is a time reference value included in the header of a TS packet in the transport stream, when separating the video signal VS and the audio signal AS. Includes system decoder to detect. This PCR indicates the reference time of the transmitting device.
  • PCR Program Clock Reference
  • the clock reproducing unit 106 generates a reference clock CK based on the PCR value detected by the PID filter unit 104, and reproduces an STC (System Time Clock).
  • the video decoding circuit 108 receives the video signal VS separated by the PID filter unit 104 and generates a video signal based on the reference clock CK generated by the clock recovery unit 106 and the value of the recovered STC. Decode the signal VS.
  • the video signal VS0 decoded by the video decoding circuit 108 is supplied to a video output terminal (not shown) or a display device (not shown).
  • the audio decoding circuit 110 receives the audio signal AS separated by the PID filter unit 104, and decodes the audio signal AS based on the reference clock CK generated by the clock reproduction unit 106 and the reproduced STC value. I do.
  • the audio signal AS0 decoded by the audio decoding circuit 110 is supplied to an audio output terminal (not shown) or an audio output device (not shown).
  • the clock recovery unit 106 includes a comparator 112, an LPF (Low Pass Filter) 114, a voltage controlled oscillator (VCXO) 116, and a counter 118.
  • LPF Low Pass Filter
  • VXO voltage controlled oscillator
  • the counter 118 counts pulses of a reference clock CK, which will be described later, and outputs the count value as STC.
  • the count value of the counter 118 is reset every predetermined period (for example, one day), and sequentially increases from 0 every time the reference clock CK pulse is counted.
  • Comparator 112 compares the PCR value detected by PID filter unit 104 with the STC value output from counter 118, and outputs a voltage corresponding to the difference between the PCR value and the STC value.
  • LPF 114 removes a high-frequency component of the voltage signal output from comparator 112 and outputs a low-frequency voltage signal.
  • the voltage controlled oscillator 116 has an operating frequency of, for example, 27 MHz, and generates the reference clock CK.
  • the frequency of the reference clock CK generated by the voltage control oscillator 116 is controlled according to the level of the low frequency voltage signal. Thereby, the difference between the PCR value detected by PID filter unit 104 and the STC value output from counter 118 falls within a certain range. As a result, the frequency of the reference clock CK output from the voltage controlled oscillator 116 is adjusted to match the frequency of the reference clock (system clock) of the transmitting device.
  • the count value of the counter 118 is set to the value of the PCR detected by the PID filter unit 104. The count value of the counter 118 is output as STC.
  • the deviation (jitter amount) of the frequency of the reference clock CK output from the voltage controlled oscillator 116 is corrected.
  • the reference clock CK generated by the clock recovery unit 106 can be synchronized with the reference clock of the transmitting device.
  • FIG. 2 is a diagram showing a part of the configuration of a TS packet of a transport stream.
  • the structure of the TS packet is specified in ISOZIEC13818-1. Note that, in FIG. 2, the bits are described from the upper bit to the lower bit in order from left to right.
  • the length of one TS packet is 188 bytes (decimal number).
  • Each TS packet has a 4-byte header HD and a 184-byte data area DR.
  • the header HD consists of an 8-bit "sync-byte", a 1-bit “transport-error jndicat or (transport error indicator),” and a 1-bit "payload-unit-start-indicator”.
  • Payment unit start indicator 1-bit "transport_priority (transport priority) ,, 13-bit” PID (packet identifier), 2-bit "transport—scramble—control (transport Scramble control), 2-bit adaptation_field_control (adaptation field control), 2-bit adaptation_field_control (adaptation field control), and 4-bit continuity_counter.
  • the data area DR includes both the adaptation field and the payload, Forces containing only the adaptation field, or only the payload.
  • the payload stores an encoded video signal, an encoded audio signal, encoded data, and the like.
  • the adaptation field is an 8-bit "adaptation Jeldjength (adaptation field length),..., 1-bit” discontinuity-indicator (discontinuity indicator),, a 1-bit “random_access_indicator (random access indicator).
  • adaptation-field-control ' is explained.
  • adaptation-nel d-control ' is composed of a total of two bits, the 27th bit and the 28th bit, of the TS packet.
  • the presence or absence of the adaptation field and the payload Indicates presence / absence.
  • adaptive_field_control indicates that the TS packet is composed of an adaptation field and a payload.
  • the length of the short field is 1 byte or more and 183 bytes or less.
  • the value of "adaptation_field_length” indicates the length of the adaptation field, excluding the length of "adaptation_field_length”. That is, the value of "adaptation_field_length” indicates the number of bytes to the end of the adaptation field immediately after "adaptation_field_length”.
  • the configuration of the “adaptation_field_length” itself is the same as the “adaptation_field_length” of the conventional TS packet.
  • the length of the data area DR is 184 bytes. Therefore, when only the payload exists in the data area DR of the TS packet, the value of “adaptation_field_length” is 0. If only the adaptation field exists in the data area DR of the TS packet, the value of “adaptation_field_length” is 183. When the adaptation field and the payload exist in the data area DR of the TS packet, the value of “adaptation_field_length” is 1 or more and 182 or less.
  • the possible length of the adaptation field calculated based on the value of "adaptation_field_control ,," and the value of "adaptation Jeldjength” both indicate information on the byte length of the adaptation field. .
  • a data error of a TS packet is detected by using the value of “adaptation_field_control ,,” and the value of “adaptation_field_length”.
  • the data area DR of the TS packet is composed of only the payload, and the adaptation field does not exist. Is shown. In this case, the TS packet does not include the PCR.
  • the data area DR of the TS packet Indicates that the payload consists only of the adaptation field, and that no payload exists. Therefore, it is possible to infer that the length of the adaptation field excluding "adaptation_field_length” is 183 bytes. On the other hand, when the value of “adaptation_field_length” is a value other than 183, it is likely that a data error exists in the TS packet.
  • adaptation_field_control When the value of "adaptation_field_control ,,” is "11", it indicates that the data area DR of the TS packet is composed of an adaptation field and a payload. It is possible to infer that the length of the adaptation field, excluding ", is 1 byte or more and 182 bytes or less. If the value of" adaptation_field_length "is 0 or 183 bytes or more, Indicates that a data error exists in the TS packet.
  • FIG. 3 is a block diagram showing a configuration of the processing unit 102 in the transport stream processing device of FIG.
  • the processing unit 102 includes an AFC (adaptation-field-length) detector 206, an AFL (adaptation-field-length) detector 208, an AF (adaptationjeld) error determiner 210, and a TS packet filter 216.
  • AFC adaptive-field-length
  • AFL adaptive-field-length
  • AF adaptivejeld
  • Transport stream TS0 input to processing section 102 is supplied to AFC detector 206, AFL detector 208, and TS packet filter 216.
  • the AFC detector 206 detects 2-bit “adaptation_field_control,” (hereinafter, referred to as AFC) as the first identifier from the TS packet of the transport stream TS0.
  • a 2-bit “adaptationjeldjength” (hereinafter, AFL) is detected as a second identifier from the TS packet of the stream TS0.
  • the AF error determination unit 210 calculates the length or range of the adaptation field in which the AFC value detected by the AFC detector 206 is also estimated and the AFL value detected by the AFL detector 208. Force to match the length of the adaptation field Is determined. The AF error determination unit 210 determines whether or not the length or range of the adaptation field estimated from the AFC value matches the length of the adaptation field calculated from the AFL value. The error signal AFEI indicating that there is an error is supplied to the TS packet filter 216, and the length of the adaptation field estimated from the AFC value or the range and the adaptation field length for which the AFL value is calculated are also calculated. If the data does not match, an error signal AFEI indicating that there is no data error is provided to the TS packet filter 216.
  • TS packet filter 216 deletes the corresponding TS packet in transport stream TSO when error signal AFEI provided from AF error determiner 210 indicates that there is a data error, and deletes the deleted TS packet. Output transport stream TS1 that does not include. When the error signal AFEI provided from the AF error determiner 210 indicates that there is no data error, the TS packet filter 216 converts the transport stream TS1 without deleting the corresponding TS packet in the transport stream TSO. Output.
  • FIG. 4 is a flowchart showing a data error determination operation by the AF error determination unit 210 of the processing unit 102 in FIG. Also in FIG. 4, "adaptation_field_control ,,” is represented as AFC, and "a daptation-field-length” is represented as AFL.
  • the AF error determiner 210 determines the value of AFC detected by the AFC detector 206 (Step Sl).
  • step SI If the value of the AFC is "01" in step SI, the data area DR is composed of only the payload. Therefore, the AF error determiner 210 instructs the TS packet filter 216 to output the corresponding TS packet by the error signal AFEI (step S2).
  • the AF error determiner 210 determines whether the AFL value detected by the AFL detector 208 is 1 or more and 182 or less (Step S3).
  • step S3 If the AFL value is 1 or more and 182 or less in step S3, the adaptation calculated from the range of the adaptation field length where the AFC value is estimated and the AFL value is estimated. Since the length of the TS packet matches the length of the TS field, it can be considered that no data error exists in the TS packet. In this case, the AF error determiner 210 instructs the TS packet filter 216 to output a corresponding TS packet from the error signal AFEI (step S2).
  • step S3 if the AFL value is not less than 1 and not more than 182, the length of the adaptation field estimated from the AFC value and the value of the adaptation field calculated from the AFL value are calculated. Since the length does not match, it can be considered that a data error exists in the TS packet. In this case, the AF error determiner 210 instructs the TS packet filter 216 to delete the corresponding TS packet from the error signal AFEI (step S4).
  • the AF error determiner 210 determines whether or not the AFL value detected by the AFL detector 208 is 183 (Step S5).
  • step S5 If the AFL value is 183 in step S5, the length of the adaptation field, from which the AFC value is estimated, matches the length of the adaptation field calculated from the AFL value. , It can be considered that there is no data error in the TS packet. In this case, the AF error determiner 210 instructs the output of the corresponding TS packet to the TS packet filter 216 by the error signal AFEI (step S2).
  • step S5 If the AFL value is not 183 in step S5, the length of the adaptation field from which the AFC value is estimated is inconsistent with the length of the adaptation field calculated from the AFL value. It can be considered that a data error exists in the TS packet. In this case, the AF error determiner 210 instructs the TS packet filter 216 to delete the corresponding TS packet by the error signal AFEI (step S4).
  • step S1 the AF error determiner 210 instructs the TS packet filter 216 to delete the corresponding TS packet by the error signal AFEI (step S4).
  • the transmitting apparatus transmits a TS packet including the PCR at a constant cycle.
  • the transport stream transmitted from the transmitting device includes a TS packet having a PMT (program map table).
  • the PMT is a type of PSI (program specific information), the PID of the components (video, audio, and data) constituting one organization channel, and stream_type (stream format identification). Etc. are included.
  • the TS packet including the PCR can be specified.
  • PID filter section 104 in FIG. 1 specifies a TS packet including a PCR based on the description in the PMT, and detects the PCR from the TS packet. The detected PCR is supplied to the clock recovery unit 106.
  • FIG. 5 is a diagram for explaining the operation of the clock recovery unit 106 when a data error of the TS packet is not detected.
  • the horizontal axis represents the arrival time of the PCR to the clock recovery unit 106
  • the vertical axis represents the value of the PCR and the value of the STC.
  • the PCR value arriving at the clock recovery unit 106 is indicated by a large dot
  • the change in the STC value is indicated by straight lines 10 to 14.
  • the frequency of the reference clock CK corresponds to the slope of the straight line 10-14.
  • the TS packet is output from the TS packet filter 216 of the processing unit 102.
  • PID filter section 104 detects a PCR from the TS packet.
  • clock recovery section 106 compares the PCR value detected by PID filter section 104 with the STC value output from power counter 118 so that the difference value between those values becomes zero.
  • the frequency of the reference clock CK is controlled.
  • Transmission device power The value of the PCR in the transmitted TS packet increases in proportion to the passage of time. However, the value of the PCR arriving at the clock recovery unit 106 does not completely and linearly increase due to the jitter of the transmission path.
  • the value of the STC reproduced by the clock reproducing unit 106 until the time tl increases with the slope of the straight line 10.
  • the clock reproducing unit 106 sets the value of the STC to the value PC1 of the PCR and decreases the frequency of the reference clock CK.
  • the slope of the change in the reproduced STC value becomes smaller as shown by the straight line II.
  • the clock reproducing unit 106 sets the value of the STC to the value PC2 of the PCR and increases the frequency of the reference clock CK. As a result, the slope of the change in the value of the reproduced STC increases as shown by the straight line 12.
  • clock reproducing section 106 sets the STC value to PCR value PC3 and reduces the frequency of reference clock CK. As a result, the gradient of the change in the value of the reproduced STC becomes smaller as shown by the straight line 13.
  • clock reproducing section 106 sets the STC value to PCR value PC4 and increases the frequency of reference clock CK. As a result, the gradient of the change in the value of the reproduced STC increases as shown by the straight line 14.
  • the value of the STC is set by the operation of the clock reproducing unit 106 so as to match the value of the PCR of the STC, and the frequency of the reference clock CK is controlled.
  • FIG. 6 is a diagram showing the relationship between the arrival time of PCR, the value of PCR, and the value of STC when there is no data error in the TS packet.
  • the horizontal axis represents the arrival time of the PCR at clock recovery section 106
  • the vertical axis represents the value of the PCR and the value of the reproduced STC.
  • the value of the PCR arriving at the clock reproducing unit 106 is indicated by a dot
  • the change in the reproduced STC value is indicated by a line L1.
  • the change in the STC value is approximately indicated by a straight line L1.In fact, as shown in FIG. Based on the difference between the value of R and the value of STC, the slope of the straight line L1 changes sequentially.
  • the PCR arrives at the clock regeneration unit 106 at times T1, T2, T3, T4, T5, T6, T7, T8, and T9.
  • such an operation of the clock recovery unit 106 makes the value of the STC value to be reproduced close to the value of the PCR, and the frequency of the reference clock CK generated by the clock recovery unit 106. Becomes equal to the frequency of the reference clock in the transmitting device. That is, the reference clock CK in the transport stream processing device is synchronized with the reference clock in the transmission device.
  • video signal VS and audio signal AS are decoded at the correct timing by video decoding circuit 108 and audio decoding circuit 110.
  • FIG. 7 is a diagram for explaining the operation of clock recovery section 106 when a data error of a TS packet is detected.
  • the horizontal axis represents the arrival time of the PCR at clock recovery section 106
  • the vertical axis represents the value of the PCR and the value of the STC.
  • the value of the PCR arriving at the clock recovery unit 106 is indicated by a large dot
  • the change in the value of the STC is indicated by straight lines 10, II, and 14.
  • the frequency of the reference clock CK corresponds to the slopes of the straight lines 10, II and 14.
  • the value of the STC reproduced by the clock reproducing unit 106 until time tl has a slope of a straight line 10.
  • the clock reproducing unit 106 sets the value of the STC to the value PC1 of the PCR and decreases the frequency of the reference clock CK. As a result, the slope of the change in the reproduced STC value becomes smaller as shown by the straight line II.
  • the STC does not arrive at clock recovery section 106.
  • the comparator 112 of the clock recovery unit 106 does not compare the value of PCR with the value of STC. Therefore, the clock reproducing unit 106 maintains the frequency of the reference clock CK at the frequency controlled at the time tl. As a result, the gradient of the change in the reproduced STC value is maintained at the gradient of the straight line 11.
  • the STC does not arrive at clock recovery section 106.
  • the comparator 112 of the clock recovery unit 106 does not compare the PCR value with the STC value. Therefore, the clock recovery unit 106 maintains the frequency of the reference clock CK at the frequency controlled at the time tl. As a result, the slope of the change in the reproduced STC value is maintained at the slope of the straight line II.
  • the clock reproducing unit 106 sets the value of the STC to the value PC4 of the PCR and increases the frequency of the reference clock CK. As a result, the gradient of the change in the value of the reproduced STC increases as shown by the straight line 14.
  • the frequency of the reference clock CK at the time when the PCR arrives at the previous time is maintained. That is, the value of the STC by the clock reproducing unit 106 is reset and the control operation of the reference clock CK is stopped. Then, when the PCR arrives at the clock recovery unit 106, the clock recovery unit 106 sets the STC value so that the STC value matches the new PCR value, and sets the frequency of the reference clock CK. Controlled. Therefore, the operation of the clock recovery unit 106 is not significantly affected by the deletion of the TS packet.
  • FIG. 8 is a diagram showing the relationship between the arrival time of the PCR, the value of the PCR, and the value of the STC when there is a data error in the TS packet.
  • the horizontal axis represents the arrival time of the PCR at the clock recovery unit 106
  • the vertical axis represents the PCR value and And the value of the reproduced STC.
  • the value of the PCR arriving at the clock reproducing unit 106 is indicated by a dot
  • the change in the reproduced STC value is indicated by a line L2.
  • the change in the STC value is approximately indicated by a straight line L2.
  • the straight line L2 is calculated based on the difference between the PCR value and the STC value. Changes sequentially.
  • the PCR does not arrive at the clock recovery unit 106 at times T2 and T3. In this case, the PCR arrives at the clock recovery unit 106 at times Tl, T4, T5, T6, T7, T8, and T9.
  • the operation of the clock recovery unit 106 sets the STC value so as to match the STC value PCR value and controls the frequency of the reference clock CK.
  • the value of STC is similarly changed by the operation of clock recovery unit 106 based on the value of PCR arriving at clock recovery unit 106.
  • the value of STC is set to match the value, and the frequency of reference clock CK is controlled.
  • the operation of the clock recovery unit 106 allows the value of the reproduced STC to be maintained even when the PCR does not arrive at the clock recovery unit 06 due to a data error.
  • the frequency of the reference clock CK generated by the clock recovery unit 106 becomes equal to the frequency of the reference clock in the transmitting device. That is, the reference clock CK in the transport stream processing device is synchronized with the reference clock in the transmission device.
  • video signal VS and audio signal AS are decoded at the correct timing by video decoding circuit 108 and audio decoding circuit 110.
  • the transport stream processing device when a data error occurs in a TS packet including a PCR, the TS packet is deleted. This prevents the clock reproduction unit 106 from reproducing the STC and controlling the frequency of the reference clock CK based on the erroneous PCR. Therefore, normal synchronization between the reference clock CK generated by the clock recovery unit 106 and the reference clock in the transmission device can be ensured. Also, it is possible to prevent the propagation of synchronization processing based on incorrect PCR.
  • clock recovery section 106 since the TS packet in which the data error has occurred is not provided to clock recovery section 106, clock recovery section 106 does not perform unnecessary synchronization processing based on incorrect PCR. As a result, unnecessary load does not occur in the TS packet synchronization processing by the clock recovery unit 106.
  • the clock reproduction unit 106 corresponds to the control unit
  • the video decoding circuit 108 or the audio decoding circuit 110 corresponds to the transport stream processing unit
  • the AFC detector 206 and the AFL detector of the PID filter unit 104 correspond to a detection unit
  • Detector 208 and AF error determiner 210 correspond to a detection unit
  • TS packet filter 216 of PID filter unit 104 corresponds to a stop unit or a deletion unit.
  • the AFC detector 206 corresponds to a first extraction unit
  • the AFL detector 208 corresponds to a second extraction unit
  • the AF error determination unit 210 corresponds to a determination unit.
  • PCR corresponds to time information
  • “adaptation_field_control (adaptation field control)” corresponds to the first identifier
  • “adaptationjeldjength (adaptation field length)” corresponds to the second identifier. .
  • the length or range of the adaptation field estimated for the AFC value and the length of the adaptation field for which the AFL value is also calculated are shown. If the values do not match, the corresponding TS packet is deleted, but the AFC value is also estimated. The length of the adaptation field or its range and the AFL value is also calculated. In case of inconsistency, the adaptation field may be deleted by invalidating the adaptation field of the corresponding TS packet.
  • the invalidation of the adaptation field means to make the contents of the adaptation field meaningless. For example, set all values in the adaptation field to zero.
  • PCR is used as time information (time reference value).
  • time information is not limited to this, and the reference clock of the transmitting apparatus and the transformer are not limited to this.
  • Other time information for synchronizing with the reference clock of the port stream processing device may be used.
  • SCR system clock reference
  • SCR system clock reference
  • clock recovery unit 106 may be realized by hardware such as an electronic circuit, or a part of clock recovery unit 106 may be realized by software such as a CPU (Central Processing Unit) and a computer program. You may.
  • the function of the comparator 112 may be realized by an SCPU and a computer program.
  • PID filter unit 104 may be realized by hardware such as an electronic circuit, or part and all of PID filter unit 104 may be realized by software such as a CPU and a computer program. .
  • the transport stream processing unit is video decoding circuit 108 or audio decoding circuit 110.
  • the present invention is not limited to this.
  • Another processing unit such as a data decoding unit that decodes data may be used.
  • the method of detecting whether or not a TS packet has a data error based on the value of AFC and the value of AFL as the first and second identifiers is performed by another method. Whether or not the packet has a data error may be detected.
  • the TS packet when there is a data error in a TS packet including a PCR, the TS packet is deleted, whereby control operation of reference clock CK by clock recovery section 106 is performed. If there is a data error in the TS packet containing the time information, the control operation of the clock reproducing unit 106 may be stopped without deleting the TS packet. In this case, the frequency of the reference clock CK generated by the clock reproducing unit 106 is maintained.
  • the transport stream processing apparatus provides another type of transport stream processing apparatus. It is also applicable when TS packet data error occurs due to the cause.
  • the transport stream processing device performs recording on a receiving device such as a television receiver that receives a transport stream, a reproducing device that reproduces a recording medium such as a DVD, a video tape, or a hard disk. It can be used for a recording device or a recording / reproducing device that performs recording and reproduction.

Abstract

 処理部はトランスポートストリームのTSパケットに含まれる“adaptation_field_control”の値および“adaptation_field_length”の値を利用することによりTSパケットのデータ誤りを検出する。処理部のTSパケットフィルタはTSパケットのデータ誤りが検出された場合にトランスポートストリーム中の該当するTSパケットを削除し、TSパケットのデータ誤りが検出されない場合には、当該TSパケットをPIDフィルタに出力する。PIDフィルタはTSパケットからPCR(Program Time Clock)を検出する。クロック再生部にPCRが到着しない期間には、前回PCRが到着したときの基準クロックの周波数が維持され、その後クロック再生部にPCRが到着したときに、クロック再生部により、STC(System Time Clock)の値が新たなPCRの値に一致するように、STCの値が設定されるとともに、基準クロックCKの周波数が制御される。

Description

明 細 書
トランスポートストリーム処理装置およびトランスポートストリーム処理方法 技術分野
[0001] 本発明は、トランスポートストリームを処理するトランスポートストリーム処理装置およ びトランスポートストリーム処理方法に関する。
背景技術
[0002] 近年、テレビジョン放送にぉ ヽて、ビデオ信号およびオーディオ信号を高能率圧縮 符号化する方式として、 ISOZIEC13818— 1で規定される MPEG2 (Moving Pictur e Experts Group)規格等に準拠する符号化方式が採用されている。
[0003] このような高能率圧縮符号ィ匕方式により符号化されたビデオ信号およびオーディオ 信号を復号する受信装置においては、基準クロックを送信装置の基準クロックと同期 させる必要がある。そのために、時刻参照値として、例えば基準時刻を示す PCR (プ ログラムクロックリファレンス; Program Clock Reference)というデータが送信装置から 送信されるトランスポートストリーム中のトランスポートストリームパケット(以下、 TSパケ ットと呼ぶ)に含められる。具体的には、 PCRは、 TSパケットのァダプテーシヨンフィ 一ルドに格納される。
[0004] 受信装置においては、受信した TSパケットから検出された PCRに基づいて STC ( システムタイムクロック; System Time Clock)が再生される。その STCの値に基づいて 基準クロックの周波数が調整される。その結果、受信装置の基準クロックと送信装置 の基準クロックとの同期を確保することが可能となる。
[0005] 伝送路におけるジッタ等による伝送エラーによりトランスポートストリームの TSバケツ トにデータ誤り力 S発生することがある。
[0006] 例えば、特許文献 1には、 TSパケットのセクションデータに誤りが発生した場合のェ ラー復旧方法が提案されている。このエラー復旧方法では、抽出された有効データ 長をセクション内のデータ長情報にバイト単位で一致させることにより、次に抽出され るセクションの先頭位置を認識可能にする。
特許文献 1:特許第 3065276号公報 発明の開示
発明が解決しょうとする課題
[0007] し力しながら、伝送路のジッタ等による伝送エラーによりトランスポートストリームに含 まれる PCRの値に揺れが生じると、受信装置において再生される基準クロックの周波 数が不安定となり、ビデオ信号およびオーディオ信号の復号が正常に行われない。
[0008] 上述したエラー復旧方法によると、伝送エラーによりァダプテーシヨンフィールドの データに消失または誤りが発生した場合に、誤った PCRに基づいて受信装置の ST Cが再生される。この場合、受信装置における基準クロックと送信装置における基準 クロックとの同期処理が誤った PCRに基づ!/、て行われる。
[0009] それ以降受信される TSパケットの同期処理は、誤った PCRに基づいて再生された STCを用いて行われる。このようにして、誤った PCRに基づく同期処理が伝播するこ とになる。それにより、受信装置の基準クロックと送信装置の基準クロックとの間で正 常な同期が確保されない。
[0010] さらに、受信装置は、誤った PCRに基づいて不必要な同期処理を行うこととなり、 T Sパケットの処理に無駄な負荷が生じる。
[0011] 本発明の目的は、トランスポートストリームパケットにデータ誤りが生じた場合にデー タ誤りの伝播が防止されるとともに、基準クロックの正常な同期が確保され、かつ同期 処理の負荷が軽減されるトランスポートストリーム処理装置およびトランスポートストリ ームの処理方法を提供することである。
課題を解決するための手段
[0012] (1)
本発明の一局面に従うトランスポートストリーム処理装置は、時刻情報を含むトラン スポートストリームパケットを含むトランスポートストリームを処理するトランスポートストリ ーム処理装置であって、基準クロックを生成するとともに、トランスポートストリーム中の トランスポートストリームパケットに含まれる時刻情報に基づいて基準クロックの周波数 を制御する制御部と、制御部により生成された基準クロックに応答してトランスポート ストリームに所定の処理を行うトランスポートストリーム処理部と、トランスポートストリー ム中の時刻情報を含むトランスポートストリームパケットのデータ誤りを検出する検出 部と、検出部により時刻情報を含むトランスポートストリームパケットのデータ誤りが検 出された場合に、制御部による基準クロックの周波数の制御動作を停止させる停止 部とを備えたものである。
[0013] このトランスポートストリーム処理装置においては、制御部により基準クロックが生成 されるとともに、トランスポートストリーム中のトランスポートストリームパケットに含まれる 時刻情報に基づ 、て基準クロックの周波数が制御される。この生成された基準クロッ クに応答してトランスポートストリーム処理部によりトランスポートストリームに所定の処 理が行われる。また、トランスポートストリーム中の時刻情報を含むトランスポートストリ ームパケットのデータ誤りが検出部により検出される。検出部により時刻情報を含むト ランスポートストリームパケットのデータ誤りが検出された場合に、制御部による基準ク ロックの周波数の制御動作が停止部により停止される。
[0014] それにより、誤った時刻情報に基づいて基準クロックの周波数が制御されることが 防止される。したがって、制御部により制御される基準クロックと送信装置の基準クロ ックとが正常に同期しないことを防止することができる。また、誤った時刻情報に基づ く同期処理が伝播することを防止することができる。
[0015] さらに、誤った時刻情報に基づく不必要な同期処理が行われない。それにより、制 御部による同期処理に無駄な負荷が生じない。
[0016] これらの結果、トランスポートストリームパケットにデータ誤りが生じた場合にデータ 誤りの伝播が防止されるとともに、基準クロックの正常な同期が確保され、かつ同期 処理の負荷が軽減される。
[0017] (2)
停止部は、検出部により時刻情報を含むトランスポートストリームパケットのデータ誤 りが検出された場合に、データ誤りを含むトランスポートストリームパケットの少なくとも 時刻情報を削除する削除部を含んでもょ ヽ。
[0018] この場合、削除部によりデータ誤りを含むトランスポートストリームパケットの少なくと も時刻情報が削除される。
[0019] それにより、誤った時刻情報に基づいて基準クロックの周波数が制御されることが 防止される。したがって、制御部により制御される基準クロックと送信装置の基準クロ ックとが正常に同期しないことを確実に防止することができる。また、誤った時刻情報 に基づく同期処理が伝播することを確実に防止することができる。
[0020] さらに、データ誤りが生じたトランスポートストリームパケットの少なくとも時刻情報が 制御部に与えられな 、ので、制御部が誤った時刻情報に基づ 、て不必要な同期処 理を行うことが防止される。それにより、制御部による同期処理に無駄な負荷が生じ ない。
[0021] (3)
制御部は、削除部によりトランスポートストリームパケットの少なくとも時刻情報が削 除された場合に、新たな時刻情報が与えられるまで、基準クロックの周波数を時刻情 報の削除前の値に維持してもよい。
[0022] この場合、トランスポートストリームパケットの少なくとも時刻情報が削除されて力ゝら新 たな時刻情報が与えられるまでの期間、基準クロックの周波数が時刻情報の削除前 の値に維持される。したがって、制御部に時刻情報が与えられないことによる影響が 小さく抑えられる。
[0023] (4)
トランスポートストリームパケットは、ァダプテーシヨンフィールドに関する情報を含み 、検出部は、トランスポートストリームパケットのァダプテーシヨンフィールドに関する情 報に基づいて当該トランスポートストリームパケットのデータ誤りを検出してもよい。
[0024] この場合、トランスポートストリームパケットのァダプテーシヨンフィールドに関する情 報に基づいて当該トランスポートストリームパケットのデータ誤りが検出される。それに より、データ誤りの検出のために特別な情報を追加することが不要となる。したがって 、データ誤りの検出のためにトランスポートストリームパケットのデータ量が増加するこ とを防止することがでさる。
[0025] (5)
トランスポートストリームパケットのァダプテーシヨンフィールドに関する情報は、当該 トランスポートストリームパケット中のァダプテーシヨンフィールドおよびペイロードの有 無を示す第 1の識別子と、当該トランスポートストリームパケット中のァダプテーシヨン フィールドの長さを示す第 2の識別子とを含み、検出部は、第 1の識別子および第 2 の識別子に基づ 、て当該トランスポートストリームパケットのデータ誤りの有無を判定 してちよい。
[0026] この場合、第 1の識別子によりトランスポートストリームパケット中のァダプテーシヨン フィールドの長さまたはその範囲を識別することができる。また、第 2の識別子に基づ いてトランスポートストリームパケット中のァダプテーシヨンフィールドの長さを識別す ることができる。したがって、特別な情報を追加することなぐ第 1の識別子と第 2の識 別子との整合性に基づ 、てデータ誤りの有無を容易に判定することができる。
[0027] (6)
検出部は、第 2の識別子が示すァダプテーシヨンフィールドの長さが第 1の識別子 力 推定されるァダプテーシヨンフィールドの長さの条件を満たさな 、場合に、当該ト ランスポートストリームパケットにデータ誤りがあると判定してもよい。
[0028] この場合、第 2の識別子が示すァダプテーシヨンフィールドの長さが第 1の識別子か ら推定されるァダプテーシヨンフィールドの長さの条件を満たす力否かに基づいてトラ ンスポートストリームパケットにデータ誤りがある力否かを容易に判定することができる
[0029] (7)
第 1の識別子は、当該トランスポートストリームパケット中のァダプテーシヨンフィール ドおよびペイロードの有無を示すァダプテーシヨンフィールド制御の値であり、第 2の 識別子は、当該トランスポートストリームパケット中のァダプテーシヨンフィールドの長 さを示すァダプテーシヨンフィールド長の値であり、検出部は、ァダプテーシヨンフィ 一ルド長の値により算出されるァダプテーシヨンフィールドの長さがァダプテーシヨン フィールド制御の値力も推測されるァダプテーシヨンフィールドの長さまたは長さの範 囲に整合しな 、場合に、当該トランスポートストリームバケツトにデータ誤りがあると判 定してちよい。
[0030] この場合、ァダプテーシヨンフィールド長の値により算出されるァダプテーシヨンフィ 一ルドの長さがァダプテーシヨンフィールド制御の値力 推測されるァダプテーシヨン フィールドの長さまたは長さの範囲に整合する力否かを判定することにより、当該トラ ンスポートストリームパケットにデータ誤りがある力否かを容易に判定することができる [0031] (8)
検出部は、トランスポートストリームパケットからァダプテーシヨンフィールド制御の値 を抽出する第 1の抽出部と、トランスポートストリームパケットからァダプテーシヨンフィ 一ルド長の値を抽出する第 2の抽出部と、第 1の抽出部により抽出されたァダプテー シヨンフィールド制御の値および第 2の抽出部により抽出されたァダプテーシヨンフィ 一ルド長の値に基づいて当該トランスポートストリームパケットにデータ誤りがあるか 否かを判定する判定部とを含んでもょ ヽ。
[0032] この場合、第 1の抽出部によりトランスポートストリームパケットからァダプテーシヨン フィールド制御の値が抽出される。また、第 2の抽出部によりトランスポートストリーム パケットからァダプテーシヨンフィールド長の値が抽出される。さらに、抽出されたァダ プテーシヨンフィールド制御の値および抽出されたァダプテーシヨンフィールド長の値 に基づいて判定部により当該トランスポートストリームパケットにデータ誤りがあるか否 かが判定される。このように、簡単な構成および処理によりデータ誤りの有無を判定 することが可能となる。
[0033] (9)
削除部は、検出部により時刻情報を含むトランスポートストリームパケットのデータ誤 りが検出された場合に、データ誤りを含むトランスポートストリームパケットを削除して ちょい。
[0034] この場合、時刻情報を含むトランスポートストリームパケットのデータ誤りが検出され た場合に、データ誤りを含むトランスポートストリームパケット自体が削除される。それ により、データ誤りが生じたトランスポートストリームパケットが制御部に与えられない ので、制御部が誤った時刻情報に基づ 、て不必要な同期処理を行うことが防止され る。その結果、制御部による同期処理の負荷がさらに軽減される。
[0035] (10)
本発明の他の局面に従うトランスポートストリーム処理方法は、時刻情報を含むトラ ンスポートストリームパケットを含むトランスポートストリームを処理するトランスポートス トリーム処理方法であって、基準クロックを生成するとともに、トランスポートストリーム 中のトランスポートストリームパケットに含まれる時刻情報に基づいて基準クロックの周 波数を制御するステップと、生成された基準クロックに応答してトランスポートストリー ムに所定の処理を行うステップと、トランスポートストリーム中の時刻情報を含むトラン スポートストリームパケットのデータ誤りを検出するステップと、時刻情報を含むトラン スポートストリームパケットのデータ誤りが検出された場合に、基準クロックの周波数の 制御動作を停止させるステップとを備えたものである。
[0036] このトランスポートストリーム処理方法においては、基準クロックが生成されるとともに 、トランスポートストリーム中のトランスポートストリームパケットに含まれる時刻情報に 基づ 、て基準クロックの周波数が制御される。この生成された基準クロックに応答して トランスポートストリームに所定の処理が行われる。また、トランスポートストリーム中の 時刻情報を含むトランスポートストリームパケットのデータ誤りが検出される。時刻情 報を含むトランスポートストリームパケットのデータ誤りが検出された場合に、基準クロ ックの周波数の制御動作が停止される。
[0037] それにより、誤った時刻情報に基づいて基準クロックの周波数が制御されることが 防止される。したがって、制御される基準クロックと送信装置の基準クロックとが正常 に同期しないことを防止することができる。また、誤った時刻情報に基づく同期処理 が伝播することを防止することができる。
[0038] さらに、誤った時刻情報に基づく不必要な同期処理が行われない。それにより、同 期処理に無駄な負荷が生じな 、。
[0039] これらの結果、トランスポートストリームパケットにデータ誤りが生じた場合にデータ 誤りの伝播が防止されるとともに、基準クロックの正常な同期が確保され、かつ同期 処理の負荷が軽減される。
[0040] (11)
停止させるステップは、時刻情報を含むトランスポートストリームパケットのデータ誤 りが検出された場合に、データ誤りを含むトランスポートストリームパケットの少なくとも 時刻情報を削除するステップを含んでもょ 、。
[0041] この場合、時刻情報を含むトランスポートストリームパケットのデータ誤りが検出され た場合に、データ誤りを含むトランスポートストリームパケットの少なくとも時刻情報が 削除される。
[0042] それにより、誤った時刻情報に基づいて基準クロックの周波数が制御されることが 防止される。したがって、制御される基準クロックと送信装置の基準クロックとが正常 に同期しないことを確実に防止することができる。また、誤った時刻情報に基づく同 期処理が伝播することを確実に防止することができる。
[0043] さらに、データ誤りが生じたトランスポートストリームパケットの少なくとも時刻情報が 削除されるので、誤った時刻情報に基づく不必要な同期処理が行われない。それに より、同期処理に無駄な負荷が生じない。
[0044] (12)
制御するステップは、トランスポートストリームパケットの少なくとも時刻情報が削除さ れた場合に、新たな時刻情報が与えられるまで、基準クロックの周波数を時刻情報の 削除前の値に維持するステップを含んでもょ 、。
[0045] この場合、トランスポートストリームパケットの少なくとも時刻情報が削除されて力ゝら新 たな時刻情報が与えられるまでの期間、基準クロックの周波数が時刻情報の削除前 の値に維持される。したがって、時刻情報が削除されることによる影響が小さく抑えら れる。
[0046] (13)
トランスポートストリームパケットは、ァダプテーシヨンフィールドに関する情報を含み 、検出するステップは、トランスポートストリームパケットのァダプテーシヨンフィールド に関する情報に基づいて当該トランスポートストリームパケットのデータ誤りを検出す るステップを含んでもよい。
[0047] この場合、トランスポートストリームパケットのァダプテーシヨンフィールドに関する情 報に基づいて当該トランスポートストリームパケットのデータ誤りが検出される。それに より、データ誤りの検出のために特別な情報を追加することが不要となる。したがって 、データ誤りの検出のためにトランスポートストリームパケットのデータ量が増加するこ とを防止することがでさる。
[0048] (14)
トランスポートストリームパケットのァダプテーシヨンフィールドに関する情報は、当該 トランスポートストリームパケット中のァダプテーシヨンフィールドおよびペイロードの有 無を示す第 1の識別子と、当該トランスポートストリームパケット中のァダプテーシヨン フィールドの長さを示す第 2の識別子とを含み、検出するステップは、第 1の識別子お よび第 2の識別子に基づいて当該トランスポートストリームパケットのデータ誤りの有 無を判定するステップを含んでもょ 、。
[0049] この場合、第 1の識別子によりトランスポートストリームパケット中のァダプテーシヨン フィールドの長さまたはその範囲を識別することができる。また、第 2の識別子に基づ いてトランスポートストリームパケット中のァダプテーシヨンフィールドの長さを識別す ることができる。したがって、特別な情報を追加することなぐ第 1の識別子と第 2の識 別子との整合性に基づ 、てデータ誤りの有無を容易に判定することができる。
[0050] (15)
検出するステップは、第 2の識別子が示すァダプテーシヨンフィールドの長さが第 1 の識別子力も推定されるァダプテーシヨンフィールドの長さの条件を満たさない場合 に、当該トランスポートストリームパケットにデータ誤りがあると判定するステップを含ん でもよい。
[0051] この場合、第 2の識別子が示すァダプテーシヨンフィールドの長さが第 1の識別子か ら推定されるァダプテーシヨンフィールドの長さの条件を満たす力否かに基づいてトラ ンスポートストリームパケットにデータ誤りがある力否かを容易に判定することができる
[0052] (16)
第 1の識別子は、ァダプテーシヨンフィールドおよびペイロードの有無を示すァダプ テーシヨンフィールド制御の値であり、第 2の識別子は、トランスポートストリームバケツ ト中のァダプテーシヨンフィールドの長さを示すァダプテーシヨンフィールド長の値で あり、検出するステップは、ァダプテーシヨンフィールド長の値が示すァダプテーショ ンフィールドの長さがァダプテーシヨンフィールド制御の値力 推測されるァダプテー シヨンフィールドの長さまたは長さの範囲に整合しない場合に、当該トランスポートスト リームパケットにデータ誤りがあると判定するステップを含んでもよい。
[0053] この場合、ァダプテーシヨンフィールド長の値により算出されるァダプテーシヨンフィ 一ルドの長さがァダプテーシヨンフィールド制御の値力 推測されるァダプテーシヨン フィールドの長さまたは長さの範囲に整合する力否かを判定することにより、当該トラ ンスポートストリームパケットにデータ誤りがある力否かを容易に判定することができる
[0054] (17)
検出するステップは、トランスポートストリームパケットからァダプテーシヨンフィール ド制御の値を抽出するステップと、トランスポートストリームパケットからァダプテーショ ンフィールド長の値を抽出するステップと、抽出されたァダプテーシヨンフィールド制 御の値および抽出されたァダプテーシヨンフィールド長の値に基づいて当該トランス ポートストリームパケットにデータ誤りがあるか否かを判定するステップとを含んでもよ い。
[0055] この場合、トランスポートストリームパケットからァダプテーシヨンフィールド制御の値 が抽出される。また、トランスポートストリームパケットからァダプテーシヨンフィールド 長の値が抽出される。さらに、抽出されたァダプテーシヨンフィールド制御の値および 抽出されたァダプテーシヨンフィールド長の値に基づいて当該トランスポートストリー ムパケットにデータ誤りがある力否かが判定される。このように、簡単な処理によりデ ータ誤りの有無を判定することが可能となる。
[0056] (18)
削除するステップは、時刻情報を含むトランスポートストリームパケットのデータ誤り が検出された場合に、データ誤りを含むトランスポートストリームパケットを削除するス テツプを含んでもよい。
[0057] この場合、時刻情報を含むトランスポートストリームパケットのデータ誤りが検出され た場合に、データ誤りを含むトランスポートストリームパケット自体が削除される。それ により、誤った時刻情報に基づく不必要な同期処理が行われない。その結果、同期 処理の負荷がさらに軽減される。
図面の簡単な説明
[0058] [図 1]図 1は本発明の一実施の形態に係るトランスポートストリーム処理装置の構成を 示すブロック図 [図 2]図 2はトランスポートストリームの TSパケットの構成の一部を示す図
[図 3]図 3は図 1のトランスポートストリーム処理装置における処理部の構成を示すブロ ック図
[図 4]図 4は図 3の処理部の AFエラー判定器によるデータ誤りの判定動作を示すフロ ーテヤー卜
[図 5]図 5は TSパケットのデータ誤りが検出されな力つた場合のクロック再生部の動作 を説明するための図
[図 6]図 6は TSパケットのデータ誤りがない場合における PCRの到着時刻と PCRの 値および STCの値との関係を示す図
[図 7]図 7は TSパケットのデータ誤りが検出された場合のクロック再生部の動作を説 明するための図
[図 8]図 8は TSパケットのデータ誤りがある場合における PCRの到着時刻と PCRの値 および STCの値との関係を示す図
発明を実施するための最良の形態
[0059] 以下、本発明の一実施の形態に係るトランスポートストリーム処理装置について図 面を参照しながら説明する。
[0060] (1)トランスポートストリーム処理装置の構成
図 1は本発明の一実施の形態に係るトランスポートストリーム処理装置の構成を示 すブロック図である。
[0061] 図 1のトランスポートストリーム処理装置は、処理部 102、 PIDフィルタ部 104、クロッ ク再生部 106、ビデオ復号回路 108およびオーディオ復号回路 110により構成され ている。このトランスポートストリーム処理装置は、 ISOZIEC13818— 1で規定され る MPEG2 (Moving Picture Experts Group)規格にしたがって符号化されたトランス ポートストリームを処理する。トランスポートストリーム処理装置は、テレビジョン受像機 等の受信装置、 DVD (デジタルバーサタイルディスク)、ビデオテープ、ハードデイス ク等の記録媒体の記録装置、再生装置または記録再生装置等に設けられる。
[0062] 処理部 102は、放送局等の送信装置から送信される符号化された多重トランスポー トストリーム TS0を処理する。処理部 102の構成および動作については後述する。 PI D (パケット識別; Packet Identifier)フィルタ部 104は、処理部 102により処理されたト ランスポートストリーム TS1中のトランスポートストリームパケット(以下、 TSパケットと呼 ぶ。)からビデオ信号 VSとオーディオ信号 ASとを分離する分離回路を含む。また、 P IDフィルタ部 104は、ビデオ信号 VSおよびオーディオ信号 ASを分離する際にトラン スポートストリーム中の TSパケットのヘッダに含まれる時刻参照値である PCR (プログ ラムクロックリファレンス; Program Clock Reference)を検出するシステムデコーダを含 む。この PCRは送信装置の基準時刻を示す。
[0063] クロック再生部 106は、 PIDフィルタ部 104により検出された PCRの値に基づいて 基準クロック CKを生成するとともに、 STC (システムタイムクロック; System Time Cloc k)を再生する。
[0064] ビデオ復号回路 108は、 PIDフィルタ部 104により分離されたビデオ信号 VSを受 け、クロック再生部 106により生成された基準クロック CKおよび再生された STCの値 に基づ!/、てビデオ信号 VSを復号する。ビデオ復号回路 108により復号されたビデオ 信号 VS0は、ビデオ出力端子(図示せず)または表示装置(図示せず)に与えられる
[0065] オーディオ復号回路 110は、 PIDフィルタ部 104により分離されたオーディオ信号 ASを受け、クロック再生部 106により生成された基準クロック CKおよび再生された S TCの値に基づいてオーディオ信号 ASを復号する。オーディオ復号回路 110により 復号されたオーディオ信号 AS0は、オーディオ出力端子(図示せず)または音声出 力装置(図示せず)に与えられる。
[0066] 次に、クロック再生部 106について説明する。クロック再生部 106は、比較器 112、 LPF (ローパスフィルタ; Low Pass Filter) 114、電圧制御発振器 (VCXO) 116およ びカウンタ 118を含む。
[0067] カウンタ 118は、後述する基準クロック CKのパルスをカウントし、カウント値を STCと して出力する。カウンタ 118のカウント値は一定期間(例えば 1日)ごとにリセットされ、 基準クロック CKのパルスのカウントごとに 0から順次増加する。
[0068] 比較器 112は、 PIDフィルタ部 104により検出された PCRの値とカウンタ 118から出 力された STCの値とを比較し、 PCRの値と STCの値との差分値に対応する電圧信 号を出力する。 LPF114は、比較器 112から出力される電圧信号の高周波成分を除 去し、低周波電圧信号を出力する。
[0069] 電圧制御発振器 116は、例えば 27MHzの動作周波数を有し、基準クロック CKを 生成する。電圧制御発振器 116により生成される基準クロック CKの周波数は、低周 波電圧信号のレベルに応じて制御される。これにより、 PIDフィルタ部 104により検出 される PCRの値とカウンタ 118から出力される STCの値との差分値がある一定の範 囲内になる。その結果、電圧制御発振器 116から出力される基準クロック CKの周波 数が送信装置の基準クロック (システムクロック)の周波数に一致するように調整され る。また、カウンタ 118のカウント値が PIDフィルタ部 104により検出された PCRの値 に設定される。カウンタ 118のカウント値は STCとして出力される。
[0070] このようにして、電圧制御発振器 116から出力される基準クロック CKの周波数のず れ (ジッタ量)が補正される。その結果、クロック再生部 106により生成される基準クロ ック CKが送信装置の基準クロックに同期することが可能となる。
[0071] (2)トランスポートストリームの TSパケットの構成
ここで、図 2を用いてトランスポートストリームの TSパケットの構成について説明する 。図 2はトランスポートストリームの TSパケットの構成の一部を示す図である。 TSパケ ットの構成は ISOZIEC13818— 1で規定されている。なお、図 2では、左から右へ 上位ビットから下位ビットの順に表記する。
[0072] 1つの TSパケットの長さは 188バイト(10進数)である。各 TSパケットは、 4バイトの ヘッダ HDおよび 184バイトのデータ領域 DRを有する。
[0073] ヘッダ HDは、 8ビットの" sync— byte (同期バイト)"、 1ビットの" transport— error jndicat or (トランスポート誤りインジケータ),,、 1ビットの" payload— unit— start— indicator" (ペイ口 ードユニット開始インジケータ)、 1ビットの" transport_priority (トランスポート優先度),, 、 13ビットの" PID (packet identifier;パケット識別),,、 2ビットの" transport— scramble— c ontrol (トランスポートスクランブル制御) "、 2ビットの" adaptation_field_control (ァダプ テーシヨンフィールド制御)" 2ビットの" adaptation_field_control (ァダプテーシヨンフィ 一ルド制御) "および 4ビットの" continuity_counter (連続性指標) "を含む。
[0074] データ領域 DRは、ァダプテーシヨンフィールドおよびペイロードの両方を含むか、 ァダプテーシヨンフィールドのみを含む力、またはペイロードのみを含む。ペイロード には、符号化されたビデオ信号、符号化されたオーディオ信号または符号化された データ等が格納される。
[0075] ァダプテーシヨンフィールドは、 8ビットの" adaptation Jeldjength (ァダプテーシヨン フィールド長),,、 1ビットの" discontinuity— indicator (不連続性インジケータ),,、 1ビット の" random_access_indicator (ランダムアクセスインジケータ) "、 1ビットの" elementary— stream_priority_indicator (エレメンタリストリーム優先度インジケータ"、 1ビットの" PCR_ flag (PCRフラグ) "ゝ 1ビットの" OPCR— flag (OPCRフラグ) "ゝ 1ビットの" splicing— point— f lag (スプライシングポイントフラグ) "、 1ビットの" transport_private_data_flag (トランスポ ートプライベートデータフラグ),,、 1ビットの" adaptation_field_extension_flag (ァダプテ ーシヨンフィールド拡張フラグ),,および 48ビットの" PCR (プログラムクロックリファレンス ; program_clock_reference),,を含む。なお、 "PCR_flag"は、当該ァダプテーシヨンフィ 一ルドに" PCR"が存在するか否かを示す。
[0076] (3) "adaptation_field_control (ァダプテーシヨンフィールド制御),,
ここで、 adaptation— field— control',につ ヽて説明する。上 己のよつに、 adaptation— nel d— control',は、 TSパケットの先頭力も第 27ビットおよび第 28ビットの合計 2ビットで構 成されており、ァダプテーシヨンフィールドの有無およびペイロードの有無を示してい る。
[0077] 以下、具体的に" adaptation_field_control,,について説明する。 "adaptation_field_con trol"の値として" 00" (2進数)は予約されており、規格上この値をとることはない。
[0078] "adaptation_field_control,,の値が" 01"の場合は、その TSパケットのデータ領域 DR がペイロードのみで構成され、ァダプテーシヨンフィールドが存在しな 、ことを示す。 したがって、ァダプテーシヨンフィールドの長さは 0バイトである。
[0079] "adaptation_field_control,,の値が" 10"の場合は、その TSパケットのデータ領域 DR がァダプテーシヨンフィールドのみで構成されており、ペイロードが存在しな ヽことを 示す。したがって、ァダプテーシヨンフィールドの長さは 184バイトである。
[0080] "adaptation_field_control,,の値が" 11"の場合は,その TSパケットがァダブテーショ ンフィールドおよびペイロードで構成されていることを示す。したがって、ァダプテー シヨンフィールドの長さは 1バイト以上 183バイト以下である。
[0081] (4) "adaptation_field_length (ァダプテーシヨンフィールド長),,
次に、 "adaptation_field_length"について説明する。 TSパケットのデータ領域 DR中 にァダプテーシヨンフィールドが存在する場合、 TSパケットの先頭から 33ビット目以 降がァダプテーシヨンフィールドとなる。上記のように、 "adaptation_field_length"は、ァ ダプテーシヨンフィールドの先頭の 8ビット( = 1バイト)で構成される。
[0082] "adaptation_field_length"の値は、 "adaptation_field_length"の長さを除くァダプテー シヨンフィーノレドの長さを示す。すなわち "adaptation_field_length"の値は、 "adaptatio n_field_length"の直後力もァダプテーシヨンフィールドの末尾までのバイト数を表して いる。この" adaptation_field_length"自体の構成は、従来の TSパケットの" adaptation_fi eldjength"と同様である。
[0083] データ領域 DRの長さは 184バイトである。したがって、 TSパケットのデータ領域 D R中にペイロードのみが存在する場合には、 "adaptation_field_length"の値は 0である 。 TSパケットのデータ領域 DR中にァダプテーシヨンフィールドのみが存在する場合 には、 "adaptation_field_length"の値は 183である。 TSパケットのデータ領域 DR中に ァダプテーシヨンフィールドおよびペイロードが存在する場合には、 "adaptation_field_l ength"の値は 1以上 182以下である。
[0084] (5)データ誤りの検出方法
上記のように、 "adaptation_field_control,,の値に基づ 、て算出されるァダプテーショ ンフィールドの可能な長さと、 "adaptation Jeldjength"の値とは、ともにァダプテーシ ヨンフィールドのバイト長に関する情報を示している。
[0085] 本実施の形態では、 "adaptation_field_control,,の値および" adaptation_field_length" の値を利用することにより、 TSパケットのデータ誤りを検出する。
[0086] 具体的には、例えば、 "adaptation_field_control"の値が" 01"の場合は、その TSパ ケットのデータ領域 DRがペイロードのみで構成されており、ァダプテーシヨンフィー ルドが存在しないことを示している。この場合には、 TSパケットには PCRが含まれな い。
[0087] "adaptation_field_control"の値が" 10"の場合は、その TSパケットのデータ領域 DR がァダプテーシヨンフィールドのみで構成されており、ペイロードが存在しな ヽことを 示して 、る。したがって、 "adaptation_field_length"を除くァダプテーシヨンフィールドの 長さは 183バイトであると推測することが可能になる。これに対して、 "adaptation_field_ length"の値が 183以外の値である場合には、当該 TSパケットにはデータ誤りが存在 することがゎカゝる。
[0088] また、 "adaptation_field_control,,の値が" 11"の場合は、その TSパケットのデータ領 域 DRがァダブテーシヨンフィールドおよびペイロードで構成されていることを示して いる。したがって、 "adaptation_field_length"を除くァダプテーシヨンフィールドの長さ は 1バイト以上 182バイト以下であると推測することが可能になる。これに対して、 "ada ptation_field_length"の値が 0または 183バイト以上である場合には、当該 TSパケット にはデータ誤りが存在することがわかる。
[0089] このようにして、ァダプテーシヨンフィールドの長さに関する 2つの情報を利用するこ とにより、 TSパケットのデータ誤りを検出することが可能になる。
[0090] (6)処理部 102の構成
次に、図 3を用いて図 1の処理部 102について詳細に説明する。図 3は図 1のトラン スポートストリーム処理装置における処理部 102の構成を示すブロック図である。
[0091] 処理部 102は、 AFC (adaptation—field— control)検出器 206、 AFL (adaptation— field— length)検出器 208、 AF (adaptationjeld)エラー判定器 210および TSパケットフィル タ 216を含む。
[0092] 処理部 102に入力されるトランスポートストリーム TS0は、 AFC検出器 206、 AFL 検出器 208および TSパケットフィルタ 216に与えられる。
[0093] AFC検出器 206は、トランスポートストリーム TS0の TSパケットから第 1の識別子と して 2ビットの" adaptation_field_control,,(以下、 AFCと呼ぶ)を検出する。 AFL検出 器 208は、トランスポートストリーム TS0の TSパケットから第 2の識別子として 2ビットの "adaptationjeldjength" (以下、 AFLと呼ぶ)を検出する。
[0094] AFエラー判定器 210は、 AFC検出器 206により検出された AFCの値力も推測さ れるァダプテーシヨンフィールドの長さまたはその範囲と AFL検出器 208により検出 された AFLの値力 算出されるァダプテーシヨンフィールドの長さとが整合する力否 かを判定する。この AFエラー判定器 210は、 AFCの値カゝら推測されるァダプテーシ ヨンフィールドの長さまたはその範囲と AFLの値から算出されるァダプテーシヨンフィ 一ルドの長さとが整合する場合にデータ誤りがあることを示すエラー信号 AFEIを TS パケットフィルタ 216に与え、 AFCの値から推測されるァダプテーシヨンフィールドの 長さまたはその範囲と AFLの値力も算出されるァダプテーシヨンフィールドの長さとが 整合しな 、場合にデータ誤りがな ヽことを示すエラー信号 AFEIを TSパケットフィル タ 216に与える。
[0095] TSパケットフィルタ 216は、 AFエラー判定器 210から与えられるエラー信号 AFEI がデータ誤りがあることを示す場合にトランスポートストリーム TSO中の該当する TSパ ケットを削除し、削除された TSパケットを含まないトランスポートストリーム TS1を出力 する。また、 TSパケットフィルタ 216は、 AFエラー判定器 210から与えられるエラー 信号 AFEIがデータ誤りがないことを示す場合にトランスポートストリーム TSO中の該 当する TSパケットを削除せずにトランスポートストリーム TS1を出力する。
[0096] (7)データ誤りの判定動作
図 4は図 3の処理部 102の AFエラー判定器 210によるデータ誤りの判定動作を示 すフローチャートである。図 4においても、 "adaptation_field_control,,を AFCと表し、 "a daptation— field—length"を AFLと表す。
[0097] まず、 AFエラー判定器 210は、 AFC検出器 206により検出された AFCの値を判 別する (ステップ Sl)。
[0098] ステップ SIで AFCの値が" 01"の場合には、データ領域 DRはペイロードのみで構 成される。したがって、 AFエラー判定器 210は、エラー信号 AFEIにより該当する TS パケットの出力を TSパケットフィルタ 216に指示する (ステップ S2)。
[0099] ステップ SIで AFCの値が" 11"の場合には、データ領域 DRがァダプテーシヨンフ ィールドおよびペイロードで構成される。したがって、 AFエラー判定器 210は、 AFL 検出器 208により検出された AFLの値が 1以上 182以下である力否かを判定する(ス テツプ S3)。
[0100] ステップ S3で AFLの値が 1以上 182以下である場合には、 AFCの値力も推測され るァダプテーシヨンフィールドの長さの範囲と AFLの値から算出されるァダプテーショ ンフィールドの長さとが整合するので、 TSパケットにデータ誤りが存在しないとみなす ことができる。この場合、 AFエラー判定器 210は、エラー信号 AFEI〖こより該当する T Sパケットの出力を TSパケットフィルタ 216に指示する(ステップ S2)。
[0101] ステップ S3で AFLの値が 1以上 182以下でない場合には、 AFCの値カゝら推測され るァダプテーシヨンフィールドの長さの範囲と AFLの値から算出されるァダプテーショ ンフィールドの長さとが整合しないので、 TSパケットにデータ誤りが存在するとみなす ことができる。この場合、 AFエラー判定器 210は、エラー信号 AFEI〖こより該当する T Sパケットの削除を TSパケットフィルタ 216に指示する(ステップ S4)。
[0102] ステップ SIで AFCの値が" 10"の場合には、データ領域 DRがァダプテーシヨンフ ィールドのみで構成される。したがって、 AFエラー判定器 210は、 AFL検出器 208 により検出された AFLの値が 183であるか否かを判定する(ステップ S5)。
[0103] ステップ S5で AFLの値が 183である場合には、 AFCの値力も推測されるァダプテ ーシヨンフィールドの長さと AFLの値から算出されるァダプテーシヨンフィールドの長 さとが整合するので、 TSパケットにデータ誤りが存在しないとみなすことができる。こ の場合、 AFエラー判定器 210は、エラー信号 AFEIにより該当する TSパケットの出 力を TSパケットフィルタ 216に指示する(ステップ S 2)。
[0104] ステップ S5で AFLの値が 183でない場合には、 AFCの値力も推測されるァダプテ ーシヨンフィールドの長さと AFLの値から算出されるァダプテーシヨンフィールドの長 さとが整合しないので、 TSパケットにデータ誤りが存在するとみなすことができる。こ の場合、 AFエラー判定器 210は、エラー信号 AFEIにより該当する TSパケットの削 除を TSパケットフィルタ 216に指示する(ステップ S4)。
[0105] 本来的には AFCの値が" 00"であることはない。したがって、ステップ S1で AFCの 値が" 00"の場合には、 TSパケットにデータ誤りが存在するとみなすことができる。こ の場合、 AFエラー判定器 210は、エラー信号 AFEIにより該当する TSパケットの削 除を TSパケットフィルタ 216に指示する(ステップ S4)。
[0106] (8)クロック再生部 106の処理
次に、図 1を参照しながら処理部 102から出力されるトランスポートストリーム TS1に 基づくクロック再生部 106の処理について説明する。 [0107] ここでは、図 3の AFエラー判定器 210によりデータ誤りが検出されな力つたことによ り該当する TSパケットの出力が指示された場合、および AFエラー判定器 210により データ誤りが検出されたことにより該当する TSパケットの削除が指示された場合につ いて説明する。
[0108] 送信装置は、 PCRを含む TSパケットを一定周期で送信する。また、送信装置から 送信されるトランスポートストリームには、 PMT (プログラムマップテーブル; program map table)を有する TSパケットが含まれる。ここで、 PMTは、 PSI (プログラム特定情 報; program specific information)の 1種であり、 1個の編成チャネルを構成するコンポ 一ネント(映像、音声およびデータ)の PID、 stream_type (ストリーム形式識別)等を含 む。この PMTの記述に基づ!/、て PCRを含む TSパケットを特定することができる。
[0109] 図 1の PIDフィルタ部 104は、 PMT中の記述に基づいて PCRを含む TSパケットを 特定し、その TSパケットから PCRを検出する。検出された PCRは、クロック再生部 10 6に与えられる。
[0110] (8— 1)データ誤りが検出されな力つた場合の動作
最初に、図 3の AFエラー判定器 210により TSパケットのデータ誤りが検出されなか つた場合のクロック再生部 106の動作を説明する。
[0111] 図 5は TSパケットのデータ誤りが検出されな力つた場合のクロック再生部 106の動 作を説明するための図である。
[0112] 図 5の横軸はクロック再生部 106への PCRの到着時刻を示し、縦軸は PCRの値お よび STCの値を示す。図 5において、クロック再生部 106に到着した PCRの値を大き なドットで示し、 STCの値の変化を直線 10〜14で示す。基準クロック CKの周波数は 直線 10〜14の傾きに対応する。
[0113] TSパケットのデータ誤りが検出されなかった場合には、処理部 102の TSパケットフ ィルタ 216から TSパケットが出力される。 PIDフィルタ部 104は、その TSパケットから PCRを検出する。
[0114] 次に、クロック再生部 106では、 PIDフィルタ部 104により検出された PCRの値と力 ゥンタ 118から出力された STCの値とが比較され、それらの値の差分値が 0となるよう に基準クロック CKの周波数が制御される。 [0115] 送信装置力 送信される TSパケット中の PCRの値は時間の経過に比例して増加 する。し力しながら、伝送路のジッタによりクロック再生部 106に到着した PCRの値は 完全には直線的に増加しない。
[0116] まず、時刻 tlまでクロック再生部 106により再生される STCの値が直線 10の傾きで 増加する。時刻 tlで STCの値 ST1が PCRの値 PC1よりも大きい場合、クロック再生 部 106は、 STCの値を PCRの値 PC1に設定するとともに、基準クロック CKの周波数 を減少させる。それにより、再生される STCの値の変化の傾きが直線 IIで示されるよ うに小さくなる。
[0117] 時刻 t2で STCの値 ST2が PCRの値 PC2よりも小さい場合、クロック再生部 106は 、 STCの値を PCRの値 PC2に設定するとともに、基準クロック CKの周波数を増加さ せる。それにより、再生される STCの値の変化の傾きが直線 12で示されるように大きく なる。
[0118] 時刻 t3で STCの値 ST3が PCRの値 PC3よりも大きい場合、クロック再生部 106は 、 STCの値を PCRの値 PC3に設定するとともに、基準クロック CKの周波数を減少さ せる。それにより、再生される STCの値の変化の傾きが直線 13で示されるように小さく なる。
[0119] 時刻 t4で STCの値 ST4が PCRの値 PC4よりも小さい場合、クロック再生部 106は 、 STCの値を PCRの値 PC4に設定するとともに、基準クロック CKの周波数を増加さ せる。それにより、再生される STCの値の変化の傾きが直線 14で示されるように大きく なる。
[0120] このように、クロック再生部 106の動作により STCの値力 PCRの値に一致するように 、 STCの値が設定されるとともに、基準クロック CKの周波数が制御される。
[0121] 図 6は TSパケットのデータ誤りがない場合における PCRの到着時刻と PCRの値お よび STCの値との関係を示す図である。
[0122] 図 6の横軸はクロック再生部 106への PCRの到着時刻を示し、縦軸は PCRの値お よび再生された STCの値を示す。図 6において、クロック再生部 106に到着した PCR の値をドットで示し、再生された STCの値の変化を線 L1で示す。図 6では、 STCの 値の変化が近似的に直線 L1で示されている力 実際には、図 5に示したように、 PC Rの値と STCの値との差分値に基づ 、て直線 L 1の傾きは逐次変化する。
[0123] 図 6の例では、 PCRが時刻 Tl, T2, T3, T4, T5, T6, T7, T8, T9でクロック再 生部 106に到着する。
[0124] 図 6からわ力るように、このようなクロック再生部 106の動作により、再生される STC の値力PCRの値に近づくとともに、クロック再生部 106により生成される基準クロック C Kの周波数が送信装置における基準クロックの周波数に等しくなる。すなわち、トラン スポートストリーム処理装置における基準クロック CKが送信装置における基準クロッ クに同期する。
[0125] それにより、ビデオ復号回路 108およびオーディオ復号回路 110によりビデオ信号 VSおよびオーディオ信号 ASが正しいタイミングで復号される。
[0126] (8— 2)データ誤りが検出された場合の動作
次に、図 4の AFエラー判定器 210により TSパケットのデータ誤りが検出された場合 のクロック再生部 106の動作を説明する。
[0127] TSパケットにデータ誤りが生じた場合には、 TSパケットに含まれる PCRに誤りが生 じている可能性がある。この場合に、誤った PCRがクロック再生部 106に与えられると 、クロック再生部 106は、誤った PCRの値と STCの値との差分値が 0となるように動作 する。それにより、トランスポートストリーム処理装置における基準クロック CKが送信 装置における基準クロックに正常に同期しない。
[0128] 本実施の形態に係るトランスポートストリーム処理装置においては、 TSパケットにデ ータ誤りが生じた場合には、処理部 102の TSパケットフィルタ 216からその TSバケツ トが出力されない。したがって、 PIDフィルタ部 104は PCRを出力しない。
[0129] 図 7は TSパケットのデータ誤りが検出された場合のクロック再生部 106の動作を説 明するための図である。
[0130] 図 7の横軸はクロック再生部 106への PCRの到着時刻を示し、縦軸は PCRの値お よび STCの値を示す。図 7において、クロック再生部 106に到着した PCRの値を大き なドットで示し、 STCの値の変化を直線 10, II, 14で示す。基準クロック CKの周波数 は直線 10, II, 14の傾きに対応する。
[0131] まず、時刻 tlまでクロック再生部 106により再生される STCの値が直線 10の傾きで 増加する。時刻 tlで STCの値 ST1が PCRの値 PCIよりも大きい場合、クロック再生 部 106は、 STCの値を PCRの値 PC1に設定するとともに、基準クロック CKの周波数 を減少させる。それにより、再生される STCの値の変化の傾きが直線 IIで示されるよ うに小さくなる。
[0132] 時刻 t2で伝送エラーによるデータ誤りが検出されると、クロック再生部 106に STC が到着しない。この場合、クロック再生部 106の比較器 112では、 PCRの値と STCの 値との比較が行われない。そのため、クロック再生部 106は、基準クロック CKの周波 数を時刻 tlで制御された周波数に維持する。それにより、再生される STCの値の変 化の傾きが直線 11の傾きに維持される。
[0133] また、時刻 t3で伝送エラーによるデータ誤りが検出されると、クロック再生部 106に STCが到着しない。この場合、クロック再生部 106の比較器 112では、 PCRの値と S TCの値との比較が行われない。そのため、クロック再生部 106は、基準クロック CKの 周波数を時刻 tlで制御された周波数に維持する。それにより、再生される STCの値 の変化の傾きが直線 IIの傾きに維持される。
[0134] 時刻 t4で STCの値 ST4が PCRの値 PC4よりも小さい場合、クロック再生部 106は 、 STCの値を PCRの値 PC4に設定するとともに、基準クロック CKの周波数を増加さ せる。それにより、再生される STCの値の変化の傾きが直線 14で示されるように大きく なる。
[0135] このように、クロック再生部 106に PCRが到着しない期間には、前回 PCRが到着し たときの基準クロック CKの周波数が維持される。すなわち、クロック再生部 106による STCの値が再設定および基準クロック CKの制御動作が停止される。その後クロック 再生部 106に PCRが到着したときに、クロック再生部 106により、 STCの値が新たな PCRの値に一致するように、 STCの値が設定されるとともに、基準クロック CKの周波 数が制御される。したがって、 TSパケットが削除されたことによりクロック再生部 106 の動作に大きな影響は生じな ヽ。
[0136] 図 8は TSパケットのデータ誤りがある場合における PCRの到着時刻と PCRの値お よび STCの値との関係を示す図である。
[0137] 図 8の横軸はクロック再生部 106への PCRの到着時刻を示し、縦軸は PCRの値お よび再生された STCの値を示す。図 8において、クロック再生部 106に到着した PCR の値をドットで示し、再生された STCの値の変化を線 L2で示す。図 8では、 STCの 値の変化が近似的に直線 L2で示されている力 実際には、図 7に示したように、 PC Rの値と STCの値との差分値に基づいて直線 L2の傾きは逐次変化する。
[0138] 図 8の例では、時刻 T2から時刻 T3までの期間は伝送エラーにより TSパケットにデ ータ誤りが発生している。そのため、 PCRは時刻 T2, T3でクロック再生部 106に到 着しない。この場合、 PCRは時刻 Tl, T4, T5, T6, T7, T8, T9でクロック再生部 1 06に到着する。
[0139] まず、時刻 T1において、クロック再生部 106の動作により、 STCの値力 PCRの値に 一致するように STCの値が設定されるとともに、基準クロック CKの周波数が制御され る。
[0140] 次に、時刻 T2, T3では、クロック再生部 106に PCRが到着しない。この場合、クロ ック再生部 106により生成される基準クロック CKの周波数は、時刻 T1で制御された 周波数のまま変化しない。したがって、カウンタ 118から出力される STCの値は時間 の経過に比例して増加する。すなわち、時刻 T1〜T4の期間においては、直線 L2の 傾きは変化しない。
[0141] その後、時刻 Τ4において、クロック再生部 106に PCRが到着すると、クロック再生 部 106の動作により、 STCの値が新たな PCRの値に一致するように、 STCの値が設 定されるとともに、基準クロック CKの周波数が制御される。
[0142] 時刻 Τ5, Τ6, Τ7, Τ8, Τ9においても、同様に、クロック再生部 106に到着した PC Rの値に基づいて、クロック再生部 106の動作により、 STCの値が新たな PCRの値に 一致するように、 STCの値が設定されるとともに、基準クロック CKの周波数が制御さ れる。
[0143] 図 8からわ力るように、このようなクロック再生部 106の動作により、データ誤りにより PCRがクロック再生部 06に到着しない期間が生じても、再生される STCの値が PCR の値に近づくとともに、クロック再生部 106により生成される基準クロック CKの周波数 が送信装置における基準クロックの周波数に等しくなる。すなわち、トランスポートスト リーム処理装置における基準クロック CKが送信装置における基準クロックに同期す る。
[0144] それにより、ビデオ復号回路 108およびオーディオ復号回路 110によりビデオ信号 VSおよびオーディオ信号 ASが正しいタイミングで復号される。
[0145] (9)実施の形態の効果
上記のように、本実施の形態に係るトランスポートストリーム処理装置においては、 P CRを含む TSパケットにデータ誤りが生じた場合に、その TSパケットが削除される。 それにより、誤った PCRに基づいてクロック再生部 106が STCを再生するとともに基 準クロック CKの周波数を制御することが防止される。したがって、クロック再生部 106 により生成される基準クロック CKと送信装置における基準クロックとの正常な同期を 確保することができる。また、誤った PCRに基づく同期処理が伝播することを防止す ることがでさる。
[0146] さらに、データ誤りが生じた TSパケットがクロック再生部 106に与えられないので、 クロック再生部 106が誤った PCRに基づいて不必要な同期処理を行うことがない。そ れにより、クロック再生部 106による TSパケットの同期処理に無駄な負荷が生じない
[0147] (10)請求項の各構成要件と実施の形態の各部との対応
本実施の形態では、クロック再生部 106が制御部に相当し、ビデオ復号回路 108ま たはオーディオ復号回路 110がトランスポートストリーム処理部に相当し、 PIDフィル タ部 104の AFC検出器 206、 AFL検出器 208および AFエラー判定器 210が検出 部に相当し、 PIDフィルタ部 104の TSパケットフィルタ 216が停止部または削除部に 相当する。また、 AFC検出器 206が第 1の抽出部に相当し、 AFL検出器 208が第 2 の抽出部に相当し、 AFエラー判定器 210が判定部に相当する。さらに、 PCRが時 刻情報に相当し、 "adaptation_field_control (ァダプテーシヨンフィールド制御) "が第 1 の識別子に相当し、 "adaptationjeldjength (ァダプテーシヨンフィールド長) "が第 2 の識別子に相当する。
[0148] (11)他の実施の形態
なお、上記実施の形態では、 AFCの値力 推測されるァダプテーシヨンフィールド の長さまたはその範囲と AFLの値力も算出されるァダプテーシヨンフィールドの長さと が整合しない場合に、該当する TSパケットを削除しているが、 AFCの値力も推測さ れるァダプテーシヨンフィールドの長さまたはその範囲と AFLの値力も算出されるァ ダプテーシヨンフィールドの長さとが整合しない場合に、該当する TSパケットのァダ プテーシヨンフィールドを無効化することによりァダプテーシヨンフィールドを削除して もよい。ここで、ァダプテーシヨンフィールドの無効化とは、ァダプテーシヨンフィール ドの内容を意味のない値にすることである。例えば、ァダプテーシヨンフィールドのす ベての値を 0にする。
[0149] また、上記実施の形態にお!、ては、時刻情報(時刻参照値)として PCRを用いて ヽ るが、時刻情報はこれに限定されるものではなぐ送信装置の基準クロックとトランス ポートストリーム処理装置の基準クロックとの同期をとるための他の時刻情報を用いて もよい。例えば、時刻情報として、 SCR (システムクロックリファレンス; system clock ref erence)を用いることもできる。
[0150] また、クロック再生部 106の全てが電子回路等のハードウェアにより実現されてもよ ぐあるいはクロック再生部 106の一部が CPU (中央演算処理装置)およびコンビュ ータプログラム等のソフトウェアにより実現されてもよい。例えば、比較器 112の機能 力 SCPUおよびコンピュータプログラムにより実現されてもよい。
[0151] さらに、 PIDフィルタ部 104の全てが電子回路等のハードウェアにより実現されても よぐあるいは PIDフィルタ部 104の一部および全てが CPUおよびコンピュータプロ グラム等のソフトウェアにより実現されてもよい。
[0152] さらに、上記実施の形態では、トランスポートストリーム処理部がビデオ復号回路 10 8またはオーディオ復号回路 110である場合を説明したが、これに限定されず、トラン スポートストリーム処理部が TSパケットのデータを復号するデータ復号部等の他の処 理部であってもよい。
[0153] また、上記実施の形態では、第 1および第 2の識別子として AFCの値および AFL の値に基づいて TSパケットにデータ誤りがあるか否かを検出している力 他の方法 で TSパケットにデータ誤りがある力否かを検出してもよい。
[0154] また、上記実施の形態では、 PCRを含む TSパケットにデータ誤りがある場合にそ の TSパケットを削除することによりクロック再生部 106による基準クロック CKの制御動 作を停止させている力 時刻情報を含む TSパケットにデータ誤りがある場合に TSパ ケットを削除せずにクロック再生部 106の制御動作を停止させてもよい。この場合、ク ロック再生部 106により生成される基準クロック CKの周波数が維持される。
[0155] さらに、上記実施の形態では、伝送路におけるジッタによる伝送エラーにより TSパ ケットのデータ誤りが生じる場合を説明しているが、本発明に係るトランスポートストリ ーム処理装置は、他の原因により TSパケットのデータ誤りが生じる場合にも適用可 能である。
産業上の利用可能性
[0156] 本発明に係るトランスポートストリーム処理装置は、トランスポートストリームを受信す るテレビジョン受像機等の受信装置、 DVD、ビデオテープ、ハードディスク等の記録 媒体の再生を行う再生装置、記録を行う記録装置または記録および再生を行う記録 再生装置等に利用することができる。

Claims

請求の範囲
[1] 時刻情報を含むトランスポートストリームパケットを含むトランスポートストリームを処理 するトランスポートストリーム処理装置であって、
基準クロックを生成するとともに、トランスポートストリーム中のトランスポートストリーム パケットに含まれる時刻情報に基づいて基準クロックの周波数を制御する制御部と、 前記制御部により生成された基準クロックに応答してトランスポートストリームに所定 の処理を行うトランスポートストリーム処理部と、
トランスポートストリーム中の時刻情報を含むトランスポートストリームパケットのデー タ誤りを検出する検出部と、
前記検出部により時刻情報を含むトランスポートストリームパケットのデータ誤りが検 出された場合に、前記制御部による基準クロックの周波数の制御動作を停止させる 停止部とを備えた、トランスポートストリーム処理装置。
[2] 前記停止部は、前記検出部により時刻情報を含むトランスポートストリームパケットの データ誤りが検出された場合に、データ誤りを含むトランスポートストリームパケットの 少なくとも時刻情報を削除する削除部を含む、請求項 1記載のトランスポートストリー ム処理装置。
[3] 前記制御部は、前記削除部によりトランスポートストリームパケットの少なくとも時刻情 報が削除された場合に、新たな時刻情報が与えられるまで、基準クロックの周波数を 時刻情報の削除前の値に維持する、請求項 2記載のトランスポートストリーム処理装 置。
[4] トランスポートストリームパケットは、ァダプテーシヨンフィールドに関する情報を含み、 前記検出部は、トランスポートストリームパケットのァダプテーシヨンフィールドに関 する情報に基づいて当該トランスポートストリームパケットのデータ誤りを検出する、請 求項 1記載のトランスポートストリーム処理装置。
[5] トランスポートストリームパケットのァダプテーシヨンフィールドに関する情報は、当該ト ランスポートストリームパケット中のァダプテーシヨンフィールドおよびペイロードの有 無を示す第 1の識別子と、当該トランスポートストリームパケット中のァダプテーシヨン フィールドの長さを示す第 2の識別子とを含み、 前記検出部は、前記第 1の識別子および前記第 2の識別子に基づいて当該トラン スポートストリームパケットのデータ誤りの有無を判定する、請求項 4記載のトランスポ 一トストリーム処理装置。
[6] 前記検出部は、前記第 2の識別子が示すァダプテーシヨンフィールドの長さが前記 第 1の識別子力 推定されるァダプテーシヨンフィールドの長さの条件を満たさない 場合に、当該トランスポートストリームパケットにデータ誤りがあると判定する、請求項 5記載のトランスポートストリーム処理装置。
[7] 前記第 1の識別子は、当該トランスポートストリームパケット中のァダプテーシヨンフィ 一ルドおよびペイロードの有無を示すァダプテーシヨンフィールド制御の値であり、前 記第 2の識別子は、当該トランスポートストリームパケット中のァダプテーシヨンフィー ルドの長さを示すァダプテーシヨンフィールド長の値であり、
前記検出部は、ァダプテーシヨンフィールド長の値により算出されるァダプテーショ ンフィールドの長さがァダプテーシヨンフィールド制御の値力 推測されるァダプテー シヨンフィールドの長さまたは長さの範囲に整合しない場合に、当該トランスポートスト リームパケットにデータ誤りがあると判定する、請求項 6記載のトランスポートストリーム 処理装置。
[8] 前記検出部は、
トランスポートストリームパケットからァダプテーシヨンフィールド制御の値を抽出する 第 1の抽出部と、
トランスポートストリームパケットからァダプテーシヨンフィールド長の値を抽出する第 2の抽出部と、
前記第 1の抽出部により抽出されたァダプテーシヨンフィールド制御の値および前 記第 2の抽出部により抽出されたァダプテーシヨンフィールド長の値に基づいて当該 トランスポートストリームパケットにデータ誤りがあるか否かを判定する判定部とを含む 、請求項 7記載のトランスポートストリーム処理装置。
[9] 前記削除部は、前記検出部により時刻情報を含むトランスポートストリームパケットの データ誤りが検出された場合に、データ誤りを含むトランスポートストリームパケットを 削除する、請求項 2記載のトランスポートストリーム処理装置。
[10] 時刻情報を含むトランスポートストリームパケットを含むトランスポートストリームを処理 するトランスポートストリーム処理方法であって、
基準クロックを生成するとともに、トランスポートストリーム中のトランスポートストリーム パケットに含まれる時刻情報に基づいて基準クロックの周波数を制御するステップと、 前記生成された基準クロックに応答してトランスポートストリームに所定の処理を行う ステップと、
トランスポートストリーム中の時刻情報を含むトランスポートストリームパケットのデー タ誤りを検出するステップと、
時刻情報を含むトランスポートストリームパケットのデータ誤りが検出された場合に、 基準クロックの周波数の制御動作を停止させるステップとを備えた、トランスポートスト リーム処理方法。
[11] 前記停止させるステップは、時刻情報を含むトランスポートストリームパケットのデータ 誤りが検出された場合に、データ誤りを含むトランスポートストリームパケットの少なくと も時刻情報を削除するステップを含む、請求項 10記載のトランスポートストリーム処理 方法。
[12] 前記制御するステップは、トランスポートストリームパケットの少なくとも時刻情報が削 除された場合に、新たな時刻情報が与えられるまで、基準クロックの周波数を時刻情 報の削除前の値に維持するステップを含む、請求項 11記載のトランスポートストリー ム処理方法。
[13] トランスポートストリームパケットは、ァダプテーシヨンフィールドに関する情報を含み、 前記検出するステップは、トランスポートストリームパケットのァダプテーシヨンフィー ルドに関する情報に基づ 、て当該トランスポートストリームパケット中のデータ誤りを 検出するステップを含む、請求項 10記載のトランスポートストリーム処理方法。
[14] トランスポートストリームパケットのァダプテーシヨンフィールドに関する情報は、当該ト ランスポートストリームパケット中のァダプテーシヨンフィールドおよびペイロードの有 無を示す第 1の識別子と、当該トランスポートストリームパケット中のァダプテーシヨン フィールドの長さを示す第 2の識別子とを含み、
前記検出するステップは、前記第 1の識別子および前記第 2の識別子に基づいて 当該トランスポートストリームパケットのデータ誤りの有無を判定するステップを含む、 請求項 13記載のトランスポートストリーム処理方法。
[15] 前記検出するステップは、前記第 2の識別子が示すァダプテーシヨンフィールドの長 さが前記第 1の識別子力 推定されるァダプテーシヨンフィールドの長さの条件を満 たさない場合に、当該トランスポートストリームパケットにデータ誤りがあると判定する ステップを含む、請求項 14記載のトランスポートストリーム処理方法。
[16] 前記第 1の識別子は、トランスポートストリームパケット中のァダプテーシヨンフィール ドおよびペイロードの有無を示すァダプテーシヨンフィールド制御の値であり、前記第 2の識別子は、トランスポートストリームパケット中のァダプテーシヨンフィールドの長さ を示すァダプテーシヨンフィールド長の値であり、
前記検出するステップは、ァダプテーシヨンフィールド長の値が示すァダプテーショ ンフィールドの長さがァダプテーシヨンフィールド制御の値力 推測されるァダプテー シヨンフィールドの長さまたは長さの範囲に整合しない場合に、当該トランスポートスト リームパケットにデータ誤りがあると判定するステップを含む、請求項 15記載のトラン スポートストリーム処理方法。
[17] 前記検出するステップは、
トランスポートストリームパケットからァダプテーシヨンフィールド制御の値を抽出する ステップと、
トランスポートストリームパケットからァダプテーシヨンフィールド長の値を抽出するス テツプと、
前記抽出されたァダプテーシヨンフィールド制御の値および前記抽出されたァダプ テーシヨンフィールド長の値に基づいて当該トランスポートストリームパケットにデータ 誤りがある力否かを判定するステップとを含む、請求項 16記載のトランスポートストリ ーム処理方法。
[18] 前記削除するステップは、時刻情報を含むトランスポートストリームパケットのデータ 誤りが検出された場合に、データ誤りを含むトランスポートストリームパケットを削除す るステップを含む、請求項 11記載のトランスポートストリーム処理方法。
PCT/JP2005/009788 2004-05-28 2005-05-27 トランスポートストリーム処理装置およびトランスポートストリーム処理方法 WO2005117323A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US11/568,581 US7706400B2 (en) 2004-05-28 2005-05-27 Transport stream processing device and transport stream processing method
EP05743660A EP1758288A4 (en) 2004-05-28 2005-05-27 TRANSPORT CURRENT PROCESSING DEVICE AND TRANSPORT CURRENT PROCESSING METHOD
JP2006513962A JP4279876B2 (ja) 2004-05-28 2005-05-27 トランスポートストリーム処理装置およびトランスポートストリーム処理方法
CN2005800172276A CN1961522B (zh) 2004-05-28 2005-05-27 传输流处理装置和传输流处理方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004-159139 2004-05-28
JP2004159139 2004-05-28

Publications (1)

Publication Number Publication Date
WO2005117323A1 true WO2005117323A1 (ja) 2005-12-08

Family

ID=35451233

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/009788 WO2005117323A1 (ja) 2004-05-28 2005-05-27 トランスポートストリーム処理装置およびトランスポートストリーム処理方法

Country Status (5)

Country Link
US (1) US7706400B2 (ja)
EP (1) EP1758288A4 (ja)
JP (1) JP4279876B2 (ja)
CN (1) CN1961522B (ja)
WO (1) WO2005117323A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010161748A (ja) * 2009-01-09 2010-07-22 Hitachi Kokusai Electric Inc 移動受信端末および中継装置
JP2010212945A (ja) * 2009-03-10 2010-09-24 Nec Corp クロック同期のための受信側ノード、その方法及びそのプログラム
JP2012186831A (ja) * 2005-04-27 2012-09-27 Agere Systems Inc パケットベース・ネットワークでのライン・タイミング

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101516325B1 (ko) * 2007-04-04 2015-05-04 한국전자통신연구원 Iso 기반 미디어 파일 포맷으로 mpeg-2전송스트림을 저장 및 재생하는 방법 및 장치
CN101340591B (zh) * 2008-08-11 2011-04-06 华为终端有限公司 解码系统中接收视音频数据的处理方法及装置
JP4735680B2 (ja) * 2008-08-12 2011-07-27 ソニー株式会社 同期回路及び同期方法
KR101670723B1 (ko) 2011-01-04 2016-11-01 삼성전자주식회사 비디오 및 오디오 통신 시스템에서 가변 길이의 전송 패킷 지원 방법 및 장치

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805602A (en) 1995-09-25 1998-09-08 Bell Atlantic Network Services, Inc. Network monitoring system for cell delay variation
JP2002281445A (ja) * 2001-03-19 2002-09-27 Toshiba Corp オーディオ・ビデオ復号再生装置とその同期再生方法
JP2003298874A (ja) * 2002-04-05 2003-10-17 Sony Corp 画像同期化装置及び方法、並びにプログラム及び記録媒体
JP2004128870A (ja) * 2002-10-02 2004-04-22 Canon Inc 映像復号出力装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3419607B2 (ja) 1995-08-25 2003-06-23 パイオニア株式会社 クロック再生装置
JPH09312634A (ja) 1996-05-22 1997-12-02 Matsushita Electric Ind Co Ltd デジタル放送受信機用システムクロック再生回路
JP3065276B2 (ja) 1997-05-13 2000-07-17 日本電気株式会社 データ分離回路並びにデータ分離回路でのエラー復旧方式及びその方法
US8306170B2 (en) * 1998-03-31 2012-11-06 International Business Machines Corporation Digital audio/video clock recovery algorithm
US20020097678A1 (en) * 2001-01-23 2002-07-25 Bisher James A. Method and apparatus for bandwidth management associated with misbehaving sessions
US7130316B2 (en) * 2001-04-11 2006-10-31 Ati Technologies, Inc. System for frame based audio synchronization and method thereof
US7508874B2 (en) * 2002-01-29 2009-03-24 Broadcom Corporation Error concealment for MPEG decoding with personal video recording functionality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805602A (en) 1995-09-25 1998-09-08 Bell Atlantic Network Services, Inc. Network monitoring system for cell delay variation
JP2002281445A (ja) * 2001-03-19 2002-09-27 Toshiba Corp オーディオ・ビデオ復号再生装置とその同期再生方法
JP2003298874A (ja) * 2002-04-05 2003-10-17 Sony Corp 画像同期化装置及び方法、並びにプログラム及び記録媒体
JP2004128870A (ja) * 2002-10-02 2004-04-22 Canon Inc 映像復号出力装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1758288A4

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012186831A (ja) * 2005-04-27 2012-09-27 Agere Systems Inc パケットベース・ネットワークでのライン・タイミング
JP2010161748A (ja) * 2009-01-09 2010-07-22 Hitachi Kokusai Electric Inc 移動受信端末および中継装置
JP2010212945A (ja) * 2009-03-10 2010-09-24 Nec Corp クロック同期のための受信側ノード、その方法及びそのプログラム

Also Published As

Publication number Publication date
CN1961522A (zh) 2007-05-09
CN1961522B (zh) 2011-07-20
EP1758288A4 (en) 2008-04-16
US20080008100A1 (en) 2008-01-10
EP1758288A1 (en) 2007-02-28
JP4279876B2 (ja) 2009-06-17
JPWO2005117323A1 (ja) 2008-04-03
US7706400B2 (en) 2010-04-27

Similar Documents

Publication Publication Date Title
US6807191B2 (en) Decoder for compressed and multiplexed video and audio data
WO2005117323A1 (ja) トランスポートストリーム処理装置およびトランスポートストリーム処理方法
US20030066094A1 (en) Robust method for recovering a program time base in MPEG-2 transport streams and achieving audio/video sychronization
EP1848221B1 (en) Method for reconstructing system time clock (STC) without carrying PCR
EP1936625A2 (en) Recording device, recording method and reproducing device
US6377588B1 (en) Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
KR100359782B1 (ko) 엠펙 디코더의 시스템 타임 클럭 조정 장치 및 방법
JP2000173181A (ja) データ記録装置及び出力装置、データ出力システム、データ記録方法及び出力方法、並びにデータ記録及び出力方法
US6577813B1 (en) Transmitting system and transmitting apparatus
JPH09224008A (ja) オーディオ再生時刻調整回路
US8359413B2 (en) Data stream buffer control using reference time and decoding time
JP4282722B2 (ja) ストリーム記録装置
JP4092705B2 (ja) ストリーム送信装置および受信装置、ならびに送受信方法
US7315686B2 (en) Time shift reproduction time controlling method and information reproduction apparatus
US20030018983A1 (en) Data broadcasting service system of storage type
JPH1093841A (ja) 映像同期信号補正装置
JP2001111610A (ja) 情報データ伝送システムの受信装置
JP3736396B2 (ja) ストリーム送信装置および受信装置
JPH1173729A (ja) 記録再生装置
JP4224749B2 (ja) 通信装置、通信方法、および記録媒体
JP2003087734A (ja) エラー検出装置及びエラー検出方法並びに記録再生装置及び記録再生方法
JPH11112452A (ja) 情報処理装置および方法、並びに伝送媒体
JP2001339688A (ja) トランスポートストリーム再生装置
JP2000187940A (ja) 記録再生装置、および記録装置
JP3744514B2 (ja) データ伝送装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

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

AL Designated countries for regional patents

Kind code of ref document: A1

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

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

Ref document number: 2006513962

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11568581

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2005743660

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 200580017227.6

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

WWP Wipo information: published in national office

Ref document number: 2005743660

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 11568581

Country of ref document: US