JP3528831B2 - How to synchronize block data - Google Patents

How to synchronize block data

Info

Publication number
JP3528831B2
JP3528831B2 JP2001331325A JP2001331325A JP3528831B2 JP 3528831 B2 JP3528831 B2 JP 3528831B2 JP 2001331325 A JP2001331325 A JP 2001331325A JP 2001331325 A JP2001331325 A JP 2001331325A JP 3528831 B2 JP3528831 B2 JP 3528831B2
Authority
JP
Japan
Prior art keywords
packet
data
track
block
pulse
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 - Lifetime
Application number
JP2001331325A
Other languages
Japanese (ja)
Other versions
JP2002208918A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2001331325A priority Critical patent/JP3528831B2/en
Publication of JP2002208918A publication Critical patent/JP2002208918A/en
Application granted granted Critical
Publication of JP3528831B2 publication Critical patent/JP3528831B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタルビデオ
テープレコーダ(以下、ディジタルVTRという)のビ
デオデータ等、ブロック単位で処理されるディジタルデ
ータをパケット化し、このブロック周期と非同期の通信
サイクルを持つディジタル通信路を介して伝送する技術
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video tape recorder (hereinafter referred to as a digital VTR), such as video data, which is packetized with digital data processed in block units, and which has a communication cycle asynchronous with the block cycle. The present invention relates to a technique for transmitting via a communication path.

【0002】[0002]

【従来の技術】アナログビデオ信号をA/D変換し、デ
ータ量を圧縮して記録するディジタルVTRが提案され
ている。図6はこのようなディジタルVTRにおけるビ
デオ信号処理系の1例を示すブロック図である。まず、
この図を参照しながら、ディジタルVTRについて説明
する。
2. Description of the Related Art A digital VTR for A / D converting an analog video signal and compressing a data amount for recording has been proposed. FIG. 6 is a block diagram showing an example of a video signal processing system in such a digital VTR. First,
The digital VTR will be described with reference to this figure.

【0003】入力されたアナログコンポーネントビデオ
信号(Y,R−Y,B−Y)はA/D変換器1によって
ディジタルコンポーネントビデオ信号に変換され、ブロ
ッキング回路2により水平方向8サンプル、垂直方向8
ライン(以下、8×8単位という)を1つのブロックと
するデータにまとめられ、シャフリング及びY/C多重
される。この8×8単位のデータはDCT回路3により
離散コサイン変換され、時間振幅領域のデータが周波数
領域のデータに変換される。離散コサイン変換されたデ
ータはエンコーダ4により再量子化され、2次元ハフマ
ン符号等により可変長符号化されて、データ圧縮され
る。この場合、所定数のDCTブロック(例、30DC
Tブロック)から構成されるバッファリングユニットご
との全データ量が、一定量を越えないように前記の再量
子化におけるステップ幅が設定される。次に、フレーミ
ング回路5において、このようなバッファリングユニッ
トを縦に複数個配置してブロック化し、更にパリティ発
生回路6においてECC(Error Correct
ion Code)である積符号構成のパリティを付加
した後、チャンネルエンコーダ7によりシリアルデータ
に変換して磁気テープ(図示せず)に記録する。
An input analog component video signal (Y, RY, BY) is converted into a digital component video signal by an A / D converter 1, and a blocking circuit 2 outputs 8 samples in the horizontal direction and 8 samples in the vertical direction.
Lines (hereinafter referred to as 8 × 8 units) are combined into one block of data, and shuffled and Y / C multiplexed. The DCT circuit 3 performs discrete cosine transform on the 8 × 8 unit data, and the time-amplitude domain data is transformed to the frequency domain data. The discrete cosine transformed data is requantized by the encoder 4, variable length coded by a two-dimensional Huffman code or the like, and data compressed. In this case, a predetermined number of DCT blocks (eg, 30DC
The step width in the requantization is set so that the total amount of data for each buffering unit composed of T blocks does not exceed a certain amount. Next, in the framing circuit 5, a plurality of such buffering units are arranged vertically to form a block, and in the parity generation circuit 6, an ECC (Error Correct) is generated.
After adding the parity of the product code structure which is an ion code), it is converted into serial data by the channel encoder 7 and recorded on a magnetic tape (not shown).

【0004】再生時は、チャンネルデコーダ8によりデ
ータ検出、シリアル/パラレル変換が行われ、ECC回
路9によりエラー訂正が行われる。エラー訂正されたデ
ータはデフレーミング回路10により可変長符号のワー
ド単位に分解され、デコーダ11により復号化、逆量子
化され、逆DCT回路12により逆離散コサイン変換さ
れて8×8単位のデータになる。このデータはデブロッ
キング回路13によりデシャフリング、Y/C分離、デ
ータ補間等が行われてディジタルコンポーネントビデオ
信号に戻され、D/A変換器14により元のアナログコ
ンポーネントビデオ信号に変換されて出力される。
During reproduction, the channel decoder 8 performs data detection and serial / parallel conversion, and the ECC circuit 9 performs error correction. The error-corrected data is decomposed into word units of variable-length code by the deframing circuit 10, decoded and dequantized by the decoder 11, and inverse discrete cosine transformed by the inverse DCT circuit 12 to obtain 8 × 8 unit data. Become. This data is deshuffled, Y / C separated, data interpolated, etc. by a deblocking circuit 13 to be returned to a digital component video signal, converted to an original analog component video signal by a D / A converter 14 and output. .

【0005】このように構成されたディジタルVTRを
ディジタル通信路に接続し、ビデオデータ等をパケット
化して送受信する通信システムが考えられている。図7
はこのような通信システムの1例を示す図であり、図8
はディジタル通信路上のデータ構造の1例を示す図であ
る。
A communication system has been considered in which the digital VTR having the above-described structure is connected to a digital communication path to packetize video data and the like for transmission and reception. Figure 7
Is a diagram showing an example of such a communication system, and FIG.
FIG. 3 is a diagram showing an example of a data structure on a digital communication path.

【0006】図7に示されているように、3台のディジ
タルVTRがディジタル通信路に接続されている。各デ
ィジタルVTRは他のディジタルVTRにビデオデータ
を送信することができる。したがって、例えば、ディジ
タルVTR1の再生ビデオデータをディジタルVTR2
又は3にダビングすることができる。
As shown in FIG. 7, three digital VTRs are connected to a digital communication path. Each digital VTR can send video data to other digital VTRs. Therefore, for example, the reproduced video data of the digital VTR1 is converted to the digital VTR2.
Or it can be dubbed to 3.

【0007】図8に示されているように、この通信シス
テムにおけるデータの伝送は、所定の周期(例、125
μs)を有する通信サイクルで行われる。通信サイクル
の始めには基準時刻情報を持ったサイクルスタートパケ
ットCPがあり、その後に各VTRのデータ送信期間が
設定されている。各VTRは自己に設定されているデー
タ送信期間に、パケット化したデータを相手のVTRに
送信する。サイクルスタートパケットCPはディジタル
通信路に接続されているVTRのいずれかが送信する。
また、各VTRのデータ送信期間はディジタル通信路に
接続されているVTRが制御信号を送受して決定する。
なお、これらの詳細は、例えば、アップル社が提案して
いるシリアルバスのマネジメント(P1394)に公開
されているので、ここではこれ以上は説明しない。
As shown in FIG. 8, data transmission in this communication system takes place at a predetermined cycle (eg, 125).
.mu.s). At the beginning of the communication cycle, there is a cycle start packet CP having reference time information, and after that, the data transmission period of each VTR is set. Each VTR transmits packetized data to the other VTR during the data transmission period set for itself. The cycle start packet CP is transmitted by any of the VTRs connected to the digital communication path.
Further, the data transmission period of each VTR is determined by the VTR connected to the digital communication path by transmitting and receiving a control signal.
Since these details are disclosed in, for example, the serial bus management (P1394) proposed by Apple Inc., they will not be described further here.

【0008】[0008]

【発明が解決しようとする課題】前記通信システムでブ
ロック単位のデータを複数のパケットに分割して伝送す
る場合、このブロックの周期と前記通信サイクルとが非
同期であると、ブロックの境界において隣接するブロッ
クのデータが同一のパケットに収容されることがある。
この点について図9を参照しながら説明する。
When the block-by-block data is divided into a plurality of packets for transmission in the communication system, if the cycle of the block and the communication cycle are asynchronous, they are adjacent to each other at the block boundary. Block data may be contained in the same packet.
This point will be described with reference to FIG.

【0009】図9において、(a)はブロックの先頭を
示すパルス、(b)はブロックのデータ、(c)は通信
サイクル及びパケットを示している。ここでは、ブロッ
クの周期は通信サイクルの6周期より長く7周期より短
い。この場合、ブロック1は先頭がパケットDP1の先
頭から収容され、順次パケットDP2,DP3・・・D
P7に収容されるが、ブロック周期が前記したように、
通信サイクルの6周期より長く7周期より短いため、7
番目のパケットDP7にはブロック1のデータとブロッ
ク2のデータが含まれることになる。
In FIG. 9, (a) shows a pulse indicating the beginning of a block, (b) shows data of the block, and (c) shows a communication cycle and a packet. Here, the block cycle is longer than 6 cycles and shorter than 7 cycles of the communication cycle. In this case, the head of the block 1 is accommodated from the head of the packet DP1, and the packets DP2, DP3, ...
It is accommodated in P7, but the block cycle is as described above.
Since it is longer than 6 cycles and shorter than 7 cycles of the communication cycle, 7
The second packet DP7 includes the data of block 1 and the data of block 2.

【0010】このように1つのパケットに2個のブロッ
クのデータが含まれてしまうと、受信側においてブロッ
ク単位にまとめ直す処理が複雑になるばかりでなく、こ
のパケットがエラーになると、ブロック1とブロック2
の両方のデータにエラーが発生したことになり、エラー
訂正の処理が複雑になる。
If two packets of data are contained in one packet in this way, not only the process of reassembling in block units on the receiving side becomes complicated, but also if this packet causes an error, block 1 Block 2
Since an error has occurred in both data, the error correction process becomes complicated.

【0011】本発明は、このような問題点を解決するた
めになされたものであり、ブロック単位のデータをパケ
ット化し、基準時刻情報及びこのブロックの周期と非同
期の通信サイクルを有する通信路を介して通信するシス
テムにおいて、同期を確立することを目的とする。
The present invention has been made in order to solve such a problem, and packetizes data in block units, and transmits the data through a communication path having a reference time information and a communication cycle asynchronous with the cycle of this block. The purpose is to establish synchronization in a system that communicates by communication.

【0012】[0012]

【課題を解決するための手段】前記課題を解決するため
に、本発明は、ブロック単位で処理される連続的なディ
ジタルデータをパケット化し、前記ブロックの周期と非
同期の通信サイクルを有する通信路を介して伝送するブ
ロックデータの同期方法において、送信側では、前記ブ
ロック若しくは前記ブロックより長い周期の同期パルス
を検出した時刻及び前記パケットを作成するのに要した
遅延時間の時刻情報を前記パケットに入れて送信し、受
信側では、前記パケットに入れられた時刻情報並びに前
記パケットをディジタルデータに戻すのに要する遅延時
に基づいて同期パルスを作成することを特徴とする。
In order to solve the above problems SUMMARY OF THE INVENTION The present invention packetizes continuous digital data processed in blocks, a communication path having a period and asynchronous communication cycle of the block a method of synchronizing block data to be transmitted over, the transmit side, the blanking
Lock or sync pulse with a longer period than the block
Was detected and the time required to create the packet
The time information of the delay time is put in the packet and transmitted, and at the receiving side, the time information put in the packet and the previous
At the time of delay required to return the packet to digital data
It is characterized in that a synchronization pulse is created based on the interval .

【0013】本発明に係るブロックデータの同期方法に
おいて、上記ブロック単位は、例えばディジタルVTR
における1トラックであり、同期パルスはフレーム同期
パルスである。
In the block data synchronizing method according to the present invention, the block unit is, for example, a digital VTR.
, And the sync pulse is a frame sync pulse.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0015】図1は本発明を適用するディジタルVTR
のダビングシステムを示すブロック図である。ここで
は、図1の下段のディジタルVTR(以下、再生機とい
う)の再生データを上段のディジタルVTR(以下、記
録機という)にダビングするように構成されている。こ
れを行うために、再生機側ではデフレーミング回路10
の出力がダビング用エラー処理回路15へ供給され、エ
ラー処理を行った後フレーミング回路5へ入力される。
フレーミング回路5で再びブロック化されたデータは送
信インタフェース16へ送られ、ここでパケット化さ
れ、パケット通信路18を介して記録機へ出力される。
なお、ダビング用エラー処理回路15はECC回路9で
訂正できなかったエラーを所定のエラーコードに置き換
えている。
FIG. 1 shows a digital VTR to which the present invention is applied.
3 is a block diagram showing the dubbing system of FIG. Here, the reproduction data of the lower digital VTR (hereinafter referred to as a reproducing device) in FIG. 1 is configured to be dubbed to the upper digital VTR (hereinafter referred to as a recording device). In order to do this, the deframing circuit 10 is used on the player side.
Is supplied to the dubbing error processing circuit 15, and after being subjected to error processing, is input to the framing circuit 5.
The data again blocked by the framing circuit 5 is sent to the transmission interface 16, where it is packetized and output to the recorder via the packet communication path 18.
The dubbing error processing circuit 15 replaces an error that cannot be corrected by the ECC circuit 9 with a predetermined error code.

【0016】一方、記録機側では、再生機からのデータ
は、受信インタフェース17を介してデフレーミング回
路10、ダビング用エラー処理回路15へ供給され、エ
ラー処理を行った後、フレーミング回路5へ入力され、
ここで再びブロック化されたデータはパリティ発生回路
6に入力され、新たにパリティ等を付加され、チャンネ
ルエンコーダ7を経て磁気テープに記録される。なお、
ダビング用エラー処理回路15は伝送路上で発生したエ
ラーで受信インターフェース17で訂正できなかったエ
ラーを所定のエラーコードに置き換えている。
On the other hand, on the recording device side, the data from the reproducing device is supplied to the deframing circuit 10 and the dubbing error processing circuit 15 via the reception interface 17, and after being subjected to error processing, input to the framing circuit 5. Is
Here, the block-shaped data is again input to the parity generation circuit 6, is newly added with parity and the like, and is recorded on the magnetic tape via the channel encoder 7. In addition,
The dubbing error processing circuit 15 replaces an error that cannot be corrected by the reception interface 17 due to an error that has occurred on the transmission line with a predetermined error code.

【0017】図2は送信インタフェース及び受信インタ
フェースの構成を示すブロック図である。送信インタフ
ェースは、フレーミング回路5から出力された送信デー
タを入力し、パケットエンコーダ26へ出力する第1の
FIFO21、この第1のFIFO21の書込みコント
ロール部22及び読出コントロール部23、ラッチ2
4、加算器25、パケットエンコーダ26を備えてい
る。パケットエンコーダ26は通信タイミング発生部と
時計レジスタを内蔵している。通信タイミング発生部
は、通信クロック及び125μs間隔の周期を持つサイ
クルパルスを発生する。また、時計レジスタは前記通信
クロックをカウントして時刻情報を発生する。この時刻
情報はサイクルスタートパケットが持っている基準時刻
情報により125μsごとに較正される。
FIG. 2 is a block diagram showing the structure of the transmission interface and the reception interface. The transmission interface inputs the transmission data output from the framing circuit 5 and outputs it to the packet encoder 26, the write control unit 22 and the read control unit 23 of the first FIFO 21, and the latch 2.
4, an adder 25, and a packet encoder 26. The packet encoder 26 has a communication timing generator and a clock register built-in. The communication timing generator generates a communication clock and a cycle pulse having a cycle of 125 μs intervals. The clock register counts the communication clock to generate time information. This time information is calibrated every 125 μs by the reference time information held by the cycle start packet.

【0018】書込みコントロール部22には、VTRの
各記録トラックの先頭のタイミングを示すトラックパル
スとVTRの内部クロックが入力され、これらに基づい
て第1のFIFO21の書込み動作を制御する。また、
読出コントロール23に各トラックの最後のデータのタ
イミングを示すパルスpを供給する。読出コントロール
部23には、トラックパルスとトラックの最後のデータ
のタイミングパルスpとサイクルパルスと通信クロック
が入力され、これらに基づいて第1のFIFO21の読
出み動作を制御する。また、パケットエンコーダ26に
トラックの先頭を示す情報、トラック番号、ビデオデー
タ長、空パケット等を示す情報qを供給し、加算器25
へ第1のFIFO21における遅延時間を供給する。ラ
ッチ24にはフレーム同期パルスが入力され、この立ち
上がりのタイミングにおける時計レジスタの値をサンプ
リング及びホールドする。加算器24は読出コントロー
ル部23が出力した第1のFIFO21における遅延時
間とラッチ24に記憶されている時刻情報を加算し、パ
ケットエンコーダ26へ供給する。パケットエンコーダ
26は、第1のFIFO21から読み出されたビデオデ
ータにデータ長、前記時刻情報等を含むヘッダと誤り訂
正符号を付加してパケット通信路18へ送出する。
The write control section 22 receives a track pulse indicating the timing of the beginning of each recording track of the VTR and the internal clock of the VTR, and controls the write operation of the first FIFO 21 based on these. Also,
The read control 23 is supplied with a pulse p indicating the timing of the last data of each track. The read pulse is input to the read control unit 23, the timing pulse p of the last data of the track, the cycle pulse, and the communication clock, and the read operation of the first FIFO 21 is controlled based on these. Also, the packet encoder 26 is supplied with information indicating the beginning of the track, track number, video data length, information q indicating an empty packet, etc.
The delay time in the first FIFO 21 is supplied to. A frame sync pulse is input to the latch 24, and the value of the clock register at this rising timing is sampled and held. The adder 24 adds the delay time in the first FIFO 21 output by the read control unit 23 and the time information stored in the latch 24, and supplies it to the packet encoder 26. The packet encoder 26 adds a header including a data length, the time information and the like and an error correction code to the video data read from the first FIFO 21 and sends the video data to the packet communication path 18.

【0019】受信インタフェースでは、パケット通信路
18から受信されたパケットがパケットデコーダ27へ
入力される。パケットデコーダ27はパケットをデコー
ドし、ビデオデータを第2のFIFO28へ、ヘッダ内
のデータ長r等を書込みコントロール部29へ、時刻情
報を加算器31へ供給する。また、パケットデコーダ2
7は、パケットエンコーダ26と同様に通信タイミング
発生部と時計レジスタを内蔵している。
At the receiving interface, the packet received from the packet communication path 18 is input to the packet decoder 27. The packet decoder 27 decodes the packet and supplies the video data to the second FIFO 28, the data length r etc. in the header to the write control unit 29, and the time information to the adder 31. Also, the packet decoder 2
7 includes a communication timing generator and a clock register, like the packet encoder 26.

【0020】第2のFIFO28はパケットデコーダ2
7から供給されるビデオデータを図1のデフレーミング
回路10へ供給する。書込みコントロール部29には、
通信クロックとサイクルパルスとデータ長情報等が入力
され、これらに基づいて第2のFIFO28の読出み動
作を制御する。読出コントロール部30には、トラック
パルスとVTRの内部クロックが入力され、これらに基
づいて第2のFIFO28の書込み動作を制御する。加
算器31にはレジスタ32に格納されている第2のFI
FO28における遅延時間が読み出され、ここで前記時
刻情報に加算され、この加算された時刻情報がラッチ3
3に記憶される。ラッチ33の出力はコンパレータ34
において時計レジスタの現在時刻情報と比較され、それ
が一致したタイミングでコンパレータ34がフレーム同
期パルスを出力し、タイミング発生部40へ供給する。
タイミング発生部40はトラックパルスと内部クロック
を読出コントロール部30へ供給する。
The second FIFO 28 is the packet decoder 2
The video data supplied from 7 is supplied to the deframing circuit 10 of FIG. The writing control unit 29 has
A communication clock, a cycle pulse, data length information, etc. are input, and the read operation of the second FIFO 28 is controlled based on these. The track pulse and the internal clock of the VTR are input to the read control unit 30, and the write operation of the second FIFO 28 is controlled based on these. The second FI stored in the register 32 is added to the adder 31.
The delay time in the FO 28 is read out, added to the time information here, and the added time information is latched by the latch 3
3 is stored. The output of the latch 33 is the comparator 34
Is compared with the current time information of the clock register, the comparator 34 outputs a frame synchronization pulse at the timing when the current time information matches, and supplies the frame synchronization pulse to the timing generation unit 40.
The timing generator 40 supplies the track pulse and the internal clock to the read controller 30.

【0021】以下、図3〜図5のタイミングチャートを
参照しながら送信インタフェース及び受信インタフェー
スの動作を説明する。まず、図3は1フレームのビデオ
データの送信及び受信タイミングを示す図である。ここ
で、1フレームは10本のトラックT1,T2,・・・
T10に分割されている。また、ビデオデータはトラッ
ク単位で処理される(すなわち、1トラック=1ブロッ
クである)。
The operations of the transmission interface and the reception interface will be described below with reference to the timing charts of FIGS. First, FIG. 3 is a diagram showing transmission and reception timings of one frame of video data. Here, one frame has ten tracks T1, T2, ...
It is divided into T10. Further, the video data is processed in track units (that is, 1 track = 1 block).

【0022】(a)はフレーム同期パルスとトラックパ
ルスを示す。フレーム同期パルスの間隔は1/30sで
あり、トラックパルスの間隔は3.33msである。
(b)はトラックT1,T2,・・・T10のデータの
タイミングを示す。(c)はサイクルパルスを示す。サ
イクルパルスの間隔は125μsである。
(A) shows a frame sync pulse and a track pulse. The frame sync pulse interval is 1/30 s, and the track pulse interval is 3.33 ms.
(B) shows the data timing of the tracks T1, T2, ... T10. (C) shows a cycle pulse. The cycle pulse interval is 125 μs.

【0023】(d)〜(i)はフレーム同期パルスの付
近の時間軸を拡大した図であり、(d)はフレーム同期
パルス、(e)はトラックT1のビデオデータ、(f)
はサイクルパルス、(g)はパケットを示す。(d)と
(f)に示されているように、フレーム同期パルス及び
トラックパルスとサイクルパルスとは同期していない。
また、1トラックの周期はほぼ26.7通信サイクルで
ある。
(D) to (i) are enlarged views of the time axis near the frame sync pulse, (d) is the frame sync pulse, (e) is the video data of the track T1, and (f) is the video data.
Indicates a cycle pulse, and (g) indicates a packet. As shown in (d) and (f), the frame sync pulse and the track pulse are not synchronized with the cycle pulse.
The cycle of one track is approximately 26.7 communication cycles.

【0024】図2及び図3(d)〜(g)において、ト
ラックT1のビデオデータは、時刻t1から第1のFI
FO21に書き込まれる。第1のFIFO21に書き込
まれたビデオデータは、時間tf1遅延したサイクルパ
ルスのタイミングで読み出され、パケットエンコーダ2
6へ供給される。この時、フレーム同期パルスのタイミ
ングでパケットエンコーダ26内の時計レジスタの値t
1をラッチ24に格納し、読出コントロール部23から
出力される前記遅延時間tf1と加算器25で加算し、
パケットエンコーダ26へ供給する。
In FIGS. 2 and 3D to 3G, the video data of the track T1 is the first FI from the time t1.
Written to FO21. The video data written in the first FIFO 21 is read out at the timing of the cycle pulse delayed by the time tf1, and the packet encoder 2
6 is supplied. At this time, the value t of the clock register in the packet encoder 26 at the timing of the frame synchronization pulse
1 is stored in the latch 24, and the delay time tf1 output from the read control unit 23 is added by the adder 25,
It is supplied to the packet encoder 26.

【0025】パケットエンコーダ26は第1のFIFO
21から読み出されたトラックT1のビデオデータにヘ
ッダとパリティを付加してパケットDP1を作成し、パ
ケット通信路18へ送出する。このヘッダには、データ
を送信する相手の機器(したがって、この場合は記録
機)のアドレス、前記時刻情報t1+tf1、データの
長さ、トラック番号、トラックの先頭のパケットを示す
情報等を入れる。また、パリティはCRCコードを用い
る。
The packet encoder 26 is a first FIFO
A header and a parity are added to the video data of the track T1 read from 21 to create a packet DP1 and the packet DP1 is sent to the packet communication path 18. In this header, the address of the device to which the data is transmitted (hence the recorder in this case), the time information t1 + tf1, the length of the data, the track number, the information indicating the packet at the beginning of the track, and the like are entered. A CRC code is used as the parity.

【0026】パケット通信路18を介して記録機へ入力
されたパケットDP1は、パケットデコーダ27により
デコードされる。そして、ビデオデータは書込みコント
ロール部29の制御により、第2のFIFO28へ書き
込まれる。また、ヘッダに含まれているトラックの先頭
やパケット長を表す情報rは書込みコントロール部9へ
供給され、ビデオデータの書込み制御に用いられる。そ
して、ヘッダに含まれている時刻情報t1+tf1は加
算器31へ供給される。
The packet DP1 input to the recorder via the packet communication path 18 is decoded by the packet decoder 27. Then, the video data is written to the second FIFO 28 under the control of the write control unit 29. Further, the information r indicating the head of the track and the packet length included in the header is supplied to the write control unit 9 and used for the write control of the video data. Then, the time information t1 + tf1 included in the header is supplied to the adder 31.

【0027】加算器31によりこの時刻情報t1+tf
1とレジスタ32に保持されている第2のFIFO28
における遅延時間tf2が加算され、ラッチ33に記憶
される。ラッチ33の出力である時刻情報t1+tf1
+tf2とパケットデコーダ内の時計レジスタの時刻情
報が比較され、一致したタイミングで図3(h)のフレ
ーム同期パルスが出力される。
This time information t1 + tf is added by the adder 31.
1 and the second FIFO 28 held in the register 32
The delay time tf2 at is added and stored in the latch 33. Time information t1 + tf1 output from the latch 33
+ Tf2 is compared with the time information of the clock register in the packet decoder, and the frame synchronization pulse of FIG. 3 (h) is output at the coincident timing.

【0028】同様にして、トラックT1のビデオデータ
は、順次パケットDP2,DP3,・・・のパケットに
収容され、パケット通信路18へ送出される。以後、ト
ラックT2,T3,・・・T10まで順次送出される。
そして、次のフレーム同期パルスのタイミングで時刻情
報t2がラッチ24に記憶され、同様の処理が行われ
る。
Similarly, the video data of the track T1 is sequentially accommodated in packets DP2, DP3, ... And sent to the packet communication path 18. After that, the tracks T2, T3, ... T10 are sequentially transmitted.
Then, the time information t2 is stored in the latch 24 at the timing of the next frame synchronization pulse, and the same processing is performed.

【0029】図3(j),(k)は、受信側のタイミン
グを示す図である。ここで、(j)のトラックパルスは
(h)のフレームパルスのタイミングから3.33ms
ごとに発生させている(例えば、トラックT2のトラッ
クパルスは時刻t1+tf1+tf2+3.33m
s)。
FIGS. 3 (j) and 3 (k) are timing charts on the receiving side. Here, the track pulse of (j) is 3.33 ms from the timing of the frame pulse of (h).
(For example, the track pulse of the track T2 is time t1 + tf1 + tf2 + 3.33 m).
s).

【0030】なお、以上の説明において、パケットエン
コーダ26における処理時間、パケット通信路18の伝
送遅延時間、パケットデコーダ27における処理時間は
無視している。
In the above description, the processing time in the packet encoder 26, the transmission delay time in the packet communication path 18, and the processing time in the packet decoder 27 are ignored.

【0031】図4はトラックが切り換わる部分における
処理を示すタイミングチャートである。ここで、
(a),(a’)はトラックパルス、(b),(b’)
はトラックT1,T2のビデオデータ、(c),
(c’)はパケットを示す。
FIG. 4 is a timing chart showing the processing in the portion where the tracks are switched. here,
(A) and (a ') are track pulses, (b) and (b')
Is video data of tracks T1 and T2, (c),
(C ') shows a packet.

【0032】前記したように、トラックT1のビデオデ
ータが順次パケットDP1,DP2,DP3,・・・D
P26に収容される。いま、トラックT1の最後のデー
タのタイミングとこのデータが収容されているパケット
DP26の後端B1のタイミングとの差をbとする。な
お、トラックT1の最後のデータのタイミングは、トラ
ックT1の最後の位置にデータが記録されている場合
(例、各トラックにデータが連続的に記録されている場
合)は、トラックT2のトラックパルスのタイミングA
1の1クロック前になり、トラックT1の最後の位置に
データが記録されていない場合(例、各トラックにデー
タが間欠的に記録されている場合)は、間欠的なデータ
の後端のタイミングである。ここでは、簡単のため、ト
ラックT1の最後の位置にデータが記録されている場合
を図示した。トラックT2のデータをこのパケットDP
26の次のパケットDP1からDP26で伝送しようと
すると、(b’),(c’)に示されているように、ト
ラックTの最後のデータのタイミング(A2の1クロッ
ク前)はパケットDP26の後端のタイミングB2より
も、a−b進んでしまうので、このパケットDP26に
収容できなくなる。なお、aは1トラック期間(3.3
3ms)と26通信サイクル(26×125μs)との
差(80μs≒0.7サイクル)である。
As described above, the video data of the track T1 is sequentially transferred to the packets DP1, DP2, DP3, ... D.
Housed on P26. Now, let us say that the difference between the timing of the last data of the track T1 and the timing of the rear end B1 of the packet DP26 in which this data is accommodated is b. The timing of the last data of the track T1 is the track pulse of the track T2 when the data is recorded at the last position of the track T1 (for example, when the data is continuously recorded in each track). Timing A
1 clock before 1 and no data is recorded at the last position of the track T1 (eg, when data is intermittently recorded on each track), the timing of the trailing end of the intermittent data Is. Here, for simplicity, the case where data is recorded at the last position of the track T1 is shown. The data of the track T2 is transferred to this packet DP
When the packets DP1 to DP26 next to the packet 26 are to be transmitted, the timing of the last data of the track T (one clock before A2) of the packet DP26 is as shown in (b ′) and (c ′). Since it advances ab from the rear end timing B2, it cannot be accommodated in this packet DP26. Note that a is one track period (3.3
3 ms) and 26 communication cycles (26 × 125 μs) (80 μs≈0.7 cycle).

【0033】そこで、この実施例では、図5に示されて
いるように、読出コントロール部23において、B1の
タイミングとA1のタイミングからa遅れたタイミング
C1とを比較し、B1がC1より早い、すなわちb<a
であれば、DP26の次に空のパケットを挿入する。そ
して、空のパケットの次のパケットDP1からトラック
T2のデータを収容する。この結果、トラックT1のデ
ータの収容するパケットDP1からトラックT2のデー
タの収容するパケットDP1までは、27通信サイクル
になり、トラックT2の最後のデータのタイミングはパ
ケットDP26の後端のタイミングより相対的に45μ
s(125μs−80μs)進む。以上の処理をトラッ
クが切り換わるごとに繰り返すと、ほぼ3トラックごと
の2トラックに空のパケットを挿入し、1トラックには
挿入しないようになる。図5(a’),(b’),
(c’)は、トラックTnとトラックTn+1の切り換
わる時にb≧aになり、空のパケットを挿入しない場合
を示している。
Therefore, in this embodiment, as shown in FIG. 5, in the read control section 23, the timing of B1 is compared with the timing C1 delayed by a from the timing of A1, and B1 is earlier than C1. That is, b <a
If so, an empty packet is inserted after the DP 26. Then, the data of the track T2 from the packet DP1 next to the empty packet is accommodated. As a result, there are 27 communication cycles from the packet DP1 containing the data of the track T1 to the packet DP1 containing the data of the track T2, and the timing of the last data of the track T2 is relative to the timing of the rear end of the packet DP26. 45μ
s (125 μs-80 μs). When the above processing is repeated every time the tracks are switched, empty packets are inserted into 2 tracks of almost every 3 tracks and not inserted into 1 track. 5 (a '), (b'),
(C ′) shows a case where b ≧ a when switching between the track Tn and the track Tn + 1, and an empty packet is not inserted.

【0034】次に、本実施例においてフレーム同期パル
スの確立に時刻情報t1+tf1を用いることの意義を
説明する。図4及び図5を参照しながら説明したよう
に、本実施例では、所定のトラックのビデオデータを先
頭部分を収容するデータパケットDPIから次のトラッ
クのビデオデータを先頭部分を収容するデータパケット
DP1の先端までは、26通信サイクルの場合は27通
信サイクルの場合とがある。これは、1フレーム、すな
わち10トラック単位で見ると、266通信サイクルの
場合と267通信サイクルの場合がある。したがって、
フレームの先頭、すなわちトラックT1のデータパケッ
トDP1をサイクルパルスのタイミングに基づいてフレ
ーム同期パルスを確立すると、フレーム同期パルスの間
隔が正規の間隔(266.6666・・・・・×通信サ
イクル)からずれてしまうことになる。
Next, the significance of using the time information t1 + tf1 to establish the frame synchronization pulse in this embodiment will be described. As described with reference to FIG. 4 and FIG. 5, in the present embodiment, from the data packet DPI containing the beginning portion of the video data of the predetermined track to the data packet DP1 containing the beginning portion of the video data of the next track. Up to the leading end of, there are cases where there are 26 communication cycles and cases where there are 27 communication cycles. This can be 266 communication cycles or 267 communication cycles when viewed in units of one frame, that is, 10 tracks. Therefore,
When the frame sync pulse is established based on the timing of the cycle pulse at the head of the frame, that is, the data packet DP1 of the track T1, the interval of the frame sync pulse deviates from the regular interval (2666.6666 ... × Communication cycle). Will be lost.

【0035】そこで、前記したようにフレーム同期パル
スの時刻t1にパケット化に要する遅延時間tf1を加
算して記録機へ送る。記録機では、この時刻情報t1+
tf1に第2のFIFO28における遅延時間tf2を
加算し、125μsごとにサイクルスタートパケットの
基準時刻情報により較正される時計レジスタの値と比較
し、一致した時にフレーム同期パルスを出力するように
構成している。
Therefore, as described above, the delay time tf1 required for packetization is added to the time t1 of the frame synchronization pulse and the result is sent to the recorder. In the recorder, this time information t1 +
The delay time tf2 in the second FIFO 28 is added to tf1 and compared with the value of the clock register calibrated by the reference time information of the cycle start packet every 125 μs, and the frame sync pulse is output when they match. There is.

【0036】このようにすれば、送信側でフレーム同期
パルスを検出した時刻(例、t1)から送信側において
パケットを作成するのに要する遅延時間(例、tf1)
と受信側においてパケットをビデオデーに戻すのに要す
る遅延時間(例、tf2)が経過した後に正確にフレー
ム同期パルスが作成されるので、受信側で作成するフレ
ーム同期パルスの間隔は、送信側のフレーム同期パルス
の間隔に一致する。
In this way, the delay time (eg, tf1) required to create a packet on the transmitting side from the time (eg, t1) when the frame synchronization pulse is detected on the transmitting side.
Since the frame sync pulse is accurately created after the delay time (eg, tf2) required to return the packet to video data on the receive side, the interval of the frame sync pulse created on the receive side is Matches the frame sync pulse interval.

【0037】なお、以上の説明では、圧縮されているビ
デオデータをパケット化して送信すしているが、再生機
のデブッロッキング回路13から出力された非圧縮のデ
ィジタルコンポーネントビデオ信号を送信インタフェー
スによりパケット化し、記録機の受信インタフェースに
よりディジタルコンポーネントビデオ信号に戻してブロ
ッキング回路2へ供給するように構成してもよい。
Although the compressed video data is packetized and transmitted in the above description, the uncompressed digital component video signal output from the deblocking circuit 13 of the player is packetized by the transmission interface. The digital component video signal may be returned to the blocking circuit 2 by the receiving interface of the recorder.

【0038】また、送信側でパケットのヘッダに入れる
時刻情報は、前記の時刻情報よりも一定時間遅れた時刻
(トラックT1の場合、t1+tf1+一定時間)であ
ってもよい。この場合は、受信側でコンパレータからト
ラックT1のフレーム同期パルスが出力される時刻がt
1+tf1+tf2+一定時間になる。
Further, the time information put in the header of the packet on the transmission side may be a time (t1 + tf1 + constant time in the case of the track T1) delayed by a fixed time from the time information. In this case, the time when the frame sync pulse of the track T1 is output from the comparator on the receiving side is t
1 + tf1 + tf2 + constant time.

【0039】そして、前記実施例では空のパケットを送
るものとしてし説明したが、この通信サイクルにパケッ
トを送らないようにしてもよい。
In the above embodiment, the empty packet is sent, but the packet may not be sent in this communication cycle.

【0040】また、各トラックのデータは、ビデオデー
タ以外のデータやビデオデータにオーディオデータやサ
ブコードデータが多重されているデータでも本発明を適
用することができる。そして、各トラックのデータはト
ラック内に間欠的に記録されていてもよい。
Further, the present invention can be applied to the data of each track even when the data other than the video data or the data in which the audio data and the sub-code data are multiplexed. The data of each track may be intermittently recorded in the track.

【0041】さらに、ブロックを1トラックよりも小さ
い単位又は大きい単位に設定することもできる。
Further, the block can be set in a unit smaller or larger than one track.

【0042】そして、前記実施例は、ブロックが1トラ
ックであり、かつフレーム同期を確立するものである
が、トラックの同期やフィールド同期、あるいは複数フ
レーム周期の同期等、ブロックの周期よりも長い周期の
同期を確立する場合にも、本発明を適用することができ
る。
In the above embodiment, the block is one track and frame synchronization is established. However, a cycle longer than the block cycle, such as track synchronization, field synchronization, or synchronization of a plurality of frames. The present invention can also be applied to the case of establishing synchronization of.

【0043】[0043]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、ブロック単位のデータをこのブロックの周期と
非同期の通信サイクルを有する通信路を介して通信する
システムにおいて、同期を確立することができる。
As described above in detail, according to the present invention, synchronization is established in a system for communicating block-unit data through a communication path having a communication cycle asynchronous with the cycle of this block. be able to.

【0044】[0044]

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

【図1】本発明を適用するディジタルVTRのダビング
システムを示すブロック図である。
FIG. 1 is a block diagram showing a dubbing system of a digital VTR to which the present invention is applied.

【図2】送信インタフェース及び受信インタフェースの
構成を示すブロック図である。
FIG. 2 is a block diagram showing configurations of a transmission interface and a reception interface.

【図3】1フレームのビデオデータの送信及び受信タイ
ミングを示す図である。
FIG. 3 is a diagram showing transmission and reception timings of 1-frame video data.

【図4】トラックが切り換わる部分における処理を示す
タイミングチャートである。
FIG. 4 is a timing chart showing processing in a portion where tracks are switched.

【図5】空のパケットを入れる場合の処理を示すタイミ
ングチャートである。
FIG. 5 is a timing chart showing a process for inserting an empty packet.

【図6】従来のディジタルVTRの構成の1例を示すブ
ロック図である。
FIG. 6 is a block diagram showing an example of a configuration of a conventional digital VTR.

【図7】ディジタルVTRディジタル通信路に接続し、
ビデオデータをパケット化して送受信する通信システム
の1例を示す図である。
FIG. 7: Connected to a digital VTR digital communication path,
It is a figure which shows an example of the communication system which packetizes and transmits video data.

【図8】図7の通信システムにおけるディジタル通信路
上のデータ構造の1例を示す図である。
8 is a diagram showing an example of a data structure on a digital communication path in the communication system of FIG.

【図9】ブロックの境界において隣接するブロックのデ
ータが同一のパケットに収容されることを説明するタイ
ミングチャートである。
FIG. 9 is a timing chart for explaining that data of blocks adjacent to each other at a block boundary is accommodated in the same packet.

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

16 送信インタフェース、17 受信インタフェー
ス、18 パケット通信路、26 パケットエンコー
ダ、27 パケットデコーダ
16 sending interface, 17 receiving interface, 18 packet communication path, 26 packet encoder, 27 packet decoder

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H04L 12/56 H04L 12/56 D H04N 5/92 H04N 5/92 H (72)発明者 小嶋 隆嗣 東京都品川区北品川6丁目7番35号 ソ ニー株式会社内 (56)参考文献 特開 平5−37560(JP,A) 特開 平3−6150(JP,A) 特開 昭63−302388(JP,A) 特開 平5−47108(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 7/04 G11B 20/10 G11B 20/14 351 H04J 3/00 H04L 12/28 200 H04L 12/56 H04N 5/92 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI H04L 12/56 H04L 12/56 D H04N 5/92 H04N 5/92 H (72) Inventor Takatsugu Kojima 6 Kita-Shinagawa, Shinagawa-ku, Tokyo No. 7-35, Sony Corporation (56) Reference JP-A-5-37560 (JP, A) JP-A-3-6150 (JP, A) JP-A-63-302388 (JP, A) JP 5-47108 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 7/04 G11B 20/10 G11B 20/14 351 H04J 3/00 H04L 12/28 200 H04L 12 / 56 H04N 5/92

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ブロック単位で処理される連続的なディジ
タルデータをパケット化し、前記ブロックの周期と非同
期の通信サイクルを有する通信路を介して伝送するブロ
ックデータの同期方法において、送信側では、前記ブロ
ック若しくは前記ブロックより長い周期の同期パルスを
検出した時刻及び前記パケットを作成するのに要した遅
延時間の時刻情報を前記パケットに入れて送信し、受信
側では、前記パケットに入れられた時刻情報並びに前記
パケットをディジタルデータに戻すのに要する遅延時間
に基づいて同期パルスを作成することを特徴とするブロ
ックデータの同期方法。
1. A continuous digital data processed in units of blocks into packets, the synchronization method of the block data to be transmitted through a communication channel having a period and asynchronous communication cycle of the block, on the transmission side, the Bro
Or a sync pulse with a longer cycle than the block
The time of detection and the delay required to create the packet
The time information of the extended time and sent in the packet, the receiving side, the time information and the placed in the packet
A method for synchronizing block data, characterized in that a synchronization pulse is created based on a delay time required to return a packet to digital data .
【請求項2】ブロック単位がディジタルビデオテープレ
コーダの1トラックであり、同期パルスがフレーム同期
パルスであることを特徴とする請求項1に記載のブロッ
クデータの同期方法。
2. The block data synchronizing method according to claim 1, wherein the block unit is one track of a digital video tape recorder, and the synchronizing pulse is a frame synchronizing pulse.
JP2001331325A 2001-10-29 2001-10-29 How to synchronize block data Expired - Lifetime JP3528831B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001331325A JP3528831B2 (en) 2001-10-29 2001-10-29 How to synchronize block data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001331325A JP3528831B2 (en) 2001-10-29 2001-10-29 How to synchronize block data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP15623293A Division JP3438259B2 (en) 1993-06-02 1993-06-02 Block data transmission method and block data transmission device

Publications (2)

Publication Number Publication Date
JP2002208918A JP2002208918A (en) 2002-07-26
JP3528831B2 true JP3528831B2 (en) 2004-05-24

Family

ID=19146926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001331325A Expired - Lifetime JP3528831B2 (en) 2001-10-29 2001-10-29 How to synchronize block data

Country Status (1)

Country Link
JP (1) JP3528831B2 (en)

Also Published As

Publication number Publication date
JP2002208918A (en) 2002-07-26

Similar Documents

Publication Publication Date Title
US5781599A (en) Packet receiving device
JP4527135B2 (en) Method of transferring audio / video / data via system bus
US5689507A (en) Signal processing system
US6055247A (en) Data transmission method, data transmission apparatus and data transmission system
JP4568777B2 (en) Bus interface device used in consumer digital devices
US5953483A (en) Apparatus for recording and reproducing an information signal comprising packets that may occur irregularly as a function of time in a serial datastream of the information signal, and a record carrier carrying the information signal
JP3149328B2 (en) Transmitter and receiver
US20030219038A1 (en) Recording and producing an MPEG information signal on/from a record carrier
US5721738A (en) Data transmission method, system, and apparatus
JPH06165105A (en) Method for dubbing digital video signal
JP3810918B2 (en) Multimedia data relay apparatus and method
US5953489A (en) Transport bit stream recording/reproducing apparatus and method
US6366630B1 (en) Apparatus with digital interface and digital interfacing method
JP3438259B2 (en) Block data transmission method and block data transmission device
JP3528831B2 (en) How to synchronize block data
JPH07327032A (en) Transmitter and receiver
EP0853431B1 (en) Signal processing apparatus
JPH1075413A (en) Data transmission system
JP3578156B2 (en) Packet receiver
JPH1153832A (en) Transmission device, reception device and data processor
JPH0936866A (en) Data transmission system and data transmission method
JP2000307618A (en) Data transmission system, transmission device and reception device, and method thereof
JP2000152187A (en) Synchronization detector, its method and reproducing device
JPH07282535A (en) Recording or reproducing device
JPH0936865A (en) Data transmission method and its device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040109

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: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040216

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

Free format text: PAYMENT UNTIL: 20080305

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100305

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100305

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110305

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120305

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120305

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140305

Year of fee payment: 10

EXPY Cancellation because of completion of term