JPH10285241A - Signal processing circuit - Google Patents

Signal processing circuit

Info

Publication number
JPH10285241A
JPH10285241A JP9083136A JP8313697A JPH10285241A JP H10285241 A JPH10285241 A JP H10285241A JP 9083136 A JP9083136 A JP 9083136A JP 8313697 A JP8313697 A JP 8313697A JP H10285241 A JPH10285241 A JP H10285241A
Authority
JP
Japan
Prior art keywords
data
packet
control
transmission
processing circuit
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.)
Granted
Application number
JP9083136A
Other languages
Japanese (ja)
Other versions
JP3799726B2 (en
Inventor
Takayasu Muto
隆保 武藤
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 JP08313697A priority Critical patent/JP3799726B2/en
Priority to TW087104401A priority patent/TW367678B/en
Priority to NL1008768A priority patent/NL1008768C2/en
Priority to FR9804034A priority patent/FR2762172B1/en
Priority to KR1019980011404A priority patent/KR19980080968A/en
Publication of JPH10285241A publication Critical patent/JPH10285241A/en
Application granted granted Critical
Publication of JP3799726B2 publication Critical patent/JP3799726B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40—Bus networks
    • H04L12/40052—High-speed IEEE 1394 serial bus
    • H04L12/40058—Isochronous transmission
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44—Star or tree networks
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40—Bus networks
    • H04L12/40006—Architecture of a communication node
    • H04L12/40032—Details regarding a bus interface enhancer
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40—Bus networks
    • H04L12/40052—High-speed IEEE 1394 serial bus
    • H04L12/40071—Packet processing; Packet format
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40—Bus networks
    • H04L12/40052—High-speed IEEE 1394 serial bus
    • H04L12/40117—Interconnection of audio or video/imaging devices
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00—Data switching networks
    • H04L12/64—Hybrid switching systems
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2381—Adapting the multiplex stream to a specific network, e.g. an Internet Protocol [IP] network
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4381—Recovering the multiplex stream from a specific network, e.g. recovering MPEG packets from ATM cells

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Information Transfer Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

(57)【要約】 【課題】制御用パケットを通常のトランスポートストリ
ームに挿入して送信することができる信号処理回路を提
供する。 【解決手段】アシンクロナス通信系の記憶装置として制
御パケット用FIFO104cを設け、CPU30から
任意に制御データを設定して、CPU30の制御の下、
送信前処理回路106および送信後処理回路107によ
り通常MPEGトランスポートストリームの間に制御用
パケットを挿入するように構成する。これにより、任意
に通常のトランスポートストリームからなるパケットの
他に制御用のパケットをアイソクロナスパケットとして
送信することができる。
(57) Abstract: A signal processing circuit capable of inserting a control packet into a normal transport stream and transmitting the same. A control packet FIFO (104c) is provided as a storage device of an asynchronous communication system, control data is arbitrarily set from a CPU (30), and under control of the CPU (30).
The pre-transmission processing circuit 106 and the post-transmission processing circuit 107 are configured to insert control packets between normal MPEG transport streams. As a result, a control packet can be arbitrarily transmitted as an isochronous packet in addition to a packet composed of a normal transport stream.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタルシリア
ルインターフェースに用いられる信号処理回路に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing circuit used for a digital serial interface.

【0002】[0002]

【従来の技術】近年、マルチメディア・データ転送のた
めのインターフェースとして、高速データ転送、リアル
タイム転送を実現するIEEE(The Institute of Ele
ctrical and Electronic Engineers) 1394、Hig
h PerformanceSirial Busが規
格化された。
2. Description of the Related Art In recent years, as an interface for multimedia data transfer, the IEEE (The Institute of Ele) has realized high-speed data transfer and real-time transfer.
ctrical and Electronic Engineers) 1394, Hig
hPerformanceSerial Bus has been standardized.

【0003】このIEEE1394シリアルインタフェ
ースのデータ転送には、従来のRequest,Acknoledgeの要
求、受信確認を行うアシンクロナス(Asynchronous) 転
送と、あるノードから125μsに1回必ずデータが送
られるアイソクロナス(Isochronous) 転送がある。
The data transfer of the IEEE 1394 serial interface includes a conventional request of request and acknowledge, a conventional asynchronous transfer for confirming reception, and an isochronous transfer in which data is always transmitted from a certain node once every 125 μs. is there.

【0004】このように、2つの転送モードを有するI
EEE1394シリアルインタフェースでのデータは、
パケット単位で転送が行われる。
As described above, an I having two transfer modes
The data in the EEE1394 serial interface is
Transfer is performed in packet units.

【0005】図3は、アイソクロナス通信における1ソ
ースパケットのバイトサイズを示す図である。図3
(A)はDVB(Digital Video Broadcast) 仕様時、図
3(B)はDSS(Digital Satelite System) 仕様時の
パケットサイズを示している。
FIG. 3 is a diagram showing the byte size of one source packet in isochronous communication. FIG.
FIG. 3A shows the packet size under DVB (Digital Video Broadcast) specifications, and FIG. 3B shows the packet size under DSS (Digital Satelite System) specifications.

【0006】DVB仕様時のソースパケットサイズは、
図3(A)に示すように、4バイトのソースパケットヘ
ッダ(SPH;Source Packet Header)と188バイト
のデータの192バイトである。
[0006] The source packet size in the DVB specification is
As shown in FIG. 3A, it is 192 bytes of a 4-byte source packet header (SPH; Source Packet Header) and 188 bytes of data.

