JP2001230862A - Voice relay system - Google Patents

Voice relay system

Info

Publication number
JP2001230862A
JP2001230862A JP2000039749A JP2000039749A JP2001230862A JP 2001230862 A JP2001230862 A JP 2001230862A JP 2000039749 A JP2000039749 A JP 2000039749A JP 2000039749 A JP2000039749 A JP 2000039749A JP 2001230862 A JP2001230862 A JP 2001230862A
Authority
JP
Japan
Prior art keywords
voice
relay server
packet
call
network
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.)
Granted
Application number
JP2000039749A
Other languages
Japanese (ja)
Other versions
JP4449137B2 (en
Inventor
Keiko Tanigawa
桂子 谷川
Koji Tsukada
晃司 塚田
Toru Hoshi
徹 星
Kazumaro Yumoto
一麿 湯本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000039749A priority Critical patent/JP4449137B2/en
Publication of JP2001230862A publication Critical patent/JP2001230862A/en
Application granted granted Critical
Publication of JP4449137B2 publication Critical patent/JP4449137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a voice relay server able to house a large-scale of channels that reduces a delay time to the utmost and prevents deterioration in the quality of a reproduced voice in the case of relaying a speech of a telephone set connected to a public network or a speech between mobile phones connected to a mobile network. SOLUTION: The voice relay server relaying a speech of a telephone set is installed at a connecting point between an IP network and a public network or a mobile network. When caller and called communication terminals are telephone sets, the voice relay server selects a PCM with a small processing time and a low processing load for its voice coding system, and selects a coding system used for the mobile network in order to reduce the number of times of code conversion in order to relay a speech with the mobile phone.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マルチメディア通
信システムに関し、特に、リアルタイムの通話音声デー
タを中継することのできる音声データ中継システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multimedia communication system, and more particularly to a voice data relay system capable of relaying real-time call voice data.

【0002】[0002]

【従来の技術】インターネットの普及により、電話のパ
ケット交換ネットワークへの統合が注目されており、キ
ャリアによる一般の電話機間の通話をインターネットで
中継するVoIP(Voice over IP)サービスがアナウンスさ
れ、実験が開始されている。VoIPサービスを実現する場
合、ゲートウェイ装置において、呼制御の手順の変換と
音声データ形式の変換処理が行われる。標準化団体ITU
−Tでは、マルチメディア通信端末の構成として、各処
理モジュールをプロトコルとしてまとめたH.323勧告
を、インターネットの標準化策定団体であるIETFではMe
gaco(ITU−TのH.248と同じ)、sigtran等を議論中である
(megaco−BOFにおいて議論”draft−ietf−megaco−pr
otocol−03.txt(expire:2000/2))。
2. Description of the Related Art With the spread of the Internet, the integration of telephones into packet-switched networks has attracted attention. A VoIP (Voice over IP) service that relays calls between general telephones by carriers over the Internet has been announced, and experiments have been conducted. Has been started. When implementing a VoIP service, the gateway device performs a process of converting a call control procedure and a process of converting a voice data format. Standards organization ITU
−T, the H.323 recommendation, which summarizes each processing module as a protocol, as a configuration of multimedia communication terminals,
gaco (same as H.248 of ITU-T), sigtran, etc. are under discussion (discussed in megaco-BOF "draft-ietf-megaco-pr
otocol-03.txt (expire: 2000/2)).

【0003】また、インターネットの網側の機能とし
て、予め通信に必要な帯域を確保したり、優先制御を行
うQoS(Quality of Service)保証プロトコルの標準化作
業(例えば、RSVP(Resource reSerVation Protocol)やd
iffserv(differenciated services)等)が進められてお
り、これを利用することにより、リアルタイム系のメデ
ィア通信の品質保証が可能となってきている(IETFのRF
C2205 “Resource Reservation Protocol(RSVP)Version
1 Functional Specification”、diffserv−WGにおい
て議論”draft−ietf−diffserv−arch−02.txt(expir
e:99/4)”、rap−WGにて議論“draft−ietf−rap−co
ps−rsvp−02.txt(expire:99/6)。
Further, as a function of the Internet network side, standardization work of a QoS (Quality of Service) guarantee protocol for securing a band required for communication in advance and performing priority control (for example, RSVP (Resource reSerVation Protocol) and d)
iffserv (differenciated services), etc., and by using this, it has become possible to guarantee the quality of real-time media communications (IETF RF
C2205 “Resource Reservation Protocol (RSVP) Version
1 Functional Specification ", discussed in diffserv-WG" draft-ietf-diffserv-arch-02.txt (expir
e: 99/4) ”, discussion at rap-WG“ draft-ietf-rap-co
ps-rsvp-02.txt (expire: 99/6).

【0004】[0004]

【発明が解決しようとする課題】H.323では、G.71
1(PCM:64kbps)/G.723.1(5.3/6.3kbp
s)/G.726(32/16kbps)/G.729(8kbps)等、
複数の音声符号化方式を推奨している。ダイアルアップ
接続のPCや、現在のISP(Internet Service Provider)の
ようなQoS保証されていない、また、ピーク時のトラフ
ィックに対して比較的ネットワーク容量の厳しい状況で
VoIPサービスを利用する場合、高圧縮の符号化方式を用
いて、できるだけ使用帯域を減らしていることが多い。
しかし、高圧縮な符号化方式ほど符号化処理に要する時
間がかかり、結果的に遅延が大きくならざるを得ないと
いう課題がある(例えば、G.723.1では片道で約70ms前
後のアルゴりズム遅延がある)。キャリアが、現在の回
線交換機ベースの電話サービスをパケット交換型のVoIP
サービスへ移行した場合、一般の電話ユーザは当然今ま
でと同じ品質が保証されているものと考える。QoS保証
機能が前提かつ大容量のネットワーク上でVoIPサービス
が行われれば、網における遅延や揺らぎ、パケットロス
は現在よりも縮少されることが期待できる。しかし、高
圧縮符号化を用いることにより、あるいは大規模な電話
回線に対応する処理を行わなくてはならないため、ゲー
トウェイにおいて処理遅延が付加されるため、ユーザの
厳しい要求品質に十分に対応できない場合が考えられ
る。また、近年の携帯電話やPHSの加入者数は、公衆
網電話加入者数に近づいており、移動体網から直接IP
接続したいとのニーズもある。しかし、移動体網で使わ
れている符号化方式とH.323で推奨されている符号化方
式は異なるため、一旦G.711に戻してから双方の方
式に符号化し直すと、音質劣化が激しく、会話にはとて
も使えない、かつ遅延も増えるという課題がある。
In H.323, G.323 is used. 71
1 (PCM: 64 kbps) / G. 723.1 (5.3 / 6.3 kbp
s) / G. 726 (32/16 kbps) / G. 729 (8kbps) etc.
Multiple speech coding schemes are recommended. QoS is not guaranteed, such as dial-up PCs and current ISPs (Internet Service Providers), and network capacity is relatively severe for peak traffic.
When using a VoIP service, the band used is often reduced as much as possible by using a high-compression encoding method.
However, there is a problem that the higher the compression method, the longer the coding process takes, and the longer the delay must be. (For example, in G.723.1, there is an algorithm delay of about 70 ms in one way.) There is). Carriers are switching their current circuit-switched telephone services to packet-switched VoIP
When switching to the service, ordinary telephone users naturally assume that the same quality is guaranteed. If VoIP service is performed on a large-capacity network on the premise of the QoS guarantee function, it can be expected that delay, fluctuation, and packet loss in the network will be reduced more than at present. However, when high compression coding is used or processing corresponding to a large-scale telephone line must be performed, a processing delay is added at the gateway, so that it is not possible to sufficiently cope with the severe quality requirements of the user. Can be considered. In addition, the number of mobile phone and PHS subscribers in recent years is approaching the number of public network telephone subscribers,
There is also a need to connect. However, since the coding method used in the mobile network and the coding method recommended in H.323 are different, once the G. Re-encoding to both schemes after returning to 711 causes a problem that the sound quality is severely degraded, cannot be used for conversation, and the delay increases.

【0005】本発明の目的は、処理遅延をできるだけ短
くして会話の品質劣化を防ぐゲートウェイを提供するこ
とにある。
[0005] It is an object of the present invention to provide a gateway that minimizes the processing delay and prevents the quality of conversation from deteriorating.

【0006】また、本発明の別の目的は、異なる網に接
続する端末間の通話品質の劣化を防ぐゲートウェイを提
供することにある。
Another object of the present invention is to provide a gateway which prevents deterioration of call quality between terminals connected to different networks.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明の音声中継サーバは、公衆網に接続する電話
機間の通話には、音声符号化方式としてPCMを用い、
システム運用者が予め許容遅延時間を設定し、定期的に
遅延時間を測定し、新たな通話要求が発生した際に同じ
音声中継サーバとの間の通話の遅延時間が許容値を越え
ていないかどうかを監視し、許容値以上の通話が存在す
る場合には、通話要求を拒絶する手段を備えることを特
徴とする。
In order to solve the above-mentioned problems, a voice relay server of the present invention uses PCM as a voice encoding system for telephone calls between telephones connected to a public network.
The system operator sets the allowable delay time in advance, measures the delay time periodically, and checks whether the delay time of the call with the same voice relay server exceeds the allowable value when a new call request occurs It is characterized in that a means for monitoring whether or not there is a call exceeding the allowable value and rejecting the call request is provided.

【0008】[0008]

【発明の実施の形態】まず、本発明の実施形態につい
て、図1〜図19を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, an embodiment of the present invention will be described with reference to FIGS.

【0009】図1に、本発明の実施形態に関わる音声デ
ータ中継システムの構成例を示す。
FIG. 1 shows a configuration example of a voice data relay system according to an embodiment of the present invention.

【0010】図1において、パケット網1と、公衆電話
網2と、移動体網3と、パケット網1と公衆電話網2と
の接続点に音声中継サーバ(以下GW)4−1、4−2
が、パケット網1に複数のルータ5−1〜5−4とIP
電話クライアント端末7が、公衆網2に電話機6−1、
6−2とが、パケット網2と移動体網3との接続点に移
動体網音声中継サーバ8(以下、モバイルGW)が、移
動体網3に無線基地局9と移動体端末10とが接続され
ている。
In FIG. 1, voice relay servers (hereinafter referred to as GWs) 4-1 and 4- are connected to a connection point between the packet network 1, the public telephone network 2, the mobile network 3, and the connection point between the packet network 1 and the public telephone network 2. 2
Has a plurality of routers 5-1 to 5-4 and an IP
The telephone client terminal 7 transmits a telephone 6-1 to the public network 2,
6-2, a mobile network voice relay server 8 (hereinafter referred to as a mobile GW) at a connection point between the packet network 2 and the mobile network 3, and a wireless base station 9 and a mobile terminal 10 at the mobile network 3. It is connected.

【0011】図2に、GW4の内部構成を示す。FIG. 2 shows the internal configuration of the GW 4.

【0012】図2において、GW4は、通信プログラム
等が格納されているメモリ21と、メモリ21のプログ
ラムに基づく処理を行うCPU20と、蓄積装置22
と、マイク、キーボード、マウス、ペン等の入力装置2
3と、スピーカ、ディスプレイ等の出力装置24と、公
衆網2で通信を行うための公衆網インタフェース25
と、パケット網1で通信を行うためのパケット網インタ
フェース26と、音声データの変換処理を行うハードウ
ェアと、メモリ21に展開される通信プログラムにより
構成され、各モジュールは内部バスにより接続する。音
声データ変換処理を行うハードウェアは、送信処理とし
て、アナログ音声データをディジタルデータへ変換する
A/D変換30と、ディジタル化されたデータを符号化
するCoder31と、Coder31により符号化された音声デ
ータをパケット網へ送出するためのデータパケット化処
理部32と、パケットにされた音声データに通信相手の
アドレス情報や音声符号化方式等を示すヘッダ情報、例
えばIP網の場合は、IPヘッダ、TCP/UDPヘッ
ダを付与するネットワークパケット化処理部33と、受
信処理として、前記通信網インタフェース26により受
けた音声パケットからヘッダ情報を取るネットワークパ
ケット分解部34と、ネットワークヘッダ情報を除いた
データをコマンドと音声データとに振り分けるデータ/
コマンド振分け処理35と、音声データの場合は音声デ
ータ変換処理のハードウェア内の出力データキュー39
でバッファリングする。出力データキュー39から1デ
ータずつ取得し、データに付加されている情報と音声デ
ータとを分解するデータヘッダ除去処理40と、音声デ
ータが符号化されている場合は復号化処理を行うDecode
r41と、復号化されたディジタルデータ(PCM)を
アナログ音声データへ変換するD/A変換部42とから
構成する。但し、データパケット化処理32、ネットワ
ークパケット化33、ネットワークパケット分解34、
データ/コマンド振り分け処理35、出力データキュー
39、データヘッダ除去処理40はソフトウェアで実現
しても構わない。通信プログラムには、送信処理とし
て、公衆網2から受信したダイアルトーン等のイベント
を解析するイベント解析処理27と、該イベントが通話
設定に関するイベントだった場合、対応するコマンドを
作成するコマンドパケット化処理28と、該コマンドパ
ケットの作成に必要な情報や通信状況を管理する発信呼
制御処理部29とを、受信処理として、データ/コマン
ド振り分け処理35により振り分けられたコマンド情報
を受け取り、コマンド種別を解析するコマンド解析処理
37と、電話機ユーザへ通知する必要のあるコマンドに
ついて、前記公衆網2へ出力するためのデータを作成す
る出力データ生成処理部38と、呼制御処理のステータ
スを管理する受信呼制御処理部36とから構成する。
In FIG. 2, a GW 4 includes a memory 21 in which a communication program and the like are stored, a CPU 20 that performs processing based on the program in the memory 21, and a storage device 22.
And input devices 2 such as a microphone, a keyboard, a mouse, and a pen
3, an output device 24 such as a speaker and a display, and a public network interface 25 for performing communication on the public network 2.
, A packet network interface 26 for performing communication on the packet network 1, hardware for converting voice data, and a communication program developed in the memory 21. Each module is connected by an internal bus. The hardware that performs the audio data conversion processing includes, as transmission processing, an A / D converter 30 that converts analog audio data into digital data, a Coder 31 that encodes digitized data, and audio data that is encoded by the Coder 31. Packetizing processing unit 32 for transmitting the packet data to the packet network, and header information indicating the address information of the communication partner, the voice coding method, and the like in the packetized voice data. For example, in the case of the IP network, an IP header, TCP A network packetizing processing unit 33 for giving a / UDP header, a network packet decomposing unit 34 for taking header information from the voice packet received by the communication network interface 26 as a receiving process, and a data excluding the network header information as a command. Data to be distributed to audio data /
Output data queue 39 in hardware for command distribution processing 35 and, in the case of voice data, voice data conversion processing
To buffer. A data header removal process 40 that obtains one data at a time from the output data queue 39 and decomposes information added to the data and audio data, and a decoding process that performs a decoding process when the audio data is encoded.
r41 and a D / A converter 42 for converting the decoded digital data (PCM) into analog audio data. However, data packetization processing 32, network packetization 33, network packet decomposition 34,
The data / command distribution processing 35, the output data queue 39, and the data header removal processing 40 may be realized by software. The communication program includes, as transmission processing, an event analysis processing 27 for analyzing an event such as a dial tone received from the public network 2, and a command packetization processing for creating a corresponding command when the event is an event related to a call setting. 28, and an outgoing call control processing unit 29 that manages information necessary for creating the command packet and communication status, receives the command information distributed by the data / command distribution processing 35 as reception processing, and analyzes the command type. Command analysis processing 37, an output data generation processing section 38 for creating data for outputting to the public network 2 a command that needs to be notified to the telephone user, and a received call control for managing the status of the call control processing. And a processing unit 36.

【0013】前記蓄積装置22には、GW4について
は、少なくとも各GW4のアドレスと、各GW4が管轄
する電話機6や携帯電話10を識別するエリアの番号
と、各GWとの間の通話中継における許容遅延時間の組
が登録されている。さらに、中継中のコネクションに関
する情報、少なくとも、発信電話機や着信電話機の番
号、着信側GW4のアドレス、符号化方式、遅延時間概
算値とが組で登録されている。
The storage device 22 stores at least the address of each GW 4, the number of an area for identifying the telephone 6 or the mobile phone 10 under the control of each GW 4, and the allowable number in the call relay between the GWs. A set of delay times is registered. Further, information on the connection being relayed, at least, the numbers of the calling and called telephones, the address of the receiving GW 4, the coding method, and the estimated delay time are registered in pairs.

【0014】図3に、GW4が管理するロケーション管
理テーブルの一例を示す。
FIG. 3 shows an example of a location management table managed by the GW 4.

【0015】図3において、50は中継先のGWのアド
レスを、51は該GWに管轄される電話機のエリアを示
す情報、例えば市外局番などを、52は該GWが有する
符号化方式を、53は該GWとの中継における許容遅延
時間を示す。
In FIG. 3, reference numeral 50 denotes an address of a relay GW, 51 denotes information indicating an area of a telephone set under the control of the GW, for example, an area code, 52 denotes an encoding system of the GW, 53 indicates an allowable delay time in relaying with the GW.

【0016】図4に、GW4が管理するコネクション管
理テーブルの一例を示す。
FIG. 4 shows an example of a connection management table managed by the GW 4.

【0017】図4において、60は現在通話中の呼の論
理回線番号、61は通話要求送信側の通信端末のアドレ
ス、63は着側の通信端末のアドレス、62は63で示
す通信端末の通話相手となる通信端末を管轄するGW4
のアドレス、64は通話中継に使用する符号化方式(帯
域幅でもよい)、65は通話中継における許容遅延時間
を示す。
In FIG. 4, reference numeral 60 denotes the logical line number of the call currently in communication, 61 denotes the address of the communication terminal on the call request transmitting side, 63 denotes the address of the communication terminal on the receiving side, and 62 denotes the call of the communication terminal indicated by 63. GW4 that controls the communication terminal that is the partner
, 64 indicates an encoding system (may be a bandwidth) used for call relay, and 65 indicates an allowable delay time in call relay.

【0018】図5に、本音声データ中継システムの処理
の全体の流れの一例を示す。ここでは、発側、着側の通
信端末を電話機とした場合についての処理について示
す。
FIG. 5 shows an example of the overall flow of the processing of the voice data relay system. Here, the processing in the case where the calling and called communication terminals are telephones will be described.

【0019】図5において、前記通信端末である電話機
6−1を使用しているユーザが着側電話機6−2へ通話
する場合、発側電話機6−1は受話器を取って(オフフ
ック)着側電話機6−2の電話番号を入力する処理70
を行い、発側電話機6−1を管轄するGW4−1へ接続
する。発側電話機6−1のオフフックを検出したGW4
−1は、発側電話機6−1の電話番号とダイアリングト
ーンに含まれる着側の電話機6−2の電話番号とを取得
する処理71を行い、前記ロケーション管理テーブルか
ら着側の電話機6−2の電話番号をキーに該着側電話機
6−2を管轄する着側のGW4−2のアドレスと該着側
GW4−2との間の中継における遅延時間の許容値を取
得する処理72を行う。前記コネクション管理テーブル
から、前記着側GW4−2と中継中の通話があるかどう
かを検出して、当該通話がないかあるいは中継中の通話
の遅延時間が許容値以下であるかどうかを判定する処理
73を行う。前記通話要求が受諾された場合は、着側の
通信端末は電話機であることから符号化方式をPCMと
決定して前記CODER31、DECODER41をP
CM処理を行うように設定する処理74を行う。該コネ
クションに関する発側・着側電話機6の番号と着側GW
4−2のアドレスと符号化方式とを前記コネクション管
理テーブルに記憶し、前記着側GW4−2へ通話要求コ
マンドを送信する処理75を行うと共に発側電話機6−
2へ呼び出し音を出力する処理76を行う。
Referring to FIG. 5, when a user using the telephone 6-1 as the communication terminal talks to the called telephone 6-2, the calling telephone 6-1 picks up the receiver (off-hook). Processing 70 for inputting telephone number of telephone 6-2
To connect to the GW 4-1 that controls the calling telephone 6-1. GW4 detecting off-hook of calling telephone 6-1
-1 performs a process 71 for acquiring the telephone number of the calling telephone 6-1 and the telephone number of the receiving telephone 6-2 included in the dialing tone, and performs processing 71 for acquiring the telephone number of the receiving telephone 6-2 from the location management table. Using the telephone number of No. 2 as a key, a process 72 is performed to obtain an allowable value of delay time in relaying between the address of the GW 4-2 of the receiving side that controls the receiving side telephone 6-2 and the GW 4-2 of the receiving side. . From the connection management table, it is detected whether there is a call being relayed to the destination GW4-2, and it is determined whether there is no call or the delay time of the call being relayed is equal to or less than an allowable value. Processing 73 is performed. If the call request is accepted, since the communication terminal on the receiving side is a telephone, the encoding method is determined to be PCM, and the CODER 31 and DECODER 41 are set to P.
A process 74 for setting to perform the CM process is performed. The numbers of the calling and called telephones 6 and the called GW for the connection
4-2 is stored in the connection management table, and a process 75 for transmitting a call request command to the destination GW 4-2 is performed.
A process 76 for outputting a ringing tone to the terminal 2 is performed.

【0020】前記通話要求コマンドを受信した着側GW
4−2は、発側GW4−1のアドレスと、該コマンドに
含まれる発側電話機6−1及び着側電話機6−2の電話
番号と、音声符号化方式等を取得して前記コネクション
管理テーブルに記憶する処理77を行う。更に、着側電
話機6−2に対して電話をかける処理78を行い、該着
側電話機6−2が受話器を取ったどうかを検出する処理
79をし、発側GW4−1へ着側電話機6−2との間の
接続が完了したことを通知するACKコマンドを返信す
る処理80を行う。発側GW4−1は前記ACKコマン
ドを受信したところで、音声データの中継処理81を行
う。該中継処理81では、定期的に遅延時間測定用のパ
ケットであることを兼ねた音声パケットを送信しあい、
遅延時間測定用の音声パケットを受信した場合はヘッダ
情報や音声データを取得した後に返信する。返信された
音声パケットを受信したGW4は受信した時刻情報と該
パケットに含まれる時刻情報とから遅延時間の概算値を
求めて、前記コネクション管理テーブルの該当エントリ
の遅延時間を更新する。発側電話機6−1が受話器を置
いて(オンフック)通話を終了したことを検出する処理
82を行い、前記コネクション管理テーブルより着側G
W4−2のアドレスを取得、切断要求コマンドを送信し
て、前記コネクション管理テーブルの該当エントリを削
除する処理83を行う。該切断要求コマンドを受信した
着側GW4−2は着側電話機6−2に対して電話を切る
処理を行い、前記コネクション管理テーブルの該当エン
トリを削除する処理84を行う。
The receiving GW receiving the call request command
4-2 obtains the address of the calling side GW4-1, the telephone numbers of the calling side telephone 6-1 and the called side telephone 6-2 included in the command, the voice coding method, and the like, and obtains the connection management table. The processing 77 for storing the information is performed. Further, a process 78 for making a call to the called telephone 6-2 is performed, and a process 79 for detecting whether or not the called telephone 6-2 picks up the handset is performed. -2, a process 80 for returning an ACK command for notifying that the connection with -2 has been completed. Upon receiving the ACK command, the calling-side GW 4-1 performs a voice data relay process 81. In the relay processing 81, voice packets that also serve as delay time measurement packets are periodically transmitted and received.
When an audio packet for delay time measurement is received, it returns after acquiring header information and audio data. The GW 4 receiving the returned voice packet obtains an approximate value of the delay time from the received time information and the time information included in the packet, and updates the delay time of the corresponding entry in the connection management table. A process 82 is performed to detect that the calling telephone 6-1 puts down the receiver and ends the call (on-hook).
A process 83 for acquiring the address of W4-2, transmitting a disconnection request command, and deleting the corresponding entry in the connection management table is performed. The receiving GW 4-2 that has received the disconnection request command performs a process of disconnecting the receiving telephone 6-2, and performs a process 84 of deleting the corresponding entry in the connection management table.

【0021】図6〜図12に、前記GW4の処理の流れ
の一例を示す。図6は全体の処理の流れを、図7は本シ
ステム管理者による設定処理の流れを、図8は公衆網2
からのデータ受信時の処理の流れを、図9はパケット網
1からのデータ受信時の処理の流れを、図10は電話機
間の中継処理の流れを、図11は発側・着側どちらかの
通信端末がIP電話機である場合の中継処理の流れを、
図12は音声中継処理の流れを示す。
FIGS. 6 to 12 show an example of the processing flow of the GW4. 6 shows the flow of the entire process, FIG. 7 shows the flow of the setting process by the system administrator, and FIG. 8 shows the public network 2
9 shows the flow of processing when receiving data from the network, FIG. 9 shows the flow of processing when receiving data from the packet network 1, FIG. 10 shows the flow of relay processing between telephones, and FIG. The flow of the relay process when the communication terminal is an IP phone,
FIG. 12 shows the flow of the voice relay processing.

【0022】図6において、前記GW4は、前記蓄積装
置22に格納されている通信プログラムを起動すると、
ステップ90で管理者からキーボードやマウス等の前記
入力装置23から前記ロケーション管理テーブルに関す
るイベント入力があるかどうかを検知し、イベントが入
力された場合(ステップ90、yes)、ステップ91で
該イベントについての設定処理を行う。管理者からのイ
ベント入力がない場合(ステップ90、no)、ステップ
92において公衆網2からのデータ着信がないかどうか
を検出する。公衆網2からのデータ着信があった場合
(ステップ92、yes)、ステップ93で該データにつ
いてのPSTN処理を行う。公衆網2からのデータ着信
もない場合は(ステップ92、no)、ステップ94でパ
ケット網1からのデータ着信がないかどうかを検出す
る。パケット網1からのデータ着信があった場合(ステ
ップ94、yes)、ステップ95で該データについての
パケット網処理を行う。管理者が通信プログラムを終了
する等GW4の運転停止処理を行った場合(ステップ9
6、yes)、全処理を終了する。
In FIG. 6, when the GW 4 starts a communication program stored in the storage device 22,
In step 90, it is detected whether or not an event has been input from the input device 23 such as a keyboard or a mouse from the input device 23, and if an event has been input (yes in step 90), the event is detected in step 91. Is set. If there is no event input from the administrator (step 90, no), it is detected in step 92 whether or not data has arrived from the public network 2. When data is received from the public network 2 (step 92, yes), PSTN processing for the data is performed in step 93. If there is no incoming data from the public network 2 (step 92, no), it is detected in step 94 whether there is no incoming data from the packet network 1. When data is received from the packet network 1 (step 94, yes), a packet network process for the data is performed in step 95. When the administrator has performed the GW4 operation stop processing such as terminating the communication program (step 9).
6, yes), end all processing.

【0023】図7に、前記ステップ91で行う設定処理
の流れの一例を示す。
FIG. 7 shows an example of the flow of the setting process performed in step 91.

【0024】図7において、ステップ100で前記ステ
ップ90で入力されたイベントの内容を解析し、該イベ
ントが新たなGW4の設置等新規エントリに関する場合
(ステップ101、yes)、ステップ102で前記ロケ
ーション管理テーブルに該新規エントリを追加する。新
規エントリの追加ではなく、登録エントリの修正イベン
トであった場合(ステップ103、yes)、ステップ1
04で前記ロケーション管理テーブルの該当エントリの
内容を修正する。登録エントリの削除イベントであった
場合(ステップ105、yes)、ステップ106で前記
ロケーション管理テーブルの該当エントリの内容を削除
する。入力されたイベントが、新規エントリの追加(ス
テップ101)、登録エントリの修正(ステップ10
3)、登録エントリの削除(ステップ105)のいずれ
でもなかった場合は、ステップ107で管理者に対して
イベントの再入力処理を通知する。入力されたイベント
の処理が終了した場合は、処理結果を画面等の出力装置
24に出力して本処理を終了する。
In FIG. 7, in step 100, the contents of the event input in step 90 are analyzed. If the event relates to a new entry such as installation of a new GW 4 (yes in step 101), the location management is performed in step 102. Add the new entry to the table. If it is not a new entry addition but a registration entry modification event (step 103, yes), step 1
At 04, the contents of the corresponding entry in the location management table are corrected. If the event is a registration entry deletion event (step 105, yes), the content of the corresponding entry in the location management table is deleted in step 106. The input event is the addition of a new entry (step 101) and the modification of a registered entry (step 10).
3) If neither of the registration entries is deleted (step 105), the process notifies the administrator of the event re-input processing in step 107. When the processing of the input event ends, the processing result is output to the output device 24 such as a screen, and the processing ends.

【0025】図8に、前記ステップ93で行うPSTN
処理の流れの一例を示す。
FIG. 8 shows the PSTN performed in step 93.
An example of the processing flow will be described.

【0026】図8において、ステップ110で前記ステ
ップ93で着信したデータがオフフックやオンフック、
ダイアルトーンのようなシグナリングであった場合(ス
テップ110、yes)、ステップ111で該シグナリン
グがオフフックであるかどうかを判定し、オフフックで
ある場合(ステップ111、yes)、ステップ112で
続けてダイアルトーンを収拾・解析し、ステップ113
で着側の通信端末のアドレス情報を取得する。ステップ
114で前記ステップ113で取得したアドレス情報が
電話番号であるかどうかを判定し、電話番号であった場
合(ステップ114、yes)、ステップ115で前記ロ
ケーション管理テーブルから該電話番号を管轄する着側
GW4−2のアドレス情報を取得する。ステップ116
で前記コネクション管理テーブルから、前記ステップで
取得した着側GW4−2との間で中継している通話があ
るかどうか、ある場合は該通話の遅延時間のうち最大の
値と前記ロケーション管理テーブルに設定されている遅
延許容値とを取得する。ステップ117で前記ステップ
116で取得した遅延時間と遅延許容値とを比較して、
該GW4−2との中継中の通話がないかあるいは現在の
遅延時間が許容値以下である場合は(ステップ117、
yes)、ステップ118で着側の電話機6−2の電話番
号から公衆網2に接続する既存電話なのか移動体網3に
接続する移動体網なのかどうかを判定し、既存電話であ
る場合は(ステップ118、yes)、ステップ121で
符号化方式をPCM(G.711)に設定する。既存電
話ではなく移動体電話であった場合は(ステップ11
8、no)、ステップ120で前記ロケーション管理テー
ブルから該移動体網3で使用されている符号化方式を取
得して設定する。ステップ122で着側GW4−2に対
する通話要求コマンドを発行する。ステップ123で前
記コネクション管理テーブルに該コネクションの情報を
登録する。ステップ116で取得した遅延時間が許容値
以上である場合は(ステップ117、no)、ステップ1
24で発側電話機6−1へビジートーンを返し、該通話
要求は受けつけられなかったことを通知する。ステップ
113で取得した着側通信端末6−2のアドレスが電話
番号ではなく、IPアドレスであった場合は(ステップ
125、yes)、ステップ126で自GW4が有する符
号化方式が複数ある場合はそのリストを含む通話要求コ
マンドを着側通信端末6−2へ発行し、該着側通信端末
6−2から返信されるACKコマンドに含まれる符号化
方式に設定する。IPアドレスでもなかった場合は(ス
テップ125、no)、ステップ127でエラー通知のよ
うな例外処理を行う。受信したシグナリングがオンフッ
クであった場合(ステップ128、yes)、ステップ1
29で該コネクションに関する情報を前記コネクション
管理テーブルより検索、取得して、着側GW4−2へ切
断要求コマンドを発行する。ステップ130で前記コネ
クション管理テーブルから該当コネクションの情報を削
除する。受信したデータがシグナリングではない場合は
(ステップ110、no)、ステップ131で音声中継処
理を行う。
In FIG. 8, at step 110, the data received at step 93 is off-hook or on-hook,
If the signaling is a dial tone-like signaling (step 110, yes), it is determined in step 111 whether the signaling is off-hook. If the signaling is off-hook (step 111, yes), the dial tone is continued in step 112. Collect and analyze, and step 113
To obtain the address information of the communication terminal on the receiving side. At step 114, it is determined whether or not the address information obtained at step 113 is a telephone number. If the address information is a telephone number (yes at step 114), at step 115, the destination management table for the telephone number is obtained from the location management table. The address information of the side GW4-2 is obtained. Step 116
Then, from the connection management table, whether there is a call relayed to the destination GW4-2 obtained in the step, and if so, the maximum value of the delay time of the call and the location management table Acquires the set delay tolerance value. In step 117, the delay time acquired in step 116 is compared with the allowable delay value,
If there is no call being relayed to the GW4-2 or if the current delay time is less than the allowable value (step 117,
yes), in step 118, it is determined from the telephone number of the called telephone 6-2 whether the telephone is an existing telephone connected to the public network 2 or a mobile network connected to the mobile network 3, and if it is an existing telephone, (Step 118, yes), and in step 121, the encoding method is set to PCM (G.711). If it is a mobile phone instead of an existing phone (step 11
8, no), In step 120, the encoding system used in the mobile network 3 is acquired from the location management table and set. In step 122, a call request command to the destination GW4-2 is issued. In step 123, the information of the connection is registered in the connection management table. If the delay time acquired in step 116 is equal to or greater than the allowable value (step 117, no), step 1
At 24, a busy tone is returned to the calling telephone 6-1 to notify that the call request has not been accepted. If the address of the destination communication terminal 6-2 acquired in step 113 is not a telephone number but an IP address (step 125, yes), if there is a plurality of encoding methods of the own GW 4 in step 126, A call request command including the list is issued to the destination communication terminal 6-2, and the coding method included in the ACK command returned from the destination communication terminal 6-2 is set. If it is not an IP address (step 125, no), exception processing such as error notification is performed in step 127. If the received signaling is on hook (step 128, yes), step 1
In step 29, the information regarding the connection is retrieved and acquired from the connection management table, and a disconnection request command is issued to the destination GW4-2. In step 130, the information of the connection concerned is deleted from the connection management table. If the received data is not signaling (step 110, no), voice relay processing is performed in step 131.

【0027】尚、既存電話と移動体電話との中継におい
て、本図ではパケット網1に接続するGW4において移
動体網3で用いられている符号化方式に設定する処理に
ついて示したが、既存電話との通話中継時には移動体網
3に接続するモバイルGW8においてパケット網へデー
タを送信する際にPCMへ変換する処理でも構わない
(したがって、この場合はパケット網上を流れる音声デ
ータはPCM、モバイルGW8で移動体網で用いられて
いる符号化方式に変換する)。
In this connection, in the relay between the existing telephone and the mobile telephone, the processing for setting the coding method used in the mobile network 3 in the GW 4 connected to the packet network 1 is shown in FIG. When a call is relayed to the mobile network 3, the mobile GW 8 connected to the mobile network 3 may convert the data to PCM when transmitting data to the packet network (in this case, the voice data flowing on the packet network is PCM, mobile GW 8 Is converted to the encoding method used in the mobile network).

【0028】図9に、前記ステップ95で行うパケット
網処理の流れの一例を示す。
FIG. 9 shows an example of the flow of the packet network processing performed in step 95.

【0029】図9において、ステップ140で前記ステ
ップ95で着信したデータから該データを発行した端末
のアドレス情報を取得する。ステップ141で該データ
がコネクションの確立・切断等に関するコマンドである
かどうかを判定し、コマンドである場合は(ステップ1
41、yes)、ステップ142で該コマンドが通話要求
であるかどうかを判定する。通話要求であった場合は
(ステップ142、yes)、ステップ143で該コマン
ドの発行端末がGW4であるかどうかを前記ロケーショ
ン管理テーブルより判定する。登録済みのGW4−1で
あった場合は(ステップ143、yes)、ステップ14
4で前記ロケーション管理テーブルから前記発側GW4
−1間の中継の許容遅延値を、前記コネクション管理テ
ーブルから前記発側GW4−1間の中継があるかどう
か、ある場合はそのコネクションの中で現在の遅延時間
の最大値を取得する。ステップ145で前記ステップ1
44で取得した遅延許容値と現在遅延時間とを比較し、
遅延時間が許容値以下である場合は(ステップ145、
yes)、ステップ146で該通話要求コマンドに含まれ
る着側通信端末6−2のアドレスを取得する。ステップ
147で前記ステップ146で取得した着側通信端末6
−2のアドレスから該着側通信端末6−2が既存電話あ
るいは移動体電話であるか通信端末であるかどうかを判
定し、既存電話あるいは移動体電話であった場合は(ス
テップ147、yes)、ステップ148で電話中継処理
を行う。前記ステップ144で取得した遅延時間が許容
値以上である場合は(ステップ145、no)、ステップ
149で該コネクションを拒絶する切断要求コマンドを
生成し、前記ステップ140で取得した発側GW4−1
へ発行する。着信した通話要求コマンドを発行した通信
端末が登録されていない端末であった場合(ステップ1
43、no)、ステップ150でIP電話中継処理を行
う。着信したコマンドが通話要求ではなくACKコマン
ドであった場合は(ステップ151、yes)、ステップ
131の音声中継処理を行う。ACKコマンドではなく
切断要求コマンドであった場合は(ステップ152、ye
s)、ステップ153で着側電話機6−2との電話を切
って該通話中継の終了処理を行い、ステップ154で前
記コネクション管理テーブルから該当コネクションの情
報を削除する。
In FIG. 9, in step 140, the address information of the terminal which issued the data is obtained from the data received in step 95. In step 141, it is determined whether or not the data is a command relating to connection establishment / disconnection, and if it is a command (step 1
41, yes), and in a step 142, it is determined whether or not the command is a call request. If it is a call request (yes in step 142), it is determined in step 143 from the location management table whether the issuing terminal of the command is GW4. If it is a registered GW4-1 (yes in step 143), step 14
4, the originating GW 4 from the location management table.
From the connection management table, whether or not there is a relay between the originating GWs 4-1 and, if so, the maximum value of the current delay time in the connection is acquired from the connection management table. In step 145, step 1
Compare the delay allowable value obtained in step 44 with the current delay time,
If the delay time is equal to or less than the allowable value (step 145,
yes), in step 146, the address of the destination communication terminal 6-2 included in the call request command is obtained. In step 147, the destination communication terminal 6 acquired in step 146
It is determined whether the destination communication terminal 6-2 is an existing telephone or a mobile telephone or a communication terminal from the address of "-2". If it is an existing telephone or a mobile telephone (step 147, yes). In step 148, a telephone relay process is performed. If the delay time obtained in step 144 is equal to or greater than the allowable value (step 145, no), a disconnection request command for rejecting the connection is generated in step 149, and the originating GW4-1 obtained in step 140 is generated.
Issue to When the communication terminal that has issued the incoming call request command is a terminal that has not been registered (step 1)
43, no), at step 150, an IP telephone relay process is performed. When the received command is not a call request but an ACK command (step 151, yes), the voice relay processing of step 131 is performed. If it is a disconnection request command instead of an ACK command (step 152, ye
s) In step 153, the call to the destination telephone 6-2 is cut off and the call relay processing is terminated. In step 154, the information of the connection concerned is deleted from the connection management table.

【0030】図10に、前記ステップ148で行う電話
中継処理の流れの一例を示す。
FIG. 10 shows an example of the flow of the telephone relay processing performed in step 148.

【0031】図10において、ステップ160で該通話
要求コマンドに含まれる符号化方式を取得し、ステップ
161で前記ステップ146で取得した着側電話機6−
2の電話番号へ電話をかける。ステップ162で該着側
電話機6−2のユーザが電話を取ったことを示すオフフ
ックシグナリングを検出し、ステップ163で前記ステ
ップ140で取得した該通話要求コマンド発側のGW4
−1へACKコマンドを発行する。ステップ164で前
記コネクション管理テーブルへ該当コネクションの情報
を登録し、ステップ131の音声中継処理を行う。
In FIG. 10, at step 160, the encoding method included in the call request command is obtained, and at step 161 the receiving telephone 6- at step 146 is obtained.
Make a call to phone number 2. In step 162, off-hook signaling indicating that the user of the called telephone 6-2 has picked up the telephone is detected, and in step 163, the GW 4 of the call request command issuing side acquired in step 140 is acquired.
Issue an ACK command to -1. In step 164, the information of the connection concerned is registered in the connection management table, and the voice relay processing in step 131 is performed.

【0032】図11に、前記ステップ150で行うIP
電話中継処理の流れの一例を示す。
FIG. 11 shows the IP address used in step 150.
5 shows an example of the flow of a telephone relay process.

【0033】図11において、ステップ170で該通話
要求コマンドに含まれる符号化方式を取得する。複数あ
る場合もすべて取得する。ステップ171で前記ステッ
プ170で取得した少なくとも1つ以上の符号化方式の
うち、自GWが有する符号化方式と一致する方式を符号
化方式として前記CODER31、DECODER41
に設定する。一致する方式が複数ある場合は、リストの
より前の方に格納されている方式を設定する。ステップ
172で該通話要求コマンドに含まれる着側の電話機6
−2の電話番号を取得して、電話をかける。ステップ1
73で該着側電話機6−2のユーザが電話を取ったこと
を示すオフフックシグナリングを検出し、ステップ17
4で前記ステップ140で取得した該通話要求コマンド
発側のGW4−1へACKコマンドを発行する。ステッ
プ175で前記コネクション管理テーブルへ該当コネク
ションの情報を登録し、ステップ131の音声中継処理
を行う。
Referring to FIG. 11, in step 170, the encoding system included in the call request command is obtained. Get all if there are multiple. In step 171, among the at least one or more encoding schemes obtained in step 170, a scheme that matches the encoding scheme of the own GW is set as the encoding scheme, and the CODER 31 and DECODER 41 are used.
Set to. If there is more than one matching method, set the method stored earlier in the list. In step 172, the destination telephone 6 included in the call request command
-Obtain a phone number and make a call. Step 1
Step 73 detects off-hook signaling indicating that the user of the called telephone 6-2 has picked up the telephone, and
In step 4, an ACK command is issued to the GW 4-1 on the call request command issuing side acquired in step 140. In step 175, the information of the connection concerned is registered in the connection management table, and the voice relay processing in step 131 is performed.

【0034】図12に、前記ステップ131で行う音声
中継処理の流れの一例を示す。ここでは、電話機6間の
中継を行っている発側GW4−1における音声中継処理
の流れについて示す。
FIG. 12 shows an example of the flow of the voice relay processing performed in step 131. Here, a flow of a voice relay process in the calling side GW 4-1 performing the relay between the telephones 6 will be described.

【0035】図12において、ステップ180で前記C
ODER31からデータ入力があったことを示す割り込
みが入ったかどうかを判定し、割り込みがあった場合は
(ステップ180、yes)、ステップ181で前記CO
DER31から符号化データを取得する。ステップ18
2で前記コネクション管理テーブルから該当コネクショ
ンに関する情報、少なくとも着側GW4−2のアドレ
ス、発側・着側電話機6のアドレスを取得する。ステッ
プ183で前記ステップ182で取得した情報と、現在
時刻情報、該データのシーケンス番号とをヘッダ情報と
した音声パケットを生成する。ステップ184で前記ス
テップ183で生成した音声パケットを、前記ステップ
182で取得した着側GW4−2へ送信する。パケット
網1から音声パケットを受信した場合は(ステップ18
5、yes)、ステップ186で該音声パケットを取得
し、ステップ187で該音声パケットから着側GW4−
2のアドレスと発側電話機6−1の電話番号を取得す
る。ステップ188で、前記コネクション管理テーブル
より、前記ステップ187で取得した着側GW4−2及
び発側電話機6−1の電話番号から発側電話機6−1と
の接続回線を検索する。ステップ189で該音声パケッ
トから符号化音声データを取り出し、ステップ190で
前記ステップ188で検索した発側電話機6−1への接
続回線に対応する前記DECODER41へ出力する。
In FIG. 12, at step 180, the C
It is determined whether or not an interrupt indicating that data has been input from the ODER 31 has been entered. If there has been an interrupt (yes at step 180), at step 181 the CO
The encoded data is obtained from the DER 31. Step 18
In step 2, information on the connection concerned, at least the address of the destination GW4-2 and the address of the calling / destination telephone 6, are acquired from the connection management table. In step 183, an audio packet is generated using the information obtained in step 182, the current time information, and the sequence number of the data as header information. In step 184, the voice packet generated in step 183 is transmitted to the destination GW4-2 obtained in step 182. When a voice packet is received from the packet network 1 (step 18
5, yes), the voice packet is obtained in step 186, and the destination GW4 is obtained from the voice packet in step 187.
2 and the telephone number of the calling telephone 6-1. In step 188, the connection line with the calling telephone 6-1 is searched from the connection management table from the telephone numbers of the receiving GW 4-2 and the calling telephone 6-1 acquired in the step 187. In step 189, the coded voice data is extracted from the voice packet, and in step 190, the coded voice data is output to the DECODER 41 corresponding to the connection line to the calling telephone 6-1 searched in step 188.

【0036】図13〜16に、前記モバイルGW8の処
理の流れの一例を示す。図13は全体の処理の流れを、
図14は移動体電話からの通話要求を受けた場合の処理
の流れを、図15は移動体電話への通話要求を受けた場
合の処理の流れを、図16は音声データ中継処理の流れ
を示す。
FIGS. 13 to 16 show an example of the processing flow of the mobile GW 8. FIG. 13 shows the overall processing flow.
14 shows the flow of processing when a call request from a mobile phone is received, FIG. 15 shows the flow of processing when a call request to a mobile phone is received, and FIG. 16 shows the flow of voice data relay processing. Show.

【0037】図13において、前記モバイルGW8は、
前記蓄積装置22に格納されている通信プログラムを起
動すると、前記ステップ90で管理者からキーボードや
マウス等の前記入力装置23から前記ロケーション管理
テーブルに関するイベント入力があるかどうかを検知
し、イベントが入力された場合(ステップ90、ye
s)、ステップ91で該イベントについての設定処理を
行う。管理者からのイベント入力がない場合(ステップ
90、no)、ステップ200において移動体網3からの
データ着信がないかどうかを検出する。移動体網3から
のデータ着信があった場合(ステップ200、yes)、
ステップ201で該データについての携帯電話発信処理
を行う。移動体網3からのデータ着信もない場合は(ス
テップ200、no)、ステップ202でパケット網1か
らのデータ着信がないかどうかを検出する。パケット網
1からのデータ着信があった場合(ステップ202、ye
s)、ステップ203で該データについての携帯電話着
信処理を行う。管理者が通信プログラムを終了する等モ
バイルGW8の運転停止処理を行った場合(ステップ9
6、yes)、全処理を終了する。
In FIG. 13, the mobile GW 8 comprises:
When the communication program stored in the storage device 22 is started, it is detected in step 90 whether an administrator has input an event relating to the location management table from the input device 23 such as a keyboard or a mouse. (Step 90, ye
s) In step 91, a setting process for the event is performed. If there is no event input from the administrator (step 90, no), it is detected in step 200 whether or not data has arrived from the mobile network 3. When data is received from the mobile network 3 (step 200, yes),
In step 201, a mobile phone calling process for the data is performed. If there is no data incoming from the mobile network 3 (step 200, no), it is detected in step 202 whether there is no data incoming from the packet network 1. When data is received from the packet network 1 (step 202, ye
s) In step 203, a mobile phone incoming call process for the data is performed. When the administrator performs a process of stopping the operation of the mobile GW 8 such as ending the communication program (step 9).
6, yes), end all processing.

【0038】図14に、前記ステップ201で行う携帯
電話発信処理の流れの一例を示す。
FIG. 14 shows an example of the flow of the mobile phone calling process performed in step 201.

【0039】図14において、ステップ210で移動体
網3からパケットを着信した場合(ステップ210、ye
s)、ステップ211で該パケットを発行した移動体端
末10のアドレス情報を取得する。ステップ212で前
記ステップ211で取得したアドレスが携帯電話番号で
あるかどうかを判定し、携帯電話番号であった場合は
(ステップ212、yes)、該パケットが通話要求や切
断要求などコネクションの確立・切断に関する情報を示
すシグナリングコマンドであった場合(ステップ21
3、yes)、ステップ214で該シグナリングコマンド
が通話要求シグナルであるかどうかを判定し、通話要求
シグナルである場合(ステップ214、yes)、ステッ
プ215で該通話要求シグナルに含まれる着側通信端末
のアドレス情報を取得する。ステップ216で前記ステ
ップ215で取得したアドレス情報が電話番号であるか
どうかを判定し、電話番号であった場合(ステップ21
6、yes)、ステップ217で前記ロケーション管理テ
ーブルから該電話番号を管轄する着側GW4−2あるい
はモバイルGW8−2のアドレス情報を取得する。ステ
ップ218で前記コネクション管理テーブルから、前記
ステップ217で取得した着側GW4−2あるいはモバ
イルGW8−2との間で中継している通話があるかどう
か、ある場合は該通話の遅延時間のうち最大の値と前記
ロケーション管理テーブルに設定されている遅延許容値
とを取得する。ステップ219で前記ステップ218で
取得した遅延時間と遅延許容値とを比較して、該GW4
−2あるいはモバイルGW8−2との中継中の通話がな
いかあるいは現在の遅延時間が許容値以下である場合は
(ステップ219、yes)、ステップ220で着側通信
端末の電話番号から公衆網2に接続する既存電話なのか
移動体網3に接続する移動体網なのかどうかを判定し、
既存電話である場合は(ステップ220、yes)、ステ
ップ221で符号化方式をPCM(G.711)に決定
して前記CODER31、DECODER41に設定す
る。移動体電話であった場合は(ステップ220、n
o)、ステップ222で前記ロケーション管理テーブル
から該移動体網3で使用されている符号化方式を取得、
前記CODER31、DECODER41に設定する。
ステップ223で該通話要求シグナルを通話要求コマン
ドに変換し、着側GW4−2あるいはモバイルGW8−
2へ送信する。ステップ224で前記コネクション管理
テーブルに該コネクションの情報を登録する。ステップ
218で取得した遅延時間が許容値以上である場合は
(ステップ219、no)、ステップ225で発側携帯電
話機10−1へ切断要求シグナルを返し、該通話要求は
受けつけられなかったことを通知する。ステップ215
で取得した着側通信端末6−2のアドレスが電話番号で
はない場合は(ステップ216、yes)、ステップ22
6で発側携帯電話機10−1へ切断要求シグナルを返
し、該通話要求は受けつけられなかったことを通知す
る。受信したシグナリングが通話要求シグナルではなく
切断要求シグナルであった場合(ステップ227、ye
s)、ステップ228で該切断要求シグナルを切断要求
コマンドへ変換、該コネクションに関する情報を前記コ
ネクション管理テーブルより検索、取得して、着側GW
4−2あるいはモバイルGW8−2へ中継する。ステッ
プ229で音声データ中継の終了処理を行い、ステップ
230前記コネクション管理テーブルから該当コネクシ
ョンの情報を削除する。受信したデータがシグナリング
ではない場合は(ステップ213、no)、ステップ22
3で音声中継処理を行う。ステップ210で受信したパ
ケットを発行した端末が着側のGW4−2あるいはモバ
イルGW8−2である場合(ステップ212、no)、ス
テップ231において該パケットがACKコマンドであ
るかどうかを判定し、ACKコマンドであった場合は
(ステップ231、yes)、ステップ232で該ACK
コマンドを移動体網3で用いられるACKシグナリング
コマンドに変換して前記発側携帯電話10−1へ中継、
ステップ223で音声データ中継処理を行う。ACKコ
マンドではなく切断要求コマンドであった場合(ステッ
プ233、yes)、ステップ234で該切断要求コマン
ドを移動体網3で用いられる切断要求シグナリングコマ
ンドに変換して前記発側携帯電話10−1へ中継し、ス
テップ228、ステップ229の処理を行う。
In FIG. 14, when a packet arrives from the mobile network 3 in step 210 (step 210, ye
s) In step 211, the address information of the mobile terminal 10 that has issued the packet is obtained. In step 212, it is determined whether or not the address acquired in step 211 is a mobile phone number. If the address is a mobile phone number (yes in step 212), the packet is used for establishing a connection such as a call request or a disconnection request. If the command is a signaling command indicating information on disconnection (step 21)
3, yes), it is determined in step 214 whether the signaling command is a call request signal, and if the signaling command is a call request signal (yes in step 214), in step 215, the destination communication terminal included in the call request signal Get the address information of In step 216, it is determined whether or not the address information acquired in step 215 is a telephone number.
6, yes), in step 217, the address information of the destination GW4-2 or the mobile GW8-2 that controls the telephone number is acquired from the location management table. At step 218, from the connection management table, whether there is a call relayed to the destination GW4-2 or the mobile GW 8-2 obtained at step 217, and if there is, the maximum delay time of the call And the allowable delay value set in the location management table. In step 219, the delay time acquired in step 218 is compared with the allowable delay value, and the GW4
If there is no call being relayed with the mobile communication gateway 2 or the mobile GW 8-2, or if the current delay time is equal to or less than the allowable value (yes in step 219), in step 220, the telephone number of the called communication terminal is used as the public network It is determined whether the telephone is an existing telephone connected to the mobile network or a mobile network connected to the mobile network 3.
If the telephone is an existing telephone (yes in step 220), the encoding method is determined to be PCM (G.711) in step 221 and set in the above-mentioned coder 31 and DECODER41. If it is a mobile phone (step 220, n
o), in step 222, obtain the coding scheme used in the mobile network 3 from the location management table;
The coders 31 and 41 are set.
In step 223, the call request signal is converted into a call request command, and the called GW4-2 or mobile GW8-
Send to 2. In step 224, the information of the connection is registered in the connection management table. If the delay time acquired in step 218 is equal to or greater than the allowable value (step 219, no), a disconnection request signal is returned to the calling side mobile phone 10-1 in step 225 to notify that the call request was not accepted. I do. Step 215
If the address of the called-side communication terminal 6-2 acquired in step 2 is not a telephone number (step 216, yes), step 22
In step 6, a disconnection request signal is returned to the calling side mobile phone 10-1 to notify that the call request has not been accepted. If the received signaling is not a call request signal but a disconnect request signal (step 227, yes
s), in step 228, convert the disconnection request signal into a disconnection request command, search and acquire information on the connection from the connection management table, and
4-2 or relay to the mobile GW 8-2. At step 229, the end processing of the voice data relay is performed, and at step 230, the information of the connection concerned is deleted from the connection management table. If the received data is not signaling (step 213, no), step 22
At 3, the voice relay processing is performed. If the terminal that issued the packet received in step 210 is the destination GW4-2 or mobile GW8-2 (step 212, no), it is determined in step 231 whether the packet is an ACK command, Is satisfied (step 231, yes), the
Command is converted into an ACK signaling command used in the mobile network 3 and relayed to the calling side mobile phone 10-1;
At step 223, voice data relay processing is performed. If the disconnection request command is not an ACK command (step 233, yes), the disconnection request command is converted into a disconnection request signaling command used in the mobile network 3 in step 234 and transmitted to the calling side mobile phone 10-1. Relaying is performed, and the processes of steps 228 and 229 are performed.

【0040】なお、本図では、着側の通信端末がIP電
話機の場合の処理は含んでいないが、着側の通信端末が
IP電話機の場合もGW4の場合と同様の手順で、移動
体網3で用いている符号化方式を設定するか、あるいは
モバイルGWにおいてPCMへ変換することにより、携
帯電話−モバイルGW−パケット網−IP電話機という
経路で通話の中継を行うことができる。
Although this figure does not include the processing when the destination communication terminal is an IP telephone, the same procedure as in the case of GW4 is applied to the case where the destination communication terminal is an IP telephone. By setting the encoding method used in 3 or by converting it to PCM in the mobile GW, the call can be relayed on the path of mobile phone-mobile GW-packet network-IP telephone.

【0041】図15に、前記ステップ203で行う携帯
電話着信処理の流れの一例を示す。
FIG. 15 shows an example of the flow of the portable telephone incoming call process performed in step 203.

【0042】図15において、ステップ240で移動体
網3からパケットを着信した場合(ステップ210、ye
s)、ステップ241で前記ステップ240で着信した
パケットから該パケットを発行した端末のアドレス情報
を取得する。ステップ242で前記ロケーション管理テ
ーブルより該パケット発行端末が発側モバイルGW8−
1なのかどうかを判定し、モバイルGW8−1であった
場合(ステップ242、yes)、該パケットが移動体網
3で用いられるシグナリングコマンドであるかどうかを
判定、シグナリングコマンドであった場合(ステップ2
43、yes)、ステップ244で該シグナリングコマン
ドに含まれる着側の携帯電話10−2のアドレスを取得
し、ステップ245で該シグナリングコマンドを該着側
の携帯電話10−2へ中継する。シグナリングコマンド
ではなかった場合(ステップ243、no)、ステップ2
46で音声データ中継処理を行う。受信したパケットを
発行した端末がモバイルGW8ではない場合(ステップ
242、no)、ステップ247で該パケットを発行した
端末が携帯電話であるかどうかを判定する。携帯電話で
はなく公衆網2に接続するGW4−1であった場合は
(ステップ247、yes)、ステップ248で該パケッ
トがパケット網1で用いられるコネクションの確立・切
断等に関するコマンドであるかどうかを判定し、コマン
ドである場合は(ステップ248、yes)、ステップ2
49で該コマンドに含まれる着側携帯電話10−2のア
ドレス情報を取得する。ステップ250で該コマンドを
移動体網3で用いられるシグナリングコマンドに変換し
て該着側携帯電話10−2へ中継する。ステップ251
で該コマンドが通話要求であるかどうかを判定し、通話
要求であった場合は(ステップ251、yes)、ステッ
プ252で該コネクションについての情報を前記コネク
ション管理テーブルへ登録する。通話要求ではなく切断
要求コマンドであった場合(ステップ251、no)、ス
テップ253で該音声中継処理を終了し、ステップ25
4で前記コネクション管理テーブルより該コネクション
の情報を削除する。受信したパケットがコマンドではな
かった場合(ステップ248、no)、ステップ246で
音声データ中継処理を行う。受信したパケットを発行し
た通信端末が携帯電話であった場合は(ステップ24
7、yes)、ステップ255で該パケットがACKシグ
ナリングコマンドであるかどうかを判定し、ACKシグ
ナリングコマンドであった場合は(ステップ255、ye
s)、ステップ246で音声データ中継処理を行う。A
CKシグナリングコマンドではなく切断要求シグナリン
グコマンドであった場合は(ステップ255、no)、ス
テップ253、254の処理を行う。
In FIG. 15, when a packet arrives from the mobile network 3 in step 240 (step 210, ye
s) In step 241, the address information of the terminal that issued the packet is obtained from the packet received in step 240. In step 242, the packet issuing terminal determines from the location management table that the originating mobile GW8-
1 if it is the mobile GW 8-1 (step 242, yes), it is determined whether the packet is a signaling command used in the mobile network 3 and if it is a signaling command (step 242). 2
43, yes), in step 244, the address of the destination mobile phone 10-2 included in the signaling command is obtained, and in step 245, the signaling command is relayed to the destination mobile phone 10-2. If it is not a signaling command (step 243, no), step 2
At 46, voice data relay processing is performed. If the terminal that issued the received packet is not the mobile GW 8 (step 242, no), it is determined in step 247 whether the terminal that issued the packet is a mobile phone. If the GW 4-1 connects to the public network 2 instead of the mobile phone (yes in step 247), it is determined in step 248 whether the packet is a command related to establishment / disconnection of a connection used in the packet network 1. If the command is determined (step 248, yes), step 2
At 49, the address information of the destination mobile phone 10-2 included in the command is obtained. In step 250, the command is converted into a signaling command used in the mobile network 3 and relayed to the destination mobile phone 10-2. Step 251
In step 251, it is determined whether the command is a call request. If the command is a call request (yes in step 251), information about the connection is registered in the connection management table in step 252. If the command is not a call request but a disconnection request command (step 251, no), the voice relay processing ends in step 253, and
In step 4, the information of the connection is deleted from the connection management table. If the received packet is not a command (step 248, no), voice data relay processing is performed in step 246. If the communication terminal that issued the received packet is a mobile phone (step 24)
7, yes), it is determined in step 255 whether the packet is an ACK signaling command, and if the packet is an ACK signaling command (step 255, yes)
s) In step 246, audio data relay processing is performed. A
If it is not a CK signaling command but a disconnection request signaling command (step 255, no), the processing of steps 253 and 254 is performed.

【0043】図16に、前記ステップ224の音声デー
タ中継処理の流れの一例を示す。ここでは、携帯電話1
0間の中継を行っている発側モバイルGW8−1におけ
る音声データ中継処理の流れについて示す。
FIG. 16 shows an example of the flow of the voice data relay processing in step 224. Here, mobile phone 1
The flow of the voice data relay process in the originating mobile GW 8-1 performing the relay between 0 is shown.

【0044】図16において、ステップ260で移動体
網3から音声データを受信した場合、ステップ261で
該音声データを取得し、ステップ262で前記コネクシ
ョン管理テーブルから着側のモバイルGW8−2のアド
レス情報と符号化方式を取得し、ステップ263で前記
ステップ262で取得した情報に加え、時間情報や該音
声データのシーケンス番号等のヘッダ情報を音声データ
に付加して、パケット網1へ中継するための音声パケッ
トを生成する。ステップ264で前記ステップ263で
生成した音声パケットを着側モバイルGW8−2へ中継
する。パケット網1から音声パケットを受信した場合は
(ステップ265、yes)、ステップ266で該音声パ
ケットを取得し、ステップ267で該音声パケットから
発側携帯電話10−1の電話番号を取得する。ステップ
268で、該音声パケットから音声パケットヘッダを削
除して音声データを取り出し、ステップ269で音声デ
ータを前記ステップ267で検索した発側携帯電話10
−1へ中継する。
In FIG. 16, when voice data is received from the mobile network 3 in step 260, the voice data is obtained in step 261 and the address information of the destination mobile GW 8-2 is read from the connection management table in step 262. In step 263, in addition to the information obtained in step 262, header information such as time information and the sequence number of the audio data is added to the audio data, and relayed to the packet network 1. Generate voice packets. In step 264, the voice packet generated in step 263 is relayed to the destination mobile GW 8-2. If a voice packet has been received from the packet network 1 (step 265, yes), the voice packet is obtained in step 266, and the telephone number of the calling side mobile phone 10-1 is obtained from the voice packet in step 267. In step 268, the voice packet header is deleted from the voice packet and voice data is extracted. In step 269, the voice data is retrieved from the calling mobile phone 10 searched in step 267.
Relay to -1.

【0045】図17〜図18は、各コマンド、音声デー
タのパケットフォーマットの例である。
FIGS. 17 and 18 show examples of the packet format of each command and voice data.

【0046】図17において、280はパケット網がI
P網である場合のIPヘッダ、231はTCP/UDP
ヘッダ、232にはコマンドあるいはデータが格納され
る。
In FIG. 17, reference numeral 280 indicates that the packet network is I
IP header for the P network, 231 TCP / UDP
The header or 232 stores a command or data.

【0047】283は音声符号化データであるのか、コ
ネクションの確立・切断に関するコマンドであるのかの
種別を示すフィールド、284はコマンドの識別子、例
えば通話要求コマンドであるのか、切断要求コマンドで
あるのかの種別を示すフィールドで、285は発側の通
信端末(電話機、携帯電話、IP電話機等)のアドレ
ス、286は着側の通信端末のアドレス、287は通話
に使用する符号化方式を示すフィールドである。
Reference numeral 283 denotes a field indicating the type of voice coded data or a command related to establishment / disconnection of a connection. Reference numeral 284 denotes an identifier of the command, for example, a call request command or a disconnection request command. In the field indicating the type, 285 is the address of the calling communication terminal (telephone, mobile phone, IP telephone, etc.), 286 is the address of the called communication terminal, and 287 is a field indicating the encoding method used for the call. .

【0048】図18は、GW4間あるいはGW4とモバ
イルGW8、モバイルGW8間で送受信される音声デー
タのフォーマットの一例である。288は該音声パケッ
トのシーケンス番号、289は時間情報、290は該音
声パケットが遅延測定用パケットを兼ねているかどうか
を示すフィールド、291は音声符号化データである。
FIG. 18 shows an example of the format of audio data transmitted / received between the GWs 4, or between the GW 4 and the mobile GW 8, or between the GWs 8. 288 is a sequence number of the voice packet, 289 is time information, 290 is a field indicating whether the voice packet also serves as a delay measurement packet, and 291 is voice coded data.

【0049】図19は、移動体端末10とモバイルGW
8との間で送受信されるパケットのフォーマットの一例
である。
FIG. 19 shows the mobile terminal 10 and the mobile GW.
8 is an example of a format of a packet transmitted / received between the P.8 and the P.8.

【0050】283〜287は図17と同じである。3
00は移動体網3において通信するために必要なヘッダ
情報、301は着側の移動体端末10の情報(例えば位
置情報など)を管理するために必要な識別子、302は
コマンドあるいはデータを格納するフィールドである。
このほか、移動体網3上で移動体通信を行う際に必要な
ヘッダ情報等が付加されてもよい。
283 to 287 are the same as those in FIG. Three
00 is header information necessary for communication in the mobile network 3, 301 is an identifier required to manage information (for example, location information, etc.) of the receiving mobile terminal 10, and 302 is a command or data. Field.
In addition, header information and the like necessary for performing mobile communication on the mobile network 3 may be added.

【0051】本実施形態の音声中継システムによれば、
前記GWが中継する通話が公衆網に接続する電話間の中
継には符号化方式としてPCMを用いるため、発側着側
のGWにおける符号化処理に要する時間を短縮できる。
更に、移動体網に接続する携帯電話との中継には、移動
体網側のGWであるいは公衆網側のGWで移動体網で用
いられている符号化方式を設定するため、符号化処理は
一度で済み、符号化処理に要する時間の短縮及び複数回
の符号化処理による音声品質劣化を防ぐことができる。
According to the voice relay system of this embodiment,
Since the PCM is used as the encoding method for the relay between the telephone calls connected to the public network in the call relayed by the GW, the time required for the encoding process in the GW on the calling side and the called side can be reduced.
Further, for relaying with a mobile phone connected to the mobile network, the coding method used in the mobile network is set by the GW on the mobile network side or the GW on the public network side. Only once, it is possible to reduce the time required for the encoding process and prevent the deterioration of the voice quality due to the multiple encoding processes.

【0052】[0052]

【発明の効果】本発明によれば、音声中継サーバが電話
間の中継に用いる音声符号化方式として処理時間の短い
PCMを用いるため、発側着側のGWにおける符号化処
理に要する時間を短縮できると共に、移動体端末との中
継には符号化処理を一回に抑えるため、符号化方式の変
換処理に要する時間の短縮及び複数回の符号化方式変換
による音声品質の劣化を防ぐことができる。
According to the present invention, since the voice relay server uses PCM having a short processing time as a voice coding method used for relaying between telephones, the time required for the coding process in the GW on the calling side and the calling side is reduced. In addition, since the encoding process is suppressed to one at the time of relaying with the mobile terminal, it is possible to reduce the time required for the encoding system conversion process and prevent the deterioration of the voice quality due to the multiple encoding system conversions. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態に係る音声データ中継装置の
全体構成図である。
FIG. 1 is an overall configuration diagram of a voice data relay device according to an embodiment of the present invention.

【図2】音声中継サーバの構成図である。FIG. 2 is a configuration diagram of a voice relay server.

【図3】音声中継サーバのロケーション管理テーブルの
フォーマットの一例を示す図である。
FIG. 3 is a diagram illustrating an example of a format of a location management table of the voice relay server.

【図4】音声中継サーバのコネクション管理テーブルの
フォーマットの一例を示す図である。
FIG. 4 is a diagram illustrating an example of a format of a connection management table of the voice relay server.

【図5】本システムの全体の処理の流れ図である。FIG. 5 is a flowchart of the overall processing of the present system.

【図6】音声中継サーバの全体処理の流れ図である。FIG. 6 is a flowchart of the overall processing of the voice relay server.

【図7】音声中継サーバの管理者による設定処理の流れ
図である。
FIG. 7 is a flowchart of a setting process by an administrator of the voice relay server.

【図8】音声中継サーバの公衆網からのデータ受信時の
処理の流れ図である。
FIG. 8 is a flowchart of a process performed when the voice relay server receives data from the public network.

【図9】音声中継サーバのパケット網からのデータ受信
時の処理の流れ図である。
FIG. 9 is a flowchart of a process performed when the voice relay server receives data from a packet network.

【図10】音声中継サーバの電話機間の中継処理の流れ
図である。
FIG. 10 is a flowchart of a relay process between telephones of the voice relay server.

【図11】音声中継サーバの発側・着側どちらかがIP
電話機である場合の中継処理の流れ図である。
FIG. 11: Either the calling side or the called side of the voice relay server is IP
It is a flowchart of the relay process in the case of a telephone.

【図12】音声中継サーバの音声データの中継処理の流
れ図である。
FIG. 12 is a flowchart of a voice data relay process of the voice relay server.

【図13】移動体網に接続する音声中継サーバの全体の
処理の流れ図である。
FIG. 13 is a flowchart of the overall processing of the voice relay server connected to the mobile network.

【図14】音声中継サーバの移動体電話からの通話要求
を受信した場合の処理の流れ図である。
FIG. 14 is a flowchart of a process when the voice relay server receives a call request from a mobile phone.

【図15】音声中継サーバの移動体電話への通話要求を
受信した場合の処理の流れ図である。
FIG. 15 is a flowchart of a process when the voice relay server receives a call request to a mobile phone.

【図16】音声中継サーバの移動体網における音声デー
タ中継処理の流れ図である。
FIG. 16 is a flowchart of voice data relay processing in the mobile network of the voice relay server.

【図17】音声中継サーバ間で送受信されるコマンドの
パケットフォーマットの一例を示す図である。
FIG. 17 is a diagram illustrating an example of a packet format of a command transmitted and received between the voice relay servers.

【図18】音声中継サーバ間で送受信される音声パケッ
トのフォーマットの一例を示す図である。
FIG. 18 is a diagram illustrating an example of a format of a voice packet transmitted and received between voice relay servers.

【図19】移動体網における音声中継サーバが扱うシグ
ナリングコマンドのパケットフォーマットの一例を示す
図である。
FIG. 19 is a diagram illustrating an example of a packet format of a signaling command handled by a voice relay server in a mobile network.

【符号の説明】[Explanation of symbols]

1…パケット網、2…公衆電話網、3…移動体網、4−
1・4−2…音声中継サーバ、8…モバイル音声中継サ
ーバ、6・10…音声データ通信端末。
1: packet network, 2: public telephone network, 3: mobile network, 4-
1.4-2: Voice relay server, 8: Mobile voice relay server, 6.10: Voice data communication terminal.

フロントページの続き (72)発明者 星 徹 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 湯本 一麿 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 Fターム(参考) 5K030 HA08 HB01 HB21 HC02 HD03 JT01 5K051 AA02 BB01 CC01 CC02 CC07 GG03 JJ13 5K067 AA14 AA23 BB02 CC08 DD54 EE02 EE16 HH05 HH11 5K101 RR05 SS08 9A001 BB04 CC04 CC06 DD10 EE01 EE02 JJ25 Continuing on the front page (72) Inventor Tohru Hoshi 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside Hitachi, Ltd.System Development Laboratory (72) Inventor Ichimaro Yumoto 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Hitachi, Ltd. 5K030 HA08 HB01 HB21 HC02 HD03 JT01 5K051 AA02 BB01 CC01 CC02 CC07 GG03 JJ13 5K067 AA14 AA23 BB02 CC08 DD54 EE02 EE16 HH05 HH11 5K101 RR05 SS08 9A001 BB04 CC10

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 パケット網に接続された音声中継サーバ
であって、 公衆網に接続する電話機からの通話要求信号の受信に応
答して、通話要求信号に含まれる通話相手のアドレス情
報より通話相手が公衆網に接続する他の電話機であるこ
とが判明した場合、音声符号化手段をPCMに設定する
ための手段と、 通話相手となる着側電話機を管轄する着側音声中継サー
バに対して音声符号化方式を含む通話要求コマンドを送
信するための手段と、 上記着側の音声中継サーバでは、上記発側の音声中継サ
ーバからの呼接続コマンドの受信に応答して、上記通話
要求コマンドで指定された音声符号化方式を設定するた
めの手段とを備えたことを特徴とする音声中継サーバ。
1. A voice relay server connected to a packet network, which responds to a call request signal received from a telephone connected to a public network, based on address information of the call partner included in the call request signal. If it is determined that the telephone is another telephone connected to the public network, a means for setting the voice encoding means to the PCM and a voice to the destination voice relay server which is in charge of the destination telephone as the other party are called. Means for transmitting a call request command including an encoding method, wherein the receiving-side voice relay server specifies the call request command in response to receiving the call connection command from the calling-side voice relay server. Means for setting the selected speech coding method.
【請求項2】 請求項1に記載の音声中継サーバにおい
て、 各通信端末のアドレスと、該通信端末を管轄する音声中
継サーバのアドレスと、各音声中継サーバが有する音声
符号化手段との関係を記憶するロケーション管理テーブ
ルと、 複数の音声符号化手段と、 電話機からの通話要求信号に含まれる通話相手のアドレ
ス情報より通話相手となる着側の端末が移動体網に接続
する移動体電話であることが判明した場合、上記ロケー
ション管理テーブルを参照して該着側の端末が属する移
動体網で用いられている音声符号化手段を求め、該通話
に用いる音声符号化方式を該音声符号化手段を該音声符
号化手段に設定し、該音声符号化方式を前記通話要求コ
マンドに設定する手段とを備えたことを特徴とする音声
中継サーバ。
2. The voice relay server according to claim 1, wherein a relationship among an address of each communication terminal, an address of a voice relay server in charge of said communication terminal, and voice encoding means of each voice relay server is defined. A location management table to be stored; a plurality of voice encoding means; and a mobile telephone connected to a mobile network by a terminal on the other end of the communication based on address information of the other party included in a call request signal from the telephone. If it is found out, the voice coding means used in the mobile network to which the destination terminal belongs is determined by referring to the location management table, and the voice coding method used for the call is determined by the voice coding means. And a means for setting the voice coding method in the call request command.
【請求項3】 請求項1及び2に記載の音声中継サーバ
であって、 更に移動体網にも接続する手段と、 移動体網に接続する移動体電話からの呼接続要求コマン
ドの受信に応答して、呼接続要求コマンドに含まれる通
話相手のアドレス情報より通話相手が公衆網あるいはパ
ケット網に接続する端末であることが判明した場合、呼
接続要求コマンドをパケット網内で用いる通話要求コマ
ンドに変換する手段と、 上記着側の音声中継サーバからのACKコマンドの受信
に応答して、該ACKコマンドを呼接続ACKコマンド
に変換する手段と、 移動体電話からの符号化音声データにパケット網内で用
いるヘッダ情報を付加する手段と、 上記着側の音声中継サーバからの音声データからパケッ
ト網内で用いるヘッダ情報を削除する手段とを備えるこ
とを特徴とする音声中継サーバ。
3. The voice relay server according to claim 1, further comprising means for connecting to a mobile network, and responding to a call connection request command received from a mobile telephone connected to the mobile network. Then, if it is determined from the address information of the call partner included in the call connection request command that the call partner is a terminal connected to the public network or the packet network, the call connection request command is converted to a call request command used in the packet network. Means for converting the ACK command into a call connection ACK command in response to reception of the ACK command from the voice relay server on the receiving side; Means for adding header information to be used in the packet network, and means for deleting header information used in the packet network from the voice data from the voice relay server on the receiving side. Voice relay server according to claim.
【請求項4】 請求項1に記載の音声中継サーバであっ
て、 上記ロケーション管理テーブルに、着側の音声中継サー
バとの間の通話の遅延時間の許容値とを更に記憶し、 コネクション毎に、少なくとも着側の音声中継サーバの
アドレスと、発側、着側の端末のアドレスと、遅延時間
の概算値とを記憶するコネクション管理テーブルとを有
し、 通話中継時、定期的に音声データの遅延時間の概算値を
求める手段と、 新たな前記通話要求コマンドの受信に応答して、上記ロ
ケーション管理テーブルを参照して、該通話要求コマン
ドで指定された着側端末と対応する着側音声中継サーバ
のアドレスを求め、該着側音声中継サーバのアドレス情
報と上記コネクション管理テーブルから同じ着側音声中
継サーバとの間で通話中継中のコネクションを検索し
て、現在の遅延時間の状況を取得する手段と、 取得した遅延時間が、上記ロケーション管理テーブルで
記憶している許容時間以下であることが判明した場合
は、前記コネクション管理テーブルに新たなエントリを
追加し、該着側音声中継サーバに対して通話要求コマン
ドを送信する手段とを備えることを特徴とする音声中継
サーバ。
4. The voice relay server according to claim 1, wherein the location management table further stores an allowable value of a delay time of a call between the voice relay server and the destination voice relay server. A connection management table that stores at least the address of the voice relay server on the receiving side, the addresses of the terminals on the calling side and the called side, and the approximate value of the delay time. Means for obtaining an approximate value of the delay time; and, in response to receiving the new call request command, referencing the location management table and receiving the destination voice relay corresponding to the destination terminal specified by the call request command. A server address is obtained, and a connection during call relay between the same destination voice relay server is detected from the address information of the destination voice relay server and the connection management table. Means for acquiring the current state of the delay time, and if it is determined that the acquired delay time is equal to or less than the allowable time stored in the location management table, a new entry is made in the connection management table. And a means for transmitting a call request command to the called-side voice relay server.
【請求項5】 請求項4に記載の音声中継サーバであっ
て、 音声パケットの遅延時間の概算値を求める手段が、各音
声パケットのヘッダ情報として、該音声パケットが遅延
算出用パケットであることを示す情報と、時間情報とを
設定し、着側の音声中継サーバが受信した音声パケット
が遅延算出用パケットであることが判明した場合、該音
声パケットの着側端末への出力処理をすると共に、該音
声パケットを発側の音声中継サーバへ返信し、発側の音
声中継サーバは返信された音声パケットの時間情報と現
在の時間情報との差分とから算出することを特徴とする
音声中継サーバ。
5. The voice relay server according to claim 4, wherein the means for calculating the approximate value of the delay time of the voice packet is that the voice packet is a delay calculation packet as header information of each voice packet. And time information are set, and when it is determined that the voice packet received by the voice relay server on the receiving side is a packet for delay calculation, output processing of the voice packet to the receiving side terminal is performed. , Returning the voice packet to the voice relay server on the calling side, wherein the voice relay server on the calling side calculates the difference from the time information of the returned voice packet and the current time information. .
【請求項6】 公衆網あるいは移動体網に接続する複数
の電話機間の通話を複数の音声中継サーバを有するIP
パケット網において中継する音声データの通信方法にお
いて、 音声データの送信に先立って、上記公衆網に接続された
発側の電話機から該電話機を管轄する発側の音声中継サ
ーバに、着側端末を特定した通話要求信号を送信するス
テップと、 上記発側の音声中継サーバが、上記通話要求信号の受信
に応答して、上記着側端末が公衆網に接続する電話機な
のか、あるいは移動体網に接続する移動体電話なのかを
判定して、音声符号化方式を特定するステップと、 上記着側端末を管轄する着側の音声中継サーバとの間の
中継が予め指定されている遅延許容時間以内で行われて
いるかどうかを確認して、上記着側端末と音声符号化情
報を特定した通話要求コマンドを送信するステップと、 音声データ中継中に、上記発側の音声中継サーバが、定
期的に遅延測定用パケットであることを示す情報を含め
た音声パケットを上記着側音声中継サーバへ送信するス
テップと、 上記着側の音声中継サーバより返信された該遅延測定用
音声パケット内の時間情報から上記着側の音声中継サー
バ間の遅延時間を算出して、上記コネクション管理テー
ブルへフィードバックするステップとを有することを特
徴とする音声データの通信方法。
6. An IP having a plurality of voice relay servers for calling between a plurality of telephones connected to a public network or a mobile network.
In the communication method of voice data relayed in a packet network, prior to the transmission of voice data, a destination terminal is specified from a calling telephone connected to the public network to a calling voice relay server in charge of the telephone. Transmitting the called call request signal, and the calling side voice relay server responds to the reception of the call request signal, wherein the called terminal is a telephone connected to a public network or connected to a mobile network. Determining whether the mobile phone is a mobile phone, and specifying the voice encoding method, and relaying between the destination voice relay server that controls the destination terminal within a predetermined delay allowable time. Transmitting a call request command that specifies the voice-encoding information with the destination terminal after confirming whether the call has been performed; and Transmitting a voice packet including information indicating that the packet is a delay measurement packet to the destination voice relay server; and a time in the delay measurement voice packet returned from the destination voice relay server. Calculating a delay time between the destination voice relay servers from the information and feeding back the delay time to the connection management table.
JP2000039749A 2000-02-14 2000-02-14 Voice relay server Expired - Fee Related JP4449137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000039749A JP4449137B2 (en) 2000-02-14 2000-02-14 Voice relay server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000039749A JP4449137B2 (en) 2000-02-14 2000-02-14 Voice relay server

Publications (2)

Publication Number Publication Date
JP2001230862A true JP2001230862A (en) 2001-08-24
JP4449137B2 JP4449137B2 (en) 2010-04-14

Family

ID=18563267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000039749A Expired - Fee Related JP4449137B2 (en) 2000-02-14 2000-02-14 Voice relay server

Country Status (1)

Country Link
JP (1) JP4449137B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005252665A (en) * 2004-03-04 2005-09-15 Nec Corp Voice packet transferring method and terminal used for the same
JP2006526358A (en) * 2003-03-25 2006-11-16 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Multimedia message processing
JP2006526297A (en) * 2003-05-16 2006-11-16 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Call admission control in VoIP systems
JP2007228324A (en) * 2006-02-24 2007-09-06 Oki Electric Ind Co Ltd Voice codec selecting method and call control server
JP2009516471A (en) * 2005-11-17 2009-04-16 マイクロソフト コーポレーション Infrastructure that enables high-quality real-time audio
JP2009200791A (en) * 2008-02-21 2009-09-03 Nec Corp Communication device, and speech communication log preserving apparatus
JP2010098775A (en) * 2010-02-02 2010-04-30 Oki Electric Ind Co Ltd Codec converter
JP2010533406A (en) * 2007-07-13 2010-10-21 ノーテル ネットワークス リミテッド Quality of service control in a multi-hop wireless communication environment
JP2013034245A (en) * 2012-10-29 2013-02-14 Nec Corp Telephone call log storage device, and layer 3 network transfer device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006526358A (en) * 2003-03-25 2006-11-16 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Multimedia message processing
JP2006526297A (en) * 2003-05-16 2006-11-16 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Call admission control in VoIP systems
US8971308B2 (en) 2003-05-16 2015-03-03 Unwired Planet, Llc Call admission control in VoIP systems
JP2005252665A (en) * 2004-03-04 2005-09-15 Nec Corp Voice packet transferring method and terminal used for the same
JP4546114B2 (en) * 2004-03-04 2010-09-15 Necインフロンティア株式会社 Voice packet transfer method and terminal used therefor
JP2009516471A (en) * 2005-11-17 2009-04-16 マイクロソフト コーポレーション Infrastructure that enables high-quality real-time audio
JP2007228324A (en) * 2006-02-24 2007-09-06 Oki Electric Ind Co Ltd Voice codec selecting method and call control server
JP2010533406A (en) * 2007-07-13 2010-10-21 ノーテル ネットワークス リミテッド Quality of service control in a multi-hop wireless communication environment
US9838944B2 (en) 2007-07-13 2017-12-05 Apple Inc. Quality of service control in multiple hop wireless communication environments
US8958300B2 (en) 2007-07-13 2015-02-17 Apple Inc. Quality of service control in multiple hop wireless communication environments
US9629061B2 (en) 2007-07-13 2017-04-18 Apple Inc. Quality of service control in multiple hop wireless communication environments
US9351200B2 (en) 2007-07-13 2016-05-24 Apple Inc. Quality of service control in multiple hop wireless communication environments
JP2009200791A (en) * 2008-02-21 2009-09-03 Nec Corp Communication device, and speech communication log preserving apparatus
JP2010098775A (en) * 2010-02-02 2010-04-30 Oki Electric Ind Co Ltd Codec converter
JP2013034245A (en) * 2012-10-29 2013-02-14 Nec Corp Telephone call log storage device, and layer 3 network transfer device

Also Published As

Publication number Publication date
JP4449137B2 (en) 2010-04-14

Similar Documents

Publication Publication Date Title
CN1192588C (en) Method for changing quality of service for voice over IP calls
US5940479A (en) System and method for transmitting aural information between a computer and telephone equipment
US6847632B1 (en) Method and apparatus for digital cellular internet voice communications
US20080101338A1 (en) METHODS AND APPARATUS TO IMPLEMENT HIGHER DATA RATE VOICE OVER INTERNET PROTOCOL (VoIP) SERVICES
KR100607140B1 (en) Internet based telephone apparatus
JP3873048B2 (en) Ringback tone transmission method, terminal, ringback tone generation method, and system for generating ringback tone
CN101365020B (en) Method for converting phone call into internet call, modem and server
US20040116108A1 (en) Internet phone system and internet phone service method for a mobile telephone
JP2002507869A (en) Method and system for routing calls between cellular subsystems
JP4449137B2 (en) Voice relay server
US7570630B1 (en) Dialed-digit based determination of whether to originate a call as a circuit-switched call or a packet-switched call
CN101605357B (en) Method for accessing public switched telephone network by wireless network device and wireless network device
CN105338206A (en) Network telephone gateway and emergency call processing method thereof
JP2959627B2 (en) Wireless packet voice receiving device
JP2003087335A (en) Network connection device, communication system, communication method, communication program and recording medium
JP4275265B2 (en) Call control server and voice data communication method
KR20020045465A (en) METHOD FOR CONTROLLING BANDWIDTH IN VoIP SYSTEM
JP4687917B2 (en) Signal control method for IP telephone system
KR100386367B1 (en) Method and System for Calling using Bluetooth Mobile Phone
JP2001308925A (en) Priority control method for network system
KR100735350B1 (en) METHOD FOR FIXING A CODEC WITH RESPECT TO LINK STATE ON VoIP SERVICE IN AN ACCESS NETWORK
CN108769441B (en) Soft switch conversation method and system
CN108881239B (en) Software telephone, roaming method thereof and soft switch equipment
KR100938558B1 (en) Method of offering call service according to custormer's priority call, Method of offering call service according to user authentication information in VoIP network and Recording medium thereof
JP2002300281A (en) Selecting method for voice encoding in voice communication system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060417

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091007

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: 20100105

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100118

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130205

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140205

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees