JP2002190931A - Communication terminal device - Google Patents

Communication terminal device

Info

Publication number
JP2002190931A
JP2002190931A JP2000389623A JP2000389623A JP2002190931A JP 2002190931 A JP2002190931 A JP 2002190931A JP 2000389623 A JP2000389623 A JP 2000389623A JP 2000389623 A JP2000389623 A JP 2000389623A JP 2002190931 A JP2002190931 A JP 2002190931A
Authority
JP
Japan
Prior art keywords
value
eqm
modem
communication
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.)
Granted
Application number
JP2000389623A
Other languages
Japanese (ja)
Other versions
JP4161160B2 (en
Inventor
Naoto Kataoka
直人 片岡
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2000389623A priority Critical patent/JP4161160B2/en
Publication of JP2002190931A publication Critical patent/JP2002190931A/en
Application granted granted Critical
Publication of JP4161160B2 publication Critical patent/JP4161160B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication terminal device for accurately grasping the condition of a line. SOLUTION: Every time data that are received by a modem 17 are subjected to DMA transmission at a DMA section 18 in the case of TCF reception during a facsimile communication procedure, an EQM value is read from the modem 17 and an average value is calculated. Then, it is decided whether the average value is equal to or less than a threshold that is set to a threshold table 21 or not, thus deciding whether modem training by TCF is conforming or not. Since the average value of the EQM value does not vary due to a little noise, the condition of the line can be judged accurately.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファクシミリ通信
が可能な通信端末装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication terminal capable of performing facsimile communication.

【0002】[0002]

【従来の技術】ファクシミリ通信においては、その手順
の中でDISによって受信側の受信能力を送信側に通知
した後、送信側では受信側の受信能力及び送信側の送信
能力を考慮して通信速度を仮決定し、DCSにより受信
側に通知する。その後、送信側から受信側に対して仮決
定した通信速度でトレーニングチェック信号TCFを送
出し、受信側におけるモデムのトレーニング、すなわち
当該通信速度で受信可能か否かのチェックを行う。この
結果は送信側に通知され、受信側が当該通信速度で受信
可能であれば、その通信速度で通信を行うものと決定し
て、以後の画像伝送を行う。また、受信側が当該通信速
度で受信できない場合には、通信速度を落としたり、よ
り回線の状況に左右されにくい通信方式に切り替えてト
レーニングを行う。このようにして受信側が受信可能と
なるまでトレーニングを行う。このようなトレーニング
シーケンスによって、回線の状況が良好であれば、高速
な通信速度でも受信可能であるし、回線の状況が悪い場
合にはそのときの状況に応じた通信速度および通信方式
によって通信を行うことができる。
2. Description of the Related Art In facsimile communication, during a procedure, a receiving side notifies a receiving side of a receiving capability by a DIS in a procedure, and then the transmitting side considers the receiving capability of the receiving side and the transmitting capability of the transmitting side. Is provisionally determined and notified to the receiving side by DCS. Thereafter, a training check signal TCF is transmitted from the transmitting side to the receiving side at the provisionally determined communication speed, and the receiving side performs training of the modem, that is, checks whether reception is possible at the communication speed. This result is notified to the transmitting side, and if the receiving side can receive at the communication speed, it is determined that communication is to be performed at the communication speed, and subsequent image transmission is performed. If the receiving side cannot receive at the communication speed, the training is performed by reducing the communication speed or by switching to a communication system that is less affected by the line condition. In this way, the training is performed until the receiving side can receive. With such a training sequence, if the line condition is good, reception can be performed at a high communication speed. If the line condition is bad, communication can be performed at a communication speed and communication method according to the situation at that time. It can be carried out.

【0003】上述のトレーニングシーケンスで用いるT
CFは、1.5秒程度の間、連続する‘0’を送信側か
ら送信する。これを受信側で受信し、1秒以上、‘0’
を連続して受信できれば、その通信速度での通信が可能
であると判断していた。しかし、回線の状況は良好で
も、たまたま中間付近でノイズなどが混入し、‘0’と
ならなかったデータが1つでもあると、それだけでトレ
ーニングは失敗してしまう。そのため、回線の状況がほ
ぼ良好でも通信速度が低下してしまうという問題があっ
た。
[0003] T used in the above training sequence
The CF transmits a continuous “0” from the transmitting side for about 1.5 seconds. This is received by the receiving side, and it is '0' for more than 1 second.
It has been determined that communication at that communication speed is possible if the communication speed can be continuously received. However, even if the condition of the line is good, noise or the like happens to be mixed in the middle of the line, and if any data does not become “0”, the training fails by itself. For this reason, there has been a problem that the communication speed is reduced even when the line condition is almost good.

【0004】一方、一般にモデムには、EYEクォリテ
ィという値(以下、EQM値と呼ぶ)が出力されるよう
になっているものが多い。このEQM値は、一般にファ
クシミリ通信で用いられている差動位相変調や直交振幅
変調などにおいて、実数−虚数平面上に配置された信号
エレメントの基準位置と、実際の受信信号の位置とのず
れ量を示す値である。このEQM値が小さければ、伝送
品質が良好であることを示している。このEQM値によ
って回線の状況を把握することが可能である。しかし、
ファクシミリ通信においては上述のような判定方法を利
用しており、このEQM値が利用されることはなかっ
た。
On the other hand, many modems generally output a value called EYE quality (hereinafter referred to as an EQM value). This EQM value is a deviation amount between a reference position of a signal element arranged on a real-imaginary plane and an actual position of a received signal in differential phase modulation or quadrature amplitude modulation generally used in facsimile communication. Is a value that indicates If this EQM value is small, it indicates that the transmission quality is good. It is possible to grasp the status of the line from the EQM value. But,
In the facsimile communication, the above-described determination method is used, and the EQM value is not used.

【0005】[0005]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、回線の状況をより正確に把
握することが可能な通信端末装置を提供することを目的
とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a communication terminal device capable of more accurately grasping the status of a line. is there.

【0006】[0006]

【課題を解決するための手段】本発明は、ファクシミリ
通信が可能な通信端末装置において、データの変復調を
行うモデムと、該モデムを用いてファクシミリ通信を行
うとともにファクシミリ通信手順中のTCFデータ受信
時に所定時間毎に前記モデムから出力されるEQM値を
検出し予め設定された閾値と比較して回線の状況を判定
する制御手段を有することを特徴とするものである。こ
れによって、例えばほぼ良好な回線において1ないし数
回程度ノイズが混入したとしても、ほとんど影響なく、
回線の状況が良好であると判定することができ、回線の
状況をより正確に判断することができる。
SUMMARY OF THE INVENTION The present invention relates to a communication terminal capable of facsimile communication, a modem for modulating and demodulating data, a facsimile communication using the modem, and a method for receiving TCF data during a facsimile communication procedure. Control means for detecting an EQM value output from the modem at predetermined time intervals and comparing the detected value with a preset threshold value to determine the status of the line. Thus, for example, even if noise is mixed about once or several times in an almost good line, there is almost no effect,
The condition of the line can be determined to be good, and the condition of the line can be determined more accurately.

【0007】このような回線の状況の判定は、EQM値
を複数回検出してその平均値を算出し、平均値と前記閾
値を比較することによって、さらに正確な判断を行うこ
とができる。EQM値を複数回検出するために、モデム
によって受信したデータをメモリにDMA転送する際の
処理と連動してEQM値を検出するように構成すると、
別途プロセスを起動するなどの処理を必要とせずに、容
易に複数回のEQM値の検出を行うことができる。
[0007] Such a determination of the line status can be made more accurately by detecting the EQM value a plurality of times, calculating the average value, and comparing the average value with the threshold value. In order to detect the EQM value a plurality of times, the configuration is such that the EQM value is detected in conjunction with the process of DMA-transferring the data received by the modem to the memory.
It is possible to easily detect the EQM value a plurality of times without requiring a process such as separately starting a process.

【0008】また、従来より用いられている、受信した
TCFデータの0が所定データ数連続するか否かを加味
して回線の状況を判定することによって、より厳格な判
定を行うこともできる。
[0008] In addition, a more rigorous determination can be made by judging the state of the line in consideration of whether or not 0s of the received TCF data continue for a predetermined number of data, which is conventionally used.

【0009】なお、EQM値と比較する閾値は、通信速
度に応じて設定することが可能である。また、通信方式
も変更する場合には、通信方式および通信速度に応じて
閾値を設定することが可能である。これによって、通信
速度、さらには通信方式に応じた判断を行うことができ
る。
[0009] The threshold value to be compared with the EQM value can be set according to the communication speed. When the communication method is also changed, a threshold can be set according to the communication method and the communication speed. This makes it possible to make a determination according to the communication speed and further the communication method.

【0010】[0010]

【発明の実施の形態】図1は、本発明の通信端末装置の
実施の一形態を示すブロック図である。図中、11は主
制御部、12は表示部、13は操作部、14は読取部、
15は記録部、16はNCU、17はモデム、18はD
MA部、19は画像メモリ、20はRAM、21は閾値
テーブル、22はROM、23はバスである。
FIG. 1 is a block diagram showing an embodiment of a communication terminal device according to the present invention. In the figure, 11 is a main control unit, 12 is a display unit, 13 is an operation unit, 14 is a reading unit,
15 is a recording unit, 16 is an NCU, 17 is a modem, 18 is D
The MA unit, 19 is an image memory, 20 is a RAM, 21 is a threshold table, 22 is a ROM, and 23 is a bus.

【0011】主制御部11は、通信端末装置全体を制御
し、モデム17及びNCU16を介したファクシミリ通
信機能などを実現する。ファクシミリ受信時には所定の
通信手順に従って送信側とのデータの授受を行うが、こ
の中で、送信側から送られてくるTCFによるモデム1
7のトレーニング、すなわち、現在の回線状態で通信可
能な通信速度及び通信方式を決定する処理を行う。この
とき、従来より行われているように、TCFにより送ら
れてくる‘0’を1秒間連続して受信できたか否かを判
定することができる。また、モデム17から出力される
EQM値を取得して、所定の閾値と比較判定することが
できる。あるいは、モデム17から出力されるEQM値
を複数回取得して平均値を算出し、所定の閾値と比較判
定することができる。モデム17からEQM値を複数回
取得する場合、例えばモデム17で復調したデータをD
MA部18によってDMA転送する前後で行うことがで
きる。そして、現在の通信速度で十分受信できる場合に
はCFRを送信側に送出し、画データの受信に移る。現
在の通信速度では受信できないと判定した場合には、送
信側にFTTを送出し、通信速度を低下させ、あるいは
通信方式を変えて再びTCFによるモデム17のトレー
ニングを行うことになる。
The main control unit 11 controls the entire communication terminal device and implements a facsimile communication function and the like via the modem 17 and the NCU 16. At the time of facsimile reception, data transmission / reception is performed with the transmission side in accordance with a predetermined communication procedure.
7 is performed, that is, a process of determining a communication speed and a communication method that can communicate in the current line state is performed. At this time, it is possible to determine whether or not “0” sent by the TCF has been continuously received for one second as conventionally performed. Further, the EQM value output from the modem 17 can be obtained and compared with a predetermined threshold value. Alternatively, it is possible to acquire the EQM value output from the modem 17 a plurality of times, calculate the average value, and compare and determine the average value with a predetermined threshold value. When acquiring the EQM value from the modem 17 a plurality of times, for example,
This can be performed before and after the DMA transfer by the MA unit 18. Then, if the current communication speed allows sufficient reception, the CFR is transmitted to the transmission side, and the process proceeds to reception of image data. If it is determined that the reception cannot be performed at the current communication speed, the FTT is transmitted to the transmitting side to reduce the communication speed or change the communication method to perform the training of the modem 17 again by the TCF.

【0012】なお、EQM値あるいはEQM値の平均値
と比較する閾値は、通信速度や通信方式に応じて設定す
ることができる。また、その閾値を調整することによっ
て、厳しく判定するか、あるいは緩く判定するかを調節
することができる。厳しく判定すれば現在の通信速度で
の通信が困難であるとの判定が多くなり、より低速の通
信速度で通信を行うことになる。緩く判定すれば逆に現
在の通信速度での通信が行われることが多くなるが、エ
ラーなどによる再送によって高速な通信速度が相殺され
ることも多くなる。このような閾値は、例えばRAM2
0などにテーブルとして予め格納しておくことができ
る。
The threshold value to be compared with the EQM value or the average value of the EQM value can be set according to the communication speed and the communication system. Further, by adjusting the threshold value, it is possible to adjust whether the determination is strict or loose. If the determination is made strictly, the number of determinations that the communication at the current communication speed is difficult is increased, and the communication is performed at a lower communication speed. If the determination is made loosely, the communication at the current communication rate is likely to be performed more frequently. However, the high communication rate is often offset by retransmission due to an error or the like. Such a threshold value is determined, for example, by the RAM2
0 or the like can be stored in advance as a table.

【0013】表示部12は、利用者に対するメッセージ
や、装置の状態を示すメッセージ、操作ガイダンスな
ど、種々の情報を表示することができる。また操作部1
3は、利用者が各種の設定や指示を行うことができる。
このとき、表示部12を利用しながら行うことができ
る。例えば、モデムトレーニングにおいて、回線の状態
の判定を、TCFにより送られてきた‘0’の判定によ
り行うか否か、及び、EQM値により行うか否かを設定
可能に構成されていてもよい。
The display unit 12 can display various information such as a message to the user, a message indicating the state of the apparatus, and operation guidance. Operation unit 1
3 allows the user to make various settings and instructions.
At this time, it can be performed while using the display unit 12. For example, in modem training, it may be configured to be able to set whether to judge the state of the line based on the judgment of “0” sent by the TCF and whether to judge it based on the EQM value.

【0014】読取部14は、主制御部11による制御に
従い、送信すべき原稿上の画像を読み取る。読取部14
の構成は任意である。また、受信のみを行う場合や、送
信する画像を外部より受け取る場合には、この読取部1
4を設けずに構成することも可能である。記録部15
は、主制御部11の制御に従って、受信した画像、ある
いは読取部14で読み取った画像、さらには各種の設定
情報や管理情報、利用者に対するメッセージなどを記録
紙上に形成する。記録部15の記録方式も任意である。
また、例えば受信した画像を外部へ出力する構成などで
は、この記録部15を設けずに構成することも可能であ
る。
The reading section 14 reads an image on a document to be transmitted under the control of the main control section 11. Reading unit 14
Is arbitrary. Also, when performing only reception or receiving an image to be transmitted from outside, the reading unit 1
It is also possible to configure without providing 4. Recording unit 15
Forms a received image, an image read by the reading unit 14, various kinds of setting information and management information, a message for a user, and the like on a recording sheet under the control of the main control unit 11. The recording method of the recording unit 15 is also arbitrary.
Further, for example, in a configuration in which a received image is output to the outside, the configuration can be such that the recording unit 15 is not provided.

【0015】NCU16及びモデム17は、例えば公衆
回線や専用線などを介して、通信相手先の機器との通信
を行う。NCU16は、回線などの制御を行う。また、
モデム17は、送受信する画像データの変復調を行う。
データの受信時には、モデム17は要求に応じてEQM
値を出力する機能を有している。
The NCU 16 and the modem 17 communicate with a communication partner device via, for example, a public line or a dedicated line. The NCU 16 controls a line and the like. Also,
The modem 17 modulates and demodulates image data to be transmitted and received.
When receiving data, the modem 17 sends an EQM
It has a function to output a value.

【0016】DMA部18は、画像メモリ19やRAM
20と、モデム17、読取部14,記録部15間のデー
タ転送をDMAにより行う。例えばTCF受信時のデー
タ転送や、その後の画データの転送などを行う。転送量
などの設定は主制御部11によって行われる。もちろ
ん、DMA部18を設けない構成もあり得る。
The DMA unit 18 includes an image memory 19 and a RAM.
Data transfer between the modem 20, the modem 17, the reading unit 14, and the recording unit 15 is performed by DMA. For example, data transfer at the time of receiving a TCF and subsequent transfer of image data are performed. The setting of the transfer amount and the like is performed by the main control unit 11. Of course, there may be a configuration in which the DMA unit 18 is not provided.

【0017】画像メモリ19は、送信する画像や受信し
た画像、読取部14で読み取った画像、その他処理中の
画像等を記憶することができる。画像メモリ19に画像
を格納する際には、圧縮された状態で格納するとよい。
The image memory 19 can store an image to be transmitted or received, an image read by the reading unit 14, an image being processed, and the like. When storing an image in the image memory 19, the image may be stored in a compressed state.

【0018】RAM20は、主制御部11や他の各部の
処理においてデータの保存が必要なときに用いられる。
TCF受信時のデータは、このRAM20あるいは画像
メモリ19に転送することができる。またRAM20に
は、主制御11部においてEQM値またはEQM値の平
均値と比較する閾値を格納した閾値テーブル21を保持
している。図2は、閾値テーブルの一例の説明図であ
る。図2に示した閾値テーブル21では、通信速度や通
信方式、それに判定の厳しさに応じて、EQM値または
EQM値の平均値と比較する閾値を保持可能な例を示し
ている。図2に示す例では、判定の厳しさを5段階のレ
ベルで示し、各通信方式および通信速度に応じてそれぞ
れのレベルにおける閾値を設定している。もちろん、レ
ベル分けの段階数は任意であり、レベルを設けなくても
よい。閾値は、通信速度が高速なほど、また判定が厳し
いレベルほど小さい値として、位相ずれなどに対して厳
しい判定が行われるように設定するとよい。この閾値テ
ーブル21は、RAM20のうち、電源が切断されても
データを保持できる領域に格納しておくとよい。
The RAM 20 is used when it is necessary to store data in the processing of the main control unit 11 and other units.
The data at the time of receiving the TCF can be transferred to the RAM 20 or the image memory 19. Further, the RAM 20 holds a threshold table 21 in which a threshold value to be compared with the EQM value or the average value of the EQM value in the main control unit 11 is stored. FIG. 2 is an explanatory diagram of an example of the threshold table. The threshold table 21 shown in FIG. 2 shows an example in which a threshold value to be compared with the EQM value or the average value of the EQM value can be stored according to the communication speed, the communication method, and the severity of the determination. In the example shown in FIG. 2, the severity of the determination is shown at five levels, and the threshold value at each level is set according to each communication method and communication speed. Of course, the number of levels is arbitrary, and levels need not be provided. The threshold value may be set to a smaller value as the communication speed becomes higher and the determination level becomes stricter so that stricter determination is performed with respect to phase shift and the like. The threshold table 21 may be stored in an area of the RAM 20 that can hold data even when the power is turned off.

【0019】ROM22は、主制御部11の動作を規定
したプログラムや、固定的なデータなどが格納されてい
る。上述の閾値テーブル21は、このROM22に格納
しておいてもよい。また、調整が必要な場合にはROM
22のうち、書き換え可能な領域に格納しておくことも
できる。
The ROM 22 stores a program that defines the operation of the main controller 11, fixed data, and the like. The above-described threshold table 21 may be stored in the ROM 22. Also, if adjustment is required,
Among them, it can be stored in a rewritable area.

【0020】バス23は、主制御部11、表示部12、
操作部13、読取部14、記録部15、NCU16、モ
デム17、DMA部18、画像メモリ19、RAM2
0、ROM22等を相互に接続しており、これらの間の
データ転送を可能にしている。これらのほか、各種の機
器がバス23に接続されていてもよい。また、例えばバ
ス23にインタフェースを接続し、そのインタフェース
を介してコンピュータやプリンタなどの外部機器やLA
N等と接続されていてもよい。
The bus 23 includes a main control unit 11, a display unit 12,
Operation unit 13, reading unit 14, recording unit 15, NCU 16, modem 17, DMA unit 18, image memory 19, RAM2
0, ROM 22 and the like are connected to each other to enable data transfer between them. In addition to these, various devices may be connected to the bus 23. Also, for example, an interface is connected to the bus 23, and external devices such as a computer and a printer or LA through the interface.
N or the like.

【0021】次に、本発明の通信端末装置の実施の一形
態における動作の一例について説明する。本発明の通信
端末装置の実施の一形態においては、ファクシミリ受信
時のモデムトレーニングの処理に特徴があるので、その
処理について説明することとし、他の処理については省
略する。図3、図4は、本発明の通信端末装置の実施の
一形態における画像受信時のモデムトレーニング動作の
一例を示すフローチャートである。ファクシミリ受信時
には、受信能力をDISによって送信側に通知した後、
送信側からDCSによって通信速度などを含む通信条件
が指示される。これに従って、S31においてモデム1
7の設定を行う。
Next, an example of the operation of the communication terminal device according to the embodiment of the present invention will be described. In one embodiment of the communication terminal device according to the present invention, the process of the modem training at the time of facsimile reception has a feature. Therefore, the process will be described, and other processes will be omitted. FIGS. 3 and 4 are flowcharts showing an example of a modem training operation at the time of image reception in the embodiment of the communication terminal device of the present invention. At the time of facsimile reception, after notifying the receiving side to the transmitting side by DIS,
Communication conditions including a communication speed and the like are instructed by the DCS from the transmission side. Accordingly, in S31, the modem 1
7 is set.

【0022】S32においてTCFを受信する前のデー
タ前トレーニング信号を受信する際のタイムアウト時間
である3秒タイマを起動する。そしてS33においてデ
ータ前トレーニング信号が正常に送られてきたか否かを
判定する。データ前トレーニング信号の正常受信が確認
されなければ、S34において3秒が経過したか否かを
判定し、3秒以内であればS33に戻る。3秒の間にデ
ータ前トレーニング信号の正常受信が確認されれば、S
35以降のTCFの受信処理に移る。また、3秒の間に
データ前トレーニング信号の正常受信が確認されなけれ
ば、TCFのデータを調べることなく、S52において
TCFによるモデムトレーニングに失敗したと判定す
る。
In step S32, a three-second timer, which is a timeout period for receiving the pre-data training signal before receiving the TCF, is started. Then, in S33, it is determined whether or not the pre-data training signal has been transmitted normally. If normal reception of the pre-data training signal is not confirmed, it is determined whether or not 3 seconds have elapsed in S34, and if within 3 seconds, the process returns to S33. If normal reception of the pre-data training signal is confirmed within 3 seconds, S
The processing shifts to the receiving process of the TCF 35 and thereafter. If normal reception of the pre-data training signal is not confirmed within three seconds, it is determined that modem training by the TCF has failed in S52 without checking the data of the TCF.

【0023】データ前トレーニング信号の正常受信が確
認された後、TCFの受信のための各種の初期化を行
う。まずS35において、TCFの受信および判定時間
を規定する2秒タイマを起動する。またS36におい
て、TCFにおけるEQM値の平均値を取得するための
時間として、1秒タイマを起動する。この時間は、連続
した‘0’を受信する時間でもある。なお、S35とS
36はいずれが先でもよい。もちろん、同時に設定でき
ることが望ましい。
After normal reception of the pre-data training signal is confirmed, various initializations for receiving the TCF are performed. First, in S35, a two-second timer that specifies the TCF reception and determination time is started. In S36, a one-second timer is started as a time for acquiring the average value of the EQM value in the TCF. This time is also the time for receiving consecutive '0's. S35 and S
36 may be any of them. Of course, it is desirable to be able to set simultaneously.

【0024】また、S37においてEQM値の平均値を
示すEQM平均値の値を0に、S38においてEQM値
の判定結果を示すEQM値チェックステータスをNGに
初期化しておく。さらにS39において、1秒以上の連
続した‘0’を検出したか否かを示すデータチェックス
テータスをNGに初期化しておく。
In step S37, the average EQM value indicating the average value of the EQM value is initialized to 0, and in step S38, the EQM value check status indicating the determination result of the EQM value is initialized to NG. Further, in S39, a data check status indicating whether or not continuous'0's for one second or longer has been detected is initialized to NG.

【0025】さらにS40において、EQM値を取得し
て順次平均値を計算するための割り込み処理を動作可能
にする。この割り込み処理については後述する。そして
S41において、S36で起動した1秒タイマによって
1秒の経過を待つ。この間に、モデム17はTCFを受
信するとともに、受信時のEQM値を出力している。モ
デム17で受信したTCFのデータは、DMA部18に
よってRAM20あるいは画像メモリ19にDMA転送
されるが、例えばDMA転送の終了を割り込みに利用
し、割り込み処理を起動してモデム17からEQM値を
取得し、平均値を算出することができる。
Further, in step S40, an interrupt process for acquiring the EQM value and sequentially calculating the average value is enabled. This interrupt processing will be described later. Then, in S41, the elapse of one second is waited for by the one-second timer started in S36. During this time, the modem 17 receives the TCF and outputs the EQM value at the time of reception. The TCF data received by the modem 17 is DMA-transferred by the DMA unit 18 to the RAM 20 or the image memory 19. For example, the end of the DMA transfer is used as an interrupt, an interrupt process is started, and the EQM value is obtained from the modem 17. Then, an average value can be calculated.

【0026】図5は、割込処理の一例を示すフローチャ
ートである。S61においてモデム17からEQM値を
読み出す。S62において、EQM平均値を調べ、0で
あれば最初のEQM値の読み出しであるので、S63に
おいてS61で読み出したEQM値をEQM平均値とし
て設定する。また、S62でEQM平均値が0でなけれ
ば、S64において、EQM平均値と読み出したEQM
値を加算し、2で除して新たなEQM平均値とする。
FIG. 5 is a flowchart showing an example of the interrupt processing. In S61, the EQM value is read from the modem 17. In step S62, the average EQM value is checked. If the value is 0, the first EQM value is read. Therefore, in step S63, the EQM value read in step S61 is set as the average EQM value. If the average of the EQM is not 0 in S62, the average of the EQM and the
The value is added and divided by 2 to obtain a new EQM average value.

【0027】このように、割込処理によってモデム17
からEQM値を読み出す毎に平均値を算出してゆく。こ
の処理を繰り返すことによって、EQM値は平均化さ
れ、例えばノイズなどで1ないし数回、EQM値が大き
く変動しても、その変動に左右されない値としてEQM
平均値が得られる。
As described above, the modem 17 is controlled by the interrupt processing.
The average value is calculated each time the EQM value is read from the. By repeating this process, the EQM value is averaged, and even if the EQM value greatly fluctuates once or several times due to, for example, noise, the EQM value is set as a value that is not affected by the fluctuation.
An average value is obtained.

【0028】なお、この例では1秒間におけるEQM値
の平均値を求めており、サンプル数は通信速度によら
ず、ほぼ均一であることが望ましい。そのため、DMA
部18によるデータ転送が等間隔で発生するように、D
MAによって転送するデータ量やDMA部18の起動間
隔などを通信速度に応じて設定しておくとよい。また、
サンプル数の相違によるばらつきは、通信速度に応じて
閾値を変更することによっても調整可能である。
In this example, the average of the EQM values for one second is obtained, and it is desirable that the number of samples be substantially uniform regardless of the communication speed. Therefore, DMA
In order for the data transfer by the unit 18 to occur at equal intervals,
The amount of data to be transferred by the MA, the activation interval of the DMA unit 18, and the like may be set according to the communication speed. Also,
Variations due to differences in the number of samples can also be adjusted by changing the threshold according to the communication speed.

【0029】図3,図4に戻り、1秒が経過したら、S
42において割り込み処理の動作を停止させ、S43に
おいてEQM平均値と所定の閾値とを比較する。閾値
は、現在の通信速度や通信方式などに応じて閾値テーブ
ル21から取得する。なお、閾値テーブル21が図2に
示すようなものである場合には、現在の通信速度や通信
方式とともに、予め設定されている判定の厳しさを示す
レベルに応じた閾値を取得し、EQM値の平均値と比較
する。比較の結果、EQM平均値が閾値以内であれば、
EQM平均値を用いた判定では当該通信速度(および通
信方式)での通信が可能であるものと判断し、S44に
おいてEQM値チェックステータスをOKにする。な
お、EQM平均値が閾値を超える場合には、S44をス
キップしEQM値チェックステータスはNGのままとす
る。
Returning to FIGS. 3 and 4, after one second has passed, S
At step 42, the operation of the interrupt processing is stopped, and at step S43, the EQM average value is compared with a predetermined threshold value. The threshold is obtained from the threshold table 21 according to the current communication speed, communication method, and the like. When the threshold table 21 is as shown in FIG. 2, a threshold corresponding to a preset level indicating the severity of the determination is acquired along with the current communication speed and communication method, and the EQM value is obtained. Compare with the average value of As a result of the comparison, if the EQM average value is within the threshold,
In the determination using the EQM average value, it is determined that communication at the communication speed (and the communication method) is possible, and the EQM value check status is set to OK in S44. If the EQM average value exceeds the threshold, S44 is skipped and the EQM value check status remains NG.

【0030】次にS45において、これまでの1秒間に
受信したTCFのデータをチェックし、すべて‘0’の
データであったか否かを判定する。この判定は、従来よ
り行われているTCFの判定方法である。データチェッ
クがOK、すなわち1秒間に受信したTCFのデータが
すべて‘0’であれば、データチェックによる判定では
当該通信速度(および通信方式)での通信が可能である
ものと判断し、S46においてデータチェックステータ
スをOKにする。なお、1秒間に受信したデータの中に
‘1’が含まれていれば、この時点では判定を継続する
ものとしてS46をスキップし、データチェックステー
タスはNGのままとする。
Next, in S45, the data of the TCF received during the past one second is checked to determine whether or not the data is all "0". This determination is a conventional TCF determination method. If the data check is OK, that is, if the data of the TCF received in one second is all “0”, it is determined in the determination by the data check that communication at the communication speed (and communication method) is possible, and in S46 Set the data check status to OK. If '1' is included in the data received for one second, the determination is continued at this point, S46 is skipped, and the data check status remains NG.

【0031】S47において、TCFの受信データが存
在するか否かを判定し、またS48において2秒が経過
したか否かを判定する。さらにS49において、データ
チェックステータスがOKか否かを判定し、データチェ
ックステータスがNGのままである場合には、TCFの
受信データがあり、2秒経過するまでであれば、S45
におけるデータチェックを繰り返して行うことになる。
これによって、判定時点までの1秒間のTCFのデータ
による判定を行うことができる。なお、データチェック
ステータスがOKとなった後は、TCFの受信データが
なくなるか、あるいは2秒が経過するまでS47〜S4
9のループにより待つことになる。
In S47, it is determined whether or not the received data of the TCF exists, and in S48, it is determined whether two seconds have elapsed. Further, in S49, it is determined whether or not the data check status is OK. If the data check status remains NG, there is received data of the TCF.
Is repeatedly performed.
This makes it possible to make a determination based on the TCF data for one second up to the determination time. After the data check status becomes OK, S47 to S4 until TCF reception data is exhausted or two seconds elapse.
9 will wait.

【0032】S50において、データチェックの結果を
利用する設定か否かを判定し、利用する設定であればS
51においてデータチェックステータスを判定する。デ
ータチェックステータスがNGであれば、S52におい
てTCFによるモデムトレーニングに失敗したと判定す
る。なお、データチェックの結果を利用しない設定の場
合には、データチェックステータスの判定を行わず、次
のEQM値のチェックに移る。
In S50, it is determined whether or not the setting is to use the result of the data check.
At 51, the data check status is determined. If the data check status is NG, it is determined in S52 that modem training by the TCF has failed. If the setting does not use the result of the data check, the process proceeds to the next EQM value check without determining the data check status.

【0033】またS53において、EQM値のチェック
結果を利用する設定か否かを判定し、利用する設定であ
ればS54においてEQM値チェックステータスを判定
する。EQM値チェックステータスがNGであれば、S
52においてTCFによるモデムトレーニングに失敗し
たと判定する。EQM値チェックステータスがOKであ
れば、S55において、TCFによるモデムのトレーニ
ングに成功したと判定する。なお、EQM値のチェック
結果を利用しない設定の場合には、EQM値チェックス
テータスの判定を行わず、S55においてTCFによる
モデムのトレーニングに成功したと判定する。
In S53, it is determined whether or not the setting uses the check result of the EQM value. If the setting is to be used, the status of the EQM value check is determined in S54. If the EQM value check status is NG, S
At 52, it is determined that the modem training by the TCF has failed. If the EQM value check status is OK, it is determined in S55 that the training of the modem by the TCF has been successful. If the setting does not use the check result of the EQM value, the EQM value check status is not determined, and it is determined in S55 that the training of the modem by the TCF is successful.

【0034】このように、EQM値の平均値を利用して
モデムトレーニングの成否を判定することができるの
で、例えば回線の状況が良好で、たまたまノイズなどの
影響で1秒間のTCFのデータに‘1’が含まれてしま
うようなケースでも、モデムトレーニングを成功とし
て、より高速な通信速度による画像伝送を行うことがで
きるようになる。また、EQM値の平均値とともに従来
より行われているデータチェックも用いてモデムトレー
ニングの成否判定することもでき、これによってさらに
厳格な回線の判定を行うことができる。
As described above, it is possible to determine the success or failure of the modem training by using the average value of the EQM value. Therefore, for example, the line condition is good, and the TCF data for one second happens to be affected by noise or the like. Even in the case where “1 ′” is included, it is possible to perform image transmission at a higher communication speed with successful modem training. In addition, the success or failure of the modem training can be determined by using the data check that has been conventionally performed together with the average value of the EQM value, thereby making it possible to determine the line more strictly.

【0035】なお、データチェックの結果を利用するか
否かの設定とEQM値のチェック結果を利用するか否か
の設定は、少なくともいずれか一方を利用する設定とな
っている必要がある。もちろん、両方を利用するように
設定してもよい。
The setting of whether or not to use the result of the data check and the setting of whether or not to use the check result of the EQM value must be set to use at least one of them. Of course, it may be set to use both.

【0036】また、上述の動作の一例では、EQM平均
値の算出を1秒間としているが、これに限られるもので
はなく、TCFのデータが転送されている間であれば任
意に時間やサンプリング回数などを設定することが可能
である。さらに、平均のほかにも、さらに分散を考慮す
るなど、他の統計的手法を用いてもよい。もちろん、E
QM値を平均化せず、そのまま用いて閾値と比較するこ
とも可能である。
In the above-described example of the operation, the calculation of the EQM average value is one second. However, the present invention is not limited to this. Etc. can be set. Further, other statistical methods may be used in addition to the average, such as further considering the variance. Of course E
It is also possible to compare the QM value with a threshold value without averaging the QM value.

【0037】さらに、上述の例ではDMA転送をトリガ
としてEQM値の読み出しを行っているが、これに限ら
れるものではなく、例えばタイマなどによって定期的に
割り込む構成など、他の構成であってもよい。しかし別
の処理によってEQM値の読み出しなどの処理を行う
と、全体としての処理が複雑となるため、上述のように
DMA転送時にEQM値の読み出しなどの処理を行うこ
とによって全体の処理を簡単化することができる。
Further, in the above-described example, the EQM value is read by using the DMA transfer as a trigger. However, the present invention is not limited to this. Good. However, if processing such as reading of the EQM value is performed by another processing, the processing as a whole becomes complicated. Therefore, the processing such as reading of the EQM value at the time of DMA transfer is simplified as described above. can do.

【0038】[0038]

【発明の効果】以上の説明から明らかなように、本発明
によれば、モデムから出力されるEQM値、さらにはE
QM値の平均値を用いてモデムトレーニングの合否を判
定するので、たまたま混入したノイズによってモデムト
レーニングが失敗して通信速度が低下するといったこと
がなくなり、より正確な回線の評価を行うことができ
る。もちろん、従来から行われているTCFの‘0’デ
ータの検出を併用することによって、より厳格な回線の
評価を行うことができる。また、EQM値またはEQM
値の平均値を判定するために用いる閾値は、通信速度や
通信方式、さらには判定の厳しさなどに応じて設定する
ことができ、評価をきめ細かく行うことができる。本発
明によれば、このように種々の効果を奏するものであ
る。
As is clear from the above description, according to the present invention, the EQM value output from the modem,
Since the pass / fail of the modem training is determined by using the average value of the QM value, the modem training does not fail due to the noise which happens to be mixed and the communication speed is not reduced, and more accurate line evaluation can be performed. Needless to say, a more strict evaluation of the line can be performed by using the conventional detection of "0" data of the TCF. Also, the EQM value or EQM
The threshold value used to determine the average value can be set according to the communication speed, the communication method, the severity of the determination, and the like, and the evaluation can be performed finely. According to the present invention, various effects are obtained as described above.

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

【図1】本発明の通信端末装置の実施の一形態を示すブ
ロック図である。
FIG. 1 is a block diagram showing one embodiment of a communication terminal device of the present invention.

【図2】閾値テーブルの一例の説明図である。FIG. 2 is an explanatory diagram of an example of a threshold table.

【図3】本発明の通信端末装置の実施の一形態における
画像受信時のモデムトレーニング動作の一例を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an example of a modem training operation at the time of image reception in the embodiment of the communication terminal device of the present invention.

【図4】本発明の通信端末装置の実施の一形態における
画像受信時のモデムトレーニング動作の一例を示すフロ
ーチャート(続き)である。
FIG. 4 is a flowchart (continued) illustrating an example of a modem training operation at the time of image reception in the embodiment of the communication terminal device of the present invention.

【図5】割込処理の一例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of an interrupt process.

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

11…主制御部、12…表示部、13…操作部、14…
読取部、15…記録部、16…NCU、17…モデム、
18…DMA部、19…画像メモリ、20…RAM、2
1…閾値テーブル、22…ROM、23…バス。
11: Main control unit, 12: Display unit, 13: Operation unit, 14 ...
Reading unit, 15: recording unit, 16: NCU, 17: modem,
18 DMA unit, 19 image memory, 20 RAM, 2
1. Threshold table, 22 ROM, 23 bus.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ファクシミリ通信が可能な通信端末装置
において、データの変復調を行うモデムと、該モデムを
用いてファクシミリ通信を行うとともにファクシミリ通
信手順中のTCFデータ受信時に所定時間毎に前記モデ
ムから出力されるEQM値を検出し予め設定された閾値
と比較して回線の状況を判定する制御手段を有すること
を特徴とする通信端末装置。
1. A communication terminal device capable of facsimile communication, comprising: a modem for modulating and demodulating data; a facsimile communication using the modem; and output from the modem at predetermined time intervals when receiving TCF data during a facsimile communication procedure. A communication terminal device comprising: a control unit that detects an EQM value to be performed and compares the detected EQM value with a preset threshold value to determine a line status.
【請求項2】 前記制御手段は、前記モデムからEQM
値を複数回検出してその平均値を算出し、該平均値と前
記閾値を比較することを特徴とする請求項1に記載の通
信端末装置。
2. The control means according to claim 1, wherein
The communication terminal device according to claim 1, wherein the communication terminal device detects the value a plurality of times, calculates an average value thereof, and compares the average value with the threshold value.
【請求項3】 前記制御手段は、さらに、受信したTC
Fデータの0が所定データ数連続するか否かを加味して
前記回線の状況を判定することを特徴とする請求項1ま
たは請求項2に記載の通信端末装置。
3. The control means further comprises:
3. The communication terminal device according to claim 1, wherein the status of the line is determined in consideration of whether or not 0 of the F data continues for a predetermined number of data.
【請求項4】 前記閾値は、通信速度に応じて設定され
ることを特徴とする請求項1ないし請求項3のいずれか
1項に記載の通信端末装置。
4. The communication terminal device according to claim 1, wherein the threshold value is set according to a communication speed.
JP2000389623A 2000-12-21 2000-12-21 Communication terminal device Expired - Fee Related JP4161160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000389623A JP4161160B2 (en) 2000-12-21 2000-12-21 Communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000389623A JP4161160B2 (en) 2000-12-21 2000-12-21 Communication terminal device

Publications (2)

Publication Number Publication Date
JP2002190931A true JP2002190931A (en) 2002-07-05
JP4161160B2 JP4161160B2 (en) 2008-10-08

Family

ID=18856133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000389623A Expired - Fee Related JP4161160B2 (en) 2000-12-21 2000-12-21 Communication terminal device

Country Status (1)

Country Link
JP (1) JP4161160B2 (en)

Also Published As

Publication number Publication date
JP4161160B2 (en) 2008-10-08

Similar Documents

Publication Publication Date Title
EP0788274A2 (en) Facsimile apparatus having v.8 protocol facility and facsimile communication method
JP2002190931A (en) Communication terminal device
EP1396784A2 (en) Printing apparatus and method
CN111313991B (en) Method, device and system for determining signal-to-noise ratio of communication main system
US7903276B2 (en) Communicating apparatus and program
US6311233B1 (en) Communication system using a modem with a mode in which data receiving operation is shifted to control signal communication upon detecting a momentary disconnection
JP4066863B2 (en) Data transmission system, terminal device and program
JPH1188632A (en) Communication equipment
JP3526099B2 (en) G3 protocol measurement device
JPH06125442A (en) Data transmission speed selecting device
JP3479841B2 (en) Uplink modulation agile method and uplink modulation agile circuit for communication device
KR100217740B1 (en) Method for automatically controlling data transmission velocity in facsimile
JPH04331566A (en) Facsimile equipment
JPH01191524A (en) Correction system for line distortion
JPH10248006A (en) Communication equipment
JPH11150580A (en) Communication equipment and communication method
JP3943150B2 (en) G3 protocol measuring device
KR100620382B1 (en) Communication apparatus and communication method
JPH1142835A (en) Image forming apparatus
JPH10191014A (en) Facsimile equipment
JPH0865436A (en) G3 protocol measurement device
JP2000004346A (en) Facsimile equipment
JPH0453334A (en) Modulator-demodulator
JPH08172466A (en) Facsimile equipment
JPH10308793A (en) Method and device for setting baud rate

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080530

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080708

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

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120801

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130801

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees