JP4382230B2 - Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology - Google Patents

Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology Download PDF

Info

Publication number
JP4382230B2
JP4382230B2 JP2000012758A JP2000012758A JP4382230B2 JP 4382230 B2 JP4382230 B2 JP 4382230B2 JP 2000012758 A JP2000012758 A JP 2000012758A JP 2000012758 A JP2000012758 A JP 2000012758A JP 4382230 B2 JP4382230 B2 JP 4382230B2
Authority
JP
Japan
Prior art keywords
counter value
counter
packet
value
comparator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000012758A
Other languages
Japanese (ja)
Other versions
JP2001204021A (en
Inventor
忠吾 松本
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.)
Sharp NEC Display Solutions Ltd
Original Assignee
NEC Display Solutions 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 NEC Display Solutions Ltd filed Critical NEC Display Solutions Ltd
Priority to JP2000012758A priority Critical patent/JP4382230B2/en
Publication of JP2001204021A publication Critical patent/JP2001204021A/en
Application granted granted Critical
Publication of JP4382230B2 publication Critical patent/JP4382230B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、送信装置から受信装置へ信号を伝送する装置に関し、特に、映像蓄積、再生システムにおける伝送装置及び方法に関する。
【0002】
【従来の技術】
送信装置から送信されるMPEG(Moving Picture Experts Group)2のTSパケット(Transport Stream;トランスポートストリーム;MPEG2-TSともいう;複数のプログラムを1本のストリームで伝送されテレビ放送等に対応可)等のデータを蓄積し、再生する場合、受信装置で飽和する(バッファがオーバフローする)までデータを送信し続け、飽和した際には、受信装置側にて、データを廃棄するか、受信装置で送信装置側に送信制御信号を出し、送信データを抑止するような制御が行われている。
【0003】
【発明が解決しようとする課題】
上記したように、従来の伝送制御方式では、受信装置側で受信データが飽和した場合、該データを廃棄するか、送信装置側に送信制御信号を出し、送信データを抑止するような制御が行われており、このため、MPEG2のTSパケット等のデータの受信と、送信を同一タイミングで行うことはできない。
【0004】
なお、例えば特開平4−329044号公報には、外部からのパケットをパケット蓄積メモリに記憶する際に、絶対時刻または相対時刻によりパケット毎に、その受信時刻を示すタイムスタンプを付加しておき、パケットを送信するとき、パケット蓄積メモリに格納されているタイムスタンプ付きのパケットとタイムスタンプに分離し、タイムスタンプをタイムカウンタの出力と時間比較回路で比較し、タイムスタンプに従ってパケットを送信するパケット発生回路の構成が開示されている。
【0005】
したがって本発明は、上記問題点に鑑みてなされたものであって、その目的は、蓄積したTSパケットを、受信したタイミングと同一タイミングで受信装置に送出できる伝送装置及び方法を提供することにある。
【0006】
【課題を解決するための手段】
前記目的を達成する本発明は、所定の周期でカウンタ値を一巡させる装置内の第1のカウンタと、送信装置から受信したパケットに前記第1のカウンタのカウンタ値を付加するカウンタ付加器と、を備え、カウンタ値が付加されたパケットを蓄積媒体に蓄積し、前記蓄積媒体からカウンタ値が付加されたパケットを読み出しカウンタ値を分離したパケットを一旦バッファに格納し、所定の周期でカウンタ値を一巡させる装置内の第2のカウンタと、前記第2のカウンタのカウンタ値が前記分離されたカウンタ値とを比較する比較器とを備え、前記比較器で二つのカウンタ値が一致した場合、前記バッファからパケットを受信装置に送信する。
【0007】
【発明の実施の形態】
本発明の実施の形態について説明する。本発明の伝送装置は、その好ましい一実施の形態において、MPEG2符号化技術を用いた映像蓄積、再生システムにおける伝送装置において、TSパケットにカウンタ値を付加することにより、再生の際に、蓄積したタイミングと同じタイミングで受信装置に送信するようにしたものである。また、デジタル記憶メディア(Digital Storage Media;「DSM」ともいう)から蓄積したTSパケットを読み出す際に、読み出しエラーとなった場合でも、同一タイミングにて伝送可能としている。
【0008】
より詳細には、本発明の伝送装置は、その好ましい一実施の形態において、図1を参照すると、MPEG2TSパケット送信器(1)から入力されたTSパケットは、カウンタ付加器(3)において、第1のカウンタ(2)で生成されたカウンタ値が付加される。カウンタ値が付加されたTSパケットは、DSM(Digital Storage Media)(6)に蓄積される。
【0009】
再生時には、カウンタ分離器(8)により、TSパケットとカウンタ値に分離され、TSパケットはバッファ(11)に、カウンタ値はカウンタ演算器(7)に送られる。
【0010】
カウンタ演算器(7)では、エラー検出器(4)がDSM(6)からの読み出しの際エラーが無ければ、そのままカウンタ値を、比較器(10)に送る。
【0011】
比較器(10)では送られてきたカウンタ値と、第2のカウンタ(9)の値を比較し、等しい場合に、バッファ(11)に蓄積保持されているTSパケットを、MPEG2TSパケット受信器(12)に送る。このようにして、蓄積時に付加したカウント値のタイミングでTSパケットが送信されことになる。
【0012】
受信時刻のタイムスタンプを付加してパケット蓄積メモリに蓄積し、パケット送信時にタイムスタンプに従って送信するという特開平4−329044号公報では、読み出しエラーとなると、到着時のタイミングとは異なるタイミングでパケットが送信されてしまうことになるが、本発明においては、所定の周期で一巡するカウンタを備え、蓄積したパケットを読み出す際にエラーが生じた場合でも、タイミングを維持することができ、エラーからの復帰時に、タイミングのずれを最小に維持できる。
【0013】
【実施例】
上記した本発明の実施の形態についてさらに詳細に説明すべく、本発明の実施例について図面を参照して以下に説明する。
【0014】
図1は、本発明の一実施例の構成を示す図である。図1を参照すると、本発明による伝送装置は、デジタル放送やIEEE1394(リアルタイム伝送機能を備えたシリアルインタフェース)等のMPEG2TSパケット送信器1より送信されたTSパケットに対してカウンタ値を付加するカウンタ付加器3と、カウンタ値を生成するカウンタ2と、カウンタ値が付加されたTSパケットを磁気ディスク、光ディスク等のDSM6(Digital Storage Media;ディジタル蓄積媒体)への書き込み及び読み出しを制御するDSM I/F(インタフェース)5と、DSM6よりDSM I/F5を介して読み出されたカウンタ値付きTSパケットを入力し、カウンタ値とTSパケットとに分離するカウンタ分離器8と、カウンタ分離器8で分離されたTSパケットを一時的に保存するバッファ11と、DSM6よりパケットを読み出した際のエラー検出を行うエラー検出器4と、カウンタ分離器8で分離されたカウンタ値を入力し、エラー検出器4で検出されたエラー情報によりカウンタ値の演算を行うカウンタ演算器7と、送出用カウンタ値を生成するカウンタ9と、カウンタ演算器7から出力されたカウンタ値とカウンタ9から送られたカウンタ値とを比較する比較器10と、を備えて構成されており、バッファ11から、MPEG2デコーダ、IEEE1394等のMPEG2TSパケット受信器12にTSパケットを送信する。
【0015】
本発明の一実施例の伝送装置の動作について説明する。図1を参照すると、デジタル放送やIEEE1394等のMPEG2TSパケット送信器1より送られてきたTSパケットに、カウンタ付加器3において、カウンタ2で生成されたカウンタ値を付加する。カウンタ2で生成されるカウンタ値は、TSパケットの時刻基準情報PCR(Program Clock Reference;プログラム時刻基準参照値)とは無関係の独立したタイミングで生成される。カウンタ2は、0からカウントアップ動作し例えば数秒程度でカウント上限値に達したのち0にリセットされて再び0からのカウントアップ動作を自動スタートする構成とされており、一周の間に入力されたTSパケットには、異なるカウンタ値を付けることが出来る程度の分解能を有している。カウンタ9もカウントするタイミングは、カウンタ2と同一である。
【0016】
カウンタ付加器3によりカウンタ値が付加されたTSパケットは、DSM I/F5により、磁気ディスクや光ディスク等のDSM6に蓄積される。
【0017】
DSM6に蓄積されている、カウンタ値が付加されたTSパケットはDSM I/F5を介して読み出される。
【0018】
カウンタ値が付加されたTSパケットの読み出しの際に、エラー検出器4で、エラーの有無を検出する。読み出しが正常な場合には、読み出されたカウンタ値が付加されたTSパケットは、カウンタ分離器8に送られ、カウンタ値とTSパケットに分離される。
【0019】
分離されたカウンタ値は、カウンタ演算器7に、TSパケットはバッファ11にそれぞれ送られる。
【0020】
カウンタ演算器7では、読み出しの最初であれば、カウンタ値を初期値としてカウンタ9を設定する。それ以外(読み出しの最初以外)の場合には、比較器10に、カウンタ値を送る。また、前回のカウンタ値との差分と、前回のカウンタ値を一時保存しておく。
【0021】
比較器10では、カウンタ演算器7と、カウンタ9より送られてくるカウンタ値とを比較し、同一の値である場合には、バッファ11にTSパケット送出許可信号を送る。
【0022】
送出許可信号を得た、バッファ11は、IRD(IrDA)やIEEE1394等のMPEG2TSパケット受信器12にTSパケットを送出する。
【0023】
一方、DSM6からの読み出しがエラーの場合、エラーを検出したエラー検出器4は、カウンタ演算器7に対して、エラー信号を送る。
【0024】
DSM6が読み出しエラーの場合でも、データを送出するタイプの場合には、正常時と同じ動作を行う。ただし、カウンタ値がエラーにより壊れている場合は、カウンタ演算器7に保存されている前回のカウンタ値に、差分を加算し、新たなカウンタ値を生成して、比較器10に送る。これ以降の動作は、正常時と同様である。
【0025】
DSM6において、読み出しエラー時に、データを送出しないタイプの場合は、エラーを検出したエラー検出器4は、カウンタ演算器7とカウンタ分離器8とにエラー信号を送る。エラー信号を受けたカウンタ分離器8は、カウンタ演算器7に対しては、ダミーカウント値を、バッファに対しては、Null(ヌル)パケットを送出する。
【0026】
カウンタ演算器7では、保存されている前回のカウンタ値に差分を加算し、新たなカウンタ値を生成し、比較器10に送る。
【0027】
比較器10は、カウンタ演算器7と、カウンタ9からのカウント値を比較し、同一ならば、バッファ11のNullパケットを、MPEG2TSパケット受信器12に送出する。エラー時でも、カウンタ値によりデータが送出されるため、正常読み出しに復帰した際に、本来の再生タイミングとの時間のずれが無くなる。もしくは最小に保つことができる。
【0028】
【発明の効果】
以上説明したように、本発明によれば、送信装置から受信したパケットに対して、所定の周期でカウンタ値を一巡させる第1のカウンタのカウンタ値を付加して蓄積媒体に蓄積し、前記蓄積媒体からカウンタ値が付加されたパケットを読み出してカウンタ値とパケットを分離し、所定の周期でカウンタ値を一巡させる第2のカウンタのカウンタ値が前記分離されたカウンタ値とを比較器で比較し、一致した場合、カウンタ値が分離されたパケットを一旦保持するバッファからパケットを受信装置に送信する構成としたことににより、下記記載の効果を奏する。
【0029】
本発明の第1の効果は、TSパケットを蓄積した際に、蓄積したタイミングと同一のタイミングで送出できる、ということである。
【0030】
本発明の第2の効果は、TSパケットの受信、送信のタイミングは、伝送装置で独立して行う為、MPEG2TSパケット送信器、受信器共に、依存しない、ということである。
【0031】
本発明の第3の効果は、蓄積したTSパケットを読み出す際にエラーが生じた場合でも、タイミングを維持することができ、エラーからの復帰時に、タイミングのずれを最小に維持できる、ということである。
【図面の簡単な説明】
【図1】本発明の一実施例の構成を示す図である。
【符号の説明】
1 MPEG2TSパケット送信器
2 カウンタ
3 カウンタ付加器
4 エラー検出器
5 DSM IF
6 DSM
7 カウンタ演算器
8 カウンタ分離器
9 カウンタ
10 比較器
11 バッファ
12 MPEG2TSパケット受信器
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus for transmitting a signal from a transmission apparatus to a reception apparatus, and more particularly to a transmission apparatus and method in a video storage / playback system.
[0002]
[Prior art]
MPEG (Moving Picture Experts Group) 2 TS packets (Transport Stream; also referred to as MPEG2-TS; multiple programs are transmitted as a single stream and can be used for television broadcasting, etc.) etc. When data is stored and played back, data continues to be transmitted until it is saturated at the receiver (buffer overflows), and when it is saturated, the receiver discards the data or transmits it at the receiver Control is performed such that a transmission control signal is issued to the apparatus side to suppress transmission data.
[0003]
[Problems to be solved by the invention]
As described above, in the conventional transmission control method, when reception data is saturated on the receiving device side, control is performed such as discarding the data or sending a transmission control signal to the transmitting device side to suppress transmission data. Therefore, reception and transmission of data such as MPEG2 TS packets cannot be performed at the same timing.
[0004]
For example, in Japanese Patent Laid-Open No. 4-329044, when storing an external packet in the packet storage memory, a time stamp indicating the reception time is added to each packet by an absolute time or a relative time, When a packet is transmitted, the packet is generated by separating the time stamped packet stored in the packet storage memory and the time stamp, comparing the time stamp with the output of the time counter by the time comparison circuit, and transmitting the packet according to the time stamp. A circuit configuration is disclosed.
[0005]
Accordingly, the present invention has been made in view of the above problems, and an object of the present invention is to provide a transmission apparatus and method capable of sending accumulated TS packets to a reception apparatus at the same timing as the reception timing. .
[0006]
[Means for Solving the Problems]
The present invention that achieves the above object includes a first counter in a device that makes a round of a counter value in a predetermined cycle, a counter adder that adds a counter value of the first counter to a packet received from a transmitting device, The packet with the counter value added is stored in a storage medium, the packet with the counter value added is read from the storage medium, the packet from which the counter value has been separated is temporarily stored in a buffer, and the counter value is stored at a predetermined cycle. A second counter in the device to be cycled, and a comparator that compares the counter value of the second counter with the separated counter value, and when the two counter values match in the comparator, The packet is transmitted from the buffer to the receiving device.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described. In a preferred embodiment of the transmission apparatus according to the present invention, the transmission apparatus in the video storage / playback system using the MPEG2 encoding technique stores the counter packet by adding a counter value to the TS packet. This is transmitted to the receiving device at the same timing. In addition, even when a read error occurs when reading a TS packet stored from a digital storage medium (also referred to as “DSM”), transmission is possible at the same timing.
[0008]
More specifically, in the preferred embodiment of the transmission apparatus of the present invention, referring to FIG. 1, the TS packet input from the MPEG2 TS packet transmitter (1) is sent to the counter adder (3). The counter value generated by 1 counter (2) is added. The TS packet to which the counter value is added is stored in a DSM (Digital Storage Media) (6).
[0009]
At the time of reproduction, the counter separator (8) separates the TS packet and the counter value, and the TS packet is sent to the buffer (11) and the counter value is sent to the counter calculator (7).
[0010]
In the counter computing unit (7), if there is no error when the error detector (4) reads from the DSM (6), the counter value is sent to the comparator (10) as it is.
[0011]
The comparator (10) compares the counter value sent with the value of the second counter (9). If they are equal, the TS packet stored and held in the buffer (11) is converted into an MPEG2 TS packet receiver ( 12). In this way, TS packets are transmitted at the timing of the count value added at the time of accumulation.
[0012]
In Japanese Patent Laid-Open No. 4-329044 in which a time stamp of a reception time is added and stored in a packet storage memory and transmitted according to the time stamp at the time of packet transmission, when a read error occurs, the packet is sent at a timing different from the timing at the time of arrival. In the present invention, a counter that makes a round at a predetermined period is provided, and even when an error occurs when reading the accumulated packet, the timing can be maintained, and the error can be recovered. Sometimes timing gaps can be kept to a minimum.
[0013]
【Example】
In order to describe the above-described embodiment of the present invention in more detail, examples of the present invention will be described below with reference to the drawings.
[0014]
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. Referring to FIG. 1, a transmission apparatus according to the present invention adds a counter value to a TS packet transmitted from an MPEG2 TS packet transmitter 1 such as digital broadcasting or IEEE1394 (serial interface having a real-time transmission function). A counter 3 for generating a counter value, and a DSM I / F for controlling writing and reading of a TS packet to which the counter value is added to a DSM 6 (Digital Storage Media) such as a magnetic disk or an optical disk (Interface) 5, a TS packet with a counter value read from the DSM 6 via the DSM I / F 5 is input, and the counter separator 8 that separates the counter value into the TS packet is separated by the counter separator 8. A buffer 11 for temporarily storing the TS packets, and a DS 6, an error detector 4 that detects an error when a packet is read from 6 and a counter value separated by a counter separator 8 are input, and a counter that calculates a counter value based on error information detected by the error detector 4 An arithmetic unit 7, a counter 9 that generates a counter value for sending, and a comparator 10 that compares the counter value output from the counter arithmetic unit 7 with the counter value sent from the counter 9. The TS packet is transmitted from the buffer 11 to the MPEG2 TS packet receiver 12 such as an MPEG2 decoder or IEEE1394.
[0015]
An operation of the transmission apparatus according to the embodiment of the present invention will be described. Referring to FIG. 1, a counter value generated by the counter 2 is added by a counter adder 3 to a TS packet sent from an MPEG2 TS packet transmitter 1 such as digital broadcasting or IEEE1394. The counter value generated by the counter 2 is generated at an independent timing unrelated to the time reference information PCR (Program Clock Reference) of the TS packet. The counter 2 counts up from 0, for example, reaches a count upper limit value in about several seconds, is reset to 0, and automatically starts the count-up operation from 0 again. The TS packet has a resolution that allows different counter values to be assigned. The timing for counting the counter 9 is the same as that for the counter 2.
[0016]
The TS packet to which the counter value is added by the counter adder 3 is accumulated in the DSM 6 such as a magnetic disk or an optical disk by the DSM I / F 5.
[0017]
The TS packet added with the counter value stored in the DSM 6 is read out via the DSM I / F 5.
[0018]
When the TS packet to which the counter value is added is read, the error detector 4 detects the presence or absence of an error. When the reading is normal, the TS packet to which the read counter value is added is sent to the counter separator 8 and separated into the counter value and the TS packet.
[0019]
The separated counter value is sent to the counter calculator 7, and the TS packet is sent to the buffer 11.
[0020]
The counter calculator 7 sets the counter 9 with the counter value as an initial value at the beginning of reading. In other cases (other than the beginning of reading), the counter value is sent to the comparator 10. Further, the difference from the previous counter value and the previous counter value are temporarily stored.
[0021]
The comparator 10 compares the counter calculator 7 with the counter value sent from the counter 9, and if they are the same value, sends a TS packet transmission permission signal to the buffer 11.
[0022]
The buffer 11 that has obtained the transmission permission signal transmits a TS packet to an MPEG2 TS packet receiver 12 such as IRD (IrDA) or IEEE1394.
[0023]
On the other hand, when reading from the DSM 6 is an error, the error detector 4 that has detected the error sends an error signal to the counter calculator 7.
[0024]
Even when the DSM 6 has a read error, the same operation as in the normal state is performed in the case of a type in which data is transmitted. However, if the counter value is broken due to an error, the difference is added to the previous counter value stored in the counter calculator 7 to generate a new counter value, which is sent to the comparator 10. The subsequent operation is the same as in normal operation.
[0025]
In the DSM 6, in the case of a type that does not transmit data at the time of a read error, the error detector 4 that has detected the error sends an error signal to the counter calculator 7 and the counter separator 8. Upon receipt of the error signal, the counter separator 8 sends a dummy count value to the counter calculator 7 and a Null packet to the buffer.
[0026]
The counter calculator 7 adds the difference to the previously stored counter value, generates a new counter value, and sends it to the comparator 10.
[0027]
The comparator 10 compares the count value from the counter arithmetic unit 7 and the counter 9, and if they are the same, sends the Null packet in the buffer 11 to the MPEG2TS packet receiver 12. Even when an error occurs, the data is sent with the counter value, and therefore, when returning to normal reading, there is no time lag from the original reproduction timing. Or it can be kept to a minimum.
[0028]
【The invention's effect】
As described above, according to the present invention, the counter value of the first counter that makes a round of the counter value in a predetermined cycle is added to the packet received from the transmission device, and the packet is stored in the storage medium. The packet with the counter value added is read from the medium, the counter value and the packet are separated, and the counter value of the second counter that makes a round of the counter value in a predetermined cycle is compared with the separated counter value by a comparator. If they match, the packet is transmitted to the receiving apparatus from the buffer that once holds the packet from which the counter value is separated, and the following effects are obtained.
[0029]
The first effect of the present invention is that when TS packets are accumulated, they can be transmitted at the same timing as the accumulated timing.
[0030]
The second effect of the present invention is that both the MPEG2 TS packet transmitter and receiver do not depend on the timing of TS packet reception and transmission because they are performed independently by the transmission apparatus.
[0031]
The third effect of the present invention is that the timing can be maintained even when an error occurs when reading the accumulated TS packet, and the timing shift can be kept to the minimum when returning from the error. is there.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.
[Explanation of symbols]
1 MPEG2 TS packet transmitter 2 Counter 3 Counter adder 4 Error detector 5 DSM IF
6 DSM
7 Counter operator 8 Counter separator 9 Counter 10 Comparator 11 Buffer 12 MPEG2TS packet receiver

Claims (11)

送信装置から受信したパケットに対して、所定の周期でカウンタ値を一巡させる第1のカウンタのカウンタ値を付加する手段と、
前記カウンタ値が付加されたパケットを蓄積する蓄積媒体と、
前記蓄積媒体からカウンタ値が付加されたパケットを読み出してカウンタ値とパケットを分離する手段と、
所定の周期でカウンタ値を一巡させる第2のカウンタのカウンタ値と、前記分離されたカウンタ値とを比較し、これらが互いに一致した場合、カウンタ値が分離されたパケットを一旦保持するバッファからパケットを受信装置に送信するように制御する比較手段と、
前記蓄積媒体の読み出しエラーを検出する手段と、
前記蓄積媒体からカウンタ値が付加されたパケットの読み出し時、
読み出しエラーがなかった場合には、前記パケットから分離されたカウンタ値を前記比較手段に送るとともに、前記比較手段に今回送った前記カウンタ値と読み出しエラーがなかったときの前回のカウンタ値との差分、及び、前記比較手段に今回送った前記カウンタ値とを一時保存しておき、
カウンタ値が壊れた読み出しエラーの場合、読み出しエラーがなかったときの前回のカウンタ値に、前記読み出しエラーがなかったときの前記前回のカウンタ値とその前のカウンタ値との差分を加算して新たなカウンタ値を生成し、前記比較手段に供給するカウンタ演算手段と、
を備え、
前記比較手段において、前記第2のカウンタのカウンタ値が、前記カウンタ演算手段から供給された前記カウンタ値と一致した場合、前記バッファからパケットを受信装置に送信する、ことを特徴とする伝送装置。
Means for adding a counter value of a first counter for making a round of the counter value in a predetermined cycle with respect to a packet received from a transmitting device;
A storage medium for storing the packet to which the counter value is added;
Means for reading the packet with the counter value added from the storage medium and separating the counter value and the packet;
The counter value of the second counter that makes a round of the counter value in a predetermined cycle is compared with the separated counter value, and if they match each other, the packet from the buffer that once holds the packet from which the counter value is separated Comparing means for controlling to transmit to the receiving device;
Means for detecting a read error of the storage medium;
When reading a packet with a counter value added from the storage medium,
When there is no read error, the counter value separated from the packet is sent to the comparison means, and the difference between the counter value sent to the comparison means this time and the previous counter value when there was no read error And temporarily store the counter value sent this time to the comparison means,
In the case of a read error with a broken counter value, the difference between the previous counter value when there was no read error and the previous counter value is added to the previous counter value when there was no read error. Counter calculation means for generating a correct counter value and supplying it to the comparison means;
With
In the comparison unit, when the counter value of the second counter matches the counter value supplied from the counter calculation unit, a packet is transmitted from the buffer to a reception device.
前記蓄積媒体からカウンタ値が付加されたパケットを最初に読み出す場合に、前記第2のカウンタを初期値に設定する、ことを特徴とする請求項1記載の伝送装置。  2. The transmission apparatus according to claim 1, wherein when the packet with the counter value added is read from the storage medium for the first time, the second counter is set to an initial value. 所定の周期でカウンタ値を一巡させる第1のカウンタと、
パケット送信器より送信されたパケットに、前記第1のカウンタのカウンタ値を付加するカウンタ付加器と、
カウンタ値を付加されたパケットを蓄積する蓄積媒体と、
前記カウンタ値を付加されたパケットの前記蓄積媒体への書き込み及び読み出しの制御を行うインタフェース回路と、
前記蓄積媒体より前記インタフェース回路を介して読み出された、カウンタ値が付加されたパケットを、カウンタ値とパケットとに分離するカウンタ分離器と、
前記カウンタ分離器で分離されたパケットを一時的に保存するバッファと、
前記蓄積媒体よりパケットを読み出した際のエラー検出を行うエラー検出器と、
前記カウンタ分離器で分離されたカウンタ値を入力し、前記エラー検出器でエラーが検出されない場合には、前記分離されたカウンタ値を比較器に送るとともに、前記比較器に今回送った前記カウンタ値とエラーがなかったときの前回のカウンタ値との差分と、前記比較器に今回送ったカウンタ値とを一時保存しておき、
前記エラー検出器でエラーが検出された場合、エラーがなかったときの前回のカウンタ値に、エラーがなかったときの前回のカウンタ値とその前のカウンタ値との差分を加算して新たなカウンタ値を生成し、前記比較器に供給するカウンタ演算器と、
所定の周期でカウンタ値を一巡させ送出用カウンタ値を生成する第2カウンタと、
前記カウンタ演算器から出力されたカウンタ値と、前記第2カウンタからのカウンタ値とを比較する前記比較器と、
を備え、
前記比較器は、二つのカウンタ値が互いに一致したとき、送信許可信号を前記バッファに対して送出し、前記バッファから前記パケットがパケット受信器に送信される、ことを特徴とする伝送装置。
A first counter that cycles the counter value at a predetermined period;
A counter adder for adding the counter value of the first counter to the packet transmitted from the packet transmitter;
A storage medium for storing a packet to which a counter value is added;
An interface circuit for controlling writing and reading of the packet to which the counter value is added to the storage medium;
A counter separator that separates the packet with the counter value read from the storage medium via the interface circuit into a counter value and a packet;
A buffer for temporarily storing packets separated by the counter separator;
An error detector for detecting an error when reading a packet from the storage medium;
When the counter value separated by the counter separator is input and no error is detected by the error detector, the separated counter value is sent to the comparator and the counter value sent to the comparator this time And temporarily store the difference between the previous counter value when there was no error and the counter value sent this time to the comparator,
When an error is detected by the error detector, a new counter is obtained by adding the difference between the previous counter value when there is no error and the previous counter value when there is no error. A counter calculator for generating a value and supplying the value to the comparator;
A second counter for generating a counter value for transmission by circulating the counter value in a predetermined cycle;
A counter value output from the counter calculator, said comparator for comparing the counter value from the second counter,
With
When the two counter values coincide with each other, the comparator sends a transmission permission signal to the buffer, and the packet is transmitted from the buffer to a packet receiver.
前記蓄積媒体からカウンタ値が付加されたパケットを最初に読み出す場合に、前記カウンタ演算器は、前記第2のカウンタに対して初期値に設定する、ことを特徴とする請求項3記載の伝送装置。  4. The transmission apparatus according to claim 3, wherein when the packet to which the counter value is added is read from the storage medium for the first time, the counter calculator sets an initial value for the second counter. . 読み出しエラー時にパケットを送出する方式の場合、前記蓄積媒体からカウンタ値が付加されたパケットの読み出しエラーが前記エラー検出器で検出された時、前記エラー検出器はエラー信号を前記カウンタ演算器と前記カウンタ分離器に送出し、前記カウンタ分離器でカウンタ値を分離したパケットを一旦前記バッファに格納し、前記比較器において前記第2のカウンタのカウンタ値が前記分離されたカウンタ値と一致した場合、送信許可信号を前記バッファに対して送出し、前記バッファからパケットを前記パケット受信器に送信する、ことを特徴とする請求項3記載の伝送装置。  In the case of a method of sending a packet at the time of a read error, when a read error of a packet added with a counter value from the storage medium is detected by the error detector, the error detector sends an error signal to the counter calculator and the counter When the packet is sent to the counter separator, the packet whose counter value is separated by the counter separator is temporarily stored in the buffer, and the counter value of the second counter in the comparator matches the separated counter value, 4. The transmission apparatus according to claim 3, wherein a transmission permission signal is transmitted to the buffer, and a packet is transmitted from the buffer to the packet receiver. 前記蓄積媒体からカウンタ値が付加されたパケットを読み出し時に、カウンタ値が壊れている場合、前記カウンタ演算器では、前記カウンタ演算器に保持されている前回のカウンタ値に、前記カウンタ演算器に保持されている、前記前回のカウンタ値とその前のカウンタ値との差分を加算し、新たなカウンタ値を生成して前記比較器に送出し、
前記比較器において、前記第2のカウンタのカウンタ値が、前記生成されたカウンタ値と一致した場合、送信許可信号を前記バッファに対して送出し、前記バッファからパケットを前記パケット受信器に送信する、ことを特徴とする請求項5記載の伝送装置。
If the counter value is broken when reading the packet with the counter value added from the storage medium, the counter arithmetic unit holds the previous counter value held in the counter arithmetic unit in the counter arithmetic unit. The difference between the previous counter value and the previous counter value is added, a new counter value is generated and sent to the comparator,
In the comparator, when the counter value of the second counter matches the generated counter value, a transmission permission signal is transmitted to the buffer, and a packet is transmitted from the buffer to the packet receiver. 6. The transmission apparatus according to claim 5, wherein:
読み出しエラー時にデータを送出しない方式の場合に、前記カウンタ分離器はヌルパケットを一旦前記バッファに格納するとともにダミーカウンタ値を前記カウンタ演算器に送信し、
前記カウンタ演算器では、前記カウンタ演算器に保存されている前回のカウンタ値に、前記カウンタ演算器に保持されている、前記前回のカウンタ値とその前のカウンタ値との差分を加算し新たなカウンタ値を生成して前記比較器に送出し、
前記比較器において、前記第2のカウンタのカウンタ値が前記生成されたカウンタ値と一致した場合、送信許可信号を前記バッファに対して送出し、前記バッファからパケットを受信器に送信する、ことを特徴とする請求項3記載の伝送装置。
In the case of a method that does not send data at the time of a read error, the counter separator temporarily stores a null packet in the buffer and transmits a dummy counter value to the counter arithmetic unit,
The counter arithmetic unit adds a difference between the previous counter value and the previous counter value held in the counter arithmetic unit to the previous counter value stored in the counter arithmetic unit, thereby obtaining a new value. Generate a counter value and send it to the comparator;
In the comparator, when the counter value of the second counter matches the generated counter value, a transmission permission signal is transmitted to the buffer, and a packet is transmitted from the buffer to the receiver. The transmission apparatus according to claim 3, wherein:
前記パケットがMPEG2のTS(トランスポート・ストリーム)パケットよりなる、ことを特徴とする請求項1乃至7のいずれか一に記載の伝送装置。  The transmission apparatus according to claim 1, wherein the packet is an MPEG2 TS (Transport Stream) packet. 前記第1のカウンタで生成されるカウンタ値が、TSパケットのプログラム時刻基準参照値とは独立したタイミングで生成される、ことを特徴とする請求項8記載の伝送装置。  9. The transmission apparatus according to claim 8, wherein the counter value generated by the first counter is generated at a timing independent of the program time base reference value of the TS packet. 送信装置からのパケットを受信し、所定の周期でカウンタ値を一巡させる第1のカウンタのカウンタ値を前記パケットに付加して蓄積媒体に蓄積し、
前記蓄積媒体からカウンタ値が付加されたパケットを読み出して、カウンタ値とパケットとを分離し、カウンタ値が分離されたパケットを一旦バッファに保持し、所定の周期でカウンタ値を一巡させる第2のカウンタのカウンタ値と前記分離されたカウンタ値とを比較器で比較し、二つのカウンタ値が一致した場合、前記バッファからパケットを受信装置に送信し、
前記蓄積媒体からカウンタ値が付加されたパケットの読み出し時、読み出しエラーがなかった場合には、前記パケットから分離されたカウンタ値を前記比較器に送るとともに、前記比較器に今回送った前記カウンタ値と読み出しエラーがなかったときの前回のカウンタ値との差分、及び、前記比較器に今回送った前記カウンタ値とを一時保存しておき、
カウンタ値が壊れた読み出しエラーの場合、読み出しエラーがなかったときの前回のカウンタ値に、前記読み出しエラーがなかったときの前記前回のカウンタ値とその前のカウンタ値との差分を加算して新たなカウンタ値を生成して前記比較器に供給し、
前記比較器において、前記第2のカウンタのカウンタ値が、前記生成された新たなカウンタ値と一致した場合、前記バッファからパケットを受信装置に送信する、ことを特徴とする伝送方法。
Receiving a packet from the transmitting device, adding the counter value of the first counter that makes a round of the counter value in a predetermined cycle to the packet and storing it in the storage medium;
A packet to which a counter value is added is read from the storage medium, the counter value and the packet are separated, the packet from which the counter value is separated is temporarily held in a buffer, and the counter value is cycled at a predetermined cycle. The counter value of the counter and the separated counter value are compared by a comparator, and when the two counter values match, a packet is sent from the buffer to the receiving device,
When there is no read error when reading a packet with a counter value added from the storage medium, the counter value separated from the packet is sent to the comparator and the counter value sent this time to the comparator And the difference between the previous counter value when there was no read error and the counter value sent to the comparator this time,
In the case of a read error with a broken counter value, the difference between the previous counter value when there was no read error and the previous counter value is added to the previous counter value when there was no read error. A counter value is generated and supplied to the comparator,
In the comparator, when a counter value of the second counter matches the generated new counter value, a packet is transmitted from the buffer to a receiving device.
前記パケットが、MPEG2のTS(トランスポート・ストリーム)パケットよりなる、ことを特徴とする請求項10記載の伝送方法。  11. The transmission method according to claim 10, wherein the packet is an MPEG2 TS (Transport Stream) packet.
JP2000012758A 2000-01-21 2000-01-21 Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology Expired - Fee Related JP4382230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000012758A JP4382230B2 (en) 2000-01-21 2000-01-21 Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000012758A JP4382230B2 (en) 2000-01-21 2000-01-21 Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology

Publications (2)

Publication Number Publication Date
JP2001204021A JP2001204021A (en) 2001-07-27
JP4382230B2 true JP4382230B2 (en) 2009-12-09

Family

ID=18540436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000012758A Expired - Fee Related JP4382230B2 (en) 2000-01-21 2000-01-21 Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology

Country Status (1)

Country Link
JP (1) JP4382230B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4565308B2 (en) * 2001-09-13 2010-10-20 ソニー株式会社 Error detection apparatus, error detection method, recording / reproducing apparatus, and recording / reproducing method

Also Published As

Publication number Publication date
JP2001204021A (en) 2001-07-27

Similar Documents

Publication Publication Date Title
KR100610920B1 (en) Data transmitting device, data receiving device, and data recording device
US6801544B1 (en) Method of converting a packetized stream of information signals into a stream of information signals with time stamps and vice versa
KR100674400B1 (en) Data recording and/or reproducing apparatus, method, and system and recording medium
US6778537B1 (en) Data processing system and time stamp creating method
US20040170383A1 (en) System and method for real-time data archival
JP2002064788A (en) Data stream processor and method, and program storage medium
KR100982890B1 (en) Method and apparatus for transmitting video data for implementing a specific mode
US6731658B1 (en) Data recording method and data recording apparatus
JP4279876B2 (en) Transport stream processing apparatus and transport stream processing method
JP3558983B2 (en) Digital broadcast recording and playback device
US6735223B1 (en) Method of controlling offset of time stamp and apparatus for transmitting packet using the same
JP4382230B2 (en) Transmission apparatus and method in video storage and playback system using MPEG2 encoding technology
JP4004147B2 (en) Data transmitting device, data receiving device, and data recording device
US20050135368A1 (en) Stream data receiving apparatus
JPH1023370A (en) Digital video recorder
JP2002118824A (en) Video recorder, reproducing device and method for them
JPH1173729A (en) Recording and reproducing device
JPWO2007004611A1 (en) Output circuit, control program product, and control method
JP3258911B2 (en) Digital video recorder
KR100348262B1 (en) apparatus and method for storing/decoding of digital broadcasting data
JP5041080B2 (en) Data output system
JP3263625B2 (en) Digital video recorder
JP2008199516A (en) Data processing apparatus
JP2005151523A (en) Digital signal transmission apparatus, and digital signal recording apparatus
US8855110B2 (en) Personal video recorder having improved data access and method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060713

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20070907

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20070907

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090810

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090901

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090917

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121002

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131002

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees