JP2009147825A - Rtp packet transmitter and rtp packet receiver - Google Patents

Rtp packet transmitter and rtp packet receiver Download PDF

Info

Publication number
JP2009147825A
JP2009147825A JP2007325160A JP2007325160A JP2009147825A JP 2009147825 A JP2009147825 A JP 2009147825A JP 2007325160 A JP2007325160 A JP 2007325160A JP 2007325160 A JP2007325160 A JP 2007325160A JP 2009147825 A JP2009147825 A JP 2009147825A
Authority
JP
Japan
Prior art keywords
rtp packet
rtp
time stamp
stamp value
payload
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
JP2007325160A
Other languages
Japanese (ja)
Inventor
Hitoshi Ikuhira
均 生平
Isao Watanabe
功 渡邉
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 JP2007325160A priority Critical patent/JP2009147825A/en
Publication of JP2009147825A publication Critical patent/JP2009147825A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a RTP packet transmitter and a RTP packet receiver for transmitting and receiving voice data and application data by a highly universal method with no fear of noise or security problem. <P>SOLUTION: As for the RTP packet which contains application data in payload, a time stamp value applying unit 13 of an IP telephone set 10 on the transmitting side gives the same time stamp value as RTP packet, which was formed last time, to a RTP header of the RTP packet. Even if it is overlapped with the last time stamp value, the sequence number is exact, so the RTP packet is not discarded by an intermediate IP telephone router or a proxy server. On the other hand, the RTP packet in which the application data is included is discarded after the application data is extracted on the receive side, so problem of noise or security does not occur. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明はRTPパケット送信装置及びRTPパケット受信装置に関し、特に、音声データとアプリケーションデータとを送受信するためのRTPパケット送信装置及びRTPパケット受信装置に関するものである。   The present invention relates to an RTP packet transmitter and an RTP packet receiver, and more particularly to an RTP packet transmitter and an RTP packet receiver for transmitting and receiving voice data and application data.

映像や音声データをリアルタイムに転送するためのプロトコルとしては、IETF RFC1889で規定されているプロトコルであるRTP(Real-time Transport Protocol)が用いられている。例えば、特許文献1には、ビデオオンデマンドや遠隔テレビ会議のようなリアルタイム再生が望まれるシステムにおいて、RTPにより映像や音声データを転送する技術が開示されている。   As a protocol for transferring video and audio data in real time, RTP (Real-time Transport Protocol) which is a protocol defined by IETF RFC1889 is used. For example, Patent Document 1 discloses a technique for transferring video and audio data by RTP in a system that requires real-time reproduction such as video on demand or remote video conference.

この特許文献1のシステムにおいては、RTPパケット生成部は、符号化データをペイロードとしたパケットを生成する処理を実行する。RTPパケット生成部は、ペイロードデータに対してRTPヘッダを付加しパケット化する。RTPヘッダには、バージョン番号(v)、パディング(P)、拡張ヘッダ(X)の有無、送信元数(Counter)、マーカ情報(markerbit)、ペイロードタイプ(Payload type)、シーケンス番号、タイムスタンプ、同期ソース(送信元)識別子(SSRC)および貢献ソース(送信元)識別子(CSRC)の各フィールドが設けられている。データ受信側において、RTPヘッダに付与されたタイムスタンプによりRTPパケットの展開時に処理時間の制御が実行され、リアルタイム画像、または音声の再生制御が可能となる。
特開2003−179580号公報
In the system disclosed in Patent Document 1, the RTP packet generation unit executes processing for generating a packet using encoded data as a payload. The RTP packet generator adds an RTP header to the payload data and packetizes it. The RTP header includes version number (v), padding (P), presence / absence of extension header (X), number of transmission sources (Counter), marker information (markerbit), payload type (Payload type), sequence number, time stamp, The fields of synchronization source (source) identifier (SSRC) and contributing source (source) identifier (CSRC) are provided. On the data receiving side, the processing time is controlled when the RTP packet is expanded based on the time stamp added to the RTP header, thereby enabling real-time image or audio reproduction control.
JP 2003-179580 A

ところで、RTPを用いたIP電話機において、音声データの転送中に、他の電話番号等のアプリケーションデータを転送する方式としては、inband方式とoutband方式があり、inband方式ではDTMF(Dual-Tone Multi-Frequency)、outband方式ではSIP(Session Initiation Protocol)のINFOメソッドがある。しかし、DTMFは可聴音である為に、騒音やセキュリティ上の問題が発生することや、得られる通信性能が遅いという問題がある。また、SIPのINFOメソッドはISP(Internet Service Provider)によってはサポートしておらず利用できない場合があるという問題があった。   By the way, in an IP telephone using RTP, there are an inband system and an outband system as a system for transferring application data such as other telephone numbers during transfer of voice data. In the inband system, DTMF (Dual-Tone Multi- Frequency) and outband systems include an SIP (Session Initiation Protocol) INFO method. However, since DTMF is an audible sound, there are problems such as noise and security problems and slow communication performance. In addition, the SIP INFO method is not supported by some ISPs (Internet Service Providers) and may not be used.

本発明は、かかる事情に鑑みてなされたものであり、その目的は、騒音やセキュリティ上の問題が発生することがなく、且つ汎用性が高い方式によって音声データとアプリケーションデータとを送受信することのできるRTPパケット送信装置及びRTPパケット受信装置を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to transmit and receive audio data and application data by a highly versatile method without causing noise or security problems. An RTP packet transmitting device and an RTP packet receiving device that can be used are provided.

本発明は、音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、第1のRTPパケット生成手段及び第2のRTPパケット生成手段が其々生成した第1のRTPパケット及び第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、を備え、第1のRTPパケット生成手段は、第1のRTPパケットのRTPヘッダに対して、順次加算されるタイムスタンプ値を付与し、第2のRTPパケット生成手段は、第2のRTPパケットのRTPヘッダに対して、前回送信した第1のRTPパケットと同じタイムスタンプ値を付与する、RTPパケット送信装置である。   The present invention includes a first RTP packet generating unit that generates a first RTP packet including voice data in a payload, a second RTP packet generating unit that generates a second RTP packet including application data in a payload, RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means to the network, respectively, and the first RTP packet The generation unit assigns a time stamp value to be sequentially added to the RTP header of the first RTP packet, and the second RTP packet generation unit transmits the previous transmission to the RTP header of the second RTP packet. It is an RTP packet transmission device that gives the same time stamp value as the first RTP packet.

また、本発明は、音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、第1のRTPパケット生成手段及び第2のRTPパケット生成手段が其々生成した第1のRTPパケット及び第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、を備え、第1のRTPパケット生成手段は、第1のRTPパケットのRTPヘッダに対して、順次加算されるタイムスタンプ値を付与し、第2のRTPパケット生成手段は、第2のRTPパケットのRTPヘッダに対して、前回送信した第1のRTPパケットのタイムスタンプ値よりも小さいタイムスタンプ値を付与する、RTPパケット送信装置である。   In addition, the present invention provides a first RTP packet generation unit that generates a first RTP packet including voice data in a payload, and a second RTP packet generation unit that generates a second RTP packet including application data in a payload. And RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means to the network, respectively, The RTP packet generation means assigns time stamp values that are sequentially added to the RTP header of the first RTP packet, and the second RTP packet generation means applies to the RTP header of the second RTP packet. A time stamp value smaller than the time stamp value of the first RTP packet transmitted last time is given, A TP packet transmitting apparatus.

さらに、本発明は、音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、第1のRTPパケット生成手段及び第2のRTPパケット生成手段が其々生成した第1のRTPパケット及び第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、を備え、第1のRTPパケット生成手段は、第1のRTPパケットのRTPヘッダに対して、2以上の値が順次加算されるタイムスタンプ値を付与し、第2のRTPパケット生成手段は、第2のRTPパケットのRTPヘッダに対して、前回送信した第1のRTPパケットのタイムスタンプ値よりも1大きいタイムスタンプ値を付与する、RTPパケット送信装置である。   Furthermore, the present invention provides a first RTP packet generating means for generating a first RTP packet including voice data in a payload, and a second RTP packet generating means for generating a second RTP packet including application data in a payload. And RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means to the network, respectively, The RTP packet generation means assigns a time stamp value in which two or more values are sequentially added to the RTP header of the first RTP packet, and the second RTP packet generation means outputs the RTP packet of the second RTP packet. A time stamp that is one greater than the time stamp value of the first RTP packet transmitted last time with respect to the header Imparting value, a RTP packet transmitting apparatus.

一方、本発明は、RTPパケットをネットワークから受信するRTPパケット受信手段と、音声データを処理する音声データ処理手段と、アプリケーションデータを処理するアプリケーションデータ処理手段と、RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値より大きい値である場合に、当該RTPパケットのペイロードに含まれるデータを音声データ処理手段に渡し、RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値と同一である場合に、該RTPパケットのペイロードに含まれるデータをアプリケーションデータ処理手段に渡すRTPパケッ解析手段とを備える、RTPパケット受信装置である。   On the other hand, the present invention provides an RTP packet receiving means for receiving RTP packets from a network, an audio data processing means for processing voice data, an application data processing means for processing application data, and an RTP packet received by the RTP packet receiving means. When the time stamp value of the RTP header is larger than the time stamp value of the previously received RTP packet, the data included in the payload of the RTP packet is passed to the voice data processing means, and the RTP packet receiving means receives the RTP RTP packet analysis means for passing data contained in the payload of the RTP packet to the application data processing means when the time stamp value of the RTP header of the packet is the same as the time stamp value of the previously received RTP packet. That is a RTP packet receiver.

また、本発明は、RTPパケットをネットワークから受信するRTPパケット受信手段と、音声データを処理する音声データ処理手段と、アプリケーションデータを処理するアプリケーションデータ処理手段と、RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値以上の値である場合に、当該RTPパケットのペイロードに含まれるデータを音声データ処理手段に渡し、RTPパケット受信手段が受信したRTPパケットのRTPパケットのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値よりも小さい場合に、当該RTPパケットのペイロードに含まれるデータをアプリケーションデータ処理手段に渡すRTPパケット解析手段とを備える、RTPパケット受信装置である。   The present invention also provides an RTP packet receiving means for receiving an RTP packet from a network, an audio data processing means for processing voice data, an application data processing means for processing application data, and an RTP packet received by the RTP packet receiving means. When the time stamp value of the RTP header is equal to or greater than the time stamp value of the previously received RTP packet, the data included in the payload of the RTP packet is passed to the voice data processing means, and the RTP packet receiving means receives the RTP RTP packet analysis means for passing data contained in the payload of the RTP packet to the application data processing means when the time stamp value of the RTP packet of the packet is smaller than the time stamp value of the RTP packet received last time Obtain a RTP packet receiver.

さらに、本発明は、RTPパケットをネットワークから受信するRTPパケット受信手段と、音声データを処理する音声データ処理手段と、アプリケーションデータを処理するアプリケーションデータ処理手段と、RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値よりも2以上大きい場合に、当該RTPパケットのペイロードに含まれるデータを音声データ処理手段に渡し、RTPパケット受信手段が受信したRTPパケットのタイムスタンプ値よりも1大きい場合に、当該RTPパケットのペイロードに含まれるデータをアプリケーションデータ処理手段に渡すRTPパケット解析手段とを備える、RTPパケット受信装置である。   Further, the present invention provides an RTP packet receiving means for receiving an RTP packet from a network, an audio data processing means for processing voice data, an application data processing means for processing application data, and an RTP packet received by the RTP packet receiving means. When the time stamp value of the RTP header of the RTP packet is 2 or more larger than the time stamp value of the RTP packet received last time, the data included in the payload of the RTP packet is passed to the voice data processing means, and the RTP received by the RTP packet receiving means An RTP packet receiving apparatus comprising: an RTP packet analyzing unit that passes data included in a payload of the RTP packet to an application data processing unit when the time stamp value of the packet is larger by one.

本発明のRTPパケット送信装置及びRTPパケット受信装置によれば、騒音やセキュリティ上の問題が発生することがなく、且つ汎用性が高い方式によって音声データとアプリケーションデータとを送受信することが可能となる。   According to the RTP packet transmitting device and the RTP packet receiving device of the present invention, it is possible to transmit and receive voice data and application data by a highly versatile method without causing noise and security problems. .

以下、本発明の実施の形態に係るRTPパケット送信装置及びRTPパケット受信装置について添付図面を参照して説明する。   Hereinafter, an RTP packet transmitting apparatus and an RTP packet receiving apparatus according to embodiments of the present invention will be described with reference to the accompanying drawings.

図1は、第1実施形態に係るIP電話機における通信システムの構成例を示す図である。本実施形態は、本発明に係るRTPパケット送信装置及びRTPパケット受信装置をIP電話機における通信システムとして構成したものである。   FIG. 1 is a diagram illustrating a configuration example of a communication system in the IP telephone according to the first embodiment. In this embodiment, the RTP packet transmitter and RTP packet receiver according to the present invention are configured as a communication system in an IP telephone.

図1に示すように、本実施形態のIP電話機10,20はパーソナルコンピュータとして実装され、IP電話網40とは、それぞれIP電話ルータ30,60を経由して接続される。IP電話網40内には、メディアごとのSIP/proxyサーバ50の他、不図示のリダイレクトサーバなどが存在する。   As shown in FIG. 1, IP telephones 10 and 20 of this embodiment are implemented as personal computers, and are connected to an IP telephone network 40 via IP telephone routers 30 and 60, respectively. In the IP telephone network 40, there are a redirect server (not shown) in addition to the SIP / proxy server 50 for each medium.

図2は、第1実施形態に係るIP電話機におけるEnd‐to‐End方式によるコネクションを示す図である。なお、以下の説明では、IP電話機の標準的な構成を前提とする。つまり、シグナリングプロトコルはSIP(Session Initiation Protocol)であり、音声データの転送はRTPを用い、音声データの制御プロトコルにはRTCP(RTP Control Protocolを用い、音声CODECにはG.711(Pulse code modulation(PCM) of voice frequencies)を利用する。それぞれの規格は以下の通りである。
SIP…RFC3261など
RTP…RFC3550など
RTCP…RFC3550など
G.711…ITU−T Recommendation
FIG. 2 is a diagram showing a connection by the end-to-end scheme in the IP telephone according to the first embodiment. In the following description, a standard configuration of an IP telephone is assumed. That is, the signaling protocol is SIP (Session Initiation Protocol), the voice data transfer uses RTP, the voice data control protocol uses RTCP (RTP Control Protocol), and the voice CODEC uses G.711 (Pulse code modulation ( PCM) of voice frequencies), each standard is as follows.
SIP ... RFC 3261 etc. RTP ... RFC 3550 etc. RTCP ... RFC 3550 etc. G. 711 ... ITU-T Recommendation

図2に示すように、本実施形態のIP電話機10,20は、SIPコネクションa、音声RTPコネクションb、音声RTCPコネクションcを利用する。SIPコネクションaはIP電話機の通信システムに1つ以上存在するSIPサーバに接続されるが、音声RTPコネクションbと音声RTCPコネクションcとは、IP電話10,20同士がメディアごとのproxyサーバを経由せずに直接通信するコネクション方式であるEnd‐to‐End方式により通信を行う。   As shown in FIG. 2, the IP telephones 10 and 20 of this embodiment use a SIP connection a, a voice RTP connection b, and a voice RTCP connection c. The SIP connection a is connected to one or more SIP servers existing in the communication system of the IP telephone, but the voice RTP connection b and the voice RTCP connection c are transmitted between the IP telephones 10 and 20 via a proxy server for each medium. Communication is performed by an end-to-end system, which is a connection system for direct communication.

図3は、第1実施形態に係る送信側のIP電話機10におけるソフトウェア上の構成を示す機能ブロック図である。なお、以下の説明では、便宜上、送信側のIP電話機をIP電話機10とし、受信側のIP電話機をIP電話機20とする。   FIG. 3 is a functional block diagram showing a software configuration of the transmission-side IP telephone 10 according to the first embodiment. In the following description, for the sake of convenience, the IP telephone on the transmission side is referred to as IP telephone 10 and the IP telephone on the reception side is referred to as IP telephone 20.

図3に示すように、送信側のIP電話機10は、送信バッファ11、RTPパケット生成部(第1のRTPパケット生成手段、第2のRTPパケット生成手段)12及びRTPポート(RTPパケット送信手段)15を備えている。送信バッファ11は、IP電話機10の音声通話の音声データ、及び他の電話番号等のアプリケーションデータのバッファリングを行うためのものである。   As shown in FIG. 3, the transmission side IP telephone 10 includes a transmission buffer 11, an RTP packet generation unit (first RTP packet generation unit, second RTP packet generation unit) 12, and an RTP port (RTP packet transmission unit). 15 is provided. The transmission buffer 11 is for buffering voice data of voice calls of the IP telephone 10 and application data such as other telephone numbers.

RTPパケット生成部12は、音声データ及びアプリケーションデータのいずれかをペイロードに含むRTPパケットを順次生成するためのものである。RTPパケット生成部12は、タイムスタンプ値付与部13及びマーカービット値付与部14を有している。   The RTP packet generator 12 is for sequentially generating RTP packets that include either audio data or application data in the payload. The RTP packet generation unit 12 includes a time stamp value adding unit 13 and a marker bit value adding unit 14.

タイムスタンプ値付与部13は、RTPパケットそれぞれのRTPヘッダに対して、タイムスタンプ値を付与するためのものである。マーカービット値付与部14は、RTPパケットのRTPヘッダに対して、当該RTPパケットのペイロードにアプリケーションデータが含まれているか否かを示すマーカービット値を付与するためのものである。   The time stamp value giving unit 13 is for giving a time stamp value to the RTP header of each RTP packet. The marker bit value assigning unit 14 is for assigning a marker bit value indicating whether or not application data is included in the payload of the RTP packet to the RTP header of the RTP packet.

RTPポート15は、RTPパケット生成部12が生成したRTPパケットを、IP電話網40に順次送信するためのものである。   The RTP port 15 is for sequentially transmitting the RTP packets generated by the RTP packet generator 12 to the IP telephone network 40.

図4は、第1実施形態に係る受信側のIP電話機20におけるソフトウェア上の構成を示す機能ブロック図である。図4に示すように、受信側のIP電話機20は、RTPポート(RTPパケット受信手段)21、RTPパケット訂正処理部、受信バッファ23、及びRTPパケット解析部(RTPパケット解析手段、音声データ処理手段、アプリケーションデータ処理手段)24を備えている。   FIG. 4 is a functional block diagram showing a software configuration of the IP telephone 20 on the receiving side according to the first embodiment. As shown in FIG. 4, the receiving side IP telephone 20 includes an RTP port (RTP packet receiving means) 21, an RTP packet correction processing section, a reception buffer 23, and an RTP packet analysis section (RTP packet analysis means, voice data processing means). Application data processing means) 24.

RTPポート21は、IP電話機10が送信したRTPパケットをIP電話網40から順次受信するためのものである。RTPパケット訂正処理部22は、RTPパケット欠落等の訂正処理を行うためのものである。受信バッファ23は、RTPパケット訂正処理部22により訂正処理が行われたRTPパケットのバッファリングを行うためのものである。   The RTP port 21 is used for sequentially receiving RTP packets transmitted from the IP telephone 10 from the IP telephone network 40. The RTP packet correction processing unit 22 is for performing correction processing such as missing RTP packets. The reception buffer 23 is for buffering the RTP packet that has been corrected by the RTP packet correction processing unit 22.

RTPパケット解析部24は、受信したRTPパケットを順次解析し、当該RTPパケットから音声データ及びアプリケーションのいずれかを順次抽出し、当該音声データ及びアプリケーションを処理するためのものである。RTPパケット解析部24は、タイムスタンプ値解析部25及びマーカービット値解析部26を有している。   The RTP packet analysis unit 24 sequentially analyzes received RTP packets, sequentially extracts either voice data or application from the RTP packet, and processes the voice data and application. The RTP packet analysis unit 24 includes a time stamp value analysis unit 25 and a marker bit value analysis unit 26.

タイムスタンプ値解析部25は、RTPパケットそれぞれのRTPヘッダに含まれるタイムスタンプ値を解析するためのものである。マーカービット値解析部26は、RTPパケットそれぞれのRTPヘッダに含まれるマーカービット値を解析するためのものである。   The time stamp value analysis unit 25 is for analyzing the time stamp value included in the RTP header of each RTP packet. The marker bit value analysis unit 26 is for analyzing the marker bit value included in the RTP header of each RTP packet.

図5は、RTPヘッダの構造を示す図である。図5中で、“V=2”は、バージョン番号を表し(2bit)、通常は2が入る。“P”は、パディングを表す(1bit)。1を入れた場合、パケットの最後にペイロードがパディングされ、本来の長さよりも長くなっていることを示す。“X”は、RTPヘッダの直後に拡張ヘッダをもつ場合に設定されるフラグである(1bit)。“CC”は、CSRC(Contributing Source)カウントであり(4bit)、後続する後続するCSRC識別子の数が入る。   FIG. 5 is a diagram illustrating the structure of the RTP header. In FIG. 5, “V = 2” represents a version number (2 bits), and normally 2 is entered. “P” represents padding (1 bit). When 1 is inserted, it indicates that the payload is padded at the end of the packet and is longer than the original length. “X” is a flag set when an extension header is provided immediately after the RTP header (1 bit). “CC” is a CSRC (Contributing Source) count (4 bits) and contains the number of subsequent CSRC identifiers.

“M”は、マーカービットであり(1bit)、RTPパケットのペイロードに音声データが含まれている場合には0が入り(第1の値)、RTPパケットのペイロードにアプリケーションデータが含まれている場合には1が入る(第2の値)。   “M” is a marker bit (1 bit). When audio data is included in the payload of the RTP packet, 0 is entered (first value), and application data is included in the payload of the RTP packet. In this case, 1 is entered (second value).

“PT”は、ペイロードタイプであり(7bit)、後続するペイロードのタイプを表す。“sequence number”はシーケンス番号(順序番号)であり(16bit)、1ずつ増加するRTPパケットの通し番号である。初期値はセキュリティ確保のためランダム値が用いられる。   “PT” is a payload type (7 bits) and represents the type of the subsequent payload. “Sequence number” is a sequence number (sequence number) (16 bits), which is a serial number of an RTP packet that increases by one. A random value is used as the initial value to ensure security.

“timestamp”は、タイムスタンプ値であり(32bit)、パケットに含まれる最も古いデータが発生した時刻を表す。タイムスタンプ値はメディアごとに異なる一定の周期で増加する。タイムスタンプ値の周期を決めるクロックの周波数はペイロードタイプ(PT)ごとに定義され,音声コーデックの場合はサンプリング周波数になる。たとえば8kHzサンプリングのG.711音声コーデックを20msecのパケット長で伝送する場合、1RTPパケットには160サンプル分の音声データが含まれており、タイムスタンプ値もRTPパケットごとに160ずつ増加する。このように送信側は確実に160ずつカウントアップする為に、受信側では次のタイムスタンプ値を予測することが可能であり、この特性を用いて、RTPパケットのペイロードにアプリケーションデータが含まれているかを推測することが可能となる。   “Timestamp” is a time stamp value (32 bits) and represents the time when the oldest data included in the packet occurs. The time stamp value increases at a constant cycle that differs for each medium. The clock frequency that determines the period of the time stamp value is defined for each payload type (PT), and in the case of an audio codec, it is the sampling frequency. For example, 8 kHz sampling G.P. When transmitting a 711 voice codec with a packet length of 20 msec, one RTP packet contains 160 samples of voice data, and the time stamp value is also increased by 160 for each RTP packet. In this way, since the transmitting side reliably counts up by 160, it is possible to predict the next time stamp value on the receiving side. By using this characteristic, application data is included in the payload of the RTP packet. It becomes possible to guess whether or not.

“Synchrozination Source(SSRC) identifier”は、RTPセッション内の参加者の識別子である(32bit)。SSRCは、セッションごとに変わる一時的な識別子であり、RTCPによってCNAME(Canonical Name)に対応付けられる。“Contributing Source(CSRC) identifier”は、メッセージ内の各ストリーム要素を準備した送信元の識別子である(32bit)。それぞれの値は各SSRCと同じである。   “Synchrozination Source (SSRC) identifier” is an identifier of a participant in the RTP session (32 bits). The SSRC is a temporary identifier that changes for each session, and is associated with a CNAME (Canonical Name) by RTCP. “Contributing Source (CSRC) identifier” is an identifier of a transmission source prepared for each stream element in the message (32 bits). Each value is the same as each SSRC.

図6は、第1実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット(第1のRTPパケット)の転送を示すシーケンス図である。この図6の例では、アプリケーションデータは転送されておらず、シーケンス番号は1ずつ加算されながら、送信側のIP電話機10のタイムスタンプ付与部13が付与するタイムスタンプ値は、基準クロック周波数8000の時に160カウントであるために20ms間隔で転送されていることを示す。IP電話機10,20の標準的な音声CODEC方式であるG.711では、一般的にこのようなRTPパケットの転送が行われる。受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値に比べて160カウントだけ加算されたタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットから音声データを抽出する。   FIG. 6 is a sequence diagram showing transfer of an RTP packet (first RTP packet) including audio data according to the end-to-end scheme according to the first embodiment. In the example of FIG. 6, the application data is not transferred, the sequence number is incremented by one, and the time stamp value given by the time stamp assigning unit 13 of the IP telephone 10 on the transmission side is the reference clock frequency 8000. Since it is sometimes 160 counts, it shows that it is transferred at intervals of 20 ms. G. is a standard voice CODEC system for IP telephones 10 and 20. In 711, such RTP packet transfer is generally performed. The time stamp value analysis unit 25 of the IP telephone 20 on the receiving side includes a time stamp value obtained by adding 160 counts to the time stamp value of the RTP packet compared to the time stamp value of the RTP packet analyzed last time. When this is analyzed, the RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts voice data from the RTP packet.

図7は、第1実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケット(第2のRTPパケット)の転送を示すシーケンス図である。この例では、音声データとともにアプリケーションデータを転送している。図7中において、RTPパケット(seq=α+4、time=v+480)、RTPパケット(seq=α+6、time=v+640)、RTPパケット(seq=α+8、time=v+800)が、アプリケーションデータが含まれたRTPパケットである。   FIG. 7 is a sequence diagram illustrating transfer of an RTP packet including voice data and an RTP packet (second RTP packet) including application data according to the end-to-end scheme according to the first embodiment. In this example, application data is transferred together with audio data. In FIG. 7, RTP packets (seq = α + 4, time = v + 480), RTP packets (seq = α + 6, time = v + 640), RTP packets (seq = α + 8, time = v + 800) are RTP packets including application data. It is.

これらのペイロードにアプリケーションデータを含むRTPパケットについては、送信側のIP電話機10のタイムスタンプ値付与部13は、アプリケーションデータをペイロードに含むRTPパケットのRTPヘッダに対して、前回生成されたRTPパケットと同じタイムスタンプ値を付与する。   For RTP packets including application data in these payloads, the time stamp value assigning unit 13 of the IP telephone 10 on the transmission side uses the RTP packet generated last time for the RTP header of the RTP packet including application data in the payload. Give the same timestamp value.

一方、受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値と同じタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットからアプリケーションデータを抽出して、当該パケットを破棄する。   On the other hand, when the time stamp value analysis unit 25 of the IP telephone 20 on the receiving side analyzes that the time stamp value of the RTP packet includes the same time stamp value as the time stamp value of the previously analyzed RTP packet The RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts application data from the RTP packet and discards the packet.

すなわち、本実施形態では、アプリケーションデータをペイロードに含むRTPパケットのタイムスタンプ値は前回のRTPパケットのタイムスタンプ値と重複しているが、途中にいかなるIP電話ルータやメディアproxyサーバが存在しようとも、これらのRTPパケットのシーケンス番号は正確であるために、タイムスタンプ値が重複していることが不正であるとの理由で当該RTPパケットが破棄されることはない。そして、音声データが含まれたRTPパケットは、タイムスタンプ値が示す周期で送信側から受信側に転送されて音声通話のために用いられる。一方、アプリケーションデータが含まれたRTPパケットは、受信側でアプリケーションデータを抽出された後に破棄されるため、騒音により音声データによる音声通話に支障をきたすことやセキュリティ上の問題が発生することがない。したがって、本実施形態では、騒音やセキュリティ上の問題が発生することがなく、且つ汎用性が高い方式によって音声データとアプリケーションデータとを送受信することが可能となる。   That is, in this embodiment, the time stamp value of the RTP packet including the application data in the payload overlaps with the time stamp value of the previous RTP packet, but no matter what IP telephone router or media proxy server exists in the middle, Since the sequence numbers of these RTP packets are accurate, the RTP packets are never discarded because it is illegal to have duplicate time stamp values. The RTP packet including the voice data is transferred from the transmission side to the reception side at a period indicated by the time stamp value and used for voice call. On the other hand, an RTP packet including application data is discarded after the application data is extracted on the receiving side, so that noise does not interfere with voice communication using voice data or cause a security problem. . Therefore, in the present embodiment, noise and security problems do not occur, and audio data and application data can be transmitted and received by a highly versatile method.

図8は、第1実施形態に係るIP電話機におけるLink‐by‐Link方式によるコネクションを示す図である。この例では、SIPコネクションaはIP電話機の通信システムに1つ以上存在するSIPサーバに接続され、音声RTPコネクションbと音声RTCPコネクションcとは、IP電話10,20同士がメディアごとのproxyサーバをgatewayとして動作させて通信を行うコネクション方式であるLink‐by‐Link方式により通信を行う。   FIG. 8 is a diagram showing a connection by the link-by-link method in the IP telephone according to the first embodiment. In this example, the SIP connection a is connected to one or more SIP servers existing in the communication system of the IP telephone, and the voice RTP connection b and the voice RTCP connection c are a proxy server for each medium between the IP phones 10 and 20. Communication is performed by a Link-by-Link method, which is a connection method for performing communication as a gateway.

図9は、第1実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケットの転送を示すシーケンス図である。この図9の例では、アプリケーションデータは転送されておらず、シーケンス番号は1ずつ加算されながら、送信側のIP電話機10のタイムスタンプ付与部13が付与するタイムスタンプ値は、基準クロック周波数8000の時に160カウントであるために20ms間隔で転送されていることを示す。IP電話ルータ30,60、proxyサーバなどでRTPによるプロトコル処理がなされるが、シーケンス番号の初期値からの差分やタイムスタンプ値の初期値からの差分は変わらない。IP電話機10,20の標準的な音声CODEC方式であるG.711では、一般的にこのようなRTPパケットの転送が行われる。受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値に比べて160カウントだけ加算されたタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットから音声データを抽出する。   FIG. 9 is a sequence diagram showing transfer of an RTP packet including voice data by the link-to-link method according to the first embodiment. In the example of FIG. 9, the application data is not transferred and the sequence number is incremented by one, but the time stamp value given by the time stamp assigning unit 13 of the IP telephone 10 on the transmission side is the reference clock frequency 8000. Since it is sometimes 160 counts, it shows that it is transferred at intervals of 20 ms. Protocol processing by RTP is performed by the IP telephone routers 30 and 60, the proxy server, etc., but the difference from the initial value of the sequence number and the difference from the initial value of the time stamp value do not change. G. is a standard voice CODEC system for IP telephones 10 and 20. In 711, such RTP packet transfer is generally performed. The time stamp value analysis unit 25 of the IP telephone 20 on the receiving side includes a time stamp value obtained by adding 160 counts to the time stamp value of the RTP packet compared to the time stamp value of the RTP packet analyzed last time. When this is analyzed, the RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts voice data from the RTP packet.

図10は、第1実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。この例では、音声データとともにアプリケーションデータを転送している。図7中において、RTPパケット(seq=α+4、time=v+480)、RTPパケット(seq=α+6、time=v+640)、RTPパケット(seq=α+8、time=v+800)が、アプリケーションデータが含まれたRTPパケットである。   FIG. 10 is a sequence diagram illustrating transfer of an RTP packet including voice data and an RTP packet including application data according to the link-to-link method according to the first embodiment. In this example, application data is transferred together with audio data. In FIG. 7, RTP packets (seq = α + 4, time = v + 480), RTP packets (seq = α + 6, time = v + 640), RTP packets (seq = α + 8, time = v + 800) are RTP packets including application data. It is.

これらのペイロードにアプリケーションデータを含むRTPパケットについては、送信側のIP電話機10のタイムスタンプ値付与部13は、アプリケーションデータをペイロードに含むRTPパケットのRTPヘッダに対して、前回生成されたRTPパケットと同じタイムスタンプ値を付与する。   For RTP packets including application data in these payloads, the time stamp value assigning unit 13 of the IP telephone 10 on the transmission side uses the RTP packet generated last time for the RTP header of the RTP packet including application data in the payload. Give the same timestamp value.

一方、受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値と同じタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットからアプリケーションデータを抽出して、当該パケットを破棄する。   On the other hand, when the time stamp value analysis unit 25 of the IP telephone 20 on the receiving side analyzes that the time stamp value of the RTP packet includes the same time stamp value as the time stamp value of the previously analyzed RTP packet The RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts application data from the RTP packet and discards the packet.

以上のように本実施形態では、Link‐to‐Link方式による通信においても、騒音やセキュリティ上の問題が発生することがなく、且つ汎用性が高い方式によって音声データとアプリケーションデータとを送受信することが可能となる。   As described above, in the present embodiment, noise and security problems do not occur even in communication using the link-to-link method, and voice data and application data are transmitted and received by a highly versatile method. Is possible.

なお、本実施形態においては、RTPペイロードにアプリケーションデータが含まれていることを示すためにRTPヘッダのマーカービット値を利用することも可能である。すなわち、送信側のIP電話機10のマーカービット値付与部14は、RTPパケットのRTPヘッダに対して、当該RTPパケットのペイロードにアプリケーションデータが含まれているか否かを示すマーカービット値M=1を付与する。一方、受信側のIP電話機20のマーカービット値解析部26が、RTPパケットのマーカービット値が当該RTPパケットのペイロードにアプリケーションデータが含まれていることを示すM=1であると解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットからアプリケーションデータを抽出する。   In this embodiment, the marker bit value of the RTP header can be used to indicate that application data is included in the RTP payload. That is, the marker bit value assigning unit 14 of the IP telephone 10 on the transmission side sets a marker bit value M = 1 indicating whether or not application data is included in the payload of the RTP packet with respect to the RTP header of the RTP packet. Give. On the other hand, when the marker bit value analysis unit 26 of the IP telephone 20 on the receiving side analyzes that the marker bit value of the RTP packet is M = 1 indicating that application data is included in the payload of the RTP packet. The RTP packet analysis unit 24 of the receiving side IP telephone 20 extracts application data from the RTP packet.

本実施形態では、上記のようにマーカービット値を用いることにより、より確実にRTPパケットのペイロードにアプリケーションデータが含まれているか否かを判別することができる。   In the present embodiment, by using the marker bit value as described above, it is possible to more reliably determine whether application data is included in the payload of the RTP packet.

以下、本発明の第2実施形態について説明する。図11は、第2実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。本実施形態では、図11中において、RTPパケット(seq=α+4、time=v+479)、RTPパケット(seq=α+6、time=v+639)、RTPパケット(seq=α+8、time=v+799)が、アプリケーションデータが含まれたRTPパケットである。   Hereinafter, a second embodiment of the present invention will be described. FIG. 11 is a sequence diagram illustrating transfer of an RTP packet including voice data and an RTP packet including application data according to the end-to-end scheme according to the second embodiment. In the present embodiment, in FIG. 11, RTP packets (seq = α + 4, time = v + 479), RTP packets (seq = α + 6, time = v + 639), RTP packets (seq = α + 8, time = v + 799), application data It is an included RTP packet.

これらのペイロードにアプリケーションデータを含むRTPパケットについては、送信側のIP電話機10のタイムスタンプ値付与部13は、アプリケーションデータをペイロードに含むRTPパケットのRTPヘッダに対して、前回生成されたRTPパケットよりも1だけ少ないタイムスタンプ値を付与する。   For RTP packets that include application data in these payloads, the time stamp value assigning unit 13 of the IP telephone 10 on the transmission side uses the RTP packet generated last time for the RTP header of the RTP packet that includes application data in the payload. Also, a time stamp value less by 1 is assigned.

一方、受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値よりも1だけ少ないタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットからアプリケーションデータを抽出して、当該パケットを破棄する。   On the other hand, the time stamp value analysis unit 25 of the IP telephone 20 on the receiving side indicates that the time stamp value of the RTP packet includes a time stamp value that is one less than the time stamp value of the RTP packet analyzed last time. When the analysis is performed, the RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts application data from the RTP packet and discards the packet.

図12に示すLink‐to‐Link方式による通信においても、上記と同様にしてアプリケーションデータをペイロードに含むRTPパケットの送受信を行うことができる。   Also in the communication by the Link-to-Link system shown in FIG. 12, it is possible to transmit / receive RTP packets including application data in the payload in the same manner as described above.

本実施形態においては、アプリケーションデータをペイロードに含むRTPパケットのタイムスタンプ値は前回のRTPパケットのタイムスタンプ値によりも1少ないが、途中にいかなるIP電話ルータやメディアproxyサーバが存在しようとも、これらのRTPパケットのシーケンス番号は正確であるために、タイムスタンプ値が1少ないことが不正であるとの理由で当該RTPパケットが破棄されることはない。一方、アプリケーションデータが含まれたRTPパケットは、タイムスタンプ値が前回のRTPパケットのタイムスタンプ値によりも1少ないため、受信側でアプリケーションデータを抽出された後に確実に破棄されることになり、騒音により音声データによる音声通話に支障をきたすことやセキュリティ上の問題が発生することをより確実に防止することができる。   In this embodiment, the time stamp value of the RTP packet including the application data in the payload is one less than the time stamp value of the previous RTP packet. However, even if any IP telephone router or media proxy server exists on the way, Since the sequence number of the RTP packet is accurate, the RTP packet is never discarded because it is illegal that the time stamp value is 1 less. On the other hand, since the RTP packet including application data has a time stamp value that is one less than the time stamp value of the previous RTP packet, it is reliably discarded after the application data is extracted on the receiving side. Thus, it is possible to more reliably prevent troubles in voice calls using voice data and occurrence of security problems.

以下、本発明の第3実施形態について説明する。図13は、第2実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。本実施形態では、図13中において、RTPパケット(seq=α+4、time=v+481)、RTPパケット(seq=α+6、time=v+641)、RTPパケット(seq=α+8、time=v+801)が、アプリケーションデータが含まれたRTPパケットである。   Hereinafter, a third embodiment of the present invention will be described. FIG. 13 is a sequence diagram showing transfer of an RTP packet including voice data and an RTP packet including application data according to the end-to-end scheme according to the second embodiment. In this embodiment, in FIG. 13, RTP packets (seq = α + 4, time = v + 481), RTP packets (seq = α + 6, time = v + 641), RTP packets (seq = α + 8, time = v + 801) are stored in the application data. It is an included RTP packet.

これらのペイロードにアプリケーションデータを含むRTPパケットについては、送信側のIP電話機10のタイムスタンプ値付与部13は、アプリケーションデータをペイロードに含むRTPパケットのRTPヘッダに対して、前回生成されたRTPパケットよりも1だけ多いタイムスタンプ値を付与する。   For RTP packets that include application data in these payloads, the time stamp value assigning unit 13 of the IP telephone 10 on the transmission side uses the RTP packet generated last time for the RTP header of the RTP packet that includes application data in the payload. Also, a time stamp value that is 1 more is added.

一方、受信側のIP電話機20のタイムスタンプ値解析部25が、RTPパケットのタイムスタンプ値について、前回解析されたRTPパケットのタイムスタンプ値よりも1だけ多いタイムスタンプ値が含まれていることを解析したときは、受信側のIP電話機20のRTPパケット解析部24は、当該RTPパケットからアプリケーションデータを抽出して、当該パケットを破棄する。   On the other hand, the time stamp value analysis unit 25 of the IP telephone 20 on the receiving side indicates that the time stamp value of the RTP packet includes a time stamp value that is one more than the time stamp value of the RTP packet analyzed last time. When the analysis is performed, the RTP packet analysis unit 24 of the IP telephone 20 on the receiving side extracts application data from the RTP packet and discards the packet.

図14に示すLink‐to‐Link方式による通信においても、上記と同様にしてアプリケーションデータをペイロードに含むRTPパケットの送受信を行うことができる。本実施形態においては、アプリケーションデータをペイロードに含むRTPパケットのタイムスタンプ値は前回のRTPパケットのタイムスタンプ値によりも1多いが、途中にいかなるIP電話ルータやメディアproxyサーバが存在しようとも、これらのRTPパケットのシーケンス番号は正確であるために、タイムスタンプ値が1多いことが不正であるとの理由で当該RTPパケットが破棄されることはない。一方、アプリケーションデータが含まれたRTPパケットは、タイムスタンプ値が前回のRTPパケットのタイムスタンプ値によりも1多いため、受信側におけるRTPの実装方式がタイムスタンプ値が前回小さいRTPパケットについては破棄しないといったものであっても、受信側でアプリケーションデータを抽出された後に破棄されることになり、騒音により音声データによる音声通話に支障をきたすことやセキュリティ上の問題が発生することがない。したがって、本実施形態では、当該通信システムにおけるRTPの実装方式に応じて、騒音やセキュリティ上の問題が発生することがなく、且つ汎用性が高い方式によって音声データとアプリケーションデータとを送受信することが可能となる。   In communication using the link-to-link method shown in FIG. 14, RTP packets including application data in the payload can be transmitted and received in the same manner as described above. In this embodiment, the time stamp value of the RTP packet including the application data in the payload is one more than the time stamp value of the previous RTP packet. However, any IP telephone router or media proxy server may be present in the middle. Since the sequence number of the RTP packet is accurate, the RTP packet is not discarded because it is illegal that the time stamp value is 1 larger. On the other hand, since the RTP packet including application data has a time stamp value one more than the time stamp value of the previous RTP packet, the RTP implementation method on the receiving side does not discard the RTP packet having the smaller time stamp value. However, the application data is extracted and discarded on the receiving side, so that the voice call using the voice data is not hindered by the noise and the security problem does not occur. Therefore, in this embodiment, according to the RTP mounting method in the communication system, there is no noise or security problem, and voice data and application data can be transmitted and received by a highly versatile method. It becomes possible.

以上、本発明の実施の形態について説明したが、本発明は、上記実施形態に限定されるものではなく種々の変形が可能である。   Although the embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and various modifications can be made.

本発明によれば、IP電話機10,20による通話中に、IP電話機10,20のソフトウェア同士でRTPパケットのペイロードを用いてデータ交換が可能になる。これにより、IP電話機10,20のソフトウェアが保持する構成情報やIP電話機10,20の装置が保持する構成情報などを交換可能になる。このような構成情報が交換できれば、IP電話機10,20のソフトウェア同士での新たな通信(IPv6プロトコル通信など)が可能になる。   According to the present invention, during a call by the IP telephones 10 and 20, data exchange between the software of the IP telephones 10 and 20 is possible using the payload of the RTP packet. Thereby, the configuration information held by the software of the IP telephones 10 and 20 and the configuration information held by the devices of the IP telephones 10 and 20 can be exchanged. If such configuration information can be exchanged, new communication (such as IPv6 protocol communication) between the software of the IP telephones 10 and 20 becomes possible.

すなわち、本発明においては、例えば、図15に示すようなIP電話網を含むNGN(Next Generation Network)80において、IP電話機10,20同士で接続した状態で、IP電話ルータ30,60にそれぞれ接続されている別のデバイスである液晶テレビジョン70やデジタルカメラ90のアドレスやプロパティを送信することで、それらのデバイスも含めた新たなプライベートネットの構築に移行することなどが考えられる。   That is, in the present invention, for example, in an NGN (Next Generation Network) 80 including an IP telephone network as shown in FIG. 15, the IP telephones 10 and 20 are connected to each other and connected to the IP telephone routers 30 and 60, respectively. It is conceivable to shift to the construction of a new private net including those devices by transmitting the addresses and properties of the liquid crystal television 70 and the digital camera 90 which are different devices.

第1実施形態に係るIP電話機における通信システムの構成例を示す図である。It is a figure which shows the structural example of the communication system in the IP telephone concerning 1st Embodiment. 第1実施形態に係るIP電話機におけるEnd‐to‐End方式によるコネクションを示す図である。It is a figure which shows the connection by the End-to-End system in the IP telephone apparatus which concerns on 1st Embodiment. 第1実施形態に係る送信側のIP電話機におけるソフトウェア上の構成を示す機能ブロック図である。FIG. 3 is a functional block diagram showing a software configuration of a transmission-side IP phone according to the first embodiment. 第1実施形態に係る受信側のIP電話機におけるソフトウェア上の構成を示す機能ブロック図である。FIG. 3 is a functional block diagram showing a configuration on software in the IP telephone on the receiving side according to the first embodiment. RTPヘッダの構造を示す図である。It is a figure which shows the structure of a RTP header. 第1実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケットの転送を示すシーケンス図である。It is a sequence diagram which shows transfer of the RTP packet containing the audio | speech data by the End-to-End system based on 1st Embodiment. 第1実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 6 is a sequence diagram showing transfer of an RTP packet including audio data and an RTP packet including application data according to an end-to-end scheme according to the first embodiment. 第1実施形態に係るIP電話機におけるLink‐to‐Link方式によるコネクションを示す図である。It is a figure which shows the connection by the Link-to-Link system in the IP telephone concerning 1st Embodiment. 第1実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケットの転送を示すシーケンス図である。It is a sequence diagram which shows transfer of the RTP packet containing the audio | voice data by the Link-to-Link system which concerns on 1st Embodiment. 第1実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 5 is a sequence diagram showing transfer of an RTP packet including audio data and an RTP packet including application data according to the link-to-link method according to the first embodiment. 第2実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 10 is a sequence diagram showing transfer of an RTP packet including audio data and an RTP packet including application data according to an end-to-end scheme according to the second embodiment. 第2実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating transfer of an RTP packet including audio data and an RTP packet including application data according to the Link-to-Link method according to the second embodiment. 第3実施形態に係るEnd‐to‐End方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating transfer of an RTP packet including audio data and an RTP packet including application data according to an end-to-end scheme according to the third embodiment. 第3実施形態に係るLink‐to‐Link方式による音声データが含まれたRTPパケット及びアプリケーションデータが含まれたRTPパケットの転送を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating transfer of an RTP packet including audio data and an RTP packet including application data according to the link-to-link method according to the third embodiment. IP電話機による通信システムに別のデバイスを接続した例を示す図である。It is a figure which shows the example which connected another device to the communication system by an IP telephone.

符号の説明Explanation of symbols

10…IP電話機、11…送信バッファ、12…RTPパケット生成部、13…タイムスタンプ値付与部、14…マーカービット値付与部、15…RTPポート、20…IP電話機、21…RTPポート、22…RTPパケット訂正処理部、23…受信バッファ、24…RTPパケット解析部、25…タイムスタンプ値解析部、26…マーカービット値解析部、30…IP電話ルータ、40…IP電話網、50…SIP/proxyサーバ、60…IP電話網、70…液晶テレビジョン、80…NGN、90…デジタルカメラ。 DESCRIPTION OF SYMBOLS 10 ... IP telephone, 11 ... Transmission buffer, 12 ... RTP packet generation part, 13 ... Time stamp value provision part, 14 ... Marker bit value provision part, 15 ... RTP port, 20 ... IP telephone, 21 ... RTP port, 22 ... RTP packet correction processing unit, 23 ... reception buffer, 24 ... RTP packet analysis unit, 25 ... time stamp value analysis unit, 26 ... marker bit value analysis unit, 30 ... IP telephone router, 40 ... IP telephone network, 50 ... SIP / proxy server, 60 ... IP telephone network, 70 ... liquid crystal television, 80 ... NGN, 90 ... digital camera.

Claims (8)

音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、
アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、
前記第1のRTPパケット生成手段及び前記第2のRTPパケット生成手段が其々生成した前記第1のRTPパケット及び前記第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、
を備え、
前記第1のRTPパケット生成手段は、前記第1のRTPパケットのRTPヘッダに対して、順次加算されるタイムスタンプ値を付与し、
前記第2のRTPパケット生成手段は、前記第2のRTPパケットのRTPヘッダに対して、前回送信した前記第1のRTPパケットと同じタイムスタンプ値を付与する、
RTPパケット送信装置。
First RTP packet generation means for generating a first RTP packet including voice data in a payload;
Second RTP packet generation means for generating a second RTP packet including application data in a payload;
RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means, respectively, to the network;
With
The first RTP packet generation means gives a time stamp value sequentially added to the RTP header of the first RTP packet,
The second RTP packet generation means gives the same time stamp value as the first RTP packet transmitted last time to the RTP header of the second RTP packet.
RTP packet transmitter.
音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、
アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、
前記第1のRTPパケット生成手段及び前記第2のRTPパケット生成手段が其々生成した前記第1のRTPパケット及び前記第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、
を備え、
前記第1のRTPパケット生成手段は、前記第1のRTPパケットのRTPヘッダに対して、順次加算されるタイムスタンプ値を付与し、
前記第2のRTPパケット生成手段は、前記第2のRTPパケットのRTPヘッダに対して、前回送信した前記第1のRTPパケットのタイムスタンプ値よりも小さいタイムスタンプ値を付与する、RTPパケット送信装置。
First RTP packet generation means for generating a first RTP packet including voice data in a payload;
Second RTP packet generation means for generating a second RTP packet including application data in a payload;
RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means, respectively, to the network;
With
The first RTP packet generation means gives a time stamp value sequentially added to the RTP header of the first RTP packet,
The second RTP packet generation means assigns a time stamp value smaller than the time stamp value of the first RTP packet transmitted last time to the RTP header of the second RTP packet. .
音声データをペイロードに含む第1のRTPパケットを生成する第1のRTPパケット生成手段と、
アプリケーションデータをペイロードに含む第2のRTPパケットを生成する第2のRTPパケット生成手段と、
前記第1のRTPパケット生成手段及び前記第2のRTPパケット生成手段が其々生成した前記第1のRTPパケット及び前記第2のRTPパケットをネットワークに送信するRTPパケット送信手段と、
を備え、
前記第1のRTPパケット生成手段は、前記第1のRTPパケットのRTPヘッダに対して、2以上の値が順次加算されるタイムスタンプ値を付与し、
前記第2のRTPパケット生成手段は、前記第2のRTPパケットのRTPヘッダに対して、前回送信した前記第1のRTPパケットのタイムスタンプ値よりも1大きいタイムスタンプ値を付与する、RTPパケット送信装置。
First RTP packet generation means for generating a first RTP packet including voice data in a payload;
Second RTP packet generation means for generating a second RTP packet including application data in a payload;
RTP packet transmitting means for transmitting the first RTP packet and the second RTP packet generated by the first RTP packet generating means and the second RTP packet generating means, respectively, to the network;
With
The first RTP packet generation means assigns a time stamp value in which two or more values are sequentially added to the RTP header of the first RTP packet;
The second RTP packet generation means assigns a time stamp value larger than the time stamp value of the first RTP packet transmitted last time to the RTP header of the second RTP packet. apparatus.
前記第1のRTPパケット生成手段は、前記第1のRTPパケットのRTPヘッダに対して第1のマーカービット値を付与し、
前記第2のRTPパケット生成手段は、前記第2のRTPパケットのRTPヘッダに対して、第2のマーカービット値を付与する、請求項1〜3のいずれか1項に記載のRTPパケット送信装置。
The first RTP packet generation means assigns a first marker bit value to the RTP header of the first RTP packet,
4. The RTP packet transmission device according to claim 1, wherein the second RTP packet generation unit assigns a second marker bit value to an RTP header of the second RTP packet. 5. .
RTPパケットをネットワークから受信するRTPパケット受信手段と、
音声データを処理する音声データ処理手段と、
アプリケーションデータを処理するアプリケーションデータ処理手段と、
前記RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値より大きい値である場合に、当該RTPパケットのペイロードに含まれるデータを前記音声データ処理手段に渡し、前記RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値と同一である場合に、該RTPパケットのペイロードに含まれるデータを前記アプリケーションデータ処理手段に渡すRTPパケッ解析手段と
を備える、RTPパケット受信装置。
RTP packet receiving means for receiving RTP packets from the network;
Audio data processing means for processing audio data;
Application data processing means for processing application data;
When the time stamp value of the RTP header of the RTP packet received by the RTP packet receiving means is larger than the time stamp value of the RTP packet received last time, the data included in the payload of the RTP packet is converted to the voice data processing means. When the time stamp value of the RTP header of the RTP packet received by the RTP packet receiving means is the same as the time stamp value of the RTP packet received last time, the data included in the payload of the RTP packet is transferred to the application data. An RTP packet receiving device comprising: RTP packet analysis means for passing to processing means.
RTPパケットをネットワークから受信するRTPパケット受信手段と、
音声データを処理する音声データ処理手段と、
アプリケーションデータを処理するアプリケーションデータ処理手段と、
前記RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値以上の値である場合に、当該RTPパケットのペイロードに含まれるデータを前記音声データ処理手段に渡し、前記RTPパケット受信手段が受信したRTPパケットのRTPパケットのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値よりも小さい場合に、当該RTPパケットのペイロードに含まれるデータを前記アプリケーションデータ処理手段に渡すRTPパケット解析手段と
を備える、RTPパケット受信装置。
RTP packet receiving means for receiving RTP packets from the network;
Audio data processing means for processing audio data;
Application data processing means for processing application data;
When the time stamp value of the RTP header of the RTP packet received by the RTP packet receiving means is greater than or equal to the time stamp value of the previously received RTP packet, the data included in the payload of the RTP packet is converted to the voice data processing means. When the time stamp value of the RTP packet of the RTP packet received by the RTP packet receiving means is smaller than the time stamp value of the RTP packet received last time, the data included in the payload of the RTP packet is processed by the application data processing RTP packet receiving device comprising: RTP packet analyzing means for passing to the means.
RTPパケットをネットワークから受信するRTPパケット受信手段と、
音声データを処理する音声データ処理手段と、
アプリケーションデータを処理するアプリケーションデータ処理手段と、
前記RTPパケット受信手段が受信したRTPパケットのRTPヘッダのタイムスタンプ値が前回受信したRTPパケットのタイムスタンプ値よりも2以上大きい場合に、当該RTPパケットのペイロードに含まれるデータを前記音声データ処理手段に渡し、前記RTPパケット受信手段が受信したRTPパケットのタイムスタンプ値よりも1大きい場合に、当該RTPパケットのペイロードに含まれるデータを前記アプリケーションデータ処理手段に渡すRTPパケット解析手段と
を備える、RTPパケット受信装置。
RTP packet receiving means for receiving RTP packets from the network;
Audio data processing means for processing audio data;
Application data processing means for processing application data;
When the time stamp value of the RTP header of the RTP packet received by the RTP packet receiving means is two or more larger than the time stamp value of the RTP packet received last time, the data included in the payload of the RTP packet is converted to the voice data processing means. RTP packet analyzing means for passing data included in the payload of the RTP packet to the application data processing means when the RTP packet receiving means is larger by one than the time stamp value of the RTP packet received by the RTP packet receiving means. Packet receiver.
前記RTPパケット解析手段は、前記RTPパケット受信手段で受信したRTPパケットのRTPヘッダに含まれるマーカービット値が第1の値である場合に当該RTPパケットのペイロードに含まれるデータを前記音声データ処理手段に渡し、前記RTPパケット受信手段で受信したRTPパケットのRTPヘッダに含まれるマーカービット値が第2の値である場合に当該RTPパケットのペイロードに含まれるデータを前記アプリケーションデータ処理手段に渡す、請求項1〜3のいずれか1項に記載のRTPパケット受信装置。   The RTP packet analyzing means, when the marker bit value included in the RTP header of the RTP packet received by the RTP packet receiving means is a first value, the data included in the payload of the RTP packet as the voice data processing means And when the marker bit value included in the RTP header of the RTP packet received by the RTP packet receiving means is a second value, the data included in the payload of the RTP packet is passed to the application data processing means. Item 4. The RTP packet receiver according to any one of Items 1 to 3.
JP2007325160A 2007-12-17 2007-12-17 Rtp packet transmitter and rtp packet receiver Pending JP2009147825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007325160A JP2009147825A (en) 2007-12-17 2007-12-17 Rtp packet transmitter and rtp packet receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007325160A JP2009147825A (en) 2007-12-17 2007-12-17 Rtp packet transmitter and rtp packet receiver

Publications (1)

Publication Number Publication Date
JP2009147825A true JP2009147825A (en) 2009-07-02

Family

ID=40917878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007325160A Pending JP2009147825A (en) 2007-12-17 2007-12-17 Rtp packet transmitter and rtp packet receiver

Country Status (1)

Country Link
JP (1) JP2009147825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246290A (en) * 2018-11-29 2020-06-05 中国电信股份有限公司 Image receiving processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111246290A (en) * 2018-11-29 2020-06-05 中国电信股份有限公司 Image receiving processing method and device

Similar Documents

Publication Publication Date Title
US8467308B2 (en) Communication session quality indicator
US7656861B2 (en) Method and apparatus for interleaving text and media in a real-time transport session
US7970014B2 (en) Method of providing a real-time communication connection
Camarillo et al. The session description protocol (SDP) grouping framework
Jalendry et al. A detail review on voice over internet protocol (VoIP)
JP2005531999A (en) Packet-switched conference call management method, server, and terminal device
US20120110152A1 (en) Real time protocol packet tunneling
CN1777152B (en) Data transmission between a media gateway and server
Wu et al. Guidelines for Use of the RTP Monitoring Framework
JP2006067579A (en) System and method of collecting and distributing participant identifying data
WO2016165749A1 (en) In-session communication for service application
Ganguly et al. VoIP: wireless, P2P and new enterprise voice over IP
TWI403152B (en) Communication system and communication method
Ribadeneira An analysis of the MOS under conditions of delay, jitter and packet loss and an analysis of the impact of introducing piggybacking and reed solomon FEC for VoIP
US8391284B2 (en) Usage of feedback information for multimedia sessions
Lazzez et al. Deployment of VoIP Technology: QoS Concerns
JP2009147825A (en) Rtp packet transmitter and rtp packet receiver
KR100603573B1 (en) Method and apparatus for processing voice data in encrypted packet network
Arafat et al. SIP-based QoS in IP telephony
JP2004254010A (en) Sip communication controlling apparatus
KR20130032400A (en) Establishing a packet stream having symmetrical quality of service by means of the negotiation of the quality indicator
KR101384125B1 (en) Apparatus and method for generating quality of service parameter about mac layer in communication system
Ogunjimi Practical analysis of voice quality problems of Voice over Internet Protocol (VoIP).
Ali et al. Evaluation of SIP signaling and QoS for VoIP over satellite networks
Khedr et al. Evaluation of SIP-based VOIP in heterogeneous networks