JP5441650B2 - Media receiver - Google Patents

Media receiver Download PDF

Info

Publication number
JP5441650B2
JP5441650B2 JP2009277571A JP2009277571A JP5441650B2 JP 5441650 B2 JP5441650 B2 JP 5441650B2 JP 2009277571 A JP2009277571 A JP 2009277571A JP 2009277571 A JP2009277571 A JP 2009277571A JP 5441650 B2 JP5441650 B2 JP 5441650B2
Authority
JP
Japan
Prior art keywords
media
transmission
packet
value
time counter
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
JP2009277571A
Other languages
Japanese (ja)
Other versions
JP2011120146A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009277571A priority Critical patent/JP5441650B2/en
Publication of JP2011120146A publication Critical patent/JP2011120146A/en
Application granted granted Critical
Publication of JP5441650B2 publication Critical patent/JP5441650B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

この発明は、メディア信号の送信側の動作周波数と受信動作を同期させることができるメディア受信装置に関するものである。   The present invention relates to a media receiver that can synchronize an operation frequency and a reception operation of a transmission side of a media signal.

近年、IPネットワークは、専用線を用いたデータ転送より比較的に安価で容易に構築できるため、広く整備され、伝送速度の高速化も進んでいる。
デジタル放送や映像配信サービス、監視カメラシステム等では、映像や音声のメディア信号を符号化して多重化したデータ列をパケット化して伝送する際に、高い伝送レートと安定した品質が要求されるため、従来では、専用線を用いた伝送方式が用いられてきた。
これに対して、近年のIPネットワーク伝送の品質向上と低コスト化により、IPネットワークを介してメディア信号を伝送して視聴するサービスが普及してきている。
また、専用線を用いる既存のアプリケーションとの相互接続性や、開発資源の再利用の観点から、IPネットワークのメディア多重化には、MPEG−2 Systems規格に準拠した方式を採用して伝送パケットを構成している場合が多い。
In recent years, an IP network is relatively inexpensive and can be easily constructed as compared with data transfer using a dedicated line. Therefore, the IP network has been widely developed and the transmission speed has been increased.
Digital broadcasting, video distribution services, surveillance camera systems, etc. require high transmission rates and stable quality when packetizing and transmitting data streams that are multiplexed by encoding video and audio media signals. Conventionally, a transmission system using a dedicated line has been used.
On the other hand, services for transmitting and viewing media signals via an IP network have become widespread due to recent improvements in IP network transmission quality and cost reduction.
In addition, from the viewpoint of interoperability with existing applications that use a dedicated line and reuse of development resources, the IP network media multiplexing employs a method compliant with the MPEG-2 Systems standard to transmit packets. Often configured.

一方、IPネットワーク伝送では、様々な情報を伝達することが可能な反面、多種多様な通信プロトコルが定義されており、これらを混在して利用することが可能であるため、情報伝達に必要なパケット化に際しては、各通信プロトコルの階層でヘッダ情報が必要となる等、伝送上でのオーバヘッドも大きくなっている。
このため、伝送効率を高めるべく、複数のメディアパケットを一つの伝送パケットに纏めて伝送している。その結果、メディアパケットとして個別に生成されたタイミングとは異なった出力タイミングに変化して、バースト転送になることもある。
また、IPネットワーク伝送においては伝送遅延が保証されない。このため、MPEG−2 Systems規格で許容されない伝送ジッタも発生する。
IPネットワークを介したパケット伝送は、このような伝送特性があるので、メディア送信装置とメディア受信装置との間で動作周波数を合わせることが困難になるという欠点があった。
On the other hand, in IP network transmission, various information can be transmitted, but a variety of communication protocols are defined and can be used together. In order to make it easier, the overhead in transmission is also increased, for example, header information is required in each communication protocol layer.
For this reason, in order to improve transmission efficiency, a plurality of media packets are collectively transmitted as one transmission packet. As a result, the timing may change to an output timing different from the timing generated individually as a media packet, resulting in burst transfer.
In addition, transmission delay is not guaranteed in IP network transmission. For this reason, transmission jitter that is not allowed in the MPEG-2 Systems standard also occurs.
Since packet transmission via an IP network has such transmission characteristics, there is a drawback that it is difficult to match the operating frequency between the media transmission device and the media reception device.

そこで、従来では、送信側で伝送パケットに付与される送信時刻カウンタ値と、受信側の時刻カウンタ値とを比較したり、あるいは受信側のパケット受信バッファ内の残量遷移を監視することで送受信間の動作周波数差を算出して、メディア受信装置の動作周波数を補正する技術が開示されている。
しかしながら、伝送パケットの到着タイミングに偏りがある場合や、伝送対象であるメディアパケットが不定間隔、つまりメディア情報の情報発生量が不規則なため、パケット生成速度が変化しながら送信される場合、受信側では、パケット受信バッファに滞留するパケットの残量が一定に遷移せず、正確な送受信間での動作周波数差を算出できない問題が生じる。
Therefore, conventionally, transmission / reception is performed by comparing the transmission time counter value added to the transmission packet on the transmission side with the time counter value on the reception side, or by monitoring the remaining amount transition in the packet reception buffer on the reception side. A technique for correcting the operating frequency of the media receiving device by calculating the operating frequency difference between them is disclosed.
However, if there is a bias in the arrival timing of the transmission packet, or if the media packet to be transmitted is transmitted at irregular intervals, that is, the amount of media information generated is irregular, On the side, the remaining amount of the packet staying in the packet reception buffer does not transit to a constant value, and there is a problem that it is not possible to calculate an accurate operation frequency difference between transmission and reception.

例えば、特許文献1や特許文献2に開示される受信装置では、揺らぎ吸収バッファ又はデジッタリングバッファと呼ばれるバッファにメディアパケットを格納し、受信した伝送パケット中の時刻カウンタ値と自身の時刻カウンタ値との差異から、送受信間の動作周波数差を算出し、この動作周波数差に基づいて自身の時刻カウンタ値又は動作周波数を補正する。これにより、自身が備えるメディア復号処理部へメディアパケットを伝達するタイミングを調整している。   For example, in the receiving devices disclosed in Patent Document 1 and Patent Document 2, a media packet is stored in a buffer called a fluctuation absorbing buffer or a dejittering buffer, and a time counter value in the received transmission packet and its own time counter value are stored. The difference in operating frequency between the transmission and reception is calculated, and the own time counter value or the operating frequency is corrected based on the difference in operating frequency. As a result, the timing of transmitting the media packet to the media decoding processing unit included in the device is adjusted.

IPネットワーク伝送は、伝送経路や伝送処理が不均一であるため、伝送遅延が一定にならない。特許文献1では、これにより発生する伝送揺らぎを補償するべく、揺らぎ吸収の演算において、伝送パケットから抽出した送信時刻カウントを、受信開始時点での自身の時刻カウンタ値で正規化したり、一定の期間分の送信時刻カウンタ値を、自乗誤差推定法で平均化している。   In IP network transmission, transmission paths and transmission processing are not uniform, and therefore transmission delays are not constant. In Patent Document 1, in order to compensate for transmission fluctuations caused by this, the transmission time count extracted from the transmission packet is normalized with its own time counter value at the start of reception in the fluctuation absorption calculation, or for a certain period of time. Minute transmission time counter values are averaged by the square error estimation method.

また、特許文献2では、受信した伝送パケットから抽出した送信時刻カウンタ値と、受信装置自身の時刻カウンタ値との差異が、他のタイミングと比較して著しく異なる場合、受信タイミング異常と判断して、動作周波数差の算出対象から除外することにより、IPネットワーク伝送に特有な伝送遅延の大幅な揺らぎを排除している。   Further, in Patent Document 2, when the difference between the transmission time counter value extracted from the received transmission packet and the time counter value of the receiving device itself is significantly different from other timings, it is determined that the reception timing is abnormal. By excluding from the calculation target of the operating frequency difference, a significant fluctuation in transmission delay peculiar to IP network transmission is eliminated.

特開2008−118549号公報JP 2008-118549 A 特開2003−258894号公報JP 2003-258894 A

実際にメディアパケットを伝送パケットに格納して伝送する場合、複数のメディアパケットが伝送パケットに格納される。この場合、いわゆるバースト転送のような状態となるため、メディアパケットに付与された送信時刻カウンタ値と受信装置自身の時刻カウンタ値は、必ずしも一定の関係を満たしていない。
従って、送信側の時刻カウンタ値と受信側の時刻カウンタ値との差分に大きなジッタが発生することになるため、メディア送信装置とメディア受信装置の動作周波数差の算出に誤差が生じやすい。
When media packets are actually stored in transmission packets and transmitted, a plurality of media packets are stored in the transmission packets. In this case, since it is in a state like so-called burst transfer, the transmission time counter value assigned to the media packet and the time counter value of the receiving apparatus itself do not necessarily satisfy a certain relationship.
Accordingly, since a large jitter occurs in the difference between the time counter value on the transmission side and the time counter value on the reception side, an error tends to occur in the calculation of the operating frequency difference between the media transmission device and the media reception device.

この不具合を解消するため、特許文献1のように一定期間分の時刻カウンタ値を平滑化する技術や、特許文献2のように極端に変化した時刻カウンタ値を排除する技術を適用することも考えられる。
しかしながら、IPネットワーク伝送で生じる揺らぎは大きく、その吸収は、高コストな構造の一因となる。
また、メディアパケットの生成量が一定でない場合は、バッファの遷移そのものが一定にならない。このため、特許文献1,2のように、バッファの状態を監視して全ての受信パケットを使ってクロック再生を制御する技術では、複数のメディアパケットに含まれる各送信時刻カウンタ値の時間的な遷移と、受信装置の時刻カウンタ値の時間的な遷移との対応関係を正確に把握できず、完全なジッタ吸収が困難であるという課題があった。
In order to solve this problem, it is also possible to apply a technique for smoothing a time counter value for a certain period as in Patent Document 1 or a technique for eliminating a time counter value that has changed extremely as in Patent Document 2. It is done.
However, the fluctuations that occur in IP network transmission are large, and the absorption contributes to a high-cost structure.
Further, when the amount of media packets generated is not constant, the buffer transition itself is not constant. For this reason, as in Patent Documents 1 and 2, in the technique of monitoring the buffer state and controlling clock recovery using all received packets, the time of each transmission time counter value included in a plurality of media packets is determined. There is a problem that the correspondence between the transition and the temporal transition of the time counter value of the receiving apparatus cannot be accurately grasped, and it is difficult to completely absorb jitter.

この発明は、上記のような課題を解決するためになされたもので、IPネットワーク伝送で生じる伝送揺らぎや、メディアパケットの送信間隔が一定でない場合であっても、送信装置との動作周波数差を正確に算出して、自身の時刻カウンタ値を送信側の時刻カウンタ値に適正に同期させることができるメディア受信装置を得ることを目的とする。   The present invention has been made to solve the above-described problems. Even when transmission fluctuations caused by IP network transmission and the transmission interval of media packets are not constant, the operating frequency difference with the transmission apparatus is reduced. It is an object of the present invention to obtain a media receiving apparatus that can accurately calculate and properly synchronize its own time counter value with the time counter value on the transmission side.

この発明に係るメディア受信装置は、メディア送信装置から送信された伝送パケットを受信する伝送パケット受信部と、自装置の動作基準となる動作周波数及びこれに同期した時刻カウンタ値を生成する時刻カウンタ生成部と、伝送パケット受信部で伝送パケットが受信された時点における時刻カウンタ値を、受信時刻カウンタ値として時刻カウンタ生成部から取得し、当該伝送パケットに格納された複数のメディアパケットから、メディア送信装置による送信タイミングを示す送信時刻カウンタ値をそれぞれ抽出するとともに、メディアパケットに対して、当該メディアパケットが格納する符号化メディア情報の生成に関わるメディア送信装置の動作周波数に対応してカウントされたメディア時刻カウンタ値が付与されていれば、当該メディア時刻カウンタ値を抽出する時刻カウンタ値抽出部と、伝送パケット受信部にて順次受信された伝送パケットについて、時刻カウンタ値抽出部によって取得された送信時刻カウンタ値、受信時刻カウンタ値及びメディア時刻カウンタ値を順次格納する時刻カウンタ値集積部と、時刻カウンタ値集積部に格納された送信時刻カウンタ値、受信時刻カウンタ値及びメディア時刻カウンタ値における各値の時間遷移量を周波数差に換算して、メディア送信装置と自装置との間の動作周波数差を算出する送受信間動作周波数差算出部と、送受信間動作周波数差算出部により算出された動作周波数差に基づいて、メディア送信装置の動作周波数と一致するように、時刻カウンタ生成部による動作周波数の生成を補正する動作周波数制御部とを備え、時刻カウンタ値抽出部が、メディア時刻カウンタ値と、当該メディア時刻カウンタ値が付与されたメディアパケットから抽出した送信時刻カウンタ値とを保持し、伝送パケットに格納される複数のメディアパケットのうち、最も新しく生成されたメディアパケットの送信時刻カウンタ値と、メディア時刻カウンタ値が付与されたメディアパケットから抽出した送信時刻カウンタ値との差分値を当該メディア時刻カウンタ値に加算した値を、当該伝送パケットに対する仮想的なメディア時刻カウンタ値として算出し、時刻カウンタ値集積部に格納された受信時刻カウンタ値のうちから、時間的に連続して受信された各伝送パケットの受信時刻カウンタ値の差分値が所定の閾値を超える受信時刻カウンタ値を検出し、検出した受信時刻カウンタ値とこれに対応する伝送パケットの仮想的なメディア時刻カウンタ値を時刻カウンタ値集積部から選択する選択部を備え、送受信間動作周波数差算出部は、選択部によって選択された仮想的なメディア時刻カウンタ値と当該伝送パケットの受信時刻カウンタ値との各値の時間遷移量を周波数差に換算して、送受信間動作周波数差を算出する。 A media receiving apparatus according to the present invention includes a transmission packet receiving unit that receives a transmission packet transmitted from a media transmitting apparatus, an operating frequency that is an operation reference of the own apparatus, and a time counter generation that generates a time counter value synchronized with the operating frequency. And the time counter value at the time when the transmission packet is received by the transmission packet reception unit from the time counter generation unit as the reception time counter value, and from the plurality of media packets stored in the transmission packet, the media transmission device The media time counted corresponding to the operating frequency of the media transmitting apparatus involved in the generation of the encoded media information stored in the media packet, for each of the transmission time counter values indicating the transmission timing of the media packet If a counter value is assigned, the media A time counter value extraction unit for extracting a time counter value, and a transmission time counter value, a reception time counter value, and a media time counter obtained by the time counter value extraction unit for transmission packets sequentially received by the transmission packet reception unit A time counter value accumulation unit that sequentially stores values, and a time transition amount of each value in the transmission time counter value, reception time counter value, and media time counter value stored in the time counter value accumulation unit is converted into a frequency difference, Based on the operating frequency difference calculated by the inter-transmission / reception operating frequency difference calculator, the operating frequency of the media transmitting device is calculated based on the operating frequency difference calculated by the operating frequency difference calculator. An operation frequency control unit that corrects the generation of the operation frequency by the time counter generation unit so as to match, The counter value extraction unit holds the media time counter value and the transmission time counter value extracted from the media packet to which the media time counter value is assigned, and is the latest among the plurality of media packets stored in the transmission packet. A value obtained by adding the difference value between the transmission time counter value of the generated media packet and the transmission time counter value extracted from the media packet to which the media time counter value is assigned to the media time counter value is calculated as a virtual value for the transmission packet. As a media time counter value, a difference value of a reception time counter value of each transmission packet received continuously in time from a reception time counter value stored in a time counter value accumulation unit is a predetermined value. A reception time counter value exceeding the threshold is detected, and the detected reception time counter value A selection unit that selects a virtual media time counter value of a transmission packet corresponding to the transmission packet from the time counter value accumulation unit, and the operating frequency difference calculation unit between transmission and reception is a virtual media time counter value selected by the selection unit And the time transition amount of each value of the transmission packet reception time counter value is converted into a frequency difference to calculate an operating frequency difference between transmission and reception.

この発明によれば、時刻カウンタ値抽出部が、メディア時刻カウンタ値と、当該メディア時刻カウンタ値が付与されたメディアパケットから抽出した送信時刻カウンタ値とを保持し、伝送パケットに格納される複数のメディアパケットのうち、最も新しく生成されたメディアパケットの送信時刻カウンタ値と、メディア時刻カウンタ値が付与されたメディアパケットから抽出した送信時刻カウンタ値との差分値を当該メディア時刻カウンタ値に加算した値を、当該伝送パケットに対する仮想的なメディア時刻カウンタ値として算出し、時刻カウンタ値集積部に格納された受信時刻カウンタ値のうちから、時間的に連続して受信された各伝送パケットの受信時刻カウンタ値の差分値が所定の閾値を超える受信時刻カウンタ値を検出し、検出した受信時刻カウンタ値とこれに対応する伝送パケットの仮想的なメディア時刻カウンタ値を時刻カウンタ値集積部から選択する選択部を備え、送受信間動作周波数差算出部は、選択部によって選択された仮想的なメディア時刻カウンタ値と当該伝送パケットの受信時刻カウンタ値との各値の時間遷移量を周波数差に換算して、送受信間動作周波数差を算出する。
このように構成することで、伝送効率を高めるために複数のメディアパケットを1つの伝送パケットに格納して伝送し、メディアパケットの送信間隔やTSレートが一定でない場合であっても、送受信間動作周波数差の算出に使用するパケットを適切に選択することができ、メディア送信装置でメディアパケットを生成し出力した時間間隔と同等の時刻遷移を抽出することが可能である。これにより、IPネットワークを介したパケット伝送であっても高い精度で送受信間動作周波数を同期化し、受信品質のよいメディア受信装置を実現できるという効果がある。
According to this invention, the time counter value extraction unit holds the media time counter value and the transmission time counter value extracted from the media packet to which the media time counter value is assigned, and stores a plurality of times stored in the transmission packet. A value obtained by adding, to the media time counter value, a difference value between the transmission time counter value of the media packet generated most recently and the transmission time counter value extracted from the media packet to which the media time counter value is assigned. As a virtual media time counter value for the transmission packet, and from the reception time counter value stored in the time counter value accumulation unit, the reception time counter of each transmission packet received continuously in time Detected the reception time counter value where the difference value of the value exceeds a predetermined threshold, and detected A selection unit that selects a transmission time counter value and a virtual media time counter value of a transmission packet corresponding to the transmission time counter value from the time counter value accumulation unit, and the operating frequency difference calculation unit between transmission and reception is a virtual unit selected by the selection unit. The amount of time transition between each of the media time counter value and the reception time counter value of the transmission packet is converted into a frequency difference to calculate an operating frequency difference between transmission and reception.
With this configuration, in order to increase transmission efficiency, a plurality of media packets are stored and transmitted in one transmission packet, and even if the transmission interval and TS rate of media packets are not constant, the operation between transmission and reception is performed. It is possible to appropriately select a packet to be used for calculating the frequency difference, and it is possible to extract a time transition equivalent to the time interval at which the media packet is generated and output by the media transmission device. As a result, there is an effect that it is possible to realize a media receiving apparatus with good reception quality by synchronizing the operating frequency between transmission and reception with high accuracy even for packet transmission via the IP network.

この発明の実施の形態1によるメディア受信装置の構成及びその周辺装置を示すブロック図である。It is a block diagram which shows the structure of the media receiver by Embodiment 1 of this invention, and its peripheral device. この発明で扱うネットワークパケットの構造を示す図である。It is a figure which shows the structure of the network packet handled by this invention. 図1の時刻カウンタ値抽出部の構成を示すブロック図である。It is a block diagram which shows the structure of the time counter value extraction part of FIG. メディアパケットの構造の一例を示す図である。It is a figure which shows an example of the structure of a media packet. 伝送パケット及びメディアパケットに対する各時刻カウンタ値の関係を示す図である。It is a figure which shows the relationship of each time counter value with respect to a transmission packet and a media packet. メディアパケットに対する送信時刻カウンタ値と受信時刻カウンタ値との関係を示す図である。It is a figure which shows the relationship between the transmission time counter value with respect to a media packet, and a reception time counter value. 時刻カウンタ値抽出部による仮想MCT値の算出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the calculation process of the virtual MCT value by a time counter value extraction part. この発明で扱う時刻カウンタ値抽出部9が算出した時刻カウンタ値の一例を示す図である。It is a figure which shows an example of the time counter value which the time counter value extraction part 9 handled by this invention calculated. この発明の実施の形態2によるメディア受信装置のピークパケット選択部の構成を示すブロック図である。It is a block diagram which shows the structure of the peak packet selection part of the media receiver by Embodiment 2 of this invention. ネットワークパケットにおける分離対象となる伝送パケットとその他の伝送パケットとの関係の一例を示す図である。It is a figure which shows an example of the relationship between the transmission packet used as the isolation | separation object in a network packet, and another transmission packet. 受信時刻カウンタ値とメディア時刻カウンタ値との関係の一例を示す図である。It is a figure which shows an example of the relationship between a reception time counter value and a media time counter value. 受信時刻カウンタ値と隣接する受信時刻カウンタ値の差分値との関係の一例を示す図である。It is a figure which shows an example of the relationship between a reception time counter value and the difference value of an adjacent reception time counter value. この発明の実施の形態3によるメディア受信装置の構成及びその周辺装置を示すブロック図である。It is a block diagram which shows the structure of the media receiver by Embodiment 3 of this invention, and its peripheral device.

実施の形態1.
図1は、この発明の実施の形態1によるメディア受信装置の構成及びその周辺装置を示すブロック図である。図1において、メディア送信装置1は、映像、音声及びデータ等のメディア情報を入力して、これらを符号化しパケット化してIPネットワークへ出力する装置である。実施の形態1によるメディア受信装置3は、IPネットワークを介して伝送される符号化メディア情報を含むネットワークパケット2を受信し、ネットワークパケット2から、映像、音声及びデータ等のメディア情報を分離して復号する。映像表示装置4は、メディア受信装置3で復号されたメディア情報のうち、映像メディアを表示する装置である。また、音声再生装置5は、メディア受信装置3が復号したメディア情報のうち、音声メディアを再生する装置である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing the configuration of a media receiving apparatus and its peripheral devices according to Embodiment 1 of the present invention. In FIG. 1, a media transmission device 1 is a device that receives media information such as video, audio, and data, encodes them, packetizes them, and outputs them to an IP network. The media receiver 3 according to Embodiment 1 receives a network packet 2 including encoded media information transmitted via an IP network, and separates media information such as video, audio, and data from the network packet 2. Decrypt. The video display device 4 is a device that displays video media among the media information decoded by the media reception device 3. The audio reproduction device 5 is an apparatus that reproduces audio media among the media information decoded by the media reception device 3.

また、メディア受信装置3は、内部構成として、時刻カウンタ生成部6、伝送パケット受信部7、時刻カウンタ値抽出部9、メディアパケット送信部11、メディア分離・復号部13、MCT・RCT値集積部(時刻カウンタ値集積部)16、ピークパケット選択部18、送受信間動作周波数差算出部20及び動作周波数制御部22を備える。
時刻カウンタ生成部6は、メディア受信装置3の動作基準となるクロック信号及び時刻カウンタ値を生成する構成部である。伝送パケット受信部7は、IPネットワークと通信接続して、メディア送信装置1から出力されたネットワークパケット2を受信する構成部である。また、伝送パケット受信部7は、ネットワークパケット2から伝送パケット8を抽出する。
Further, the media receiver 3 includes, as an internal configuration, a time counter generation unit 6, a transmission packet reception unit 7, a time counter value extraction unit 9, a media packet transmission unit 11, a media separation / decoding unit 13, and an MCT / RCT value accumulation unit. (Time counter value accumulation unit) 16, peak packet selection unit 18, operating frequency difference calculation unit 20 between transmission and reception, and operation frequency control unit 22.
The time counter generation unit 6 is a configuration unit that generates a clock signal and a time counter value that are the operation reference of the media reception device 3. The transmission packet receiving unit 7 is a component that receives the network packet 2 output from the media transmission device 1 through communication connection with the IP network. Further, the transmission packet receiving unit 7 extracts the transmission packet 8 from the network packet 2.

時刻カウンタ値抽出部9は、伝送パケット受信部7が伝送パケット8を受信した時点のリアルタイム時刻カウンタ値14を受信時刻カウンタ値(以下、RCT値と適宜記載する)として時刻カウンタ生成部6から入力するとともに、伝送パケット8からメディアパケット10を抽出してそのメディアヘッダ情報に付与された送信時刻カウンタ値(以下、SCT値と適宜記載する)とメディア時刻カウンタ値(以下、MCT値と適宜記載する)を取得する構成部である。   The time counter value extraction unit 9 inputs a real time time counter value 14 at the time when the transmission packet reception unit 7 receives the transmission packet 8 from the time counter generation unit 6 as a reception time counter value (hereinafter referred to as RCT value as appropriate). At the same time, the media packet 10 is extracted from the transmission packet 8 and the transmission time counter value (hereinafter referred to as SCT value) and media time counter value (hereinafter referred to as MCT value) given to the media header information are described as appropriate. ).

なお、MCT値は、符号化メディア情報の生成に関わるメディア送信装置1の動作周波数に対応してカウントされた時刻カウンタ値であり、符号化メディア情報の生成に関わる動作周波数を再現するための基準時刻を示す値としてメディア受信装置3で参照される。
SCT値は、メディア送信装置1から送信されるメディアパケット10の送信タイミングを示す時刻カウンタ値であり、MCT値と同一の周波数でカウントされた時刻カウンタ値である。
The MCT value is a time counter value counted corresponding to the operating frequency of the media transmitting apparatus 1 related to the generation of the encoded media information, and is a reference for reproducing the operating frequency related to the generation of the encoded media information. The media receiver 3 refers to the value indicating the time.
The SCT value is a time counter value indicating the transmission timing of the media packet 10 transmitted from the media transmitting apparatus 1, and is a time counter value counted at the same frequency as the MCT value.

また、時刻カウンタ値抽出部9は、伝送パケット受信部7が受信した各伝送パケット8にそれぞれ付与されたSCT値と、MCT値を有するメディアパケット10に付与されたSCT値と、の差分から、伝送パケット8に格納されている最も新しいメディアパケット10に対する仮想的なMCT値(以下、仮想MCT値と適宜記載する)を算出する。
仮想MCT値と伝送パケット8を受信した時点のRCT値とを含む伝送パケット時刻情報15は、時刻カウンタ値抽出部9からMCT・RCT値集積部16へ出力される。
In addition, the time counter value extraction unit 9 calculates the difference between the SCT value assigned to each transmission packet 8 received by the transmission packet reception unit 7 and the SCT value assigned to the media packet 10 having the MCT value, A virtual MCT value (hereinafter referred to as a virtual MCT value as appropriate) for the newest media packet 10 stored in the transmission packet 8 is calculated.
Transmission packet time information 15 including the virtual MCT value and the RCT value at the time when the transmission packet 8 is received is output from the time counter value extraction unit 9 to the MCT / RCT value accumulation unit 16.

メディアパケット送信部11は、メディアパケット10を一時的に格納し、各メディアパケットのSCT値に応じて復号対象メディアパケット12の出力タイミングを制御する構成部である。メディア分離・復号部13は、復号対象メディアパケット12から符号化メディア情報を分離して復号し、映像、音声及びデータ等のメディア信号を出力する構成部である。   The media packet transmission unit 11 is a component that temporarily stores the media packet 10 and controls the output timing of the decoding target media packet 12 according to the SCT value of each media packet. The media separation / decoding unit 13 is a configuration unit that separates and decodes encoded media information from the decoding target media packet 12 and outputs media signals such as video, audio, and data.

MCT・RCT値集積部16は、時刻カウンタ値抽出部9から出力される伝送パケット時刻情報15を順次入力して集積する記憶部である。
ピークパケット選択部18は、MCT・RCT値集積部16から読み出した選択対象となるMCT値とRCT値との組み合わせを含む選択対象伝送パケット時刻情報17のうちから、送受信間動作周波数差の算出に使用する時刻情報を選択する構成部である。ピークパケット選択部18に選択された時刻情報は、演算対象伝送パケット時刻情報19として送受信間動作周波数差算出部20へ出力される。
The MCT / RCT value accumulation unit 16 is a storage unit that sequentially inputs and accumulates transmission packet time information 15 output from the time counter value extraction unit 9.
The peak packet selection unit 18 calculates the transmission / reception operating frequency difference from the selection target transmission packet time information 17 including the combination of the MCT value to be selected and the RCT value read from the MCT / RCT value accumulation unit 16. It is a structure part which selects the time information to be used. The time information selected by the peak packet selection unit 18 is output to the operating frequency difference calculation unit 20 between transmission and reception as operation target transmission packet time information 19.

送受信間動作周波数差算出部20は、演算対象伝送パケット時刻情報19に基づいて、送受信間動作周波数差21を算出する構成部である。
動作周波数制御部22は、送受信間動作周波数差21に基づいて、時刻カウンタ生成部6の動作クロック及び時刻カウンタ値の補正量を決定する構成部であり、決定した補正量を示す時刻カウンタ制御値23を時刻カウンタ生成部6へ出力する。
The transmission / reception operating frequency difference calculation unit 20 is a component that calculates the transmission / reception operating frequency difference 21 based on the computation target transmission packet time information 19.
The operating frequency control unit 22 is a component that determines the correction amount of the operation clock and the time counter value of the time counter generation unit 6 based on the operating frequency difference 21 between transmission and reception, and a time counter control value indicating the determined correction amount 23 is output to the time counter generator 6.

図2は、この発明で扱うネットワークパケットの構造を示す図である。図2に示すネットワークパケット2は、メディア送信装置1と本発明のメディア受信装置3との間でIPネットワーク等の伝送経路を介して伝達される。ネットワークヘッダ情報2aは、ネットワークパケット2に含まれ、送信元や受信先、あるいは伝達される情報の種別を特定する情報が格納された情報である。   FIG. 2 is a diagram showing the structure of a network packet handled in the present invention. The network packet 2 shown in FIG. 2 is transmitted between the media transmission device 1 and the media reception device 3 of the present invention via a transmission path such as an IP network. The network header information 2a is information that is included in the network packet 2 and stores information for specifying a transmission source, a reception destination, or a type of information to be transmitted.

伝送パケット8は、ネットワークパケット2に含まれ、映像配信等の用途に適用される伝送手順に従って伝送される。また、伝送パケット8には、伝送パケットヘッダ情報8aと複数のメディアパケット10が含まれる。図2に示す例では、伝送パケット8にm番目から(m+k)番目までのメディアパケット10が含まれている。   The transmission packet 8 is included in the network packet 2 and is transmitted in accordance with a transmission procedure applied to applications such as video distribution. The transmission packet 8 includes transmission packet header information 8a and a plurality of media packets 10. In the example shown in FIG. 2, the media packet 10 from the mth to the (m + k) th is included in the transmission packet 8.

伝送パケットヘッダ情報8aは、伝送パケット8の送信元や受信先等を特定する情報である。メディアパケット10には、メディア情報が格納されており、メディアヘッダ情報10a及びメディアパケットペイロード10bを含んでいる。メディアヘッダ情報10aは、メディアパケット10ごとに含まれるヘッダ情報であり、メディアパケット時刻情報24を含んで構成される。メディアパケットペイロード10bには、符号化メディア情報あるいは制御情報が格納される。   The transmission packet header information 8a is information for specifying a transmission source, a reception destination, and the like of the transmission packet 8. The media packet 10 stores media information and includes media header information 10a and a media packet payload 10b. The media header information 10 a is header information included for each media packet 10 and includes media packet time information 24. The media packet payload 10b stores encoded media information or control information.

メディアパケット時刻情報24は、メディアヘッダ情報10aに含まれる情報のうち、時刻カウンタに関する情報であり、送信時刻カウンタ値(SCT値)24a及びメディア時刻カウンタ値(MCT値)24bを含む。   The media packet time information 24 is information related to a time counter among the information included in the media header information 10a, and includes a transmission time counter value (SCT value) 24a and a media time counter value (MCT value) 24b.

図3は、図1の時刻カウンタ値抽出部の構成を示すブロック図である。図3において、時刻カウンタ値抽出部9は、RCT値取込部25、メディアパケット抽出部26、SCT値抽出部27、MCT値抽出・SCT値保持部28、仮想MCT値算出部29及びMCT値・RCT値出力部30を備える。   FIG. 3 is a block diagram showing a configuration of the time counter value extraction unit of FIG. In FIG. 3, the time counter value extracting unit 9 includes an RCT value capturing unit 25, a media packet extracting unit 26, an SCT value extracting unit 27, an MCT value extracting / SCT value holding unit 28, a virtual MCT value calculating unit 29, and an MCT value. An RCT value output unit 30 is provided.

RCT値取込部25は、伝送パケット8を受信した時点のRCT値(受信時刻カウンタ値)14を時刻カウンタ生成部6から取り込む構成部である。
メディアパケット抽出部26は、伝送パケット8からメディアパケット10を抽出してメディアパケット送信部11へ出力すると共に、メディアパケットヘッダ情報10aからメディアパケット時刻情報24を抽出してSCT値抽出部27へ出力する構成部である。
また、メディアパケット抽出部26は、伝送パケット8中に処理対象のメディアパケット10が無くなると、この伝送パケット8についてメディアパケット10の抽出が完了したことを示すメディアパケット抽出完了通知26aを、MCT値・RCT値出力部30に送信する。
The RCT value capturing unit 25 is a component that captures the RCT value (reception time counter value) 14 at the time of receiving the transmission packet 8 from the time counter generation unit 6.
The media packet extraction unit 26 extracts the media packet 10 from the transmission packet 8 and outputs it to the media packet transmission unit 11, and extracts the media packet time information 24 from the media packet header information 10 a and outputs it to the SCT value extraction unit 27. It is the component which performs.
Further, when there is no media packet 10 to be processed in the transmission packet 8, the media packet extraction unit 26 sends a media packet extraction completion notification 26a indicating that the extraction of the media packet 10 is completed for the transmission packet 8 to the MCT value. Transmit to the RCT value output unit 30.

SCT値抽出部27は、メディアパケット抽出部26が抽出したメディアパケット時刻情報24から送信時刻カウンタ値(SCT値)24aを抽出する構成部であり、SCT値の抽出処理の他に、メディアパケット時刻情報24から処理対象のメディアパケット10のSCT値24aを取り除いたヘッダ情報部分と前記処理対象のメディアパケット10に対するSCT値24aとを含むメディア時刻カウント情報24cを生成する。   The SCT value extraction unit 27 is a component that extracts a transmission time counter value (SCT value) 24a from the media packet time information 24 extracted by the media packet extraction unit 26. In addition to the SCT value extraction process, the SCT value extraction unit 27 Media time count information 24c including a header information part obtained by removing the SCT value 24a of the processing target media packet 10 from the information 24 and the SCT value 24a for the processing target media packet 10 is generated.

MCT値抽出・SCT値保持部28は、SCT値抽出部27により抽出されたメディアパケット時刻情報24から、メディア時刻カウンタ値(MCT値)24bを抽出し、抽出されたMCT値24bと同時に通知されたSCT値24aを保持する構成部である。
また、MCT値抽出・SCT値保持部28は、処理対象の伝送パケット8の送信時刻カウンタ値24aと、処理対象の伝送パケット8で最も新しいメディア時刻カウンタ値24bとを含む仮想MCT値算出情報28aを生成して仮想MCT値算出部29へ出力する。
The MCT value extraction / SCT value holding unit 28 extracts the media time counter value (MCT value) 24b from the media packet time information 24 extracted by the SCT value extraction unit 27, and is notified at the same time as the extracted MCT value 24b. This is a component that holds the SCT value 24a.
The MCT value extraction / SCT value holding unit 28 also includes virtual MCT value calculation information 28a including the transmission time counter value 24a of the transmission packet 8 to be processed and the latest media time counter value 24b of the transmission packet 8 to be processed. And output to the virtual MCT value calculation unit 29.

仮想MCT値算出部29は、SCT値抽出部27により抽出された処理対象のメディアパケット10のSCT値24aと、MCT値抽出・SCT値保持部28により生成されたメディア時刻カウント情報24cとに基づき、処理対象のメディアパケット10に対する仮想的なMCT値(仮想MCT値)24dを算出する構成部である。   The virtual MCT value calculation unit 29 is based on the SCT value 24a of the media packet 10 to be processed extracted by the SCT value extraction unit 27 and the media time count information 24c generated by the MCT value extraction / SCT value holding unit 28. This is a component that calculates a virtual MCT value (virtual MCT value) 24d for the media packet 10 to be processed.

MCT値・RCT値出力部30は、メディアパケット抽出部26からメディアパケット抽出完了通知26aを受ける構成部であり、メディアパケット抽出完了通知26aによって、伝送パケット8に含まれる全てのメディアパケット10の処理が完了したことを認識すると、この伝送パケット8において仮想MCT値算出部29が最後に計算したメディアパケット10(当該伝送パケット8に含まれる最も新しいメディアパケット10)に対する仮想MCT値24dと、この伝送パケット8を受信した時点のRCT値14と、を含む伝送パケット時刻情報15を出力する。   The MCT value / RCT value output unit 30 is a component that receives the media packet extraction completion notification 26a from the media packet extraction unit 26, and processes all media packets 10 included in the transmission packet 8 by the media packet extraction completion notification 26a. Is recognized, the virtual MCT value 24d for the media packet 10 (the newest media packet 10 included in the transmission packet 8) last calculated by the virtual MCT value calculation unit 29 in the transmission packet 8, and the transmission Transmission packet time information 15 including the RCT value 14 at the time of receiving the packet 8 is output.

次に動作について説明する。
メディア送信装置1は、入力された映像メディア信号、音声メディア信号、データ信号等のメディア情報をそれぞれのメディアの特性に応じた符号化方式によって映像符号化、音声符号化、データ符号化して、符号化メディア情報を生成する。
映像符号化としては、例えばMPEG−2 Video、MPEG−4 Video、MPEG−4 AVC、VC−1等の映像符号化規格に準拠して符号化されたデータ列が該当する。また、音声符号化には、例えばMPEG−1 Audio、MPEG−2 Audio、MPEG−2/4 AAC、Dolby AC−3等の音声符号化規格に準拠して符号化されたデータ列が挙げられる。
Next, the operation will be described.
The media transmitting apparatus 1 encodes media information such as an input video media signal, audio media signal, and data signal by video encoding, audio encoding, and data encoding according to an encoding method according to the characteristics of each media. Media information is generated.
As the video encoding, for example, a data string encoded in accordance with a video encoding standard such as MPEG-2 Video, MPEG-4 Video, MPEG-4 AVC, or VC-1 is applicable. In addition, examples of audio encoding include a data string encoded in accordance with audio encoding standards such as MPEG-1 Audio, MPEG-2 Audio, MPEG-2 / 4 AAC, Dolby AC-3, and the like.

複数のメディア情報を1つの伝送データに集約して伝送経路に出力し易くするために、図2で示したようなパケット構造で伝送用のデータ列を形成してパケット化し、メディア送信装置1からメディア受信装置3へ伝達される。符号化メディア情報は、所定の形式でメディアパケットペイロード10bに格納され、どのような情報であるかを特定するためのメディアヘッダ情報10aが付与されてメディアパケット10が生成される。また、メディアヘッダ情報10aには、メディアパケット10が生成された時刻となる送信時刻カウンタ値(SCT値)24aが付与される。   In order to aggregate a plurality of pieces of media information into a single transmission data and easily output it to the transmission path, a data string for transmission is formed in a packet structure as shown in FIG. It is transmitted to the media receiver 3. The encoded media information is stored in a media packet payload 10b in a predetermined format, and media header information 10a for specifying what kind of information is added to generate the media packet 10. The media header information 10a is given a transmission time counter value (SCT value) 24a that is the time when the media packet 10 is generated.

伝送パケット8には、伝送効率を高めるために、複数のメディアパケット10が纏めて格納され、さらにどのような情報であるかを特定する伝送パケットヘッダ情報8aが付与される。また、伝送パケットヘッダ情報8aには、伝送パケット8に格納されたデータを送受信するアプリケーションに固有な情報が含まれている。この情報としては、送受信間でのデータ伝送に関わる情報であることを想定しているが、実施の形態1によるメディア受信装置3の動作に直接関連しないので詳細な説明を省略する。   In order to increase transmission efficiency, the transmission packet 8 stores a plurality of media packets 10 together, and is further provided with transmission packet header information 8a for specifying what kind of information it is. Further, the transmission packet header information 8a includes information unique to an application that transmits and receives data stored in the transmission packet 8. This information is assumed to be information related to data transmission between transmission and reception, but is not directly related to the operation of the media reception device 3 according to the first embodiment, and thus detailed description thereof is omitted.

IPネットワーク等の伝送経路へ最終的に出力するために、伝送パケット8を格納し、ネットワークヘッダ情報2aが付与されたネットワークパケット2が生成される。ネットワークヘッダ情報2aには、伝送経路を構成する各種のネットワーク機器を介してネットワークパケット2を正確に伝達するための宛先情報として、パケット送信元とパケット受信先とを示すアドレスや、通信手順を区別するための識別子等の情報が含まれる。   In order to finally output to a transmission path such as an IP network, the transmission packet 8 is stored, and the network packet 2 to which the network header information 2a is added is generated. In the network header information 2a, as destination information for accurately transmitting the network packet 2 through various network devices constituting the transmission path, the address indicating the packet transmission source and the packet reception destination and the communication procedure are distinguished. Information such as an identifier to be used.

メディアパケット化の一例としては、デジタル放送や次世代ディスクなどで採用されるMPEG−2 Systems規格に準拠したTS(Transport Stream)形式のTSパケットにタイムスタンプを付与したTTSパケット(タイムスタンプ付きTSパケット)が挙げられる。また、伝送パケット化は、IETF(Internet Engineering Task Force)で規定されたRTP(Realtime Transport Protocol)形式でのRTPパケットに従ってパケット多重されたデータ列が該当する。ネットワークパケット2としては、同じくインターネットで使用されるUDP/IP(User Data Protocol/Internet Protocol)形式のUDP/IPパケットに従ってパケット多重されたデータ列が該当する。   As an example of media packetization, a TTS packet (a TS packet with a time stamp) in which a time stamp is added to a TS packet in the TS (Transport Stream) format conforming to the MPEG-2 Systems standard adopted in digital broadcasting, next-generation discs, etc. ). Transmission packetization corresponds to a data string that is packet-multiplexed according to an RTP packet in the RTP (Realtime Transport Protocol) format defined by IETF (Internet Engineering Task Force). The network packet 2 corresponds to a data string that is packet-multiplexed according to a UDP / IP (User Data Protocol / Internet Protocol) UDP / IP packet that is also used on the Internet.

図4は、伝送パケット8に格納されるメディアパケット10の構造の一例を示す図であり、TTSパケット形式のメディアパケット10におけるパラメータの一部をビット配置で示したものである。各パラメータの意味は、当業者にとって自明であるので説明を省略する。TTSパケットは、192バイトの固定長で構成され、図4に示す例では、先頭バイトの位置を“1”で示し、最終バイトの位置を“192”で示しており、バイト内のMSB(Most Significant Bit)をb7、LSB(Least Significant Bit)をb0、MSBからLSBまでの各ビットを、それぞれb6からb1までで示している。   FIG. 4 is a diagram showing an example of the structure of the media packet 10 stored in the transmission packet 8, and shows a part of parameters in the media packet 10 in the TTS packet format in bit arrangement. The meaning of each parameter is obvious to those skilled in the art and will not be described. The TTS packet has a fixed length of 192 bytes. In the example shown in FIG. 4, the position of the first byte is indicated by “1”, the position of the last byte is indicated by “192”, and the MSB (Most Significant Bit) is indicated by b7, LSB (Least Significant Bit) is indicated by b0, and each bit from MSB to LSB is indicated by b6 to b1, respectively.

パラメータにおいて、PCR_Base、PCR_Extensionで示される情報が、Program_Clock_Referenceと呼ばれる時刻情報である。
また、PCR_Base部は、90KHz精度のカウンタ値が多重化されており、PCR_Extension部には、27MHz精度のカウンタ値が多重化されている。
MPEG−2 Systems規格に準拠した装置が送受信間で動作周波数を一致させるためには、PCRが一定周期ごと、MPEG−2 Systems規格では、100msec以内の伝送間隔でパラメータ設定が通知される。
実施の形態1によるメディア受信装置3は、PCRのカウンタ値の遷移と、自装置3内のカウンタ値の遷移との差異を検知して送受信間での動作周波数差を算出し、これを基に自装置3の動作周波数を調整することによって、動作周波数を送受信間で一致させることができる。
In the parameters, information indicated by PCR_Base and PCR_Extension is time information called Program_Clock_Reference.
The PCR_Base part is multiplexed with a counter value of 90 KHz accuracy, and the PCR_Extension part is multiplexed with a counter value of 27 MHz precision.
In order for a device compliant with the MPEG-2 Systems standard to match the operating frequency between transmission and reception, the parameter setting is notified at a constant cycle of PCR and at a transmission interval of 100 msec or less according to the MPEG-2 Systems standard.
The media receiving device 3 according to the first embodiment detects the difference between the transition of the counter value of the PCR and the transition of the counter value in the own device 3, calculates the operating frequency difference between transmission and reception, and based on this By adjusting the operating frequency of the own device 3, the operating frequency can be matched between transmission and reception.

また、TTSパケット先頭に設定するタイムスタンプについても、PCRと同一のクロック源、つまり同一周波数でカウントされたカウンタ値が格納される。
なお、デジタル放送のIPネットワーク伝送や次世代ディスクで採用されるTTSパケットの書式では、ビット長や付加的なパラメータが付与される等の相違があるが、本質的な差がないので同等の内容として扱う。
Also for the time stamp set at the head of the TTS packet, the same clock source as the PCR, that is, the counter value counted at the same frequency is stored.
The TTS packet format used in digital broadcast IP network transmission and next-generation discs has differences such as the bit length and additional parameters, but there is no essential difference. Treat as.

図4に示すTTSパケットと図2で示したパケット構成を対比すると、図2の送信時刻カウンタ値(SCT値)24aは、図4のTTSパケットの先頭に多重されるタイムスタンプに相当する。また、メディア時刻カウンタ値(MCT値)24bは、TTSパケットのパラメータ“adaptation_field_control”領域に多重されるPCR(PCR_Base部、PCR_Extension部)に相当する。   When the TTS packet shown in FIG. 4 is compared with the packet configuration shown in FIG. 2, the transmission time counter value (SCT value) 24a in FIG. 2 corresponds to a time stamp multiplexed at the head of the TTS packet in FIG. The media time counter value (MCT value) 24b corresponds to a PCR (PCR_Base part, PCR_Extension part) multiplexed in the parameter “adaptation_field_control” area of the TTS packet.

このように、ネットワークパケット2は、各種の符号化・伝送規格に従って構成されており、伝送パケット8には、複数のメディアパケット10が格納されて伝送される。
また、ネットワークパケット2には、ネットワークヘッダ情報2a及び伝送パケットヘッダ情報8aが多重されるため、ネットワークパケット2内に格納するデータ量が少ないと、ヘッダ部分のオーバヘッドが大きくなって伝送効率の低下を招くことになる。
そこで、伝送効率の最大化を図るため、適用するネットワークの特性に応じて格納するデータ量をなるべく多くすることが求められる。
一方、伝送対象となるデータ列は、先に述べたように固定長パケット、図4の例では、192バイト固定長パケットのメディアパケット10となるので、伝送効率を高めるためには、複数のメディアパケット10を伝送パケット8に格納して伝達することになる。
As described above, the network packet 2 is configured in accordance with various encoding / transmission standards, and a plurality of media packets 10 are stored and transmitted in the transmission packet 8.
In addition, since network header information 2a and transmission packet header information 8a are multiplexed in network packet 2, if the amount of data stored in network packet 2 is small, the overhead of the header portion increases and transmission efficiency decreases. Will be invited.
Therefore, in order to maximize the transmission efficiency, it is required to increase the amount of data to be stored as much as possible according to the characteristics of the applied network.
On the other hand, the data string to be transmitted is a fixed-length packet as described above, and in the example of FIG. 4, the media packet 10 is a 192-byte fixed-length packet. The packet 10 is stored in the transmission packet 8 and transmitted.

メディア受信装置3は、伝送経路の一例として、IPネットワークを介してネットワークパケット2を伝送パケット受信部7で受信する。なお、IPネットワークではない他の通信方式で伝送されても本質的な差はない。伝送パケット受信部7では、処理対象となる映像、音声あるいはデータ等のメディア情報を含むネットワークパケット2を識別して、ネットワークパケット2から伝送パケット8を抽出して出力する。   As an example of a transmission path, the media reception device 3 receives a network packet 2 by a transmission packet reception unit 7 via an IP network. It should be noted that there is no essential difference even if transmission is performed using another communication method that is not an IP network. The transmission packet receiving unit 7 identifies the network packet 2 including media information such as video, audio or data to be processed, extracts the transmission packet 8 from the network packet 2 and outputs it.

時刻カウンタ値抽出部9は、伝送パケット受信部7から伝送パケット8を受信した時点で、時刻カウンタ生成部6によって随時生成されている、メディア受信装置3の基準時刻となるリアルタイム時刻カウンタ値(RCT値)14を取り込んで、受信時刻カウンタ値(RCT値)を取得する。
なお、正確さをより考慮するならば、伝送パケット受信7がネットワークパケット2を受信した時点で、時刻カウンタ生成部6から受信時刻カウンタ値(RCT値)14を取得してもよい。
The time counter value extraction unit 9 receives the transmission packet 8 from the transmission packet reception unit 7 and generates a real-time time counter value (RCT) that is generated as needed by the time counter generation unit 6 and serves as a reference time for the media receiver 3. Value) 14 is acquired to obtain the reception time counter value (RCT value).
In consideration of accuracy, the reception time counter value (RCT value) 14 may be acquired from the time counter generator 6 when the transmission packet reception 7 receives the network packet 2.

さらに、時刻カウンタ値抽出部9は、伝送パケット8からメディアパケット10を抽出し、メディアヘッダ情報10aに付与された送信時刻カウンタ値(SCT値)24aと、メディア時刻カウンタ値(MCT値)24bを取得する。
このとき、MCT値24bは、全てのメディアパケット10に付与されていないこと、及び、1つの伝送パケット8には、複数のメディアパケット10が格納されて伝送されることから、個々のメディアパケット10に対して受信時刻カウンタ値(RCT値)14と送信時刻カウンタ値24aとの関係が時間経過とともに変化する。
この変化のため、受信側で、個々のメディアパケット10に対する受信時刻カウンタ値(RCT値)14を正確に把握できなくなる。
Further, the time counter value extraction unit 9 extracts the media packet 10 from the transmission packet 8, and obtains the transmission time counter value (SCT value) 24a and the media time counter value (MCT value) 24b added to the media header information 10a. get.
At this time, since the MCT value 24b is not assigned to all the media packets 10 and a plurality of media packets 10 are stored and transmitted in one transmission packet 8, each media packet 10 On the other hand, the relationship between the reception time counter value (RCT value) 14 and the transmission time counter value 24a changes with time.
Due to this change, the reception side cannot accurately grasp the reception time counter value (RCT value) 14 for each media packet 10.

そこで、この発明による時刻カウンタ値抽出部9は、伝送パケット8に固有な受信時刻カウンタ値(RCT値)、送信時刻カウンタ値(SCT値)24a、仮想的なメディア時刻カウンタ値(以降は、特に「仮想的な」を記述しないが同意である)24bを算出して送受信間での動作周波数差の算出に適用する。以下、仮想MCT値24bの算出の詳細を説明する。   Therefore, the time counter value extraction unit 9 according to the present invention includes a reception time counter value (RCT value) unique to the transmission packet 8, a transmission time counter value (SCT value) 24a, a virtual media time counter value (hereinafter, in particular, 24b is calculated and applied to the calculation of the operating frequency difference between transmission and reception. Details of the calculation of the virtual MCT value 24b will be described below.

図5は、この発明で扱う伝送パケット及びメディアパケットに対する各時刻カウンタ値の関係を示す図であり、左側から右側に遷移するにつれて時間が経過し、メディアパケット、伝送パケットがそれぞれ生成され、送信時刻カウンタ値(SCT値)が進むことを表している。図5において、伝送パケット8−1は、複数のメディアパケット10−0〜10−3を含み、「m番目」に生成された伝送パケットである。
メディアパケット10−0は、メディア時刻カウンタ値(MCT値)を含まない「n番目」に生成されたメディアパケットである。
FIG. 5 is a diagram showing the relationship of each time counter value with respect to the transmission packet and the media packet handled in the present invention. As time transitions from the left side to the right side, the media packet and the transmission packet are generated, and the transmission time is generated. This indicates that the counter value (SCT value) advances. In FIG. 5, a transmission packet 8-1 is a transmission packet generated in the “m-th” including a plurality of media packets 10-0 to 10-3.
The media packet 10-0 is an “nth” media packet that does not include a media time counter value (MCT value).

また、メディアパケット10−1は、MCT値を含む「n+1番目」に生成されたメディアパケットである。さらに、メディアパケット10−2,10−3は、MCT値を含まない、「n+2番目」、「n+3番目」にそれぞれ生成されたメディアパケットである。
なお、メディアパケット10−3は、伝送パケット8−1に多重されたメディアパケット中で最も新しい時間に生成されたメディアパケットとなる。
The media packet 10-1 is an “n + 1” th media packet including an MCT value. Further, the media packets 10-2 and 10-3 are media packets generated for “n + 2” and “n + 3”, respectively, which do not include an MCT value.
The media packet 10-3 is a media packet generated at the latest time among media packets multiplexed with the transmission packet 8-1.

伝送パケット8−2は、複数のメディアパケット10−4〜10−7を含み、「m+1番目」に生成された伝送パケットである。ここで、メディアパケット10−7は、伝送パケット8−2中で最も新しい時間に生成されたメディアパケットである。
伝送パケット8−3は、複数のメディアパケット10−8〜10−11が多重されており、「m+2番目」に生成された伝送パケットである。メディアパケット10−11は、伝送パケット8−3中で最も新しい時間に生成されたメディアパケットである。
The transmission packet 8-2 includes a plurality of media packets 10-4 to 10-7, and is a transmission packet generated “m + 1” th. Here, the media packet 10-7 is a media packet generated at the latest time in the transmission packet 8-2.
The transmission packet 8-3 is a transmission packet generated by “m + 2”, in which a plurality of media packets 10-8 to 10-11 are multiplexed. The media packet 10-11 is a media packet generated at the latest time in the transmission packet 8-3.

説明の便宜上、メディアパケット10−0〜10−11のそれぞれには、送信時刻カウンタ値(SCT値)として、SCT[n]=10、SCT[n+1]=20、SCT[n+2]=40、・・・、SCT[n+11]=180が付与される。また、メディアパケット10−1には、メディア時刻カウンタ値(MCT値)として、MCT=20100が付与されている。
なお、伝送パケット8−1〜8−3が受信された時点のリアルタイム時刻カウンタ値である受信時刻カウンタ値(RCT値)は、RCT[m]=20150、RCT[m+1]=20225、RCT[m+2]=20255、・・・がそれぞれ得られるものとして記載している。
また、伝送パケット8−1〜8−3にメディアパケットを4つずつ格納した場合を示しているが、伝送パケットに格納するメディアパケットの個数は、一つであっても複数でもあってよいし、固定数でなくてもよい。
For convenience of explanation, each of the media packets 10-0 to 10-11 has a transmission time counter value (SCT value) of SCT [n] = 10, SCT [n + 1] = 20, SCT [n + 2] = 40,. .. SCT [n + 11] = 180 is given. Further, MCT = 20100 is assigned to the media packet 10-1 as a media time counter value (MCT value).
Note that the reception time counter value (RCT value), which is the real-time time counter value at the time when the transmission packets 8-1 to 8-3 are received, is RCT [m] = 20150, RCT [m + 1] = 20225, RCT [m + 2 ] = 20255,... Are obtained.
Further, although four media packets are stored in the transmission packets 8-1 to 8-3, the number of media packets stored in the transmission packet may be one or plural. , It does not have to be a fixed number.

m番目の伝送パケット8−1には、メディアパケット10−0〜10−3が多重されており、送信時刻カウンタ値(SCT値)24aが、SCT[n]=10、SCT[n+1]=20、SCT[n+2]=40、SCT[n+3]=55と遷移している。つまり、SCT[n+3]が付与されているメディアパケット10−3は、伝送パケット8−1中で最も新しいメディアパケットである。   Media packets 10-0 to 10-3 are multiplexed in the mth transmission packet 8-1, and the transmission time counter value (SCT value) 24a is SCT [n] = 10 and SCT [n + 1] = 20. , SCT [n + 2] = 40 and SCT [n + 3] = 55. That is, the media packet 10-3 to which SCT [n + 3] is assigned is the newest media packet in the transmission packet 8-1.

時刻カウンタ値抽出部9のRCT値取込部25は、m番目の伝送パケット8−1を受信した時点のメディア受信装置3の基準クロックであるリアルタイム時刻カウンタ値(RCT[m]=20150)を、受信時刻カウンタ値(RCT値)14として取り込む。   The RCT value fetching unit 25 of the time counter value extracting unit 9 obtains a real-time time counter value (RCT [m] = 20150) that is a reference clock of the media receiving device 3 at the time when the mth transmission packet 8-1 is received. The received time counter value (RCT value) 14 is captured.

図6は、メディアパケット10に対する送信時刻カウンタ値と受信時刻カウンタ値との関係を示す図である。図6において、この送信時刻カウンタ値と受信時刻カウンタ値との関係を模式的に表している。上述したように、1つの伝送パケットには、複数のメディアパケットが格納されている。このため、メディア送信装置1が、メディアパケットを生成して送出するまでの間隔を示す送信時刻カウンタ値(SCT値)は、時間の経過とともに増加していく。一方、メディア受信装置3がメディアパケットを受信する間隔は、図6に示すように、伝送パケット単位に纏められてしまう。   FIG. 6 is a diagram illustrating the relationship between the transmission time counter value and the reception time counter value for the media packet 10. FIG. 6 schematically shows the relationship between the transmission time counter value and the reception time counter value. As described above, a plurality of media packets are stored in one transmission packet. For this reason, a transmission time counter value (SCT value) indicating an interval until the media transmission device 1 generates and transmits a media packet increases with the passage of time. On the other hand, the intervals at which the media receiving device 3 receives media packets are grouped in units of transmission packets as shown in FIG.

従って、送信時刻カウンタ値と受信時刻カウンタ値は、本来、図6に破線矢印で示す比例関係であるはずのところ、伝送パケット単位に偏ってしまい、正確な受信時刻カウンタ値を得ることができなくなる。
そこで、この発明では、送信時刻カウンタ値と受信時刻カウンタ値が比例関係となる、図6中に黒丸記号で示すメディアパケットに選択して、動作周波数差の演算に使用する。
Therefore, the transmission time counter value and the reception time counter value are supposed to be proportional to each other as originally indicated by the broken-line arrows in FIG. 6, but are biased in units of transmission packets, and an accurate reception time counter value cannot be obtained. .
Therefore, in the present invention, a media packet indicated by a black circle symbol in FIG. 6 in which the transmission time counter value and the reception time counter value have a proportional relationship is selected and used for the calculation of the operating frequency difference.

図5の説明に戻ると、メディアパケット10−1が、SCT[n+1]=20、MCT=20100を含んでいるので、時刻カウンタ値抽出部9は、このSCT[n+1]と、伝送パケット8−1で最新のメディアパケット10−3のSCT[n+3]=55との差分を求め、この差分値=35をMCT=20100に加算することにより、m番目の伝送パケット8−1に対する仮想MCT値24bとしてMCT[m]=20135を算出する。   Returning to the description of FIG. 5, since the media packet 10-1 includes SCT [n + 1] = 20 and MCT = 20100, the time counter value extraction unit 9 determines that the SCT [n + 1] and the transmission packet 8- 1, the difference from SCT [n + 3] = 55 of the latest media packet 10-3 is obtained, and this difference value = 35 is added to MCT = 20100, so that the virtual MCT value 24b for the mth transmission packet 8-1 is obtained. MCT [m] = 20135 is calculated as follows.

同様に、時刻カウンタ値抽出部9は、m+1番目の伝送パケット8−2についても、SCT[n+1]=20とSCT[n+7]=120との差分値を求め、この差分値=100をメディアパケット10−1のMCT値=20100に加算して、仮想MCT値24bとしてMCT=20200を算出し、このときの受信時刻カウンタ値RCT[m+1]=20225を時刻カウンタ生成部6から取り込む。
m+2番目の伝送パケット8−2では、SCT[n+1]=20とSCT[n+11]=180との差分値を求め、この差分値=160をメディアパケット10−1のMCT値=20100に加算して、仮想MCT値24bとしてMCT=20260を算出し、このときの受信時刻カウンタ値RCT[m+2]=20255を時刻カウンタ生成部6から取り込む。
この後、時刻カウンタ値抽出部9は、メディアパケット中に新しいメディア時刻カウンタ値(MCT値)が抽出されるまで同様の動作を繰り返していく。
Similarly, the time counter value extraction unit 9 obtains a difference value between SCT [n + 1] = 20 and SCT [n + 7] = 120 for the (m + 1) th transmission packet 8-2, and uses this difference value = 100 as a media packet. MCT = 20200 is calculated as the virtual MCT value 24b by adding to the MCT value = 20100 of 10-1, and the reception time counter value RCT [m + 1] = 20225 at this time is fetched from the time counter generation unit 6.
In the m + 2nd transmission packet 8-2, a difference value between SCT [n + 1] = 20 and SCT [n + 111] = 180 is obtained, and this difference value = 160 is added to the MCT value = 20100 of the media packet 10-1. MCT = 20260 is calculated as the virtual MCT value 24b, and the reception time counter value RCT [m + 2] = 20255 at this time is fetched from the time counter generation unit 6.
Thereafter, the time counter value extraction unit 9 repeats the same operation until a new media time counter value (MCT value) is extracted from the media packet.

なお、送信時刻カウンタ値(SCT値)、受信時刻カウンタ値(RCT値)、メディア時刻カウンタ値(MCT値)は、メディアヘッダ情報10a中のパラメータ又は回路内部のカウンタ器で保持される数値であり、有限な値で“0”へ折り返して引き続きカウントされる性質のものである。このような場合においても、必要な折り返しを考慮して数値演算が実施され、連続的に変化しているものとして扱って説明する。   The transmission time counter value (SCT value), the reception time counter value (RCT value), and the media time counter value (MCT value) are numerical values held in parameters in the media header information 10a or a counter in the circuit. , It has a property of returning to “0” with a finite value and continuing counting. Even in such a case, the numerical calculation is performed in consideration of the necessary aliasing, and it will be described as being continuously changed.

図7は、時刻カウンタ値抽出部による仮想MCT値の算出処理の流れを示すフローチャートである。この図7に沿って図3に示した構成を参照しながら、時刻カウンタ値抽出部9の動作の詳細を述べる。ここでは、図5で示したようなm番目の伝送パケット8を処理対象とする。   FIG. 7 is a flowchart showing the flow of the virtual MCT value calculation process by the time counter value extraction unit. Details of the operation of the time counter value extraction unit 9 will be described with reference to the configuration shown in FIG. 3 along FIG. Here, the m-th transmission packet 8 as shown in FIG.

RCT値取込部25は、伝送パケット受信部7で受信された伝送パケット8を入力すると、この時点でのリアルタイム時刻カウンタ値を時刻カウンタ生成部6から取り込んで、受信時刻カウンタ値RCTmとして、リアルタイム時刻カウンタ値を順次格納するためのRCT用メモリ(図3において不図示)に保持(格納)する(ステップST1)。
この後、RCT値取込部25は、伝送パケット8をメディアパケット抽出部26へ出力するとともに、前記メモリに保持した受信時刻カウンタ値RCTm(受信時刻カウンタ値14)をMCT値・RCT値出力部30へ出力する。
When the transmission packet 8 received by the transmission packet receiving unit 7 is input, the RCT value fetching unit 25 fetches the real-time time counter value at this time from the time counter generating unit 6 and uses the real-time time counter value RCTm as the real-time time counter value RCTm. It is held (stored) in an RCT memory (not shown in FIG. 3) for sequentially storing time counter values (step ST1).
Thereafter, the RCT value fetching unit 25 outputs the transmission packet 8 to the media packet extracting unit 26, and also receives the reception time counter value RCTm (reception time counter value 14) held in the memory as an MCT value / RCT value output unit. Output to 30.

メディアパケット抽出部26は、RCT値取込部25を介して入力した伝送パケット8に処理対象となり得るメディアパケット10(未検査メディアパケット10)が存在しているか否かを確認する(ステップST2)。ここで、伝送パケット8に処理対象となり得る未検査のメディアパケット10が存在しなければ(ステップST2;無し)、メディアパケット抽出部26は、メディアパケット抽出完了通知26aをMCT値・RCT値出力部30へ出力して当該伝送パケット8について時刻カウンタ値の算出対象から除外し、処理を終了する。この後、メディアパケット抽出部26は、RCT値取込部25から続いて入力した伝送パケット8の処理へ移行する。   The media packet extraction unit 26 checks whether there is a media packet 10 (uninspected media packet 10) that can be processed in the transmission packet 8 input via the RCT value acquisition unit 25 (step ST2). . If there is no unexamined media packet 10 that can be processed in the transmission packet 8 (step ST2; none), the media packet extraction unit 26 sends a media packet extraction completion notification 26a to the MCT value / RCT value output unit. Then, the transmission packet 8 is excluded from the calculation target of the time counter value, and the process ends. Thereafter, the media packet extraction unit 26 proceeds to processing of the transmission packet 8 subsequently input from the RCT value acquisition unit 25.

伝送パケット8に処理対象となり得る未検査のメディアパケット10が存在する場合(ステップST2;有り)、メディアパケット抽出部26は、当該伝送パケット8から当該メディアパケット10を抽出し、このメディアパケット10のメディアヘッダ情報10aから各時刻カウンタ値を含むメディアヘッダ情報部分を抽出して、メディアパケット時刻情報24としてSCT値抽出部27へ出力する。なお、上述したメディアヘッダ情報部分は、メディアパケット10全体であっても構わない。   When there is an unexamined media packet 10 that can be processed in the transmission packet 8 (step ST2; present), the media packet extraction unit 26 extracts the media packet 10 from the transmission packet 8, and the media packet 10 A media header information part including each time counter value is extracted from the media header information 10 a and output to the SCT value extraction unit 27 as media packet time information 24. The media header information portion described above may be the entire media packet 10.

SCT値抽出部27は、メディアパケット抽出部26で得られたメディアパケット時刻情報24から送信時刻カウンタ値SCTnを抽出し、送信時刻カウンタ値を順次格納するためのSCT用メモリ(図3において不図示)に格納する(ステップST3)。
この後、SCT値抽出部27は、メディアパケット時刻情報24から抽出したSCTnを、処理対象のメディアパケット10に対する送信時刻カウンタ値(SCT値)24aとして仮想MCT値算出部29へ出力する。
さらに、SCT値抽出部27は、メディアパケット時刻情報24から処理対象のSCT値(SCTn)24aを取り除いた、メディア時刻カウンタ値(MCT値)を含む可能性があるメディアヘッダ情報部分と、処理対象のSCT値(SCTn)24aを含むメディア時刻カウント情報24cを生成して、MCT値抽出・SCT値保持部28へ出力する。
なお、上述したメディアヘッダ情報部分は、メディアパケット10全体あるいはメディアパケット時刻情報24全体であっても構わない。
The SCT value extraction unit 27 extracts the transmission time counter value SCTn from the media packet time information 24 obtained by the media packet extraction unit 26, and sequentially stores the transmission time counter value (not shown in FIG. 3). (Step ST3).
Thereafter, the SCT value extraction unit 27 outputs the SCTn extracted from the media packet time information 24 to the virtual MCT value calculation unit 29 as a transmission time counter value (SCT value) 24a for the media packet 10 to be processed.
Furthermore, the SCT value extraction unit 27 removes the processing target SCT value (SCTn) 24a from the media packet time information 24, and includes a media header information portion that may include a media time counter value (MCT value), and a processing target. The media time count information 24c including the SCT value (SCTn) 24a is generated and output to the MCT value extraction / SCT value holding unit 28.
The media header information portion described above may be the entire media packet 10 or the entire media packet time information 24.

MCT値抽出・SCT値保持部28は、SCT値抽出部27からメディア時刻カウント情報24cを入力すると、このメディア時刻カウント情報24cにメディア時刻カウンタ値(MCT値)24bが格納されているか否かを確認する(ステップST4)。
ここで、メディア時刻カウンタ値(MCT値)24bが格納されていれば(ステップST4;有り)、MCT値抽出・SCT値保持部28は、当該MCT値を、処理対象の伝送パケット8で最も新しいメディア時刻カウンタ値MCToとして保持する(ステップST5)。
When the media time count information 24c is input from the SCT value extraction unit 27, the MCT value extraction / SCT value holding unit 28 determines whether the media time counter value (MCT value) 24b is stored in the media time count information 24c. Confirm (step ST4).
If the media time counter value (MCT value) 24b is stored (step ST4; present), the MCT value extraction / SCT value holding unit 28 sets the MCT value to be the newest in the transmission packet 8 to be processed. The media time counter value MCTo is held (step ST5).

次に、MCT値抽出・SCT値保持部28は、当該MCT値を有するメディアパケット10の送信時刻カウンタ値SCTnで、処理対象の伝送パケット(m番目の伝送パケット)8に対する送信時刻カウンタ値SCTmを更新し、SCTm(処理対象の伝送パケット8の送信時刻カウンタ値24a)と、MCTo(処理対象の伝送パケット8で最も新しいメディア時刻カウンタ値24b)とを含む仮想MCT値算出情報28aを生成して、仮想MCT値算出部29へ出力する(ステップST6)。   Next, the MCT value extraction / SCT value holding unit 28 sets the transmission time counter value SCTm for the transmission packet (m-th transmission packet) 8 to be processed with the transmission time counter value SCTn of the media packet 10 having the MCT value. Updated to generate virtual MCT value calculation information 28a including SCTm (transmission time counter value 24a of transmission packet 8 to be processed) and MCTo (newest media time counter value 24b of transmission packet 8 to be processed) And output to the virtual MCT value calculation unit 29 (step ST6).

一方、メディア時刻カウント情報24cにメディア時刻カウンタ値(MCT値)24bが格納されていなければ(ステップST4;無し)、MCT値抽出・SCT値保持部28は、既存のSCTmと既存のMCToを含む仮想MCT値算出情報28aを生成して、仮想MCT値算出部29へ出力する。   On the other hand, if the media time counter value (MCT value) 24b is not stored in the media time count information 24c (step ST4; none), the MCT value extraction / SCT value holding unit 28 includes the existing SCTm and the existing MCTo. Virtual MCT value calculation information 28 a is generated and output to the virtual MCT value calculation unit 29.

仮想MCT値算出部29は、処理対象の伝送パケット8(m番目の伝送パケット8)で現在処理対象になっているメディアパケット10に対する送信時刻カウンタ値SCTnをRCT値取込部25から順次入力して、このSCTnと、仮想MCT値算出情報28aに含まれる各時刻カウンタ値を用いて、下記式(1)に従う演算を施すことで、仮想MCT値MCTm(仮想MCT値24d)を算出する(ステップST7)。また、MCTmは、仮想MCT値算出部29からMCT値・RCT値出力部30へ出力される。
MCTm=SCTn−SCTm+MCTo ・・・(1)
The virtual MCT value calculation unit 29 sequentially inputs the transmission time counter value SCTn for the media packet 10 currently being processed in the transmission packet 8 to be processed (m-th transmission packet 8) from the RCT value acquisition unit 25. The virtual MCT value MCTm (virtual MCT value 24d) is calculated by performing an operation according to the following equation (1) using this SCTn and each time counter value included in the virtual MCT value calculation information 28a (step S1). ST7). The MCTm is output from the virtual MCT value calculation unit 29 to the MCT value / RCT value output unit 30.
MCTm = SCTn−SCTm + MCTo (1)

この後、MCT値・RCT値出力部30は、メディアパケット抽出部26からメディアパケット抽出完了通知26aを受信したか否かに応じて、現在処理対象のメディアパケット10が、処理対象の伝送パケット8(m番目の伝送パケット8)の最終のメディアパケット10であるか否かを判定する(ステップST8)。   Thereafter, the MCT value / RCT value output unit 30 determines that the media packet 10 currently being processed is the transmission packet 8 to be processed depending on whether or not the media packet extraction completion notification 26a is received from the media packet extraction unit 26. It is determined whether or not it is the last media packet 10 of (mth transmission packet 8) (step ST8).

メディアパケット抽出完了通知26aを受信して、現在処理対象のメディアパケット10が最終のメディアパケット10であって、現在処理対象の伝送パケット8にメディアパケット10が残っていないと判定した場合(ステップST8;残無し)、MCT値・SCT値出力部30は、最後に算出されたMCTmとこのメディアパケット10に対するRCTmとが、m番目の伝送パケットに含まれる最も新しいメディアパケット10に対する仮想MCT値24b及び送信時刻カウンタ値24aであると判断し、MCTmとRCTmとを含む伝送パケット時刻情報15を生成して、MCT値・RCT値蓄積部16に出力する(ステップST9)。このMCTmとRCTmの組み合わせが、図6で黒丸記号で示したメディアパケット10に対する時刻カウンタ値に相当する。   When the media packet extraction completion notification 26a is received and it is determined that the media packet 10 currently being processed is the last media packet 10 and no media packet 10 remains in the currently processed transmission packet 8 (step ST8). MCT value / SCT value output unit 30 includes a virtual MCT value 24b for the latest media packet 10 in which the MCTm calculated last and the RCTm for this media packet 10 are included in the mth transmission packet, and The transmission time counter value 24a is determined, and transmission packet time information 15 including MCTm and RCTm is generated and output to the MCT value / RCT value storage unit 16 (step ST9). This combination of MCTm and RCTm corresponds to a time counter value for the media packet 10 indicated by a black circle symbol in FIG.

また、MCT値・SCT値出力部30は、メディアパケット抽出部26から、メディアパケット抽出完了通知26aを受信しなければ、現在処理対象のメディアパケット10が最終のメディアパケット10でなく、現在処理対象の伝送パケット8にメディアパケット10が残っていると判定して(ステップST8;残有り)、伝送パケット時刻情報15を出力しない。これにより、現在処理対象の伝送パケット8のメディアパケット10が全て処理されるまで、ステップST3からステップST7までの処理が繰り返される。   If the media packet extraction completion notification 26a is not received from the media packet extraction unit 26, the MCT value / SCT value output unit 30 determines that the current processing target media packet 10 is not the final media packet 10 but the current processing target. It is determined that the media packet 10 remains in the transmission packet 8 (step ST8; remaining), and the transmission packet time information 15 is not output. Thereby, the process from step ST3 to step ST7 is repeated until all the media packets 10 of the transmission packet 8 currently processed are processed.

なお、現在処理対象の伝送パケット8における、最後のメディアパケット10から抽出されたメディア時刻カウンタ値MCToと当該メディアパケット10の送信時刻カウンタ値SCTmは、MCT値抽出・SCT値保持部28によって保持され、次のm+1番目の伝送パケット8における各時刻カウンタ値の算出処理に引き継がれる。   Note that the media time counter value MCTo extracted from the last media packet 10 and the transmission time counter value SCTm of the media packet 10 in the currently processed transmission packet 8 are held by the MCT value extraction / SCT value holding unit 28. Then, the calculation processing of each time counter value in the next m + 1-th transmission packet 8 is taken over.

図8は、この発明で扱う時刻カウンタ値抽出部9が算出した時刻カウンタ値の一例を示す図であり、図5に示す各時刻カウンタ値で仮想MCT値及びRCT値を算出した結果を示している。上述した図7の一連の処理で伝送パケット8に対するMCT値及びRCT値を決定して生成された伝送パケット時刻情報15がMCT・RCT値集積部16に順次保持される。これにより、MCT・RCT値集積部16には、図8に示すように、伝送パケット8ごとにMCT値及びRCT値の組み合わせが蓄積される。
図8に示すMCT値とRCT値の組み合わせは、図6で黒丸記号で示したメディアパケット10に対する時刻カウンタ値に相当し、メディア時刻カウンタ値と受信時刻カウンタ値との関係を、比例関係にすることができる。この相関から、メディア送信装置1とメディア受信装置3との間における送受信間動作周波数差を算出することができる。
FIG. 8 is a diagram showing an example of the time counter value calculated by the time counter value extraction unit 9 handled in the present invention, and shows the result of calculating the virtual MCT value and the RCT value with each time counter value shown in FIG. Yes. The transmission packet time information 15 generated by determining the MCT value and the RCT value for the transmission packet 8 by the series of processes shown in FIG. 7 is sequentially held in the MCT / RCT value accumulation unit 16. As a result, the MCT / RCT value accumulation unit 16 accumulates the combination of the MCT value and the RCT value for each transmission packet 8, as shown in FIG.
The combination of the MCT value and the RCT value shown in FIG. 8 corresponds to the time counter value for the media packet 10 indicated by the black circle symbol in FIG. 6, and the relationship between the media time counter value and the reception time counter value is proportional. be able to. From this correlation, an operating frequency difference between transmission and reception between the media transmission device 1 and the media reception device 3 can be calculated.

一方、時刻カウンタ値抽出部9で伝送パケット8から抽出されたメディアパケット10は、メディアパケット送信部11のバッファに一時的に保存される。
メディアパケット送信部11は、バッファに一時保存しているメディアパケット10の送信時刻カウンタ値(SCT値)24aが、時刻カウンタ生成部6で生成されたリアルタイム時刻カウンタ値14と一致するか、この値を超えたとき、このメディアパケット10を上記バッファから取り出して、復号対象のメディアパケット12としてメディア分離・復号部13へ転送する。これにより、メディア送信装置1が当該メディアパケットを生成した時間間隔を再現することができる。
On the other hand, the media packet 10 extracted from the transmission packet 8 by the time counter value extraction unit 9 is temporarily stored in the buffer of the media packet transmission unit 11.
The media packet transmission unit 11 determines whether or not the transmission time counter value (SCT value) 24a of the media packet 10 temporarily stored in the buffer matches the real-time time counter value 14 generated by the time counter generation unit 6. Is exceeded, the media packet 10 is taken out of the buffer and transferred to the media separation / decoding unit 13 as a media packet 12 to be decoded. Thereby, the time interval which the media transmission apparatus 1 produced | generated the said media packet is reproducible.

メディア分離・復号部13では、所定の多重方式及び符号化方式に基づいて、復号対象メディアパケット12から符号化メディア情報をメディア分離及び復号処理を実施して、映像メディア信号や音声メディア信号を再現し、映像表示装置4や音声再生装置5に出力される。   The media separation / decoding unit 13 reproduces a video media signal and an audio media signal by performing media separation and decoding processing on the encoded media information from the decoding target media packet 12 based on a predetermined multiplexing method and encoding method. Then, it is output to the video display device 4 and the audio reproduction device 5.

このとき、ピークパケット選択部18が、MCT・RCT値集積部16に蓄積される、MCT値とRCT値との組み合わせのうちから、復号対象のメディアパケット12を含む伝送パケット8及びその次の伝送パケット8にそれぞれ対応する組み合わせを選択して、選択対象伝送パケット時刻情報17として読み出し、この選択対象伝送パケット時刻情報17から抽出したMCT値とRCT値との組み合わせを、演算対象伝送パケット時刻情報19として送受信間動作周波数差算出部20へ出力する。   At this time, the peak packet selection unit 18 transmits the transmission packet 8 including the media packet 12 to be decoded from the combination of the MCT value and the RCT value accumulated in the MCT / RCT value accumulation unit 16 and the next transmission. A combination corresponding to each of the packets 8 is selected and read out as selection target transmission packet time information 17, and a combination of the MCT value and the RCT value extracted from the selection target transmission packet time information 17 is used as the calculation target transmission packet time information 19. Is output to the operating frequency difference calculation unit 20 between transmission and reception.

送受信間動作周波数差算出部20は、演算対象伝送パケット時刻情報19から抽出したMCT値とRCT値の組み合わせを用いて、下記式(2)におけるそれぞれの数値の変化量の差分を求め、これを周波数に換算して送受信動作周波数差21を算出する。
各時刻カウンタ値の時間変化量=((MCT[m+1]−MCT[m])−(RCT[m+1]−RCT[m]))/(RCT[m+1]−RCT[m]) ・・・(2)
The operating frequency difference calculation unit 20 between transmission and reception obtains the difference between the numerical value changes in the following equation (2) using the combination of the MCT value and the RCT value extracted from the computation target transmission packet time information 19, and obtains this difference. The transmission / reception operating frequency difference 21 is calculated in terms of frequency.
Time variation of each time counter value = ((MCT [m + 1] −MCT [m]) − (RCT [m + 1] −RCT [m])) / (RCT [m + 1] −RCT [m]) ( 2)

MPEG−2 Systems規格によれば、各時刻カウンタ値は、27MHz精度の数値として得られるので、上記式(2)の計算結果に“27000000”を乗じれば、周波数となる。実際の動作周波数差の算出においては、時間平均や自乗誤差法等の演算手法を適用すれば、より精度が高く算出できる。   According to the MPEG-2 Systems standard, each time counter value is obtained as a numerical value with a precision of 27 MHz. Therefore, if the calculation result of the above equation (2) is multiplied by “27000000”, it becomes a frequency. In calculating the actual operating frequency difference, it is possible to calculate with higher accuracy by applying a calculation method such as a time average or a square error method.

動作周波数制御部22は、送受信間動作周波数差算出部20にて算出された送受信動作周波数差21に基づいて、時刻カウンタ生成部6で生成される基準クロック信号がメディア送信装置1の動作周波数に一致するように補正する。
これにより、メディア受信装置3において、メディア送信装置1の動作周波数に同期した動作が実現され、スムーズな伝送パケットの送受信及び符号化メディア情報の符号化・復号を実行することができる。
Based on the transmission / reception operation frequency difference 21 calculated by the transmission / reception operation frequency difference calculation unit 20, the operation frequency control unit 22 sets the reference clock signal generated by the time counter generation unit 6 to the operation frequency of the media transmission device 1. Correct to match.
Thereby, in the media receiver 3, the operation | movement synchronized with the operating frequency of the media transmitter 1 is implement | achieved, and transmission / reception of a transmission packet and encoding / decoding of encoded media information can be performed smoothly.

なお、送受信間動作周波数差21を簡易に扱うため、送受信間動作周波数差算出部20が算出した送受信間動作周波数差21をそのまま適用するのではなく、例えば負の周波数差であれば“−1”、正の周波数差であれば“+1”としてもよい。
また、周波数差の大きさによって、周波数差を“+1”又は“−1”ではなく、係数を掛けて数値の大きさを変化させてもよい。
In order to easily handle the operating frequency difference 21 between transmission and reception, the operating frequency difference 21 between transmission and reception calculated by the operating frequency difference calculation unit 20 between transmission and reception is not applied as it is. “, Or“ +1 ”if the frequency difference is positive.
Also, the magnitude of the numerical value may be changed by multiplying the frequency difference by a coefficient instead of “+1” or “−1” depending on the magnitude of the frequency difference.

さらに、送受信間動作周波数差算出部20が算出した送受信間動作周波数差21をそのまま適用すると、時刻カウンタ生成部6の基準クロック信号が大きく変化し、その結果、リアルタイム時刻カウンタ値の遷移が安定せず、制御が破綻する可能性がある。
これを回避するため、動作周波数制御部22が、送受信間動作周波数差<補正限界値となるように制御してもよい。例えば、MPEG−2 Systems規格によれば、時間変化率は0.075Hz/1秒という規定があり、その範囲での変動となるように送受信間動作周波数差21を抑制する。
なお、上述までの説明は、送信側動作周波数が高く、受信側動作周波数が低い場合には正の動作周波数差があると算出し、逆に送信側動作周波数が低く、受信側動作周波数が高い場合には、負の動作周波数差があると算出するものとして扱って記述している。
Furthermore, when the transmission / reception operating frequency difference 21 calculated by the transmission / reception operating frequency difference calculation unit 20 is applied as it is, the reference clock signal of the time counter generation unit 6 changes greatly, and as a result, the transition of the real-time time counter value becomes stable. Therefore, the control may fail.
In order to avoid this, the operating frequency control unit 22 may perform control so that the operating frequency difference between transmission and reception is smaller than the correction limit value. For example, according to the MPEG-2 Systems standard, the time change rate is defined as 0.075 Hz / 1 second, and the operating frequency difference 21 between transmission and reception is suppressed so as to vary within that range.
In the above description, when the transmitting side operating frequency is high and the receiving side operating frequency is low, it is calculated that there is a positive operating frequency difference, and conversely, the transmitting side operating frequency is low and the receiving side operating frequency is high. In this case, it is described that it is calculated that there is a negative operating frequency difference.

以上のように、この実施の形態1によれば、時刻カウンタ値抽出部9が、MCT値と、当該MCT値が付与されたメディアパケット10から抽出したSCT値とを保持し、伝送パケット8に格納される複数のメディアパケット10のうち、最も新しく生成されたメディアパケット10のSCT値と、MCT値が付与されたメディアパケット10から抽出したSCT値との差分値を当該MCT値に加算した値を、当該伝送パケット8に対する仮想的なMCT値として算出し、送受信間動作周波数差算出部20が、時刻カウンタ値抽出部9により得られた仮想的なMCT値と当該伝送パケット8のRCT値との各値の時間遷移量を周波数差に換算して、送受信間動作周波数差21を算出する。
このように構成することで、伝送効率を高めるために複数のメディアパケット10を1つの伝送パケット8に格納して伝送し、メディアパケット10の送信間隔やTSレートが一定でない場合であっても、送受信間動作周波数差21の算出に使用するパケットを適切に選択することができ、メディア送信装置1でメディアパケット10を生成し出力した時間間隔と同等の時刻遷移を抽出することが可能である。これにより、IPネットワークを介したパケット伝送であっても高い精度で送受信間動作周波数を同期化し、受信品質のよいメディア受信装置を実現できる。
As described above, according to the first embodiment, the time counter value extraction unit 9 holds the MCT value and the SCT value extracted from the media packet 10 to which the MCT value is assigned, and stores it in the transmission packet 8. A value obtained by adding a difference value between the SCT value of the media packet 10 generated most recently and the SCT value extracted from the media packet 10 to which the MCT value is added to the MCT value among the plurality of stored media packets 10 As a virtual MCT value for the transmission packet 8, and the transmission / reception operating frequency difference calculation unit 20 calculates the virtual MCT value obtained by the time counter value extraction unit 9 and the RCT value of the transmission packet 8. The time transition amount of each value is converted into a frequency difference to calculate an operating frequency difference 21 between transmission and reception.
By configuring in this way, a plurality of media packets 10 are stored and transmitted in one transmission packet 8 in order to increase transmission efficiency, and even if the transmission interval and TS rate of the media packets 10 are not constant, It is possible to appropriately select a packet to be used for calculating the operating frequency difference 21 between transmission and reception, and it is possible to extract a time transition equivalent to the time interval at which the media transmission device 1 generates and outputs the media packet 10. As a result, even in the case of packet transmission via an IP network, it is possible to synchronize the operating frequency between transmission and reception with high accuracy and to realize a media reception device with good reception quality.

実施の形態2.
この実施の形態2によるメディア受信装置の構成は、上記実施の形態1で図1を用いて述べた構成と基本的に同様であるが、ピークパケット選択部による演算対象伝送パケット時刻情報の生成処理が上記実施の形態1と異なる。従って、以降の説明において、ピークパケット選択部を除く、実施の形態2のメディア受信装置の構成については、図1を参照する。
Embodiment 2. FIG.
The configuration of the media receiver according to the second embodiment is basically the same as the configuration described with reference to FIG. 1 in the first embodiment, but the generation processing of the transmission packet time information to be calculated by the peak packet selection unit Is different from the first embodiment. Therefore, in the following description, refer to FIG. 1 for the configuration of the media receiving apparatus according to the second embodiment excluding the peak packet selection unit.

図9は、この発明の実施の形態2によるメディア受信装置のピークパケット選択部の構成を示すブロック図である。図9において、ピークパケット選択部(選択部)18は、RCT値差分算出部31、RCT値差分平均値算出部32及びRCT値差分閾値比較部33を備える。RCT値差分算出部31は、MCT・RCT値集積部16から選択対象伝送パケット時刻情報17を取り出し、選択対象伝送パケット時刻情報17に含まれるRCT値のうち、時間的に隣接する伝送パケット8に対応するRCT値の差分値31aを算出する構成部である。RCT値差分平均値算出部32は、RCT値差分算出部31で得られたRCT値の差分値31aを用いて、差分値31aのN個分(Nは任意に決定された値)の平均値又は所定の時間内で平均値を算出する構成部であり、算出した平均値はRCT値閾値32aとして出力される。RCT値差分閾値比較部33は、RCT値差分平均値算出部32で取得されたRCT値閾値32aに基づいて、演算対象伝送パケット時刻情報19としてMCT・RCT値集積部16から読み出すべきMCT値とRCT値の組み合わせを選択する構成部である。   FIG. 9 is a block diagram showing the configuration of the peak packet selector of the media receiver according to Embodiment 2 of the present invention. In FIG. 9, the peak packet selection unit (selection unit) 18 includes an RCT value difference calculation unit 31, an RCT value difference average value calculation unit 32, and an RCT value difference threshold comparison unit 33. The RCT value difference calculation unit 31 extracts the selection target transmission packet time information 17 from the MCT / RCT value accumulation unit 16, and among the RCT values included in the selection target transmission packet time information 17, the transmission packet 8 that is temporally adjacent is extracted. It is a component which calculates the difference value 31a of a corresponding RCT value. The RCT value difference average value calculation unit 32 uses the RCT value difference value 31a obtained by the RCT value difference calculation unit 31, and uses the difference value 31a for N average values (N is an arbitrarily determined value). Or it is a structure part which calculates an average value within predetermined time, and the calculated average value is output as the RCT value threshold value 32a. Based on the RCT value threshold value 32a acquired by the RCT value difference average value calculation unit 32, the RCT value difference threshold value comparison unit 33 and the MCT value to be read from the MCT / RCT value accumulation unit 16 as the calculation target transmission packet time information 19 It is a component for selecting a combination of RCT values.

次に動作について説明する。
図10は、ネットワークパケット2における分離対象となる伝送パケットとその他の伝送パケットとの関係の一例を示す図である。図10に示すように、ネットワークパケット2は、映像や音声等の符号化メディア情報を含む分離対象となる伝送パケット8と、これらの情報を含まず分離対象にならない伝送パケット8とが混在して伝送される。
また、メディア受信装置3での伝送パケット8の受信間隔は、本来、分離対象となる伝送パケット8の送信間隔に同期すべきものであるが、実際には、分離対象にならない伝送パケット8の分だけ、伝送パケット8の受信間隔に偏りが発生する。
Next, the operation will be described.
FIG. 10 is a diagram illustrating an example of a relationship between a transmission packet to be separated in the network packet 2 and other transmission packets. As shown in FIG. 10, the network packet 2 includes a transmission packet 8 to be separated including encoded media information such as video and audio, and a transmission packet 8 that does not include such information and is not to be separated. Is transmitted.
In addition, the reception interval of the transmission packet 8 in the media receiver 3 should be synchronized with the transmission interval of the transmission packet 8 that is to be separated, but in reality, only the transmission packet 8 that is not to be separated. The reception interval of the transmission packet 8 is biased.

図11は、受信時刻カウンタ値とメディア時刻カウンタ値との関係の一例を示す図であり、分離対象となる伝送パケット8に対して抽出された受信時刻カウンタ値(RCT値)とメディア時刻カウンタ値(MCT値)との関係を模式的に表したものである。分離対象とならないその他の伝送パケット8が混在していると、分離対象となる伝送パケット8の受信間隔が偏るだけでなく、混在している分だけ、局所的に受信間隔が詰まって受信時刻カウンタ値(RCT値)とメディア時刻カウンタ値(MCT値)との関係が変化してしまう。その結果、図11において実線で示す局所的な期間では、見かけの送受信間の動作周波数差が拡大して検知される。   FIG. 11 is a diagram showing an example of the relationship between the reception time counter value and the media time counter value. The reception time counter value (RCT value) and the media time counter value extracted for the transmission packet 8 to be separated. This schematically shows the relationship with (MCT value). When other transmission packets 8 that are not to be separated are mixed, not only the reception intervals of the transmission packets 8 to be separated are biased, but also the reception intervals are clogged locally by the amount of the mixture. The relationship between the value (RCT value) and the media time counter value (MCT value) changes. As a result, in the local period indicated by the solid line in FIG. 11, the difference in operating frequency between apparent transmission and reception is detected in an enlarged manner.

また、図12は、図11の受信時刻カウンタ値とメディア時刻カウンタ値との関係における、受信時刻カウンタ値と隣接する受信時刻カウンタ値の差分値との関係の一例を示す図である。図11のRCT値とMCT値の関係において、時間的に隣接する伝送パケット8間のRCT値の差分を算出すると、図12で示すように、差分に関する閾値を境として2つのグループに分かれる。
つまり、分離対象となる伝送パケット8が連続するとRCT値間の差分が小さく、分離対象とならない伝送パケット8が存在した部分では、RCT値間の差分が大きくなる。
そこで、グループ分けしたピークとなる黒丸記号で示した伝送パケット(図11においても同様に黒丸記号で示した伝送パケットに相当)に着目して選択することで、図11に示すようにRCT値とMCT値が比例関係になる。このような伝送パケット8のMCT値とRCT値との組み合わせを選択することで、精度の高い動作周波数差が演算できる。
FIG. 12 is a diagram illustrating an example of a relationship between a reception time counter value and a difference value between adjacent reception time counter values in the relationship between the reception time counter value and the media time counter value in FIG. In the relationship between the RCT value and the MCT value in FIG. 11, when the difference in RCT value between temporally adjacent transmission packets 8 is calculated, as shown in FIG. 12, the difference-related threshold value is divided into two groups.
That is, when the transmission packets 8 to be separated continue, the difference between the RCT values is small, and the difference between the RCT values is large in the portion where the transmission packet 8 that is not to be separated exists.
Therefore, by selecting and paying attention to the transmission packet indicated by the black circle symbol that is the peak divided into groups (corresponding to the transmission packet similarly indicated by the black circle symbol in FIG. 11), the RCT value as shown in FIG. The MCT value is proportional. By selecting such a combination of the MCT value and the RCT value of the transmission packet 8, a highly accurate operating frequency difference can be calculated.

上記実施の形態1で述べたように、伝送パケット8から抽出したメディア時刻カウンタ値(MCT値)と受信時刻カウンタ値(RCT値)との組み合わせは、MCT・RCT値集積部16で逐次蓄積されている。ピークパケット選択部18は、このMCT・RCT値集積部16から選択対象伝送パケット17を取り出す。
このとき、RCT値差分算出部31が、時間的に隣接する受信時刻カウンタ値(RCT値)の差分、つまりm番目の伝送パケット8のRCT値をRCT[m]とし、m+1番目の伝送パケット8のRCT値をRCT[m+1]としたとき、RCT[m+1]−RCT[m]を算出し、その結果である差分値△RCT[m]を、RCT値差分値31aとして出力する。
As described in the first embodiment, the combination of the media time counter value (MCT value) and the reception time counter value (RCT value) extracted from the transmission packet 8 is sequentially accumulated in the MCT / RCT value accumulation unit 16. ing. The peak packet selection unit 18 extracts the selection target transmission packet 17 from the MCT / RCT value accumulation unit 16.
At this time, the RCT value difference calculation unit 31 sets the difference between reception time counter values (RCT values) adjacent in time, that is, the RCT value of the mth transmission packet 8 as RCT [m], and sets the m + 1th transmission packet 8. RCT [m + 1] −RCT [m] is calculated, and the resulting difference value ΔRCT [m] is output as the RCT value difference value 31a.

RCT値差分平均値算出部32では、例えば、RCT値差分値31aのN個分(Nは、任意に決定された値)の平均値、あるいは、所定の時間中に得られたRCT値差分値31aの平均値で算出し、この算出結果をRCT値閾値32aとして出力する。
RCT値差分閾値比較部33は、RCT値差分算出部31からRCT値差分値31aを入力し、RCT値差分平均値算出部32からRCT値閾値32aを入力して、両者を比較する。このとき、RCT値差分値31aがRCT値閾値32aを超える場合、RCT値差分閾値比較部33は、当該RCT差分値31aに対応するMCT値とRCT値との組み合わせを含む選択対象伝送パケット時刻情報17を選択して、これを演算対象伝送パケット時刻情報19として出力する。
In the RCT value difference average value calculation unit 32, for example, an average value of N RCT value difference values 31a (N is an arbitrarily determined value) or an RCT value difference value obtained during a predetermined time period. The average value of 31a is calculated, and this calculation result is output as the RCT value threshold value 32a.
The RCT value difference threshold value comparison unit 33 receives the RCT value difference value 31a from the RCT value difference calculation unit 31, receives the RCT value threshold value 32a from the RCT value difference average value calculation unit 32, and compares them. At this time, when the RCT value difference value 31a exceeds the RCT value threshold value 32a, the RCT value difference threshold value comparison unit 33 selects the selection target transmission packet time information including the combination of the MCT value and the RCT value corresponding to the RCT difference value 31a. 17 is selected and output as computation target transmission packet time information 19.

なお、RCT値差分閾値比較部33の動作において、RCT値閾値32aに対して極端に数値が離れたRCT差分値31aを除外するようにしてもよい。
また、RCT値差分閾値32aを下回るRCT値差分値31aを特定して、このRCT差分値31aに対応するMCT値とRCT値との組み合わせを含む演算対象伝送パケット時刻情報19を出力することも可能である。
In the operation of the RCT value difference threshold comparison unit 33, the RCT difference value 31a whose numerical value is extremely different from the RCT value threshold 32a may be excluded.
It is also possible to specify the RCT value difference value 31a that is lower than the RCT value difference threshold value 32a and output the calculation target transmission packet time information 19 including the combination of the MCT value and the RCT value corresponding to the RCT difference value 31a. It is.

このように、実施の形態2によるピークパケット選択部18は、選択対象伝送パケット時刻情報17からRCT値差分閾値32aに基づいて選択した演算対象伝送パケット時刻情報19を出力する。これにより、図11に黒丸記号で示した伝送パケット8に対応する時刻カウンタ値が抽出され、メディア時刻カウンタ値と受信時刻カウンタ値の関係を比例関係にすることができる。これらの相関からメディア送信装置1とメディア受信装置3での送受信間動作周波数差を算出することが容易になる。   As described above, the peak packet selection unit 18 according to the second embodiment outputs the calculation target transmission packet time information 19 selected from the selection target transmission packet time information 17 based on the RCT value difference threshold 32a. Thereby, the time counter value corresponding to the transmission packet 8 indicated by the black circle symbol in FIG. 11 is extracted, and the relationship between the media time counter value and the reception time counter value can be made proportional. From these correlations, it becomes easy to calculate the operating frequency difference between transmission and reception in the media transmission device 1 and the media reception device 3.

以上のように、この実施の形態2によれば、MCT・RCT値集積部16に順次格納されたRCT値のうちから、時間的に連続して受信された各伝送パケット8のRCT値の差分値が所定の閾値を超えるRCT値を検出し、検出されたRCT値とこれに対応する伝送パケット8の仮想的なMCT値を、MCT・RCT値集積部16から選択するピークパケット選択部18を備え、送受信間動作周波数差算出部20が、ピークパケット選択部18によって選択された仮想MCT値と当該伝送パケット8のRCT値との各値の時間遷移量を周波数差に換算して送受信間動作周波数差21を算出する。
このように構成することで、ネットワークパケット2に復号対象となる伝送パケット8と復号対象にならない伝送パケット8が混在することに起因して伝送パケット8の受信間隔に偏りが生じた場合あっても、メディア送信装置1でメディアパケット10を生成し出力した時間間隔と同等の時刻遷移を抽出することが可能である。これにより、IPネットワークを介したパケット伝送であっても高い精度で送受信間動作周波数を同期化し、受信品質のよいメディア受信装置3を実現できる。
As described above, according to the second embodiment, the difference between the RCT values of the transmission packets 8 successively received in time from among the RCT values sequentially stored in the MCT / RCT value accumulation unit 16. A peak packet selection unit 18 that detects an RCT value whose value exceeds a predetermined threshold, and selects the detected RCT value and a virtual MCT value of the transmission packet 8 corresponding to the detected RCT value from the MCT / RCT value accumulation unit 16. An inter-transmission / reception operation frequency difference calculation unit 20 converts the time transition amount of each value between the virtual MCT value selected by the peak packet selection unit 18 and the RCT value of the transmission packet 8 into a frequency difference, and the inter-transmission / transmission operation. The frequency difference 21 is calculated.
With this configuration, even when there is a deviation in the reception interval of the transmission packet 8 due to a mixture of the transmission packet 8 to be decoded and the transmission packet 8 not to be decoded in the network packet 2. It is possible to extract a time transition equivalent to the time interval at which the media transmission device 1 generates and outputs the media packet 10. Thereby, even in the case of packet transmission via the IP network, it is possible to synchronize the operating frequency between transmission and reception with high accuracy and to realize the media reception device 3 with good reception quality.

実施の形態3.
図13は、この発明の実施の形態3によるメディア受信装置の構成及びその周辺装置を示すブロック図である。図13に示すように、実施の形態3によるメディア受信装置3Aでは、上記実施の形態1で図1を用いて説明した構成に対して、バッファ残量検査部34と制御範囲平滑化部35を追加している。バッファ残量検査部34は、メディアパケット送信部11でバッファに一時保存しているメディアパケット10の滞留量を示すバッファ残量値11aの時間的な遷移を検査する構成部である。
また、制御範囲平滑化部35は、バッファ残量検査部34の検査結果を示すバッファ残量検査結果34aと、送受信間動作周波数差算出部20から入力される送受信間動作周波数差21との時間的な遷移に基づいて、送受信間周波数差21の値を調整する構成部である。調整された送受信間動作周波数差は、調整済み送受信間動作周波数差21aとして、動作周波数制御部22へ出力される。
Embodiment 3 FIG.
FIG. 13 is a block diagram showing the configuration of a media receiving device according to Embodiment 3 of the present invention and its peripheral devices. As shown in FIG. 13, in the media receiver 3A according to the third embodiment, a buffer remaining amount inspection unit 34 and a control range smoothing unit 35 are added to the configuration described in the first embodiment with reference to FIG. It has been added. The buffer remaining amount inspection unit 34 is a component that inspects temporal transition of the buffer remaining amount value 11 a indicating the staying amount of the media packet 10 temporarily stored in the buffer by the media packet transmitting unit 11.
Further, the control range smoothing unit 35 is a time between the buffer remaining amount inspection result 34 a indicating the inspection result of the buffer remaining amount inspection unit 34 and the inter-transmission / reception operation frequency difference 21 input from the transmission / reception operation frequency difference calculation unit 20. This is a configuration unit that adjusts the value of the frequency difference 21 between transmission and reception based on a typical transition. The adjusted operating frequency difference between transmission and reception is output to the operating frequency control unit 22 as an adjusted operating frequency difference between transmission and reception 21a.

次に動作について説明する。
以降では、上記実施の形態1,2と重複する動作は説明を省略し、実施の形態3に特有な動作について記述する。
メディアパケット送信部11は、時刻カウンタ値抽出部9によって抽出されたメディアパケット10をバッファに一時的に保存しており、時刻カウンタ生成部6で生成されたリアルタイム時刻カウンタ値14が、一時保存しているメディアパケット10に付与された送信時刻カウンタ値(SCT値)と一致又は超えたとき、当該メディアパケット10を復号対象のメディアパケット12としてメディア分離・復号部13へ出力する。
このとき、メディアパケット送信部11は、バッファに対する、メディアパケット10の取り込みと復号対象のメディアパケット12の取り出しとの差分に相当するバッファ滞留量を、バッファ残量値11aとしてバッファ残量検査部34に出力する。
Next, the operation will be described.
In the following, description of operations that are the same as those in the first and second embodiments will be omitted, and operations unique to the third embodiment will be described.
The media packet transmission unit 11 temporarily stores the media packet 10 extracted by the time counter value extraction unit 9 in a buffer, and the real-time time counter value 14 generated by the time counter generation unit 6 temporarily stores it. When the transmission time counter value (SCT value) assigned to the media packet 10 is matched or exceeded, the media packet 10 is output to the media separation / decoding unit 13 as a media packet 12 to be decoded.
At this time, the media packet transmission unit 11 sets the buffer retention amount corresponding to the difference between the fetch of the media packet 10 and the fetch of the media packet 12 to be decoded as the buffer remaining amount value 11a, and the buffer remaining amount checking unit 34. Output to.

なお、バッファ残量値11aとして、メディアパケット10と復号対象のメディアパケット12とのパケット数差で計測した結果を利用してもよい。つまり、メディアパケット10を取り込む度に、パケット残量値に“+1”を加算し、復号対象のメディアパケット12を取り出す度に、パケット残留量値を“−1”に減算することで、バッファ内に滞留しているメディアパケットの個数を計測することができる。   Note that as the buffer remaining amount value 11a, a result obtained by measuring the difference in the number of packets between the media packet 10 and the media packet 12 to be decoded may be used. That is, every time the media packet 10 is fetched, “+1” is added to the packet remaining amount value, and every time the media packet 12 to be decoded is taken out, the packet residual amount value is subtracted to “−1”. Can be measured.

また、バッファは所謂メモリで構成されるものであるので、バッファ残量値11aとして、バッファ上のメモリに存在している処理待ちとなっているメディアパケットのデータ量で計測した結果を利用してもよい。つまり、メディアパケット10を取り込んで、バッファに順次書き込む度に書込アドレスが更新され、復号対象のメディアパケット12を取り出してバッファから順次読み出す度に読出アドレスが更新されるので、書込アドレスと読出アドレスの差分でバッファに滞留しているメディアパケットの総データ量を計測することができる。   In addition, since the buffer is configured by a so-called memory, the buffer remaining amount value 11a is obtained by using the result measured by the data amount of the media packet waiting for processing existing in the memory on the buffer. Also good. In other words, the write address is updated each time the media packet 10 is fetched and sequentially written to the buffer, and the read address is updated each time the media packet 12 to be decoded is fetched and sequentially read from the buffer. The total data amount of media packets staying in the buffer can be measured based on the address difference.

さらに、メディアパケット送信部11が、メディアパケット10の滞留量がバッファの中間値になるまで、復号対象のメディアパケット12の取り出しを待機し、この待機時間に相当するカウンタ値を、送信時刻カウンタ値とリアルタイム時刻カウンタ値との比較においてオフセット加算して、復号対象のメディアパケット12の取り出しタイミングを調整してもよい。つまり、下記式(3)の関係を満たすとき、メディアパケット送信部11が、バッファから復号対象のメディアパケット12を取り出して、メディア分離・復号部12へ出力する。
(送信時刻カウンタ値+待機時間)≦リアルタイム時刻カウンタ値 ・・・(3)
Further, the media packet transmission unit 11 waits for the media packet 12 to be decoded until the media packet 10 stays at the intermediate value of the buffer, and the counter value corresponding to this waiting time is set as the transmission time counter value. And the real-time time counter value may be offset to adjust the extraction timing of the media packet 12 to be decoded. That is, when the relationship of the following expression (3) is satisfied, the media packet transmission unit 11 extracts the media packet 12 to be decoded from the buffer and outputs it to the media separation / decoding unit 12.
(Transmission time counter value + standby time) ≤ Real-time time counter value (3)

バッファ残量検査部34は、バッファ残量値11aの時間的な遷移を計測することで、メディアパケット送信部11のバッファにおけるメディアパケットの滞留量が増加傾向であるか減少傾向であるのかを判定する。
上述したように、伝送パケット8には、複数のメディアパケット10が一纏めに格納されているので、メディアパケット送信部11には、メディアパケット10がバースト的に取り込まれる。また、メディア送信装置1とメディア受信装置3の間は、復号対象になる伝送パケット8と復号対象にならない伝送パケット8が混在して伝送されるため、復号対象になる伝送パケット8自体の受信間隔も一定にならない。一方、送信時刻カウンタ値(SCT値)は、メディアパケット10に比較的一定の刻みで付与される。
このため、メディアパケット送信部11のバッファ残量値11aは、大きく増減した変化となる。
そこで、バッファ残量検査部34は、メディアパケット送信部11からバッファ残量値11aを随時取り込みつつ、所定の時間間隔でバッファ残量値11aの時間平均を求め、平均的なバッファ残量値を算出する。この平均的なバッファ残量値が、前回算出期間より増加していれば増加傾向にあると判定し、減少していれば減少傾向にあると判定し、前回算出期間との差分が所定の範囲内に収まれば増減無しの定常状態であると判定する。
The buffer remaining amount checking unit 34 determines whether the retention amount of the media packet in the buffer of the media packet transmitting unit 11 is increasing or decreasing by measuring temporal transition of the buffer remaining amount value 11a. To do.
As described above, since a plurality of media packets 10 are stored together in the transmission packet 8, the media packets 10 are captured in bursts by the media packet transmitter 11. Further, since the transmission packet 8 to be decoded and the transmission packet 8 not to be decoded are mixed and transmitted between the media transmission device 1 and the media reception device 3, the reception interval of the transmission packet 8 itself to be decoded is transmitted. Is not constant. On the other hand, the transmission time counter value (SCT value) is given to the media packet 10 in a relatively constant increment.
For this reason, the buffer remaining amount value 11a of the media packet transmission unit 11 changes greatly increased or decreased.
Therefore, the buffer remaining amount checking unit 34 obtains the buffer remaining amount value 11a from the media packet transmitting unit 11 at any time, obtains a time average of the buffer remaining amount value 11a at a predetermined time interval, and obtains an average buffer remaining amount value. calculate. If this average buffer remaining amount value has increased from the previous calculation period, it is determined to be increasing, and if it has decreased, it is determined to be decreasing, and the difference from the previous calculation period is within a predetermined range. If it falls within the range, it is determined that there is no steady increase / decrease.

上記判定結果をバッファ残量検査結果34aとして制御範囲平滑化部35へ出力する。
このとき、送受信間動作周波数差算出部20で算出された送受信間動作周波数差21と演算精度(単位)を一致させるため、バッファ残量検査結果34aは、このバッファ残量検査結果34aを算出した時間平均の期間を基に周波数差に換算して、メディアパケット入出力周波数差として扱う。
なお、バッファ残量検査結果(メディアパケット入出力周波数差)34aを簡易に扱うために、増加傾向であれば、メディアパケット入出力周波数差を“−1”とし、減少傾向であれば、メディアパケット入出力周波数差を“+1”とし、増減無しの定常状態であれば、メディアパケット入出力周波数差を±0としてもよい。
あるいは、時間平均を算出した際の時間平均の変化量の大きさによって、増加傾向を“+1”、減少傾向を“−1”ではなく、メディアパケット入出力周波数差の数値の大きさを変化させてもよい。
The determination result is output to the control range smoothing unit 35 as the buffer remaining amount inspection result 34a.
At this time, in order to make the calculation accuracy (unit) coincide with the operation frequency difference 21 between transmission and reception calculated by the operation frequency difference calculation unit 20 between transmission and reception, the buffer remaining amount inspection result 34a is calculated as the buffer remaining amount inspection result 34a. It is converted into a frequency difference based on the time average period and treated as a media packet input / output frequency difference.
In order to easily handle the buffer remaining amount inspection result (media packet input / output frequency difference) 34a, the media packet input / output frequency difference is set to “−1” if it is increasing, and if it is decreasing, the media packet is determined. The input / output frequency difference may be “+1” and the media packet input / output frequency difference may be ± 0 in a steady state with no increase / decrease.
Alternatively, depending on the amount of change in the time average when the time average is calculated, the increasing tendency is not “+1” and the decreasing tendency is not “−1”, but the numerical value of the media packet input / output frequency difference is changed. May be.

制御範囲平滑化部35では、送受信間動作周波数差21の時間的な遷移から、送受信間動作周波数差を調整する。前回通知された送受信間動作周波数差21の値が一定の傾向にある場合、例えば受信側動作周波数が高い状態であるという結果が継続して得られている場合に、そのまま送受信間動作周波数差21を動作周波数制御部22へ反映し続けると、時刻カウンタ生成部6での動作周波数が累積的に高くなってしまう。
そこで、制御範囲平滑化部35は、送受信間動作周波数差21が前回よりも縮小している場合には、送受信間動作周波数差21を“0”と補正する。送受信間動作周波数差21が前回と同等である場合には、送受信間動作周波数差21を1/2等に抑制した値へ補正する。
The control range smoothing unit 35 adjusts the transmission / reception operating frequency difference from the temporal transition of the transmission / reception operating frequency difference 21. When the value of the operating frequency difference 21 between transmission / reception notified last time tends to be constant, for example, when the result that the reception side operating frequency is high is continuously obtained, the operating frequency difference 21 between transmission / reception remains as it is. Is continuously reflected in the operating frequency control unit 22, the operating frequency in the time counter generating unit 6 is cumulatively increased.
Accordingly, the control range smoothing unit 35 corrects the inter-transmission / reception operating frequency difference 21 to “0” when the inter-transmission / reception operating frequency difference 21 is smaller than the previous time. When the inter-transmission / reception operating frequency difference 21 is equal to the previous time, the inter-transmission / reception operating frequency difference 21 is corrected to a value that is suppressed to ½ or the like.

また、制御範囲平滑化部35が、バッファ残量検査部34にて算出されたバッファ残量検査結果34aを送受信間動作周波数差21へ加味することで、メディアパケット送信部11に一時的に保存されているメディアパケット10の滞留量を調整することもできる。例えば、下記式(4)の関係とする。
送受信間動作周波数差+バッファ残量検査結果→調整済み送受信間動作周波数差
・・・(4)
Further, the control range smoothing unit 35 temporarily saves the media packet transmission unit 11 by adding the buffer remaining amount inspection result 34 a calculated by the buffer remaining amount inspection unit 34 to the operating frequency difference 21 between transmission and reception. It is also possible to adjust the staying amount of the media packet 10 being processed. For example, it is set as the relationship of following formula (4).
Operation frequency difference between transmission and reception + buffer remaining amount inspection result → adjusted operation frequency difference between transmission and reception (4)

制御範囲平滑化部35は、バッファ残量検査結果34aが増加傾向、つまり受信側動作周波数が低い場合に送受信間動作周波数差21を高く補正し、バッファ残量検査結果34aが減少傾向、つまり受信側動作周波数が高い場合には送受信間動作周波数差21を低く補正する。
このとき、送受信間動作周波数差21が、バッファ残量検査結果34aを周波数変換したメディアパケット入出力周波数差よりも大きい場合には、バッファ残量検査結果34aを“0”に無効化し、制御が破綻しないように制御してもよい。
また、送受信間動作周波数差21が、バッファ残量検査結果34aを周波数変換したメディアパケット入出力周波数差以下である場合は、送受信間動作周波数差21に所定の係数を掛けて補正量を増加することで、制御を収束させるようにしてもよい。
The control range smoothing unit 35 corrects the operating frequency difference 21 between transmission and reception to be higher when the buffer remaining amount inspection result 34a is increasing, that is, when the receiving side operating frequency is low, and the buffer remaining amount inspection result 34a is decreasing, that is, receiving. When the side operating frequency is high, the operating frequency difference 21 between transmission and reception is corrected to be low.
At this time, if the operating frequency difference 21 between transmission and reception is larger than the media packet input / output frequency difference obtained by frequency conversion of the buffer remaining amount inspection result 34a, the buffer remaining amount inspection result 34a is invalidated to “0”, and control is performed. You may control so that it may not fail.
When the inter-transmission / reception operating frequency difference 21 is equal to or smaller than the media packet input / output frequency difference obtained by frequency conversion of the buffer remaining amount inspection result 34a, the correction amount is increased by multiplying the inter-transmission / reception operating frequency difference 21 by a predetermined coefficient. Thus, the control may be converged.

以上のように、この実施の形態3によれば、メディアパケット送信部11から、バッファに格納されたメディアパケット数又は処理待ちのメディアパケットのデータ量を定期的に取り込んで、メディアパケット数又はデータ量の時間変化量から、バッファへのメディアパケットの書き込み頻度と、バッファからのメディアパケットの読み出し頻度との差で規定されるメディアパケット入出力レート差を周波数差に換算したメディアパケット入出力周波数差をバッファ残量検査結果34aとして算出するバッファ残量検査部34と、送受信間動作周波数差算出部20により算出された送受信間動作周波数差21にメディアパケット入出力周波数差を加算した値を、調整済みの送受信間動作周波数差21aとして出力する制御範囲平滑化部35とを備え、動作周波数制御部22が、調整済みの送受信間動作周波数差21aに基づいて、メディア送信装置1の動作周波数と一致するように、時刻カウンタ生成部6による動作周波数の生成を補正する。
このように、送受信間動作周波数差21とバッファ残量値11aとの時間的な遷移を考慮することで、時刻カウンタ生成部6の基準クロックとなる水晶発振子等のデバイスが、動作温度等の影響を受けて動作周波数が変化する現象や、IPネットワークにおける各種のネットワーク機器の処理遅延によって伝送パケット8に伝送揺らぎが発生しても、高い精度で送受信間動作周波数を同期化することが可能であり、受信品質のよいメディア受信装置3Aを実現することができる。
As described above, according to the third embodiment, the number of media packets stored in the buffer or the data amount of media packets waiting to be processed is periodically fetched from the media packet transmission unit 11, and the number of media packets or data The media packet input / output frequency difference obtained by converting the media packet input / output rate difference defined by the difference between the frequency of writing media packets to the buffer and the frequency of reading media packets from the buffer into the frequency difference The buffer remaining amount inspection unit 34 for calculating the remaining buffer amount inspection result 34a and the inter-transmission / reception operating frequency difference calculation unit 20 calculated by adding the media packet input / output frequency difference to the transmission / reception operating frequency difference 21 are adjusted. A control range smoothing unit 35 for outputting as a transmission / reception operating frequency difference 21a, Provided, the operating frequency control unit 22, based on the adjusted transmission and reception between the operating frequency difference 21a, to match the operating frequency of the media transmitter 1, corrects the generation of operating frequency due to the time counter generating unit 6.
In this way, by considering the temporal transition between the transmission / reception operating frequency difference 21 and the buffer remaining amount value 11a, a device such as a crystal oscillator serving as a reference clock of the time counter generating unit 6 can It is possible to synchronize the operating frequency between transmission and reception with high accuracy even when transmission fluctuation occurs in the transmission packet 8 due to the phenomenon that the operating frequency changes due to the influence or the processing delay of various network devices in the IP network. In addition, it is possible to realize the media reception device 3A with good reception quality.

1 メディア送信装置、2 ネットワークパケット、2a ネットワークヘッダ情報、3,3A メディア受信装置、4 映像表示装置、5 音声再生装置、6 時刻カウンタ生成部、7 伝送パケット受信部、8,8−1〜8−3 伝送パケット、8a 伝送パケットヘッダ情報、9 時刻カウンタ値抽出部、10,10−0〜10−11,12 メディアパケット、10a メディアヘッダ情報、10b メディアパケットペイロード、11 メディアパケット送信部、11a バッファ残量値、13 メディア分離・復号部、14 リアルタイム時刻カウンタ値、15 伝送パケット時刻情報、16 MCT・RCT値集積部(時刻カウンタ値集積部)、17 選択対象伝送パケット時刻情報、18 ピークパケット選択部(選択部)、19 演算対象伝送パケット時刻情報、20 送受信間動作周波数差算出部、21 送受信間動作周波数差、21a 調整済み送受信間動作周波数差、22 動作周波数制御部、23 時刻カウンタ制御値、24 メディアパケット時刻情報、24a 送信時刻カウンタ値(SCT値)、24b メディア時刻カウンタ値(MCT値)、24c メディア時刻カウント情報、24d 仮想MCT値、25 RCT値取込部、26 メディアパケット抽出部、26a メディアパケット抽出完了通知、27 SCT値抽出部、28 MCT値抽出・SCT値保持部、28a 仮想MCT値算出情報、29 仮想MCT値算出部、30 MCT値・RCT値出力部、31 RCT値差分算出部、31a RCT値差分値、32 RCT値差分平均値算出部、32a RCT値閾値、33 RCT値差分閾値比較部、34 バッファ残量検査部、34a バッファ残量検査結果、35 制御範囲平滑化部。   DESCRIPTION OF SYMBOLS 1 Media transmitter, 2 Network packet, 2a Network header information, 3,3A Media receiver, 4 Video display apparatus, 5 Audio | voice reproduction apparatus, 6 Time counter production | generation part, 7 Transmission packet reception part, 8, 8-1-8 -3 transmission packet, 8a transmission packet header information, 9 time counter value extraction unit, 10, 10-0 to 10-11, 12 media packet, 10a media header information, 10b media packet payload, 11 media packet transmission unit, 11a buffer Remaining value, 13 Media separation / decoding unit, 14 Real-time time counter value, 15 Transmission packet time information, 16 MCT / RCT value accumulation unit (time counter value accumulation unit), 17 Selection target transmission packet time information, 18 Peak packet selection Part (selection part), 19 Transmission packet time information, 20 Transmission / reception operating frequency difference calculation unit, 21 Transmission / reception operation frequency difference, 21a Adjusted transmission / reception operation frequency difference, 22 Operation frequency control unit, 23 Time counter control value, 24 Media packet time information, 24a transmission Time counter value (SCT value), 24b media time counter value (MCT value), 24c media time count information, 24d virtual MCT value, 25 RCT value fetching unit, 26 media packet extraction unit, 26a media packet extraction completion notification, 27 SCT value extraction unit, 28 MCT value extraction / SCT value holding unit, 28a virtual MCT value calculation information, 29 virtual MCT value calculation unit, 30 MCT value / RCT value output unit, 31 RCT value difference calculation unit, 31a RCT value difference value 32 RCT value difference average value calculation unit, 32a RCT value threshold , 33 RCT value difference threshold comparing unit, 34 a buffer remaining capacity checking section, 34a remaining buffer capacity test results, 35 control range smoothing unit.

Claims (9)

メディア送信装置から送信された伝送パケットを受信する伝送パケット受信部と、
自装置の動作基準となる動作周波数及びこれに同期した時刻カウンタ値を生成する時刻カウンタ生成部と、
前記伝送パケット受信部で伝送パケットが受信された時点における時刻カウンタ値を、受信時刻カウンタ値として前記時刻カウンタ生成部から取得し、当該伝送パケットに格納された複数のメディアパケットから、前記メディア送信装置による送信タイミングを示す送信時刻カウンタ値をそれぞれ抽出するとともに、前記メディアパケットに対して、当該メディアパケットが格納する符号化メディア情報の生成に関わる前記メディア送信装置の動作周波数に対応してカウントされたメディア時刻カウンタ値が付与されていれば、当該メディア時刻カウンタ値を抽出する時刻カウンタ値抽出部と、
前記伝送パケット受信部にて順次受信された伝送パケットについて、前記時刻カウンタ値抽出部によって取得された前記送信時刻カウンタ値、前記受信時刻カウンタ値及び前記メディア時刻カウンタ値を順次格納する時刻カウンタ値集積部と、
前記時刻カウンタ値集積部に格納された前記送信時刻カウンタ値、前記受信時刻カウンタ値及び前記メディア時刻カウンタ値における各値の時間遷移量を周波数差に換算して、前記メディア送信装置と自装置との間の動作周波数差を算出する送受信間動作周波数差算出部と、
前記送受信間動作周波数差算出部により算出された前記動作周波数差に基づいて、前記メディア送信装置の動作周波数と一致するように、前記時刻カウンタ生成部による動作周波数の生成を補正する動作周波数制御部とを備え、
前記時刻カウンタ値抽出部は、
前記メディア時刻カウンタ値と、当該メディア時刻カウンタ値が付与されたメディアパケットから抽出した前記送信時刻カウンタ値とを保持し、
前記伝送パケットに格納される複数のメディアパケットのうち、最も新しく生成されたメディアパケットの前記送信時刻カウンタ値と、前記メディア時刻カウンタ値が付与されたメディアパケットから抽出した前記送信時刻カウンタ値との差分値を当該メディア時刻カウンタ値に加算した値を、当該伝送パケットに対する仮想的なメディア時刻カウンタ値として算出し
前記時刻カウンタ値集積部に格納された受信時刻カウンタ値のうちから、時間的に連続して受信された各伝送パケットの受信時刻カウンタ値の差分値が所定の閾値を超える受信時刻カウンタ値を検出し、検出した受信時刻カウンタ値とこれに対応する伝送パケットの前記仮想的なメディア時刻カウンタ値を前記時刻カウンタ値集積部から選択する選択部を備え、
前記送受信間動作周波数差算出部は、前記選択部によって選択された前記仮想的なメディア時刻カウンタ値と当該伝送パケットの前記受信時刻カウンタ値との各値の時間遷移量を周波数差に換算して、前記送受信間動作周波数差を算出することを特徴とするメディア受信装置。
A transmission packet receiver for receiving a transmission packet transmitted from the media transmission device;
A time counter generation unit that generates an operation frequency serving as an operation reference of the own device and a time counter value synchronized with the operation frequency;
A time counter value at the time when the transmission packet is received by the transmission packet reception unit is acquired from the time counter generation unit as a reception time counter value, and the media transmission device is obtained from a plurality of media packets stored in the transmission packet. The transmission time counter value indicating the transmission timing according to each of the media packets is extracted, and the media packet is counted corresponding to the operating frequency of the media transmission device involved in generating the encoded media information stored in the media packet. If a media time counter value is given, a time counter value extraction unit that extracts the media time counter value;
Time counter value accumulation for sequentially storing the transmission time counter value, the reception time counter value, and the media time counter value acquired by the time counter value extraction unit for the transmission packets sequentially received by the transmission packet reception unit. And
Converting the time transition amount of each value in the transmission time counter value, the reception time counter value, and the media time counter value stored in the time counter value accumulation unit into a frequency difference, the media transmission device and the device itself An operating frequency difference calculation unit between transmission and reception that calculates an operating frequency difference between
Based on the operating frequency difference calculated by the transmitting / receiving operating frequency difference calculating unit, the operating frequency control unit corrects the generation of the operating frequency by the time counter generating unit so as to match the operating frequency of the media transmitting device. And
The time counter value extraction unit
Holding the media time counter value and the transmission time counter value extracted from the media packet to which the media time counter value is assigned;
Among the plurality of media packets stored in the transmission packet, the transmission time counter value of the most recently generated media packet and the transmission time counter value extracted from the media packet to which the media time counter value is assigned A value obtained by adding the difference value to the media time counter value is calculated as a virtual media time counter value for the transmission packet ,
From the reception time counter values stored in the time counter value accumulation unit, a reception time counter value in which the difference value of the reception time counter values of each transmission packet received continuously in time exceeds a predetermined threshold is detected. And a selection unit that selects the detected reception time counter value and the virtual media time counter value of the transmission packet corresponding to the detected reception time counter value from the time counter value accumulation unit,
The operating frequency difference calculation unit between transmission and reception converts a time transition amount between each value of the virtual media time counter value selected by the selection unit and the reception time counter value of the transmission packet into a frequency difference. A media receiving apparatus that calculates an operating frequency difference between the transmission and reception.
前記動作周波数制御部は、前記時刻カウンタ生成部にて生成される動作周波数の変化が所定の範囲内になるように、前記送受信間動作周波数差を制御することを特徴とする請求項1記載のメディア受信装置。 The operating frequency control unit, as changes in the operating frequency generated by said time counter generating unit is within a predetermined range, according to claim 1 Symbol placement and controls the transmission and reception between the operating frequency difference Media receiver. メディアパケットを一時的に格納するバッファを有しており、前記時刻カウンタ生成部で生成された時刻カウンタ値が、前記メディアパケットに付与された送信時刻カウンタ値と一致又は超えた場合に、当該メディアパケットを前記バッファから取り出して、メディア分離、復号処理へ出力するメディアパケット送信部を備えたことを特徴とする請求項1または請求項2記載のメディア受信装置。 A buffer for temporarily storing a media packet, and when the time counter value generated by the time counter generator matches or exceeds the transmission time counter value assigned to the media packet, 3. The media receiving apparatus according to claim 1, further comprising a media packet transmitting unit that extracts a packet from the buffer and outputs the packet to media separation and decoding processing. 前記メディアパケット送信部から、前記バッファに格納されたメディアパケット数又は処理待ちのメディアパケットのデータ量を定期的に取り込んで、前記メディアパケット数又は前記データ量の時間変化量から、前記バッファへのメディアパケットの書き込み頻度と、前記バッファからのメディアパケットの読み出し頻度との差で規定されるメディアパケット入出力レート差を周波数差に換算したメディアパケット入出力周波数差を算出するバッファ残量検査部と、
前記送受信間動作周波数差算出部により算出された送受信間動作周波数差に前記メディアパケット入出力周波数差を加算した値を、調整済みの送受信間動作周波数差として出力する制御範囲平滑化部とを備え、
前記動作周波数制御部は、前記調整済みの送受信間動作周波数差に基づいて、前記メディア送信装置の動作周波数と一致するように、前記時刻カウンタ生成部による動作周波数の生成を補正することを特徴とする請求項記載のメディア受信装置。
From the media packet transmission unit, the number of media packets stored in the buffer or the amount of media packets waiting to be processed is periodically fetched, and the time variation of the number of media packets or the amount of data is transferred to the buffer. A buffer remaining amount inspection unit for calculating a media packet input / output frequency difference by converting a media packet input / output rate difference defined by a difference between a media packet write frequency and a read frequency of the media packet from the buffer into a frequency difference; ,
A control range smoothing unit that outputs a value obtained by adding the media packet input / output frequency difference to the operation frequency difference between transmission and reception calculated by the operation frequency difference calculation unit between transmission and reception as an adjusted operation frequency difference between transmission and reception; ,
The operating frequency control unit corrects the generation of the operating frequency by the time counter generating unit based on the adjusted operating frequency difference between transmission and reception so as to match the operating frequency of the media transmission device. The media receiving device according to claim 3 .
前記制御範囲平滑化部は、前記送受信間動作周波数差算出部により算出された送受信間動作周波数差が前記メディアパケット入出力周波数差より大きい場合、前記メディアパケット入出力周波数差を0に無効化し、前記送受信間動作周波数差が前記メディアパケット入出力周波数差以下である場合は、所定の係数を掛けて前記送受信間動作周波数差を増加させることを特徴とする請求項記載のメディア受信装置。 The control range smoothing unit invalidates the media packet input / output frequency difference to 0 when the transmission / reception operating frequency difference calculated by the transmission / reception operating frequency difference calculation unit is larger than the media packet input / output frequency difference; 5. The media receiving apparatus according to claim 4, wherein when the operating frequency difference between transmission and reception is less than or equal to the media packet input / output frequency difference, the operating frequency difference between transmission and reception is increased by multiplying by a predetermined coefficient. 前記制御範囲平滑化部は、前記送受信間動作周波数差算出部により算出された送受信間動作周波数差が、前回の補正で使用した値よりも今回の値が減少していると、前記今回の送受信間動作周波数差を0とみなすことを特徴とする請求項記載のメディア受信装置。 The control range smoothing unit determines that the current transmission / reception operation frequency difference calculated by the transmission / reception operating frequency difference calculation unit is less than the value used in the previous correction when the current value is less than the transmission / reception operation frequency difference. 5. The media receiving apparatus according to claim 4, wherein the difference in operating frequency is considered as zero. 前記制御範囲平滑化部は、前記送受信間動作周波数差算出部により算出された送受信間動作周波数差が前回の補正で使用した値と今回の値とで同一であるとき、前記今回の送受信間周波数差に所定の係数を掛けて値を抑制することを特徴とする請求項記載のメディア受信装置。 The control range smoothing unit, when the transmission / reception operating frequency difference calculated by the transmission / reception operating frequency difference calculation unit is the same as the value used in the previous correction and the current value, 5. The media receiver according to claim 4, wherein the difference is multiplied by a predetermined coefficient to suppress the value. 前記制御範囲平滑化部は、前記メディアパケット入出力周波数差が正の値であれば、前記送受信間動作周波数差算出部により算出された送受信間動作周波数差を+1に変更し、負の値であれば、当該送受信間動作周波数差を−1に変更することを特徴とする請求項記載のメディア受信装置。 If the media packet input / output frequency difference is a positive value, the control range smoothing unit changes the transmission / reception operating frequency difference calculated by the transmission / reception operating frequency difference calculation unit to +1 and sets a negative value. 5. The media receiving apparatus according to claim 4 , wherein if there is, the operating frequency difference between transmission and reception is changed to -1. 前記動作周波数制御部は、前記送受信間動作周波数差が正の値であれば、当該送受信間動作周波数差を+1に変更し、負の値であれば、当該送受信間動作周波数差を−1に変更することを特徴とする請求項1から請求項のうちのいずれか1項記載のメディア受信装置。 The operating frequency control unit changes the operating frequency difference between transmission and reception to +1 if the operating frequency difference between transmission and reception is a positive value, and sets the operating frequency difference between transmission and reception to -1 if the operating frequency difference is a negative value. the media receiving apparatus according to any one of claims 1 to 8, characterized in that to change.
JP2009277571A 2009-12-07 2009-12-07 Media receiver Expired - Fee Related JP5441650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009277571A JP5441650B2 (en) 2009-12-07 2009-12-07 Media receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009277571A JP5441650B2 (en) 2009-12-07 2009-12-07 Media receiver

Publications (2)

Publication Number Publication Date
JP2011120146A JP2011120146A (en) 2011-06-16
JP5441650B2 true JP5441650B2 (en) 2014-03-12

Family

ID=44284885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009277571A Expired - Fee Related JP5441650B2 (en) 2009-12-07 2009-12-07 Media receiver

Country Status (1)

Country Link
JP (1) JP5441650B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3236383A1 (en) 2016-04-20 2017-10-25 Gemalto Sa Method for managing a real-time clock in a portable tamper-resistant device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3837693B2 (en) * 2000-10-24 2006-10-25 富士通株式会社 Packet communication system
FR2818768B1 (en) * 2000-12-26 2003-03-21 Thomson Multimedia Sa TEMPORAL STAMPING DEVICE AND METHOD, RECEIVER, DELAYED BROADCAST ASSEMBLY AND PACKAGE SUITE THEREOF
JP3655249B2 (en) * 2002-03-05 2005-06-02 松下電器産業株式会社 Data receiving / reproducing method and data communication apparatus
JP4268062B2 (en) * 2004-01-28 2009-05-27 株式会社フジテレビジョン Audio video signal multiplexer
JP2005278049A (en) * 2004-03-26 2005-10-06 Sanyo Electric Co Ltd Digital broadcasting receiver and communication system
JP4874058B2 (en) * 2006-11-07 2012-02-08 シャープ株式会社 Receiver and clock synchronization method
JP5032179B2 (en) * 2007-03-30 2012-09-26 株式会社東芝 Stream reproducing apparatus and media data decoding method

Also Published As

Publication number Publication date
JP2011120146A (en) 2011-06-16

Similar Documents

Publication Publication Date Title
US9407387B2 (en) Apparatus and method for synchronized transmission of multimedia content over an asynchronous network
JP3655249B2 (en) Data receiving / reproducing method and data communication apparatus
JP4838273B2 (en) Adaptive media playback method and apparatus for intra-media synchronization
AU2008330261B2 (en) Play-out delay estimation
US8873590B2 (en) Apparatus and method for correcting jitter
EP1229690A1 (en) Data stream processing device and method, and program storage medium
JP5300278B2 (en) How to detect media rate to measure network jitter
KR101180540B1 (en) Apparatus and method for transmitting/receiving streaming service
JP2009212876A (en) Ip stream transmission/reception system, ip stream receiver, and reception processing timing synchronization method used for the same
JP2003249922A (en) Data receiver, method for processing received data and computer program
US7397877B2 (en) Clock drift compensation method for remote communications
JP5441650B2 (en) Media receiver
US20060114944A1 (en) Apparatus and method for measuring a delay in the transmission of multimedia data in a multimedia system
JP2005286749A (en) Video image decoding device and video image transmission system using it
JPH11308203A (en) Clock reproduction system
JP5375021B2 (en) Clock recovery system and method
US20030053795A1 (en) Data stream processing device and method and program storage medium
JP5239405B2 (en) TS receiver and timing reproduction method used therefor
JP2007295491A (en) Streaming data receiving apparatus and jitter elimination circuit
US20070230512A1 (en) Receiving apparatus and transmitting/receiving method
JP2001244969A (en) Method and device for receiving data
KR101700370B1 (en) Method and apparatus for correcting interarrival jitter
US20140082680A1 (en) Content distribution server system and method for controlling the same
CN117615166A (en) Network code stream recovery method, system, medium and FPGA chip
JP4274988B2 (en) Data transmission device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131028

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131217

R150 Certificate of patent or registration of utility model

Ref document number: 5441650

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees