JP2006287541A - VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD - Google Patents

VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD Download PDF

Info

Publication number
JP2006287541A
JP2006287541A JP2005103860A JP2005103860A JP2006287541A JP 2006287541 A JP2006287541 A JP 2006287541A JP 2005103860 A JP2005103860 A JP 2005103860A JP 2005103860 A JP2005103860 A JP 2005103860A JP 2006287541 A JP2006287541 A JP 2006287541A
Authority
JP
Japan
Prior art keywords
transfer processing
channel
interface unit
dedicated line
voice
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
JP2005103860A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Deura
弘善 出浦
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.)
Saxa Inc
Original Assignee
Saxa Inc
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 Saxa Inc filed Critical Saxa Inc
Priority to JP2005103860A priority Critical patent/JP2006287541A/en
Publication of JP2006287541A publication Critical patent/JP2006287541A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To increase the speed of transfer processing of voice data for use in speech. <P>SOLUTION: A transfer processing part 13 calculates a channel port of a multiple signal corresponding to an RTP port number. In this case, the channel number is calculated from the RTP port number on the basis of an expression (channel number)=((RTP port number)-(offset value)/(interval value)). Before or after calculation of the channel number, voice data is acquired from a voice packet stored in a buffer and is converted to voice data conforming to an encoding system used in a telephone controller 3. The converted voice data is stored into the multiple signal as channel data of the channel number calculated from the RTP port number. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、VoIP通信技術に関し、特にIP網から受信した音声パケットに格納されている音声データを多重信号上に時分割で設けられているチャネルへ転送処理する技術に関する。   The present invention relates to a VoIP communication technique, and more particularly to a technique for transferring voice data stored in a voice packet received from an IP network to a channel provided in a time division manner on a multiplexed signal.

IP網を介して音声通話を行うVoIP通信は、通信コストの低減という観点から、PBXなどの多回線を収容する電話システムでも利用されつつある。このような電話システムでVoIP通信を利用する際、電話システムに設けられている従来の電話回線インターフェースとIP網とを交換接続する装置、いわゆるVoIPゲートウェイ装置が用いられる。
この種の電話システムは、多回線分の音声を効率よく伝送するため、例えばTTC−2Mなどのデジタル中継回線用の専用線インターフェースを備えている。この専用線インターフェースは、多重信号上に時分割で設けられているチャネル(スロット)に、各通話の音声信号を符号化したデータを格納して伝送する多重化伝送方式である。
VoIP communication that performs a voice call over an IP network is being used in a telephone system that accommodates multiple lines such as PBX from the viewpoint of reducing communication costs. When VoIP communication is used in such a telephone system, a conventional telephone line interface provided in the telephone system and an IP network and a so-called VoIP gateway apparatus are used.
This type of telephone system includes a dedicated line interface for digital relay lines such as TTC-2M, for example, in order to efficiently transmit voice for multiple lines. This leased line interface is a multiplex transmission method in which data obtained by encoding a voice signal of each call is stored and transmitted in a channel (slot) provided in a time division manner on the multiplex signal.

VoIPゲートウェイ装置は、このような専用線インターフェースを設けて電話システムからの多回線を効率よく収容している。この場合、VoIPゲートウェイ装置では、IP網から受信した音声パケットに格納されている音声データを多重信号上に時分割で設けられているチャネルに転送処理する必要がある。   The VoIP gateway device is provided with such a dedicated line interface and efficiently accommodates multiple lines from the telephone system. In this case, in the VoIP gateway device, it is necessary to transfer the voice data stored in the voice packet received from the IP network to a channel provided in a time division manner on the multiplexed signal.

通常、IP網を介して音声パケットを転送する場合、RTP(Realtime Transport Protocol)というパケット転送プロトコルが用いられる。このRTPでは、個々の通話を識別する情報としてRTPポート番号という識別情報を用いる。
したがって、VoIPゲートウェイ装置では、音声パケットのRTPポート番号とチャネルのチャネル番号との対応関係を管理しておき、IP網から受信した音声パケットに格納されている音声データを、そのRTPポート番号に対応するチャネル番号のチャネルに載せ換える必要がある。
Usually, when a voice packet is transferred via an IP network, a packet transfer protocol called RTP (Realtime Transport Protocol) is used. In this RTP, identification information called RTP port numbers is used as information for identifying individual calls.
Therefore, the VoIP gateway device manages the correspondence relationship between the RTP port number of the voice packet and the channel number of the channel, and the voice data stored in the voice packet received from the IP network corresponds to the RTP port number. It is necessary to switch to the channel of the channel number to be used.

従来、このようなパケットデータの転送処理において、その転送先を判定する技術として、受信パケットのMACアドレスから転送先ポートを検索する技術が提案されている(例えば、特許文献1など参照)。これは、予めパケットのMACアドレスの一部ビットを格納先アドレスとして用い、その格納先アドレスに対応するメモリ上の格納位置に当該MACアドレスのパケットを転送すべきポート番号を格納しておき、受信パケットのMACアドレスの一部ビットをアドレスとしてメモリを参照することにより、所望のポート番号を得るものである。   Conventionally, in such a packet data transfer process, as a technique for determining the transfer destination, a technique for searching for a transfer destination port from the MAC address of a received packet has been proposed (see, for example, Patent Document 1). This uses a part of the MAC address of the packet as the storage destination address in advance, stores the port number to which the packet of the MAC address is to be transferred in the storage location corresponding to the storage destination address, and receives the packet. A desired port number is obtained by referring to the memory using a part of the MAC address of the packet as an address.

特開平11−191784号公報JP 11-191784 A

しかしながら、VoIPゲートウェイ装置での転送処理で、このような従来技術を利用した場合、受信した音声パケットの転送処理ごとにメモリを参照する必要があり、転送処理の高速化の妨げになるだけでなく、アクセス速度の速い高価なメモリが必要となり、高性能で安価なVoIPゲートウェイ装置を実現できないという問題点があった。   However, when such a conventional technique is used in the transfer process in the VoIP gateway device, it is necessary to refer to the memory for each transfer process of the received voice packet, which not only hinders the speeding up of the transfer process. There is a problem that an expensive memory having a high access speed is required, and a high-performance and inexpensive VoIP gateway device cannot be realized.

また、従来技術によれば、格納先アドレスとして用いるMACアドレスの一部ビットが、異なる通話間で同一値とならないようにある程度のビット幅(例えば16ビット=65536通り)を用いる必要があり、このビット幅に応じた記憶領域を持つメモリが必要となるが、実際に転送処理する、例えば数10チャネル〜数100チャネルという4〜8ビット程度で識別できる通話数に比較して膨大な記憶領域が必要となり、ハードウェア資源を効率よく利用できないという問題点があった。   Further, according to the prior art, it is necessary to use a certain bit width (for example, 16 bits = 65536) so that some bits of the MAC address used as the storage destination address do not have the same value between different calls. A memory having a storage area corresponding to the bit width is required. However, a huge storage area is required in comparison with the number of calls that can be identified by about 4 to 8 bits, for example, several tens of channels to several hundreds of channels. There is a problem that it is necessary and hardware resources cannot be used efficiently.

本発明はこのような課題を解決するためのものであり、通話に用いる音声データの転送処理を高速化できるVoIPゲートウェイ装置および転送処理方法を提供することを目的としている。   An object of the present invention is to provide a VoIP gateway device and a transfer processing method capable of speeding up transfer processing of voice data used for a call.

このような目的を達成するために、本発明にかかるVoIPゲートウェイ装置は、RTPパケット通信プロトコルに基づくパケットをIP網を介して送受信することによりVoIP通信を行う網インターフェース部と、専用線を介して送受信される多重信号上に時分割で設けられたチャネルを用いて複数の通話回線を利用する電話システムとデータ通信を行う専用線インターフェース部と、網インターフェース部と専用線インターフェース部との間で音声信号を符号化した音声データを個々の通話ごとに相互に転送する転送処理部とを有するVoIPゲートウェイ装置であって、転送処理部で、網インターフェース部で受信した任意の通話の音声パケットに含まれるRTPポート番号から所定の演算により当該通話で用いるチャネル番号を算出し、チャネル番号と対応する多重信号上のチャネル内に転送する音声データを格納して専用線インターフェース部へ出力するようにしたものである。   In order to achieve such an object, a VoIP gateway device according to the present invention includes a network interface unit that performs VoIP communication by transmitting and receiving packets based on the RTP packet communication protocol via an IP network, and a dedicated line. Voice between a dedicated line interface unit for data communication with a telephone system using a plurality of communication lines using channels provided in a time division manner on multiplexed signals to be transmitted and received, and between the network interface unit and the dedicated line interface unit A VoIP gateway device having a transfer processing unit that transfers voice data encoded with a signal to each other for each call, and is included in a voice packet of an arbitrary call received by the network interface unit in the transfer processing unit The channel number used in the call is calculated from the RTP port number by a predetermined calculation. And, in which to output the private line interface unit to store the audio data to be transferred into the channel on the multiplexed signal corresponding to the channel number.

この際、転送処理部で、整数値からなるオフセット値と、0以外の整数値からなる間隔値とを用い、チャネル番号=(RTPポート番号−オフセット値)/間隔値の式に基づきRTPポート番号からチャネル番号を算出するようにしてもよい。   At this time, the transfer processing unit uses an offset value consisting of an integer value and an interval value consisting of an integer value other than 0, and an RTP port number based on the equation of channel number = (RTP port number−offset value) / interval value. From this, the channel number may be calculated.

また、本発明にかかる転送処理方法は、RTPパケット通信プロトコルに基づくパケットをIP網を介して送受信することによりVoIP通信を行う網インターフェース部と、専用線を介して送受信される多重信号上に時分割で設けられたチャネルを用いて複数の通話回線を利用する電話システムとデータ通信を行う専用線インターフェース部と、網インターフェース部と専用線インターフェース部との間で音声信号を符号化した音声データを個々の通話ごとに相互に転送する転送処理部とを有するVoIPゲートウェイ装置の転送処理方法であって、転送処理部により、網インターフェース部で受信した任意の通話の音声パケットに含まれるRTPポート番号から所定の演算により当該通話で用いるチャネル番号を算出するステップと、チャネル番号と対応する多重信号上のチャネル内に転送する音声データを格納して専用線インターフェース部へ出力するステップとを備えている。   The transfer processing method according to the present invention also includes a network interface unit that performs VoIP communication by transmitting and receiving packets based on the RTP packet communication protocol over an IP network, and a multiplexed signal transmitted and received via a dedicated line. A dedicated line interface unit that performs data communication with a telephone system that uses a plurality of communication lines using channels provided by division, and audio data that encodes an audio signal between the network interface unit and the dedicated line interface unit A transfer processing method of a VoIP gateway apparatus having a transfer processing unit for transferring each call individually, from the RTP port number included in the voice packet of an arbitrary call received by the network interface unit by the transfer processing unit Calculating a channel number to be used in the call by a predetermined calculation; Store audio data to be transferred channel number as in the channel on the corresponding multiplexed signal and a step of outputting to the dedicated line interface.

この際、転送処理部により、整数値からなるオフセット値と、0以外の整数値からなる間隔値とを用い、チャネル番号=(RTPポート番号−オフセット値)/間隔値の式に基づきRTPポート番号からチャネル番号を算出するステップをさらに備えてもよい。   At this time, the transfer processing unit uses an offset value consisting of an integer value and an interval value consisting of an integer value other than 0, and an RTP port number based on the equation of channel number = (RTP port number−offset value) / interval value. The method may further comprise a step of calculating a channel number from

本発明によれば、転送処理部により、網インターフェース部で受信した任意の通話の音声パケットに含まれるRTPポート番号から所定の演算により当該通話で用いるチャネル番号が算出され、そのチャネル番号と対応する多重信号上のチャネル内に転送する音声データが格納されて専用線インターフェース部へ出力されるため、メモリを参照することなくRTPポート番号に対応するチャネル番号を極めて簡素な演算で導出することができる。   According to the present invention, the transfer processing unit calculates the channel number used in the call by a predetermined calculation from the RTP port number included in the voice packet of the arbitrary call received by the network interface unit, and corresponds to the channel number. Since the voice data to be transferred in the channel on the multiplexed signal is stored and output to the dedicated line interface unit, the channel number corresponding to the RTP port number can be derived by a very simple calculation without referring to the memory. .

したがって、受信した音声パケットの転送処理ごとにメモリを参照する必要がなくなるとともに、整数の四則計算という極めて簡素な演算処理に置き換えることができ、転送処理の高速化あるいはDSPやCPUの処理負担を軽減できる。また、転送処理の高速化のためアクセス速度の速い高価なメモリを使用する必要がなくなり、高性能で安価なVoIPゲートウェイ装置を実現できる。   Therefore, it is not necessary to refer to the memory for each transfer process of the received voice packet, and it can be replaced with an extremely simple arithmetic process such as four arithmetic operations for integers, which speeds up the transfer process or reduces the processing load on the DSP or CPU. it can. Moreover, it is not necessary to use an expensive memory with a high access speed for high-speed transfer processing, and a high-performance and inexpensive VoIP gateway device can be realized.

次に、本発明の実施の形態について図面を参照して説明する。
[VoIPゲートウェイ装置]
まず、図1を参照して、本発明の一実施の形態にかかるVoIPゲートウェイ装置について説明する。図1は、本発明の一実施の形態にかかるVoIPゲートウェイ装置の構成を示すブロック図である。
Next, embodiments of the present invention will be described with reference to the drawings.
[VoIP gateway device]
First, a VoIP gateway device according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a VoIP gateway device according to an embodiment of the present invention.

このVoIPゲートウェイ装置1は、アクセス回線10を介してIP網5に接続されるとともに、専用線20を介して電話システム2の電話制御装置3と接続されており、アクセス回線10と専用線20との間で通話に用いる音声データを相互に転送処理する通信処理装置である。
電話システム2は、例えば構内交換機(PBX)やボタン電話装置の主装置に相当する電話制御装置3と、この電話制御装置3に内線回線30を介して内線収容される複数の電話機4とからなり、電話制御装置3により専用線20にチャネルとして多重化される通話回線と各電話機4とを交換接続するシステムである。なお、本実施の形態で用いられる電話システム2については、一般的な公知技術を用いたシステムであり、ここでの詳細な説明は省略する。
The VoIP gateway device 1 is connected to the IP network 5 via the access line 10 and is connected to the telephone control device 3 of the telephone system 2 via the dedicated line 20. Is a communication processing device that transfers voice data used for a call between each other.
The telephone system 2 includes, for example, a telephone control device 3 corresponding to a main unit of a private branch exchange (PBX) and a key telephone device, and a plurality of telephones 4 accommodated in the telephone control device 3 via an extension line 30. In this system, the telephone control device 3 exchanges and connects the telephone line 4 and the telephone line multiplexed as a channel to the dedicated line 20. Note that the telephone system 2 used in the present embodiment is a system using a general known technique, and a detailed description thereof is omitted here.

アクセス回線10から受信する音声パケットでは、個々の通話を識別する情報としてRTPポート番号という識別情報を用いるRTP(Realtime Transport Protocol)というパケット転送プロトコルが用いられる。一方、専用線20で用いられている専用線インターフェースは、多重信号上に時分割で設けられているチャネル(スロット)に、各通話の音声信号を符号化した音声データを格納して伝送する多重化伝送方式である。
したがって、VoIPゲートウェイ装置1では、音声パケットのRTPポート番号とチャネルのチャネル番号との対応関係を管理しておき、IP網5から受信した音声パケットに格納されている音声データを、そのRTPポート番号に対応するチャネル番号のチャネルに載せ換える転送処理を行う。
A voice packet received from the access line 10 uses a packet transfer protocol called RTP (Realtime Transport Protocol) that uses identification information called RTP port numbers as information for identifying individual calls. On the other hand, the leased line interface used in the leased line 20 is a multiplex that stores and transmits voice data obtained by encoding a voice signal of each call in a channel (slot) provided in a time division manner on the multiplexed signal. Transmission system.
Therefore, the VoIP gateway device 1 manages the correspondence between the RTP port number of the voice packet and the channel number of the channel, and converts the voice data stored in the voice packet received from the IP network 5 to the RTP port number. Transfer processing is performed to transfer to the channel of the channel number corresponding to.

本実施の形態は、VoIPゲートウェイ装置1において、アクセス回線10から受信した音声パケットに格納されている音声データを、専用線20の多重信号上のチャネルへ転送処理する際、音声パケットに付与されているRTPポート番号を演算処理して格納先のチャネル番号を算出し、そのチャネル番号のチャネル内に転送する音声データを格納するようにしたものである。   In the present embodiment, when the VoIP gateway device 1 transfers the voice data stored in the voice packet received from the access line 10 to the channel on the multiplexed signal of the dedicated line 20, it is given to the voice packet. The channel number of the storage destination is calculated by calculating the RTP port number being stored, and the voice data to be transferred is stored in the channel of that channel number.

VoIPゲートウェイ装置1は、コンピュータで各種通信制御を行う通信装置であり、網インターフェース部(以下、網I/F部という)11、専用線インターフェース部(以下、専用線I/F部という)12、転送処理部13、および呼制御部14が設けられている。   The VoIP gateway device 1 is a communication device that performs various types of communication control with a computer. A network interface unit (hereinafter referred to as a network I / F unit) 11, a dedicated line interface unit (hereinafter referred to as a dedicated line I / F unit) 12, A transfer processing unit 13 and a call control unit 14 are provided.

網I/F部11は、アクセス回線10を終端制御して、VoIP通信用の音声パケットや制御パケットを送受信する回路部であり、転送処理部13から出力された音声パケットや制御パケットをアクセス回線10へ送信する機能と、アクセス回線10から受信した音声バケットや制御パケットを転送処理部13へ出力する機能とを有している。   The network I / F unit 11 is a circuit unit that performs termination control of the access line 10 and transmits and receives voice packets and control packets for VoIP communication. The network I / F unit 11 transmits the voice packets and control packets output from the transfer processing unit 13 to the access line. 10 and a function of outputting a voice bucket and control packet received from the access line 10 to the transfer processing unit 13.

図2は、網I/F部で送受信するパケットの構成例である。このパケット200に格納される主な情報として、送信元アドレス201、宛先アドレス202、RTPポート番号203、およびユーザデータ204がある。
送信元アドレス201は、当該パケットの送信元端末装置を示すIPプロトコルでのアドレス情報である。宛先アドレス202は、当該パケットの宛先端末装置を示すIPプロトコルでのアドレス情報である。RTPポート番号203は、VoIP通信で用いるRTCプロトコルにおいて、各通話を識別するための識別情報である。ユーザデータ204は、当該パケットで転送したい任意のデータであり、音声パケットでは音声データが格納され、制御パケットでは制御データが格納される。
FIG. 2 is a configuration example of a packet transmitted and received by the network I / F unit. Main information stored in the packet 200 includes a transmission source address 201, a destination address 202, an RTP port number 203, and user data 204.
The transmission source address 201 is IP protocol address information indicating the transmission source terminal device of the packet. The destination address 202 is IP protocol address information indicating the destination terminal device of the packet. The RTP port number 203 is identification information for identifying each call in the RTC protocol used for VoIP communication. The user data 204 is arbitrary data to be transferred in the packet. The voice data is stored in the voice packet, and the control data is stored in the control packet.

専用線I/F部12は、専用線20を終端制御して、通話用の音声データや制御データを送受信する回路部であり、転送処理部13から出力された音声データや制御データを多重信号上の対応するチャネルに格納して専用線20へ送信する機能と、専用線20から受信した多重信号上の各チャネルから音声データや制御データを取り込んで転送処理部13へ出力する機能とを有している。   The dedicated line I / F unit 12 is a circuit unit that performs termination control of the dedicated line 20 and transmits / receives voice data and control data for calls, and multiplexes the voice data and control data output from the transfer processing unit 13. There is a function of storing in the corresponding channel above and transmitting it to the dedicated line 20 and a function of capturing voice data and control data from each channel on the multiplexed signal received from the dedicated line 20 and outputting them to the transfer processing unit 13. is doing.

図3は、専用線I/F部で送受信する多重信号の構成例である。この多重信号300には、所定タイミングに同期する固定時間長のフレーム301が設けられており、そのフレーム301内に複数のチャネル(スロット)が時分割で設けられている。このチャネル内に音声データや制御データが格納される。例えばTTC−2Mという専用線インターフェース(デジタルトランク)では、1フレーム内に32個のチャネルが設けられており、全体として2048Kbit/sの転送速度で送受信される。   FIG. 3 is a configuration example of a multiplexed signal transmitted and received by the dedicated line I / F unit. The multiplexed signal 300 is provided with a frame 301 having a fixed time length synchronized with a predetermined timing, and a plurality of channels (slots) are provided in the frame 301 in a time division manner. Audio data and control data are stored in this channel. For example, in a dedicated line interface (digital trunk) called TTC-2M, 32 channels are provided in one frame, and are transmitted and received at a transfer rate of 2048 Kbit / s as a whole.

転送処理部13は、網I/F部11と専用線I/F部12との間で、各種パケットやデータを相互に転送する転送処理を行う機能部であり、例えばDSP(Digital Signal Processor:デジタル信号処理装置)やCPUなどのマイクロプロセッサとその周辺回路とを有し、マイクロプロセッサ内部や周辺回路のメモリから読み込んだプログラムを実行して各種信号処理や情報処理を行うことにより、転送処理のための各種機能を実現する。   The transfer processing unit 13 is a functional unit that performs transfer processing for transferring various packets and data between the network I / F unit 11 and the dedicated line I / F unit 12, for example, DSP (Digital Signal Processor: DSP). A digital signal processing device) or a microprocessor such as a CPU and its peripheral circuits, and by executing programs read from the microprocessor and memory of the peripheral circuits to perform various signal processing and information processing, To achieve various functions.

この転送処理部13で実現される主な機能としては、網I/F部11からの任意の通話の音声パケットに含まれている音声データの符号化方式を変換する機能と、変換後の音声データを当該音声パケットに含まれているRTPポート番号に対応する多重信号上のチャネルに格納して専用線I/F部12へ出力する機能と、専用線I/F部12からの任意の通話のチャネルに格納されている音声データの符号化方式を変換する機能と、変換後の音声データをそのチャネル番号に対応するRTPポート番号を含む音声パケットに格納して網I/F部11へ出力する機能と、網I/F部11からの制御パケットおよび専用線I/F部12からの制御データを呼制御部14へ出力する機能と、RTPポート番号を含む呼制御部14からの制御パケットを網I/F部11へ出力する機能と、呼制御部14からの制御データを多重信号上のチャネルに格納して専用線I/F部12へ出力する機能がある。   The main functions realized by the transfer processing unit 13 include a function for converting the encoding method of the audio data included in the audio packet of an arbitrary call from the network I / F unit 11, and the converted audio. A function for storing data in a channel on a multiplexed signal corresponding to an RTP port number included in the voice packet and outputting the same to a dedicated line I / F unit 12, and an arbitrary call from the dedicated line I / F unit 12 The function of converting the encoding method of the voice data stored in the channel of the channel, and the converted voice data are stored in the voice packet including the RTP port number corresponding to the channel number and output to the network I / F unit 11 A function to output the control packet from the network I / F unit 11 and the control data from the dedicated line I / F unit 12 to the call control unit 14, and the control packet from the call control unit 14 including the RTP port number A function of outputting to the network I / F unit 11, a function of storing and outputting the control data from the call control unit 14 to the channels on the multiplexed signal to the dedicated line I / F section 12.

呼制御部14は、IP網5を用いたVoIP通信の呼制御および電話システム2との間の呼制御を行う機能部であり、例えばCPUなどのマイクロプロセッサとその周辺回路とを有し、マイクロプロセッサ内部や周辺回路のメモリから読み込んだプログラムを実行して各種情報処理を行うことにより、転送処理のための各種機能を実現する。   The call control unit 14 is a functional unit that performs call control of VoIP communication using the IP network 5 and call control with the telephone system 2, and includes, for example, a microprocessor such as a CPU and its peripheral circuits. Various functions for transfer processing are realized by executing various kinds of information processing by executing programs read from the memory of the processor and peripheral circuits.

この呼制御部14で実現される主な機能としては、転送処理部13および網I/F部11を介してIP網5側と制御パケットをやり取りすることによりIP網5を用いたVoIP通信の呼制御を行う機能と、転送処理部13および専用線I/F部12を介して電話システム2の電話制御装置3と制御データをやり取りすることにより電話制御装置3との間の呼制御を行う機能と、IP網5側と電話制御装置3側との間でプロトコル変換を行う機能と、VoIP通信接続時に、当該通話で用いるチャネルのチャネル番号からVoIP通信で用いるRTPポート番号を算出する機能とを有している。   The main function realized by this call control unit 14 is that of VoIP communication using the IP network 5 by exchanging control packets with the IP network 5 side via the transfer processing unit 13 and the network I / F unit 11. Call control between the telephone control device 3 by exchanging control data with the telephone control device 3 of the telephone system 2 via the transfer processing unit 13 and the dedicated line I / F unit 12. A function for performing protocol conversion between the IP network 5 side and the telephone control device 3 side, and a function for calculating the RTP port number used in VoIP communication from the channel number of the channel used in the call when VoIP communication is connected. have.

[VoIPゲートウェイ装置の動作]
次に、図4を参照して、本実施の形態にかかるVoIPゲートウェイ装置の動作について説明する。図4は、本実施の形態にかかるVoIPゲートウェイ装置のパケット受信動作を示すフローチャートである。
VoIPゲートウェイ装置1の呼制御部14は、電話制御装置3からの要求に応じてVoIP通信を開始する際、その通話相手から送信する音声パケットを当該通話のものであることを識別するための識別情報としてRTPポート番号を生成して通話相手に通知する。
[Operation of VoIP gateway device]
Next, the operation of the VoIP gateway device according to this embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing a packet reception operation of the VoIP gateway device according to this embodiment.
When the call control unit 14 of the VoIP gateway device 1 starts VoIP communication in response to a request from the telephone control device 3, an identification for identifying that the voice packet transmitted from the other party is that of the call An RTP port number is generated as information and notified to the call partner.

その際、呼制御部14は、当該通話に用いる専用線20でのチャネル番号を用いて、次の式(1)に基づきRTPポート番号を算出する。式(1)において、間隔値は0以外の整数であり、オフセット値は整数である。
RTPポート番号=チャネル番号×間隔値+オフセット値 …(1)
RTPでは、RTPポート番号について、音声パケットを受信する受信側において、所定範囲内の値を任意に使用できると定められている。
At that time, the call control unit 14 calculates the RTP port number based on the following equation (1) using the channel number on the dedicated line 20 used for the call. In equation (1), the interval value is an integer other than 0, and the offset value is an integer.
RTP port number = channel number × interval value + offset value (1)
RTP stipulates that a value within a predetermined range can be arbitrarily used for the RTP port number on the receiving side that receives a voice packet.

このため、式(1)に基づきチャネル番号からRTPポート番号を算出しておくことにより、受信した音声バケットに含まれているRTPポート番号から、対応するチャネル番号を、次の式(2)により算出できる。
チャネル番号=(RTPポート番号−オフセット値)/間隔値 …(2)
For this reason, by calculating the RTP port number from the channel number based on the equation (1), the corresponding channel number is calculated from the RTP port number included in the received voice bucket by the following equation (2). Can be calculated.
Channel number = (RTP port number−offset value) / interval value (2)

したがって、VoIPゲートウェイ装置1は、アクセス回線10を介してIP網5からVoIP通信用の音声パケットを受信した際、図4に示すパケット受信動作を開始する。
まず、網I/F部11は、アクセス回線10から受信した音声パケットを転送処理部13内のバッファ(図示せず)に格納する(ステップ100)。転送処理部13は、これに応じてバッファに格納された音声パケットからRTPポート番号を取得する(ステップ101)。
Therefore, when receiving a voice packet for VoIP communication from the IP network 5 through the access line 10, the VoIP gateway device 1 starts a packet receiving operation shown in FIG.
First, the network I / F unit 11 stores a voice packet received from the access line 10 in a buffer (not shown) in the transfer processing unit 13 (step 100). In response to this, the transfer processing unit 13 acquires the RTP port number from the voice packet stored in the buffer (step 101).

続いて、転送処理部13は、そのRTPポート番号に対応する多重信号のチャネル番号を算出する(ステップ102)。この際、前述した式(2)に基づき、RTPポート番号からチャネル番号を算出する。また、チャネル番号の算出と前後して、バッファに格納された音声パケットから音声データを取得し、電話制御装置3で用いる符号化方式の音声データに変換する(ステップ103)。   Subsequently, the transfer processing unit 13 calculates the channel number of the multiplexed signal corresponding to the RTP port number (step 102). At this time, the channel number is calculated from the RTP port number based on the above-described equation (2). Also, before and after the calculation of the channel number, the voice data is acquired from the voice packet stored in the buffer, and converted into the voice data of the encoding method used in the telephone control device 3 (step 103).

次に、転送処理部13は、変換した音声データを、RTPポート番号から算出されたチャネル番号のチャネルデータとして多重信号に格納し、専用線I/F部12へ出力し(ステップ104)、一連のパケット受信動作を終了する。
これにより、アクセス回線10から受信した任意の通話の音声パケットに格納されていた音声データが、専用線I/F部12から当該通話に対応する多重信号上のチャネルに格納されて、専用線20を介して電話制御装置3へ送信される。
Next, the transfer processing unit 13 stores the converted voice data in the multiplexed signal as channel data of the channel number calculated from the RTP port number, and outputs it to the dedicated line I / F unit 12 (step 104). The packet receiving operation is terminated.
As a result, the voice data stored in the voice packet of an arbitrary call received from the access line 10 is stored in the channel on the multiplexed signal corresponding to the call from the dedicated line I / F unit 12, and the dedicated line 20 Is transmitted to the telephone control device 3 via.

図5は、RTPポート番号とチャネル番号との対応例である。この場合、RTPポート番号「4000」に対してチャネル番号「0」が対応しており、以後、RTPポート番号が2つ増加するごとにチャネル番号が1ずつ増加する関係にある。
このような場合、前述した式(1)および式(2)の間隔値として「2」を用い、オフセット値として「4000」を用いればよい。したがって、例えば受信した音声パケットのRTPポート番号が「4004」の場合、式(2)から、次のようにしてチャネル番号「2」が算出される。
チャネル番号=(RTPポート番号−オフセット値)/間隔値 …(2)
=(4004−4000)/2
=2
FIG. 5 is an example of correspondence between RTP port numbers and channel numbers. In this case, the channel number “0” corresponds to the RTP port number “4000”, and thereafter, the channel number increases by 1 each time the RTP port number increases by 2.
In such a case, “2” may be used as the interval value of the above-described formulas (1) and (2), and “4000” may be used as the offset value. Therefore, for example, when the RTP port number of the received voice packet is “4004”, the channel number “2” is calculated from Equation (2) as follows.
Channel number = (RTP port number−offset value) / interval value (2)
= (4004-4000) / 2
= 2

このように、本実施の形態では、VoIPゲートウェイ装置1により、アクセス回線10から受信した音声パケットに格納されている音声データを、専用線20の多重信号上のチャネルへ格納する際、音声パケットに含まれているRTPポート番号から演算により格納先のチャネル番号を算出するようにしたので、メモリを参照することなくRTPポート番号に対応するチャネル番号を極めて簡素な演算で導出することができる。   As described above, in the present embodiment, when the VoIP gateway device 1 stores the voice data stored in the voice packet received from the access line 10 in the channel on the multiplexed signal of the dedicated line 20, the voice packet is converted into the voice packet. Since the storage destination channel number is calculated by calculation from the included RTP port number, the channel number corresponding to the RTP port number can be derived by extremely simple calculation without referring to the memory.

したがって、受信した音声パケットの転送処理ごとにメモリを参照する必要がなくなるとともに、整数の四則計算という極めて簡素な演算処理に置き換えることができ、転送処理の高速化あるいはDSPやCPUの処理負担を軽減できる。また、転送処理の高速化のためアクセス速度の速い高価なメモリを使用する必要がなくなり、高性能で安価なVoIPゲートウェイ装置を実現できる。   Therefore, it is not necessary to refer to the memory for each transfer process of the received voice packet, and it can be replaced with an extremely simple arithmetic process such as four arithmetic operations for integers, which speeds up the transfer process or reduces the processing load on the DSP or CPU. it can. Moreover, it is not necessary to use an expensive memory with a high access speed for high-speed transfer processing, and a high-performance and inexpensive VoIP gateway device can be realized.

本発明の一実施の形態にかかるVoIPゲートウェイ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the VoIP gateway apparatus concerning one embodiment of this invention. VoIPゲートウェイ装置の網I/F部で送受信するパケットの構成例である。It is a structural example of the packet transmitted / received in the network I / F part of the VoIP gateway device. VoIPゲートウェイ装置の専用線I/F部で送受信する多重信号の構成例である。It is an example of a structure of the multiplexed signal transmitted / received by the dedicated line I / F part of a VoIP gateway apparatus. 本実施の形態にかかるVoIPゲートウェイ装置のパケット受信動作を示すフローチャートである。It is a flowchart which shows the packet reception operation | movement of the VoIP gateway apparatus concerning this Embodiment. RTPポート番号とチャネル番号との対応例である。It is a correspondence example of an RTP port number and a channel number.

符号の説明Explanation of symbols

1…VoIPゲートウェイ装置、10…アクセス回線、11…網I/F部、12…専用線I/F部、13…転送処理部、14…呼制御部、2…電話システム、3…電話制御装置、4…電話機、5…IP網。
DESCRIPTION OF SYMBOLS 1 ... VoIP gateway apparatus, 10 ... Access line, 11 ... Network I / F part, 12 ... Dedicated line I / F part, 13 ... Transfer processing part, 14 ... Call control part, 2 ... Telephone system, 3 ... Telephone control apparatus 4 ... telephone, 5 ... IP network.

Claims (4)

RTP(Realtime Transport Protocol)パケット通信プロトコルに基づくパケットをIP網を介して送受信することによりVoIP通信を行う網インターフェース部と、専用線を介して送受信される多重信号上に時分割で設けられたチャネルを用いて複数の通話回線を利用する電話システムとデータ通信を行う専用線インターフェース部と、前記網インターフェース部と前記専用線インターフェース部との間で音声信号を符号化した音声データを個々の通話ごとに相互に転送する転送処理部とを有するVoIPゲートウェイ装置であって、
前記転送処理部は、前記網インターフェース部で受信した任意の通話の音声パケットに含まれるRTPポート番号から所定の演算により当該通話で用いるチャネル番号を算出し、前記チャネル番号と対応する前記多重信号上のチャネル内に転送する音声データを格納して前記専用線インターフェース部へ出力する
ことを特徴とするVoIPゲートウェイ装置。
A network interface unit that performs VoIP communication by transmitting and receiving packets based on the RTP (Realtime Transport Protocol) packet communication protocol via an IP network, and a channel provided in a time division manner on multiplexed signals transmitted and received via a dedicated line A dedicated line interface unit that performs data communication with a telephone system that uses a plurality of communication lines using voice, and voice data that encodes an audio signal between the network interface unit and the dedicated line interface unit for each call A VoIP gateway device having a transfer processing unit for transferring data to each other,
The transfer processing unit calculates a channel number used in the call by a predetermined calculation from an RTP port number included in a voice packet of an arbitrary call received by the network interface unit, on the multiplexed signal corresponding to the channel number Voice data to be transferred is stored in the channel and output to the dedicated line interface unit.
請求項1に記載のVoIPゲートウェイ装置において、
前記転送処理部は、整数値からなるオフセット値と、0以外の整数値からなる間隔値とを用い、チャネル番号=(RTPポート番号−オフセット値)/間隔値の式に基づき前記RTPポート番号から前記チャネル番号を算出する
ことを特徴とするVoIPゲートウェイ装置。
The VoIP gateway device according to claim 1,
The transfer processing unit uses an offset value composed of an integer value and an interval value composed of an integer value other than 0, and based on the equation of channel number = (RTP port number−offset value) / interval value, from the RTP port number. The channel number is calculated. The VoIP gateway apparatus characterized by the above-mentioned.
RTP(Realtime Transport Protocol)パケット通信プロトコルに基づくパケットをIP網を介して送受信することによりVoIP通信を行う網インターフェース部と、専用線を介して送受信される多重信号上に時分割で設けられたチャネルを用いて複数の通話回線を利用する電話システムとデータ通信を行う専用線インターフェース部と、前記網インターフェース部と前記専用線インターフェース部との間で音声信号を符号化した音声データを個々の通話ごとに相互に転送する転送処理部とを有するVoIPゲートウェイ装置の転送処理方法であって、
前記転送処理部により、前記網インターフェース部で受信した任意の通話の音声パケットに含まれるRTPポート番号から所定の演算により当該通話で用いるチャネル番号を算出するステップと、前記チャネル番号と対応する前記多重信号上のチャネル内に転送する音声データを格納して前記専用線インターフェース部へ出力するステップと
を備えることを特徴とする転送処理方法。
A network interface unit for performing VoIP communication by transmitting and receiving packets based on the RTP (Realtime Transport Protocol) packet communication protocol via an IP network, and a channel provided in a time-sharing manner on multiplexed signals transmitted and received via a dedicated line A dedicated line interface unit that performs data communication with a telephone system that uses a plurality of communication lines using voice, and voice data that encodes an audio signal between the network interface unit and the dedicated line interface unit for each call A transfer processing method of a VoIP gateway device having a transfer processing unit for transferring data to each other,
Calculating a channel number used in the call by a predetermined calculation from an RTP port number included in a voice packet of an arbitrary call received by the network interface unit by the transfer processing unit; and the multiplexing corresponding to the channel number Storing the audio data to be transferred in a channel on the signal and outputting the audio data to the dedicated line interface unit.
請求項3に記載の転送処理方法において、
前記転送処理部により、整数値からなるオフセット値と、0以外の整数値からなる間隔値とを用い、チャネル番号=(RTPポート番号−オフセット値)/間隔値の式に基づき前記RTPポート番号から前記チャネル番号を算出するステップをさらに備えることを特徴とする転送処理方法。
The transfer processing method according to claim 3,
The transfer processing unit uses an offset value consisting of an integer value and an interval value consisting of an integer value other than 0, and from the RTP port number based on the equation of channel number = (RTP port number−offset value) / interval value. The transfer processing method further comprising the step of calculating the channel number.
JP2005103860A 2005-03-31 2005-03-31 VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD Pending JP2006287541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005103860A JP2006287541A (en) 2005-03-31 2005-03-31 VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005103860A JP2006287541A (en) 2005-03-31 2005-03-31 VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD

Publications (1)

Publication Number Publication Date
JP2006287541A true JP2006287541A (en) 2006-10-19

Family

ID=37408981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005103860A Pending JP2006287541A (en) 2005-03-31 2005-03-31 VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD

Country Status (1)

Country Link
JP (1) JP2006287541A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161249A (en) * 1994-12-06 1996-06-21 Nippon Telegr & Teleph Corp <Ntt> Virtual space data transfer method
JP2003198638A (en) * 2001-11-02 2003-07-11 Acme Packet Inc System and method for improving communication between switched network and packet network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161249A (en) * 1994-12-06 1996-06-21 Nippon Telegr & Teleph Corp <Ntt> Virtual space data transfer method
JP2003198638A (en) * 2001-11-02 2003-07-11 Acme Packet Inc System and method for improving communication between switched network and packet network

Similar Documents

Publication Publication Date Title
US6459708B1 (en) Apparatus and method for providing T1/E1 telecommunications trunks over IP networks
US5519640A (en) Multimedia frame relay codec
US6996059B1 (en) Increasing duration of information in a packet to reduce processing requirements
US6839341B1 (en) Device capable of accommodating existing voice terminals
KR100279622B1 (en) Method and apparatus for controlling voice packet transmission
US8873374B2 (en) Accelerated recovery during negotiation between a media gateway and a media gateway controller
KR20000065144A (en) Integrated telecommunications system architecture for wired and wireless access featuring PACS wireless technology
KR100369798B1 (en) METHOD FOR CONTROLLING BANDWIDTH IN VoIP SYSTEM
EP3573309B1 (en) Network telephone processing method and related network device
JP2011234162A (en) Transmission apparatus for transmitting tdm signal on packet network, and transmission control method of the same
JP2006287541A (en) VoIP GATEWAY DEVICE AND TRANSFER PROCESSING METHOD
KR100440063B1 (en) Apparatus And Method For VoIP Service In IPBX System
US20050169241A1 (en) Integrated voice and data switching system
JP2006287341A (en) VoIP GATEWAY APPARATUS AND TRANSFER PROCESSING METHOD
JP5196560B2 (en) Packet relay apparatus and packet relay control method
JPH07154428A (en) Inter-lan connection system by isdn
JPS5990486A (en) Private branch communication system
KR100367341B1 (en) Voice data transmission device between bts and bsc in mobile communication system
JPS5812458A (en) Packet exchange system
US7085265B2 (en) Mapping between TDM channels and packets
JPS63169850A (en) Integrated packet exchange system
US9231984B1 (en) Systems and methods for hair pinning time-division multiplexing calls across time domains
JP2001285358A (en) Transferring system of packet in ip network, voice relaying device and packet relaying device
JPS5853838B2 (en) Time division channel equipment
JP4421859B2 (en) DSP echo tail control method and DSP echo tail control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100409

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101005