JP4252017B2 - Coded stream relay apparatus, method and program thereof - Google Patents

Coded stream relay apparatus, method and program thereof Download PDF

Info

Publication number
JP4252017B2
JP4252017B2 JP2004183375A JP2004183375A JP4252017B2 JP 4252017 B2 JP4252017 B2 JP 4252017B2 JP 2004183375 A JP2004183375 A JP 2004183375A JP 2004183375 A JP2004183375 A JP 2004183375A JP 4252017 B2 JP4252017 B2 JP 4252017B2
Authority
JP
Japan
Prior art keywords
stream
encoded
information
encoded information
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004183375A
Other languages
Japanese (ja)
Other versions
JP2006013583A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004183375A priority Critical patent/JP4252017B2/en
Publication of JP2006013583A publication Critical patent/JP2006013583A/en
Application granted granted Critical
Publication of JP4252017B2 publication Critical patent/JP4252017B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Communication Control (AREA)

Description

本発明は、符号化された音声や映像などのストリームデータ(以下、符号化ストリームと呼ぶ。)を中継する装置、その方法及びプログラムに関するものである。   The present invention relates to an apparatus for relaying stream data such as encoded audio and video (hereinafter referred to as an encoded stream), a method thereof, and a program.

プロトコルが異なるネットワークにそれぞれ接続された端末装置間で符号化ストリームを送受信する場合、ネットワーク同士の中継点にプロトコルの差異を吸収するための符号化ストリーム中継装置が必要となる。従来の符号化ストリーム中継装置では、符号化ストリームを中継するにあたり、以下の2つの方式、即ち
方式1:受信した符号化ストリームを一旦デコードし、エンコードし直して送信する(特許文献1参照)、
方式2:受信した符号化ストリームをデコードすることなく中継する(特許文献2参照)、
のうち、いずれかを用いていた。
When transmitting and receiving an encoded stream between terminal apparatuses connected to networks with different protocols, an encoded stream relay apparatus for absorbing the protocol difference is required at a relay point between the networks. In a conventional encoded stream relay device, when relaying an encoded stream, the following two methods, namely, method 1: a received encoded stream is once decoded, re-encoded and transmitted (see Patent Document 1).
Method 2: Relay the received encoded stream without decoding (see Patent Document 2)
One of them was used.

前述した方式1の場合、符号化ストリームを一旦デコードし、再度エンコードするため、遅延が増大する、音質や画質が劣化する、処理負荷が大きいという問題が生じる。   In the case of the above-described method 1, since the encoded stream is once decoded and re-encoded, there are problems that delay increases, sound quality and image quality deteriorate, and processing load is heavy.

一方、方式2の場合、前述した問題は発生し難いが、伝送エラーやパケットロスによって符号化ストリームに関する重要な情報である符号化情報が欠落した際に、受信側の端末装置において符号化ストリームをデコードできなくなるという問題が生じる。   On the other hand, in the case of scheme 2, the above-described problem is unlikely to occur. However, when encoded information that is important information regarding the encoded stream is lost due to a transmission error or packet loss, the encoded stream is The problem that decoding becomes impossible occurs.

例えば、MPEG(Moving Picture Experts Group)−4映像ストリームをデコードするためには、そのMPEG−4ストリームに関する符号化情報であるDCI(Decoder Configuration Information )が必要である。   For example, in order to decode an MPEG (Moving Picture Experts Group) -4 video stream, DCI (Decoder Configuration Information) that is encoding information related to the MPEG-4 stream is required.

DCIには、MPEG−4ストリームをデコードするために必要な、Profile@Level、画像サイズ、利用している符号化ツール等の情報が含まれており、DCI(もしくはDCIに相当する情報)がなければMPEG−4ストリームはデコードすることができない。MPEG−4ストリームをデコードする場合は、通常、DCIを用いてデコーダを初期化してから、MPEG−4ストリームのデコードを開始する。   The DCI includes information such as Profile @ Level, image size, encoding tool used, etc. necessary for decoding the MPEG-4 stream, and DCI (or information corresponding to DCI) must be absent. MPEG-4 streams cannot be decoded. When decoding an MPEG-4 stream, the decoder is usually initialized using DCI, and then decoding of the MPEG-4 stream is started.

そのため、前述した方式2によりMPEG−4ストリームを送信する場合、以下のいずれかの方法、即ち
(1)MPEG−4ストリームにDCIを周期的に挿入する、
(2)MPEG−4ストリームとは別個にDCIを伝送する、
により、DCIを通信相手に伝達する必要がある。
Therefore, when an MPEG-4 stream is transmitted by the method 2 described above, one of the following methods is used: (1) DCI is periodically inserted into the MPEG-4 stream.
(2) Transmit DCI separately from the MPEG-4 stream.
Therefore, it is necessary to transmit DCI to the communication partner.

図1は前記(1)の方法を説明するためのもので、送信端末から受信端末へ送られる符号化ストリーム、実際には符号化ストリームを分割して納めた多数のパケットの間に、DCIを納めたパケットを周期的に挿入して伝送している。   FIG. 1 is a diagram for explaining the method (1). DCI is set between a coded stream sent from a transmitting terminal to a receiving terminal, actually, a large number of packets divided and stored. Packets stored are periodically inserted and transmitted.

