JP2008113157A - Method of compressing data and data transmitter - Google Patents

Method of compressing data and data transmitter Download PDF

Info

Publication number
JP2008113157A
JP2008113157A JP2006294221A JP2006294221A JP2008113157A JP 2008113157 A JP2008113157 A JP 2008113157A JP 2006294221 A JP2006294221 A JP 2006294221A JP 2006294221 A JP2006294221 A JP 2006294221A JP 2008113157 A JP2008113157 A JP 2008113157A
Authority
JP
Japan
Prior art keywords
value
data
time stamp
rtp
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006294221A
Other languages
Japanese (ja)
Inventor
Atsushi Kano
淳 加納
Hirokazu Matsunami
宏和 松波
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2006294221A priority Critical patent/JP2008113157A/en
Publication of JP2008113157A publication Critical patent/JP2008113157A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method of compressing data capable of obtaining an optimum compression rate in ROHC compression by continuously changing a value of an RTP header time stamp in an RTP/UDP/IP packet subjected to ROHC compression, and to provide a data transmitter. <P>SOLUTION: There are provided: a client PC 13 acquiring data to be compressed; an ROHC compression section 20 for calculating an addition value added to a time stamp value included in the header information of data corresponding to acquired data; and an RTP time stamp processing section 31 that calculates a value obtained by subtracting the addition value from the time stamp value in acquired current data, determines whether the time stamp value in the current data is corrected based on a calculated value, and corrects a value where the addition value is added to the time stamp value of the last acquisition data as the time stamp value in the current data when the calculated value is the same as the time stamp value of the last acquisition data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、データ圧縮方法及びデータ送信装置に関し、特に、インターネットプロトコル(Internet Protocol:IP)に基づくデータ圧縮方法及びデータ送信装置に関する。   The present invention relates to a data compression method and a data transmission device, and more particularly, to a data compression method and a data transmission device based on the Internet Protocol (IP).

従来、送信機側から受信機側にデータを伝達させる通信技術は様々に考案されているが、昨今では、パケット指向や送信先の自由度等の理由でIPに基づく方法が好んで選択されている。
また、伝送の目的が音声や動画等のメディアパケット伝送である場合は、IPパケットを下位層としてユーザデータグラムプロトコル(User Datagram Protocol:UDP)、更に、その上位層の通信方法としてリアルタイムトランスポートプロトコル(Real time Transport Protocol:RTP)が好んで用いられる。
Conventionally, various communication techniques for transmitting data from the transmitter side to the receiver side have been devised. Recently, however, the IP-based method is preferred for reasons such as packet orientation and the degree of freedom of the transmission destination. Yes.
Also, when the purpose of transmission is media packet transmission such as voice and moving images, the user datagram protocol (UDP) is used with the IP packet as the lower layer, and the real-time transport protocol is used as the communication method of the higher layer. (Real time Transport Protocol: RTP) is preferably used.

RTP/UDP/IPを用いたメディアパケット伝送は、デファクトスタンダードとなっており、多くの運用共通性確保のために本方法を選択せざるを得ない場合が多いにもかかわらず、オーバーヘッドが比較的大きくなってしまう。
RTP/UDP/IPのオーバーヘッドを減らして、より狭い帯域しか持たない伝送経路上でメディアパケットを透過させるための方法として、例えば、「ヘッダ圧縮方法及び装置並びにプログラム」(特許文献1参照)等、幾つかのパケットヘッダ圧縮方法が考案されており、その中に、ロバストヘッダコンプレッション(Robust Header Compression:ROHC)がある。
Media packet transmission using RTP / UDP / IP has become the de facto standard, and although there are many cases where this method is often selected to ensure many operational commonities, the overhead is relatively low. It gets bigger.
As a method for reducing the overhead of RTP / UDP / IP and transmitting media packets on a transmission path having a narrower band, for example, “header compression method and apparatus and program” (see Patent Document 1), etc. Several packet header compression methods have been devised, among them robust header compression (ROHC).

ROHCは、連続するパケット間におけるRTP/UDP/IPヘッダの整合性に着目し、既に送信した情報で不変な情報、類推可能な情報、計算により求まる情報は、繰り返し送信せず、類推可能な情報を類推するための情報と、類推不可能、且つ、毎回変わる情報を送信することにより、送信すべきパケットヘッダ情報を圧縮する。ここで、類推可能な情報の一つに、ROHC(RFC3095)のプロファイル1(RTPプロファイル)ではUDPヘッダにおけるタイムスタンプがある。   ROHC pays attention to the consistency of RTP / UDP / IP headers between consecutive packets, and information that can be inferred without repeatedly transmitting information that can be inferred by information that has already been transmitted, information that can be inferred, and information that is obtained by calculation The packet header information to be transmitted is compressed by transmitting information for inferring and information that cannot be inferred and changes each time. Here, one of the information that can be inferred is a time stamp in the UDP header in the profile 1 (RTP profile) of ROHC (RFC3095).

IP経路の一部を無線化するための無線装置は、昨今、一般的な技術になっており、その一つにPHS(Personal Handyphone System)が存在する。このPHSにおいては、クライアントPC(Client Personal Computer)からはモデムに見え、クライアントPCで稼動するウインドウズ(WINDOWS(登録商標)、Microsoft社の登録商標)等のOS(Operating System)が、インターネットに接続する仲立ちを行う。   Recently, a wireless device for making a part of an IP route wireless has become a common technology, and one of them is PHS (Personal Handyphone System). In this PHS, a client PC (Client Personal Computer) looks like a modem, and an OS (Operating System) such as Windows (a registered trademark of WINDOWS (registered trademark) or Microsoft) operating on the client PC is connected to the Internet. Intermediary.

