JP6183881B2 - Codec conversion gateway, codec conversion method, and codec conversion program - Google Patents

Codec conversion gateway, codec conversion method, and codec conversion program Download PDF

Info

Publication number
JP6183881B2
JP6183881B2 JP2012270363A JP2012270363A JP6183881B2 JP 6183881 B2 JP6183881 B2 JP 6183881B2 JP 2012270363 A JP2012270363 A JP 2012270363A JP 2012270363 A JP2012270363 A JP 2012270363A JP 6183881 B2 JP6183881 B2 JP 6183881B2
Authority
JP
Japan
Prior art keywords
packet
conversion
transmission
codec
codec conversion
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.)
Active
Application number
JP2012270363A
Other languages
Japanese (ja)
Other versions
JP2014116838A (en
Inventor
克彦 霜山
克彦 霜山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
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 NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2012270363A priority Critical patent/JP6183881B2/en
Publication of JP2014116838A publication Critical patent/JP2014116838A/en
Application granted granted Critical
Publication of JP6183881B2 publication Critical patent/JP6183881B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、異なる符号化方式を用いる装置間の通信を可能とするコーデック変換ゲートウェイ、コーデック変換方法、及び、コーデック変換プログラムに関する。   The present invention relates to a codec conversion gateway, a codec conversion method, and a codec conversion program that enable communication between devices using different encoding methods.

コーデックは、音声、動画、画像等のデータに関し、特定の符号化方式の符号への符号化、又は特定の符号化方式の符号からの復号を行う装置、機能、又は、アルゴリズムである。   A codec is a device, function, or algorithm that performs encoding on a code of a specific encoding method or decoding from a code of a specific encoding method with respect to data such as audio, moving images, and images.

又、コーデック変換とは、複数種類のコーデックが存在する場合に、あるコーデックにより符号化された符号を、別のコーデックで利用する符号化方式の符号に変換することである。   The codec conversion is to convert a code encoded by one codec into a code of an encoding method used by another codec when there are a plurality of types of codecs.

複数の端末が共通の符号化方式に対応していない場合、各端末は、相手端末から受信された音声、動画、画像等のデータを再生することができない。このような場合、例えば、コーデック変換ゲートウェイに、相手端末と自端末の符号化方式を相互に変換させた後、データを中継させることにより、相手端末から受信されたデータを再生することができる。   When a plurality of terminals do not support a common encoding method, each terminal cannot reproduce data such as voice, moving image, and image received from the counterpart terminal. In such a case, for example, the data received from the partner terminal can be reproduced by relaying the data after the codec conversion gateway mutually converts the encoding methods of the partner terminal and the terminal itself.

コーデック変換の一例が、特許文献1に開示されている。特許文献1のコーデック変換システムは、異なる事業者網に接続される2台のIP(Internet Protocol)電話端末と、コーデック変換ゲートウェイ(セッションボーダーコントローラ)と、コーデック変換装置と、SIP(Session Initiation Protocol)サーバとを備える。又、ゲートウェイは、複数のインタフェース部と、制御部と、スイッチ部とを備える。特許文献1のコーデック変換システムは、以下のように動作する。   An example of codec conversion is disclosed in Patent Document 1. The codec conversion system disclosed in Patent Document 1 includes two IP (Internet Protocol) telephone terminals, a codec conversion gateway (session border controller), a codec conversion device, and a SIP (Session Initiation Protocol) connected to different operator networks. And a server. The gateway includes a plurality of interface units, a control unit, and a switch unit. The codec conversion system of Patent Document 1 operates as follows.

SIPサーバは、SIPのセッションの確立処理の中で、通話しようとする各IP電話端末が適用しているコーデック(各IP電話端末が収容されている事業者網が採用している符号化方式)を認識する。そして、両IP電話端末の符号化方式が異なる場合、SIPサーバは、コーデック変換開始指示をコーデック変換ゲートウェイに発行する。なお、セッションとは、送信元から送信先への論理的な通信路のことである。   The SIP server uses a codec applied to each IP telephone terminal that is going to make a call during the SIP session establishment process (encoding method adopted by the carrier network in which each IP telephone terminal is accommodated). Recognize If the encoding methods of the two IP telephone terminals are different, the SIP server issues a codec conversion start instruction to the codec conversion gateway. A session is a logical communication path from a transmission source to a transmission destination.

コーデック変換ゲートウェイにおいて、コーデック変換開始指示が与えられた制御部は、インタフェース部、スイッチ部、及び、コーデック変換装置を制御し、コーデック変換を準備する。   In the codec conversion gateway, the control unit to which the codec conversion start instruction is given controls the interface unit, the switch unit, and the codec conversion device, and prepares codec conversion.

具体的には、制御部は、一方のIP電話端末からのパケットを、そのIP電話端末を収容しているインタフェース部、及び、スイッチ部が、コーデック変換装置に転送するように準備する。あるいは、制御部は、コーデック変換装置が、そのパケットの符号化方式の符号を他方のIP電話端末が適用している符号化方式に変換するように準備する。そして、制御部は、コーデック変換装置から出力されたパケットを、スイッチ部、及び、他方のIP電話端末を収容しているインタフェース部が、他方のIP電話端末に送出するように準備する。更に、制御部は、逆方向についても同様に、コーデック変換を実行できるように準備する。   Specifically, the control unit prepares the packet from one IP telephone terminal to be transferred to the codec converter by the interface unit and the switch unit that accommodate the IP telephone terminal. Alternatively, the control unit prepares the codec conversion device to convert the code of the encoding method of the packet into the encoding method applied to the other IP telephone terminal. Then, the control unit prepares the packet output from the codec conversion device so that the switch unit and the interface unit that accommodates the other IP telephone terminal transmit the packet to the other IP telephone terminal. Further, the control unit similarly prepares to execute codec conversion in the reverse direction.

コーデック変換が可能となったときに、制御部は、SIPサーバに、“コーデック変換開始OK”との旨のメッセージを返信し、SIPサーバが、両IP電話端末に“通話OK”との旨のメッセージを通知する。   When codec conversion is enabled, the control unit returns a message “Codec conversion start OK” to the SIP server, and the SIP server notifies both IP phone terminals of “call OK”. Notify the message.

これにより開始された通話に係るパケットは、コーデック変換装置を介して、対向するIP電話端末が適用している符号化方式の符号のパケットに変換されて、対向するIP電話端末に送出される。   The packet related to the call started in this way is converted into a packet of a code of the encoding method applied by the opposite IP telephone terminal via the codec conversion device, and is transmitted to the opposite IP telephone terminal.

上記の動作のように、特許文献1のコーデック変換システムでは、対向するIP電話端末の符号化方式が異なる場合、SIPサーバが、IP電話端末間の通話路がコーデック変換装置を経由するように、コーデック変換ゲートウェイに指示する。   As in the above operation, in the codec conversion system of Patent Document 1, when the encoding method of the opposite IP phone terminal is different, the SIP server allows the call path between the IP phone terminals to pass through the codec conversion device. Instructs the codec conversion gateway.

尚、特許文献1のコーデック変換システムでは、端末とコーデック変換ゲートウェイの他に、セッション制御専用装置であるSIPサーバが必要である。   Note that the codec conversion system disclosed in Patent Document 1 requires a SIP server that is a dedicated session control device in addition to the terminal and the codec conversion gateway.

電話、IP電話、テレビ電話、会議システム、インスタント・メッセージング等における端末間の通信では、セッションの開始、変更、終了等のセッション制御が必要である。   In communication between terminals in a telephone, an IP phone, a videophone, a conference system, instant messaging, and the like, session control such as start, change, and end of a session is necessary.

端末間のセッション制御のために、端末とは別に、セッション制御専用装置が必要とされることがある。例えば、公衆交換電話網におけるセッション制御プロトコルとして、No.7共通線信号方式が利用されることがある。No.7共通線信号方式では、セッション制御のために交換機が必要とされることがある。IP網におけるセッション制御プロトコルとして、H.323、SIP等が利用されることがある。セッション制御のためには、H.323ではゲートキーパ(電話番号管理サーバ)が、SIPではSIPサーバ(SIPプロキシサーバ)が必要とされることがある。公衆交換電話網を経由して接続されたIP網におけるセッション制御プロトコルとして、H.248(Megaco)、MGCP(Media Gateway Control Protocol)等が利用されることがある。H.248及びMGCPでは、セッション制御のために、メディア・ゲートウエイ・コントローラ(コールエージェント)、メディアゲートウェイ及びシグナリングゲートウェイが必要とされることがある。   For session control between terminals, a session control dedicated device may be required separately from the terminal. For example, as a session control protocol in a public switched telephone network, No. 7 common line signaling may be used. No. In the 7 common line signaling, an exchange may be required for session control. As a session control protocol in an IP network, H.264 is used. 323, SIP, etc. may be used. For session control, H.264. A gatekeeper (telephone number management server) may be required for H.323, and a SIP server (SIP proxy server) may be required for SIP. As a session control protocol in an IP network connected via a public switched telephone network, H.264 is used. 248 (Megaco), MGCP (Media Gateway Control Protocol), etc. may be used. H. In 248 and MGCP, a media gateway controller (call agent), media gateway and signaling gateway may be required for session control.

セッション制御専用装置を用いない電話システムの一例が、特許文献2に開示されている。特許文献2のIP電話システムは、1つのIPネットワークと、IPネットワークに接続された複数のIP電話端末とを備える。IP電話端末は、端末一覧情報記憶部を備える。特許文献2のIP電話端末は、以下のように動作する。   An example of a telephone system that does not use a session control dedicated device is disclosed in Patent Document 2. The IP telephone system of Patent Document 2 includes one IP network and a plurality of IP telephone terminals connected to the IP network. The IP telephone terminal includes a terminal list information storage unit. The IP telephone terminal of Patent Document 2 operates as follows.

IPネットワークに既接続のすべてのIP電話端末は、端末一覧情報記憶部に、既接続のすべてのIP電話端末の識別情報とIPアドレスとの対応情報を保持する。   All IP telephone terminals already connected to the IP network hold correspondence information between identification information and IP addresses of all IP telephone terminals already connected in the terminal list information storage unit.

新たなIP電話端末は、IPネットワークに接続されると、1台の既接続のIP電話端末に、新たなIP電話端末の識別情報とIPアドレスとの対応情報を送信する。   When the new IP telephone terminal is connected to the IP network, the correspondence information between the identification information of the new IP telephone terminal and the IP address is transmitted to one already connected IP telephone terminal.

新たなIP電話端末の識別情報とIPアドレスとの対応情報を受信した1台のIP電話端末は、端末一覧情報記憶部に、新たなIP電話端末の識別情報とIPアドレスとの対応情報を追加し、端末一覧情報記憶部の内容を、新たなIP電話端末、及び、IPネットワークに既接続の他のIP電話端末に送信する。   One IP phone terminal that has received the correspondence information between the new IP phone terminal identification information and the IP address adds the correspondence information between the new IP phone terminal identification information and the IP address to the terminal list information storage unit. Then, the contents of the terminal list information storage unit are transmitted to the new IP telephone terminal and other IP telephone terminals already connected to the IP network.

上記の動作の結果、このIP電話システムでは、セッション制御専用装置を用いずに、各IP電話端末が相互に通話することができる。   As a result of the above operation, in this IP telephone system, each IP telephone terminal can talk to each other without using a dedicated session control device.

又、SIPサーバのような特定の機器を必要としないコールセンタシステムの一例が、特許文献3に開示されている。特許文献3のコールセンタシステムは、外線用の複数の主回線と、その他の用に用いられる複数の副回線と、オペレータのIP電話機から外線に接続された電話機に対する発信要求により顧客のIP電話機との接続処理を行う第1および第2の通信制御サーバと、第1および第2の通信制御サーバの回線とその状況を管理する管理サーバと、を備える。オペレータのIP電話機と、顧客のIP電話機が接続されたIP網との間にはゲートウェイが設けられ、IP/SIP間のプロトコル変換を行う。また、通信制御サーバ、オペレータのIP電話、及び、管理サーバの各々は、IPプロトコル又は専用電文によりデータ通信を行う。特許文献3のコールセンタシステムは、以下のように動作する。   An example of a call center system that does not require a specific device such as a SIP server is disclosed in Patent Document 3. The call center system disclosed in Patent Document 3 includes a plurality of main lines for external lines, a plurality of sub lines used for other purposes, and a call request to a telephone connected to an external line from an operator's IP telephone to a customer's IP telephone. First and second communication control servers that perform connection processing, and a management server that manages the lines and the status of the first and second communication control servers. A gateway is provided between the operator's IP telephone and the IP network to which the customer's IP telephone is connected, and performs protocol conversion between IP / SIP. Each of the communication control server, the operator's IP phone, and the management server performs data communication using the IP protocol or a dedicated message. The call center system of Patent Document 3 operates as follows.

まず、発信要求を受け付けた第1の通信制御サーバは、自サーバ内に空き主回線がない場合、管理サーバに対し主回線に空きのある通信制御サーバを問い合わせる。   First, when there is no free main line in the server, the first communication control server that has received the call request queries the management server for a communication control server that has a free main line.

次に、第1の通信制御サーバは、管理サーバから第2の通信制御サーバの主回線に空きがあることを示す空き回線情報を受信し、第1の通信制御サーバの副回線を使用して第2の通信制御サーバと接続し、第2の通信制御サーバの主回線を使用し外線(外線用IP網及びゲートウェイを含む)を経由して顧客のIP電話機と接続し、通話を確立する。   Next, the first communication control server receives free line information indicating that the main line of the second communication control server is free from the management server, and uses the sub line of the first communication control server. Connect to the second communication control server, connect to the customer's IP phone via the external line (including the external line IP network and gateway) using the main line of the second communication control server, and establish a call.

上記の動作の結果、このコールセンタシステムでは、SIPサーバのような特定の機器を必要とされない。   As a result of the above operation, this call center system does not require a specific device such as a SIP server.

特開2009−267628号公報(第5−6ページ、図4)JP 2009-267628 A (page 5-6, FIG. 4) 特開2010−239336号公報(第6−13ページ、図1−7)JP 2010-239336 A (page 6-13, FIG. 1-7) 特開2011−223474号公報(第3−9ページ、図1−4)JP 2011-223474 A (page 3-9, FIGS. 1-4)

特許文献1に開示されている技術では、コーデック変換の開始にセッション制御専用装置であるSIPサーバからの指示が必要である。そのため、特許文献1に開示されている技術は、セッションの管理を行っていないシステムに適用することはできないという問題がある。セッション制御専用装置を備えるシステムであっても、コーデック変換の開始の指示を行う機能が備えてられていない場合は、その機能をセッション制御専用装置に追加する必要がある。   In the technique disclosed in Patent Document 1, an instruction from a SIP server, which is a dedicated session control device, is required to start codec conversion. Therefore, there is a problem that the technique disclosed in Patent Document 1 cannot be applied to a system that does not manage a session. Even in a system including a session control dedicated device, if the function for instructing the start of codec conversion is not provided, it is necessary to add that function to the session control dedicated device.

特許文献2に開示されている技術では、セッション制御専用装置であるSIPサーバを用いずに、各IP電話端末が相互に通話することができる。しかし、本電話システムは、そもそもコーデック変換機能に対応していないので、コーデック変換の実現のためには、コーデック変換機能を追加する必要がある。   In the technique disclosed in Patent Document 2, each IP telephone terminal can talk to each other without using a SIP server which is a session control dedicated device. However, since this telephone system does not support the codec conversion function in the first place, it is necessary to add the codec conversion function in order to realize the codec conversion.

特許文献3に開示されている技術も同様に、セッション制御専用装置であるSIPサーバを用いずに、コールセンタシステムを構築することができる。しかし、本コールセンタシステムもコーデック変換機能に対応していないので、コーデック変換の実現のためには、コーデック変換機能を追加する必要がある。   Similarly, the technique disclosed in Patent Literature 3 can also construct a call center system without using a SIP server that is a session control dedicated device. However, since this call center system does not support the codec conversion function, it is necessary to add the codec conversion function in order to realize the codec conversion.

本発明の目的は、セッション制御専用装置からの指示等、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を開始できる、コーデック変換ゲートウェイ、コーデック変換方法、及び、コーデック変換プログラムを提供することにある。   An object of the present invention is to provide a codec conversion gateway, a codec conversion method, and a codec conversion program capable of starting codec conversion by a codec conversion gateway alone without requiring an external instruction such as an instruction from a session control dedicated device. There is to do.

本発明のコーデック変換ゲートウェイは、パケットの送信元とパケットの第1の送信先との組に対応付けて設定された、符号化方式の変換規則を記憶する変換規則記憶部と、変換規則に基づいて、受信したパケットの符号化方式を変換する変換手段と、を備えることを特徴とする。   The codec conversion gateway according to the present invention includes a conversion rule storage unit that stores a conversion rule of an encoding scheme set in association with a set of a packet transmission source and a packet first transmission destination, and a conversion rule based on the conversion rule. Conversion means for converting the encoding method of the received packet.

本発明のコーデック変換方法は、パケットの送信元とパケットの第1の送信先との組に対応付けて設定された、符号化方式の変換規則に基づいて、受信したパケットの符号化方式を変換することを特徴とする。   The codec conversion method of the present invention converts the encoding method of a received packet based on an encoding method conversion rule set in association with a set of a packet transmission source and a packet first transmission destination. It is characterized by doing.

本発明のコーデック変換プログラムは、パケットの送信元とパケットの第1の送信先との組に対応付けて設定された、符号化方式の変換規則を記憶する変換規則記憶部を備えるコーデック変換ゲートウェイが備えるコンピュータを、変換規則に基づいて、受信したパケットの符号化方式を変換する変換手段として動作させることを特徴とする。   The codec conversion program according to the present invention includes a codec conversion gateway including a conversion rule storage unit that stores a conversion rule of an encoding scheme that is set in association with a set of a packet transmission source and a packet first transmission destination. A computer provided is operated as a conversion means for converting the encoding method of a received packet based on a conversion rule.

本発明によれば、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を開始できるという効果がある。   According to the present invention, there is an effect that codec conversion can be started by a codec conversion gateway alone without requiring an external instruction.

本発明の第1の実施形態におけるコーデック変換ゲートウェイの構成を示すブロック図である。It is a block diagram which shows the structure of the codec conversion gateway in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるコーデック変換ゲートウェイのハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the codec conversion gateway in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the codec conversion gateway in the 1st Embodiment of this invention. 本発明の第1の実施形態における変換規則の一例を示す図である。It is a figure which shows an example of the conversion rule in the 1st Embodiment of this invention. 本発明の第2の実施形態におけるコーデック変換ゲートウェイの構成を示すブロック図である。It is a block diagram which shows the structure of the codec conversion gateway in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the codec conversion gateway in the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるセッションリストの一例を示す図である。It is a figure which shows an example of the session list | wrist in the 2nd Embodiment of this invention. 本発明の第3の実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the codec conversion gateway in the 3rd Embodiment of this invention. 本発明の第3の実施形態における変換規則の一例を示す図である。It is a figure which shows an example of the conversion rule in the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるセッションリストの一例を示す図である。It is a figure which shows an example of the session list | wrist in the 3rd Embodiment of this invention.

以下、本発明の実施形態について図面を参照して詳細に説明する。尚、すべての図面において、同様な構成要素には同様の符号を付し、適宜説明を省略する。
(第1の実施形態)
図1は、本発明の第1の実施形態におけるコーデック変換ゲートウェイの構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In all the drawings, the same reference numerals are given to the same components, and the description will be omitted as appropriate.
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a codec conversion gateway in the first embodiment of the present invention.

本実施形態のコーデック変換ゲートウェイ100は、変換規則記憶部105と、コーデック変換手段107とを備える。   The codec conversion gateway 100 of this embodiment includes a conversion rule storage unit 105 and codec conversion means 107.

コーデック変換ゲートウェイ100は、送信端末200、及び、受信端末300に接続される。コーデック変換ゲートウェイ100は、SIPサーバ等のセッション制御専用装置(図示されない)を経由して、送信端末200、又は、受信端末300に接続されてもよい。尚、ここでは、送信端末200から受信端末300へ向かうデータの流れに注目して片方向のみの構成を示しているが、両端末が双方向通信を行う場合には、反対方向にも対称的な構成を有してもよい。   The codec conversion gateway 100 is connected to the transmission terminal 200 and the reception terminal 300. The codec conversion gateway 100 may be connected to the transmission terminal 200 or the reception terminal 300 via a session control dedicated device (not shown) such as a SIP server. Note that, here, the configuration of only one direction is shown by paying attention to the data flow from the transmission terminal 200 to the reception terminal 300. However, when both terminals perform bidirectional communication, they are also symmetrical in the opposite direction. You may have a structure.

変換規則格納部105には、予め変換規則が格納される。各変換規則は、コーデック変換対象であるパケットを判別するためのパケットの送信元及び送信先の情報と、コーデック変換対象であるパケットに含まれるコーデック変換前後各々の符号化方式の情報とを含む。   Conversion rules are stored in the conversion rule storage unit 105 in advance. Each conversion rule includes information on a transmission source and a transmission destination of a packet for determining a packet that is a codec conversion target, and information on encoding methods before and after the codec conversion included in the packet that is a codec conversion target.

尚、コーデック変換対象であるパケットを判別するためのパケットの送信元及び送信先の情報は、送信元及び送信先の各々について、以下のいずれかの項目を含む。   Note that the information on the transmission source and transmission destination of the packet for determining the packet to be codec converted includes one of the following items for each of the transmission source and the transmission destination.

1)端末の識別子又はその範囲
2)端末上のアプリケーションの識別子又はその範囲
3)端末の利用者の識別子又はその範囲
4)その他、コーデック変換対象であるパケットに含まれ、送信元若しくは送信先を特定する任意の情報又はその範囲
5)第1−4項の項目の組み合わせ
6)第1−5項の項目と、コーデック変換対象であるパケットに含まれ、コーデック変換対象であるパケットを限定する任意の情報又はその範囲との組み合わせ
送信元及び送信先の各々を特定できる第1−5項のいずれか1項の特定情報は必須である。送信元及び送信先は、端末であってもアプリケーションであってもよいので、各々の特定情報は、例えば、端末やアプリケーションを識別できる情報である。すなわち、特定情報は、端末識別子若しくはその範囲(アドレス)、又はアプリ識別子若しくはその範囲(ポート番号)を含む。そして、変換の必要なパケットが送受される送信元及び送信先を指定する2つの特定情報の組に対して、変換前及び変換後の符号化方式が特定される。尚、変換前の符号化方式の情報が、コーデック変換対象であるパケットに含まれる場合には、変換規則中の変換前の符号化方式の情報は省略されてもよい。
1) Terminal identifier or range 2) Application identifier or range on the terminal 3) User identifier or range of the terminal 4) Others included in the packet subject to codec conversion, and the source or destination Arbitrary information to be specified or its range 5) Combination of items in paragraphs 1 to 4 6) Arbitrary items to be included in packets that are subject to codec conversion and items that are subject to codec conversion and to limit packets that are subject to codec conversion The identification information in any one of items 1-5, which can identify each of the transmission source and the transmission destination, is essential. Since the transmission source and the transmission destination may be a terminal or an application, each specific information is information that can identify the terminal and the application, for example. That is, the specific information includes a terminal identifier or its range (address), or an application identifier or its range (port number). And the encoding system before conversion and after conversion are specified with respect to the set of two specific information which designates the transmission origin and transmission destination with which the packet which needs conversion is transmitted / received. In addition, when the information of the encoding system before conversion is contained in the packet which is a codec conversion object, the information of the encoding system before conversion in a conversion rule may be abbreviate | omitted.

変換不要な組については、符号化方式の情報、及び、その組の情報自体はあってもなくてもよい。又、変換の必要なパケットの送信元又は送信先を特定又は限定する情報の範囲が、その情報が取り得る全範囲である場合は、その範囲の情報は、あってもなくてもよい。   For a set that does not require conversion, there may or may not be information on the encoding scheme and information on the set itself. In addition, when the range of information specifying or limiting the transmission source or transmission destination of a packet that needs to be converted is the entire range that the information can take, the information in the range may or may not be present.

変換の必要なパケットが送受される送信元及び送信先を指定する2つの特定情報の組に対して、付加的な情報として、例えば、送信元がパケットの送信停止を送信先へ通知するパケットの送信先情報や、タイムアウトを判断するためのタイムアウト時間の情報等が追加されてもよい。   As an additional information for a set of two specific information that designates a transmission source and a transmission destination for transmitting and receiving a packet that needs to be converted, for example, a packet of a packet that the transmission source notifies the transmission stop of the packet to the transmission destination. Transmission destination information, timeout time information for determining timeout, and the like may be added.

コーデック変換手段107は、変換規則格納部105に格納された変換規則を参照して、受信したパケットが、変換規則が設定された変換対象のパケットに該当するか否かを調べる。そして、変換対象のパケットに該当する場合、コーデック変換手段107は受信したパケットの符号化方式を変換した後、受信端末300へパケットを送信する。変換対象のパケットに該当しない場合、コーデック変換手段107はそのまま、受信端末300へパケットを送信する。   The codec conversion unit 107 refers to the conversion rule stored in the conversion rule storage unit 105 to check whether or not the received packet corresponds to a conversion target packet for which the conversion rule is set. If the packet corresponds to the conversion target packet, the codec conversion unit 107 transmits the packet to the receiving terminal 300 after converting the encoding method of the received packet. If the packet does not correspond to the conversion target packet, the codec conversion unit 107 transmits the packet to the receiving terminal 300 as it is.

ここで、パケットは、例えば、IP、X.25、CLNP(Connection Less Network Protocol)等のネットワーク層プロトコルのパケットであってよい。又、そのネットワーク層プロトコルのパケットのペイロードは、例えば、UDP(User Datagram Protocol)等のトランスポート層プロトコルのパケットであってよい。更に、そのネットワーク層プロトコル又はトランスポート層プロトコルのパケットのペイロードは、例えば、RTP(Real-time Transport Protocol)等のセッション層プロトコル(ここでは、特に、音声や動画等のデータストリームをリアルタイムに配送するためのプロトコル)のパケットであってよい。   Here, the packet is, for example, IP, X. 25, or a packet of a network layer protocol such as CLNP (Connection Less Network Protocol). The payload of the network layer protocol packet may be a transport layer protocol packet such as UDP (User Datagram Protocol). Further, the payload of the packet of the network layer protocol or the transport layer protocol is, for example, a session layer protocol such as RTP (Real-time Transport Protocol) (here, in particular, a data stream such as voice or video is delivered in real time). Protocol) packet.

図2は、コーデック変換ゲートウェイのハードウェア構成の一例を示すブロック図である。   FIG. 2 is a block diagram illustrating an example of a hardware configuration of the codec conversion gateway.

コーデック変換ゲートウェイ907は、記憶装置902と、CPU(Central Processing Unit)903と、キーボード904と、モニタ905と、I/O(Input/Output)908とを備え、これらが内部バス906で接続されている。記憶装置902は、コーデック変換手段107等のCPU903の動作プログラムを格納する。CPU903は、コーデック変換ゲートウェイ907全体を制御し、記憶装置902に格納された動作プログラムを実行し、I/O908を介してコーデック変換手段107等のプログラムの実行やデータの送受信を行なう。なお、上記のコーデック変換ゲートウェイ907の内部構成は一例である。コーデック変換ゲートウェイ907は、CPU903のみを備え、外部に備えられた、記憶装置902、キーボード904、モニタ905、及びI/O908を用いて動作してもよい。   The codec conversion gateway 907 includes a storage device 902, a CPU (Central Processing Unit) 903, a keyboard 904, a monitor 905, and an I / O (Input / Output) 908, which are connected via an internal bus 906. Yes. The storage device 902 stores an operation program for the CPU 903 such as the codec conversion unit 107. The CPU 903 controls the entire codec conversion gateway 907, executes an operation program stored in the storage device 902, executes programs such as the codec conversion means 107 and transmits / receives data via the I / O 908. The internal configuration of the codec conversion gateway 907 is an example. The codec conversion gateway 907 may include only the CPU 903 and operate using a storage device 902, a keyboard 904, a monitor 905, and an I / O 908 provided outside.

次に、本実施形態の動作を説明する。   Next, the operation of this embodiment will be described.

図3は、本実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。ただし、受信した1個のパケットに対する動作を示す。複数のパケット受信時の動作は、1個のパケットに対する動作が繰り返される。   FIG. 3 is a flowchart showing the operation of the codec conversion gateway in the present embodiment. However, the operation for one received packet is shown. The operation for receiving a plurality of packets is repeated for one packet.

コーデック変換手段107は、送信端末200からパケットを受信する(ステップS110)。   The codec conversion means 107 receives a packet from the transmission terminal 200 (step S110).

コーデック変換手段107は、変換規則格納部105に格納された変換規則を参照して、受信したパケットが、変換規則が設定された変換対象のパケットに該当するか否かを調べる(ステップS130)。   The codec conversion unit 107 refers to the conversion rule stored in the conversion rule storage unit 105 to check whether or not the received packet corresponds to a conversion target packet for which the conversion rule is set (step S130).

受信したパケットが、変換規則が設定された変換対象のパケットに該当すれば(ステップS130:Yes)、コーデック変換手段107は、受信したパケットの符号化方式を変換規則中に指示されたコーデック変換前の符号化方式から、変換規則中に指示されたコーデック変換後の符号化方式へ変換する(ステップS150)。   If the received packet corresponds to the packet to be converted for which the conversion rule is set (step S130: Yes), the codec conversion means 107 determines the encoding method of the received packet before codec conversion indicated in the conversion rule. The coding method is converted to the coding method after the codec conversion indicated in the conversion rule (step S150).

受信したパケットが、変換規則が設定された変換対象のパケットに該当しないならば(ステップS130:No)、受信したパケットの符号化方式を変換せず、次のステップS160へ進む。   If the received packet does not correspond to the packet to be converted for which the conversion rule is set (step S130: No), the encoding method of the received packet is not converted, and the process proceeds to the next step S160.

コーデック変換手段107は、受信端末300へパケットを送信する(ステップS160)。   The codec conversion means 107 transmits a packet to the receiving terminal 300 (step S160).

図4は、本発明の第1の実施形態における変換規則の一例を示す図である。図4の第1列はコーデック変換の対象であるIPパケットの送信元IPアドレスの範囲を、第2列はコーデック変換の対象であるIPパケットに含まれるUDPパケットの送信先ポート番号の範囲を、第3列は変換前コーデック種別を、第4列は変換後コーデック種別を示す。例えば、IPパケット中の送信元IPアドレスがネットマスク長“ee”のIPアドレス“aa.aa.aa.aa”に含まれ、送信先UDPポート番号が“A”以上“E”以下である場合、そのIPパケットは2行目の変換規則の変換対象に該当し、そのIPパケットのペイロードに含まれるRTPパケットは、“AMR”(Adaptive Multi-Rate)により符号化されており、“EVRC”(Enhanced Variable Rate Codec)による符号化方式に変換すべきことを示す。   FIG. 4 is a diagram illustrating an example of a conversion rule in the first embodiment of the present invention. The first column in FIG. 4 indicates the range of the source IP address of the IP packet that is the target of codec conversion, the second column indicates the range of the destination port number of the UDP packet included in the IP packet that is the target of codec conversion, The third column shows the codec type before conversion, and the fourth column shows the codec type after conversion. For example, the source IP address in the IP packet is included in the IP address “aa.aa.aa.aa” having the net mask length “ee”, and the destination UDP port number is “A” or more and “E” or less. The IP packet corresponds to the conversion target of the conversion rule in the second row, and the RTP packet included in the payload of the IP packet is encoded by “AMR” (Adaptive Multi-Rate), and “EVRC” ( This indicates that it should be converted to an encoding method based on Enhanced Variable Rate Codec).

以上説明したように、本実施形態におけるコーデック変換ゲートウェイは、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を開始できる。その理由は、コーデック変換手段107が、コーデック変換対象のパケットを判別し、予め変換規則中で定義されたコーデック変換を実行するからである。   As described above, the codec conversion gateway according to the present embodiment does not require an external instruction, and can start codec conversion by the codec conversion gateway alone. The reason is that the codec conversion unit 107 determines the codec conversion target packet and executes codec conversion defined in advance in the conversion rule.

又、本実施形態におけるコーデック変換ゲートウェイは、SIPサーバ等のセッション制御専用装置を利用しないため、SIPサーバ等のセッション制御専用装置のコストが生じない効果もある。   In addition, since the codec conversion gateway in the present embodiment does not use a session control dedicated device such as a SIP server, there is an effect that the cost of the session control dedicated device such as a SIP server does not occur.

又、本実施形態におけるコーデック変換ゲートウェイは、SIP等のセッション制御プロトコルを利用しないため、SIPサーバ等のセッション制御プロトコルを利用した装置との接続において、セッション制御プロトコルの互換性の問題が生じない効果もある。
(第2の実施形態)
図5は、本発明の第2の実施形態におけるコーデック変換ゲートウェイの構成を示すブロック図である。
In addition, since the codec conversion gateway in the present embodiment does not use a session control protocol such as SIP, an effect that does not cause a compatibility problem of the session control protocol in connection with a device using a session control protocol such as a SIP server. There is also.
(Second Embodiment)
FIG. 5 is a block diagram showing the configuration of the codec conversion gateway in the second exemplary embodiment of the present invention.

尚、以下では、第1の実施形態と本実施形態とで共通する説明は省略し、第1の実施形態に対する本実施形態の相違点のみについて説明する。   In the following description, descriptions common to the first embodiment and the present embodiment are omitted, and only differences of the present embodiment from the first embodiment will be described.

本発明の第2の実施形態におけるコーデック変換ゲートウェイの構成は、第1の実施形態におけるコーデック変換ゲートウェイの構成に、コーデック変換手段107に接続されたセッションリスト109が追加されたものである。   The configuration of the codec conversion gateway in the second embodiment of the present invention is obtained by adding a session list 109 connected to the codec conversion means 107 to the configuration of the codec conversion gateway in the first embodiment.

変換規則に含まれるコーデック変換対象であるパケットを判別するためのパケットの送信元及び送信先の情報は、1個以上のセッション(送信元及び送信先の1個以上の組)を特定する。一方、セッションリスト109に格納される個々のセッション情報では、セッション情報に含まれるコーデック変換対象であるパケットを判別するためのパケットの送信元及び送信先の情報は、1個のセッション(送信元及び送信先の1個の組)を特定する。   The information on the transmission source and transmission destination of the packet for determining the packet that is the codec conversion target included in the conversion rule specifies one or more sessions (one or more sets of transmission source and transmission destination). On the other hand, in the individual session information stored in the session list 109, the packet transmission source and transmission destination information for determining the packet that is the codec conversion target included in the session information is one session (transmission source and transmission source). 1 set of transmission destinations) is specified.

パケットと変換規則との対応関係の照合では、パケットに含まれる識別子と、変換規則に含まれる識別子の範囲との比較が必要である。一方、パケットとセッション情報との対応関係の照合では、パケットに含まれる識別子と、セッション情報に含まれる識別子との比較で済む。   In the collation of the correspondence between the packet and the conversion rule, it is necessary to compare the identifier included in the packet with the range of identifiers included in the conversion rule. On the other hand, the matching of the correspondence between the packet and the session information can be performed by comparing the identifier included in the packet with the identifier included in the session information.

又、コーデック変換手段が、コーデック変換前後の符号化方式の組毎に、変換の準備(子プロセス起動等)や変換の後処理(子プロセスの終了等)を必要とすることがある。そのとき、例えば、コーデック変換前後の符号化方式の組み合わせが多く、常に変換の準備を維持することが困難な場合には、セッションリストが無いと、パケット毎に変換の準備、変換処理、変換の後処理が実行されなければならない。一方、セッションリストがあると、存在するセッションに対応する変換の準備状態は、維持されることができる。又、終了したセッションに対応する変換の準備状態は、解放されることができる。   In addition, the codec conversion means may require conversion preparation (child process activation, etc.) and post-conversion processing (end of the child process, etc.) for each set of encoding methods before and after codec conversion. At that time, for example, when there are many combinations of encoding methods before and after codec conversion and it is difficult to always maintain preparation for conversion, if there is no session list, preparation for conversion, conversion processing, conversion Post processing must be performed. On the other hand, if there is a session list, the conversion ready state corresponding to the existing session can be maintained. Also, the conversion ready state corresponding to the terminated session can be released.

そこで、あるセッションに対して変換が準備された後、そのセッション情報が、例えば、準備された変換プロセスを識別する識別子(子プロセスの識別子等)を持てば、セッションに対応するパケットは、対応するセッションの変換プロセスに渡されることができる。以下では、セッションリスト中の各セッション情報には、そのセッションに適用された変換規則に基づいて生成された、コーデック変換前後の符号化方式の組の識別子が保持され、その識別子により適用される変換が識別される。   Therefore, after conversion is prepared for a session, if the session information has an identifier (such as an identifier of a child process) for identifying the prepared conversion process, a packet corresponding to the session corresponds. Can be passed to the session conversion process. In the following, each session information in the session list holds an identifier of a set of encoding methods before and after the codec conversion generated based on the conversion rule applied to the session, and the conversion applied by the identifier Is identified.

セッションリスト109には、変換規則が適用された1個のセッション(RTPパケット等が含まれるリアルタイムデータストリーム)に対し、1個のセッション情報が格納される。各セッション情報は、セッションを一意に識別するためのパケットの送信元及び送信先の1個の組の情報と、そのセッションに対応するパケットに適用されるコーデック変換方式の情報(例えば、コーデック変換前後各々の符号化方式の情報)とを含む。   The session list 109 stores one piece of session information for one session to which the conversion rule is applied (a real-time data stream including RTP packets and the like). Each session information includes one set of packet source and destination information for uniquely identifying a session and codec conversion method information applied to the packet corresponding to the session (for example, before and after codec conversion). Information of each encoding method).

尚、セッションを識別するためのパケットの送信元及び送信先の情報は、送信元及び送信先の各々について、以下のいずれかの項目を含む。   The packet transmission source and transmission destination information for identifying the session includes any of the following items for each of the transmission source and the transmission destination.

1)端末の識別子
2)端末上のアプリケーションの識別子
3)端末の利用者の識別子
4)その他、コーデック変換対象であるパケットに含まれ、送信元若しくは送信先を特定する任意の情報
5)第1−4項の項目の組み合わせ
送信元及び送信先の各々を特定できる第1−5項のいずれか1項の特定情報は必須である。
1) Terminal identifier 2) Application identifier on the terminal 3) Terminal user identifier 4) Other arbitrary information included in the packet to be codec converted to identify the source or destination 5) First The combination of items in item -4 The identification information in any one of items 1-5 that can identify each of the transmission source and the transmission destination is essential.

コーデック変換手段107は、受信したパケットとパケットに適用された変換規則に基づき、セッションリスト109にセッションを特定する情報を追加することができる。   The codec conversion means 107 can add information for identifying a session to the session list 109 based on the received packet and the conversion rule applied to the packet.

次に、本実施形態の動作を説明する。   Next, the operation of this embodiment will be described.

図6は、本実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。   FIG. 6 is a flowchart showing the operation of the codec conversion gateway in the present embodiment.

ステップS110、S130、150〜S160は、本発明の第1の実施形態のステップS110、S130、150〜S160と同じである。   Steps S110, S130, and 150 to S160 are the same as steps S110, S130, and 150 to S160 of the first embodiment of the present invention.

コーデック変換手段107は、受信したパケットに対応するセッションがセッションリスト109に登録されているか否かを調べる(ステップS120)。尚、セッションは、例えば、受信したIPパケットに含まれる、送信元IPアドレス及び、UDPパケットに含まれる送信先ポート番号により識別される。   The codec conversion means 107 checks whether or not a session corresponding to the received packet is registered in the session list 109 (step S120). The session is identified by, for example, a transmission source IP address included in the received IP packet and a transmission destination port number included in the UDP packet.

受信したパケットに対応するセッションがセッションリスト109に登録されていなければ(ステップS120:No)、ステップS130を実行する。   If the session corresponding to the received packet is not registered in the session list 109 (step S120: No), step S130 is executed.

受信したパケットが、変換規則が設定された変換対象のパケットに該当すれば(ステップS130:Yes)、コーデック変換手段107は、受信したパケットに対応するセッションを一意に特定する情報(例えば、受信したIPパケットに含まれる、送信元IPアドレス及び、UDPパケットに含まれる送信先ポート番号)、及び、セッションに属するパケットに適用されるコーデック変換前後の符号化方式の組を識別する情報(例えば、変換記憶部105の変換規則からコピーされた変換前後の符号化方式の情報)をセッションリスト109に登録する(ステップS140)。   If the received packet corresponds to the packet to be converted in which the conversion rule is set (step S130: Yes), the codec conversion unit 107 uniquely identifies the session corresponding to the received packet (for example, received Information that identifies the source IP address included in the IP packet and the destination port number included in the UDP packet) and the set of encoding methods before and after codec conversion applied to the packet belonging to the session (for example, conversion The encoding method information before and after conversion copied from the conversion rule of the storage unit 105 is registered in the session list 109 (step S140).

受信したパケットに対応するセッションがセッションリスト109に登録されていれば(ステップS120:Yes)、コーデック変換手段107は、ステップS150を実行する。但し、本実施形態では、コーデック変換手段107は、変換規則部105に含まれる変換規則からコピーされた、セッションリスト109に登録された変換前後の符号化方式の組を識別する情報に従い、コーデック変換を実行する。   If a session corresponding to the received packet is registered in the session list 109 (step S120: Yes), the codec conversion unit 107 executes step S150. However, in the present embodiment, the codec conversion unit 107 performs codec conversion according to information for identifying a set of encoding methods before and after conversion registered in the session list 109, copied from the conversion rule included in the conversion rule unit 105. Execute.

図7は、本発明の第2の実施形態におけるセッションリストの一例を示す図である。図7の第1列は受信したIPパケットの送信元IPアドレスを、第2列は受信したIPパケットに含まれるUDPパケットの送信先ポート番号を示す。例えば、2行目は、送信元IPアドレスが“aa.aa.aa.aa”で、送信先RTPポート番号が“A”であることを示す。図7の第3〜4列には、変換記憶部105の変換規則からコピーされた変換前コーデックの情報(“AMR”)及び変換後コーデックの情報(“EVRC”)が登録されている。   FIG. 7 is a diagram showing an example of a session list in the second embodiment of the present invention. The first column in FIG. 7 shows the source IP address of the received IP packet, and the second column shows the destination port number of the UDP packet included in the received IP packet. For example, the second line indicates that the source IP address is “aa.aa.aa.aa” and the destination RTP port number is “A”. In columns 3 to 4 of FIG. 7, pre-conversion codec information (“AMR”) and post-conversion codec information (“EVRC”) copied from the conversion rule of the conversion storage unit 105 are registered.

以上説明したように、本実施形態におけるコーデック変換ゲートウェイは、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を開始できる。その理由は、コーデック変換手段107が、セッションリスト109を利用してコーデック変換対象のパケットを判別し、予め変換規則中で定義されたコーデック変換を実行するからである。   As described above, the codec conversion gateway according to the present embodiment does not require an external instruction, and can start codec conversion by the codec conversion gateway alone. The reason is that the codec conversion means 107 determines the codec conversion target packet using the session list 109 and executes the codec conversion defined in advance in the conversion rule.

更に、本実施形態におけるコーデック変換ゲートウェイは、変換規則を参照する回数を減らすことができる。その理由は、コーデック変換手段107が、受信パケットがセッションリスト109に未登録な場合のみ、変換規則記憶部を参照するからである。
(第3の実施形態)
本発明の第3の実施形態におけるコーデック変換ゲートウェイの構成は、図5に示した本発明の第2の実施形態におけるコーデック変換ゲートウェイの構成と同じである。
Furthermore, the codec conversion gateway in the present embodiment can reduce the number of times of referring to conversion rules. The reason is that the codec conversion means 107 refers to the conversion rule storage unit only when the received packet is not registered in the session list 109.
(Third embodiment)
The configuration of the codec conversion gateway in the third embodiment of the present invention is the same as the configuration of the codec conversion gateway in the second embodiment of the present invention shown in FIG.

但し、本実施形態における変換規則記憶部105が保持する変換規則は、第2の実施形態における変換規則記憶部105が保持する情報に加えて、セッション終了の通知先の情報(例えば、リアルタイムデータストリームの送信終了を通知するパケットの識別情報)を保持する。   However, the conversion rule held by the conversion rule storage unit 105 in this embodiment is not limited to the information held by the conversion rule storage unit 105 in the second embodiment, but is information on the notification destination of the session end (for example, a real-time data stream). (Identification information of the packet for notifying the end of transmission).

又、本実施形態におけるセッションリスト109が保持する変換情報は、第2の実施形態におけるセッションリスト109が保持する変換情報に加えて、セッション終了の通知先の情報(例えば、リアルタイムデータストリームの送信終了を通知するパケットの識別情報)、及び、セッションに対応するパケットの最終受信時刻を保持する。ここで、セッション終了の通知先の情報は、コーデック変換手段107により、変換規則記憶部105が保持する変換規則からコピーされる。又、セッションに対応するパケットの最終受信時刻は、コーデック変換手段107により、更新される。   In addition, the conversion information held in the session list 109 according to the present embodiment includes information on the notification destination of the session end (for example, transmission end of the real-time data stream) in addition to the conversion information held in the session list 109 according to the second embodiment The packet identification information) and the last reception time of the packet corresponding to the session. Here, the information of the session end notification destination is copied from the conversion rule held by the conversion rule storage unit 105 by the codec conversion means 107. In addition, the last reception time of the packet corresponding to the session is updated by the codec conversion means 107.

又、コーデック変換手段107は、予め定められたセッションのタイムアウト時間を保持する。   Further, the codec conversion means 107 holds a predetermined session timeout time.

尚、以下では、第2の実施形態と本実施形態とで共通する説明は省略し、第2の実施形態に対する本実施形態の相違点のみについて説明する。   In the following description, descriptions common to the second embodiment and the present embodiment are omitted, and only differences of the present embodiment from the second embodiment will be described.

次に、本実施形態の動作を説明する。   Next, the operation of this embodiment will be described.

図8は、本実施形態におけるコーデック変換ゲートウェイの動作を示すフローチャートである。   FIG. 8 is a flowchart showing the operation of the codec conversion gateway in the present embodiment.

ステップS110〜S160は、本発明の第2の実施形態のステップS110〜S160と同じである。   Steps S110 to S160 are the same as steps S110 to S160 of the second embodiment of the present invention.

但し、本発明の第3の実施形態のステップS140では、本発明の第2の実施形態で変換規則記憶部105が保持する変換規則からセッションリスト109へコピーされる項目として、セッション終了の通知先の情報(例えば、リアルタイムデータストリームの送信終了を通知するパケットの識別情報)が追加される。   However, in step S140 of the third embodiment of the present invention, a session end notification destination as an item to be copied from the conversion rule held by the conversion rule storage unit 105 to the session list 109 in the second embodiment of the present invention. (For example, identification information of a packet that notifies the end of transmission of a real-time data stream) is added.

コーデック変換手段107は、受信端末300へパケットを送信(ステップS160)する。次に、コーデック変換手段107は、セッションリスト109が保持するセッション終了の通知先の情報に従い、送信されたパケットを調べる。このとき、送信されたパケットのペイロードが、セッション終了(リアルタイムデータストリームの送信終了)を通知するパケットを含むならば(ステップS170:Yes)、コーデック変換手段107は、対応するセッションをセッションリスト109から削除する(ステップS180)。   The codec conversion means 107 transmits a packet to the receiving terminal 300 (step S160). Next, the codec conversion means 107 checks the transmitted packet in accordance with the session end notification destination information held in the session list 109. At this time, if the payload of the transmitted packet includes a packet for notifying the end of the session (transmission end of the real-time data stream) (step S170: Yes), the codec conversion unit 107 adds the corresponding session from the session list 109. Delete (step S180).

尚、ここで、データストリームの送信終了を通知するパケットは、例えば、RTCP(Real-time Transport Control Protocol)の“BYE”パケット等を含むIPパケット等であってよい。   Here, the packet for notifying the end of transmission of the data stream may be an IP packet including a “BYE” packet of RTCP (Real-time Transport Control Protocol), for example.

コーデック変換手段107は、ステップS160で受信端末300へ送信したパケットについて、セッションリスト109が保持するセッション毎の最終パケット受信時刻を更新し、予め設定されたタイムアウト値に従い、セッションリスト109が保持するすべてのセッションについて、タイムアウトしたセッションをセッションリスト109から削除する(ステップS190)。   The codec conversion means 107 updates the last packet reception time for each session held in the session list 109 for the packet transmitted to the receiving terminal 300 in step S160, and all the values held in the session list 109 according to a preset timeout value. The session that has timed out is deleted from the session list 109 (step S190).

尚、ここでは、コーデック変換手段107がセッション削除機能を持つ例を挙げたが、別の手段が持ってもよい。   In this example, the codec conversion unit 107 has a session deletion function, but another unit may be provided.

又、リアルタイムデータストリームの送信終了を通知するパケットによるセッション削除機能は、省略されてもよい。   In addition, the session deletion function by a packet that notifies the end of transmission of the real-time data stream may be omitted.

図9は、本発明の第3の実施形態における変換規則一例を示す図である。図9の第1〜4列は、本発明の第1の実施形態における図4の第1〜4列と同じである。図9の第5列は、リアルタイムデータストリームの送信終了を通知するIPパケットがRTCPパケットを含む場合のUDPパケットの送信先ポート番号を示す。例えば、2行目は、IPパケット中の送信元IPアドレスがネットマスク長“ee”のIPアドレス“aa.aa.aa.aa” に含まれ、送信先UDPポート番号が“A”以上“E”以下である場合、そのIPパケットは2行目の変換規則の変換対象に該当し、そのセッションに属するデータストリームの送信終了を通知するUDP(ペイロードはRTCP)の送信先ポート番号が“H” 以上“L”以下であることを示す。   FIG. 9 is a diagram illustrating an example of a conversion rule in the third embodiment of the present invention. The first to fourth columns in FIG. 9 are the same as the first to fourth columns in FIG. 4 in the first embodiment of the present invention. The fifth column in FIG. 9 shows the destination port number of the UDP packet when the IP packet notifying the end of transmission of the real-time data stream includes an RTCP packet. For example, in the second line, the source IP address in the IP packet is included in the IP address “aa.aa.aa.aa” having the netmask length “ee”, and the destination UDP port number is “A” or more and “E”. "If it is less than or equal to, the IP packet corresponds to the conversion target of the conversion rule in the second row, and the destination port number of UDP (payload is RTCP) notifying the end of transmission of the data stream belonging to the session is" H " This indicates that it is “L” or less.

図10は、本発明の第3の実施形態におけるセッションリストの一例を示す図である。図10の第1〜4列は、本発明の第2の実施形態における図7の第1〜4列と同じである。図10の第5列はリアルタイムデータストリームの送信終了を通知するIPパケットがRTCPパケットを含む場合のUDPパケットの送信先ポート番号を、第6列は受信したIPパケットのペイロードがRTPパケットを含む場合の、コーデック変換ゲートウェイによるIPパケットの最後の受信時刻を示す。例えば、2行目は、送信元IPアドレスが“aa.aa.aa.aa”で、UDP(ペイロードはRTP)の送信先ポート番号が“A”であるセッションが存在し、そのセッションに属するデータストリームの送信終了を通知するUDP(ペイロードはRTCP)の送信先ポート番号が“H〜L”で、そのセッションに属するRTPパケットの、コーデック変換ゲートウェイによる最終受信時刻が“hh:mm:ss”であることを示す。   FIG. 10 is a diagram showing an example of a session list in the third embodiment of the present invention. The first to fourth columns in FIG. 10 are the same as the first to fourth columns in FIG. 7 in the second embodiment of the present invention. The fifth column in FIG. 10 shows the destination port number of the UDP packet when the IP packet notifying the end of transmission of the real-time data stream includes the RTCP packet, and the sixth column is when the payload of the received IP packet includes the RTP packet The last reception time of the IP packet by the codec conversion gateway is shown. For example, in the second line, there is a session whose source IP address is “aa.aa.aa.aa” and whose UDP (payload is RTP) destination port number “A”, and data belonging to that session The destination port number of UDP (payload is RTCP) for notifying the end of transmission of the stream is “H to L”, and the last reception time of the RTP packet belonging to the session by the codec conversion gateway is “hh: MM: SS”. It shows that there is.

コーデック変換手段107は、ステップS170において、図10の5列目のUDPの送信先ポート番号を監視して、送信終了を通知するパケット(例えば、RTCPの“BYE”パケット。終了するRTPセッションの情報は“BYE”パケットに含まれる。)を受信する。   In step S170, the codec conversion means 107 monitors the UDP destination port number in the fifth column in FIG. 10 and notifies the end of transmission (for example, an RTCP “BYE” packet. Information of the RTP session to be ended) Is included in the “BYE” packet).

コーデック変換手段107は、現在時刻からセッションリスト中の「最終パケット受信時刻」を減算し、予め定められたセッションのタイムアウト時間と比較することで、タイムアウトしたセッションをセッションリストから削除することができる。   The codec conversion means 107 can delete the time-out session from the session list by subtracting the “last packet reception time” in the session list from the current time and comparing it with a predetermined session time-out time.

以上説明したように、本実施形態におけるコーデック変換ゲートウェイは、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を開始できる。その理由は、コーデック変換手段107が、セッションリスト109を利用してリアルタイムデータストリームのセッション開始を判別し、予め変換規則中で定義されたコーデック変換を実行するからである。   As described above, the codec conversion gateway according to the present embodiment does not require an external instruction, and can start codec conversion by the codec conversion gateway alone. The reason is that the codec conversion means 107 determines the start of the session of the real-time data stream using the session list 109 and executes codec conversion defined in advance in the conversion rule.

更に、本実施形態におけるコーデック変換ゲートウェイは、外部からの指示を必要とせず、コーデック変換ゲートウェイ単独でコーデック変換を終了できる。その理由は、コーデック変換手段107が、セッションリスト109を利用してリアルタイムデータストリームのセッション終了を判別し、対応するセッションをセッションリストから削除するからである。   Furthermore, the codec conversion gateway according to the present embodiment does not require an instruction from the outside, and the codec conversion can be completed by the codec conversion gateway alone. The reason is that the codec conversion means 107 uses the session list 109 to determine the end of the session of the real-time data stream and deletes the corresponding session from the session list.

尚、本願発明は、上述の実施形態に限定されるものではなく、本願発明の要旨を逸脱しない範囲で種々変更、変形して実施することができる。   In addition, this invention is not limited to the above-mentioned embodiment, It can implement in various changes and deformation | transformation in the range which does not deviate from the summary of this invention.

Claims (10)

パケットの1つ以上の送信元と前記パケットの1つ以上の第1の送信先と、前記送信元から送信される前記パケットにおける符号化方式と、前記第1の送信先へ送信される前記パケットにおける符号化方式とを特定することが可能な変換規則を予め記憶する変換規則記憶部と、
前記変換規則に基づいて、受信したパケットの符号化方式を変換する変換手段と、
を備えることを特徴とするコーデック変換ゲートウェイ。
One or more transmission sources of the packet, one or more first transmission destinations of the packet, an encoding method in the packet transmitted from the transmission source, and the transmission to the first transmission destination A conversion rule storage unit that stores in advance a conversion rule that can specify the encoding method in the packet ;
Conversion means for converting the encoding method of the received packet based on the conversion rule;
A codec conversion gateway comprising:
前記変換規則は、
前記送信元を識別する第1の識別情報と、
前記第1の送信先を識別する第2の識別情報と、
前記送信元で適用される符号化方式を識別する第1の符号化方式識別情報と、
前記第1の送信先で適用される符号化方式を識別する第2の符号化方式識別情報と、
を含むことを特徴とする請求項1に記載のコーデック変換ゲートウェイ。
The conversion rule is:
First identification information for identifying the transmission source;
Second identification information for identifying the first transmission destination;
First encoding scheme identification information for identifying an encoding scheme applied at the transmission source;
Second encoding scheme identification information for identifying an encoding scheme applied at the first destination;
The codec conversion gateway according to claim 1, comprising:
前記第1の識別情報は、前記送信元である端末若しくはアプリケーションプログラム、又は前記端末のユーザを識別する情報であり、
前記第2の識別情報は、前記第1の送信先である端末若しくはアプリケーションプログラム、又は前記端末のユーザを識別する情報である
ことを特徴とする請求項2に記載のコーデック変換ゲートウェイ。
The first identification information is information that identifies a terminal or application program that is the transmission source, or a user of the terminal,
The codec conversion gateway according to claim 2, wherein the second identification information is information identifying a terminal or an application program that is the first transmission destination or a user of the terminal.
前記変換規則に基づいて、前記1つ以上の送信元の内のある送信元から、前記1つ以上の第1の送信先の内のある第1の送信先へ送信される一連のパケット群と、前記ある送信元で適用される第1の符号化方式から前記ある第1の送信先で適用される第2の符号化方式への変換方式との対応付けを保持するセッションリスト
を更に備えることを特徴とする請求項1乃至3のいずれか1項に記載のコーデック変換ゲートウェイ。
A series of packets that are transmitted from a source of the one or more sources to a first destination of the one or more first destinations based on the conversion rule; And a session list that holds a correspondence with a conversion method from a first encoding method applied at the certain transmission source to a second encoding method applied at the certain first transmission destination. The codec conversion gateway according to any one of claims 1 to 3.
前記セッションリストは、更に、前記一連のパケット群の最終受信時刻を保持し、
前記変換手段は、更に、予め設定されたタイムアウト値に従い前記一連のパケット群の受信のタイムアウトを判断し、前記タイムアウトした前記対応付けを前記セッションリストから削除する
ことを特徴とする請求項4に記載のコーデック変換ゲートウェイ。
The session list further holds the last reception time of the series of packets.
5. The conversion unit according to claim 4, further comprising: determining a time-out for receiving the series of packet groups according to a time-out value set in advance, and deleting the time-out association from the session list. Codec conversion gateway.
前記変換手段は、前記送信元から前記第1の送信先又は前記一連のパケット群の送信終了の通知の第2の送信先へ送信される前記一連のパケット群の送信終了の通知を受信した場合に、前記対応付けを前記セッションリストから削除する
ことを特徴とする請求項4又は5に記載のコーデック変換ゲートウェイ。
When the conversion means receives the transmission end notification of the series of packet groups transmitted from the transmission source to the first transmission destination or the second transmission destination of the transmission end notification of the series of packet groups. 6. The codec conversion gateway according to claim 4, wherein the association is deleted from the session list.
前記一連のパケット群の送信終了の通知がペイロードにRTCPのBYEパケットを含むIPパケットである
ことを特徴とする請求項6に記載のコーデック変換ゲートウェイ。
7. The codec conversion gateway according to claim 6, wherein the notification of the end of transmission of the series of packet groups is an IP packet including an RTCP BYE packet in a payload.
前記パケットは、ペイロードにRTPパケットを含むIPパケットである
ことを特徴とする請求項1乃至7のいずれか1項に記載のコーデック変換ゲートウェイ。
The codec conversion gateway according to claim 1, wherein the packet is an IP packet including an RTP packet in a payload.
パケットの1つ以上の送信元と前記パケットの1つ以上の第1の送信先と、前記送信元から送信される前記パケットにおける符号化方式と、前記第1の送信先へ送信される前記パケットにおける符号化方式とを特定することが可能な予め記憶された変換規則に基づいて、受信したパケットの符号化方式を変換する
ことを特徴とするコーデック変換方法。
One or more transmission sources of the packet, one or more first transmission destinations of the packet, an encoding method in the packet transmitted from the transmission source, and the transmission to the first transmission destination based on the previously stored conversion rule capable of specifying a coding scheme in a packet, the codec conversion method and converting the encoding method of the received packet.
パケットの1つ以上の送信元と前記パケットの1つ以上の第1の送信先と、前記送信元から送信される前記パケットにおける符号化方式と、前記第1の送信先へ送信される前記パケットにおける符号化方式とを特定することが可能な変換規則を予め記憶する変換規則記憶部を備えるコーデック変換ゲートウェイが備えるコンピュータを、
前記変換規則に基づいて、受信したパケットの符号化方式を変換する変換手段
として動作させるためのコーデック変換プログラム。
One or more transmission sources of the packet, one or more first transmission destinations of the packet, an encoding method in the packet transmitted from the transmission source, and the transmission to the first transmission destination A computer provided in a codec conversion gateway including a conversion rule storage unit that stores in advance a conversion rule capable of specifying an encoding method in a packet ;
A codec conversion program for operating as conversion means for converting the encoding method of a received packet based on the conversion rule.
JP2012270363A 2012-12-11 2012-12-11 Codec conversion gateway, codec conversion method, and codec conversion program Active JP6183881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012270363A JP6183881B2 (en) 2012-12-11 2012-12-11 Codec conversion gateway, codec conversion method, and codec conversion program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012270363A JP6183881B2 (en) 2012-12-11 2012-12-11 Codec conversion gateway, codec conversion method, and codec conversion program

Publications (2)

Publication Number Publication Date
JP2014116838A JP2014116838A (en) 2014-06-26
JP6183881B2 true JP6183881B2 (en) 2017-08-23

Family

ID=51172410

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012270363A Active JP6183881B2 (en) 2012-12-11 2012-12-11 Codec conversion gateway, codec conversion method, and codec conversion program

Country Status (1)

Country Link
JP (1) JP6183881B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6378490B2 (en) * 2014-01-28 2018-08-22 エヌ・ティ・ティ・コミュニケーションズ株式会社 Relay device, relay method, and computer program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006060A (en) * 2001-06-19 2003-01-10 Hitachi Ltd Gateway system
JP2005033624A (en) * 2003-07-09 2005-02-03 Nec Corp Voice communication system, gateway device, and voice communication method used therefor and its program
JP2007049415A (en) * 2005-08-10 2007-02-22 Nec Engineering Ltd Voice data conversion apparatus, network system, and control method and program
JP5201938B2 (en) * 2007-10-16 2013-06-05 株式会社日立製作所 Relay device, terminal, communication system, and terminal management method
JP2009141712A (en) * 2007-12-06 2009-06-25 Hitachi Communication Technologies Ltd Repeating installation and repeating method

Also Published As

Publication number Publication date
JP2014116838A (en) 2014-06-26

Similar Documents

Publication Publication Date Title
US9716731B2 (en) Consolidated peer-to-peer media sessions for audio and/or video communications
US10778731B2 (en) Communications methods, apparatus and systems for conserving media resource function resources
US8861537B1 (en) Bridge and control proxy for unified communication systems
US20130282820A1 (en) Method and System for an Optimized Multimedia Communications System
US9736194B1 (en) System for establishing communication between devices
US20180255182A1 (en) Web Real-Time Client Communication Over a Stimulus Based Network
WO2013097457A1 (en) Method, device, and system for realizing voip call in cloud computing environment
KR101705440B1 (en) Hybrid cloud media architecture for media communications
JP4934148B2 (en) SIP multi-user media client with user agent shared by multiple user applications
WO2007068209A1 (en) A method, system and device for transmitting ims instant messages
WO2013155939A1 (en) Method for sharing internet and operator network services, service provider, and webpage gateway
US11228623B2 (en) Method for transmitting media streams between RTC clients
JP5311460B2 (en) Connection control device
CN113489717A (en) Internal and external network intercommunication method, device, equipment and storage medium based on SIP protocol
JP6880421B2 (en) Communication method, communication device and communication system
JP6183881B2 (en) Codec conversion gateway, codec conversion method, and codec conversion program
WO2008086741A1 (en) Method, apparatus and system for realizing et.38 facsimile service in internet
JP2013510477A (en) Method, apparatus and system for media session negotiation
US8667149B2 (en) Communication device, communication method, and computer-readable storage medium storing communication program
JP2006345231A (en) Sip-alg method
CN102017783A (en) Network entity selection
WO2006111062A1 (en) A calling method between the terminals of packet multimedia communication system
US7720974B2 (en) Global routable and grid identification for audio provider in media session
KR20100070602A (en) The media codec sharing method for multi-party call
TWI556616B (en) A media communication system, an audio terminal, and an acoustic symbol conversion device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161011

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161205

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170627

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170720

R150 Certificate of patent or registration of utility model

Ref document number: 6183881

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150