CN1117365C - Method and apparatus for controlling buffering of data stream - Google Patents
Method and apparatus for controlling buffering of data stream Download PDFInfo
- Publication number
- CN1117365C CN1117365C CN 98123949 CN98123949A CN1117365C CN 1117365 C CN1117365 C CN 1117365C CN 98123949 CN98123949 CN 98123949 CN 98123949 A CN98123949 A CN 98123949A CN 1117365 C CN1117365 C CN 1117365C
- Authority
- CN
- China
- Prior art keywords
- data
- sector
- buffer stage
- data stream
- buffer
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
In a DVD player the disc rotates at a constant speed. This automatically implies a bitstream delivery at a basically constant bitrate. At the same time the DVD standard uses variable bitrate compression for video and audio signals which is carried out in respective data decoders. For data rate equalisation a track buffer is used. In order to make maximum use of the available buffer the functional equivalent to the track buffer is distributed across several stages of buffers which are in particular software controlled. A first stage is the a pickup buffer, a second stage is a parallel set of PES queue buffers which store e.g. the video, audio, sub-picture and/or highlight data streams. A third stage is a parallel set of bit buffers for the different data type decoders.
Description
Technical field
The present invention relates to a kind of method and apparatus that is used for controlling the buffering that comprises one or more categorical data sectors of data stream.
Background technology
DVD (digital versatile disc) player is a kind of device that uses CD, and the rotating speed of CD is constant.So just mean naturally that bit stream is to carry with the bit rate of substantial constant.Simultaneously, adopted variable bit rate to come compressed video and sound signal in dvd standard, this is to carry out in data decoder separately.So just can obtain to be better than the excellent images and the acoustic mass of constant bit rate coding.In order to meet the bit rate of reading of variable compression bit rate and CD basically, dvd system can adopt variable CD to read bit rate.This executive mode can still be read CD according to constant speed, but stops read operation during reasonable time.
As shown in Figure 1, in order to adapt to this requirement, adopted a kind of elastic buffer MB in DVD player, it is called as session impact damper or mechanical damping device.When the session impact damper was filled, pickup controller P returned one or two or a plurality of session the reading head of pickup on CD D, sense data again from position that the session impact damper is filled or before this position.CD is driven by a motor M.Speed according to CD, the input end that the data stream of constant bit rate CBR is sent to impact damper through the amplifier A and the error correction of back, the output signal of coming controller buffer with variable bit rate scheduler VBRS, form as required provides the data that need, and the form with at least one variable bit rate VBR data stream offers one or more data decoder respectively in needs.VBR is determined by the program flow scrambler in the studio, controls CD with corresponding digital coding in the studio.
Carrying out in the rebound needed time of operation data decoder or program flow code translator PSD will obtain data from the session impact damper probably.The memory capacity of this session impact damper must be enough big, could provide the worst case data volume to all code translators during the worst case bounce time like this.The needed storer of this session impact damper is one of resource the most key and precious in the DVD player.The design of player is the design this resource of optimization as much as possible of software particularly.
Summary of the invention
One of purpose of the present invention provides a kind of improved session way to play for time.
Another object of the present invention provides a kind of device that utilizes the inventive method.
In order to maximally utilise the efficient buffer device, and the optimization total system, and the function of session impact damper equivalence is to distribute between special multi-stage buffer by software control.
The first order can be to pick up impact damper, is used for storing complete picks up data stream.
The second level can be one group of parallel PES (packetized elementary stream) queuing buffer, is used for storing video, audio frequency, split screen and/or high brightness data stream as the part in the middle of the complete picks up data stream.
The third level can be one group of parallel bit impact damper part, is used to for example video, audio frequency, split screen and/or high brightness data decoder.
This structure and existing DVD " mechanical damping device " structure is different, and the latter is arranged on a data stream demultiplexer after the output terminal of session impact damper, and wherein the session impact damper only is used for the data rate equilibrium.
Structure of the present invention has the following advantages:
A) after so-called DSI (Data Search Information, data search information) bag enters the session impact damper, can directly analyze and handle the jump information that is positioned at bag.Can accelerate the redirect performance of pick-up like this.
B) do not need as carrying scheduler to take the extremely coupling of strictness to the data stream demultiplexer to variable bit rate for MPEG-2 program data stream defined.Therefore, can use the memory capacity of mechanical damping device to deal with the deficiency of CPU ability simultaneously.
C) processing time of multichannel decomposition can be prolonged significantly, and is convenient to realize the demultiplexer of form of software.
D) before data stream is provided for the following stages of mechanical damping device, can therefrom remove and do not need the data sector (a data sector is special-purpose in a dvd system data packet format) deciphered, for example the multilingual voice data under single linguistic decoding situation.
E) can be used to replace the mechanical damping device at that part of bit buffer unit that is used for the packed data code translator that does not need to distribute to data decoding work at present.The utilization of this specific bit impact damper can not reduce required worst case mechanical damping device capacity, but it supports mechanical damping under most typical broadcast situation.
On principle, method of the present invention is fit to the buffering of a kind of like this data stream of control, it has the first general data rate, and the data sector that comprises one or more type, for the data in the data stream of a kind of general second buffering (buffer-out) data rate that is different from described first data rate usually of needs are deciphered, can take following steps:
-temporary transient data of storing in the data stream with described first data rate in first buffer stage;
-analyze the data sector of described data stream, and the data sector of particular type is distributed to appropriate section in the second follow-up buffer stage;
-with described second data rate various types of data sector is flowed to data decoding bit buffer unit corresponding in the 3rd follow-up buffer stage, so that the form of control decoding data, wherein said first, second and the 3rd buffer stage are carried out the buffering between described first and second data rates jointly.
Other useful embodiment of the inventive method have been proposed in every dependent claims.
On principle, the buffering of device control data stream of the present invention, this data stream has the first general data rate, and the data sector that comprises one or more type, for the data in the data stream of a kind of general second buffering (buffer-out) data rate that is different from described first data rate usually of needs are deciphered, this device comprises:
-be used in first buffer stage device that temporary transient storage has the data in the data stream of described first data rate;
-be used for analyzing the data sector of described data stream and the data sector of particular type distributed to the device of the counterpart in the second follow-up buffer stage;
-the various types of data sectors of data is offered in the 3rd follow-up buffer stage device of corresponding data decoding bit buffer unit with described second data rate, so that the form of control decoding data, wherein said first, second and the 3rd buffer stage are carried out the buffering between described first and second data rates jointly.
Description of drawings
Below to embodiments of the invention be described with reference to accompanying drawing, in the accompanying drawings:
Fig. 1 is a kind of conventional mechanical impact damper structure that is used for DVD player;
Fig. 2 represents the embodiment of distributed machinery impact damper DMB of the present invention.
Embodiment
In Fig. 2, the picks up data of input stream PDS at first be stored in be used for the PDS data sector pick up impact damper PSQ.Demultiplexer or bag analyzer PAN with the back determine and the selection data sector, video data for example, voice data, split screen data, and/or high brightness data, and various data sector are distributed to the PES queuing buffer, video sector buffer VSQ for example, audio sector impact damper ASQ, split screen sector buffer SPSQ, and/or high brightness sector buffer HSQ.Can carry out this distribution with each address pointer, or adopt various replicate runs.The most handy demultiplexer or bag analyzer PAN determine to pick up when impact damper PSQ can be filled or approaching being full of, and send corresponding jump instruction JC to picking up controller.
Data from the PES queuing buffer arrive corresponding data decoding bit buffer unit by a code translator driver or the bit buffer unit charger of bit buffer unit charger BBF or respective numbers, video bits impact damper VBB for example, audio bit impact damper ABB, and/or split screen bit buffer unit SPBB.Can finish this data allocations work by the replicate run of reality.Code translator driver or bit buffer unit charger BBF can send to a corresponding free memory sector signal FMSS who shows the memory sectors free time by a free memory sector signal buffer FMSQ and pick up controller.Be provided for corresponding data decoder from the data of data decoding bit buffer unit, video decoder VD for example, tone decoder AD, and/or a split screen code translator SPD.Tone decoder can adopt mpeg audio code translator and/or AC3 (Audio Codingalgorithm No.3, audio coding algorithm 3) tone decoder.The high brightness data sector can directly arrive high brightness code translator HD by high brightness sector buffer HSQ.Pick up impact damper PSQ, the PSE queuing buffer, and/or the data decoding bit buffer unit can adopt single storer, gives described buffer function with storage area or its range assignment of correspondence.
The DVD demultiplexer preferably constitutes with software module fully.This software is used to analyze the DVD stream of sectors that comprises MPEG-2 program flow packet, for each code translator provides service load, and the demonstration of control service load.
The request of data packet analysis device is determining the practical operation of demultiplexer.From pick up impact damper PSQ, extract the DVD sector that comprises MPEG-2 program flow packet.Analyze these program flow packets, determine a kind of PES impact damper queuing.Each data decoder all has a kind of PES impact damper queuing.After the data packet analysis device has been determined correct PES impact damper queuing, this formation is enrolled in the DVD sector.
This queuing operation does not preferably comprise the replicate run of any reality, only is moving hand.Can constitute code translator driver or bit buffer unit charger BBF with various data decoder chargers, video charger for example, the mpeg audio charger, AC3 audio frequency charger, be used for from PES impact damper queuing separately, extracting the DVD data sector, copy data to subsequently in the code translator bit buffer unit.Usually need at this moment to carry out actual replicate run because current available decoder chip for example SGS-Thomson STi3520A need a kind of continuous bit buffer unit memory paragraph, it is to be controlled by the hardware of code translator itself fully.
Yet, as mentioned above,, the hardware of code translator is attached to less data division if using, and for example the chained list of the data sector of 2048 bytes calculates each jump address or the address pointer of general-purpose storage, just can avoid this extra replicate run.In another part European patent application EP 97119673.8 of submitting on the same day, describe this process the applicant in detail.
Data allocations in all are at different levels is variable.Because between level and level, do not have copy data, but the address pointer of transmission block only, this distribution is a continually varying.
Any problem appears in the validity for fear of CPU, and it preferably carries out all processing steps that can carry out under present case.Therefore, desirable target is to be full of all code translator bit buffer units, and vacates every other formation.
The present invention can be used for the present device of all kinds medium, especially for the light or the medium of magnetic, if for example CD and tape current or the transmitted data rates of short-term is different with the decoding data speed of current or short-term, also can be used for transmitting the data that need decoding.
Claims (11)
1. be used for a kind of method of control data stream buffering, data stream has the first general data rate, and the data sector that comprises one or more type, for the data in the data stream of a kind of second general buffered data speed that is different from described first data rate usually of needs are deciphered, it is characterized in that taking following steps:
-temporary transient data of storing in the data stream with described first data rate in first buffer stage;
-analyze the data sector of described data stream, and with the data sector of particular type distribute to appropriate section in the second follow-up buffer stage (VSQ, ASQ, SPSQ, HSQ);
-with described second data rate with the various types of data sectors of data flow in the 3rd follow-up buffer stage corresponding data decoding bit buffer unit (VBB, ABB, SPBB) so that the form of control decoding data,
Wherein carry out buffering between described first and second data rates jointly by the described the first, the second and the 3rd buffer stage.
2. according to the method for claim 1, it is characterized in that the described the first, the second and the 3rd buffer stage is arranged in the same storer.
3. according to the method for claim 1 or 2, it is characterized in that the distribution in described second buffer stage is finished with address pointer.
4. according to the method for claim 1 or 2, it is characterized in that finishing by the data replicate run to the transportation work of described the 3rd buffer stage.
5. according to the method for claim 1 or 2, it is characterized in that described data stream is the DVD data stream from a disk pickup, and comprise video, audio frequency, split screen and/or high brightness data sector in the described data sector type.
6. according to the method for claim 1 or 2, the different data rate buffering that it is characterized in that being used for described first, second and the 3rd buffer stage is controlled with software.
7. be used for a kind of device of control data stream buffering, data stream has the first general data rate, and the data sector that comprises one or more type, for the data in the data stream of a kind of second general buffered data speed that is different from described first data rate usually of needs are deciphered, this device comprises:
-be used in first buffer stage device (PSQ) that temporary transient storage has the data in the data stream of described first data rate;
-be used for analyzing the data sector of described data stream and the data sector of particular type is distributed to appropriate section (VSQ, ASQ, SPSQ, device HSQ) (PAN) in the second follow-up buffer stage;
-with described second data rate with the data delivery of various types of data sector give data decoding bit buffer unit corresponding in the 3rd follow-up buffer stage (VBB, ABB, device SPBB) (BBF) so that the form of control decoding data,
Wherein said first, second and the 3rd buffer stage are carried out the buffering between described first and second data rates jointly.
8. according to the device of claim 7, it is characterized in that comprising a general-purpose storage, held described first, second and the 3rd buffer stage therein.
9. according to the device of claim 7 or 8, it is characterized in that described data stream is the DVD data stream from a disk pickup, and comprise video, audio frequency, split screen and/or high brightness data sector in the described data sector type.
10. according to the device of claim 9, it is characterized in that when the described definite memory capacity according to described first data rate described device (PSQ) of the data of temporary transient memorying data flow in first buffer stage of device (PAN) that is used for analyzing data sector can be filled or approaching being full of, and send a jump instruction (JC) to picking up controller (P).
11. device according to claim 9, it is characterized in that the various types of data sectors of data being flowed to corresponding data decoding bit buffer unit (VBB with described second data rate, ABB, SPBB) described device (BBF) determines when effective free storage is, and a corresponding free storage sector signals (FMSS) that shows the memory sectors free time sent to picks up controller (P).
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP97119672A EP0917142A1 (en) | 1997-11-11 | 1997-11-11 | Method and apparatus for controlling the buffering of a data stream |
EP97119672.0 | 1997-11-11 | ||
EP97120351 | 1997-11-20 | ||
EP97120351.8 | 1997-11-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1222735A CN1222735A (en) | 1999-07-14 |
CN1117365C true CN1117365C (en) | 2003-08-06 |
Family
ID=26145882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 98123949 Expired - Fee Related CN1117365C (en) | 1997-11-11 | 1998-11-05 | Method and apparatus for controlling buffering of data stream |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP4199862B2 (en) |
CN (1) | CN1117365C (en) |
DE (1) | DE69820839T2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100470025B1 (en) * | 2001-06-15 | 2005-02-04 | 엘지전자 주식회사 | Apparatus and method for recording a digital data stream, and medium thereof |
-
1998
- 1998-10-29 DE DE69820839T patent/DE69820839T2/en not_active Expired - Lifetime
- 1998-11-05 CN CN 98123949 patent/CN1117365C/en not_active Expired - Fee Related
- 1998-11-09 JP JP31816098A patent/JP4199862B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH11250566A (en) | 1999-09-17 |
CN1222735A (en) | 1999-07-14 |
DE69820839D1 (en) | 2004-02-05 |
DE69820839T2 (en) | 2004-12-30 |
JP4199862B2 (en) | 2008-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1231051C (en) | Method for storing compressed digital audio and video | |
CN1132431C (en) | Data reproducing method and data reproducing apparatus | |
US5664226A (en) | System for merging plurality of atomic data elements into single synchronized file by assigning ouput rate to each channel in response to presentation time duration | |
CN1166132C (en) | Apparatus for processing packet, and medium storing packet processing program | |
US6057832A (en) | Method and apparatus for video-on-demand with fast play capability | |
CN101059988B (en) | Information storage medium having multi-angle data and related apparatus | |
KR987001189A (en) | A method for resisting executable multimedia application information on a hardware platform at a variety of different resource levels, a physical record including such an application, and a device for executing such an application such as a variety of resource levels, a physical record containing such applications, and an apparatus for executing such applications. | |
CN1194539A (en) | Image information recording and replay device | |
CN100339906C (en) | Method and apparatus for controlling audio-frequency flow buffering | |
CN1160952C (en) | Method and device for recording retrieval information and searching recorded data stream by using it | |
CN1798309A (en) | Content reproduce system, reproduce device, and reproduce method and distribution server | |
CN1813303A (en) | Storage device for storing different data formats | |
CN1747034B (en) | Method for preventing audio or video interrupt in mixed multimedia player | |
CN101794607B (en) | Information storage medium storing multi angle data, and recording method and reproducing apparatus thereof | |
CN1117365C (en) | Method and apparatus for controlling buffering of data stream | |
JP2008529405A (en) | Video player for digital video server | |
CN101079309A (en) | Information storage medium storing multi-angle data and method and apparatus for reproducing the multi-angle data | |
WO2002051132A1 (en) | Compressed-data processing arrangement and related method | |
US8837921B2 (en) | System for fast angle changing in video playback devices | |
CN1274145C (en) | Bit stream processing for replay | |
EP0917143B1 (en) | Method and apparatus for controlling the buffering of a data stream | |
CN1288906C (en) | Method of replaying digital broadcast program at low speed | |
CN1825935A (en) | Apparatus for reproducing encoded data | |
EP0917142A1 (en) | Method and apparatus for controlling the buffering of a data stream | |
CN1582436A (en) | Admission control system for home video servers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20030806 Termination date: 20161105 |
|
CF01 | Termination of patent right due to non-payment of annual fee |