JP2012044584A - Packet communication apparatus and packet communication system - Google Patents
Packet communication apparatus and packet communication system Download PDFInfo
- Publication number
- JP2012044584A JP2012044584A JP2010185978A JP2010185978A JP2012044584A JP 2012044584 A JP2012044584 A JP 2012044584A JP 2010185978 A JP2010185978 A JP 2010185978A JP 2010185978 A JP2010185978 A JP 2010185978A JP 2012044584 A JP2012044584 A JP 2012044584A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- data
- rtp
- rtp packet
- communication
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 78
- 238000012790 confirmation Methods 0.000 claims abstract description 78
- 230000005540 biological transmission Effects 0.000 claims description 83
- 101000635761 Homo sapiens Receptor-transporting protein 3 Proteins 0.000 description 38
- 102100030849 Receptor-transporting protein 3 Human genes 0.000 description 38
- 238000012545 processing Methods 0.000 description 31
- 101000857634 Homo sapiens Receptor-transporting protein 1 Proteins 0.000 description 29
- 102100025426 Receptor-transporting protein 1 Human genes 0.000 description 29
- 239000000872 buffer Substances 0.000 description 15
- 238000000354 decomposition reaction Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 12
- 101000635752 Homo sapiens Receptor-transporting protein 2 Proteins 0.000 description 8
- 102100030850 Receptor-transporting protein 2 Human genes 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 102100031383 Fibulin-7 Human genes 0.000 description 5
- 101000846874 Homo sapiens Fibulin-7 Proteins 0.000 description 5
- 238000012217 deletion Methods 0.000 description 5
- 230000037430 deletion Effects 0.000 description 5
- 102100024233 High affinity cAMP-specific 3',5'-cyclic phosphodiesterase 7A Human genes 0.000 description 3
- 101001117267 Homo sapiens High affinity cAMP-specific 3',5'-cyclic phosphodiesterase 7A Proteins 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Abstract
Description
本発明はパケット通信装置及びパケット通信システムに関し、例えば、ファクシミリ(FAX)端末を収容し、インターネット・プロトコル・ネットワーク(以下、IPネットワークと呼ぶ)を介し、インバンド方式にてFAX通信を行うIP−FAXゲートウェイ装置(以下、FAXゲートウェイ装置と呼ぶ)及びそのFAXゲートウェイ装置を含む通信システムに適用し得るものである。 The present invention relates to a packet communication apparatus and a packet communication system, for example, an IP- that accommodates a facsimile (FAX) terminal and performs FAX communication in an in-band system via an Internet protocol network (hereinafter referred to as an IP network). The present invention can be applied to a FAX gateway device (hereinafter referred to as “FAX gateway device”) and a communication system including the FAX gateway device.
IPネットワークを介してFAX通信を行う方式として、G.711インバンド方式(以下、インバンド方式と呼ぶ)がある。インバンド方式は、G3ファクシミリのモデム信号を音声信号と同様に伝送するものであり、リアルタイム性を重視するため、伝送プロトコルにはUDPを使用する。 As a method for performing FAX communication via an IP network, G. There is a 711 in-band method (hereinafter referred to as an in-band method). The in-band method transmits a G3 facsimile modem signal in the same manner as a voice signal, and uses UDP as a transmission protocol in order to place importance on real-time characteristics.
UDPでは到達確認や再送処理を実施しないため、モデム信号を音声符号化したデータを収めたIPパケットが紛失された場合、受信側で、そのデータを復元することは不可能であり、モデム信号が正しく復調されず、FAX通信がエラー終了する原因となる。 Since UDP does not perform arrival confirmation or retransmission processing, if an IP packet containing data obtained by voice encoding a modem signal is lost, it is impossible for the receiving side to restore the data. The communication is not correctly demodulated and causes the FAX communication to end in error.
パケットロスへの対策として、本データに冗長データを付加して相手に送ることで、仮に1パケットがロスしても、その前後のパケットから、ロスした本データを復元させる手法がある。冗長データの最も単純な例として、本データを挙げることができる。例えば、前に送った本データをそのまま、その後のパケットに冗長データとして付加(リダンダント化)して送信することにより、本データを収めたパケットが失われて受信側に到達できない場合でも、その後のパケットを受信したときに、時系列上、欠落していた本データの部分を冗長データ(冗長の本データ)で補完する。 As a countermeasure against packet loss, there is a method in which redundant data is added to this data and sent to the other party, so that even if one packet is lost, the lost main data is restored from the previous and subsequent packets. This data can be given as the simplest example of redundant data. For example, even if the packet containing this data is lost and cannot reach the receiving side by adding (redundant) it as redundant data to the subsequent packet and transmitting it as it is, the original data sent before will be lost. When a packet is received, the portion of the main data that is missing in time series is supplemented with redundant data (redundant main data).
このリダンダントの面数を増やすことで、連続してパケットロスが発生した場合でも、データの復元が可能となる。ここで、リダンダントの面数とは、1つの本データを、冗長データとして用いてパケットに付加する回数を言う。 By increasing the number of redundant planes, data can be restored even when packet loss occurs continuously. Here, the number of redundant faces refers to the number of times that one main data is added to a packet using redundant data.
図8は、リダンダント面数が4の場合における、パケットに収められているデータの構成及び送受信されるパケットの時系列を示す説明図である。図8において、パケットPK(n−4)〜PKnで、本データとして収められたデータ部分をそれぞれ、「1」〜「5」で表わしている。パケットPKnがIPネットワーク上で紛失されることなく、受信側に到達したときには、データ「5」が初めて取り込まれる。送信側は、次のパケットPK(n+1)では、新たなデータ部分「6」を本データとして収めると共に、リダンダント面数だけ前のパケットPK(n−3)以降のパケットPK(n−3)〜PKnにおける本データ「2」〜「5」を冗長データとして追加する。パケットPK(n+2)〜PK(n+4)も、同様な処理により、本データと冗長データとを含むように構築されて送信される。パケットPKn〜PK(n+4)のうち、パケットPK(n+2)及びPK(n+3)がIPネットワーク上で紛失され受信側に到達できなかったが、その後のパケットPK(n+4)が受信側に到達できたとする。このとき、受信側は、パケットPK(n+4)における本データ「9」を取り込むと共に、パケットPK(n+4)における冗長データの中から、到達できなかったパケットPK(n+2)及びPK(n+3)における本データ「7」及び「8」も取り込む。 FIG. 8 is an explanatory diagram showing the structure of data stored in a packet and the time series of packets transmitted and received when the number of redundant planes is four. In FIG. 8, data portions stored as main data in packets PK (n−4) to PKn are represented by “1” to “5”, respectively. When the packet PKn reaches the receiving side without being lost on the IP network, data “5” is captured for the first time. In the next packet PK (n + 1), the transmission side stores the new data portion “6” as the main data, and the packet PK (n−3) to the packet PK (n−3) after the packet PK (n−3) that is the previous number of redundant planes. The main data “2” to “5” in PKn are added as redundant data. The packets PK (n + 2) to PK (n + 4) are also constructed and transmitted so as to include the main data and the redundant data by the same process. Of the packets PKn to PK (n + 4), packets PK (n + 2) and PK (n + 3) are lost on the IP network and cannot reach the receiving side, but the subsequent packet PK (n + 4) can reach the receiving side. To do. At this time, the receiving side captures the main data “9” in the packet PK (n + 4), and the main data in the packets PK (n + 2) and PK (n + 3) that could not be reached from the redundant data in the packet PK (n + 4). Data “7” and “8” are also captured.
特許文献1には、受信するパケットのシーケンス番号を監視することにより、パケットロスの発生を検知してネットワーク状態の良否を予測し、あるいは、FAX送信を開始する前に通信相手にpingを送出し、そのリプライの有無によりネットワーク状態の良否を予測し、予測したネットワーク状態がパケットロスの可能性が低いと判断される場合にリダンダント面数を少なくするようにリダンダント面数を調整して、帯域を節約することが記載されている。
In
リダンダント面数を増やすほどパケットロスに対する耐性が強くなる。しかしながら、FAX通信に係るインバンド方式の場合、G.711のコーデック(CODEC)を使用するため、本データについての帯域は64kbpsであり、リダンダント面数がnであれば単純にn倍の帯域がリダンダントのために必要となる。パケットロスがない状況では、冗長データは有効に機能していないので、このような状況では、多くの帯域を浪費しているということもできる。 Increasing the number of redundant planes increases the resistance to packet loss. However, in the case of the in-band method related to FAX communication, G. Since the 711 codec (CODEC) is used, the bandwidth for this data is 64 kbps, and if the number of redundant planes is n, an n-fold bandwidth is simply required for redundancy. In a situation where there is no packet loss, redundant data is not functioning effectively. In this situation, it can be said that a lot of bandwidth is wasted.
上述したように、特許文献1では、ネットワーク状態に応じた帯域の節約方法を示している。しかしながら、ネットワーク状態を予測してリダンダント面数を切り替えているいため、良好なネットワーク状態から急に状態が悪化した場合には、必要なリダンダント面数を確保できず、リダンダント化が有効に機能しないことも生じてしまう。
As described above,
本発明は、以上の点に鑑みなされたものであり、必要帯域を抑えながら、パケットロスに対する高い耐性を実現できるパケット通信装置及びパケット通信システムを提供しようとしたものである。 The present invention has been made in view of the above points, and an object of the present invention is to provide a packet communication device and a packet communication system that can realize high resistance to packet loss while suppressing a necessary bandwidth.
第1の本発明のパケット通信装置は、(1)原データを収めた、シーケンス番号が付与された原データサブパケットを通信パケットの通信周期毎に生成する原データサブパケット生成手段と、(2)生成された上記原データサブパケットを、冗長送信のために冗長データサブパケットとして待機させる待機手段と、(3)対向するパケット通信装置が送信し、当該パケット通信装置が受信した通信パケットにおける原データサブパケット及び冗長データサブパケットのシーケンス番号を含む、対向するパケット通信装置へ送信する到達確認サブパケットを生成する到達確認サブパケット生成手段と、(4)上記通信周期毎に、上記原データサブパケット生成手段が生成した原データサブパケットと、上記到達確認サブパケット生成手段が生成した到達確認サブパケットとを収めた通信パケットであって、上記待機手段によって待機されている冗長データサブパケットが収められることもあり得る通信パケットを作成して、対向するパケット通信装置へ宛てて送信するパケット作成・送信手段とを備えることを特徴とする。 The packet communication device according to the first aspect of the present invention comprises: (1) original data subpacket generation means for generating original data subpackets containing original data and assigned sequence numbers for each communication cycle of communication packets; A standby means for waiting the generated original data subpacket as a redundant data subpacket for redundant transmission; and (3) an original packet in a communication packet transmitted by the opposite packet communication apparatus and received by the packet communication apparatus. Arrival confirmation subpacket generation means for generating an arrival confirmation subpacket to be transmitted to the opposite packet communication device including the sequence numbers of the data subpacket and the redundant data subpacket; and (4) the original data sub for each communication cycle. Generated by the original data subpacket generated by the packet generator and the arrival confirmation subpacket generator A communication packet containing the received arrival confirmation subpacket, which may contain the redundant data subpacket that is waiting by the waiting means, and is sent to the opposite packet communication device And a packet creating / transmitting means.
第2の本発明のパケット通信システムは、2つの第1の本発明のパケット通信装置が、パケット通信網を介して通信することを特徴とする。 The packet communication system of the second aspect of the present invention is characterized in that two packet communication apparatuses of the first aspect of the present invention communicate via a packet communication network.
本発明によれば、必要帯域を抑えながら、パケットロスに対する高い耐性を実現できるパケット通信装置及びパケット通信システムを提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the packet communication apparatus and packet communication system which can implement | achieve the high tolerance with respect to a packet loss, suppressing a required band can be provided.
(A)第1の実施形態
以下、本発明によるパケット通信装置及びパケット通信システムの第1の実施形態を、図面を参照しながら説明する。第1の実施形態のパケット通信装置は、FAXゲートウェイ装置である。第1の実施形態のパケット通信システムは、2つの第1の実施形態のFAXゲートウェイ装置が対向する通信システムである。
(A) First Embodiment Hereinafter, a first embodiment of a packet communication device and a packet communication system according to the present invention will be described with reference to the drawings. The packet communication apparatus according to the first embodiment is a FAX gateway apparatus. The packet communication system according to the first embodiment is a communication system in which two FAX gateway apparatuses according to the first embodiment face each other.
(A−1)第1の実施形態の構成
図1は、第1の実施形態のFAXゲートウェイ装置の構成を示すブロック図である。第1の実施形態のFAXゲートウェイ装置は、専用装置として構成されたものであっても良く、また、電話回線の接続端子を有するパソコン等の情報処理装置に、所定のプログラムを搭載することによって構成されたものであっても良いが、機能的には、図1で表わすことができる。
(A-1) Configuration of First Embodiment FIG. 1 is a block diagram illustrating a configuration of a FAX gateway device according to the first embodiment. The FAX gateway apparatus according to the first embodiment may be configured as a dedicated apparatus, and is configured by mounting a predetermined program on an information processing apparatus such as a personal computer having a telephone line connection terminal. Functionally, it can be represented in FIG.
図1において、第1の実施形態のFAXゲートウェイ装置10は、G3ファクシミリ機(以下、G3FAX機と呼ぶ)を収容し、そのG3FAX機をIPネットワークに接続させる装置である。
In FIG. 1, a
FAXゲートウェイ装置10は、図示は省略しているが、IPネットワークを介して、同種のFAXゲートウェイ装置と対向するものである(以下、対向側のFAXゲートウェイ装置に対しては符号「10A」を用いて、符号上、区別するものとする)。
Although not shown, the
インバンド方式では、対向する両装置(例えばFAXゲートウェイ装置10、10A)の双方で、同一の一定間隔で、定期的に定量のデータを送信する動作モードがある。第1の実施形態のFAXゲートウェイ装置10は、このような動作モードの動作を実行できるものである。
In the in-band method, there is an operation mode in which quantitative data is periodically transmitted at the same constant interval in both of the opposing devices (for example, the
FAXゲートウェイ装置10は、IPパケット受信処理部11、リダンダント分解部12、受信バッファ部13、CODEC部14、FAXインタフェース部15、到達確認データ処理部16、RTPデータ生成部17、一時待機部18、送信待機部19、受信パケット情報付加部20及びIPパケット送信処理部21を有する。
The
図2は、対向するFAXゲートウェイ装置10及び10A間で授受するIPパケット(FAX−IPパケットと呼ぶこともある)の構成を示す説明図である。
FIG. 2 is an explanatory diagram showing a configuration of an IP packet (sometimes referred to as a FAX-IP packet) exchanged between the opposing
FAX−IPパケットは、IPヘッダと、IPパケットとしてのデータ部に収められているUDPパケットとでなる。このUDPパケットは、UDPヘッダと、UDPパケットとしてのデータ部に収められている複数種類のRTPパケットとでなる。複数種類のRTPパケットは、本データ用RTPパケットRTP1、冗長データ用RTPパケットRTP2、到達確認データ用RTPパケットRTP3である。冗長データ用RTPパケットRTP2は、後述する一時待機部18に待機されている分(リダンダント面数の最大値以下)だけUDPパケットに収められるものである。図2は、2つの冗長データ用RTPパケットRTP2−1、RTP2−2がUDPパケットに収められている場合を示している。 The FAX-IP packet is composed of an IP header and a UDP packet stored in a data part as an IP packet. This UDP packet is composed of a UDP header and a plurality of types of RTP packets stored in a data part as a UDP packet. The plurality of types of RTP packets are the main data RTP packet RTP1, the redundant data RTP packet RTP2, and the arrival confirmation data RTP packet RTP3. The redundant data RTP packet RTP2 is accommodated in the UDP packet as much as it is waiting in the temporary standby unit 18 (to be described later) (below the maximum number of redundant surfaces). FIG. 2 shows a case where two redundant data RTP packets RTP2-1 and RTP2-2 are contained in a UDP packet.
以下では、本データ用RTPパケット及び冗長データ用RTPパケットを音声用RTPパケットと呼ぶこともある。 Hereinafter, the RTP packet for data and the RTP packet for redundant data may be referred to as voice RTP packets.
IPパケット受信処理部11は、IPネットワークから当該FAXゲートウェイ装置10に到達したIPパケットを分解するなど受信処理し、抽出したUDPパケットをリダンダント分解部12へ与えるものである。
The IP packet
リダンダント分解部12は、UDPパケットを各音声用RTPパケットと、到達確認データ用RTPパケットに分解するものである。得られた音声用RTPパケットは、リダンダント分解部12から受信バッファ部13に与えられ、得られた到達確認データ用RTPパケットは、リダンダント分解部12から到達確認データ処理部16に与えられる。また、リダンダント分解部12は、受信した本データ用RTPパケット及び冗長データ用RTPパケットのシーケンス番号を抽出して受信パケット情報付加部20へ与えるものである。
The
受信バッファ部13は、音声用RTPパケットにおけるRTPヘッダのシーケンス番号に従い、音声用RTPパケットに収められている音声データ(符号化音声データ)の時系列上の位置を確認しつつ、その音声データの部分が内蔵するバッファに格納されていなければそのバッファの所定位置に格納する。ここで、音声データのバッファへの格納では、時系列上の位置を表す情報としてシーケンス番号も格納される。音声用RTPパケットには、本データ用RTPパケットと冗長データ用RTPパケットとが含まれているが、冗長データ用RTPパケットに収められている冗長データ(前の音声データ)は、既に受信できている可能性が高い。受信バッファ部13は、冗長データのシーケンス番号が既にバッファに格納されている場合には、その冗長データを追加して格納することなく廃棄する。
The
CODEC部14(の復号部)は、定期的に受信バッファ部13から、格納されている音声データを取り出して復号処理し、音声信号(アナログ信号;正しくはモデム信号)を復元するものである。また、CODEC部14(の符号化部)は、FAXインタフェース部15を介して、G3FAX機から与えられた音声信号(モデム信号)を音声符号化して音声データ(符号化音声データ)に変換し、RTPデータ生成部17に与えるものである。
The CODEC unit 14 (decoding unit thereof) periodically takes out stored audio data from the
FAXインタフェース部15は、CODEC部14から出力された音声信号(モデム信号)をG3FAX機に与えるものである。また、FAXインタフェース部15は、G3FAX機から与えられた音声信号(モデム信号)をCODEC部14に与えるものである。
The
到達確認データ処理部16には、上述したように、リダンダント分解部12から出力された到達確認データ用RTPパケットが与えられる。到達確認データ用RTPパケットにおけるデータ部分に挿入されている到達確認データには、対向するFAXゲートウェイ装置10Aが受信したRTPパケットのシーケンス番号が含まれており、到達確認データ処理部16は、到達確認データ用RTPパケットのデータ部分に挿入されているシーケンス番号の情報を抽出して送信待機部19に与えるものである。
As described above, the arrival confirmation
RTPデータ生成部17は、CODEC部14から与えられた符号化音声データを、パケットのデータ部分に挿入した音声用RTPパケットを生成し、一時待機部18及びIPパケット送信処理部21に与えるものである。後述するように、一時待機部18に与えられた音声用RTPパケットは冗長データ用RTPパケットになり、IPパケット送信処理部21に与えられたRTPパケットは本データ用RTPパケットになるものである。
The RTP
一時待機部18は、RTPデータ生成部17によって生成された音声用RTPパケットを、冗長データ用RTPパケットとしてバッファリングするものである。一時待機部18は、例えば、少なくともリダンダント面数に応じた期間(リダンダント面数+1のIPパケットの送出に要する期間)だけ、与えられた音声用RTPパケット(冗長データ用RTPパケット)をバッファリングすることができる容量を有しているものである。
The
送信待機部19は、IPパケット送信処理部21からIPパケットが送信される毎に、一時待機部18から冗長データ用RTPパケットを取り出し、IPパケット(UDPパケット)における冗長部の構成(1又は複数の冗長データ用RTPパケットでなる)を作成し、送信に向けて作成した冗長部データを待機させるものである。また、送信待機部19は、冗長部データの待機中に、到達確認データ処理部16から到達確認されたシーケンス番号の情報(到達確認データ用RTPパケットのデータ部に盛り込まれていたシーケンス番号情報)を受け取った場合において、該当するシーケンス番号の冗長データ用RTPパケットが一時待機部18にあると、そのRTPデータを一時待機部18から即座に削除するものである。ここで、この第1の実施形態とは異なるが、一時待機部18からの削除に並行して、冗長部データからも、その冗長データ用RTPパケットを除外するようにしても良い。
The
受信パケット情報付加部20は、リダンダント分解部12から与えられた、当該FAXゲートウェイ装置10が受信した本データ用RTPパケット及び冗長データ用RTPパケットのシーケンス番号情報を、データ部分に含む到達確認データ用RTPパケットを作成して、IPパケット送信処理部21へ与えるものである。
The received packet
IPパケット送信処理部21は、所定周期の送信タイミングに合わせて、送信待機部19から待機中の冗長部データ(1又は複数の冗長データ用RTPパケット)を取り出し、RTPデータ生成部17から与えられた本データ用RTPパケットと、送信待機部19から取り出した冗長データ用RTPパケットと、受信パケット情報付加部20から与えられた到達確認データ用RTPパケットとを一緒にカプセル化したUDPパケットを形成した後、さらに、図2に示す構成のIPパケットを形成してIPネットワークへ送信するものである。
The IP packet
ここで、リダンダント面数の最大値mを設定しておいた場合には、IPパケット送信処理部21は、送信待機部19から待機中の冗長部データ(RTPパケット)を取り出す際に、送信待機部19に待機しているRTPパケットの数がmよりも大きいときには、mを超えた数のRTPパケットであって、シーケンス番号の若い側(待機の開始時刻が古い側)のRTPパケットを送信待機部19から削除し、残りの待機RTPパケットを取り出すようにすれば良い。
Here, when the maximum value m of the number of redundant planes has been set, the IP packet
(A−2)第1の実施形態の動作
次に、第1の実施形態のFAXゲートウェイ装置10における動作を説明する。以下では、図3(A)に示す冗長データ用RTPパケットが1つだけ収められているIPパケットを受信した時点からの一連の動作(パケット受信及びパケット送信)を説明する。
(A-2) Operation of the First Embodiment Next, the operation of the
図3(A)に示すIPパケットは、本データ用RTPパケットはシーケンス番号が「10」のRTPパケットであり、冗長データ用RTPパケットはシーケンス番号が「9」のRTPパケットであり、到達確認データ用RTPパケットRTP3には、対向するFAXゲートウェイ装置10Aが、当該FAXゲートウェイ装置10が送信したシーケンス番号「101」及び「100」の音声データ用RTPパケットを受信したことを表す情報が盛り込まれている。
In the IP packet shown in FIG. 3A, the RTP packet for this data is an RTP packet with a sequence number “10”, the RTP packet for redundant data is an RTP packet with a sequence number “9”, and arrival confirmation data The RTP packet RTP3 includes information indicating that the opposite
FAXゲートウェイ装置10に到来した図3(A)に示すIPパケットは、IPパケット受信処理部11によって受信処理され、抽出されたUDPパケット(IPパケットからIPヘッダを除去した部分)はリダンダント分解部12に与えられる。
The IP packet shown in FIG. 3A that has arrived at the
リダンダント分解部12において、UDPパケットは、本データ用RTPパケットRTP1、冗長データ用RTPパケットRTP2、到達確認データ用RTPパケットRTP3に分解される。本データ用RTPパケットRTP1及び冗長データ用RTPパケットRTP2に記述されているシーケンス番号の情報が、リダンダント分解部12から受信パケット情報付加部20へ伝えられる。図3のIPパケットの場合であれば、“シーケンス番号10,9の音声データ用RTPパケットの受信”の情報が受信パケット情報付加部20に伝えられる。
In the
リダンダント分解部12による分解処理で抽出された本データ用RTPパケットRTP1及び冗長データ用RTPパケットRTP2は、受信バッファ部13でバッファリングされた後、シーケンス番号順にCODEC部14に送られ、CODEC部14によって復号され、音声信号(アナログ信号;正しくはモデム信号)が復元され、FAXインタフェース部15を介して、G3FAX機に伝送される。なお、既に受信バッファ部13に、同じシーケンス番号のRTPパケットデータが格納されていた場合には、受信バッファ部13には格納されずに廃棄される。このように廃棄される可能性があるRTPパケットは、冗長データ用RTPパケットRTP2である。
The main data RTP packet RTP1 and the redundant data RTP packet RTP2 extracted by the decomposition processing by the
到達確認データ処理部16には、リダンダント分解部12から到達確認データ用RTPパケットRTP3が与えられる。図3(A)に示す到達確認データ用RTPパケットRTP3は、対向するFAXゲートウェイ装置10Aで、当該FAXゲートウェイ装置10が送信したシーケンス番号「101」、「100」の音声データ用RTPパケットを受信したという情報を含んでおり、この“シーケンス番号101,100の音声データ用RTPパケットの受信”の情報は、到達確認データ処理部16から送信待機部19に与えられる。
The arrival confirmation
一方、G3FAX機から送信されたアナログ信号は、FAXインタフェース部15で受信されてCODEC部14に引き渡され、CODEC部14において音声符号化処理が施され、符号化音声データがRTPデータ生成部17に与えられる。そして、RTPデータ生成部17によって、符号化音声データを収めたRTPパケットが生成され、生成されたRTPパケットは、IPパケット送信処理部21と一時待機部18に与えられる。ここで、生成されるRTPパケットは、シーケンス番号が「103」のものである(なお、シーケンス番号が「102」のRTPパケットは1タイミング前に生成されて一時待機部18に格納されている)。
On the other hand, the analog signal transmitted from the G3 FAX machine is received by the
送信待機部19では、前のIPパケットを送信したタイミングでシーケンス番号が「102」のRTPパケットを一時待機部18から取り込み、さらに、その前のIPパケットを送信したタイミングでシーケンス番号が「101」のRTPパケットを一時待機部18から取り込んでおり、それぞれ待機させている。
The
この状態において、到達確認データ処理部16から、“シーケンス番号101,100の音声データ用RTPパケットの受信”の情報が送信待機部19に与えられると、送信待機部19によって、シーケンス番号101の音声データ用RTPパケット及びシーケンス番号100の音声データ用RTPパケットが一時待機部18から削除される。なお、前の到達確認データ用RTPパケットRTP3の受信時において、シーケンス番号100の音声データ用RTPパケットが一時待機部18から既に削除されているので、シーケンス番号100の音声データ用RTPパケットだけが、今回、一時待機部18から削除される。
In this state, when the arrival confirmation
受信パケット情報付加部20においては、リダンダント分解部12より伝えられた“シーケンス番号10,9の音声データ用RTPパケットの受信”の情報に基づき、これらRTPパケットの到達確認データ用RTPパケットRTP3が生成され、IPパケット送信処理部11へ与えられる。
The reception packet
IPパケット送信処理部11においては、送信タイミングになる前に既にRTPデータ生成部17から与えられている本データ用RTPパケットRTP1(シーケンス番号は103)と、送信タイミングになる前に既に受信パケット情報付加部20から与えられている到達確認データ用RTPパケットRTP3と、送信タイミングになった時点で一時待機部18に待機されている冗長データ用RTPパケットRTP1(シーケンス番号は102)とから、UDPパケットが組み立てられ、さらに、IPヘッダが付与されて、図3(B)に示すIPパケットが作成されて、対向するFAXゲートウェイ装置10Aに宛てて送信される。
In the IP packet
次に、第1の実施形態の通信システムにおける動作を、図4を参照しながら説明する。 Next, the operation of the communication system according to the first embodiment will be described with reference to FIG.
図4は、第1の実施形態の通信システムの構成要素である、2つのFAXゲートウェイ装置10及び10Aがそれぞれ、各タイミングで授受するRTPパケットを示す説明図である。図4の右側はFAXゲートウェイ装置10が授受するRTPパケットを示し、図4の左側はFAXゲートウェイ装置10Aが授受するRTPパケットを示している。2つのFAXゲートウェイ装置10及び10Aは、一定間隔で定期的に送信を実行している(図4は同期送信の場合を示している)。図4は、リダンダント面数の最大値mが3に設定されている場合である。図4において、「−」はその冗長データ用RTPパケットが送信されないことを表している。なお、送信省略に代えて、オール「0」若しくはオール「1」などのダミーデータ(無意味なRTPパケット)を送信するようにしても良い。
FIG. 4 is an explanatory diagram showing RTP packets exchanged at each timing by the two
タイミングTM10において、FAXゲートウェイ装置10は、シーケンス番号が「100」の本データ用RTPパケットRTP1と、シーケンス番号が「99」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「8」及び「9」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置10Aに送信し、対向するFAXゲートウェイ装置10Aは、シーケンス番号が「10」の本データ用RTPパケットRTP1と、シーケンス番号が「9」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「98」及び「99」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、当該FAXゲートウェイ装置10に送信し、いずれも相手方のFAXゲートウェイ装置10A、10に到達したとする。
At the timing TM10, the
FAXゲートウェイ装置10は、シーケンス番号「98」及び「99」の到達確認を受け取ったので、次のタイミングTM11での送信前に、これらシーケンス番号「98」及び「99」のRTPパケットを一時待機部18から削除し、これにより、前のタイミングTM9(図4では記載が省略されている)の送信以降に一時待機部18に格納されたシーケンス番号「100」のRTPパケットだけが一時待機部18に残る。そのため、タイミングTM11においては、FAXゲートウェイ装置10は、シーケンス番号が「101」の本データ用RTPパケットRTP1と、シーケンス番号が「100」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「9」及び「10」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置10Aに送信する。対向するFAXゲートウェイ装置10Aも、同様な処理を行い、タイミングTM11での送信を行う。
Since the
このタイミングTM11のいずれの方向の送信パケットも、相手方のFAXゲートウェイ装置10A、10に到達したとする。そのため、FAXゲートウェイ装置10、10A共に、正常受信時の動作を行い、次のタイミングTM12でのパケット送信を行うことになる。
It is assumed that a transmission packet in any direction of the timing TM11 reaches the counterpart
対向するFAXゲートウェイ装置10Aが、タイミングTM12で送信したシーケンス番号が「12」の本データ用RTPパケットRTP1と、シーケンス番号が「11」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「100」及び「101」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とが、FAXゲートウェイ装置10に到達しなかったとする(パケットロスがあったとする)。FAXゲートウェイ装置10は、シーケンス番号「100」及び「101」の到達確認を受け取れないので、次のタイミングTM13での送信前に、到達確認に伴う一時待機部18からのRTPパケットの削除を実行せず、一時待機部18にはシーケンス番号「102」及び「101」のRTPパケットが残る。そのため、タイミングTM13においては、FAXゲートウェイ装置10は、シーケンス番号が「103」の本データ用RTPパケットRTP1と、シーケンス番号が「102」及び「101」の冗長データ用RTPパケットRTP2−1及びRTP2−2とを、対向するFAXゲートウェイ装置10Aに送信する。この際、到達確認データ用RTPパケットRTP3は送信しない。若しくは、いずれのRTPパケットを受信していないことを表す空の到達確認データ用RTPパケットRTP3を送信する。一方、対向するFAXゲートウェイ装置10Aは、正常受信時の動作を行い、タイミングTM13でのパケット送信を行うことになる。
The opposite
対向するFAXゲートウェイ装置10Aが、タイミングTM13で送信したシーケンス番号が「13」の本データ用RTPパケットRTP1と、シーケンス番号が「12」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「101」及び「102」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とが、FAXゲートウェイ装置10に到達しなかったとする(パケットロスがあったとする)。FAXゲートウェイ装置10は、シーケンス番号「101」及び「102」の到達確認を受け取れないので、次のタイミングTM14での送信前に、到達確認に伴う一時待機部18からのRTPパケットの削除を実行せず、一時待機部18にはシーケンス番号「103」〜「101」のRTPパケットが残る。そのため、タイミングTM14においては、FAXゲートウェイ装置10は、シーケンス番号が「104」の本データ用RTPパケットRTP1と、シーケンス番号が「103」〜「101」の冗長データ用RTPパケットRTP2−1〜RTP2−3と、いずれのRTPパケットを受信していないことを表す空の到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置10Aに送信する。
The opposite
一方、対向するFAXゲートウェイ装置10Aは、パケットを受信できたので、受信時の動作を行う。但し、FAXゲートウェイ装置10がタイミングTM13で送信した到達確認データ用RTPパケットRTP3は空値であるため、一時待機部18からの削除を実行しない。そのため、タイミングTM14においては、対向するFAXゲートウェイ装置10Aは、シーケンス番号が「14」の本データ用RTPパケットRTP1と、シーケンス番号が「13」及び「12」の冗長データ用RTPパケットRTP2−1及びRTP2−2と、いずれのRTPパケットを受信していないことを表す空の到達確認データ用RTPパケットRTP3とを、FAXゲートウェイ装置10に送信する。
On the other hand, since the opposing
対向するFAXゲートウェイ装置10Aが、タイミングTM14で送信したパケットを受信できたので、FAXゲートウェイ装置10は、次のタイミングTM15での送信前に、到達確認できたシーケンス番号「101」〜「103」のRTPパケットを一時待機部18から削除しようとし、これにより、前のタイミングTM13の送信以降に一時待機部18に格納されたシーケンス番号「104」のRTPパケットだけが一時待機部18に残る。そのため、タイミングTM15においては、FAXゲートウェイ装置10は、シーケンス番号が「105」の本データ用RTPパケットRTP1と、シーケンス番号が「104」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「14」〜「12」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置10Aに送信する。
Since the opposing
一方、対向するFAXゲートウェイ装置10Aは、パケットを受信できたので、受信時の動作を行う。但し、FAXゲートウェイ装置10がタイミングTM14で送信した到達確認データ用RTPパケットRTP3は空値であるため、一時待機部18からの削除を実行しない。そのため、タイミングTM15においては、対向するFAXゲートウェイ装置10Aは、シーケンス番号が「15」の本データ用RTPパケットRTP1と、シーケンス番号が「14」〜「12」の冗長データ用RTPパケットRTP2−1〜RTP2−3と、シーケンス番号「101〜「104」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、FAXゲートウェイ装置10に送信する。
On the other hand, since the opposing
タイミングTM16以降は、FAXゲートウェイ装置10及び10Aに、正常にパケットが到達し、しかも、一時待機部18の格納状態も正常時での格納状態となるので、FAXゲートウェイ装置10及び10Aは共に、正常時の送信動作を行う。
After timing TM16, the packet normally arrives at the
(A−3)第1の実施形態の効果
インバンド方式の装置の中には、対向する双方の装置で、同一の一定間隔で定期的に定量のデータを送信する動作モードがある。
(A-3) Effect of First Embodiment Among in-band apparatuses, there is an operation mode in which quantitative data is periodically transmitted at the same fixed interval by both opposing apparatuses.
第1の実施形態では、この特徴を利用し、FAXモデム信号を音声符号化したデータが送信されているパケットに、対向する装置が送信し当該装置が受信したデータの情報(シーケンス番号)をカプセル化して一緒に送信することにより、定期的に受信できたデータの情報を、定期的に相手に伝達することができる。すなわち、相手側のFAXゲートウェイ装置で受信できた音声データ用RTPパケットを送信側で確認することができ、確認したRTPパケットが、次に送信しようとして待機させているRTPパケットに含まれている場合には、その時点で削除することにより、余分なRTPパケット(冗長データ)の送信をなくすことができる。第1の実施形態によれば、通常、パケットロスがない状態では、冗長データは1面のみ付加され、パケットロスが発生した場合のみ、動的に冗長データの面数を増やし、ロスしたデータの復元を可能にすることができる。 In the first embodiment, this feature is used to encapsulate information (sequence number) of data transmitted by the opposite device and received by the device in a packet in which data obtained by voice encoding the FAX modem signal is transmitted. By transmitting the data together, the information of the data that can be received periodically can be periodically transmitted to the other party. That is, the voice data RTP packet received by the other party's FAX gateway device can be confirmed on the transmission side, and the confirmed RTP packet is included in the RTP packet that is waiting to be transmitted next. By deleting at that time, transmission of an extra RTP packet (redundant data) can be eliminated. According to the first embodiment, normally, in a state where there is no packet loss, only one redundant data is added. Only when a packet loss occurs, the number of redundant data is increased dynamically, Restoration can be possible.
以上のように、第1の実施形態によれば、必要帯域を抑えながら、パケットロスに対する高い耐性を実現できるFAXゲートウェイ装置及びパケット通信システムを提供できる。 As described above, according to the first embodiment, it is possible to provide a FAX gateway device and a packet communication system that can realize high tolerance against packet loss while suppressing the necessary bandwidth.
(B)第2の実施形態
次に、本発明によるパケット通信装置及びパケット通信システムの第2の実施形態を、図面を参照しながら説明する。第2の実施形態のパケット通信装置はFAXゲートウェイ装置であり、第2の実施形態のパケット通信システムは、2つの第2の実施形態のFAXゲートウェイ装置が対向する通信システムである。
(B) Second Embodiment Next, a packet communication device and a packet communication system according to a second embodiment of the present invention will be described with reference to the drawings. The packet communication apparatus according to the second embodiment is a FAX gateway apparatus, and the packet communication system according to the second embodiment is a communication system in which two FAX gateway apparatuses according to the second embodiment are opposed to each other.
図5は、第2の実施形態のFAXゲートウェイ装置の構成を示すブロック図であり、第1の実施形態に係る図1との同一、対応部分には同一、対応符号を付して示している。 FIG. 5 is a block diagram illustrating the configuration of the FAX gateway apparatus according to the second embodiment. The same or corresponding parts as those in FIG. 1 according to the first embodiment are indicated by the same reference numerals. .
図5及び図1の比較から明らかなように、第2の実施形態のFAXゲートウェイ装置30は、一時待機部が、第1の一次待機部18−1と第2の一次待機部18−2が縦続的に接続されている2段構成となっている点が、第1の実施形態と異なっており、その他は、第1の実施形態と同様である。
As is apparent from the comparison between FIG. 5 and FIG. 1, the
第1の一次待機部18−1は、RTPデータ生成部17によって生成されたRTPパケットが与えられて、冗長データ用として待機するものである。
The first primary standby unit 18-1 receives the RTP packet generated by the RTP
第2の一次待機部18−2は、送信待機部19によって、自己が待機していたRTPパケットが取出されたときに、第1の一次待機部18−1に待機されたRTPパケットを取出して、自己が待機するものである。
The second primary standby unit 18-2 takes out the RTP packet that is waited by the first primary standby unit 18-1 when the
第2の実施形態の場合、G3FAX機から当該FAXゲートウェイ装置30に送信されたアナログ信号(の情報)は、以下のようにして、対向するFAXゲートウェイ装置(以下、符号として30Aを用いる)送信される。
In the case of the second embodiment, the analog signal (information thereof) transmitted from the G3 FAX machine to the
G3FAX機から送信されたアナログ信号は、FAXインタフェース部15で受信されてCODEC部14に引き渡され、CODEC部14において音声符号化処理が施され、符号化音声データがRTPデータ生成部17に与えられる。そして、RTPデータ生成部17によって、符号化音声データを収めたRTPパケットが生成され、生成されたRTPパケットは、IPパケット送信処理部21と第1の一時待機部18−1に与えられる。送信待機部19では、IPパケット送信処理部21からIPパケットが送信される毎に、第2の一時待機部18−2から冗長データ用RTPパケットを取り出し、第2の一時待機部18−2は、冗長データ用RTPパケットが取り出された直後に、第1の一時待機部18−1から、冗長データ用RTPパケットを取り出す。このような2段の構成により、第1の実施形態の場合より、冗長データ用RTPパケットが送信待機部19に渡るまでに、1パケット送信分だけタイミングが遅くなる。その他の動作は、第1の実施形態と同様である。
The analog signal transmitted from the G3 FAX machine is received by the
次に、第2の実施形態の通信システムにおける動作を、図6、図7を参照しながら説明する。図6は、パケットロスが生じない場合を示しており、図7は、パケットロスが生じた場合を示している。 Next, the operation of the communication system according to the second embodiment will be described with reference to FIGS. FIG. 6 shows a case where no packet loss occurs, and FIG. 7 shows a case where packet loss occurs.
図6及び図7は、第2の実施形態の通信システムの構成要素である、2つのFAXゲートウェイ装置30及び30Aがそれぞれ、各タイミングで授受するRTPパケットを示す説明図である。図6及び図7の右側はFAXゲートウェイ装置30が授受するRTPパケットを示し、図6及び図7の左側はFAXゲートウェイ装置30Aが授受するRTPパケットを示している。
FIG. 6 and FIG. 7 are explanatory diagrams showing RTP packets exchanged at each timing by two
図6のタイミングTM20において、FAXゲートウェイ装置30は、シーケンス番号が「100」の本データ用RTPパケットRTP1と、シーケンス番号「9」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置30Aに送信し、対向するFAXゲートウェイ装置30Aは、シーケンス番号が「10」の本データ用RTPパケットRTP1と、シーケンス番号「99」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、当該FAXゲートウェイ装置10に送信し、いずれも相手方のFAXゲートウェイ装置30A、30に到達したとする。
At timing TM20 in FIG. 6, the
タイミングTM20の送信直後には、FAXゲートウェイ装置30の送信待機部19は、第2の一時待機部18−2からRTPパケットを取り込み、第2の一時待機部18−2は第1の一時待機部18−1からRTPパケットの取込みを行う。これにより、第2の一時待機部18−2にはシーケンス番号が「100」のRTPパケットが待機される。対向するFAXゲートウェイ装置30AがタイミングTM20で送信した到達確認データ用RTPパケットRTP3は、シーケンス番号「99」の音声データ用RTPパケットの到達を示しているので、送信待機部19は自己が待機しているシーケンス番号「99」の音声データ用RTPパケットを削除する。この時点では、送信待機部19及び第1の一時待機部18−1には冗長データ用RTPパケットがなんら待機されておらず、第2の一時待機部18−2だけにシーケンス番号「100」の音声データ用RTPパケットが待機されていることになる。
Immediately after the transmission of the timing TM20, the
そのため、FAXゲートウェイ装置30は、タイミングTM21の送信では、シーケンス番号が「101」の本データ用RTPパケットRTP1と、シーケンス番号「10」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置30Aに送信し、何らの冗長データ用RTPパケットも送信しない。
For this reason, the
FAXゲートウェイ装置30は、パケットロスがなければ、以上のような動作を繰り返す。また、対向するFAXゲートウェイ装置30Aも、上述と同様な動作を実行する。
If there is no packet loss, the
図7のタイミングTM22において、FAXゲートウェイ装置30は、シーケンス番号が「102」の本データ用RTPパケットRTP1と、シーケンス番号「11」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、対向するFAXゲートウェイ装置30Aに送信し、対向するFAXゲートウェイ装置30Aは、シーケンス番号が「12」の本データ用RTPパケットRTP1と、シーケンス番号「101」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、当該FAXゲートウェイ装置10に送信する。FAXゲートウェイ装置30が送信したパケットは対向するFAXゲートウェイ装置30Aに到達したが、対向するFAXゲートウェイ装置30Aが送信したパケットはFAXゲートウェイ装置30に到達しなかったとする(パケットロスが生じたとする)。
At timing TM22 in FIG. 7, the
FAXゲートウェイ装置30において、タイミングTM22での送信の直後に、送信待機部19は、第2の一時待機部18−2からRTPパケット(シーケンス番号が「101」のパケット)を取り込み、第2の一時待機部18−2は、第1の一時待機部18−1からRTPパケット(シーケンス番号が「102」のパケット)の取込みを行う。対向するFAXゲートウェイ装置30AがタイミングTM22で送信した到達確認データ用RTPパケットRTP3が到達しないので、FAXゲートウェイ装置30は、タイミングTM23では、シーケンス番号「103」の本データ用RTPパケットRTP1と、到達確認できない送信待機部19が待機しているシーケンス番号「101」の冗長データ用RTPパケットRTP2−1とを送信する。対向するFAXゲートウェイ装置30AがタイミングTM22で送信したパケットは到達しなかったので、タイミングTM23では、到達確認データ用RTPパケットRTP3は送信されない。
In the
一方、対向するFAXゲートウェイ装置30Aにおいて、タイミングTM23でも、通常の送信動作が実行される。すなわち、対向するFAXゲートウェイ装置30Aは、シーケンス番号が「13」の本データ用RTPパケットRTP1と、シーケンス番号「102」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、当該FAXゲートウェイ装置10に送信する。この対向するFAXゲートウェイ装置30Aが送信したパケットも、FAXゲートウェイ装置30に到達しなかったとする(パケットロスが連続して生じたとする)。
On the other hand, in the opposite
FAXゲートウェイ装置30において、タイミングTM23での送信の直後に、送信待機部19は、第2の一時待機部18−2からRTPパケット(シーケンス番号が「102」のパケット)を取り込み、第2の一時待機部18−2は、第1の一時待機部18−1からRTPパケット(シーケンス番号が「103」のパケット)の取込みを行う。今回の取込みにより、送信待機部19には、シーケンス番号が「101」及び「102」のパケットが待機されている。FAXゲートウェイ装置30には、対向するFAXゲートウェイ装置30AがタイミングTM23で送信した到達確認データ用RTPパケットRTP3が到達しないので、FAXゲートウェイ装置30は、タイミングTM24では、シーケンス番号「104」の本データ用RTPパケットRTP1と、到達確認できない送信待機部19が待機しているシーケンス番号「102」及び「101」の冗長データ用RTPパケットRTP2−1及びRTP2−2とを送信する。対向するFAXゲートウェイ装置30AがタイミングTM23で送信したパケットは到達しなかったので、タイミングTM24では、到達確認データ用RTPパケットRTP3は送信されない。
In the
一方、対向するFAXゲートウェイ装置30Aは、タイミングTM24では、FAXゲートウェイ装置30がタイミングTM23で送信したパケットに到達確認データ用RTPパケットRTP3が含まれていないため、シーケンス番号が「14」の本データ用RTPパケットRTP1と、シーケンス番号が「12」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「103」及び「101」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを、当該FAXゲートウェイ装置10に送信する。この対向するFAXゲートウェイ装置30Aが送信したパケットは、FAXゲートウェイ装置30に到達したとする。
On the other hand, at the timing TM24, the opposing
FAXゲートウェイ装置30において、タイミングTM24での送信の直後に、送信待機部19は、第2の一時待機部18−2からRTPパケット(シーケンス番号が「103」のパケット)を取り込み、第2の一時待機部18−2は、第1の一時待機部18−1からRTPパケット(シーケンス番号が「104」のパケット)の取込みを行う。今回の取込みにより、送信待機部19には、シーケンス番号が「101」〜「103」のパケットが待機されている。FAXゲートウェイ装置30に、対向するFAXゲートウェイ装置30AがタイミングTM24で送信した到達確認データ用RTPパケットRTP3が到達すると、到達確認できたシーケンス番号が「101」及び「103」のパケットが送信待機部19から削除される。その結果、FAXゲートウェイ装置30は、タイミングTM25では、シーケンス番号「105」の本データ用RTPパケットRTP1と、到達確認できない送信待機部19が待機しているシーケンス番号「102」の冗長データ用RTPパケットRTP2−1と、シーケンス番号「12」及び「14」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを送信する。
In the
詳細は省略するが、対向するFAXゲートウェイ装置30Aは、タイミングTM25では、シーケンス番号が「15」の本データ用RTPパケットRTP1と、シーケンス番号が「13」及び「12」の冗長データ用RTPパケットRTP2−1及びRTP2−2と、シーケンス番号「104」、「102」及び「101」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とをFAXゲートウェイ装置10に送信する。この対向するFAXゲートウェイ装置30Aが送信したパケットは、FAXゲートウェイ装置30に到達したとする。
Although not described in detail, the opposite
FAXゲートウェイ装置30において、タイミングTM25での送信の直後に、送信待機部19は、第2の一時待機部18−2からRTPパケット(シーケンス番号が「104」のパケット)を取り込み、第2の一時待機部18−2は、第1の一時待機部18−1からRTPパケット(シーケンス番号が「105」のパケット)の取込みを行う。今回の取込みにより、送信待機部19には、シーケンス番号が「102」及び「104」のパケットが待機されている。FAXゲートウェイ装置30に、対向するFAXゲートウェイ装置30AがタイミングTM25で送信した到達確認データ用RTPパケットRTP3が到達すると、到達確認できたシーケンス番号が「101」、「102」及び「104」のパケットが送信待機部19から削除される(但し、「101」は既に存在しないので削除できない)。その結果、FAXゲートウェイ装置30は、タイミングTM26では、シーケンス番号「106」の本データ用RTPパケットRTP1と、シーケンス番号「12」、「13」及び「15」の音声データ用RTPパケットを受信したことを表す到達確認データ用RTPパケットRTP3とを送信する。
In the
以下、同様な処理が、FAXゲートウェイ装置30及び30Aで繰り返され、FAXゲートウェイ装置30及び30Aは共に、正常時の送信動作を行う状態に戻る。
Thereafter, the same processing is repeated in the
以上のような動作により、パケットロスがない状態では、冗長データ用RTPパケットは本データ用RTPパケットに付加されない。パケットロスが発生した場合には、動的に冗長データ(冗長データ用RTPパケット)の面数を増減させながら、ロスしたデータの復元を可能にしている。 With the above operation, the redundant data RTP packet is not added to the main data RTP packet when there is no packet loss. When packet loss occurs, the lost data can be restored while dynamically increasing / decreasing the number of redundant data (redundant data RTP packets).
(B−3)第2の実施形態の効果
第2の実施形態によれば、冗長データ用RTPパケットが送信待機部19に渡るまでのタイミングを遅らせることにより、本データ用RTPパケットに付加される冗長データ用RTPパケットを極力抑えることができる。
(B-3) Effect of Second Embodiment According to the second embodiment, the timing until the redundant data RTP packet reaches the
因みに、第1の実施形態では、パケットロスが発生しない場合でも、到達確認が与えられるまでのタイムラグにより、本データ用RTPパケットに1個の冗長データ用RTPパケット(一面の冗長データ)が付加されていた。 Incidentally, in the first embodiment, even if no packet loss occurs, one redundant data RTP packet (one side of redundant data) is added to this data RTP packet due to a time lag until arrival confirmation is given. It was.
以上のように、第2の実施形態によっても、必要帯域を抑えながら、パケットロスに対する高い耐性を実現できるFAXゲートウェイ装置及びパケット通信システムを提供できる。 As described above, according to the second embodiment as well, it is possible to provide a FAX gateway device and a packet communication system that can realize high resistance against packet loss while suppressing the necessary bandwidth.
(C)他の実施形態
上記各実施形態では、UDPパケット内に、本データ用RTPパケット、冗長データ用RTPパケット、到達確認データ用RTPパケットがこの順に挿入されているものを示したが、これら3種類のRTPパケットの順序はこれに限定されるものではない。
(C) Other Embodiments In the above embodiments, the RTP packet for data, the RTP packet for redundant data, and the RTP packet for arrival confirmation data are inserted in this order in the UDP packet. The order of the three types of RTP packets is not limited to this.
また、上記各実施形態では、FAXゲートウェイ装置がG3FAX機を収容したものを示したが、スーパーG3FAX機など他のFAX機を収容するものであっても良い。また、FAXゲートウェイ装置が複数のG3FAX機を収容し、選択されたいずれか1つのG3FAX機の通信に介在するものであっても良い。 In each of the above-described embodiments, the FAX gateway device accommodates a G3 FAX machine. However, another FAX machine such as a super G3 FAX machine may be accommodated. In addition, the FAX gateway apparatus may accommodate a plurality of G3 FAX machines and intervene in communication of any one selected G3 FAX machine.
さらに、上記各実施形態では、FAXゲートウェイ装置が個別装置のものを示したが、FAXゲートウェイ装置とG3FAX機とが1装置として融合されたものであっても良い。 Further, in each of the above embodiments, the FAX gateway apparatus is shown as an individual apparatus. However, the FAX gateway apparatus and the G3 FAX machine may be integrated as one apparatus.
上記各実施形態の説明では、2つのFAXゲートウェイ装置が符号化音声データを送信し合うように説明したが、一方向だけ符号化音声データを送信する場合にも、本発明を適用しても良い。例えば、送信元のFAXゲートウェイ装置は、本データ用RTPパケット及び冗長データ用RTPパケットが収められたUDPパケットを送信し、宛先のFAXゲートウェイ装置は、到達確認データ用RTPパケットだけが収められたUDPパケットを送信するようにすれば良い。 In the description of each of the above embodiments, it has been described that the two FAX gateway apparatuses transmit the encoded voice data. However, the present invention may be applied to a case where the encoded voice data is transmitted only in one direction. . For example, the source FAX gateway device transmits a UDP packet containing the RTP packet for this data and the RTP packet for redundant data, and the destination FAX gateway device is a UDP containing only the RTP packet for arrival confirmation data. A packet may be transmitted.
また、上記各実施形態では、通信に供している信号がファクシミリ信号(G3ファクシミリのモデム信号)の場合を示したが、ファクシミリ信号以外の信号であっても、本発明を適用することができる。 In each of the above embodiments, the signal used for communication is a facsimile signal (G3 facsimile modem signal). However, the present invention can be applied to a signal other than a facsimile signal.
10、10A、30、30A…FAXゲートウェイ装置、11…IPパケット受信処理部、12…リダンダント分解部、13…受信バッファ部、14…CODEC部、15…FAXインタフェース部、16…到達確認データ処理部、17…RTPデータ生成部、18、18−1、18−2…一時待機部、19…送信待機部、20…受信パケット情報付加部、21…IPパケット送信処理部。
DESCRIPTION OF
Claims (4)
生成された上記原データサブパケットを、冗長送信のために冗長データサブパケットとして待機させる待機手段と、
対向するパケット通信装置が送信し、当該パケット通信装置が受信した通信パケットにおける原データサブパケット及び冗長データサブパケットのシーケンス番号を含む、対向するパケット通信装置へ送信する到達確認サブパケットを生成する到達確認サブパケット生成手段と、
上記通信周期毎に、上記原データサブパケット生成手段が生成した原データサブパケットと、上記到達確認サブパケット生成手段が生成した到達確認サブパケットとを収めた通信パケットであって、上記待機手段によって待機されている冗長データサブパケットが収められることもあり得る通信パケットを作成して、対向するパケット通信装置へ宛てて送信するパケット作成・送信手段と
を備えることを特徴とするパケット通信装置。 Original data subpacket generating means for generating an original data subpacket with a sequence number stored therein for each communication cycle of the communication packet;
Standby means for waiting the generated original data subpacket as a redundant data subpacket for redundant transmission;
An arrival that generates an arrival confirmation subpacket to be transmitted to the opposite packet communication device including the sequence number of the original data redundant packet and the redundant data subpacket in the communication packet received by the opposite packet communication device. Confirmation subpacket generation means;
A communication packet containing an original data subpacket generated by the original data subpacket generation means and an arrival confirmation subpacket generated by the arrival confirmation subpacket generation means for each communication cycle, the standby means A packet communication apparatus comprising: a packet generation / transmission unit that generates a communication packet that can contain a standby redundant data subpacket, and transmits the communication packet to an opposite packet communication apparatus.
上記パケット作成・送信手段は、上記待機手段によって待機されている冗長データサブパケットを、作成する通信パケットに収める
ことを特徴とする請求項1に記載のパケット通信装置。 Based on the sequence number included in the arrival confirmation subpacket in the communication packet transmitted by the opposite packet communication device and received by the packet communication device, the redundant data subpacket with the sequence number is deleted from the waiting means. It further has a sub-packet organizing means that has been confirmed for arrival,
The packet communication device according to claim 1, wherein the packet creation / transmission unit stores the redundant data subpacket waiting by the standby unit in a communication packet to be created.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010185978A JP5540993B2 (en) | 2010-08-23 | 2010-08-23 | Packet communication apparatus and packet communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010185978A JP5540993B2 (en) | 2010-08-23 | 2010-08-23 | Packet communication apparatus and packet communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012044584A true JP2012044584A (en) | 2012-03-01 |
JP5540993B2 JP5540993B2 (en) | 2014-07-02 |
Family
ID=45900340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010185978A Active JP5540993B2 (en) | 2010-08-23 | 2010-08-23 | Packet communication apparatus and packet communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5540993B2 (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62239735A (en) * | 1986-04-11 | 1987-10-20 | Iwatsu Electric Co Ltd | Data transmission system |
JPH05103017A (en) * | 1991-06-27 | 1993-04-23 | Nec Corp | Re-transmission data transmission system |
JPH09247131A (en) * | 1996-03-07 | 1997-09-19 | Toshiba Corp | Data communication equipment |
JPH10224328A (en) * | 1997-02-06 | 1998-08-21 | Sony Corp | Data communication method and data communication equipment |
JPH1155345A (en) * | 1997-07-29 | 1999-02-26 | Matsushita Electric Ind Co Ltd | Communication equipment |
JP2001197279A (en) * | 2000-01-14 | 2001-07-19 | Ricoh Co Ltd | Real time internet facsimile equipment |
JP2004096581A (en) * | 2002-09-03 | 2004-03-25 | Canon Inc | Facsimile equipment, control method of facsimile equipment, and control program of facsimile equipment |
JP2011044905A (en) * | 2009-08-21 | 2011-03-03 | Fuji Xerox Co Ltd | Communication control device, communication apparatus, and program |
-
2010
- 2010-08-23 JP JP2010185978A patent/JP5540993B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62239735A (en) * | 1986-04-11 | 1987-10-20 | Iwatsu Electric Co Ltd | Data transmission system |
JPH05103017A (en) * | 1991-06-27 | 1993-04-23 | Nec Corp | Re-transmission data transmission system |
JPH09247131A (en) * | 1996-03-07 | 1997-09-19 | Toshiba Corp | Data communication equipment |
JPH10224328A (en) * | 1997-02-06 | 1998-08-21 | Sony Corp | Data communication method and data communication equipment |
JPH1155345A (en) * | 1997-07-29 | 1999-02-26 | Matsushita Electric Ind Co Ltd | Communication equipment |
JP2001197279A (en) * | 2000-01-14 | 2001-07-19 | Ricoh Co Ltd | Real time internet facsimile equipment |
JP2004096581A (en) * | 2002-09-03 | 2004-03-25 | Canon Inc | Facsimile equipment, control method of facsimile equipment, and control program of facsimile equipment |
JP2011044905A (en) * | 2009-08-21 | 2011-03-03 | Fuji Xerox Co Ltd | Communication control device, communication apparatus, and program |
Also Published As
Publication number | Publication date |
---|---|
JP5540993B2 (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4930587B2 (en) | Radio communication header compression control method, radio base station, and transmitter | |
JP4153502B2 (en) | Communication device and logical link error detection method | |
JP4850932B2 (en) | Image transmission device | |
WO2011079763A1 (en) | Method for processing forward error correction (fec) data, device and system thereof | |
JPWO2006061902A1 (en) | Data transmitting apparatus, data receiving apparatus, and data distribution system | |
CN101616316A (en) | A kind of transmission of video data, receiving system and sending, receiving method | |
US20080247413A1 (en) | Communication apparatus and communication method | |
AU2004258114A1 (en) | Performing compression of user datagram protocol packets | |
JP2007243646A (en) | Redundant voip gateway system | |
WO2008001580A1 (en) | Communication apparatus and method | |
CN100542132C (en) | voice transmission method based on transmission control protocol | |
JP5540993B2 (en) | Packet communication apparatus and packet communication system | |
TWI226770B (en) | LAN communication method and system | |
JP2005244315A (en) | Network quality stabilizing apparatus for video streaming transmission | |
JP4400571B2 (en) | Coding data processing method and gateway device in connection between different types of communication networks | |
CN101645903A (en) | Method and device for transmitting multimedia data | |
JP2004153471A (en) | Method for calculating checksum, method for recording checksum, and communication apparatus capable of utilizing the methods | |
JP3557202B2 (en) | Communication device, communication method, and telephone device, video telephone device, and imaging device that can use the method | |
JP4692412B2 (en) | Voice packet signal receiver | |
JP2007189383A (en) | Tcp/ip communication relaying method and tcp/ip communication repeater | |
JP2005229378A (en) | Repeater and control method thereof | |
JP2007228081A (en) | Wireless communication apparatus, wireless communication method, and wireless access apparatus | |
KR100906098B1 (en) | Communication method and device in communication system and recording medium for performing the method | |
JP2004266843A (en) | Communication device, communication method, and telephone device, video telephone device, and imaging device using method | |
JP2007235753A (en) | Network accumulation type system, transmission apparatus and accumulation server therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20120813 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130515 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140312 |
|
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: 20140408 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140421 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5540993 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |