JP2008092464A - Packet transmitter - Google Patents
Packet transmitter Download PDFInfo
- Publication number
- JP2008092464A JP2008092464A JP2006273242A JP2006273242A JP2008092464A JP 2008092464 A JP2008092464 A JP 2008092464A JP 2006273242 A JP2006273242 A JP 2006273242A JP 2006273242 A JP2006273242 A JP 2006273242A JP 2008092464 A JP2008092464 A JP 2008092464A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- voice
- frame
- retransmission
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 109
- 238000004891 communication Methods 0.000 claims abstract description 24
- 230000006870 function Effects 0.000 description 22
- 238000000034 method Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 3
- 239000000470 constituent Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
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
Description
この発明は、例えば無線ネットワークのように伝送速度が比較的低速なチャネルを使用して映像フレーム及び音声フレームを収容したパケットを伝送する機能を備えたパケット伝送装置に関する。 The present invention relates to a packet transmission apparatus having a function of transmitting a packet containing a video frame and an audio frame using a channel having a relatively low transmission speed such as a wireless network.
近年、携帯電話機やPDA(Personal Digital Assistant)等の携帯端末が急速に普及し、ユーザはこの携帯端末を所持することにより、場所を選ばずに通話や電子メールの送受信は勿論のこと、ウエブサイトからのコンテンツデータのダウンロードやテレビジョン電話通信を行えるようになっている。このうちテレビジョン電話通信は一般に、映像データと音声データをそれぞれ符号化したのちパケット化して伝送する。 In recent years, mobile terminals such as mobile phones and PDAs (Personal Digital Assistants) have spread rapidly, and users can carry calls and send and receive e-mails regardless of location, by holding this mobile terminal. Download content data and videophone communications. Of these, videophone communication is generally transmitted after packetizing video data and audio data.
ところで、無線ネットワークのように品質の良くない通信チャネルを介してパケット通信を行う場合には、通信チャネルQoS制御が行われる。例えばRTP(Real-time Transport Protocol)を採用したシステムでは、受信側の端末でパケットの欠落を監視し、パケットの欠落が検出された場合に送信側の端末に向け再送要求を送信する。これに対し送信側の端末は、受信側の端末から再送要求が到来すると、この再送要求に従い欠落したパケットを受信側の端末に向け再送する。このようなシステムであれば、通信チャネルの品質劣化によりパケットの欠損が発生した場合でも、受信側の端末ではパケットをもれなく受信してデータを高品質に再生することが可能となる。 By the way, when performing packet communication via a communication channel with poor quality such as a wireless network, communication channel QoS control is performed. For example, in a system employing RTP (Real-time Transport Protocol), a receiving terminal monitors for packet loss, and when a packet loss is detected, a retransmission request is transmitted to the transmitting terminal. On the other hand, when a retransmission request arrives from the reception side terminal, the transmission side terminal retransmits the lost packet to the reception side terminal in accordance with the retransmission request. With such a system, even when a packet loss occurs due to deterioration of the quality of the communication channel, the receiving terminal can receive all the packets and reproduce the data with high quality.
しかしながら、無線ネットワークにおいて干渉が発生したりハンドオーバが行われ、これにより大量のパケットが消失すると、伝送帯域の制約により送信側の端末は受信側の端末から要求されたすべてのパケットを再生に間に合うように再送することができない。この場合送信側の端末は、上記消失したパケットの再送を断念してフレーム内符号化された映像音声フレームを生成し、この生成されたフレームをパケット化して送信するようにしている。しかし、フレーム内符号化されたフレームを生成するまでにはフレームのサンプリングと符号化処理による遅延がある。このため受信側の端末では、パケットの消失が発生してから上記フレーム内符号化されたフレームのパケットを受信するまでの比較的長い期間にわたって、映像及び音声を正しく復号できなくなり再生が中断する。 However, if interference occurs in the wireless network or a handover is performed and a large number of packets are lost, the transmitting terminal may be able to reproduce all the packets requested by the receiving terminal due to transmission band restrictions. Cannot be resent. In this case, the transmitting terminal abandons the retransmission of the lost packet to generate an intra-frame encoded video / audio frame, and packetizes the generated frame for transmission. However, there is a delay due to frame sampling and encoding processing until an intra-frame encoded frame is generated. For this reason, at the receiving terminal, the video and audio cannot be correctly decoded over a relatively long period from when the packet loss occurs until the packet of the intra-coded frame is received, and reproduction is interrupted.
そこで従来では、例えばメディアストリームを配信する際に、一つのコンテンツについてフレーム内符号化フレーム(Iフレーム)の出現頻度の異なる2つのメディアストリームA1,A2を予め生成して記憶しておき、受信側の端末から再送要求が到来した場合に、送信対象のメディアストリームをIフレームの出現頻度が低いA1からIフレームの出現頻度の高いA2に切り替えるようにしたシステムが提案されている(例えば、特許文献1を参照。)。
上記従来のシステムによれば、受信側の端末にIフレームが早く到着する確率が高くなり、これにより受信側の端末における受信コンテンツの再生中断期間は短縮される。しかしながら、パケットの消失が発生してから切替後のメディアストリームA2のIピクチャが受信側の端末で受信されるまで間は、依然として何も送られないか又は送られてもフレーム間符号化により生成されたフレーム(Pピクチャ)となる。このため、受信コンテンツの再生中断は避けられない。また、送信側にIピクチャの出現頻度の異なる2つのメディアストリームA1,A2を予め生成して蓄積しておかなければならない。このため、テレビジョン電話通信のようにリアルタイム性が要求されるパケット通信には適用することができない。 According to the above-described conventional system, the probability that an I frame arrives at the receiving terminal early is increased, thereby shortening the reproduction interruption period of the received content at the receiving terminal. However, until the I picture of the switched media stream A2 is received by the receiving terminal after the loss of the packet occurs, nothing is still sent or even if it is sent, it is generated by interframe coding Frame (P picture). For this reason, interruption of reproduction of received content is inevitable. In addition, two media streams A1 and A2 having different appearance frequencies of I pictures must be generated and stored in advance on the transmission side. For this reason, it cannot be applied to packet communication that requires real-time performance such as television telephone communication.
この発明は上記事情に着目してなされたもので、その目的とするところは、リアルタイム性が要求されるパケット通信にあって、パケットの消失が発生しても受信側の端末で必要最低限の復号再生を維持することを可能にしたパケット伝送装置を提供することにある。 The present invention has been made paying attention to the above circumstances, and the object of the present invention is packet communication that requires real-time characteristics, and even if a packet loss occurs, the reception terminal has a minimum necessary amount. An object of the present invention is to provide a packet transmission apparatus that can maintain decoding and reproduction.
上記目的を達成するためにこの発明の一つの観点は、消失した映像パケット及び音声パケットの再送要求が受信側の端末から送られた場合に、再送対象の映像パケット及び音声パケットの情報量が本送信用として設定された第1の伝送帯域とは別に再送用として設定された第2の帯域を使用して制約時間内に伝送可能か否かを判定する。そして、伝送不可能と判定された場合に、フレーム内符号化された映像フレーム及び音声フレームを生成して、この生成されたフレーム内符号化映像フレームを収容した映像パケット及びフレーム内符号化音声フレームを収容した音声パケットを上記第1の帯域を使用して上記受信側の端末へ送信すると共に、上記伝送不可能と判定された時点から上記フレーム内符号化された映像フレーム及び音声フレームが生成されるまでの期間に、再送対象の音声パケットを上記第1の帯域を使用して受信側の端末へ送信するようにしたものである。 In order to achieve the above object, according to one aspect of the present invention, when a retransmission request for a lost video packet and audio packet is sent from a receiving terminal, the information amount of the video packet and audio packet to be retransmitted is Whether or not transmission is possible within the restricted time is determined using the second band set for retransmission separately from the first transmission band set for transmission. When it is determined that transmission is not possible, an intra-frame encoded video frame and an audio frame are generated, and a video packet and an intra-frame encoded audio frame containing the generated intra-frame encoded video frame are generated. Is transmitted to the receiving terminal using the first band, and the intra-frame encoded video frame and audio frame are generated from the time when it is determined that the transmission is impossible. In this period, the voice packet to be retransmitted is transmitted to the receiving terminal using the first band.
一般に、例えばテレビジョン電話通信を行う場合、受信側の端末では受信映像が途切れたり映像の品質が著しく劣化したとしても、少なくとも通話音声さえ再生出力されれば送受間の通話は維持される。したがって、この発明のように消失した映像パケット及び音声パケットを再送し切れない状況下において、フレーム内符号化フレームが生成されるまでの期間に、パケットの本送信用として設定されている第1の伝送帯域を利用して上記消失した映像及び音声パケットのうち音声パケットのみを再送することにより、送受間では少なくとも音声通話を維持することが可能となる。
すなわち、この発明によれば、リアルタイム性が要求されるパケット通信にあって、パケットの消失が発生しても受信側端末で必要最低限の通信を維持することを可能にしたパケット伝送装置を提供することができる。
In general, for example, in the case of videophone communication, even if the received video is interrupted or the quality of the video is remarkably deteriorated, the communication between the transmission and reception is maintained as long as at least the call voice is reproduced and output. Therefore, in a situation in which the lost video packet and audio packet cannot be retransmitted as in the present invention, the first packet set for main transmission of the packet is generated until the intra-frame encoded frame is generated. By retransmitting only the voice packet out of the lost video and voice packets using the transmission band, at least a voice call can be maintained between transmission and reception.
In other words, according to the present invention, there is provided a packet transmission apparatus capable of maintaining a minimum necessary communication at a receiving side terminal even when packet loss occurs in packet communication requiring real-time characteristics. can do.
以下、図面を参照してこの発明の実施形態を説明する。
図1は、この発明の一実施形態に係わるパケット伝送装置を使用した移動通信システムの概略構成図である。このシステムは、移動通信交換機能を有する通信ネットワークNWと、サービスエリアに分散配置された複数の基地局BS1〜BSnとを備え、パケット伝送装置としての携帯端末MS1〜MSmを上記基地局BS1〜BSn及び通信ネットワークNWを介して相互に接続してテレビジョン電話通信を可能にしたものである。通信プロトコルとしては、例えばRTP(Real-time Transport Protocol)が用いられる。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a mobile communication system using a packet transmission apparatus according to an embodiment of the present invention. This system includes a communication network NW having a mobile communication switching function and a plurality of base stations BS1 to BSn distributed in a service area, and mobile terminals MS1 to MSm as packet transmission apparatuses are connected to the base stations BS1 to BSn. In addition, they are connected to each other via a communication network NW to enable videophone communication. For example, RTP (Real-time Transport Protocol) is used as the communication protocol.
上記携帯端末MS1〜MSmは次のように構成される。図2はその機能構成を示すブロック図である。すなわち携帯端末MS1〜MSmは、無線ユニット1と、ベースバンドユニット2と、ユーザインタフェースユニット3と、電源ユニット4とを備えている。
同図において、ユーザインタフェースユニット3のマイクロホン32から出力されたユーザの送話音声信号は、ベースバンドユニット2のオーディオエンコーダ24に入力される。オーディオエンコーダ24は、GSM−AMR(Global System for Mobile communications-Adaptive Multi-rate)やEVRC(Enhanced Variable Rate Codec)等の移動通信規格で定められた通話用の符号化方式により上記送話音声信号を符号化する。そして、この符号化処理により生成されたオーディオデータを多重分離部22及びパケット変換部27にそれぞれ入力する。
The portable terminals MS1 to MSm are configured as follows. FIG. 2 is a block diagram showing the functional configuration. That is, the mobile terminals MS <b> 1 to MSm include a
In the figure, the user's transmitted voice signal output from the
また、同時にカメラ(CAM)31から出力された映像信号は、ベースバンドユニット2のビデオエンコーダ23に入力される。ビデオエンコーダ23は、上記映像信号を例えばMPEG4(Moving Picture Coding Experts Group 4)方式に従い符号化処理し、この符号化された映像データを上記多重分離部22及びパケット変換部27にそれぞれ入力する。
At the same time, the video signal output from the camera (CAM) 31 is input to the
パケット変換部27は、制御モジュール21の指示に従い、上記ビデオエンコーダ23から出力された映像データと、オーディオエンコーダ24から出力されたオーディオデータをそれぞれパケット化し、生成された映像パケット及び音声パケットを上記多重分離部22に入力する。多重分離部22は、上記パケット変換部27から供給される映像パケット及び音声パケットを、制御モジュール21において生成された制御パケットと多重化する。そして、この多重分離部22により多重化されたマルチメディア送信データは、無線ユニット1の送信回路(TX)15に供給される。
The
送信回路15は、変調器、周波数変換器及び送信電力増幅器を備える。上記送信データは、変調器でディジタル変調されたのち、周波数変換器により周波数シンセサイザ(SYN)14から発生された送信局部発振信号とミキシングされて無線周波信号に周波数変換される。変調方式としては、QPSK(Quadriphase Phase Shift Keying)方式及びQAM(Quadrature Amplitude Modulation)方式と、拡散符号を使用するスペクトラム拡散方式が用いられる。そして、この生成された送信無線周波信号は、送信電力増幅器で所定の送信レベルに増幅されたのち、アンテナ共用器(DUP)12を介してアンテナ11に供給され、このアンテナ11から最寄りの基地局に向け送信される。
The
一方、基地局BS1〜BSnから無線チャネルを介して到来した無線信号は、アンテナ11で受信されたのちアンテナ共用器12を介して受信回路(RX)13に入力される。受信回路13は、高周波増幅器、周波数変換器及び復調器を備える。そして、上記無線周波信号を低雑音増幅器で低雑音増幅したのち、周波数変換器において周波数シンセサイザ(SYN)14から発生された受信局部発振信号とミキシングして受信ベースバンド信号に周波数変換し、その出力信号を復調器でディジタル復調する。復調方式としては、例えば直交復調方式と拡散符号を使用したスペクトラム逆拡散方式が用いられる。なお、上記周波数シンセサイザ14から発生される受信局部発振信号周波数は、ベースバンドユニット2に設けられた制御モジュール21から指示される。
On the other hand, a radio signal arriving from the base stations BS1 to BSn via the radio channel is received by the
上記復調器から出力された復調信号は、ベースバンドユニット2に入力される。この復調信号は、多重分離部22において制御パケットとデータパケットとに分離される。そして、このうちデータパケットはパケット逆変換部28に入力される。なお、制御パケットには例えば発信元番号や、自端末及び相手通信端末の位置情報などが含まれ、これらは制御モジュール21において接続制御等を行うために使用される。また、再送要求等の転送制御のためのコマンドも上記制御パケットにより伝送される。
The demodulated signal output from the demodulator is input to the baseband unit 2. The demodulated signal is separated into a control packet and a data packet by the
パケット逆変換部28は、上記入力されたデータパケットからオーディオデータ及び映像データを分離して抽出し、これらのデータをそれぞれ復号処理が可能な情報形式に変換してオーディオデコーダ26及びビデオデコーダ25に入力する。オーディオデコーダ26は、上記入力されたオーディオデータを例えばGSM−AMR方式又はEVRC方式に従い復号処理してオーディオ信号を再生し、この再生したオーディオ信号をユーザインタフェースユニット3のスピーカ34から拡声出力する。ビデオデコーダ25は、上記入力された映像データを例えばMPEG4方式に従い復号処理して映像信号を再生し、この再生した映像信号を図示しない表示制御部を介して液晶表示器(LCD)33に供給し表示させる。
The packet
なお、電源ユニット4には、リチウムイオン電池等のバッテリ41と、このバッテリ41を商用電源出力(AC100V)をもとに充電するための充電回路42と、電圧生成回路(PS)43とが設けられている。電圧生成回路43は、例えばDC/DCコンバータからなり、バッテリ41の出力電圧をもとに所定の電源電圧Vccを生成する。
The power supply unit 4 includes a
ところで、上記ベースバンドユニット2は、端末全体の動作を統括的に制御する制御モジュール21と、例えばNAND型フラッシュメモリを使用したメモリ(MEM)29とを備えている。
メモリ29には、送受信メールや留守録データ等の送受信データや、電話帳データ、発着信履歴及び各種制御データ等の管理用データがそれぞれ格納される。管理用データには音声パケットの再送制御に使用する多重化テーブルが含まれる。多重化テーブルには、再送対象の音声フレームの元々の送信タイミングに対応付けて多重度を表す情報が記憶されている。図5はこの多重化テーブルの構成の一例を示すもので、送信タイミングxが古い音声フレームほど多重度が小さくなるように多重度が設定してある。
By the way, the baseband unit 2 includes a
The
制御モジュール21は、マイクロプロセッサを使用したCPU(Central Processing Unit)と、アプリケーション・プログラムを記憶したROMと、送受信パケットを一時保持するバッファメモリとを備える。そして、この発明に係わる制御機能として、再送可否判定処理機能211と、キーフレーム送信制御機能212と、音声パケット再送制御機能213とを備えている。これらの機能はいずれも、アプリケーション・プログラムをCPUに実行させることにより実現される。
The
再送可否判定処理機能211は、受信側の携帯端末から再送要求が到来した場合に、当該再送要求により指定された再送対象の映像パケット及び音声パケットの情報量が、再送用帯域を使用して制約時間内に伝送可能か否かを判定する。そして、伝送可能と判定した場合には、上記再送対象の映像パケット及び音声パケットをバッファメモリから読み出して、上記再送用帯域を使用して受信側の携帯端末へ再送する。
When the retransmission request arrives from the mobile terminal on the receiving side, the retransmission
キーフレーム送信制御機能212は、上記再送可否判定処理機能211により伝送不可能と判定された場合に、ビデオエンコーダ23及びオーディオエンコーダ24に対しフレーム内符号化された映像フレーム及びオーディオフレーム、つまりキーフレームの生成を指示する。そして、生成されたキーフレームを本送信帯域を使用して受信側の携帯端末に向け送信する。
The key frame transmission control function 212, when it is determined that the transmission is not possible by the retransmission enable / disable
音声パケット再送制御機能213は、上記再送可否判定処理機能211により伝送不可能と判定された時点から、上記キーフレーム送信制御機能212によりキーフレームが生成されるまでの期間に、本送信帯域による新たな映像パケット及び音声パケットの送信を停止させ、代わりに再送対象の音声パケットをバッファメモリから読み出し、この音声パケットを上記本送信帯域を使用して受信側の携帯端末へ再送させる。
The voice packet
また音声パケット再送制御機能213は再多重化処理機能2131を有している。この再多重化処理機能2131は、上記再送対象の音声パケットを送信する際に、多重化テーブルに記憶された情報に基づいて、元々の送信タイミングxが古い音声フレームほど多重度が小さくなるように再送対象の複数の音声フレームを再多重化する。そして、この再多重化により再構成された再送用の音声パケットを、本送信帯域を使用して受信側の端末へ送信させる。
The voice packet
次に、以上のように構成された携帯端末MS1〜MSmの伝送動作を説明する。図3及び図4は、その制御手順と制御内容を示すフローチャートである。なお、ここでは携帯端末MS1と携帯端末MSnとの間でテレビジョン電話通信を行う場合を例にとって説明する。 Next, the transmission operation of the mobile terminals MS1 to MSm configured as described above will be described. 3 and 4 are flowcharts showing the control procedure and control contents. Here, a case where videophone communication is performed between the mobile terminal MS1 and the mobile terminal MSn will be described as an example.
テレビジョン電話通信が開始されると送信側の携帯端末MS1では、カメラ31により撮像された映像信号がビデオエンコーダ23により符号化されたのち、パケット変換部27により映像RTPパケットに変換される。また、それと共にマイクロホン32から出力された送話音声信号がオーディオエンコーダ24により符号化されたのち、パケット変換部27により音声RTPパケットに変換される。そして、これらの映像RTPパケット及び音声RTPパケットは、制御モジュール21の制御の下でステップS31により無線ユニット1から上りの無線伝送チャネルを使用して送信される。なお、携帯端末MS1と携帯端末MSmとの間の伝送チャネルには、例えば図7(b)に示すように本送信用帯域と再送用帯域とが固定的に割り当てられており、上記映像RTPパケット及び音声RTPパケットは本送信用帯域を使用して送信される。
また、上記映像RTPパケット及び音声RTPパケットの送信を行いながら携帯端末MS1では、制御モジュール21がステップS32において受信側の携帯端末MSmからの再送要求の到来を監視している。
When videophone communication is started, in the mobile terminal MS1 on the transmission side, the video signal captured by the
In the mobile terminal MS1, while transmitting the video RTP packet and the audio RTP packet, the
さて、この状態で例えば無線伝搬路の品質劣化により、上記携帯端末MS1が送信した映像RTPパケット及び音声RTPパケットの一部が図7(a)に示すように消失したとする。そうすると受信側の携帯端末MSmから再送要求が送信される。再送要求には、欠落したパケットの番号が挿入される。 Now, let us say that part of the video RTP packet and the audio RTP packet transmitted by the mobile terminal MS1 are lost as shown in FIG. Then, a retransmission request is transmitted from the mobile terminal MSm on the receiving side. The number of the missing packet is inserted into the retransmission request.
上記再送要求を受信すると携帯端末MS1では、制御モジュール21がステップS33により、上記再送要求により指定された再送対象の映像RTPパケット及び音声RTPパケットの情報量を算出し、この算出した情報量を再送用帯域による再送可能容量とステップS34で比較する。ここで、再送可能容量とは、例えば図6に示すように、本送信帯域を使用して新たな映像パケット及び音声パケットを伝送しながら再送用帯域を使用して消失パケットを再送したときに、携帯端末間におけるパケット転送時間を考慮して求められる再送が間に合う制約時間内に消失パケットを再送することが可能な情報量である。
Upon receiving the retransmission request, in the mobile terminal MS1, the
上記比較の結果、上記算出した再送対象パケットの情報量が再送用帯域による再送可能容量以内だったとする。この場合携帯端末MS1の制御モジュール21は、再送用帯域を使用した再送処理が可能と判断してステップS35に移行し、上記再送対象の映像パケット及び音声パケット、つまり消失パケットを、図7(a),(b)に示すように再送用帯域を使用して再送する。したがって、受信側の携帯端末MSmでは、送信側の携帯端末MS1から送信されたパケットが一部区間において消失しても、再送用帯域を使用して再送された上記消失パケットをもとに上記消失区間の映像及び音声を正しく復号し再生することが可能となる。また、上記消失パケットの再送と並行して、本送信用帯域では新たな映像RTPパケット及び音声RTPパケットが引き続き送信される。このため、受信側の携帯端末MSmでは、上記消失区間の映像及び音声の復号再生が終了した後も引き続き新たな映像及び音声の復号再生が行われる。
As a result of the comparison, it is assumed that the calculated information amount of the retransmission target packet is within the retransmittable capacity by the retransmission band. In this case, the
一方、消失した区間が長く、再送対象パケットの情報量が再送用帯域による再送可能容量を超えていたとする。この場合携帯端末MS1の制御モジュール21は、再送用帯域を使用した再送処理が不可能と判断して、キーフレームの生成とその送信処理及び本送信帯域を使用した音声パケットの再送処理を以下のように実行する。
On the other hand, it is assumed that the lost section is long and the information amount of the retransmission target packet exceeds the retransmittable capacity of the retransmission band. In this case, the
すなわち、先ずステップS36において、本送信帯域で再送可能な音声パケットの長さを算出する。例えば、いま伝送速度が10fps、64kbpsの場合には最大100msecの伝送容量(6400bit相当)がある。また、符号化方式としてAMRを使用した場合には、Octet−aligned ModeでRTPパケットを構成した場合に、RTP/UDP/IPヘッダ320bit+ペイロードヘッダ8bit+ToC(1スピーチデータ当たり8bit)+スピーチデータ96〜248bitとなる。そして、この条件の下で、最大パケット長Max Ptimeが100msec、モード=0としたときの音声パケット長は848bitであるため、6400bitで0.7秒分の音声パケットを伝送可能である。また、伝送速度が384kbps、モード=7としたときには、2.3秒分の音声パケットを再送することが可能となる。 That is, first, in step S36, the length of a voice packet that can be retransmitted in this transmission band is calculated. For example, when the transmission rate is 10 fps and 64 kbps, there is a maximum transmission capacity of 100 msec (corresponding to 6400 bits). Also, when AMR is used as an encoding method, when an RTP packet is configured in Octet-aligned Mode, RTP / UDP / IP header 320 bits + payload header 8 bits + ToC (8 bits per speech data) + speech data 96 to 248 bits It becomes. Under this condition, since the voice packet length is 848 bits when the maximum packet length Max Ptime is 100 msec and the mode = 0, voice packets for 0.7 seconds can be transmitted at 6400 bits. Also, when the transmission rate is 384 kbps and mode = 7, it is possible to retransmit a voice packet for 2.3 seconds.
次に制御モジュール21は、ステップS37において、ビデオエンコーダ23及びオーディオエンコーダ24に対し、フレーム内符号化された映像フレーム及び音声フレーム、つまりキーフレームの生成を指示する。そして、上記ビデオエンコーダ23及びオーディオエンコーダ24によりキーフレームが生成されるまでの時間を利用して、再送対象の音声パケットを本送信用帯域により再送する処理を以下のように実行する。
Next, in step S37, the
すなわち、先ずステップS38により再送対象の音声パケットの再構成を行う。この音声パケットの再構成は、再送対象の音声パケットに含まれていた複数の音声フレームを、多重化テーブルに記憶された情報に基づいて再多重化することにより行われる。
図4はその処理手順と処理内容を示すフローチャートである。制御モジュール21は先ずステップS43により、再送対象の音声フレームを送信タイミングの古いものから選択し、この選択された音声フレームの送信タイミングに対応する多重度をステップS44により多重化テーブルから読み出す。そして、上記選択された音声フレームを上記読み出した多重度に従い再多重化して再送用の音声パケットを生成する。以後同様に、再送対象のすべての音声フレームの選択が終了したことをステップS46で検出するまで、上記ステップS43〜S45による再多重化処理を繰り返す。
That is, first, a voice packet to be retransmitted is reconstructed in step S38. The voice packet is reconfigured by remultiplexing a plurality of voice frames included in the voice packet to be retransmitted based on information stored in the multiplexing table.
FIG. 4 is a flowchart showing the processing procedure and processing contents. First, in step S43, the
例えば、いま図10に示すように音声フレームF1〜F20のうち、F1〜F9が再生対象の音声フレームだったとする。なお、図中P1〜P6は本送信時における音声パケットを示す。制御モジュール21は、先ず再送対象の音声フレームのうち送信タイミングが最も古い音声フレームF1を読み出す。この音声フレームF1の送信タイミングxは、最新の再送対象音声フレームの送信タイミングを基準(t0)とすると−t9であるため、多重度は図5の多重化テーブルから“1”となる。したがって、制御モジュール21は上記音声フレームF1のみでペイロードP1′を構成し、これに例えば図9(a)に示すようにRTP/UDP/IPヘッダを付加して音声パケットRP1を構成する。
For example, as shown in FIG. 10, it is assumed that F1 to F9 among the audio frames F1 to F20 are audio frames to be reproduced. In the figure, P1 to P6 indicate voice packets at the time of actual transmission. First, the
次に制御モジュール21は、音声フレームF2,F3,F4を順に読み出す。これらの音声フレームF2,F3,F4の送信タイミングxは−t8〜−t6であるため、多重度は図5の多重化テーブルからいずれも“3”となる。したがって、制御モジュール21は上記3個の音声フレームF2,F3,F4を多重化して1つのペイロードP2′を構成し、これに例えば図9(b)に示すようにRTP/UDP/IPヘッダを付加して音声パケットRP2を構成する。
Next, the
以後同様に、音声フレームF5〜F9の多重度は図5の多重化テーブルによればいずれも“5”となるので、これら5個の音声フレームF5〜F9を多重化して1つのペイロードP3′を構成し、これに例えば図9(c)に示すようにRTP/UDP/IPヘッダを付加して音声パケットRP3を構成する。 Similarly, since the multiplicity of the audio frames F5 to F9 is all “5” according to the multiplexing table of FIG. 5, these five audio frames F5 to F9 are multiplexed to form one payload P3 ′. For example, as shown in FIG. 9C, an RTP / UDP / IP header is added to the voice packet RP3.
以上のように再送対象の音声パケットの再構成が終了すると、制御モジュール21は続いてステップS39に移行し、ここで上記再構成した各音声パケットRP1,RP2,RP3を送信タイミングの古い順に、図8(b)に示すように本送信帯域を使用して再送する。そして、ステップS40でビデオエンコーダ23及びオーディオエンコーダ24によるキーフレームの生成終了が検出され、さらにステップS41で上記再構成された音声パケットの送信終了が検出されると、制御モジュール21はステップS42に移行し、ここで上記生成されたキーフレームによる映像パケット及び音声パケットを、図8(a),(b)に示すように本送信用帯域を使用して送信する。以後制御モジュール21は、上記キーフレームを基準に差分符号化された後続の映像及び音声フレームをそれぞれパケット化し、これらのパケットを本送信用帯域を使用して送信する。
When the reconfiguration of the voice packet to be retransmitted is completed as described above, the
以上述べたようにこの実施形態では、受信側の携帯端末MSmから再送要求が到来した場合に、当該再送要求により指定された再送対象の映像パケット及び音声パケットの情報量が再送用帯域を使用して制約時間内に伝送可能か否かを判定する。そして、伝送不可能と判定された場合に、ビデオエンコーダ23及びオーディオエンコーダ24に対しキーフレームの生成を指示すると共に、このキーフレームが生成されるまでの期間に本送信帯域を利用して再送対象の音声パケットを再送するようにしている。
As described above, in this embodiment, when a retransmission request arrives from the mobile terminal MSm on the receiving side, the information amount of the video packet and audio packet to be retransmitted designated by the retransmission request uses the retransmission band. And determine whether transmission is possible within the restricted time. If it is determined that transmission is not possible, the
したがって、消失した映像パケット及び音声パケットを再送し切れない場合でも、キーフレームが生成されるまでの期間を利用しかつ本送信用帯域を利用して、上記消失した音声パケットが再送される。このため、受信側の携帯端末MSmにおいて受話再生音が途切れないようにすることができ、これにより少なくとも音声通話による端末間の通信状態を維持することが可能となる。 Therefore, even when the lost video packet and audio packet cannot be retransmitted, the lost audio packet is retransmitted using the period until the key frame is generated and using this transmission band. For this reason, it is possible to prevent the reception / playback sound from being interrupted in the mobile terminal MSm on the receiving side, and thus it is possible to maintain at least the communication state between the terminals by voice call.
本来であれば、再送中においても本送信帯域は新たな映像RTPパケット及び音声RTPパケットを送信するために使用される。しかし、先行するパケットが消失している場合には、受信側の携帯端末MSmでは上記新たなパケットを受信しても正しく復号再生することができない。つまり、上記新たなRTPパケットを送信することは無駄である。これに対し本実施形態では、上記したように本送信帯域における新たな映像及び音声RTPパケットの送信を中止して、代わりに再送対象の音声パケットを再送するようにしている。 Originally, even during retransmission, this transmission band is used to transmit new video RTP packets and audio RTP packets. However, when the preceding packet is lost, the mobile terminal MSm on the receiving side cannot correctly decode and reproduce it even if the new packet is received. That is, it is useless to transmit the new RTP packet. On the other hand, in the present embodiment, as described above, transmission of new video and audio RTP packets in this transmission band is stopped, and the audio packets to be retransmitted are retransmitted instead.
したがって、再送対象のパケットを再送領域よりも帯域の広い本送信用帯域を使用して効率良く再送することが可能となる。しかも、再送用パケットを映像パケットに比べ情報量の少ない音声パケットのみに限定しているので、仮に消失区間が長く大容量の消失パケットを再送しなければならない場合でも、多くの音声パケットを再送することが可能となり、これにより受信側の端末における通話の切断を効果的に防止することができる。 Therefore, it is possible to efficiently retransmit the packet to be retransmitted using the main transmission band having a wider band than the retransmission area. In addition, since retransmission packets are limited to only voice packets with a smaller amount of information than video packets, a large number of voice packets are retransmitted even when a lost packet with a long lost period must be retransmitted. This makes it possible to effectively prevent disconnection of the call at the receiving terminal.
なお、本実施形態では、図3のステップS40,S41に示すようにキーフレームが生成されるまでの間に音声パケットを再送しきれなかった場合には、音声パケットの再送が終了するまでキーフレームの送信を待機するようにしている。このため、再送対象の音声パケットの情報量が多い場合でも、すべての音声パケットをもれなく再送することができ、これによりさらに確実に音声通話を維持することができる。 In the present embodiment, as shown in steps S40 and S41 of FIG. 3, if the voice packet cannot be retransmitted until the key frame is generated, the key frame is retransmitted until the retransmission of the voice packet is completed. Waiting to be sent. For this reason, even when the amount of information of the voice packet to be retransmitted is large, all the voice packets can be retransmitted without fail, so that the voice call can be maintained more reliably.
またこの実施形態では、上記再送対象の音声パケットを送信する際に、多重化テーブルに記憶された情報に基づいて、元々の送信タイミングxが古い音声フレームほど多重度が小さくなるように再送対象の複数の音声フレームを再多重化し、この再多重化により再構成された再送用の音声パケットを本送信帯域を使用して受信側の携帯端末へ送信するようにしている。したがって、再生までの許容遅延が短い古い音声フレームが単独又は多重度の小さいパケットにより受信端末に伝送される。このため、受信側の携帯端末では送信タイミングの旧い音声フレームを許容される遅延時間の範囲で確実に復号再生することが可能となる。 Further, in this embodiment, when transmitting the voice packet to be retransmitted, based on the information stored in the multiplexing table, the retransmission target so that the multiplicity becomes lower as the voice frame with the original transmission timing x becomes older. A plurality of voice frames are remultiplexed, and a voice packet for retransmission reconfigured by this remultiplexing is transmitted to the mobile terminal on the receiving side using this transmission band. Therefore, an old audio frame with a short allowable delay until reproduction is transmitted to the receiving terminal by a single packet or a packet having a low multiplicity. For this reason, the reception-side mobile terminal can reliably decode and reproduce an audio frame having an old transmission timing within the allowable delay time range.
なお、この発明は上記実施形態に限定されるものではない。例えば、音声フレームを再多重化する際に、再多重化処理機能2131において無音等のフレームサイズが比較的小さい音声フレームを優先的に多重化するとよい。このようにすることで、受信側の携帯端末において違和感がより少ない再生音を出力させることができる。
The present invention is not limited to the above embodiment. For example, when re-multiplexing audio frames, the
また、前記実施形態では再送対象の音声パケットを本送信用帯域のみを利用して送信するようにしたが、本送信用帯域と再送用帯域の両方を併用して送信するようにしてもよい。このようにすると、より広帯域の再送帯域を確保することができ、これにより消失パケットの情報量が多い場合でも、比較的短時間に再送対象の音声パケットの送信を完了することができる。 In the above embodiment, the voice packet to be retransmitted is transmitted using only the main transmission band. However, both the main transmission band and the retransmission band may be transmitted together. In this way, it is possible to secure a wider retransmission band, and thereby complete the transmission of the voice packet to be retransmitted in a relatively short time even when the information amount of lost packets is large.
その他、パケット伝送装置の種類やその構成、パケット再送制御の手順とその内容、再送対象の音声パケットを再構成する際の音声フレーム間の多重度数等についても、この発明の要旨を逸脱しない範囲で種々変形して実施できる。
要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。
In addition, the type and configuration of the packet transmission apparatus, the packet retransmission control procedure and contents, the multiplicity between voice frames when reconfiguring the voice packet to be retransmitted, and the like are within the scope of the present invention. Various modifications can be made.
In short, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
1…無線ユニット、2…ベースバンドユニット、3…ユーザインタフェースユニット、4…電源ユニット、11…アンテナ、12…アンテナ共用器(DUP)、13…受信回路(RX)、14…周波数シンセサイザ(SYN)、15…送信回路(TX)、21…制御モジュール、211…再送可否判定処理機能、212…キーフレーム送信制御機能、213…音声パケット再送制御機能、2131…再多重化処理機能、22…多重分離部、23…ビデオエンコーダ、24…オーディオエンコーダ、25…ビデオデコーダ、26…オーディオデコーダ、27…パケット変換部、28…パケット逆変換部、29…メモリ(MEM)、31…カメラ(CAM)、32…マイクロホン、33…液晶表示器(LCD)、34…スピーカ、35…入力デバイス、41…バッテリ、42…充電回路(CHG)、43…電圧生成回路(PS)。
DESCRIPTION OF
Claims (4)
前記映像パケット及び音声パケットの送信に対する再送要求が前記受信側の端末から送られた場合に、当該再送要求を受信する手段と、
前記再送要求が受信された場合に、当該再送要求により指定された再送対象の映像パケット及び音声パケットの情報量が、前記通信ネットワーク上に前記第1の帯域とは別に設定される再送用の第2の帯域を使用して制約時間内に伝送可能か否かを判定する判定手段と、
前記判定手段により伝送不可能と判定された場合に、フレーム内符号化された映像フレーム及び音声フレームを生成し、この生成されたフレーム内符号化映像フレームを収容した映像パケット及びフレーム内符号化音声フレームを収容した音声パケットを前記第1の帯域を使用して前記受信側の端末へ送信する手段と、
前記伝送不可能と判定された時点から前記フレーム内符号化された映像フレーム及び音声フレームが生成されるまでの期間に、前記再送対象の音声パケットを前記第1の帯域を使用して前記受信側の端末へ再送する音声パケット再送手段と
を具備することを特徴とするパケット伝送装置。 Means for transmitting a video packet containing a video frame and a voice packet containing a voice frame to a receiving terminal using a first band set on a communication network;
Means for receiving a retransmission request when a retransmission request for transmission of the video packet and audio packet is sent from the receiving terminal;
When the retransmission request is received, the amount of information of the video packets and audio packets to be retransmitted designated by the retransmission request is set on the communication network separately from the first band. Determining means for determining whether or not transmission is possible within the restricted time using the bandwidth of 2;
When it is determined by the determination means that transmission is not possible, an intra-frame encoded video frame and audio frame are generated, and a video packet and intra-frame encoded audio containing the generated intra-frame encoded video frame are generated. Means for transmitting a voice packet containing a frame to the receiving terminal using the first band;
During the period from the time when it is determined that transmission is impossible to the time when the intra-coded video frame and audio frame are generated, the audio packet to be retransmitted is transmitted to the receiving side using the first band. A packet transmission apparatus comprising voice packet retransmission means for retransmitting to a terminal of
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006273242A JP2008092464A (en) | 2006-10-04 | 2006-10-04 | Packet transmitter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006273242A JP2008092464A (en) | 2006-10-04 | 2006-10-04 | Packet transmitter |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008092464A true JP2008092464A (en) | 2008-04-17 |
Family
ID=39376091
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006273242A Pending JP2008092464A (en) | 2006-10-04 | 2006-10-04 | Packet transmitter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008092464A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074366A (en) * | 2008-09-17 | 2010-04-02 | Canon Inc | Transmitting apparatus, receiving apparatus, method, and program |
-
2006
- 2006-10-04 JP JP2006273242A patent/JP2008092464A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074366A (en) * | 2008-09-17 | 2010-04-02 | Canon Inc | Transmitting apparatus, receiving apparatus, method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4028356B2 (en) | COMMUNICATION SYSTEM, RADIO COMMUNICATION TERMINAL, DATA DISTRIBUTION DEVICE, AND COMMUNICATION METHOD | |
JP4367657B2 (en) | Voice communication method and apparatus | |
KR100709971B1 (en) | Communication control device, communication terminal device, server device, and communication control method | |
KR20060111036A (en) | Method providing service of an image telephone call in mobile terminal considering situation of a weak current | |
US8910223B2 (en) | Layered coded streaming control for unicast/MBMS interaction | |
EP1872575B1 (en) | Pausing and resuming content streaming on wireless devices | |
US8634295B2 (en) | System and method for voice and data communication | |
CN101529895A (en) | Codec and session parameter change | |
RU2415482C2 (en) | System and method of controlling redundancy | |
JP2006222822A (en) | Handover system | |
EP1574011A2 (en) | Secure transmission of audio signals | |
GB2388279A (en) | Secure transmission of audio signals | |
US20060165043A1 (en) | Method and system for call set-up between mobile communication terminals | |
KR100667351B1 (en) | Apparatus and method for transmitting multimedia data and record media recored program therefor | |
JP4280272B2 (en) | Information processing device | |
US7532612B2 (en) | Transmission timing | |
JP2008167351A (en) | Terminal device | |
JP2008092464A (en) | Packet transmitter | |
KR101055169B1 (en) | Traffic control method and device therefor in streaming system | |
JP3967249B2 (en) | COMMUNICATION SYSTEM, RADIO COMMUNICATION TERMINAL, DATA DISTRIBUTION DEVICE, AND COMMUNICATION METHOD | |
KR100810463B1 (en) | A method of establishing a communication link in a digital communication system | |
JP4995637B2 (en) | Communication apparatus and wireless communication method | |
KR100850735B1 (en) | Apparatus and method for reporting loss packet and retransmitting request in a wireless communication system for data transmission | |
US20100316001A1 (en) | Method of Transmitting Synchronized Speech and Video | |
JP2009100378A (en) | Mobile terminal with video telephone function, image transmission method, and program |