【0007】これに対して、DSS仕様時のソースパケ
ットサイズは、図3(B)に示すように、4バイトのソ
ースパケットヘッダ(SPH)、10バイトの付加デー
タ、および130バイトのデータの144バイトであ
る。付加バイトはソースパケットヘッダとデータとの間
に挿入される。なお、IEEE1394規格では、取り
扱う最小データの単位は1クワドレット(quadlet)(=
4バイト=32ビット)であるため、トランスポートス
トリームデータと付加データの合計が32ビット単位で
構成できる設定であることが必要である。ただし、デフ
ォルトでは付加バイトなしで設定される。
On the other hand, the source packet size in the DSS specification is, as shown in FIG. 3B, 144 bytes of a 4-byte source packet header (SPH), 10-byte additional data, and 130-byte data. Bytes. Additional bytes are inserted between the source packet header and the data. In the IEEE 1394 standard, the minimum data unit handled is one quadlet (=
(4 bytes = 32 bits), it is necessary that the total of the transport stream data and the additional data be set in a 32-bit unit. However, it is set without additional bytes by default.

【0008】図4は、IEEE1394規格のアイソク
ロナス通信でデータを送信させるときの元のデータと、
実際に送信されるパケットとの対応関係の一例を示す図
である。
FIG. 4 shows original data when data is transmitted by isochronous communication of the IEEE 1394 standard,
FIG. 6 is a diagram illustrating an example of a correspondence relationship with a packet to be actually transmitted.

【0009】図4に示すように、元のデータであるソー
スパケットは、4バイトのソースパケットヘッダと、デ
ータ長を調整するためのパディングデータを付加された
後、所定の数のデータブロックに分割される。なお、パ
ケットを転送するときのデータの単位が1クワドレット
(4バイト)であることから、データブロックや各種ヘ
ッダなどのバイト長は、全て4の倍数に設定される。
As shown in FIG. 4, a source packet which is original data is divided into a predetermined number of data blocks after adding a 4-byte source packet header and padding data for adjusting a data length. Is done. Since the unit of data when transferring a packet is one quadlet (4 bytes), the byte lengths of data blocks and various headers are all set to multiples of four.

【0010】図5は、ソースパケットヘッダのフォーマ
ットを示す図である。図5に示すように、ソースパケッ
トヘッダのうち、25ビットには、たとえば上述したD
VB方式等のディジタル衛星放送等で利用されているM
PEG(Moving Picture Experts Group)−TS(Transpo
rt Stream)データをアイソクロナス通信で送信するとき
に、ジッタを抑制するために利用されるタイムスタンプ
(TimeStamp)が書き込まれる。
FIG. 5 is a diagram showing a format of a source packet header. As shown in FIG. 5, 25 bits of the source packet header include, for example, the D
M used in digital satellite broadcasting such as VB system
PEG (Moving Picture Experts Group)-TS (Transpo
(rt Stream) Time stamp used to suppress jitter when transmitting data by isochronous communication
(TimeStamp) is written.

【0011】そして、このようなパケットヘッダやCI
P(Common Isochronous Packet) ヘッダ等のデータが、
所定の数のデータブロックに付加されることによりパケ
ットが生成される。
Then, such a packet header or CI
Data such as P (Common Isochronous Packet) header
A packet is generated by being added to a predetermined number of data blocks.

【0012】図6はアイソクロナス通信用パケットの基
本構成例を示す図である。図6に示すように、アイソク
ロナス通信のパケットは、第1クワドレットが1394
ヘッダ(Header)、第2クワドレットがヘッダCRC(Hea
der-CRC)、第3クワドレットがCIPヘッダ1(CIP-He
ader1)、第4クワドレットがCIPヘッダ2(CIP-Head
er2)、第5クワドレットがソースパケットヘッダ(SP
H)で、第6クワドレット以降がデータ領域である。そ
して、最後のクワドレットがデータCRC(Data-CRC)で
ある。
FIG. 6 is a diagram showing a basic configuration example of an isochronous communication packet. As shown in FIG. 6, the packet of the isochronous communication has a first quadlet of 1394.
Header (Header), the second quadlet is the header CRC (Hea
der-CRC), the third quadlet is CIP header 1 (CIP-He
ader1), the fourth quadlet is CIP header 2 (CIP-Head
er2), the fifth quadlet is the source packet header (SP
In H), the data area is the sixth and subsequent quadlets. The last quadlet is a data CRC (Data-CRC).

【0013】1394ヘッダは、データ長を表すdata-l
engt、このパケット転送されるチャネルの番号(0〜6
3のいずれか)を示すchannel 、処理のコードを表すtc
ode、および各アプリケーションで規定される同期コー
ドsyにより構成されている。ヘッダCRCは、パケッ
トヘッダの誤り検出符号である。
The 1394 header has a data-l representing a data length.
engt, the number of the channel to which this packet is transferred (0-6)
3), channel indicating processing, and tc indicating processing code
ode and a synchronization code sy defined by each application. The header CRC is an error detection code of the packet header.

【0014】CIPヘッダ1は、送信ノード番号のため
のSID(Source node ID)領域、データブロックの長さ
のためのDBS(Data Block Size) 領域、パケット化に
おけるデータの分割数のためのFN(Fraction Number)
領域、パディグデータのクワドレット数のためのQPC
(Quadlet Padding Count) 領域、ソースパケットヘッダ
の有無を表すフラグのためのSPH領域、アイソクロナ
スパケットの数を検出するカウンタのためのDBC(Da
ta Block Continuty Counter) 領域により構成されてい
る。なお、DBS領域は、1アイソクロナスパケットで
転送するクワドレット数を表す。
The CIP header 1 includes an SID (Source node ID) area for a transmission node number, a DBS (Data Block Size) area for a data block length, and an FN (FN) for a data division number in packetization. Fraction Number)
QPC for the number of quadlets in area and padding data
(Quadlet Padding Count) area, SPH area for a flag indicating the presence or absence of a source packet header, and DBC (Da) for a counter for detecting the number of isochronous packets.
ta Block Continuty Counter) area. Note that the DBS area indicates the number of quadlets transferred in one isochronous packet.

【0015】CIPヘッダ2は、転送されるデータの種
類を表す信号フォーマットのためのFMT領域、および
信号フォーマットに対応しえ利用されるFDF(Format
Dependent Field)領域により構成されている。
The CIP header 2 has an FMT area for a signal format indicating the type of data to be transferred, and an FDF (Format) used corresponding to the signal format.
Dependent Field) area.

【0016】SPHヘッダは、トランスポートストリー
ムパケットが到着した軸に固定の遅延値を加えた値が設
定されるタイムスタンプ領域を有している。また、デー
タCRCは、データフィールドの誤り検出符号である。
The SPH header has a time stamp area in which a value obtained by adding a fixed delay value to the axis on which the transport stream packet has arrived is set. The data CRC is an error detection code of the data field.

【0017】上述した構成を有するパケットの送受信を
行うIEEE1394シリアルインタフェースの信号処
理回路は、主としてIEEE1394シリアルバスを直
接ドライブするフィジカル・レイヤ回路と、フィジカル
・レイヤ回路のデータ転送をコントロールするリンク・
レイヤ回路とにより構成される。
The signal processing circuit of the IEEE 1394 serial interface for transmitting and receiving packets having the above-described configuration is mainly composed of a physical layer circuit for directly driving the IEEE 1394 serial bus, and a link for controlling data transfer of the physical layer circuit.
And a layer circuit.

【0018】[0018]

【発明が解決しようとする課題】上述したIEEE13
94シリアルインタフェースにおけるアイソクロナス通
信系では、たとえば図7に示すように、アプリケーショ
ンである側MPEGトランスポータ(Transporter) 1に
リンク・レイヤ回路2が接続され、リンク・レイヤ回路
2はフィジカル・レイヤ回路3を介してシリアルインタ
フェースバスBSに接続されている。IEEE1394
シリアルインタフェースのデータ転送では、送信データ
および受信データは一旦リンク・レイヤ回路2に設けら
れたFIFO(First-In First-Out)メモリ(以下、単
にFIFOという)等の記憶装置に格納される。実際に
は、アシンクロナスパケット用FIFOとアイソクロナ
スパケット用FIFOとは別個に設けられる。
SUMMARY OF THE INVENTION The above-mentioned IEEE13
In the isochronous communication system of the 94 serial interface, for example, as shown in FIG. 7, a link layer circuit 2 is connected to a side MPEG transporter (Transporter) 1 which is an application, and the link layer circuit 2 includes a physical layer circuit 3. Connected to the serial interface bus BS. IEEE 1394
In the data transfer of the serial interface, the transmission data and the reception data are temporarily stored in a storage device such as a FIFO (First-In First-Out) memory (hereinafter simply referred to as FIFO) provided in the link layer circuit 2. Actually, the asynchronous packet FIFO and the isochronous packet FIFO are provided separately.

【0019】ところで、図8に示すように、通常のMP
EGのトランスポートストリームデータTSDの間に制
御用のパケット(以下、インサートパケット;Insert P
acket )データを挿入する必要が生じるときがある。た
とえば、MPEGのトランスポートストリームを流すと
きのPAT(ProgramAllocation Table)が書かれてい
て、このトランスポータのこのチャンネルには何を割り
当てる、あるいはチャンネルを選んで流すときに必要と
なる。
By the way, as shown in FIG.
A control packet (hereinafter, insert packet; Insert P) between transport stream data TSD of EG
acket) Sometimes it is necessary to insert data. For example, a PAT (Program Allocation Table) for streaming an MPEG transport stream is written, and it is necessary to assign what to this channel of this transporter or to select and stream a channel.

【0020】しかしながら、現在のIEEE1394シ
リアルインタフェースにおける信号処理回路では、上述
した制御用のインサートパケットをMPEGソースパケ
ットの間にアイソクロナスパケットとして任意に流す構
成は未だ実現されていない。
However, in the current signal processing circuit of the IEEE 1394 serial interface, the configuration for arbitrarily transmitting the control insert packet between the MPEG source packets as an isochronous packet has not yet been realized.

【0021】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、制御用パケットを通常のトラン
スポートストリームに挿入して送信することができる信
号処理回路を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a signal processing circuit capable of inserting a control packet into a normal transport stream and transmitting the signal.

【0022】[0022]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、アプリケーション側から送信ストリーム
パケットデータを受けてあらかじめ決められた時間サイ
クルでシリアルインタフェースバスに送出する信号信処
理回路であって、制御用データを生成して、上記送信ス
トリームパケットの間に制御パケットとして挿入し、送
信ストリームパケットとして上記シリアルインタフェー
スバスに送出する制御手段を有する
According to the present invention, there is provided a signal processing circuit for receiving transmission stream packet data from an application side and transmitting the transmission stream packet data to a serial interface bus in a predetermined time cycle. And control means for generating control data, inserting the control data between the transmission stream packets as a control packet, and transmitting the control data as a transmission stream packet to the serial interface bus.

【0023】また、本発明は、アプリケーション側から
送信ストリームパケットデータを受けてあらかじめ決め
られた時間サイクルでシリアルインタフェースバスに送
出する信号処理回路であって、第1の記憶手段と、第2
の記憶手段と、制御データを送信する必要が生じた場合
に、当該制御データを上記第1の記憶手段に書き込み、
制御データの送信をする旨を示す制御データを設定する
制御手段と、上記制御データが設定されていない場合に
は、受けた送信ストリームパケットデータに制御データ
を送信しない旨を示すデータをセットしたソースパケッ
トヘッダを付加して所定のフォーマットで上記第2の記
憶手段に格納し、上記制御データが設定されている場合
には、制御パケットを送信すべき旨を示すデータをセッ
トしたソースパケットヘッダを生成して上記第2の記憶
手段に格納する第1の送信回路と、上記第2の記憶手段
に格納されたソースパケットヘッダに制御データを送信
しない旨を示すデータがセットされている場合には当該
第2の記憶手段に格納されているデータを送信ストリー
ムパケットとして上記シリアルインタフェースバスに送
出し、上記第2の記憶手段に格納されたソースパケット
ヘッダに制御データを送信する旨を示すデータがセット
されている場合には上記第1の記憶手段に格納されてい
る制御データを制御パケットとして上記シリアルインタ
フェースバスに送出する第2の送信回路とを有する。
Also, the present invention is a signal processing circuit for receiving transmission stream packet data from an application side and transmitting the transmission stream packet data to a serial interface bus in a predetermined time cycle, comprising: a first storage means;
When it is necessary to transmit control data, the control data is written into the first storage means,
Control means for setting control data indicating that control data is to be transmitted, and a source for setting data indicating that control data is not to be transmitted to the received transmission stream packet data if the control data is not set A packet header is added and stored in a predetermined format in the second storage means. If the control data is set, a source packet header in which data indicating that a control packet is to be transmitted is generated. When the first transmission circuit stored in the second storage means and the data indicating that control data is not transmitted are set in the source packet header stored in the second storage means, Sending the data stored in the second storage means as a transmission stream packet to the serial interface bus, When data indicating that control data is to be transmitted is set in the source packet header stored in the storage means, the control data stored in the first storage means is transmitted to the serial interface bus as a control packet. And a second transmitting circuit.

【0024】本発明の信号処理回路によれば、アプリケ
ーション側からの送信ストリームパケットを送信中に、
制御データを送信する必要が生じた場合に、送信制御手
段により制御用データが生成され、この制御データが送
信ストリームパケットの間に制御パケットとして挿入さ
れ、送信ストリームパケットとしてシリアルインタフェ
ースバスに送出される。
According to the signal processing circuit of the present invention, during transmission of a transmission stream packet from the application side,
When it becomes necessary to transmit control data, control data is generated by the transmission control means, and the control data is inserted as a control packet between transmission stream packets and transmitted to the serial interface bus as a transmission stream packet. .

【0025】また、本発明によれば、アプリケーション
側からの送信ストリームパケットを送信中に、制御デー
タを送信する必要が生じた場合に、制御手段によりこの
制御データが第1の記憶手段に書き込まれ、また制御デ
ータの送信をする旨を示す制御データが設定される。こ
こで、上記制御データが設定されていない場合には、第
1の送信回路により送信ストリームパケットデータに制
御データを送信しない旨を示すデータがセットされたソ
ースパケットヘッダが付加されて所定のフォーマットで
第2の記憶手段に格納される。そして、第2の送信処理
回路では、第2の記憶手段に格納されたソースパケット
ヘッダに制御データを送信しない旨を示すデータがセッ
トされていることから、第2の記憶手段に格納されてい
るデータを送信ストリームパケットとしてシリアルイン
タフェースバスに送出される。一方、上記制御データが
設定されている場合には、第1の送信回路により制御パ
ケットを送信すべき旨を示すデータをセットされ、ソー
スパケットヘッダが生成され第2の記憶手段に格納され
る。そして、第2の送信回路では、第2の記憶手段に格
納されたソースパケットヘッダに制御データを送信する
旨を示すデータがセットされていることから、第1の記
憶手段に格納されている制御データが制御パケットとし
てシリアルインタフェースバスに送出される。
According to the present invention, when it becomes necessary to transmit control data during transmission of a transmission stream packet from the application, the control data is written into the first storage means by the control means. In addition, control data indicating that the control data is to be transmitted is set. Here, when the control data is not set, a source packet header in which data indicating that control data is not transmitted is added to the transmission stream packet data by the first transmission circuit, and the transmission packet data is transmitted in a predetermined format. It is stored in the second storage means. In the second transmission processing circuit, since data indicating that control data is not to be transmitted is set in the source packet header stored in the second storage means, the data is stored in the second storage means. The data is transmitted to the serial interface bus as a transmission stream packet. On the other hand, when the control data is set, data indicating that the control packet is to be transmitted is set by the first transmission circuit, and a source packet header is generated and stored in the second storage means. In the second transmission circuit, since data indicating that control data is to be transmitted is set in the source packet header stored in the second storage means, the control data stored in the first storage means is stored. The data is sent out as a control packet to the serial interface bus.

【0026】[0026]

【発明の実施の形態】第1実施形態 図1は、IEEE1394シリアルインタフェースに適
用される本発明に係るMPEG用信号処理回路の一実施
形態を示すブロック構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a block diagram showing an embodiment of an MPEG signal processing circuit according to the present invention applied to an IEEE 1394 serial interface.

【0027】この信号処理回路は、リンク・レイヤ回路
10、フィジカル・レイヤ回路20、ホストコンピュー
タとしてのCPU30により構成されている。また、4
0はMPEGトランスポータを示している。
This signal processing circuit comprises a link layer circuit 10, a physical layer circuit 20, and a CPU 30 as a host computer. Also, 4
0 indicates an MPEG transporter.

【0028】リンク・レイヤ回路10は、CPU30の
制御の下、アシンクロナス転送およびとアイソクロナス
転送の制御、並びにフィジカル・レイヤ回路20の制御
を行う。具体的には、図1に示すように、リンクコア(L
ink Core))101、ホストインタフェース回路(Host I
/F)102、アプリケーションインタフェース回路(AP
I/F) 103、送信用FIFO(AT-FIFO)104a、受
信用FIFO(AR-FIFO)104b、インサートパケット
用FIFO(INS-FIFO) 104cからなるアシンクロナ
ス通信および制御パケット用FIFO104、セルフI
D用リゾルバ(Resolver)105、アイソクロナス通信用
送信前処理回路(TXOPRE)106、アイソクロナス通信用
送信後処理回路(TXOPRO)107、アイソクロナス通信用
受信前処理回路(TXIPRE)108、アイソクロナス通信用
受信前処理回路(TXIPRO)109、アイソクロナス通信用
FIFO(I-FIFO)110、およびコンフィギュレーショ
ンレジスタ(Configuration Register、以下CFRとい
う)により構成されている。
The link layer circuit 10 controls the asynchronous transfer and the isochronous transfer under the control of the CPU 30, and controls the physical layer circuit 20. Specifically, as shown in FIG. 1, the link core (L
ink Core)) 101, host interface circuit (Host I
/ F) 102, application interface circuit (AP
I / F) 103, a transmission FIFO (AT-FIFO) 104a, a reception FIFO (AR-FIFO) 104b, an insert packet FIFO (INS-FIFO) 104c comprising an asynchronous communication and control packet FIFO 104, and a self-I.
D resolver 105, transmission preprocessing circuit for isochronous communication (TXOPRE) 106, transmission post-processing circuit for isochronous communication (TXOPRO) 107, reception preprocessing circuit for isochronous communication (TXIPRE) 108, reception preprocessing for isochronous communication It comprises a circuit (TXIPRO) 109, a FIFO (I-FIFO) 110 for isochronous communication, and a configuration register (CFR).

【0029】図1の回路おいて、ホストインタフェース
回路102、送信用FIFO104a、アシンクロナス
通信の受信用FIFO104bおよびリンクコア101
によりアシンクロナス通信系回路が構成される。そし
て、アプリケーションインタフェース回路103、送信
前処理回路106、送信後処理回路107、受信前処理
回路108、受信前処理回路109、FIFO110お
よびリンクコア101によりアイソクロナス通信系回路
が構成される。
In the circuit shown in FIG. 1, a host interface circuit 102, a transmission FIFO 104a, a reception FIFO 104b for asynchronous communication, and a link core 101
Constitutes an asynchronous communication system circuit. The application interface circuit 103, the pre-transmission processing circuit 106, the post-transmission processing circuit 107, the pre-reception processing circuit 108, the pre-reception processing circuit 109, the FIFO 110, and the link core 101 constitute an isochronous communication system circuit.

【0030】リンクコア101は、アシンクロナス通信
用パケットおよびアイソクロナス通信用パケットの送信
回路、受信回路、これらパケットのIEEE1394シ
リアルバスBSを直接ドライブするフィジカル・レイヤ
回路20とのインタフェース回路、125μs毎にリセ
ットされるサイクルタイマ、サイクルモニタやCRC回
路から構成されている。そして、たとえばサイクルタイ
マ等の時間データ等はCFR111を通してアイソクロ
ナス通信系処理回路に供給される。
The link core 101 includes a transmission circuit and a reception circuit for asynchronous communication packets and isochronous communication packets, an interface circuit for the packets with the physical layer circuit 20 that directly drives the IEEE1394 serial bus BS, and is reset every 125 μs. It comprises a cycle timer, a cycle monitor and a CRC circuit. Then, time data such as a cycle timer is supplied to the isochronous communication processing circuit through the CFR 111.

【0031】ホストインタフェース回路102は、主と
してホストコンピュータとしてのCPU30と送信用F
IFO104a、受信用FIFO104bとのアシンク
ロナス通信用パケットの書き込み、読み出し等の調停、
CPU30とインサートパケット用FIFO104cと
のインサートパケットの書き込みの調停、並びに、CP
U30とCFR111との各種データの送受信の調停を
行う。たとえばCPU30からは、アイソクロナス通信
用パケットのSPH(ソースパケットヘッダ)に設定さ
れるタイムスタンプ用遅延時間Txdelay がホストインタ
フェース102を通してCFR111にセットされる。
また、CPU30からは、通常のMPEGのトランスポ
ートストリームデータTSDの間に制御用パケットであ
るはインサートパケットデータを挿入する必要が生じた
とき、CFR111のレジスタIPTxGoに論理
「1」がセットされる。
The host interface circuit 102 mainly includes a CPU 30 as a host computer and a transmission F
Arbitration of writing and reading of asynchronous communication packets with the FIFO 104a and the receiving FIFO 104b,
Arbitration of writing of the insert packet between the CPU 30 and the FIFO for insert packet 104c, and CP
Arbitration of transmission and reception of various data between the U30 and the CFR 111 is performed. For example, the CPU 30 sets the time stamp delay time Txdelay set in the SPH (source packet header) of the isochronous communication packet in the CFR 111 through the host interface 102.
When it becomes necessary for the CPU 30 to insert a control packet or insert packet data during the normal MPEG transport stream data TSD, the logic “1” is set in the register IPTxGo of the CFR 111.

【0032】送信用FIFO104aには、IEEE1
394シリアルバスBSに伝送させるアシンクロナス通
信用パケットが格納され、受信用FIFO104bには
IEEE1394シリアルバスBSを伝送されてきたア
シンクロナス通信用パケットが格納される。
The transmission FIFO 104a has IEEE1
The asynchronous communication packet transmitted by the 394 serial bus BS is stored, and the asynchronous communication packet transmitted by the IEEE 1394 serial bus BS is stored in the reception FIFO 104b.

【0033】インサートパケット用FIFO104cに
は、制御用パケットデータがCPU30から書き込まれ
る。FIFO104cの容量は、たとえば188バイト
であり、188バイトまでのデータが有効で、この容量
を越えたデータに関しては送信されない。送信するデー
タが188バイト以下の場合は、書き込まれたデータ以
外が「1」にセットされて送信される。なお、インサー
トパケット用FIFO104cは、たとえば33ビット
幅であり、そのMSBは、最終クワドレットで「1」に
セットされる。また、MSBが1のデータを出力した後
に、さらに後述する送信後処理回路107からの読出パ
ルス信号INS−RD を受けた場合には、「0xFF
FFFFFF(全ビット1)」を出力するように制御さ
れる。そして、一度書き込んだデータは送信後も保持さ
れ、同じ内容のものを続けて送信するときは、上述した
レジスタIPTxGoが「0」になったことを確認した
後、このレジスタIPTxGoを「1」にセットするこ
とにより行われる。
Control packet data is written from the CPU 30 to the insert packet FIFO 104c. The capacity of the FIFO 104c is, for example, 188 bytes, and data up to 188 bytes is valid, and data exceeding this capacity is not transmitted. If the data to be transmitted is 188 bytes or less, data other than the written data is set to "1" and transmitted. The insert packet FIFO 104c has a width of, for example, 33 bits, and its MSB is set to "1" in the final quadlet. When the MSB outputs data of 1 and further receives a read pulse signal INS-RD from the post-transmission processing circuit 107 described later, “0xFF
FFFFFF (all bits 1) "is output. The data once written is retained after transmission, and when transmitting the same data continuously, after confirming that the above-mentioned register IPTxGo has become “0”, this register IPTxGo is set to “1”. This is done by setting.

【0034】アプリケーションインタフェース回路10
3は、MPEGトランスポータ40とアイソクロナス通
信用送信前処理回路106およびアイソクロナス通信用
受信前処理回路109とのクロック信号や制御信号等を
含むMPEGトランスポートストリームデータの送受信
の調停を行う。
Application interface circuit 10
Reference numeral 3 arbitrates the transmission and reception of MPEG transport stream data including a clock signal, a control signal, and the like between the MPEG transporter 40 and the transmission preprocessing circuit 106 for isochronous communication and the reception preprocessing circuit 109 for isochronous communication.

【0035】リゾルバ105は、IEEE1394シリ
アルバスBSを伝送されてきたセルフIDパケットを解
析し、CFR111に格納する。
The resolver 105 analyzes the self ID packet transmitted through the IEEE 1394 serial bus BS and stores the packet in the CFR 111.

【0036】送信前処理回路106は、CFR111の
レジスタIPTxGoの設定を確認し、その設定が
「0」の場合と「1」の場合で異なる処理を行う。レジ
スタIPTxGoの設定が「0」の場合には、アプリケ
ーションインタフェース回路103を介してMPEGト
ランスポータ40によるMPEGトランスポートストリ
ームデータを受けて、IEEE1394規格のアイソク
ロナス通信用としてクワドレット(4バイト)単位にデ
ータ長を調整し、かつCFR111に設定された遅延時
間Txdelay を用いてタイムスタンプの値を設定して4バ
イトのソースパケットヘッダ(SPH)を付加してFI
FO110に格納する。
The pre-transmission processing circuit 106 checks the setting of the register IPTxGo of the CFR 111, and performs different processing depending on whether the setting is "0" or "1". When the setting of the register IPTxGo is “0”, the MPEG transport stream data is received by the MPEG transporter 40 via the application interface circuit 103, and the data length in quadlets (4 bytes) is used for isochronous communication according to the IEEE 1394 standard. And a time stamp value is set using the delay time Txdelay set in the CFR 111, and a 4-byte source packet header (SPH) is added to the FI
It is stored in the FO 110.

【0037】なお、ソースパケットヘッダを付加すると
きに受信側のデータ出力時間を決定するタイムスタンプ
を設定するが、この設定は以下のように行われる。ま
ず、MPEGトランスポータ40からパケットの最終デ
ータを受け取ったタイミングで内部のサイクルレジスタ
の値をラッチする。次に、CPU30からホストインタ
フェース102を介してCFR111にセットされた遅
延時間Txdelay を上記サイクルレジスタの値に加算す
る。そして、加算した値をタイムスタンプとして、受け
取ったパケットのソースパケットヘッダに挿入(設定)
する。
When a source packet header is added, a time stamp for determining the data output time on the receiving side is set. This setting is performed as follows. First, the value of the internal cycle register is latched at the timing when the final data of the packet is received from the MPEG transporter 40. Next, the delay time Txdelay set in the CFR 111 from the CPU 30 via the host interface 102 is added to the value of the cycle register. Then, the added value is inserted into the source packet header of the received packet as a time stamp (setting).
I do.

【0038】図2は、タイムスタンプの具体的な構成を
説明するための図である。図2に示すように、受信側の
データ出力時間を決定するためのタイムスタンプは、2
5ビットで現時刻を表す。すなわち、タイムスタンプは
25ビットで構成され、下位12ビットがサイクルオフ
セットCO(cycle-offset)領域、上位13ビットがサイ
クルカウントCC(cycle-count) 領域として割り当てら
れている。サイクルオフセットは0〜3071(12b
101111111111)の125μsをカウント
し(クロックCLK=24.576MHz)、サイクル
カウントは0〜7999(13b 111110011
1111)の1秒をカウントするものである。したがっ
て、原則として、タイムスタンプの下位12ビットは3
072以上を示すことはなく、上位13ビットは800
0以上を示すことはない。
FIG. 2 is a diagram for explaining a specific configuration of the time stamp. As shown in FIG. 2, the time stamp for determining the data output time on the receiving side is 2
The current time is represented by 5 bits. That is, the time stamp is composed of 25 bits, the lower 12 bits are allocated as a cycle offset CO (cycle-offset) area, and the upper 13 bits are allocated as a cycle count CC (cycle-count) area. The cycle offset is 0-3071 (12b
(111111111111) is counted (clock CLK = 24.576 MHz), and the cycle count is 0 to 7999 (13b 111110011).
1111) is counted for one second. Therefore, in principle, the lower 12 bits of the time stamp are 3
072 or more, and the upper 13 bits are 800
It does not indicate 0 or more.

【0039】また、送信前処理回路106は、CFR1
11のレジスタIPTxGoの設定が「1」の場合に
は、たとえばパケットギャップ(Packet Gap)の立ち下が
りでソースパケットヘッダを生成し、FIFO110に
書き込む。このとき、図2に示すように、インサートパ
ケットマークIPM用に指定された29ビットを「1」
に設定し、このFIFO110に書き込んだソースパケ
ットヘッダがインサートパケット用のものであることを
印す。なお、上述したレジスタIPTxGoの設定が
「0」の場合の通常のソースパケットヘッダの生成時に
は、IPMビット29は、必ず「0」に保持する。それ
から、FIFO書き込みポインターを次のパケットの先
頭に移す。ポインターをずらす量Sは、パケットサイズ
をPSとすると次式で与えられる。
Further, the transmission pre-processing circuit 106 has a CFR1
When the setting of the register IPTxGo of No. 11 is “1”, for example, a source packet header is generated at the fall of the packet gap (Packet Gap) and written to the FIFO 110. At this time, as shown in FIG. 2, 29 bits designated for the insert packet mark IPM are set to "1".
To indicate that the source packet header written in the FIFO 110 is for an insert packet. Note that the IPM bit 29 is always held at “0” when a normal source packet header is generated when the setting of the register IPTxGo is “0”. Then, move the FIFO write pointer to the beginning of the next packet. The amount S of shifting the pointer is given by the following equation, where the packet size is PS.

【0040】[0040]

【数1】S=(PS−4)/4(クワドレット)S = (PS-4) / 4 (quadlet)

【0041】たとえばポインターをずらす量Sは、DV
B方式の場合の188/4で47、DSS方式の場合に
は140/4で35である。以後、レジスタIPTxG
oの設定が「0」に戻るまで、インサートパケット用ソ
ースパケットヘッダは生成しない。
For example, the amount S of moving the pointer is DV
In the case of the B system, it is 47 in 188/4, and in the case of the DSS system, it is 35 in 140/4. After that, register IPTxG
The source packet header for the insert packet is not generated until the setting of o returns to “0”.

【0042】送信後処理回路107は、FIFO110
に格納されたデータを読み出し、ソースパケットヘッダ
の先頭毎に、ソースパケットヘッダのインサートパケッ
トマークIPM用に指定された29ビットが「0」であ
るか「1」であるかを確認し、その設定値によって異な
る処理を行う。インサートパケットマークIPMが
「0」の場合には、FIFO110に格納されたソース
パケットヘッダを含むデータを読出て、図9に示すよう
に、1394ヘッダ、CIPヘッダ1,2を付加してリ
ンクコア101の送信回路に出力する。
The post-transmission processing circuit 107 includes a FIFO 110
Is read, and for each head of the source packet header, whether 29 bits designated for the insert packet mark IPM of the source packet header is "0" or "1", and the setting is performed. Perform different processing depending on the value. When the insert packet mark IPM is “0”, the data including the source packet header stored in the FIFO 110 is read out, and as shown in FIG. Output to the transmission circuit.

【0043】また、送信後処理回路107は、インサー
トパケットマークIPMが「1」の場合には、インサー
トパケット送信処理を行う。なお、インサートパケット
マークIPMを確認したら、ソースパケットヘッダの上
記7ビットは、CFR111のレジスタSPH−RSV
の内容で置き換えてリンクコア101に送る。具体的に
は、インサートパケットマークIPMが「1」の場合に
は、ソースパケットヘッダ以降のデータとして、インサ
ートパケット用FIFO104cにCPU30によって
書き込まれたデータを用いるために、読み出しパルス信
号INS−RDを必要なデータ個数分だけFIFO10
4cに出力して、必要なデータを順次読み出し、たとえ
ば上述した所定のヘッダを付加してインサートパケット
をデータをリンクコア101に出力する。
When the insert packet mark IPM is "1", the post-transmission processing circuit 107 performs an insert packet transmission process. When the insert packet mark IPM is confirmed, the above 7 bits of the source packet header are stored in the register SPH-RSV of the CFR 111.
And sends it to the link core 101. Specifically, when the insert packet mark IPM is “1”, the read pulse signal INS-RD is necessary to use the data written by the CPU 30 in the insert packet FIFO 104 c as data after the source packet header. FIFO10 for a large number of data
4c, and sequentially reads out necessary data, and outputs an insert packet to the link core 101 by adding, for example, the above-mentioned predetermined header.

【0044】また、送信後処理回路107は、インサー
トパケット送信処理中は、信号INS−MKを論理
「1」に設定する。この信号INS−MKは、実際はソ
ースパケットヘッダのIPMをラッチしたものである。
なお、信号INS−MKの設定は、インサートパケット
のソースパケットヘッダがLATE判断されて送信され
なかったとしても行われる。信号INS−MKは、レジ
スタIPTxGoを「0」にリセットするために用いら
れ、CPU30はレジスタIPTxGoを「0」になっ
たことを確認して、インサートパケット送信処理が終了
したことを知る。そして、送信後処理回路107は、次
のアイソクロナスパケットのソースパケットヘッダを処
理するときに、信号INS−MKを「0」にセットす
る。
The post-transmission processing circuit 107 sets the signal INS-MK to logic "1" during the insert packet transmission process. This signal INS-MK is actually a signal obtained by latching the IPM of the source packet header.
The setting of the signal INS-MK is performed even if the source packet header of the insert packet is not transmitted due to the LATE determination. The signal INS-MK is used to reset the register IPTxGo to “0”, and the CPU 30 confirms that the register IPTxGo has become “0”, and knows that the insert packet transmission processing has ended. Then, when processing the source packet header of the next isochronous packet, the post-transmission processing circuit 107 sets the signal INS-MK to “0”.

【0045】受信前処理回路108は、リンクコア10
1を介してIEEE1394シリアルバスBSを伝送さ
れてきたアイソクロナス通信用パケットを受けて、受信
パケットの1394ヘッダ、CIPヘッダ1,2等の内
容を解析し、データを復元してソースパケットヘッダと
データをFIFO110に格納する。
The pre-reception processing circuit 108
1 receives an isochronous communication packet transmitted on the IEEE 1394 serial bus BS via the IEEE 1394, analyzes the contents of the 1394 header, CIP headers 1, 2 and the like of the received packet, restores the data, and extracts the source packet header and data. The data is stored in the FIFO 110.

【0046】受信後処理回路109は、内部レジスタに
FIFO110に格納されたソースパケットヘッダのタ
イムスタンプの時間データを読み出し、読み出したタイ
ムスタンプデータ(TS)とリンクコア101内にある
サイクルタイマによるサイクルタイム(CT)を比較
し、サイクルタイムCTがタイムスタンプデータTSよ
り大きい場合には、FIFO110に格納されているソ
ースパケットヘッダを除くデータを読み出しアプリケー
ションインタフェース回路103を介し、MPEG用ト
ランスポートストリームデータとしてMPEGトランス
ポータ40に出力する。
The post-reception processing circuit 109 reads the time data of the time stamp of the source packet header stored in the FIFO 110 into the internal register, and reads the read time stamp data (TS) and the cycle time by the cycle timer in the link core 101. When the cycle time CT is larger than the time stamp data TS, the data except for the source packet header stored in the FIFO 110 is read out via the application interface circuit 103 and is transmitted as MPEG transport stream data. Output to the transporter 40.

【0047】CPU30は、システム全体の制御を行
う。また上述したようにアイソクロナス通信用パケット
のSPH(ソースパケットヘッダ)を設定するためのタ
イムスタンプ用遅延時間Txdelay をホストインタフェー
ス102を通してCFR111にセットする。さらにま
た、通常のMPEGのトランスポートストリームデータ
TSDの間に制御用パケットであるインサートパケット
データを挿入する必要が生じたとき、CFR111のレ
ジスタIPTxGoに「1」をセットする。そして、こ
のレジスタIPTxGoが「0」に切り換わったときに
インサートパケットが終了したことを認識する。
The CPU 30 controls the entire system. Also, as described above, the time stamp delay time Txdelay for setting the SPH (source packet header) of the isochronous communication packet is set in the CFR 111 through the host interface 102. Furthermore, when it becomes necessary to insert insert packet data, which is a control packet, between normal MPEG transport stream data TSD, "1" is set to the register IPTxGo of the CFR 111. Then, when this register IPTxGo switches to “0”, it recognizes that the insert packet has been completed.

【0048】次に、IEEE1394シリアルバスBS
を伝送されるアイソクロナス通信用パケットの送信動作
を説明する。
Next, the IEEE 1394 serial bus BS
The operation of transmitting an isochronous communication packet transmitted over the network will be described.

【0049】IEEE1394シリアルバスBSにアシ
ンクロナス通信用パケットを送出する場合には、たとえ
ばCPU30からアイソクロナス通信用パケットのSP
H(ソースパケットヘッダ)に設定されるタイムスタン
プ用遅延時間Txdelay がホストインタフェース102を
通してCFR111にセットされる。また、通常のMP
EGのトランスポートストリームデータTSDの間に制
御用パケットであるインサートパケットデータを挿入す
る必要が生じていない通常処理時には、CFR111の
レジスタIPTxGoが「0」のままに保持される。
When transmitting an asynchronous communication packet to the IEEE 1394 serial bus BS, for example, the CPU 30 sends the SP of the isochronous communication packet.
The time stamp delay time Txdelay set in H (source packet header) is set in the CFR 111 through the host interface 102. Also, normal MP
During normal processing in which it is not necessary to insert insert packet data, which is a control packet, between EG transport stream data TSD, the register IPTxGo of the CFR 111 is kept at “0”.

【0050】この通常の送信処理では、送信前処理回路
106では、アプリケーションインタフェース回路10
3を介してMPEGトランスポータ40によるMPEG
トランスポートストリームデータを受けて、IEEE1
394規格のアイソクロナス通信用としてクワドレット
(4バイト)単位にデータ長が調整される。このとき、
CR111にセットされた遅延時間Txdelay を用いてタ
イムスタンプの値が設定され4バイトのソースパケット
ヘッダ(SPH)が付加されFIFO110に格納され
る。また、レジスタIPTxGoの設定が「0」の場合
の通常のソースパケットヘッダの生成時には、29ビッ
トのインサートパケットマークIPMビット29は
「0」に保持される。
In the normal transmission processing, the pre-transmission processing circuit 106 executes the application interface circuit 10
3 via MPEG transporter 40
Upon receiving the transport stream data, the IEEE1
The data length is adjusted in quadlets (4 bytes) for isochronous communication according to the 394 standard. At this time,
The value of the time stamp is set using the delay time Txdelay set in the CR 111, and a 4-byte source packet header (SPH) is added and stored in the FIFO 110. When a normal source packet header is generated when the setting of the register IPTxGo is “0”, the 29-bit insert packet mark IPM bit 29 is held at “0”.

【0051】この場合、送信後処理回路107では、送
信前処理回路106のFIOFアクセス制御回路106
2による格納情報信号S106を受けて、FIFO11
0に格納されたソースパケットヘッダを含むデータに対
して、1394ヘッダ、CIPヘッダ1,2が付加され
しリンクコア101の送信回路に出力され、フィジカル
・レイヤ回路20を介してIEEE1394シリアルバ
スBSにアシンクロナス通信用パケットとして送出され
る。
In this case, in the post-transmission processing circuit 107, the FIOF access control circuit 106 of the pre-transmission processing circuit 106
Receiving the storage information signal S106 by the
1394 header and CIP headers 1 and 2 are added to the data including the source packet header stored in 0, output to the transmission circuit of the link core 101, and transmitted to the IEEE 1394 serial bus BS via the physical layer circuit 20. The packet is transmitted as an asynchronous communication packet.

【0052】ここで通常のMPEGのトランスポートス
トリームデータTSDの間に制御用パケットであるイン
サートパケットデータを挿入する必要が生じた場合、ま
ず、インサートパケット用FIFO104cに、制御用
パケットデータがCPU30から書き込まれる。また、
CPU30によりCFR111のレジスタIPTxGo
に「1」がセットされる。
Here, when it becomes necessary to insert the insert packet data as the control packet between the normal MPEG transport stream data TSD, the control packet data is first written from the CPU 30 into the insert packet FIFO 104c. It is. Also,
The CPU 30 registers the register IPTxGo of the CFR 111.
Is set to "1".

【0053】そして、送信前処理回路106では、CF
R111のレジスタIPTxGoが「1」に設定される
ことが確認されると、パケットギャップの立ち下がりで
ソースパケットヘッダが生成され、FIFO110への
書き込みが行われる。このとき、インサートパケットマ
ークIPM用に指定された29ビットが「1」に設定さ
れ、このFIFO110に書き込んだソースパケットヘ
ッダがインサートパケット用のものであることを印され
る。それから、FIFO書き込みポインターが次のパケ
ットの先頭に移される。
Then, in the transmission pre-processing circuit 106, CF
When it is confirmed that the register IPTxGo of R111 is set to “1”, a source packet header is generated at the fall of the packet gap, and writing to the FIFO 110 is performed. At this time, the 29 bits specified for the insert packet mark IPM are set to “1”, indicating that the source packet header written in the FIFO 110 is for the insert packet. Then the FIFO write pointer is moved to the beginning of the next packet.

【0054】次に、送信後処理回路107において、F
IFO110に格納されたソースパケットデータが読み
出され、インサートパケットマークIPMが「1」に設
定されていることが確認されると、インサートパケット
送信処理が行われる。インサートパケットマークIPM
が「1」であることが確認されると、ソースパケットヘ
ッダ以降のデータとして、インサートパケット用FIF
O104cにCPU30によって書き込まれたデータを
用いるために、読み出しパルス信号INS−RDが必要
なデータ個数分だけFIFO104cに出力される。こ
れにより、必要な制御パケットデータが順次読み出さ
れ、たとえば所定のヘッダが付加されてインサートパケ
ットデータがリンクコア101に出力される。
Next, in the post-transmission processing circuit 107, F
When the source packet data stored in the IFO 110 is read and it is confirmed that the insert packet mark IPM is set to “1”, an insert packet transmission process is performed. Insert packet mark IPM
Is confirmed to be “1”, the data after the source packet header is used as the data for the insert packet FIF.
In order to use the data written by the CPU 30 in O104c, the read pulse signals INS-RD are output to the FIFO 104c by the required number of data. As a result, necessary control packet data is sequentially read, and for example, a predetermined header is added, and insert packet data is output to the link core 101.

【0055】また、送信後処理回路107では、インサ
ートパケット送信処理中は、信号INS−MKが「1」
に設定される。そして、送信後処理回路107では、イ
ンサートパケットの送信が終了し、次のアイソクロナス
パケットのソースパケットヘッダを処理するときに、信
号INS−MKが「0」にセットされる。そして、CP
U30において、レジスタIPTxGoが「0」になっ
たことが確認されることにより、インサートパケット送
信処理が終了したことが認知される。
In the post-transmission processing circuit 107, the signal INS-MK is "1" during the insert packet transmission process.
Is set to Then, in the post-transmission processing circuit 107, the signal INS-MK is set to “0” when the transmission of the insert packet is completed and the source packet header of the next isochronous packet is processed. And CP
In U30, by confirming that the register IPTxGo has become “0”, it is recognized that the insert packet transmission processing has been completed.

【0056】以上説明したように、本実施形態によれ
ば、アシンクロナス通信系の記憶装置として制御パケッ
ト用FIFO104cを設け、CPU30から任意に制
御データを設定して、CPU30の制御の下、送信前処
理回路106および送信後処理回路107により通常M
PEGトランスポートストリームの間に制御用パケット
を挿入するように構成したので、任意に通常のトランス
ポートストリームからなるパケットの他に制御用のパケ
ットをアイソクロナスパケットとして送信することがで
きる。
As described above, according to the present embodiment, the control packet FIFO 104c is provided as a storage device of the asynchronous communication system, control data is arbitrarily set by the CPU 30, and the transmission pre-processing is performed under the control of the CPU 30. Circuit 106 and post-transmission processing circuit 107
Since the control packets are inserted between the PEG transport streams, control packets can be arbitrarily transmitted as isochronous packets in addition to normal transport stream packets.

【0057】[0057]

【発明の効果】以上説明したように、本発明によれば、
制御用パケットを通常のトランスポートストリームに挿
入して送信することができる。
As described above, according to the present invention,
The control packet can be inserted into a normal transport stream and transmitted.

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

【図1】IEEE1394シリアルインタフェースに適
用される本発明に係るMPEG用信号処理回路の一実施
形態を示すブロック構成図である。
FIG. 1 is a block diagram showing an embodiment of an MPEG signal processing circuit according to the present invention applied to an IEEE 1394 serial interface.

【図2】タイムスタンプの具体的な構成を説明するため
の図である。
FIG. 2 is a diagram illustrating a specific configuration of a time stamp.

【図3】アイソクロナス通信における1ソースパケット
のバイトサイズを示す図であって、(A)はDVB仕様
時、(B)はDSS仕様時のパケットサイズを示す図で
ある。
3A and 3B are diagrams illustrating a byte size of one source packet in isochronous communication, where FIG. 3A is a diagram illustrating a packet size according to the DVB specification, and FIG.

【図4】IEEE1394規格のアイソクロナス通信で
データを送信させるときの元のデータと、実際に送信さ
れるパケットとの対応関係の一例を示す図である。
FIG. 4 is a diagram illustrating an example of a correspondence relationship between original data and data to be actually transmitted when data is transmitted by isochronous communication of the IEEE1394 standard.

【図5】ソースパケットヘッダのフォーマットを示す図
である。
FIG. 5 is a diagram showing a format of a source packet header.

【図6】アイソクロナス通信用パケットの基本構成例を
示す図である。
FIG. 6 is a diagram illustrating a basic configuration example of an isochronous communication packet.

【図7】IEEE1394シリアルインタフェースにお
けるアイソクロナス通信系回路の基本構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing a basic configuration of an isochronous communication system circuit in the IEEE 1394 serial interface.

【図8】通常のMPEGのトランスポートストリームデ
ータTSDの間に制御用のパケットデータを挿入する必
要がある場合の説明図である。
FIG. 8 is an explanatory diagram in a case where it is necessary to insert control packet data between normal MPEG transport stream data TSD.

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

10…リンク・レイヤ回路、101…リンクコア(Link
Core))、102…ホストインタフェース回路(Host I/
F)、1032…アプリケーションインタフェース回路
(AP I/F) 、104…アシンクロナス通信および制御パ
ケット用FIFO、104a…送信用FIFO(AT-FIF
O)、104b…受信用FIFO(AR-FIFO)、104c…
インサートパケット(制御パケット)用FIFO(INS-
FIFO) 、105…セルフID用リゾルバ(Resolver)、1
06…アイソクロナス通信用送信前処理回路(TXOut1)、
107…アイソクロナス通信用送信後処理回路(TXOut
2)、108…アイソクロナス通信用受信前処理回路(TXI
n1) 、109…アイソクロナス通信用受信前処理回路(T
XIn2) 、110…アイソクロナス通信用FIFO(I-FIF
O)、111…コンフィギュレーションレジスタ(CF
R)、20…フィジカル・レイヤ回路、30…CPU、
40…MPEGトランスポータ。
10: link layer circuit, 101: link core (Link
Core)), 102: Host interface circuit (Host I /
F), 1032: application interface circuit (AP I / F), 104: FIFO for asynchronous communication and control packets, 104a: FIFO for transmission (AT-FIF)
O), 104b ... Reception FIFO (AR-FIFO), 104c ...
FIFO for Insert Packet (Control Packet) (INS-
FIFO), 105 ... Resolver for self ID, 1
06 ... Transmission preprocessing circuit for isochronous communication (TXOut1)
107: Transmission post-processing circuit for isochronous communication (TXOut
2), 108 ... Reception preprocessing circuit for isochronous communication (TXI
n1), 109 ... isochronous communication reception preprocessing circuit (T
XIn2), 110 ... FIFO for isochronous communication (I-FIF
O), 111... Configuration register (CF
R), 20: physical layer circuit, 30: CPU,
40 ... MPEG transporter.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーション側から送信ストリーム
パケットデータを受けてあらかじめ決められた時間サイ
クルでシリアルインタフェースバスに送出する信号信処
理回路であって、 制御用データを生成して、上記送信ストリームパケット
の間に制御パケットとして挿入し、送信ストリームパケ
ットとして上記シリアルインタフェースバスに送出する
制御手段を有する信号処理回路。
1. A signal processing circuit for receiving transmission stream packet data from an application side and transmitting the transmission stream packet data to a serial interface bus in a predetermined time cycle, wherein control signal data is generated and A signal processing circuit having control means for inserting the control packet into the serial interface bus as a control packet and transmitting the transmission stream packet to the serial interface bus.
【請求項2】 アプリケーション側から送信ストリーム
パケットデータを受けてあらかじめ決められた時間サイ
クルでシリアルインタフェースバスに送出する信号処理
回路であって、 第1の記憶手段と、 第2の記憶手段と、 制御データを送信する必要が生じた場合に、当該制御デ
ータを上記第1の記憶手段に書き込み、制御データの送
信をする旨を示す制御データを設定する制御手段と、 上記制御データが設定されていない場合には、受けた送
信ストリームパケットデータに制御データを送信しない
旨を示すデータをセットしたソースパケットヘッダを付
加して所定のフォーマットで上記第2の記憶手段に格納
し、上記制御データが設定されている場合には、制御パ
ケットを送信すべき旨を示すデータをセットしたソース
パケットヘッダを生成して上記第2の記憶手段に格納す
る第1の送信回路と、 上記第2の記憶手段に格納されたソースパケットヘッダ
に制御データを送信しない旨を示すデータがセットされ
ている場合には当該第2の記憶手段に格納されているデ
ータを送信ストリームパケットとして上記ディジタルシ
リアルインタフェースバスに送出し、上記第2の記憶手
段に格納されたソースパケットヘッダに制御データを送
信する旨を示すデータがセットされている場合には上記
第1の記憶手段に格納されている制御データを制御パケ
ットとして上記ディジタルシリアルインタフェースバス
に送出する第2の送信回路とを有する信号処理回路。
2. A signal processing circuit for receiving transmission stream packet data from an application side and sending out the transmission stream packet data to a serial interface bus in a predetermined time cycle, comprising: a first storage unit; a second storage unit; When it is necessary to transmit data, the control data is written in the first storage means, and control means for setting control data indicating that the control data is to be transmitted, and the control data is not set In this case, a source packet header in which data indicating that control data is not transmitted is added to the received transmission stream packet data and stored in the second storage means in a predetermined format, and the control data is set. The source packet header with data indicating that a control packet should be sent. A first transmitting circuit configured and stored in the second storage means; and a data indicating that control data is not transmitted is set in a source packet header stored in the second storage means. The data stored in the second storage means is transmitted as a transmission stream packet to the digital serial interface bus, and data indicating that control data is to be transmitted to a source packet header stored in the second storage means is transmitted. And a second transmission circuit for transmitting control data stored in the first storage means as a control packet to the digital serial interface bus when set.
【請求項3】 上記第2の送信回路は、制御パケットの
送出が終了すると上記制御手段により設定された制御デ
ータをリセットする請求項2記載の信号処理回路。
3. The signal processing circuit according to claim 2, wherein the second transmission circuit resets the control data set by the control means when the transmission of the control packet ends.
JP08313697A 1997-04-01 1997-04-01 Signal processing circuit Expired - Fee Related JP3799726B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP08313697A JP3799726B2 (en) 1997-04-01 1997-04-01 Signal processing circuit
TW087104401A TW367678B (en) 1997-04-01 1998-03-24 Signal processing circuit
NL1008768A NL1008768C2 (en) 1997-04-01 1998-03-31 Signal processing circuit.
FR9804034A FR2762172B1 (en) 1997-04-01 1998-04-01 SIGNAL PROCESSING CIRCUIT FOR SERIAL INTERFACE
KR1019980011404A KR19980080968A (en) 1997-04-01 1998-04-01 Signal processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08313697A JP3799726B2 (en) 1997-04-01 1997-04-01 Signal processing circuit

Publications (2)

Publication Number Publication Date
JPH10285241A true JPH10285241A (en) 1998-10-23
JP3799726B2 JP3799726B2 (en) 2006-07-19

Family

ID=13793798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08313697A Expired - Fee Related JP3799726B2 (en) 1997-04-01 1997-04-01 Signal processing circuit

Country Status (5)

Country Link
JP (1) JP3799726B2 (en)
KR (1) KR19980080968A (en)
FR (1) FR2762172B1 (en)
NL (1) NL1008768C2 (en)
TW (1) TW367678B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003204367A (en) * 2001-12-18 2003-07-18 Hewlett Packard Co <Hp> Sending information using an ongoing transaction
JP2006285378A (en) * 2005-03-31 2006-10-19 Fujitsu Ltd Data transfer device
JP2008177942A (en) * 2007-01-19 2008-07-31 Fujitsu Ltd Data processing apparatus, data processing method, and data processing program
JP2010503095A (en) * 2006-09-06 2010-01-28 トムソン ライセンシング Data word stream processing device
JP2010049596A (en) * 2008-08-25 2010-03-04 Hitachi Ltd Storage system disposed with plural integrated circuits

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100795240B1 (en) * 2006-05-22 2008-01-15 한국정보통신대학교 산학협력단 How to create a burst in an optical burst switched network system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3458469B2 (en) * 1994-07-15 2003-10-20 ソニー株式会社 Signal receiving apparatus and communication method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003204367A (en) * 2001-12-18 2003-07-18 Hewlett Packard Co <Hp> Sending information using an ongoing transaction
JP2006285378A (en) * 2005-03-31 2006-10-19 Fujitsu Ltd Data transfer device
JP2010503095A (en) * 2006-09-06 2010-01-28 トムソン ライセンシング Data word stream processing device
JP2008177942A (en) * 2007-01-19 2008-07-31 Fujitsu Ltd Data processing apparatus, data processing method, and data processing program
JP2010049596A (en) * 2008-08-25 2010-03-04 Hitachi Ltd Storage system disposed with plural integrated circuits

Also Published As

Publication number Publication date
TW367678B (en) 1999-08-21
KR19980080968A (en) 1998-11-25
NL1008768A1 (en) 1998-10-05
NL1008768C2 (en) 2000-02-23
FR2762172B1 (en) 2000-09-29
FR2762172A1 (en) 1998-10-16
JP3799726B2 (en) 2006-07-19

Similar Documents

Publication Publication Date Title
US6259694B1 (en) Signal processing circuit
US6813282B1 (en) Isochronous packet transfer method, computer readable recording media recorded with control program for executing isochronous packet transfer, and bridge and packet transfer control LSI
JP3785747B2 (en) Serial interface circuit and signal processing method thereof
JP3799726B2 (en) Signal processing circuit
JP3731283B2 (en) Signal processing circuit and method thereof
JP3837857B2 (en) Signal processing circuit
US6804205B1 (en) Method and apparatus for transmitting packet for synchronization using half duplex transmission medium
US6405275B1 (en) IEEE1394 common isochronous packet (CIP) enhancements for host controllers
US6973083B1 (en) Data processing circuit
JP4140101B2 (en) Signal processing circuit
JP4045672B2 (en) Signal processing circuit
JPH10285223A (en) Signal processing circuit
US6965995B1 (en) Signal processing circuit
JP4078740B2 (en) Signal processing circuit
JP4032543B2 (en) Signal processing circuit
JP3997634B2 (en) Signal processing circuit
JP3924903B2 (en) Signal processing circuit
JP4148290B2 (en) Signal processing circuit
JP4148291B2 (en) Signal processing circuit
JP4148292B2 (en) Signal processing circuit
JP4120070B2 (en) Signal processing circuit
JPH10285190A (en) Signal processing circuit
JPH10285236A (en) Signal processing circuit
JP4192988B2 (en) Signal processing circuit
JPH10283289A (en) Signal processing circuit

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 19980227

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20031201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050624

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050624

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130512

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees