JP2005151600A - Data transmission unit, data transmission method, and program - Google Patents

Data transmission unit, data transmission method, and program Download PDF

Info

Publication number
JP2005151600A
JP2005151600A JP2005015879A JP2005015879A JP2005151600A JP 2005151600 A JP2005151600 A JP 2005151600A JP 2005015879 A JP2005015879 A JP 2005015879A JP 2005015879 A JP2005015879 A JP 2005015879A JP 2005151600 A JP2005151600 A JP 2005151600A
Authority
JP
Japan
Prior art keywords
network
data
transmission
encoded
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005015879A
Other languages
Japanese (ja)
Other versions
JP3806133B2 (en
Inventor
Takeshi Nagai
剛 永井
Yoshihiro Kikuchi
義浩 菊池
Tadaaki Masuda
忠昭 増田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2005015879A priority Critical patent/JP3806133B2/en
Publication of JP2005151600A publication Critical patent/JP2005151600A/en
Application granted granted Critical
Publication of JP3806133B2 publication Critical patent/JP3806133B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a real-time data communication with less packet loss or delay depending on a current network state, in a data transmission system. <P>SOLUTION: There are provided a means 105 to estimate a transmission state of a transmission channel, on the basis of a notification at least either on jitters or packet loss rate obtained as supplementary information from a receiver side at a sender side, and a means 102 to modify-control at least either a bit-rate or an error tolerance level of transmitted data at the sender according to the estimated transmission state. The invention utilizes the features of RTP. The RTP is provided with a mechanism for notifying jitters or packet loss rate or the like, as the supplementary information from the sender or the receiver (RTCP). At the sender side, on the basis of the notification of the jitters or packet loss rate or the like as the supplementary information obtained from the receiver side, bit-rate adjustment or error tolerance level modification for the transmit data is performed, in conformity with the transmission channel state. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、符号化された動画像/静止画像をISDN(Integrated ServicesDigital Network)やインターネット等の有線通信網、あるいはPHS(Personal Handy-phone System)や衛星通信等の無線通信網を用いて伝送する情報伝送方法及びその方法が適用されるデータ伝送装置並びにそのプログラムに関する。   The present invention transmits an encoded moving image / still image using a wired communication network such as ISDN (Integrated Services Digital Network) or the Internet, or a wireless communication network such as PHS (Personal Handy-phone System) or satellite communication. The present invention relates to an information transmission method, a data transmission apparatus to which the method is applied, and a program thereof.

近年、画像をはじめとする各種情報のディジタル符号化技術および広帯域ネットワーク技術の進展により、これらを利用したアプリケーションの開発が盛んになっており、圧縮符号化した画像などを、通信網を利用して伝送するシステムが開発されている。   In recent years, with the development of digital coding technology for various information including images and broadband network technology, the development of applications using these has become popular. Transmission systems have been developed.

例えば、図13に示すごときで、画像入力部101より入力された画像信号131を画像符号化部102で符号化し、得られた符号化データ132を符号化データ送信部103に与え送信データ133として伝送路に送信する。このようにして画像は符号化して送信するが、近年では、インターネット・イントラネットの普及により、データをパケット化して送受信するアプリケーションやシステムが増加してきている。パケット化は通信路の帯域を効率よく複数のユーザで共有するための非常に有効な手段となっている。   For example, as shown in FIG. 13, the image signal 131 input from the image input unit 101 is encoded by the image encoding unit 102, and the obtained encoded data 132 is given to the encoded data transmission unit 103 as transmission data 133. Send to the transmission line. In this way, images are encoded and transmitted. In recent years, with the spread of the Internet and Intranet, applications and systems that packetize and transmit / receive data are increasing. Packetization is a very effective means for efficiently sharing the bandwidth of a communication path among a plurality of users.

ところで、インターネット・イントラネットでパケットデータを送受信するプロトコルとしてTCP/IP(Transmission Control Protocol/Internet Protocol)やUDP/IP(User Datagram Protocol/Internet Proto)などが存在する。   By the way, TCP / IP (Transmission Control Protocol / Internet Protocol), UDP / IP (User Datagram Protocol / Internet Protocol), and the like exist as protocols for transmitting and receiving packet data on the Internet / Intranet.

これらのうち、TCP/IPはインターネット標準プロトコルであって、世界的に最も普及したプロトコルとして、インターネットばかりでなくイントラネットやLANなどにも応用されているプロトコルである。TCPは、OSI基本参照モデルの第4層トランスポート層で働き、IPは第3層ネットワーク層で働く。   Among these, TCP / IP is an Internet standard protocol, and is a protocol that is applied not only to the Internet but also to intranets and LANs as the most popular protocol in the world. TCP works in the fourth layer transport layer of the OSI basic reference model, and IP works in the third layer network layer.

また、UDP/IPは、TCP/IPスイートのトランスポート層プロトコルの一つであり、TCPがコネクション型プロトコルであるのに対して、UDPはコネクションレス型プロトコルである。TCPと同様にポート番号を使って上位のアプリケーションを識別する。ネットワークの監視制御用の短いデータや、オーディオ・データあるいはビデオ・データのような実時間指向データを運ぶのに使うことが多い。   Further, UDP / IP is one of the transport layer protocols of the TCP / IP suite, and TCP is a connection type protocol, whereas UDP is a connectionless type protocol. Similar to TCP, the host application is identified using the port number. Often used to carry short data for network supervisory control and real-time oriented data such as audio or video data.

ところで、これらのうち、TCP/IPは再送などの枠組みが組み込まれていることから誤りなどに強く、多少時間がかかっても正しくデータを受信したいダウンロード型のアプリケーションで有効である。しかし、反面、リアルタイム性を求められるアプリケーションには非力である。   Of these, TCP / IP is resistant to errors because it incorporates a framework such as retransmission, and is effective in download-type applications that want to receive data correctly even if it takes some time. However, it is ineffective for applications that require real-time performance.

これに対し、UDP/IPは再送の枠組みがない反面、再送などにかかる遅延がなく、リアルタイム性を求められるアプリケーションには非常に有効である。   On the other hand, UDP / IP does not have a retransmission framework, but has no delay for retransmission and is very effective for an application that requires real-time performance.

リアルタイム性を求められるアプリケーションの代表例としては動画像の伝送があげられるが、通常の動画像通信の場合、画像データは非常に膨大なデータ量であり、ネットワークの帯域に収まらない場合がほとんどである。その場合、画像データを符号化し、データ量を小さくしてから伝送するという手法が用いられる。動画像信号の圧縮符号化技術としては動き補償、離散コサイン変換(DCT)、サブバンド符号化、ピラミッド符号化、可変長符号化等の技術やこれらを組み合わせた方式が開発されている。   A typical example of an application that requires real-time performance is the transmission of moving images. However, in the case of normal moving image communication, the amount of image data is very large, and in most cases it does not fit in the network bandwidth. is there. In that case, a method of encoding image data and transmitting the data after reducing the data amount is used. As compression coding techniques for moving image signals, techniques such as motion compensation, discrete cosine transform (DCT), subband coding, pyramid coding, variable length coding, etc., and methods combining these techniques have been developed.

そして、動画像符号化の国際標準方式としてはISO MPEG−1、MPEG−2、ITU−T H.261、H.262、H.263が存在し、また動画像、音声・オーディオ信号を圧縮した符号列や他のデータを多重化する国際標準方式としてはISO MPEGシステム、ITU−T H.221、H.223が存在する。   As international standard systems for moving picture encoding, ISO MPEG-1, MPEG-2, ITU-T H.264, etc. 261, H.H. 262, H.C. H.263, and ISO MPEG system, ITU-T H.264, and the like as international standard systems for multiplexing moving images, code strings compressed audio / audio signals, and other data. 221, H.M. 223 exists.

インターネット等は無数のネットワークを介して繋がっており、どのネットワークがどういう状況になっているかわからないのが普通である。また、そこに流れているデータ量が時々刻々と変動するため、どのくらいのデータがリアルタイムで通信できるかを判定する仕組みが必要である。   The Internet and the like are connected through a myriad of networks, and it is normal not to know which network is in what state. In addition, since the amount of data flowing there fluctuates from moment to moment, a mechanism for determining how much data can be communicated in real time is necessary.

そこで、UDP/IPを利用したリアルタイムアプリケーションからさらに一歩進み、パケットに時間情報等を付加して伝送するRTP(Real-time Transport Protocol)と呼ばれるパケットフォーマットを使用するアプリケーションが増えてきている。   In view of this, an application using a packet format called RTP (Real-time Transport Protocol), which advances one step further from a real-time application using UDP / IP and adds time information to a packet for transmission, is increasing.

このRTPとは、RFC1889で規定された、オーディオ・データやビデオ・データを実時間転送するためのプロトコルであって、通常はUDP(User Datagram Protocol)に乗せて運ぶ。ビデオ会議のようなマルチメディア・システムに適用することを想定したもので、実時間会話形式でデータを授受できる。ただし音質や画質の品質保証機能はない。RTPヘッダーの中にパケットの順序番号やタイム・スタンプ(時刻表示データ)をつけることによって実時間動作をサポートしている。   This RTP is a protocol for real-time transfer of audio data and video data defined by RFC1889, and is normally carried on UDP (User Datagram Protocol). It is intended to be applied to multimedia systems such as video conferencing, and can exchange data in real-time conversation format. However, there is no quality assurance function for sound quality and image quality. Real-time operation is supported by adding packet sequence numbers and time stamps (time display data) in the RTP header.

尚、RFCとはRequest for Commentsの略称であって、インターネットの技術開発組織であるIETF(Internet Engineering Task Force)が公開している技術提案やコメントの文書のことを指す。TCP/IPスイートの各種のプロトコルのような、多くのデファクト・スタンダードがRFCに記述されている。   RFC is an abbreviation for Request for Comments, and refers to a document of technical proposals and comments published by the Internet Engineering Task Force (IETF), which is an Internet technology development organization. Many de facto standards are described in the RFC, such as the various protocols of the TCP / IP suite.

そして、このRTPを利用することで、パケットに時間情報およびパケット番号が付加され、受信側では正しい時間情報を用いて音声や画像を表示することが出来たり、ネットワークで順番が入れ替わったパケットなどを判定したり、パケット番号を見ることでパケットが損失していることを検出すること等が出来るようになった。   By using this RTP, time information and a packet number are added to the packet, and the receiving side can display voice and images using the correct time information, or the packet whose order has been changed on the network, etc. Judgment and detection of packet loss by looking at the packet number can be performed.

しかも、RTPには送信側や受信側から補足情報としてジッタ(遅延情報)やパケット損失率などを通知する仕組み(RTCP)も備わっている。   In addition, the RTP also has a mechanism (RTCP) for notifying a jitter (delay information), a packet loss rate, and the like as supplementary information from the transmission side and the reception side.

しかし、このRTCPの情報をどう利用するかはアプリケーションに依存し、規格では決まっていない。   However, how to use this RTCP information depends on the application and is not determined by the standard.

また画像の場合、ネットワークの帯域では生の画像伝送分の帯域を確保できないことから、前述のように画像信号をMPEGなどの符号化方式で圧縮をして送る必要がある。これはデータ量の減少には効果があるが、逆に不安定なインターネットにデータを流すことでのパケット損失や誤りの混入に対して非常にもろくなる。これは動画像符号化方式が前のフレームとの差分のみを送信することから、データの一部が欠落することが非常に大きな問題になる。UDPやRTPを使った場合、基本的にデータの再送は行われないことからこの問題に対する対策が必要である。   In the case of an image, it is not possible to secure a bandwidth for raw image transmission in the network bandwidth, so that it is necessary to send the image signal after being compressed by an encoding method such as MPEG as described above. This is effective in reducing the amount of data, but on the other hand, it becomes very fragile against packet loss and mixing errors caused by flowing data over the unstable Internet. This is because a moving image encoding method transmits only a difference from the previous frame, and a part of the data is lost. When UDP or RTP is used, since data is not basically retransmitted, it is necessary to take measures against this problem.

ところで、画像符号化の中には、通常2つのモードが存在する。前述した前のフレームとの差分を送るフレーム間符号化モード(P Picture)と、1枚のフレームの中で閉じて符号化を行うフレーム内符号化モード(I Picture)である。通常、図19に示すように、適当なタイミングでフレーム内符号化モード(図中のI−Pic)が設けられ、それらの間には、フレーム間符号化モード(図中のP−Pic)が設けられる。このフレーム内符号化モードでフレームを符号化する間隔をGOP(Group of Pictures)間隔と呼ぶ。ここで、図20に示すように、データの欠落が発生しある復号画像(例えば、図中の1000)が壊れてしまった場合、それ以降、フレーム間符号化モードで符号化を行っていると、壊れた画像をもとに復号を行うため、以降の復号画像全てが影響を受け、正しく復号できないことになる。そのため、図21に示すように、途中にフレーム内符号化モードで符号化したフレーム(例えば、図中の1001)を挿入することで、誤りの影響の伝播をそこで断ち切り、回復させる手段が用いられる。   By the way, there are usually two modes in image coding. There are an inter-frame coding mode (P Picture) in which the difference from the previous frame is sent, and an intra-frame coding mode (I Picture) in which encoding is performed by closing within one frame. Normally, as shown in FIG. 19, an intra-frame coding mode (I-Pic in the figure) is provided at an appropriate timing, and an inter-frame coding mode (P-Pic in the figure) is provided between them. Provided. The interval at which frames are encoded in this intra-frame encoding mode is called a GOP (Group of Pictures) interval. Here, as shown in FIG. 20, when a decoded image (for example, 1000 in the figure) in which data loss has occurred is broken, it is assumed that encoding is performed in the interframe encoding mode thereafter. Since decoding is performed based on the broken image, all subsequent decoded images are affected and cannot be decoded correctly. Therefore, as shown in FIG. 21, a means for cutting off and recovering the propagation of the influence of an error by inserting a frame (for example, 1001 in the figure) encoded in the intraframe coding mode in the middle is used. .

従来の技術では、ネットワークにエラーがあることは判断できたが、それをどのように利用するかは不明であった。また、ネットワーク情報を独自の形で送信側に通知するような仕組みは考えられていたが、そのアプリケーション独自の仕様となり、汎用性がなかった。   In the prior art, it was possible to determine that there was an error in the network, but it was unclear how to use it. In addition, although a mechanism for notifying network information to the transmission side in an original form was considered, it became a specification unique to the application and was not versatile.

例えば、せいぜい図14に示す如く、受信側情報受信部1401を用いて送信データ133を受信し、この送信経路でネットワーク側から受ける情報の範囲で画像符号化部102の画像符号化処理を制御する程度である。   For example, as shown in FIG. 14, the transmission data 133 is received using the reception side information reception unit 1401, and the image encoding process of the image encoding unit 102 is controlled within the range of information received from the network side through this transmission path. Degree.

また、従来のネットワークの状態判定では、ネットワークの輻輳ということを想定して考えられてきた。しかし、インターネットがモバイル環境に広がっていくことで、さらに無線環境での誤り等を考慮する必要が出てくる。しかし、現在の技術でこのような対策は全く取られていない。   In the conventional network state determination, it has been considered assuming network congestion. However, as the Internet spreads into the mobile environment, it becomes necessary to consider errors in the wireless environment. However, such measures are not taken at all with the current technology.

さらに、誤りに対応する場合でも、ネットワークの状態が変化し、誤り率などが一定にならない場合などについても考慮がなされていなかった。誤りが多い場合に対応するためにGOP間隔を狭く設定すると、フレーム内符号化モードでの符号化が多くなり、符号化効率が悪くなる。定常的に誤りが多い場合はこのような状態にする必要性がある場合もあるが、通常状態では誤りがほとんどなく、ある瞬間にだけ誤りが発生するようなネットワークの場合、これは非常に大きな無駄となる。逆に、GOP間隔を長く設定した場合には、誤りが発生したときの影響が大きくなってしまうという問題があった。   Furthermore, even when dealing with errors, no consideration has been given to cases where the network status changes and the error rate is not constant. If the GOP interval is set to be narrow in order to cope with a case where there are many errors, encoding in the intra-frame encoding mode increases and encoding efficiency deteriorates. This may be necessary if there are a lot of errors on a regular basis, but in a network where there are few errors in the normal state and errors occur only at a certain moment, this is very large. It becomes useless. On the contrary, when the GOP interval is set to be long, there is a problem that the influence when an error occurs becomes large.

そこで、RTPを利用した実時間転送の利用に着目してみる。   Therefore, attention is paid to the use of real-time transfer using RTP.

上述したように、オーディオ・データやビデオ・データを実時間転送するためのプロトコルであるRTPを利用することで、パケットに時間情報およびパケット番号が付加され、受信側では正しい時間情報を用いて音声や画像を表示することが出来たり、ネットワークで順番が入れ替わったパケットなどを判定したり、パケット番号を見ることでパケットが損失していることを検出すること等が出来る。   As described above, by using RTP, which is a protocol for transferring audio data and video data in real time, time information and a packet number are added to the packet, and the receiving side uses the correct time information for voice. Or images can be displayed, packets whose order has been changed in the network can be determined, or the packet number can be detected by looking at the packet number.

しかも、RTPには送信側や受信側から補足情報としてジッタやパケット損失率などを通知する仕組み(RTCP)も備わっている。   In addition, the RTP has a mechanism (RTCP) for notifying the jitter, the packet loss rate, and the like as supplementary information from the transmission side and the reception side.

本発明は、上記事情を考慮してなされたもので、このようなRTPの特徴を利用し、送信側において受信側から得た補足情報としてのジッタやパケット損失率などの通知をもとに、伝送路の伝送状態に合わせて伝送レートを調整したり、誤り耐性を変更するなどの制御を実施できるようにして最大限に効率よくデータ伝送できるようにして、リアルタイム性が要求される伝送についても十分に利用可能にしたデータ伝送装置、データ伝送方法及びプログラムを提供することを目的とする。   The present invention has been made in consideration of the above circumstances, and based on the notification of jitter, packet loss rate, etc. as supplementary information obtained from the receiving side on the transmitting side, using such RTP features, Even for transmissions that require real-time performance by adjusting the transmission rate according to the transmission status of the transmission path and performing control such as changing error resilience so that data can be transmitted as efficiently as possible. It is an object to provide a data transmission apparatus, a data transmission method, and a program that can be sufficiently used.

本発明は、画像データを受信側へ送信するデータ伝送装置であって、同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給手段と、受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定手段と、前記供給手段の供給する複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択手段と、選択され前記供給手段から供給された前記画像符号化データを受信側へ送信する送信手段とを備え、前記ネットワーク状態判定手段は、前記選択手段により選択された画像符号化データに係る符号化パラメータ情報を格納する第1の格納手段と、受信側から得られた補足情報を格納する第2の格納手段とを具備し、受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めることを特徴とする。   The present invention is a data transmission apparatus for transmitting image data to a receiving side, and selectively supplies one of a plurality of encoded image data encoded with different bit rates for the same image content. Supply means; network status determination means for obtaining an optimum transmission rate for the current transmission path based on at least one of delay information and packet loss rate as supplementary information obtained from the receiving side; and the supply means Selecting means for selecting image encoded data having a bit rate corresponding to the determined optimum transmission rate from among the plurality of image encoded data supplied by the image data, and the image selected and supplied from the supply means Transmitting means for transmitting the encoded data to the receiving side, wherein the network state determining means is the image code selected by the selecting means. Comprising: first storage means for storing the encoding parameter information relating to the encoded data; and second storage means for storing the supplementary information obtained from the receiving side, and the supplementary information obtained from the receiving side and the first Determining a network state from past coding parameter information output from one storage means and past supplemental information obtained from the second storage means, and obtaining an optimum transmission rate for the current transmission path. Features.

また、本発明は、画像データを受信側へ送信するデータ伝送装置におけるデータ伝送方法であって、同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給ステップと、受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定ステップと、前記供給ステップにおいて供給される複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択ステップと、選択され前記供給ステップにおいて供給された前記画像符号化データを受信側へ送信する送信ステップとを有し、前記ネットワーク状態判定ステップは、前記選択ステップにおいて選択された画像符号化データに係る符号化パラメータ情報を第1の格納手段に格納するステップと、受信側から得られた補足情報を第2の格納手段に格納するステップとを含み、受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めることを特徴とする。   Further, the present invention is a data transmission method in a data transmission apparatus for transmitting image data to a receiving side, and is any one of a plurality of image encoded data encoded with different bit rates for the same image content. Network condition determination to determine the optimum transmission rate for the current transmission path based on the supply step of selectively supplying the information and the notification of at least delay information or packet loss rate as supplementary information obtained from the receiving side A selection step of selecting image encoded data having a bit rate corresponding to the optimum transmission rate obtained from the plurality of image encoded data supplied in the supplying step; A transmission step of transmitting the image encoded data supplied in the step to the reception side, The network state determination step stores the encoding parameter information related to the encoded image data selected in the selection step in the first storage unit, and the supplementary information obtained from the reception side in the second storage unit. A network state based on supplementary information obtained from the receiving side, past coding parameter information output from the first storage means, and past supplementary information obtained from the second storage means And determining the optimum transmission rate for the current transmission path.

また、本発明は、画像データを受信側へ送信するデータ伝送装置としてコンピュータを機能させるためのプログラムにおいて、前記プログラムは、同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給ステップと、受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定ステップと、前記供給ステップにおいて供給される複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択ステップと、選択され前記供給ステップにおいて供給された前記画像符号化データを受信側へ送信する送信ステップとをコンピュータに実行させるものであるとともに、前記ネットワーク状態判定ステップは、前記選択ステップにおいて選択された画像符号化データに係る符号化パラメータ情報を第1の格納手段に格納するステップと、受信側から得られた補足情報を第2の格納手段に格納するステップとを含み、受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めるものであることを特徴とする。   According to the present invention, there is provided a program for causing a computer to function as a data transmission device that transmits image data to a receiving side, wherein the program encodes the same image content with different bit rates. Optimal transmission for the current transmission path based on a supply step for selectively supplying one of the encoded data and at least notification of delay information or packet loss rate as supplementary information obtained from the receiving side A network state determination step for obtaining a rate, and a selection step for selecting image encoded data having a bit rate corresponding to the obtained optimum transmission rate from among the plurality of image encoded data supplied in the supplying step. And the encoded image data selected and supplied in the supplying step And transmitting the transmission step to the reception side, and the network state determination step stores in the first storage means the encoding parameter information related to the image encoded data selected in the selection step. And the step of storing the supplementary information obtained from the reception side in the second storage means, the supplementary information obtained from the reception side and the past encoding parameters output from the first storage means A network state is determined from the information and past supplementary information obtained from the second storage means, and an optimum transmission rate for the current transmission path is obtained.

[1]また、本発明は、画像を取り込む画像入力手段と、前記画像入力手段から出力された画像信号を符号化する画像符号化手段と、前記画像符号化手段から出力された画像符号化データをネットワークに送信する送信手段と、ネットワークの状態に関するネットワーク情報を受信するネットワーク情報受信手段と、前記ネットワーク情報受信手段で受信した前記ネットワーク情報からネットワークの状態を判定するネットワーク状態判定手段とを有し、前記画像符号化手段が前記ネットワーク状態判定手段により判定されたネットワーク状態情報により制御されることを特徴とする。
[2]また、本発明は、[1]の装置において、前記画像符号化手段で決定した符号化パラメータ情報を前記ネットワーク状態判定手段に入力することを特徴とする。
[3]また、本発明は、前記第二の発明に関する画像送信装置の前記ネットワーク状態判定手段において、前記画像符号化手段から入力された符号化パラメータ情報を格納する符号化パラメータ情報格納手段と、前記ネットワーク情報受信手段から入力されたネットワーク情報を格納するネットワーク情報格納手段とを有し、前記ネットワーク情報受信手段から入力されたネットワーク情報と符号化パラメータ情報格納手段から出力される過去の符号化パラメータ情報と前記ネットワーク情報格納手段から出力される過去のネットワーク情報とからネットワーク状態を判定することを特徴とする。
[4]また、本発明は、[1]の装置における前記画像符号化手段において、前記ネットワーク状態判定手段から入力されたネットワーク状態情報から符号化パラメータを決定する符号化パラメータ決定手段を有することを特徴とする。
[5]また、本発明は、[4]の装置における前記符号化パラメータ決定手段において、前記ネットワーク状態情報を用いて符号化パラメータを決定した際、次のフレームを強制的にフレーム内符号化で符号化するかどうかを判定するフレーム内符号化判定手段を有することを特徴とする。
[6]また、本発明は、符号化された符号化データをネットワークに送信する送信手段と、ネットワークの状態に関するネットワーク情報を受信するネットワーク情報受信手段と、前記ネットワーク情報受信手段で受信した前記ネットワーク情報からネットワークの状態を判定するネットワーク状態判定手段と、複数の符号化された符号化データの入力から一つを選択し出力する符号化データ切り替え手段と、前記ネットワーク状態判定手段から出力されたネットワーク状態情報から前記送信手段より送信する符号化データを選択し前記符号化データ切り替え手段へ切り替え情報を出力する符号化データ選択手段とを有することを特徴とする。
[7]また、本発明は、[6]の装置の符号化データ切り替え手段において、符号化データの切り替え可能位置を検出する切り替え位置検出手段を有し、前記符号化データ選択手段から出力された前記切り替え情報により符号化データ切り替え信号が来た場合、前記切り替え位置検出手段で切り替え位置の検出を行い、前記切り替え位置で符号化データを切り替えることを特徴とする。
[1] Further, the present invention provides an image input unit that captures an image, an image encoding unit that encodes an image signal output from the image input unit, and an image encoded data output from the image encoding unit. Transmitting means for transmitting to the network, network information receiving means for receiving network information relating to the network status, and network status determining means for determining the network status from the network information received by the network information receiving means. The image encoding means is controlled by network state information determined by the network state determining means.
[2] The present invention is also characterized in that, in the apparatus of [1], the encoding parameter information determined by the image encoding means is input to the network state determining means.
[3] Further, the present invention provides an encoding parameter information storage unit that stores the encoding parameter information input from the image encoding unit in the network state determination unit of the image transmission apparatus according to the second invention, Network information storage means for storing network information input from the network information reception means, and network information input from the network information reception means and past encoding parameters output from the encoding parameter information storage means The network state is determined from the information and past network information output from the network information storage means.
[4] The present invention further includes an encoding parameter determining unit that determines an encoding parameter from the network state information input from the network state determining unit in the image encoding unit in the apparatus of [1]. Features.
[5] Further, according to the present invention, when the encoding parameter determination means in the apparatus of [4] determines the encoding parameter using the network state information, the next frame is forcibly encoded by intra-frame encoding. Intra-frame encoding determination means for determining whether to encode is provided.
[6] Further, the present invention provides a transmission unit that transmits encoded data to a network, a network information reception unit that receives network information related to a network state, and the network that is received by the network information reception unit. A network status judging means for judging a network status from information; a coded data switching means for selecting and outputting one of a plurality of encoded data input; and a network outputted from the network status judging means And encoding data selection means for selecting encoded data to be transmitted from the transmission means from state information and outputting switching information to the encoded data switching means.
[7] Further, the present invention is the encoded data switching means of the apparatus of [6], further comprising a switching position detecting means for detecting a switchable position of the encoded data, and output from the encoded data selecting means. When an encoded data switching signal is received according to the switching information, the switching position is detected by the switching position detecting means, and the encoded data is switched at the switching position.

なお、装置に係る本発明は方法に係る発明としても成立し、方法に係る本発明は装置に係る発明としても成立する。   The present invention relating to the apparatus is also established as an invention relating to a method, and the present invention relating to a method is also established as an invention relating to an apparatus.

また、装置または方法に係る本発明は、コンピュータに当該発明に相当する手順を実行させるための(あるいはコンピュータを当該発明に相当する手段として機能させるための、あるいはコンピュータに当該発明に相当する機能を実現させるための)プログラムとしても成立し、該プログラムを記録したコンピュータ読取り可能な記録媒体としても成立する。   Further, the present invention relating to an apparatus or a method has a function for causing a computer to execute a procedure corresponding to the invention (or for causing a computer to function as a means corresponding to the invention, or for a computer to have a function corresponding to the invention. It is also established as a program (for realizing) and also as a computer-readable recording medium on which the program is recorded.

本発明は、RTPの特徴を利用するものであって、RTPには送信側や受信側から補足情報として遅延情報(ジッタ)やパケット損失率などを通知する仕組み(RTCP)を備えており、送信側において受信側から得た補足情報としてのジッタやパケット損失率などの通知をもとに、伝送路の伝送状態に合わせて送信側における送信データのビットレートを調整したり、誤り耐性レベルを変更するなどの制御を実施するものである。   The present invention uses the characteristics of RTP, and RTP includes a mechanism (RTCP) for notifying delay information (jitter), packet loss rate, and the like as supplementary information from the transmission side or the reception side. Based on notifications such as jitter and packet loss rate as supplementary information obtained from the reception side, the transmission data bit rate on the transmission side is adjusted according to the transmission status of the transmission line, and the error resilience level is changed. It performs control such as.

従って、本発明によれば、最大限に効率よくデータ伝送できるようにして、リアルタイム性が要求される伝送についても十分に利用可能にしたデータ伝送を実現できる。   Therefore, according to the present invention, it is possible to realize a data transmission that can be efficiently used to a maximum extent and can be sufficiently used for a transmission that requires real-time performance.

本発明によれば、ネットワークの状態を判定し、符号化のパラメータを最適に設定することが可能となる。また、ネットワークに輻輳によるパケット損失と無線誤りのような損失が混在する場合、これを判定しパラメータを設定することが可能となる。   According to the present invention, it is possible to determine a network state and optimally set encoding parameters. Further, when packet loss due to congestion and loss such as a radio error coexist in the network, it is possible to determine this and set parameters.

従って、本発明によれば、最大限に効率よくデータ伝送できるようにして、リアルタイム性が要求される伝送についても十分に利用可能にしたデータ伝送を実現できるようになるデータ伝送装置およびデータ伝送方法を提供できる。   Therefore, according to the present invention, a data transmission apparatus and a data transmission method capable of realizing data transmission that enables data transmission to the maximum extent and that can be sufficiently utilized even for transmission that requires real-time performance. Can provide.

以下、図面を参照しながら本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

以下、図面を参照しながら発明の実施の形態を説明する。   Hereinafter, embodiments of the invention will be described with reference to the drawings.

本発明は、オーディオ・データやビデオ・データを実時間転送するためのプロトコルであるRTP、RTCPを利用するものであって、送信側において受信側から得た補足情報としてのジッタ(遅延情報)やパケット損失率などの通知をもとに、伝送路の伝送状態に合わせて伝送レートを調整したり、誤り耐性を変更するなどの制御を実施できるようにして最大限に効率よくデータ伝送できるようにするものであり、以下、詳細を説明する。   The present invention uses RTP and RTCP which are protocols for transferring audio data and video data in real time, and includes jitter (delay information) as supplementary information obtained from the receiving side on the transmitting side. Based on notification of packet loss rate, etc., it is possible to adjust the transmission rate according to the transmission status of the transmission line, and to perform control such as changing error resilience so that data can be transmitted efficiently with maximum efficiency. The details will be described below.

(第1の実施形態)
図1は本発明の第1の実施形態に係る画像送信装置の基本構成図である。図において、101は画像入力部であり、102は画像符号化部であって、当該画像入力部101より入力された画像信号131を符号化処理するものである。
(First embodiment)
FIG. 1 is a basic configuration diagram of an image transmission apparatus according to the first embodiment of the present invention. In the figure, reference numeral 101 denotes an image input unit, and reference numeral 102 denotes an image encoding unit, which encodes an image signal 131 input from the image input unit 101.

103は符号化データ送信部であって、画像符号化部102により符号化された符号化データ132をネットワークに適合したかたちに加工し、受信側へ送信するものである。104はネットワーク情報受信部であって、受信側より送られてきたネットワーク情報134を受信し、それをネットワーク状態判定部105へ出力するためのものである。このネットワーク状態判定部105はネットワーク情報受信部104から出力されたネットワーク情報135からネットワークの状態を判定し、その結果をネットワーク状態情報136として画像符号化部102へ通知する機能を有する。   Reference numeral 103 denotes an encoded data transmission unit that processes the encoded data 132 encoded by the image encoding unit 102 into a form suitable for the network and transmits the processed data to the reception side. A network information receiving unit 104 receives the network information 134 sent from the receiving side and outputs it to the network state determining unit 105. The network state determination unit 105 has a function of determining the network state from the network information 135 output from the network information receiving unit 104 and notifying the result to the image encoding unit 102 as network state information 136.

なお、画像符号化部102はネットワーク状態情報136を利用し、画像信号131の符号化を行うが、これはつぎのようにして行う。すなわち、RTP、RTCPの場合、パケット損失率や遅延情報が与えられる。これにより、ネットワーク状態判定部105では、パケット損失率が“0”でなかったり、遅延時間がある値よりも大きければ、ネットワークになんらかの負荷がかかっており、想定したデータ量のデータを流せないでいると判断する。そこで、画像符号化部102へビットレートを下げるような指示(ネットワーク状態情報136)を出し、符号化する際の目標ビットレートの設定を低く設定し直すという処理を行うように構成してある。   The image encoding unit 102 encodes the image signal 131 using the network state information 136. This is performed as follows. That is, in the case of RTP and RTCP, a packet loss rate and delay information are given. Thereby, in the network state determination unit 105, if the packet loss rate is not “0” or the delay time is larger than a certain value, some load is applied to the network, and the assumed amount of data cannot be flowed. Judge that Therefore, an instruction (network state information 136) for lowering the bit rate is issued to the image encoding unit 102, and a process of resetting the target bit rate for encoding is performed again.

このような構成の本装置は、画像信号131を画像入力部101より入力すると、この入力された画像信号131は画像符号化部102で符号化される。そして、画像符号化部102により符号化された符号化データ132は符号化データ送信部103に入力される。   In this apparatus having such a configuration, when the image signal 131 is input from the image input unit 101, the input image signal 131 is encoded by the image encoding unit 102. The encoded data 132 encoded by the image encoding unit 102 is input to the encoded data transmission unit 103.

符号化データ送信部103では、符号化データ132をネットワークにあった形に加工し、受信側へ送信する。ネットワーク情報受信部104では受信側より送られてきたネットワーク情報134を受信し、それをネットワーク状態判定部105へ出力する。   The encoded data transmission unit 103 processes the encoded data 132 into a form suitable for the network and transmits it to the receiving side. The network information receiving unit 104 receives the network information 134 sent from the receiving side and outputs it to the network state determining unit 105.

ネットワーク状態判定部105ではネットワーク情報受信部から出力されたネットワーク情報135からネットワークの状態を判定し、その結果をネットワーク状態情報136として画像符号化部102へ通知する。   The network state determination unit 105 determines the network state from the network information 135 output from the network information reception unit, and notifies the image encoding unit 102 of the result as network state information 136.

画像符号化部102ではこの通知されたネットワーク状態情報136を利用し、画像信号131の符号化を行う。   The image encoding unit 102 encodes the image signal 131 using the notified network state information 136.

上述したように、RTP、RTCPの場合、パケット損失率や遅延情報が与えられる。これにより、ネットワーク状態判定部105では、パケット損失率が“0”でなかったり、遅延時間がある値よりも大きければ、ネットワークになんらかの負荷がかかっており、想定したデータ量のデータを流せないでいると判断する。そこで、このような場合には、ネットワーク状態判定部105では、画像符号化部102へビットレートを下げるような指示(ネットワーク状態情報136)を出し、符号化する際の目標ビットレートの設定を低く設定し直す。   As described above, in the case of RTP and RTCP, a packet loss rate and delay information are given. Thereby, in the network state determination unit 105, if the packet loss rate is not “0” or the delay time is larger than a certain value, some load is applied to the network, and the assumed amount of data cannot be flowed. Judge that Therefore, in such a case, the network state determination unit 105 issues an instruction (network state information 136) to lower the bit rate to the image encoding unit 102, and sets the target bit rate to be low when encoding. Set again.

図10にネットワーク状態判定部105でのネットワーク状態の判定方法の非常に簡単な一例をフローチャートで示す。すなわち、手順S1001では、ネットワーク情報のパケット損失率を調べ、“0”かそうでないかを判定する。その結果、もしパケット損失があれば、手順S1002によりパケット損失率から有効ビットレートを算出する。これは、例えば次に示すような式(1)で計算することが可能である。   FIG. 10 is a flowchart showing a very simple example of the network state determination method in the network state determination unit 105. That is, in step S1001, the packet loss rate of the network information is checked to determine whether it is “0” or not. As a result, if there is a packet loss, the effective bit rate is calculated from the packet loss rate in step S1002. This can be calculated by, for example, the following equation (1).

b′=b×(1−r) …(1)
ここで、bは現在のビットレート、b′は新しいビットレート、rはパケット損失率である。
b '= b * (1-r) (1)
Where b is the current bit rate, b 'is the new bit rate, and r is the packet loss rate.

次に手順S1003では前記手順S102で求めたパラメータ(符号化パラメータ)を画像符号化部102に通知する。ここで、上記のパラメータは画像符号化部102における符号化処理のレートコントロールや誤り耐性のレベル決定するするためのもので、画像符号化部102では、入力される画像信号131の符号化処理速度をこのパラメータ対応に調整制御してビットレートを変えたり、フレーム間隔を変えたり、誤り耐性のレベルを変えるなどの調整に用いられる。   In step S1003, the image encoding unit 102 is notified of the parameters (encoding parameters) obtained in step S102. Here, the above parameters are for controlling the rate of encoding processing in the image encoding unit 102 and determining the level of error resilience. In the image encoding unit 102, the encoding processing speed of the input image signal 131 is determined. Is used for adjustments such as changing the bit rate, changing the frame interval, and changing the level of error resilience.

一方、手順S1001でパケット損失率が“0”であった場合は、手順S1004でパラメータ変更なしとなる。これは判断方法の一例であり、手順S1001の判断基準を“0”かそれ以外とせずある閾値で判断する場合や、上記式(1)以外の数式に基づいてビットレートを求める等、これ以外の判断方法をとることも可能である。   On the other hand, if the packet loss rate is “0” in step S1001, no parameter is changed in step S1004. This is an example of a determination method, and other cases such as determining the bit rate based on a mathematical expression other than the above equation (1) when determining with a threshold value that is not “0” or other than the determination criterion of step S1001 It is also possible to take the determination method.

このように、第1の実施形態においては、画像を取り込む画像入力手段と、前記画像入力手段から出力された画像信号を符号化する画像符号化手段と、前記画像符号化手段から出力された画像符号化データをネットワークに送信する送信手段と、ネットワークの状態に関するネットワーク情報を受信するネットワーク情報受信手段と、前記ネットワーク情報受信手段で受信した前記ネットワーク情報からネットワークの状態を判定するネットワーク状態判定手段とを有し、前記画像符号化手段が前記ネットワーク状態判定手段により判定されたネットワーク状態情報により処理動作が制御されるようにしたことを特徴とするものである。   As described above, in the first embodiment, an image input unit that captures an image, an image encoding unit that encodes an image signal output from the image input unit, and an image output from the image encoding unit. Transmitting means for transmitting encoded data to the network; network information receiving means for receiving network information relating to the state of the network; network state determining means for determining the network state from the network information received by the network information receiving means; And the image encoding means is controlled by the network status information determined by the network status determination means.

従って、本実施形態を用いることで伝送ネットワークの帯域が不明の場合や、途中で変化した場合にでも、受信側のネットワーク情報を元にパラメータ等を再設定し、現在のネットワークに合ったパラメータで画像を符号化、送信することが可能となる。これにより、ネットワークが混雑してきた場合でもビットレートを自動的に落とし、画質は低下するが遅延があまり発生したり、パケット損失により画像が壊れるなどの現象が出ずに画像を通信することが可能となる。これは、リアルタイムの画像伝送に非常に有効な方法となる。   Therefore, by using this embodiment, even if the bandwidth of the transmission network is unknown or changes in the middle, the parameters etc. are reset based on the network information on the receiving side, and the parameters suitable for the current network are used. Images can be encoded and transmitted. As a result, even when the network is congested, the bit rate is automatically reduced, and the image quality is reduced, but it is possible to communicate the image without causing a phenomenon such as a delay that occurs or an image being corrupted due to packet loss. It becomes. This is a very effective method for real-time image transmission.

なお、第1の実施形態は次のように変形して実施可能である。一例を示すと、図11の如きである。この図11にはネットワーク状態判定部105でのネットワーク状態の判定方法の図10以外の例をあげる。ここで特徴的なのは、図10のフローチャートがパケット損失率のみでパラメータを設定しているのに対し、図11の方法では、手順S1104でパケット損失がない場合でも遅延量を調べるようにし、その結果、ある値以上に遅延しているようなら、やはりネットワークが混雑していると判断する。そして、ネットワークが混雑していると判断された場合、手順S1105において例えば次の式(2)を用いて、ビットレートを計算し、新たなパラメータとする。
b′=b×{(TN−TS)+(d−dth)}/(TN−TS) …(2)
ここで、bは現在のビットレート、b′は新しいビットレート、Tは現在の時刻、Tは開始時刻、dは遅延時間、dthは遅延時間の閾値である。
The first embodiment can be implemented by being modified as follows. An example is shown in FIG. FIG. 11 shows an example of a network state determination method in the network state determination unit 105 other than that in FIG. What is characteristic here is that, in the flowchart of FIG. 10, the parameters are set only by the packet loss rate, but in the method of FIG. 11, the delay amount is checked even in the case where there is no packet loss in step S1104. If it is delayed more than a certain value, it is determined that the network is still congested. If it is determined that the network is congested, in step S1105, for example, using the following equation (2), the bit rate is calculated and set as a new parameter.
b ′ = b × {(T N −T S ) + (d−d th )} / (T N −T S ) (2)
Here, b is the current bit rate, b 'is the new bit rate, T N is the current time, T S is the start time, d is the delay time, d th is the threshold of the delay time.

図1の構成を発展させて、ネットワーク状態判定部105にネットワーク状態情報136を生成する機能を持たせて画像符号化部102に与えるようにした例を図2に示す。   FIG. 2 shows an example in which the configuration of FIG. 1 is developed so that the network state determination unit 105 has a function of generating network state information 136 and is provided to the image encoding unit 102.

すなわち、図2に示す構成の場合は、ネットワーク状態判定部105に、現在の画像符号化部102の現在のパラメータを取得する機能と、これにより取得した現在のパラメータとネットワーク情報135とから次にどのようなパラメータ設定をしたらいいかというネットワーク状態情報136を生成して画像符号化部102に与える機能を持たせたものである。   That is, in the case of the configuration illustrated in FIG. 2, the network state determination unit 105 obtains the current parameter of the current image encoding unit 102, the current parameter acquired thereby, and the network information 135. The network state information 136 indicating what parameter settings should be generated is generated and given to the image encoding unit 102.

この構成の場合、ネットワーク状態判定部105で画像のパラメータすなわち、画像符号化部102において現在行っている符号化処理の状態を知ることができることを意味するから、ビットレートなどをネットワーク状態判定部105の方で計算して把握することが可能となる。これは、ネットワーク情報135とパラメータ情報137を比較して、ネットワークの状態を判定する場合などに有利になる。そして、ネットワークの状態に合わせて最適なビットレートとなるようにパラメータを変更し、画像符号化部102に与えて符号化処理を調整することができる仕組みを実現できることになる。   In the case of this configuration, it means that the network state determination unit 105 can know the image parameters, that is, the state of the encoding process currently performed in the image encoding unit 102. It is possible to calculate and grasp by This is advantageous when the network information 135 and the parameter information 137 are compared to determine the network status. Then, it is possible to realize a mechanism in which parameters can be changed so as to obtain an optimum bit rate in accordance with the state of the network and can be given to the image encoding unit 102 to adjust encoding processing.

このように、本発明は、伝送路の伝送状態に合わせて伝送を調整したり、誤り耐性を変更するものであり、伝送状態の調整はビットレートを変えたり、フレーム間隔を変えるなどして行い、伝送路の品質の変動に対しては、伝送路の伝送状態に合わせ、誤り耐性を切り替える(例えば、MPEG4同期信号の間隔を変えるなどして、誤り耐性を変更する)ことで伝送路の状態対応の伝送を行うことができ、以て、最大限に効率よくデータ伝送できるようにして、リアルタイム性が要求される伝送についても十分に利用可能にしたデータ伝送を可能にするものである。   As described above, the present invention adjusts the transmission according to the transmission state of the transmission line or changes the error tolerance. The transmission state is adjusted by changing the bit rate or changing the frame interval. In response to fluctuations in the quality of the transmission line, the state of the transmission line is changed by switching the error resistance according to the transmission state of the transmission line (for example, changing the error resistance by changing the interval of the MPEG4 synchronization signal). Therefore, it is possible to perform data transmission in such a manner that data transmission can be performed to a maximum extent and efficiently so that even a transmission requiring real-time property can be used sufficiently.

別の例を図3に示す。   Another example is shown in FIG.

図3では図2の構成をさらに発展させ、ネットワーク状態判定部105の中に過去のネットワーク情報を格納しておくネットワーク情報格納部301と、現在の画像符号化部102の適用している符号化パラメータ情報を格納した符号化パラメータ情報格納部302とを有する構成としたものである。ネットワーク状態判定部303は、これらより過去のネットワーク情報と現在の符号化パラメータとを知り、これらよりネットワーク状態の時間的な推移を判断して画像符号化部102に与える最適なパラメータを決定し、画像符号化部102に与える。   In FIG. 3, the configuration of FIG. 2 is further developed, and the network information storage unit 301 that stores the past network information in the network state determination unit 105 and the encoding applied by the current image encoding unit 102. The encoding parameter information storage unit 302 stores parameter information. The network state determination unit 303 knows the past network information and the current encoding parameter from these, determines the temporal transition of the network state from these, determines the optimum parameter to be given to the image encoding unit 102, This is given to the image encoding unit 102.

この構成によれば、時間的なネットワーク情報の推移を見ることで、ネットワークの状態をより正確に判定することが可能となる特徴が得られる。図12に、この方式を用いた場合でのネットワーク状態判定方法のフローチャートを示す。   According to this configuration, it is possible to obtain a feature that makes it possible to more accurately determine the state of the network by looking at the transition of the network information over time. FIG. 12 shows a flowchart of a network state determination method when this method is used.

このフローチャートに従ってネットワーク状態判定部303の処理を説明すると、ネットワーク状態判定部303はまず、手順S1201でパケット損失があるかどうかの判定を行い、その判定の結果、パケット損失がある場合、手順S1202によって、前回もパケット損失が発生していたかどうかの判定を行う。その結果、前回もパケット損失が起きていた場合、その損失率を比較し、前回のパケット損失率より今回のパケット損失率が上回っていると、前回の修正が有効でなかったと判断できる。   The processing of the network state determination unit 303 will be described with reference to this flowchart. First, the network state determination unit 303 determines whether or not there is a packet loss in step S1201. Then, it is determined whether or not packet loss has occurred in the previous time. As a result, when packet loss has occurred in the previous time, the loss rates are compared. If the current packet loss rate exceeds the previous packet loss rate, it can be determined that the previous correction was not effective.

これは、ネットワークの輻輳のような伝送データの帯域オーバーが問題なのではなく、回線上にノイズのようなものが発生し、データを破壊している可能性が高いことを意味していると判断できる。よって、ネットワーク状態判定部303は手順S1204においてはビットレートを変動せず、誤りに強くなるようなパラメータの設定を行い、手順S1205で画像符号化部102に通知する。   It is judged that this means that there is a high possibility that data such as noise is generated on the line and the data is destroyed, rather than the transmission data being over bandwidth such as network congestion. it can. Therefore, the network state determination unit 303 sets parameters that are resistant to errors without changing the bit rate in step S1204, and notifies the image encoding unit 102 in step S1205.

ネットワーク状態判定部303は、手順S1203において今回のパケット損失率が前回のパケット損失率を下回っていれば、前回の変更が有効に働いていたとして、手順S1206においてパケット損失率から有効ビットレートを再計算する。また、手順S1202において前回はパケット損失が発生していない場合、今回の損失は回線のノイズと判定、手順1204に進む。   If the current packet loss rate is lower than the previous packet loss rate in step S1203, the network state determination unit 303 re-establishes the effective bit rate from the packet loss rate in step S1206, assuming that the previous change has worked effectively. calculate. If no packet loss has occurred in the previous step in step S1202, the current loss is determined as line noise, and the process proceeds to step 1204.

一方、ネットワーク状態判定部303は手順S1201においてパケット損失がなかった場合には、手順S1207に進み遅延量を調べることになる。そして、その結果、遅延量が閾値Thを超えた場合、手順S1208で遅延量から有効ビットレートを計算し、手順S1205にて画像符号化部102に通知することになる。   On the other hand, if there is no packet loss in step S1201, the network state determination unit 303 proceeds to step S1207 and checks the delay amount. As a result, when the delay amount exceeds the threshold Th, an effective bit rate is calculated from the delay amount in step S1208, and the image encoding unit 102 is notified in step S1205.

最後に、ネットワーク状態判定部303は手順S1207で遅延量も閾値Thを超えていない場合は良好な通信が出来ていると判断して、手順S1209において特にパラメータの変更を行わないこととする。   Finally, the network state determination unit 303 determines that good communication is being performed when the delay amount does not exceed the threshold Th in step S1207, and does not particularly change the parameter in step S1209.

ネットワーク状態判定部303にこのような処理を行わせることで、ネットワーク状態判定部105には伝送路上で起きているパケット損失がネットワークの輻輳かそれとも無線などの回線状態が悪くノイズが発生し損失が起きているのかを判断することが可能な機能を持たせることができるようになる。   By causing the network state determining unit 303 to perform such processing, the network state determining unit 105 causes the packet loss occurring on the transmission path to be network congestion or the state of the line such as wireless to be bad and noise to occur. It becomes possible to have a function that can determine whether it is happening.

これは、一例であり、例えば手順S1202で前回はパケット損失がない場合をノイズだと判定せず、逆にネットワークの輻輳だと思いビットレートを下げる制御を行ったり、手順S1203で前回のパケット損失率より今回のパケット損失率が改善されていれば、前回どのような変更を行ったかを調べ、それと同様のパラメータ変更を行うということも考えられる。このように本方式では様々な判定方式をネットワークに合わせ設定することが可能である。   This is an example. For example, when there is no packet loss in the previous step S1202, it is not determined as noise, and conversely, it is considered that the network is congested, or the bit rate is reduced, or the previous packet loss is performed in step S1203. If the packet loss rate of this time is improved from the rate, it is possible to investigate what kind of change was made last time and change the same parameter. Thus, in this method, various determination methods can be set according to the network.

以上は、ネットワーク状態判定部105で決定され、与えられた符号化パラメータに基づいて画像符号化部102が符号化処理する例を示したが、ネットワーク状態判定部105ではなく、画像符号化部102によりパラメータを決定する構成とすることもできる。その例を図4に示す。   The above is an example in which the image encoding unit 102 performs encoding processing based on the given encoding parameter determined by the network state determination unit 105. However, the image encoding unit 102 is not the network state determination unit 105. The parameter may be determined by An example is shown in FIG.

図4に画像符号化部102で符号化パラメータを決定する場合の構成を含んだブロック図を示す。この例の場合、画像符号化部102は符号化パラメータ決定部401と信号処理部402とから構成される。   FIG. 4 is a block diagram including a configuration when the image encoding unit 102 determines encoding parameters. In this example, the image encoding unit 102 includes an encoding parameter determination unit 401 and a signal processing unit 402.

この構成の場合、ネットワーク状態判定部105はネットワーク状態判定部303からネットワーク状態情報136を出力して画像符号化部102に与える構成とする。   In the case of this configuration, the network state determination unit 105 outputs the network state information 136 from the network state determination unit 303 and supplies the network state information 136 to the image encoding unit 102.

このような構成において、ネットワーク状態判定部105では、そのネットワーク状態判定部303から出されたネットワーク状態情報136は、画像符号化部102に与える。すると、画像符号化部102では、ネットワーク状態情報136はまず符号化パラメータ決定部401に入力され、符号化パラメータ決定部401はこのネットワーク状態情報136からネットワーク状態を知ってネットワーク状態に適合した形の符号化パラメータ431を生成させる。   In such a configuration, the network state determination unit 105 gives the network state information 136 output from the network state determination unit 303 to the image encoding unit 102. Then, in the image encoding unit 102, the network state information 136 is first input to the encoding parameter determination unit 401, and the encoding parameter determination unit 401 knows the network state from the network state information 136 and has a form adapted to the network state. The encoding parameter 431 is generated.

生成された符号化パラメータ431は信号処理部402に入力される。すると、この信号処理部402は画像入力部101から入力された画像信号131をこの符号化パラメータ431を使い、符号化する。   The generated encoding parameter 431 is input to the signal processing unit 402. Then, the signal processing unit 402 encodes the image signal 131 input from the image input unit 101 using the encoding parameter 431.

符号化後の符号量などの符号化情報432は符号化パラメータ決定部401に入力され、次回の符号化パラメータ決定の際に利用される。信号処理部402で符号化された符号化データ132は符号化データ送信部103へ出力される。   Encoding information 432 such as the amount of code after encoding is input to the encoding parameter determination unit 401 and is used when determining the next encoding parameter. The encoded data 132 encoded by the signal processing unit 402 is output to the encoded data transmission unit 103.

図5は、図4で示した符号化パラメータ決定部401において、フレーム内符号化を強制的に設定するフレーム内符号化判定部501を含む構成を示したブロック図である。図に示すように、符号化パラメータ決定部401は、フレーム内符号化判定部501と符号化パラメータ決定部502とを備えて構成されている。   FIG. 5 is a block diagram illustrating a configuration including an intra-frame coding determination unit 501 for forcibly setting intra-frame coding in the coding parameter determination unit 401 illustrated in FIG. As shown in the figure, the encoding parameter determination unit 401 includes an intra-frame encoding determination unit 501 and an encoding parameter determination unit 502.

この構成の場合、ネットワーク状態判定部105から出力されたネットワーク状態情報136は符号化パラメータ決定部401の持つ符号化パラメータ決定部502に入力され、当該符号化パラメータ決定部502からはネットワーク状態情報136対応の符号化パラメータ情報531が出力される。   In the case of this configuration, the network state information 136 output from the network state determination unit 105 is input to the encoding parameter determination unit 502 included in the encoding parameter determination unit 401, and the network state information 136 is input from the encoding parameter determination unit 502. Corresponding encoding parameter information 531 is output.

符号化パラメータ情報531はフレーム内符号化判定部501に入力され、そのままフレーム間符号化を行うのかそれともフレーム内符号化に強制的にするのかを判断する。もしフレーム内符号化と判断された場合、ここで符号化パラメータ情報531はフレーム内符号化を行うように更新され、符号化パラメータ情報431として、図4における画像符号化部102の信号処理部402へ出力される。   The encoding parameter information 531 is input to the intra-frame encoding determination unit 501 and determines whether to perform inter-frame encoding as it is or to force intra-frame encoding. If it is determined that the coding is intraframe coding, the coding parameter information 531 is updated so as to perform the intraframe coding, and the signal processing unit 402 of the image coding unit 102 in FIG. Is output.

このようにすることで、以前のデータが受信側に正しく伝送されていなくても、パラメータ変更後から正しく受信できれば、正しい画像を再生することが出来るような構成になる。   In this way, even if the previous data is not correctly transmitted to the receiving side, a correct image can be reproduced if it can be received correctly after the parameter change.

画像符号化部102とネットワーク状態判定部105の機能を併せ持つようなネットワーク状態判定可能な画像符号化部を構成し、一つのブロックの中で前述してきたような機能を持たせることも可能である。   It is also possible to configure an image encoding unit capable of determining a network state having both functions of the image encoding unit 102 and the network state determination unit 105, and to have the functions described above in one block. .

符号化パラメータ決定部401やネットワーク状態判定部105では、次の符号化パラメータ設定に関わる判断を行うのであるが、一時的なネットワークの不安定さによって急激に画質が変動したりすると逆に見にくい映像になってしまったりする場合がある。このような現象を抑制するために、符号化パラメータの変動をある程度の範囲内に押さえる機構を入れることも可能であり、上記のような状況では有効に機能する。   The encoding parameter determination unit 401 and the network state determination unit 105 make a determination related to the next encoding parameter setting. On the other hand, if the image quality changes suddenly due to temporary instability of the network, the video is difficult to see. It may become. In order to suppress such a phenomenon, it is possible to include a mechanism for suppressing the fluctuation of the encoding parameter within a certain range, and it functions effectively in the above situation.

ビットレートの設定や、誤り耐性パラメータの設定は算出されたもの通りに設定する場合もあるが、例えばある程度予めパターンを決めておき、その中から一番近いものを選択するという方法を取ることも可能である。また、一番近いものではなく、ビットレートでは算出したビットレート以下のもので最も近いものを選択するなどの使い方も可能である。これにより、様々なパラメータの組み合わせにより予期しない画質の映像が出ることを防ぐことができ、ある程度テスト済みの符号化パラメータの組み合わせを用意しておくことが可能となる。   The bit rate setting and error resilience parameter setting may be set as calculated. For example, a pattern may be determined in advance, and the closest one may be selected. Is possible. Also, it is possible to use a method such as selecting the closest bit rate that is equal to or lower than the calculated bit rate instead of the closest one. As a result, it is possible to prevent an image with unexpected image quality from being produced by various parameter combinations, and it is possible to prepare combinations of encoding parameters that have been tested to some extent.

以上の例では、パケット損失率が“0”でなかったり、遅延が閾値を超えた場合に、ビットレートや誤り耐性などのパラメータを変更し、現状に合ったパラメータに設定し直すような制御を行ってきた。   In the above example, when the packet loss rate is not “0” or the delay exceeds the threshold, the parameters such as the bit rate and error resilience are changed, and control is performed so as to reset the parameters to the current conditions. I went.

しかし、ネットワークの状態が回復し、パケット損失が発生しなくなったり、遅延が小さくなった場合には、逆にビットレートを上げたり、誤り耐性パラメータを弱くしたりする制御を行うことも可能である。   However, if the network condition recovers and packet loss does not occur or the delay becomes small, it is possible to increase the bit rate or weaken the error resilience parameter. .

そのような例を第2の実施形態として次に説明する。   Such an example will be described next as a second embodiment.

(第2の実施形態)
図6は本発明の第2の実施形態に係る画像送信装置の基本構成図である。図6において、601は蓄積媒体、602は符号化データ切り替え部、603は符号化データ選択部であり、また、103は符号化データ送信部、104はネットワーク情報受信部、105はネットワーク状態判定部である。
(Second Embodiment)
FIG. 6 is a basic configuration diagram of an image transmission apparatus according to the second embodiment of the present invention. In FIG. 6, 601 is a storage medium, 602 is an encoded data switching unit, 603 is an encoded data selecting unit, 103 is an encoded data transmitting unit, 104 is a network information receiving unit, and 105 is a network state determining unit. It is.

これらのうち、蓄積媒体601は予め符号化されたコンテンツの符号化データ631を保存するためのものであり、複数あるものとする。各蓄積媒体601にはそれぞれ異なる符号化パラメータで符号化された同一コンテンツの符号化データが保存してある。   Of these, the storage medium 601 is for storing encoded data 631 of content encoded in advance, and there are a plurality of storage media. Each storage medium 601 stores encoded data of the same content encoded with different encoding parameters.

符号化データ切り替え部602はこれら複数の蓄積媒体601のうちの一つを選択してその選択した蓄積媒体601に保持されている符号化データ631を、前記符号化データ送信部103に与えるべく、蓄積媒体601を選択切り替えするものであって、この選択は符号化データ選択部603からの切り替え情報632に従って実施される構成である。   The encoded data switching unit 602 selects one of the plurality of storage media 601 and supplies the encoded data 631 held in the selected storage medium 601 to the encoded data transmission unit 103. The storage medium 601 is selectively switched, and this selection is performed according to switching information 632 from the encoded data selection unit 603.

ネットワーク情報受信部104は、受信側からの送信データを受信するものであって、受信側や網側から送られてくるパケット損失率や遅延情報等のネットワーク情報134を受信してこれをネットワーク状態判定部105にネットワーク情報135として与える機能を有する。   The network information receiving unit 104 receives transmission data from the receiving side, receives network information 134 such as packet loss rate and delay information sent from the receiving side and the network side, and receives the network information 134 from the network state. The determination unit 105 has a function of giving it as network information 135.

また、ネットワーク状態判定部105は入力されたネットワーク情報135からネットワークの状態を判定し、その結果をネットワーク状態情報136として符号化データ選択部603へ出力するものであり、符号化データ選択部603はこのネットワーク状態情報136からどの符号化パラメータの符号化データが現在のネットワークに最適であるかを推測して、その推測した最適な符号化パラメータによる符号化データを出力として選択すべく、切り替えるための切り替え情報632を符号化データ切り替え部602へ出力する機能を有する。   The network state determination unit 105 determines the state of the network from the input network information 135 and outputs the result as the network state information 136 to the encoded data selection unit 603. The encoded data selection unit 603 The network state information 136 is used to estimate which encoding data of the encoding parameter is optimal for the current network, and to switch to select the encoded data based on the estimated optimal encoding parameter as an output. It has a function of outputting the switching information 632 to the encoded data switching unit 602.

符号化データ切り替え部602ではこの切り替え情報632をもとに、入力された符号化データ631の中から1つの符号化データを選択し、符号化データ132を出力することになる。   The encoded data switching unit 602 selects one encoded data from the input encoded data 631 based on the switching information 632 and outputs the encoded data 132.

このような構成において、予め符号化されて蓄積媒体601などに保存されていた符号化データ631は、蓄積媒体601から再生させると符号化データ切り替え部602に入力される。すなわち、複数ある蓄積媒体601にはそれぞれ、異なる符号化パラメータで符号化されたそれぞれの符号化データが保持されており、これらを再生する結果、符号化データ切り替え部602には、それぞれ異なる符号化パラメータで符号化された符号化データが入力されることになる。そして、符号化データ切り替え部602は、この中から一つを選択して符号化データ送信部103へ出力する。   In such a configuration, encoded data 631 that has been encoded and stored in the storage medium 601 or the like in advance is input to the encoded data switching unit 602 when reproduced from the storage medium 601. That is, each of the plurality of storage media 601 holds respective encoded data encoded with different encoding parameters, and as a result of reproducing these, the encoded data switching unit 602 has different encoding data. Encoded data encoded with parameters is input. Then, the encoded data switching unit 602 selects one of them and outputs it to the encoded data transmission unit 103.

なお、この選択は符号化データ選択部603からの切り替え情報632に従って実施される。   This selection is performed according to the switching information 632 from the encoded data selection unit 603.

一方、受信側からのパケット損失率や遅延情報等のネットワーク情報134はネットワーク情報受信部104で受信され、ネットワーク状態判定部105に送られる。ネットワーク状態判定部105では入力されたネットワーク情報135からネットワークの状態を判定し、その結果をネットワーク状態情報136として符号化データ選択部603へ出力する。   On the other hand, network information 134 such as packet loss rate and delay information from the receiving side is received by the network information receiving unit 104 and sent to the network state determining unit 105. The network state determination unit 105 determines the network state from the input network information 135 and outputs the result to the encoded data selection unit 603 as the network state information 136.

符号化データ選択部603ではネットワーク状態情報136からどの符号化パラメータの符号化データが現在のネットワークに最適かを推測し、切り替え情報632を符号化データ切り替え部602へ出力する。   The encoded data selection unit 603 infers from the network state information 136 which encoding parameter encoding data is optimal for the current network, and outputs the switching information 632 to the encoded data switching unit 602.

符号化データ切り替え部602ではこの切り替え情報632をもとに、入力された符号化データ631の中から1つの符号化データを選択し、符号化データ132を出力する。   The encoded data switching unit 602 selects one encoded data from the input encoded data 631 based on the switching information 632 and outputs the encoded data 132.

具体的な例で本実施形態を説明する。いま、蓄積媒体601として、例えば、384[kbps]、128[kbps]、64[kbps]、32[kbps]、16[kbps]で符号化された5つの符号化データが保存された5台の記憶媒体601a〜601eが存在するものとする。   This embodiment will be described with a specific example. Now, as the storage medium 601, for example, five units in which five encoded data encoded at 384 [kbps], 128 [kbps], 64 [kbps], 32 [kbps], and 16 [kbps] are stored are stored. It is assumed that the storage media 601a to 601e exist.

すなわち、例えば、384[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体が記憶媒体601a、128[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体が記憶媒体601b、64[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体が記憶媒体601c、32[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体が記憶媒体601d、16[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体が記憶媒体601eである。   That is, for example, the storage medium storing the encoded data of the content encoded at 384 [kbps] is the storage medium 601a, and the storage medium storing the encoded data of the content encoded at 128 [kbps] is the storage medium The storage medium storing the encoded data of the content encoded at 601b and 64 [kbps] is the storage medium 601c, and the storage medium storing the encoded data of the content encoded at 32 [kbps] is the storage medium 601d, A storage medium 601e is a storage medium that stores encoded data of content encoded at 16 [kbps].

384[kbps]で送信できる品質を持つ伝送路を用いている場合、まずは384[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体である記憶媒体601aによる再生符号化データを選択させ、384[kbps]で送信を開始し、受信側からのネットワーク情報の受信も同時に開始する。   When a transmission path having a quality that can be transmitted at 384 [kbps] is used, first, the reproduction encoded data by the storage medium 601a which is a storage medium storing the encoded data of the content encoded at 384 [kbps] is selected. Then, transmission is started at 384 [kbps], and reception of network information from the receiving side is also started at the same time.

ある間隔でネットワーク情報を受信するが、その情報によりネットワークになんらかの支障があり、パケット損失や遅延が発生しているとわかった段階で、有効なビットレートを算出する。そして、その算出したビットレートに近いビットレートの符号化データを符号化データ選択部603で選択し、符号化データ切り替え部602で切り替え、送信することとなる。   Network information is received at a certain interval, but an effective bit rate is calculated when it is found that the information has some trouble in the network and packet loss or delay occurs. Then, encoded data having a bit rate close to the calculated bit rate is selected by the encoded data selection unit 603, switched by the encoded data switching unit 602, and transmitted.

例えば、算出したビットレートが140[kbps]であれば、このビットレートに近い値を持つのは128[kbps]であり、この場合には128[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体601bの再生している符号化データを選択して切り替えるようにし、算出したビットレートが100[kbps]であれば、これ以下でのビットレートで近い値を持つのは64[kbps]であり、この場合には64[kbps]で符号化されたコンテンツの符号化データを保存した記憶媒体601cの再生している符号化データを選択して切り替えるようにすると云った具合である。   For example, if the calculated bit rate is 140 [kbps], the value close to this bit rate is 128 [kbps]. In this case, the encoded data of the content encoded at 128 [kbps] If the calculated bit rate is 100 [kbps] and the calculated bit rate is 100 [kbps], the bit rate below this is 64 [ kbps], and in this case, the encoded data reproduced from the storage medium 601c storing the encoded data of the content encoded at 64 [kbps] is selected and switched. .

このように、本実施形態はコンテンツを、伝送ビットレートの種別対応に、予め符号化を行って用意しておき、RTPの持つ機能である受信側からのパケット損失率や遅延情報等のネットワーク情報に基づいて現在の最適な伝送レートを求め、この伝送レートに対応するビットレートの得られる符号化データを保存した記憶媒体の再生符号化データ出力に選択切り替えて伝送するようにしたので、サーバ側でリアルタイムに符号化を行うという処理が必要がなくなり、サーバの負荷を軽減することが可能となる。これは特に放送などの予め作られた映像を配信する際に非常に有効な手段となる。   As described above, in the present embodiment, contents are prepared by encoding in advance corresponding to the type of transmission bit rate, and network information such as packet loss rate and delay information from the receiving side, which is a function of RTP. The current optimum transmission rate is calculated based on the transmission rate, and the encoded data that obtains the bit rate corresponding to this transmission rate is selectively switched to the reproduced encoded data output of the storage medium that is stored and transmitted. Thus, it is not necessary to perform real-time encoding, and the load on the server can be reduced. This is a very effective means for distributing pre-made videos such as broadcasts.

ここで、第2の実施形態の変形例について触れておく。これは図7に示す如き構成であって、ここには符号化データ切り替え部602において、入力される符号化データの切り替えタイミングについての制御を行う方法についてのブロック図を示してある。   Here, a modification of the second embodiment will be described. This is a configuration as shown in FIG. 7, in which a block diagram of a method for controlling the switching timing of input encoded data in the encoded data switching unit 602 is shown.

符号化データ631は切り替え位置検出部701と切り替え部702に入力される。切り替え位置検出部701では、切り替え情報632が入力される。切り替え情報632により現在の符号化データから他の符号化データへ切り替えを実行する必要が生じた際、切り替え位置検出部701では符号化データを解析し、切り替え可能な位置の検出を行う。   The encoded data 631 is input to the switching position detection unit 701 and the switching unit 702. In the switching position detection unit 701, switching information 632 is input. When the switching information 632 makes it necessary to perform switching from the current encoded data to another encoded data, the switching position detection unit 701 analyzes the encoded data and detects a switchable position.

これは例えばフレーム内符号化(I−Picture)で符号化されたフレームを探すということである。   This means, for example, searching for a frame encoded by intra-frame encoding (I-Picture).

そして、切り替え可能位置になったところで、切り替え部702に切り替え指示情報731を用いて符号化データの切り替えを指示を行う。図8には、この様子を図で示したものを示す。Aの符号化データが現在選択されていて、切り替え情報632によりBの符号化データへの切り替えを行う必要が生じたとする。   When the switchable position is reached, the switching unit 702 is instructed to switch the encoded data using the switching instruction information 731. FIG. 8 is a diagram showing this state. Assume that the A encoded data is currently selected, and it is necessary to switch to the B encoded data by the switching information 632.

その時点では、図8中の“切り替え指示”時点でのフレームを処理していたと仮定する。その場合、ここで符号化データを切り替えてしまうと画像に不整合が生じてしまう。なぜなら、フレーム間符号化(P−Picture)では、前の画像との差分を符号化している。そのため、P−Pictureの時点で符号化データを切り替えてしまうと、直前の画像(符号化データ(A)の復号画像I11)を使って次の画像(符号化データ(B)の画像P11)を再生しようとすることとなってしまう。   At that time, it is assumed that the frame at the time of “switching instruction” in FIG. 8 has been processed. In that case, if the encoded data is switched here, the image will be inconsistent. This is because, in inter-frame coding (P-Picture), the difference from the previous image is coded. Therefore, if the encoded data is switched at the time of P-Picture, the next image (the image P11 of the encoded data (B)) is used using the immediately preceding image (the decoded image I11 of the encoded data (A)). Will end up trying to play.

これでは正しい復号画像が得られず、画像が壊れてしまうという問題点がある。   In this case, there is a problem that a correct decoded image cannot be obtained and the image is broken.

そこで、前の画像との差分ではなく、そのフレームだけで符号化を行うフレーム内符号化(I−Picture)の画像のタイミングで切り替えを行う必要が出てくる。これが図8の“切り替え実行”のマーク位置でのタイミングになる。   Therefore, it is necessary to perform switching at the timing of an intra-frame coding (I-Picture) image in which coding is performed only on the frame, not on a difference from the previous image. This is the timing at the “switch execution” mark position in FIG.

また、図9のようにフレームの枚数や時間位置が符号化データ毎に異なる場合も考えられる。その際も、同様に切り替え先の符号化データの切り替え可能位置を検出し、可能位置に来たところで符号化データの切り替えを実行する。   In addition, as shown in FIG. 9, the number of frames and the time position may be different for each encoded data. At that time, similarly, the switchable position of the encoded data of the switching destination is detected, and the encoded data is switched when it reaches the possible position.

図7の切り替え位置検出部701において、切り替え情報632で切り替えの必要が生じた場合に、一時的に符号化データ送信部103への出力132を停止し、切り替え位置が来た段階で新しい符号化データを符号化データ送信部103へ出力する方法も可能である。   In the switching position detection unit 701 in FIG. 7, when the switching information 632 needs to be switched, the output 132 to the encoded data transmission unit 103 is temporarily stopped, and a new encoding is performed when the switching position comes. A method of outputting data to the encoded data transmission unit 103 is also possible.

これは、符号化データの切り替えにより、バッファのオーバーフローなどを抑制する必要がある場合に有効である。また、逆にアンダーフローが問題になる場合は、スタッフィングビットなどを強制的に挿入することでも対処可能である。   This is effective when it is necessary to suppress buffer overflow or the like by switching encoded data. Conversely, if underflow becomes a problem, it can be dealt with by forcibly inserting a stuffing bit or the like.

(第3の実施形態)
次に、第3の実施形態について説明する。
(Third embodiment)
Next, a third embodiment will be described.

本実施形態では、第1の実施形態の図4の画像符号化部102の符号化パラメータ決定部401において、ネットワーク状態判定部105から出力されたネットワーク状態情報136に基づき、フレーム内符号化モードで符号化する時間間隔(GOP間隔)を調整するようにした場合の構成例について説明する。なお、ここでは、第1の実施形態と相違する点を中心に説明する。   In the present embodiment, in the encoding parameter determination unit 401 of the image encoding unit 102 of FIG. 4 of the first embodiment, based on the network state information 136 output from the network state determination unit 105, the intraframe encoding mode is used. A configuration example when the encoding time interval (GOP interval) is adjusted will be described. Here, the description will focus on the differences from the first embodiment.

図15に、この場合の符号化パラメータ決定部401の構成例を示す。このように、GOP間隔計算部1501と符号化パラメータ決定部502とを備えて構成されている。   FIG. 15 shows a configuration example of the encoding parameter determination unit 401 in this case. As described above, the GOP interval calculation unit 1501 and the encoding parameter determination unit 502 are provided.

ネットワーク状態判定部105から出力されたネットワーク状態情報136(ここでは、少なくともパケット損失率情報が含まれているものとする)は、符号化パラメータ決定部502に入力される。パラメータ決定部502では、ネットワーク状態情報136のパケット損失率情報1531をGOP間隔計算部1501に入力する。GOP間隔計算部1501では、パケット損失率情報1531からGOP間隔を計算する。GOP間隔情報1532は、符号化パラメータ決定部401に通知される。符号化パラメータ決定部401では、入力されたGOP間隔情報1532を含む符号化パラメータ情報431を出力する(なお、符号化パラメータ決定部401では、内部で生成したパラメータ情報がある場合には、GOP間隔情報1532と該内部で生成したパラメータ情報を含む符号化パラメータ情報431を出力する)。   The network state information 136 output from the network state determination unit 105 (here, at least the packet loss rate information is included) is input to the encoding parameter determination unit 502. The parameter determination unit 502 inputs the packet loss rate information 1531 of the network state information 136 to the GOP interval calculation unit 1501. The GOP interval calculation unit 1501 calculates the GOP interval from the packet loss rate information 1531. The GOP interval information 1532 is notified to the encoding parameter determination unit 401. The encoding parameter determination unit 401 outputs the encoding parameter information 431 including the input GOP interval information 1532 (in the encoding parameter determination unit 401, if there is internally generated parameter information, the GOP interval The encoded parameter information 431 including the information 1532 and the parameter information generated therein is output).

図16にGOP間隔計算部におけるGOP間隔を決定する方法の一例をフローチャートで示す。   FIG. 16 is a flowchart showing an example of a method for determining the GOP interval in the GOP interval calculator.

手順S1601では、ネットワーク状態情報136からパケット損失が発生したかどうかを判定する。パケット損失が発生していた場合は、手順S1602において例えば次の式(3)よりGOP間隔を推定する。
gop=(TN−TL)/{(FN−FL)×r} …(3)
ここで、gopはGOP間隔、rはパケット損失率、Fは現在のフレーム総数、FLは前回の計算時のフレーム総数、TNは現在の時刻、TLは前回の計算時の時刻である。
In step S1601, it is determined from the network state information 136 whether a packet loss has occurred. If packet loss has occurred, the GOP interval is estimated from the following equation (3) in step S1602, for example.
gop = (T N −T L ) / {(F N −F L ) × r} (3)
Here, gop the GOP interval, r is the packet loss rate, F N is the current total number of frames, F L is total number of frames in the previous calculation, T N is the current time, T L is the time of the previous calculation is there.

手順S1602で求められたGOP間隔は、手順S1603で信号処理部402に通知され、この値に基づいて符号化が行われる。   The GOP interval obtained in step S1602 is notified to the signal processing unit 402 in step S1603, and encoding is performed based on this value.

一方、手順S1601でパケット損失が発生していなかった場合は、手順S1604でデフォルトのGOP間隔値を読み出す。そして、手順S1603で、この値を信号処理部402に通知する。   On the other hand, if no packet loss has occurred in step S1601, the default GOP interval value is read in step S1604. In step S1603, the signal processing unit 402 is notified of this value.

本実施形態によれば、GOP間隔をネットワークに適した値に動的に変化させることが可能となる。これにより、誤りの少ない場合にはGOP間隔を広げ無駄なフレーム内符号化モードを減らすことが可能となる。その反対に、誤りの多い場合にはGOP間隔を狭めフレーム内符号化モードのフレームが早く出現することで回復を早くすることが可能となる。本実施形態では、効率的なフレーム内符号化モードの選択が可能となる。   According to the present embodiment, the GOP interval can be dynamically changed to a value suitable for the network. As a result, when there are few errors, it is possible to widen the GOP interval and reduce the useless intra-frame coding mode. On the other hand, when there are many errors, the GOP interval is narrowed and the frame in the intra-frame coding mode appears earlier so that the recovery can be accelerated. In the present embodiment, it is possible to select an efficient intraframe coding mode.

図17にGOP間隔計算部におけるGOP間隔を決定する方法の他の例をフローチャートで示す。   FIG. 17 is a flowchart showing another example of a method for determining the GOP interval in the GOP interval calculator.

この例では、図16の方式に比べパケット損失が無かった場合でも、手順S1704においてパケット損失の過去の履歴からネットワークの状態を推定し、最適なGOP間隔を計算するようにしている。この手法は、ある瞬間にパケット損失がなかったとしてすぐGOP間隔をデフォルト値に戻すのではなく、過去の履歴を検証し、ネットワークが完全に誤りがない状態になったのか、それとも誤りはまだ発生する可能性があるのかどうかを推定することを可能としている。これにより、より正確なネットワークの状態判定が可能になる。   In this example, even when there is no packet loss compared with the method of FIG. 16, the network state is estimated from the past history of packet loss in step S1704, and the optimum GOP interval is calculated. This method does not immediately return the GOP interval to the default value as soon as there is no packet loss at a certain moment, but examines the past history and whether the network is completely error-free, or an error still occurs It is possible to estimate whether there is a possibility of doing. This makes it possible to more accurately determine the state of the network.

図18にGOP間隔計算部におけるGOP間隔を決定する方法のさらに他の例をフローチャートで示す。   FIG. 18 is a flowchart showing still another example of the method for determining the GOP interval in the GOP interval calculator.

この例では、GOP間隔を決定するのにパケット損失の有り/無しでの判定を行うのではなく、一意の計算方式で決定するようにしている。これは、現在のパケット損失率から一つの式でGOP間隔を決定する場合にも、過去の履歴を検証し一番適したGOP間隔を決定する場合にも利用できる。   In this example, the GOP interval is not determined based on the presence / absence of packet loss, but is determined by a unique calculation method. This can be used when the GOP interval is determined by one equation from the current packet loss rate, or when the most suitable GOP interval is determined by examining past history.

次の式(4)はGOP間隔を決定する際の計算式の例を示したものである。
gop=[(TN−TL)/{(FN−FL)×r}]×α …(4)
ここで、gopはGOP間隔、rはパケット損失率、αは感度係数、FNは現在のフレーム総数、FLは前回の計算時のフレーム総数、TNは現在の時刻、TLは前回の計算時の時刻である。
The following equation (4) shows an example of a calculation equation for determining the GOP interval.
gop = [(T N −T L ) / {(F N −F L ) × r}] × α (4)
Here, gop is the GOP interval, r is the packet loss rate, α is the sensitivity coefficient, F N is the current total number of frames, F L is the total number of frames at the previous calculation, T N is the current time, and T L is the previous time The time of calculation.

この例では、実際の値から算出されたGOP間隔に感度係数を掛け合わせることで、誤りのある場合は効率を犠牲にして早く回復したいといった要求や多少誤りの影響が長引いても構わないといった要求などを満たすことが可能となる。例えば、感度係数αを1よりも小さく設定すると、実測値から計算したGOP間隔よりも短いGOP間隔が出力される。これにより、効率は犠牲になるが、誤りが発生した場合、かなり早い回復を見込むことが可能となる。   In this example, by multiplying the GOP interval calculated from the actual value by the sensitivity coefficient, if there is an error, there is a request to recover quickly at the expense of efficiency, or a request that the influence of the error may be somewhat prolonged. Etc. can be satisfied. For example, when the sensitivity coefficient α is set to be smaller than 1, a GOP interval shorter than the GOP interval calculated from the actual measurement value is output. This sacrifices efficiency, but allows for a much faster recovery if an error occurs.

なお、本実施形態は、式(3),(4)に限定されるものではない。例えばこれらの式は前回計算時からの増分を使って値を算出しているが、n回前からの増分というように幅をとって計算することも可能である。これにより、細かい状態の変化の中に隠れたゆるやかな変化に対応したり、一時的な変化をある程度除去することが可能となる。同様にアルゴリズムも本実施形態で示したものに限定されるものではない。   In addition, this embodiment is not limited to Formula (3) and (4). For example, these formulas calculate the value using an increment from the previous calculation, but it is also possible to calculate by taking a width such as an increment from the previous n times. As a result, it is possible to cope with a gradual change hidden in a fine change in state or to remove a temporary change to some extent. Similarly, the algorithm is not limited to that shown in this embodiment.

また、上記では、第1の実施形態の図4の画像符号化部102の符号化パラメータ決定部401においてネットワーク状態情報136に基づきフレーム内符号化モードで符号化する時間間隔(GOP間隔)を調整する場合の構成例について説明したが、第1の実施形態のネットワーク状態判定部105(図1、図2、または図3)において、ネットワーク情報受信部104からの情報、またはネットワーク情報受信部104からの情報および画像符号化部102からの情報に基づいて、フレーム内符号化モードで符号化する時間間隔(GOP間隔)を決定して、画像符号化部102へ与えるようにする構成も可能である。   In the above description, the encoding parameter determination unit 401 of the image encoding unit 102 of FIG. 4 of the first embodiment adjusts the time interval (GOP interval) for encoding in the intraframe encoding mode based on the network state information 136. In the network state determination unit 105 (FIG. 1, FIG. 2, or FIG. 3) of the first embodiment, information from the network information reception unit 104 or from the network information reception unit 104 has been described. A time interval (GOP interval) for encoding in the intra-frame encoding mode is determined based on the information of the above and the information from the image encoding unit 102, and may be provided to the image encoding unit 102. .

また、第1の実施形態で述べたように、画像符号化部102とネットワーク状態判定部105の機能を併せ持つようなネットワーク状態判定可能な画像符号化部を構成し、一つのブロックの中で前述してきたような機能を持たせることも可能である。   In addition, as described in the first embodiment, an image encoding unit capable of determining the network state having both functions of the image encoding unit 102 and the network state determining unit 105 is configured, and the above-described image encoding unit is included in one block. It is also possible to have the functions as described above.

以上、種々の実施形態を説明したが、要するに本発明は、RTPの特徴を利用するものであって、RTPには送信側や受信側から補足情報としてジッタやパケット損失率などを通知する仕組み(RTCP)を備えており、送信側において受信側から得た補足情報としてのジッタやパケット損失率などの通知をもとに、伝送路の伝送状態に合わせて送信側における送信データのビットレートを調整したり、誤り耐性レベルを変更するなどの制御を実施できるようにしたものである。従って、上述した本発明によれば、最大限に効率よくデータ伝送できるようにして、リアルタイム性が要求される伝送についても十分に利用可能にしたデータ伝送を実現できるようになる。   Although various embodiments have been described above, in short, the present invention uses the characteristics of RTP, and the RTP is notified of jitter, packet loss rate, and the like as supplementary information from the transmission side and the reception side ( RTCP), and adjusts the bit rate of transmission data on the transmission side according to the transmission state of the transmission line based on notifications such as jitter and packet loss rate as supplementary information obtained from the reception side on the transmission side And control such as changing the error resilience level. Therefore, according to the present invention described above, it is possible to realize data transmission that can be efficiently transmitted to the maximum extent and can be sufficiently used for transmission that requires real-time performance.

なお、本発明は上述した実施形態に限定されるものではなく、種々変形して実施可能である。また、本発明において、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題の少なくとも1つが解決でき、発明の効果の欄で述べられている効果の少なくとも1つが得られる場合には、この構成要件が削除された構成が発明として抽出され得る。   The present invention is not limited to the above-described embodiment, and can be implemented with various modifications. In the present invention, the above embodiment includes inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, at least one of the problems described in the column of the problem to be solved by the invention can be solved, and is described in the column of the effect of the invention. When at least one of the effects is obtained, a configuration in which this configuration requirement is deleted can be extracted as an invention.

また、本発明における実施形態に記載した手法は、コンピュータに実行させることのできるプログラムとして、磁気ディスク(フレキシブルディスク、ハードディスクなど)、光ディスク(CD−ROM、CD−R、CD−RW、DVD、MOなど)、半導体メモリなどの記録媒体に格納して頒布することもでき、また、ネットワークを介しての伝送により、頒布することもできる。   In addition, the method described in the embodiment of the present invention uses a magnetic disk (flexible disk, hard disk, etc.), optical disk (CD-ROM, CD-R, CD-RW, DVD, MO) as programs that can be executed by a computer. Etc.), can be stored and distributed in a recording medium such as a semiconductor memory, or can be distributed by transmission via a network.

本発明の第1の実施形態の基本構成例を示す図The figure which shows the basic structural example of the 1st Embodiment of this invention. 同実施形態における一構成例を示す図The figure which shows the example of 1 structure in the embodiment 同実施形態におけるネットワーク状態判定部の構成例を示す図The figure which shows the structural example of the network state determination part in the embodiment 同実施形態における画像符号化部の構成例を示す図The figure which shows the structural example of the image coding part in the embodiment 同実施形態における符号化パラメータ決定部の構成例を示す図The figure which shows the structural example of the encoding parameter determination part in the embodiment 本発明の第2の実施形態における基本構成例を示す図The figure which shows the example of a basic composition in the 2nd Embodiment of this invention. 同実施形態における符号化データ切り替え部の構成例を示す図The figure which shows the structural example of the encoding data switching part in the embodiment 同実施形態における符号化データ切り替え部での符号化データ切り替えタイミングを説明するための図The figure for demonstrating the encoding data switching timing in the encoding data switching part in the embodiment 同実施形態における符号化データ切り替え部でのフレーム間隔の異なる符号化データの切り替えタイミングを説明するための図The figure for demonstrating the switching timing of the encoding data from which the frame interval differs in the encoding data switching part in the embodiment 本発明の第1の実施形態におけるネットワーク状態判定部でのネットワーク状態判定方法の基本例を示すフローチャートThe flowchart which shows the basic example of the network state determination method in the network state determination part in the 1st Embodiment of this invention. 同実施形態におけるネットワーク状態判定部でのネットワーク状態判定方法の遅延対応させた基本例を示すフローチャートThe flowchart which shows the basic example which made the delay correspondence of the network state determination method in the network state determination part in the embodiment 同実施形態におけるネットワーク状態判定部でのネットワーク状態判定方法での時間方向変動を考慮した基本例を示すフローチャートThe flowchart which shows the basic example which considered the time direction fluctuation | variation with the network state determination method in the network state determination part in the embodiment 従来の画像送信装置の構成を示す図The figure which shows the structure of the conventional image transmission apparatus. 従来の独自ネットワーク情報を利用した画像送信装置の構成を示す図The figure which shows the structure of the image transmission apparatus using the conventional original network information 本発明の第3の実施形態に係る構成例を示す図The figure which shows the structural example which concerns on the 3rd Embodiment of this invention. 同実施形態におけるGOP間隔計算部におけるGOP間隔計算方法の一例を示すフローチャートThe flowchart which shows an example of the GOP space | interval calculation method in the GOP space | interval calculation part in the embodiment 同実施形態におけるGOP間隔計算部におけるGOP間隔計算方法の他の例を示すフローチャートThe flowchart which shows the other example of the GOP space | interval calculation method in the GOP space | interval calculation part in the embodiment 同実施形態におけるGOP間隔計算部におけるGOP間隔計算方法のさらに他の例を示すフローチャートThe flowchart which shows the further another example of the GOP space | interval calculation method in the GOP space | interval calculation part in the embodiment. GOPの構造とGOP間隔について説明するための図Diagram for explaining GOP structure and GOP interval 誤りによる復号画像への影響について説明するための図The figure for demonstrating the influence on the decoded image by an error GOP間隔を小さくした場合の誤りによる復号画像への影響について説明するための図The figure for demonstrating the influence on the decoded image by the error at the time of making GOP space | interval small.

符号の説明Explanation of symbols

101…画像入力部、102…画像符号化部、103…符号化データ送信部、104…ネットワーク情報受信部、105…ネットワーク状態判定部、131…画像信号、132…符号化データ、133…送信データ、134…受信データ、135…ネットワーク情報、136…ネットワーク状態情報、137…符号化パラメータ情報、301…ネットワーク情報格納部、302…符号化パラメータ格納部、303…ネットワーク状態判定部、331…ネットワーク情報、332…符号化パラメータ情報、401…符号化パラメータ決定部、402…信号処理部、431…符号化パラメータ情報、432…符号化情報、501…フレーム内符号化判定部、502…号化パラメータ決定部、531…符号化パラメータ情報、601…蓄積媒体、602…符号化データ切り替え部、603…符号化データ選択部、631…号化データ、632…切り替え情報、701…切り替え位置検出部、702…切り替え部、731…切り替え指示情報、1501…GOP間隔計算部   DESCRIPTION OF SYMBOLS 101 ... Image input part, 102 ... Image encoding part, 103 ... Encoded data transmission part, 104 ... Network information receiving part, 105 ... Network state determination part, 131 ... Image signal, 132 ... Encoded data, 133 ... Transmission data , 134 ... received data, 135 ... network information, 136 ... network state information, 137 ... coding parameter information, 301 ... network information storage unit, 302 ... coding parameter storage unit, 303 ... network state determination unit, 331 ... network information 332... Encoding parameter information, 401... Encoding parameter determination unit, 402... Signal processing unit, 431... Encoding parameter information, 432. , 531 ... encoding parameter information, 601 ... storage medium, 6 2 ... Encoded data switching unit, 603 ... Encoded data selection unit, 631 ... Encoded data, 632 ... Switching information, 701 ... Switching position detecting unit, 702 ... Switching unit, 731 ... Switching instruction information, 1501 ... GOP interval calculation Part

Claims (9)

画像データを受信側へ送信するデータ伝送装置であって、
同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給手段と、
受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定手段と、
前記供給手段の供給する複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択手段と、
選択され前記供給手段から供給された前記画像符号化データを受信側へ送信する送信手段とを備え、
前記ネットワーク状態判定手段は、前記選択手段により選択された画像符号化データに係る符号化パラメータ情報を格納する第1の格納手段と、受信側から得られた補足情報を格納する第2の格納手段とを具備し、
受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めることを特徴とするデータ伝送装置。
A data transmission device for transmitting image data to a receiving side,
Supply means for selectively supplying any one of a plurality of encoded image data encoded with different bit rates for the same image content;
Based on the notification of at least delay information or packet loss rate as supplementary information obtained from the receiving side, network state determination means for obtaining an optimal transmission rate for the current transmission path;
Selecting means for selecting image encoded data having a bit rate corresponding to the optimum transmission rate obtained from the plurality of image encoded data supplied by the supplying means;
A transmission unit that transmits the encoded image data selected and supplied from the supply unit to a reception side;
The network state determination unit includes a first storage unit that stores encoding parameter information related to the encoded image data selected by the selection unit, and a second storage unit that stores supplementary information obtained from the receiving side. And
The network state is determined from the supplementary information obtained from the receiving side, the past encoding parameter information output from the first storage means, and the past supplementary information obtained from the second storage means, A data transmission apparatus characterized by obtaining an optimum transmission rate for a transmission line.
前記選択手段は、
受信側から得られた補足情報からGOP間隔を計算するGOP間隔計算手段を更に備え、
前記GOP間隔計算手段から出力されたGOP間隔を示すGOP間隔情報に従って画像符号化データの選択を行うことを特徴とする請求項1に記載のデータ伝送装置。
The selection means includes
GOP interval calculation means for calculating the GOP interval from the supplementary information obtained from the receiving side is further provided.
The data transmission apparatus according to claim 1, wherein selection of image encoded data is performed in accordance with GOP interval information indicating a GOP interval output from the GOP interval calculating means.
前記ネットワーク状態判定手段は、前記ネットワークの状態として少なくともパケット損失率を判定し、
前記GOP間隔計算手段は、少なくとも前記パケット損失率に基づいて前記GOP間隔を求めることを特徴とする請求項2に記載のデータ伝送装置。
The network state determining means determines at least a packet loss rate as the state of the network;
3. The data transmission apparatus according to claim 2, wherein the GOP interval calculation unit obtains the GOP interval based on at least the packet loss rate.
画像データを受信側へ送信するデータ伝送装置におけるデータ伝送方法であって、
同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給ステップと、
受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定ステップと、
前記供給ステップにおいて供給される複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択ステップと、
選択され前記供給ステップにおいて供給された前記画像符号化データを受信側へ送信する送信ステップとを有し、
前記ネットワーク状態判定ステップは、前記選択ステップにおいて選択された画像符号化データに係る符号化パラメータ情報を第1の格納手段に格納するステップと、受信側から得られた補足情報を第2の格納手段に格納するステップとを含み、
受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めることを特徴とするデータ伝送方法。
A data transmission method in a data transmission apparatus for transmitting image data to a receiving side,
A supply step of selectively supplying any one of a plurality of encoded image data encoded with different bit rates for the same image content;
A network state determination step for obtaining an optimum transmission rate for the current transmission path based on at least notification of delay information or packet loss rate as supplementary information obtained from the receiving side;
A selection step of selecting image encoded data having a bit rate corresponding to the optimum transmission rate obtained from the plurality of encoded image data supplied in the supplying step;
A transmission step of transmitting the image encoded data selected and supplied in the supply step to a reception side;
The network state determination step includes a step of storing the encoding parameter information relating to the encoded image data selected in the selection step in a first storage unit, and a supplementary information obtained from the receiving side as a second storage unit And storing in the
The network state is determined from the supplementary information obtained from the receiving side, the past encoding parameter information output from the first storage means, and the past supplementary information obtained from the second storage means, A data transmission method characterized by obtaining an optimum transmission rate for a transmission line.
前記選択ステップは、
受信側から得られた補足情報からGOP間隔を計算するGOP間隔計算第2の格納手段を更に含み、
前記GOP間隔計算ステップにおいて出力されたGOP間隔を示すGOP間隔情報に従って画像符号化データの選択を行うことを特徴とする請求項4に記載のデータ伝送装置。
The selection step includes
GOP interval calculation second storage means for calculating the GOP interval from the supplementary information obtained from the receiving side,
5. The data transmission apparatus according to claim 4, wherein selection of image encoded data is performed according to GOP interval information indicating the GOP interval output in the GOP interval calculation step.
前記ネットワーク状態判定ステップは、前記ネットワークの状態として少なくともパケット損失率を判定し、
前記GOP間隔計算ステップは、少なくとも前記パケット損失率に基づいて前記GOP間隔を求めることを特徴とする請求項5に記載のデータ伝送装置。
The network state determining step determines at least a packet loss rate as the state of the network,
6. The data transmission apparatus according to claim 5, wherein the GOP interval calculation step obtains the GOP interval based on at least the packet loss rate.
画像データを受信側へ送信するデータ伝送装置としてコンピュータを機能させるためのプログラムにおいて、
前記プログラムは、
同一画像コンテンツに対してビットレートをそれぞれ異ならせて符号化した複数の画像符号化データのいずれかを選択的に供給する供給ステップと、
受信側から得られる補足情報としての少なくとも遅延情報あるいはパケット損失率のいずれかの通知をもとに、現在の伝送路に最適な伝送レートを求めるネットワーク状態判定ステップと、
前記供給ステップにおいて供給される複数の前記画像符号化データのうちから、求められた前記最適な伝送レートに対応するビットレートの画像符号化データを選択する選択ステップと、
選択され前記供給ステップにおいて供給された前記画像符号化データを受信側へ送信する送信ステップとをコンピュータに実行させるものであるとともに、
前記ネットワーク状態判定ステップは、前記選択ステップにおいて選択された画像符号化データに係る符号化パラメータ情報を第1の格納手段に格納するステップと、受信側から得られた補足情報を第2の格納手段に格納するステップとを含み、
受信側から得られた補足情報と前記第1の格納手段から出力される過去の符号化パラメータ情報と前記第2の格納手段から得られる過去の補足情報とからネットワーク状態を判定して、現在の伝送路に最適な伝送レートを求めるものであることを特徴とするプログラム。
In a program for causing a computer to function as a data transmission device that transmits image data to a receiving side,
The program is
A supply step of selectively supplying any one of a plurality of encoded image data encoded with different bit rates for the same image content;
A network state determination step for obtaining an optimum transmission rate for the current transmission path based on at least notification of delay information or packet loss rate as supplementary information obtained from the receiving side;
A selection step of selecting image encoded data having a bit rate corresponding to the optimum transmission rate obtained from the plurality of encoded image data supplied in the supplying step;
A transmission step of transmitting the encoded image data selected and supplied in the supply step to the receiving side, and
The network state determination step includes a step of storing the encoding parameter information relating to the encoded image data selected in the selection step in a first storage unit, and a supplementary information obtained from the receiving side as a second storage unit And storing in the
The network state is determined from the supplementary information obtained from the receiving side, the past encoding parameter information output from the first storage means, and the past supplementary information obtained from the second storage means, A program for obtaining an optimum transmission rate for a transmission line.
前記選択ステップは、
受信側から得られた補足情報からGOP間隔を計算するGOP間隔計算第2の格納手段を更に含み、
前記GOP間隔計算ステップにおいて出力されたGOP間隔を示すGOP間隔情報に従って画像符号化データの選択を行うものであることを特徴とする請求項7に記載のプログラム。
The selection step includes
GOP interval calculation second storage means for calculating the GOP interval from the supplementary information obtained from the receiving side,
The program according to claim 7, wherein the encoded image data is selected according to GOP interval information indicating the GOP interval output in the GOP interval calculation step.
前記ネットワーク状態判定ステップは、前記ネットワークの状態として少なくともパケット損失率を判定し、
前記GOP間隔計算ステップは、少なくとも前記パケット損失率に基づいて前記GOP間隔を求めるものであることを特徴とする請求項8に記載のプログラム。
The network state determining step determines at least a packet loss rate as the state of the network,
9. The program according to claim 8, wherein the GOP interval calculation step obtains the GOP interval based on at least the packet loss rate.
JP2005015879A 2000-10-31 2005-01-24 Data transmission apparatus, data transmission method and program Expired - Fee Related JP3806133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005015879A JP3806133B2 (en) 2000-10-31 2005-01-24 Data transmission apparatus, data transmission method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000333916 2000-10-31
JP2005015879A JP3806133B2 (en) 2000-10-31 2005-01-24 Data transmission apparatus, data transmission method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001200156A Division JP3699910B2 (en) 2000-10-31 2001-06-29 Data transmission apparatus, data transmission method and program

Publications (2)

Publication Number Publication Date
JP2005151600A true JP2005151600A (en) 2005-06-09
JP3806133B2 JP3806133B2 (en) 2006-08-09

Family

ID=34702654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005015879A Expired - Fee Related JP3806133B2 (en) 2000-10-31 2005-01-24 Data transmission apparatus, data transmission method and program

Country Status (1)

Country Link
JP (1) JP3806133B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007044255A1 (en) * 2005-10-13 2007-04-19 Microsoft Corporation Probabilistic estimation of achievable maximum throughput from wireless interface
WO2008112456A1 (en) * 2007-03-14 2008-09-18 Motorola, Inc. Method and apparatus for handling interconnection transmissions
JP2009027720A (en) * 2007-07-23 2009-02-05 Polycom Inc System and method executing lost packet recovery with congestion avoidance
JP2009088987A (en) * 2007-09-28 2009-04-23 Panasonic Electric Works Co Ltd Communication system
JP2011501569A (en) * 2007-10-19 2011-01-06 レベルヴォックス,エルエルシー Communication and multimedia management method and apparatus
WO2011038694A1 (en) * 2009-09-30 2011-04-07 华为技术有限公司 Method, device and network system for transmission processing and sending processing of video data
US8682336B2 (en) 2007-10-19 2014-03-25 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8699678B2 (en) 2007-10-19 2014-04-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8706907B2 (en) 2007-10-19 2014-04-22 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
WO2015019654A1 (en) * 2013-08-06 2015-02-12 富士ゼロックス株式会社 Information processing system, information processing apparatus, and program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007044255A1 (en) * 2005-10-13 2007-04-19 Microsoft Corporation Probabilistic estimation of achievable maximum throughput from wireless interface
US7515538B2 (en) 2005-10-13 2009-04-07 Microsoft Corporation Probabilistic estimation of achievable maximum throughput from wireless interface
WO2008112456A1 (en) * 2007-03-14 2008-09-18 Motorola, Inc. Method and apparatus for handling interconnection transmissions
JP2009027720A (en) * 2007-07-23 2009-02-05 Polycom Inc System and method executing lost packet recovery with congestion avoidance
JP2009088987A (en) * 2007-09-28 2009-04-23 Panasonic Electric Works Co Ltd Communication system
US8706907B2 (en) 2007-10-19 2014-04-22 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8682336B2 (en) 2007-10-19 2014-03-25 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8699678B2 (en) 2007-10-19 2014-04-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
JP2011501569A (en) * 2007-10-19 2011-01-06 レベルヴォックス,エルエルシー Communication and multimedia management method and apparatus
WO2011038694A1 (en) * 2009-09-30 2011-04-07 华为技术有限公司 Method, device and network system for transmission processing and sending processing of video data
US9215498B2 (en) 2009-09-30 2015-12-15 Huawei Technologies Co., Ltd. Video data transmission processing method, video data sending processing method, apparatus, network system
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
WO2015019654A1 (en) * 2013-08-06 2015-02-12 富士ゼロックス株式会社 Information processing system, information processing apparatus, and program
JP2015033095A (en) * 2013-08-06 2015-02-16 富士ゼロックス株式会社 Information processing system, information processing device and program
US9853907B2 (en) 2013-08-06 2017-12-26 Fuji Xerox Co., Ltd. Information processing system, information processing apparatus, and non-transitory computer readable medium

Also Published As

Publication number Publication date
JP3806133B2 (en) 2006-08-09

Similar Documents

Publication Publication Date Title
JP3699910B2 (en) Data transmission apparatus, data transmission method and program
JP3806133B2 (en) Data transmission apparatus, data transmission method and program
JP4405689B2 (en) Data transmission
WO2017157303A1 (en) Anti-packet loss method, device and system for use in real-time communication
US8230105B2 (en) Adaptive bitrate management for streaming media over packet networks
JP5109787B2 (en) Data transmission system, program and method
JP4936542B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMPUTER PROGRAM
US8185792B2 (en) Data-transmission device data-reception device and data-transmission-and-reception system
US20110013514A1 (en) Device and Method for Adaptation of Target Rate of Video Signals
JP2004507178A (en) Video signal encoding method
JP2009512265A (en) Video data transmission control system and method on network
JP2007516669A (en) Apparatus and method for preparing to transmit data and corresponding products
JP2002077260A (en) System and method for transmitting image
Setton et al. Adaptive multiple description video streaming over multiple channels with active probing
JP2005322995A (en) Buffer control method in real-time video image transfer, transmitting terminal, receiving terminal, video image distributing system and program
JP2005033556A (en) Data transmitter, data transmitting method, data receiver, data receiving method
JP4343808B2 (en) Server in bidirectional image communication system, processing method thereof, and program
Huszák et al. TFRC-Based Selective Retransmission for Multimedia Applications.
JP4049378B2 (en) Server in bidirectional image communication system, processing method thereof, and program
JP2004120148A (en) Transmitter and receiver for multimedia contents
Xu et al. Delay-aware loss-concealment strategies for real-time video conferencing
KR101148072B1 (en) Multimedia supporting system and method thereof
Moid et al. Performance Evaluation of Joint FEC and ARQ Optimization Heuristic Algorithms under Gilbert-Elliot Wireless Channel
Chuaywong et al. Adaptive quality control for multimedia communications.

Legal Events

Date Code Title Description
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: 20060509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060511

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

Free format text: PAYMENT UNTIL: 20090519

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100519

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110519

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110519

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120519

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120519

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130519

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140519

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees