JP2000253150A - Speech auxiliary device for speech system - Google Patents

Speech auxiliary device for speech system

Info

Publication number
JP2000253150A
JP2000253150A JP11050219A JP5021999A JP2000253150A JP 2000253150 A JP2000253150 A JP 2000253150A JP 11050219 A JP11050219 A JP 11050219A JP 5021999 A JP5021999 A JP 5021999A JP 2000253150 A JP2000253150 A JP 2000253150A
Authority
JP
Japan
Prior art keywords
terminal
telephone
message
call
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.)
Granted
Application number
JP11050219A
Other languages
Japanese (ja)
Other versions
JP3780728B2 (en
Inventor
Rei Hamada
玲 浜田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP05021999A priority Critical patent/JP3780728B2/en
Publication of JP2000253150A publication Critical patent/JP2000253150A/en
Application granted granted Critical
Publication of JP3780728B2 publication Critical patent/JP3780728B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow a speech auxiliary device for speech system for compensating for the deterioration of message transmitting performance caused by the deterioration of communication quality in telephone communication. SOLUTION: The deterioration of the quality of real-time speech between terminals 11A and 11B through an UDP port is determined, based on the number of times of packet collision in the Internet 14 detected by a gateway 13A. A request for the input of a message to the called terminal is reproduced to a terminal 11A connected with a telephone network 12A, and the inputted message is preserved in the gateway 13A in which the deterioration of the speech quality is determined, and transmitted through the TCP port of the Internet 14 to a gateway 13B in a non-real time. At the same time, a TCP interrupt packet is transmitted to the gateway 13B, so that a message from a terminal 11B can be preserved in the gateway 13B, and transmitted to the gateway 13A in a non-real time. Then, the message is reproduced to each corresponding terminal 11A and 11B in each gateway 13A and 13B.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、通話品質の低下が
伴なう電話通信において利用される通話システムの通話
補助装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a telephone call assisting device for a telephone communication system used in telephone communication accompanied by a deterioration in telephone call quality.

【0002】[0002]

【従来の技術】従来、一般の電話通信は、発信側の電話
端末と着信側の電話端末との間を、公衆電話回線により
接続して行なうものであるが、このような公衆電話回線
のみを経由して接続する従来の電話通信の他に、最近で
は、特に、国際電話等の遠距離電話において、インター
ネットを経由した電話通信を行なうことで、通話料金を
安価に抑えるようにしたインターネット電話システムが
実用化されている。
2. Description of the Related Art Conventionally, general telephone communication is performed by connecting a telephone terminal on a calling side and a telephone terminal on a receiving side by a public telephone line. In recent years, in addition to the conventional telephone communication connected via the Internet, an Internet telephone system has recently reduced telephone charges by performing telephone communication via the Internet, especially for long-distance telephone calls such as international calls. Has been put to practical use.

【0003】このインターネット通話システムでは、公
衆電話回線とインターネットとの間で通信プロトコルの
変換を行なうためのゲートウエイ装置を備えさせ、発信
側の電話端末から公衆電話回線を介しこの発信端末が登
録されているゲートウエイ装置に対して、相手側電話端
末の電話番号を指定して電話を掛けると、当該ゲートウ
エイ装置において相手端末の電話番号を含んだ接続要求
パケットが生成され、インターネットを経由して相手端
末が登録されているゲートウエイ装置に対して送信され
る。これにより、発信側のゲートウエイ装置から接続要
求パケットを受信した相手側のゲートウエイ装置では、
その受信パケットに含まれる着信先の電話番号を指定
し、公衆電話回線を経由して電話を掛けることで、発信
側の電話端末と着信側の電話端末との間が、公衆電話回
線〜ゲートウエイ装置〜インターネット〜ゲートウエイ
装置〜公衆電話回線を経由して接続され、発信側と着信
側における各公衆電話回線での通話料及びゲートウエイ
装置に対する登録料のみを支払うだけで、どんなに遠距
離通話であっても、安価に電話通信を行なうことができ
るものである。
In this Internet communication system, a gateway device for converting a communication protocol between a public telephone line and the Internet is provided, and the transmitting terminal is registered from a telephone terminal on the transmitting side via the public telephone line. When a call is made to the existing gateway device by designating the telephone number of the partner telephone terminal, a connection request packet including the telephone number of the partner terminal is generated in the gateway device, and the partner terminal is connected via the Internet. Sent to registered gateway devices. As a result, the other gateway device that has received the connection request packet from the originating gateway device,
By specifying the telephone number of the destination included in the received packet and making a call via the public telephone line, the communication between the telephone terminal on the calling side and the telephone terminal on the receiving side is switched from the public telephone line to the gateway device. ~ Internet ~ Gateway device ~ Connected via public telephone line, no matter how long distance calls, only pay the call fee on each public telephone line on the calling side and the receiving side and the registration fee for the gateway device It is possible to perform telephone communication at low cost.

【0004】インターネット網は、世界中を結ぶ低コス
トのパケット網であり、圧縮しコード化した音声をパケ
ット化して転送することにより、第1の電話端末と第2
の電話端末との間を公衆電話回線を介し直接接続するこ
とに比べ、特に、遠距離の電話通信に関して、コストを
大きく削減することができるという利点が生じるもので
ある。
[0004] The Internet network is a low-cost packet network connecting the world. The Internet network compresses and encodes voice into packets and transfers the packets so that the first telephone terminal and the second telephone terminal can communicate with each other.
As compared with a direct connection to a telephone terminal via a public telephone line, the advantage that the cost can be greatly reduced, especially for long-distance telephone communication, is obtained.

【0005】インターネットでは、TCP/IP(trans
mission control protocol/internet protocol) と呼ば
れるプロトコルによって通信が行なわれるが、リアルタ
イム性を必要とする音声パケットの送受信には、TCP
/IPの一部であるUDP(user datagram protocol)と
いうトランスポート層プロトコルが使用される。このU
DP/IPでは、TCP/IPのトランスポート層とは
異なり、プロトコル処理が高速ではあるものの、誤り訂
正や再送の機能を持たないため信頼性が低く、パケット
の消失・遅延が生じても、再送や順列整列は行なわれな
い欠点がある。
On the Internet, TCP / IP (trans
Communication is performed by a protocol called mission control protocol / internet protocol).
A transport layer protocol called UDP (user datagram protocol) which is a part of / IP is used. This U
Unlike the TCP / IP transport layer, DP / IP has high-speed protocol processing, but lacks error correction and retransmission functions, and thus has low reliability. Even if packet loss / delay occurs, retransmission is performed. There is a disadvantage that no permutation is performed.

【0006】[0006]

【発明が解決しようとする課題】このような従来のイン
ターネット電話システムにおいて、インターネット網は
帯域保証のない通信網であり、特別な帯域確保手段を講
じない限り、混雑により通話に支障を来たす場合があ
る。通話には、リアルタイム性が必要なため、パケット
損失に対する再送は行なわず、前後のパケットから類推
したデータで隙間を埋める処理が行なわれる。
In such a conventional Internet telephone system, the Internet network is a communication network without bandwidth guarantee, and unless a special bandwidth securing means is taken, a call may be interrupted due to congestion. is there. Since real-time communication is required for communication, retransmission for packet loss is not performed, and processing for filling gaps with data inferred from previous and subsequent packets is performed.

【0007】パケット損失が数10%を越えると、通信
にノイズや欠落が激しく発生するようになるもので、こ
のような状況で通話を続行すると、内容の聞き間違い等
が発生する可能性もあり、ゲートウエイ装置あるいは利
用者本人が通話を切断するとしても、意思の疎通が中途
半端なままに終わるという問題がある。
If the packet loss exceeds tens of percent, noise and dropouts occur in communication intensely. If the call is continued in such a situation, there is a possibility that the contents may be erroneously heard. However, there is a problem that even if the gateway device or the user himself or herself disconnects the communication, the communication ends up halfway.

【0008】本発明は、前記のような問題に鑑みなされ
たもので、電話通信において通信品質の低下に伴なうメ
ッセージ伝達性能の悪化を補うことが可能になる通話シ
ステムの通話補助装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and provides a communication assistance device of a communication system capable of compensating for deterioration of message transmission performance due to deterioration of communication quality in telephone communication. The purpose is to do.

【0009】[0009]

【課題を解決するための手段】すなわち、本発明の請求
項1に係る通話システムの通話補助装置は、一方の端末
と他方の端末との間で通信網を介しリアルタイムの通話
を行なう通話システムの、前記端末が接続された電話網
と前記通信網との間に接続される通話補助装置であっ
て、前記通信網における通話品質の低下を検知する通話
品質検知手段と、この通話品質低下検知手段により前記
通信網における通話品質の低下が検知された場合には、
該通信網を介したリアルタイムの通話を中断する通話中
断手段と、この通話中断手段により前記通信網を介した
リアルタイムの通話が中断された際に、電話網を介して
接続されている端末からの音声メッセージを取得するメ
ッセージ取得手段と、このメッセージ取得手段により取
得された端末からの音声メッセージを非リアルタイムの
プロトコルに変換して相手側に転送するメッセージ転送
手段とを備えたことを特徴とする。
A first aspect of the present invention is directed to a communication system for a communication system for performing a real-time communication between one terminal and another terminal via a communication network. A communication auxiliary device connected between a telephone network to which the terminal is connected and the communication network, wherein the communication quality detecting means for detecting a decrease in communication quality in the communication network, and the communication quality reduction detecting means If a decrease in call quality in the communication network is detected by
A call suspending means for suspending a real-time call via the communication network; and a terminal connected via the telephone network when the real-time call via the communication network is suspended by the call suspending means. A message acquisition means for acquiring a voice message, and a message transfer means for converting a voice message from a terminal acquired by the message acquisition means into a non-real-time protocol and transferring the protocol to a partner.

【0010】このような、本発明の請求項1に係る通話
システムの通話補助装置では、通話品質低下検知手段に
より通信網における通話品質の低下が検知された場合に
は、該通信網を介したリアルタイムの通話が通話中断手
段により中断されると共に、メッセージ取得手段により
電話網を介して接続されている端末からの音声メッセー
ジが取得され、メッセージ転送手段により非リアルタイ
ムのプロトコルに変換されて相手側の通信補助装置に転
送される。従って、通信網上での通話品質の低下によ
り、リアルタイムな通話が困難となった場合でも、必要
最低限のメッセージを相手端末の利用者に伝えることが
できることになる。
[0010] In such a communication auxiliary device of the communication system according to the first aspect of the present invention, when a decrease in the communication quality in the communication network is detected by the communication quality reduction detecting means, the communication via the communication network is performed. The real-time call is interrupted by the call interrupting means, the voice message from the terminal connected via the telephone network is obtained by the message obtaining means, converted to a non-real-time protocol by the message transfer means, and Transferred to the communication auxiliary device. Therefore, even when real-time communication becomes difficult due to the deterioration of the communication quality on the communication network, a minimum necessary message can be transmitted to the user of the partner terminal.

【0011】また、本発明の請求項2に係る通話システ
ムの通話補助装置は、前記請求項1に係る通話システム
の通話補助装置にあって、さらに、相手側の通話補助装
置のメッセージ転送手段により転送されて来る音声メッ
セージを保存するメッセージ保存手段と、このメッセー
ジ保存手段により保存された前記相手側からの転送音声
メッセージを前記電話網に接続された当方側の端末に対
して再生するメッセージ再生手段とを備えたことを特徴
とする。
According to a second aspect of the present invention, there is provided a call assisting device for a call system according to the first aspect of the present invention, further comprising a message transfer unit of the call assisting device on the other side. Message storage means for storing the transferred voice message, and message playback means for playing back the transfer voice message from the other party stored by the message storage means to a terminal on the other side connected to the telephone network And characterized in that:

【0012】このような、本発明の請求項2に係る通話
システムの通話補助装置では、相手側の通話補助装置の
メッセージ転送手段により転送されて来る音声メッセー
ジがメッセージ保存手段により保存され、この保存され
た相手側からの転送音声メッセージがメッセージ再生手
段により前記電話網に接続された当方側の端末に対して
再生されるので、通信網上での通話品質の低下により、
リアルタイムな通話が困難となった場合でも、必要最低
限のメッセージを互いに相手端末の利用者に伝えること
ができることになる。
[0012] According to the second aspect of the present invention, the voice message transferred by the message transfer unit of the other party's call auxiliary device is stored by the message storage unit. The transferred voice message from the called party is reproduced by the message reproducing means to the terminal on the local side connected to the telephone network.
Even when real-time communication becomes difficult, the minimum necessary messages can be transmitted to the users of the partner terminals.

【0013】また、本発明の請求項3に係る通話システ
ムの通話補助装置は、前記請求項2に係る通話システム
の通話補助装置にあって、さらに、前記通信網を介した
リアルタイムの通話が行なわれる際に、当方側の端末電
話番号と相手側の端末電話番号とを格納する端末番号格
納手段と、前記メッセージ再生手段により前記電話網に
接続された当方側の端末に対する音声メッセージの再生
が行なわれている状態において、相手側の通話補助装置
からリアルタイム通話のための端末接続要求が受信され
た場合には、該接続要求元の端末電話番号と前記端末番
号格納手段に格納されている相手側の端末電話番号との
一致及び該接続要求先の端末電話番号と前記端末番号格
納手段に格納されている当方側の端末電話番号との一致
を判断する接続端末判断手段と、この接続端末判断手段
により一致判断がなされた場合には、前記通信網を介し
たリアルタイムの通話を再開する通話再開手段とを備え
たことを特徴とする。
According to a third aspect of the present invention, there is provided a call assisting device for a call system according to the second aspect of the present invention, further comprising a real-time call through the communication network. A terminal number storage means for storing the terminal telephone number of the user and a terminal telephone number of the other party, and the message reproducing means reproduces a voice message to the terminal on the side of the telephone connected to the telephone network. When a terminal connection request for real-time communication is received from the other party's call assist device in the state where the connection is made, the connection request source terminal telephone number and the other party's terminal number stored in the terminal number storage means are received. And a connection terminal for determining whether or not the terminal telephone number of the connection request destination matches the terminal telephone number of our side stored in the terminal number storage means. A determining means, when the matching determination by the connection terminal determination means is made, characterized in that a resume call resuming means real-time call through the communication network.

【0014】このような、本発明の請求項3に係る通話
システムの通話補助装置では、通信網を介したリアルタ
イムの通話が行なわれる際には、当方側の端末電話番号
と相手側の端末電話番号とが端末番号格納手段により格
納され、前記メッセージ再生手段により前記電話網に接
続された当方側の端末に対する音声メッセージの再生が
行なわれている状態において、相手側の通話補助装置か
らリアルタイム通話のための端末接続要求が受信された
場合には、該接続要求元の端末電話番号と前記端末番号
格納手段に格納されている相手側の端末電話番号との一
致及び該接続要求先の端末電話番号と前記端末番号格納
手段に格納されている当方側の端末電話番号との一致が
接続端末判断手段により判断され、これにより一致判断
がなされた場合には、前記通信網を介したリアルタイム
の通話が通話再開手段により再開されるので、当方側の
端末からの再度の掛け直しを行なわずとも、相手端末か
らの発呼があれば直ちに再接続できることになる。
[0014] In the above-described communication auxiliary apparatus of the communication system according to the third aspect of the present invention, when a real-time telephone call is made via the communication network, the terminal telephone number of the other party and the terminal telephone of the other party are used. The number and the number are stored by the terminal number storage means, and while the voice message is being played back to the terminal on the other side connected to the telephone network by the message playback means, the other party's call assistance device can perform a real-time call. If a terminal connection request for the connection is received, the terminal telephone number of the connection request source matches the terminal telephone number of the other party stored in the terminal number storage means, and the terminal telephone number of the connection request destination And the terminal number stored on the terminal number storage means is determined by the connection terminal determination means, and if a match is determined, Since the real-time call via the communication network is resumed by the call resuming means, it is possible to reconnect immediately if there is a call from the partner terminal, without having to restart the call from the terminal on the other side. .

【0015】また、本発明の請求項4に係る通話システ
ムの通話補助装置は、前記請求項1乃至請求項3の何れ
か1項に係る通話システムの通話補助装置にあって、さ
らに、前記通信網を介したリアルタイムの通話が行なわ
れている状態において、直前一定時間の通話音声を常に
更新して保存する直近音声保存手段を備え、前記メッセ
ージ転送手段を、前記メッセージ取得手段により取得さ
れた当方側の端末からの音声メッセージに前記直近音声
保存手段により保存された直前一定時間の通話音声を付
加した音声メッセージを非リアルタイムのプロトコルに
変換して相手側の通信補助装置に転送するメッセージ転
送手段としたことを特徴とする。
According to a fourth aspect of the present invention, there is provided a call assistance device for a call system according to any one of the first to third aspects, further comprising: In a state where a real-time call through a network is being performed, the apparatus further includes a latest voice storage unit that constantly updates and stores a call voice for a predetermined period of time immediately before the message transfer unit, Message transfer means for converting a voice message obtained by adding a call voice for a predetermined time immediately before stored by the latest voice storage means to a voice message from the terminal on the side of the terminal to a non-real-time protocol and transferring the same to a communication auxiliary device on the other side; It is characterized by having done.

【0016】このような、本発明の請求項4に係る通話
システムの通話補助装置では、通信網を介したリアルタ
イムの通話が行なわれている状態においては、直前一定
時間の通話音声が常に更新されて直近音声保存手段によ
り保存され、前記メッセージ取得手段により取得された
当方側の端末からの音声メッセージには前記直近音声保
存手段により保存された直前一定時間の通話音声が付加
され、この直近の通話音声が付加された音声メッセージ
がメッセージ転送手段により非リアルタイムのプロトコ
ルに変換されて相手側の通信補助装置に転送されるの
で、相手端末の利用者に対し正確にそのメッセージ内容
を伝えることができることになる。
[0016] In the above-described communication auxiliary device of the communication system according to the fourth aspect of the present invention, when a real-time communication is being performed through the communication network, the communication voice for a predetermined time immediately before is constantly updated. The voice message from the terminal on our side obtained by the latest voice storage means and stored by the latest voice storage means is added with the call voice for a predetermined time immediately before stored by the latest voice storage means. Since the voice message to which the voice is added is converted into a non-real-time protocol by the message transfer means and transferred to the communication auxiliary device on the partner side, the message content can be accurately transmitted to the user of the partner terminal. Become.

【0017】[0017]

【発明の実施の形態】以下図面により本発明の実施の形
態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】(第1実施形態)図1は本発明の第1実施
形態に係るインターネット電話システムの全体構成を示
す図である。
(First Embodiment) FIG. 1 is a diagram showing the overall configuration of an Internet telephone system according to a first embodiment of the present invention.

【0019】このインターネット電話システムは、一方
の電話端末11Aと他方の電話端末11Bとの間が、公
衆電話回線12A,一方のゲートウエイ装置13A,イ
ンターネット(パケット網)14,他方のゲートウエイ
装置13B,公衆電話回線12Bを経由して接続され
る。
In this Internet telephone system, a public telephone line 12A, one gateway device 13A, the Internet (packet network) 14, another gateway device 13B, and a public telephone line 12A are connected between one telephone terminal 11A and the other telephone terminal 11B. The connection is made via the telephone line 12B.

【0020】図2は前記インターネット電話システムに
おけるゲートウエイ装置13A(13B)の電子回路の
構成を示すブロック図である。
FIG. 2 is a block diagram showing an electronic circuit configuration of the gateway device 13A (13B) in the Internet telephone system.

【0021】このゲートウエイ装置13A(13B)
は、公衆電話回線12A(12B)に接続された電話回
線インターフェイス21と、インターネット14に接続
されパケット網インターフェイス22とを備え、電話回
線インターフェイス21には、電話回線入力リングバッ
ファ23及び電話回線出力リングバッファ24が接続さ
れる。
This gateway device 13A (13B)
Has a telephone line interface 21 connected to the public telephone line 12A (12B) and a packet network interface 22 connected to the Internet 14. The telephone line interface 21 has a telephone line input ring buffer 23 and a telephone line output ring. The buffer 24 is connected.

【0022】前記電話回線入力リングバッファ23に
は、周波数解析部25及び音声符号化部26が接続さ
れ、周波数解析部25の出力は主制御部27に接続さ
れ、また、音声符号化部26の出力は、直近音声保存リ
ングバッファ28を通して主制御部27に、及び直接に
主制御部27に接続される。
The telephone line input ring buffer 23 is connected to a frequency analysis unit 25 and a voice coding unit 26, and the output of the frequency analysis unit 25 is connected to a main control unit 27. The output is connected to the main control unit 27 through the latest sound storage ring buffer 28 and directly to the main control unit 27.

【0023】主制御部27と電話回線出力リングバッフ
ァ24との間には、音声復号部29が接続される。
An audio decoding unit 29 is connected between the main control unit 27 and the telephone line output ring buffer 24.

【0024】一方、パケット網インターフェイス22と
前記主制御部27との間、及び前記音声復号部29との
間には、パケット入力リングバッファ30が接続され、
パケット網インターフェイス22と前記主制御部27と
の間、及び前記音声符号化部26との間には、パケット
出力リングバッファ31が接続される。
On the other hand, a packet input ring buffer 30 is connected between the packet network interface 22 and the main control unit 27 and between the voice decoding unit 29 and
A packet output ring buffer 31 is connected between the packet network interface 22 and the main control unit 27 and between the voice encoding unit 26.

【0025】また、前記パケット網インターフェイス2
2には、パケット衝突カウンタ32が接続され、このパ
ケット衝突カウンタ32の出力は、前記主制御部27に
接続される。
The packet network interface 2
2 is connected to a packet collision counter 32, and an output of the packet collision counter 32 is connected to the main control unit 27.

【0026】そして、主制御部27には、定型音声デー
タ格納メモリ33、リモート電話番号格納メモリ34、
ローカル電話番号格納メモリ35、リモート音声メッセ
ージ格納メモリ36、ローカル音声メッセージ格納メモ
リ37が備えられる。
The main controller 27 includes a fixed voice data storage memory 33, a remote telephone number storage memory 34,
A local telephone number storage memory 35, a remote voice message storage memory 36, and a local voice message storage memory 37 are provided.

【0027】電話回線インターフェイス21は、着呼,
発呼,応答,切断の基本的な機能を備え、通話接続状態
では、電話回線12A(12B)からの入力音声を電話
回線入力リングバッファ23に順次取り込み、逆に、電
話回線出力リングバッファ24のデータを音声として電
話回線12A(12B)に向けて順次送出する。
The telephone line interface 21 receives an incoming call,
It has basic functions of calling, answering, and disconnecting. In a call connection state, the input voice from the telephone line 12A (12B) is sequentially taken into the telephone line input ring buffer 23, and conversely, the telephone line output ring buffer 24 The data is sequentially transmitted as voice to the telephone line 12A (12B).

【0028】直近音声保存リングバッファ28は、音声
符号化部26において新たに符号化された音声を順次保
存するバッファであり、読出しがなくても古い音声を順
次上書きして、一定期間以前から現時点までの会話音声
を保存する。ここでは、前記会話音声を保存する一定期
間を10秒とする。この直近音声保存リングバッファ2
8内での保存音声データは、主制御部27により読み出
し可能である。
The latest voice storage ring buffer 28 is a buffer for sequentially storing voices newly coded in the voice coding unit 26, and sequentially overwrites old voices even without reading out the voices, and the current voices are stored for a predetermined period of time. Save conversation voice up to. Here, the fixed period for storing the conversation voice is 10 seconds. This latest voice storage ring buffer 2
The stored voice data in 8 can be read by the main control unit 27.

【0029】音声符号化部26は、DSP(digital sig
nal processor)により構成され、電話回線入力リングバ
ッファ23に一定量の取り込みデータがたまる毎に読み
出し、ITU−T(International Telecommunication U
nion-Telecommunication Sector) G.729等に定め
られた音声符号化を行なうもので、符号化後のデータに
は、音声データを示すヘッダが付加されてパケット出力
リングバッファ31に書き込まれる。また、音声符号化
部26は、主制御部27からの直近音声保存リングバッ
ファ28への直近音声保存の開始・停止の指示に従い、
直近音声保存リングバッファ28への音声保存の書き込
みを行なう。
The audio encoding section 26 is a DSP (digital sig
The ITU-T (International Telecommunications U.S.A.
nion-Telecommunication Sector) 729 and the like, and a header indicating the audio data is added to the encoded data and written into the packet output ring buffer 31. In addition, the audio encoding unit 26, in accordance with an instruction from the main control unit 27 to start / stop the latest audio storage in the latest audio storage ring buffer 28,
The voice storage is written into the latest voice storage ring buffer 28.

【0030】音声復号部29は、DSPにより構成さ
れ、パケット入力リングバッファ30に書き込まれた、
音声データを示すヘッダを有するパケットの音声データ
が到着する毎にその音声データに対し、前記音声符号化
部26におけるの音声符号化に合わせた音声復号を行な
い、電話回線出力リングバッファ24に書き込む。
The audio decoding unit 29 is constituted by a DSP, and is written in the packet input ring buffer 30.
Every time voice data of a packet having a header indicating voice data arrives, the voice data is subjected to voice decoding in accordance with the voice coding in the voice coding unit 26 and written into the telephone line output ring buffer 24.

【0031】周波数解析部25は、DSPにより構成さ
れ、内蔵する信号処理ソフトウエアによりプッシュトー
ン信号を識別し、主制御部27の要求により識別結果を
出力する。
The frequency analysis unit 25 is constituted by a DSP, identifies a push tone signal by built-in signal processing software, and outputs an identification result at the request of the main control unit 27.

【0032】パケット網インターフェイス22は、独立
したプロセッサにより構成され、パケット出力リングバ
ッファ31の内容をインターネット(パケット網)14
に順次出力し、該インターネット(パケット網)14か
ら取り込んだパケットをパケット入力リングバッファ3
0に順次保存する。ここでは、パケット送出先のアドレ
スは、単純に一方,他方のゲートウエイ装置13A,1
3Bが互いに相手を指定することとする。また、インタ
ーネット(パケット網)14は、通信プロトコルがTC
P/IPであり、リアルタイム通話のための音声パケッ
トは、UDPトランスポート層を、その他のパケットは
TCPトランスポート層を利用して送信する。
The packet network interface 22 is constituted by an independent processor, and transfers the contents of the packet output ring buffer 31 to the Internet (packet network) 14.
To the packet input ring buffer 3.
Store sequentially to 0. Here, the destination address of the packet is simply one of the gateway devices 13A, 13A, 1
3B shall designate each other. The Internet (packet network) 14 has a communication protocol of TC.
In P / IP, voice packets for real-time communication are transmitted using the UDP transport layer, and other packets are transmitted using the TCP transport layer.

【0033】パケット衝突カウンタ32は、インターネ
ット(パケット網)14でのパケット衝突を検知した回
数をカウントし、該インターネット(パケット網)14
の混雑状況を検知するもので、主制御部27では、一定
時間毎にこのパケット衝突のカウンタ値をチェックする
ことで、混雑状況の変化データを得ることができる。
The packet collision counter 32 counts the number of times that a packet collision in the Internet (packet network) 14 is detected.
The main control unit 27 checks the counter value of the packet collision at regular time intervals to obtain congestion state change data.

【0034】定型音声データ格納メモリ33には、ユー
ザに対するアナウンスやプロンプトのための定型音声メ
ッセージデータが、必要な種類のメッセージ数だけ予め
格納される。
In the fixed voice data storage memory 33, fixed voice message data for announcements and prompts to the user is stored in advance by a required number of types of messages.

【0035】リモート電話番号格納メモリ34には、こ
のゲートウエイ装置13A(13B)からインターネッ
ト(パケット網)14,相手側のゲートウエイ装置13
B(13A),電話回線12B(12A)を経由して接
続される相手側の電話端末11B(11A)の電話番号
が格納される。
The remote telephone number storage memory 34 stores the Internet (packet network) 14 from the gateway device 13A (13B) and the gateway device 13 on the other end.
B (13A), the telephone number of the telephone terminal 11B (11A) of the other party connected via the telephone line 12B (12A) is stored.

【0036】ローカル電話番号格納メモリ35には、こ
のゲートウエイ装置13A(13B)側の電話回線11
A(11B)を経由して接続される当方側の電話端末1
1A(11B)の電話番号が格納される。
The local telephone number storage memory 35 stores the telephone line 11 of the gateway device 13A (13B).
Our telephone terminal 1 connected via A (11B)
The telephone number of 1A (11B) is stored.

【0037】リモート音声メッセージ格納メモリ36に
は、このゲートウエイ装置13A(13B)からインタ
ーネット(パケット網)14,相手側のゲートウエイ装
置13B(13A),電話回線12B(12A)を経由
して接続される相手側の電話端末11B(11A)から
入力された当方側電話端末11A(11B)に対する伝
言メッセージが格納される。
The remote voice message storage memory 36 is connected from the gateway device 13A (13B) via the Internet (packet network) 14, the other gateway device 13B (13A), and the telephone line 12B (12A). The message message for the local telephone terminal 11A (11B) input from the remote telephone terminal 11B (11A) is stored.

【0038】ローカル音声メッセージ格納メモリ37に
は、このゲートウエイ装置13A(13B)側の電話回
線11A(11B)を経由して接続される当方側の電話
端末11A(11B)から入力された相手側電話端末1
1B(11A)に対する伝言メッセージが格納される。
The local voice message storage memory 37 stores the other party's telephone input from the telephone terminal 11A (11B) on the other side connected via the telephone line 11A (11B) on the side of the gateway device 13A (13B). Terminal 1
The message message for 1B (11A) is stored.

【0039】主制御部27は、CPU(センタプロセッ
サユニット),ワークメモリ,及びプログラムメモリか
ら構成され、このゲートウエイ装置13A(13B)内
の回路各部の動作を制御するもので、プログラムメモリ
に予め記憶された通話処理プログラムに応じて、図3に
示す状態遷移に従った通話制御処理が実行される。
The main controller 27 comprises a CPU (center processor unit), a work memory, and a program memory, and controls the operation of each circuit in the gateway device 13A (13B), and is stored in advance in the program memory. The call control process according to the state transition shown in FIG. 3 is executed according to the performed call processing program.

【0040】次に、前記構成によるインターネット電話
システムの動作について説明する。
Next, the operation of the Internet telephone system having the above configuration will be described.

【0041】図3は前記インターネット電話システムの
ゲートウエイ装置13A(13B)における動作全体の
流れを示す状態遷移図である。
FIG. 3 is a state transition diagram showing the entire operation flow in the gateway device 13A (13B) of the Internet telephone system.

【0042】初期化処理(Ja)では、回路各部の初期
化が行なわれ、待機処理(Jb)に移行される。
In the initialization process (Ja), each part of the circuit is initialized, and the process proceeds to a standby process (Jb).

【0043】待機処理(Jb)では、着信検出及び接続
要求パケットの受信検出が行なわれ、当方側の電話端末
11A(11B)から相手側の電話端末11B(11
A)に電話を掛ける際に、該当方側の電話端末11A
(11B)からその電話回線12A(12B)を介し着
信が検出された場合には、着信処理(Jc:図4参照)
に移行され、相手側の電話端末11B(11A)から当
方側の電話端末11A(11B)に電話を掛けた際に、
相手側のゲートウエイ装置13B(13A)からインタ
ーネット(パケット網)14を介し接続要求パケットが
受信された場合には、発信処理(Jd:図5参照)に移
行される。
In the standby process (Jb), the incoming call is detected and the connection request packet is detected, and the telephone terminal 11A (11B) on the other side is switched to the telephone terminal 11B (11
When making a call to A), the corresponding telephone terminal 11A
When an incoming call is detected from (11B) via the telephone line 12A (12B), an incoming call process (Jc: see FIG. 4)
When a call is made from the other party's telephone terminal 11B (11A) to the other party's telephone terminal 11A (11B),
When a connection request packet is received from the gateway device 13B (13A) of the other party via the Internet (packet network) 14, the process proceeds to a transmission process (Jd: see FIG. 5).

【0044】図4は前記インターネット電話システムの
ゲートウエイ装置13A(13B)における着信処理
(Jc)を示すフローチャートである。
FIG. 4 is a flowchart showing an incoming call process (Jc) in the gateway device 13A (13B) of the Internet telephone system.

【0045】当方側の電話端末11A(11B)から相
手側の電話端末11B(11A)に電話を掛ける際に、
該当方側の電話端末11A(11B)からその電話回線
12A(12B)を介し着信が検出されると、当該発呼
元である当方側端末11A(11B)の電話番号が抽出
されてローカル電話番号格納メモリ35に格納され、電
話回線インターフェイス21により当方側の電話回線1
2A(12B)を介した当該電話端末11A(11B)
と回線接続される(ステップc1,c2)。
When a call is made from our telephone terminal 11A (11B) to the other telephone terminal 11B (11A),
When an incoming call is detected from the corresponding telephone terminal 11A (11B) via the telephone line 12A (12B), the telephone number of the calling terminal 11A (11B), which is the caller, is extracted and the local telephone number is extracted. It is stored in the storage memory 35 and the telephone line 1
The telephone terminal 11A (11B) via 2A (12B)
(Steps c1 and c2).

【0046】すると、前記当方側の電話端末11A(1
1B)からこのゲートウエイ装置13A(13B)への
着信に伴ない、相手側端末11B(11A)の電話番号
がサブアドレスとして指定入力されているか否か判断さ
れ、指定入力されている場合には、当該相手側端末11
B(11A)の電話番号がリモート電話番号格納メモリ
34に書き込まれる(ステップc3→c4)。
Then, the telephone terminal 11A (1
1B), it is determined whether or not the telephone number of the partner terminal 11B (11A) has been designated and input as a sub-address along with the incoming call to the gateway device 13A (13B). Counterpart terminal 11
The telephone number of B (11A) is written into the remote telephone number storage memory 34 (step c3 → c4).

【0047】一方、相手側端末11B(11A)の電話
番号がサブアドレスとして指定入力されてない場合に
は、定型音声データ格納メモリ33に予め記憶されてい
る相手端末番号の入力要求メッセージ「相手の電話番号
を入力してください」が読み出されると共に、音声復号
部29にて順次音声データに復号され、電話回線インタ
ーフェイス21から当方側の電話端末11A(11B)
に対して送出される(ステップc3→c5)。
On the other hand, if the telephone number of the terminal 11B (11A) has not been designated and input as the subaddress, the input request message of the terminal number stored in the fixed voice data storage memory 33 in advance is displayed as "the telephone of the other party". "Please enter a number" is read out, and is sequentially decoded into audio data by the audio decoding unit 29, and the telephone terminal 11A (11B) on the local side is transmitted from the telephone line interface 21.
(Step c3 → c5).

【0048】そして、前記当方側の電話端末11A(1
1B)から電話回線12A(12B)を介し、このゲー
トウエイ装置13A(13B)の電話回線入力リングバ
ッファ23に対してプッシュトーンによる相手端末11
B(11A)の電話番号が入力されると、周波数解析部
25によりDTFM(Dual Tone Multi Frequency) 信号
が解析されて相手端末11B(11A)の電話番号が取
得され、リモート電話番号格納メモリ34に書き込まれ
る(ステップc6)。
Then, the telephone terminal 11A (1
1B) via the telephone line 12A (12B) to the telephone line input ring buffer 23 of the gateway device 13A (13B) by a push tone.
When the telephone number of B (11A) is input, the frequency analysis unit 25 analyzes a DTFM (Dual Tone Multi Frequency) signal to obtain the telephone number of the partner terminal 11B (11A). It is written (step c6).

【0049】すると、前記リモート電話番号格納メモリ
34に格納された相手端末11B(11A)の電話番号
と、前記ローカル電話番号メモリ35に格納された当方
側端末11A(11B)の電話番号を含み、接続要求を
示すヘッダを付加したTCPパケットである接続要求パ
ケットが生成されてパケット網出力リングバッファ31
に書き込まれ、パケット網インターフェイス22からイ
ンターネット(パケット網)14に出力されて相手側の
ゲートウエイ装置13B(13A)へ送出される(ステ
ップc7)。そして、通話処理(Je)へ移行される
(ステップc8)。
Then, the telephone number of the partner terminal 11B (11A) stored in the remote telephone number storage memory 34 and the telephone number of the terminal 11A (11B) stored in the local telephone number memory 35 are included. A connection request packet, which is a TCP packet to which a header indicating a connection request is added, is generated, and the packet network output ring buffer 31
And is output from the packet network interface 22 to the Internet (packet network) 14 and transmitted to the gateway device 13B (13A) on the other side (step c7). Then, the process proceeds to a call process (Je) (step c8).

【0050】図5は前記インターネット電話システムの
ゲートウエイ装置13A(13B)における発信処理
(Jd)を示すフローチャートである。
FIG. 5 is a flow chart showing a calling process (Jd) in the gateway device 13A (13B) of the Internet telephone system.

【0051】相手側の電話端末11B(11A)から当
方側の電話端末11A(11B)に電話を掛けた際に、
相手側のゲートウエイ装置13B(13A)からインタ
ーネット(パケット網)14を介し接続要求パケットが
受信されると、この接続要求パケットに含まれる相手端
末11B(11A)の電話番号が抽出され、リモート電
話番号格納メモリ34に書き込まれる(ステップd
1)。
When a call is made from the telephone terminal 11B (11A) of the other party to the telephone terminal 11A (11B) of the other party,
When a connection request packet is received from the other gateway device 13B (13A) via the Internet (packet network) 14, the telephone number of the other terminal 11B (11A) included in the connection request packet is extracted, and the remote telephone number is extracted. The data is written to the storage memory 34 (step d).
1).

【0052】また、前記接続要求パケットに含まれる着
呼先となる当方側端末11A(11B)の電話番号が抽
出され、ローカル電話番号格納メモリ35に書き込まれ
る(ステップd2)。
The telephone number of the destination terminal 11A (11B) to be called, which is included in the connection request packet, is extracted and written into the local telephone number storage memory 35 (step d2).

【0053】すると、前記ローカル電話番号格納メモリ
35に格納された電話番号を着呼先として電話回線イン
ターフェイス21を介して電話回線12A(12B)に
対し発呼が行なわれ、着呼先である当方側の電話端末1
1A(11B)との電話回線が接続されると、通話処理
(Je)へ移行される(ステップd3,d4,d5)。
Then, a call is made to the telephone line 12A (12B) via the telephone line interface 21 with the telephone number stored in the local telephone number storage memory 35 as the call destination, and the callee, the call destination, is called. Telephone terminal 1
When the telephone line with 1A (11B) is connected, the processing shifts to the telephone call processing (Je) (steps d3, d4, d5).

【0054】通話処理(Je)では、当方側及び相手側
の各ゲートウエイ装置13A(13B)において、音声
符号化部29,音声復号部29に対して、それぞれパケ
ット入力リングバッファ30,パケット出力リングバッ
ファ31との入出力の開始が指示され、音声データを格
納したUDPパケットが各ゲートウエイ装置13A,1
3B間でインターネット(パケット網)14を経由して
相互に交換されることで、双方に接続される電話回線1
2A,12Bの先の電話端末11A,11B間で通話が
行なわれる。
In the call process (Je), the packet input ring buffer 30, the packet output ring buffer and the packet output ring buffer are transmitted to the voice encoding unit 29 and the voice decoding unit 29 in the gateway devices 13A (13B) on the communication side and the communication side, respectively. 31 is instructed to start inputting / outputting data, and a UDP packet storing audio data is transmitted to each gateway device 13A, 1A.
3B are exchanged with each other via the Internet (packet network) 14 so that the telephone lines 1 connected to both are exchanged.
A call is made between the telephone terminals 11A and 11B beyond 2A and 12B.

【0055】そして、当方の電話回線12A(12B)
を介して接続している電話端末11A(11B)におい
て通常の切断操作が行なわれた場合には、切断処理A
(Jf)に移行され、また、パケット入力リングバッフ
ァ30を監視して相手側のゲートウエイ装置13B(1
3A)から送出された相手側端末11B(11A)での
通常の切断操作に基づく切断パケットの受信が検知され
た場合には、切断処理B(Jg)に移行され、また、パ
ケット衝突カウンタ32により得られるパケット衝突カ
ウンタ値の一定期間毎の増分値が予め設定された閾値を
越えて通話品質が低下したと判定された場合には、通話
中断通知処理(Jh)に移行され、さらに、前記パケッ
ト入力リングバッファ30を監視して相手側のゲートウ
エイ装置13B(13A)から送出された該相手側ゲー
トウエイ装置13B(13A)での通話品質の低下判定
に基づく中断パケットの受信が検知された場合には、通
話中断処理(Ji)に移行される。
Then, our telephone line 12A (12B)
When a normal disconnection operation is performed on the telephone terminal 11A (11B) connected via the
(Jf), and also monitors the packet input ring buffer 30 and checks the gateway device 13B (1
When the reception of the disconnection packet based on the normal disconnection operation at the partner terminal 11B (11A) transmitted from 3A) is detected, the processing shifts to disconnection processing B (Jg). When it is determined that the call quality has decreased because the increment value of the obtained packet collision counter value at regular intervals exceeds a preset threshold value, the process proceeds to a call interruption notification process (Jh). When the input ring buffer 30 is monitored and the reception of the interruption packet based on the determination of the decrease in the communication quality at the partner gateway device 13B (13A) transmitted from the partner gateway device 13B (13A) is detected. Then, the process proceeds to a call interruption process (Ji).

【0056】切断処理A(Jf)では、当方側の電話端
末11A(11B)での通常の切断を示すヘッダを付加
したTCPパケットである切断パケットが生成されてパ
ケット出力リングバッファ31へ書き込まれ、インター
ネット14を経由して相手側のゲートウエイ装置13B
(13A)へ送出される。そして、切断処理B(Jg)
に移行される。
In the disconnection process A (Jf), a disconnection packet, which is a TCP packet to which a header indicating a normal disconnection in the telephone terminal 11A (11B) on the local side is added, is generated and written to the packet output ring buffer 31. Gateway device 13B on the other side via the Internet 14
(13A). And the cutting process B (Jg)
Will be migrated to.

【0057】切断処理B(Jg)では、当方側の電話端
末11A(11B)において通常の切断操作が行なわ
れ、その切断パケットが生成送出された場合、又は、パ
ケット入力リングバッファ30の監視により相手側のゲ
ートウエイ装置13B(13A)から送出された相手側
端末11B(11A)での通常の切断操作に基づく切断
パケットの受信が検知された場合において、音声符号化
部26,音声復号部29に対してパケット入力リングバ
ッファ30,パケット出力リングバッファ31との入出
力動作の停止が指示され、電話回線12A(12B)を
介した当方側の電話端末11A(11B)との接続が断
たれる。この後、前記待機処理(Jb)に移行される。
In the disconnection process B (Jg), a normal disconnection operation is performed in the telephone terminal 11A (11B) on the local side, and the disconnection packet is generated and transmitted, or the other party is monitored by monitoring the packet input ring buffer 30. When the reception of the disconnection packet based on the normal disconnection operation at the other terminal 11B (11A) transmitted from the gateway device 13B (13A) on the other side is detected, the audio encoding unit 26 and the audio decoding unit 29 Therefore, an instruction to stop the input / output operation with the packet input ring buffer 30 and the packet output ring buffer 31 is issued, and the connection with the telephone terminal 11A (11B) on the local side via the telephone line 12A (12B) is disconnected. Thereafter, the process shifts to the standby process (Jb).

【0058】通話中断通知処理(Jh)では、パケット
衝突カウンタ32により得られるパケット衝突カウンタ
値の一定期間毎の増分値が予め設定された閾値を越えて
通話品質が低下したと判定された場合に、当方側の電話
端末11A(11B)との切断を示すTCPパケットで
ある中断パケットが生成されてパケット出力リングバッ
ファ31へ書き込まれ、インターネット14を経由して
相手側のゲートウエイ装置13B(13A)へ送出され
る。そして、通話中断処理(Ji)に移行される。
In the call interruption notifying process (Jh), when it is determined that the call quality has deteriorated because the increment value of the packet collision counter value obtained by the packet collision counter 32 for each predetermined period exceeds a preset threshold value. An interrupt packet, which is a TCP packet indicating disconnection from the telephone terminal 11A (11B) on the local side, is generated and written into the packet output ring buffer 31, and is transmitted via the Internet 14 to the gateway apparatus 13B (13A) on the remote side. Sent out. Then, the process proceeds to a call interruption process (Ji).

【0059】通話中断処理(Ji)では、当方側での通
話品質の低下判定に基づき、中断パケットが生成送出さ
れた場合、又は、パケット入力リングバッファ30の監
視により相手側ゲートウエイ装置13B(13A)での
通話品質の低下判定に基づく中断パケットの受信が検知
された場合において、音声符号化部26,音声復号部2
9に対してパケット入力リングバッファ30,パケット
出力リングバッファ31との入出力動作の停止が指示さ
れると共に、パケット網インターフェイス22において
専用のポート番号を割り当てたTCPポートがオープン
され、相手側ゲートウエイ装置13B(13A)から送
出される音声メッセージデータの受信が開始される。
In the call interruption processing (Ji), when the interruption packet is generated and transmitted based on the judgment of the decrease in the communication quality on our side, or by monitoring the packet input ring buffer 30, the other party's gateway device 13B (13A) When the reception of the interrupted packet based on the determination of the decrease in the communication quality is detected, the speech encoding unit 26 and the speech decoding unit 2
9, the input / output operation of the packet input ring buffer 30 and the packet output ring buffer 31 is instructed to stop, and a TCP port to which a dedicated port number is allocated is opened in the packet network interface 22, and the other gateway device is opened. Reception of voice message data transmitted from 13B (13A) is started.

【0060】この相手側ゲートウエイ装置13B(13
A)からの音声メッセージデータの受信処理では、音声
終了コードの受信判断がなされるまで、受信音声メッセ
ージを格納したTCPパケットの、リモート音声メッセ
ージ格納メモリ36に対する書き込みが行なわれる。そ
して、メッセージ処理(Jj:図6参照)に移行され
る。
This partner gateway device 13B (13
In the process of receiving the voice message data from A), the TCP packet storing the received voice message is written into the remote voice message storage memory 36 until the voice termination code is determined to be received. Then, the process proceeds to message processing (Jj: see FIG. 6).

【0061】図6は前記インターネット電話システムの
ゲートウエイ装置13A(13B)におけるメッセージ
処理(Jj)を示すフローチャートである。
FIG. 6 is a flowchart showing message processing (Jj) in the gateway device 13A (13B) of the Internet telephone system.

【0062】前記通話中断処理(Ji)において、当方
側又は相手側での通話品質の低下判定に基づく入出力動
作の停止、及び相手側ゲートウエイ装置13B(13
A)からの音声メッセージデータの受信開始が行なわれ
ると、定型音声データメモリ33に予め録音開始アナウ
ンスとして記憶されている符号化音声データである通話
中断に伴なう相手側への伝言メッセージの入力要求「イ
ンターネット混雑のため通話を中止します。メッセージ
をお預かりしますのでお話しください」が読み出されて
音声復号部29にて順次音声データに復号され、電話回
線インターフェイス21から当方側の電話端末11A
(11B)に対して送出される(ステップj1)。
In the call interruption processing (Ji), the input / output operation is stopped based on the judgment of the decrease in the call quality on the caller or the caller, and the caller gateway device 13B (13)
When the reception of the voice message data from A) is started, a message message is input to the other party due to the interruption of the call, which is the coded voice data stored in advance in the fixed voice data memory 33 as the recording start announcement. The request "Call is interrupted due to Internet congestion. Please leave a message. Please speak." The voice decoding unit 29 sequentially decodes the data into voice data. 11A
(11B) (step j1).

【0063】そして、当方側の電話端末11A(11
B)から送られて電話回線入力リングバッファ23に順
次取得される当方側端末11A(11B)から相手側端
末11B(11A)への伝言メッセージの音声データ
は、音声符号化部26を介して符号化音声データに変換
され、ローカル音声メッセージ格納メモリ37に保存さ
れる(ステップj2)。
Then, the telephone terminal 11A (11
B), the voice data of the message from the terminal 11A (11B) to the partner terminal 11B (11A), which is sequentially acquired by the telephone line input ring buffer 23, is encoded through the voice encoding unit 26. The converted voice data is stored in the local voice message storage memory 37 (step j2).

【0064】そして、当方側の電話端末11A(11
B)より、伝言メッセージの入力終了をプッシュトーン
で示すDTMF信号が入力されたことが周波数解析部2
5により解析されて検出されると、前記ローカル音声メ
ッセージ格納メモリ37に対する伝言メッセージの保存
が終了され、インターネット(パケット網)14を介し
通話先となっていた相手側ゲートウエイ装置13B(1
3A)の専用のポート番号を割り当てたTCPポートが
オープンされ、直近音声保存リングバッファ28に保存
されている直前10秒間の符号化通話音声データを付加
した前記ローカル音声メッセージ格納メモリ37に保存
された当方側端末11A(11B)から相手側端末11
B(11A)への符号化音声メッセージと、音声終了コ
ードが、順次TCPパケット化されてパケット出力リン
グバッファ31に書き込まれ、相手側のゲートウエイ装
置13B(13A)へ送信される(ステップj3→j
4)。
Then, the telephone terminal 11A (11
B) indicates that the input of the DTMF signal indicating the end of the input of the message message by the push tone is performed by the frequency analyzer 2.
5, the storage of the message in the local voice message storage memory 37 is completed, and the other party's gateway device 13B (1), which has been the communication destination via the Internet (packet network) 14, is called.
The TCP port to which the dedicated port number of 3A) is allocated is opened, and is stored in the local voice message storage memory 37 to which the encoded voice data for the immediately preceding 10 seconds stored in the latest voice storage ring buffer 28 is added. From the terminal 11A (11B) on the other side to the terminal 11 on the other side
The encoded voice message to B (11A) and the voice end code are sequentially TCP-packetized, written to the packet output ring buffer 31, and transmitted to the gateway device 13B (13A) on the other side (step j3 → j).
4).

【0065】すると、相手側から当方側に対するTCP
パケット化された伝言メッセージの受信待ち処理(J
k)に移行される。
Then, TCP from the other party to this party
Waiting for packetized message message reception (J
k).

【0066】なお、このメッセージ処理の実行中におい
て、当方側電話端末11A(11B)が切断された場合
には、コールバック処理(Jm:図7参照)に移行され
る。
If the telephone terminal 11A (11B) is disconnected during the execution of the message processing, the processing shifts to a callback processing (Jm: see FIG. 7).

【0067】受信待ち処理(Jk)では、前記通話中断
処理(Ji)において行なわれた、相手側ゲートウエイ
装置13B(13A)から送出される音声メッセージデ
ータの受信開始後、20秒経過する間に、当該相手側か
らのTCPパケット化された伝言メッセージの受信保存
が終了した場合には、受信メッセージ再生処理(Jl:
図8参照)に移行され、一方、インターネット(パケッ
ト網)14の混雑により相手側からのTCPパケット化
された伝言メッセージが届かず20秒経過した場合に
は、コールバック処理(Jm:図7参照)へ移行され
る。
In the reception waiting process (Jk), during the elapse of 20 seconds after the start of the reception of the voice message data transmitted from the partner gateway device 13B (13A), which was performed in the call interruption process (Ji), When the receiving and storing of the TCP packetized message from the other party is completed, the received message is reproduced (Jl:
On the other hand, if 20 seconds have elapsed without the arrival of the message in the form of a TCP packet from the other party due to the congestion of the Internet (packet network) 14, the callback processing (Jm: see FIG. 7) ).

【0068】図7は前記インターネット電話システムの
ゲートウエイ装置13A(13B)におけるコールバッ
ク処理(Jm)を示すフローチャートである。
FIG. 7 is a flowchart showing a callback process (Jm) in the gateway device 13A (13B) of the Internet telephone system.

【0069】前記メッセージ処理(Jj)による当方側
電話端末11A(11B)からの伝言メッセージの取
得,保存,パケット化送信の実行中において、当方側電
話端末11A(11B)が切断された場合、又は、前記
受信待ち処理(Jk)において、インターネット(パケ
ット網)14の混雑により相手側からのTCPパケット
化された伝言メッセージが届かず20秒経過した場合
に、このコールバック処理(Jm)に移行されると、当
方側電話端末11A(11B)との電話回線12A(1
3A)が一旦切断され、この後、前記相手側端末11B
(11A)から当方側端末11A(11B)に対するT
CPパケット化された伝言メッセージの受信,保存が終
了するまで待機される(ステップm1,m2)。
During the execution of the message processing (Jj) for acquiring, storing, and packetizing the message from the telephone terminal 11A (11B), if the telephone terminal 11A (11B) is disconnected, or In the reception waiting process (Jk), if 20 seconds have elapsed since the message message converted into the TCP packet from the other party has not arrived due to the congestion of the Internet (packet network) 14, the process proceeds to the callback process (Jm). Then, the telephone line 12A (1) with our telephone terminal 11A (11B)
3A) is temporarily disconnected, and thereafter, the counterpart terminal 11B is disconnected.
T from (11A) to our terminal 11A (11B)
The process waits until the reception and storage of the CP packetized message message is completed (steps m1 and m2).

【0070】そして、前記相手側からのTCPパケット
化された伝言メッセージの受信及びリモート音声メッセ
ージ格納メモリ36に対する保存が終了されると、ロー
カル電話番号格納メモリ35に格納されている当方側端
末11A(11B)の電話番号を着呼先として電話回線
インターフェイス21を介し電話回線12A(12B)
への発呼が行なわれる(ステップm2→m3)。
When the reception of the TCP packetized message message from the other party and the storage in the remote voice message storage memory 36 are completed, the local terminal 11A ( The telephone line 12A (12B) via the telephone line interface 21 with the telephone number of 11B) as a destination.
Is made (step m2 → m3).

【0071】そして、当方側電話端末11A(11B)
との電話回線12A(12B)の接続が再び行なわれる
と、受信メッセージ再生処理(Jl:図8参照)に移行
される(ステップm4→m5)。
Then, our telephone terminal 11A (11B)
When the telephone line 12A (12B) is connected again, the process proceeds to a received message reproduction process (Jl: see FIG. 8) (step m4 → m5).

【0072】図8は前記インターネット電話システムの
ゲートウエイ装置13A(13B)における受信メッセ
ージ再生処理(Jl)を示すフローチャートである。
FIG. 8 is a flowchart showing a received message reproduction process (Jl) in the gateway device 13A (13B) of the Internet telephone system.

【0073】前記受信待ち処理(Jk)を経て、相手側
からのTCPパケット化された伝言メッセージの受信及
びリモート音声メッセージ格納メモリ36に対する保存
が完了した場合、又は、前記コールバック処理(Jm:
図7参照)を経て、相手側からの伝言メッセージの受
信,保存の完了の後に当方側電話端末11A(11B)
との再接続処理が行なわれた場合に、この受信メッセー
ジ再生処理(Jl)に移行されると、定型音声データ格
納メモリ33に予め保存されている伝言再生の開始メッ
セージ「お預かりしたメッセージを再生します」が読み
出されて音声復号部29にて順次音声データに復号さ
れ、電話回線インターフェイス21から当方側の電話端
末11A(11B)に対して送出される(ステップl
1)。
After the reception waiting process (Jk), the reception of the TCP packetized message message from the other party and the storage in the remote voice message storage memory 36 are completed, or the callback process (Jm:
After the completion of the reception and storage of the message message from the other party through the process shown in FIG. 7), the telephone terminal 11A (11B) on the other party side
When the reconnection process is performed and the process proceeds to the received message playback process (Jl), the message playback start message “play back the stored message” stored in the fixed voice data storage memory 33 in advance. Is read out, sequentially decoded into audio data by the audio decoding unit 29, and transmitted from the telephone line interface 21 to the telephone terminal 11A (11B) on the local side (step l).
1).

【0074】そして、リモート音声メッセージ格納メモ
リ36に保存されている相手側端末11B(11A)か
ら当方側端末11A(11B)に対する符号化伝言メッ
セージが読み出されて音声復号部29にて順次音声デー
タに復号され、電話回線インターフェイス21から当方
側の電話端末11A(11B)に対して送出再生される
(ステップl2)。
Then, the coded message to the terminal 11A (11B) is read from the terminal 11B (11A) stored in the remote voice message storage memory 36, and the voice data is sequentially read by the voice decoder 29. And transmitted and reproduced from the telephone line interface 21 to the telephone terminal 11A (11B) on our side (step 12).

【0075】この相手側伝言メッセージの当方側電話端
末11A(11B)に対する再生処理中において、相手
側ゲートウエイ装置13Bから接続要求パケットが受信
された際に、その接続要求パケットに含まれる着呼先と
なる端末電話番号と現在ローカル電話番号格納メモリ3
5にて格納されている当方側電話端末11A(11B)
の電話番号とが一致し、且つ、前記接続要求パケットに
含まれる発呼元となる端末電話番号と現在リモート電話
番号格納メモリ34にて格納されている相手側電話端末
11B(11A)の電話番号とが一致すると判断された
場合には、再び通話処理(Je)に移行されて前記同一
の電話端末11A,11B間における再通話が可能とな
る(ステップl3→l5→l6→l7)。
During a process of reproducing the message message of the other party to the telephone terminal 11A (11B) of the other party, when a connection request packet is received from the gateway apparatus 13B of the other party, the called party included in the connection request packet is recalled. Terminal phone number and current local phone number storage memory 3
Our telephone terminal 11A (11B) stored at 5
And the telephone number of the other party's telephone terminal 11B (11A) currently stored in the remote telephone number storage memory 34. If it is determined that 一致 一致 と 一致 移行 一致 一致 一致 e 一致 通話 通話 移行 移行 移行 再 び 移行 移行 再 び 移行 移行 再 び 移行 再 び 再 び 再 び さ れ て 再 再 ス テ ッ プ ス テ ッ プ ス テ ッ プ ス テ ッ プ ス テ ッ プ ス テ ッ プ ス テ ッ プ.

【0076】一方、前記相手側ゲートウエイ装置13B
からの接続要求パケットの受信が無いままに、相手側伝
言メッセージの当方側電話端末11A(11B)に対す
る再生処理が終了されると、切断処理B(Jg)に移行
され、音声符号化部26,音声復号部29に対してパケ
ット入力リングバッファ30,パケット出力リングバッ
ファ31との入出力動作の停止が指示されると共に、電
話回線12A(12B)を介した当方側の電話端末11
A(11B)との接続が断たれ、この後、前記待機処理
(Jb)に移行される。
On the other hand, the other party gateway device 13B
When the reproduction processing of the other party's message message to the telephone terminal 11A (11B) of the other party is completed without receiving the connection request packet from, the processing is shifted to the disconnection processing B (Jg), and the voice encoding unit 26, The audio decoding unit 29 is instructed to stop the input / output operation with the packet input ring buffer 30 and the packet output ring buffer 31, and the telephone terminal 11 on the local side via the telephone line 12A (12B).
The connection with A (11B) is disconnected, and thereafter, the process proceeds to the standby processing (Jb).

【0077】図9は前記インターネット電話システムの
ゲートウエイ装置13A(13B)における具体的動作
の流れを示すシーケンス図である。
FIG. 9 is a sequence diagram showing a specific operation flow in the gateway device 13A (13B) of the Internet telephone system.

【0078】まず、第1の電話端末11Aが、第2の電
話端末11Bの電話番号を着呼サブアドレスとして指定
し、第1のゲートウエイ装置13Aを着呼電話番号とし
て発信すると(S1)、該第1の電話端末11Aが第1
のゲートウエイ装置13Aと電話回線12Aで接続され
る(S4:ステップc1,c2)。
First, when the first telephone terminal 11A designates the telephone number of the second telephone terminal 11B as an incoming call subaddress and transmits the first gateway device 13A as an incoming telephone number (S1), the first telephone terminal 11A receives the first telephone device 13A as the incoming telephone number (S1). The first telephone terminal 11A is the first
(S4: steps c1 and c2).

【0079】これと共に、第1のゲートウエイ装置13
Aでは、前記着呼サブアドレスがリモート電話番号とな
り(ステップc3→c4)、インターネット(パケット
網)14上のTCPトランスポート層を通し、第2のゲ
ートウエイ装置13Bに対して接続要求が送出される
(S2:ステップc7)。
At the same time, the first gateway device 13
In A, the called sub address becomes a remote telephone number (step c3 → c4), and a connection request is sent to the second gateway device 13B through the TCP transport layer on the Internet (packet network) 14 (step c3). S2: Step c7).

【0080】この第1のゲートウエイ装置13Aからの
接続要求を受けた第2のゲートウエイ装置13Bでは、
受けたリモート電話番号がローカル電話番号となり第2
の電話端末11Bに対して発呼され(S3:ステップd
1〜d3)、電話回線12Bを介して接続される(S
5:ステップd4)。
In the second gateway device 13B receiving the connection request from the first gateway device 13A,
The received remote telephone number becomes the local telephone number and the second
Is called to the telephone terminal 11B (S3: Step d)
1 to d3), connected via the telephone line 12B (S
5: Step d4).

【0081】これにより、第1の電話端末11Aと第2
の電話端末11Bとの間は、双方の電話回線12A,1
3Bを介しインターネット(パケット網)14を経由し
た通話状態となり、そのインターネット(パケット網)
14上での通話音声はUDPトランスポート層によって
交換される(S6:通話処理Je)。
Thus, the first telephone terminal 11A and the second
Between the two telephone lines 12A and 1B.
The communication state is established via the Internet (packet network) 14 via 3B and the Internet (packet network)
The call voice on 14 is exchanged by the UDP transport layer (S6: call processing Je).

【0082】ここで、第1のゲートウエイ装置13Aに
おいてインターネット14の混雑が検知されると、TC
Pトランスポート層を通じて中断パケットが第2のゲー
トウエイ装置13Bに送られ(S7:通話中断通知処理
Jh)、該第1,第2のゲートウエイ装置13A,13
Bでは、通話音声の交換が停止されて(通話中断処理J
i)、それぞれ対応する第1,第2の電話端末11A,
11Bに対し、伝言メッセージの入力要求「インターネ
ット混雑のため通話を中止します。メッセージをお預か
りしますのでお話しください」が再生される(S8,S
9:ステップj1)。
Here, when congestion of the Internet 14 is detected in the first gateway device 13A, the TC
The interruption packet is sent to the second gateway device 13B via the P transport layer (S7: call interruption notification process Jh), and the first and second gateway devices 13A and 13B are transmitted.
In B, the exchange of the call voice is stopped (call interruption processing J
i), corresponding first and second telephone terminals 11A,
11B, a message message input request "Call is interrupted due to Internet congestion. Please leave a message. Please speak." (S8, S
9: Step j1).

【0083】第1,第2の電話端末11A,11Bから
それぞれ対応するゲートウエイ装置13A,13Bに対
して相手端末に対する音声メッセージが受信され、各ロ
ーカルメッセージとして保存されると(S10,S1
1:ステップj2,j3)、第1,第2のゲートウエイ
装置13A,13Bでは、直近10秒の通話音声を付加
したローカル音声メッセージが互いに相手側のゲートウ
エイ装置に対し、インターネット(パケット網)14上
のTCPトランスポート層を通じて転送開始される(S
12,S15:ステップj4)。
When voice messages for the partner terminals are received from the first and second telephone terminals 11A and 11B to the corresponding gateway devices 13A and 13B, respectively, and stored as local messages (S10, S1).
1: Steps j2 and j3), the first and second gateway devices 13A and 13B send local voice messages to which the last 10 seconds of speech have been added to the other gateway devices on the Internet (packet network) 14. Transfer is started through the TCP transport layer (S
12, S15: Step j4).

【0084】ここで、第1のゲートウエイ装置13Aか
ら第2のゲートウエイ装置13Bへの音声メッセージの
転送が20秒以内に終了すると(S12:受信待ち処理
Jk)、第2のゲートウエイ装置13Bにより第2の電
話端末11Bに対して第1の電話端末11Aからの音声
メッセージが再生され(S13:ステップl1,l
2)、当該第2の電話端末11Bとの電話回線12Bが
切断される(S14:ステップl3→l4)。
Here, when the transfer of the voice message from the first gateway device 13A to the second gateway device 13B is completed within 20 seconds (S12: reception waiting process Jk), the second gateway device 13B causes the second gateway device 13B to perform the second transfer. The voice message from the first telephone terminal 11A is reproduced to the other telephone terminal 11B (S13: Steps 11 and l).
2), the telephone line 12B with the second telephone terminal 11B is disconnected (S14: steps 13 → 14).

【0085】一方、第2のゲートウエイ装置13Bから
第1のゲートウエイ装置13Aへの音声メッセージの転
送がインターネット14の混雑による通話品質が低下し
た影響で20秒を越えたため(S15:受信待ち処理J
k)、その時点で第1のゲートウエイ装置13Aでは第
1の電話端末11Aに対する電話回線12Aが一旦切断
され(S16:ステップm1)、さらに、前記第2のゲ
ートウエイ装置13Bからの音声メッセージの転送を待
って受信完了した時点で、ローカル電話番号である第1
の電話端末11Aを着呼先とした発呼が行なわれる(S
15,S17:ステップm2→m3)。
On the other hand, the transfer of the voice message from the second gateway device 13B to the first gateway device 13A took more than 20 seconds due to the influence of the deterioration of the communication quality due to the congestion of the Internet 14 (S15: reception waiting process J).
k) At that time, the first gateway device 13A once disconnects the telephone line 12A for the first telephone terminal 11A (S16: step m1), and further transfers the voice message from the second gateway device 13B. Wait for the reception to be completed and the local telephone number 1
Outgoing call is made with the telephone terminal 11A of the call destination (S)
15, S17: Step m2 → m3).

【0086】これにより、第1のゲートウエイ装置13
Aに対し第1の電話端末11Aが電話回線12Aを介し
再接続されると、前記第2のゲートウエイ装置13Bか
ら転送受信されたリモート音声メッセージである第2の
電話端末11Bからの音声メッセージが再生される(S
18,S19:ステップm4→m5)。
Thus, the first gateway device 13
When the first telephone terminal 11A is reconnected to A via the telephone line 12A, a voice message from the second telephone terminal 11B, which is a remote voice message transferred and received from the second gateway device 13B, is reproduced. (S
18, S19: Step m4 → m5).

【0087】ここで、第2の電話端末11Bの利用者が
第1の電話端末11Aの利用者に再度連絡を取ろうとす
ることで、第2のゲートウエイ装置13Bを着呼先、第
1の電話端末11Aの電話番号を着呼サブアドレスとし
て指定し発呼すると(S20)、第2のゲートウエイ装
置13Bから第1のゲートウエイ装置13Aに対して、
リモート電話番号となる第1の電話端末11Aの電話番
号を含む接続要求が、インターネット14上でTCPト
ランスポート層を通じて送信されると共に(S21)、
第2のゲートウエイ装置13Bに対し第2の電話端末1
1Bが電話回線12Bを介して接続される(S22:ス
テップc1〜c3→c4,c7)。
Here, when the user of the second telephone terminal 11B tries to contact the user of the first telephone terminal 11A again, the second gateway device 13B is called and the first telephone terminal 11B is called. When the telephone number of the terminal 11A is designated as the incoming call sub-address and a call is made (S20), the second gateway device 13B sends a call to the first gateway device 13A.
A connection request including the telephone number of the first telephone terminal 11A to be the remote telephone number is transmitted over the Internet 14 through the TCP transport layer (S21).
The second telephone terminal 1 is connected to the second gateway device 13B.
1B is connected via the telephone line 12B (S22: steps c1 to c3 → c4, c7).

【0088】こうして、第1のゲートウエイ装置13A
により第1の電話端末11Aに対して第2の電話端末1
1Bから得られた音声メッセージが再生されている間に
おいて、第2のゲートウエイ装置13Bからの接続要求
が受信され、該接続要求中に含まれるリモート電話番号
とローカル電話番号とが、音声メッセージ再生中にある
第1の電話端末11Aの電話番号と第2の電話端末11
Bの電話番号とに一致することが確認されると、当該第
1,第2の電話端末11A,11B間でのインターネッ
ト14を経由した通話が再開され、その通話音声が、U
DPトランスポート層を通じて交換される(ステップS
23:ステップl1〜l3→l5〜l7)。
Thus, the first gateway device 13A
To the first telephone terminal 11A with respect to the second telephone terminal 1
While the voice message obtained from 1B is being reproduced, a connection request from the second gateway device 13B is received, and the remote telephone number and the local telephone number included in the connection request are being reproduced. The telephone number of the first telephone terminal 11A and the second telephone terminal 11
When it is confirmed that the telephone number matches the telephone number of B, the telephone call between the first and second telephone terminals 11A and 11B via the Internet 14 is resumed, and the voice of the telephone becomes U
Exchanged through the DP transport layer (step S
23: Steps 11 to 13 → 15 to 17).

【0089】この後、第2の電話端末11Bにおいて、
その通話の終了に伴ない、第2のゲートウエイ装置13
Bに対する電話回線12Bが切断されると(S24:通
話処理Je)、該第2のゲートウエイ装置13Bから第
1のゲートウエイ装置13Aに対してTCPトランスポ
ート層を通じて切断パケットが送出され(S25:切断
処理(A)Jf)、第1のゲートウエイ装置13Aに対
する第1の電話端末11Aとの電話回線12Aは切断さ
れる(S26:切断処理(B)Jg)。そして、前記第
1,第2のゲートウエイ装置13A,13Bは待機状態
に復帰される(待機処理Jb)。
Then, at the second telephone terminal 11B,
With the end of the call, the second gateway device 13
When the telephone line 12B for B is disconnected (S24: call processing Je), a disconnection packet is transmitted from the second gateway device 13B to the first gateway device 13A through the TCP transport layer (S25: disconnection process). (A) Jf), the telephone line 12A with the first telephone terminal 11A to the first gateway device 13A is disconnected (S26: disconnection processing (B) Jg). Then, the first and second gateway devices 13A and 13B are returned to the standby state (standby processing Jb).

【0090】したがって、前記構成のインターネット電
話システムによれば、ゲートウエイ装置13A(13
B)のパケット衝突カウンタ32によりカウントされる
インターネット(パケット網)14上でのパケット衝突
回数に基づき、このインターネット14のUDPトラン
スポート層を通じた一方の電話端末11Aと他方の電話
端末11Bとの間でのリアルタイム通話の品質低下が判
定されると、当該通話品質の低下判定が成された一方の
ゲートウエイ装置13Aでは、電話網12Aを介して接
続されている一方の電話端末11Aに対して、相手端末
への伝言メッセージの入力要求音声が再生され、当該一
方の電話端末11Aから入力された伝言メッセージが取
り込まれて保存され、インターネット14上のTCPト
ランスポート層を通じ非リアルタイムで相手側のゲート
ウエイ装置13Bに送信される。またこれと共に、TC
Pパケットによる中断パケットも相手側のゲートウエイ
装置13Bに送信されることで、該相手側のゲートウエ
イ装置13Bでも他方の電話端末11Bからの伝言メッ
セージが取り込まれて保存され、TCPトランスポート
層を通じて非リアルタイムで前記一方のゲートウエイ装
置13Aに送信される。そして、各ゲートウエイ装置1
3A(13B)において、TCPパケットによる相手の
伝言メッセージが20秒以内に受信保存された場合に
は、各対応する電話端末11A(11B)に対して再生
され、20秒を経過した場合には、一旦対応する電話端
末11A(11B)との接続を断って相手の伝言メッセ
ージの受信保存が完了した後に、コールバックにより対
応する電話端末11A(11B)との再接続が行なわ
れ、伝言メッセージが再生されるので、インターネット
14上での通話品質の低下により、リアルタイムな通話
が困難となった場合でも、必要最低限のメッセージを相
手端末の利用者に確実に素早く伝えることができる。
Therefore, according to the Internet telephone system having the above configuration, the gateway device 13A (13
Based on the number of packet collisions on the Internet (packet network) 14 counted by the packet collision counter 32 of B), between one telephone terminal 11A and the other telephone terminal 11B through the UDP transport layer of the Internet 14 When it is determined that the quality of the real-time call is reduced, the one gateway device 13A that has determined that the quality of the call is lowered sends a call to the other telephone terminal 11A connected via the telephone network 12A. A voice for requesting the input of a message message to the terminal is reproduced, the message message input from the one telephone terminal 11A is fetched and stored, and the gateway device 13B of the other party is transmitted in non-real time through the TCP transport layer on the Internet 14. Sent to. In addition, TC
The interruption packet due to the P packet is also transmitted to the gateway device 13B on the other side, so that the message message from the other telephone terminal 11B is also captured and stored in the gateway device 13B on the other side, and the non-real-time message is transmitted through the TCP transport layer. Is transmitted to the one gateway device 13A. And each gateway device 1
In 3A (13B), when the message of the other party by the TCP packet is received and stored within 20 seconds, it is reproduced to each corresponding telephone terminal 11A (11B). After the connection with the corresponding telephone terminal 11A (11B) is temporarily cut off and the receiving and saving of the message message of the other party is completed, the connection with the corresponding telephone terminal 11A (11B) is made by callback and the message message is reproduced. Therefore, even when real-time communication becomes difficult due to the deterioration of the communication quality on the Internet 14, it is possible to reliably and quickly transmit the minimum necessary message to the user of the partner terminal.

【0091】また、前記構成のインターネット電話シス
テムによれば、各ゲートウエイ装置13A(13B)に
おける対応端末11A(11B)への相手メッセージの
再生中において、相手端末11Bからの掛け直しによる
相手側ゲートウエイ装置13Bからの接続要求が受信さ
れた場合には、該接続要求に含まれる相手端末電話番号
及び着呼先端末電話番号と、現在当方のゲートウエイ装
置13Aで保存されている直前にリアルタイムの通話状
態にあった相手端末電話番号及び当方端末電話番号との
一致が判断され、該相手端末11Bとのインターネット
14を経由した再接続による通話処理が再開されるの
で、当方側端末11Aからの再度の掛け直しの無駄を省
くことができる。
Further, according to the Internet telephone system having the above-mentioned configuration, during reproduction of a message of the other party to the corresponding terminal 11A (11B) in each of the gateway apparatuses 13A (13B), the other party's gateway apparatus by recalling from the other party's terminal 11B. When the connection request from the terminal 13B is received, the destination terminal telephone number and the called terminal telephone number included in the connection request and the real-time communication state immediately before being stored in the current gateway device 13A are set. It is determined that the other party terminal phone number matches the other party terminal phone number, and the call processing by reconnection with the other party terminal 11B via the Internet 14 is restarted. Waste can be eliminated.

【0092】さらに、前記構成のインターネット電話シ
ステムによれば、各ゲートウェイ装置13A(13B)
において対応端末11A(11B)から取り込み保存さ
れた伝言メッセージの相手側ゲートウエイ装置13B
(13A)への送信に際しては、直前10秒間の会話音
声も付加して送信され、相手端末11B(11A)に対
して再生されるので、通話品質の低下した不安定な音声
状態になりかけている会話の最後から切れ目なく伝言メ
ッセージの取り込みに移行した場合でも、相手端末の利
用者に対し確実にその文脈を伝えることができる。
Further, according to the Internet telephone system having the above configuration, each gateway device 13A (13B)
, The other party gateway device 13B of the message message fetched and stored from the corresponding terminal 11A (11B).
At the time of transmission to (13A), the conversation voice for the immediately preceding 10 seconds is also transmitted and reproduced to the partner terminal 11B (11A). Even in the case where there is a continuous transition from the end of a conversation to the incorporation of a message message, the context can be reliably transmitted to the user of the partner terminal.

【0093】なお、前記第1実施形態における各ゲート
ウエイ装置13A,13Bでの着信に伴なう発呼元電話
端末11A,11Bの識別手段は、発信者電話番号通知
を利用したもの以外に、プッシュトーン信号や音声の特
性を解析する話者認識処理によって行なうようにしても
よい。
In the first embodiment, the means for identifying the caller telephone terminals 11A and 11B associated with the incoming call at each of the gateway devices 13A and 13B is not limited to the one using the caller telephone number notification. This may be performed by speaker recognition processing for analyzing the characteristics of a tone signal or voice.

【0094】また、前記第1実施形態では、1つのゲー
トウエイ装置13A(13B)に対して1つの電話端末
11A(11B)が接続されているものとして説明した
が、該ゲートウエイ装置13A(13B)に接続される
電話端末11A(11B)の個数、及びゲートウエイ装
置13A(13B)その物の個数は限定されるものでな
く、通信ネットの組み立て次第で様々であり、アドレス
選択を個々に行なえばよいものである。
In the first embodiment, one telephone terminal 11A (11B) has been described as being connected to one gateway device 13A (13B). The number of telephone terminals 11A (11B) to be connected and the number of gateway devices 13A (13B) are not limited, and vary depending on the assembly of the communication network, and the address may be selected individually. It is.

【0095】また、前記第1実施形態におけるインター
ネット(パケット網)14の混雑度の検知手段として
は、パケット衝突カウンタ32を用いる以外に、パケッ
ト消失カウンタ、パケット遅延カウンタ、パケットデー
タ総量カウンタ等を用いたり、ルータから混雑度の通知
を取得することで検知するようにしてもよい。
As the means for detecting the congestion degree of the Internet (packet network) 14 in the first embodiment, in addition to using the packet collision counter 32, a packet loss counter, a packet delay counter, a packet data total amount counter and the like are used. Alternatively, the detection may be performed by acquiring a notification of the congestion degree from the router.

【0096】また、前記第1実施形態における電話回線
12A(12B)の網は、公衆電話網又は構内電話網の
何れであってもよく、さらに第1,第2の電話回線12
A,12Bは、同一の電話網に含まれる回線であっても
よい。
The telephone line 12A (12B) in the first embodiment may be a public telephone network or a private telephone network.
A and 12B may be lines included in the same telephone network.

【0097】さらに、前記第1実施形態では、コールバ
ック処理(Jm)により、ゲートウエイ装置13A(1
3B)から電話回線12A(12B)を介した電話端末
11A(11B)を再接続し、相手側のゲートウエイ装
置13B(13A)から受信保存された音声メッセージ
を再生伝達する構成としたが、電話端末11A(11
B)側からゲートウエイ装置13A(13B)に対する
着信再接続を待ってから、前記音声メッセージを再生伝
達する構成としてもよい。
Further, in the first embodiment, the gateway device 13A (1
3B), the telephone terminal 11A (11B) is reconnected via the telephone line 12A (12B), and the voice message received and stored from the gateway device 13B (13A) of the other party is reproduced and transmitted. 11A (11
The configuration may be such that the voice message is reproduced and transmitted after the incoming call reconnection to the gateway device 13A (13B) from the B) side.

【0098】なお、前記第1実施形態では、インターネ
ット電話システムにおけるインターネット(パケット
網)14上でのパケット衝突(混雑)を検知して通話品
質の低下を判定し、相互の電話端末11A,11B間に
おいて伝言メッセージの預かりと相手側への転送、そし
て再生を行なう構成としたが、次の第2の実施形態にお
いて説明するように、例えば移動電話端末を利用した場
合に、電波状況の悪化に起因する通話品質の低下,切断
等を交換基地局にて判定し、通話開始初期において予め
預かった伝言メッセージを相手端末に送信再生する構成
としてもよい。
In the first embodiment, a packet collision (congestion) on the Internet (packet network) 14 in the Internet telephone system is detected to determine a decrease in call quality, and a communication between the telephone terminals 11A and 11B is determined. In the above-described embodiment, the message message is stored, transferred to the other party, and played back. However, as described in the second embodiment, for example, when a mobile telephone terminal is used, when a mobile phone terminal is used, the radio wave condition deteriorates. The switching base station may judge whether the communication quality is deteriorated or disconnected, and transmit and reproduce the message message stored in advance at the beginning of the call to the partner terminal.

【0099】(第2実施形態)図10は本発明の第2実
施形態に係る移動体端末を含む電話システムの全体構成
を示す図である。
(Second Embodiment) FIG. 10 is a diagram showing an entire configuration of a telephone system including a mobile terminal according to a second embodiment of the present invention.

【0100】この移動体端末を含む電話システムは、移
動電話端末41と固定電話端末42との間が、電話回線
43A,交換機44,電話回線43Bを経由して接続さ
れる。
In the telephone system including the mobile terminal, a mobile telephone terminal 41 and a fixed telephone terminal 42 are connected via a telephone line 43A, an exchange 44, and a telephone line 43B.

【0101】図11は前記移動体端末を含む電話システ
ムにおける交換機44の電子回路の構成を示すブロック
図である。
FIG. 11 is a block diagram showing a configuration of an electronic circuit of the exchange 44 in the telephone system including the mobile terminal.

【0102】この交換機44は、少なくとも2つの端末
と通信するための電話回線インターフェイス51a,5
1bを有し、一方の電話回線インターフェイス51a側
の回路ブロックと、他方の電話回線インターフェイス5
1b側の回路ブロックとは、全く同一の部品で構成され
る。
This exchange 44 is provided with telephone line interfaces 51a and 51 for communicating with at least two terminals.
1b, and a circuit block on one telephone line interface 51a side and the other telephone line interface 5
The circuit block on the 1b side is composed of exactly the same components.

【0103】一方の電話回線インターフェイス51a
(51b)に属する回路ブロックは、電話回線入力リン
グバッファ52a(52b)、電話回線出力リングバッ
ファ53a(53b)、周波数解析部54a(54
b)、ローカル電話番号格納メモリ55a(55b)、
ローカル音声メッセージ格納メモリ56a(56b)か
ら構成され、各電話回線回路ブロックの動作は、主制御
部57により制御される。この主制御部57には、定型
音声データ格納メモリ58が備えられる。
One telephone line interface 51a
The circuit blocks belonging to (51b) include a telephone line input ring buffer 52a (52b), a telephone line output ring buffer 53a (53b), and a frequency analysis unit 54a (54).
b), local telephone number storage memory 55a (55b),
It is composed of a local voice message storage memory 56a (56b), and the operation of each telephone line circuit block is controlled by the main control unit 57. The main control unit 57 includes a fixed voice data storage memory 58.

【0104】また、一方の電話回線ブロックと他方の電
話回線ブロックとの間には、各電話回線間の通話パスを
スイッチ接続又はアイソレートするための回線スイッチ
59が設けられる。
A line switch 59 is provided between one telephone line block and the other telephone line block to switch or isolate a communication path between the telephone lines.

【0105】この交換機44では、電話回線入力リング
バッファ52a(52b)及び電話回線出力リングバッ
ファ53a(53b)が主制御部57に直接接続され、
音声データは非圧縮の音声フォーマットとして扱われ
る。
In this exchange 44, a telephone line input ring buffer 52a (52b) and a telephone line output ring buffer 53a (53b) are directly connected to the main control unit 57.
The audio data is handled as an uncompressed audio format.

【0106】そして、主制御部57は、CPU等のプロ
セッサユニット,作業用メモリ,及びプログラムメモリ
から構成される。
The main control section 57 comprises a processor unit such as a CPU, a working memory, and a program memory.

【0107】次に、前記構成による移動体端末を含む電
話システムの動作について説明する。
Next, the operation of the telephone system including the mobile terminal having the above configuration will be described.

【0108】図12は前記移動体端末を含む電話システ
ムの交換機44における動作全体の流れを示す状態遷移
図である。
FIG. 12 is a state transition diagram showing the entire operation flow in the exchange 44 of the telephone system including the mobile terminal.

【0109】初期化処理(Kn)では、回路各部の初期
化が行なわれ、待機処理(Ko)に移行される。
In the initialization process (Kn), each part of the circuit is initialized, and the process proceeds to a standby process (Ko).

【0110】待機処理(Ko)では、着信検出及び接続
要求イベントの検出が行なわれ、一方の端末41(4
2)から他方の端末42(41)に電話を掛ける際に、
該一方の端末41(42)から電話回線インターフェイ
ス51a(51b)を介し着信が検出された場合には、
着信処理(Kp:図13参照)に移行され、この着信処
理によって、一方の電話回線ブロック側から他方の電話
回線ブロック側への接続要求イベントが検出された場合
には、発信処理(Kq:図14参照)に移行される。
In the standby process (Ko), the incoming call detection and the connection request event are detected, and one terminal 41 (4
When calling the other terminal 42 (41) from 2),
When an incoming call is detected from the one terminal 41 (42) via the telephone line interface 51a (51b),
The process proceeds to an incoming call process (Kp: see FIG. 13). If a connection request event from one telephone line block side to the other telephone line block side is detected by this incoming call process, an outgoing call process (Kq: FIG. 14).

【0111】図13は前記移動体端末を含む電話システ
ムの交換機44における着信処理(Kp)を示すフロー
チャートである。
FIG. 13 is a flowchart showing the incoming call processing (Kp) in the exchange 44 of the telephone system including the mobile terminal.

【0112】一方の端末41(42)から他方の端末4
2(41)に電話を掛ける際に、該一方の端末41(4
2)から電話回線インターフェイス51a(51b)を
介し着信が検出されると、空いている他の電話回線、つ
まり、一方の電話回線43Aを介して着信検知された場
合には、他方の電話回線43Bが空いているかどうかチ
ェックされて発信回線として選択され(ステップp
1)、空いてない場合には、前記一方の端末41(4
2)に対する接続が拒否されて待機状態が維持される。
From one terminal 41 (42) to the other terminal 4
When making a call to 2 (41), the one terminal 41 (4)
When an incoming call is detected from 2) via the telephone line interface 51a (51b), when another incoming vacant telephone line is detected, that is, when an incoming call is detected via one telephone line 43A, the other telephone line 43B is detected. Is checked to see if it is free and selected as a calling line (step p
1) If not available, the one terminal 41 (4
The connection to 2) is rejected and the standby state is maintained.

【0113】一方の端末41(42)から一方の電話回
線43A(43B)を介した着信検知により、他方の電
話回線43B(43A)が発信回線として選択される
と、発呼側である一方の端末41(42)の電話番号が
一方のローカル電話番号メモリ55a(55b)に書き
込まれ、一方の電話回線インターフェイス51a(51
b)により前記一方の端末41(42)との回線が接続
される(ステップp1,p2,p3)。
When the other telephone line 43B (43A) is selected as the outgoing line by the detection of an incoming call from one terminal 41 (42) via the one telephone line 43A (43B), one of the terminals on the calling side is selected. The telephone number of the terminal 41 (42) is written in the one local telephone number memory 55a (55b), and the one telephone line interface 51a (51
The line to the one terminal 41 (42) is connected by b) (steps p1, p2, p3).

【0114】そして、前記一方の端末41(42)から
の着信に伴ない、相手端末42(41)の電話番号が着
呼サブアドレスとして指定されている場合には、前記発
信回線として選択されている他方の電話回線ブロック側
のローカル電話番号格納メモリ55b(55a)に対し
て書き込まれる(ステップp4→p5)。
When the telephone number of the partner terminal 42 (41) is specified as the called sub-address following the incoming call from the one terminal 41 (42), it is selected as the calling line. The data is written into the local telephone number storage memory 55b (55a) on the other telephone line block side (step p4 → p5).

【0115】一方、相手端末42(41)の電話番号が
サブアドレスとして指定されてない場合には、定型音声
データ格納メモリ58に予め記憶されている相手端末番
号の入力要求メッセージ「相手の電話番号を入力してく
ださい」が読み出され、一方の電話回線インターフェイ
ス51a(51b)から発呼元である一方の端末41
(42)に対して送出される(ステップp4→p6)。
On the other hand, if the telephone number of the other party terminal 42 (41) is not specified as a subaddress, the input request message of the other party terminal number stored in the fixed voice data storage memory 58 in advance is displayed. "Please input" is read out, and one terminal 41 which is the calling source is read from one telephone line interface 51a (51b).
(42) (Step p4 → p6).

【0116】そして、前記一方の端末41(42)から
電話回線43A(43B)を介し、この一方の電話回線
入力リングバッファ52a(52b)に対してプッシュ
トーンによる相手端末42(41)の電話番号が入力さ
れると、周波数解析部54a(54b)によりDTFM
(Dual Tone Multi Frequency) 信号が解析されて相手端
末42(41)の電話番号が取得され、他方の電話回線
ブロック側のローカル電話番号格納メモリ55b(55
a)に対して書き込まれる(ステップp7)。
Then, the telephone number of the partner terminal 42 (41) by a push tone from the one terminal 41 (42) to the one telephone line input ring buffer 52a (52b) via the telephone line 43A (43B). Is input, the frequency analysis unit 54a (54b)
(Dual Tone Multi Frequency) The signal is analyzed to obtain the telephone number of the other terminal 42 (41), and the local telephone number storage memory 55b (55
a) is written (step p7).

【0117】すると、一方のローカル電話番号格納メモ
リ55a(55b)に格納された発呼元である一方の端
末41(42)の電話番号の番号形式に基づき、該端末
が移動体端末であるか否か判断され、移動端末であると
判断された場合には、定型音声データ格納メモリ58に
予め記憶されている切断方法メッセージと伝言メッセー
ジ入力要求のガイドデータ「電話を切る場合は、プッシ
ュボタンの*を押してから切ってください。*を押さな
いで電話が切れた場合に相手に伝える音声メッセージを
入れてください」が読み出され、一方の電話回線インタ
ーフェイス51a(51b)から発呼元の移動端末であ
る一方の端末41(42)に対して送出される(ステッ
プp8→P9)。
Then, based on the number format of the telephone number of one terminal 41 (42) which is the caller stored in one local telephone number storage memory 55a (55b), it is determined whether the terminal is a mobile terminal. It is determined whether or not the mobile terminal is a mobile terminal. If it is determined that the mobile terminal is a mobile terminal, the guide data of the disconnection method message and the message input request stored in advance in the fixed voice data storage memory 58 are displayed. Please press * before you hang up. Please insert a voice message to tell the other party if you hang up without pressing * "and read the calling mobile terminal from one telephone line interface 51a (51b). (Steps p8 → P9).

【0118】そして、前記一方の端末41(42)から
送られて電話回線入力リングバッファ52a(52b)
に順次取得される伝言メッセージの音声データは、入力
終了をプッシュトーンで示すDTMF信号が入力された
ことが周波数解析部54a(54b)によって解析検出
されるまで、一方のローカル音声メッセージ格納メモリ
56a(56b)に保存される(ステップp10)。
The telephone line input ring buffer 52a (52b) sent from the one terminal 41 (42).
The local voice message storage memory 56a () until the frequency analysis unit 54a (54b) analyzes and detects the input of the DTMF signal indicating the end of the input by a push tone is sequentially obtained. 56b) (step p10).

【0119】すると、前記発信回線として選択された他
方の電話回線ブロック側の制御システムに対して、接続
要求を示すヘッダを付加した接続要求イベントが与えら
れ、通話処理(Kr)に移行される(ステップp11,
p12)。
Then, a connection request event to which a header indicating a connection request is added is given to the control system on the other telephone line block side selected as the calling line, and the process shifts to a call process (Kr) ( Step p11,
p12).

【0120】図14は前記移動体端末を含む電話システ
ムの交換機44における発信処理(Kq)を示すフロー
チャートである。
FIG. 14 is a flowchart showing a calling process (Kq) in the exchange 44 of the telephone system including the mobile terminal.

【0121】前記着信処理(Kp)によって、一方の電
話回線ブロック側の制御システムから他方の電話回線ブ
ロック側の制御システムに対して、接続要求を示すヘッ
ダを付加した接続要求イベントが与えられ、この発信処
理に移行されると、他方の電話回線ブロック側のローカ
ル電話番号格納メモリ55b(55a)に格納されてい
る着呼先である他方の端末42(41)の電話番号が指
定されて、他方の電話回線インターフェイス51b(5
1a)を介し他方の電話回線43B(43A)に対する
発呼が行なわれ、他方の端末42(41)との接続が完
了するまで待機される(ステップq1,q2)。
By the incoming call process (Kp), a connection request event to which a header indicating a connection request is added is given from the control system on one telephone line block side to the control system on the other telephone line block side. When the process is shifted to the calling process, the telephone number of the other terminal 42 (41), which is the called party, stored in the local telephone number storage memory 55b (55a) on the other telephone line block side is designated, and Telephone line interface 51b (5
A call is made to the other telephone line 43B (43A) via 1a), and the process stands by until the connection with the other terminal 42 (41) is completed (steps q1 and q2).

【0122】前記交換機44の他方の電話回線インター
フェイス51b(51a)を介した他方の端末42(4
1)との回線接続が完了されると、他方のローカル電話
番号格納メモリ55b(55a)に格納された着呼先で
ある他方の端末42(41)の電話番号の番号形式に基
づき、該端末が移動体端末であるか否か判断され、移動
端末であると判断された場合には、定型音声データ格納
メモリ58に予め記憶されている切断方法メッセージと
伝言メッセージ入力要求のガイドデータ「電話を切る場
合は、プッシュボタンの*を押してから切ってくださ
い。*を押さないで電話が切れた場合に相手に伝える音
声メッセージを入れてください」が読み出され、他方の
電話回線インターフェイス51b(51a)から着呼先
の移動端末である他方の端末42(41)に対して送出
される(ステップq2→q3→q4)。
The other terminal 42 (4) via the other telephone line interface 51b (51a) of the exchange 44
When the line connection with 1) is completed, the other local telephone number storage memory 55b (55a) stores the telephone number of the other terminal 42 (41) based on the number format of the telephone number of the other terminal 42 (41). Is determined to be a mobile terminal, and if it is determined that the mobile terminal is a mobile terminal, the guide data of the disconnection method message and the message input request stored in advance in the fixed voice data storage memory 58 are referred to as "telephone If you want to hang up, press * on the push button before you hang up. Please insert a voice message that tells the other party if you hang up without pressing * "and the other telephone line interface 51b (51a) Is transmitted to the other terminal 42 (41), which is the destination mobile terminal (step q2 → q3 → q4).

【0123】そして、前記他方の端末42(41)から
送られて電話回線入力リングバッファ52b(52a)
に順次取得される伝言メッセージの音声データは、入力
終了をプッシュトーンで示すDTMF信号が入力された
ことが周波数解析部54b(54a)によって解析検出
されるまで、他方のローカル音声メッセージ格納メモリ
56b(56a)に保存され、この後、通話処理(K
r)に移行される(ステップq5,q6)。
The telephone line input ring buffer 52b (52a) sent from the other terminal 42 (41).
The voice data of the message message sequentially acquired in the other local voice message storage memory 56b (until the frequency analysis unit 54b (54a) analyzes and detects that the DTMF signal indicating the end of the input is input by the push tone is detected. 56a), and thereafter, the call processing (K
r) (steps q5 and q6).

【0124】通話処理(Kr)では、回線スイッチ59
により一方の電話回線インターフェイス51aと他方の
電話回線インターフェイス51bとの間で通話パスが形
成され、一方の端末41と他方の端末42との通話が行
なわれる。
In the call processing (Kr), the line switch 59
Thus, a communication path is formed between the one telephone line interface 51a and the other telephone line interface 51b, and the communication between one terminal 41 and the other terminal 42 is performed.

【0125】そして、電話回線インターフェイス51a
(51b)を介して、端末41(42)による切断が直
接検知された場合には、切断理由判別処理(Ks:図1
5参照)に移行され、また、何れか一方の電話回線ブロ
ック側の制御システムから他方の電話回線ブロック側の
制御システムに対する正常切断イベントが検知された場
合には、正常切断処理(Kt)に移行され、さらに、何
れか一方の電話回線ブロック側の制御システムから他方
の電話回線ブロック側の制御システムに対する異常切断
イベントが検知された場合には、リモート異常切断処理
(Kv:図17参照)に移行される。
Then, the telephone line interface 51a
If the disconnection by the terminal 41 (42) is directly detected via (51b), the disconnection reason determination process (Ks: FIG.
5), and when a normal disconnection event is detected from the control system of one of the telephone line blocks to the control system of the other telephone line block, the process proceeds to a normal disconnection process (Kt). Further, when an abnormal disconnection event is detected from the control system on one of the telephone line block sides to the control system on the other telephone line block side, the processing shifts to remote abnormal disconnection processing (Kv: see FIG. 17). Is done.

【0126】図15は前記移動体端末を含む電話システ
ムの交換機44における切断理由判別処理(Ks)を示
すフローチャートである。
FIG. 15 is a flowchart showing the disconnection reason determining process (Ks) in the exchange 44 of the telephone system including the mobile terminal.

【0127】一方又は他方の端末41(42)からの切
断が検知された際、該切断検知がなされた側の電話回線
ブロックにおけるローカル電話番号格納メモリ55a
(55b)に格納されている電話番号の番号形式が、移
動体端末であることを示している場合(ステップs1)
に、周波数解析部54a(54b)により最後に解析さ
れたDTMF信号が、正常な切断を意味する「*」に対
応するプッシュトーンでないと判定された場合には(ス
テップs2)、相手側の電話回線ブロックの制御システ
ムに対して異常切断イベントが与えられ(ステップs
3)、ローカル異常切断処理(Ku:図16参照)に移
行される(ステップs4)。
When the disconnection from one or the other terminal 41 (42) is detected, the local telephone number storage memory 55a in the telephone line block on the side where the disconnection is detected.
When the number format of the telephone number stored in (55b) indicates a mobile terminal (step s1)
If it is determined that the DTMF signal analyzed last by the frequency analysis unit 54a (54b) is not a push tone corresponding to "*" indicating a normal disconnection (step s2), the other party's telephone An abnormal disconnection event is given to the control system of the line block (step s).
3), the process proceeds to a local abnormal disconnection process (Ku: see FIG. 16) (step s4).

【0128】一方、前記切断検知がなされた側の電話回
線ブロックにおけるローカル電話番号格納メモリ55a
(55b)に格納されている電話番号の番号形式が、移
動体端末であることを示してない場合か、又は、移動端
末であると判定されても、正常な切断を意味する「*」
に対応するプッシュトーンが最後に解析検出されたと判
定された場合には、相手側の電話回線ブロックの制御シ
ステムに対して正常切断イベントが与えられ、正常切断
処理(Kt)に移行される(ステップs1ors2→s
5)。
On the other hand, the local telephone number storage memory 55a in the telephone line block on the side where the disconnection was detected.
If the number format of the telephone number stored in (55b) does not indicate that the terminal is a mobile terminal, or even if it is determined that the terminal is a mobile terminal, "*" means a normal disconnection.
If it is determined that the push tone corresponding to is finally detected by analysis, a normal disconnection event is given to the control system of the other party's telephone line block, and the process shifts to a normal disconnection process (Kt) (step). s1 or 2 → s
5).

【0129】正常切断処理(Kt)では、回線スイッチ
59により一方の電話回線インターフェイス51aと他
方の電話回線インターフェイス51b間での通話パスが
切断され、一方及び他方の端末41,42との電話回線
43A,43Bが切断され、前記待機処理(Ko)に復
帰される。
In the normal disconnection process (Kt), the communication path between one telephone line interface 51a and the other telephone line interface 51b is disconnected by the line switch 59, and the telephone line 43A between the one and the other terminals 41 and 42 is disconnected. , 43B are disconnected, and the process returns to the standby process (Ko).

【0130】図16は前記移動体端末を含む電話システ
ムの交換機44におけるローカル異常切断処理(Ku)
を示すフローチャートである。
FIG. 16 shows a local abnormal disconnection process (Ku) in the exchange 44 of the telephone system including the mobile terminal.
It is a flowchart which shows.

【0131】例えば前記切断理由判別処理(Ks)によ
って切断検知された移動体端末41から、「*」に対応
するプッシュトーンが検出されないことで、一方の電話
回線ブロック側の制御システムから他方の電話回線ブロ
ック側の制御システムに対し異常切断イベントが発生さ
れ、このローカル異常切断処理に移行されると、回線ス
イッチ59により一方の電話回線インターフェイス51
aと他方の電話回線インターフェイス51b間での通話
パスが切断され、前記移動体端末41との電話回線43
Aが切断される(ステップu1,u2)。
For example, when the push tone corresponding to “*” is not detected from the mobile terminal 41 whose disconnection is detected by the disconnection reason determination processing (Ks), the control system on one telephone line block side transmits the other telephone. When an abnormal disconnection event is generated in the control system on the line block side and the process is shifted to the local abnormal disconnection processing, the one line interface 51 is operated by the line switch 59.
a and the telephone path between the other telephone line interface 51b is disconnected, and the telephone line 43 with the mobile terminal 41 is disconnected.
A is disconnected (steps u1 and u2).

【0132】この後、10分以内に着信があった場合
に、該着信検知された発呼元の端末電話番号と、一方の
電話回線ブロック側のローカル電話番号格納メモリ55
aに既に格納されている、一旦その回線を切断した移動
電話端末41の電話番号とが一致するか否か判断される
(ステップu3→u4→u3→u5)。
Thereafter, if there is an incoming call within 10 minutes, the terminal telephone number of the caller from which the incoming call is detected and the local telephone number storage memory 55 on one telephone line block side.
It is determined whether or not the telephone number of the mobile telephone terminal 41 whose line has already been disconnected already matches the telephone number already stored in a (step u3 → u4 → u3 → u5).

【0133】ここで、前記着信検知された発呼元の端末
電話番号と、一方の電話回線ブロック側のローカル電話
番号格納メモリ55aに既に格納されている移動電話端
末41の電話番号とが一致すると判定された場合には、
再接続及びメッセージ再生処理(Kw:図18参照)に
移行される(ステップu5)。
Here, if the terminal telephone number of the caller whose incoming call is detected matches the telephone number of the mobile telephone terminal 41 already stored in the local telephone number storage memory 55a on one telephone line block side. If determined,
The process proceeds to the reconnection and message reproduction process (Kw: see FIG. 18) (step u5).

【0134】一方、前記着信検知された発呼元の端末電
話番号と、一方の電話回線ブロック側のローカル電話番
号格納メモリ55aに既に格納されている移動電話端末
41の電話番号とが一致しないと判定された場合には、
当該着信端末との接続は拒否され、10分経過すると前
記待機処理(Ko)に復帰される(ステップu5→u7
→u3→u4→u8)。
On the other hand, if the terminal telephone number of the caller whose incoming is detected does not match the telephone number of the mobile telephone terminal 41 already stored in the local telephone number storage memory 55a of one telephone line block. If determined,
The connection with the receiving terminal is rejected, and after 10 minutes, the process returns to the standby process (Ko) (step u5 → u7).
→ u3 → u4 → u8).

【0135】図17は前記移動体端末を含む電話システ
ムの交換機44におけるリモート異常切断処理(Kv)
を示すフローチャートである。
FIG. 17 shows remote abnormal disconnection processing (Kv) in the exchange 44 of the telephone system including the mobile terminal.
It is a flowchart which shows.

【0136】例えば移動端末51が接続されている一方
の電話回線ブロック側の制御システムから他方の電話回
線ブロック側の制御システムに対する異常切断イベント
が検知された場合に、このリモート異常切断処理に移行
されると、まず、回線スイッチ59により一方の電話回
線インターフェイス51aと他方の電話回線インターフ
ェイス51b間での通話パスが切断され、定型音声デー
タ格納メモリ58に予め記憶されている相手メッセージ
再生開始のガイド音声データ「相手端末の電波状況悪化
により通話が切断されました。予めお預かりしたメッセ
ージを再生します」が読み出され、他方の電話回線イン
ターフェイス51bを介して電話端末42に対し送出さ
れる(ステップv1,v2)。
For example, when an abnormal disconnection event is detected from the control system on one telephone line block side to which the mobile terminal 51 is connected to the control system on the other telephone line block side, the process is shifted to the remote abnormal disconnection processing. Then, the communication path between the one telephone line interface 51a and the other telephone line interface 51b is disconnected by the line switch 59, and the guide voice for starting reproduction of the other party message stored in the fixed voice data storage memory 58 in advance. The data "the call was disconnected due to deterioration of the radio wave condition of the partner terminal. The message stored in advance is reproduced" is read out and sent to the telephone terminal 42 via the other telephone line interface 51b (step). v1, v2).

【0137】そして、一方のローカル音声メッセージ格
納メモリ56aに保存されている前記移動端末41から
の伝言音声メッセージが読み出され、他方の電話回線イ
ンターフェイス51bを介し電話端末42に送出されて
再生される(ステップv3)。
Then, the message voice message from the mobile terminal 41 stored in the one local voice message storage memory 56a is read out, sent to the telephone terminal 42 via the other telephone line interface 51b, and reproduced. (Step v3).

【0138】すると、定型音声データ格納メモリ58に
予め記憶されている伝言メッセージ入力要求のガイドデ
ータ「メッセージをお預かりしますのでお話しくださ
い」が読み出され、前記他方の電話回線インターフェイ
ス51bから電話端末42に対して送出再生される(ス
テップv4)。
Then, the guide data of the message input request stored in advance in the fixed voice data storage memory 58 is read out. The data is transmitted to and reproduced from the P.42 (step v4).

【0139】そして、前記電話端末42から送られて電
話回線入力リングバッファ52bに順次取得される伝言
メッセージの音声データは、入力終了をプッシュトーン
で示すDTMF信号が入力されたことが周波数解析部5
4b(54a)によって解析検出されるまで、他方のロ
ーカル音声メッセージ格納メモリ56bに保存され、こ
の後、正常切断処理(Kt)に移行される(ステップv
5,v6)。
[0139] As for the voice data of the message transmitted from the telephone terminal 42 and sequentially acquired by the telephone line input ring buffer 52b, the frequency analysis unit 5 indicates that the DTMF signal indicating the end of the input is input by the push tone.
4b (54a), it is stored in the other local voice message storage memory 56b until it is analyzed and detected, and thereafter, the process proceeds to the normal disconnection process (Kt) (step v).
5, v6).

【0140】図18は前記移動体端末を含む電話システ
ムの交換機44における再接続及びメッセージ再生処理
(Kw)を示すフローチャートである。
FIG. 18 is a flowchart showing the reconnection and message reproduction processing (Kw) in the exchange 44 of the telephone system including the mobile terminal.

【0141】前記ローカル異常切断処理(Ku)におい
て、切断検知された移動端末41と一旦その電話回線4
3Aが切断された後に、該同一移動端末41からの10
分以内の着信が判定され、この再接続及びメッセージ再
生処理に移行されると、前記移動端末41との電話回線
43Aが接続され、定型音声データ格納メモリ58に予
め記憶されている相手メッセージ再生開始のガイド音声
データ「お預かりしたメッセージを再生します」が読み
出され、一方の電話回線インターフェイス51aを介し
て移動端末41に対し送出される(ステップw1)。
In the local abnormal disconnection processing (Ku), the mobile terminal 41 whose disconnection is detected and its telephone line 4
After 3A is disconnected, 10 from the same mobile terminal 41
When it is determined that an incoming call is received within minutes and the process is shifted to the reconnection and message playback processing, the telephone line 43A with the mobile terminal 41 is connected, and the other party's message playback start stored in the fixed voice data storage memory 58 in advance is started. Is read out and transmitted to the mobile terminal 41 via the one telephone line interface 51a (step w1).

【0142】そして、前記リモート異常切断処理(K
v:図17参照)において他方のローカル音声メッセー
ジ格納メモリ56bに保存されている電話端末42から
の伝言音声メッセージが読み出され、一方の電話回線イ
ンターフェイス51aを介し移動端末41に送出されて
再生される(ステップw2)。
Then, the remote abnormal disconnection processing (K
v: see FIG. 17), the message voice message from the telephone terminal 42 stored in the other local voice message storage memory 56b is read out, transmitted to the mobile terminal 41 via one telephone line interface 51a, and reproduced. (Step w2).

【0143】この後、前記正常判断処理(Kt)に移行
されて、一方の電話回線インターフェイス51aと他方
の電話回線インターフェイス51b間での通話パスが切
断され、一方及び他方の端末41,42間が切断される
(ステップw3)。
Thereafter, the process proceeds to the normality judgment processing (Kt), the communication path between the one telephone line interface 51a and the other telephone line interface 51b is disconnected, and the connection between the one and the other terminals 41 and 42 is established. It is disconnected (step w3).

【0144】図19は前記移動体端末を含む電話システ
ムの交換機44における具体的動作の流れを示すシーケ
ンス図である。
FIG. 19 is a sequence diagram showing a specific operation flow in the exchange 44 of the telephone system including the mobile terminal.

【0145】第1の端末41が、第2の端末42の電話
番号を着呼サブアドレスとして指定し、交換機44を着
呼電話番号として発信すると(X1)、該第1の端末4
1が交換機44と電話回線43Aで接続される(X2:
ステップp1〜p3)。
When the first terminal 41 designates the telephone number of the second terminal 42 as the called subaddress and transmits the exchange 44 as the called telephone number (X1), the first terminal 4
1 is connected to the exchange 44 via the telephone line 43A (X2:
Steps p1 to p3).

【0146】この際、交換機44において、前記第1の
端末41が移動端末であると判断されると、その切断方
法と伝言メッセージ入力要求のガイド音声「電話を切る
場合は、プッシュボタンの*を押してから切ってくださ
い。*を押さないで電話が切れた場合に相手に伝える音
声メッセージを入れてください」が再生されると共に
(X3:ステップp8→p9)、該移動端末41から送
られて順次取得される伝言音声メッセージが保存される
(X4:ステップp10)。
At this time, when the exchange 44 determines that the first terminal 41 is a mobile terminal, the disconnection method and the guide voice of the message input request are displayed. Please press and hang up. Please insert a voice message to tell the other party if you hang up without pressing * ”(X3: step p8 → p9) and sent from the mobile terminal 41 in order. The acquired message voice message is stored (X4: step p10).

【0147】すると、着呼先である電話端末42に対し
て発呼が行なわれて電話回線43Bが接続され(X5,
X6:ステップq1,q2)、移動端末41と電話端末
42との間に通話パスが形成されて通話が開始される
(X7:通話処理Kr)。
Then, a call is made to the telephone terminal 42 to which the call is to be made, and the telephone line 43B is connected (X5,
X6: Steps q1 and q2), a call path is formed between the mobile terminal 41 and the telephone terminal 42, and a call is started (X7: call processing Kr).

【0148】この一方の移動端末41と他方の電話端末
42との通話処理中において、一方の移動端末41の切
断が検知されると(X8)、当該切断検知された移動端
末41との回線切断が成された後(X9:ステップv
1)、他方の電話端末42に対して、相手メッセージ再
生開始のガイド音声「相手端末の電波状況悪化により通
話が切断されました。予めお預かりしたメッセージを再
生します」が送出されると共に、前記X4において保存
された移動端末41からの伝言音声メッセージも送出さ
れて再生される(X10:ステップv2,v3)。
When the disconnection of one mobile terminal 41 is detected during the call processing between the one mobile terminal 41 and the other telephone terminal 42 (X8), the line disconnection with the detected mobile terminal 41 is performed. (X9: Step v)
1) A guide sound for starting the reproduction of the message of the other party "The call was disconnected due to the deterioration of the radio wave condition of the other terminal. The message stored in advance is reproduced" is sent to the other telephone terminal 42, The message voice message from the mobile terminal 41 stored in X4 is also transmitted and reproduced (X10: steps v2 and v3).

【0149】さらに、前記他方の電話端末42に対して
は、伝言メッセージ入力要求のガイド音声「メッセージ
をお預かりしますのでお話しください」が送出再生され
(X11:ステップv4)、該電話端末42から送られ
て来る伝言音声メッセージが保存されると共に(X1
2:ステップv5)、その電話端末42との電話回線4
2も切断される(X13:正常切断処理Kt)。
Further, a guide voice of a message input request, "Please leave a message, please speak," is transmitted and reproduced to the other telephone terminal 42 (X11: step v4). The transmitted message voice message is saved and (X1
2: Step v5), telephone line 4 with the telephone terminal 42
2 is also disconnected (X13: normal disconnection processing Kt).

【0150】一方、前記移動端末41との切断が行なわ
れた後の10分以内に、当該同一の移動端末41から着
信があった場合には(X14:ステップu1〜u5)、
移動端末41との電話回線43Aが接続され(X1
5)、相手メッセージ再生開始のガイド音声「お預かり
したメッセージを再生します」及び前記X12において
保存された電話端末42からの伝言音声メッセージが送
出再生される(X16:ステップw1,w2)。そし
て、前記移動端末41との電話回線43Aが切断される
(X17:ステップw3)。
On the other hand, if there is an incoming call from the same mobile terminal 41 within 10 minutes after the disconnection from the mobile terminal 41 (X14: steps u1 to u5),
The telephone line 43A with the mobile terminal 41 is connected (X1
5), a guide voice for starting reproduction of the other party's message "reproduce the stored message" and the message voice message from the telephone terminal 42 stored in the X12 are transmitted and reproduced (X16: steps w1 and w2). Then, the telephone line 43A with the mobile terminal 41 is disconnected (X17: step w3).

【0151】したがって、前記構成の移動体端末を含む
電話システムによれば、移動端末41側での電波状態の
悪化により、交換機44において該移動端末41からの
異常切断が検知された場合には、相手の電話端末42と
の接続が維持されている状態で、該相手端末からの伝言
メッセージの取り込み保存が行なわれ、10分以内に前
記同一移動端末41からの着信があった際に再接続の
後、相手端末42から取り込み保存された伝言メッセー
ジが再生されるので、通話の切れた移動端末41の利用
者に対して、相手の電話端末42の利用者から最低限伝
えたいメッセージを確実に伝えることができるばかりで
なく、相手端末42の利用者にあっては、通話切断直後
の会話内容の記憶が新しいうちに必要な伝言メッセージ
を残すことでき、移動端末41の利用者が電波(通話)
状態の回復待ちに費やしている時間を有効に利用するこ
とができる。
Therefore, according to the telephone system including the mobile terminal having the above-described configuration, when an abnormal disconnection from the mobile terminal 41 is detected in the exchange 44 due to the deterioration of the radio wave condition on the mobile terminal 41 side, While the connection with the other party's telephone terminal 42 is maintained, the message message from the other party's terminal is fetched and saved, and when there is an incoming call from the same mobile terminal 41 within 10 minutes, the connection is re-established. Thereafter, the message message captured and stored from the partner terminal 42 is played back, so that the user of the partner telephone terminal 42 at least transmits a message desired to be conveyed to the user of the mobile terminal 41 whose call has been disconnected. Not only can the user of the other party terminal 42 leave the message message necessary while the conversation contents immediately after the disconnection of the call are stored, and the user can transfer the message. The user of the terminal 41 is radio waves (call)
The time spent waiting for the recovery of the state can be effectively used.

【0152】また、前記構成の移動体端末を含む電話シ
ステムによれば、一方の移動端末41から他方の電話端
末42の電話番号を着呼サブアドレスとして指定しての
交換機44に対する発呼が成された際に、発呼元の端末
電話番号の番号形態に基づき、該発呼端末が通話状態に
不安定要素を伴なう移動端末41であると判断された場
合には、予め相手端末の利用者に対する伝言メッセージ
が取り込まれて保存され、電波状態の悪化により移動端
末41側での回線が切断されると、交換機44から回線
の接続が維持されている相手の電話端末42に対して、
前記予め取り込み保存された移動端末41からの伝言メ
ッセージが再生されるので、当該移動端末41の利用者
が電波(通話)状態の回復待ちに費やしている時間を有
効利用して、必要最低限のメッセージを確実に伝えるこ
とができる。
Further, according to the telephone system including the mobile terminal having the above-described configuration, a call is made from one mobile terminal 41 to the exchange 44 by designating the telephone number of the other telephone terminal 42 as an incoming call subaddress. If it is determined that the calling terminal is a mobile terminal 41 with an unstable element in the call state based on the number form of the terminal telephone number of the calling source, When the message on the mobile terminal 41 is disconnected due to the deterioration of the radio wave condition, the message is sent to the telephone terminal 42 of the other party whose connection is maintained from the exchange 44.
Since the pre-stored message message from the mobile terminal 41 is reproduced, the time that the user of the mobile terminal 41 spends waiting for the recovery of the radio wave (communication) state can be effectively used to minimize the necessary time. The message can be conveyed reliably.

【0153】なお、前記第2実施形態では、移動端末4
1との接続における電波状態の悪化に伴なう異常切断状
況を対象として説明したが、通常の固定電話端末間での
異常な回線切断状況に対しても、同様のメッセージ伝達
機能を適用することができる。
In the second embodiment, the mobile terminal 4
The explanation above has been directed to the case of abnormal disconnection caused by the deterioration of the radio wave condition in the connection with 1. However, the same message transmission function should be applied to the abnormal line disconnection between ordinary fixed telephone terminals. Can be.

【0154】また、前記第2実施形態における電話回線
43A(43B)の網は、公衆電話網又は構内電話網の
何れであってもよく、さらに第1,第2の電話回線43
A,43Bは、同一の電話網に含まれる回線であっても
よい。
The telephone line 43A (43B) in the second embodiment may be a public telephone network or a private telephone network.
A and 43B may be lines included in the same telephone network.

【0155】また、前記第2実施形態における各端末4
1,42からの音声メッセージ保存の際には、前記第1
実施形態で示した直近音声保存リングバッファ28等に
より保存されている直前一定時間の通話音声を付加して
保存し、相手端末に伝達する構成としてもよい。
Further, each terminal 4 in the second embodiment is used.
When saving a voice message from
A configuration may be adopted in which the call voice for a certain period immediately before, which is stored in the latest voice storage ring buffer 28 or the like shown in the embodiment, is added and stored, and transmitted to the partner terminal.

【0156】また、前記第2実施形態では、切断検知さ
れた端末との回線を一旦切断した後に、当該同一の端末
からの着信による再接続を待って、相手端末からの音声
メッセージを再生伝達する構成としたが、交換機44側
からのコールバックにより既に切断された同一の端末と
の再接続を行ない、相手端末からの音声メッセージを再
生伝達する構成としてもよい。
In the second embodiment, after the line with the terminal whose disconnection has been detected is once disconnected, the voice message from the partner terminal is reproduced and transmitted after waiting for reconnection due to an incoming call from the same terminal. Although the configuration has been described, a configuration may also be adopted in which the connection with the same terminal already disconnected by the callback from the exchange 44 is performed, and the voice message from the partner terminal is reproduced and transmitted.

【0157】さらに、前記第1実施形態におけるインタ
ーネット電話システムと前記第2実施形態における移動
体及び固定回線電話システムとを、適宜組み合わせた構
成としてもよい。
Further, the Internet telephone system in the first embodiment and the mobile and fixed-line telephone systems in the second embodiment may be appropriately combined.

【0158】[0158]

【発明の効果】以上のように、本発明の請求項1に係る
通話システムの通話補助装置によれば、通話品質低下検
知手段により通信網における通話品質の低下が検知され
た場合には、該通信網を介したリアルタイムの通話が通
話中断手段により中断されると共に、メッセージ取得手
段により電話網を介して接続されている端末からの音声
メッセージが取得され、メッセージ転送手段により非リ
アルタイムのプロトコルに変換されて相手側の通信補助
装置に転送される。従って、通信網上での通話品質の低
下により、リアルタイムな通話が困難となった場合で
も、必要最低限のメッセージを相手端末の利用者に伝え
ることができるようになる。
As described above, according to the communication assisting apparatus of the communication system according to the first aspect of the present invention, when the communication quality deterioration detecting means detects a decrease in the communication quality in the communication network, the communication quality is reduced. The real-time call via the communication network is interrupted by the call interrupting means, and the voice message from the terminal connected via the telephone network is obtained by the message obtaining means and converted to a non-real-time protocol by the message transferring means. Then, it is transferred to the communication auxiliary device of the other party. Therefore, even when real-time communication becomes difficult due to the deterioration of the communication quality on the communication network, the minimum necessary message can be transmitted to the user of the partner terminal.

【0159】また、本発明の請求項2に係る通話システ
ムの通話補助装置によれば、相手側の通話補助装置のメ
ッセージ転送手段により転送されて来る音声メッセージ
がメッセージ保存手段により保存され、この保存された
相手側からの転送音声メッセージがメッセージ再生手段
により前記電話網に接続された当方側の端末に対して再
生されるので、通信網上での通話品質の低下により、リ
アルタイムな通話が困難となった場合でも、必要最低限
のメッセージを互いに相手端末の利用者に伝えることが
できるようになる。
Further, according to the second embodiment of the present invention, the voice message transferred by the message transfer means of the other party's call assistance device is stored by the message storage means, and this storage is performed. The transferred voice message from the called party is played back by the message playing means to the terminal on the other side connected to the telephone network. Even in such a case, the minimum necessary messages can be transmitted to the users of the partner terminals.

【0160】また、本発明の請求項3に係る通話システ
ムの通話補助装置によれば、通信網を介したリアルタイ
ムの通話が行なわれる際には、当方側の端末電話番号と
相手側の端末電話番号とが端末番号格納手段により格納
され、前記メッセージ再生手段により前記電話網に接続
された当方側の端末に対する音声メッセージの再生が行
なわれている状態において、相手側の通話補助装置から
リアルタイム通話のための端末接続要求が受信された場
合には、該接続要求元の端末電話番号と前記端末番号格
納手段に格納されている相手側の端末電話番号との一致
及び該接続要求先の端末電話番号と前記端末番号格納手
段に格納されている当方側の端末電話番号との一致が接
続端末判断手段により判断され、これにより一致判断が
なされた場合には、前記通信網を介したリアルタイムの
通話が通話再開手段により再開されるので、当方側の端
末からの再度の掛け直しを行なわずとも、相手端末から
の発呼があれば直ちに再接続できるようになる。
Further, according to the third embodiment of the present invention, when a real-time call is made via a communication network, the terminal telephone number of the other party and the terminal telephone of the other party are used. The number and the number are stored by the terminal number storage means, and while the voice message is being played back to the terminal on the other side connected to the telephone network by the message playback means, the other party's call assistance device can perform a real-time call. If a terminal connection request for the connection is received, the terminal telephone number of the connection request source matches the terminal telephone number of the other party stored in the terminal number storage means, and the terminal telephone number of the connection request destination And the terminal number stored on the terminal number storage unit is determined by the connection terminal determination unit. If a match is determined, Since the real-time call via the communication network is resumed by the call resuming means, it is possible to immediately reconnect if there is a call from the partner terminal, without having to restart the call from the terminal on our side. .

【0161】また、本発明の請求項4に係る通話システ
ムの通話補助装置によれば、通信網を介したリアルタイ
ムの通話が行なわれている状態においては、直前一定時
間の通話音声が常に更新されて直近音声保存手段により
保存され、前記メッセージ取得手段により取得された当
方側の端末からの音声メッセージには前記直近音声保存
手段により保存された直前一定時間の通話音声が付加さ
れ、この直近の通話音声が付加された音声メッセージが
メッセージ転送手段により非リアルタイムのプロトコル
に変換されて相手側の通信補助装置に転送されるので、
相手端末の利用者に対し正確にそのメッセージ内容を伝
えることができるようになる。
According to the fourth embodiment of the present invention, when a real-time call is being made through a communication network, the call voice for a certain period immediately before is constantly updated. The voice message from the terminal on our side obtained by the latest voice storage means and stored by the latest voice storage means is added with the call voice for a predetermined time immediately before stored by the latest voice storage means. Since the voice message to which the voice is added is converted into a non-real-time protocol by the message transfer means and transferred to the communication auxiliary device of the other party,
The message content can be accurately transmitted to the user of the partner terminal.

【0162】よって、本発明によれば、電話通信におい
て通信品質の低下に伴なうメッセージ伝達性能の悪化を
補うことが可能になる。
Therefore, according to the present invention, it is possible to compensate for the deterioration of the message transmission performance accompanying the deterioration of the communication quality in telephone communication.

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

【図1】本発明の第1実施形態に係るインターネット電
話システムの全体構成を示す図。
FIG. 1 is a diagram showing an overall configuration of an Internet telephone system according to a first embodiment of the present invention.

【図2】前記インターネット電話システムにおけるゲー
トウエイ装置の電子回路の構成を示すブロック図。
FIG. 2 is a block diagram showing a configuration of an electronic circuit of the gateway device in the Internet telephone system.

【図3】前記インターネット電話システムのゲートウエ
イ装置における動作全体の流れを示す状態遷移図。
FIG. 3 is a state transition diagram showing an overall operation flow in the gateway device of the Internet telephone system.

【図4】前記インターネット電話システムのゲートウエ
イ装置における着信処理を示すフローチャート。
FIG. 4 is a flowchart showing an incoming call process in the gateway device of the Internet telephone system.

【図5】前記インターネット電話システムのゲートウエ
イ装置における発信処理を示すフローチャート。
FIG. 5 is a flowchart showing a calling process in the gateway device of the Internet telephone system.

【図6】前記インターネット電話システムのゲートウエ
イ装置におけるメッセージ処理を示すフローチャート。
FIG. 6 is a flowchart showing message processing in the gateway device of the Internet telephone system.

【図7】前記インターネット電話システムのゲートウエ
イ装置におけるコールバック処理を示すフローチャー
ト。
FIG. 7 is a flowchart showing a callback process in the gateway device of the Internet telephone system.

【図8】前記インターネット電話システムのゲートウエ
イ装置における受信メッセージ再生処理を示すフローチ
ャート。
FIG. 8 is a flowchart showing a received message reproduction process in the gateway device of the Internet telephone system.

【図9】前記インターネット電話システムのゲートウエ
イ装置における具体的動作の流れを示すシーケンス図。
FIG. 9 is a sequence diagram showing a flow of a specific operation in the gateway device of the Internet telephone system.

【図10】本発明の第2実施形態に係る移動体端末を含
む電話システムの全体構成を示す図。
FIG. 10 is a diagram showing an overall configuration of a telephone system including a mobile terminal according to a second embodiment of the present invention.

【図11】前記移動体端末を含む電話システムにおける
交換機の電子回路の構成を示すブロック図。
FIG. 11 is a block diagram showing a configuration of an electronic circuit of an exchange in a telephone system including the mobile terminal.

【図12】前記移動体端末を含む電話システムの交換機
における動作全体の流れを示す状態遷移図。
FIG. 12 is a state transition diagram showing an overall operation flow in the exchange of the telephone system including the mobile terminal.

【図13】前記移動体端末を含む電話システムの交換機
における着信処理を示すフローチャート。
FIG. 13 is a flowchart showing an incoming call process in an exchange of a telephone system including the mobile terminal.

【図14】前記移動体端末を含む電話システムの交換機
における発信処理を示すフローチャート。
FIG. 14 is a flowchart showing a calling process in an exchange of a telephone system including the mobile terminal.

【図15】前記移動体端末を含む電話システムの交換機
における切断理由判別処理を示すフローチャート。
FIG. 15 is a flowchart showing a disconnect reason determination process in the exchange of the telephone system including the mobile terminal.

【図16】前記移動体端末を含む電話システムの交換機
におけるローカル異常切断処理を示すフローチャート。
FIG. 16 is a flowchart showing a local abnormal disconnection process in the exchange of the telephone system including the mobile terminal.

【図17】前記移動体端末を含む電話システムの交換機
におけるリモート異常切断処理を示すフローチャート。
FIG. 17 is a flowchart showing remote abnormal disconnection processing in the exchange of the telephone system including the mobile terminal.

【図18】前記移動体端末を含む電話システムの交換機
における再接続及びメッセージ再生処理を示すフローチ
ャート。
FIG. 18 is a flowchart showing a reconnection and message reproduction process in the exchange of the telephone system including the mobile terminal.

【図19】前記移動体端末を含む電話システムの交換機
における具体的動作の流れを示すシーケンス図。
FIG. 19 is a sequence diagram showing a specific operation flow in the exchange of the telephone system including the mobile terminal.

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

11A,11B…電話端末、 12A,12B…電話回線(電話網)、 13A,13B…ゲートウエイ装置、 14 …インターネット(パケット網)、 21 …電話回線インターフェイス、 22 …パケット網インターフェイス、 23 …電話回線入力リングバッファ、 24 …電話回線出力リングバッファ、 25 …周波数解析部、 26 …音声符号化部、 27 …主制御部、 28 …直近音声保存リングバッファ、 29 …音声復号部、 30 …パケット入力リングバッファ、 31 …パケット出力リングバッファ、 32 …パケット衝突カウンタ、 33 …定型音声データ格納メモリ、 34 …リモート電話番号格納メモリ、 35 …ローカル電話番号格納メモリ、 36 …リモート音声メッセージ格納メモリ、 37 …ローカル音声メッセージ格納メモリ、 41 …移動電話端末、 42 …電話端末、 43A,43B…電話回線(電話網)、 44 …交換機、 51a,51b…電話回線インターフェイス、 52a,52b…電話回線入力リングバッファ、 53a,53b…電話回線出力リングバッファ、 54a,54b…周波数解析部、 55a,55b…ローカル電話番号格納メモリ、 56a,56b…ローカル音声メッセージ格納メモリ、 57 …主制御部、 58 …定型音声データ格納メモリ。 11A, 11B: Telephone terminal, 12A, 12B: Telephone line (telephone network), 13A, 13B: Gateway device, 14: Internet (packet network), 21: Telephone line interface, 22: Packet network interface, 23: Telephone line input Ring buffer, 24: telephone line output ring buffer, 25: frequency analysis unit, 26: voice coding unit, 27: main control unit, 28: latest voice storage ring buffer, 29: voice decoding unit, 30: packet input ring buffer 31 packet output ring buffer 32 packet collision counter 33 fixed voice data storage memory 34 remote phone number storage memory 35 local phone number storage memory 36 remote voice message storage memory 37 local voice Message case Memory 41 mobile telephone terminal 42 telephone terminal 43A, 43B telephone line (telephone network) 44 exchange, 51a, 51b telephone line interface 52a, 52b telephone line input ring buffer 53a, 53b Telephone line output ring buffers, 54a, 54b: frequency analysis unit, 55a, 55b: local telephone number storage memory, 56a, 56b: local voice message storage memory, 57: main control unit, 58: fixed voice data storage memory.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04Q 11/04 H04Q 11/04 R 9A001 Fターム(参考) 5K024 AA13 AA14 AA72 BB05 BB10 CC01 DD01 DD04 EE09 FF06 GG03 GG12 HH04 5K034 CC05 EE12 HH63 5K051 AA01 AA02 BB01 BB02 CC02 DD06 DD13 EE01 EE02 EE04 EE06 EE07 FF02 HH16 HH18 HH26 JJ02 JJ09 JJ13 JJ16 KK01 5K069 AA06 BA02 CA02 CB04 CB05 CB08 DA06 DB12 DB15 DB18 EA11 FA03 FA15 FC02 FC11 FD01 FD12 5K101 KK05 LL02 MM04 MM05 MM06 MM07 NN07 NN15 NN23 NN25 NN34 PP03 PP05 PP06 QQ02 QQ08 RR14 SS08 TT02 UU03 UU19 UU20 VV01 VV05 9A001 BZ03 CC02 CZ06 JJ25 LL02 LL09 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat ゛ (Reference) H04Q 11/04 H04Q 11/04 R 9A001 F term (Reference) 5K024 AA13 AA14 AA72 BB05 BB10 CC01 DD01 DD04 EE09 FF06 GG03 GG12 HH04 5K034 CC05 EE12 HH63 5K051 AA01 AA02 BB01 BB02 CC02 DD06 DD13 EE01 EE02 EE04 EE06 EE07 FF02 HH16 HH18 HH26 JJ02 JJ09 JJ13 JJ16 KK01 5K069 AA15 BA12 DB12 FA02 DB02 FA02 DB02 CB02 MM05 MM06 MM07 NN07 NN15 NN23 NN25 NN34 PP03 PP05 PP06 QQ02 QQ08 RR14 SS08 TT02 UU03 UU19 UU20 VV01 VV05 9A001 BZ03 CC02 CZ06 JJ25 LL02 LL09

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 一方の端末と他方の端末との間で通信網
を介しリアルタイムの通話を行なう通話システムの、前
記端末が接続された電話網と前記通信網との間に接続さ
れる通話補助装置であって、 前記通信網における通話品質の低下を検知する通話品質
検知手段と、 この通話品質低下検知手段により前記通信網における通
話品質の低下が検知された場合には、該通信網を介した
リアルタイムの通話を中断する通話中断手段と、 この通話中断手段により前記通信網を介したリアルタイ
ムの通話が中断された際に、電話網を介して接続されて
いる端末からの音声メッセージを取得するメッセージ取
得手段と、 このメッセージ取得手段により取得された端末からの音
声メッセージを非リアルタイムのプロトコルに変換して
相手側に転送するメッセージ転送手段と、を備えたこと
を特徴とする通話システムの通話補助装置。
1. A communication system for performing a real-time communication between one terminal and another terminal via a communication network, wherein the communication assistance is connected between the telephone network to which the terminal is connected and the communication network. A communication quality detecting means for detecting a decrease in communication quality in the communication network; and a communication quality detection means for detecting a decrease in communication quality in the communication network when the communication quality reduction detecting means detects the decrease in communication quality in the communication network. Call interrupting means for interrupting the real-time call, and acquiring a voice message from a terminal connected via the telephone network when the real-time call via the communication network is interrupted by the call interrupting means. Message acquiring means, and a message for converting the voice message from the terminal acquired by the message acquiring means into a non-real-time protocol and transferring the same to the other party. Call aid call system comprising: the di-transferring means.
【請求項2】 さらに、 相手側の通話補助装置のメッセージ転送手段により転送
されて来る音声メッセージを保存するメッセージ保存手
段と、 このメッセージ保存手段により保存された前記相手側か
らの転送音声メッセージを前記電話網に接続された当方
側の端末に対して再生するメッセージ再生手段と、を備
えたことを特徴とする請求項1に記載の通話システムの
通話補助装置。
2. A message storage means for storing a voice message transferred by a message transfer means of a call auxiliary device of the other party, and a transfer voice message from the other party stored by the message storage means. 2. The apparatus according to claim 1, further comprising: a message playback unit that plays back a terminal connected to the telephone network.
【請求項3】 さらに、 前記通信網を介したリアルタイムの通話が行なわれる際
に、当方側の端末電話番号と相手側の端末電話番号とを
格納する端末番号格納手段と、 前記メッセージ再生手段により前記電話網に接続された
当方側の端末に対する音声メッセージの再生が行なわれ
ている状態において、相手側の通話補助装置からリアル
タイム通話のための端末接続要求が受信された場合に
は、該接続要求元の端末電話番号と前記端末番号格納手
段に格納されている相手側の端末電話番号との一致及び
該接続要求先の端末電話番号と前記端末番号格納手段に
格納されている当方側の端末電話番号との一致を判断す
る接続端末判断手段と、 この接続端末判断手段により一致判断がなされた場合に
は、前記通信網を介したリアルタイムの通話を再開する
通話再開手段と、を備えたことを特徴とする請求項2に
記載の通話システムの通話補助装置。
3. A terminal number storage means for storing a terminal telephone number of the user and a terminal telephone number of the other party when a real-time call is made via the communication network. In the state where the voice message is being played back to the terminal on the other side connected to the telephone network, if a terminal connection request for a real-time call is received from the call auxiliary device on the other side, the connection request is received. A match between the original terminal telephone number and the terminal telephone number of the other party stored in the terminal number storage means, and the terminal telephone number of the connection request destination and the terminal telephone number of the other party stored in the terminal number storage means A connection terminal judging means for judging a match with the number; and a real-time call via the communication network is resumed if the connection terminal judgment means makes a match. The call assisting device for a call system according to claim 2, comprising:
【請求項4】 さらに、 前記通信網を介したリアルタイムの通話が行なわれてい
る状態において、直前一定時間の通話音声を常に更新し
て保存する直近音声保存手段を備え、 前記メッセージ転送手段は、前記メッセージ取得手段に
より取得された当方側の端末からの音声メッセージに前
記直近音声保存手段により保存された直前一定時間の通
話音声を付加した音声メッセージを非リアルタイムのプ
ロトコルに変換して相手側の通信補助装置に転送するメ
ッセージ転送手段である、ことを特徴とする請求項1乃
至請求項3の何れか1項に記載の通話システムの通話補
助装置。
Further, in a state where a real-time call through the communication network is being performed, a latest voice storage unit that constantly updates and stores a call voice for a predetermined period of time immediately before, and the message transfer unit includes: The voice message from the terminal on the side of the terminal obtained by the message obtaining unit to which the call voice for the predetermined time immediately before stored by the latest voice storing unit is added is converted into a non-real-time protocol to communicate with the other party. 4. The call assist device of the call system according to claim 1, wherein the call assist device is a message transfer unit that transfers the message to the assist device. 5.
【請求項5】 前記通信網は、インターネットであり、 前記リアルタイムの通話は、UDPのプロトコルにより
行なわれ、 前記非リアルタイムのプロトコルは、TCPのプロトコ
ルである、ことを特徴とする請求項1乃至請求項4の何
れか1項に記載の通話システムの通話補助装置。
5. The communication network according to claim 1, wherein the communication network is the Internet, the real-time communication is performed by a UDP protocol, and the non-real-time protocol is a TCP protocol. Item 5. A call assistance device for a call system according to any one of Items 4.
【請求項6】 一方の端末が接続された電話網と他方の
端末が接続された電話網との間に接続され、相互の電話
回線を接続する通話システムの通話補助装置であって、 何れか一方の端末に対する異常な回線切断を検知する切
断検知手段と、 この切断検知手段により一方の端末に対する回線切断が
検知された場合には、他方の端末から音声メッセージを
取得するメッセージ取得手段と、 前記切断検知手段により回線の切断が検知された一方の
端末と再度電話回線を接続する再接続手段と、 この再接続手段により再度電話回線が接続された一方の
端末に対して、前記メッセージ取得手段により取得され
た他方の端末からの音声メッセージを再生するメッセー
ジ再生手段と、を備えたことを特徴とする通話システム
の通話補助装置。
6. A communication auxiliary device for a communication system connected between a telephone network to which one terminal is connected and a telephone network to which the other terminal is connected and for connecting mutual telephone lines, Disconnection detection means for detecting an abnormal line disconnection for one terminal, and message acquisition means for acquiring a voice message from the other terminal when the disconnection detection means detects a line disconnection for one terminal, Reconnecting means for reconnecting the telephone line to one terminal whose disconnection has been detected by the disconnection detecting means; and for the one terminal reconnected to the telephone line by the reconnecting means, the message obtaining means And a message playback unit that plays back the voice message from the other terminal.
【請求項7】 さらに、 前記端末との電話回線の接続に伴ない、当該接続対象端
末が接続不安定な端末であることを判断する端末判断手
段と、 この端末判断手段により接続不安定な端末であると判断
された場合には、当該端末から音声メッセージを予め取
得する予備メッセージ取得手段と、 前記切断検知手段により一方の端末に対する回線切断が
検知された場合には、回線の切断が検知されてない他方
の端末に対して、前記予備メッセージ取得手段により予
め取得された端末からの音声メッセージを再生する予備
メッセージ再生手段と、を備えたことを特徴とする請求
項6に記載の通話システムの通話補助装置。
7. A terminal judging means for judging that the connection target terminal is an unstable connection terminal in accordance with connection of a telephone line to the terminal, and a terminal having an unstable connection by the terminal judging means. If it is determined that the terminal is disconnected, a preliminary message acquisition unit that acquires a voice message from the terminal in advance, and if the line disconnection to one terminal is detected by the disconnection detection unit, the line disconnection is detected. 7. The communication system according to claim 6, further comprising: a spare message reproducing unit that reproduces a voice message from the terminal acquired in advance by the preliminary message acquiring unit with respect to the other terminal that is not provided. Call assistance device.
JP05021999A 1999-02-26 1999-02-26 Call assistance device for call system Expired - Fee Related JP3780728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05021999A JP3780728B2 (en) 1999-02-26 1999-02-26 Call assistance device for call system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05021999A JP3780728B2 (en) 1999-02-26 1999-02-26 Call assistance device for call system

Publications (2)

Publication Number Publication Date
JP2000253150A true JP2000253150A (en) 2000-09-14
JP3780728B2 JP3780728B2 (en) 2006-05-31

Family

ID=12852954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05021999A Expired - Fee Related JP3780728B2 (en) 1999-02-26 1999-02-26 Call assistance device for call system

Country Status (1)

Country Link
JP (1) JP3780728B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011501569A (en) * 2007-10-19 2011-01-06 レベルヴォックス,エルエルシー Communication and multimedia management method and apparatus
JP2012028889A (en) * 2010-07-21 2012-02-09 Panasonic Corp Communication device and communication method
US8682336B2 (en) 2007-10-19 2014-03-25 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8699678B2 (en) 2007-10-19 2014-04-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8706907B2 (en) 2007-10-19 2014-04-22 Voxer Ip Llc Telecommunication and multimedia management method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011501569A (en) * 2007-10-19 2011-01-06 レベルヴォックス,エルエルシー Communication and multimedia management method and apparatus
US8682336B2 (en) 2007-10-19 2014-03-25 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8699678B2 (en) 2007-10-19 2014-04-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
US8706907B2 (en) 2007-10-19 2014-04-22 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
JP2012028889A (en) * 2010-07-21 2012-02-09 Panasonic Corp Communication device and communication method

Also Published As

Publication number Publication date
JP3780728B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
EP1244282B1 (en) Method and apparatus for local generation of media content for callers put on hold
JP2002512738A (en) Phone doubler device
US20030067922A1 (en) Communication method, communication device, and communication terminal
KR100603575B1 (en) Apparatus and Method for Handling RTP Media Packet of VoIP Phone
JP2000270024A (en) Method for exchanging capability of frame packet processing size in internet phone, terminal utilizing internet phone and medium recording program of internet phone
JP3780728B2 (en) Call assistance device for call system
JP2003283557A (en) Audio data transmitting-receiving system
US7027583B2 (en) Telephone speech control system, intermediate processing device, and exchange
JP4263839B2 (en) Voice mail system and recording medium recording program
JP2000312229A (en) Voice gateway device an its control method
US20090238176A1 (en) Method, telephone system and telephone terminal for call session
JP2000059471A (en) Method and device for internet telephone communication and recording medium with its program relorded therein
JP2001223747A (en) Communication device and repeating device equipped with hold control function and hold control method thereof
JP3257761B2 (en) Network adapter device
CN108881180B (en) Recording method and recording system
JP3632596B2 (en) Telephone system
JP2005020676A (en) Telephone communication method and apparatus
JP2003023499A (en) Conference server device and conference system
US20040228471A1 (en) DTMF tone generation in a media gateway
JPH10190735A (en) Communication system
JP3539319B2 (en) Internet telephone equipment
US7545738B2 (en) Network telephony system with enhanced interconversion of audio signals and IP packets
JP4154184B2 (en) Voice terminal and voice communication method
JP2000049936A (en) Telephone exchange, communication system, communication control method and storage medium
JP2001308925A (en) Priority control method for network system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090317

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees