JPH11205383A - Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine - Google Patents

Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine

Info

Publication number
JPH11205383A
JPH11205383A JP602098A JP602098A JPH11205383A JP H11205383 A JPH11205383 A JP H11205383A JP 602098 A JP602098 A JP 602098A JP 602098 A JP602098 A JP 602098A JP H11205383 A JPH11205383 A JP H11205383A
Authority
JP
Japan
Prior art keywords
data
header
time stamp
new
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP602098A
Other languages
Japanese (ja)
Inventor
Akira Tomita
彰 富田
Goichi Otomo
吾一 大友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP602098A priority Critical patent/JPH11205383A/en
Publication of JPH11205383A publication Critical patent/JPH11205383A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve reliability of the circuit by simplifying the configuration so as to make the circuit small in size. SOLUTION: A new header generating section 12 generates a new header based on a time stamp extracted from packet data by a header decode section 11 and on auxiliary data relating to decoding. A new real data generating section 13 inserts a new header as a frame header of real data obtained by eliminating the header part from the packet data at the header decode section 11 in order to generate new real data and the data are stored once in a buffer section 14. A new real data decode section 15 reads the new real data from the buffer section 14 and decodes the fame real data in succession to the header so as to obtain expanded data based on the time obtained by collating the time stamp in the frame header of the new real data with a time information of a time stamp management section 16.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通信ネットなどで
送受信されるパケット構造の圧縮データをデコードして
伸長するデコード回路、パケットデータの変換方法及び
デコードプログラムを記録した機械読取可能な記録媒体
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a decoding circuit for decoding and expanding compressed data having a packet structure transmitted and received over a communication network, a packet data conversion method, and a machine-readable recording medium on which a decoding program is recorded. .

【0002】[0002]

【従来の技術】従来から、パーソナルコンピュータなど
がインターネット上から受信したMPEG等のデータは
圧縮されているため、これらデータをデコード回路によ
り伸長して元のデータに戻した後、表示したり、音声出
力することが行われている。
2. Description of the Related Art Conventionally, since data such as MPEG received by a personal computer or the like from the Internet is compressed, these data are decompressed by a decoding circuit, returned to the original data, and then displayed or displayed as audio data. Output has been done.

【0003】上記した従来のデコード回路はパケット構
造のデータをデコードして伸長するが、以下このパケッ
ト構造のデータ(以降単にパケットデータと称する)の
デコード処理について説明する。
The above-described conventional decoding circuit decodes and decompresses data having a packet structure. Hereinafter, a decoding process of data having the packet structure (hereinafter, simply referred to as packet data) will be described.

【0004】まず、デコード回路は図6に示すような構
成のパケットデータ中のヘッダー部(デコード行う際に
必要となる情報を含んだデータ)501のデコードを最
初に行う必要がある。ここで、この処理を前処理とし、
パケット中のヘッダー部以外である実データ部502の
デコード処理を後処理とする。
First, the decoding circuit must first decode a header section 501 (data containing information necessary for decoding) 501 in packet data having a configuration as shown in FIG. Here, this processing is referred to as preprocessing,
The decoding process of the real data portion 502 other than the header portion in the packet is post-process.

【0005】図6(A)に示すようなパケットデータの
ヘッダー部501には、図6(B)に示すように後処理
を開始する時刻を示すタイムスタンプなどが含まれてい
る。このタイムスタンプは前処理を行うことにより得ら
れるため、タイムスタンプの示す時刻は必然的に前処理
のデコード時刻よりも遅くなくてはならない。
[0005] The header 501 of the packet data as shown in FIG. 6A includes a time stamp indicating the time when the post-processing starts, as shown in FIG. 6B. Since this time stamp is obtained by performing the pre-processing, the time indicated by the time stamp must necessarily be later than the decoding time of the pre-processing.

【0006】この結果、前処理と後処理を行う時刻には
時間差が生じ、デコード回路はこの時間差の吸収を行う
必要がある。又、実データ部502は時系列上の連続し
た幾つかのフレームデータにより構成されるため、タイ
ムスタンプを実データ502中のどのフレームデータに
割り付けるかがなんらかの方法で規定されていなければ
ならない。
As a result, there is a time difference between the pre-processing and post-processing times, and the decoding circuit needs to absorb the time difference. Further, since the actual data section 502 is composed of several continuous frame data in a time series, it is necessary to define to which frame data in the actual data 502 a time stamp is to be allocated by some method.

【0007】従って、デコード回路は後処理をする際、
前記規定に従ったタイムスタンプのフレームデータへの
割り付け処理を行って、実データ502のデコード開始
の時刻の管理を行う。尚、図6(C)は図6(A)に示
したフレームjヘッダーデータの詳細図である。
Accordingly, when the decoding circuit performs post-processing,
A process of allocating a time stamp to the frame data in accordance with the above-described rules is performed, and the start time of decoding of the actual data 502 is managed. FIG. 6C is a detailed diagram of the frame j header data shown in FIG.

【0008】図5は従来のデコード回路の構成例を示し
たブロック図である。パケットデータはヘッダーデコー
ド部1に入力される。ヘッダーデコード部1はパケット
データのヘッダー部501のデコードを行ってタイムス
タンプを抽出し、抽出したタイムスタンプをタイムスタ
ンプ及び実データアドレス格納部2に渡すと共に、前記
パケットデータからヘッダー部501を取り除いて得た
実データ(以降フレームデータと称する)を、上記した
時間差の吸収を行なわせるべく一旦バッファ部3に保持
する。タイムスタンプ及びフレームデータアドレス格納
部2は渡されたタイムスタンプを記憶すると共に、この
タイムスタンプの割り付け先のフレームデータのバッフ
ァ部3内の格納場所(アドレス)を記憶する。
FIG. 5 is a block diagram showing a configuration example of a conventional decoding circuit. The packet data is input to the header decoding unit 1. The header decoding unit 1 decodes the header 501 of the packet data to extract a time stamp, passes the extracted time stamp to the time stamp and real data address storage unit 2, and removes the header 501 from the packet data. The obtained actual data (hereinafter referred to as frame data) is temporarily stored in the buffer unit 3 so as to absorb the time difference described above. The time stamp and frame data address storage unit 2 stores the passed time stamp and stores the storage location (address) in the buffer unit 3 of the frame data to which the time stamp is assigned.

【0009】一方、タイムスタンプ割り付け及び実デー
タデコード部4は、タイムスタンプ及びフレームデータ
アドレス格納部2からタイムスタンプと共に、このタイ
ムスタンプを割り付けるフレームデータのアドレスを読
み出し、バッファ部3から前記アドレスのフレームデー
タを読み出して前記タイムスタンプを割り付けた後、読
み出したフレームデータをこれに割り付けられたタイム
スタンプで指定される開始時刻でデコードし、得られた
伸長データを出力する。
On the other hand, the time stamp allocation and actual data decoding section 4 reads the time stamp from the time stamp and frame data address storage section 2 and the address of the frame data to which the time stamp is allocated, and reads the frame of the address from the buffer section 3. After reading the data and assigning the time stamp, the read frame data is decoded at the start time specified by the assigned time stamp, and the obtained decompressed data is output.

【0010】図7は図5に示した従来のデコード回路の
詳細例を示したブロック図である。入力ストリームと出
力データを一旦保存するバッファメモリ31とこのバッ
ファメモリ31のメモリコントロールユニット32が図
5に示したバッファ部3に当たり、メモリコントロール
ユニット32、MPEGビデオレコーダ41、MPEG
オーデイオレコーダ42及びタイムスタンプ管理ユニッ
ト5がタイムスタンプの割り付け及び実データデコード
部4に当る部分である。
FIG. 7 is a block diagram showing a detailed example of the conventional decoding circuit shown in FIG. A buffer memory 31 for temporarily storing an input stream and output data and a memory control unit 32 of the buffer memory 31 correspond to the buffer unit 3 shown in FIG. 5, and a memory control unit 32, an MPEG video recorder 41, an MPEG
The audio recorder 42 and the time stamp management unit 5 correspond to the time stamp allocation and actual data decoding unit 4.

【0011】ヘッダーデコード部1で抽出されたタイム
スタンプは直接タイムスタンプ及び実データアドレス格
納部2に保存される。又、ヘッダーデコード部1でデコ
ードされることにより、パケットデータからヘッダー部
が取り除かれて得られたフレームデータ(実データ)は
メモリコントロールユニット32によりバッファメモリ
31に保存される。この際、メモリコントロールユニッ
ト32は上記したフレームデータの格納先アドレスをタ
イムスタンプ及び実データアドレス格納部2に保存す
る。
The time stamp extracted by the header decoding unit 1 is directly stored in the time stamp and actual data address storage unit 2. The frame data (actual data) obtained by decoding the header data from the packet data by removing the header from the packet data is stored in the buffer memory 31 by the memory control unit 32. At this time, the memory control unit 32 stores the storage destination address of the frame data in the time stamp and actual data address storage unit 2.

【0012】メモリコントロールユニット32はタイム
スタンプ及び実データアドレス格納部2からタイムスタ
ンプを読み出すと共に、このタイムスタンプの割り付け
先のフレームデータをバッファメモリ31のアドレスか
ら読み出して、このフレームデータにタイムスタンプを
割り付けて、MPEGビデオレコーダ41及びMPEG
オーデイオデコーダ42に出力する。
The memory control unit 32 reads the time stamp from the time stamp and real data address storage unit 2, reads the frame data to which the time stamp is assigned from the address of the buffer memory 31, and stores the time stamp in the frame data. Allocate MPEG video recorder 41 and MPEG
Output to the audio decoder 42.

【0013】MPEGビデオデコーダ41は入力される
フレームデータに割り付けられたタイムスタンプとタイ
ムスタンプ管理ユニット5から供給される時刻情報とを
対照させることにより、前記タイムスタンプで示される
開始時刻から前記フレームデータをデコードすることに
より、伸長データを得る。
The MPEG video decoder 41 compares the time stamp assigned to the input frame data with the time information supplied from the time stamp management unit 5 so that the start time indicated by the time stamp and the frame data To obtain the decompressed data.

【0014】こうして得られた伸長データはメモリコン
トロールユニット32により、一旦バッファメモリ31
に保存されてからビデオデータとして外部に出力され
る。又、MPEGオーディオデコーダ42でも、入力さ
れるフレームデータを上記と同様にタイムスタンプで示
される開始時刻からデコードする。こうして得られた伸
長データはバッファメモリ31に一旦保存してからオー
ディオデータとして外部に出力される。この際、上記し
たタイムスタンプでフレームデータのデコード開始時刻
を管理しているため、ビデオデータの映像とオーディオ
データの音声がずれることなく出力される。
The decompressed data thus obtained is temporarily stored in the buffer memory 31 by the memory control unit 32.
And then output to the outside as video data. The MPEG audio decoder 42 also decodes the input frame data from the start time indicated by the time stamp in the same manner as described above. The decompressed data thus obtained is temporarily stored in the buffer memory 31 and then output to the outside as audio data. At this time, since the decoding start time of the frame data is managed by the time stamp, the video of the video data and the audio of the audio data are output without deviation.

【0015】[0015]

【発明が解決しようとする課題】上記のような従来のデ
コード回路では、フレームデータを保存するバファメモ
リ31上の格納場所を示すアドレスとタイムスタンプ
を、タイムスタンプ及び実データアドレス格納部2に記
憶させる機能を有する専用のハードウェアと、前記実デ
ータアドレス格納部2からタイムスタンプと共に、この
タイムスタンプの割り付け先フレームデータのアドレス
を読み出すことにより、バッファメモり31の前記アド
レスから読み出したフレームデータに前記タイムスタン
プを割り付ける機能を有する専用のハードウェアとが必
要であるため、デコード回路の回路規模が大きくなっ
て、回路の信頼性を低下させたり、回路の小型化を疎外
するだけでなく、回路を高価にするという問題があっ
た。
In the conventional decoding circuit as described above, an address indicating a storage location on the buffer memory 31 for storing frame data and a time stamp are stored in the time stamp and actual data address storage unit 2. By reading the dedicated hardware having the function and the time stamp from the real data address storage unit 2 and the address of the frame data to which the time stamp is assigned, the frame data read from the address of the buffer memory 31 is read. Since dedicated hardware having a function for assigning a time stamp is required, the circuit scale of the decoding circuit becomes large, which not only reduces the reliability of the circuit and also negates the miniaturization of the circuit, but also reduces the size of the circuit. There was a problem of making it expensive.

【0016】本発明は、上述の如き従来の課題を解決す
るためになされたもので、その目的は、回路を簡単化し
て回路を小型にすることができると共に回路の信頼性を
向上させることができるデコード回路、デコードプログ
ラムを記録した機械読取可能な記録媒体及び前記回路を
簡単化するために必要なパケットデータの変換方法を提
供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to simplify a circuit, reduce the size of the circuit, and improve the reliability of the circuit. An object of the present invention is to provide a decoding circuit capable of being read, a machine-readable recording medium on which a decoding program is recorded, and a method of converting packet data necessary for simplifying the circuit.

【0017】[0017]

【課題を解決するための手段】この第1の発明の特徴
は、パケットデータのヘッダー部から抽出したタイムス
タンプで示される時刻から同パケットデータの実データ
のデコードを開始するデコード回路において、前記パケ
ットデータの入力段階で、前記タイムスタンプが割り付
く先の実データのフレームヘッダーとして前記タイムス
タンプを挿入することにより新たな実データを作成する
データ作成手段と、このデータ作成手段より作成された
新実データ中のフレーム実データをこの新実データのフ
レームヘッダーから抽出したタイムスタンプで示される
時刻からデコードするデコード手段とを備えている。
According to a first aspect of the present invention, there is provided a decoding circuit which starts decoding actual data of packet data from a time indicated by a time stamp extracted from a header portion of the packet data. A data creating means for creating new actual data by inserting the time stamp as a frame header of the actual data to which the time stamp is assigned at a data input stage; and a new actual data created by the data creating means. Decoding means for decoding the actual frame data in the data from the time indicated by the time stamp extracted from the frame header of the new actual data.

【0018】第1の発明によれば、入力されるパケット
データは伝送に適した構成を有しているため、これを入
力段階で、デコードに適した構成の新実データに変換し
て、この新実データをデコードする。新実データはフレ
ームヘッダーにタイムスタンプを有し、このタイムスタ
ンプが割り付く先のフレーム実データが前記ヘッダーの
後に続く構成をのため、各フレーム実データはこのフレ
ーム実データのフレームヘッダーから抽出したタイムス
タンプで示される時刻からデコードを順番に開始すれば
よく、極めて単純な回路構成にて、実データをデコード
することができる。
According to the first aspect, since the input packet data has a configuration suitable for transmission, it is converted into new real data having a configuration suitable for decoding at the input stage. Decode new real data. The new actual data has a time stamp in the frame header, and the actual frame data to which the time stamp is assigned follows the header. Therefore, each actual frame data is extracted from the frame header of the actual frame data. Decoding may be started in order from the time indicated by the time stamp, and actual data can be decoded with an extremely simple circuit configuration.

【0019】第2の発明の特徴の前記データ作成手段
は、前記パケットデータのヘッダー部をデコードしてタ
イムスタンプを抽出すると共に前記ヘッダー部を取り除
いて実データを分離するヘッダーデコード手段と、この
ヘッダーデコード手段より得られたタイムスタンプを含
んだ新たなフレームヘッダーを作成する新フレームヘッ
ダー作成手段と、この新フレームヘッダー作成手段より
作成された新フレームヘッダー中のタイムスタンプが割
り付く先の前記ヘッダーデコード手段より得られた実デ
ータ中のフレーム実データのヘッダーとして前記新ヘッ
ダーを挿入することにより、新たな実データを作成する
作成手段とを備えたことにある。
The data generating means according to the second aspect of the present invention includes: header decoding means for decoding a header part of the packet data to extract a time stamp and removing the header part to separate actual data; New frame header creating means for creating a new frame header including the time stamp obtained by the decoding means, and the header decoding to which the time stamp in the new frame header created by the new frame header creating means is assigned Means for creating new actual data by inserting the new header as a header of actual frame data in the actual data obtained by the means.

【0020】この第2の発明によれば、パケットデータ
のヘッダー部には複数のタイムスタンプが格納されてい
るが、各タイムスタンプはそれぞれが割り付く先の各実
データのフレームヘッダーに挿入されて、新実データが
作成される。従って、新実データとして、タイムスタン
プを有する新フレームヘッダーと、このヘッダーに続く
前記タイムスタンプが割り付く先のフレーム実データと
が複数組従属接続された構成となる。
According to the second aspect, a plurality of time stamps are stored in the header portion of the packet data. Each time stamp is inserted into the frame header of each real data to which each is assigned. , New real data is created. Accordingly, a new frame header having a time stamp and a plurality of sets of frame real data to which the time stamp is allocated following the header are connected in a dependent manner as new real data.

【0021】第3の発明の特徴は、前記新たな実データ
中のフレームヘッダーは、前記パケットデータのヘッダ
ー部から抽出したデコードに関する情報を含んでいる。
A feature of the third invention is that the frame header in the new actual data includes information on decoding extracted from the header of the packet data.

【0022】この第3の発明によれば、デコードに関す
る情報としては、例えばランダムアクセスポイント指示
情報等がある。このランダムアクセスポイント指示情報
は、この情報で示された実データ(画像データ)部分の
ところから再生すれば、例え前記指示位置が実データの
途中でも、ちゃんとした画像が再生できることを示した
情報である。
According to the third aspect, the information relating to decoding includes, for example, random access point instruction information. This random access point instruction information is information indicating that a proper image can be reproduced even if the indicated position is in the middle of the actual data, if the reproduction is performed from the real data (image data) portion indicated by the information. is there.

【0023】第4の発明の特徴は、タイムスタンプを含
んだヘッダー部とフレーム構造の実データとを有するパ
ケットデータの変換方法において、前記パケットデータ
のヘッダー部からタイムスタンプを抽出する抽出過程
と、前記パケットデータから前記ヘッダー部を取り除い
て実データを分離する分離過程と、前記抽出したタイム
スタンプを前記分離した実データ中のフレームヘッダー
として挿入することにより、新たな実データを作成する
データ作成過程とを備えている。
According to a fourth aspect of the present invention, there is provided a method for converting packet data having a header section including a time stamp and actual data having a frame structure, wherein an extracting step of extracting a time stamp from the header section of the packet data; A separating step of separating the actual data by removing the header portion from the packet data; and a data creating step of creating new actual data by inserting the extracted time stamp as a frame header in the separated actual data. And

【0024】この第4の発明によれば、伝送に適したパ
ケットデータが、タイムスタンプとその割り付け先のフ
レーム実データとが組となったデコードに適した新実デ
ータに変換される。従って、この新実データはハードウ
ェア的にもソフトウェア的にも極めて容易に前記タイム
スタンプの管理の下でデコードされる。
According to the fourth aspect, the packet data suitable for transmission is converted to new real data suitable for decoding in which a time stamp and the frame real data to which the time stamp is allocated are paired. Therefore, this new real data can be decoded very easily in terms of hardware and software under the management of the time stamp.

【0025】第5の発明の特徴は、ヘッダー部と実デー
タから成るパケットデータの入力段階で、前記タイムス
タンプが割り付く先の実データ中のフレームヘッダーと
して前記タイムスタンプを挿入することより、新たな実
データを作成する過程と、この過程により作成された新
実データ中のフレーム実データをこの新実データ中のフ
レームヘッダーから抽出したタイムスタンプで示される
時刻からデコードする過程とをコンピュータに実行させ
るプログラムを記録している。
A feature of the fifth invention is that the time stamp is inserted as a frame header in the actual data to which the time stamp is assigned at the input stage of the packet data composed of the header part and the actual data. The computer to perform the process of creating the actual data and the process of decoding the frame actual data in the new actual data created by this process from the time indicated by the time stamp extracted from the frame header in the new actual data. The program to be recorded is recorded.

【0026】この第5の発明によれば、コンピュータは
前記記録媒体から前記プログラムを読み取って実行する
ことにより、入力パケットデータのヘッダー部に格納さ
れているタイムスタンプが割り付く先の前記パケットデ
ータの実データのフレームヘッダーとして前記タイムス
タンプを挿入して新実データを作成し、この新実データ
中のフレーム実データをこの新実データの前記ヘッダー
から抽出したタイムスタンプで示される時刻からデコー
ドする。尚、前記記録媒体としては、磁気テープ型記録
媒体、デイスク型記録媒体、カード型メモリ、更に半導
体メモリなどの各種のものが含まれる。
According to the fifth aspect, the computer reads the program from the recording medium and executes the program, whereby the time stamp stored in the header portion of the input packet data is assigned to the packet data. The new real data is created by inserting the time stamp as a frame header of the real data, and the frame real data in the new real data is decoded from the time indicated by the time stamp extracted from the header of the new real data. The recording medium includes various types such as a magnetic tape type recording medium, a disk type recording medium, a card type memory, and a semiconductor memory.

【0027】[0027]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて説明する。図1は、本発明の一実施の形態に
係るデコード回路の構成例を示したブロック図である。
ヘッダーデコード部11は入力パケットデータのヘッダ
ー部をデコードし、デコードに関する補助データ及びタ
イムスタンプを抽出すると共に、前記パケットデータか
らヘッダー部を取り除いて実データを分離し、この実デ
ータを新実データ作成部13に渡す。新フレームヘッダ
ー作成部12は前記デコードに関する補助データ及びタ
イムスタンプから新たなヘッダーを作成し、作成した新
ヘッダーを新パケットデータ作成部13に渡す。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a decoding circuit according to one embodiment of the present invention.
The header decoding unit 11 decodes a header portion of the input packet data, extracts auxiliary data and a time stamp relating to the decoding, removes the header portion from the packet data and separates the actual data, and creates the new actual data. Hand over to section 13. The new frame header creating unit 12 creates a new header from the auxiliary data and the time stamp related to the decoding, and passes the created new header to the new packet data creating unit 13.

【0028】新パケットデータ作成部13は渡された新
ヘッダーと実データより新パケットデータを作成し、こ
れをバッファ部14に保存する。新実データデコード部
15はバッファ部14から読み出した新実データのタイ
ムスタンプとタイムスタンプ管理部16が発生する時刻
情報とを対照することによって、前記タイムスタンプで
指定される時刻に前記新実データのフレーム実データを
デコードし、得られた伸長データを出力する。
The new packet data creation unit 13 creates new packet data from the passed new header and actual data, and stores this in the buffer unit 14. The new real data decoding unit 15 compares the time stamp of the new real data read from the buffer unit 14 with the time information generated by the time stamp management unit 16 so that the new real data is decoded at the time specified by the time stamp. , And outputs the obtained decompressed data.

【0029】図2は図1に示したデコード回路の詳細例
を示したブロック図である。ヘッダーデコードユニット
111は図1のヘッダーデコード部11に相当し、新フ
レームヘッダー作成ユニット121は図1の新フレーム
ヘッダー作成部12に相当し、新実データ作成ユニット
131は図1の新実データ作成部13に相当し、メモリ
コントロールユニット141とバッファメモリ142は
図1のバッファ部14に相当し、MPEGビデオデコー
ダ151とMPEGオーディオデコーダ152は図1の
新実データデコード部15に相当し、タイムスタンプ管
理ユニット161は図1のタイムスタンプ管理部16に
相当する。
FIG. 2 is a block diagram showing a detailed example of the decoding circuit shown in FIG. The header decoding unit 111 corresponds to the header decoding unit 11 in FIG. 1, the new frame header creation unit 121 corresponds to the new frame header creation unit 12 in FIG. 1, and the new real data creation unit 131 is the new real data creation unit 131 in FIG. 1, the memory control unit 141 and the buffer memory 142 correspond to the buffer unit 14 in FIG. 1, and the MPEG video decoder 151 and the MPEG audio decoder 152 correspond to the new real data decoding unit 15 in FIG. The management unit 161 corresponds to the time stamp management unit 16 in FIG.

【0030】次に本実施の形態の動作について図2を参
照して説明する。パケットデータ(図6参照)はヘッダ
ーデコードユニット111に入力され、ここで、パケッ
トデータのヘッダー部がデコードされて、タイムスタン
プやデコードに関する補助データが抽出されると共に、
パケットデータからヘッダー部を取り除いて実データを
分離し、この実データを新実データ作成ユニット131
に渡す。新フレームヘッダー作成ユニット121はヘッ
ダーデコードユニット111で抽出されたタイムスタン
プやデコードに関する補助データを組み込んだ新ヘッダ
ーを作成し、作成した新ヘッダーを新実データ作成ユニ
ット131に渡す。
Next, the operation of this embodiment will be described with reference to FIG. The packet data (see FIG. 6) is input to the header decoding unit 111, where the header part of the packet data is decoded to extract time stamps and auxiliary data related to decoding.
The real data is separated by removing the header part from the packet data, and this real data is used as the new real data creation unit 131.
Pass to. The new frame header creation unit 121 creates a new header incorporating the time stamp extracted by the header decode unit 111 and auxiliary data related to decoding, and passes the created new header to the new real data creation unit 131.

【0031】新実データ作成ユニット131はヘッダー
デコードユニット111より渡された実データのフレー
ムヘッダー部として新ヘッダー作成ユニット121より
渡された図3(B)に示した新ヘッダー301を挿入す
ることにより、図3(A)に示すような新実データを作
成し、得られた新実データをメモリーコントロールユニ
ット141に渡す。
The new real data creation unit 131 inserts the new header 301 shown in FIG. 3B passed from the new header creation unit 121 as a frame header portion of the real data passed from the header decode unit 111. Then, new real data as shown in FIG. 3A is created, and the obtained new real data is passed to the memory control unit 141.

【0032】メモリーコントロールユニット141は渡
された新実データをバッファメモリ142に一旦保存す
る。その後、メモリーコントロールユニット141はバ
ッファメモリ142から古い順に新実データを読み出し
て、MPEGビデオデコーダ151及びMPEGオーテ
イオデコーダ152に入力する。
The memory control unit 141 temporarily stores the transferred new real data in the buffer memory 142. After that, the memory control unit 141 reads the new real data from the buffer memory 142 in the oldest order and inputs the new real data to the MPEG video decoder 151 and the MPEG audio decoder 152.

【0033】前記新実データが映像データであった場
合、MPEGビデオデコーダ151は入力される新実デ
ータをデコードするが、この際、新実データのフレーム
ヘッダーからタイムスタンプを抽出し、このタイムスタ
ンプをタイムスタンプ管理ユニット161で発生される
時刻情報に対照して得られる時刻にフレームデータのデ
コードを開始して、映像データの伸長データを得る。
又、前記新実データが音声データであった場合、MPE
Gオーデイオデコーダ151は入力される新実データを
デコードするが、この際、新実データのヘッダーからタ
イムスタンプを抽出し、このタイムスタンプとタイムス
タンプ管理ユニット161で発生される時刻情報とを対
照して得られる時刻に前記ヘッダーに続くフレームデー
タのデコードを開始して、音声データの伸長データを得
る。
If the new real data is video data, the MPEG video decoder 151 decodes the input new real data. At this time, a time stamp is extracted from the frame header of the new real data, and the time stamp is extracted. At the time obtained by comparing with the time information generated by the time stamp management unit 161 to obtain the decompressed data of the video data.
If the new real data is audio data, the MPE
The G audio decoder 151 decodes the input new real data. At this time, a time stamp is extracted from the header of the new real data, and the time stamp is compared with the time information generated by the time stamp management unit 161. At the time obtained, decoding of the frame data following the header is started to obtain expanded data of the audio data.

【0034】このようにして得られた伸長データはメモ
リコントロールユニット141により一旦バッファメモ
リ142に保存された後、映像データはビデオデータと
なって出力され、音声データはオーディオデータとなっ
て出力される。
The decompressed data thus obtained is temporarily stored in the buffer memory 142 by the memory control unit 141, and then the video data is output as video data, and the audio data is output as audio data. .

【0035】ところで、図1に示したデコード回路はバ
ッファメモリ142を除いてソフトウェアでも構築する
ことができ、図4はその際の処理手順を示したフローチ
ャートである。
By the way, the decoding circuit shown in FIG. 1 can be constructed by software except for the buffer memory 142, and FIG. 4 is a flowchart showing a processing procedure at that time.

【0036】デコード回路はステップ401にて、パケ
ットデータのヘッダー部をデコードして、タイムスタン
プと補助データ及び実データを得る。次にステップ40
2にて、タイムスタンプと補助データで新フレームヘッ
ダーを作成し、ステップ403にて、この新ヘッダーを
前記実データのヘッダーとして挿入することにより新パ
ケットデータを作成する。
In step 401, the decoding circuit decodes the header of the packet data to obtain a time stamp, auxiliary data, and actual data. Then step 40
In step 2, a new frame header is created using the time stamp and the auxiliary data. In step 403, new packet data is created by inserting the new header as the header of the actual data.

【0037】その後、ステップ404にて、前記作成し
た新実データを一旦バッファメモリ142に保存した
後、ステップ405にてバッファメモリ142から読み
出し、ステップ406にて、読み出した新実データのフ
レームデータが映像データであるか、或いは音声データ
であるかを判定し、映像データであった場合はステップ
407に進み、音声データであった場合はステップ40
8に進む。
After that, in step 404, the created new real data is temporarily stored in the buffer memory 142, and then read out from the buffer memory 142 in step 405. In step 406, the frame data of the read new real data is It is determined whether the data is video data or audio data. If the data is video data, the process proceeds to step 407;
Proceed to 8.

【0038】ステップ407にて、デコード回路は前記
読み出した新実データをデコードして、そのヘッダーの
タイムスタンプを抽出し、このタイムスタンプで示され
る時刻に前記ヘッダーに続くフレームデータのデコード
を開始して映像データの伸長データを得て処理を終了す
る。一方、ステップ408にて、デコード回路は前記読
み出した新実データをデコードして、そのヘッダーのタ
イムスタンプを抽出し、このタイムスタンプで示される
時刻に前記ヘッダーに続くフレームデータのデコードを
開始して音声データの伸長データを得て処理を終了す
る。
In step 407, the decoding circuit decodes the read new real data, extracts a time stamp of the header, and starts decoding frame data following the header at the time indicated by the time stamp. Thus, the decompressed data of the video data is obtained, and the process ends. On the other hand, in step 408, the decoding circuit decodes the read new real data, extracts a time stamp of the header, and starts decoding frame data following the header at the time indicated by the time stamp. The process ends after obtaining the decompressed data of the audio data.

【0039】本実施の形態によれば、伝送に適したパケ
ットデータの実データ中のフレーム実データのフレーム
ヘッダーとして、このフレーム実データのデコード開始
時刻を指定するタイムスタンプを挿入することにより、
新実データを作成(パケットデータの変換ともいえる)
し、この新実データのタイムスタンプに応じて各フレー
ム実データのデコード開始時刻を調整しながらフレーム
実データをデコードする構成のため、前記実データを保
存するバッファメモり142上のアドレスと前記タイム
スタンプとを前記実データアドレス格納部2に記憶させ
る機能を有する専用のハードウェアと、前記実データア
ドレス格納部2からタイムスタンプと、このタイムスタ
ンプの割り付け先のフレームデータのアドレスを読み出
し、バッファメモり142の前記アドレスから読み出し
たフレームデータに前記タイムスタンプを割り付ける機
能を有する専用ハードウェアとを省略することができ、
従来に比べてデコード回路を簡単化することができる。
これにより、デコード回路の回路規模を小さくすること
ができると共に回路の信頼性を向上させることができ、
その上、回路を安価に製作することもできる。
According to the present embodiment, a timestamp designating the decoding start time of the actual frame data is inserted as the frame header of the actual frame data in the actual data of the packet data suitable for transmission.
Create new real data (also called packet data conversion)
Since the frame actual data is decoded while adjusting the decoding start time of each frame actual data according to the time stamp of the new actual data, the address on the buffer memory 142 for storing the actual data and the time A dedicated hardware having a function of storing a stamp in the real data address storage unit 2, a time stamp from the real data address storage unit 2, and an address of frame data to which the time stamp is assigned, Dedicated hardware having a function of assigning the time stamp to the frame data read from the address of the memory 142 can be omitted;
The decoding circuit can be simplified as compared with the related art.
Thereby, the circuit scale of the decoding circuit can be reduced, and the reliability of the circuit can be improved.
In addition, the circuit can be manufactured inexpensively.

【0040】尚、本例では、従来に比べて新フレームヘ
ッダーと新実データを作成するためのハードウェアが必
要になるが、これらハードウェアの規模は小さいため、
上記したように全体としては従来に比べて回路規模を小
さくすることができる。
In this example, hardware for creating a new frame header and new real data is required as compared with the prior art. However, since the scale of these hardware is small,
As described above, the circuit scale can be reduced as a whole as compared with the related art.

【0041】又、デコード回路をソフトウェアで構築し
た場合も、従来必要であった上記専用ハードウェアの機
能に相当するプログラム部分を省略することができ、ソ
フトウェアの規模を小さくすることができ、その分、回
路を安価に構築することができる。
Also, when the decoding circuit is constructed by software, a program portion corresponding to the function of the dedicated hardware, which has been conventionally required, can be omitted, and the scale of software can be reduced. The circuit can be constructed at low cost.

【0042】更に、ソフトウェアが小さくなった分、処
理能力の小さいCPUにてもデコード回路を構成するこ
とができ、前記デコード回路を含んだシステムを安価と
することができる。
Further, as the software is reduced, a decoding circuit can be configured even with a CPU having a small processing capability, and a system including the decoding circuit can be made inexpensive.

【0043】又、新実データの後処理において、タイム
スタンプと割り付けられたフレームデータの位置関係が
明確であるため、フレームデータのデコード開始の時刻
管理を容易に行うことができる。
In the post-processing of the new real data, the positional relationship between the time stamp and the allocated frame data is clear, so that the time management of the start of decoding the frame data can be easily performed.

【0044】尚、新ヘッダー作成ユニット121で作成
される新ヘッダーはタイムスタンプのみで構成すること
もでき、この場合、デコードに関する補助データは必ず
しも必要としない。又、デコードに関する補助データと
しては、例えばランダムアクセスポイント指示情報等が
あり、このランダムアクセスポイント指示情報は、この
情報で示された実データ(画像データ)部分のところか
ら再生すれば、例え前記指示位置が実データの途中で
も、ちゃんとした画像が再生できる情報のことである。
The new header created by the new header creation unit 121 can be composed of only a time stamp. In this case, the auxiliary data related to decoding is not necessarily required. The auxiliary data relating to decoding includes, for example, random access point instruction information. If the random access point instruction information is reproduced from the actual data (image data) portion indicated by the information, the random access point instruction information is, for example, the instruction data. This is information that allows a proper image to be reproduced even when the position is in the middle of the actual data.

【0045】[0045]

【発明の効果】以上詳細に説明したように、本発明によ
れば、入力されたパケットデータを新実データに変換
し、この新実データを簡単なハードウェア構成にてデコ
ードすることにより、回路を小型にすることができると
共に回路の信頼性を向上させることができる。
As described above in detail, according to the present invention, a circuit is realized by converting input packet data into new real data and decoding the new real data with a simple hardware configuration. Can be reduced in size, and the reliability of the circuit can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態に係るデコード回路の構
成例を示したブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a decoding circuit according to an embodiment of the present invention.

【図2】図1に示したデコード回路の詳細例を示したブ
ロック図である。
FIG. 2 is a block diagram illustrating a detailed example of a decoding circuit illustrated in FIG. 1;

【図3】図1、図2のデコード回路で用いられる新実デ
ータの構成例を示した図である。
FIG. 3 is a diagram showing a configuration example of new real data used in the decoding circuits of FIGS. 1 and 2;

【図4】図1に示したデコード回路をソフトウェアで構
築した際の処理手順を示したフローチャートである。
FIG. 4 is a flowchart showing a processing procedure when the decoding circuit shown in FIG. 1 is constructed by software.

【図5】従来のデコード回路の構成例を示したブロック
図である。
FIG. 5 is a block diagram showing a configuration example of a conventional decoding circuit.

【図6】従来のパケットデータの構成例を示した図であ
る。
FIG. 6 is a diagram showing a configuration example of conventional packet data.

【図7】図5に示したデコード回路の詳細例を示したブ
ロック図である。
FIG. 7 is a block diagram showing a detailed example of a decoding circuit shown in FIG. 5;

【符号の説明】[Explanation of symbols]

11 ヘッダーデコード部 12 新フレームヘッダー作成部 13 新実データ作成部 14 バッファ部 15 新実データデコード部 16 タイムスタンプ管理部 111 ヘッダーデコーダユニット 121 新フレームヘッダー作成ユニット 131 新実データ作成ユニット 141 メモリコントロールユニット 142 バッファメモリ 151 MPEGビデオデコーダ 152 MPEGオーディオデコーダ 161 タイムスタンプ管理ユニット DESCRIPTION OF SYMBOLS 11 Header decoding part 12 New frame header creation part 13 New real data creation part 14 Buffer part 15 New real data decoding part 16 Time stamp management part 111 Header decoder unit 121 New frame header creation unit 131 New real data creation unit 141 Memory control unit 142 buffer memory 151 MPEG video decoder 152 MPEG audio decoder 161 time stamp management unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 パケットデータのヘッダー部から抽出し
たタイムスタンプで示される時刻から同パケットデータ
の実データのデコードを開始するデコード回路におい
て、 前記パケットデータの入力段階で、前記タイムスタンプ
が割り付く先の実データ中のフレームヘッダーに前記タ
イムスタンプを挿入することにより新たな実データを作
成するデータ作成手段と、 このデータ作成手段より作成された新実データ中のフレ
ーム実データをこの新実データのフレームヘッダーから
抽出したタイムスタンプで示される時刻からデコードす
るデコード手段と、 を具備したことを特徴とするデコード回路。
1. A decoding circuit which starts decoding actual data of a packet data from a time indicated by a time stamp extracted from a header portion of the packet data. Data creating means for creating new actual data by inserting the time stamp into a frame header in the actual data of the real data of the real data. Decoding means for decoding from the time indicated by the time stamp extracted from the frame header.
【請求項2】 前記データ作成手段は、前記パケットデ
ータのヘッダー部をデコードしてタイムスタンプを抽出
すると共に前記ヘッダー部を取り除いて実データを分離
するパケットヘッダーデコード手段と、 このヘッダーデコード手段より得られたタイムスタンプ
を含んだ新たなフレームヘッダーを作成する新フレーム
ヘッダー作成手段と、 この新フレームヘッダー作成手段より作成された新フレ
ームヘッダー中のタイムスタンプが割り付く先の前記ヘ
ッダーデコード手段より得られた実データ中のフレーム
実データのヘッダーとして前記新ヘッダーを挿入するこ
とにより、新たな実データを作成する作成手段と、を有
することを特徴とする請求項1記載のデコード回路。
2. A packet header decoding means for decoding a header portion of the packet data to extract a time stamp and removing the header portion to separate actual data, and a packet header decoding device for obtaining the data. New frame header creating means for creating a new frame header including the obtained time stamp, and the header decoding means to which the time stamp in the new frame header created by the new frame header creating means is assigned. 2. The decoding circuit according to claim 1, further comprising: creating means for creating new actual data by inserting the new header as a header of frame actual data in the actual data.
【請求項3】 前記新たな実データのフレームヘッダー
は、前記パケットデータのヘッダー部から抽出したデコ
ードに関する情報を含むことを特徴とする請求項1又は
2記載のデコード回路。
3. The decoding circuit according to claim 1, wherein the frame header of the new actual data includes information on decoding extracted from a header part of the packet data.
【請求項4】 タイムスタンプを含んだヘッダー部とフ
レーム構造の実データとを有するパケットデータの変換
方法において、 前記パケットデータのヘッダー部からタイムスタンプを
抽出する抽出過程と、 前記パケットデータから前記ヘッダー部を取り除いて実
データを分離する分離過程と、 前記抽出したタイムスタンプを前記分離した実データ中
のフレームヘッダーとして挿入することにより、新たな
実データを作成するデータ作成過程と、 を有することを特徴とするパケットデータの変換方法。
4. A method for converting packet data having a header part including a time stamp and actual data having a frame structure, comprising: an extracting step of extracting a time stamp from a header part of the packet data; And a data creating step of creating new actual data by inserting the extracted time stamp as a frame header in the separated actual data. Characteristic packet data conversion method.
【請求項5】 ヘッダー部と実データから成るパケット
データの入力段階で、前記タイムスタンプが割り付く先
の実データ中のフレームヘッダーとして前記タイムスタ
ンプを挿入することより、新たな実データを作成する過
程と、 この過程により作成された新実データをこの新実データ
のフレームヘッダーから抽出したタイムスタンプで示さ
れる時刻からデコードする過程と、 をコンピュータに実行させるプログラムを記録した機械
読取可能な記録媒体。
5. At the input stage of packet data consisting of a header part and real data, new real data is created by inserting the time stamp as a frame header in the real data to which the time stamp is assigned. And a step of decoding the new real data created by this process from the time indicated by the time stamp extracted from the frame header of the new real data; and a machine-readable recording medium storing a program for causing a computer to execute .
JP602098A 1998-01-14 1998-01-14 Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine Pending JPH11205383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP602098A JPH11205383A (en) 1998-01-14 1998-01-14 Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP602098A JPH11205383A (en) 1998-01-14 1998-01-14 Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine

Publications (1)

Publication Number Publication Date
JPH11205383A true JPH11205383A (en) 1999-07-30

Family

ID=11627018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP602098A Pending JPH11205383A (en) 1998-01-14 1998-01-14 Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine

Country Status (1)

Country Link
JP (1) JPH11205383A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020046816A (en) * 2000-12-15 2002-06-21 조정남 Real-Time Multimedia Transmission Method and System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020046816A (en) * 2000-12-15 2002-06-21 조정남 Real-Time Multimedia Transmission Method and System

Similar Documents

Publication Publication Date Title
JP2006014282A (en) System and method for embedding multimedia processing information into multimedia bitstream
US20040146285A1 (en) Moving picture data reproducing device with improved random access
JPH0955935A (en) Picture and sound encoding device
JPH1118049A (en) Dynamic image decoding method and system
US7602801B2 (en) Packet processing device and method
JP4362480B2 (en) Resume playback system
JPH11205383A (en) Decode circuit, conversion method for packet data and storage medium recording decode program and read by machine
JPH04245789A (en) Method for managing data
US20060088285A1 (en) Reproduction apparatus, data processing system, reproduction method, program, and storage medium
USRE45300E1 (en) Context-adaptive variable length coder with simultaneous storage of incoming data and generation of syntax elements
JP2010055259A (en) Image processing apparatus, image processing program, and image processing method
JP2006100973A (en) Data compression apparatus and data expansion apparatus
JP3938054B2 (en) Computer-readable storage medium on which data having an image data structure is recorded, image recording method, apparatus, and program
JP4053251B2 (en) Image search system and image storage method
JP4166399B2 (en) Data format converter
JP4810326B2 (en) Variable length decoding method and apparatus
KR100239120B1 (en) Device and method for reproducing image record of digital camera
JPH09246988A (en) Decoder and method therefor
JP3858975B2 (en) Transport stream processing apparatus and method
JP3166572B2 (en) Video / audio compression device
JP2003309811A (en) Image communication apparatus, image processing system, image communication method, storage medium, and program
JPH11298844A (en) Editing device, reproducing device and editing and reproducing device
JPH08316844A (en) Code data decoding method and code data decoder
JP3489673B2 (en) Integrated process RTL description generation method
US20030215019A1 (en) Audio/video separator including a user data start address register