一般に、ウインドウズ等の汎用OSは、VoIP(Voice over Internet Protocol)アプリケーションを実行することができる。VoIPアプリケーションは、例えば、コーディックにG729A(8Kbps)を用い、RTP/UDP/IPを用いて、インターネット上にあるSIP(Session Initiation Protocol)電話機とVoIP通話を行うことができる。   In general, a general-purpose OS such as Windows can execute a VoIP (Voice over Internet Protocol) application. The VoIP application can perform a VoIP call with a SIP (Session Initiation Protocol) telephone on the Internet using, for example, G729A (8 Kbps) as a codec and RTP / UDP / IP.

一般に、RTPを使用したVoIP通話において、RTPのタイムスタンプは、パケットに含まれる最も古いデータが発生した時刻を表す。クロックの周波数は、ペイロードタイプ(Payload Type:PT)毎に定義され、音声コーディックの場合はサンプリング周波数になる。例えば、8kHzサンプリングの音声コーディックを20msecのパケット長で伝送する場合、1パケットには160サンプル分の音声データが含まれており、タイムスタンプもパケット毎に160ずつ増加する。
特開2002−204260号公報
In general, in a VoIP call using RTP, the RTP time stamp represents the time when the oldest data included in the packet occurs. The frequency of the clock is defined for each payload type (Payload Type: PT), and is a sampling frequency in the case of a voice codec. For example, when an audio codec of 8 kHz sampling is transmitted with a packet length of 20 msec, one packet includes 160 samples of audio data, and the time stamp increases by 160 for each packet.
JP 2002-204260 A

しかしながら、従来のRTPを使用したVoIP通信において、RTPのタイムスタンプ加算量は、上述したように等差で加算されるのが一般的であるが、極まれに、上記タイムスタンプが変動するアプリケーションが存在する。
このタイムスタンプが変動するアプリケーションを、前述のパケットヘッダ圧縮方法で使用した場合、RTPタイムスタンプの値が計算により求められなくなるため、圧縮装置側でRTPタイムスタンプの情報を付与した圧縮パケットを送信する。ROHC(RFC3095)を例に挙げると、RTPタイムスタンプに付与された情報は、IR,UOR−TS等のメッセージとなり、通常の圧縮パケットに比べ、平均して5〜6Byte分サイズの大きいパケットとなる。
However, in conventional VoIP communication using RTP, the RTP time stamp addition amount is generally added with an equal difference as described above, but there is an application in which the time stamp fluctuates in rare cases. To do.
When an application in which the time stamp fluctuates is used in the above-described packet header compression method, the RTP time stamp value cannot be obtained by calculation. Therefore, the compression device transmits a compressed packet with the RTP time stamp information added thereto. . Taking ROHC (RFC3095) as an example, the information given to the RTP time stamp is a message such as IR or UOR-TS, which is a packet that is on average 5 to 6 bytes larger in size than a normal compressed packet. .

G729A(8Kbps)コーディックを用い、1IPパケットに2コーディックペイロードを載せる設定の場合、20msec毎にRTPパケットが流通することになるが、上記アプリケーションを使用した場合、スループットに換算して2.0〜2.4Kbpsの増加に相当し、約1/4強のオーバーヘッド増加となる。
無線を用いたIPパケットの伝送経路では、帯域が9.6Kbps程度しか確保できない場合が、極普通に有り得るが、上述したオーバーヘッド増加は無視できず、このオーバーヘッドを削除することが望まれる。
本発明の目的は、ROHC圧縮を目的とするRTP/UDP/IPパケットのRTPヘッダタイムスタンプの値を連続して変化させることにより、ROHC圧縮において最適な圧縮率を得ることができるデータ圧縮方法及びデータ送信装置を提供することである。
When G729A (8 Kbps) codec is used and 2 codec payloads are loaded on 1 IP packet, RTP packets are distributed every 20 msec. This corresponds to an increase of .4 Kbps and an overhead increase of about 1/4.
In the transmission path of IP packets using radio, there may be a case where the bandwidth can be secured only about 9.6 Kbps. However, the above increase in overhead cannot be ignored, and it is desired to delete this overhead.
An object of the present invention is to provide a data compression method capable of obtaining an optimal compression rate in ROHC compression by continuously changing the value of the RTP header time stamp of an RTP / UDP / IP packet intended for ROHC compression, and A data transmission apparatus is provided.

上記目的を達成するため、本発明に係るデータ圧縮方法は、送信装置から受信装置へ送信するデータを圧縮するデータ圧縮方法において、前記送信装置が、圧縮対象となるデータを取得するデータ取得ステップと、前記データ取得ステップで取得したデータに応じて、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出するタイムスタンプ加算値算出ステップと、前記データ取得ステップで取得した現在のデータにおけるタイムスタンプ値から、前記加算値を引いた値を算出し、算出した値に基づいて、前記現在のデータにおけるタイムスタンプ値を補正するか否かを判断するタイムスタンプ値補正判断ステップと、前記判断の結果、前記タイムスタンプ値補正判断ステップで算出した値が、前記データ取得ステップで前回取得されたデータのタイムスタンプ値と同じである場合には、前記データ取得ステップで前回取得されたデータのタイムスタンプ値に前記加算値を加えた値を、前記現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正ステップと、を含むことを特徴している。   In order to achieve the above object, a data compression method according to the present invention includes a data acquisition method for compressing data to be transmitted from a transmission device to a reception device, wherein the transmission device acquires data to be compressed, and A time stamp addition value calculating step for calculating an addition value to be added to the time stamp value included in the header information of the data according to the data acquired in the data acquisition step; and the current data acquired in the data acquisition step Calculating a value obtained by subtracting the added value from the time stamp value in the step, and, based on the calculated value, determining whether or not to correct the time stamp value in the current data; and As a result of the determination, the value calculated in the time stamp value correction determination step is the data acquisition step. Is the same as the time stamp value of the data acquired last time, the value obtained by adding the added value to the time stamp value of the data previously acquired in the data acquisition step is the time stamp value in the current data. And a time stamp value correcting step for correcting as follows.

また、本発明は、前記タイムスタンプ加算値算出ステップでは、前記データ取得ステップで取得したデータの伝送量に応じ、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することが好ましい。
また、本発明は、前記タイムスタンプ加算値算出ステップでは、前記データ取得ステップで取得したデータの伝送量が、現在の通信帯域における許容伝送量に基づいた基準伝送量を越える場合に、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することが好ましい。
また、本発明は、前記タイムスタンプ加算値算出ステップでは、前記データ取得ステップで取得したデータを圧縮した後のデータの伝送量が、現在の通信帯域における許容伝送量に基づいた基準伝送量を越える場合に、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することが好ましい。
According to the present invention, in the time stamp addition value calculation step, an addition value to be added to the time stamp value included in the header information of the data is calculated according to the transmission amount of the data acquired in the data acquisition step. preferable.
Further, in the time stamp addition value calculating step, the present invention provides that when the transmission amount of data acquired in the data acquisition step exceeds a reference transmission amount based on an allowable transmission amount in the current communication band, It is preferable to calculate an addition value to be added to the time stamp value included in the header information.
According to the present invention, in the time stamp addition value calculating step, the data transmission amount after compressing the data acquired in the data acquisition step exceeds a reference transmission amount based on an allowable transmission amount in the current communication band. In this case, it is preferable to calculate an addition value to be added to the time stamp value included in the header information of the data.

また、本発明に係るデータ送信装置は、受信装置へ送信するデータを圧縮して送信するデータ送信装置において、圧縮するためのデータを取得するデータ取得手段と、前記データ取得手段で取得したデータに応じ、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出する加算値算出手段と、前記データ取得手段で取得した現在のデータにおけるタイムスタンプ値から前記加算値を引いた値を算出し、当該算出した値に基づいて、前記現在のデータにおけるタイムスタンプ値を補正するか否かを判断する判断手段と、前記判断の結果、前記判断手段で算出した値が、前記データ取得手段で前回取得されたデータのタイムスタンプ値と同じである場合には、前記データ取得手段で前回取得されたデータのタイムスタンプ値に前記加算値を加えた値を、前記現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正手段とを有することを特徴としている。   The data transmission device according to the present invention includes a data acquisition unit that acquires data to be compressed in the data transmission device that compresses and transmits data to be transmitted to the reception device, and the data acquired by the data acquisition unit. Accordingly, an addition value calculation means for calculating an addition value to be added to the time stamp value included in the header information of the data, and a value obtained by subtracting the addition value from the time stamp value in the current data acquired by the data acquisition means. A determination unit that determines whether or not to correct a time stamp value in the current data based on the calculated value; and a value calculated by the determination unit as a result of the determination is the data acquisition unit If the time stamp value is the same as the time stamp value of the data acquired last time, the time stamp of the data last acquired by the data acquisition means Wherein a value obtained by adding the addition value, is characterized by having a timestamp value correction means for correcting a time stamp value in the current data.

本発明によれば、ROHC圧縮を目的とするRTP/UDP/IPパケットのRTPヘッダタイムスタンプの値を連続して変化させることにより、ROHC圧縮において最適な圧縮率を得ることができる。   According to the present invention, by continuously changing the value of the RTP header time stamp of the RTP / UDP / IP packet intended for ROHC compression, an optimal compression ratio can be obtained in ROHC compression.

以下、本発明を実施するための最良の形態について図面を参照して説明する。
図1は、本発明の一実施の形態に係る無線端末装置を用いた無線通信システムの概略構成を示す説明図である。図1に示すように、無線端末装置(データ送信装置)10を用いた無線通信システム11は、無線端末装置10と無線により接続された無線基地局12、無線端末装置10に接続されたクライアントPC13、クライアントPC13に接続された音声通話器14、無線基地局12にインターネットを介して接続されたSIPサーバ15、対向SIP電話機16、及び無線基地局12に接続されたPDSN(Packet Data Serving Node)17を有している。
The best mode for carrying out the present invention will be described below with reference to the drawings.
FIG. 1 is an explanatory diagram showing a schematic configuration of a wireless communication system using a wireless terminal device according to an embodiment of the present invention. As shown in FIG. 1, a wireless communication system 11 using a wireless terminal device (data transmitting device) 10 includes a wireless base station 12 connected to the wireless terminal device 10 by radio and a client PC 13 connected to the wireless terminal device 10. Voice telephone 14 connected to client PC 13, SIP server 15 connected to radio base station 12 via the Internet, opposing SIP telephone 16, and PDSN (Packet Data Serving Node) 17 connected to radio base station 12. have.

音声通話器14は、昨今、市販されているVoIP通話用の電話機であり、受話用のスピーカ、送話用のマイク、及び各種操作用のキーパット、クライアントPC13との接続のためのUSBインターフェース等を備えている。
クライアントPC13は、PPPoEクライアント(Point−to−Point Protocol over Ethernet Client)として機能し、イーサネット(登録商標)(Ethernet(登録商標))経由で無線端末装置10と接続する。
The voice communication device 14 is a telephone for VoIP calls that is commercially available nowadays, and includes a speaker for reception, a microphone for transmission, a keypad for various operations, a USB interface for connection with the client PC 13, and the like. I have.
The client PC 13 functions as a PPPoE client (Point-to-Point Protocol over Ethernet Client) and is connected to the wireless terminal device 10 via Ethernet (registered trademark) (Ethernet (registered trademark)).

無線端末装置10は、PPPoEサーバ機能を有し、PPPoEからの接続要求を受け付ける。つまり、無線端末装置10は、無線基地局12と無線リンクにより接続し、クライアントPC13からのPPPパケットをPDSN17まで伝達する。PDSN17は、PPPサーバ及びDHCP(Dynamic Host Configuration Protocol)サーバとしての機能を有し、クライアントPC13からのPPP接続要求を受け付けると共に、グローバルIPアドレスをクライアントPC13に渡す。クライアントPC13は、グローバルIPアドレスを用いてインターネットに接続する。   The wireless terminal device 10 has a PPPoE server function and accepts a connection request from PPPoE. That is, the wireless terminal device 10 is connected to the wireless base station 12 through a wireless link, and transmits the PPP packet from the client PC 13 to the PDSN 17. The PDSN 17 functions as a PPP server and a DHCP (Dynamic Host Configuration Protocol) server, accepts a PPP connection request from the client PC 13, and passes a global IP address to the client PC 13. The client PC 13 connects to the Internet using a global IP address.

クライアントPC13には、SIPに対応したVoIPアプリケーションがインストールされており、SIPを介して、SIPサーバ15及び対向SIP電話機16と通信を行う。クライアントPC13からの呼接続要求があると、SIPサーバ15の導きにより対向SIP電話機16と接続された後、クライアントPC13にUSB I/F(Universal Serial Bus interface)により接続された音声通話器14のスピーカ及びマイクを用いて、対向SIP電話機16との音声通話が実現する。音声コーディックは、G729A(8Kbps)を用いることとする。   A VoIP application corresponding to SIP is installed in the client PC 13 and communicates with the SIP server 15 and the opposite SIP telephone 16 via the SIP. When there is a call connection request from the client PC 13, the speaker of the voice communication device 14 connected to the client PC 13 by USB I / F (Universal Serial Bus interface) after being connected to the opposite SIP telephone 16 by guidance of the SIP server 15. The voice call with the opposite SIP telephone 16 is realized using the microphone. As the voice codec, G729A (8 Kbps) is used.

図2は、図1の無線通信システムを用いたVoIP通話時のプロトコルスタック変遷過程の一例を表により示した説明図である。図2に示すように、無線通信システム11を用いてVoIP通話を行なっている際、クライアントPC13は、マイクから得た音声データをG729コーディックによりデジタルデータに変換し、RTP/UDP/IPパケットに梱包する。クライアントPC13のPPPoEクライアントは、RTP/UDP/IPパケットをPPPoE/IPパケットにカプセリングし、イーサネットをリンクチャネルに用いて無線端末装置10に送信する。   FIG. 2 is an explanatory diagram showing an example of a protocol stack transition process during a VoIP call using the wireless communication system of FIG. As shown in FIG. 2, when performing a VoIP call using the wireless communication system 11, the client PC 13 converts voice data obtained from the microphone into digital data using the G729 codec, and packs it into RTP / UDP / IP packets. To do. The PPPoE client of the client PC 13 encapsulates the RTP / UDP / IP packet into a PPPoE / IP packet and transmits it to the wireless terminal device 10 using Ethernet as a link channel.

無線端末装置10は、PPPoEパケットをエンカプセルした後、RTP/UDP/IPの各ヘッダをROHC圧縮し、無線プロトコルを用いて無線基地局12に伝送する。無線基地局12は、無線端末装置10から受信したデータから、A10/GRE(General Routing Encapsulation)パケットを構築する。この際、ROHC圧縮されているROHCパケットからRTP/UDP/IPパケットに展開する。A10/GREパケットは、イーサネットをリンクチャネルに用いてPDSN17に伝達される。   After encapsulating the PPPoE packet, the wireless terminal device 10 performs ROHC compression on each RTP / UDP / IP header and transmits the header to the wireless base station 12 using a wireless protocol. The radio base station 12 constructs an A10 / GRE (General Routing Encapsulation) packet from the data received from the radio terminal device 10. At this time, the ROHC packet that is ROHC compressed is expanded into an RTP / UDP / IP packet. The A10 / GRE packet is transmitted to the PDSN 17 using Ethernet as a link channel.

図3は、図1の無線端末装置の内部構造を示すブロック図である。図3に示すように、無線端末装置10は、無線通信部18、送信バッファ19、ROHC圧縮部20、送信チャネルコンテキスト保持部21、受信パケットバッファ22、PPP判定部23、ROHC展開部24、受信チャネルコンテキスト保持部25、PPPパケット構築部26、パケットフィルタ27、PPPパケット抽出処理部28、PPPoEパケット構築部29、PC I/F部30、及びRTPタイムスタンプ処理部31を有している。
RTPタイムスタンプ処理部31は、RTPタイムスタンプ修正部32、RTPタイムスタンプ監視部33及び切替スイッチ34を有している。
FIG. 3 is a block diagram showing an internal structure of the wireless terminal device of FIG. As illustrated in FIG. 3, the wireless terminal device 10 includes a wireless communication unit 18, a transmission buffer 19, a ROHC compression unit 20, a transmission channel context holding unit 21, a reception packet buffer 22, a PPP determination unit 23, a ROHC expansion unit 24, a reception A channel context holding unit 25, a PPP packet construction unit 26, a packet filter 27, a PPP packet extraction processing unit 28, a PPPoE packet construction unit 29, a PC I / F unit 30, and an RTP time stamp processing unit 31 are provided.
The RTP time stamp processing unit 31 includes an RTP time stamp correction unit 32, an RTP time stamp monitoring unit 33, and a changeover switch 34.

PC I/F部30は、イーサネットから受信したイーサネットパケットを受信する働きを持つ。PC I/F部30から受信したイーサネットパケットは、PPPoEパケットであるので、PPPパケット抽出処理部28により、PPPパケットにエンカプセルされる。クライアントPC13は、PPPoEパケットのプロトコル種別をIPパケットとしている。パケットフィルタ27は、PPPパケットの各ヘッダ情報を参照することにより、ROHC圧縮が必要なパケットであるか否かを判定する。一般に、IPヘッダのプロトコルフィールド、RTPパケットのペイロードタイプ等を参照することにより、圧縮目的のパケットか否かを判定することが可能である。   The PC I / F unit 30 has a function of receiving an Ethernet packet received from the Ethernet. Since the Ethernet packet received from the PC I / F unit 30 is a PPPoE packet, it is encapsulated by the PPP packet extraction processing unit 28 into a PPP packet. The client PC 13 uses the protocol type of the PPPoE packet as an IP packet. The packet filter 27 determines whether or not the packet needs ROHC compression by referring to the header information of the PPP packet. In general, it is possible to determine whether or not the packet is for compression by referring to the protocol field of the IP header, the payload type of the RTP packet, and the like.

パケットフィルタ27は、PPPパケットがROHC圧縮対象パケットであると判断した場合、PPPパケットのプロトコル種別をROHCプロトコルに書き換え、ROHC圧縮部20により圧縮を行う。また、パケットフィルタ27は、PPPパケットがROHC圧縮対象パケットではないと判断した場合、PPPのプロトコル種別をIPのまま書き換えず、ROHC圧縮部20を透過させない(非圧縮のまま)。そして、何れの場合も、PPPパケットは、送信バッファ19に格納され、順次、無線基地局12に送信される。   When the packet filter 27 determines that the PPP packet is the ROHC compression target packet, the packet filter 27 rewrites the protocol type of the PPP packet to the ROHC protocol, and the ROHC compression unit 20 performs compression. If the packet filter 27 determines that the PPP packet is not a ROHC compression target packet, the packet protocol 27 does not rewrite the PPP protocol type as IP, and does not allow the ROHC compression unit 20 to pass through (uncompressed). In any case, the PPP packet is stored in the transmission buffer 19 and sequentially transmitted to the radio base station 12.

次に、RTPタイムスタンプ処理部31について説明する。PPPパケットの処理に関し、パケットフィルタ27がPPPパケットの内容を参照して、ROHC圧縮が必要なパケットか否かを判定し、ROHC圧縮が必要な場合は、PPPのプロトコル種別をROHCプロトコルに書き換える。ここまでは、RTPタイムスタンプ処理部31を設けていない場合と同じであるが、RTPタイムスタンプ処理部31により、コンテキストID毎に管理された番号単位、即ち、IP,UDPポート等が同一のVoIPセッション単位で、RTPタイムスタンプ監視部33によりRTPヘッダのタイムスタンプを監視し、タイムスタンプが適正でない場合、RTPタイムスタンプ修正部32により修正する。   Next, the RTP time stamp processing unit 31 will be described. Regarding PPP packet processing, the packet filter 27 refers to the contents of the PPP packet to determine whether or not the packet requires ROHC compression. If ROHC compression is necessary, the protocol type of PPP is rewritten to the ROHC protocol. Up to this point, it is the same as the case where the RTP time stamp processing unit 31 is not provided. However, the number unit managed for each context ID by the RTP time stamp processing unit 31, that is, the VoIP with the same IP, UDP port, etc. For each session, the RTP time stamp monitoring unit 33 monitors the time stamp of the RTP header. If the time stamp is not appropriate, the RTP time stamp correcting unit 32 corrects the time stamp.

このような制御を行うことにより、設定に応じてRTPヘッダのタイムスタンプをROHC圧縮に適正な値に修正することができる。
ここで、RTPタイムスタンプ処理部31によるRTPヘッダのタイムスタンプ修正の具体的な処理について、説明する。
先ず、RTPパケットのタイムスタンプ加算値の算出を行う。
By performing such control, the time stamp of the RTP header can be corrected to a value appropriate for ROHC compression according to the setting.
Here, specific processing for correcting the time stamp of the RTP header by the RTP time stamp processing unit 31 will be described.
First, the time stamp addition value of the RTP packet is calculated.

図4は、RTPパケットの各情報要素の分類を表で示す説明図である。図5は、RTPパケットPTの分類(抜粋)を表で示す説明図である。図4及び図5に示すように、RTPパケットには、コーディックタイプを記述するフィールド(PT)があり、この値から1秒間のサンプリング周波数(KHz)を抽出することができる。一般的に、殆どの音声コーディックにおいて、サンプリング周波数は8KHz(8000Hz)である。また、RTPペイロードサイズから、RTPパケットの送信間隔、また1秒間に送出するRTPパケット総数を算出することができる。上記2パラメータにより、RTPタイムスタンプの加算値を以下のように算出することができる。   FIG. 4 is an explanatory diagram showing the classification of each information element of the RTP packet in a table. FIG. 5 is an explanatory diagram showing the classification (extract) of the RTP packet PT in a table. As shown in FIGS. 4 and 5, the RTP packet has a field (PT) describing a codec type, and a sampling frequency (KHz) for 1 second can be extracted from this value. In general, in most audio codecs, the sampling frequency is 8 KHz (8000 Hz). Further, from the RTP payload size, the RTP packet transmission interval and the total number of RTP packets transmitted per second can be calculated. With the above two parameters, the added value of the RTP time stamp can be calculated as follows.

G.729(8KHz)のRTPパケットを20ms間隔で送出するVoIPアプリケーションの場合、
(1)1秒間に送信するRTPパケット数を算出する。
G.729のスループットは8Kbps(1秒間に1000バイト)であるため、この値からRTPパケットのペイロードサイズを除算すれば、1秒間に送信するRTPパケット数を算出することができる。
(2)RTPタイムスタンプ加算値を求める。
G.729のサンプリング周波数から、(1)で求めた1秒間に送信するRTPパケット数を除算すれば、目的のRTPタイムスタンプ加算値を求めることができる。
G. In the case of a VoIP application that sends 729 (8 KHz) RTP packets at 20 ms intervals,
(1) Calculate the number of RTP packets transmitted per second.
G. Since the throughput of 729 is 8 Kbps (1000 bytes per second), the number of RTP packets transmitted per second can be calculated by dividing the payload size of the RTP packet from this value.
(2) Obtain the RTP time stamp addition value.
G. By dividing the number of RTP packets to be transmitted per second obtained in (1) from the sampling frequency of 729, the target RTP timestamp addition value can be obtained.

次に、ROHC圧縮部におけるRTPタイムスタンプの検査及び修正を行う。
図6は、本発明に係る無線端末装置による送信処理の流れを示すフローチャートである。ここで、TSはタイムスタンプの略である。図6に示すように、ROHC圧縮部20が処理を開始すると、RTPパケットのTSの加算値を算出する(ステップS101)。算出後、圧縮対象のRTPのTSを取得する(ステップS102)。その後、TSを加算値で割った剰余が0か否か(TS%加算値=0?)を判断し(ステップS103)、判断の結果、0である(yes)場合、TSをRTPパケットのTSとする(ステップS104)。
Next, the RTP time stamp is checked and corrected in the ROHC compression unit.
FIG. 6 is a flowchart showing a flow of transmission processing by the wireless terminal device according to the present invention. Here, TS is an abbreviation for time stamp. As shown in FIG. 6, when the ROHC compression unit 20 starts processing, it calculates the added value of the TS of the RTP packet (step S101). After the calculation, the RTP TS to be compressed is acquired (step S102). Thereafter, it is determined whether or not the remainder obtained by dividing TS by the added value is 0 (TS% added value = 0?) (Step S103). If the result of determination is 0 (yes), TS is converted to TS of the RTP packet. (Step S104).

一方、ステップS103での判断の結果、0でない(no)場合、TSからTS%加算値を減算したものをTSとした(ステップS105)後、TSがTS−SVか否か(TS=TS−SV?)を判断する(ステップS106)。判断の結果、TSがTS−SVである(yes)場合は、TSに加算値を加算したものをTSとして(ステップS107)、TSがTS−SVでない(no)場合はそのまま、TSをRTPパケットのTSとする(ステップS104)。
その後、TSをTS−SV、即ち、ROHC圧縮部20に送信した最新RTPのTSとして(ステップS108)、ステップS102へ戻る。以後、ステップS102からステップS110の処理を繰り返すループ処理を行う。
On the other hand, if the result of determination in step S103 is not 0 (no), TS is obtained by subtracting the TS% addition value from TS (step S105), and whether TS is TS-SV (TS = TS-). SV?) Is determined (step S106). If the TS is TS-SV (yes) as a result of the determination, the TS is obtained by adding the added value to the TS (step S107). If the TS is not TS-SV (no), the TS remains as it is in the RTP packet. TS (step S104).
Thereafter, the TS is TS-SV, that is, the latest RTP TS transmitted to the ROHC compression unit 20 (step S108), and the process returns to step S102. Thereafter, a loop process that repeats the process from step S102 to step S110 is performed.

上述したように、無線端末装置10によるデータ圧縮方法は、送信装置から受信装置へ送信するデータを圧縮するデータ圧縮方法において、送信装置が、圧縮対象となるデータを取得するデータ取得ステップと、データ取得ステップで取得したデータに応じて、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出するタイムスタンプ加算値算出ステップと、データ取得ステップで取得した現在のデータにおけるタイムスタンプ値から、加算値を引いた値を算出し、算出した値に基づいて、現在のデータにおけるタイムスタンプ値を補正するか否かを判断するタイムスタンプ値補正判断ステップと、判断の結果、タイムスタンプ値補正判断ステップで算出した値が、データ取得ステップで前回取得されたデータのタイムスタンプ値と同じである場合には、データ取得ステップで前回取得されたデータのタイムスタンプ値に加算値を加えた値を、現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正ステップと、を含む。   As described above, the data compression method performed by the wireless terminal device 10 is a data compression method for compressing data to be transmitted from the transmission device to the reception device. The data acquisition step in which the transmission device acquires data to be compressed; In accordance with the data acquired in the acquisition step, a time stamp addition value calculation step for calculating an addition value to be added to the time stamp value included in the header information of the data, and a time stamp value in the current data acquired in the data acquisition step A value obtained by subtracting the added value from the time stamp, and based on the calculated value, a time stamp value correction determining step for determining whether to correct the time stamp value in the current data; The value calculated in the correction judgment step is the data type previously acquired in the data acquisition step. If it is the same as the stamp value, a time stamp value correcting step for correcting the value obtained by adding the added value to the time stamp value of the data previously acquired in the data acquiring step as the time stamp value in the current data, and Including.

即ち、無線端末装置10によるデータ圧縮処理を行う場合、先ず、ROHC圧縮部20におけるRTPタイムスタンプの検査を行う。RTPタイムスタンプ監視部33において受信したRTPパケットのタイムスタンプ値を、上述した方法により求めたタイムスタンプ加算値で剰余算し、余り発生の有無を調べる。次に、RTPタイムスタンプの検査の結果、RTPタイムスタンプ修正部32が、該当したRTPパケットについてタイムスタンプ修正処理を行う。つまり、受信RTPパケットのタイムスタンプ値から、タイムスタンプ加算値で剰余算して求めた余り分を引いて、求めた値が1個前に受信したRTPと同じ場合、求めた値にタイムスタンプ加算値を加える。   That is, when data compression processing by the wireless terminal device 10 is performed, first, the RTP time stamp in the ROHC compression unit 20 is inspected. The RTP time stamp monitoring unit 33 divides the time stamp value of the received RTP packet by the time stamp addition value obtained by the above-described method, and checks whether there is a remainder. Next, as a result of the RTP time stamp check, the RTP time stamp correction unit 32 performs time stamp correction processing on the corresponding RTP packet. In other words, when the obtained value is the same as the previously received RTP by subtracting the remainder obtained by the remainder from the time stamp addition value from the time stamp value of the received RTP packet, the time stamp is added to the obtained value. Add a value.

このように、データ送信装置である無線端末装置10は、受信装置へ送信するデータを圧縮して送信するデータ送信装置において、圧縮するためのデータを取得するデータ取得手段(クライアントPC13)と、データ取得手段で取得したデータに応じ、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出する加算値算出手段(ROHC圧縮部20)と、データ取得手段で取得した現在のデータにおけるタイムスタンプ値から加算値を引いた値を算出し、当該算出した値に基づいて、現在のデータにおけるタイムスタンプ値を補正するか否かを判断する判断手段(RTPタイムスタンプ処理部31)と、判断の結果、判断手段で算出した値が、データ取得手段で前回取得されたデータのタイムスタンプ値と同じである場合には、データ取得手段で前回取得されたデータのタイムスタンプ値に加算値を加えた値を、現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正手段(RTPタイムスタンプ処理部31)とを有する。   As described above, the wireless terminal device 10 that is a data transmission device includes a data acquisition unit (client PC 13) that acquires data for compression in the data transmission device that compresses and transmits data to be transmitted to the reception device, and data In accordance with the data acquired by the acquisition unit, an addition value calculation unit (ROHC compression unit 20) that calculates an addition value to be added to the time stamp value included in the header information of the data, and the current data acquired by the data acquisition unit A determination unit (RTP time stamp processing unit 31) for calculating a value obtained by subtracting the addition value from the time stamp value and determining whether or not to correct the time stamp value in the current data based on the calculated value; As a result of the determination, the value calculated by the determination means is the same as the time stamp value of the data previously acquired by the data acquisition means. In this case, a time stamp value correcting unit (RTP time stamp processing unit 31) that corrects, as a time stamp value in the current data, a value obtained by adding the added value to the time stamp value of the data previously acquired by the data acquiring unit; Have

従って、IPパケットの伝送経路を無線化する無線端末装置10において、ROHC圧縮を目的とするRTP/UDP/IPパケットのRTPヘッダタイムスタンプの値を連続して変化させることにより、ROHC圧縮において最適な圧縮率を得ることができる。
なお、本発明は、上述した実施の形態により説明したが、この実施の形態に限定されるものではない。従って、本発明の趣旨を逸脱することなく変更態様として実施するものも含むものである。
Therefore, in the wireless terminal device 10 that wirelessly transmits the transmission path of the IP packet, the value of the RTP header time stamp of the RTP / UDP / IP packet intended for ROHC compression is continuously changed. Compression rate can be obtained.
Although the present invention has been described with reference to the above-described embodiment, it is not limited to this embodiment. Therefore, what is implemented as a change aspect without deviating from the meaning of the present invention is also included.

本発明の一実施の形態に係る無線端末装置を用いた無線通信システムの概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the radio | wireless communications system using the radio | wireless terminal apparatus which concerns on one embodiment of this invention. 図1の無線通信システムを用いたVoIP通話時のプロトコルスタック変遷過程の一例を表により示した説明図である。It is explanatory drawing which showed the example of the protocol stack transition process at the time of the VoIP call using the radio | wireless communications system of FIG. 1 with the table | surface. 図1の無線端末装置の内部構造を示すブロック図である。It is a block diagram which shows the internal structure of the radio | wireless terminal apparatus of FIG. RTPパケットの各情報要素の分類を表で示す説明図である。It is explanatory drawing which shows the classification | category of each information element of a RTP packet with a table | surface. RTPパケットPTの分類(抜粋)を表で示す説明図である。It is explanatory drawing which shows the classification | category (extract) of RTP packet PT with a table | surface. 本発明に係る無線端末装置による送信処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the transmission process by the radio | wireless terminal apparatus which concerns on this invention.

符号の説明Explanation of symbols

10 無線端末装置
11 無線通信システム
12 無線基地局
13 クライアントPC
14 音声通話器
15 SIPサーバ
16 対向SIP電話機
17 PDSN
18 無線通信部
19 送信バッファ
20 ROHC圧縮部
21 送信チャネルコンテキスト保持部
22 受信パケットバッファ
23 PPP判定部
24 ROHC展開部
25 受信チャネルコンテキスト保持部
26 PPPパケット構築部
27 パケットフィルタ
28 PPPパケット抽出処理部
29 PPPoEパケット構築部
30 PC I/F部
31 RTPタイムスタンプ処理部
32 RTPタイムスタンプ修正部
33 RTPタイムスタンプ監視部
34 切替スイッチ
10 wireless terminal device 11 wireless communication system 12 wireless base station 13 client PC
14 Voice Communication Device 15 SIP Server 16 Opposite SIP Phone 17 PDSN
DESCRIPTION OF SYMBOLS 18 Wireless communication part 19 Transmission buffer 20 ROHC compression part 21 Transmission channel context holding part 22 Reception packet buffer 23 PPP determination part 24 ROHC expansion part 25 Reception channel context holding part 26 PPP packet construction part 27 Packet filter 28 PPP packet extraction process part 29 PPPoE packet construction unit 30 PC I / F unit 31 RTP time stamp processing unit 32 RTP time stamp correction unit 33 RTP time stamp monitoring unit 34 changeover switch

Claims (5)

送信装置から受信装置へ送信するデータを圧縮するデータ圧縮方法において、
前記送信装置が、圧縮対象となるデータを取得するデータ取得ステップと、
前記データ取得ステップで取得したデータに応じて、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出するタイムスタンプ加算値算出ステップと、
前記データ取得ステップで取得した現在のデータにおけるタイムスタンプ値から、前記加算値を引いた値を算出し、算出した値に基づいて、前記現在のデータにおけるタイムスタンプ値を補正するか否かを判断するタイムスタンプ値補正判断ステップと、
前記判断の結果、前記タイムスタンプ値補正判断ステップで算出した値が、前記データ取得ステップで前回取得されたデータのタイムスタンプ値と同じである場合には、前記データ取得ステップで前回取得されたデータのタイムスタンプ値に前記加算値を加えた値を、前記現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正ステップと、
を含むことを特徴とするデータ圧縮方法。
In a data compression method for compressing data to be transmitted from a transmission device to a reception device,
A data acquisition step in which the transmission device acquires data to be compressed; and
In accordance with the data acquired in the data acquisition step, a time stamp addition value calculation step for calculating an addition value to be added to the time stamp value included in the header information of the data;
A value obtained by subtracting the added value from the time stamp value in the current data acquired in the data acquisition step is calculated, and it is determined whether to correct the time stamp value in the current data based on the calculated value. A time stamp value correction determination step,
As a result of the determination, if the value calculated in the time stamp value correction determination step is the same as the time stamp value of the data acquired last time in the data acquisition step, the data acquired last time in the data acquisition step A time stamp value correcting step of correcting a value obtained by adding the added value to the time stamp value of the current data as a time stamp value in the current data;
A data compression method comprising:
前記タイムスタンプ加算値算出ステップでは、
前記データ取得ステップで取得したデータの伝送量に応じ、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することを特徴とする請求項1に記載のデータ圧縮方法。
In the time stamp addition value calculating step,
The data compression method according to claim 1, wherein an addition value to be added to a time stamp value included in header information of the data is calculated according to a transmission amount of the data acquired in the data acquisition step.
前記タイムスタンプ加算値算出ステップでは、
前記データ取得ステップで取得したデータの伝送量が、現在の通信帯域における許容伝送量に基づいた基準伝送量を越える場合に、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することを特徴とする請求項1に記載のデータ圧縮方法。
In the time stamp addition value calculating step,
When the transmission amount of data acquired in the data acquisition step exceeds the reference transmission amount based on the allowable transmission amount in the current communication band, an addition value to be added to the time stamp value included in the header information of the data is calculated The data compression method according to claim 1, wherein:
前記タイムスタンプ加算値算出ステップでは、
前記データ取得ステップで取得したデータを圧縮した後のデータの伝送量が、現在の通信帯域における許容伝送量に基づいた基準伝送量を越える場合に、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出することを特徴とする請求項1に記載のデータ圧縮方法。
In the time stamp addition value calculating step,
When the data transmission amount after compressing the data acquired in the data acquisition step exceeds the reference transmission amount based on the allowable transmission amount in the current communication band, to the time stamp value included in the header information of the data The data compression method according to claim 1, wherein an addition value to be added is calculated.
受信装置へ送信するデータを圧縮して送信するデータ送信装置において、
圧縮するためのデータを取得するデータ取得手段と、
前記データ取得手段で取得したデータに応じ、当該データのヘッダ情報に含まれるタイムスタンプ値へ加算する加算値を算出する加算値算出手段と、
前記データ取得手段で取得した現在のデータにおけるタイムスタンプ値から前記加算値を引いた値を算出し、当該算出した値に基づいて、前記現在のデータにおけるタイムスタンプ値を補正するか否かを判断する判断手段と、
前記判断の結果、前記判断手段で算出した値が、前記データ取得手段で前回取得されたデータのタイムスタンプ値と同じである場合には、前記データ取得手段で前回取得されたデータのタイムスタンプ値に前記加算値を加えた値を、前記現在のデータにおけるタイムスタンプ値として補正するタイムスタンプ値補正手段と
を有することを特徴とするデータ送信装置。
In a data transmission device that compresses and transmits data to be transmitted to a reception device,
Data acquisition means for acquiring data for compression;
In accordance with the data acquired by the data acquisition means, an addition value calculation means for calculating an addition value to be added to the time stamp value included in the header information of the data;
A value obtained by subtracting the added value from the time stamp value in the current data acquired by the data acquisition unit is calculated, and it is determined whether to correct the time stamp value in the current data based on the calculated value. A judgment means to
As a result of the determination, if the value calculated by the determination unit is the same as the time stamp value of the data acquired last time by the data acquisition unit, the time stamp value of the data acquired last time by the data acquisition unit And a time stamp value correcting means for correcting a value obtained by adding the added value to a time stamp value in the current data.
JP2006294221A 2006-10-30 2006-10-30 Method of compressing data and data transmitter Pending JP2008113157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006294221A JP2008113157A (en) 2006-10-30 2006-10-30 Method of compressing data and data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006294221A JP2008113157A (en) 2006-10-30 2006-10-30 Method of compressing data and data transmitter

Publications (1)

Publication Number Publication Date
JP2008113157A true JP2008113157A (en) 2008-05-15

Family

ID=39445446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006294221A Pending JP2008113157A (en) 2006-10-30 2006-10-30 Method of compressing data and data transmitter

Country Status (1)

Country Link
JP (1) JP2008113157A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204260A (en) * 2000-11-06 2002-07-19 Matsushita Electric Ind Co Ltd Method, device and program for compressing header

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002204260A (en) * 2000-11-06 2002-07-19 Matsushita Electric Ind Co Ltd Method, device and program for compressing header

Similar Documents

Publication Publication Date Title
JP4680890B2 (en) Communication device and communication method for communication of Internet data packet
JP4702852B2 (en) Wireless telecommunications apparatus and method for communicating internet packets containing different types of data
US7212511B2 (en) Systems and methods for VoIP wireless terminals
US20080025312A1 (en) Zero-header compression for improved communications
JP2003502948A (en) Robust header compression in packet communication
WO2006036051A1 (en) Method and apparatus for supporting voice service through radio channel in mobile telecommunication system
JP2013243690A (en) Method and apparatus for enhancing rohc performance during silence suppression
JP2006522518A5 (en)
WO2006052117A1 (en) Apparatus and method for compressing headers in a broadband wireless communication system
US9392082B2 (en) Communication interface and method for robust header compression of data flows
EP1187416B1 (en) Method and apparatus for transmitting data packets
JP2002124989A (en) Method for transferring data packet and device therefor
JP2003526265A (en) Header compression integrated access technology
JP4856251B2 (en) Header suppression in wireless communication networks
CN109219078B (en) Voice packet loss processing method and device
KR100689473B1 (en) Apparatus and method for compressing protocol header in communication system
JP2004356983A (en) Method and system for identifying packet information
JP2008113157A (en) Method of compressing data and data transmitter
EP2384048B1 (en) Method and apparatus for processing compressed multiplexed messages
JP2008113151A (en) Communication method and equipment
JP4637757B2 (en) Mobile communication system, base station apparatus, and control method for base station apparatus
US7804827B2 (en) Method for ensuring adequacy of transmission capacity, terminal employing the method, and software means for implementing the method
JP2008113152A (en) Transmission method and device
JP4951672B2 (en) Wireless communication system, wireless communication apparatus, and wireless communication method
JP2007194693A (en) Rtp communication terminal with header compression function, program, and network controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110316

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110705