[go: up one dir, main page]

JP2010041496A - Data reception processing apparatus and data reception processing method - Google Patents

Data reception processing apparatus and data reception processing method Download PDF

Info

Publication number
JP2010041496A
JP2010041496A JP2008203242A JP2008203242A JP2010041496A JP 2010041496 A JP2010041496 A JP 2010041496A JP 2008203242 A JP2008203242 A JP 2008203242A JP 2008203242 A JP2008203242 A JP 2008203242A JP 2010041496 A JP2010041496 A JP 2010041496A
Authority
JP
Japan
Prior art keywords
packet
buffer
unit
data
restoration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008203242A
Other languages
Japanese (ja)
Inventor
Yuta Matsui
雄太 松井
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 JP2008203242A priority Critical patent/JP2010041496A/en
Publication of JP2010041496A publication Critical patent/JP2010041496A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

【課題】受信側における欠落したパケットの復元処理に起因するジッタの影響を受けないデータ受信処理装置を提供する。
【解決手段】アダプティブクロック方式で管理されるTTS(タイムスタンプ付きトランスポート・ストリーム)バッファ105の他に、RTPバッファ102を設ける。IP処理部101からRTPバッファ102に入力されたパケットは即座にTTSバッファ105に記憶する。RTPバッファ102には欠落したパケットの復元に使用するパケットを保存する。復元部103とNullパケット処理104は、欠落したパケットを検出したとき、一時的にTTSバッファ105内の欠落したパケット部分に代替データを記憶する。復元部103とパケット置換部106は、欠落したパケットが復元可能なときには復元したパケットを、代替データに置換する。
【選択図】図4
The present invention provides a data reception processing apparatus that is not affected by jitter caused by a lost packet restoration process on a receiving side.
In addition to a TTS (Transport Stream with Time Stamp) buffer managed by an adaptive clock method, an RTP buffer is provided. A packet input from the IP processing unit 101 to the RTP buffer 102 is immediately stored in the TTS buffer 105. The RTP buffer 102 stores a packet used for restoring the lost packet. When the restoration unit 103 and the null packet processing 104 detect a missing packet, the restoration unit 103 and the null packet processing 104 temporarily store substitute data in the missing packet portion in the TTS buffer 105. The restoration unit 103 and the packet replacement unit 106 replace the restored packet with alternative data when the lost packet can be restored.
[Selection] Figure 4

Description

本発明は、通信網を介して受信したデータについて受信処理を行うデータ受信処理装置と方法に関する。
本発明は特に、通信網を介して受信したパケットに欠落があった場合に欠落したパケットを復元する時に起こる「バッファリング・ジッタ」を改善するデータ受信方法とデータ受信装置に関する。
The present invention relates to a data reception processing apparatus and method for performing reception processing on data received via a communication network.
In particular, the present invention relates to a data receiving method and a data receiving apparatus for improving “buffering jitter” that occurs when a lost packet is restored when a packet received via a communication network is lost.

通信網(ネットワーク)を用いてプッシュ型の通信を行うとき、受信側のバッファに受信データが収容しきれないというオーバーフロー、または、バッファにおける受信データの蓄積量が極端に低下するというアンダーフローが起こることがある。
本明細書において、これらをバッファの破綻と言う。
When push-type communication is performed using a communication network (network), an overflow that the received data cannot be stored in the buffer on the receiving side or an underflow that the amount of received data stored in the buffer is extremely reduced occurs. Sometimes.
In the present specification, these are referred to as buffer failures.

バッファの破綻を防止する対策の1つとして、通常、バッファへのデータを書き込むための書き込みクロックと、バッファからデータを読みだすための読み出しクロックとを同期させる。
書き込みクロックは、通信網の送信側のデータ送信クロックに対応しており、読み出しクロックは受信側における再生クロックに対応している。したがって、送信側のデータ送信クロックと受信側の再生クロックとの同期をとればよい。
As one of the measures for preventing the buffer failure, the write clock for writing data to the buffer and the read clock for reading data from the buffer are usually synchronized.
The write clock corresponds to the data transmission clock on the transmission side of the communication network, and the read clock corresponds to the reproduction clock on the reception side. Therefore, it is only necessary to synchronize the data transmission clock on the transmission side and the reproduction clock on the reception side.

しかしながら、通信網、または、通信経路におけるデータの遅延の揺らぎ(ジッタ)が存在し、送信側のクロックと、受信側のクロックとが同期しているという、網同期が確立しているという保証は、通常、得られない。
そのようなジッタとしては、ネットワークの負荷スパイクに起因する高周波ジッタと、連続的に変動する揺らぎが知られている。
However, there is a guarantee that network synchronization is established that there is data delay fluctuation (jitter) in the communication network or communication path, and the clock on the transmission side is synchronized with the clock on the reception side. Usually not obtained.
As such jitter, high-frequency jitter caused by network load spikes and continuously fluctuating fluctuations are known.

そのため、非同期方式の通信網、たとえば、ATM(Asynchronous Transfer Mode、非同期転送モード) 網などにおいては、受信側においてバッファの滞留量(データ蓄積量)を常時監視しておき、バッファの滞留量が一定になるように、再生クロックの制御を行っている。これを「アダプティブ(適応型)クロック再生法」と呼ぶ。   Therefore, in an asynchronous communication network, for example, an ATM (Asynchronous Transfer Mode) network, the buffer retention amount (data accumulation amount) is constantly monitored on the receiving side, and the buffer retention amount is constant. The reproduction clock is controlled so that This is called an “adaptive (adaptive) clock recovery method”.

「アダプティブクロック再生法」の概念は、非特許文献1(ITU(国際電気通信連合)−T勧告1.363.1)に定義されている。
また、通信網、または、通信経路におけるデータの遅延の揺らぎ(ジッタ)を考慮した、アダプティブクロック方式を適用した装置も提案されている(たとえば、特許文献1、2)。
The concept of “adaptive clock recovery method” is defined in Non-Patent Document 1 (ITU (International Telecommunication Union) -T recommendation 1.3633.1).
In addition, an apparatus using an adaptive clock method that considers data delay fluctuation (jitter) in a communication network or communication path has been proposed (for example, Patent Documents 1 and 2).

ここで、「アダプティブクロック再生法」のIP(Internet Protocol)網におけるリアルタイム・ストリーミング(実時間データ伝送)などに適用することを想定した例を示す。
図1はその場合の受信機200の構成を示す。受信機200は、通信網230からIPデータを受信して信号処理を行う受信処理部210と、映像データ、音声データなどに再生を行う再生処理部220とを有する。
Here, an example assuming application of the “adaptive clock recovery method” to real-time streaming (real-time data transmission) in an IP (Internet Protocol) network will be shown.
FIG. 1 shows the configuration of the receiver 200 in that case. The receiver 200 includes a reception processing unit 210 that receives IP data from the communication network 230 and performs signal processing, and a reproduction processing unit 220 that reproduces video data, audio data, and the like.

アダプティブクロック方式に基づいて、受信処理部210におけるTTS処理部215において、タイムスタンプ(TimeStamp)処理の対象となる、タイムスタンプ付きトランスポート・ストリーム(TTS)バッファのデータの滞留量(データの蓄積量)を監視する。   Based on the adaptive clock method, the TTS processing unit 215 of the reception processing unit 210 stores the data retention amount (data storage amount) of the time-stamped transport stream (TTS) buffer that is the target of time stamp processing. ).

パケットが通信網230を通過した際、パケットの欠落が生じることがあり、TTS処理部215の前段における、RTPパケット処理およびFEC処理部213において、欠落したパケットの復元処理を行う。RTPはReal Time Transport Protocolの略であり、FECはForward Error Correctionの略である。
RTPパケット処理およびFEC処理部213において、通信網230において欠落したパケットの欠落処理または復元処理を行う場合に、復元処理に伴うバッファ処理(バッファリング)によって監視対象のバッファリングの滞留量に影響が生ずる。
When a packet passes through the communication network 230, the packet may be lost, and the RTP packet processing and FEC processing unit 213 in the previous stage of the TTS processing unit 215 performs restoration processing of the lost packet. RTP is an abbreviation for Real Time Transport Protocol, and FEC is an abbreviation for Forward Error Correction.
In the RTP packet processing and FEC processing unit 213, when the missing packet processing or restoration processing of the lost packet in the communication network 230 is performed, the buffer processing (buffering) accompanying the restoration processing affects the retention amount of the buffering to be monitored. Arise.

その理由を説明する。
たとえば、図2に例示したパケット配置において、”01“のパケットが欠落したと仮定すると、その復元のためには、欠落した”01“のパケットと連続する、少なくとも、”91“のパケットと、”C1“のパケットの到来を待って、”91“のパケットと、”C1“のパケットとを用いて復元する。
このように、”91“のパケットと、”C1“のパケットの到来を待って、欠落したパケットの復元処理(訂正処理)を行うので、TTS処理部215のバッファ処理に遅延が起こる。
The reason will be explained.
For example, in the packet arrangement illustrated in FIG. 2, assuming that the packet “01” is lost, for the restoration, at least a packet “91” that is continuous with the lost “01” packet, Waiting for the arrival of the “C1” packet, restoration is performed using the “91” packet and the “C1” packet.
In this way, since the lost packet is restored (corrected) after the arrival of the “91” packet and the “C1” packet, a delay occurs in the buffer processing of the TTS processing unit 215.

その結果、通信経路におけるデータの遅延の揺らぎ(ジッタ)を考慮した「アダプティブクロック方式」を適用したとしても、受信処理部における欠落したパケットの復元処理などにおいて受信したパケットをバッファリングしてしまうことにより、「アダプティブクロック方式」の精度に影響を与える。   As a result, even if the “adaptive clock method” that takes into account data delay fluctuations (jitter) in the communication path is applied, the received packet is buffered in the recovery processing of the missing packet in the reception processing unit. This affects the accuracy of the “adaptive clock system”.

また、TTSバッファにおける受信データのオーバーフローまたはアンダーフローを回避するため、しばしば、TTSバッファへのデータの蓄積量を上限と下限をしきい値として設定することが行われている。
しかしながら、TTSバッファ処理部215の前段のRTPパケット処理およびFEC処理部213のバッファリングの影響が、監視対象のバッファへのデータの入力において、ジッタのような振る舞いとなる。
In order to avoid overflow or underflow of received data in the TTS buffer, the amount of data stored in the TTS buffer is often set with an upper limit and a lower limit as threshold values.
However, the influence of the RTP packet processing in the previous stage of the TTS buffer processing unit 215 and the buffering of the FEC processing unit 213 behaves like jitter when data is input to the monitoring target buffer.

そのようなジッタを吸収するため、TTSバッファのしきい値(余裕)を大きくする必要がある。そうすると、バッファの規模が大きくなるという不利益に遭遇する。
TTSバッファは、通常、FIFOバッファとして構成されている。
In order to absorb such jitter, it is necessary to increase the threshold value (margin) of the TTS buffer. Then, the disadvantage of increasing the size of the buffer is encountered.
The TTS buffer is usually configured as a FIFO buffer.

上述した問題は、監視するTTSバッファを限定したために生ずる問題である。
ある程度、ブロックをまとめたシステムを想定し、そのシステムの内部に滞留されているデータを観察することにより、そのシステムの内部のジッタを包含し、その影響を無視するという考えも成り立つ。
The problem described above is a problem caused by limiting the TTS buffer to be monitored.
It is also possible to assume a system in which blocks are gathered to some extent and observe the data retained in the system to include jitter inside the system and ignore its influence.

その具体的な方法としては、図1におけるRTP処理と、TTS処理のデータの滞留量を合計して考えることにより、そのシステムの内部のデータ移動や、ジッタなどを無視することができる。
ただし、この場合、システム内に欠落したパケットの復元処理部を含めているため、欠落したパケットの復元により、システムへのデータの入力と、システムからのデータの出力の量が一致しないことなどを考慮する必要がある。
As a specific method, the total data retention amount of the RTP process and the TTS process in FIG. 1 can be considered, so that data movement inside the system, jitter, and the like can be ignored.
However, in this case, since the restoration processing unit for missing packets is included in the system, the amount of data input to the system and the amount of data output from the system do not match due to restoration of the missing packets. It is necessary to consider.

また、上記システムとして、データの入出力がオーバーフローまたはアンダーフローしないというバッファの破綻状態が起きないことは勿論、システム内部の各バッファでも破綻状態が起きないように制御する必要がある。
その結果、上記ブロックをまとめたシステムとして対策を講ずる手法は、バッファの制御が非常に複雑になるという問題に遭遇する。
Further, in the above system, it is necessary not to cause a buffer failure state in which data input / output does not overflow or underflow, but also to control each buffer in the system so that a failure state does not occur.
As a result, the method of taking measures as a system in which the above blocks are combined encounters a problem that the control of the buffer becomes very complicated.

以上から、上述した課題を克服する、データ受信処理装置とデータ受信処理方法を提供することが望まれている。   From the above, it is desired to provide a data reception processing device and a data reception processing method that overcome the above-described problems.

ITU−T勧告1.363.1ITU-T recommendation 1.363.1 特開2006-42273号公報JP 2006-42273 A 特開2006-49941号公報JP 2006-49941 A

本発明によれば、パケット化されたコンテンツ情報に各パケットの出力順序を示す連続性を示す情報が付加されたストリームを入力する入力手段と、該入力手段で入力した前記連続性を示す情報が付加されたストリームを保存する第1のバッファ手段と、該第1のバッファ手段から出力されたストリームを蓄積する第2のバッファ手段と、少なくとも、前記第1のバッファ手段に入力されるストリーム内の連続性の有無に基づいてパケットに欠落が生じたことを検出し、前記第2のバッファ手段に記憶されている検出した欠落したパケットデータ部分に代替パケットを挿入し、欠落したパケットが復元処理可能な場合、復元したパケットを前記第2のバッファ手段に保存された代替パケットを置き換える、復元処理手段と、前記第2のバッファ手段に蓄積されたパケットデータを出力する出力制御手段とを備えたデータ受信処理装置が提供される。   According to the present invention, there is provided input means for inputting a stream in which information indicating continuity indicating the output order of each packet is added to packetized content information, and information indicating the continuity input by the input means. A first buffer means for storing the added stream; a second buffer means for storing the stream output from the first buffer means; and at least a stream in the stream input to the first buffer means. Based on the presence / absence of continuity, it is detected that a packet has been lost, and an alternative packet is inserted into the detected lost packet data portion stored in the second buffer means, so that the lost packet can be restored. In this case, a restoration processing means for replacing the substitute packet stored in the second buffer means with the restored packet, and the second buffer Data reception processing device and an output control means for outputting the stored packet data unit is provided.

好ましくは、前記第1のバッファ手段は、前記入力手段から入力されたストリームおよび前記復元処理に必要なパケットのみを保存する。
また好ましくは、前記復元処理手段は、前記第1のバッファ手段に保存されるストリーム内のパケットの番号の順序が乱れていることを検出した場合に、前記第2のバッファ手段に保存されたパケットの順序を正しく修正する。
Preferably, the first buffer unit stores only a stream input from the input unit and a packet necessary for the restoration process.
Further preferably, when the restoration processing unit detects that the order of the packet numbers in the stream stored in the first buffer unit is out of order, the packet stored in the second buffer unit Correct the order.

また本発明によれば、第1のバッファ手段と、第2のバッファ手段とを有する受信装置におけるデータ受信処理を行うため、入力されるパケット化されたコンテンツ情報に各パケットの出力順序を示す連続性を示す情報が付加されたストリームを入力する工程と、該入力手段で入力した前記連続性を示す情報が付加されたストリームを前記第1のバッファ手段に保存する第1のバッファ処理工程と、該第1のバッファ手段から前記ストリームを読みだして前記第2のバッファ手段に蓄積する第2のバッファ処理工程と、少なくとも、前記第1のバッファ手段に入力されるストリーム内の連続性の有無に基づいてパケットに欠落が生じたことを検出する工程と、前記パケットの欠落を検出したとき、前記第2のバッファ手段に記憶されている検出した欠落したパケットデータ部分に代替パケットを挿入する代替パケット挿入工程と、前記欠落したパケットが復元処理可能な場合、復元したパケットを前記第2のバッファ手段に保存された代替パケットを置き換える、置換工程と前記第2のバッファ手段に蓄積されたパケットデータを出力する出力制御工程とを有するデータ受信処理方法が提供される。   Further, according to the present invention, in order to perform data reception processing in the receiving apparatus having the first buffer unit and the second buffer unit, the packetized content information that is input indicates a sequence indicating the output order of each packet. A step of inputting a stream to which information indicating sex is added, and a first buffer processing step of storing the stream to which information indicating continuity input by the input unit is added in the first buffer unit; A second buffer processing step of reading the stream from the first buffer means and storing it in the second buffer means, and at least whether there is continuity in the stream input to the first buffer means; A step of detecting that a packet has been lost based on the packet, and a detection stored in the second buffer means when the packet is lost. A substitute packet inserting step of inserting a substitute packet into the missing packet data portion, and a replacement step of replacing the substitute packet stored in the second buffer means with the restored packet when the missing packet can be restored. And an output control step of outputting the packet data stored in the second buffer means.

本発明においては、2つのバッファ手段を設け、第1のバッファ手段において受信したパケットのうち、欠落したパケットの復元に必要なパケットを保存しておく。また第1のバッファ手段に入力されたストリームは即座に第2のバッファ手段に転送して、第2のバッファ手段に蓄積させる。
好ましくは、第2のバッファ手段へのパケットの書き込み、第2のバッファ手段からのパケットの出力は、アダプティブクロック方式を適用する。
復元処理手段が、第1のバッファ手段に入力されるストリームの中にパケットの欠落があるか否かを検出する。パケットの欠落を検出したとき、復元処理手段は、暫定的に、第2のバッファ手段に蓄積されたパケットのうち欠落した部分に対応する部分に、代替パケットを記憶する。
欠落したパケットの後に到来するパケットにを用いて欠落したパケットが復元可能な場合、復元処理手段が欠落したパケットに対応するパケットを復元して、第2のバッファ手段に記憶した代替パケットを置換する。
In the present invention, two buffer means are provided, and packets necessary for restoring lost packets among the packets received by the first buffer means are stored. Further, the stream input to the first buffer means is immediately transferred to the second buffer means and stored in the second buffer means.
Preferably, an adaptive clock system is applied for writing the packet to the second buffer means and outputting the packet from the second buffer means.
The restoration processing means detects whether or not there is a missing packet in the stream input to the first buffer means. When the missing packet is detected, the restoration processing means temporarily stores the substitute packet in a portion corresponding to the missing portion of the packets accumulated in the second buffer means.
When the lost packet can be restored using the packet that arrives after the missing packet, the restoration processing means restores the packet corresponding to the missing packet and replaces the substitute packet stored in the second buffer means .

本発明によれば、欠落したパケットの復元処理を、ジッタの影響を及ぼさずに、実現できた。
その結果、第2のバッファ手段におけるバッファ量の変動が小さくなり、第2のバッファ手段の容量が増大することを防止できる。
また、第2のバッファ手段の蓄積量(滞留量)を監視してクロック同期を行うアダプティブクロック方式の精度が向上する。
According to the present invention, the lost packet restoration processing can be realized without affecting the jitter.
As a result, the fluctuation of the buffer amount in the second buffer means is reduced, and the capacity of the second buffer means can be prevented from increasing.
In addition, the accuracy of the adaptive clock system in which the accumulated amount (retention amount) of the second buffer means is monitored and clock synchronization is performed is improved.

また本発明によれば、順序が乱れたパケットの順序を、ジッタの影響を及ぼさずに、実現できた。   Furthermore, according to the present invention, the order of packets out of order can be realized without affecting the jitter.

通信システム構成
図3は、本発明の実施の形態の受信機が適用される通信システムの構成を示す図である。
図3に図解した通信システム1は、通信網10を介して、送信機11から受信機12に、トランスポート・ストリーム(TS)の形態でパケット・データを送信するように構成されている。
Communication System Configuration FIG. 3 is a diagram showing a configuration of a communication system to which the receiver according to the embodiment of the present invention is applied.
The communication system 1 illustrated in FIG. 3 is configured to transmit packet data in the form of a transport stream (TS) from a transmitter 11 to a receiver 12 via a communication network 10.

受信機の構成
図3は、受信機12の構成を示す。
受信機12は、通信網10に接続され、送信機11から送信されたトランスポート・ストリーム・データを受信して信号処理を行う受信処理部100と、受信処理部100で処理したデータを入力して、そのデータ固有の信号処理を行うコンテンツ処理部110とを有する。
送信機11から送信されるトランスポート・ストリームは、たとえば、圧縮され多重化された、たとえば、テレビジョン映像データと音声データとを含み、静止画データ、文字情報などを含んでもよい。テレビジョン映像データと音声データとを含み、静止画データ、文字情報などを含むことができる。これのデータを総称して、コンテンツ・データとき言う。
受信機12は、たとえば、IPテレビジョン受信機であり、送信機11から送出されたコンテンツを受信して、再生する。
たとえば、コンテンツ処理部110は、図1に再生処理部220として図解したように、多重化された映像データと音声データとを分離するTSデマルチプレクサ、分離された映像データと音声データをそれぞれ復号する映像デコーダ、音声デコーダを含むことができる。
Configuration of Receiver FIG. 3 shows the configuration of the receiver 12.
The receiver 12 is connected to the communication network 10, receives the transport stream data transmitted from the transmitter 11 and performs signal processing, and inputs the data processed by the reception processing unit 100. The content processing unit 110 performs signal processing specific to the data.
The transport stream transmitted from the transmitter 11 includes, for example, television video data and audio data that are compressed and multiplexed, and may include still image data, character information, and the like. It includes television video data and audio data, and can include still image data, character information, and the like. These data are collectively called content data.
The receiver 12 is an IP television receiver, for example, and receives and reproduces content sent from the transmitter 11.
For example, as illustrated as the reproduction processing unit 220 in FIG. 1, the content processing unit 110 decodes the demultiplexed video data and audio data, respectively, a TS demultiplexer that separates the multiplexed video data and audio data. A video decoder and an audio decoder can be included.

受信機12内の受信処理部100は、送信機11から送出されたコンテンツを受信して、コンテンツ処理部110におけるコンテンツの復号処理など再生処理可能なように、下記に例示する受信処理を行う。   The reception processing unit 100 in the receiver 12 receives the content sent from the transmitter 11 and performs the following reception processing so that the content processing unit 110 can perform reproduction processing such as content decoding processing.

図4に受信処理部100の構成図を示す。
受信処理部100は、IP(Internet Protocol)処理部101と、RTP(Real Time
Transport Protocol) バッファ102とを有する。
受信処理部100はまた、復元部103と、Null(ヌル)パケット処理104と、TTS(タイムスタンプ(TimeStamp)付き(Transport Stream )バッファ105とを有する。
受信処理部100はさらに、パケット置換部106を有する。
受信処理部100はさらに、パケット出力部107と、クロック同期部108とを有する。
以下、各部の処理内容を述べる。
FIG. 4 shows a configuration diagram of the reception processing unit 100.
The reception processing unit 100 includes an IP (Internet Protocol) processing unit 101 and an RTP (Real Time).
Transport Protocol) buffer 102.
The reception processing unit 100 also includes a restoration unit 103, a null packet processing 104, and a TTS (Transport Stream) buffer 105 with a time stamp (TimeStamp).
The reception processing unit 100 further includes a packet replacement unit 106.
The reception processing unit 100 further includes a packet output unit 107 and a clock synchronization unit 108.
The processing contents of each unit will be described below.

IP処理部101
IP処理部101は、通信網10を経由して送信機11から送信されたIPパケットを受信する。
IP処理部101は、受信したIPパケットS10からIPヘッダ、UDP(User Datagram Protocol) ヘッダなどその後の処理、たとえば、コンテンツ処理部110における処理に用いないデータを取り除いてRTP(Real Time Transport Protocol) パケットを抽出する処理を行う。
IP処理部101は、復元部103の制御のもと、IP処理部101で抽出したRTPパケットデータS101のうちペイロード(Payload)部分のデータをRTPバッファ102に送出する。
IP processing unit 101
The IP processing unit 101 receives an IP packet transmitted from the transmitter 11 via the communication network 10.
The IP processing unit 101 removes data not used for subsequent processing such as an IP header and UDP (User Datagram Protocol) header from the received IP packet S10, for example, processing in the content processing unit 110, and RTP (Real Time Transport Protocol) packet. The process which extracts is performed.
Under the control of the restoration unit 103, the IP processing unit 101 sends the payload portion of the RTP packet data S 101 extracted by the IP processing unit 101 to the RTP buffer 102.

RTPバッファ102
RTPバッファ102は、IP処理部101から送出されたRTPパケットデータS101を保管(格納)する。
RTPバッファ102に保管されたRTPパケットデータは、復元部103の制御のもとで、タイムスタンプ(TimeStamp)付きTSパケットS102としてTTSバッファ105に送出される。
RTP buffer 102
The RTP buffer 102 stores (stores) the RTP packet data S101 sent from the IP processing unit 101.
The RTP packet data stored in the RTP buffer 102 is sent to the TTS buffer 105 as a TS packet S102 with a time stamp (TimeStamp) under the control of the restoration unit 103.

TTSバッファ105
TTS(TimeStamp 付きTransport Stream)バッファ105は、復元部103の制御のもとでRTPバッファ102から出力されるペイロードデータ、すなわち、タイムスタンプ付きTSパケットを蓄積する(格納する)。
TTSバッファ105は、アダプティブクロック方式に基づき、蓄積量(滞留量)が監視されて、書き込みパケットと読み出しパケットとのクロック同期が行われる。
TTSバッファ105は、たとえば、FIFOバッファとして構成されている。
TTS buffer 105
A TTS (Transport Stream with TimeStamp) buffer 105 accumulates (stores) payload data output from the RTP buffer 102 under the control of the restoration unit 103, that is, TS packets with a time stamp.
The TTS buffer 105 monitors the accumulation amount (retention amount) based on the adaptive clock method, and performs clock synchronization between the write packet and the read packet.
The TTS buffer 105 is configured as, for example, a FIFO buffer.

なお、RTPバッファ102は、アダプティブクロック方式が適用されるTTSバッファ105とは異なり、IP処理部101から送出されたRTPパケットデータS101を保管(格納)し、即座に、復元部103の制御のもとで、タイムスタンプ(TimeStamp)付きTSパケットS102としてTTSバッファ105に送出し、後述する欠落したパケットの復元に使用するパケットのみを保存するバッファである。
したがって、RTPバッファ102の容量はTTSバッファ105のように大きくする必要はない。
Unlike the TTS buffer 105 to which the adaptive clock method is applied, the RTP buffer 102 stores (stores) the RTP packet data S101 sent from the IP processing unit 101 and immediately controls the restoration unit 103. Thus, the TS packet S102 is sent to the TTS buffer 105 as a TS packet S102 with a time stamp (TimeStamp), and only a packet used for restoring a lost packet, which will be described later, is stored.
Therefore, the capacity of the RTP buffer 102 does not need to be increased as the TTS buffer 105.

復元処理手段
復元部103は、上述したように、IP処理部101からRTPバッファ102へのパケットの送出、および、RTPバッファ102からTTSバッファ105へのパケットの送出の制御に加えて、下記に記す欠落したパケットの復元処理、および、順序が乱れて受信したパケットを正規の順序に修復する処理を行う。
As described above, the restoration processing means restoration unit 103 is described below in addition to the control of sending packets from the IP processing unit 101 to the RTP buffer 102 and sending packets from the RTP buffer 102 to the TTS buffer 105. The lost packet restoration process and the process of restoring the received packet out of order to the normal order are performed.

すなわち、RTPバッファ102に保管されたRTPパケットと、TTSバッファ105に蓄積されたタイムスタンプ付きTSパケットについて、たとえば、通信網10におけるパケットの欠落などがあった場合、復元部103、パケット置換部106、Nullパケット処理104と協働して、図4を参照して述べる受信・復元処理を行う。   That is, for example, when there is a missing packet in the communication network 10 between the RTP packet stored in the RTP buffer 102 and the TS packet with a time stamp accumulated in the TTS buffer 105, the restoration unit 103, the packet replacement unit 106 In cooperation with the Null packet processing 104, reception / restoration processing described with reference to FIG. 4 is performed.

復元部103、Nullパケット処理104、パケット置換部106は、受信復元処理手段を構成する。
他方、RTPバッファ102は、本発明の第1のバッファ手段に対応しており、復元処理のための補助バッファであり、復元処理手段に含めることができる。
また、TTSバッファ105は、本発明の第1のバッファ手段に対応しており、アダプティブクロック方式に基づいて、通信網10から受信したパケットを蓄積するバッファとして機能する一方、復元処理手段の一部としても機能する。
The restoration unit 103, the null packet processing 104, and the packet replacement unit 106 constitute a reception restoration processing unit.
On the other hand, the RTP buffer 102 corresponds to the first buffer means of the present invention, is an auxiliary buffer for restoration processing, and can be included in the restoration processing means.
The TTS buffer 105 corresponds to the first buffer means of the present invention, and functions as a buffer for accumulating packets received from the communication network 10 on the basis of the adaptive clock system, while part of the restoration processing means. Also works.

復元部103
復元部103は、復元判定部103Aと、復元処理部103Bとを有する。
復元部103は、パケットの欠落がなく下記の復元処理が不要と判断した場合は、RTPパケットのペイロードデータをRTPバッファ102からTTSバッファ105に送出するように、RTPバッファ102に指示する(RTPバッファ102を制御する)。
Restoring unit 103
The restoration unit 103 includes a restoration determination unit 103A and a restoration processing unit 103B.
When it is determined that there is no packet loss and the following restoration process is unnecessary, the restoration unit 103 instructs the RTP buffer 102 to send the payload data of the RTP packet from the RTP buffer 102 to the TTS buffer 105 (RTP buffer). 102).

復元部103は、RTPバッファ102に保存されたRTPパケットに欠落があることを検出した場合、後から到来するパケットを参照して、その欠落が復元可能な場合には欠落したパケットを復元する処理を行う。
また、復元部103は、RTPバッファ102に保管した受信したパケットの順序が乱れている場合、たとえば、受信順序が逆になっている場合、その順序を基に戻す処理を行う。
その詳細を後述する。
When the restoration unit 103 detects that the RTP packet stored in the RTP buffer 102 is missing, the restoration unit 103 refers to a packet that arrives later, and restores the missing packet if the missing can be restored I do.
In addition, when the order of received packets stored in the RTP buffer 102 is disordered, for example, when the reception order is reversed, the restoration unit 103 performs processing for returning the order to the original order.
Details thereof will be described later.

復元判定部103Aは、IP処理部101からRTPバッファ102に入力されるRTPパケットデータS101に付与されているパケット番号を連続的に監視する。   The restoration determination unit 103A continuously monitors the packet numbers assigned to the RTP packet data S101 input to the RTP buffer 102 from the IP processing unit 101.

RTPパケットの欠落の復元
復元判定部103AによるRTPバッファ102に入力されるRTPパケットデータS101に付与されているパケット番号を連続的に監視することにより、復元判定部103AはRTPパケットの欠落があるか否かを判定することができる。
By monitoring the packet number assigned to RTP packet data S101 input to the RTP buffer 102 by restoring recovery determination unit 103A of the missing RTP packets continuously, or restoration determination unit 103A is missing RTP packet It can be determined whether or not.

RTPパケットの欠落を検出した復元判定部103Aは、たとえば、欠落したパケットの後に受信するパケットを用いて欠落したRTPパケットを復元可能か否かを判定する。
たとえば、RTPパケットが映像データ、音声データなどの場合は、1〜数個のパケットが欠落したとしても、映像データまたは音声データの連続性を考慮すると、欠落したデータに相当するデータを、たとえば、上述した方法によって、通常、復元することができる。
The restoration determination unit 103A that has detected the loss of the RTP packet determines, for example, whether or not the missing RTP packet can be restored using a packet received after the missing packet.
For example, when the RTP packet is video data, audio data, etc., even if one to several packets are lost, considering the continuity of the video data or audio data, the data corresponding to the lost data is, for example, It can usually be restored by the method described above.

復元処理部103Bは、たとえば、RTPバッファ102に格納されている欠落したパケットの番号の前後の番号のパケットを参照して、欠落したパケットを補間処理して、欠落したRTPパケットに相当するRTPパケットデータを復元する。あるいは、復元処理部103Bは、欠落したRTPパケットの番号の前の番号のRTPパケットデータから欠落したRTPパケットを類推して、欠落したパケットデータに相当するRTPパケットデータを復元する。
復元処理部103Bは、欠落したRTPパケットの復元が完了したら、復元が完了したことを示す、復元完了通知信号S103をパケット置換部106に通報する。
For example, the restoration processing unit 103B refers to packets with numbers before and after the number of missing packets stored in the RTP buffer 102, interpolates the missing packets, and performs an RTP packet corresponding to the missing RTP packet. Restore data. Alternatively, the restoration processing unit 103B analogizes the missing RTP packet from the RTP packet data having a number before the number of the missing RTP packet, and restores the RTP packet data corresponding to the missing packet data.
When the restoration of the missing RTP packet is completed, the restoration processing unit 103B notifies the packet substitution unit 106 of a restoration completion notification signal S103 indicating that the restoration is completed.

RTPパケットの番号の順序の復元
また、復元判定部103AがRTPバッファ102に入力されるRTPパケットデータS101に付与されているパケット番号を連続的に監視することにより、受信処理部100で連続的に受信しRTPパケットの番号の順序が正当であるか否かを判定することができる。
RTPパケットの番号の順序が乱れる理由としては、通信網10に障害が発生したり、通信網10内に存在する遅延経路によって、送信機11から送信された受信IPパケットS10のストリームの内部の順序で逆になる場合がある。
復元判定部103Aは、このようなパケットの番号の順番が乱れていることを検出した場合、復元処理部103Bに通報する。
Restoration of the order of RTP packet numbers The reception processing unit 100 continuously monitors the packet number assigned to the RTP packet data S101 input to the RTP buffer 102 by the restoration determination unit 103A. It is possible to determine whether or not the order of the received RTP packet numbers is valid.
The reason why the order of the RTP packet numbers is disturbed is that the communication network 10 is faulty or the internal order of the stream of the received IP packet S10 transmitted from the transmitter 11 due to a delay path existing in the communication network 10. May be reversed.
When the restoration determination unit 103A detects that the order of the packet numbers is out of order, the restoration determination unit 103A notifies the restoration processing unit 103B.

復元処理部103Bは、TTSバッファ105に記憶されている順序が逆のパケットの順序を正しいパケットの番号に並べなおす。これにより、TTSバッファ105内のRTPパケットの保存順序(記憶位置)をRTPパケットの番号順に修正される。   The restoration processing unit 103B rearranges the order of packets stored in the TTS buffer 105 in the reverse order to the correct packet number. As a result, the storage order (storage position) of the RTP packets in the TTS buffer 105 is corrected in the order of the RTP packet numbers.

Nullパケット処理104
代替パケット処理手段として機能するNullパケット処理部104は、Nullデータ挿入判定部104Aと、タイムスタンプ算出部104Bと、Nullデータ挿入部104Cとを有する。
Nullパケット処理部104は、代替パケットとして、ダミーデータをパケットが欠落した部分に挿入して欠落したパケットを補う。すなわち、パケットに欠落があった場合、その復元に後で受信するパケットを用いて行うためなど、パケットの欠落を検出したその時点においては欠落したパケットを復元できない場合がある。Nullパケット処理部104が、一時的に、代替パケットをTTSバッファ105における欠落したパケット部分に挿入する。
Null packet processing 104
The Null packet processing unit 104 functioning as an alternative packet processing unit includes a Null data insertion determination unit 104A, a time stamp calculation unit 104B, and a Null data insertion unit 104C.
The Null packet processing unit 104 compensates for the lost packet by inserting dummy data into the portion where the packet is lost as an alternative packet. That is, when a packet is lost, the lost packet may not be restored at the time when the packet loss is detected, for example, because a packet received later is used for the restoration. The Null packet processing unit 104 temporarily inserts a substitute packet into the missing packet part in the TTS buffer 105.

本実施の形態においては、代替パケットとして用いるデータダミーデータとして、Null(ヌル)、すなわち、値が「0」であるデータを挿入する。
なお、代替パケットは、欠落したパケットを復元できない場合は、そのまま、欠落したパケットとして残る。
以下、詳細に述べる。
In this embodiment, Null, that is, data having a value of “0” is inserted as data dummy data used as an alternative packet.
Note that, when the lost packet cannot be restored, the substitute packet remains as a missing packet.
Details will be described below.

Nullデータ挿入判定部104Aは、復元判定部103Aと同様に、RTPバッファ102に入力されるRTPパケットデータS101に付与されているパケット番号を監視して、パケットの欠落があるか否かを判定する。
Nullデータ挿入判定部104Aが、IP処理部101において受信したパケットに欠落があると判定した場合、その判定結果をタイムスタンプ算出部104Bに通知して、タイムスタンプ算出部104Bの処理を行わせる。
Similar to the restoration determination unit 103A, the Null data insertion determination unit 104A monitors the packet number assigned to the RTP packet data S101 input to the RTP buffer 102 to determine whether there is a packet loss. .
When the Null data insertion determining unit 104A determines that the packet received by the IP processing unit 101 is missing, the Null data insertion determining unit 104A notifies the time stamp calculating unit 104B of the determination result and causes the time stamp calculating unit 104B to perform processing.

タイムスタンプ算出部104Bは、パケットの欠落数を算出する。すなわち、タイムスタンプ算出部104Bは、パケットが欠落した番号の前後の番号のRTPパケットの中のタイムスタンプおよび欠落したパケットの数からタイムスタンプを算出する。
Nullデータ挿入部104Cは、欠落したパケットの数に相当するNull(ヌル)パケット、すなわち、データの値が「0」であるパケットデータを準備して、挿入用ダミーデータS104Aとして、TTSバッファ105に送出する。
Nullデータ挿入部104Cが補うNullデータの数は、欠落したパケットの数に応じた数となる。
The time stamp calculation unit 104B calculates the number of missing packets. That is, the time stamp calculation unit 104B calculates a time stamp from the time stamp in the RTP packets with numbers before and after the number of missing packets and the number of missing packets.
The Null data insertion unit 104C prepares Null packets corresponding to the number of lost packets, that is, packet data whose data value is “0”, and inserts it into the TTS buffer 105 as insertion dummy data S104A. Send it out.
The number of Null data supplemented by the Null data insertion unit 104C is a number corresponding to the number of missing packets.

Nullデータ挿入部104Cは、TTSバッファ105におけるパケットの欠落に応じてダミーパケットを挿入した位置と、対応するパケット番号を、挿入用ダミーデータ位置・番号信号S104Bとして、パケット置換部106に通知する。   The null data insertion unit 104C notifies the packet replacement unit 106 of the dummy data position / number signal S104B for insertion as a dummy data position / number signal S104B for insertion, and the position where the dummy packet is inserted in response to the packet loss in the TTS buffer 105.

パケット置換部106
パケット置換部106は、パケット置換処理部106Aと、パケット置換テーブル106Bとを有する。
パケット置換処理部106Aは、復元部103から復元完了通知信号S103が入力された場合は、パケットの置換は不要であるから、何もしない。
他方、パケット置換処理部106Aは、Nullパケット処理部104のNullデータ挿入部104Cから挿入用ダミーデータ位置・番号信号S104Bが入力された場合は下記に記す処理を行う。
Packet replacement unit 106
The packet replacement unit 106 includes a packet replacement processing unit 106A and a packet replacement table 106B.
When the restoration completion notification signal S103 is input from the restoration unit 103, the packet substitution processing unit 106A does not need to replace the packet and does nothing.
On the other hand, when the dummy data position / number signal S104B for insertion is input from the null data insertion unit 104C of the null packet processing unit 104, the packet replacement processing unit 106A performs the following processing.

パケット置換処理部106Aは、Nullパケット処理部104から挿入用ダミーデータ位置・番号信号S104Bとして出力された、TTSバッファ105によって、ダミーデータの(Nullパケット)の挿入位置と、パケットの番号とが通知される。
パケット置換処理部106Aは、パケット置換テーブル106Bに通知された内容をマップエントリとして追加する。もし、パケット置換テーブル106Bにマップエントリを追加できない場合は、パケット置換処理部106Aは、パケット番号のしきい値を設定し、しきい値を設定した以前のマップエントリをパケット置換テーブル106Bから削除する。
The packet replacement processing unit 106A notifies the insertion position of the dummy data (Null packet) and the packet number by the TTS buffer 105, which is output from the Null packet processing unit 104 as the dummy data position / number signal S104B for insertion. Is done.
The packet replacement processing unit 106A adds the content notified to the packet replacement table 106B as a map entry. If a map entry cannot be added to the packet replacement table 106B, the packet replacement processing unit 106A sets a threshold for the packet number and deletes the previous map entry for which the threshold has been set from the packet replacement table 106B. .

また、パケット置換処理部106Aは、Nullパケット処理部104からの要求を受けて置換対象のパケットの番号に対応するポインタをパケット置換テーブル106Bに記憶されている置換データから検索する。検索によって対応するマップエントリが見つかれば、パケット置換処理部106Aは、検索によって検出されたマップエントリを示すパケット置換データS106AをTTSバッファ105に出力する。これにより、TTSバッファ105は、TTSバッファ105内の該当する位置にあるダミーパケット(代替パケット)を復元したパケットに置き換える。   Further, the packet replacement processing unit 106A receives a request from the Null packet processing unit 104 and searches the replacement data stored in the packet replacement table 106B for a pointer corresponding to the number of the packet to be replaced. If the corresponding map entry is found by the search, the packet replacement processing unit 106A outputs packet replacement data S106A indicating the map entry detected by the search to the TTS buffer 105. As a result, the TTS buffer 105 replaces the dummy packet (substitute packet) at the corresponding position in the TTS buffer 105 with the restored packet.

また、パケット置換処理部106Aのこの置換処理中に、ダミーパケットが受信処理部100からコンテンツ処理部110に出力されることがないようにする。すなわち、パケット置換処理部106Aは、出力停止信号S106Bをパケット出力部107に出力してパケット出力部107の処理を停止させる。
置換が終了したら、パケット置換処理部106Aは、パケット出力部107に出力していた出力停止信号S106Bを解除し、パケット置換テーブル106Bのマップエントリを削除する。
Further, the dummy packet is prevented from being output from the reception processing unit 100 to the content processing unit 110 during the replacement processing of the packet replacement processing unit 106A. That is, the packet replacement processing unit 106A outputs the output stop signal S106B to the packet output unit 107 to stop the processing of the packet output unit 107.
When the replacement is completed, the packet replacement processing unit 106A cancels the output stop signal S106B output to the packet output unit 107, and deletes the map entry in the packet replacement table 106B.

パケット出力部107
パケット出力部107は、出力制御部107Aと、カウンタ107Bとを有する。
パケット出力部107は、TTSバッファ105に蓄積されているTSパケットを、コンテンツ処理部110に出力するか否かを判定する。出力可能である場合は、パケット出力部107は、TTSバッファ105に格納されているタイムスタンプ付きのTSパケットから、タイムスタンプを外してコンテンツ処理部110に出力する。
コンテンツ処理部110には、たとえば、図1に図解した、デマルチプレクサ、デコーダが設けられており、これらにタイムスタンプが外されたTSパケットが入力される。
Packet output unit 107
The packet output unit 107 includes an output control unit 107A and a counter 107B.
The packet output unit 107 determines whether to output the TS packet stored in the TTS buffer 105 to the content processing unit 110. If the packet can be output, the packet output unit 107 removes the time stamp from the TS packet with the time stamp stored in the TTS buffer 105 and outputs the result to the content processing unit 110.
For example, a demultiplexer and a decoder illustrated in FIG. 1 are provided in the content processing unit 110, and TS packets from which time stamps have been removed are input.

出力制御部107Aは、アダプティブクロック方式に基づいたクロック同期処理を行う。
ストリーム出力制御部107Aは、TTSバッファ105におけるタイムスタンプ付きのTSパケットのタイムスタンプと、カウンタ107Bの値を比較する。
カウンタ107Bのウカント値とTSパケットのタイムスタンプとが一致しているとき、出力制御部107Aは、TTSバッファ105に格納されているデータをコンテンツ処理部110へ出力するためのタイミング制御を行う。
また、TTSバッファ105にしきい値を設けることができ、カウンタ107Bのカウント値より、TTSバッファ105のTSパケットのタイムスタンプがしきい値以内で遅延していた場合、出力制御部107Aは即時に、TTSバッファ105からコンテンツ処理部110へのTSパケットの出力を制御する。
The output control unit 107A performs clock synchronization processing based on the adaptive clock method.
The stream output control unit 107A compares the time stamp of the TS packet with the time stamp in the TTS buffer 105 with the value of the counter 107B.
When the value of the counter 107B matches the time stamp of the TS packet, the output control unit 107A performs timing control for outputting the data stored in the TTS buffer 105 to the content processing unit 110.
Further, a threshold value can be provided in the TTS buffer 105, and when the time stamp of the TS packet in the TTS buffer 105 is delayed within the threshold value from the count value of the counter 107B, the output control unit 107A immediately Controls the output of TS packets from the TTS buffer 105 to the content processing unit 110.

出力制御部107Aはまた、TSパケットの出力を無効にすることを可能にする。その場合、カウンタ107Bはカウント処理は継続してインクリメントする(増加する)。   The output control unit 107A can also invalidate the output of the TS packet. In that case, the counter 107B continues to increment (increase) the count process.

さらに、ダミーパケットが挿入されたNullパケットが置換されていないまま出力タイミングを迎えた場合、たとえば、コンテンツ処理部110においてNulLパケットを処理することが可能な場合は、出力制御部107Aは、置換されていないパケットをそのまま出力する。
他方、ダミーデータを、コンテンツ処理部110などの後段の装置に出力したくない場合、出力制御部107Aは、ダミーパケットとして特殊なデータパターンを挿入しておく。そのような特殊なデータパターンとしては、たとえば、コンテンツ処理部110において、たとえば、フィルタ処理などで削除可能なものを用いることができる。
Furthermore, when the Null packet in which the dummy packet is inserted is not replaced, the output timing comes, for example, when the content processing unit 110 can process the Null packet, the output control unit 107A is replaced. The packets that are not received are output as they are.
On the other hand, when it is not desired to output dummy data to a subsequent device such as the content processing unit 110, the output control unit 107A inserts a special data pattern as a dummy packet. As such a special data pattern, for example, a data processing unit 110 that can be deleted by a filtering process or the like can be used.

クロック同期部108
クロック同期部108は、TTSバッファ105におけるTSデータの蓄積量、すなわち、パケットの滞留量を監視して、アダプティブクロック方式により、パケット出力部107のカウンタ107Bで用いるクロックの同期処理を行う。
Clock synchronization unit 108
The clock synchronization unit 108 monitors the accumulated amount of TS data in the TTS buffer 105, that is, the packet retention amount, and performs clock synchronization processing used by the counter 107B of the packet output unit 107 by an adaptive clock method.

図5はIP処理部101、RTPバッファ102、復元部103、Nullパケット処理104の受信処理および復元処理を時間を追って説明するフローチャートである。
IP処理部101、RTPバッファ102、復元部103、Nullパケット処理104の詳細な処理内容は上述したので、下記の記述は概要に止める。
FIG. 5 is a flowchart for explaining reception processing and restoration processing of the IP processing unit 101, the RTP buffer 102, the restoration unit 103, and the Null packet processing 104 over time.
Since the detailed processing contents of the IP processing unit 101, the RTP buffer 102, the restoration unit 103, and the null packet processing 104 have been described above, the following description is only an overview.

ステップS1、パケットの入力、RTPパケットの抽出、RTPパケットの保存
IP処理部101が通信網10からパケットを入力して、入力したパケットからRTPパケットを抽出する。
RTPバッファ102は、IP処理部101から出力されるRTPパケットデータS101を保存する。RTPバッファ102に保存されたRTPパケットデータは、欠落したパケットの検出と、欠落したパケットの復元に使用される。
Step S1, packet input, RTP packet extraction, RTP packet storage IP processing unit 101 inputs a packet from communication network 10 and extracts the RTP packet from the input packet.
The RTP buffer 102 stores the RTP packet data S101 output from the IP processing unit 101. The RTP packet data stored in the RTP buffer 102 is used for detection of missing packets and restoration of missing packets.

ステップS2、パケットの欠落の判定
復元部103の復元判定部103Aは、RTPバッファ102に入力されるRTPパケットを連続的に監視して、受信処理部100で受信したパケットに欠落があるか否かを判定する。
復元判定部103Aが、パケットの欠落を検出したら、ステップ3の処理に移行し、ステップS3〜5において、代替パケットの挿入、パケット置換テーブルへの登録処理を行う。
パケットの欠落がなければ、ステップ6の処理に移行する。
Step S2, packet loss determination The restoration determination unit 103A of the restoration unit 103 continuously monitors RTP packets input to the RTP buffer 102, and determines whether or not the packet received by the reception processing unit 100 is missing. Determine.
When the restoration determination unit 103A detects a missing packet, the process proceeds to step 3, and in steps S3 to S5, an alternative packet is inserted and registered in the packet replacement table.
If there is no missing packet, the process proceeds to step 6.

ステップS3、挿入するタイムスタンプの算出
、Nullパケット処理104のタイムスタンプ算出部104Bは、TTSバッファ105の最新のタイムスタンプ付きTSパケットのタイムスタンプと、RTPバッファ102への入力パケットの先頭のタイムスタンプと、欠落したパケット数から、挿入するタイムスタンプ数を算出する。
Step S3: Time stamp to be inserted , time stamp calculation unit 104B of the Null packet processing 104 performs the time stamp of the TS packet with the latest time stamp in the TTS buffer 105 and the time stamp at the beginning of the input packet to the RTP buffer 102. Then, the number of time stamps to be inserted is calculated from the number of lost packets.

ステップS4、代替パケット(ダミーパケット)の挿入
Nullパケット処理104のNullデータ挿入部104Cは、欠落したパケットの数に相当する数の代替パケットとして、挿入用ダミーデータS104AをTTSバッファ105に出力する。TTSバッファ105は、入力された挿入用ダミーデータS104Aに基づいて、欠落したパケットに対応する部分のデータを書き換える。
Step S4, Insertion of Alternative Packet (Dummy Packet) The null data insertion unit 104C of the null packet processing 104 outputs dummy dummy data S104A for insertion to the TTS buffer 105 as the number of alternative packets corresponding to the number of missing packets. The TTS buffer 105 rewrites the data corresponding to the missing packet based on the input dummy data for insertion S104A.

ステップS5、パケット置換テーブルに登録
タイムスタンプ算出部104Bは、欠落したパケットの位置と欠落したパケット番号を示す挿入用ダミーデータ位置・番号信号S104Bをパケット置換部106に出力する。パケット置換処理部106Aは、挿入用ダミーデータ位置・番号信号S104Bに基づいて、パケット置換テーブル106Bに欠落したパケットの位置と番号の組を登録する。
In step S5, the registration time stamp calculation unit 104B in the packet replacement table outputs the dummy data position / number signal S104B for insertion indicating the position of the lost packet and the lost packet number to the packet replacement unit 106. Based on the dummy data position / number signal S104B for insertion, the packet replacement processing unit 106A registers a set of the position and number of the missing packet in the packet replacement table 106B.

ステップS6、パケットの受信順序の判定
復元部103のNullパケット処理104は、RTPバッファ102に入力されるRTPパケットに付与されているパケットの番号を連続的に監視して、受信したパケットの順番が乱れていないか否かを判定する。
受信したパケットの順番が正常ならば、ステップS10の処理に移行する。受信したパケットの順序が逆などの乱れがある場合は、ステップS7の処理に移行する。
In step S6, the Null packet processing 104 of the packet reception order determination / restoration unit 103 continuously monitors the packet number assigned to the RTP packet input to the RTP buffer 102, and the received packet order is determined. Judge whether it is not disturbed.
If the order of received packets is normal, the process proceeds to step S10. If there is a disorder such as the reverse order of the received packets, the process proceeds to step S7.

ステップS7、置換テーブルの検索
パケット置換処理部106Aは、パケット置換テーブル106Bに記録されている置換データから置換対象のパケットの番号に対応するポインタを検索する。
対応するポインタが検索できた場合は、ステップS8の処理に移行し、検索できない場合は、ステップS11の処理に移行する。
In step S7, the replacement table search packet replacement processing unit 106A searches the replacement data recorded in the packet replacement table 106B for a pointer corresponding to the number of the packet to be replaced.
If the corresponding pointer can be retrieved, the process proceeds to step S8. If the corresponding pointer cannot be retrieved, the process proceeds to step S11.

ステップS8、TTSバッファ105からTSパケットの出力禁止
パケット置換処理部106Aは、パケット出力部107に対して、出力停止信号S106Bを出力して、TTSバッファ105からタイムスタンプ無しTSパケットS105を出力することを禁止させる。
Step S8: The TS packet output prohibition packet replacement processing unit 106A from the TTS buffer 105 outputs an output stop signal S106B to the packet output unit 107, and outputs a TS packet S105 without a time stamp from the TTS buffer 105. Is prohibited.

ステップS9、パケットの置換処理
パケット置換処理部106Aは、TTSバッファ105と協働して、TTSバッファ105に蓄積されている乱れたパケットの受信順序を正常に戻す処理を行う。
Step S9, Packet Replacement Processing The packet replacement processing unit 106A cooperates with the TTS buffer 105 to perform processing to return the reception order of the disordered packets stored in the TTS buffer 105 to normal.

ステップS10、TSパケットの出力再開
パケット置換処理部106Aは、パケット出力部107に対してパケット置換データS106Aを解除する指示を行う。これにより、パケット出力部107は、TTSバッファ105からのTSパケットの出力を再開する。
In step S10, the TS packet output restart packet replacement processing unit 106A instructs the packet output unit 107 to cancel the packet replacement data S106A. As a result, the packet output unit 107 resumes outputting the TS packet from the TTS buffer 105.

ステップS11、復元可能の判定
復元判定部103Aは、欠落したパケットを復元可能か否かを判定する。
復元可能な場合はステップS12の処理に移行し、復元できない場合は、処理を終了する。なお、復元できない場合は、ステップS4において欠落したパケットには代替パケットとして、Nullデータが挿入されている。
Step S11, Restorability Determination Restoration determination unit 103A determines whether or not a lost packet can be recovered.
If restoration is possible, the process proceeds to step S12. If restoration is not possible, the process ends. If restoration is not possible, Null data is inserted as a substitute packet in the packet lost in step S4.

ステップS12
パケット置換部106のパケット置換処理部106Aは、パケット置換テーブル106Bを検索して対応するマップエントリを探す。
対応するマップエントリを検索できたら、ステップS13の処理に移行する。
対応するマップエントリを検索できなかったら、処理を終了する。この場合、欠落したパケットに対応する部分には代替パケットとして、ダミーパケットが残る。
Step S12
The packet replacement processing unit 106A of the packet replacement unit 106 searches the packet replacement table 106B for a corresponding map entry.
If the corresponding map entry can be searched, the process proceeds to step S13.
If the corresponding map entry cannot be searched, the process is terminated. In this case, a dummy packet remains as a substitute packet in the portion corresponding to the missing packet.

ステップS13、復元処理
復元処理部103Bは、欠落したパケット部分の復元処理を行う。
Step S13, Restoration Processing The restoration processing unit 103B performs restoration processing for the lost packet part.

ステップS14、パケット置換処理
パケット置換テーブル106Bは、復元処理部103Bで復元処理した結果に基づいて、TTSバッファ105に蓄積されている欠落したパケットを置換する。
Step S14, packet replacement processing The packet replacement table 106B replaces the missing packets stored in the TTS buffer 105 based on the result of the recovery processing performed by the recovery processing unit 103B.

以上の処理により、まず、欠落したパケットに対して、代替パケットとして、Nullデータが挿入され、復元可能な場合は代替パケットが挿入された部分が復元されたパケットに置換される。   Through the above processing, first, null data is inserted as a substitute packet for the lost packet, and if restoration is possible, the portion where the substitute packet is inserted is replaced with the restored packet.

図6は、アダプティブクロック方式に基づく、TTSバッファ105からコンテンツ処理部110へTSパケットの出力処理、すなわち、TTSバッファ105のバッファ処理を示す、フローチャートである。   FIG. 6 is a flowchart showing TS packet output processing from the TTS buffer 105 to the content processing unit 110, that is, buffer processing of the TTS buffer 105, based on the adaptive clock method.

ステップS21、TTSバッファ105の空きを判定
パケット出力部107の出力制御部107Aは、TTSバッファ105が空きか否か判定する。
TTSバッファ105が空いている場合、ステップ31の処理に移行し、TTSバッファ105にパケットが存在していれば、ステップ22の処理に移行する。
Step S21: Determine whether TTS buffer 105 is empty The output control unit 107A of the packet output unit 107 determines whether the TTS buffer 105 is empty.
If the TTS buffer 105 is empty, the process proceeds to step 31. If there is a packet in the TTS buffer 105, the process proceeds to step 22.

ステップS22、タイムスタンプの比較の有効性
出力制御部107Aは、TTSバッファ105に蓄積されているタイムスタンプ付きのTSパケットのタイムスタンプと、カウンタ107Bのカウント値を比較して、比較の有効性を判定する。
比較が有効でない場合は、ステップ31の処理に移行する。
Step S22, Timestamp Comparison Validity The output control unit 107A compares the time stamp of the TS packet with the time stamp stored in the TTS buffer 105 with the count value of the counter 107B to determine the validity of the comparison. judge.
If the comparison is not valid, the process proceeds to step 31.

ステップS23、タイムスタンプの比較
出力制御部107Aは、TTSバッファ105に蓄積されているタイムスタンプ付きのTSパケットの先頭のパケットのタイムスタンプと、カウンタ107Bのカウント値を比較する。
In step S23, the time stamp comparison output control unit 107A compares the time stamp of the first packet of the time-stamped TS packet stored in the TTS buffer 105 with the count value of the counter 107B.

ステップS24、25
ステップS24における出力制御部107Aの比較により、TTSバッファ105に蓄積されているTSパケットの先頭のパケットのタイムスタンプが、カウンタ107Bのカウント値より大きい場合は、ステップS25の処理に移行する。
ステップS25において、出力制御部107Aは、タイムスタンプの差分がしきい値以内か否かを判定する。
Step S24, 25
If the time stamp of the first packet of the TS packets stored in the TTS buffer 105 is larger than the count value of the counter 107B as a result of comparison of the output control unit 107A in step S24, the process proceeds to step S25.
In step S25, the output control unit 107A determines whether or not the time stamp difference is within a threshold value.

ステップS26、パケットの即時出力
ステップS25において、出力制御部107Aが、タイムスタンプの差分がしきい値以内と判定した場合、出力制御部107Aは、TTSバッファ105と協働して、TTSバッファ105からTSパケットをコンテンツ処理部110に即時出力する。
If the output control unit 107A determines that the time stamp difference is within the threshold value in step S26, the immediate packet output step S25, the output control unit 107A cooperates with the TTS buffer 105 to output the packet from the TTS buffer 105. The TS packet is immediately output to the content processing unit 110.

ステップS27、パケットの破棄
ステップS25において、出力制御部107Aが、タイムスタンプの差分がしきい値以内と判定しなかった場合、出力制御部107Aは、TTSバッファ105と協働して、からTSパケットを破棄する処理を行う。
In step S27, packet discarding step S25, if the output control unit 107A does not determine that the time stamp difference is within the threshold value, the output control unit 107A cooperates with the TTS buffer 105 before the TS packet. Process to discard.

ステップS28、タイムスタンプの一致判定
出力制御部107Aは、TTSバッファ105に蓄積されているTSパケットのタイムスタンプと、カウンタ107Bのカウント値を比較して、両者の値が一致しているか否かを判定する。
In step S28, the time stamp match determination output control unit 107A compares the time stamp of the TS packet stored in the TTS buffer 105 with the count value of the counter 107B, and determines whether or not both values match. judge.

ステップS29、TSパケットの出力
出力制御部107Aは、TTSバッファ105に蓄積されているTSパケットののタイムスタンプと、カウンタ107Bのカウント値とが一致している場合、TTSバッファ105と協働して、TTSバッファ105に蓄積されているTSパケットをコンテンツ処理部110に出力する。
Step S29, the TS packet output output control unit 107A cooperates with the TTS buffer 105 if the time stamp of the TS packet stored in the TTS buffer 105 matches the count value of the counter 107B. The TS packets stored in the TTS buffer 105 are output to the content processing unit 110.

ステップS30、カウンタ一致を待つ
出力制御部107Aは、TTSバッファ105に蓄積されているTSパケットののタイムスタンプと、カウンタ107Bのカウント値とが一致していない場合、一致するまで待機する。
In step S30, the output control unit 107A waiting for the counter match waits until the time stamp of the TS packet accumulated in the TTS buffer 105 does not match the count value of the counter 107B.

ステップS31、カウンタ107Bのインクリメント
出力制御部107Aは、上記バッファ処理に伴い、カウンタ107Bのカウントを増加させる。
In step S31, the increment output control unit 107A of the counter 107B increases the count of the counter 107B in accordance with the buffer processing.

図5および図6を参照して述べた受信処理部100における処理により、パケットの復元処理手段における欠落したパケットの復元処理のために、TTSバッファ105のバッファ処理の影響がなくなる。その結果、TTSバッファ105のバッファ量の変動が小さくなる。したがって、TTSバッファ105の蓄積量(滞留量)を監視してクロック同期を行うアダプティブクロック方式の精度が向上する。換言すれば、アダプティブクロック方式を効果的に活用することができる。   The processing in the reception processing unit 100 described with reference to FIGS. 5 and 6 eliminates the influence of the buffer processing of the TTS buffer 105 due to the restoration processing of the lost packet in the packet restoration processing means. As a result, the fluctuation of the buffer amount of the TTS buffer 105 is reduced. Therefore, the accuracy of the adaptive clock system that performs clock synchronization by monitoring the accumulated amount (staying amount) of the TTS buffer 105 is improved. In other words, the adaptive clock method can be effectively utilized.

以下、本実施の形態と従来方法との結果の対比を行う。
図7(A)は従来のアダプティブクロック方式の結果を示す図であり、図7(B)は本発明の上記実施の形態による結果を示す図である。
バッファ(本発明の実施の形態のTTSバッファ105)の蓄積量があるしきい値に達したときにクロックの同期制御を行う。
このしきい値は、バッファのオーバーフローまたはアンダーフローを回避するため、TSデータが通信網を通過するときに受けるジッタを考慮して設定されることがある。
Hereinafter, the results of this embodiment and the conventional method will be compared.
FIG. 7A is a diagram showing a result of the conventional adaptive clock method, and FIG. 7B is a diagram showing a result according to the above embodiment of the present invention.
When the accumulated amount of the buffer (TTS buffer 105 of the embodiment of the present invention) reaches a certain threshold value, clock synchronization control is performed.
This threshold value may be set in consideration of jitter experienced when TS data passes through the communication network in order to avoid buffer overflow or underflow.

本発明の実施の形態のコンテンツ処理部110によれば、欠落したパケットの復元処理によって、復元処理手段のTTSバッファ105のバッファ処理の影響がなくなるため、図7(B)に示したように、TTSバッファ105のしきい値を小さく設定するこができる。その結果、TTSバッファ105の容量を削減することができる。   According to the content processing unit 110 of the embodiment of the present invention, since the lost packet restoration processing does not affect the buffer processing of the TTS buffer 105 of the restoration processing means, as shown in FIG. The threshold value of the TTS buffer 105 can be set small. As a result, the capacity of the TTS buffer 105 can be reduced.

本発明の実施の形態に際しては、上述した実施の形態に限定されず、種々の変形態様をとることができる。
たとえば、受信処理部100の構成を、図4に図解した例示においては、IP処理部101、RTPバッファ102、復元部103、Nullパケット処理104、TTSバッファ105、パケット置換部106、パケット出力部107、クロック同期部108と機能分離した構成としたが、必ずしも、この例示的な構成には限定されない。
第1のバッファ手段としてのRTPバッファ102と、第2のバッファ手段としてのTTSバッファ105とは分離する必要がある。しかしながら、たとえば、復元部103、Nullパケット処理104、パケット置換部106は、図4を参照して述べた処理内容からも自明なように、これらの処理は連携して行う必要があることから、一体に構成した信号処理装置、たとえば、コンピュータを用いた信号処理装置で実現することもできる。
The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made.
For example, in the illustration illustrated in FIG. 4, the configuration of the reception processing unit 100 is the IP processing unit 101, the RTP buffer 102, the restoration unit 103, the Null packet processing 104, the TTS buffer 105, the packet replacement unit 106, and the packet output unit 107. Although the configuration is separated from the clock synchronization unit 108, the configuration is not necessarily limited to this exemplary configuration.
It is necessary to separate the RTP buffer 102 as the first buffer means and the TTS buffer 105 as the second buffer means. However, for example, the restoration unit 103, the null packet processing 104, and the packet replacement unit 106, as is obvious from the processing content described with reference to FIG. It can also be realized by an integrated signal processing device, for example, a signal processing device using a computer.

同様に、たとえば、復元部103の構成を、復元判定部103Aと、復元処理部103Bに分離したことも例示であり、これらの処理を一体的な装置が実現することもできる。   Similarly, for example, the configuration of the restoration unit 103 is separated into a restoration determination unit 103A and a restoration processing unit 103B, and an apparatus that integrates these processes can also be realized.

他方、Nullパケット処理104、パケット置換部106、パケット出力部107などの構成も例示であり、たとえば、これらの装置をそれぞれ一体的な装置によって構成することができる。   On the other hand, the configurations of the Null packet processing 104, the packet replacement unit 106, the packet output unit 107, and the like are also exemplifications. For example, these devices can be configured as integrated devices.

したがって、本発明のデータ受信処理方法としては、たとえば、図4および図5を参照した述べた例示した処理内容を実現する内容であればよい。   Therefore, as the data reception processing method of the present invention, for example, any content that realizes the exemplified processing content described with reference to FIGS. 4 and 5 may be used.

本発明の実施の形態として、たとえば、IPテレビジョン装置への適用を例示したが、本発明のデータ受信処理方法およびデータ受信処理装置は、IPテレビジョン装置への適用に限定される訳ではなく、上述した処理内容だ適用可能な種々の装置に適用できる。   As an embodiment of the present invention, for example, application to an IP television device has been illustrated, but the data reception processing method and data reception processing device of the present invention are not limited to application to an IP television device. The above processing contents can be applied to various applicable devices.

図1はアダプティブクロック方式を適用した従来のデータ受信処理装置を想定した構成図である。FIG. 1 is a configuration diagram assuming a conventional data reception processing apparatus to which an adaptive clock method is applied. 図2は従来の欠落したパケットを復元する方法を説明する図である。FIG. 2 is a diagram for explaining a conventional method of recovering a lost packet. 図3は本発明の受信機の実施の形態の構成図である。FIG. 3 is a block diagram of an embodiment of the receiver of the present invention. 図4は図3に図解した本発明の実施の形態の受信処理部の構成図である。FIG. 4 is a block diagram of the reception processing unit of the embodiment of the present invention illustrated in FIG. 図5は図4に図解した受信処理部におけるパケットの受信信号処理を示すフローチャートである。FIG. 5 is a flowchart showing packet reception signal processing in the reception processing unit illustrated in FIG. 図6は図4に図解した受信処理部におけるパケットの出力処理を示すフローチャートである。FIG. 6 is a flowchart showing packet output processing in the reception processing unit illustrated in FIG. 図7(A)は従来のアダプティブクロック方式の結果を示す図であり、図7(B)は本発明の上記実施の形態による結果を示す図である。FIG. 7A is a diagram showing a result of the conventional adaptive clock method, and FIG. 7B is a diagram showing a result according to the above embodiment of the present invention.

符号の説明Explanation of symbols

1…通信システム、10…通信網、11…送信機、12…受信機、100…受信処理部、110…コンテンツ処理部、101…IP処理部、102…RTPバッファ、103…復元部、103A…復元判定部、103B…復元処理部、104…Nullパケット処理部、104A…Nullデータ挿入判定部、104B…タイムスタンプ算出部、104C…Nullパケット挿入部、105…TTSバッファ、106…パケット置換部、106A…パケット置換処理部、106B…パケット置換テーブル、107…パケット出力部、107A…出力制御部、107B…カウンタ、クロック同期部
S10…受信IPパケット、S101…RTPパケットデータ、S102…タイムスタンプ(TimeStamp)付きTSパケット、S103…復元完了通知信号、S104A…挿入用ダミーデータ(代替データ)、S104B…挿入用ダミーデータ位置・番号信号、S105…タイムスタンプ無しTSパケット
DESCRIPTION OF SYMBOLS 1 ... Communication system, 10 ... Communication network, 11 ... Transmitter, 12 ... Receiver, 100 ... Reception processing part, 110 ... Content processing part, 101 ... IP processing part, 102 ... RTP buffer, 103 ... Restoration part, 103A ... Restoration determination unit, 103B ... Restoration processing unit, 104 ... Null packet processing unit, 104A ... Null data insertion determination unit, 104B ... Time stamp calculation unit, 104C ... Null packet insertion unit, 105 ... TTS buffer, 106 ... Packet replacement unit, 106A ... Packet replacement processing unit, 106B ... Packet replacement table, 107 ... Packet output unit, 107A ... Output control unit, 107B ... Counter, clock synchronization unit S10 ... Received IP packet, S101 ... RTP packet data, S102 ... Time stamp TS packet with), S103 ... Notification of restoration completion No., S104A ... inserting dummy data (alternative data), S104B ... dummy data position-number signal for insertion, S105 ... no time stamps TS packets

Claims (7)

パケット化されたコンテンツ情報に各パケットの出力順序を示す連続性を示す情報が付加されたストリームを入力する入力手段と、
該入力手段で入力した前記連続性を示す情報が付加されたストリームを保存する第1のバッファ手段と、
該第1のバッファ手段から出力されたストリームを蓄積する第2のバッファ手段と、
少なくとも、前記第1のバッファ手段に入力されるストリーム内の連続性の有無に基づいてパケットに欠落が生じたことを検出し、前記第2のバッファ手段に記憶されている検出した欠落したパケットデータ部分に代替パケットを挿入し、欠落したパケットが復元処理可能な場合、復元したパケットを前記第2のバッファ手段に保存された代替パケットを置き換える、復元処理手段と、
前記第2のバッファ手段に蓄積されたパケットデータを出力する出力制御手段と
を備えたデータ受信処理装置。
Input means for inputting a stream in which information indicating continuity indicating the output order of each packet is added to the packetized content information;
First buffer means for storing a stream to which information indicating the continuity input by the input means is added;
Second buffer means for storing the stream output from the first buffer means;
Detecting that a packet is lost based on at least the presence or absence of continuity in the stream input to the first buffer means, and detecting the detected lost packet data stored in the second buffer means A replacement processing unit that inserts a substitute packet into a part and replaces the restored packet with a substitute packet stored in the second buffer means when the lost packet can be restored;
An output control means for outputting the packet data stored in the second buffer means.
前記第1のバッファ手段は、前記入力手段から入力されたストリームおよび前記復元処理に必要なパケットのみを保存する、
請求項1に記載のデータ受信処理装置。
The first buffer means stores only the stream input from the input means and the packets necessary for the restoration process.
The data reception processing device according to claim 1.
前記復元処理手段は、前記第1のバッファ手段に保存されるストリーム内のパケットの番号の順序が乱れていることを検出した場合に、前記第2のバッファ手段に保存されたパケットの順序を正しく修正する、
請求項1に記載のデータ受信処理装置。
When the restoration processing unit detects that the order of the packet numbers in the stream stored in the first buffer unit is out of order, the restoration processing unit correctly sets the order of the packets stored in the second buffer unit. To fix,
The data reception processing device according to claim 1.
前記復元処理手段は、
復元部と、
代替パケット処理部と、
パケット置換部と
を有し、
前記復元部は、前記パケットの欠落を検出し、前記パケットの順番の不規則を検出する復元判定部と、前記欠落したパケットを復元する復元処理部とを有し、
前記代替パケット処理部は、代替パケットデータ挿入判定部と、欠落したパケットの数と位置を算出するタイムスタンプ算出部と、前記第2のバッファ手段に代替パケットを挿入する処理を行う代替パケット挿入部とを有し、
前記パケット置換部は、欠落したパケットの置換処理を行うパケット置換処理部と、パケット置換テーブルとを有する、
請求項1〜3のいずれかに記載のデータ受信処理装置。
The restoration processing means includes
A restoration unit;
An alternative packet processing unit;
A packet replacement unit, and
The restoration unit includes a restoration determination unit that detects a loss of the packet and detects irregularities in the order of the packets, and a restoration processing unit that restores the missing packet,
The alternative packet processing unit includes an alternative packet data insertion determination unit, a time stamp calculation unit that calculates the number and position of missing packets, and an alternative packet insertion unit that performs processing to insert an alternative packet into the second buffer means And
The packet replacement unit includes a packet replacement processing unit that performs replacement processing of a lost packet, and a packet replacement table.
The data reception processing device according to claim 1.
前記第2のバッファ手段への前記第1のバッファ手段から出力されたストリームの蓄積および、前記出力制御手段による前記第2のバッファ手段からのパケットデータの出力は、アダプティブクロック方式に基づくクロック同期による、
請求項1〜4のいずれかに記載のデータ受信処理装置。
Accumulation of the stream output from the first buffer means to the second buffer means and output of the packet data from the second buffer means by the output control means are based on clock synchronization based on an adaptive clock system. ,
The data reception processing device according to claim 1.
前記パケット化されたコンテンツ情報は、映像データおよび音声データを圧縮して多重化したパケットデータを含み、
前記各パケットの出力順序を示す連続性を示す情報は、タイムスタンプを含む、
請求項1〜5のいずれかに記載のデータ受信処理装置。
The packetized content information includes packet data obtained by compressing and multiplexing video data and audio data,
The information indicating the continuity indicating the output order of each packet includes a time stamp,
The data reception processing device according to claim 1.
第1のバッファ手段と、第2のバッファ手段とを有する受信装置におけるデータ受信処理を行うため、
入力されるパケット化されたコンテンツ情報に各パケットの出力順序を示す連続性を示す情報が付加されたストリームを入力する工程と、
該入力手段で入力した前記連続性を示す情報が付加されたストリームを前記第1のバッファ手段に保存する第1のバッファ処理工程と、
該第1のバッファ手段から前記ストリームを読みだして前記第2のバッファ手段に蓄積する第2のバッファ処理工程と、
少なくとも、前記第1のバッファ手段に入力されるストリーム内の連続性の有無に基づいてパケットに欠落が生じたことを検出する工程と、
前記パケットの欠落を検出したとき、前記第2のバッファ手段に記憶されている検出した欠落したパケットデータ部分に代替パケットを挿入する代替パケット挿入工程と、
前記欠落したパケットが復元処理可能な場合、復元したパケットを前記第2のバッファ手段に保存された代替パケットを置き換える、置換工程と
前記第2のバッファ手段に蓄積されたパケットデータを出力する出力制御工程と
を有するデータ受信処理方法。
In order to perform a data reception process in a receiving device having a first buffer means and a second buffer means,
Inputting a stream in which information indicating continuity indicating the output order of each packet is added to the input packetized content information;
A first buffer processing step of storing in the first buffer means a stream to which information indicating the continuity input by the input means is added;
A second buffer processing step of reading the stream from the first buffer means and storing it in the second buffer means;
Detecting at least a packet loss based on the presence or absence of continuity in the stream input to the first buffer means;
An alternative packet insertion step of inserting an alternative packet into the detected lost packet data portion stored in the second buffer means when detecting the loss of the packet;
When the lost packet can be restored, the replacement packet replaces the substitute packet stored in the second buffer means, and output control for outputting the packet data stored in the second buffer means A data reception processing method comprising:
JP2008203242A 2008-08-06 2008-08-06 Data reception processing apparatus and data reception processing method Pending JP2010041496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008203242A JP2010041496A (en) 2008-08-06 2008-08-06 Data reception processing apparatus and data reception processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008203242A JP2010041496A (en) 2008-08-06 2008-08-06 Data reception processing apparatus and data reception processing method

Publications (1)

Publication Number Publication Date
JP2010041496A true JP2010041496A (en) 2010-02-18

Family

ID=42013547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008203242A Pending JP2010041496A (en) 2008-08-06 2008-08-06 Data reception processing apparatus and data reception processing method

Country Status (1)

Country Link
JP (1) JP2010041496A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012124638A (en) * 2010-12-07 2012-06-28 Sumitomo Electric System Solutions Co Ltd Data transmission device, program, and data transmission method
WO2012137612A1 (en) * 2011-04-08 2012-10-11 ソニー株式会社 Data retrieval device, data retrieval method, and program
WO2013108566A1 (en) * 2012-01-16 2013-07-25 三菱電機株式会社 Video reception terminal, home gateway device, quality management system, and quality deterioration isolation system
US9014037B2 (en) 2011-10-28 2015-04-21 Electronics And Telecommunications Research Institute Apparatus and method for transmitting/receiving data in communication system
KR101642112B1 (en) * 2015-10-29 2016-07-22 주식회사 님버스 Modem bonding system and method for sending and receiving real time multimedia at mobile network
JP2016140082A (en) * 2016-02-29 2016-08-04 ソニー株式会社 Data readout device, data readout method, and program
KR101808164B1 (en) 2015-12-15 2017-12-13 한국전자통신연구원 Audio packet loss repairing method and apparatus thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012124638A (en) * 2010-12-07 2012-06-28 Sumitomo Electric System Solutions Co Ltd Data transmission device, program, and data transmission method
WO2012137612A1 (en) * 2011-04-08 2012-10-11 ソニー株式会社 Data retrieval device, data retrieval method, and program
JP2012222604A (en) * 2011-04-08 2012-11-12 Sony Corp Data readout device, data readout method, and program
US9014037B2 (en) 2011-10-28 2015-04-21 Electronics And Telecommunications Research Institute Apparatus and method for transmitting/receiving data in communication system
WO2013108566A1 (en) * 2012-01-16 2013-07-25 三菱電機株式会社 Video reception terminal, home gateway device, quality management system, and quality deterioration isolation system
US9503355B2 (en) 2012-01-16 2016-11-22 Mitsubishi Electric Corporation Video receiving terminal, home gateway device, quality management system, and quality deterioration isolation system
KR101642112B1 (en) * 2015-10-29 2016-07-22 주식회사 님버스 Modem bonding system and method for sending and receiving real time multimedia at mobile network
KR101808164B1 (en) 2015-12-15 2017-12-13 한국전자통신연구원 Audio packet loss repairing method and apparatus thereof
JP2016140082A (en) * 2016-02-29 2016-08-04 ソニー株式会社 Data readout device, data readout method, and program

Similar Documents

Publication Publication Date Title
JP2010041496A (en) Data reception processing apparatus and data reception processing method
US9137168B2 (en) Method, device and system for packet transmission over IP networks
KR100382711B1 (en) Transmission system, reception system, and transmission and reception system capable of displaying a scene with high quality
CN101184035B (en) Broadcast TS distribution system, distribution device, user terminal device, and distribution method
CN101043622B (en) TS transmission system, transmitting apparatus, receiving apparatus, and TS transmission method
US10721008B2 (en) Transmitting system, multiplexing apparatus, and leap second correction method
CN100448217C (en) Realization of clock synchronization in information packet network by using SRTS and having no need of common network clock
RU2369978C2 (en) Method for transfer of packets in transfer system
JP5019984B2 (en) Communication device and source clock recovery method
JP5383520B2 (en) Relay device, program, system, and method for correcting loss of synchronization between video frame and audio frame
US20070223391A1 (en) Packet transmission system
KR100579132B1 (en) Apparatus and Method of the hierarchical transmission of a multimedia data TS for preventing the jitter of timing information, and Apparatus and Method of recovering a multimedia data TS transmitted hierarchically
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
US10594437B2 (en) Receiving apparatus and method therefor
JP4730041B2 (en) TS packet transmission method
JP4368482B2 (en) Data communication system
JP4439564B2 (en) IP broadcasting system and multiplexing apparatus and receiving apparatus and method used in the IP broadcasting system
CN100477798C (en) Method and apparatus for processing asynchronous audio stream
JP2025506870A (en) Method for measuring timing holdover performance in an R-PHY system - Patents.com
JP4612688B2 (en) Receiver
JP4874272B2 (en) Video signal processing apparatus and video signal processing method
US20250350547A1 (en) Auto-recovery from negative phase jump events
GB2500175A (en) Redundant packet transmission over IP networks with buffer overwriting
JP2010226611A (en) Jitter buffer control apparatus, method and program, and information processing device
WO2025235950A2 (en) Auto-recovery from negative phase jump events