図2は前記(2)の方法を説明するためのもので、ここではSIP(Session Inititation Protocol)を用いたIPテレビ電話の例を示している。この例ではMPEG−4ストリームの送信を開始する前の呼接続時にDCIを通信相手に伝達、即ち発呼側の端末装置、例えばAからはDCIをSIPの発呼メッセージINVITEに付加して着信側の端末装置Bへ伝送し、また、着信側の端末装置BからはDCIをSIPの着信応答メッセージ200OKに付加して発呼側の端末装置Aへ伝送している。
特開2003−046977号公報(名称:中継サーバ) 特開2003−152820号公報(名称:シグナリング中継システムおよびシグナリング中継方法)
FIG. 2 is a diagram for explaining the method (2). Here, an example of an IP videophone using SIP (Session Inititation Protocol) is shown. In this example, DCI is transmitted to the communication partner at the time of call connection before starting the transmission of the MPEG-4 stream, that is, from the terminal device on the calling side, for example, A adds DCI to the SIP calling message INVITE to the called side. The terminal device B on the receiving side adds DCI to the SIP incoming response message 200OK and transmits it to the terminal device A on the calling side.
JP 2003-046977 A (name: relay server) JP 2003-152820 A (Name: Signaling Relay System and Signaling Relay Method)

一般に、映像配信システムやIP電話のようなシステムでは、前述した(2)の方法のように、実際に符号化ストリームの送信を開始する前に符号化情報をやりとりする場合が多い。例えば、RTSP(Real-time Streaming Protocol)を用いた配信システムや、前述したSIPを用いたIP電話システムでは、SDP(Session Description Protocol)を用いて、符号化情報(例えば、符号化パラメータ)を予めEnd to Endの端末装置間でやりとりする。   In general, in a system such as a video distribution system or an IP telephone, encoded information is often exchanged before actually starting transmission of an encoded stream as in the method (2) described above. For example, in a distribution system using RTSP (Real-time Streaming Protocol) and the IP telephone system using SIP described above, encoding information (for example, encoding parameters) is previously stored using SDP (Session Description Protocol). Exchange between end-to-end terminals.

しかし、符号化情報を予めやりとりしたからといって、必ずしも受信側の端末装置において受信した符号化ストリームを正常にデコードできるとは限らない。   However, just because the encoded information is exchanged in advance, the encoded stream received by the terminal device on the receiving side cannot always be normally decoded.

なぜなら、端末装置の中には、予めやりとりした符号化情報を用いてデコーダを初期化するのではなく、受信した符号化ストリームに含まれる符号化情報を用いてデコーダを初期化するものが存在する可能性がある。このような端末装置では、受信した符号化ストリームに符号化情報が含まれない場合、受信した符号化ストリームをデコードできないことになる。   This is because some terminal apparatuses do not initialize a decoder using encoded information exchanged in advance, but initialize a decoder using encoded information included in a received encoded stream. there is a possibility. In such a terminal device, when encoded information is not included in the received encoded stream, the received encoded stream cannot be decoded.

一方、端末装置の中には、符号化情報を予めやりとりしていることを理由に、符号化ストリーム中に符号化ストリームに関する情報を挿入しない、もしくは一度だけ挿入するものが存在する可能性がある。   On the other hand, there is a possibility that some terminal devices do not insert information about the encoded stream into the encoded stream or insert it only once because the encoded information is exchanged in advance. .

従って、受信側の端末装置が受信した符号化ストリームに含まれる符号化情報を用いてデコーダを初期化するものである場合、送信側が、前述した符号化ストリーム中に符号化ストリームに関する情報を挿入しない端末装置であると、受信側では送信側が送信した符号化ストリームをデコードできないことになる。   Therefore, when the decoder is initialized using the encoded information included in the encoded stream received by the terminal device on the receiving side, the transmitting side does not insert the information on the encoded stream into the encoded stream described above. In the case of a terminal device, the reception side cannot decode the encoded stream transmitted from the transmission side.

また、送信側が、前述した符号化ストリーム中に符号化ストリームに関する情報を一度だけ挿入する端末装置である場合も、パケットロス等によって符号化ストリーム中の符号化情報が消失すると、同様に受信側では送信側が送信した符号化ストリームをデコードできないことになる。   In addition, even when the transmission side is a terminal device that inserts information about the encoded stream only once in the encoded stream described above, if the encoded information in the encoded stream is lost due to packet loss or the like, The encoded stream transmitted by the transmission side cannot be decoded.

即ち、MPEG−4映像ストリームを例に取れば、図3に示すように、DCIがMPEG−4ストリームの先頭にしかない場合、ネットワーク上で先頭のDCIパケットがロストした場合、デコーダを初期化できないために、MPEG−4ストリームをデコードできなくなる。   That is, taking the MPEG-4 video stream as an example, as shown in FIG. 3, if the DCI is only at the head of the MPEG-4 stream, the decoder cannot be initialized if the head DCI packet is lost on the network. In addition, the MPEG-4 stream cannot be decoded.

以上のような問題を回避するためには、前述した(1)の方法のように、符号化ストリーム中に符号化情報を周期的に挿入し、任意のタイミングでデコーダを初期化できるようにしておくことが望ましい。   In order to avoid the above problem, as in the method (1) described above, encoded information is periodically inserted into the encoded stream so that the decoder can be initialized at an arbitrary timing. It is desirable to keep it.

そこで、本発明は、符号化ストリーム中に符号化情報を挿入することにより、送信側の端末装置における符号化情報の通信相手への伝達の仕方に拘わらず、受信側の端末装置では受信した符号化ストリームを正常にデコードできるようにすることを目的とする。   Therefore, according to the present invention, the encoded information is inserted into the encoded stream, so that the received terminal device can receive the encoded code regardless of how the encoded information is transmitted to the communication partner in the transmitting terminal device. It is an object of the present invention to enable normal decoding of a stream.

また、SDPなどを用いて予め符号化情報をやりとりし、その符号化情報を用いてデコーダを初期化することが分かっている場合、符号化ストリーム中の符号化情報はネットワークトラフィックを増加させるだけの無駄な情報になる。   In addition, when it is known that encoded information is exchanged in advance using SDP and the decoder is initialized using the encoded information, the encoded information in the encoded stream only increases network traffic. It becomes useless information.

そこで、本発明は、符号化ストリーム中の冗長な符号化情報を削除することにより、ネットワークトラフィックを削減することを目的とする。   Accordingly, an object of the present invention is to reduce network traffic by deleting redundant encoded information in an encoded stream.

前記目的を達成するために、本発明は、図4に示すように、符号化ストリームの中継を行う符号化ストリーム中継装置において、送信端末から符号化ストリームの送信に先立って伝送された符号化情報、または符号化ストリーム中に挿入された符号化情報を保存し、該保存している符号化情報を符号化ストリーム中に所定のタイミング、好ましくは所定の周期で挿入する、もしくは符号化ストリーム中の符号化情報を前記保存している符号化情報に置き換えることを特徴とする。   In order to achieve the above object, as shown in FIG. 4, the present invention provides encoded information transmitted from a transmission terminal prior to transmission of an encoded stream in an encoded stream relay device that relays the encoded stream. Or the encoded information inserted in the encoded stream is stored, and the stored encoded information is inserted into the encoded stream at a predetermined timing, preferably at a predetermined period, or The encoded information is replaced with the stored encoded information.

また、本発明は、中継する符号化ストリームから冗長な符号化情報、例えば所定の頻度を超えて含まれる符号化情報を削除することを特徴とする。   In addition, the present invention is characterized in that redundant coding information, for example, coding information included exceeding a predetermined frequency is deleted from a coded stream to be relayed.

本発明では、符号化ストリーム中継装置において、符号化ストリームをデコードするために必要な情報である符号化情報を符号化ストリーム中に挿入する。そのため、送信側の端末装置が符号化ストリーム中に符号化情報を挿入しない場合であっても、あるいは一度だけ挿入した符号化情報が伝送途中でロストしたような場合であっても、受信側の端末装置は、符号化ストリーム中継装置で符号化ストリーム中に挿入された符号化情報を用いてデコーダを初期化でき、受信した符号化ストリームを正常にデコードできるようになる。   In the present invention, the encoded stream relay device inserts encoded information, which is information necessary for decoding the encoded stream, into the encoded stream. Therefore, even if the terminal device on the transmission side does not insert the encoded information in the encoded stream or the encoded information inserted only once is lost during transmission, The terminal apparatus can initialize the decoder using the encoded information inserted into the encoded stream by the encoded stream relay apparatus, and can normally decode the received encoded stream.

また、本発明では、符号化ストリーム中継装置において、符号化ストリームから無駄な符号化情報を削除するため、ネットワークトラフィックを削減できるようになる。   Further, according to the present invention, since the encoded stream relay device deletes useless encoded information from the encoded stream, network traffic can be reduced.

以下、本発明を実施するための最良の形態について図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図5は本発明の符号化ストリーム中継装置を含むシステム全体を示すもので、本発明の符号化ストリーム中継装置、例えば1は、プロトコルの異なるネットワークa,bの中継点に配置され、各ネットワークa,bにそれぞれ接続された端末装置A,B間における符号化ストリームを中継する。なお、図面では一対の端末装置のみ示したが、複数対の端末装置間における符号化ストリームを同時に中継可能であることはいうまでもない。   FIG. 5 shows the entire system including the coded stream relay device of the present invention. The coded stream relay device of the present invention, for example, 1 is arranged at a relay point of networks a and b having different protocols, and each network a , B are relayed between the encoded streams between the terminal devices A and B respectively connected to b. Although only a pair of terminal devices are shown in the drawing, it goes without saying that encoded streams between a plurality of pairs of terminal devices can be relayed simultaneously.

図6は本発明の符号化ストリーム中継装置の実施の形態の一例、ここでは符号化ストリームの一例であるMPEG−4映像ストリームを中継する符号化ストリーム中継装置の例を示すもので、図中、11は能力交換部、12はストリーム受信部、13はストリーム解析部、14は符号化情報保存部、15は符号化情報編集判断部、16は符号化情報編集部、17はストリーム送信部である。   FIG. 6 shows an example of an embodiment of an encoded stream relay device of the present invention, and here shows an example of an encoded stream relay device that relays an MPEG-4 video stream as an example of an encoded stream. 11 is a capability exchange unit, 12 is a stream receiving unit, 13 is a stream analyzing unit, 14 is an encoded information storage unit, 15 is an encoded information edit determining unit, 16 is an encoded information editing unit, and 17 is a stream transmitting unit. .

以下、各部の構成をその動作とともに説明する。   Hereinafter, the configuration of each unit will be described together with its operation.

能力交換部11は、符号化ストリームに関する情報である符号化情報を能力交換処理、即ちH.323やSIP等のプロトコルを用いたTV電話装置のように、映像ストリームの送受信を開始する前に映像ストリームの符号化情報をやりとりする能力交換処理において取得し、これを符号化情報保存部14に渡す。なお、MPEG−4ストリームの場合、符号化情報とはDCIのことを意味する。   The capability exchanging unit 11 performs the capability exchange processing, that is, H. Like a TV phone device using a protocol such as H.323 or SIP, it is acquired in a capability exchange process for exchanging video stream encoded information before starting transmission / reception of the video stream, and this is obtained in the encoded information storage unit 14. hand over. In the case of an MPEG-4 stream, the encoded information means DCI.

ストリーム受信部12は、能力交換後、送信側の端末装置から送信されたMPEG−4ストリームを受信する。   The stream receiving unit 12 receives the MPEG-4 stream transmitted from the terminal device on the transmission side after the capability exchange.

ストリーム解析部13は、ストリーム受信部12で受信したMPEG−4ストリームを解析し、当該MPEG−4ストリーム中にDCIが含まれている場合にはこれを取得する。また、ストリーム解析部13は、取得したDCIを符号化情報保存部14に渡すとともに、ストリーム受信部12で受信したMPEG−4ストリームを符号化情報編集判断部15に渡す。   The stream analysis unit 13 analyzes the MPEG-4 stream received by the stream reception unit 12 and acquires this if the MPEG-4 stream includes DCI. In addition, the stream analysis unit 13 passes the acquired DCI to the encoded information storage unit 14 and also passes the MPEG-4 stream received by the stream reception unit 12 to the encoded information edit determination unit 15.

符号化情報保存部14は、能力交換部11で取得したDCIまたはストリーム解析部13で取得したDCIのいずれか一方もしくは両方を保存する。即ち、能力交換部11で取得されたDCIを保存し、その後、ストリーム解析部13でDCIが取得された場合は前記保存したDCIを削除し、これに置き換えて保存しても良く、逆に前記保存したDCIをそのまま残してストリーム解析部13で取得されたDCIを保存しないようにしても良く、また、両方を保存するようにしても良い。   The encoded information storage unit 14 stores one or both of the DCI acquired by the capability exchange unit 11 and the DCI acquired by the stream analysis unit 13. That is, the DCI acquired by the capability exchange unit 11 is stored, and when the DCI is acquired by the stream analysis unit 13, the stored DCI may be deleted and replaced with the stored DCI. The saved DCI may be left as it is, and the DCI acquired by the stream analysis unit 13 may not be saved, or both may be saved.

符号化情報編集判断部15は、ストリーム解析部13から渡された、受信したMPEG−4ストリームにおいて、DCIを挿入または置換もしくは削除すべき位置を解析し、さらに受信したMPEG−4ストリームに対しDCIの挿入または置換もしくは削除のいずれの処理を行うべきか否か(あるいはいずれも行わない)を判断し、その判断結果を前記受信したMPEG−4ストリーム及び当該受信MPEG−4ストリーム中のDCIを挿入または置換もしくは削除すべき位置とともに符号化情報編集部16へ渡す。   The encoding information editing determination unit 15 analyzes the position where DCI should be inserted, replaced, or deleted in the received MPEG-4 stream passed from the stream analysis unit 13, and further performs DCI analysis on the received MPEG-4 stream. It is determined whether or not processing of insertion or replacement or deletion is to be performed (or neither is performed), and the determination result is inserted into the received MPEG-4 stream and DCI in the received MPEG-4 stream Alternatively, it is passed to the encoded information editing unit 16 together with the position to be replaced or deleted.

ここで、DCIを挿入すべき位置(DCIが挿入されている場合には、DCIが挿入されている可能性のある位置)は、フレームの直前とするのが一般的である。よって、DCIを挿入する場合には、MPEG−4ストリーム中からフレームの先頭を検出し、その直前に挿入すれば良い。   Here, the position where DCI is to be inserted (when DCI is inserted, the position where DCI may be inserted) is generally immediately before the frame. Therefore, when inserting DCI, it is sufficient to detect the head of a frame from the MPEG-4 stream and insert it immediately before.

ところで、全てのフレームの直前にDCIを挿入すると、ネットワーク効率を悪化させる結果を招くことになる。そのため、DCIの挿入回数は必要最小限とした方が良い。そこで、この問題を解決するため、例えば、
・イントラフレーム(I−VOP)の直前のみにDCIを挿入する、
・一定間隔(例えば、3秒)毎にDCIを挿入する、
のような処理を行う。
By the way, if DCI is inserted immediately before every frame, a result of deteriorating network efficiency is caused. Therefore, it is better to minimize the number of DCI insertions. In order to solve this problem, for example,
Insert DCI only immediately before the intra frame (I-VOP),
-Insert DCI at regular intervals (eg 3 seconds),
Perform the following process.

符号化情報編集判断部15では、受信したMPEG−4ストリームにDCIを挿入するか、または受信したMPEG−4ストリームのDCIを置換するか、もしくは受信したMPEG−4ストリームからDCIを削除するか、の判断を以下により行う。   In the encoded information edit determination unit 15, whether to insert DCI into the received MPEG-4 stream, replace DCI of the received MPEG-4 stream, or delete DCI from the received MPEG-4 stream, The following judgment is made.

DCIの挿入または置換もしくは削除すべき位置の解析結果に基づき、例えばイントラフレーム(I−VOP)の直前にDCIが挿入されていない場合や、一定間隔(例えば、3秒)以上の長い間、DCIが挿入されていない場合には、受信したMPEG−4ストリームにおいて、上記の方法により検出されたDCIを挿入すべき位置に、符号化情報保存部14に保存されているDCI(DCIを複数保存している場合はそのいずれか)を挿入する。   Based on the analysis result of the position where DCI is to be inserted or replaced or deleted, for example, when DCI is not inserted immediately before an intra frame (I-VOP) or for a long time of a certain interval (for example, 3 seconds) or more In the received MPEG-4 stream, the DCI (several DCIs stored in the encoded information storage unit 14 are stored at the position where the DCI detected by the above method is to be inserted. Insert one of them).

また、DCIの挿入または置換もしくは削除すべき位置の解析結果に基づき、例えばイントラフレーム(I−VOP)の直前以外にもDCIが挿入されている場合や、一定間隔(例えば、3秒)以下の短い間隔でDCIが挿入されている場合のように、受信したMPEG−4ストリーム中に所定の頻度を超えてDCIが含まれると判定された場合には、それらのDCIは冗長なDCIであると判定し、所定の頻度まで、受信したMPEG−4ストリームからそれら冗長なDCIを削除する。   Further, based on the analysis result of the position where DCI is inserted or replaced or deleted, for example, when DCI is inserted in addition to immediately before the intra frame (I-VOP), or when it is less than a certain interval (for example, 3 seconds) When it is determined that DCI is included in a received MPEG-4 stream exceeding a predetermined frequency, such as when DCI is inserted at short intervals, these DCIs are redundant DCI. Determine and delete these redundant DCIs from the received MPEG-4 stream until a predetermined frequency.

さらに、ストリーム解析部13で新たに取得したDCIと、符号化情報保存部14に保存されているDCIとの照合結果が一致しない場合、受信したMPEG−4ストリームに挿入されている当該DCIを誤りと判定し、受信したMPEG−4ストリーム中の当該DCIを符号化情報保存部14に保存されているDCI(DCIを複数保存している場合はそのいずれか)に置換する(なお、符号化情報保存部14に保存されているDCIを誤りと判定した場合は、これを新たに取得したDCIで上書き保存する。)。   Further, if the collation result between the DCI newly acquired by the stream analysis unit 13 and the DCI stored in the encoded information storage unit 14 does not match, the DCI inserted in the received MPEG-4 stream is erroneously detected. And the DCI in the received MPEG-4 stream is replaced with the DCI stored in the encoded information storage unit 14 (one of which is stored when a plurality of DCIs are stored) (encoding information) If it is determined that the DCI stored in the storage unit 14 is an error, the DCI is overwritten and stored with the newly acquired DCI.)

符号化情報編集部16は、符号化情報編集判断部15から渡された、受信したMPEG−4ストリームに対しDCIの挿入または置換もしくは削除のいずれの処理を行うべきかの判断結果及び当該受信したMPEG−4ストリーム中のDCIを挿入または置換もしくは削除すべき位置に基づき、同じく符号化情報編集判断部15から渡された、受信したMPEG−4ストリームに対し、DCIを挿入するか、またはDCIを置換するか、もしくはDCIを削除するかの処理を行い、これらの処理後のMPEG−4ストリームをストリーム送信部17へ渡す。   The encoded information editing unit 16 determines whether to perform DCI insertion, replacement, or deletion processing on the received MPEG-4 stream passed from the encoded information editing determination unit 15 and the received result. Based on the position where the DCI in the MPEG-4 stream is to be inserted, replaced or deleted, the DCI is inserted into the received MPEG-4 stream, which is also passed from the encoding information editing determination unit 15, or the DCI is The process of replacing or deleting the DCI is performed, and the MPEG-4 stream after these processes is passed to the stream transmission unit 17.

ストリーム送信部17は、符号化情報編集部16から渡された、符号化情報編集処理後のMPEG−4ストリームを受信側の端末装置(のネットワーク)に合わせた形式でパケット化し、送信する。例えば、IPネットワークに送信する場合、MPEG−4ストリームをRTP(Real-time Transport Protocol)パケット化し、送信する。   The stream transmission unit 17 packetizes and transmits the MPEG-4 stream after the encoded information editing process passed from the encoded information editing unit 16 in a format suitable for the receiving terminal device (network). For example, when transmitting to an IP network, an MPEG-4 stream is converted into an RTP (Real-time Transport Protocol) packet and transmitted.

これらの処理により、中継するMPEG−4ストリーム中にDCIを周期的に挿入することが可能となる。その結果、
・MPEG−4ストリームにDCIが含まれるため、デコーダを初期化可能となる、
・仮に最初のDCIが消失した場合でも、周期的に挿入されているDCIを用いてデコーダを初期化可能となる、
これにより、受信側の端末装置では常に受信したMPEG−4ストリームを正常にデコード可能となる。
With these processes, it is possible to periodically insert DCI into the MPEG-4 stream to be relayed. as a result,
Since the MPEG-4 stream includes DCI, the decoder can be initialized.
Even if the first DCI disappears, the decoder can be initialized using the periodically inserted DCI.
As a result, the terminal device on the receiving side can always normally decode the received MPEG-4 stream.

なお、前記符号化ストリーム中継装置1は、周知のコンピュータに記録媒体もしくは通信回線を介して、図6の構成図に示された機能を実現するプログラムをインストールすることによっても実現可能である。   The encoded stream relay apparatus 1 can also be realized by installing a program for realizing the functions shown in the configuration diagram of FIG. 6 via a recording medium or a communication line in a known computer.

また、前記符号化ストリーム中継装置において、能力交換部11とストリーム解析部13は必ずしも両方とも必要でなく、いずれか一方のみ設けても良い。また、DCIの挿入や置換に関しては、符号化情報編集判断部15においてDCIが挿入されていない期間の判定や新たに取得したDCIと保存しているDCIとの照合判定を行うことなく、符号化情報編集部16において一定間隔毎に一律にDCIを挿入し、または保存しているDCIに置き換えるようにしても良い。この際、受信したMPEG−4ストリーム中でのDCIを挿入または置換もしくは削除すべき位置の解析を符号化情報編集部16で行うようにすれば、符号化情報編集判断部15を省略することも可能である。   In the coded stream relay device, both the capacity exchange unit 11 and the stream analysis unit 13 are not necessarily required, and only one of them may be provided. In addition, with respect to insertion or replacement of DCI, encoding is performed without performing determination of a period in which DCI is not inserted or comparison between newly acquired DCI and stored DCI in encoding information editing determination unit 15. The information editing unit 16 may uniformly insert DCI at regular intervals or replace it with stored DCI. At this time, if the encoded information editing unit 16 analyzes the position where the DCI in the received MPEG-4 stream should be inserted, replaced, or deleted, the encoded information edit determining unit 15 may be omitted. Is possible.

また、これまで説明した実施の形態では、プロトコルが異なるネットワークにそれぞれ接続された端末装置間における符号化ストリーム伝送について述べたが、本発明は、プロトコルが同一のネットワークに接続された端末装置間における符号化ストリーム伝送であって、能力交換処理の方法が異なる端末装置間における符号化ストリーム伝送についても適用可能である。   In the embodiments described so far, encoded stream transmission between terminal apparatuses connected to networks having different protocols has been described. However, the present invention is applicable to terminal apparatuses connected to networks having the same protocol. The present invention can also be applied to encoded stream transmission between terminal apparatuses having different capability exchange processing methods.

符号化ストリームに周期的に符号化情報を挿入する方法の説明図Explanatory drawing of the method of inserting encoding information into an encoding stream periodically. 符号化ストリームとは別個に符号化情報を伝送する方法の説明図Explanatory drawing of the method of transmitting encoding information separately from an encoding stream. 符号化ストリーム中の符号化情報がロストした場合の説明図Explanatory drawing when the encoding information in the encoding stream is lost 本発明の概要を示す説明図Explanatory drawing which shows the outline | summary of this invention 本発明の符号化ストリーム中継装置を含むシステム全体の構成図Configuration diagram of the entire system including the encoded stream relay device of the present invention 本発明の符号化ストリーム中継装置の実施の形態の一例を示す構成図The block diagram which shows an example of embodiment of the encoding stream relay apparatus of this invention

符号の説明Explanation of symbols

1:符号化ストリーム中継装置、11:能力交換部、12:ストリーム受信部、13:ストリーム解析部、14:符号化情報保存部、15:符号化情報編集判断部、16:符号化情報編集部、17:ストリーム送信部。   1: encoded stream relay device, 11: capability exchange unit, 12: stream receiving unit, 13: stream analysis unit, 14: encoded information storage unit, 15: encoded information editing determination unit, 16: encoded information editing unit , 17: Stream transmission unit.

Claims (13)

ネットワークに接続された端末装置間で符号化ストリームを伝送する場合に当該符号化ストリームの中継を行う符号化ストリーム中継装置であって、
符号化ストリームに関する情報である符号化情報を能力交換処理によって取得する能力交換手段と、
前記能力交換手段で取得した符号化情報を保存する符号化情報保存手段と、
送信側の端末装置から送信された符号化ストリームを受信するストリーム受信手段と、
前記ストリーム受信手段で受信した符号化ストリームに関して、符号化情報の挿入または置換を行うか否かを判定する符号化情報編集判断手段と、
前記符号化情報編集判断手段の判定結果に基づき、前記ストリーム受信手段で受信した符号化ストリームに前記符号化情報保存手段で保存している符号化情報を挿入する、または前記ストリーム受信手段で受信した符号化ストリームに含まれる符号化情報を前記符号化情報保存手段で保存している符号化情報に置換する符号化情報編集手段と、
前記符号化情報編集手段で符号化情報が挿入または置換された符号化ストリームを受信側の端末装置へ送信するストリーム送信手段とを有する
ことを特徴とする符号化ストリーム中継装置。
An encoded stream relay device that relays an encoded stream when transmitting the encoded stream between terminal devices connected to a network,
Capability exchange means for acquiring encoded information, which is information about the encoded stream, by capability exchange processing;
Encoded information storage means for storing the encoded information acquired by the capability exchange means;
Stream receiving means for receiving the encoded stream transmitted from the terminal device on the transmitting side;
Encoded information editing determining means for determining whether to insert or replace encoded information for the encoded stream received by the stream receiving means;
Based on the determination result of the encoded information editing determining means, the encoded information stored in the encoded information storing means is inserted into the encoded stream received by the stream receiving means, or received by the stream receiving means Encoded information editing means for replacing the encoded information contained in the encoded stream with the encoded information stored in the encoded information storage means;
A coded stream relay device comprising: a stream transmission unit that transmits a coded stream in which coded information is inserted or replaced by the coded information editing unit to a terminal device on the receiving side.
ネットワークに接続された端末装置間で符号化ストリームを伝送する場合に当該符号化ストリームの中継を行う符号化ストリーム中継装置であって、
送信側の端末装置から送信された符号化ストリームを受信するストリーム受信手段と、
前記ストリーム受信手段で受信した符号化ストリームを解析し、当該符号化ストリームに関する情報である符号化情報を取得するストリーム解析手段と、
前記ストリーム解析手段で取得した符号化情報を保存する符号化情報保存手段と、
前記ストリーム受信手段で受信した符号化ストリームに関して、符号化情報の挿入または置換を行うか否かを判定する符号化情報編集判断手段と、
前記符号化情報編集判断手段の判定結果に基づき、前記ストリーム受信手段で受信した符号化ストリームに前記符号化情報保存手段で保存している符号化情報を挿入する、または前記ストリーム受信手段で受信した符号化ストリームに含まれる符号化情報を前記符号化情報保存手段で保存している符号化情報に置換する符号化情報編集手段と、
前記符号化情報編集手段で符号化情報が挿入または置換された符号化ストリームを受信側の端末装置へ送信するストリーム送信手段とを有する
ことを特徴とする符号化ストリーム中継装置。
An encoded stream relay device that relays an encoded stream when transmitting the encoded stream between terminal devices connected to a network,
Stream receiving means for receiving the encoded stream transmitted from the terminal device on the transmitting side;
A stream analyzing unit that analyzes the encoded stream received by the stream receiving unit and obtains encoded information that is information about the encoded stream;
Encoding information storage means for storing the encoding information acquired by the stream analysis means;
Encoded information editing determining means for determining whether to insert or replace encoded information for the encoded stream received by the stream receiving means;
Based on the determination result of the encoded information editing determining means, the encoded information stored in the encoded information storing means is inserted into the encoded stream received by the stream receiving means, or received by the stream receiving means Encoded information editing means for replacing the encoded information contained in the encoded stream with the encoded information stored in the encoded information storage means;
A coded stream relay device comprising: a stream transmission unit that transmits a coded stream in which coded information is inserted or replaced by the coded information editing unit to a terminal device on the receiving side.
前記符号化情報編集判断手段は、前記ストリーム受信手段で受信した符号化ストリーム中の符号化情報の有無に基づき、符号化情報の挿入を行うか否かを判定する
ことを特徴とする請求項1または2に記載の符号化ストリーム中継装置。
The coded information editing determining means, based on said presence or absence of encoding information of the encoded stream received by the stream receiving unit, according to claim 1, wherein the determining whether to insert the coding information Or the encoded stream relay device according to 2;
前記符号化情報編集判断手段は、前記ストリーム受信手段で受信した符号化ストリーム中の符号化情報と前記符号化情報保存手段で保存している符号化情報との比較結果に基づき、符号化情報の置換を行うか否かを判定する
ことを特徴とする請求項1または2に記載の符号化ストリーム中継装置。
The encoded information edit determining means is based on a comparison result between the encoded information in the encoded stream received by the stream receiving means and the encoded information stored in the encoded information storing means. encoded stream relay device according to claim 1 or 2, wherein the determining whether to perform the replacement.
前記符号化情報編集判断手段は、さらに前記ストリーム受信手段で受信した符号化ストリーム中に符号化情報が所定の頻度を超えて含まれるかどうかを判定し、
前記符号化情報編集手段は、さらに前記符号化情報編集判断手段の判定結果に基づき、前記ストリーム受信手段で受信した符号化ストリームから所定の頻度を超えて含まれる符号化情報を削除する
ことを特徴とする請求項1乃至4のいずれかに記載の符号化ストリーム中継装置。
The encoded information editing determining means further determines whether or not the encoded information is included in the encoded stream received by the stream receiving means in excess of a predetermined frequency;
The encoded information editing means further deletes encoded information included exceeding a predetermined frequency from the encoded stream received by the stream receiving means based on the determination result of the encoded information editing determining means. The encoded stream relay device according to any one of claims 1 to 4 .
前記符号化ストリームはMPEG−4映像ストリームであり、前記符号化情報はDecoder Configuration Informationである
ことを特徴とする請求項1乃至のいずれかに記載の符号化ストリーム中継装置。
The encoded stream relay device according to any one of claims 1 to 5 , wherein the encoded stream is an MPEG-4 video stream, and the encoded information is Decoder Configuration Information.
ネットワークに接続された端末装置間で符号化ストリームを伝送する場合に当該符号化ストリームの中継を行う符号化ストリーム中継装置における符号化ストリーム中継方法であって、
符号化ストリーム中継装置が、
符号化ストリームに関する情報である符号化情報を能力交換処理によって取得する能力交換ステップと、
前記能力交換ステップで取得した符号化情報を保存する符号化情報保存ステップと、
送信側の端末装置から送信された符号化ストリームを受信するストリーム受信ステップと、
前記ストリーム受信ステップで受信した符号化ストリームに関して、符号化情報の挿入または置換を行うか否かを判定する符号化情報編集判断ステップと、
前記符号化情報編集判断ステップの判定結果に基づき、前記ストリーム受信ステップで受信した符号化ストリームに前記符号化情報保存ステップで保存した符号化情報を挿入する、または前記ストリーム受信ステップで受信した符号化ストリームに含まれる符号化情報を前記符号化情報保存ステップで保存した符号化情報に置換する符号化情報編集ステップと、
前記符号化情報編集ステップで符号化情報が挿入または置換された符号化ストリームを受信側の端末装置へ送信するストリーム送信ステップとを実行する
ことを特徴とする符号化ストリーム中継方法。
An encoded stream relay method in an encoded stream relay device that relays an encoded stream when transmitting the encoded stream between terminal devices connected to a network,
The encoded stream relay device
A capability exchange step of acquiring encoded information, which is information about the encoded stream, by capability exchange processing;
An encoded information storage step for storing the encoded information acquired in the capability exchange step;
A stream reception step of receiving an encoded stream transmitted from a terminal device on the transmission side;
An encoded information editing determination step for determining whether to insert or replace encoded information for the encoded stream received in the stream receiving step;
Based on the determination result of the encoding information editing determination step, the encoding information stored in the encoding information storage step is inserted into the encoded stream received in the stream reception step, or the encoding received in the stream reception step An encoded information editing step for replacing the encoded information included in the stream with the encoded information stored in the encoded information storing step;
And a stream transmission step of transmitting the encoded stream in which the encoded information is inserted or replaced in the encoded information editing step to a terminal device on the receiving side.
ネットワークに接続された端末装置間で符号化ストリームを伝送する場合に当該符号化ストリームの中継を行う符号化ストリーム中継装置における符号化ストリーム中継方法であって、
符号化ストリーム中継装置が、
送信側の端末装置から送信された符号化ストリームを受信するストリーム受信ステップと、
前記ストリーム受信ステップで受信した符号化ストリームを解析し、当該符号化ストリームに関する情報である符号化情報を取得するストリーム解析ステップと、
前記ストリーム解析ステップで取得した符号化情報を保存する符号化情報保存ステップと、
前記ストリーム受信ステップで受信した符号化ストリームに関して、符号化情報の挿入または置換を行うか否かを判定する符号化情報編集判断ステップと、
前記符号化情報編集判断ステップの判定結果に基づき、前記ストリーム受信ステップで受信した符号化ストリームに前記符号化情報保存ステップで保存した符号化情報を挿入する、または前記ストリーム受信ステップで受信した符号化ストリームに含まれる符号化情報を前記符号化情報保存ステップで保存した符号化情報に置換する符号化情報編集ステップと、
前記符号化情報編集ステップで符号化情報が挿入または置換された符号化ストリームを受信側の端末装置へ送信するストリーム送信ステップとを実行する
ことを特徴とする符号化ストリーム中継方法。
An encoded stream relay method in an encoded stream relay device that relays an encoded stream when transmitting the encoded stream between terminal devices connected to a network,
The encoded stream relay device
A stream reception step of receiving an encoded stream transmitted from a terminal device on the transmission side;
A stream analysis step of analyzing the encoded stream received in the stream receiving step and acquiring encoded information that is information relating to the encoded stream;
An encoding information storage step for storing the encoding information acquired in the stream analysis step;
An encoded information editing determination step for determining whether to insert or replace encoded information for the encoded stream received in the stream receiving step;
Based on the determination result of the encoding information editing determination step, the encoding information stored in the encoding information storage step is inserted into the encoded stream received in the stream reception step, or the encoding received in the stream reception step An encoded information editing step for replacing the encoded information included in the stream with the encoded information stored in the encoded information storing step;
And a stream transmission step of transmitting the encoded stream in which the encoded information is inserted or replaced in the encoded information editing step to a terminal device on the receiving side.
前記符号化情報編集判断ステップは、前記ストリーム受信ステップで受信した符号化ストリーム中の符号化情報の有無に基づき、符号化情報の挿入を行うか否かを判定する
ことを特徴とする請求項7または8に記載の符号化ストリーム中継方法。
The coded information editing judgment step is based on the presence or absence of encoding information of the stream reception step encoded stream received in claim 7, characterized in that determines whether or not to insert the coding information Or the encoded stream relay method according to 8.
前記符号化情報編集判断ステップは、前記ストリーム受信ステップで受信した符号化ストリーム中の符号化情報と前記符号化情報保存ステップで保存した符号化情報との比較結果に基づき、符号化情報の置換を行うか否かを判定する
ことを特徴とする請求項7または8に記載の符号化ストリーム中継方法。
The encoded information editing determination step replaces the encoded information based on the comparison result between the encoded information in the encoded stream received in the stream receiving step and the encoded information stored in the encoded information storing step. The encoded stream relay method according to claim 7 or 8 , wherein it is determined whether or not to perform.
前記符号化情報編集判断ステップは、さらに前記ストリーム受信ステップで受信した符号化ストリーム中に符号化情報が所定の頻度を超えて含まれるかどうかを判定し、
前記符号化情報編集ステップは、さらに前記符号化情報編集判断ステップの判定結果に基づき、前記ストリーム受信ステップで受信した符号化ストリームから所定の頻度を超えて含まれる符号化情報を削除する
ことを特徴とする請求項7乃至10のいずれかに記載の符号化ストリーム中継方法。
The encoded information edit determining step further determines whether the encoded information received in the stream receiving step includes encoded information exceeding a predetermined frequency,
The encoded information editing step further deletes encoded information included exceeding a predetermined frequency from the encoded stream received in the stream receiving step based on a determination result of the encoded information editing determining step. The encoded stream relay method according to any one of claims 7 to 10 .
前記符号化ストリームはMPEG−4映像ストリームであり、前記符号化情報はDecoder Configuration Informationである
ことを特徴とする請求項7乃至11のいずれかに記載の符号化ストリーム中継方法。
The encoded stream relay method according to claim 7 , wherein the encoded stream is an MPEG-4 video stream, and the encoded information is Decoder Configuration Information.
請求項7乃至12のいずれかに記載の符号化ストリーム中継方法の各ステップを、符号化ストリーム中継装置として機能させるコンピュータに実行させることを特徴とするプログラム。 A program that causes a computer that functions as an encoded stream relay apparatus to execute each step of the encoded stream relay method according to any one of claims 7 to 12 .
JP2004183375A 2004-06-22 2004-06-22 Coded stream relay apparatus, method and program thereof Expired - Fee Related JP4252017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004183375A JP4252017B2 (en) 2004-06-22 2004-06-22 Coded stream relay apparatus, method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004183375A JP4252017B2 (en) 2004-06-22 2004-06-22 Coded stream relay apparatus, method and program thereof

Publications (2)

Publication Number Publication Date
JP2006013583A JP2006013583A (en) 2006-01-12
JP4252017B2 true JP4252017B2 (en) 2009-04-08

Family

ID=35780335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004183375A Expired - Fee Related JP4252017B2 (en) 2004-06-22 2004-06-22 Coded stream relay apparatus, method and program thereof

Country Status (1)

Country Link
JP (1) JP4252017B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5193026B2 (en) * 2006-03-07 2013-05-08 日本電気株式会社 Video distribution system and conversion device
WO2007105618A1 (en) 2006-03-14 2007-09-20 Nec Corporation Buffer control method, relaying device and communication system
KR100989087B1 (en) 2006-03-17 2010-10-25 닛본 덴끼 가부시끼가이샤 Encoded stream sending device and encoded stream sending method
JP4983917B2 (en) * 2007-05-23 2012-07-25 日本電気株式会社 Moving image distribution system, conversion device, and moving image distribution method
JP4917497B2 (en) * 2007-08-07 2012-04-18 日本電信電話株式会社 Video distribution device, distribution video switching method, distribution video switching program, and distribution video switching program recording medium

Also Published As

Publication number Publication date
JP2006013583A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
US6357028B1 (en) Error correction and concealment during data transmission
JP3931595B2 (en) Data correction apparatus and data correction method
JP3957460B2 (en) Transmission header compression apparatus, moving picture encoding apparatus, and moving picture transmission system
KR100844224B1 (en) Method and apparatus for handling video communication errors
KR101166446B1 (en) Buffer control method, relaying device and communication system
US7667729B2 (en) Multi-point conference system and multi-point conference device
US20060285589A1 (en) Video coding
US9153127B2 (en) Video transmitting apparatus, video receiving apparatus, and video transmission system
US7818772B2 (en) System and method for improving the quality of video communication over a packet-based network
US7792374B2 (en) Image processing apparatus and method with pseudo-coded reference data
EP2308215B1 (en) Thinning of packet-switched video data
JP4252017B2 (en) Coded stream relay apparatus, method and program thereof
JP4662085B2 (en) Moving image storage system, moving image storage method, and moving image storage program
US8811478B2 (en) Data transmission method and apparatus
US20110188568A1 (en) Server apparatus, communication method and program
US8290063B2 (en) Moving image data conversion method, device, and program
JP4491290B2 (en) Packet error monitoring type MPEG decoder, MPEG video transmission system, and MPEG video transmission method
EP2290978A1 (en) Server device, communication method, and program
JP4525697B2 (en) Transmission header compression apparatus, moving picture encoding apparatus, and moving picture transmission system
CN116471397A (en) Multicast video source quality monitoring method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081212

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090120

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees