TW454421B - Decoding system - Google Patents

Decoding system Download PDF

Info

Publication number
TW454421B
TW454421B TW88106634A TW88106634A TW454421B TW 454421 B TW454421 B TW 454421B TW 88106634 A TW88106634 A TW 88106634A TW 88106634 A TW88106634 A TW 88106634A TW 454421 B TW454421 B TW 454421B
Authority
TW
Taiwan
Prior art keywords
clock
bus
processor
output
buffer device
Prior art date
Application number
TW88106634A
Other languages
Chinese (zh)
Inventor
Hiroaki Shimazaki
Junichi Komeno
Takafumi Ueno
Original Assignee
Matsushita Electric Ind 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 Ind Co Ltd filed Critical Matsushita Electric Ind Co Ltd
Application granted granted Critical
Publication of TW454421B publication Critical patent/TW454421B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention is a decoding system for transferring a system stream multiplexing the video stream obtained by compressing and coding the video signal, a presentation time stamp, and a program clock reference for recovering the system time clock of the decoding system, to the CPU through a bus and processing it on the CPU. The entered system stream is stored in first buffer means, and is transferred to second buffer means through the bus. The system stream stored in the second buffer means is read out by the CPU and decoded. The capacity of the second buffer means is set so as to exceed the quantity of the system stream entered in a time necessary for arbitration of transfer requests in the bus. Moreover, the PCR input to the STC recovery means is delayed by the delay time from the output of a packet from a demodulator until arrival at the CPU.

Description

經濟部智慧財產局員工消費合作社印製 5 4421 A7 __B7 _ 7、發明説明(1 ) 1·本發明之範圍: 本發明有關於一種解碼系統,用以接收已壓縮及已數 據包化之視頻和聲頻流,並藉MPEG或其他編碼方法以無 線或有線裝置多路傳輸,或自一儲存媒體讀取並輸出視頻 信號及聲頻信號。 更特別地,它有關於藉同步化影像及聲音之内涵之輸 出之技術。 2.早期技藝之說明: 一傳統式解碼系統係經設計以接收多路轉換之至少一 組出自視頻流之系統流’而此視頻流係以MPEG2或其他 影像壓縮方法,表示時間標誌(此後以PTS表示),以及用 以還原解碼系統之系統定時時鐘(STC)之程序時鐘資料 (PCR)而藉壓縮視頻所獲得者。 依照MPEG系統標準,一如此一多路傳輸之系統流, 兩種流係經界定,亦即,傳輸流和程序流。作為此兩種之 一具代表性範例’此傳輸流係經解釋如下: 在傳輸流中’除了上文提及之視頻流pTs、PCR以外 ,由壓縮聲音所獲得之一聲頻流,一程序指定信息(PS!) ,諸如程序信.息之業務信息(SI),以及其他附加信息可以 多路傳輸》 自此傳輸流以將它們多路分配所獲得之pcr,此stc 係經還原。以此一 STC為基礎,用以顯示依照由PTS所指 定之表示時間藉解碼此多路分配之視頻流所獲得之視頻之 一種解碼系統係經揭露,例如,在日本公開專利案第9_ 七紙張级適用中國國家樣;(CNS) Α4·_ ( 210X297公褒J - —-------裝------訂------ 卜 Λ ( .'·- - t (請先閎讀背面之注意事項再填寫本頁) 4 五、 經濟部智慧財產局員工消費合作社印製 發明説明(2 307865號中者。 在此一公報中所揭露之此裝置係有意來實施自此傳輸 流,STC之還肩,以及硬體上視頻及音頻之解瑪等必需數 據要分開,以及藉使用軟體在此處理機上之1)81及31之處 理β此一公報亦揭露此裝置之構造,其中聲頻係藉軟體之 使用而在處理機上被解碼。 以一在個人電腦上安裝之裝置實現此公報之此一解碼 系統之範例係顯示於第18圖内<* 在第18圖中’一輸入端子1、一流解調器2、一數據包 多路分配器15、STC還原裝置16'第一滙流排界面裝置3 、第三缓衝器裝置4、視頻解碼器5以及一輸出端子6係需 要高速處理之部分,並係因此在硬體上實現,以及因此係 連接至一個人電腦之周邊滙流排7作為機内增添物(所謂之 數位TV接收機)。 此周邊匯流排7、橋路8、判優程序器9、主滙流排10 、記憶體11、第四緩衝器裝置12,以及處理機13構成此個 人電腦之部分。 第二匯流排介面裝置14、一聲頻提供器7,以及輸出 端子18係連接至個人電腦之周邊匯流排7作為其他機内增 加物(所謂之第二卡片)。 第三滙流排介面裝置25連接此個人電腦上之周邊滙流 排7以及一硬盤驅動器(HDD)26。一操作系統(〇s)和專利申 請案軟體係儲存於HDD 26,以及此OS係讀入此記憶體^ 内者係經自此HDD 26通過第三匯流排介面裝置25而由處 本紙張尺度逋用中國國家榇準(CNS > A4規格<21〇X 29*7公釐) (請先聞讀背面之注意事項再填寫本頁) ,裝· -訂 - 今 4 5 44 2:1Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 5 4421 A7 __B7 _ 7. Description of the invention (1) 1. Scope of the invention: The invention relates to a decoding system for receiving compressed and packetized video and The audio stream is multiplexed by wireless or wired devices by MPEG or other encoding methods, or read and output video signals and audio signals from a storage medium. More specifically, it has techniques for synchronizing the output of the connotation of images and sounds. 2. Explanation of early techniques: A traditional decoding system is designed to receive at least one system stream from a video stream that is multiplexed, and this video stream uses MPEG2 or other video compression methods to indicate the time stamp (hereinafter PTS), and the program clock data (PCR) used to restore the system clock (STC) of the decoding system, obtained by compressing the video. According to the MPEG system standard, for such a multiplexed system stream, two streams are defined, that is, a transport stream and a program stream. As a representative example of the two, this transport stream is explained as follows: In the transport stream, in addition to the video stream pTs and PCR mentioned above, an audio stream obtained from compressed sound, a program specifies Information (PS!), Such as program information, business information (SI), and other additional information can be multiplexed. Since then, the stream is streamed to distribute them to the PCRs obtained. This stc is restored. Based on an STC, a decoding system for displaying a video obtained by decoding this multi-distributed video stream at a presentation time designated by PTS is disclosed, for example, in Japanese Patent Publication No. 9_ 七 纸Class applies to China's national sample; (CNS) Α4 · _ (210X297 male 褒 J-—------- installation ------ order -------- BU Λ (. '·--T ( Please read the precautions on the back before filling out this page) 4 5. The invention description printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs (No. 2 307865). The device disclosed in this bulletin was intentionally implemented from This transport stream, the shoulder of STC, and the necessary data such as the video and audio on the hardware must be separated, and the software is used to process 1) 81 and 31 on this processor. This bulletin also discloses this device The structure in which the audio is decoded on the processor by the use of software. An example of a decoding system that implements this bulletin with a device installed on a personal computer is shown in FIG. 18 < * on page 18 'One input terminal 1, first-class demodulator 2, one packet demultiplexer 15, ST C restoration device 16 'The first bus interface device 3, the third buffer device 4, the video decoder 5, and an output terminal 6 are parts requiring high-speed processing, and are therefore implemented in hardware, and therefore connected A peripheral bus 7 to a personal computer serves as an add-on to the machine (so-called digital TV receiver). This peripheral bus 7, bridge 8, arbitration programmer 9, main bus 10, memory 11, fourth buffer The device 12 and the processor 13 form part of this personal computer. The second bus interface device 14, an audio provider 7, and an output terminal 18 are connected to the peripheral bus 7 of the personal computer as other internal additions (so-called Second card). The third bus interface device 25 is connected to the peripheral bus 7 and a hard disk drive (HDD) 26 on the personal computer. An operating system (0s) and a patent application software system are stored in the HDD 26, and This OS is read into this memory ^ The internal one has been passed from the HDD 26 through the third bus interface device 25 to the local paper standard (CNS > A4 specification < 21〇X 29 *) 7 mm) (please First read the notes on the back and then fill out this page), installed · -ordered-today 4 5 44 2: 1

經濟部智慧財產局員工消費合作社印製 A7 B7 五、發明説明(3 ) 理機13來操作’以及此專利申請案軟體諸如psi/SI處理及 聲頻解碼軟體操作於OS上。 此操作係說明如下: 在第18圖内’有錯誤校正編碼或調製添加至此傳輸流 之一信號係經通過此輸入端子1而進給入流解調器2内》 藉處理諸如由此流解調器2之解調或錯誤校正所獲得 之傳輸流係進給至數據包多路分配器15内。此數據包多路 分配器15自此傳輸流分離pcR,並輸出此PCR至STC還原 裝置16。同時分離有PTS被多路傳送於視頻流上之一視頻 數據包化之基本流(視頻PES),它發送此視頻PES至第三 缓衝器裝置4。其他資料係自第一匯流排介面裝置3藉周邊 滙流排7、橋路8,和主滙流排1〇之路徑而轉移至記憶體11 内之第四缓衝器裝置12。 在此’此第四緩衝器裝置12係一有512 XN字節之尺 寸之一數據包接收緩衝器,假定用以組成此程序之單元之 數目係Ν’ 一如在引用之公報中所說明者。 此STC還原裝置16自進入之PCR還原此STC並輸出至 視頻解碼器5,同時亦以周邊匯流排7,橋路8以及主溫流 排10之路徑自第一滙流排介面裝置3輸出至此處理機13。 此視頻解碼器5解碼被赌存於第三緩衝器裝置4内之視 頻PES ’再產生此視頻數據,變換並處理成為適用於輪出 之信號格式’並在自STC還原裝置16所進入之STC之基礎 上依照由自視頻PES所分離之PTS所呈現之時間而輸出此 視頻信號至輸出端子6。 本紙張尺度適.用中國國家標準(CNS ) Α4規格(210X297公瘦) -----------------~tr~------ „ ' . . . (請先閱讀背面之注$項再填寫本頁}Printed by the Intellectual Property Bureau's Consumer Cooperatives of the Ministry of Economic Affairs A7 B7 V. Description of the Invention (3) Machine 13 to operate 'and this patent application software such as psi / SI processing and audio decoding software operates on the OS. This operation is explained as follows: In FIG. 18, “a signal with error correction coding or modulation added to this transport stream is fed into the stream demodulator 2 through this input terminal 1”. The transport stream obtained by the demodulation or error correction of the router 2 is fed into the packet demultiplexer 15. The packet demultiplexer 15 separates pcR from the transport stream, and outputs the PCR to the STC reduction device 16. At the same time, an elementary stream (video PES) in which a PTS is multiplexed on a video data packet is separated, and it sends the video PES to the third buffer device 4. Other data are transferred from the first bus interface device 3 to the fourth buffer device 12 in the memory 11 by the path of the peripheral bus 7, the bridge 8, and the main bus 10. Here 'this fourth buffer device 12 is a packet receiving buffer having a size of 512 XN bytes, assuming that the number of units used to constitute this program is N' as described in the cited publication . The STC reduction device 16 restores the STC from the incoming PCR and outputs it to the video decoder 5. At the same time, it also outputs the peripheral bus 7, bridge 8 and main temperature bus 10 from the first bus interface device 3 to this process. Machine 13. This video decoder 5 decodes the video PES stored in the third buffer device 4 'regenerates this video data, transforms and processes it into a signal format suitable for rotation' and enters the STC from the STC restoration device 16 Based on this, the video signal is output to the output terminal 6 according to the time presented by the PTS separated from the video PES. The size of this paper is suitable. Use Chinese National Standard (CNS) Α4 size (210X297 male thin) ----------------- ~ tr ~ ------ `` '... (Please read the note on the back before filling in this page}

經濟部智慧財產局員工消費合作社印製 4 0 44 2 ^ A7 ___B7 五、發明説明(4 ) 此處理機13處理被儲存於第四緩衝器裝置12内之 PSI/SI並依照這些資料而控制此整個裝置。 此處理機13亦解碼儲存在第四緩衝器裝置12内之聲頻 PES以及再產生重製之聲頻數據,並在通過滙流排自STC 還原裝置16所轉移之STC之基礎上,依照由自此聲頻j>es 所分離之PIS所呈現之時間,藉橋路8,周邊滙流排7和第 二滙流排界面裝置14之路徑而轉移至聲頻提供器17 ^此聲 頻提供器i7變轉並處理此轉移之聲頻數據成為適用於輸出 之信號格式’並自此輸出端子輸出此聲頻信號。 此判優程序器9係用以在橋路8,第一匯流排介面裝置 3,第二匯流排界面裝置14,和第三匯流排介面裝置25之 中間判斷此轉移請求之硬體。 此周邊滙流排7,橋路8,第一滙流排介面裝置3,判 優程序器9,第二匯流排介面裝置14,以及第三匯流排介 面裝置25可以例如藉對周邊構件互連PCI之建築順從而組 成(例如,“;PCI滙流排之細節以及供應用之步驟”,公開設 計第七號,CQ出版,1995年)。 在此一傳統式解碼系統中,雖然數據包多路分配器15 係以硬體實現,但為此一目的之機内電路之添加在數量上 係增加以及它將導致高成本。最近,微處理機之生產量係 顯著地增強,以及吾人充分可能讓此處理機13在數據包多 路分配器15之處理上來使用軟體。 不過,要節省成本,如果當自流解調器2轉移此傳輸 流輸出至處理機13而試當作此數據包多路分配器15之程序 本紙張尺度適.用中國國家標準(CNS ) Α4规格(210X297公釐) (請先閲讀背面之注$項再填寫本頁) l·訂 1^. 454421 A7 B7 五、發明説明(5 ) 在處理機13上時,由於它傳送通過周邊滙流排7,故每一 傳輸法之數據包到達處理機13之時間係不清楚。它進一步 地導致由於PCR之到達時間之波動而產生STC還原之不穩 定性之問題。由於視頻和聲頻係,在STC之基礎上之再發生 ,如果STC之值由於STC還原之不穩定性而變成不連續時 ,此視頻或聲頻可能不會連續地再產生。它亦可能造成視 頻内容和聲頻内容之不同步化地呈現之問題。 在此周邊滙流排中,若干滙流排介面裝置或有主滙流 排功能之橋路(後文中將以主裝置稱之)之轉移請求可能重 疊,以及這些請求係由判優程序器作判斷,但當一主裝置 係正在轉移時,其他主裝置必須為轉移而等待。因此它造 成傳輸流至處理機之轉移之不規律之等待。 個人電腦可包括,除了上文提及之構造以外一若干附 加之滙流排介面安裝在機内其他添加物上者,諸如SCSI 主承接器及LAN卡片在此周邊匯流排内,而它進一步地添 加了 PCR之到達時間之起伏不定》 本發明之概述: 因此,本發明之目的係在呈現一解碼系統,藉在處理 機上實施傳輸流之解碼具有穩定地還原此STC之能力。 要解決此問題,本發明特提供一種解碼系統,用以接 收多路傳輸至少一组出自藉壓縮及編碼一視頻信號,一表 示時間標記,以及用以還原此解碼系統之系統定時時鐘之 程序時鐘資料所獲得之一視頻流之一系統流者,包含第一 緩衝器裝置,用以儲存並輸出此進入之系統流,一滙流排 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) l·訂 經濟部智慧財產局員工消費合作社印製 -8 - b 44 2 1 A7 B7 五、發明説明(6 ) (請先閲讀背面之注意事項再填寫本頁) ,用以轉移數據和一控制信號,一判優程序器,用以判斷 自連接至此滙流排之裝置之轉移請求,第二緩衝器裝置, 用以通過此匯流排而接收第一緩衝器裝置之輸出並儲存之 ,一處理機,用以解碼儲存在第二緩衝器裝置内之系統流 ,輸出必需之視頻流及時間標記,抽出此程序時鐘資料, 並還原及輸出此系統定時時鐘,以及一視頻解碼器,用以 接收此視頻流,時間標記及系統定時時鐘之自此處理機輸 出者,在系統定時時鐘之基礎上解碼此視頻流,並在由時 間標記所呈現之時間處輸出此解碼之視頻,其中此第二缓 衝器裝置之能量係經設定要較供滙流排内轉移請求之判斯 用之時間中所進入之系統流之能量更大。 較適當地,此判優程序器係經設計,一旦當多個裝置 之一為一特定之最長轉移時間而轉移時,以切斷此轉移, 以及此第二缓衝器裝置之能量係經設定成為大於可以連接 至此匯流排之裝置之數目乘以最長轉移時間及系統流之數 據流速之乘積。 經濟部智慧財產局員工消費合作社印製 較適當地,第二緩衝器裝置之能量可以由此處理機可 變化地設定,此處理機探測要求滙流排内轉移請求之判斷 之此裝置,以及第二缓衝器裝置之能量係經設定成為大於 該要求轉移請求之判斷之裝置之數目乘以每一裝置之最長 轉移時間和系統流之數據流速之乘積。 較適當地,此判優程序係經設計以輸出滙流 排内要求轉移請求之判斷之裝置之資料至此處理 機。 本紙張尺度適用中國國家標準(CNS )八4規格(2丨0X297公釐) -0 - b 44 2 A7 B7 五、發明説明(7 )Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 4 0 44 2 ^ A7 ___B7 V. Description of the invention (4) This processor 13 processes the PSI / SI stored in the fourth buffer device 12 and controls this according to these data The entire device. This processor 13 also decodes the audio PES stored in the fourth buffer device 12 and reproduced reproduced audio data, and based on the STC transferred from the STC restoration device 16 through the bus, according to the audio from this j > es The time presented by the separated PIS is transferred to the audio provider 17 by the path of the bridge 8, the peripheral bus 7 and the second bus interface device 14 ^ This audio provider i7 changes and processes the transfer The audio data becomes a signal format suitable for output, and the audio signal is output from this output terminal. The arbiter 9 is hardware for judging the transfer request among the bridge 8, the first bus interface device 3, the second bus interface device 14, and the third bus interface device 25. The peripheral bus 7, the bridge 8, the first bus interface device 3, the arbitration programmer 9, the second bus interface device 14, and the third bus interface device 25 may interconnect the PCI The building is thus composed (for example, "; details of the PCI bus and steps for supply", Public Design No. 7, CQ Publishing, 1995). In this conventional decoding system, although the packet demultiplexer 15 is implemented in hardware, the number of internal circuits added for this purpose is increased in number and it will cause high costs. Recently, the production volume of the microprocessor has been significantly enhanced, and it is fully possible for us to let this processor 13 use software for processing of the packet demultiplexer 15. However, to save costs, if the self-stream demodulator 2 transfers the transport stream to the processor 13 and try to use it as the program of the packet demultiplexer 15, the paper size is appropriate. Use Chinese National Standard (CNS) Α4 specifications (210X297 mm) (Please read the note on the back before filling in this page) l. Order 1 ^. 454421 A7 B7 V. Description of the invention (5) When it is on the processor 13, it is transmitted through the peripheral bus 7 Therefore, the time when the data packet of each transmission method reaches the processor 13 is unclear. It further causes the problem of instability of STC reduction due to fluctuations in the arrival time of the PCR. Due to the recurrence of video and audio on the basis of STC, if the value of STC becomes discontinuous due to the instability of STC restoration, the video or audio may not be continuously reproduced. It can also cause problems with the asynchronous presentation of video and audio content. In this peripheral bus, the transfer requests of several bus interface devices or bridges with a main bus function (hereinafter referred to as the main device) may overlap, and these requests are judged by the arbiter, but While one master device is being transferred, the other master devices must wait for the transfer. It therefore creates an irregular wait for the transfer of the transport stream to the processor. The personal computer may include, in addition to the construction mentioned above, a number of additional bus interfaces installed on other additives in the machine, such as the SCSI main socket and LAN card in this peripheral bus, and it further adds The ups and downs of the arrival time of PCR "Summary of the present invention: Therefore, the purpose of the present invention is to present a decoding system that has the ability to stably restore the STC by implementing decoding of the transport stream on the processor. To solve this problem, the present invention provides a decoding system for receiving at least one set of compressed and encoded video signals, a time stamp, and a program clock for restoring the system timing clock of the decoding system. One of the video streams and one system stream obtained from the data includes a first buffer device to store and output the incoming system stream. A bus has a paper size that applies the Chinese National Standard (CNS) A4 specification (210X297 mm) ) (Please read the notes on the back before filling this page) l. Order printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs -8-b 44 2 1 A7 B7 V. Description of the invention (6) (Please read the notes on the back first Please fill in this page again) to transfer data and a control signal, an arbiter to determine the transfer request from the device connected to this bus, and a second buffer device to receive through this bus The output from the first buffer device is stored and a processor is used to decode the system stream stored in the second buffer device and output the necessary video stream and time scale , Extract the program clock data, and restore and output the system timing clock, and a video decoder to receive the video stream, time stamp and system timing clock output from this processor, based on the system timing clock Decode the video stream and output the decoded video at the time represented by the time stamp, where the energy of the second buffer device is set to be less than the time used for the judgment of the transfer request in the bus The energy of the incoming system flow is greater. More suitably, the arbiter is designed to cut off the transfer when one of a plurality of devices is transferred for a specific maximum transfer time, and the energy of the second buffer device is set Becomes greater than the number of devices that can be connected to this bus multiplied by the product of the longest transfer time and the data flow rate of the system stream. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. The energy of the second buffer device can be variably set by this processor. This processor detects the device that requires the judgment of the transfer request in the bus, and the second The energy of the buffer device is set to be greater than the number of devices requesting the transfer request multiplied by the product of the maximum transfer time of each device and the data flow rate of the system stream. More appropriately, the arbitration procedure is designed to output to the processor the data of the device in the bus that requests the determination of the transfer request. This paper size applies to China National Standard (CNS) 8-4 specifications (2 丨 0X297 mm) -0-b 44 2 A7 B7 V. Description of the invention (7)

I 本發明亦提供一種解碼系統,用以接收多路傳輸至少 一組出自藉壓縮及編碼一視頻信號.,一表示時間標記,以 及用以還原此解碼系統之系統定時時鐘之程序時鐘資料所 獲得之一視頻流之系統流者,包含第一缓衝器裝置用以儲 存並輸出此進入之系統流,一匯流排用以轉移數據和一控 制信號’一判優程序器用以判斷自連接至此滙流排之裝置 之轉移請求,第二缓衝器裝置用以通過此滙流排接收第一 缓衝器裝置之輸出並儲存之,一處理機,用以解碼儲存在 第一緩衝器裝置内之系統流,輸出必需之視頻流和時間標 記’抽出程序時鐘資料,以及還原並輸出此系統定時時鐘 ’以及一視頻解碼器,用以接收自此處理機所輸出之此視 頻流’時間標記和系統定時時鐘在系統定時時鐘之基礎上 解碼此視頻流,並在由時間標記所呈現之時間輸出此解碼 之視頻’其中此處理機探測第二缓衝器裝置之餘下之數據 ’並控制此判優程序器,俾使自第一緩衝器裝置之系統流 之轉移至第二緩衝器裝置可以在滙流排之轉移請求之判斷 上給予第一優先於其餘下數據變成較特定之量為小時。 本發明亦提供一解碼系统,用以接收多路傳輸至少一 組出自藉塵縮及偏碼_視頻信號,一表示時間標記,以及 用以還原此解碼系統之系統定時時鐘之程序時鐘資料所獲 得之一視頻流之一系統流,包含第一緩衝器裝置,用以儲 存並輸出此進入之系統流,一滙流排,用以轉移數據及一 控制信號’ 一判優程序器,用以判斷自連接至此滙流排之 裝置之轉移請求,第二緩衝器裝置’通過此滙流排用以接 本紙張尺度適用中國國豕標準(CNS) A4規格(210X297公釐) (請先聞讀背面之注意事項再填寫本頁) 訂 經濟部智慧財產局員工消費合作社印製 10 4 5 44 2The present invention also provides a decoding system for receiving at least one group of compressed and encoded video signals from a multiplex transmission, a time stamp, and program clock data used to restore the system clock of the decoding system. A system streamer of a video stream includes a first buffer device to store and output the incoming system stream, a bus to transfer data and a control signal, and an arbiter to determine whether it is connected to the bus. The transfer request of the row device, the second buffer device is used to receive and store the output of the first buffer device through this bus, and a processor is used to decode the system stream stored in the first buffer device. , Output the necessary video stream and time stamp 'extract program clock data, and restore and output this system timing clock' and a video decoder to receive the video stream 'time stamp and system timing clock output from this processor Decode this video stream based on the system timing clock and output this decoded video at the time represented by the time stamp ' The processor detects the remaining data of the second buffer device and controls the arbiter, so that the transfer of the system flow from the first buffer device to the second buffer device can make a transfer request on the bus Judgment is given first over the rest of the data into a more specific amount for the hour. The present invention also provides a decoding system for receiving at least one set of boring and partial code_video signals, a time stamp, and program clock data used to restore the system clock of the decoding system. A video stream and a system stream, including a first buffer device for storing and outputting the incoming system stream, a bus for transferring data and a control signal, and an arbiter for determining the The transfer request of the device connected to this bus, the second buffer device 'through this bus is used to connect the paper size to the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back first (Fill in this page again.) Order Printed by the Intellectual Property Bureau Employee Consumer Cooperatives of the Ministry of Economic Affairs 10 4 5 44 2

經濟部智慧財產局員工消費合作社印製 A7 ______________B7五、發明説明(8 ) 收第一緩衝器裝置之輸出並儲存之,一第一時鐘發生器, 用以產生特定頻率之一時鐘,一第一計數器,用以產生一 主時鐘,一如自此第一時鐘發生器之系統定時時鐘在同一 時期内改變,並進給入一處理機内,一處理機,用以解碼 儲存於第二緩衝器裝置内之系統流,輸出此必需之視頻流 和時間標記,抽出此程序時鐘資料並還原及輪出此系統定 時時鐘,以及一視頻解碼器,用以接收自此處理機輸出之 此視頻流’時間標記和系統定時時鐘,在系統定時時鐘之 基礎上解碼此視頻流,並在由時間標記所呈現時間輸出此 解碼之視頻,其中此處理機藉儲存程序時鐘資料和主時鐘 之間之差異而還原此系統定時時鐘β 較適當地,此處理機探測此第二緩衝器裝置是否係騰 空或未騰空,以及如果騰空時即停止更新程序時鐘資料和 主時鐘之差異至一特定之時間。 較適當地,此處理機控制判優程序器,俾使第—緩衝 器裝置之輸出之轉移至第二緩衝器襞置,可於解碼開始之 後之立刻或要予解碼之流之改變之後之立刻,在滙流排之 轉移請求之判斷上給予第一優先。 較適當地,此處理機藉使用一特定次數之程序時鐘資 料和主時鐘之間之差異之平均值來還原系統定時時鐘。 本發明亦提供一種解碼系統,用以接收多路傳輸至少 一但出自藉壓縮及偏碼一視頻信號,一表示時間標記,以 及用以還原此解碼系統之系統定時時鐘之程序時鐘資料所 獲得之一視頻流之系統流’包含第一缓衝器裝置用以儲存 本紙張尺度適用中國國家棣準(CNS > Α4规格(210X297公釐) (諳先閩讀背面之注意事項再填寫本頁) Ή 裝- 訂_ 11 A7 ______B7_ 五、發明説明(9 ) 並輸出此進入之系統流,一程序時鐘資料多路分配器,用 以自進入之系統流分離此程序時鐘資料,並輸出至延遲装 置,延遲裝置,用以自此程序時鐘資料多路分配器延遲此 程序時鐘資料並輸出至系統定時時鐘還原裝置,系統定時 時鐘還原裝置’藉使用自延遲裝置之程序時鐘資料,用以 還原此系統定時時鐘,一滙流排,用以轉移數據和一控制 信號’一判優程序器’用以自已連接至此滙流排之裝置判 斷轉移請求,第二緩衝器裝置,通過此滙流排用以接收第 一緩衝器裝置之輸出並儲存之,一第一時鐘發生器,用以 產生一特定頻率之時鐘,一第一計數器,用以產生一主時 鐘,一如自此第一時鐘發生器之系統定時時鐘在同一時期 内改變,並進給入一處理機内’一處理機,用以解碼儲存 於第二緩衝器裝置内之系統流,輸出必需之視頻流及時間 標§己,抽出此程序時鐘資料,並計算自此第一主時鐘作為 一差分系統定時時鐘之差異,以及一視頻解碼器,用以接 收自此處理機所輸出之視頻流及時間標記,以及自系统定 時時鐘還原裝置所輸出之系統定時時鐘,在系統定時時鐘 之基礎上解碼此視頻流,並在由此時間標記所呈現之時間 輸出此已解碼之頻率β 較適當地,此處理機探測何時此第二緩衝器裝置變為 騰空,設定延遲裝置之延遲時間,並開始系統定時時鐘還 原裝置之系統定時時鐘之還原作用。 本發明亦提供一解碼系統,用以接收多路傳輸至少一 組出自藉Μ縮及編碼一視頻信號,一表示時間標記,以及 本紙張U適用中闕家標率(⑽)(加謂7公酱) (請先閱讀背面之注意事項再填寫本頁) -訂 經濟部智慧財產局員工消費合作社印製 12 4544 2 ^ A7 _______B7_ 五、發明説明(10 ) 用以還原此解碼系統之系統定時時鐘之程序時鐘資料所獲 得之一視頻流之系統流,包含第一缓衝器裝置,用以儲存 並輸出此進入之系統流,一程序時鐘資料多路分配器,用 以自進入之系統流分離程序時鐘資料並輸出至時鐘還原裝 置’時鐘還原裝置,藉使用自程序時鐘資料多路分配器之 程序時鐘資料’用以還原時鐘,一滙流排,用以轉移數據 和一控制信號’ 一判優程序器,用以判斷自已連接至此涵 流排之裝置之轉移請求,第二緩衝器裝置,用以通過此滙 流排接收第一緩衝器裝置之輸出並儲存之,一第一時鐘發 生器’用以產生一特定頻率之時鐘’ 一第一計數器,用以 產一第一主時鐘’一如自第一時鐘發生器之系統定時時鐘 在此同一時期中改變,並進給入一處理機内,—處理機, 用以解碼儲存在第二缓衝器裝置内之系統流,輸出必需之 視頻流及時間標記,抽出程序時鐘資料,並還原及輸出此 系統定時時鐘,以及一視頻解碼器操作於自時鐘還原裝置 之時鐘上者’通過滙流排用以接收自處理機所輸出之此視 頻流’時間標記以及系統定時時鐘,在系統定時時鐘之基 礎上解碼此視頻流’並在由時間標記所呈現之時間輸出此 已解碼之視頻。 較適當地,此處理機轉移此系統定時時鐘至視頻解碼 器於系統定時時鐘之輸出之時刻停止所有至其他裝置之轉 移命令輸出之後,並於系統定時時鐘之轉移之終止之後取 消其他轉移命令之停止。 本發明亦提供一解碼系統*用以接收多路傳輸至少一 本紙故从朗巾關家轉(CNS )彳4驗(21GX297公釐) (請先閱讀背面之注意事項再填寫本頁) -訂 4 經濟部智慧財產局員工消費合作社印製 13 經濟部智慧財產局員工消費合作社印製 A7 ____B7__ 五、發明説明(U ) 組出自藉壓縮及編碼一視頻信號,一表示時間標記,以及 用以還原此解碼系統之系統定時時鐘之程序時鐘資料所獲 得之一視頻流之系統流,包含第一缓衝器裝置,用以儲存 並輸出此進入之系統流,一滙流排,用以轉移數據和一控 制信號,一判優程序器,用以判斷自已連接至此滙流排之 裝置之轉移請求’一第二緩衝器裝置,用以通過此滙流排 接收第一缓衝器裝置之輸出並儲存之,一第一時鐘發生器 ,用以產生一特定頻率之時鐘,一第一計數器,.用以產生 一第一主時鐘,一如自第一時鐘發生器之系統定時時鐘在 同一時期中改變,一處理機,用以解碼儲存於第二緩衝器 裝置内之系統流’輸出必需之視頻流和時間標記,抽出程 序時鐘資料’計算自第一主時鐘之差異,並作為一差分系 統定時時鐘而通過此匯流排輸出它至一加法器,一第二計 數器,用以產生一第二主時鐘,一如此系統定時時鐘在同 一時期中改變,並進給至一加法器,一加法器,用以求得 自第二計數器之第二主時鐘輸出和自處理機輸出之差分系 統定時時鐘之總和’並作為系統定時時鐘而進給它至一視 頻解碼器,以及一視頻解碼器,用以接收自處理機所輸出 之視頻流及時間標記以及自此加法器所輸出之系統定時時 鐘’在系統定時時鐘之基礎上解碼此視頻流,並在由時間 標記所呈現之時間輸出此已解碼之視頻。 較適當地’自第一計數器之第一主時鐘,係於電力接 上之後之立刻,或者再設定此處理機之後之立刻、於停止 所有數據通過此滙流排轉移之後,係轉移至第二計數器, 本紙張歧適用中國國家標準(。叫八4胁(210父297公羡)* (請先聞讀背面之注意事項再填寫本頁) 裝· 訂 -Ί4 A7 B7 經濟部智慧財產局員工消費合作社印製 ^54421 五、發明説明(12 ) ^ --— 俾使此第二主時鐘可能是如此第一主時鐘幾乎是同一值。 較適當地,此處理機控制此判優程序器,俾使第一主 時鐘之自第—計數器之轉移至第二計數器可以是在滙流排 之轉移請求之判斷上被指定第一優先,以及自此第一計數 器之主時鐘係轉移至第二計數器,俾使第二主時鐘幾乎是 如同第一主時鐘之相同值。 較適當地’此滙流排之再設定信號係於接上此電力之 後之立刻,或者再設定此匯流排之後之立刻而置入第一計 數器及第二計數器内,並藉使用它,此第一主時鐘和第二 主時鐘係經設定於幾乎相等之值。 較適當地’它另包含一第二時鐘發生器,用以產生一 如同第一時鐘發生器之頻率之相同頻率之時鐘,並輸出至 第二計數器》 較適當地,此滙流排使用自第一時鐘發生器所輸出之 時鐘作為滙流排之轉移時鐘,以及此第二計數器接收匯流 排之轉移時鐘並產生一第二主時鐘。 較適當地,它另包含一選擇器,以一特定之號碼間以 儲存自此處理機所輸出之差分系統定時時鐘,選定儲存之 差分系統定時時鐘之最小值之一,並輸出至加法器。 較適當地,此處理機控制此判優程序器,俾使差分系 統定時時鐘之轉移至加法器可以在匯流排之轉移請求之判 斷上被給予第一優先。 本發明亦提供一解碼系統,用以接收多路傳輸之至少 一但出自藉壓縮及編碼一視頻信號,一表示時間標記,以 本紙張尺度適用中國國家標準(CNS ) A4現格(210X297公釐> (請先閲讀背面之注意事項再填寫本頁)Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 ______________ B7 V. Invention Description (8) The output of the first buffer device is received and stored, a first clock generator is used to generate a clock of a specific frequency, a first A counter for generating a master clock, as the system timing clock of the first clock generator has changed in the same period since then, and fed into a processor, and a processor for decoding and storing in a second buffer device System stream, output the necessary video stream and time stamp, extract the program clock data and restore and rotate the system timing clock, and a video decoder to receive the video stream 'time stamp output from this processor And the system timing clock, decode the video stream based on the system timing clock, and output the decoded video at the time represented by the time stamp, where the processor restores this by storing the difference between the program clock data and the main clock The system timing clock β is more appropriate, the processor detects whether the second buffer device is vacated or not, and Stop clock difference update data and the master clock to a specific time of the fruit vacated. More appropriately, this processor controls the arbiter, so that the output of the first-buffer device is transferred to the second buffer setting, either immediately after the start of decoding or immediately after the change of the stream to be decoded. Give priority to the transfer request of the bus. More appropriately, the processor restores the system timing clock by using the average of the difference between the program clock data and the master clock for a specific number of times. The present invention also provides a decoding system for receiving at least one video signal derived from compression and partial code borrowing, a time stamp, and program clock data used to restore the system clock of the decoding system. A system stream of a video stream 'includes a first buffer device to store the paper size applicable to China National Standards (CNS > Α4 size (210X297 mm) (谙 Please read the precautions on the back before filling this page) Ή Installation-order _ 11 A7 ______B7_ 5. Description of the invention (9) and output the incoming system flow, a program clock data multiplexer, used to separate the program clock data from the incoming system flow, and output to the delay device The delay device is used to delay the program clock data from the program clock data multiplexer and output it to the system timing clock restoration device. The system clock restoration device 'uses the program clock data of the self-delay device to restore the system. Timing clock, a bus, used to transfer data and a control signal 'an arbiter' is used to connect to the bus itself The device judges the transfer request, and the second buffer device is used to receive the output of the first buffer device and store it through the bus, a first clock generator for generating a clock with a specific frequency, and a first counter. Is used to generate a master clock, as the system timing clock of the first clock generator has changed in the same period since then, and fed into a processor, a processor is used to decode the data stored in the second buffer device. System stream, output the necessary video stream and time stamp §, extract the program clock data, and calculate the difference between the first master clock as a differential system timing clock and a video decoder to receive from this processor The output video stream and time stamp, and the system time clock output from the system clock restoration device, decode this video stream based on the system time clock, and output this decoded time at the time represented by this time stamp The frequency β is more appropriate. The processor detects when the second buffer device becomes empty, and sets the delay time of the delay device. The system timing clock restoration function of the system timing clock restoration device is started. The present invention also provides a decoding system for receiving at least one group of multiplexed and encoded video signals, a time stamp, and the paper U Applicable to the Chinese standard rate (阙) (plus 7 male sauce) (Please read the precautions on the back before filling out this page)-Order printed by the Intellectual Property Bureau Staff Consumer Cooperatives of the Ministry of Economy 12 4544 2 ^ A7 _______B7_ V. Description of the invention ( 10) A system stream of a video stream obtained by restoring the program clock data of the system timing clock of the decoding system includes a first buffer device for storing and outputting the incoming system stream. Way distributor, used to separate the program clock data from the incoming system stream and output it to the clock restoration device 'clock restoration device, using the program clock data from the program clock data multiplexer' to restore the clock, a bus, Used to transfer data and a control signal 'An arbiter is used to judge the transfer of the device connected to the culvert. A second buffer device is used to receive the output of the first buffer device through the bus and store it. A first clock generator is used to generate a clock with a specific frequency. A first counter is used to generate A first master clock 'is the same as the system timing clock from the first clock generator, and is fed into a processor in this same period. The processor is used to decode the system stored in the second buffer device. Stream, output the necessary video stream and time stamp, extract the program clock data, and restore and output the system timing clock, and a video decoder that operates on the clock of the self-clock recovery device 'is received by the processor through the bus The output of this video stream 'time stamp and system timing clock, decode this video stream based on the system timing clock' and output this decoded video at the time represented by the time stamp. More appropriately, the processor transfers the system timing clock to the video decoder after the system timing clock output stops all transfer command output to other devices, and cancels other transfer commands after the system timing clock transfer is terminated. stop. The present invention also provides a decoding system * for receiving multiple transmissions of at least one piece of paper, so it will be transferred from Long Jin Guan Jia (CNS) 彳 4 inspections (21GX297 mm) (Please read the precautions on the back before filling this page)-Order 4 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 13 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 ____B7__ V. Description of the Invention (U) Compressed and coded a video signal, a time stamp, and used for restoration A system stream of a video stream obtained from the program clock data of the system timing clock of the decoding system includes a first buffer device for storing and outputting the incoming system stream, a bus for transferring data and a A control signal, an arbiter, for judging a transfer request from a device connected to the bus; a second buffer device for receiving the output of the first buffer device through the bus and storing it; The first clock generator is used to generate a clock with a specific frequency, and a first counter is used to generate a first master clock, as is the case from the first clock generator. The timing clock changes during the same period. A processor is used to decode the system stream stored in the second buffer device, 'output the necessary video stream and time stamp, extract the program clock data', and calculate the difference from the first master clock. As a differential system timing clock, it is output to an adder through the bus, and a second counter is used to generate a second master clock. In this way, the system timing clock is changed in the same period and fed to an adder. An adder for obtaining the sum of the differential system timing clock from the second main clock output of the second counter and the output from the processor, and feeding it as a system timing clock to a video decoder and a video Decoder for receiving the video stream and time stamp output from the processor and the system timing clock output from this adder based on the system timing clock to decode this video stream and the time represented by the time stamp Output this decoded video. More appropriately, the first main clock from the first counter is immediately after the power is connected, or immediately after setting the processor, and after stopping all data transfer through this bus, it is transferred to the second counter. This paper is in compliance with Chinese national standards (called eight 4 threats (210 fathers, 297 public envy) * (please read the precautions on the back before filling out this page). Binding-Ί4 A7 B7 Staff Consumption of Intellectual Property, Ministry of Economic Affairs Printed by the cooperative ^ 54421 V. Description of the invention (12) ^ --- 俾 This second master clock may be so that the first master clock is almost the same value. More suitably, this processor controls the arbiter, 俾The transfer of the first master clock from the first-counter to the second counter can be assigned the first priority in the judgment of the transfer request of the bus, and the master clock of the first counter has been transferred to the second counter since then. Make the second master clock almost the same value as the first master clock. More appropriately, the reset signal of this bus is immediately after the power is connected, or immediately after the bus is reset. Into the first counter and the second counter, and by using it, the first master clock and the second master clock are set to almost equal values. More suitably, it also includes a second clock generator for Generate a clock of the same frequency as the frequency of the first clock generator and output it to the second counter. More suitably, the bus uses the clock output from the first clock generator as the transfer clock of the bus, and this The second counter receives the transfer clock of the bus and generates a second master clock. More suitably, it further includes a selector to store a differential system timing clock output from this processor between a specific number and select storage One of the minimum values of the differential system timing clock is output to the adder. More appropriately, this processor controls the arbiter, so that the transfer of the differential system timing clock to the adder can be performed on the transfer request of the bus. The first priority is given to judgment. The present invention also provides a decoding system for receiving at least one of the multiplexed transmission, but by borrowing compression and encoding a video No, a presentation time stamp, paper scales applicable to this Chinese National Standard (CNS) A4 existing grid (210X297 mm > (Please read the Notes on the back to fill out this page)

15 經濟部智慧財產局員工消費合作社印製 A7 B7 五、發明説明(13 ) 及用以還原此解碼系統之—系統定時鐘之一程序時鐘資料 所獲得之一視頻流之系統流,包含第一缓衝器裝置,用以 儲存及輸出進入之系統流,一滙流排,用以轉移數據和一 控制信號,一判優程序器,用以判斷自己連接至此滙流排 之裝置之轉移請求,第二緩衝器裝置,用以通過此滙流排 接收第一緩衝器裴置之輸出並儲存之,—第一時鐘發生器 ,用以產生一特定頻率之時鐘,一第一計數器,用以產生 一第一主時鐘,一如自第一時鐘發生器之系統定時時鐘之 相同時期中改變,並進給入一處理機內,一處理機,用以 解碼儲存在第二緩衝器裝置内之系統流,輸出必需之視頻 流及時間標記,抽出此程序時鐘資料,計算自第一主時鐘 之差異以獲得如一差分系統定時時鐘,計算此解碼之時間 標記和差分系统定時時鐘之間之差異以獲得如—校正之時 間標記,並連同必需之視頻流一起輸出此校正之時間標記 通過此滙流排至第三緩衝器裝置,第三緩衝器裝置,用以 接收通過此滙流排自處理機所輸出之視頻流和校正之時間 標記並儲存之,一第二計數器,用以產生一第二主時鐘, 一如此系統定時時鐘在同一時期内改變,並進給至—視頻 解碼器’以及一視頻解碼器,用以接收自第二計數器所輪 出之第二主時鐘,解碼儲存在第三緩衝器裝置内之視頻流 ’並在由此校正之時間標記所呈現之時間輸出此解码之視 頻。 在此一結構中,依照本發明,由於第二緩衝器|置之 能量係有賴於由連接至此滙流排之裝置之中各裝置本身藉 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) --------------------^ * ; \ (請先聞讀背面之注$項再填寫本頁} 5 442^ A7 B7 五、發明説明(14 ) 控制此滙流排用以轉移之主裝置之數目而定,以及此時間 直到此判優程序器藉促使主裝置轉移而強迫式地切斷此轉 移(習稱之為停止操作)為止。當轉移此進入之系統流至第 二缓衝器裝置時,吾人可能避免由於滙流排之判斷之效果 之STC之不穩定還原之現象。 此處理機控制此延遲裝置以改變此延遲時間,控制此 STC還原裝置以再設定STC還原作用,俾使此視頻和聲頻 可以安穩地同步化。 藉轉移由此處理機所還原之STC值至視頻解碼器,延 遲裝置可以省略,同時吾人勿需來計算在延遲裝置中之延 遲時間,並由處理機進行此設定,此視頻和聲頻可以由此 小硬化來同步化。 如果在第二缓衝器裝置内一欠流發生時,藉與減小 STC還原上之影響之一方法組合,此STC可以安穩地還原 即令是在削減第二緩衝器裝置之能量之體質中亦然。 藉安裝一第二計數器,一主時鐘係亦在機内添加物一 邊產生,並使用主時鐘和STC之間之差異(DSTC)之自處理 機所轉移者,此視頻解碼器有關於STC者由加法器還原, 並進一步地藉選擇共使用由於在DSTC之發送之值中間之 判斷所產生之最小延遲之一,在STC之轉移上滙流排之判 斷之影響可以減小。 此外,藉以處理機控制此判優程序器於轉移此DSTC 時,藉提昇此DSTC臨時性轉移之優先順序,STC之轉移 上滙流排之判斷之影響可以進一步地被削減。 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁)15 Printed by A7 B7, Consumer Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs. 5. Description of the invention (13) and a system stream of a video stream obtained from the program clock data of the system clock, which includes the first. Buffer device to store and output the incoming system stream, a bus to transfer data and a control signal, an arbiter to determine the transfer request of the device connected to this bus, second A buffer device for receiving and storing the output of the first buffer through the bus, a first clock generator for generating a clock of a specific frequency, a first counter for generating a first The master clock, as changed from the same period of the system timing clock of the first clock generator, and fed into a processor, a processor to decode the system stream stored in the second buffer device, the output must be Video stream and time stamp, extract the program clock data, calculate the difference from the first master clock to obtain a differential system timing clock, and calculate the decoding time Record the difference between the timing clock of the differential system and obtain the corrected time stamp, and output the corrected time stamp together with the necessary video stream to the third buffer device, the third buffer device. To receive and store the video stream and the corrected time stamp output from the processor through this bus, a second counter is used to generate a second master clock, so that the system timing clock changes in the same period and feeds To—video decoder 'and a video decoder for receiving the second master clock rotated from the second counter, decoding the video stream stored in the third buffer device' and marking the time stamp at the time corrected thereby. This decoded video is output at the time of presentation. In this structure, according to the present invention, since the energy of the second buffer | depends on the devices connected to the bus itself, each device itself applies the Chinese National Standard (CNS) A4 specification (210X297) %) -------------------- ^ *; \ (Please read the note on the back before filling in this page} 5 442 ^ A7 B7 V. Description of the invention (14) Depending on the number of master devices that control the bus for transfer, and this time until the arbiter program forcibly cuts off the transfer by urging the master device to transfer (known as stopping operation). When transferring this incoming system flow to the second buffer device, we may avoid the phenomenon of unstable restoration of STC due to the effect of the judgment of the bus. This processor controls the delay device to change the delay time and control this The STC restoration device is used to set the STC restoration function, so that the video and audio can be stably synchronized. By transferring the STC value restored by this processor to the video decoder, the delay device can be omitted, and we do not need to calculate Delay time in the delay device, This setting is set by the processor, and the video and audio can be synchronized by this small hardening. If an underflow occurs in the second buffer device, by combining one of the methods to reduce the impact on STC restoration, This STC can be restored stably even if it is in the constitution of reducing the energy of the second buffer device. By installing a second counter, a master clock system is also generated on the side of the additions in the machine, and uses between the master clock and the STC The difference of the DSTC is transferred from the processor. This video decoder has the STC restored by the adder, and further chooses to use one of the minimum delays due to the judgment in the middle of the value sent by DSTC. The influence of the judgment of the bus on the transfer of the STC can be reduced. In addition, the processor controls the arbiter when the DSTC is transferred, and by improving the priority of the temporary transfer of the DSTC, the STC transfer is on the bus. The impact of the judgment can be further reduced. This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) (Please read the precautions on the back before filling in this )

tT 經濟部智慧財產局員工消費合作社印製 -17 - 4 5 44 2 1 A7 ____B7__ 五、發明説明(15 ) 在此體質中’其中此主時鐘係直接地置於視頻解碼器 内’取代分開地發送此DSTC至視頻解碼器者,以發送原 始視頻PES之PTS範圍,以由此校正之PTS所取代之格式 (PTS-DSTC),通過此第三緩衝器裝置至視頻解碼器,由 滙流排之判斷之DSTC之影響可以被吸收於第三缓衝器裝 置中,以及在共用STC之基礎上之解碼行動可以在處理機 和視頻解碼器之間精確地完成。 此外’藉在用以驅動此滙流排主時鐘内使用第一時鐘 發生器之輸出時鐘,並使用此一時鐘在對第二計數器之輸 入内,自第一計數器所輸出之主時鐘之頻率和自第二計數 器所輸出之主時鐘之頻率可以正確地匹配,以及藉STC使 處理機和視頻解碼器之同步化可以安穩地完成。 藉進給滙流排之再設定信號至第一計數器和第二計數 器’此滙流排係再設定,以及此第二計數器和第一計數器 係再設定’以及滙流排之再設定係已明確,以及計數係在 同一時間開始’並因此吾人勿須來轉移第一計數器之值至 第二計數器’以及';!流排之判斷之影響可以完全地避免。 其結果,此系統流之解碼器可以由個人電腦上之處理 機來取代’它將產生供數位視頻之解碼用之機内添加物之 成本之減小之顯著效果。 附圖之簡要說明: 第1圖係一方塊圖,顯示本發明之第一實施例中一解 碼系統之構造。 第2圊係本發明之第一實施例中一處理機13上傳輸解 本紙張尺度適用中國國家標準(CNS ) Μ規格(210X297公釐) -1J? ---------Ί —-- - - (讀先聞讀背面之注意事項填寫本頁) 訂- 經濟部智慧財產局員工消費合作社印製 Α7 Β7 五、發明説明() 瑪軟體之示意性流程圖。 第3圖係一概念圓’用以解釋循.環優先排序算法。 (請先閲讀背面之注意事項再填寫本頁) 第4圖係一方塊圖,顯示本發明之第二實施例中一解 碼系統之構造* 第5圖係一概念圖,用以解釋STC還原值之中斷。 第6圖係一示意性流程圖,顯示本發明之第二實施例 内處理機13上傳輸解碼器軟體之一範例。 第7圖係一概念圖,解釋關於STC還原值之中斷之改 進。 第8圖係在藉使用最大之七個PCR輸入之平均值之 STC之還原之情況中DSTC計算程序之一流程圖。 訂Printed by tT of the Intellectual Property Bureau of the Ministry of Economic Affairs, Consumer Cooperatives -17-4 5 44 2 1 A7 ____B7__ V. Description of Invention (15) In this constitution, 'where this master clock is directly placed in the video decoder', instead of separately Send this DSTC to the video decoder to send the PTS range of the original video PES, in the format replaced by the corrected PTS (PTS-DSTC), through this third buffer device to the video decoder, from the bus The effect of the judged DSTC can be absorbed in the third buffer device, and the decoding operation based on the shared STC can be accurately performed between the processor and the video decoder. In addition, 'by using the output clock of the first clock generator in the main clock used to drive the bus, and using this clock in the input to the second counter, the frequency of the main clock output from the first counter and the The frequency of the main clock output by the second counter can be correctly matched, and the synchronization of the processor and the video decoder can be stably completed by STC. Borrowing the reset signal of the bus to the first counter and the second counter 'This bus is reset, and this second counter and the first counter are reset' and the reset of the bus is clear, and counts It starts at the same time 'and therefore I don't have to come to transfer the value of the first counter to the second counter' and ';! The influence of the judgment of the flow can be completely avoided. As a result, the decoder of this system stream can be replaced by a processor on a personal computer ', which will produce a significant effect of reducing the cost of internal additives for the decoding of digital video. Brief description of the drawings: Fig. 1 is a block diagram showing the structure of a decoding system in the first embodiment of the present invention. The second line is the size of the paper transmitted on a processor 13 in the first embodiment of the present invention. The size of the paper applies to the Chinese National Standard (CNS) M specification (210X297 mm) -1J? --------- Ί — ---(Read the notes on the back to read the first page and fill in this page) Order-Printed by the Consumers' Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs Α7 Β7 V. Description of the invention () Schematic flow chart of the software. Figure 3 is a concept circle 'used to explain the cycle-first ordering algorithm. (Please read the precautions on the back before filling this page) Figure 4 is a block diagram showing the structure of a decoding system in the second embodiment of the present invention * Figure 5 is a conceptual diagram for explaining the STC restoration value Break. Fig. 6 is a schematic flowchart showing an example of transmitting decoder software on the internal processor 13 of the second embodiment of the present invention. Figure 7 is a conceptual diagram explaining the improvement in the interruption of the STC restore value. FIG. 8 is a flowchart of a DSTC calculation procedure in the case of reduction of STC by using the average of the seven largest PCR inputs. Order

第9圖係一概念圖,顯示由平均此DSTC所獲得之STC 第10圖係一方塊圖,顯示本發明之第三實施例内一解 碼系統之構造。 第11圖係一略圖,顯示本發明之第三實施例中解碼系 統之引導順序之一範例。 經濟部智慧財產局員工消費合作社印製 第12圖係本發明之第三實施例中一處理機13上傳輸解 碼器軟體之示意性流程圖。 第13圖係一方塊圖,顯示本發明之第四實施例中一解 碼系統之結構。 第14圖係本發明之第四實施例中一處理機13上之傳輪 解碼器軟體之示意性流程圖。 第15圖係一概念圖,解釋視頻解碼器5與本發明之第 19 4 5 44 2 A7 B7 四 之構造 經濟部智慧財產局員工消費合作社印製 五、發明説明(1?) 實施例中之STC同步化之解碼操作之可能性。 第16圖係一方塊圖,顯示本發 货月之第五實施例内一解 碼系統之結構。 第17圖係一方塊圖,顯示本發 月之第六實施例内一解 碼系統之結構。 第18圖係-方塊圖,顯示一傳統式解碼系統 較佳實施例之說明: 本發明之第-至第六實施例之解碼系統係說明如下, 同時參看附圓之第I至第17圖。 <第一實施例> 本發明之第-實施例係以第蹋為基準而說明如下。 與第18圖之早期技藝之那些共同部分係以相同之基準代號 辯識之。 第1圖係一方塊圖,顯示本發明之第一實施例中一解 碼系統之構造。 在第1圖中,一輪入端子〗,一流解調器2,第一滙流 排介面裝置3,第二緩衝器裝置4,—視頻解碼器5,一輸 出端子6,第一緩衝器裝置27,一 pCR多路分配器%,延 遲裝置37,以及STC還原裝置38係須要高速處理之部分, 並係因此實現於硬體上,以及因此係連接至個人電腦之一 周邊滙流排作為添入板(所謂之數位電視接收板)。 周邊滙流排7,橋路8、判優程序器9、主滙流排, 記憶體11,處理機13,第一計數器22,第一時鐘發生器23 ,以及第二缓衝器裝置24組成個人電腦之部分。 本紙張尺度逋用中國國家標準(CNS) A4規格(21〇X297公釐) (請先閑讀背面之注意事項再填寫本頁}Fig. 9 is a conceptual diagram showing the STC obtained by averaging this DSTC. Fig. 10 is a block diagram showing the structure of a decoding system in the third embodiment of the present invention. Fig. 11 is a schematic diagram showing an example of the boot sequence of the decoding system in the third embodiment of the present invention. Printed by the Consumer Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs Figure 12 is a schematic flowchart of transmitting decoder software on a processor 13 in the third embodiment of the present invention. Fig. 13 is a block diagram showing the structure of a decoding system in a fourth embodiment of the present invention. Fig. 14 is a schematic flow chart of software for a decoder of a wheel on a processor 13 in a fourth embodiment of the present invention. Figure 15 is a conceptual diagram explaining the video decoder 5 and the 19th 4 5 44 2 A7 B7 of the present invention. Printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. 5. Description of the invention (1?) Possibility of STC synchronization decoding operation. Fig. 16 is a block diagram showing the structure of a decoding system in the fifth embodiment of the delivery month. Fig. 17 is a block diagram showing the structure of a decoding system in the sixth embodiment of the present month. Fig. 18 is a block diagram showing a description of a preferred embodiment of a conventional decoding system: The decoding systems of the first to sixth embodiments of the present invention are described below, while referring to Figs. < First Embodiment > The first embodiment of the present invention will be described below with reference to the first embodiment. The common parts with those of the earlier technique in Figure 18 are identified by the same reference code. Fig. 1 is a block diagram showing the construction of a decoding system in the first embodiment of the present invention. In the first figure, a round-in terminal, a first-stage demodulator 2, a first bus interface device 3, a second buffer device 4, a video decoder 5, an output terminal 6, a first buffer device 27, A pCR demultiplexer, delay device 37, and STC reduction device 38 are the parts that need high-speed processing, and are therefore implemented on the hardware, and therefore connected to a peripheral bus connected to a personal computer as an add-in board ( (The so-called digital TV receiver board). Peripheral bus 7, bridge 8, arbitrator 9, main bus, memory 11, processor 13, first counter 22, first clock generator 23, and second buffer device 24 form a personal computer Part of it. This paper uses the Chinese National Standard (CNS) A4 (21 × 297 mm) (please read the precautions on the back before filling this page)

20 45442^ A7 B7 五、發明説明(18 ) 第二滙流排介面裝置14,一聲頻提供器17,以及一輸 出端子18係連接至個人電腦之周邊滙流排作為其他添入板 (所謂之聲卡)。 第三滙流排介面裝置25連接此周邊滙流排7和一 HDD 26。一 OS及應用軟體係儲存於此HDD 26内,以及此OS係 讀入記憶體11内者係經由處理機13操作,自HDD 26通過 第三滙流排介面裝置25,以及此應用軟體,諸如傳輸解碼 器軟體者,操作於此0S上》 此操作係說明如下: 第1圖内,有錯誤校正偏碼或調制添加至多路傳輸至 少一組出自一視頻流之傳輸流之一信號,藉壓縮此視頻以 MPEG2或其他視頻壓縮方法,PTS >以及用以還原STC之 PCR係通過輸入端子1而進給入此流解調器2内。 藉以流解調器2用解調,糾錯或類似操作來處理此輸 入信號所獲得之傳輸流係一次被儲存於第一缓衝器裝置27 内,並係通過第一滙流排介面裝置3,周邊滙流排7,橋路 8,和主滙流排10而轉移至記憶體11内之第二缓衝器裝置24 。此第一緩衝器裝置27,當它係被促使來為以來自判優程 序器9之命令之傳輸流之轉移而等待時,它係要累積此傳 輸流。此判優程序器9係用以調節自周邊滙流排7之轉移請 求者。 被儲存在第二緩衝器裝置24内之傳輸流係由處理機13 所分離成為視頻PES及聲頻PES之要予再產生者。PSI/SI ,以及PCR。在此,聲頻PES和PSI/SI之處理係一如早期 本紙張尺度適用中國固家標準(CNS ) A4規格(210X 297公釐) ---------y裝-- (請先閱讀背面之注意事項再填寫本頁) 訂 經濟部智慧財產局員工消費合作社印製 -71 - 4 5 442^ A7 B7 五、發明説明(19 ) 技藝中之方法相同,以及其解釋係被省略,以及視頻PES 和PCR之處理係詳細說明如下。 (請先閲讀背面之注意事項再填寫本頁) 利用由第一時鐘發生器23所產生之時鐘,此第一計數 器22產生一主時鐘,一如用於此解碼系統之操作之時間基 準。在此,此主時鐘係此時間基準值一如PCR和STC在若 干位内和更新期内者一樣。順便提及者,主時鐘之更新期 和由第一時鐘發生器23所發生之時鐘之時期並非經常要求 相互重疊。 此處理機13藉使用此分離之PCR和主時鐘來還源STC 。在此,此還原之STC係在處理機13之内面被用作聲頻PES 之解碼,或者在PSI/ST之基礎上整個裝置之控制。 此處理機13解碼此傳輸流,並轉移此分離之視頻PES 藉主滙流排10,橋路8,周邊滙流排7以及第一滙流排介面 裝置3之路徑而至第三缓衝器裝置4。 現在參看第2圖,以處理機13之傳輸流之解碼程序係 說明如下: 第2圖顯示處理機13上傳輸解碼軟體之示意性流程之 一範例。 經濟部智慧財產局員工消资合作社印製 在步驟201處,傳輸流之解碼程序係開始,以及儲存 於第二緩衝器裝置24内之傳輸流係自起始一數據包接著另 一數據包地讀入處理機13内(步驟202)。此處理機13分析 讀入之數據包之標題,判斷數據包之内涵(步驟203),並 依照躭視判斷結果而定之數據而實施一串聯之處理(步驟 204至208),並讀入下一數據包於步驟209之後一個數據包 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) -22 - 4 6 4421 A7 B7 五、發明説明(20 ) 部分之處理已過去時(步驟202)。當係被讀入之數據包之 内容係要予解碼之PCR(步驟203)時,自第一計數器22所 輸出之主時鐘和PCR值之差異係保留於記憶體11上一特定 地址内作為此DSTC值(步騍204)。此後,在此MPEG傳輸 流中,由於PCR和視頻數據可能被含於同一數據包内,故 吾人判斷此視頻數據是否係被含於由PSI之數據包之酬載 以及數據包之標題内(步驟205),以及當視頻數據係呈現 時,此操作係被轉移至視頻數據之處理(步驟206),以及 如果未呈現時,此一數據包之處理係終止以轉移至步驟209 〇 如果正被讀入之數據包之内容係視頻PES之要予解碼 者時(步驟203),在此數據包内之視頻PES係轉移至第三缓 衝器裝置4(步騍206)。 如果正被讀入之數據包之内容係SPI/SI或聲頻數據之 要予解碼者時(步驟203),它係被保留於記憶體11上之特 定區域内(步驟207),以及在不要求其他數據包之情況中 即不作任何舉動而此操作進行至步驟209。 當每一數據包之處理係終止時,被保留在記憶體11内 之DSTC係讀出,同時它係被加以第一計數器22之值以獲 得STC值,它係用於解碼聲頻PES之軟體或類似者。 回至第1圖,此PCR分路分配器36接收自流解調器2所 輸出之傳輸流,分離此PCR,並輸出至延遲裝置37。 當自數據包之輸出自流解調器2已進入處理機13内, 直到傳送通過此第一缓衝器裝置27,第一滙流排介面裝置 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) /裝. 訂- 經濟部智慧財產局員工消費合作社印製 -23 - 4 5 44 21 A7 B7 五、發明説明(21 ) 3,周邊滙流排7,橋路8,以及第二缓衝器裝置24,並進 給它至此STC還原裝置38為止之延遲時間時,在同一時間 此延遲裝置37延遲此分離之PCR。 在此,此延遲時間係要予設定於延遲裝置37内之延遲 時間,亦即謂,儲存於第一缓衝器裝置37和第二緩衝器裝 置24内之傳輸流之總數除以數據速度,那係當自流解調器 2輸出時傳輸流之每單元時間所傳輸之數據量。 吾人業經設計來吸收數據包自第一滙流排介面裝置3 直到以第一緩衝器裝置27和第二緩衝器裝置24傳送通過此 橋路8為止之轉移時間之波動,以及儲存在第一緩衝器裝 置27和第二緩衝器裝置24之傳輸流之總量(亦即謂,自輸 入第一緩衝器裝置27内直到自第二緩衝器裝置24輸出為止) 係永遠為相同值。當第二緩衝器裝置24之能量係已決定和 經設計時,此一值係自動地被確定,以及它可以作為延遲 裴置37内之固定值來設定。 此STC還原裝置38自進人之PCR還原此B夺鐘及STC值 ,並進給它們至視頻解碼器5。 此視頻解碼器5係一解碼器符合解碼視頻PES之MPEG 2標準能力。在其内面,此解碼器併合了一同時間顯示影 像之功能,使用此STC計數器並自視頻PES抽出之PTS用 以構成此視頻PES。在此一 STC計數器内,自外面所轉移 之STC值係經設定,以及此後它係以90KHz被計數。 此視頻解碼器5解碼儲存於第三缓衝器裝置4内之視頻 PES,再產生活動影像數據,變換並處理成為適用以輸出之 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁) -訂 d 經濟部智慧財產局員工消費合作社印製 -24 - 4 5 44 2 1 Α7 Β7 五、發明説明(22 ) 一信號格式,並在自STC還原裝置38所進入之STC之基礎 上,依照由自視頻PES所分離之PTS所呈現之時間而輸出 此再發生之活動影像信號至輸出端子6» 依照本文所說明之結構,吾人可能藉處理機13來解碼 此傳輸流。此PCK多路分配器36僅分析傳輸標題,並僅發 送此PCR至延遲裴置37,同時當與第18圖内之數據包多路 分配器15比較時,它係在—更簡單之硬體中實現。 下文係解釋,即令是如果自流解調器2至第二緩衝器 裝置24之PCR之轉移係由於周邊滙流排之判斷而延遲時, 防止在由處理機13所還原之STC上之影響。 此判優程序器9操作在循環優先排序運算伴以過時上 。循環優先排序運算之概念圖係顯示於第3圖内。. 在此,此主裝置係已連接至此周邊滙流排7(所有在添 入板上和母板上之積體電路,和橋路)有一藉控制此周邊 滙流排7由其本身來轉移之功能之裴置之一。如果多個主 裝置係呈現於同一滙流排上,同時它們個別地請求用以控 制此周邊滙流排7之轉移時,吾人須要在所有請求轉移之 裝置之中轉移之判斷。 此第一滙流排介面裝置3係假定為主裝置a。當一傳 輸流係自流解調器2輸出時,此主裝置八請求其轉移至第 二緩衝器裝置24至判優程序器9。依照自處理機13之指令 ,此主裝置A亦請求儲存在記憶體〗丨内視頻pES之轉移至 第三缓衝器裝置4至判優程序器9 β 此橋器8係假定為主裝置Β。當必需要頒發一控制命 本紙張尺度適用中國國家標準(CNS ) Α4規格(210X297公疫) ---------— Λ. * i (請先鬩讀背面之注意事項再填寫本頁) ,τ 經濟部智慧財產局員工消費合作社印製 75 454421 A7 B7 五、發明説明(23 ) 令用以由處理機13來控制其他字組時,此主裝置B輸出一 控制命令之轉移請求至判優程序9。 此第二滙流排介面裝置14係經假定為主裝置c,依照 自處理機13之指示,此主裝置C輸出儲存在記憶體u内之 聲頻數據之轉移請求進入聲頻提供器17内至判優程序器9 〇 此第三滙流排介面裝置25係經假定為主裝置£>,當一 文件接近HDD 26發生時,此主裝置d對記憶體.U輸出一 轉移請求至判優程序器9。 在這些四個主裝置中’如果包括主裝置A之多個主裝 置在同一時間發出轉移請求時,此判優程序器9首先接收 自主裝置A之轉移請求,假定此主裝置a要有最高之優先 時,此主裝置B為第二優先,主裝置c為第三優先,以及 主裝置D為最低之優先。 此判優程序器9實施主裝置A之轉移行動至一特定時 間Ta ’並被迫終止此轉移。此一被迫終止此轉移之動作係 稱之為潛時’以及自轉移之開始直到潛時動作之發生之此 持續期係稱之為潛時期(本文中為Ta)。 在此一時刻,此判優程序器9循環此優先排序,以及 此主裝置A係經假定要有最低之優先權時,則主裝置b為 最高優先’主裝置C為第二優先,以及主裝置D為第三優 先。 因此,包括至裝置B之多個主裝置請求在同一時間轉 移。此一時刻,此主裝置B係經假定要有最高優先以及其 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公褒) ---------3裝— " π'·'·' (請先閲讀背面之注$項再填寫本頁) 訂 經濟部智慧財產局員工消费合作社印製 26 454421 A7 B7 五、發明説明(24 ) 轉移請求係被接受,以及當轉移行動至一指定時間Tb之 後,此轉移係被延終止。 (請先閱讀背面之注意事項再填寫本頁) 此後,同樣地,此主裝置C係經假定要有最高優先, 以及轉移係經操作至一特定時間Tc,以及此轉移係被廹終 止。 隨後,同樣地,此主裝置D係經假定要有最高優先, 以及此轉移係經操作至一特定時間Td,以及此轉移係被 迫終止。 藉使用此判優程序器9它以此一方法操作,自流解調 器2至第二缓衝器裝置24之轉移係被促使來等待一最長時 間(Tb+Tc+Td)之自轉移請求直到主裝置B,主裝置C和主 裝置D之轉移係已過去為止。此一持績期(Tb+Tc+Td)係用 於滙流排之轉移請求之判斷所須要之時間。 經濟部智慧財產局員工消費合作社印製 依此,假定數據速度或自流解調器2所輸出之傳輸流 之每單位時間所轉移之數據量是每秒R字節時,藉界定第 二緩衝器裝置24之能量以(Tb+Tc+Td)xR字節較大於第18 圖内第四缓衝器裝置12之能量,此第二緩衝器裝置24之能 量可以設定為較用於周邊滙流排7内轉移請求之判斷所必 須之時間中進入之傳輸流之能量為大。 因此,此傳輸流可以繼續不斷地讀入處理機13内以此 數據速度R,俾使STC之還原操作係安穩》 此際,由於吾人須要在等待由Tb+Tc+Td轉移之狀態 能量中開始,故處理機13必須在探測數據係以大於 (Tb+Tc+Td) XR字節儲存於第二缓衝器裝置24之後始開始 本紙張尺度適用中國國家標準(CNS > A4规格(210X297公釐) -97 . 4 5 44 2 1 A7 B7 五、發明説明(25 ) 解碼。 (請先閲讀背面之注意事項再填寫本頁) 實際上,作為構成此解碼系統之方法之一,假定判優 程序9内時間之最長時間直到潛時為止係Tmax,連接至周 邊滙流排7之裝置之總數(供添入卡用之槽縫,在連接至 此滙流排之板上之積體電路,以及橋路;亦即,主裝置之 最大數目)係Na,自流解調器2輸出之傳輸流之數據速度係 R字節/秒,以及構成要進入之傳輸流之程序之元件之最大 處理數目是Nmax,設定第二緩衝器裝置24之能量之方法 成為大於20 45442 ^ A7 B7 V. Description of the invention (18) The second bus interface device 14, an audio provider 17, and an output terminal 18 are connected to the peripheral bus of the personal computer as other add-in boards (so-called sound cards) . The third bus interface device 25 connects the peripheral bus 7 and an HDD 26. An OS and an application software system are stored in the HDD 26, and the OS is read into the memory 11 and is operated by the processor 13 from the HDD 26 through the third bus interface device 25, and the application software such as transmission Decoder software, operate on this 0S "This operation is explained as follows: In Figure 1, there is an error correction bias code or modulation added to the multiplexed signal of at least one set of transport streams from a video stream, by compressing this The video is fed into the stream demodulator 2 through the input terminal 1 by using MPEG2 or other video compression methods, PTS > and PCR to restore STC. The transport stream obtained by processing the input signal by the demodulator 2 with demodulation, error correction, or similar operations is stored in the first buffer device 27 once, and is passed through the first bus interface device 3, The peripheral bus 7, the bridge 8, and the main bus 10 are transferred to the second buffer device 24 in the memory 11. The first buffer means 27 is to accumulate the transport stream when it is caused to wait for the transfer of the transport stream commanded by the arbiter 9. The arbiter 9 is used to adjust the transfer requester from the peripheral bus 7. The transport stream stored in the second buffer device 24 is separated by the processor 13 into video PES and audio PES to be reproduced. PSI / SI, and PCR. Here, the processing of the audio PES and PSI / SI is the same as the earlier paper standard that applies the Chinese solid standard (CNS) A4 specification (210X 297 mm) --------- y installation-(please first Read the notes on the back and fill in this page) Order printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs -71-4 5 442 ^ A7 B7 V. Description of Invention (19) The method in the technique is the same, and its explanation is omitted, And the processing of video PES and PCR are described in detail below. (Please read the precautions on the back before filling this page.) Using the clock generated by the first clock generator 23, this first counter 22 generates a master clock, which is the same as the time reference used for the operation of this decoding system. Here, this master clock is the time reference value as if the PCR and STC were in some bits and during the update period. Incidentally, the update period of the master clock and the period of the clock generated by the first clock generator 23 are not always required to overlap each other. The processor 13 returns the STC by using the separated PCR and master clock. Here, the restored STC is used inside the processor 13 to decode audio PES, or to control the entire device on the basis of PSI / ST. The processor 13 decodes the transport stream and transfers the separated video PES to the third buffer device 4 via the path of the main bus 10, the bridge 8, the peripheral bus 7, and the first bus interface device 3. Referring now to Fig. 2, the decoding process of the transport stream of the processor 13 is explained as follows: Fig. 2 shows an example of a schematic flow of transmitting and decoding software on the processor 13. Printed by the Consumers ’Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs at step 201, the decoding process of the transport stream is started, and the transport stream stored in the second buffer device 24 is from the start of one data packet to another. It is read into the processor 13 (step 202). The processor 13 analyzes the header of the read data packet, determines the content of the data packet (step 203), and executes a series of processing (steps 204 to 208) according to the data determined by the judgment result, and reads the next The data packet is one packet after step 209. The paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X297 mm) -22-4 6 4421 A7 B7 V. The processing of part (20) of the invention description has passed (step 202 ). When the content of the read data packet is the PCR to be decoded (step 203), the difference between the master clock and the PCR value output from the first counter 22 is retained in a specific address on the memory 11 as this DSTC value (step 204). Thereafter, in this MPEG transport stream, since PCR and video data may be contained in the same packet, we judge whether this video data is included in the payload of the PSI packet and the header of the packet (step 205), and when the video data is presented, this operation is transferred to the processing of the video data (step 206), and if not present, the processing of this packet is terminated to move to step 209, if it is being read When the content of the incoming data packet is the decoder of the video PES (step 203), the video PES in this data packet is transferred to the third buffer device 4 (step 206). If the content of the data packet being read is SPI / SI or audio data to be decoded (step 203), it is reserved in a specific area on the memory 11 (step 207), and it is not required In the case of other data packets, no action is taken and the operation proceeds to step 209. When the processing of each data packet is terminated, the DSTC retained in the memory 11 is read out, and at the same time it is added to the value of the first counter 22 to obtain the STC value, which is software for decoding audio PES or Similar. Returning to FIG. 1, the PCR splitter / distributor 36 receives the transport stream output from the stream demodulator 2, separates the PCR, and outputs it to the delay device 37. When the output self-stream demodulator 2 of the self-packet has entered the processor 13, until it passes through the first buffer device 27, the first bus interface device, the paper size applies to the Chinese National Standard (CNS) A4 specification (210X297 (Mm) (Please read the notes on the back before filling out this page) / Binding. Order-Printed by the Employees' Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs-23-4 5 44 21 A7 B7 V. Description of Invention (21) 3, Peripheral When the bus 7, the bridge 8, and the second buffer device 24 are fed with the delay time until the STC reduction device 38, the delay device 37 delays the separated PCR at the same time. Here, this delay time is the delay time to be set in the delay device 37, that is, the total number of transport streams stored in the first buffer device 37 and the second buffer device 24 divided by the data speed. That is the amount of data transmitted per unit time of the transport stream when the self-stream demodulator 2 outputs it. Our industry is designed to absorb the fluctuation of the transfer time from the first bus interface device 3 to the first buffer device 27 and the second buffer device 24 to transmit through the bridge 8 and stored in the first buffer The total amount of transmission streams of the device 27 and the second buffer device 24 (that is, from the input into the first buffer device 27 to the output from the second buffer device 24) is always the same value. When the energy system of the second buffer device 24 has been determined and designed, this value is automatically determined, and it can be set as a fixed value in the delay setting 37. The STC restoration device 38 restores the B clock and STC value from the incoming PCR, and feeds them to the video decoder 5. This video decoder 5 is a decoder that complies with the MPEG 2 standard capability of decoding video PES. On the inside, the decoder incorporates the function of displaying images together with time, and uses the STC counter and PTS extracted from the video PES to form the video PES. In this STC counter, the STC value transferred from the outside is set, and thereafter it is counted at 90KHz. This video decoder 5 decodes the video PES stored in the third buffer device 4 and then generates moving image data, transforms and processes it into the paper size applicable to the output. The applicable Chinese National Standard (CNS) A4 specification (210X297 mm) ) (Please read the notes on the back before filling this page)-Order d Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economics-24-4 5 44 2 1 Α7 Β7 V. Description of the invention (22) A signal format, and On the basis of the STC entered from the STC restoration device 38, this recurring moving image signal is output to the output terminal 6 according to the time presented by the PTS separated from the video PES. »According to the structure described herein, we may borrow The processor 13 decodes the transport stream. The PCK demultiplexer 36 only analyzes the transmission header and sends this PCR only to the delay block 37. At the same time, when compared with the packet demultiplexer 15 in FIG. 18, it is in the simpler hardware Medium to achieve. The following is an explanation, that is, if the transfer of the PCR from the demodulator 2 to the second buffer device 24 is delayed due to the judgment of the peripheral bus, the influence on the STC restored by the processor 13 is prevented. The arbiter 9 operates in a loop-first ordering operation with obsolescence. The conceptual diagram of the loop prioritization operation is shown in Figure 3. Here, the main device is connected to the peripheral bus 7 (all integrated circuits on the add-in board and the motherboard, and the bridge circuit). There is a function to control the peripheral bus 7 to be transferred by itself. One of Pei Zhi. If multiple master devices are presented on the same bus, and they individually request the transfer to control this peripheral bus 7, we need to judge the transfer among all the devices requesting transfer. The first bus interface device 3 is assumed to be the master device a. When a transmission stream is output from the stream demodulator 2, the host device 8 requests it to be transferred to the second buffer device 24 to the arbiter programmer 9. According to the instruction from the processor 13, this master device A also requested to transfer the video pES stored in the memory to the third buffer device 4 to the arbiter 9 9 This bridge 8 is assumed to be the master device B . When it is necessary to issue a control paper, the paper size is applicable to the Chinese National Standard (CNS) Α4 specification (210X297 public epidemic) ---------- Λ. * I (Please read the precautions on the back before filling in this Page), τ Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 75 454421 A7 B7 V. Description of the invention (23) When the processor 13 is used to control other words, the main device B outputs a transfer request of a control command To the arbitration procedure 9. The second bus interface device 14 is assumed to be the master device c. According to the instruction from the processor 13, the master device C outputs the transfer request of the audio data stored in the memory u into the audio provider 17 to the arbiter. Programmer 9: This third bus interface device 25 is assumed to be the master device. When a file approaches HDD 26, the master device d outputs a transfer request to the memory. U to the arbiter programmer 9 . Among these four master devices, if multiple master devices including the master device A issue a transfer request at the same time, the arbiter 9 first receives the transfer request from the autonomous device A, assuming that the master device a has the highest When priority is given, the master device B has the second priority, the master device c has the third priority, and the master device D has the lowest priority. The arbiter 9 performs the transfer operation of the master device A to a specific time Ta 'and is forced to terminate the transfer. This forced action to terminate this transfer is called latent time, and the duration from the beginning of the transfer until the occurrence of the latent action is called the latent period (herein Ta). At this moment, when the arbiter programmer 9 loops this priority order, and when the host device A is assumed to have the lowest priority, the host device b is the highest priority, and the host device C is the second priority, and the host device A is the second priority. Device D has the third priority. Therefore, multiple master devices including to device B request a transfer at the same time. At this moment, the main device B is assumed to have the highest priority and its paper size applies the Chinese National Standard (CNS) A4 specification (210X297 cm) --------- 3 packs-" π ' · '·' (Please read the note on the back before filling this page) Order printed by the Intellectual Property Bureau Employee Consumer Cooperative of the Ministry of Economic Affairs 26 454421 A7 B7 V. Description of the invention (24) The transfer request is accepted, and when the transfer action After a specified time Tb, the transfer is postponed. (Please read the notes on the back before filling this page.) After that, similarly, the main device C is assumed to have the highest priority, and the transfer is operated to a specific time Tc, and the transfer is terminated. Then, similarly, the master device D is assumed to have the highest priority, and the transfer is operated to a specific time Td, and the transfer is forced to terminate. By using this arbiter programmer 9 it operates in this way, the transfer of the stream demodulator 2 to the second buffer device 24 is caused to wait for a transfer request of the longest time (Tb + Tc + Td) until The migration of the main device B, the main device C, and the main device D has passed. This holding period (Tb + Tc + Td) is the time required to judge the transfer request of the bus. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. Assuming that the data speed or the amount of data transferred per unit time of the transport stream output by the stream demodulator 2 is R bytes per second, the second buffer is defined by The energy of the device 24 is greater than (Tb + Tc + Td) xR bytes than the energy of the fourth buffer device 12 in FIG. 18. The energy of the second buffer device 24 can be set to be more than that used for the peripheral bus 7. The energy of the incoming transport stream during the time necessary for the judgment of the internal transfer request is large. Therefore, this transport stream can be continuously read into the processor 13 at this data speed R, so that the restoration operation of the STC is stable. At this time, because we need to start in the state energy waiting to be transferred by Tb + Tc + Td Therefore, the processor 13 must start after the detection data is stored in the second buffer device 24 with (Tb + Tc + Td) XR bytes. This paper size applies the Chinese national standard (CNS > A4 specification (210X297) -97. 4 5 44 2 1 A7 B7 V. Explanation of the invention (25) Decoding (Please read the notes on the back before filling out this page) Actually, as one of the methods of constructing this decoding system, it is assumed that the arbitration The longest time in program 9 until the latent time is Tmax, the total number of devices connected to the peripheral bus 7 (slots for adding cards, integrated circuits on the board connected to this bus, and bridges That is, the maximum number of main devices) is Na, the data speed of the transport stream output from the stream demodulator 2 is R bytes / second, and the maximum number of processing elements of the program constituting the transport stream to be entered is Nmax, Setting the second buffer device 2 The method of energy of 4 becomes greater than

Tmax X Nax X R+5 12 X Nmax字節 者係解釋如下文: 於開始第2圖内所示傳輸解碼軟體之流程圖後之立刻 ,檢測第二緩衝器24内其餘之流數據,如果大於Tmax X Na X R字節時,此程序用以行進至下一步驟者係被插入。 經濟部智慧財產局員工消費合作社印製 在此一時刻,一主裝置是否係已連接至用於添入板之 槽係未知,或者一目標裝置沒有此類功能如以其本身來控 制周邊滙流排7者係已連接(或者它可能在未來被改變), 以及因此在構造此解碼系統之此一時刻,一足夠之能量可 以藉使用可以連接至此滙流排之裝置之總數Nc以設定第 二缓衝器裝置24之能量而保持》 或者,它可以經設計以自處理機13來設定第二缓衝器 裝置24之能量。當0S探測硬體之資料時,需要轉移請求 之判斷之主裝置數目係在實際已連接至周邊滙流排7之裝 置之中間被探測,以及此處理機13藉使用係實際地被測得 之主裝置數依照此計算結果而設定。由於呈現之主裝置之 本紙張尺度逋用中國國家標準(CNS ) Μ規格(210X297公釐) 4 5 44 2 1 A7 B7 五、發明説明(26 ) 數目係有限’故第二緩衝器獎 小 衡器装置24之能量可以大體上減 順便一提地是用以自處理规 機13設定第二缓衝器裝置24 之能量之結構亦可以實現如下。 例如,一寄存器顯示第一 币一緩衝器裝置24之能量者係裝 設於第一滙流排介面裝置内。 c 奇'存窃之值係自處理機 13設定。用以寫入第二緩衝器裝置%内之寫出指示符值係 在此寄存器值之基礎上由第_滙流排介面裝置來控制。 用以自第二缓衝器裝置24讀出之讀取指示符值係直接地由 處理機13來控制》 在此-時刻,藉提供第一滙流排介面裝置以寄存器顯 示寫出指示符值至第二緩衝器裝置24,在第二緩衝器裝置 24内之其餘之傳輸流數據可由處理機〗3測得。藉使用此一 用以探測其餘傳輸流之結構,若干功能可以實現,以及其 細節係在本實施例内之後段說明。 經濟部智恶財產局員工消費合作社印製 一如本文所說明者,依照第一實施例之解褐系統、藉 依照主裝置之數目和判優程序器9内至潛時之持續期而設 定第二緩衝器裝置24之能量’吾人即可能避免當轉移自流 解調器2輸至第二緩衝器裝置24時由於周邊滙流排7之判斷 之影響所產生之STC之還原之不穩定之現象。 在此一結構t,輸入至處理機13係連續不斷地完成, 並因此自流解調器2之數據包需要以到達處理機13之時間 係正常不變,以及依照此一時間,延遲裝置17之延遲時間 可以設定。 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) 00 經濟部智慧財產局員工消費合作社印製 454421 A7 ______B7 五、發明説明(27 ) 自處理機13檢測第二緩衝器裝置24内餘下之傳輸流數 據之方法係已說明如上文,以及此外,以一類似方法,亦 藉檢測第一緩衝器裝置27内之餘下之傳輸流數據,吾人亦 能來計算要由處理機13在延遲裝置37内設定之延遲時間。 在此,作為對餘下數據之檢測方法,此處理機丨3直接 地控制第二緩衝器裝置24之讀取指示符之值,以及第一滙 流排介面裝置3係裝設以一寄存器顯示對第二緩衝器裝置 24之寫出指示符值,以及因此,此處理機13自此讀取指示 符值和寫出指示符值探測第二緩衝器裝置24内餘下之傳輸 流數據。此第一緩衝器裝置27係亦裝設以一寄存器顯示讀 取指示符和寫出指示符值,以及藉構成俾使處理機13可通 過第一匯流排介面裝置3讀取,此處理機13即可確認第一 緩衝器裝置27内之其餘下之傳輸流數據。 在第二缓衝器裝置24内,當缓衝器内餘下數據變為零 時,下一 PCR到達處理機13之到達時間係已延遲,以及因 此,此PCR係以一與STC還原之不同定時進入。 在此一時刻,數據之零餘下意指在傳統式缓衝器控制 中儲存於第二緩衝器裝置24内之數據量係很小,以及吾人 必需由此處理機13來改變自第二缓衝器裝置24之數據之讀 取控制’俾使第二緩衝器裝置24之平均餘下可以較大,並 因此在延遲裝置37内之需要之延遲時間改變。The Tmax X Nax X R + 5 12 X Nmax bytes are explained as follows: Immediately after starting the flowchart of transmitting the decoding software shown in Figure 2, the remaining stream data in the second buffer 24 is detected. Tmax X Na XR bytes are inserted by this program to proceed to the next step. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs At this moment, it is unknown whether a master device is connected to a slot for adding a board, or a target device does not have such functions such as controlling peripheral buses by itself The 7 is connected (or it may be changed in the future), and therefore at the moment when this decoding system is constructed, a sufficient amount of energy can be used to set the second buffer by using the total number of devices Nc that can be connected to this bus Alternatively, it may be designed to set the energy of the second buffer device 24 from the processor 13. When the OS detects hardware data, the number of master devices that need to be judged by the transfer request is detected in the middle of the devices that are actually connected to the peripheral bus 7, and the processor 13 is actually used to measure the masters. The number of devices is set according to the calculation result. Since the paper size of the main device presented uses the Chinese National Standard (CNS) M specification (210X297 mm) 4 5 44 2 1 A7 B7 V. Description of the invention (26) The number is limited, so the second buffer prize is a small scale The energy of the device 24 can be substantially reduced. Incidentally, the structure for setting the energy of the second buffer device 24 from the processing machine 13 can also be realized as follows. For example, a register showing the energy of the first coin-buffer device 24 is installed in the first bus interface device. c Odd 'stolen value is set by processor 13. The write indicator value used to write in the second buffer device% is controlled by the bus interface device based on the value of this register. The reading indicator value for reading from the second buffer device 24 is directly controlled by the processor 13. At this time, the indicator value is written to the register display by providing the first bus interface device to The second buffer device 24, and the remaining transport stream data in the second buffer device 24 can be measured by the processor 3. By using this structure for detecting the rest of the transport stream, several functions can be realized, and the details are described later in this embodiment. The Consumer Cooperatives of the Intellectual Property Office of the Ministry of Economic Affairs printed as described in this article, according to the browning system of the first embodiment, set the number The energy of the second buffer device 24 may prevent the unstable instability of the STC caused by the influence of the judgment of the peripheral bus 7 when transferring the auto demodulator 2 to the second buffer device 24. In this structure t, the input to the processor 13 is continuously completed, and therefore the data packet of the auto demodulator 2 needs to reach the processor 13 normally, and according to this time, the delay device 17 The delay time can be set. This paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 00 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 454421 A7 ______B7 V. Description of the invention (27) Self-processing machine 13 detects the second buffer device 24 The method of the remaining transport stream data has been explained above, and in addition, in a similar method, by detecting the remaining transport stream data in the first buffer device 27, we can also calculate the delay to be processed by the processor 13 The delay time set in the device 37. Here, as a detection method for the remaining data, the processor 3 directly controls the value of the read indicator of the second buffer device 24, and the first bus interface device 3 is provided with a register to display the The write-out indicator value of the second buffer device 24, and therefore, the processor 13 reads the indicator value and the write-out indicator value from this to detect the remaining transport stream data in the second buffer device 24. The first buffer device 27 is also equipped with a register to display the read indicator and the write indicator value, and to make the processor 13 readable by the first bus interface device 3, the processor 13 That is, the remaining transport stream data in the first buffer device 27 can be confirmed. In the second buffer device 24, when the remaining data in the buffer becomes zero, the arrival time of the next PCR to the processor 13 is delayed, and therefore, the PCR is at a different timing from the STC restoration enter. At this moment, the zero residual of data means that the amount of data stored in the second buffer device 24 in the traditional buffer control is small, and we must change the second buffer by the processor 13 The reading control of the data of the buffer device 24 allows the average remaining of the second buffer device 24 to be larger, and therefore the required delay time in the delay device 37 is changed.

依此,此處理機13控制延遲裝置37來改變延遲時間, 並控制STC還原裝置38來再設定STC還原行動。藉此一再 設定,此STC還原動作係曾被終止,但此係因為PCR進入STC 本紙張尺度適.用中國國家標準(CNS ) A4規格(210X297公釐) ~ -_ (請先聞讀背面之注意事項#填寫本頁)Accordingly, the processor 13 controls the delay device 37 to change the delay time, and controls the STC restoration device 38 to set the STC restoration action again. This has been repeatedly set, this STC reduction action has been terminated, but this is because the PCR entered the STC The paper size is appropriate. Use Chinese National Standard (CNS) A4 specifications (210X297 mm) ~ -_ (Please read the back Note #Fill in this page)

454421 A7 ____B7 五、發明説明(28 ) 還原裝置3 8内之輸入時間係由於延遲時間上之改變而被改 變’而此一再設定係意欲來終止現時STC還原行動一次, 並從頭再開始。藉此一操作,以依照改變之延遲時之STC 還原動作,此視頻及聲頻可以有最優之同步化》 在判優程序器9之運算中,此第一匯流排介面裝置3( 亦即主裝置A)可以經常給予最高之優先。在此一方法中 ,此判優程序器9可以在一簡單之電路中組成,但僅藉引 用此一方法’其他主裝置之轉移量減少以及輸出視頻或聲 頻可能被干擾或其他不方便可能發生。在此一實施例中, 藉使用循環優先排序運算伴以潛時,並依此而確定緩衝器 能量’不會造成此類不方便之解碼系統即可以呈現。 <第二實施例> 第4圖係一方塊圖,顯示本發明之第二實施例中一解 碼系統之構造。在第4圖中,與第1圖之第一實施例之共同 部分係貫以相同代號,以及重覆之解釋係予省略。 第二實施例與第一實施例之間之所同不同係該由處理 機13所還原之STC值係經轉移至視頻解碼器5,以及該延 遲裝置因而係被清除。 藉轉移由處理機13所還原之STC值至視頻解碼器5, 此STC還原裝置38係要求僅有只進給字組進入此視頻解瑪 器5内之功能,同時它係不要求還原一精確stc值。 因此’此延遲裝置37不能被移出。在同一時間,此處 理機13係不需要來計算並設定延遲裝置37内之延遲時間。 另一方面’當轉移由處理機13所還原之37(:值至視頻 本紙張尺度逋财關家辟(cws 2]GX297公餐)--- -_ {請先聞讀背面之注意事項再填寫本頁) -裝- '訂 經濟部智慧財產局員工消費合作社印製 45 44 2 1 A7 ___B7 五、發明説明(29 ) 解碼器5時,它係通過此周邊滙流排7而轉移,以及因此在 視頻解碼器5内之STC值之輸入時間.係要遭受周邊滙流排7 之判斷之影響。因此,在第二實施例之解碼系統中,此處 理機13於停止發送其他轉移命令通過此周邊滙流排之後, 轉移STC值至視頻解碼器5,以及因此,吾人可能減少判 斷之影響於轉移STC值至視頻解碼器5時β 亦即謂,當通過周邊滙流排7轉移時,除了 STC值之 轉移至視頻解碼器5以外’如第3圖内所示之相同轉移亦可 能發生。如果當此類轉移與STC之轉移至視頻解碼器5在 同一時間地發生時’則STC值之實際輪入視頻解碼器5内 之時間係要遭受判斷之影響。 STC值之轉移至視頻解碼器5係每一次轉移一小量, 同時每單元時間所轉移之量與第3圖内所示之轉移量相比 較係亦更小。因此,如果此STC值係以最高優先轉移至視 頻解碼器5時’其對其他轉移之影響係極小。 因此’在這些轉移中,有關其轉移之命令係由處理機 輸出者,在STC值之轉移至視頻解碼器5之前,此處理機U 暫時地停止發送轉移命令,以及因此在STC值之轉移至視 頻解碼器5上判斷之影響可以減小。 為此類處理’在由處理機13所執行之程序中間, 可能被使用》 亦即謂,通過周邊滙流排7之轉移係作為自處理機13 上每一應用軟體對此0S之轉移服務請求而輸出,以及此〇S 接收此一請求,並通過處理機Π之硬體而輸出一轉移命令 )Μ規格(210X297公釐) --------裝-- i- (錆先聞讀背面之注意事項再填寫本頁) 訂 經濟部智葸財產局員工消費合作社印製 454421 A7 一_____B7 五、發明説明(3〇 ) 至周邊滙流排7之每一裝置。 因此,處理機13用以暫時性地裝置其他轉移服務請求 之處理,係藉使用探測STC值之轉移服務之請求至視頻解 碼器5是否係自應用軟體輸出與否而在中實現。 在第二實施例之解碼系統十,如果一欠流發生於第二 緩衝器裝置24内時,吾人亦可能與減少在STC還原上之影 響之方法結合一如下文所解釋者。在此一情況中,吾人亦 可能來設定第二缓衝器裝置24之能量較第一實施例中所解 釋者更小。此一方法之範例係以第5,第6和第7圖為基準 來解释。 第5圖係一概念圖,用以解釋在由於依照第2圖内流程 圖所產生之傳輸解碼器軟體内判斷之影響之暫時性欠流之 發生之情況中,STC還原之情勢。 在第5圖内,橫座標轴線說明時間,以及縱座標軸線 表示主時鐘,STC及PCR之值〇 間斷線140指示由第一 經濟部智慧財產局員工消費合作社印製 計數器22所產生之主時鐘,一單點鏈式直線14ι顯示STC 值(二主時鐘+DSTC),以及空圈點132至137相當於pcR值 。這些值係隨時間而遞增’並因此在第5圖中均係向右方 地移動向上。 在第5圖内,在開始時,DSTC值係在由圖内138之直 線之長度所指示之值内被還原。假定此第二緩衝器24係自 時間130至時間131被騰空。在流解調器2内接收之傳輸流 之在此一時期者係儲存在第一緩衝器裝置27内。 隨後,在PCR135之第一次輸入之一刻,傳輸流之連 本紙張尺度適用中國國家揉準(CNS ) A4規格(210X297公釐) 4 5 44 21 A7 B7 經濟部智慧財產局員工消贫合作社印製 五、發明説明(31 ) 續轉移之再開始之後’ DSTC之值係經擴展至由圖内139所 指示之值,以及此後,此一值用在STC還原内》因此,視 頻PES在視頻解碼器5内之後續解碼以及處理機π内之聲 頻PES之解碼係以新STC而同步化,以再產生性時間之中 斷發生,由是而導致由於視頻PES之不連續解碼之視頻跳 越及由於聲頻PTS之不連續解碼之聲頻跳越。 在此一時刻,自第三缓衝器裝置4,此流係以一相等 於原始視頻PES之數據速度之速度消耗,以及以此相當之 速度此第二緩衝器裝置之傳輸流係經消耗,並因此而自時 間130至時間131,相同量之此傳輸流一如儲存在苐一緩衝 器27内者係永遠地儲存於第一緩衝器裝置27或第二緩衝器 裝置24内。 此一數據夏係除以傳輸流之數據速度,以及產生之時 間係發生在再產生性時間内之不連績部分之量。此一時間 係第一實施例之情況中新近添加至延遲裝置37内之延遲時 間之時間。 要減少此現象,傳輸解碼器軟體之流程圖之範例係顯 示於第6圖内。其所不同於第2圖之流程圖者係一可變空格 計數係經提供(步驟602、607),剛好在數據包之讀取之開 始之前以及在計算DSTC值之部分内(第6圖内波形線200) 藉使用此一值以添加控制。 在步驟601時,傳輸流之解碼程序係已開始,以及當 程式之執行係已開始時,〇係置於空計數中(步驟602),剛 好在每次數據包讀取之前,吾人已檢測到此第二緩衝器24 (請先聞讀背面之注意事項再填寫本頁) ;裝· 訂 ΊΛ 4 5 4 4 2 1 A7 __B7_._ 五、發明説明(32) (請先閱讀背面之注意事項再填寫本頁) 是否騰空與否(步驟603),以及如果騰空,一特定數目Μ 係置於空格計數中(步驟604)。此一數目Μ係用以控制於 第二缓衝器24自騰空狀態之復原之後之立刻所進入之Μ件 之PCR之數目,而此數目不是用於DSTC之還原者。 係正讀入之數據包係一要予解碼之PCR時之情況中, 首先吾人檢測此空格計數是否係0與否(步驟607)。如果空 格計數是〇時,此第二缓衝器24係未騰空,以及PCR係經 提供,並因此一如第2圖内流程圖中之相同程序係予以執 行(步騍608)。 如果空格計數不是0時,此PCR係經使用以及DSTC值 係未經計算(因此,為STC值之還原,先前導經計算並儲 存於記憶體内之DSTC值係被使用),以及以一空格計數遞 減之後,此操作進行至下一步驟(步驟609)。 第7圖係一概念圖,用以解釋由於依照第6圖内流程囷 所產生之傳輪解碼器軟體中之判斷之影響而使暫時性欠流 之發明之情況中STC還原之情勢。在第7圖内橫座標線表 示時間,以及縱座標代表主時鐘,STC及PCR之值。 經濟部智慧財產局員工消費合作社印製 在第7圖内之初始還原時,DSTC係由圖内138所指示 之值。 在此,假定該第二緩衝器裝置24係自時間130騰空至 時間131,當第一PCR 135係於PCR之連續轉移之再開始之 後進入,由於Μ係置於空格計數内,此DSTC之值繼續地 是如圖内由157所指示之值相同。454421 A7 ____B7 V. Description of the invention (28) The input time in the reduction device 38 is changed due to the change in the delay time ', and this repeated setting is intended to terminate the current STC restoration operation once and start again from the beginning. With this operation, the video and audio can be optimally synchronized according to the STC restoration action when the delay is changed. "In the calculation of the arbiter 9, the first bus interface device 3 (that is, the main Device A) can often give the highest priority. In this method, the arbiter programmer 9 can be composed in a simple circuit, but only by referring to this method, the transfer amount of other master devices is reduced and the output video or audio may be disturbed or other inconveniences may occur. . In this embodiment, the use of a circular prioritization operation with latent time, and the determination of the buffer energy according to this, will not cause such an inconvenient decoding system to be presented. < Second Embodiment > Fig. 4 is a block diagram showing the structure of a decoding system in the second embodiment of the present invention. In Fig. 4, the same parts as those in the first embodiment of Fig. 1 are denoted by the same reference numerals, and repeated explanations are omitted. The difference between the second embodiment and the first embodiment is that the STC value restored by the processor 13 is transferred to the video decoder 5, and the delay device is thus cleared. By transferring the STC value restored by the processor 13 to the video decoder 5, the STC restoration device 38 requires only the function of feeding only the words into the video decoder 5, and it does not require the restoration of an accurate stc value. Therefore, 'this delay device 37 cannot be removed. At the same time, the processor 13 does not need to calculate and set the delay time in the delay device 37 here. On the other hand, when transferring 37 (restored by the processor 13 to the video's paper size) (CWS 2] GX297 public meal) --- -_ {Please read the precautions on the back before reading (Fill in this page)-Install-'Order printed by the Consumers' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 45 44 2 1 A7 ___B7 V. Description of the invention (29) When the decoder 5 is transferred through this peripheral bus 7, and therefore The input time of the STC value in the video decoder 5 is affected by the judgment of the peripheral bus 7. Therefore, in the decoding system of the second embodiment, the processor 13 transfers the STC value to the video decoder 5 after stopping sending other transfer commands through the peripheral bus, and therefore, we may reduce the impact of judgment on transferring STC When the value reaches the video decoder 5, β means that when transferring through the peripheral bus 7, except the transfer of the STC value to the video decoder 5, the same transfer as shown in FIG. 3 may also occur. If such a transfer occurs at the same time as the transfer of the STC to the video decoder 5, then the actual turn of the STC value into the video decoder 5 is subject to the influence of judgment. The transfer of the STC value to the video decoder 5 is a small amount each time, and the amount transferred per unit time is smaller than the amount shown in Figure 3. Therefore, if this STC value is transferred to the video decoder 5 with the highest priority, its influence on other transfers is extremely small. Therefore, in these transfers, the command concerning the transfer is output by the processor. Before the transfer of the STC value to the video decoder 5, the processor U temporarily stops sending the transfer command, and therefore the transfer of the STC value to The influence of the judgment on the video decoder 5 can be reduced. For this type of processing, 'it may be used in the middle of the program executed by the processor 13', that is, the transfer through the peripheral bus 7 is a request for the transfer service of this OS from each application software on the processor 13 Output, and this 0S receives this request, and outputs a transfer command through the processor's hardware) M specifications (210X297 mm) -------- install-i- (锖 先 读读Note on the back, please fill out this page again) Order 454421 A7 printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs _____B7 V. Description of the invention (30) Each device to the surrounding busbar 7. Therefore, the processor 13 is used to temporarily install other transfer service request processing by implementing the request of the transfer service that detects the STC value to the video decoder 5 whether it is output from the application software or not. In the decoding system 10 of the second embodiment, if an underflow occurs in the second buffer device 24, we may also combine with the method of reducing the impact on the STC restoration as explained below. In this case, we may also set the energy of the second buffer device 24 to be smaller than that explained in the first embodiment. Examples of this method are explained with reference to Figures 5, 6 and 7. Figure 5 is a conceptual diagram to explain the situation of STC restoration in the case of temporary underflow due to the influence of the judgment in the transmission decoder software generated according to the flowchart in Figure 2. In Figure 5, the horizontal axis indicates time, and the vertical axis indicates the main clock, and the values of STC and PCR. The discontinuous line 140 indicates that the counter 22 is generated by the counter printed by the Consumer Cooperative of the Intellectual Property Bureau of the First Ministry of Economy The main clock, a single-point chain-like straight line 14ι displays the STC value (two main clocks + DSTC), and the empty circle points 132 to 137 are equivalent to pcR values. These values are incremented over time 'and are therefore shifted to the right in Fig. 5. In Figure 5, at the beginning, the DSTC value is restored within the value indicated by the length of the line 138 in the figure. It is assumed that this second buffer 24 is emptied from time 130 to time 131. The transport stream received in the stream demodulator 2 is stored in the first buffer device 27 during this period. Subsequently, at the moment of the first input of PCR135, the paper size of the transport stream is applicable to the Chinese National Standard (CNS) A4 (210X297 mm) 4 5 44 21 A7 B7 printed by the Anti-Poverty Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs Fifth, the description of the invention (31) After the resumption of the continued transfer, the value of DSTC is expanded to the value indicated by 139 in the figure, and thereafter, this value is used in the STC restoration. Therefore, the video PES is used in video decoding The subsequent decoding in the processor 5 and the decoding of the audio PES in the processor π are synchronized with the new STC, and a recurring time interruption occurs, which leads to the video skip due to the discontinuous decoding of the video PES and due to Audio skipping of discontinuous decoding of audio PTS. At this moment, from the third buffer device 4, this stream is consumed at a speed equal to the data speed of the original video PES, and at this equivalent speed, the transmission stream of this second buffer device is consumed, Therefore, from time 130 to time 131, the same amount of this transport stream is stored in the first buffer device 27 or the second buffer device 24 as if it were stored in the first buffer 27. This data summer is divided by the data speed of the transport stream, and the time it is generated is the amount of the non-recurring part of the reproductive time. This time is the time of the delay time newly added to the delay device 37 in the case of the first embodiment. To reduce this, an example of the flow chart of the decoder software is shown in Figure 6. The flow chart is different from the flow chart in Figure 2 in that a variable space count is provided (steps 602, 607), just before the start of reading the data packet and in the part that calculates the DSTC value (in Figure 6). Wave line 200) Use this value to add control. At step 601, the decoding process of the transport stream has started, and when the execution of the program has started, 0 is placed in the empty count (step 602), just before each packet read, we have detected This second buffer 24 (Please read the precautions on the back before filling this page); Binding and ordering Ί 4 5 4 4 2 1 A7 __B7 _._ V. Description of the invention (32) (Please read the precautions on the back first Fill out this page again) whether it is vacated or not (step 603), and if vacated, a specific number M is placed in the space count (step 604). This number M is used to control the number of PCRs of the M pieces entered immediately after the second buffer 24 recovers from the emptied state, and this number is not used for the restorer of DSTC. In the case where the data packet being read is a PCR to be decoded, we first check whether the space count is 0 or not (step 607). If the space count is 0, the second buffer 24 is not emptied, and the PCR is provided, and therefore the same procedure is performed as in the flowchart in Fig. 2 (step 608). If the space count is not 0, the PCR is used and the DSTC value is uncalculated (therefore, the STC value is restored. The DSTC value calculated and stored in memory in the previous guide is used), and a space is used. After the count is decremented, this operation proceeds to the next step (step 609). Fig. 7 is a conceptual diagram for explaining the situation of STC restoration in the case of the invention of temporary underflow due to the influence of the judgment in the software of the round decoder generated according to the flow in Fig. 6. In Figure 7, the horizontal axis represents time, and the vertical axis represents the values of the master clock, STC, and PCR. Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs. At the initial restoration in Figure 7, DSTC is the value indicated by 138 in the figure. Here, it is assumed that the second buffer device 24 is vacated from time 130 to time 131. When the first PCR 135 is entered after the continuous transfer of PCR restarts, since M is placed in the space count, this DSTC value Continuing is the same value as indicated by 157 in the figure.

在此一情況中,已轉移至第三緩衝器裝置4之視頻PES 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 454421 A7 ___ B7 五、發明説明(33 ) 係因為由於第二缓衝器裝置24係自時間13〇至時間i3i騰空 而沒有數據包供應至處理機13而亦係被停止,以及以此一 時刻之此部分,被含於第三緩衝器裝置4處之後續數據包 之酬載内之視頻PES之到達係被延遲。 不過,由於STC係經還原而未含有此一延遲時間,故 供影像輸出用之視頻解碼器5之等待時間係被縮短,或者 此影像係已跳越,直到要予再產生之影像之pTS變為一如 STC之相同時間,以及因此,以任一程操作’在視頻解碼 器5内視頻PES之消耗係繼續向前。 隨同視頻PES之消耗之此一繼續向前,儲存於第二緩 衝器裝置24内傳輸流之處理係由此處理機13加速。 依此,時間130至131之間,儲存於第一緩衝器裝置27 内之流係開釋至第二缓衝器裝置24一如係繼續向前。因此 ,此PCR之係於第5圖内136之時間處由處理機η所處理者 係繼續向前並在第7圖内151之時間處被處理。 以此一方式,當所有儲存在第一緩衝器裝置27内之傳 輸流於時間130和131之間係被開釋時,則儲存於第一緩衝 器裝置27和第二缓衝器裝置24内之傳輸流之總和係一如時 間130之前STC之還原之時間時一樣,以及由第一緩衝器 裝置27和第二緩衝器裝置24所造成之延遲時間回行至時間 Π0之前狀態,俾使此PCR係在與原始STC —致之時間置 入處理機I3内’一如時間153之後之PCR—樣。其結果, 由第二緩衝器裝置24内之欠流之STC 150值之影響可以避 免。 本紙張尺度適用t國國家標準(CNS > A4規格(210X297公疫) (請先閱讀背面之注意事項再填寫本頁} ;裳. 訂. 經濟部智慧財產局員工消費合作社印製 d 5 4 4 2 1 A7 B7 五、發明説明(34 ) 藉使用在第5圖、第6圖和第7圖内所解釋之方法,吾 人即可能為自流解調器2之Μ件之PCR之輸出之時間避免 第二缓衝器裝置24之欠流之影響。因此,以倍增用於以流 解調器2之輸出數據速度之Μ件之PCR之部分之時間所獲 得之數攄量之部分,吾人即可能減少如與第一實施例相比 較之第二緩衝器裝置24之能量。 此外,當自PCR計算DSTC時,藉使用若干件之PCR 輸入之平均值,STC還原之穩定性可能被增強I此一方法 係以第8圖為基準來.解釋。 第8圖係在以使用七個PCR輸入之平均值作STC還原 之情況中DSTC計算程序之流程圖》此係來取代第6圖内之 流程圖中由虛線所包圍之部分200。 為易於解釋起見,在第8圖内,七個PCR輸入之平均 值係被使用,但那不是僅限於七個。當此PCR之數目係較 大時,在滙流排之判斷係突然地顯著地延遲之情況中影響 可能減少,但硬體負載係相反地增加,以及在實際裝置中 ,因此,若干PCR可以在由硬體之標尺所容許之範圍内設 定於一較大值。 在第8圖中,為了要計算多至七個PCR和主時鐘之差 異之平均值,可變化之列DSTC(i)係被使用。在此,(i)係 一範圍自0至6之整數。要計數自平均之開始之PCR輸入之 數目,可變之DSTC計數係被使用。 當空格計數係異於0時,(步騍801),亦即謂,當第二 缓衝器裝置24欠流時,藉遞減此空格計數於(步驟807)之 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) n· n n i - tt - n - ! \iy 7 1 I (請先鬩讀背面之注意事項再填寫本頁) 訂 經濟部智慧財產局員工消費合作社印製 454421 A7 _B7 __ 五、發明説明(35 ) 後之立刻,可變化之DSTC計數和DSTC⑴係被清除至0(步 騍808 、 809)。 ----------裝-- ^ . - (請先閲讀背面之注意事項再填寫本I·) 因此,通過第6圖内步驟610之後階段之處理之後,第 8圖内步驟801之處理係再次地開始,以及當空格計數變為 0之此一時刻,亦即,當自輸入PCR之STC還原係開始時 ,PCR和主時鐘之差異(第一計數器22之值)係储存於可變 化列DSTC(i)内(步驟802、803),以及若干儲存之差畢係 以DSTC計數而上數至六0至於DSTC計數之遞增.,不過, 當DSTC計數係不是六時,DSTC計數係遞增(步驟804, 805) ,以及當DSTC計數係不是六時,此程序進行至下一步驟( 步驟806)而不遞增。 藉以此一方式來組成此傳輸解碼器軟體,此STC可以 藉使用七個PCR輸入之平均值而還原,一及如果此第二缓 衝器裝置24欠流時,藉一次再設定此平均程序,如果此 DSTC之值係當自欠流復原時已改變則吾人可能立刻地追 踪。 經濟部智慧財產局員工消費合作社印製 另一可供選擇方式,藉移出平均程序之再設定,亦即 ,自第8圖内流程圖由虛線201所包圍之部分,如果欠流發 生於第二缓衝器裝置24内時,它可以經設計以連續不斷地 使用此平均值。 此一方法當欠流在一短時間内經常地發生時係有效, 作為輕微地下降第二緩衝器裝置24之能量之結果(以及第 一缓衝器裝置27)。 一如本文中所解釋者,在第二實施例之解碼系統中, 本紙朵尺度適用中國國家標準(CNS ) Α4規格(210X 297公釐) 454421 A7 B7 五、發明説明(% ) 藉省略延遲裝置37之較小硬體,視頻和聲頻可以同步化, 以及即令在以縮減第二缓衝器裝置24之能量之結構中,此 STC仍可以穩要地還原。 在第二實施例中,本文内,穩要地還原此STC之目的 係已達成,以及藉使用如此穩要還原之ST,更精確地同 步化視頻和聲頻之結構係在下文第三實施例中說明: <第三實施例> 第10圖係一方塊圖,顯示本發明之第三實施例中一解 碼系統之構造。 在第10圖内,那些對第4圖内之第二實施例共同之部 分係貫以相同之代號,以及重覆說明係予省略a 第三實施例與第二實施例之間所不同者係該第二時鐘 發生器20和第二計數器21係經提供,以便能產生一主時鐘 亦在此添入板面,以及該處理機13進給此DSTC值通過第 一滙流排介面裝置3而至一選擇器34,藉加法器以求得選 擇器34之輸出與自第二計數器21之主時鐘之總和以還原此 STC ’並進給此還原之STC進入視頻解碼器5内,以及同 時該判優程序器30係連接至周邊滙流排7以發送有關肩邊 滙流排7之判斷之信息至處理機13,並藉自處理機13之控 制以改變判斷之運算。 藉安裝此第二時鐘發生器20和第二計數器21以產生主 時鐘亦在添入板面處,處理機13和視頻解碼器5兩者可以 主時鐘言及之,俾使左STC之轉移上周邊滙流排7之判斷 之影響可以減小。不過,為此一目的,吾人必須在同一時 本紙張尺度適用T國國家揉準(CNS )八4規晨(2〗OX297公釐) (請先閲讀背面之注意事項再填寫本頁) 裝· -訂 經濟部智恶財產局員工消费合作社印製 19 454421 A7 B7 五、發明説明(37 ) 間使由第一計數器22所產生之主時鐘和由第二計數器21所 產生之主時鐘有相同之值。 ---------7=.裝-- .. - 广../ (請先閲讀背面之注f項再填寫本頁) 在第三實施例中,因此,第一時鐘發生器20和第二時 鐘發生器23係藉使用相同頻率之石英振盪器而組成。藉使 用相同頻率之石英振盪器,兩個石英振盪器之頻率差可以 抑制至一石造成視頻和聲頻之同步化上之影響之一水平。 現在參看第11圖,匹配由第一計數器22所產生之主時 鐘和由第二計數器21所產生之主時鐘之值之一種.方法係說 明如下。 第Π圖顯示在解碼系統中自電力之供應直到傳輸解碼 益軟體之開始為止之引導順序之·—範例。 在步驟1101時,電力係經供應,以及此os係被啟動 α. 經濟部智慧財產局員工消費合作社印製 當此一解碼系統之電源係已接上時,首先此〇S係在 一如一般OS之開始程序之相同程序而實施。亦即謂,包 含自行測試(步驟1102),自HDD 24之主啟動記錄之讀取( 步驟Π 03) ’ OS負載裝入程序進入記憶體11内(步驟π 04) ’以及檢查硬體資料(步驟1105)之程序之執行之後,OS要 點之負載進入記憶體11内(步驟1107)之前,亦即,對周邊 滙流排(而不是HDD 26)之存取之開始之前之一階段内, 對HDD 26之存取係已停止(步驟1106)。 在此一狀態中,在周邊滙流排内,轉移請求係未由任 何橋路或介面裝置形成。 現在,在此一狀態中,第一計數器22之值係經轉移至 本紙張从適.用中國國家襟準(CNS )从祕(21();)<297公着] ~ — — -4Π . 4 5 44 2 1 A7 _B7_ 五、發明説明(38 ) 第二計數器21(步驟1106) »因此吾人可能來轉移而不會造 成由於滙流排之轉移請求之判斷之延遲,俾使由第一計數 器所產生之主時鐘和由第二計數器所產生之主時鐘之值可 以相匹配。 以後,此一解碼系統之此OS要點係裝載入記憶體11 内(步驟1107),此os係已開始(步驟1108),以及此傳輸解 碼器軟體係在已開始之OS開始(步驟1109)。 另一方面’處理機13和視頻解碼器5兩者可.提及主時 鐘’並個別地還原此STC,並因此自處理機13至頻頻解碼 器5此DSTC係經轉移以取代STC本身之值。 在第10圖内之構造中,要由處理機13來執行之傳輸解 碼器軟體之一示意性流程圖係顯示於第12圖内。第12圖係 類似於第6圖内第二實施例中之流程圖,亦即謂,在數據 包處理並轉移至頻頻解碼器5(步驟614)之終了時,還原STC 之程序係改變為檢查空格計數(步騍1214)之程序,並轉移 DSTC值直接地至視頻解碼器5(步驟1215) 〇 一串聯之數據包處理之終止之後,吾人首先檢查空格 計數是否係0或不是(步驟1214),以及如果不是〇時,亦即 如果此DSTC值係未更新時,下一數據包係被處理(回行至 步驟1203)。 如果空格計數係0時’亦即,如果此DSTC值係已更新 時’此DSTC係藉主滙流排1 〇,橋路8,周邊滙流排7,以 第一滙流排介面裝置33之途徑而轉移至加法器35 » 當此處理機13如此一流程圖中所示地進行時,如果此 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公餐) —-- -41 - (請先閲讀背面之注意事項再填寫本頁) 訂 經濟部智慧財產局員工消費合作社印製 4 5 44 21 A7 ________B7 五、發明説明(39 ) DSTC值係已更新時,此DSTC/£fc係通過此周邊遥流排7而 發送至選擇器34。 在第10圖之構造中’此選擇器34儲存出自進入之DSTc 值之一特定數目的之最新DSTC值,並輸出它們中之最小 值至加法器35 « 此加法器35儲存自第一滙流排介面裝置$之進入之 DSTC值,並加上自第二計數器21之主時鐘輸出,並輸出 總和’亦即’此STC值本身.,至視頻解碼器5。 在此一構造中’進入視頻解碼器5内之we係以使用 進入之DSTC值之特定數目之最小值而還原之一STC。它 即意指DSTC值之特定數目之中間有最小判斷之影響之一 α 在此實施例中,為了要減小在STC上判斷之影響,此 判優程序器30係連接至周邊滙流排7,以及吾人經設計以 發送有關周邊滙流排7之判斷之信息至處理機丨3,並以改 變自此處理機13之控制來判斷之運算法。 亦即謂’在此一構造中,當處理機丨3通過周邊滙流排 7而轉移DSTC值至選擇器34時,此判優程序器係經控制, 以及橋路8之優先次序係暫時地改變為較高。其結杲,藉 橋路8和周邊滙流排7之途徑自處理機13轉移dSTC值至選 擇器34之請求係較其他轉移請求給予較高優先,以及直到 轉移請求係被接受為止之時間係較短。因此,由於自DSTC 值之總處理機13之輸出直到到達選擇器34為止之時間係減 小’由加法器35所選原以及藉使用此一 DSTC值而進入視 本紙張尺度適用t國國家樣率(CNS )八侧^加㈣7公釐) (請先聞讀背面之注意事項再填寫本頁) -訂 經濟部智慧財產局員工消費合作社印製 42 經濟部智葸財產局員工消費合作社印製 4 5 44 2,1 A7 _____B7______ 五、發明説明(4〇 ) 頻解碼器5内之此STC在周邊滙流排7之判斷之影響上係進 一步地降低。 此外,在此一構造中,吾人亦可能避免因周邊滙流排 7之判斷之影響所產生之第二缓衝器裝置24之欠流》 亦即謂,此處理機13以一特定時期檢測儲存於第二缓 衝器裝置24内之餘下之傳輸流,以及餘下之此數據變為小 於一特定值時控制此判優程序器30,並暫時地昇高第一滙 流排介面裝置3之優先次序。藉提高第一滙流排介面裝置3 之優先次序,第二緩衝器裝置24之欠流係可避免。假定此 餘下數據係完全地為0,如果在此一狀態中優先次序被提 高時,欠流狀態將繼續保持原狀直到下一數據係已進入為 止。依此’藉暫時地昇高第一滙流排介面裝置3之優先次 序’第二緩衝器裝置24之欠流係已避免i明確而言,當餘 下之數據變得較指定量為小時,相當於此值之特定值如下 « * [(第二缓衝器裝置24之平均輸出速度)一(提高第二缓衝 器裝置24之優先次序之前之平均輸速度)χ(直到提高優先次 序之後第一數據係已進入第二緩衝器24内為止之時間。 依此,自流解调器2 ’以及儲存在第二緩衝器2 7藉第 一滙流排介面裝置3 *周邊滙流排7,橋路8,以及主通流 排10之途徑輸出至第二緩衝器裝置24之傳輪流之轉移請求 係較其他轉移請求給予較高優次序,以及因此進入第二緩 衝器裝置24之傳輸流之輸入速度係較快,俾使第2緩衝器 裝置24之欠流可以避免。 本紙張尺度適.用中國國家標準(CNS ) Α4規格(21 Οχ 297公釐) — ---- -41 . ^1.1 I I I -I- I an uM111 I i n _,tT.1 I I— —I— (請先閱讀背面之注意事項再填寫本頁) 4 5 4421 A7 B7 五、發明説明(41 ) 此際,餘下數據可以檢查,例如,藉比較每次數據包 係讀出時讀取指示符之地址和至第二缓衝器裝置24之流之 寫出指示符之地址。 用以變換第一滙流排介面裝置3之優先次序之標準可 以藉下列標準實現。 例如,當自第一緩衝器裝置27至第二緩衝器24之流之 轉移請求係以來自處理機13之命令藉第一滙流排介面裝置 輸出時,假定直到它係在判優程序器30内被接受必及轉移 係已開始為止之時間為Tsta,以及由處理機13用以讀出自 第二緩衝器裝置24之流之數據速度係Rstd。以當儲存於第 二緩衝器裝置24内之餘下之流變為較TstaxRstd為小時之 時間之基礎上(實際上為考慮一公差此臨限係經設定得有 幾分較大)’此處理機13設定第一滙流排介面裝置3之優先 次序較高。 因此,在處理機13讀取自第二緩衝器裝置24之所有流 數據之前’進入第二緩衝器裝置24内之傳輸流之輸入速度 係已增強’以及第二緩衝器裝置24之欠流係已避免。 藉此一操作’與永遠給予最高優先次序給第一滙流排 介面裝置3之方法相比較,其他主裝置上之影響係較小, 以及第二緩衝器裝置24之欠流在同時間可以避免。 何況如第6圖内所示,當處理機13應用此運算法用以 在第二緩衝器裝置24之欠流之後保持原有STC至—特定時 間,STC還原之穩定性可以藉此一.組成而增強,俾使處理 機13可操作如下文。 私紙張尺度適用中國國豕標準(CNS > A4規格(21〇χ 297公着 -----------hi.裝-- ►― 广'、· (請先閲讀背面之注意事項再填寫本頁) ί1τIn this case, the video PES that has been transferred to the third buffer device 4 applies the Chinese national standard (CNS) A4 specification (210X297 mm) 454421 A7 ___ B7 V. The description of the invention (33) is due to the The second buffer device 24 is vacated from time 130 to time i3i and no data packet is supplied to the processor 13 and is also stopped, and at this moment, this part is included in the third buffer device 4 The arrival of video PES in the payload of subsequent packets is delayed. However, since STC is restored without this delay time, the waiting time of video decoder 5 for image output is shortened, or this image has been skipped until the pTS of the image to be reproduced changes It is the same time as STC, and therefore, the consumption of video PES within video decoder 5 is continued onward in any one operation. As this consumption of video PES continues, the processing of the transport stream stored in the second buffer device 24 is accelerated by this processor 13. According to this, between time 130 and 131, the stream stored in the first buffer device 27 is released to the second buffer device 24 as it continues to move forward. Therefore, the PCR system is processed by the processor η at time 136 in FIG. 5 and is processed at time 151 in FIG. 7. In this way, when all the transmission streams stored in the first buffer device 27 are released between time 130 and 131, they are stored in the first buffer device 27 and the second buffer device 24. The sum of the transport streams is the same as when the STC is restored before time 130, and the delay time caused by the first buffer device 27 and the second buffer device 24 is returned to the state before time Π0, so that this PCR It is placed in the processor I3 at the same time as the original STC, just like the PCR after time 153. As a result, the influence of the undercurrent STC 150 value in the second buffer device 24 can be avoided. This paper size applies to the national standard of China (CNS > A4 specification (210X297). (Please read the precautions on the back before filling out this page); Sang. Order. Printed by the Consumers ’Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs d 5 4 4 2 1 A7 B7 V. Description of the invention (34) By using the method explained in Figure 5, Figure 6, and Figure 7, we may be the time of PCR output of the M piece of the auto demodulator 2. Avoid the influence of the underflow of the second buffer device 24. Therefore, by multiplying the amount of time obtained by multiplying the portion of the PCR for the M pieces at the output data speed of the stream demodulator 2, we are It is possible to reduce the energy of the second buffer device 24 as compared with the first embodiment. In addition, when calculating DSTC from PCR, by using the average value of several PCR inputs, the stability of STC reduction may be enhanced. One method is based on Figure 8. Explanation. Figure 8 is a flowchart of the DSTC calculation procedure in the case of using the average of seven PCR inputs for STC reduction. This method replaces the flow in Figure 6. The part 200 is surrounded by a dotted line in the figure. For ease of explanation In Figure 8, the average value of seven PCR inputs is used, but that is not limited to seven. When the number of this PCR is large, the judgment of the bus is suddenly and significantly delayed The impact may be reduced, but the hardware load is increased inversely, and in actual devices, therefore, several PCRs can be set to a larger value within the range allowed by the hardware scale. In Figure 8, in order to Calculate the average of up to seven PCR and master clock differences. The variable DSTC (i) is used. Here, (i) is an integer ranging from 0 to 6. To count from the beginning of the average The number of PCR inputs, a variable DSTC count is used. When the space count is different from 0 (step 801), that is, when the second buffer device 24 is undercurrent, the space count is decremented. The paper size in (step 807) applies the Chinese National Standard (CNS) A4 specification (210X297 mm) n · nni-tt-n-! \ Iy 7 1 I (Please read the precautions on the back before filling this page ) Order Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economy 454421 A7 _B7 __ 5 Description of the invention Immediately after (35), the changeable DSTC count and DSTC system are cleared to 0 (steps 808, 809). ---------- install-^.-(Please read the back first For the matters needing attention, fill in this I.) Therefore, after passing the processing after step 610 in FIG. 6, the processing in step 801 in FIG. 8 starts again, and when the space count becomes 0, also That is, when the STC reduction system from the input PCR is started, the difference between the PCR and the master clock (the value of the first counter 22) is stored in the variable column DSTC (i) (steps 802, 803), and some stored differences The system counts up from DSTC to 60 and increments the DSTC count. However, when the DSTC count is not six, the DSTC count is incremented (steps 804, 805), and when the DSTC count is not six, this procedure Proceed to the next step (step 806) without incrementing. By constituting the transmission decoder software in this way, the STC can be restored by using the average value of the seven PCR inputs, and if the second buffer device 24 is undercurrent, set the averaging procedure once again, If the value of this DSTC has changed since the recovery from the underflow, we may immediately track it. The Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs has printed another alternative method, which is to reset the average procedure, that is, from the part enclosed by the dashed line 201 in the flowchart in Figure 8, if the underflow occurs in the second When inside the buffer device 24, it can be designed to use this average continuously. This method is effective when underflow occurs frequently in a short period of time, as a result of slightly reducing the energy of the second buffer device 24 (and the first buffer device 27). As explained in this article, in the decoding system of the second embodiment, the paper size is applicable to the Chinese National Standard (CNS) A4 specification (210X 297 mm) 454421 A7 B7 5. Explanation of the invention (%) By omitting the delay device With the smaller hardware of 37, video and audio can be synchronized, and even in a structure that reduces the energy of the second buffer device 24, this STC can still be restored steadily. In the second embodiment, the purpose of stably restoring this STC has been achieved, and by using such a stably restored ST, the structure for more accurate synchronization of video and audio is shown in the third embodiment below Explanation: < Third Embodiment > Fig. 10 is a block diagram showing the structure of a decoding system in the third embodiment of the present invention. In FIG. 10, those parts that are common to the second embodiment in FIG. 4 are denoted by the same reference numerals, and repeated explanations are omitted. A The difference between the third embodiment and the second embodiment is The second clock generator 20 and the second counter 21 are provided so that a master clock can be added here, and the DSTC value fed by the processor 13 through the first bus interface device 3 to A selector 34, using an adder to obtain the sum of the output of the selector 34 and the master clock from the second counter 21 to restore the STC 'and feed the restored STC into the video decoder 5, and at the same time the arbitration The programmer 30 is connected to the peripheral bus 7 to send information about the judgment of the shoulder bus 7 to the processor 13 and to use the control of the processor 13 to change the operation of the judgment. By installing the second clock generator 20 and the second counter 21 to generate the master clock, the processor 13 and the video decoder 5 can also talk about the master clock so that the left STC shifts to the upper periphery. The influence of the judgment of the bus bar 7 can be reduced. However, for this purpose, at the same time, I must apply the national standard of the T country (CNS) rule 8 (2) OX297 mm at the same time (please read the precautions on the back before filling this page). -Ordered by the Consumer Cooperative of the Intellectual Property Office of the Ministry of Economic Affairs 19 454421 A7 B7 V. Description of the invention (37) The master clock generated by the first counter 22 and the master clock generated by the second counter 21 are the same value. --------- 7 =. 装-..-广 ../ (Please read note f on the back before filling this page) In the third embodiment, therefore, the first clock generator 20 and the second clock generator 23 are formed by using a quartz oscillator of the same frequency. By using a quartz oscillator of the same frequency, the frequency difference between the two quartz oscillators can be suppressed to a level where one stone affects the synchronization of video and audio. Referring now to FIG. 11, one of the values of matching the master clock generated by the first counter 22 and the master clock generated by the second counter 21 is explained as follows. Figure Π shows an example of the boot sequence in the decoding system from the supply of power to the start of transmitting the decoding software. At step 1101, the electric power system is supplied, and this os system is activated. Alpha. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs. When the power system of this decoding system has been connected, first this OA system is as normal. The same procedure as the start procedure of the OS is implemented. That is, it includes self-test (step 1102), reading from the master boot record of HDD 24 (step Π 03) 'OS load loader enters memory 11 (step π 04)' and checking hardware data ( After the execution of the procedure of step 1105), before the load of the OS points enters the memory 11 (step 1107), that is, a stage before the access to the peripheral bus (not HDD 26) begins, the HDD Access to 26 has stopped (step 1106). In this state, within the peripheral bus, the transfer request is not formed by any bridge or interface device. Now, in this state, the value of the first counter 22 is transferred to the paper. It is appropriate to use the Chinese National Standard (CNS) from the secret (21 ();) < 297 public works) ~ — — -4Π 4 5 44 2 1 A7 _B7_ V. Description of the invention (38) Second counter 21 (step 1106) »Therefore, we may transfer without causing a delay in the judgment of the transfer request by the bus, so that the first counter The values of the generated master clock and the master clock generated by the second counter can match. In the future, the OS points of this decoding system are loaded into the memory 11 (step 1107), the os system has begun (step 1108), and the transmission decoder software system starts in the started OS (step 1109) . On the other hand, 'the processor 13 and the video decoder 5 can both refer to the master clock' and restore this STC individually, and therefore the DSTC is transferred from the processor 13 to the frequency decoder 5 to replace the value of the STC itself . In the configuration in FIG. 10, a schematic flowchart of one of the transmission decoder software to be executed by the processor 13 is shown in FIG. FIG. 12 is similar to the flowchart in the second embodiment in FIG. 6, that is, when the data packet is processed and transferred to the frequency decoder 5 (step 614), the procedure for restoring the STC is changed to check The procedure of space counting (step 1214), and transfer the DSTC value directly to video decoder 5 (step 1215). After the processing of a tandem data packet is terminated, we first check whether the space counting is 0 or not (step 1214). , And if it is not 0, that is, if the DSTC value is not updated, the next data packet is processed (return to step 1203). If the space count is 0, that is, if the DSTC value is updated, the DSTC is transferred by the main bus 10, the bridge 8, the peripheral bus 7, and the first bus interface device 33. To adder 35 »When this processor 13 is performed as shown in this flowchart, if this paper size applies the Chinese National Standard (CNS) A4 specification (210X297 meal) —--41-(Please read first Note on the back, please fill in this page again) Order printed by the Intellectual Property Bureau of the Ministry of Economic Affairs, Consumer Cooperatives 4 5 44 21 A7 ________B7 V. Description of the invention (39) When the DSTC value has been updated, this DSTC / £ fc is transmitted through this neighborhood The stream 7 is sent to the selector 34. In the structure of FIG. 10, 'this selector 34 stores the latest DSTC value from a specific number of the entered DSTc values, and outputs the minimum value of them to the adder 35 «This adder 35 is stored from the first bus The DSTC value entered by the interface device $ is added to the master clock output from the second counter 21, and the sum of the STC value itself (ie, the STC value itself) is output to the video decoder 5. In this configuration, 'we' entered in video decoder 5 is used to restore one of the STCs using the minimum value of the specified number of entered DSTC values. It means one of the effects of the smallest judgment among a certain number of DSTC values. In this embodiment, in order to reduce the influence of judgment on the STC, the arbiter 30 is connected to the peripheral bus 7, And the algorithm designed by us to send information about the judgment of the peripheral bus 7 to the processor 3, and to change the control of the processor 13 from this. That is to say, in this configuration, when the processor 3 transfers the DSTC value to the selector 34 through the peripheral bus 7, the arbiter is controlled, and the priority of the bridge 8 is temporarily changed. Is higher. As a result, the request to transfer the dSTC value from the processor 13 to the selector 34 through the bridge 8 and the surrounding bus 7 is given higher priority than other transfer requests, and the time until the transfer request is accepted is relatively high. short. Therefore, because the time from the output of the total processor 13 of the DSTC value to the time when it reaches the selector 34 is reduced, the original selected by the adder 35 and the use of this DSTC value are entered as the paper size applies to the country. Rate (CNS) 8 sides ^ plus 7 mm) (Please read the precautions on the back before filling out this page)-Order printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economy 42 4 5 44 2,1 A7 _____B7______ 5. Description of the Invention (4) This STC in the frequency decoder 5 further reduces the influence of the judgment of the peripheral bus 7. In addition, in this structure, we may also avoid the underflow of the second buffer device 24 due to the influence of the judgment of the surrounding busbars. That is to say, this processor 13 detects and stores in a specific period of time. When the remaining transport stream in the second buffer device 24 and the remaining data become less than a specific value, the arbiter 30 is controlled, and the priority of the first bus interface device 3 is temporarily raised. By increasing the priority of the first bus interface device 3, the underflow of the second buffer device 24 can be avoided. Assume that the remaining data system is completely 0. If the priority is raised in this state, the undercurrent state will remain as it is until the next data system has entered. Based on this, “by temporarily increasing the priority of the first bus interface device 3”, the underflow of the second buffer device 24 has been avoided. To be clear, when the remaining data becomes smaller than the specified amount, it is equivalent to The specific value of this value is as follows «* [(average output speed of the second buffer device 24)-(average output speed before increasing the priority of the second buffer device 24) x (until the priority is increased first The data is the time until the second buffer 24 has entered. Accordingly, the auto demodulator 2 'and the second buffer 2 7 are stored in the first bus interface device 3 * the peripheral bus 7, the bridge 8, And the transfer request of the main pass stream 10 output to the second buffer device 24 is given a higher priority than other transfer requests, and therefore the input speed of the transmission stream entering the second buffer device 24 is relatively higher. Fast, so that the underflow of the second buffer device 24 can be avoided. The paper size is appropriate. Use the Chinese National Standard (CNS) A4 specification (21 〇χ 297 mm) — ---- -41. ^ 1.1 III -I -I an uM111 I in _, tT.1 II— —I— ( Read the notes on the back before filling this page) 4 5 4421 A7 B7 V. Description of the invention (41) At this time, the remaining data can be checked, for example, by comparing the address of the read indicator and The address of the write-out indicator of the stream to the second buffer device 24. The standard used to change the priority order of the first bus interface device 3 can be implemented by the following standards. For example, when from the first buffer device 27 to The transfer request of the second buffer 24 stream is output by the command from the processor 13 by the first bus interface device, assuming that it is accepted in the arbiter 30 and the transfer has started Is Tsta, and the data speed used by the processor 13 to read the stream from the second buffer device 24 is Rstd. The time when the remaining stream stored in the second buffer device 24 becomes smaller than TstaxRstd On the basis (actually, the threshold is set to be somewhat larger in consideration of a tolerance) 'This processor 13 has a higher priority in setting the first bus interface device 3. Therefore, the processor 13 reads from second Before all the stream data of the buffer device 24, 'the input speed of the transport stream entering the second buffer device 24 has been enhanced' and the underflow system of the second buffer device 24 has been avoided. By this one operation 'and always given Compared with the method of giving the highest priority to the first bus interface device 3, the influence on other main devices is smaller, and the underflow of the second buffer device 24 can be avoided at the same time. Moreover, as shown in FIG. 6 When the processor 13 applies this algorithm to maintain the original STC to a specific time after the underflow of the second buffer device 24, the stability of the STC restoration can be enhanced by this composition. Operation is as follows. Private paper scales are in accordance with China's national standard (CNS > A4 specification (21〇χ 297) ----------- hi. Packing-►― 广 '、 · (Please read the note on the back first (Fill in this page again) ί1τ

A 經濟部智慧財產局員工消費合作社印製 44 454421 A7 __B7_'_ 五、發明説明(42 ) (請先閲讀背面之注意事項再填寫本頁) 亦即謂,當開始解碼或變換流(改變頻道)時,此處理 機13控制要予設定在空格計數於0處或接近0處之特定數Μ ,並縮短用以保留原始STC之時間。藉控制此判優程序器 3 0,此第一遥流排介面裝置3之優先次序係暫時地昇高, 以及第二缓衝器裝置24内之欠流係經避免,俾使STC可以 安穩地還原。 藉此一操作,經確定地還原STC之後,予以設定在空 格計數内之特定數目Μ係設定至一較大值於一範.圍内,此 範圍不要更新此STC然同時保留此原始STC於此實際之系 統中於幾乎所有之欠流中。 依此,當開始解碼或變換此流時,此STC藉控制此判 優程序器30確實地還原者係在自此以後幾乎未改變地被保 持,俾使STC還原之穩定性可以增強。 經濟部智慧財產局員工消费合作社印製 此外,完成對此一結構之利用,當轉移第一計數器22 之主時鐘及第二計數器21時,藉暫時地昇高橋路8之優先 次序,第一計數器22之主時鐘之時間延遲之到達第二計數 器21處者可以被抑制成為較小。其結果,由第二計數器21 輸出之主時鐘之值之延遲量如與由第一計數器22所輸出之 主時鐘之值相比較時係減少,以及兩主時鐘之值可以確定 地同步化。 此外,當設定第二緩衝器裝置24之能量時,此處理機 13直接自判優程序器30讀出主裝置之數目,並設定以此一 值所計算之能量,俾使第二緩衝器24之能量可以一充分之 值確實地設定。亦即謂,如第一實施例中所解釋者,當設 本紙浪尺度適用中國國家標準(CNS ) Α4規格(210X297公釐) -45 - 經濟部智慧財產局員工消費合作社印製 454421 A7 __________ B7_ 五、發明説明(43 ) 定第二緩衝器裝置24之能量至TmaxXNaXR+512=Nmax或 更大時,在第一實施例中,Na係設定於主裝置之最大數 目’但在此一情況中,實際上有槽缝其中添入卡片係未插 入者,以及此第二緩衝器裝置24之能量係設定於較實際所 需之能量更大之一值。取代者’藉直接地自此判優程序器 30讀出Na’第二缓衝器裝置24之能量可以藉實際操作在 滙流排上之主裝置之數目而精確地設定。 一如本文甲所解釋者’在第三實施例之解碼系統中, 此主時鐘係藉安裝第二時鐘發生器20和第二計數器21而亦 在添入板面產生,以及此視頻解碼器5有關於藉使用自處 理機13所轉移之DSTC,以加法器35還原之STC ,並進一 步地藉選擇及使用出自所轉移DSTC之由於判斷之最小之 延遲之一 ’周邊滙流排7之判斷之影響在STC之轉移上即 可以減小。 仍有進者,藉以處理機13控制此判優程序器3〇,並暫 時地昇高DATC轉移之優先次序於轉移此DSTC時,周邊溫 流排之判斷之影響在STC之轉移上可以進一步地減小。 <第四實施例> 第13圖係一方塊圖,顯示本發明之第四實施例内解碼 系統之構造。在第13圖内,那些對第10圖内第三實施例共 同部分係貫以相同之代號,以及重覆解釋係被省略。 第四實施例和第三實施例之間所不同者係該選擇器34 和加法器3 5係消除’俾使主時鐘可以自第二計數器21直接 地進給入視頻解碼器5内。 本紙&尺度適用巾關家辦(CNS ) A4規格(2丨0X297公釐) ' --- (請先閲讀背面之注意事頃再填寫本頁)A Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 44 454421 A7 __B7 _'_ V. Description of the Invention (42) (Please read the precautions on the back before filling this page) That is to say, when you start decoding or changing the stream (change channels ), The processor 13 controls a specific number M to be set at a space count of 0 or near 0, and shortens the time for retaining the original STC. By controlling the arbiter program 30, the priority of the first remote streamer interface device 3 is temporarily raised, and the underflow in the second buffer device 24 is avoided, so that the STC can be stabilized. reduction. With this operation, after the STC is definitely restored, the specific number M set in the space count is set to a larger value within a range. Within this range, do not update this STC while retaining the original STC here The actual system is in almost all underflows. Accordingly, when the stream is started to be decoded or converted, the STC is surely restored by controlling the arbiter 30, and since then it has been kept almost unchanged, so that the stability of the STC restoration can be enhanced. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economy The time delay of the master clock of 22 reaches the second counter 21 can be suppressed to be smaller. As a result, the amount of delay of the value of the master clock output by the second counter 21 is reduced when compared with the value of the master clock output by the first counter 22, and the values of the two master clocks can be surely synchronized. In addition, when the energy of the second buffer device 24 is set, the processor 13 directly reads the number of main devices from the arbiter 30 and sets the energy calculated at this value to make the second buffer 24 The energy can be set with a sufficient value. That is to say, as explained in the first embodiment, when the paper wave scale is set to the Chinese National Standard (CNS) A4 specification (210X297 mm) -45-Printed by the Intellectual Property Bureau Staff Consumer Cooperatives of the Ministry of Economy 454421 A7 __________ B7_ V. Description of the invention (43) When the energy of the second buffer device 24 is set to TmaxXNaXR + 512 = Nmax or more, in the first embodiment, Na is set to the maximum number of main devices', but in this case In fact, there are slots in which the card is inserted, and the energy of the second buffer device 24 is set to a value larger than the actual energy required. The substitute 'can read the energy of the Na' second buffer device 24 directly from the arbiter 30 and can set it accurately by the number of master devices actually operating on the bus. As explained in Section A of this article, in the decoding system of the third embodiment, the master clock is also generated on the board by installing a second clock generator 20 and a second counter 21, and the video decoder 5 The impact of the judgment of the peripheral bus 7 on the STC restored by the adder 35 by using the DSTC transferred from the processor 13 and further by selecting and using one of the smallest delays due to the judgment of the transferred DSTC It can be reduced in the transfer of STC. There are still entrants, so that the processor 13 controls the arbitration program 30 and temporarily increases the priority of DATC transfer. When this DSTC is transferred, the impact of the judgment of the surrounding warm current can be further transferred on the STC transfer. Decrease. < Fourth embodiment > Fig. 13 is a block diagram showing the construction of a decoding system in a fourth embodiment of the present invention. In Fig. 13, those parts which are common to the third embodiment in Fig. 10 are designated by the same reference numerals, and repeated explanations are omitted. The difference between the fourth embodiment and the third embodiment is that the selector 34 and the adder 35 are eliminated, so that the master clock can be fed directly from the second counter 21 into the video decoder 5. This paper & size is suitable for towels (CNS) A4 size (2 丨 0X297mm) '--- (Please read the notes on the back before filling this page)

46 4 5 4421 A7 __B7_ 五、發明説明(44 ) (請先閲讀背面之注意事項再填寫本頁) 在此實施例中,此DSTC係不分開地被轉移,但係被 轉移在被包括於處理機13至第三缓衝器裝置4所轉移之視 頻PES之PTS中之一格式内。此處理機13自多路分配之視 頻PES抽取PTS,計算PTS-DSTC,使用它作為校正之PTS( 後文中,此視頻PES以此校正之PTS取代此PTS範圍者係 稱之為校正之視頻PES),並藉主滙流排10,橋路8,周邊 滙流排7,和第一滙流排介面裝置3之途徑而轉移至第三缓 衝器裝置4。 第14圖顯示在處理機13上用以形成此類處理之傳輸解 碼器軟體之一示意性流程之範例。與第12圖内之流程圖所 不同者係DSTC之轉移之處理係被省略,以及以校正之 PTS(PTS-DS丁C)取代此PTS之程序係經添力&lt;2於視頻數據包 之處理中。 」\ 當正被讀入之數據包之内容係要予解碼之視頻PES時 ,吾人研判PTS是否係被含於視頻PES内,以及如PTS係 被包含時,則PTS-DSTC係被計算,同時它係被用作校正 之PTS以取代原如PTS範圍。此後,轉移此視頻PES於此 數據包内至第一緩衝器裝置,此一數據包之處理係終止。 經濟部智慧財產局員工消費合作社印製 第15圖係一概念圖,用以解釋該解碼行動與STC同步 化係以上述操作可能在視頻解碼器5内。在第15圖中,橫 座標軸線說明時間,以及縱座標軸表示主時鐘,STC和PTS 之值。虛線123顯示由第一計數器22所產生之主時鐘,實 線120係由第二計數器21所產生之主時鐘,單點鏈線121和 122指示STC值(等於主時鐘加上DSTC),以及所有X點包 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公嫠) -47 - 454421 A7 _____ B7 五、發明説明(45 ) 括110和丨13係卩丁3值。由於這些值係隨著時間而遞增,故 它們在圖中均向右方移動向上。 當電力係在時間100處接上時,第丨i圖内之導引順序 係經執行,以及第一計數器22之主時鐘值係在時間1〇1處 轉移至第二計數器21之主時鐘。 第一 PCR係在時間1 〇3處自進入之傳輸流深測,以及 STC之還原係開始。當此處理機丨3在時間間處探測pTS j 1〇 時,DSTC之值係以由111所指示之直線之長度來表示。在 此一時刻,校正之PTS之值(等於PTS-DSTC)之由處理機13 所計算者相當於圖内由112所指示之值。 此視頻解碼器5自進入之校正之視頻PES讀取校正之 PTS 112之值’並當主時鐘120之值到達此一校正之PTS值 112時,於時間1〇4處輸出校正之ptS係已添加其内之影像 此一時間104相當於當STC121到達一如原始PTS 110 之相同值時之時間,以及眾所熟知者,即視頻解碼器5藉 使用此PTS而已操作以發出與此STC同步化之輸出。 隨後,在時間105處,接收頻道係改變,以及其他流 之還原係已知。在此一情況中,還原之STC係一較主時鐘 為小之值,但操作係仍如上述一樣。 亦即謂,一第一 PCR係在時間105處改變之係自接收 頻道内之傳輸流探測,以及新STC之還原係已開始。當此 處理機13探測PTS 113時,DSTC之值係由以I14所指示之 直線長度所表示(不過,此值係負極)。 本紙張尺度適.用中國國家標準(CMS ) A4規格(2丨0X297公釐) (請先閱讀背面之注意事項再填寫本頁) -訂 4 經濟部智慧財產局員工消費合作社印製 48 4 5 44 21 A7 B7 五、發明説明(46 ) 在此一時刻,校正之PTS(等於PTS — DSTC)之值之由 處理機13所計算者相當於在圖内由1.15所指示之值。 (請先閱讀背面之注意事項再填寫本頁) 此視頻解碼器5自進入之校正之視頻PES讀取校正之 PTS 115,並輸出PTS係已添加入其内之圖像於時間106處 當主時鐘120之值到達此一校正之PTS值115時〇此一時間 106相當於當新的STC 122到達一如原始PTS 113之相同值 時之時間,同時係屬已知者,即此輸出係與藉使用PTS所 完成之STC同步化。 在此一操作中,當校正之PTS到達第三缓衝器裝置4 時之時間可能由於周邊滙流排7内判斷之影響而被延遲。 不過,此一延遲影響係由第一缓衝器裝置所吸收。亦即謂 ,當處理機13探測此PTS 113時之時間107之後之立刻,此 校正之PTS係已轉移至第三緩衝器裝置4,但就此一轉移 係於時間104之前已終止而言,此段時間内沒有問題,而 在此一段時間内之判斷之延遲係可容許者。 在視頻和聲頻之解碼上,藉加上一相同延遲量至兩者 主時鐘,並以相當於此延遲量之部分增加第三缓衝器裝置 4之能量,此可容許之判斷之延遲時間可進一步地伸展。 經濟部智慧財產局員工消費合作社印製46 4 5 4421 A7 __B7_ V. Description of the Invention (44) (Please read the notes on the back before filling out this page) In this example, this DSTC is not transferred separately, but it is transferred before being included in the processing One of the PTS of the video PES transferred by the cameras 13 to the third buffer device 4 is in one of the formats. This processor 13 extracts PTS from the multi-distributed video PES, calculates PTS-DSTC, and uses it as a corrected PTS (hereinafter, this video PES replaces this PTS range with this corrected PTS is called a corrected video PES ), And transfer to the third buffer device 4 by the way of the main bus 10, the bridge 8, the peripheral bus 7, and the first bus interface device 3. FIG. 14 shows an example of a schematic flow of the transport decoder software used on processor 13 to form such a process. What is different from the flow chart in Figure 12 is that the transfer process of DSTC is omitted, and the process of replacing this PTS with a corrected PTS (PTS-DS-D) is added by <2 in the video data package. Processing. "\ When the content of the data packet being read is the video PES to be decoded, we will determine whether PTS is included in the video PES, and if PTS is included, then PTS-DSTC is calculated, and It is used as a corrected PTS to replace the original PTS range. Thereafter, the video PES is transferred from this packet to the first buffer device, and the processing of this packet is terminated. Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs. Figure 15 is a conceptual diagram to explain the synchronization of the decoding operation with STC. The above operations may be in the video decoder 5. In Fig. 15, the horizontal axis indicates time, and the vertical axis indicates the values of the master clock, STC, and PTS. The dashed line 123 shows the master clock generated by the first counter 22, the solid line 120 is the master clock generated by the second counter 21, and the single-point chain lines 121 and 122 indicate the STC value (equal to the master clock plus DSTC), and all The paper size of the X-point paper is applicable to the Chinese National Standard (CNS) A4 specification (210X297 cm) -47-454421 A7 _____ B7 5. Description of the invention (45) Including 110 and 13 series of 3 values. Since these values increase over time, they all move up and to the right in the figure. When the power system is connected at time 100, the guidance sequence in FIG. I is executed, and the master clock value of the first counter 22 is transferred to the master clock of the second counter 21 at time 101. The first PCR was performed at time 103 from the incoming transport stream, and the STC reduction system started. When this processor detects pTS j 10 at the time, the value of DSTC is expressed by the length of the straight line indicated by 111. At this moment, the value of the corrected PTS (equal to PTS-DSTC) calculated by the processor 13 is equivalent to the value indicated by 112 in the figure. The video decoder 5 reads the corrected PTS 112 value from the incoming corrected video PES and when the value of the master clock 120 reaches this corrected PTS value 112, the corrected ptS is output at time 104. Adding the image inside this time 104 is equivalent to the time when STC121 reaches the same value as the original PTS 110, and it is well known that the video decoder 5 has operated to issue synchronization with this STC by using this PTS Its output. Subsequently, at time 105, the receiving channel system changes, and the restoration of other streams is known. In this case, the restored STC is a value smaller than the master clock, but the operation is still the same as described above. That is, a first PCR is changed at time 105 from the detection of the transport stream in the receiving channel, and the restoration of a new STC has begun. When this processor 13 detects PTS 113, the value of DSTC is represented by the straight line length indicated by I14 (however, this value is negative). The size of this paper is suitable. Use Chinese National Standard (CMS) A4 specification (2 丨 0X297mm) (Please read the notes on the back before filling in this page)-Order 4 Printed by the Intellectual Property Bureau of the Ministry of Economic Affairs and Consumer Cooperatives 48 4 5 44 21 A7 B7 V. Description of the invention (46) At this moment, the value of the corrected PTS (equal to PTS-DSTC) calculated by the processor 13 is equivalent to the value indicated by 1.15 in the figure. (Please read the precautions on the back before filling this page) This video decoder 5 reads the corrected PTS 115 from the incoming corrected video PES, and outputs the PTS image that has been added to it as the master at time 106 The value of the clock 120 reaches this corrected PTS value of 115 hours. This time 106 is equivalent to the time when the new STC 122 reaches the same value as the original PTS 113. It is also a known one, that is, this output is related to STC synchronization by using PTS. In this operation, the time when the corrected PTS reaches the third buffer device 4 may be delayed due to the influence of the judgment in the peripheral bus 7. However, this delay effect is absorbed by the first buffer device. That is to say, immediately after the time 107 when the processor 13 detects the PTS 113, the corrected PTS has been transferred to the third buffer device 4, but as far as this transfer is terminated before time 104, this There is no problem for a period of time, and the delay in judgment during this period is allowable. In the decoding of video and audio, by adding a same delay amount to both master clocks, and increasing the energy of the third buffer device 4 by a portion equivalent to this delay amount, the delay time of this allowable judgment can be Stretch further. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs

因此,在第四實施例内,由於主時鐘係直接地置於視 頻解碼器5内,故DSTC係不分開地轉移入視頻解碼器5内 ,但係在作為校正之PTS(PTS-DSTC)之原始視頻PES之 PTS範圍之一代用格式中通過第三緩衝器裝置4而發送入 視頻解碼器5内,俾使由於周邊滙流排之判斷之DSTC之影 響係由第三緩衝器裝置4所吸收,以及因此,在共有STC 本紙浪尺度適用中國國家#準(CNS ) A4規格(2丨0X297公釐) -49 - 454421 A 7 B7 五、發明説明(47 ) (請先聞讀背面之注意事項再填寫本頁) 之基礎上之解碼行動可以在處理機13和視頻解碼器5之間 更精確地執行。其結果,吾人可能藉視頻解碼器5和此已 解碼之聲頻數據以便在解碼之視頻輸出和由處理機13之輸 出之間精確地同步地。 &lt;第五實施例&gt; 本發明之第五實施例係經說明於同時參看第16圖。第 16圖係一方塊圖,顯示本發明之第五實施例内一解碼系統 之構造。在第16圖内,那些對第13圖内第四實施.例之共同 部分係貫以相同參考代號,而重覆解释係予省略。 第五實施例和第四實施例之間所有不同係第一時鐘發 生器23之輸出時鐘係用作用以驅動周邊滙流排7之滙流排 之時鐘,以及該此一時鐘係用作對第二計數器21之輸入。 在此一樽造中’依照第五實施例,自第一計數器22所 輸出之主時鐘之頻率和自第二計數器21所輸出之主時鐘之 頻率可以精確地匹配,俾使處理機13和視頻解碼器5可以 藉STC而峰實地同步化。 &lt;第六實施例&gt; 經濟部智慧財產局員工消費合作社印製 本發明之第六實施例係說明於參看第17圖之同時。第 17圖係一方域圊,顯示本發明之第六實施例中一解碼系統 之構造。在第Π圖内,那些對第13圖中第四實施例之共同 部分係貫以相同參考代號,而其重覆解釋係予省略。 第六實施例和第五實施例之間之所有不同係該周邊滙 流排7之再設定信號係通過第一滙流排介面裝置3而進給入 第一 s十數3^21内’如由^破線36所指不者,並通過橋路8 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) 50Therefore, in the fourth embodiment, since the master clock system is directly placed in the video decoder 5, the DSTC system is not transferred to the video decoder 5 separately, but it is included in the correction PTS (PTS-DSTC). One alternative format of the PTS range of the original video PES is sent to the video decoder 5 through the third buffer device 4, so that the influence of DSTC due to the judgment of the peripheral bus is absorbed by the third buffer device 4, And therefore, in the total STC paper scale, China National Standards (CNS) A4 specifications (2 丨 0X297 mm) -49-454421 A 7 B7 V. Description of the invention (47) (Please read the precautions on the back before reading (Fill in this page) based on the decoding operation can be performed more accurately between the processor 13 and the video decoder 5. As a result, we may borrow the video decoder 5 and this decoded audio data to synchronize accurately between the decoded video output and the output from the processor 13. &lt; Fifth Embodiment &gt; A fifth embodiment of the present invention is described with reference to FIG. 16 at the same time. Fig. 16 is a block diagram showing the construction of a decoding system in the fifth embodiment of the present invention. In Fig. 16, those parts which are common to the fourth embodiment in Fig. 13 are denoted by the same reference numerals, and repeated explanations are omitted. All the differences between the fifth embodiment and the fourth embodiment are that the output clock of the first clock generator 23 is used as a clock for driving the peripheral bus 7 and that this clock is used for the second counter 21 Input. According to the fifth embodiment, according to the fifth embodiment, the frequency of the main clock output from the first counter 22 and the frequency of the main clock output from the second counter 21 can be accurately matched, so that the processor 13 and the video The decoder 5 can be synchronized on the spot by STC. &lt; Sixth embodiment &gt; Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs The sixth embodiment of the present invention is explained while referring to FIG. Fig. 17 is a field diagram showing the construction of a decoding system in the sixth embodiment of the present invention. In Fig. Π, those parts which are common to the fourth embodiment in Fig. 13 are given the same reference numerals, and repeated explanations are omitted. All the differences between the sixth embodiment and the fifth embodiment are the reset signals of the peripheral bus 7 are fed into the first s ten digits 3 ^ 21 through the first bus interface device 3, such as by ^ Break the line 36, and pass the bridge 8 The paper size applies the Chinese National Standard (CNS) A4 specification (210X297 mm) 50

Claims (1)

4 5 44 21 A8 B8 C8 D8 _ 六、申請專利範圍 1. 一種解碼系統,用以接收多路傳輸至少一組出自藉壓 縮及編碼一視頻信號,一表示時間標記,以及用以還 原此解碼系統之系統定時時鐘之程序時鐘資料所獲得 之一視頻流之系統流者,包含: 第一緩衝器裝置,同以儲存並輸出進入之系統涑, 一滙流排,用以轉移數據以及一控制信號, 一判優程序器,用以判斷自已連接至該滙流排之 裝置之轉移請求, 第二緩衝器裝置,通過此滙流排用以接收該第一 緩衝器裝置之輸出並儲存之, 一處理機,用以解碼儲存在該第二缓衝器裝置内 之該系統流’輸出必需之視頻流及時間標記,抽出該 程序時鐘資料,以及還原並輸出該系統定時時鐘,以 及 一視頻解碼器,用以接收自此處理機所輸出之該 視頻流’時、間標記及系統定時時鐘,在該系統定時時 鐘之基礎上解瑪該視頻流,並在由此時間標記所呈現 之時間處輸出此解碼之視頻, 經濟部智慧財產局員工消費合作社印制衣 其中’該第二緩衝器装置之能量係經設定要較供 滙流排内轉移請求之判斷用所需之時間内所進入之系 統流之能量更大》 2.如申請專利範圍第1項之解碼系統,其中該判優程序器 係經設計,一旦當多個裝置之一為一特定之最長轉移 時間而轉移時’以·切斷此轉移,以及該第二緩衝器裝 本紙張尺度適用中國國家標準(CNS)A4規格(21G X 297公爱) 53 4 5 442 A8 B8 C8 D8 六、申請專利範圍 置之能量係經設定要較大於可以連接至此滙流排之裝 置數乘以最長轉移時間及系統流之數據流速之乘積。 3. 如申請專利範圍第1項之解碼系統,其中該第二缓衝器 裝置之能量可以藉該處理機可變化地設定,該處理機 無測在該滙流排内要求轉移請求之判斷之裝置,以及 該第二缓衝器裝置之能量係經設定要較大於要求轉移 請求之判斷之裝置數乘以各裝置之最長轉移時間和系 統流之數據流速之乘積。 4. 如申請專利範圍第3項之解碼系統,其中該判優程序器 係經k a&quot;}*以發送潘流排内要求轉移請求之判斷之裝置 之資料至該處理機。 5. —種解碼系統,用以接收多路傳輸至少一組出自藉壓 縮及編碼一視頻信號’一表示時間標記,以及用以還 原此解碼系統之系統定時時鐘之程序時鐘資料所獲得 之一視頻流之一系統流者,包含: 第一緩衝器裝置,用以儲存並輸出此進入之系統 流, —匯流排,用以轉移數據和一控制信號, 一判優程序器’用以判斷自已連接至此滙流排之 裝置之轉移請求, 第二緩衝器裝置,通過此滙流排用以接收該第一 緩衝器裝置之輸出並儲存之, 一處理機,用以解碼儲存於第二緩衝器裝置内之 系統流,輸出該必需之視頻流及時間標記,抽出該程 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公楚) (請先閱讀背面之注意事項*.,,填、寫本頁) 經濟部智慧財產局員工消費合作社印製 線· 54 4 5 44 2 1 A8 B8 C8 D8 、申請專利範圍 序時鐘資料’以及還原和輸出此系統定時時鐘,以及 一視頻解碼器’用以接收自處理機所輸出之視頻 流’時間標記和系統定時時鐘,在該系統定時時鐘之 基礎上解碼該視頻流,並在由時間標記所呈現之時間 處輸出此解瑪之視頻, 其中該處理機探測第二緩衝器之餘下之數據,並 控制該判優程序器,俾使自該第一缓衝器裝置之系統 流之轉移至第二緩衝器裝置,當此餘下之數據變得較 一特定量為小時,在滙流排之轉移請求之判斷上可以 被指定以第一優先》 6. —種解碼系統’用以接收多路傳輸至少一組出自藉壓 縮及編瑪一視頻信號’一表示時間標記,以及用以還 原此解碼系統之系統定時時鐘之程序時鐘資料所獲得 之一視頻流之系統流者,包含: 第一缓衝器裝置’用以儲存並輸出此進入之系統 流, 一匯流排’用以轉移數據和一控制信號, 一判優程序器’用以判斷自已連接至該滙流排之 裝置之轉移請求, 第二緩衝器裝置,通過此滙流排用以接收該第一 緩衝器裝置之輸出並健存之, 一第一時鐘發生器,用以產一特定頻率之時鐘, 一第一計數器,用以產生一主時鐘,一如自此第 一時鐘發生器系統定時時鐘在同一時期内改變,並進 本紙張尺度適用中國國家標準(CNS)A4規格(21〇 X 297公髮) -------------i ..&lt;· -N (請先閱讀背面之注意事項再填寫本頁) 訂---_------線 經濟部智慧財產局員工消費合作社印製 55 464421 A8 B8 C8 D8 經濟部智慧財.產局員工消費合作社印製 六、申請專利範圍 給入一處理機内, 一處理機,用以解碼儲存於第二缓衝器裝置内之 系統流,輸出該必需之視頻流及時間標記,抽出程序 時鐘資料,以及還原並輪出此系統定時時鐘,以及 一視頻解碼器,用以接收自處理機所輸出之視頻 流,時間標記和系統定時時鐘,在系統定時時鐘之基 礎上解碼該視頻流,並在由時間標記所呈現之時間處 輸出此已解碼之視頻, 其中該處理機,藉儲存此程序時鐘資料和主時鐘 之差異而還原此系統定時時鐘。 7. 如申請專利範圍第6項之解碼系統,其中該處理機探測 第二緩衝器裝置是否係騰空或未騰空,以及如果騰空 時’停止程序時鐘資料和主時鐘之差異之更新至此後 之一特定時間。 8. 如申請專利範圍第7項之解碼系統,其中該處理機控制 該判優程序器,俾使該第一緩衝器裝置之輸出之轉移 至該第二緩衝器裝置,剛好在解碼之開始之後,或者 剛好在要予解碼之流之改變之後,在該滙流排之轉移 請求之判斷上,可以被指定第一優先。 9. 如申請專利範圍第6項之解碼系統,其中該處理機廣利 用持定次數之該程序時鐘資料和主時鐘之差之平均值 以還原此系統定時時鐘。 10. 一種解碼系統’用以接收多路傳輸至少一組出自藉壓 縮及編碼一視頻信號,一表示時間標記,以及用以還 本紙張尺度適用中國國家標準(CNS)A4規格(21〇 X 297公楚) - n n ^^1 ^^1 ^^1 ^^1 cal ft ^^1 ^^1x, ^^1 ^^1 ^^1 ^^1 I ^^1 ^^1 ^^1 '- Γ. ν·-: (請先閱讀背面之注意事項再填寫本頁) 線 U. 56 4 5 44 21 A8 B8 C8 D8 六、申請專利範圍 原此解碑系統之系統定時時鐘之程序時鐘資料所獲得 之一視頻流之系統流者,包含: 第緩衝器裝置,用以儲存並輪出此進入之系統 流, 一程序時鐘資料多路分配器,用以自進入之系統 流分離此程序時鐘資料,並輸出至延遲裝置, 延遲裝置,用以自該程序時鐘資料分路分配器延 遲此程序時鐘資料,並輸出至系統定時時鐘還原裝置 9 系统定時時鐘還原裝置,藉使用自該延遲裝置之 程序時鐘資料,用以還原此系統定時時鐘, 一 匯流排’用以轉移數據和控制信號, 一判優程序器,用以判斷自已連接至該滙流排之 裝置之轉移請求, 第二缓衝器裝置’通過此滙流排用以接收該第— 緩衝器裝置之輸出並儲存之, 第一時鐘發生器’用以產生一特定頻率之時鐘, 第.一 3十數器’用以產生一主時鐘,一如自此第一 時鐘發生器之系統定時時鐘在同一時期内改變,並進 給入一處理機内, 一處理機’用以探測儲存在第二緩衝器裝置内之 系統,輸出該必需之視頻流及時間標記,抽出該程序 時鐘資料’並計算自此第一主時鐘作為一差分系統定 時時鐘之差分,以及 本紙張尺度適用尹國國家標準(CNS)A4規格(210 X 297公釐) (睛先閱讀背面之注意事項再氣寫本頁) 訂---------線4 經濟部智慧財產局員工消費合作社印製 57 4 5 44-2 鮪充 AS B8 C8 D8 六、申請專利範圍 16. 如申請專利範圍第15項之解碼系統,其中自該第—計數 器之第一主時鐘,係於剛好接上此電力之後,或者剛好 在再設定該處理機之後,於停止所有通過此滙流排之數 據轉移以後’係轉移至該第二計數器,俾使此第二主時 鐘可以是幾乎如第一主時鐘之相同值。 17. 如申請專利範圍第15項之解碼系統,其中處理機控制該 判優程序器’俾使自該第一計數器之第一主時鐘之轉移 至該第二計數器’在該滙流棑之轉移請求之判斷上可以 給予第一優先’以及自該第一計數器之第一主時鐘係經 轉移至該第二計數器,俾使第二主時鐘可以是接近^也如 第一主時鐘之相同值6 18. 如申請專利範圍第15項之解碼系統,其中該滙流排之再 設定信號於開啟電源之後或重新設定該滙流排之後立 刻被輸入於該等第一計數器和第二計數器内,以及藉使 用它’此第一主時鐘和第二主時鐘係以幾乎相同值設 19. 如申請專利範圍第15項之解碼系統,另包含一第二時鐘 發生器,用以產生一如第一時鐘發生器之頻率之相同頻 率之一時鐘,並輸出至該第二計數器。 20. 如申請專利範園第15項之解碼系統,其中該滙流排使用 自第一時鐘發生器輸出之時鐘作為滙流排之轉移時鐘 ,以及該第一計數器接收滙流排之轉移時鐘並產生一第 二主時鐘。 21·如申請專利範圍第is項之解碼系統,另包含一選擇器, 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閲讀背面之注意事項再填寫本頁} W--------tr--!! 經濟部智慧財產局員工消費合作社印製 -61, 454421 A8 B8 C8 DS 六、申請專利範圍 ,以一指定號碼用以儲存自處理機輸出之差分系統定 時時鐘,選擇所储存之差分系統定時時鐘之最小值之 一 ’並輸出至該加法器。 U如申請專利範圍第15項之解碼系統,其中該處理機控 制該判優程序器,俾使差分系統定時時鐘之轉移至加 法器在該滙流排之轉移請求之判斷中可以被給予第一 優先。 23.—種解碼系統,用以接收多路傳輸至少一組出自藉壓 縮及編碼一視頻信號,一表示時間標記,以及用以還 原此解碼系統之系統定時時鐘之程序時鐘資料所獲得 之一視頻流之系統流者,包含: 請 先 閲 讀 背 面 之 注 意 項4 5 44 21 A8 B8 C8 D8 _ VI. Patent Application Scope 1. A decoding system for receiving at least one set of compression and encoding video signals, a time stamp, and restoration of the decoding system. A system streamer of a video stream obtained from the program clock data of the system timing clock includes: a first buffer device, which also stores and outputs the incoming system 涑, a bus, which is used to transfer data and a control signal, An arbiter, for determining a transfer request from a device connected to the bus, a second buffer device, through which the bus receives the output of the first buffer device and stores it, a processor, It is used to decode the video stream and time stamp necessary for the output of the system stream stored in the second buffer device, extract the program clock data, restore and output the system timing clock, and a video decoder for Receives the video stream 'time, time mark and system timing clock output from this processor, and resolves on the basis of the system timing clock The video stream, and output this decoded video at the time presented by this time stamp. The clothing of the Intellectual Property Bureau of the Ministry of Economic Affairs's consumer co-operative prints clothing. 'The energy of the second buffer device is set to be higher than that of the bus. The internal transfer request is judged by the energy of the system stream that is entered in the required time. "2. For example, the decoding system of the first scope of the patent application, wherein the arbitration programmer is designed to One when transferring for a specific longest transfer time, 'to cut off this transfer, and the paper size of the second buffer is applicable to China National Standard (CNS) A4 specifications (21G X 297 public love) 53 4 5 442 A8 B8 C8 D8 6. The energy set in the patent application range is set to be larger than the product of the number of devices that can be connected to this bus multiplied by the longest transfer time and the data flow rate of the system stream. 3. For the decoding system in the first item of the patent application scope, the energy of the second buffer device can be variably set by the processor, and the processor does not measure the device that judges the transfer request in the bus. , And the energy of the second buffer device is set to be larger than the product of the number of devices that require a transfer request multiplied by the maximum transfer time of each device and the data flow rate of the system stream. 4. If the decoding system of the third item of the patent application is applied, the arbitration program is sent to the processor via ka &quot;} * to send the information of the device in the Pan Liupai to request the transfer request. 5. —A decoding system for receiving at least one video from the multiplexed compression and encoding of a video signal 'a representation time stamp, and a video obtained by restoring the program clock data of the system timing clock of the decoding system One of the system streams includes: a first buffer device for storing and outputting the incoming system stream, a bus for transferring data and a control signal, and an arbiter programmer for judging its own connection So far the transfer request of the bus device, the second buffer device, through which the bus receives the output of the first buffer device and stores it, and a processor for decoding the data stored in the second buffer device. System stream, output the necessary video stream and time stamp, and extract the process. The paper size applies the Chinese National Standard (CNS) A4 specification (210 X 297). (Please read the notes on the back *. ,, fill in, write (This page) Printed line of employee cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs · 54 4 5 44 2 1 A8 B8 C8 D8, patent application sequence clock data ', and restoration and output Output the system timing clock, and a video decoder 'for receiving the video stream output from the processor' time stamp and the system timing clock, decode the video stream based on the system timing clock, and The video of this solution is output at the time of presentation, where the processor detects the remaining data in the second buffer and controls the arbiter, so that the system flow from the first buffer device is transferred to the first Two buffer devices, when the remaining data becomes smaller than a certain amount, it can be designated as the first priority in the judgment of the transfer request of the bus "6. A decoding system 'used to receive multiple transmissions at least A group of system streams from a video stream obtained by compressing and editing a video signal, a time stamp, and program clock data used to restore the system clock of the decoding system, including: a first buffer The device is used to store and output the incoming system stream, a bus is used to transfer data and a control signal, and an arbiter is used to judge itself A transfer request from a device connected to the bus, a second buffer device, through which the bus is used to receive the output of the first buffer device and store it, a first clock generator for generating a specific frequency The clock, a first counter, is used to generate a master clock. Since then, the timing clock of the first clock generator system has changed in the same period, and the paper size applies the Chinese National Standard (CNS) A4 specification (21〇X 297 public hair) ------------- i .. &lt; · -N (Please read the notes on the back before filling this page) Order ---_------ line Printed by the Employees' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 55 464421 A8 B8 C8 D8 Printed by the Consumers ’Cooperative of the Ministry of Economic Affairs. Produced by the Consumers’ Cooperative of the Production Bureau 6. The scope of patent application is given to a processor, a processor to decode and store in the second The system stream in the buffer device outputs the necessary video stream and time stamp, extracts the program clock data, restores and rotates the system timing clock, and a video decoder to receive the video output from the processor Stream, time stamp The system timing clock decodes the video stream based on the system timing clock and outputs the decoded video at the time represented by the time stamp. The processor stores the difference between the program clock data and the main clock and Restore this system timing clock. 7. If the decoding system of claim 6 is applied, the processor detects whether the second buffer device is vacated or not vacated, and if it is vacated, the difference between the program clock data and the master clock is updated to one of the following Specific time. 8. If the decoding system of claim 7 is applied, the processor controls the arbiter, so that the output of the first buffer device is transferred to the second buffer device, just after the start of decoding. , Or just after the change of the stream to be decoded, the first priority can be assigned to the judgment of the transfer request of the bus. 9. If the decoding system of the patent application No. 6 is used, the processor uses the average value of the difference between the program clock data and the master clock for a fixed number of times to restore the system clock. 10. A decoding system 'for receiving multiplexed at least one set of compressed and encoded video signals, a time stamp, and a Chinese paper standard (CNS) A4 (21〇X 297) (Gongchu)-nn ^^ 1 ^^ 1 ^^ 1 ^^ 1 cal ft ^^ 1 ^^ 1x, ^^ 1 ^^ 1 ^^ 1 ^^ 1 I ^^ 1 ^^ 1 ^^ 1 '- Γ. Ν ·-: (Please read the precautions on the back before filling in this page) Line U. 56 4 5 44 21 A8 B8 C8 D8 VI. Application scope of patent The system clock of the system timing clock of the inscription relief system A system streamer who obtains a video stream includes: a first buffer device for storing and rotating the incoming system stream, a program clock data multiplexer for separating the program clock data from the incoming system stream And output to the delay device, the delay device is used to delay the program clock data from the program clock data splitter and output to the system timing clock restoration device 9 system timing clock restoration device, by using the program from the delay device The clock data is used to restore the system timing clock. The bank is used to transfer data and control signals. An arbiter is used to judge a transfer request from a device connected to the bus. The second buffer device is used to receive the first buffer through the bus. The output of the device is stored. The first clock generator is used to generate a clock of a specific frequency, and the first thirty digitizer is used to generate a master clock, as is the system timing clock of the first clock generator. Changed in the same period and fed into a processor, a processor 'used to detect the system stored in the second buffer device, output the necessary video stream and time stamp, extract the program clock data' and calculate from This first master clock is used as the difference between the timing clock of a differential system, and this paper size applies the Yin National Standard (CNS) A4 specification (210 X 297 mm) (read the precautions on the back before writing this page) Order --------- Line 4 Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs 57 4 5 44-2 鲔 充 AS B8 C8 D8 六 、 Applicable patent scope 16. If you apply for the solution of item 15 of the patent scope The code system, in which the first master clock of the first counter is connected to the power just after the power is connected, or just after setting the processor again, after stopping all data transfer through the bus The second counter, so that the second master clock can be almost the same value as the first master clock. 17. The decoding system according to item 15 of the patent application scope, wherein the processor controls the arbitration program to 'make a transfer from the first master clock of the first counter to the second counter' a transfer request at the confluence Judgment can be given to the first priority 'and the first master clock from the first counter is transferred to the second counter, so that the second master clock can be close to the same value as the first master clock 6 18 For example, the decoding system of the patent application No. 15 wherein the reset signal of the bus is input into the first counter and the second counter immediately after the power is turned on or after the bus is reset. 'This first master clock and the second master clock are set to almost the same value 19. For example, the decoding system of the 15th patent application scope further includes a second clock generator for generating the same as the first clock generator. A clock of the same frequency is output to the second counter. 20. The decoding system according to item 15 of the patent application park, wherein the bus uses the clock output from the first clock generator as the transfer clock of the bus, and the first counter receives the transfer clock of the bus and generates a first Two master clocks. 21 · If the decoding system for the item in the scope of the patent application includes a selector, this paper size is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) (Please read the precautions on the back before filling this page } W -------- tr-- !! Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs -61, 454421 A8 B8 C8 DS 6. The scope of patent application, a designated number is used to store the output from the processor The differential system timing clock selects one of the minimum values of the stored differential system timing clock 'and outputs it to the adder. U For example, the decoding system of the patent application No. 15 wherein the processor controls the arbiter,俾 The transfer of the timing clock of the differential system to the adder can be given the first priority in the determination of the transfer request of the bus. 23. A decoding system for receiving multiple transmissions of at least one set of borrow compression and encoding Video signal, a system streamer that represents a time stamp and a program clock data used to restore the system clock of the decoding system, including: Please read first Note that the surface of the item I I I I I 統流 緩衝器裝置,用以儲存並輸出已進入之 訂 經濟部智慧財產局員工消費合作杜印製 一匯流排,用以轉移數據和一控制信號, 一判優程序器,用以判斷自已連接至此該滙流排 之裝置之轉移請求, 第二緩衝器裝置,通過此滙流排用以接收第一緩 衝器裝置之輸出並儲存之, ' 一第一時鐘發生器,用以產生一特定頻率之時鐘 J 一第一計數器,用以產生一第一主時鐘,如自該 第一時鐘發生器之系統定時時鐘在相同之時期中改變 ,並進給入一處理機内, 一處理機,用以解碼儲存在該第二緩衝器裝置 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公楚〉 線 62 4 5 442 Ί A8 BS C8 D8 、申請專利範圍 之系統流’輸出必需之視頻流及時間標記,抽出該程 序時鐘資料,計算自第一主時鐘之差異以獲得如一差 分系統定時時鐘,計算該解碼之時間標記和該差分系 統定時時鐘之間之差異,以獲得如一校正之時間.標記 ’並輸出該校正之時間標記,連同該必需之視頻流, 通過滙流排至第三緩衝器裝置, 第三緩衝器裝置,通過此滙流排用以接收自處理 機所輸出之此視頻流和校正之時間標記並儲存之, 一第二計數器,用以產生一第二主時鐘,一如該 系統定時時鐘在相同時期内改變,並進給至一視頻解 碼器,以及 一視頻解碼器,用以接收自第二計數器所輸出之 第二主時鐘,解碼儲存於第三缓衝器内之視頻流,並 在由校正之時間標記所呈現之時間輸出此已解碼之視 頻。 ---- ---1!----atM.--------—对---Γ.-----線^; (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 63IIIII Unified buffer device, used to store and output the entered consumer cooperation of the Intellectual Property Bureau of the Ministry of Economic Affairs, print a bus, used to transfer data and a control signal, and an arbiter, to judge itself The transfer request of the device connected to the bus, the second buffer device, through which the bus receives the output of the first buffer device and stores it, 'a first clock generator for generating a specific frequency Clock J is a first counter for generating a first master clock. If the system timing clock of the first clock generator is changed in the same period and fed into a processor, a processor is used to decode and store In this second buffer device, the paper size of this paper applies the Chinese National Standard (CNS) A4 specification (210 X 297 Gongchu) line 62 4 5 442 Ί A8 BS C8 D8, the system stream for patent application 'output the necessary video stream and Time stamp, extract the program clock data, calculate the difference from the first master clock to obtain a differential system timing clock, and calculate the decoding time Record the difference between the timing clock of the differential system and obtain a corrected time mark. And output the corrected time mark, together with the necessary video stream, to the third buffer device and the third buffer through the bus. A device for receiving the video stream and the corrected time stamp output from the processor through the bus and storing it, and a second counter for generating a second master clock, just as the system timing clock is in the same period Change and feed to a video decoder and a video decoder to receive the second master clock output from the second counter, decode the video stream stored in the third buffer, and correct it by This decoded video is output at the time represented by the time stamp. ---- --- 1! ---- atM .---------- yes --- Γ .----- line ^ ; (Please read the notes on the back before filling out this page) Printed on the paper by the Consumers' Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs, China Paper Standard Applies to Chinese National Standard (CNS) A4 (210 X 297 mm) 63
TW88106634A 1998-04-27 1999-04-26 Decoding system TW454421B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11676198A JPH11313314A (en) 1998-04-27 1998-04-27 Decoder

Publications (1)

Publication Number Publication Date
TW454421B true TW454421B (en) 2001-09-11

Family

ID=14695093

Family Applications (1)

Application Number Title Priority Date Filing Date
TW88106634A TW454421B (en) 1998-04-27 1999-04-26 Decoding system

Country Status (2)

Country Link
JP (1) JPH11313314A (en)
TW (1) TW454421B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038188A (en) * 2015-03-31 2021-06-25 松下电器(美国)知识产权公司 Transmission method, reception method, transmission device, and reception device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038188A (en) * 2015-03-31 2021-06-25 松下电器(美国)知识产权公司 Transmission method, reception method, transmission device, and reception device
CN113038188B (en) * 2015-03-31 2023-06-06 松下电器(美国)知识产权公司 Transmitting method, receiving method, transmitting device and receiving device

Also Published As

Publication number Publication date
JPH11313314A (en) 1999-11-09

Similar Documents

Publication Publication Date Title
US6105083A (en) Apparatus and method for controlling transfer of data between and processing of data by interconnected data processing elements
US9516361B2 (en) Encoding apparatus and the method
US6895009B1 (en) Method of generating timestamps for isochronous data
US20060242340A1 (en) Image sensing device
JPH11163817A (en) Digital encoding multiplexer
TW454421B (en) Decoding system
US8369354B2 (en) Method for synchronizing a transmission of applications data frames, corresponding sender and receiver devices and storage means
JP2003501892A (en) Apparatus and method for context switching in an electronic network
JPH1198099A (en) Method and device for multiplexing data
US7694176B2 (en) Fault-tolerant computer and method of controlling same
JPH10308936A (en) Video distribution system data distribution method and medium
JP3509658B2 (en) Operation mode switching circuit and method
JP2001320704A (en) Image decoder and image decoding method
JP2002111635A (en) Method for efficient error detection and synchronization of digital audio and video information
JP3634498B2 (en) Image encoding device
KR20000026467A (en) Asynchronous data communication system
JPH1196680A (en) Circuit and method for synchronous control
JPH10283308A (en) Data communication method and device therefor, and communication system including the same device
JPH11227286A (en) Print system and print control method
JPH066331A (en) Phase control circuit
JPH04311120A (en) Frame aligner circuit
JPH04129339A (en) Data transmission system
JP2002185922A (en) Recording and reproducing device and recording and reproducing method
JPH04306933A (en) Frame aligner device
JP2001243032A (en) Information processor and information processing method