Plaque It!
Sponsored by: Flash of Genius |
[0001] 1. Field of the Invention
[0002] The present invention relates to a method and apparatus for recording and transferring time information for digital data streams. A digital data stream is recorded on a recording medium along with the time information thereof and thus every packet stream unit has the time information of its own. The time information is used for searching the recording medium for a specific packet stream unit requested by a user and maintaining a precise timing for transferring packet stream units through a digital interface to an external apparatus.
[0003] 2. Description of the Related Art
[0004] In conventional analog television broadcast, video signals are transmitted over the air or through cables after being AM or FM modulated. With the recent rapid advance of digital technologies such as digital image compression or digital modulation/demodulation, standardization for digital television broadcast is in rapid progress. Based upon the Moving Picture Experts Group (MPEG) format, satellite and cable broadcast industry also moves towards digital broadcast.
[0005] Digital broadcast offers several advantages that its analog counterpart cannot provide. For example, digital broadcast is capable of providing services with far more improved video/audio quality, transmitting several different programs within a fixed bandwidth, and offering enhanced compatibility with digital communication media or digital storage media.
[0006] In digital broadcast, a plurality of programs encoded based upon the MPEG format are multiplexed into a transport stream before transmitted. The transmitted transport stream is received by a set top box at the receiver and demultiplexed into a plurality of programs. If a program is chosen from among the demultiplexed programs, the chosen program is decoded by a decoder in the set top box and original audio and video signals are retrieved. The retrieved audio and video signals can be presented by an A/V output apparatus such as a TV.
[0007] It is also possible to store the received digital broadcast signals on a storage medium instead of directly outputting the received broadcast signals to A/V output devices. The stored digital broadcast signals can be edited and presented afterwards. For example, a digital data stream received by a set top box can be stored in a streamer such as a digital video disk (DVD) through communication interfaces like an IEEE-1394 serial bus. Later, the stored digital data stream can be edited and transmitted back to the set top box so that the original digital audio and video data can be presented.
[0008] When recording the digital data stream of a single program in a streamer, the basic recording unit is the stream object (SOB) comprising a series of stream object units (SOBUs). To record received digital broadcast signals in a streamer and reproduce the recorded signals afterwards, it is necessary to explore how to group and record stream objects (SOBs) and stream object units (SOBUs) and how to create search information for managing and searching for the recorded stream objects (SOBs) and stream object units (SOBUs). Also, it is required to investigate how to search a specific data stream corresponding to a search time requested by a user.
[0009] A conventional method for recording digital data streams and creating and recording navigation information will now be explained with reference to the accompanying drawings.
[0010]
[0011] A control unit
[0012]
[0013] The stream start packet arrival time (S_S_APAT) contained in the stream object general information (SOB_GI) is recorded as a 6-byte packet arrival time (PAT) comprising a 9-bit packet arrival time extension (PAT_ext) and 39-bit packet arrival time base (PAT_base), as shown in
[0014] The method for searching a digital data stream corresponding to a requested search time using the navigation and time information regarding the stream objects (SOBs) and stream object units (SOBUs) will be explained in detail with reference to an example.
[0015] With reference to
[0016] Referring to the mapping list (MAPL) of the stream object SOB #
[0017] From the start position A′ of the searched stream object SOBU
[0018] The position A searched based upon the time information (S_S_APAT+x×Σ IAPAT) calculated using the incremental application packet arrival times (IAPATs), however, does not coincide with the actual start position A′ of the stream object unit SOBU
[0019] As a result, additional information indicative of the offset value between A′ and A (Offset_SZ in
[0020] The digital data communication between the set top box
[0021] As explained before, the streamer
[0022] It is an object of the present invention to provide a method and apparatus for creating and recording time information intended for precisely searching a recording medium for a requested packet stream unit. When recording received packet stream units on a recording medium, time information pertaining to each of the received packet stream unit is created and added to the corresponding packet stream unit. The format of the added time information is compatible with a search time requested by a user so that the timing error that may arise in search operations can be effectively eliminated.
[0023] It is another object of the present invention to provide a method and apparatus for creating and recording arrival time information of each packet stream unit so that the arrival time added to each of the received transport stream unit when recording received packet stream units is synchronized with the clock used in digital interfaces.
[0024] A method for recording time information for digital data streams in accordance with an embodiment of the invention comprises detecting the packet arrival time of each received transport stream packet and recording the detected packet arrival time in the format compatible with the format of a search time information.
[0025] A recording medium on which the time information for digital data streams in accordance with an embodiment of the present invention is recorded comprises a data area wherein packet arrival times and transport stream packets are recorded and being organized as stream objects, and a navigation data area wherein search time information the format of which is compatible with the packet arrival time is recorded.
[0026] These and other objects of the present application will become more readily apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modification within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description.
[0027] The accompanying drawings, which are included to provide a further understanding of the invention, illustrate the preferred embodiments of the invention, and together with the description, serve to explain the principles of the present invention.
[0028] In the drawings:
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041] In order that the invention may be fully understood, preferred embodiments thereof will now be described with reference to the accompanying drawings.
[0042]
[0043] Like a clock counting method and format thereof used when creating the digital data stream, the 6-byte stream start application packet arrival time (S_S_APAT) contained in the stream object general information (SOB_GI) comprises a 9-bit packet arrival time extension (PAT_ext) and a 39-bit packet arrival time base (PAT_base). The packet arrival time extension (PAT_ext) is a modulo-300 counter that is incremented at a rate of 27 MHz, whereas the packet arrival time base (PAT_base) is incremented at a rate of 90 kHz.
[0044] On the other hand, the packet arrival time (PAT) of a transport stream packet is 4-byte data comprising a 9-bit packet arrival time extension (PAT_ext) and 23-bit packet arrival time base (PAT_base). Like the stream start application packet arrival time (S_S_APAT), the packet arrival time extension (PAT_ext) is a modulo-300 counter that is incremented at a rate of 27 MHz and the packet arrival time base (PAT_base) is incremented at a rate of 90 kHz. The created packet arrival time (PAT) is included in each received transport stream packet to form stream object units to be recorded on a recording medium.
[0045] In consequence, the 4-byte packet arrival time (PAT) of a transport stream packet has the same format as the lower 4 bytes of the 6-byte stream start application packet arrival time (S_S_APAT) and so the lower 4-byte data of the stream start application packet arrival time (S_S_APAT) always coincides with one of the recorded 4-byte packet arrival times (PATs). Also, there is certainly a packet arrival time (PAT) coinciding with the lower 4-byte data of the search time (ST) requested by a user, the 6-byte search time (ST) comprising a packet arrival time base (PAT_base) and a packet arrival time extension (PAT_ext) specified by the MPEG format.
[0046] It is also possible to record the packet arrival time (PAT) of each transport stream packet as 6-byte data like the stream start application packet arrival time (S_S_APAT). When recording the packet arrival time (PAT), it is desirable to use a shorter data length, for example 4 bytes, to improve the recording efficiency of the recording medium. However, a shorter data length of the packet arrival time (PAT) inevitably leads to a reduced range of the number that the packet arrival time (PAT) can represent. It will be shown below that the reduced range is no obstacle to searching for a requested packet.
[0047] The 4-byte packet arrival time (PAT) of a transport stream packet can represent up to 93.2 s (93.2=223/90 kHz) since its packet arrival time base (PAT_base) is 23-bit data that is incremented at a rate of 90 kHz. The packet arrival time (PAT) is reset to zero when the value reaches the limit, as shown in
[0048]
[0049] The method for searching for the position (s) of a transport stream packet corresponding to a search time (ST) requested by a user from the data stream recorded as shown in
[0050] From the start position A′ of the searched stream object SOBU
[0051] Based upon the stream start application packet arrival time (S_S_APAT) and incremental application packet arrival time (IAPAT) in the mapping list (MAPL), the stream object unit SOBU
[0052] So far, the method for creating and recording the packet arrival time (PAT) of each transport stream packet on a recording medium has been explained with reference to an embodiment. In the embodiment, the format of the created packet arrival time is compatible with that of the search time information recorded on the recording medium or requested by a user. In another embodiment of the invention to be explained from now, the packet arrival time (PAT) is created in such a way that the packet arrival time (PAT) is counted by count means comprising a bigger-unit time field and a smaller-unit time field so that the format of the packet arrival time (PAT) is compatible with the clock format used in digital interfaces.
[0053]
[0054]
[0055] The time offset is incremented at a rate of 27 MHz, which is the streamer clock. Like the cycle offset in the IEEE-1394 interface, it can represent up to 125 μs by using 0˜D/2E(h). The time counter field is incremented at 125 μs intervals and can represent up to 65 s. Each time the time offset field is reset after counting up to D2E(h), a carry is generated and the time counter field is incremented by 1.
[0056] The 1-bit flag indicates whether or not a program clock reference (PCR) is contained in the corresponding transport stream packet. In this example, the value “1” indicates that the transport stream packet contains a program clock reference. On the contrary, the value “0” indicates that the corresponding transport stream packet only contains the time counter and time offset of the packet arrival time created based upon the streamer clock.
[0057] Referring to
[0058] When digital data is outputted from a digital receiving processing unit
[0059] The output pulse of time counter trigger unit
[0060] In consequence, the packet arrival time of each transport packet transmitted based upon the time stamps of the IEEE-1394 interface added to the header of the transport stream packet is created and recorded based upon a clock of 27 MHz synchronized with the time stamp clock of 24.576 MHz, thereby preventing the time intervals between two consecutive transport packets from being distorted by transmission.
[0061] The invention may be embodied in other specific forms without departing from the sprit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.