JP2011049640A - Facsimile reception device, facsimile reception method, and facsimile reception program - Google Patents

Facsimile reception device, facsimile reception method, and facsimile reception program Download PDF

Info

Publication number
JP2011049640A
JP2011049640A JP2009194163A JP2009194163A JP2011049640A JP 2011049640 A JP2011049640 A JP 2011049640A JP 2009194163 A JP2009194163 A JP 2009194163A JP 2009194163 A JP2009194163 A JP 2009194163A JP 2011049640 A JP2011049640 A JP 2011049640A
Authority
JP
Japan
Prior art keywords
facsimile
threshold
communication
reception
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009194163A
Other languages
Japanese (ja)
Inventor
Kosuke Miyahara
康介 宮原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC AccessTechnica Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC AccessTechnica Ltd filed Critical NEC AccessTechnica Ltd
Priority to JP2009194163A priority Critical patent/JP2011049640A/en
Publication of JP2011049640A publication Critical patent/JP2011049640A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a facsimile reception device, a method, and a program which can secure the quality of facsimile communication using the Internet network while keeping the tolerance of the fluctuation of a reception signal. <P>SOLUTION: A facsimile reception device 10 includes a threshold setting means 13 which sets a plurality of kinds of thresholds as a time in which a received packet signal can be stored in a buffer memory 11 in accordance with the length of a time to time-out of the received packet signal. For the reception of image data, a threshold longer than that for a control signal can be set. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ファクシミリ受信装置、ファクシミリ受信方法およびファクシミリ受信プログラムに係わり、特に送信側からパケット信号を受信するファクシミリ受信装置、ファクシミリ受信方法およびファクシミリ受信プログラムに関する。   The present invention relates to a facsimile reception apparatus, a facsimile reception method, and a facsimile reception program, and more particularly to a facsimile reception apparatus, a facsimile reception method, and a facsimile reception program that receive a packet signal from a transmission side.

ファクシミリ信号をパケット信号に変換して伝送することで、インターネット網を使用したファクシミリ通信が可能になる。インターネット網を使用することで、ファクシミリ通信に必要とする通信コストの大幅な低減を図ることができる一方で、パケットの遅延、揺らぎ、ロス、ビットエラーといった様々な障害が発生する可能性がある。このような通信上の障害のうち、たとえばパケットが部分的に遅延して受信する障害が発生すると、画像の到達の順序が狂ってしまい、これをそのまま再生すると正しい画像を構成することができなくなる。   By converting a facsimile signal into a packet signal and transmitting it, facsimile communication using the Internet network becomes possible. By using the Internet network, the communication cost required for facsimile communication can be greatly reduced, but various failures such as packet delay, fluctuation, loss, and bit error may occur. Among such communication failures, for example, when a failure occurs in which a packet is partially delayed, the arrival order of the images is out of order, and if this is reproduced as it is, a correct image cannot be formed. .

そこで、インターネット上で生じる通信上の障害を発生させる各種の要因のうちの、揺らぎを吸収するようにした第1の関連技術が提案されている(たとえば特許文献1参照)。この第1の関連技術では、ネットワーク上での揺らぎを吸収するためのバッファメモリとしての揺らぎ吸収バッファを設けておく。そして、受信した音声パケットを一時的にこの揺らぎ吸収バッファに蓄積し、所定の閾値に達したところで図示しないコーデック部へのデータの受け渡しを開始する。   Therefore, a first related technique has been proposed that absorbs fluctuations among various factors that cause communication failures that occur on the Internet (see, for example, Patent Document 1). In the first related technique, a fluctuation absorbing buffer is provided as a buffer memory for absorbing fluctuation on the network. The received voice packet is temporarily stored in the fluctuation absorbing buffer, and when a predetermined threshold value is reached, data transfer to a codec unit (not shown) is started.

図18は、本発明の第1の関連技術による揺らぎ吸収バッファからコーデック部へのデータの受け渡しを説明するためのものである。同図(A)は、ファクシミリ通信を開始する前の揺らぎ吸収バッファの状態を示したものである。揺らぎ吸収バッファ101には、たとえば20ms(ミリ秒)単位でパケットを格納するようになっている。この例では、揺らぎ吸収バッファ101における140ms分までのパケットを収容する位置に、コーデック部へのデータの受け渡しのための閾値102が設定されている。   FIG. 18 is a diagram for explaining data transfer from the fluctuation absorbing buffer to the codec unit according to the first related technique of the present invention. FIG. 4A shows the state of the fluctuation absorbing buffer before starting facsimile communication. The fluctuation absorbing buffer 101 stores packets in units of 20 ms (milliseconds), for example. In this example, a threshold value 102 for transferring data to the codec unit is set at a position in the fluctuation absorbing buffer 101 that accommodates packets up to 140 ms.

同図(B)は、ファクシミリの通信が開始して、揺らぎ吸収バッファにパケットが受信される比較的初期状態を示したものである。揺らぎ吸収バッファ101には、丸付きの数字で示した第1〜第8のパケット1031〜1038が順に受信されている。第7のパケット1037までが、閾値102以下の受信量であり、第8のパケット1038が受信されると閾値102を超える。そこで、同図(C)に示したように第2〜第8のパケット1032〜1038が揺らぎ吸収バッファ101内を1区画ずつ図で左方向にシフトして、第1のパケット1031が押し出される形でコーデック部104に渡される。これ以後、第9のパケット1039が受信されると、同様にして第2のパケット1032がコーデック部104に渡されることになる。 FIG. 2B shows a relatively initial state in which a packet is received by the fluctuation absorbing buffer after facsimile communication is started. The fluctuation absorbing buffer 101 receives the first to eighth packets 103 1 to 103 8 indicated by circled numbers in order. To the seventh packet 103 7 is a reception amount of the threshold value 102 or less, when a packet 103 8 eighth is received exceeds a threshold value 102. Therefore, shifts packet 103 2-103 8 of the second to eighth the fluctuation absorbing buffer 101 to the left in FIG one compartment, as shown in FIG. (C), 1 is the first packet 103 It is passed to the codec unit 104 in an extruded form. Hereafter, the ninth packet 103 9 is received, the second packet 103 2 is to be passed to the CODEC unit 104 in the same manner.

以上説明したように第1の関連技術では、閾値102に到達するまでパケットを揺らぎ吸収バッファ101に格納する。このため、揺らぎ吸収バッファ101やこれと同等の機能を備えたジッタバッファ(以下、単にジッタバッファと称する。)を備えたファクシミリ装置では、受信したデータの処理が順に遅延する。また、ジッタバッファの閾値102を大きく設定すればするほど、揺らぎに対する耐性は増大するが、ファクシミリ装置内で発生する遅延も増大する。   As described above, in the first related technique, the packet is stored in the fluctuation absorbing buffer 101 until the threshold value 102 is reached. For this reason, in the facsimile apparatus including the fluctuation absorbing buffer 101 and a jitter buffer having the same function (hereinafter simply referred to as a jitter buffer), processing of received data is sequentially delayed. Further, as the threshold value 102 of the jitter buffer is set larger, the tolerance to fluctuation increases, but the delay generated in the facsimile apparatus also increases.

このように信号の遅延が増大すると、送信側のファクシミリ装置では信号を送出した後に受信側から応答信号を受信するまでの待機時間が増大する。この結果、規定した時間内に応答信号を受信することができずにタイムアウトを生じさせ、この結果として通信エラーを発生させる危険性が高くなる。   When the signal delay increases in this way, the transmission side facsimile apparatus increases the waiting time until the response signal is received from the reception side after the signal is transmitted. As a result, the response signal cannot be received within the specified time, causing a timeout, resulting in an increased risk of causing a communication error.

そこで、ファクシミリ通信の開始前にインターネット網の遅延状態を調べることが、本発明の第2の関連技術で提案されている(たとえば特許文献2参照)。この第2の関連技術では、ICMP(Internet Control Message Protocol)におけるエコー要求およびエコー応答の通信を定期的にIP通信装置間で行う。そして、一方のIP通信装置が他方のIP通信装置へエコー要求を送出してから一方のIP通信装置にエコー応答が到着するまでの時間を測定する。この測定結果に応じて、IP通信装置間の該当する回線の閉塞と閉塞解除を制御し、その旨を適当な装置に通知することによって回線の使用に注意を促し、リンク確立後にエラーが生じる可能性を低減している。   Therefore, it is proposed in the second related technology of the present invention to check the delay state of the Internet network before the start of facsimile communication (see, for example, Patent Document 2). In the second related technique, communication of an echo request and an echo response in ICMP (Internet Control Message Protocol) is periodically performed between IP communication apparatuses. Then, the time from when one IP communication device sends an echo request to the other IP communication device until the echo response arrives at one IP communication device is measured. Depending on the measurement result, the corresponding line between the IP communication devices is controlled to be blocked and released, and notification to that effect is given to the appropriate device, and an error may occur after link establishment. Is reduced.

また、インターネット網の遅延状態が所定時間を超える場合には、インターネット網でのファクシミリ通信から公衆回線網でのファクシミリ通信に切り換えることが本発明の第3の関連技術として提案されている(たとえば特許文献3参照)。この第3の関連技術では、インターネット網の遅延状態が所定時間を超えると、インターネット網によるファクシミリ通信で実際に通信エラーが発生しているか否かに関わらず公衆回線網でのファクシミリ通信に切り替える。   Further, when the delay state of the Internet network exceeds a predetermined time, switching from facsimile communication on the Internet network to facsimile communication on the public network has been proposed as a third related technique of the present invention (for example, a patent) Reference 3). In the third related technique, when the delay state of the Internet network exceeds a predetermined time, the communication is switched to the facsimile communication on the public line network regardless of whether or not a communication error has actually occurred in the facsimile communication on the Internet network.

特開2006−121176号公報(第0041段落、図2)Japanese Patent Laying-Open No. 2006-121176 (paragraph 0041, FIG. 2) 特開2003−258902号公報(第0006段落)JP2003-258902A (paragraph 0006) 特開2006−033258号公報(第0024段落、図3)JP 2006-033258 (paragraph 0024, FIG. 3)

ところが、このうちの第2の関連技術を採用すると、制御のために回線の閉塞を生じさせるので、ファクシミリ通信そのものができなくなるという問題がある。   However, when the second related technique is adopted, the line is blocked for control, and there is a problem that facsimile communication itself cannot be performed.

また、第3の関連技術を採用すると、公衆回線網での通信ではインターネット網での通信より料金が掛かってしまうという問題がある。   In addition, when the third related technology is adopted, there is a problem that communication on the public line network costs more than communication on the Internet network.

そこで本発明の目的は、受信信号の揺らぎの耐性を保持しつつインターネット網を用いてファクシミリ通信の品質を確保することのできるファクシミリ受信装置、ファクシミリ受信方法およびファクシミリ受信プログラムを提供することにある。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a facsimile receiving apparatus, a facsimile receiving method, and a facsimile receiving program capable of ensuring the quality of facsimile communication using the Internet network while maintaining the tolerance of fluctuation of received signals.

本発明では、(イ)インターネット網を用いたファクシミリ通信で送信元から受信したパケット信号を受信順に格納するバッファメモリと、(ロ)このバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号手段と、(ハ)前記した受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する閾値設定手段とをファクシミリ受信装置が具備する。   In the present invention, (a) a buffer memory for storing packet signals received from a transmission source in facsimile communication using the Internet network in the order of reception; and (b) a packet signal stored in the buffer memory with a predetermined threshold from storage. Received signal decoding means for sequentially taking out and decoding the signals exceeding the indicated time, and (c) according to the length of time until timeout as a time limit for responding to the received packet signal. The facsimile receiving apparatus includes threshold setting means for setting a plurality of threshold values.

また、本発明では、(イ)インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する遅延状況判別ステップと、(ロ)前記したファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する受信ステップと、(ハ)この受信ステップで前記したバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号ステップと、(ニ)前記した遅延状況判別ステップで判別した通信の遅延状況および前記した受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する閾値設定ステップとをファクシミリ受信方法が具備する。   In the present invention, (a) facsimile communication using the Internet network by measuring the time required to request a response from the facsimile transmission apparatus at the start of facsimile communication using the Internet network and return the response. (B) a reception step for storing packet signals received from a transmission source in the above-described facsimile communication in a buffer memory in the order of reception; and (c) a reception step described above in this reception step. A received signal decoding step for sequentially extracting and decoding the signals exceeding the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory, and (d) the communication determined in the delay status determining step described above Delay time and time as a time limit for responding to the received packet signal Facsimile receiving method and threshold setting step of setting a threshold above the plurality of types are provided according to the length of time until the out.

更に本発明では、コンピュータに、ファクシミリ受信プログラムとして、(イ)インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する遅延状況判別処理と、(ロ)前記したファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する受信処理と、(ハ)この受信処理で前記したバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号処理と、(ニ)前記した遅延状況判別処理で判別した通信の遅延状況および前記した受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する閾値設定処理とを実行させる。   Further, according to the present invention, as a facsimile reception program, the computer requests (a) a response time from the facsimile transmission apparatus at the start of facsimile communication using the Internet network and measures the time until the response is returned. (B) a reception process for storing packet signals received from a transmission source in the above-described facsimile communication in the buffer memory in the order of reception; A reception signal decoding process for sequentially extracting and decoding the signals that have exceeded the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory in the reception process; and (d) the delay situation described above It responds to the communication delay status determined in the determination processing and the received packet signal. Executing the threshold value setting processing for setting a threshold value and in response to said length of time until the timeout as temporal limit to a plurality of kinds.

以上説明したように本発明によれば、受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて、パケット信号を受信順に格納するバッファメモリにおける信号の格納時間の上限を表わした閾値を複数種類に設定している。これにより、タイムアウトを回避しながら受信した信号の品質を高めることができる。   As described above, according to the present invention, the signal storage time in the buffer memory that stores the packet signals in the order of reception is determined according to the length of time until timeout as a time limit for responding to the received packet signal. A plurality of threshold values representing the upper limit are set. Thereby, the quality of the received signal can be improved while avoiding timeout.

本発明のファクシミリ受信装置のクレーム対応図である。It is a claim corresponding | compatible figure of the facsimile receiver of this invention. 本発明のファクシミリ受信方法のクレーム対応図である。It is a claim corresponding | compatible figure of the facsimile receiving method of this invention. 本発明のファクシミリ受信プログラムのクレーム対応図である。It is a claim corresponding | compatible figure of the facsimile reception program of this invention. 本発明の第1の実施の形態によるファクシミリ通信システムの概要を表わしたシステム構成図である。1 is a system configuration diagram showing an overview of a facsimile communication system according to a first embodiment of the present invention. 本実施の形態におけるジッタバッファ閾値と仮閾値ならびにタイムアウト値の関係を示した説明図である。It is explanatory drawing which showed the relationship between the jitter buffer threshold value in this Embodiment, a temporary threshold value, and a timeout value. 本実施の形態におけるファクシミリ受信端末の受信動作の開始時に行われるジッタバッファ閾値の決定処理の様子を表わした流れ図である。It is a flowchart showing the mode of the determination process of the jitter buffer threshold value performed at the time of the start of the reception operation | movement of the facsimile receiving terminal in this Embodiment. 本実施の形態でIPネットワークの遅延量に応じてジッタバッファ閾値A,B,Cが設定された一例を示した説明図である。It is explanatory drawing which showed an example in which the jitter buffer threshold value A, B, C was set according to the delay amount of IP network in this Embodiment. 本実施の形態におけるジッタバッファ閾値をジッタバッファに格納した後のファクシミリ受信端末の受信処理の様子を表わした流れ図である。It is a flowchart showing the situation of the reception process of the facsimile receiving terminal after storing the jitter buffer threshold value in the jitter buffer in the present embodiment. 図8のステップS336で示した画データ受信処理を具体的に示した流れ図である。FIG. 9 is a flowchart specifically showing the image data reception process shown in step S336 of FIG. 8. FIG. 図9で示した画データ受信処理の変形を本発明の第1の変形例として具体的に示した流れ図である。10 is a flowchart specifically showing a modification of the image data reception process shown in FIG. 9 as a first modification of the present invention. 本発明の第2の変形例におけるファクシミリ受信端末の構成の概要を表わしたブロック図である。It is a block diagram showing the outline | summary of the structure of the facsimile receiving terminal in the 2nd modification of this invention. 第2の変形例における太郎を例に採った場合のジッタバッファ閾値とタイムアウト値の関係を示した説明図である。It is explanatory drawing which showed the relationship between the jitter buffer threshold value and timeout value at the time of taking Taro in a 2nd modification as an example. 第2の変形例における平均遅延値I算出以降のジッタバッファ閾値AAの算出および登録処理の様子を表わした流れ図である。It is a flow chart showing the situation of calculation and registration processing of jitter buffer threshold AA after average delay value I calculation in the 2nd modification. 第2の変形例における新しいジッタバッファ閾値AA、BB、CCの格納処理の様子を表わした流れ図である。It is a flowchart showing the mode of the storing process of new jitter buffer threshold value AA, BB, and CC in the 2nd modification. 第2の変形例で送信者が閾値記憶部に登録されていなかった場合におけるジッタバッファ閾値とタイムアウト値の関係を示した説明図である。It is explanatory drawing which showed the relationship between a jitter buffer threshold value and a timeout value in case a sender is not registered in the threshold value memory | storage part in the 2nd modification. 本発明の第3の変形例におけるファクシミリ受信端末の構成の概要を表わしたブロック図である。It is a block diagram showing the outline | summary of the structure of the facsimile receiving terminal in the 3rd modification of this invention. 第3の変形例におけるジッタバッファ閾値の書き替え制御の様子を表わした流れ図である。It is a flowchart showing the mode of the rewriting control of the jitter buffer threshold value in the 3rd modification. 本発明の第1の関連技術による揺らぎ吸収バッファからコーデック部へのデータの受け渡しを示した説明図である。It is explanatory drawing which showed the delivery of the data from the fluctuation absorption buffer by the 1st related technique of this invention to a codec part.

図1は、本発明のファクシミリ受信装置のクレーム対応図を示したものである。本発明のファクシミリ受信装置10は、バッファメモリ11と、受信信号復号手段12と、閾値設定手段13を備えている。ここで、バッファメモリ11は、インターネット網を用いたファクシミリ通信で送信元から受信したパケット信号を受信順に格納する。受信信号復号手段12は、バッファメモリ11に格納されたパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う。閾値設定手段13は、受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する。   FIG. 1 is a diagram corresponding to the claims of the facsimile receiving apparatus of the present invention. The facsimile receiving apparatus 10 according to the present invention includes a buffer memory 11, a received signal decoding unit 12, and a threshold setting unit 13. Here, the buffer memory 11 stores packet signals received from a transmission source in facsimile communication using the Internet network in the order of reception. The received signal decoding means 12 sequentially extracts signals that have exceeded the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory 11 and decodes them. The threshold setting unit 13 sets the above-described thresholds to a plurality of types according to the length of time until timeout as a time limit for responding to the received packet signal.

図2は、本発明のファクシミリ受信方法のクレーム対応図を示したものである。本発明のファクシミリ受信方法20は、遅延状況判別ステップ21と、受信ステップ22と、受信信号復号ステップ23と、閾値設定ステップ24を備えている。ここで、遅延状況判別ステップ21では、インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する。受信ステップ22では、ファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する。受信信号復号ステップで23は、受信ステップ22で前記したバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う。閾値設定ステップ24では、遅延状況判別ステップ21で判別した通信の遅延状況および前記した受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する。   FIG. 2 is a diagram corresponding to claims of the facsimile receiving method of the present invention. The facsimile reception method 20 of the present invention includes a delay state determination step 21, a reception step 22, a reception signal decoding step 23, and a threshold setting step 24. Here, in the delay state determination step 21, a facsimile using the Internet network is measured by measuring the time until a response is returned to the facsimile transmission apparatus at the start of facsimile communication using the Internet network. A communication delay state in communication is determined. In the reception step 22, the packet signal received from the transmission source by facsimile communication is stored in the buffer memory in the order of reception. In the reception signal decoding step 23, the packet signals stored in the buffer memory in the reception step 22 are sequentially extracted from the stored signals exceeding the time indicated by the predetermined threshold value and decoded. In the threshold setting step 24, a plurality of types of the above-described thresholds are selected according to the communication delay status determined in the delay status determination step 21 and the length of time until timeout as a time limit for responding to the received packet signal. Set to.

図3は、本発明のファクシミリ受信プログラムのクレーム対応図を示したものである。本発明のファクシミリ受信プログラム30は、コンピュータに、遅延状況判別処理31と、受信処理32と、受信信号復号処理33と、閾値設定処理34を実行させるようにしている。ここで、遅延状況判別処理31では、インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する。受信処理32では、ファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する。受信信号復号処理33では、受信処理32で前記したバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う。閾値設定処理34では、遅延状況判別処理31で判別した通信の遅延状況および前記した受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記した閾値を複数種類に設定する。   FIG. 3 is a diagram corresponding to the claims of the facsimile reception program of the present invention. The facsimile reception program 30 of the present invention causes a computer to execute a delay state determination process 31, a reception process 32, a received signal decoding process 33, and a threshold setting process 34. Here, in the delay status determination processing 31, a facsimile using the Internet network is measured by requesting a response from the facsimile transmission apparatus at the start of facsimile communication using the Internet network and measuring the time until the response is returned. A communication delay state in communication is determined. In the reception process 32, packet signals received from the transmission source by facsimile communication are stored in the buffer memory in the order of reception. In the received signal decoding process 33, signals that have exceeded the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory in the receiving process 32 are sequentially extracted and decoded. In the threshold value setting process 34, a plurality of types of threshold values described above are used according to the communication delay state determined in the delay state determination process 31 and the length of time until timeout as a time limit for responding to the received packet signal. Set to.

<発明の第1の実施の形態>   <First Embodiment of the Invention>

次に本発明の第1の実施の形態を説明する。   Next, a first embodiment of the present invention will be described.

図4は、本発明の第1の実施の形態によるファクシミリ通信システムの概要を表わしたものである。ファクシミリ通信システム200は、ファクシミリ送信端末201と、ファクシミリ受信端末202が音声用通信路としてのIP(Internet Protocol)ネットワーク203を介して接続された構成となっている。   FIG. 4 shows an outline of the facsimile communication system according to the first embodiment of the present invention. The facsimile communication system 200 has a configuration in which a facsimile transmission terminal 201 and a facsimile reception terminal 202 are connected via an IP (Internet Protocol) network 203 as a voice communication path.

ファクシミリ受信端末202は、通信インタフェース部211、制御部212、ジッタバッファ213、ジッタバッファ制御部214、コーデック部215、閾値計算部216、閾値記憶部217および受信共通機能部218を備えている。ここで、通信インタフェース部211は、IPネットワーク203を介してファクシミリ送信端末201と通信を行う。制御部212は、CPU(Central Processing Unit)221と、このCPU221が実行する制御プログラムを格納したROM(Read Only Memory)等のメモリ222を備えており、ファクシミリ受信端末202全体の制御を行う。ジッタバッファ制御部214は、ジッタバッファ213の処理を行う。コーデック部215は、符号化された画データの伸長を行う。閾値計算部216は、ジッタバッファ213の閾値を計算する。閾値記憶部217は、ファクシミリ通信で用いたジッタバッファ213の閾値を格納する。受信共通機能部218は、図示しない操作部や、表示部あるいはプリントを行うプリンタ部のようにファクシミリ受信端末202がこれ以外に共通して備える回路部品をいう。   The facsimile receiving terminal 202 includes a communication interface unit 211, a control unit 212, a jitter buffer 213, a jitter buffer control unit 214, a codec unit 215, a threshold value calculation unit 216, a threshold value storage unit 217, and a reception common function unit 218. Here, the communication interface unit 211 communicates with the facsimile transmission terminal 201 via the IP network 203. The control unit 212 includes a CPU (Central Processing Unit) 221 and a memory 222 such as a ROM (Read Only Memory) storing a control program executed by the CPU 221, and controls the entire facsimile receiving terminal 202. The jitter buffer control unit 214 performs processing of the jitter buffer 213. The codec unit 215 decompresses the encoded image data. The threshold calculation unit 216 calculates the threshold of the jitter buffer 213. The threshold storage unit 217 stores a threshold of the jitter buffer 213 used in facsimile communication. The common reception function unit 218 is a circuit component that is commonly provided in the facsimile reception terminal 202, such as an operation unit (not shown), a display unit, or a printer unit that performs printing.

ファクシミリ送信端末201は、送信側のファクシミリ装置として一般的な構成となっている。そこで、ファクシミリ送信端末201についての構成の説明は省略する。   The facsimile transmission terminal 201 has a general configuration as a transmission-side facsimile apparatus. Therefore, description of the configuration of the facsimile transmission terminal 201 is omitted.

図5は、本実施の形態でジッタバッファ閾値と仮閾値ならびにタイムアウト値の関係を示したものである。図4と共に説明する。   FIG. 5 shows the relationship between the jitter buffer threshold, the temporary threshold, and the timeout value in the present embodiment. This will be described with reference to FIG.

本実施の形態では、ファクシミリ送信端末201とファクシミリ受信端末202の間で交わされる信号のタイムアウトまでの時間としてのタイムアウト値が3種類あることを前提としている。このうち、画データそのものの受信に関しない信号について2種類のタイムアウト値T1、T2が存在し、一方のタイムアウト値T1は比較的長い35±5秒であるとする。他方のタイムアウト値T2は、比較的短い6±1秒であるとする。「画データ受信時用」のタイムアウト値は、ここでは特に定めていないが、一般にタイムアウト値T1よりも更に長いものとする。 In this embodiment, it is assumed that there are three types of timeout values as the time until timeout of a signal exchanged between the facsimile transmission terminal 201 and the facsimile reception terminal 202. Of these, there are two types of timeout values T 1 and T 2 for signals not related to the reception of the image data itself, and one timeout value T 1 is relatively long 35 ± 5 seconds. It is assumed that the other timeout value T 2 is relatively short 6 ± 1 seconds. The timeout value for “image data reception” is not particularly defined here, but is generally longer than the timeout value T 1 .

タイムアウト値が長ければ長いほど、ジッタバッファ213の閾値が大きくてもタイムアウトによって通信エラーになる可能性は少なくなる。ジッタバッファ213の閾値が大きい値に設定されていれば、パケットの到達の時間的揺らぎに対する耐性が増すだけでなく、先に説明したパケットの遅延を救済する可能性が高くなり、また、ビットエラーを修正する可能性も高くなる。しかしながら、ジッタバッファ213の閾値が大きくなると、前記したようにファクシミリ受信端末202の内部で信号の処理が遅延して、タイムアウトの発生する確率が高くなる。   The longer the timeout value, the lower the possibility of a communication error due to timeout even if the threshold value of the jitter buffer 213 is large. If the threshold value of the jitter buffer 213 is set to a large value, not only the tolerance to the temporal fluctuation of the arrival of the packet is increased, but also the possibility of relieving the delay of the packet described above becomes high, and the bit error is increased. There is also a high possibility of correcting. However, when the threshold value of the jitter buffer 213 increases, the signal processing is delayed inside the facsimile receiving terminal 202 as described above, and the probability of occurrence of timeout increases.

そこで、本実施の形態ではファクシミリ受信端末202がファクシミリ送信端末201と通信を開始した初期段階でICMP(Internet Control Message Protocol)パケットを送出するようにしている。ICMPパケットは、ICMPエコー要求パケットとも呼ばれるものであり、これを受信したファクシミリ送信端末201はICMPエコー応答パケットをファクシミリ受信端末202に返す。   Therefore, in the present embodiment, an ICMP (Internet Control Message Protocol) packet is transmitted at an initial stage when the facsimile receiving terminal 202 starts communication with the facsimile transmitting terminal 201. The ICMP packet is also called an ICMP echo request packet, and the facsimile transmission terminal 201 that receives the ICMP packet returns an ICMP echo response packet to the facsimile reception terminal 202.

ファクシミリ受信端末202は、ICMPエコー要求パケットを送信した時刻と、これに対するICMPエコー応答パケットを受信する時刻を把握し、両者の時間差を求めることで、IPネットワーク203の遅延状況を把握することができる。これにより、IPネットワーク203の遅延が小さい状態ではジッタバッファ213の閾値を可能な限り小さくして、タイムアウトの危険を可能な限り減少させることが望ましい。この一方で、IPネットワーク203の遅延が大きい状態では、ジッタバッファ213の閾値をある程度大きな値にしないと、パケットの到達の時間的揺らぎを吸収しにくくなる。また、パケットの遅延を救済する可能性やビットエラーの修正の可能性が低くなる。このため、後者の場合にはタイムアウトが生じないギリギリの範囲までジッタバッファ213の閾値を大きくする必要が生じる。したがって、ICMPエコー要求パケットを用いてIPネットワーク203の遅延量を求めると、これに応じてタイムアウト値T1、T2および画データの受信時用のタイムアウト値を調整することができる。 The facsimile receiving terminal 202 can grasp the delay state of the IP network 203 by grasping the time when the ICMP echo request packet is transmitted and the time when the ICMP echo response packet is received and obtaining the time difference therebetween. . Thus, it is desirable to reduce the risk of timeout as much as possible by setting the threshold value of the jitter buffer 213 as small as possible when the delay of the IP network 203 is small. On the other hand, in a state where the delay of the IP network 203 is large, unless the threshold value of the jitter buffer 213 is set to a certain large value, it is difficult to absorb the temporal fluctuation of arrival of the packet. Further, the possibility of relieving packet delay and the possibility of correcting bit errors are reduced. For this reason, in the latter case, it is necessary to increase the threshold value of the jitter buffer 213 to the limit where no timeout occurs. Accordingly, when the delay amount of the IP network 203 is obtained using the ICMP echo request packet, the timeout values T 1 and T 2 and the timeout value for receiving image data can be adjusted accordingly.

このため、本実施の形態では、タイムアウト値T1、T2および画データの受信時用のタイムアウト値に対して、それぞれジッタバッファ仮閾値a、b、cを定めておく。そして、ICMPパケット(ICMPエコー要求パケット)で複数回、IPネットワーク203の遅延状態をチェックして、これらの平均遅延値Iを求める。閾値計算部216は、矢印231で示したジッタバッファ仮閾値a、b、cを、矢印232で示した平均遅延値Iに応じて修正し、矢印233で示すように最適なジッタバッファ閾値A、B、Cを算出することになる。 For this reason, in this embodiment, the jitter buffer temporary thresholds a, b, and c are determined for the timeout values T 1 and T 2 and the timeout value for receiving image data, respectively. Then, the delay state of the IP network 203 is checked a plurality of times with an ICMP packet (ICMP echo request packet), and the average delay value I is obtained. The threshold calculation unit 216 corrects the jitter buffer temporary thresholds a, b, and c indicated by the arrow 231 according to the average delay value I indicated by the arrow 232, and the optimum jitter buffer threshold A, indicated by the arrow 233, B and C are calculated.

ただし、ICMPエコー要求パケットを用いてIPネットワーク203の遅延量を求める手法は、ファクシミリ送信端末201がICMP応答に対応しないような場合に実現が不可能である。そこで、このような場合には、3種類の信号あるいはデータに対応するジッタバッファ213の基準となる閾値としてのジッタバッファ仮閾値a、b、cを、そのままジッタバッファの閾値として採用する。これを、矢印234として示した。   However, the method of obtaining the delay amount of the IP network 203 using the ICMP echo request packet cannot be realized when the facsimile transmission terminal 201 does not support the ICMP response. Therefore, in such a case, the jitter buffer temporary thresholds a, b, and c as the thresholds serving as the reference for the jitter buffer 213 corresponding to the three types of signals or data are directly adopted as the threshold values of the jitter buffer. This is shown as arrow 234.

図6は、ファクシミリ受信端末の受信動作の開始時に行われるジッタバッファ閾値の決定処理の様子を表わしたものである。図4および図5と共に説明する。   FIG. 6 shows how the jitter buffer threshold is determined at the start of the reception operation of the facsimile receiving terminal. This will be described with reference to FIGS.

ファクシミリ送信端末201との間でファクシミリ通信が始まると、ファクシミリ受信端末202の通信インタフェース部211はCNG(Calling tone)信号を受信する(ステップS301)。制御部212は、CNG信号を受信したと判断すると、ファクシミリ送信端末201に対して、通信インタフェース部211を用いて、ICMPパケットを送出する(ステップS302)。ファクシミリ受信端末202はファクシミリ送信端末201からのICMPエコー応答を待つ。   When facsimile communication starts with the facsimile transmission terminal 201, the communication interface unit 211 of the facsimile reception terminal 202 receives a CNG (Calling tone) signal (step S301). When determining that the CNG signal has been received, the control unit 212 transmits an ICMP packet to the facsimile transmission terminal 201 using the communication interface unit 211 (step S302). The facsimile receiving terminal 202 waits for an ICMP echo response from the facsimile transmitting terminal 201.

ICMPエコー応答がファクシミリ送信端末201から返ってきたら、この時間間隔を制御部212はメモリ222に一次記憶する(ステップS303)。そして、ICMPエコー要求パケットの送出を、予め設定していた回数だけ実行したかを判別する(ステップS304)。予め設定していた回数は1回以上の任意の整数値である。ICMPエコー要求パケットの送出を、予め設定していた回数行っていない場合には(N)、時間間隔の測定処理の続行が可能であるかをチェックする(ステップS305)。続行可能であれば(Y)、ステップS302に戻って再びICMPエコー要求パケットの送出を行う。   When an ICMP echo response is returned from the facsimile transmission terminal 201, the control unit 212 temporarily stores this time interval in the memory 222 (step S303). Then, it is determined whether the ICMP echo request packet has been transmitted a preset number of times (step S304). The preset number of times is an arbitrary integer value of 1 or more. If the ICMP echo request packet has not been sent a preset number of times (N), it is checked whether the time interval measurement process can be continued (step S305). If it is possible to continue (Y), the process returns to step S302, and the ICMP echo request packet is transmitted again.

以上のようにしてICMPエコー要求パケットの送出を、予め設定していた回数だけ実行したら(ステップS304:Y)、閾値計算部216は、それぞれのICMPエコー応答パケットが得られるまでの時間間隔の平均値を求め、平均遅延値Iとする(ステップS306)。閾値計算部216は、次にこの平均遅延値Iと仮閾値a、b、cを用いて、ジッタバッファ閾値A,B,Cを算出し、決定する(ステップS307)。このようにして得られたジッタバッファ閾値A,B,Cは、閾値記憶部217に格納されて(ステップS308)、ジッタバッファ閾値を格納するまでの一連の処理が終了する(エンド)。   When the transmission of the ICMP echo request packet is executed a predetermined number of times as described above (step S304: Y), the threshold value calculation unit 216 averages the time intervals until each ICMP echo response packet is obtained. A value is obtained and set as an average delay value I (step S306). Next, the threshold value calculation unit 216 calculates and determines the jitter buffer threshold values A, B, and C using the average delay value I and the temporary threshold values a, b, and c (step S307). The jitter buffer threshold values A, B, and C obtained in this way are stored in the threshold value storage unit 217 (step S308), and a series of processes until the jitter buffer threshold value is stored ends (END).

一方、ICMPエコー要求パケットを送出してもファクシミリ送信端末201からICMPエコー応答パケットが返って来なかった場合のように時間間隔の測定が続行できない場合がある。このような場合(ステップS305:N)、閾値計算部216はジッタバッファ閾値A,B,Cを算出することができない。そこで、この場合、仮閾値a、b、cが仮の閾値として閾値記憶部217に格納されて(ステップS309)、処理が終了する(エンド)。ただし、たとえばICMPエコー応答パケットを3回取得してこれらの平均値を求めるような設定を行っていた場合で、このうちの2回しかICMPエコー応答パケットを取得できなかったような部分的な続行不可能な処理が発生する場合がある。このような場合には、測定の成功した時間間隔を用いてジッタバッファ閾値A,B,Cを決定するようにしてもよい。   On the other hand, even if the ICMP echo request packet is transmitted, the time interval measurement may not be continued as in the case where the ICMP echo response packet is not returned from the facsimile transmission terminal 201. In such a case (step S305: N), the threshold value calculation unit 216 cannot calculate the jitter buffer threshold values A, B, and C. Therefore, in this case, the temporary threshold values a, b, and c are stored in the threshold storage unit 217 as temporary threshold values (step S309), and the process ends (END). However, for example, when the setting is made such that the ICMP echo response packet is acquired three times and the average value of these is obtained, partial continuation in which the ICMP echo response packet can be acquired only twice of these is continued. Unacceptable processing may occur. In such a case, the jitter buffer thresholds A, B, and C may be determined using time intervals at which measurement was successful.

図7は、IPネットワークの遅延量に応じてジッタバッファ閾値A,B,Cが設定された一例を示したものである。同図(A)は、タイムアウト値T1用に対応してジッタバッファ213におけるジッタバッファ閾値Aが設定されたものである。この例では、仮閾値aよりもΔAだけ増加した値がジッタバッファ閾値Aとなっている。これは、平均遅延値Iが基準値よりも多少多くなっていることを原因としている。 FIG. 7 shows an example in which the jitter buffer thresholds A, B, and C are set according to the delay amount of the IP network. FIG. 6A shows a jitter buffer threshold A set in the jitter buffer 213 corresponding to the timeout value T 1 . In this example, the jitter buffer threshold A is a value increased by ΔA from the provisional threshold a. This is because the average delay value I is slightly larger than the reference value.

同図(B)は、タイムアウト値T2用に対応してジッタバッファ213におけるジッタバッファ閾値Bが設定されたものである。また、同図(C)は、画データ受信時用に対応してジッタバッファ213におけるジッタバッファ閾値Cが設定されたものである。仮閾値bよりもΔBだけ増加した値がジッタバッファ閾値Bとなっており、仮閾値cよりもΔCだけ増加した値がジッタバッファ閾値Cとなっている。 FIG (B) is the jitter buffer threshold B is set in the jitter buffer 213 in response to a timeout value T 2. FIG. 6C shows a case where a jitter buffer threshold C in the jitter buffer 213 is set in correspondence with the reception of image data. A value increased by ΔB from the provisional threshold b is the jitter buffer threshold B, and a value increased by ΔC from the provisional threshold c is the jitter buffer threshold C.

この図6に示した3種類のジッタバッファ閾値A,B,Cは、図4に示したファクシミリ受信端末202が受信する信号あるいはデータの種類によって切り替わる。これを、ファクシミリ受信端末202における図6に続く処理として次に説明する。   The three types of jitter buffer thresholds A, B, and C shown in FIG. 6 are switched depending on the type of signal or data received by the facsimile receiving terminal 202 shown in FIG. This will be described next as processing subsequent to FIG. 6 in the facsimile receiving terminal 202.

図8は、ジッタバッファ閾値をジッタバッファに格納した後のファクシミリ受信端末の受信処理の様子を表わしたものである。図4および図7と共に説明する。   FIG. 8 shows the reception process of the facsimile receiving terminal after the jitter buffer threshold value is stored in the jitter buffer. This will be described with reference to FIGS.

ファクシミリ受信端末202は、回線確立シーケンス段階でファクシミリ送信端末201から図6のステップS301でCNG信号を受信した応答として、CED(Called Station Identification ;被呼端末識別)信号を送出する(ステップS321)。このタイミングで、制御部212は、ジッタバッファの閾値Aを閾値記憶部217から読み込んで、ジッタバッファ213の閾値を閾値Aに変更する(ステップS322)。そして、通信インタフェース部211よりDIS(digital identification signal)を送出する(ステップS323)。   The facsimile receiving terminal 202 transmits a CED (Called Station Identification) signal as a response to the reception of the CNG signal in Step S301 of FIG. 6 from the facsimile transmitting terminal 201 in the line establishment sequence stage (Step S321). At this timing, the control unit 212 reads the threshold value A of the jitter buffer from the threshold value storage unit 217, and changes the threshold value of the jitter buffer 213 to the threshold value A (step S322). Then, DIS (digital identification signal) is transmitted from the communication interface unit 211 (step S323).

次に、制御部212は、このDISに対してファクシミリ送信端末201から前記したタイムアウト値T1で示される時間以内に応答を受信するかを判断する(ステップS324、ステップS325)。タイムアウト値T1で示される時間以内に応答がなかった場合には(ステップS324:N、ステップS325:Y)、ステップS323によるDISの送出が、予め設定した最大試行回数を超過するかをチェックする(ステップS326)。まだ、最大試行回数を超えないのであれば(N)、ステップS323に戻って、通信インタフェース部211よりDISを送出する。これに対して、次にDISを送出すれば最大試行回数を超えることになるのであれば(ステップS326:Y)、通信エラーが発生したとして回線を切断し(ステップS327)、処理を終了する(エンド)。 Next, the control unit 212 determines whether a response is received from the facsimile transmission terminal 201 within the time indicated by the timeout value T 1 with respect to the DIS (steps S324 and S325). If there is no response within the time indicated by the timeout value T 1 (step S324: N, step S325: Y), it is checked whether the DIS transmission at step S323 exceeds the preset maximum number of trials. (Step S326). If the maximum number of trials has not been exceeded (N), the process returns to step S323, and DIS is transmitted from the communication interface unit 211. On the other hand, if the maximum number of trials is exceeded if the DIS is sent next (step S326: Y), the line is disconnected because a communication error has occurred (step S327), and the process is terminated (step S327). End).

これに対して、ステップS324でファクシミリ送信端末201からDISに対する応答があった場合には(Y)、DCS(digital command signal)受信を行う(ステップS328)。そして、TCF(Training check)信号の受信(ステップS329)を経て、通信インタフェース部211よりCFR(confirmation to receive)信号を送出する(ステップS330)。   On the other hand, when there is a response to the DIS from the facsimile transmission terminal 201 in step S324 (Y), DCS (digital command signal) reception is performed (step S328). Then, after receiving a TCF (Training check) signal (step S329), the communication interface unit 211 sends a CFR (confirmation to receive) signal (step S330).

次に、制御部212は、このCFR信号の送出をトリガとして、ジッタバッファ213の閾値Bを閾値記憶部217から読み込み、ジッタバッファ閾値Aをジッタバッファ閾値Bに変更する(ステップS331)。図7に示すようにジッタバッファ閾値Aの値は、ジッタバッファ閾値Bの値よりも大きい。このため、ジッタバッファ213にはジッタバッファ閾値Bを超える領域までパケットが溜まった状態となっている。そこでジッタバッファ制御部214は、これらのパケットの中の無音パケットを削除する(ステップS332)。ステップS329のTCF信号の受信から、後に説明する画データの受信開始までの間は無音パケットが受信される。このため、ジッタバッファ213の閾値をステップS331の時点で変更しても、ファクシミリ通信に影響はない。   Next, using the transmission of the CFR signal as a trigger, the control unit 212 reads the threshold value B of the jitter buffer 213 from the threshold value storage unit 217, and changes the jitter buffer threshold value A to the jitter buffer threshold value B (step S331). As shown in FIG. 7, the value of the jitter buffer threshold A is larger than the value of the jitter buffer threshold B. For this reason, the jitter buffer 213 is in a state where packets are accumulated up to an area exceeding the jitter buffer threshold B. Therefore, the jitter buffer control unit 214 deletes the silent packet among these packets (step S332). A silence packet is received from the reception of the TCF signal in step S329 to the start of reception of image data described later. Therefore, even if the threshold value of the jitter buffer 213 is changed at the time of step S331, the facsimile communication is not affected.

このようにしてジッタバッファ213に溜まっているパケットの削除が行われたら、ステップS333以降の処理に進む。ステップS333の処理では、命令がファクシミリ送信端末201から受信されるかのチェックが行われる。命令がファクシミリ送信端末201から受信されない状態では(N)、画データが受信されるかのチェックが行われる(ステップS334)。命令も画データもタイムアウト値T2で示される時間以内に受信されない場合には(ステップS334:N、ステップS335:Y)、ステップS327に進んで通信エラーと判別され、回線を切断して、処理を終了する(エンド)。 When the packets accumulated in the jitter buffer 213 are deleted in this way, the process proceeds to step S333 and subsequent steps. In the process of step S333, it is checked whether an instruction is received from the facsimile transmission terminal 201. When the command is not received from the facsimile transmission terminal 201 (N), it is checked whether image data is received (step S334). If neither the command nor the image data is received within the time indicated by the timeout value T 2 (step S334: N, step S335: Y), the process proceeds to step S327, where it is determined as a communication error, the line is disconnected, and the processing is performed. End (end).

通常の場合、タイムアウト値T2で示される時間以内に画データが送られてくる。この場合には(ステップS334:Y)、次に詳しく説明する画データ受信処理が行われ(ステップS336)、この処理の終了により、一連の処理が終了する(エンド)。 In the usual case, image data within a time indicated by the timeout value T 2 is sent. In this case (step S334: Y), an image data reception process described in detail below is performed (step S336), and a series of processes is ended (end) by the end of this process.

このような画データの受信が行われず(ステップS334:N)、タイムアウト値T2で示される時間以内にファクシミリ送信端末201から他の命令が送られてきた場合には(ステップS333:Y)、ステップS328以降の処理が行われる。 Such image without reception of data is performed (step S334: N), if the other instructions from the facsimile transmitting terminal 201 is sent within the time indicated by the time-out value T 2 (step S333: Y), The process after step S328 is performed.

図9は、図8のステップS336で示した画データ受信処理を具体的に示したものである。図4および図7と共に説明する。   FIG. 9 specifically shows the image data reception process shown in step S336 of FIG. This will be described with reference to FIGS.

図8のステップS334で画データの受信が行われることになったら、制御部212は、これをトリガとして、ジッタバッファ213の閾値Cを閾値記憶部217から読み込み、ジッタバッファ閾値Bをジッタバッファ閾値Cに変更する(ステップS351)。そして、通信インタフェース部211を介してファクシミリ送信端末201から順次送られてくる画データのパケットをジッタバッファ213に格納していく(ステップS352)。このとき、図18で説明したと同様にジッタバッファ閾値Cを超えるパケットが受信された状態で、ファクシミリ送信端末201から最も時間的に古く送り出されたパケットが1つずつコーデック部215に移動される。したがって、図7(C)の閾値Cを超えない領域に格納された複数のパケットは、コーデック部215に送り出される前の時点で受信の順番が狂っていても、時間的に整列されて出力される。   When image data is received in step S334 of FIG. 8, the control unit 212 uses this as a trigger to read the threshold value C of the jitter buffer 213 from the threshold value storage unit 217, and to set the jitter buffer threshold value B to the jitter buffer threshold value. Change to C (step S351). Then, image data packets sequentially transmitted from the facsimile transmission terminal 201 via the communication interface unit 211 are stored in the jitter buffer 213 (step S352). At this time, as described with reference to FIG. 18, in a state where packets exceeding the jitter buffer threshold C are received, the packets sent out the oldest from the facsimile transmission terminal 201 are moved to the codec unit 215 one by one. . Therefore, a plurality of packets stored in an area that does not exceed the threshold value C in FIG. 7C are output in a time-aligned manner even if the order of reception is out of order before being sent to the codec unit 215. The

ジッタバッファ213への画データの格納は、ファクシミリ送信端末201から最後の1ページの終わりを表わすEOP(End Of Procedure Signal)を受信するまで継続する(ステップS353:N)。EOPを受信したら(Y)、制御部212は、MCF(Message Confirmation)信号を返送する(ステップS354)。そして、ファクシミリ送信端末201からDCN(Disconnect)信号の受信があった時点で(ステップS355:Y)、回線を切断して(ステップS356)、ファクシミリ通信を終了する(エンド)。   The storage of the image data in the jitter buffer 213 is continued until an EOP (End Of Procedure Signal) indicating the end of the last one page is received from the facsimile transmission terminal 201 (step S353: N). When the EOP is received (Y), the control unit 212 returns an MCF (Message Confirmation) signal (step S354). When a DCN (Disconnect) signal is received from the facsimile transmission terminal 201 (step S355: Y), the line is disconnected (step S356), and the facsimile communication is ended (end).

なお、以上の説明ではジッタバッファ213にジッタバッファ閾値A、B、Cを設定するものとして説明したが、ジッタバッファ閾値A、B、Cを算出できなかった場合にはジッタバッファ仮閾値a、b、cを代わって設定することは当然である。   In the above description, the jitter buffer threshold values A, B, and C are set in the jitter buffer 213. However, when the jitter buffer threshold values A, B, and C cannot be calculated, the jitter buffer temporary threshold values a, b , C are naturally set instead.

以上説明した実施の形態によれば、ファクシミリ通信の手順において、送出した信号に対する応答信号のタイムアウト値を考慮し、所定の信号送出のタイミングで応答信号のタイムアウト値に見合った値にジッタバッファ213の閾値を変動させるようにしている。ファクシミリ通信のタイムアウトの時間は送出する信号ごとに異なっているからである。これにより、本実施の形態ではタイムアウトエラーになりにくい画データ受信中でジッタバッファ閾値を大きくし、バッファメモリに溜め込むパケットを増やすことで揺らぎに対しての耐性を強化している。また、一方でタイムアウトエラーになりやすい手順信号の区間ではジッタバッファ閾値を画像データの受信中に比べて小さくし、端末内で発生する遅延を抑えるようにしている。   According to the embodiment described above, in the facsimile communication procedure, the timeout value of the response signal with respect to the transmitted signal is taken into consideration, and the jitter buffer 213 has a value corresponding to the timeout value of the response signal at a predetermined signal transmission timing. The threshold value is varied. This is because the timeout time of facsimile communication differs for each signal to be transmitted. As a result, in this embodiment, the jitter buffer threshold is increased during image data reception that is unlikely to cause a time-out error, and the number of packets stored in the buffer memory is increased, thereby enhancing resistance to fluctuations. On the other hand, in the section of the procedure signal that is likely to cause a timeout error, the jitter buffer threshold is made smaller than that during the reception of the image data to suppress the delay occurring in the terminal.

ITU−T(International Telecommunication Union Telecommunication Standardization Sector)勧告T.30では、タイムアウト値をT0、T1、T2、T3、T5として定義している。タイムアウトT0は、自動発呼において被呼端末が呼に応答することを待つ時間を定めている。タイムアウトT1は、2つの端末が互いに相手を識別しようとしている時間を定めている。タイムアウトT2では、命令や応答同期の損失を検出する際の時間を定めている。タイムアウトT3は、端末が手順中断に応じてローカルなオペレータに警報を試みている時間を定めている。タイムアウトT5は、TTC(Telecommunication Technology Committee)標準JT−T4誤り訂正方式(ECM:Error Correction Mode)のために定義されており、受信端末のビジー状態の解除のための待ち時間を定めている。   ITU-T (International Telecommunication Union Telecommunication Standardization Sector) recommendation 30 defines timeout values as T0, T1, T2, T3, and T5. The timeout T0 defines the time for the called terminal to wait for a call to be answered in an automatic call. The timeout T1 defines the time during which the two terminals are trying to identify each other. In the timeout T2, a time for detecting a loss of command and response synchronization is determined. The timeout T3 defines the time during which the terminal is trying to alert the local operator in response to a procedure interruption. The timeout T5 is defined for TTC (Telecommunication Technology Committee) standard JT-T4 Error Correction Mode (ECM) and defines a waiting time for releasing the busy state of the receiving terminal.

ITU−T勧告T.30の標準的なファクシミリ通信では、T1、T2の値が主に用いられるタイムアウト値であり、T2でのタイムアウトによる通信エラーのケースが多い。このため本実施の形態では、T1、T2のタイムアウト値を扱ったが、これに限るものではない。後に説明する本発明の変形例でも同様である。   ITU-T recommendation In 30 standard facsimile communications, the values of T1 and T2 are mainly used as timeout values, and there are many cases of communication errors due to timeouts at T2. For this reason, in the present embodiment, the timeout values of T1 and T2 are dealt with, but the present invention is not limited to this. The same applies to a modified example of the present invention described later.

ITU−T勧告T.30では、T1、T2の値をそれぞれ35±5秒、6±1秒と定義している。また、本実施の形態では画データ受信中にジッタバッファの閾値を大きくして、揺らぎに対する耐性を上げるため、画データ受信中用の閾値を新設した。本実施の形態では、「信号送出に対する応答信号のタイムアウト値」に見合った値に、ジッタバッファ213の閾値を変動させている。これにより、手順信号の区間では、タイムアウトによるエラーから救うことが可能となり、一方、画データ受信中においては、揺らぎに耐性のある制御が可能となる。また、本実施の形態ではファクシミリ通信を行う直前のネットワーク上の遅延状態を調べて、ジッタバッファ213の閾値をこれに応じて設定しているので、ファクシミリ通信で用いる網の遅延値を考慮したファクシミリ通信が可能になる。   ITU-T recommendation 30, the values of T1 and T2 are defined as 35 ± 5 seconds and 6 ± 1 seconds, respectively. In this embodiment, the threshold value for receiving image data is newly set in order to increase the jitter buffer threshold value during image data reception and increase the tolerance against fluctuation. In this embodiment, the threshold value of the jitter buffer 213 is changed to a value commensurate with the “timeout value of the response signal for signal transmission”. As a result, in the section of the procedure signal, it is possible to save from an error due to time-out. On the other hand, during image data reception, control that is resistant to fluctuations is possible. In this embodiment, the delay state on the network immediately before the facsimile communication is checked, and the threshold value of the jitter buffer 213 is set accordingly. Therefore, the facsimile considering the delay value of the network used in the facsimile communication is used. Communication is possible.

<発明の第1の変形例>   <First Modification of Invention>

以上説明した実施例では、画データの受信を開始した際に図9のステップS351でジッタバッファ閾値Bをジッタバッファ閾値Cに変更し、そのままファクシミリ通信の終了するまでジッタバッファ閾値Cを保持することにした。本発明はこれに限るものではない。たとえば、画データが2ページ以上となるときには、画データの受信の区間とそれ以外の信号の受信区間でジッタバッファ閾値を切り替えるようにしてもよい。   In the embodiment described above, when reception of image data is started, the jitter buffer threshold B is changed to the jitter buffer threshold C in step S351 of FIG. 9, and the jitter buffer threshold C is held until the end of facsimile communication. I made it. The present invention is not limited to this. For example, when there are two or more pages of image data, the jitter buffer threshold value may be switched between the image data reception interval and other signal reception intervals.

図10は、図9で示した画データ受信処理の変形を、本発明の第1の変形例として具体的に示したものである。図4、図7および図8と共に説明する。また、この図10では、図8および図9と同一部分には同一のステップ番号を記しており、これらの説明を適宜省略する。   FIG. 10 specifically shows a modification of the image data reception process shown in FIG. 9 as a first modification of the present invention. This will be described with reference to FIGS. 4, 7 and 8. In FIG. 10, the same parts as those in FIGS. 8 and 9 are denoted by the same step numbers, and description thereof will be omitted as appropriate.

図8のステップS334で画データの受信が行われることになったら、制御部212は、これをトリガとして、ジッタバッファ213の閾値Cを閾値記憶部217から読み込み、ジッタバッファ閾値Bをジッタバッファ閾値Cに変更する(ステップS351)。そして、通信インタフェース部211を介してファクシミリ送信端末201から順次送られてくる画データのパケットをジッタバッファ213に格納していく(ステップS352)。   When image data is received in step S334 of FIG. 8, the control unit 212 uses this as a trigger to read the threshold value C of the jitter buffer 213 from the threshold value storage unit 217, and to set the jitter buffer threshold value B to the jitter buffer threshold value. Change to C (step S351). Then, image data packets sequentially transmitted from the facsimile transmission terminal 201 via the communication interface unit 211 are stored in the jitter buffer 213 (step S352).

ジッタバッファ213への画データの格納は、ファクシミリ送信端末201から最後の1ページの終わりを表わすEOP(End Of Procedure Signal)を受信するか(ステップS353)、MPS(Multi Page Signal)を受信するまで継続する(ステップS401)。MPSは、次のページが受信されることを示す信号である。   The image data is stored in the jitter buffer 213 until EOP (End Of Procedure Signal) indicating the end of the last one page is received from the facsimile transmission terminal 201 (step S353) or MPS (Multi Page Signal) is received. Continue (step S401). MPS is a signal indicating that the next page is received.

EOPを受信した場合には(ステップS353:Y)、最後のページの受信が終了したので、すでに説明したようにステップS354以降の処理が行われ、ステップS356で回線を切断して、ファクシミリ通信を終了する(エンド)。   When the EOP is received (step S353: Y), since the reception of the last page is completed, the processing after step S354 is performed as described above, the line is disconnected in step S356, and the facsimile communication is performed. End (end).

これに対して、MPSを受信した場合には(ステップS353:N、ステップS401:Y)、これをトリガとして、ジッタバッファ213の閾値Bを閾値記憶部217から読み込み、ジッタバッファ閾値Cをジッタバッファ閾値Bに変更する(ステップS402)。そして、図8で説明したと同様にステップS333〜ステップS335の待機ループに進む。ここで、命令がファクシミリ送信端末201から受信された場合には(ステップS333:Y)、ステップS328〜ステップS332の処理が行われて、再びステップS333〜ステップS335の待機ループに戻る。   On the other hand, when MPS is received (step S353: N, step S401: Y), using this as a trigger, the threshold value B of the jitter buffer 213 is read from the threshold value storage unit 217, and the jitter buffer threshold value C is set to the jitter buffer. The threshold value is changed to B (step S402). Then, the process proceeds to the standby loop of steps S333 to S335 as described with reference to FIG. Here, when the command is received from the facsimile transmission terminal 201 (step S333: Y), the processing of step S328 to step S332 is performed, and the process returns to the standby loop of step S333 to step S335 again.

また、ステップS334で画データが受信された場合には(Y)、ステップS351に戻って、再びジッタバッファ閾値Bからジッタバッファ閾値Cへの変更が実行される。そして、該当するページの画データをジッタバッファ213に格納する処理が行われることになる(ステップS352)。   If image data is received in step S334 (Y), the process returns to step S351, and the change from the jitter buffer threshold B to the jitter buffer threshold C is executed again. Then, processing for storing the image data of the corresponding page in the jitter buffer 213 is performed (step S352).

以上のような命令の受信も画データの受信も行われることなくタイムアウト値T2で示される時間が経過した場合には(ステップS333:N、ステップS334:N、ステップS335:Y)、通信エラーによる回線の切断が行われる(ステップS403)。そして、画データの受信処理が終了することになる(エンド)。 If the time indicated by the timeout value T 2 has passed without receiving the above command or image data (step S333: N, step S334: N, step S335: Y), a communication error Is disconnected (step S403). Then, the image data reception process ends (END).

以上説明した本発明の第1の変形例によれば、画データが複数ページ送られてくるとき、画データの受信される区間と制御信号の受信される区間でジッタバッファ閾値を異なったものとした。これにより、タイムアウト値T2による通信エラーの発生を減少させつつ、画データ受信時には、揺らぎに耐性のある制御が可能となる。 According to the first modification of the present invention described above, when a plurality of pages of image data are sent, the jitter buffer threshold is different between the interval in which the image data is received and the interval in which the control signal is received. did. Thus, while reducing the occurrence of a communication error due to a timeout value T 2, at the time of image data reception, it is possible to control resistant to fluctuations.

<発明の第2の変形例>   <Second Modification of Invention>

図11は、本発明の第2の変形例におけるファクシミリ受信端末の構成の概要を表わしたものである。この第2の変形例のファクシミリ受信端末202Aで、図4に示したファクシミリ受信端末202と同一部分には同一の符号を付しており、これらの説明を適宜省略する。   FIG. 11 shows an outline of the configuration of the facsimile receiving terminal according to the second modification of the present invention. In the facsimile receiving terminal 202A of the second modification, the same parts as those of the facsimile receiving terminal 202 shown in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

ファクシミリ受信端末202Aは、新たに送信者識別部501を有している。送信者識別部501は、図4に示したファクシミリ送信端末201の電話番号等のアドレス情報から送信者あるいは送信者端末を識別する。閾値計算部216Aは、送信者識別部501で識別した送信者別にジッタバッファ閾値を計算するようになっている。閾値記憶部217Aは、送信者別にジッタバッファ閾値記憶する。閾値記憶部217Aには、一例として太郎記憶領域502と、花子記憶領域503が示されている。制御部212Aには、この第2の変形例におけるファクシミリ受信端末202Aの制御を行うための制御プログラムを格納したメモリ222Aが配置されている。CPU221は、この制御プログラムを実行することで、第2の変形例におけるファクシミリ受信端末202Aの制御を行うことになる。   The facsimile receiving terminal 202A has a sender identification unit 501 newly. The sender identification unit 501 identifies a sender or a sender terminal from address information such as a telephone number of the facsimile transmission terminal 201 shown in FIG. The threshold calculation unit 216A calculates a jitter buffer threshold for each sender identified by the sender identification unit 501. The threshold storage unit 217A stores a jitter buffer threshold for each sender. In the threshold storage unit 217A, a Taro storage area 502 and a Hanako storage area 503 are shown as an example. The control unit 212A is provided with a memory 222A that stores a control program for controlling the facsimile receiving terminal 202A in the second modification. By executing this control program, the CPU 221 controls the facsimile receiving terminal 202A in the second modification.

図12は、送信者としての太郎を例に採った場合のジッタバッファ閾値とタイムアウト値の関係を示したものである。図4および図11と共に説明する。   FIG. 12 shows the relationship between the jitter buffer threshold and the timeout value when Taro as a sender is taken as an example. This will be described with reference to FIGS. 4 and 11.

送信者としての太郎については、閾値記憶部217Aの太郎記憶領域502に、前回のファクシミリ通信で用いた3種類のジッタバッファ閾値が格納されている。これらは、タイムアウト値T1用のジッタバッファ閾値A′、タイムアウト値T2用のジッタバッファ閾値B′および画データ受信時用のジッタバッファ閾値C′である。 For Taro as a sender, three types of jitter buffer threshold values used in the previous facsimile communication are stored in the Taro storage area 502 of the threshold storage unit 217A. These are the jitter buffer threshold A ′ for the timeout value T 1 , the jitter buffer threshold B ′ for the timeout value T 2 , and the jitter buffer threshold C ′ for receiving image data.

閾値計算部216Aは、今回の通信開始時にICMPパケットで複数回、IPネットワーク203の遅延状態をチェックして、矢印511で示すジッタバッファ閾値A、B、Cを算出する。そして、矢印512で示す前回得られたジッタバッファ閾値A′、B′、C′を用いて学習を行い、矢印513で示すように太郎用の新しいジッタバッファ閾値(学習機能を用いた新閾値)AA、BB、CCを算出する。ファクシミリ通信は現在の網状態に大きく起因する。このため、新しく算出されたジッタバッファ閾値AA、BB、CCは、前回得られたジッタバッファ閾値A′、B′、C′よりも今回算出したジッタバッファ閾値A、B、Cの方の重みが大きくなるように算出することが好ましい。   The threshold value calculation unit 216A checks the delay state of the IP network 203 a plurality of times with an ICMP packet at the start of communication this time, and calculates jitter buffer threshold values A, B, and C indicated by arrows 511. Then, learning is performed using the previously obtained jitter buffer threshold values A ′, B ′, and C ′ indicated by an arrow 512, and a new jitter buffer threshold value for Taro (new threshold value using a learning function) is indicated by an arrow 513. AA, BB, and CC are calculated. Facsimile communication is largely due to the current network conditions. For this reason, the newly calculated jitter buffer threshold values AA, BB, and CC have a weight of the jitter buffer threshold values A, B, and C calculated this time rather than the previously obtained jitter buffer threshold values A ′, B ′, and C ′. It is preferable to calculate so that it may become large.

第2の変形例では、このようにして得られた太郎についてのジッタバッファ閾値AA、BB、CCを、太郎からのファクシミリの受信の際の3種類の閾値として使用する。そして、そのファクシミリ通信が終了したら、矢印514として示したように、これらのジッタバッファ閾値AA、BB、CCをジッタバッファ閾値A′、B′、C′として閾値記憶部217Aの太郎記憶領域502に上書きする。   In the second modification, the jitter buffer threshold values AA, BB, and CC for Taro obtained in this way are used as three types of threshold values when receiving a facsimile from Taro. When the facsimile communication is completed, as indicated by an arrow 514, these jitter buffer threshold values AA, BB, CC are set as jitter buffer threshold values A ′, B ′, C ′ in the Taro storage area 502 of the threshold storage unit 217A. Overwrite.

図13は、以上説明した第2の変形例における平均遅延値I算出以降のジッタバッファ閾値AAの算出および登録処理の様子を表わしたものである。図6、図11および図12と共に説明する。図13に示す処理は、図6におけるステップS306以降の処理に相当する。図6と同一部分には同一のステップ番号を記しており、これらの説明を適宜省略する。   FIG. 13 shows how the jitter buffer threshold AA is calculated and registered after the average delay value I is calculated in the second modification described above. This will be described with reference to FIGS. 6, 11 and 12. The process shown in FIG. 13 corresponds to the process after step S306 in FIG. The same steps as those in FIG. 6 are denoted by the same step numbers, and description thereof will be omitted as appropriate.

図13のステップS306で平均遅延値Iを算出したら、ジッタバッファ閾値A,B,Cを算出する(ステップS307)。次に、制御部212Aは通信インタフェース部211よりファクシミリ送信端末201(図4)の電話番号あるいはアドレス情報を特定することで送信者の識別を行う(ステップS601)。そして、閾値記憶部217Aにその送信者が登録されているかをチェックする(ステップS602)。   When the average delay value I is calculated in step S306 of FIG. 13, jitter buffer thresholds A, B, and C are calculated (step S307). Next, the control unit 212A identifies the sender by specifying the telephone number or address information of the facsimile transmission terminal 201 (FIG. 4) from the communication interface unit 211 (step S601). Then, it is checked whether or not the sender is registered in the threshold storage unit 217A (step S602).

図11で示した例では送信者が「太郎」であり、閾値記憶部217Aに太郎記憶領域502が登録済みである。このように閾値記憶部217Aにその送信者が登録されている場合には(ステップS602:Y)、その者について前回格納したジッタバッファ閾値A′、B′、C′を閾値記憶部217Aから読み込む(ステップS603)。送信者が「太郎」の例では、太郎記憶領域502に格納されたジッタバッファ閾値A′、B′、C′が読み込まれることになる。   In the example shown in FIG. 11, the sender is “Taro”, and the Taro storage area 502 has been registered in the threshold storage unit 217A. As described above, when the sender is registered in the threshold storage unit 217A (step S602: Y), the jitter buffer threshold values A ′, B ′, and C ′ previously stored for the person are read from the threshold storage unit 217A. (Step S603). In the case where the sender is “Taro”, the jitter buffer thresholds A ′, B ′, and C ′ stored in the Taro storage area 502 are read.

閾値計算部216Aは、ステップS307で算出したジッタバッファ閾値A,B,Cと、今回読み込んだジッタバッファ閾値A′、B′、C′を用いて閾値計算を行う(ステップS604)。そして、送信者の「太郎」と今回の平均遅延値Iに特化した新しいジッタバッファ閾値AA、BB、CCを決定して(ステップS605)、制御信号および画データの受信処理のための閾値の登録処理を終了する(エンド)。新しいジッタバッファ閾値AA、BB、CCの登録後の制御信号および画データの受信処理については、すでに図8で説明した。   The threshold calculation unit 216A performs threshold calculation using the jitter buffer thresholds A, B, and C calculated in step S307 and the jitter buffer thresholds A ′, B ′, and C ′ read this time (step S604). Then, a new jitter buffer threshold value AA, BB, CC specialized for the sender “Taro” and the current average delay value I is determined (step S605), and the threshold value for the control signal and image data reception processing is determined. End the registration process (END). The control signal and image data reception processing after registration of the new jitter buffer threshold values AA, BB, and CC has already been described with reference to FIG.

ステップS602でファクシミリの送信者が閾値記憶部217Aに登録されていない者であることが判明した場合には(N)、その者についての前回のジッタバッファ閾値A′、B′、C′が存在していない。そこで、この場合にはステップS604にそのまま進んで、一般的な人的環境でジッタバッファ閾値の計算が行われ、新しいジッタバッファ閾値AA、BB、CCが決定することになる(ステップS605)。   If it is determined in step S602 that the sender of the facsimile is not registered in the threshold storage unit 217A (N), the previous jitter buffer thresholds A ′, B ′, and C ′ for that person exist. Not done. Therefore, in this case, the process proceeds to step S604 as it is, and the jitter buffer threshold is calculated in a general human environment, and new jitter buffer thresholds AA, BB, and CC are determined (step S605).

図14は、新しいジッタバッファ閾値AA、BB、CCの格納処理の様子を表わしたものである。図4および図11と共に説明する。   FIG. 14 shows how the new jitter buffer threshold values AA, BB, and CC are stored. This will be described with reference to FIGS. 4 and 11.

ファクシミリ受信端末202Aはファクシミリ送信端末201との間でのファクシミリ通信が終了して回線が切断されると(ステップS621:Y)、これをトリガとして送信者のジッタバッファ閾値が閾値記憶部217Aに登録済みであるかを判別する(ステップS622)。たとえば送信者が「太郎」であれば、閾値記憶部217Aに太郎記憶領域502があるので、登録済みである(Y)。この場合には、新しいジッタバッファ閾値AA、BB、CCをジッタバッファ閾値A′、B′、C′として、太郎記憶領域502に上書きして(ステップS623)、新閾値の格納処理を終了する(エンド)。   When the facsimile reception terminal 202A completes the facsimile communication with the facsimile transmission terminal 201 and the line is disconnected (step S621: Y), the sender's jitter buffer threshold is registered in the threshold storage unit 217A as a trigger. It is determined whether it has been completed (step S622). For example, if the sender is “Taro”, since there is a Taro storage area 502 in the threshold storage unit 217A, it is already registered (Y). In this case, new jitter buffer threshold values AA, BB, and CC are overwritten in the Taro storage area 502 as jitter buffer threshold values A ′, B ′, and C ′ (step S623), and the new threshold value storing process is terminated (step S623). End).

これに対して、閾値記憶部217Aにその送信者が登録されていない場合には(ステップS622:N)、その者の記憶領域を閾値記憶部217Aに新設する。たとえば「花子」が未登録であれば、閾値記憶部217Aに花子記憶領域503を新設する。そして、この花子記憶領域503にジッタバッファ閾値A′、B′、C′を格納して(ステップS624)、新閾値の格納処理を終了する(エンド)。   On the other hand, when the sender is not registered in the threshold storage unit 217A (step S622: N), the storage area of the person is newly installed in the threshold storage unit 217A. For example, if “Hanako” is not registered, a Hanako storage area 503 is newly provided in the threshold storage unit 217A. Then, the jitter buffer threshold values A ′, B ′, and C ′ are stored in the Hanako storage area 503 (step S624), and the new threshold value storing process is terminated (END).

図15は、送信者が閾値記憶部に登録されていなかった場合におけるジッタバッファ閾値とタイムアウト値の関係を示したものである。図4および図11と共に説明する。   FIG. 15 shows the relationship between the jitter buffer threshold and the timeout value when the sender is not registered in the threshold storage unit. This will be described with reference to FIGS. 4 and 11.

送信者としての花子の電話番号についてのデータが存在しないので、閾値計算部216Aは、今回の通信開始時にタイムアウト値T1用のジッタバッファ閾値A、タイムアウト値T2用のジッタバッファ閾値Bおよび画データ受信時用のジッタバッファ閾値Cを算出する。これらの値は、矢印521、522で示すように閾値計算部216Aが学習後の値(学習機能を用いた新閾値)として採用する。ジッタバッファ制御部214はこれらのジッタバッファ閾値A、B、Cを用いてジッタバッファ213の制御を行うことになる。 Because the data for the telephone number of Hanako as the sender does not exist, the threshold value calculation unit 216A includes a jitter buffer threshold A for the timeout value T 1 to the current at the start of communication, the jitter buffer threshold B and field for the timeout value T 2 A jitter buffer threshold C for data reception is calculated. These values are adopted as values after learning (new threshold values using a learning function) by the threshold value calculation unit 216A as indicated by arrows 521 and 522. The jitter buffer control unit 214 controls the jitter buffer 213 using these jitter buffer threshold values A, B, and C.

送信者としての花子に関するファクシミリ通信が終了したら、矢印523で示すように花子記憶領域503が今回のファクシミリ送信端末201の電話番号「0123−34−5678」に対応して作成される。そして、データがまだ登録されていないこの新領域に、矢印524で示すようにジッタバッファ閾値A、B、Cの登録が行われることになる。   When facsimile communication related to Hanako as a sender is completed, a Hanako storage area 503 is created corresponding to the telephone number “0123-34-5678” of the current facsimile transmission terminal 201 as indicated by an arrow 523. Then, the jitter buffer thresholds A, B, and C are registered in this new area where data is not yet registered, as indicated by an arrow 524.

以上説明した本発明の第2の変形例によれば、ファクシミリ通信を重ねるたびに、通信相手のファクシミリ送信端末201の接続された通信経路ごとの遅延の傾向が反映される。したがって、通信相手に適したジッタバッファ213の閾値設定を行ったファクシミリ通信が可能になる。   According to the second modification of the present invention described above, the tendency of delay for each communication path to which the communication partner facsimile transmission terminal 201 is connected is reflected each time the facsimile communication is repeated. Therefore, it is possible to perform facsimile communication in which the threshold value of the jitter buffer 213 suitable for the communication partner is set.

また、本発明の第2の変形例では閾値記憶部217Aに相手先のジッタバッファ閾値A′、B′、C′の登録がされていない場合に、これらについて新規登録が可能な構成とした。これにより、ファクシミリ通信を重ねるたびに、より多くの通信相手に適合したファクシミリ通信が可能になる。   Further, in the second modification of the present invention, when the counterpart jitter buffer threshold values A ′, B ′, and C ′ are not registered in the threshold value storage unit 217A, these can be newly registered. Thereby, whenever the facsimile communication is repeated, the facsimile communication suitable for more communication partners can be performed.

<発明の第3の変形例>   <Third Modification of the Invention>

図16は、本発明の第3の変形例におけるファクシミリ受信端末の構成の概要を表わしたものである。この第3の変形例のファクシミリ受信端末202Bで、図4に示したファクシミリ受信端末202と同一部分には同一の符号を付しており、これらの説明を適宜省略する。   FIG. 16 shows an outline of the configuration of the facsimile receiving terminal according to the third modification of the present invention. In the facsimile receiving terminal 202B of the third modification, the same parts as those of the facsimile receiving terminal 202 shown in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

ファクシミリ受信端末202Bは、新たに通信エラー解析部701を有している。新たに通信エラー解析部701は、ファクシミリ通信でタイムアウトによる通信エラーがあった場合にその内容を解析して分類付ける。閾値計算部216Bは、分類されたエラーの内容に応じて、次回通信時のジッタバッファ閾値A、B、Cを計算するようになっている。制御部212Bには、この第3の変形例におけるファクシミリ受信端末202Bの制御を行うための制御プログラムを格納したメモリ222Bが配置されている。CPU221は、この制御プログラムを実行することで、第3の変形例におけるファクシミリ受信端末202Bの制御を行うことになる。   The facsimile receiving terminal 202B newly has a communication error analysis unit 701. The communication error analysis unit 701 newly analyzes and classifies the contents when there is a communication error due to timeout in facsimile communication. The threshold value calculation unit 216B calculates jitter buffer threshold values A, B, and C for the next communication according to the contents of the classified errors. The control unit 212B is provided with a memory 222B that stores a control program for controlling the facsimile receiving terminal 202B in the third modification. By executing this control program, the CPU 221 controls the facsimile receiving terminal 202B in the third modification.

図17は、この第3の変形例におけるジッタバッファ閾値の書き替え制御の様子を表わしたものである。図16と共に説明する。   FIG. 17 shows the state of the rewrite control of the jitter buffer threshold in the third modification. This will be described with reference to FIG.

制御部212Bはファクシミリ通信の受信処理が行われているときタイムアウトによる通信エラーが発生すると(ステップS801:Y)、通信エラー解析部701にその通信エラーの内容を解析させる(ステップS802)。このとき、通信開始時の遅延状況を考慮してもよい。通信エラーの解析結果に応じて閾値計算部216Bはジッタバッファ閾値A、B、Cを現状の値のままとするか、これらの値を修正し、修正後のジッタバッファ閾値A′、B′、C′を一時的に保持する。そして、回線が切断すると(ステップS804:Y)、保持したジッタバッファ閾値A′、B′、C′を新たなジッタバッファ閾値A、B、Cとして閾値記憶部217に上書きして(ステップS805)、閾値の変更処理を終了する(エンド)。   When a communication error due to a timeout occurs while the facsimile communication reception process is being performed (step S801: Y), the control unit 212B causes the communication error analysis unit 701 to analyze the content of the communication error (step S802). At this time, the delay state at the start of communication may be taken into consideration. Depending on the analysis result of the communication error, the threshold value calculation unit 216B keeps the jitter buffer threshold values A, B, and C at their current values or corrects these values, and corrects the corrected jitter buffer threshold values A ′, B ′, Hold C 'temporarily. When the line is disconnected (step S804: Y), the stored jitter buffer threshold values A ′, B ′, and C ′ are overwritten in the threshold storage unit 217 as new jitter buffer threshold values A, B, and C (step S805). Then, the threshold value changing process ends (END).

これに対して、通信エラーが発生することなくファクシミリ通信が終了した場合には(ステップS801:N、ステップS806:Y)、既に説明したようなジッタバッファ閾値についての通常の処理が行われて(ステップS807)、閾値に関する処理が終了することになる(エンド)。   On the other hand, when the facsimile communication is completed without causing a communication error (step S801: N, step S806: Y), the normal processing for the jitter buffer threshold as described above is performed ( Step S807), the processing relating to the threshold value is ended (END).

以上説明した本発明の第3の変形例によれば、ジッタバッファ閾値の通常の制御によってもタイムアウトによる通信エラーが発生した場合に、タイムアウトが再発しにくい対応を採ることができ、通信の耐性を高めることができる。   According to the third modified example of the present invention described above, when a communication error due to timeout occurs even under normal control of the jitter buffer threshold, it is possible to take a countermeasure that the timeout is unlikely to recur, and to improve communication durability. Can be increased.

なお、実施の形態および各変形例ではパケットの伝送に際しての揺らぎの救済を主に説明したが、ジッタバッファ213を用いてパケットの遅延等の他の障害を救済してもよいことは当然である。   Although the embodiment and each modification mainly described the relief of fluctuations during packet transmission, it is natural that the jitter buffer 213 may be used to rescue other obstacles such as packet delay. .

10 ファクシミリ受信装置
11 バッファメモリ
12 受信信号復号手段
13 閾値設定手段
20 ファクシミリ受信方法
21 遅延状況判別ステップ
22 受信ステップ
23 受信信号復号ステップ
24 閾値設定ステップ
30 ファクシミリ受信プログラム
31 遅延状況判別処理
32 受信処理
33 受信信号復号処理
34 閾値設定処理
200 ファクシミリ通信システム
201 ファクシミリ送信端末(ファクシミリ送信装置)
202、202A、202B ファクシミリ受信端末(ファクシミリ受信装置)
203 IPネットワーク
211 通信インタフェース部
212、212A、212B 制御部
213 ジッタバッファ(バッファメモリ)
214 ジッタバッファ制御部
215 コーデック部
216、216A、216B 閾値計算部
217、217A 閾値記憶部
221 CPU
222、222A、222B メモリ
501 送信者識別部
502 太郎記憶領域
503 花子記憶領域
701 通信エラー解析部
I 平均遅延値
A、B、C ジッタバッファ閾値
DESCRIPTION OF SYMBOLS 10 Facsimile receiver 11 Buffer memory 12 Received signal decoding means 13 Threshold setting means 20 Facsimile reception method 21 Delay situation determination step 22 Reception step 23 Reception signal decoding step 24 Threshold setting step 30 Facsimile reception program 31 Delay situation determination process 32 Reception process 33 Received signal decoding process 34 Threshold setting process 200 Facsimile communication system 201 Facsimile transmission terminal (facsimile transmission apparatus)
202, 202A, 202B Facsimile receiving terminal (facsimile receiving device)
203 IP network 211 Communication interface unit 212, 212A, 212B Control unit 213 Jitter buffer (buffer memory)
214 Jitter buffer control unit 215 Codec unit 216, 216A, 216B Threshold calculation unit 217, 217A Threshold storage unit 221 CPU
222, 222A, 222B Memory 501 Sender identification unit 502 Taro storage area 503 Hanako storage area 701 Communication error analysis section I Average delay value A, B, C Jitter buffer threshold

Claims (10)

インターネット網を用いたファクシミリ通信で送信元から受信したパケット信号を受信順に格納するバッファメモリと、
このバッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号手段と、
前記受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記閾値を複数種類に設定する閾値設定手段
とを具備することを特徴とするファクシミリ受信装置。
A buffer memory for storing packet signals received from a sender in facsimile communication using the Internet network in the order of reception;
Received signal decoding means for sequentially taking out and decoding the signals exceeding the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory;
A facsimile receiving apparatus comprising: threshold setting means for setting a plurality of thresholds according to a length of time until timeout as a time limit for responding to the received packet signal.
ファクシミリ通信開始時の送信元との間の前記インターネット網を用いた信号の遅延状態を測定する遅延状態測定手段と、
この遅延状態測定手段の測定結果に応じて今回の通信時の前記閾値を算出する遅延状態参照手段
とを具備することを特徴とする請求項1記載のファクシミリ受信装置。
Delay state measuring means for measuring a delay state of a signal using the Internet network with a transmission source at the start of facsimile communication;
2. The facsimile receiving apparatus according to claim 1, further comprising delay state reference means for calculating the threshold value at the time of the current communication according to the measurement result of the delay state measuring means.
画データの受信時における前記閾値を前記閾値設定手段の設定した複数種類のいずれよりも長く設定することを特徴とする請求項1記載のファクシミリ受信装置。   2. The facsimile receiving apparatus according to claim 1, wherein the threshold value at the time of receiving image data is set longer than any of a plurality of types set by the threshold value setting means. 画データの受信開始を検出する画データ受信開始検出手段と、
MPS(Multi Page Signal)を受信するタイミングを検出するMPS検出手段と、
EOP(End Of Procedure Signal)を受信するタイミングを検出するEOP検出手段と、
前記MPS検出手段がMPSを検出したら前記画データ受信開始検出手段が前記画データの受信開始を検出する直前の閾値に戻すと共に、この後に前記画データ受信開始検出手段が前記画データの受信開始を検出したらこの閾値を画データの受信時の閾値に復帰させる閾値スイッチング手段
とを具備することを特徴とする請求項1記載のファクシミリ受信装置。
Image data reception start detection means for detecting the start of image data reception;
MPS detection means for detecting timing for receiving MPS (Multi Page Signal);
EOP detection means for detecting timing for receiving EOP (End Of Procedure Signal);
When the MPS detection means detects the MPS, the image data reception start detection means returns to the threshold immediately before detecting the start of reception of the image data, and thereafter the image data reception start detection means starts the reception of the image data. 2. The facsimile receiving apparatus according to claim 1, further comprising threshold switching means for returning the threshold to the threshold at the time of receiving the image data upon detection.
ファクシミリ信号の送信元を判別する送信元判別手段と、
この送信元判別手段によって判別した送信元ごとに前回のファクシミリ通信における前記閾値を記憶する前回通信時閾値記憶手段と、
前記送信元判別手段が判別した送信元からファクシミリ信号を受信するとき前記前回通信時閾値記憶手段から同一送信元の前記閾値を読み出して、これを参考に今回の通信時の前記閾値を算出する履歴データ参照手段
とを具備することを特徴とする請求項1記載のファクシミリ受信装置。
A transmission source discrimination means for discriminating a transmission source of the facsimile signal;
A previous communication threshold storage means for storing the threshold in the previous facsimile communication for each transmission source determined by the transmission source determination means;
A history of reading the threshold value of the same transmission source from the previous communication threshold storage unit when receiving a facsimile signal from the transmission source determined by the transmission source determination unit, and calculating the threshold value of the current communication with reference to this 2. The facsimile receiving apparatus according to claim 1, further comprising a data reference means.
ファクシミリ通信時の通信エラーを解析する通信エラー解析手段と、
この通信エラー解析手段の解析結果に応じて次回の通信時以降の前記閾値を修正するエラー発生時閾値修正手段
とを具備することを特徴とする請求項1記載のファクシミリ受信装置。
A communication error analysis means for analyzing a communication error during facsimile communication;
2. The facsimile receiving apparatus according to claim 1, further comprising an error occurrence threshold correcting means for correcting the threshold after the next communication according to an analysis result of the communication error analyzing means.
インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する遅延状況判別ステップと、
前記ファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する受信ステップと、
この受信ステップで前記バッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号ステップと、
前記遅延状況判別ステップで判別した通信の遅延状況および前記受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記閾値を複数種類に設定する閾値設定ステップ
とを具備することを特徴とするファクシミリ受信方法。
Delay that determines the delay status of communication in facsimile communication using the Internet network by measuring the time required for a response to the facsimile transmission device at the start of facsimile communication using the Internet network and returning the response. A status determination step;
A reception step of storing packet signals received from a transmission source in the facsimile communication in a buffer memory in the order of reception;
A reception signal decoding step for sequentially taking out and decoding the signals that have exceeded the time indicated by the predetermined threshold value from the packet signal stored in the buffer memory in the reception step;
A threshold setting step for setting the threshold to a plurality of types according to the communication delay status determined in the delay status determination step and the length of time until timeout as a time limit for responding to the received packet signal; A facsimile receiving method comprising:
画データの受信開始を検出する画データ受信開始検出ステップと、
この画データ受信開始検出ステップで画データの受信開始が検出されたとき前記バッファメモリの閾値を前記閾値設定ステップで設定した閾値のいずれよりも長く設定する画データ受信時閾値設定ステップ
とを具備することを特徴とする請求項7記載のファクシミリ受信方法。
An image data reception start detection step for detecting the start of image data reception;
An image data reception threshold setting step for setting the threshold value of the buffer memory longer than any of the threshold values set in the threshold value setting step when the reception start of the image data is detected in the image data reception start detection step. The facsimile receiving method according to claim 7.
コンピュータに、
インターネット網を用いたファクシミリ通信の開始時にファクシミリ送信装置に対して応答を要求して応答が返ってくるまでの時間を測定することでインターネット網を用いたファクシミリ通信における通信の遅延状況を判別する遅延状況判別処理と、
前記ファクシミリ通信で送信元から受信したパケット信号をバッファメモリに受信順に格納する受信処理と、
この受信処理で前記バッファメモリに格納したパケット信号のうち格納から所定の閾値で示される時間を超えた信号を順に取り出してその復号を行う受信信号復号処理と、
前記遅延状況判別処理で判別した通信の遅延状況および前記受信したパケット信号に応答する時間的な期限としてのタイムアウトまでの時間の長さに応じて前記閾値を複数種類に設定する閾値設定処理
とを実行させることを特徴とするファクシミリ受信プログラム。
On the computer,
Delay that determines the delay status of communication in facsimile communication using the Internet network by measuring the time required for a response to the facsimile transmission device at the start of facsimile communication using the Internet network and returning the response. Status determination processing;
A reception process for storing packet signals received from a transmission source in the facsimile communication in a buffer memory in the order of reception;
A reception signal decoding process for sequentially taking out and decoding the signals exceeding the time indicated by the predetermined threshold from the stored packet signals stored in the buffer memory in the reception process;
Threshold setting processing for setting a plurality of types of the threshold according to the delay status of communication determined in the delay status determination processing and the length of time until timeout as a time limit for responding to the received packet signal; A facsimile reception program to be executed.
画データの受信開始を検出する画データ受信開始検出処理と、
この画データ受信開始検出処理で画データの受信開始が検出されたとき前記バッファメモリの閾値を前記閾値設定ステップで設定した閾値のいずれよりも長く設定する画データ受信時閾値設定処理
とをコンピュータに更に実行させることを特徴とする請求項9記載のファクシミリ受信プログラム。
Image data reception start detection processing for detecting the start of image data reception;
The image data reception threshold setting process for setting the threshold value of the buffer memory longer than any of the threshold values set in the threshold value setting step when the image data reception start detection process is detected in the image data reception start detection process. The facsimile reception program according to claim 9, further executed.
JP2009194163A 2009-08-25 2009-08-25 Facsimile reception device, facsimile reception method, and facsimile reception program Pending JP2011049640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009194163A JP2011049640A (en) 2009-08-25 2009-08-25 Facsimile reception device, facsimile reception method, and facsimile reception program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009194163A JP2011049640A (en) 2009-08-25 2009-08-25 Facsimile reception device, facsimile reception method, and facsimile reception program

Publications (1)

Publication Number Publication Date
JP2011049640A true JP2011049640A (en) 2011-03-10

Family

ID=43835580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009194163A Pending JP2011049640A (en) 2009-08-25 2009-08-25 Facsimile reception device, facsimile reception method, and facsimile reception program

Country Status (1)

Country Link
JP (1) JP2011049640A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059866A (en) * 2012-09-14 2014-04-03 Intel Corp Techniques for continuously delivering data while conserving energy
JP2017073655A (en) * 2015-10-07 2017-04-13 日本電信電話株式会社 Time-out time setting device and time-out time setting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059866A (en) * 2012-09-14 2014-04-03 Intel Corp Techniques for continuously delivering data while conserving energy
JP2017073655A (en) * 2015-10-07 2017-04-13 日本電信電話株式会社 Time-out time setting device and time-out time setting method

Similar Documents

Publication Publication Date Title
JP3734774B2 (en) Network facsimile apparatus and facsimile communication method
US9137396B2 (en) Facsimile apparatus that connects via session initiation protocol and control method therefor, as well as storage medium
JP2011049640A (en) Facsimile reception device, facsimile reception method, and facsimile reception program
JP4301249B2 (en) Communication terminal device and communication system
CN108012042B (en) Facsimile communication device, line disconnection determination method, and computer-readable recording medium storing program
JP4733724B2 (en) Communication terminal device and reception control method for communication terminal device
JP4157221B2 (en) Facsimile machine
JP2011114839A (en) Facsimile relaying device, method of relaying, and program
JP6180229B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
US7660023B2 (en) Facsimile apparatus
JP2009081594A (en) Facsimile machine
JP4448545B2 (en) Facsimile machine
JP2013165464A (en) Facsimile device and facsimile communication method
JP2007311997A (en) Communication device and communication method
JPH06133138A (en) Transmission control system for facsimile equipment
US20120207293A1 (en) Facsimile apparatus, control method therefor, and storage medium
JP4184940B2 (en) Facsimile machine
JP2001268114A (en) Internet facsimile equipment, control method therefor, internet facsimile transmitter and internet facsimile receiver
JPH10290351A (en) Communication terminal
JP2014171117A (en) Facsimile machine
JP4665909B2 (en) Facsimile device
JP2009017383A (en) Network facsimile device and communication method thereof
JP2008236508A (en) Image processor and image processing method
US20080088872A1 (en) Communication System, Communication Method, and Communication Terminal Device
JP2001036713A (en) Fax equipment and fax communication method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110818

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111115