JP3440046B2 - Modulation / demodulation device, image communication device, and image communication method - Google Patents

Modulation / demodulation device, image communication device, and image communication method

Info

Publication number
JP3440046B2
JP3440046B2 JP2000021661A JP2000021661A JP3440046B2 JP 3440046 B2 JP3440046 B2 JP 3440046B2 JP 2000021661 A JP2000021661 A JP 2000021661A JP 2000021661 A JP2000021661 A JP 2000021661A JP 3440046 B2 JP3440046 B2 JP 3440046B2
Authority
JP
Japan
Prior art keywords
mode
dte
modem
operation mode
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.)
Expired - Lifetime
Application number
JP2000021661A
Other languages
Japanese (ja)
Other versions
JP2000324197A (en
Inventor
幹男 水谷
伸彦 野間
英三 片山
元三 高木
好博 野口
光弘 荒木
Original Assignee
パナソニック コミュニケーションズ株式会社
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 パナソニック コミュニケーションズ株式会社 filed Critical パナソニック コミュニケーションズ株式会社
Priority to JP2000021661A priority Critical patent/JP3440046B2/en
Publication of JP2000324197A publication Critical patent/JP2000324197A/en
Application granted granted Critical
Publication of JP3440046B2 publication Critical patent/JP3440046B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、電話回線などを
通じてコンピュータやファクシミリ装置などのデータ端
末装置(以下DTEと記す)間でデータを通信するため
の変復調装置(以下モデムと記す)に関し、特に、複数
種類の変調方式を適宜選択して動作するモデムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a modulation / demodulation device (hereinafter referred to as a modem) for communicating data between data terminal devices (hereinafter referred to as DTE) such as a computer and a facsimile device through a telephone line or the like, and particularly, The present invention relates to a modem that operates by appropriately selecting a plurality of types of modulation schemes.

【0002】[0002]

【従来の技術】よく知られているように、モデム(変復
調装置)の変調の方式には「周波数変調」「4相差動位
相変調」「直交振幅変調」「位相振幅変調」などがあ
り、通信速度によって異なる変調方式が用いられる。最
近の多くのモデム、例えばFAX(DTEであるファク
シミリ装置)に内蔵されるモデムはそのプロトコルに依
存して変復調モードおよび速度を切り替えるように構成
されており、そのモード切り替えのタイミングを送受信
間で同期することが、通信の信頼性の面で極めて重要で
ある。従来は、モデムのホスト装置であるDTE(デー
タ端末装置)がモデムの動作モードを選択し、モデムは
その指示に従って動作モードを切り替える構成になって
いた。[図24に例示した従来技術の構成]代表的な従
来技術を図面を用いて説明する。図24は従来技術のD
TEとモデムのインタフェースを示すブロック図であ
る。図25はこのインタフェースを用いたITU−T勧
告V.34規格以前のモデム制御シーケンス例であり、
図26はこのインタフェースを用いてV.34規格のモ
デムを制御するシーケンス例である。なおITU−Tは
国際電気通信連合−電気通信標準化部門であり、旧CC
ITTのことである。
2. Description of the Related Art As is well known, there are "frequency modulation", "four-phase differential phase modulation", "quadrature amplitude modulation", "phase amplitude modulation", etc. as a modulation method of a modem (modulator / demodulator). Different modulation schemes are used depending on the speed. Many modern modems, for example, a modem incorporated in a FAX (facsimile device which is a DTE) is configured to switch the modulation / demodulation mode and speed depending on the protocol, and the timing of the mode switching is synchronized between transmission and reception. Is extremely important in terms of communication reliability. Conventionally, the DTE (data terminal device) which is the host device of the modem selects the operation mode of the modem, and the modem is configured to switch the operation mode according to the instruction. [Configuration of Prior Art Illustrated in FIG. 24] A typical conventional technique will be described with reference to the drawings. FIG. 24 shows a prior art D
It is a block diagram which shows the interface of TE and a modem. FIG. 25 shows the ITU-T Recommendation V.3 using this interface. It is an example of a modem control sequence before the 34 standard,
FIG. 26 shows V.3 using this interface. It is an example of a sequence for controlling a 34 standard modem. ITU-T is the International Telecommunication Union-Telecommunication Standardization Division,
It is ITT.

【0003】図24において、DTE(データ端末装
置)011はモデム(変復調装置)013とバス019
を通して結合されている。DTE内部のCPU012
は、モデム内部の送信データレジスタ016と受信デー
タレジスタ017をREAD/WRITEすることによ
り、送受信データの内容を知る。またCPU012は、
状態表示レジスタ015をREADすることでモデムの
動作状態を認知し、モデムのモード切り替えは、モード
レジスタ014にモード番号をWRITEすることでモ
デムの動作モードを切り替える。モデム内部の変復調動
作を実行する変復調部018は、モードレジスタ014
の指示に従って動作し、その逐次の動作状態を状態表示
レジスタ015を通してDTEに伝える。[図24に例
示した従来技術の動作]まずV.34規格以前のFAX
用のモデムの動作について図25のタイミングチャート
に従って説明する。V.34以前のFAX用モデムは全
て半二重通信で使用するモデムであり、送受信双方から
同時に波形が送出されるタイミングはなく、どちらか一
方しか波形を送出できない。そのためにT.30規格の
ようなプロトコルで信号送出の順番が規定されている。
In FIG. 24, a DTE (data terminal equipment) 011 is a modem (modulation / demodulation equipment) 013 and a bus 019.
Are connected through. CPU012 inside DTE
Knows the contents of transmitted / received data by READ / WRITE the transmission data register 016 and the reception data register 017 inside the modem. Further, the CPU 012
By reading the state display register 015, the operation state of the modem is recognized, and the mode switching of the modem is performed by writing the mode number to the mode register 014. The modulation / demodulation unit 018, which executes the modulation / demodulation operation inside the modem, uses the mode register 014.
, And transmits the sequential operating state to the DTE through the state display register 015. [Operation of Prior Art Illustrated in FIG. 24] FAX before 34 standard
The operation of the mobile modem will be described with reference to the timing chart of FIG. V. All fax modems before 34 are modems used in half-duplex communication, and there is no timing at which waveforms are simultaneously transmitted from both the transmitting and receiving sides, and only one of them can transmit the waveform. Therefore, T. The order of signal transmission is defined by a protocol such as the 30 standard.

【0004】図25は前モードが受信の場合で、その受
信データの内容を判断して次モードが送信に切り替わる
タイミングをあらわしている。そのときDTEは受信デ
ータを判断してモード切り替え指示をモデムに命令する
のだが、どうしてもDTEのソフトウエア処理時間が遅
れ要因となり、受信信号の終了と送信信号の先頭との間
に信号間ギャップが発生する。ただし半二重通信の場合
はこの信号間ギャップがどれほど長くなっても、通信不
可の要因とはならない。
FIG. 25 shows the timing when the previous mode is reception and the content of the received data is judged and the next mode is switched to transmission. At that time, the DTE judges the received data and instructs the mode switching instruction to the modem. However, the software processing time of the DTE causes a delay factor, and an inter-signal gap occurs between the end of the received signal and the beginning of the transmitted signal. Occur. However, in the case of half-duplex communication, no matter how long the gap between signals becomes, it does not cause communication failure.

【0005】ところがV.34規格の場合は、制御チャ
ンネル通信時に限り同時に双方から信号を送出する全二
重モードでデータをやりとりする。図26はV.34規
格でのモード切り替えタイミングの1例を示したもので
ある。前モードが制御チャンネルの全二重モードの受信
で終了し、次モードが主チャンネルの受信となる場合で
ある。この場合も、制御チャンネルのデータをDTEが
判断したうえで、モード切り替え指示をだすことにな
る。
However, V. In the case of the 34 standard, data is exchanged in the full-duplex mode in which signals are simultaneously sent from both sides only during control channel communication. FIG. 34 shows an example of mode switching timing in the 34 standard. This is the case where the previous mode ends with reception of the control channel in full-duplex mode and the next mode becomes reception of the main channel. In this case as well, the DTE determines the data of the control channel and then issues the mode switching instruction.

【0006】[0006]

【発明が解決しようとする課題】前述の従来技術の構成
では、図26におけるモードの切り替えはDTE側の指
示にそのタイミングが依存するため、DTE側での送受
信データ処理に時間を消費した場合は、次モードの信号
受信に切り替わるのが遅れて正常に受信できないという
問題が発生していた。特にモデムの速度が向上すると、
時間当たりの処理量が増加し、ますますこの問題が発生
しやすくなる。
In the configuration of the above-mentioned prior art, since the timing of mode switching in FIG. 26 depends on the instruction from the DTE side, when the transmission / reception data processing on the DTE side consumes time. However, there was a problem that the signal reception in the next mode was delayed and could not be received normally. Especially when the speed of the modem improves,
The amount of processing per hour increases, and this problem becomes more likely to occur.

【0007】またV.34規格の半二重モデムのような
場合には、主チャンネルの1方向通信と制御チャンネル
の双方向同時通信とを交互に切り替える。この場合は、
信号間ギャップが一定期間(0.1秒)を越えると、エ
コーサプレッサーが復帰するために、制御チャンネルの
双方向同時通信が不可能となり、通信が回復不能となる
という問題も発生する。そのためV.34規格では、信
号間ギャップは70mS±5mSの範囲に限定されてい
る。
In addition, V. In the case of a half-duplex modem of 34 standard, one-way communication of the main channel and two-way simultaneous communication of the control channel are alternately switched. in this case,
When the inter-signal gap exceeds a certain period (0.1 seconds), the echo suppressor recovers, so that bidirectional simultaneous communication of the control channel becomes impossible, which causes a problem that communication cannot be recovered. Therefore, V. In the 34 standard, the inter-signal gap is limited to the range of 70 mS ± 5 mS.

【0008】したがってDTEとモデム間のインタフェ
ースに関し、DTE側での処理時間を短縮する機構が必
要である。しかし、DTE側での処理速度が向上してモ
ード切り替えのタイミングが信号間ギャップに比例して
少ない時間で処理できたとしても、信号間ギャップの時
間監視は、±5mS程度の精度が要求される。そのた
め、DTE側でのモデム状態監視のソフトウエアは最大
限の優先度が要求されることとなり、DTEのシステム
設計を困難なものにしてしまうという問題も発生してい
る。
Therefore, regarding the interface between the DTE and the modem, a mechanism for shortening the processing time on the DTE side is required. However, even if the processing speed on the DTE side is improved and the mode switching timing can be processed in a short time in proportion to the inter-signal gap, the time monitoring of the inter-signal gap requires an accuracy of about ± 5 mS. . Therefore, the software for monitoring the modem status on the DTE side is required to have the highest priority, which causes a problem that the system design of the DTE becomes difficult.

【0009】この発明は前述した従来の問題点に鑑みな
されたもので、DTE・モデム間のインタフェース処理
時間を短縮すると共に、モデムのモード切り替えがDT
Eのソフトウエアーに依存することなく確実に通信する
ことができる変復調装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems of the prior art. The interface processing time between the DTE and the modem is shortened, and the mode switching of the modem is performed by the DT.
An object of the present invention is to provide a modulation / demodulation device capable of reliable communication without depending on E software.

【0010】[0010]

【課題を解決するための手段】以上の目的を達成するた
めに本発明は、シーケンス制御を行うための動作モード
の設定を行うDTEから動作モードの設定を受け、この
設定された動作モードを実行する実行手段と、この実行
手段による動作モードの終了を、外部回線から受信する
RCPフレームを検出することにより判定する判定手段
と、この判定手段によりRCPフレームを検出したと判
定すると、自己の動作モードを主チャンネル受信モード
から制御チャンネルモードに切り替える制御手段とを備
えたものである。また、本発明は、シーケンス制御を行
うための動作モードの設定を行うDTEから動作モード
の設定を受け、この設定された動作モードを実行する実
行手段と、この実行手段による動作モードの終了を、外
部回線から受信する所定パターンからなる信号を検出す
ることにより判定する判定手段と、この判定手段により
動作モードの終了と判定すると、自己の動作モードを制
御チャンネルモードから主チャンネル受信モードに切り
替える制御手段とを備えたものである。
In order to achieve the above object, the present invention provides an operation mode for performing sequence control.
The operation mode setting is received from the DTE
Execution means for executing the set operation mode and this execution
The end of the operation mode by means is received from the external line.
Judgment means for judging by detecting RCP frame
Then, it is determined that the RCP frame is detected by this determination means.
Set to the main channel reception mode.
From the control channel mode to the control channel mode
It is a gift. The present invention also performs sequence control.
To set the operating mode to operate from the DTE
Is executed and the operation mode that is set is executed.
The end of the operation mode by the execution means and the execution means
Detects signals with a specified pattern that are received from the local line
By the determination means to determine by
When it is determined that the operation mode has ended, it controls its own operation mode.
Switch from main channel mode to main channel receive mode
And a control means for changing over.

【0011】[0011]

【実施例】[図1に示した実施例の構成]図1はこの発
明の一実施例によるモデムの概略を示すブロック図であ
る。図1において、11はデータの変復調処理を行うモ
デム、12はデータ伸張および記録等の処理を行うホス
トDTEとしてのファクシミリ制御装置である。モデム
11には、回線Lの制御を行う回線制御部111、アナ
ログFEP(FEP:フロント・エンド・プロセッサ)112、
変復調等の処理をデジタル的に行うDSP(デジタル信号処
理部)113、2つの書き込み/読み出しアクセスポー
トを有するデュアルポートRAM114、割込制御部11
5が設けられている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [Arrangement of the Embodiment Shown in FIG. 1] FIG. 1 is a block diagram schematically showing a modem according to an embodiment of the present invention. In FIG. 1, reference numeral 11 is a modem for performing data modulation / demodulation processing, and 12 is a facsimile control apparatus as a host DTE for processing such as data expansion and recording. The modem 11 includes a line control unit 111 that controls the line L, an analog FEP (FEP: front end processor) 112,
DSP (digital signal processing unit) 113 for digitally performing processing such as modulation / demodulation, dual port RAM 114 having two write / read access ports, interrupt control unit 11
5 are provided.

【0012】ファクシミリ制御装置12は、画像読み取
り/記録部123、画像データの圧縮/伸張部122、
操作パネル等のコンソール121、画像データを一時的
に記憶するワーキングRAM124、および装置全体の動
作を制御するCPU(中央処理装置)125が設けられてい
る。
The facsimile control device 12 includes an image reading / recording unit 123, an image data compression / expansion unit 122,
A console 121 such as an operation panel, a working RAM 124 for temporarily storing image data, and a CPU (central processing unit) 125 for controlling the operation of the entire apparatus are provided.

【0013】ここで、上記デュアルポートRAM114
は、モデム11とファクシミリ制御装置12との間に配
置され、一方のアクセスポートがモデム11内のバスB1
に、他方のアクセスポートがファクシミリ制御装置12
内のバスB2に接続されており、モデム11側からのデー
タの読み出し/書き込みとファクシミリ制御装置12側
からの読み出し/書き込みとが同時に行われるようにな
っている。
Here, the dual port RAM 114 is used.
Is arranged between the modem 11 and the facsimile controller 12, and one access port is the bus B1 in the modem 11.
And the other access port is the facsimile controller 12
It is connected to the internal bus B2 so that reading / writing of data from the modem 11 side and reading / writing from the facsimile control device 12 side can be performed simultaneously.

【0014】図2は図1におけるデュアルポートRAM
のメモリ構成を示したメモリ構成図である。図2におい
て、主チャンネルに対応するAチャンネルブロック、送
信の制御チャンネルに対応するBチャンネルブロック、
受信の制御チャンネルに対応するCチャンネルブロック
という具合に、各モード毎に通信バッファが別個に設け
られており、各通信バッファは複数バンク0〜3を有し
ている。さらに、前記各チャンネルブロックに対応して
チャンネルエリアポインタ(CHエリアポインタ)およ
びチャンネルエリア(CHエリア)がそれぞれ設けられ
ている。なお、チャンネルエリアポインタにはチャンネ
ルエリアをアクセスするための情報が書かれている。
FIG. 2 shows the dual port RAM shown in FIG.
3 is a memory configuration diagram showing the memory configuration of FIG. In FIG. 2, an A channel block corresponding to a main channel, a B channel block corresponding to a transmission control channel,
A communication buffer is provided separately for each mode, such as a C channel block corresponding to a reception control channel, and each communication buffer has a plurality of banks 0-3. Further, a channel area pointer (CH area pointer) and a channel area (CH area) are provided corresponding to each channel block. Information for accessing the channel area is written in the channel area pointer.

【0015】図3はチャネルブロックをアクセスするた
めに必要なチャンネルエリアの一例を示したメモリ構成
図である。図3において、チャンネルコマンドは、対応
するチャンネルが送信モードか、受信モードかを切り替
えるためのコマンドを格納するためのエリアであり、チ
ャンネルステータスは、対応するチャンネルの送信、受
信エラーに関する情報を表示するエリアである。図4は
図3で示したチャンネルコマンドの詳細なビット割り付
けの一例である。図5は図4で示したチャンネルステー
タスの詳細なビット割り付けの一例である。
FIG. 3 is a memory block diagram showing an example of a channel area required to access a channel block. In FIG. 3, the channel command is an area for storing a command for switching the corresponding channel between the transmission mode and the reception mode, and the channel status displays information about transmission and reception errors of the corresponding channel. The area. FIG. 4 shows an example of detailed bit allocation of the channel command shown in FIG. FIG. 5 shows an example of detailed bit allocation of the channel status shown in FIG.

【0016】以上のように構成したモデム11について
V.34半二重モードでの通信を例にその動作を説明す
る。[モード毎のデータ格納処理]まず、DTEからの
受信データをモード毎に管理する実施例について説明す
る。V.34半二重モードで通信を行う場合、通信チャ
ンネルとして、主チャンネルと制御チャンネルがある。
主チャンネルは、いわゆるファクシミリ通信における画
情報の通信に使用され、制御チャンネルはITU−T
T.30において勧告されているフェーズBの制御情報
の通信に使用される。ここで、主チャンネルは、Aチャ
ンネルブロックを使用し、制御チャンネルの送信は、B
チャンネルブロックを、また制御チャンネルの受信に
は、Cチャンエルブロックを使用する。
Regarding the modem 11 configured as described above, the V. The operation will be described by taking communication in the 34 half-duplex mode as an example. [Data Storage Processing for Each Mode] First, an embodiment in which received data from the DTE is managed for each mode will be described. V. When communicating in the 34 half-duplex mode, there are a main channel and a control channel as communication channels.
The main channel is used for communication of image information in so-called facsimile communication, and the control channel is ITU-T.
T. It is used for communication of phase B control information recommended in 30. Here, the main channel uses the A channel block, and the transmission of the control channel is the B channel.
The channel block and the C channel block are used for receiving the control channel.

【0017】まず制御チャンネル送信処理について説明
する。T.30フェーズBにおいて、モデム11は制御
チャンネルを送信するために、Bチャンネルコマンドの
チャンネルモード設定ビットを”1”に設定する。Bチ
ャンネルブロックのバンク0にデータを書き込む。また
モデム11はステータス0のData Full/Em
ptyビット”1”を認識し、書き込み完了を確認し、
バンク0のデータを読みだして、変調等の信号処理を行
い、回線にデータを送出する。バンク0のデータを送信
し終えたら、ステータス0のData Full/Em
pty表示ビットを”0”にする。
First, the control channel transmission process will be described. T. In 30 phase B, the modem 11 sets the channel mode setting bit of the B channel command to "1" in order to transmit the control channel. Write data to bank 0 of B channel block. Also, the modem 11 has a Data Full / Em status 0.
Recognize pty bit "1", confirm write completion,
The data in bank 0 is read, signal processing such as modulation is performed, and the data is sent to the line. After transmitting the data of bank 0, Data Full / Em of status 0
The pty display bit is set to "0".

【0018】一方、ファクシミリ制御装置12は、バン
ク1に対応するステータス1のData Full/E
mpty表示ビットが”0”であれば、モデムがバンク
0のデータを送信している間に、次のデータフレームを
バンク1に書き込む。書き込みが完了したらステータス
1のData Full/Empty表示ビットを”
1”にする。モデムは、バンク0の送信が終了したらス
テータス1を調べ、Data Full/Empty表
示ビットが”1”になっていたら(次のデータフレーム
の書き込みが完了したら)、バンク0と同様に、バンク
1のデータを送信する。以下同様に、バンク2、バンク
3、バンク0の順でデータフレーム毎に送信する。ここ
で、モデムは、制御チャンネル送信コマンド実行中にも
かかわらず、すべてのバンクにおいて、バンクステータ
スのData Full/Empty表示ビットが”
0”で、送るべきデータフレームの無い場合は、Bチャ
ンネルステータスの送信エラー表示ビットを”1”し、
ファクシミリ制御装置に、Bチャンネルブロック送信エ
ラーを通知する。
On the other hand, the facsimile control device 12 uses the Data Full / E of status 1 corresponding to bank 1.
If the mpty indicator bit is "0", the next data frame is written to bank 1 while the modem is transmitting data for bank 0. When writing is completed, set the Data Full / Empty display bit of status 1 to "
When the transmission of bank 0 is completed, the modem checks status 1 and if the Data Full / Empty display bit is "1" (when writing of the next data frame is completed), it is the same as bank 0 , The data of bank 1 is transmitted in the same manner for each data frame in the order of bank 2, bank 3, and bank 0. Here, although the modem is executing the control channel transmission command, all the data are transmitted. In the bank, the Data Full / Empty display bit of the bank status is "
When it is 0 "and there is no data frame to be sent, the transmission error display bit of the B channel status is set to" 1 ",
Notify the facsimile controller of the B channel block transmission error.

【0019】次に制御チャンネル受信処理について説明
する。モデム11は制御チャンネルを受信するために、
Cチャンネルコマンドのチャンネルモード設定ビット
を”0”に設定する。またモデム11はデータの受信と
復調を行い、Cチャンネルブロックのバンク0に対応す
るステータス0のData Full/Empty表示
ビットが”0”である事を確認して、バンク0に1デー
タフレームを書き込む。書き込みが終了したらステータ
ス0のData Full/Empty表示ビットを”
1”(書き込み完了=読みだし可)とする。ファクシミ
リ制御装置12は、ステータス0のData Full
/Empty表示ビットが”1”を確認したら、バンク
0からデータを読みだす。モデムは、バンク1のDat
a Full/Empty表示ビットが”0”であれ
ば、バンク0のデータがファクシミリ制御装置によって
読みだされている間にもバンク1に次の受信データフレ
ームを書き込む。書き込み終了後は、バンク0と同様に
ファクシミリ制御装置により読み出される。以下同様に
バンク2、バンク3、バンク0の順でデータフレーム毎
に受信処理される。ここでモデムは、制御チャンネル受
信コマンド実行中にもかかわらず、すべてのバンクにお
いてバンクステータスのData Full/Empt
y表示ビットが”1”で、受信データフレームをCチャ
ンネルブロックの空いたバンクに書き込めない場合、C
チャンネルステータスの受信エラー表示ビットを”1”
し、ファクシミリ制御装置にCチャンネルブロック受信
エラーを通知する。
Next, the control channel reception process will be described. The modem 11 receives the control channel,
The channel mode setting bit of the C channel command is set to "0". The modem 11 also receives and demodulates data, confirms that the Data Full / Empty display bit of status 0 corresponding to bank 0 of the C channel block is "0", and writes one data frame to bank 0. . When writing is completed, set the Data Full / Empty display bit of status 0 to "
1 ”(writing completion = reading is possible). The facsimile controller 12 displays the Data Full with status 0.
When the / Empty display bit is confirmed to be "1", the data is read from the bank 0. The modem is Dat in bank 1
If the a Full / Empty display bit is "0", the next received data frame is written in bank 1 even while the data in bank 0 is being read by the facsimile controller. After the writing is completed, it is read by the facsimile control device as in the bank 0. Similarly, reception processing is performed for each data frame in the order of bank 2, bank 3, and bank 0. At this time, the modem is in the bank status Data Full / Empt in all banks even though the control channel reception command is being executed.
If the y indication bit is "1" and the received data frame cannot be written to the empty bank of the C channel block, C
Receive error indication bit of channel status is "1"
Then, the C-channel block reception error is notified to the facsimile controller.

【0020】以上述べたように、制御チャンネルの送受
信処理は、それぞれBチャンネルブロックおよびCチャ
ンネルブロックを使用して行われるため、V.34半二
重モードにおいて制御チャンネルの送信受信の全二重同
時動作が行われても、ファクシミリ制御装置およびモデ
ムは繁雑な処理を行う必要がなく、制御チャンネル送信
データ、制御チャンネル受信データの受け渡しを安全に
行うことができる。
As described above, the control channel transmission / reception processing is performed using the B channel block and the C channel block, respectively. Even if full-duplex simultaneous operation of control channel transmission / reception is performed in the 34 half-duplex mode, the facsimile controller and the modem do not need to perform complicated processing, and control channel transmission data and control channel reception data are transferred. You can do it safely.

【0021】また、Aチャンネルブロックの主チャンネ
ルについても制御チャンネルの送受信と同様に構成され
ており、チャンネルコマンド、チャンネルモードビット
を”1”に設定することによって送信モード、チャンネ
ルモードビットを”0”に設定することによって受信モ
ードと切り替えて、主チャンネルの送信および受信動作
を行うことができる。
The main channel of the A channel block has the same structure as the transmission / reception of the control channel, and the transmission mode and the channel mode bit are set to "0" by setting the channel command and the channel mode bit to "1". By setting to, it is possible to switch to the reception mode and perform the transmission and reception operations of the main channel.

【0022】さらにV.34半二重モードにおいては、
制御チャンネルの送受信動作から主チャンネルの送信あ
るいは受信動作、逆に、主チャンネルの送信あるいは受
信動作から制御チャンネルの送受信動作へと切り替わる
モード切り替えも実行することができる。[データの送
出停止処理]次に、処理について図6〜図10を加えて
説明する。図6はデュアルポートRAM114上のコマ
ンドエリア、ステータスエリア、バンクの関係を示した
図である。図6において、コマンドエリアにはDTEか
らのチャンネル終了などに関する動作指示が格納され、
ステータスエリアにはバッファの状態(Data Full/Empty
表示、アボート発生の有無、誤りの有無)を示す情報が
格納されている。これらのコマンドエリア、ステータス
エリアは各バンク毎に対応して設けられている。これ
は、どのバンクのデータを送出し終えたときに処理を終
了させるかを厳格に管理するためである。
Further, V. In 34 half-duplex mode,
It is also possible to execute a mode switching for switching from the transmission / reception operation of the control channel to the transmission / reception operation of the main channel, and conversely, the transmission / reception operation of the main channel to the transmission / reception operation of the control channel. [Data Transmission Stop Processing] Next, the processing will be described with reference to FIGS. FIG. 6 is a diagram showing the relationship between the command area, status area, and bank on the dual port RAM 114. In FIG. 6, the command area stores operation instructions from the DTE regarding channel termination,
The buffer status (Data Full / Empty
Information indicating display, presence / absence of abort, presence / absence of error) is stored. These command area and status area are provided corresponding to each bank. This is to strictly manage which bank the data has been sent to when the processing is terminated.

【0023】ここで、各バンクには誤り検出単位である
データフレームを単位としてデータが格納されている。
図7はコマンドエリアの詳細なビット割り付けの一例を
示したメモリ構成図であり、図8はステータスエリアの
詳細なビット割り付けの一例を示したメモリ構成図であ
る。ここでは、バンク0に対応するコマンドエリアとス
テータスエリアを示したが、バンク1〜3についても同
様である。また、図9は送信割込みステータスを示した
メモリの構成図であり、図10は受信割込みステータス
を示したメモリ構成図である。[データ送信処理]以上
の構成の動作・作用を説明する。まず、データ送信処理
について述べる(前記複数のチャンネルのうち、例えば
Aチャンネルを使用するものとする)。ファクシミリ制
御装置12は、ステータス0のData Full/Empty表示ビ
ットが'0'(読み出し完了=書き込み可)であることを確
認し、送信データ1フレームをバンク0に書き込む。書
き込みが完了したら、コマンド0のチャンネル終了指示
ビットを'0'(終了しない)とし、ステータス0のData Fu
ll/Empty表示ビットを'1'(書き込み完了=読み出し可)
にする。
Here, data is stored in each bank in units of a data frame which is an error detection unit.
FIG. 7 is a memory block diagram showing an example of detailed bit allocation to the command area, and FIG. 8 is a memory block diagram showing an example of detailed bit allocation to the status area. Although the command area and status area corresponding to bank 0 are shown here, the same applies to banks 1 to 3. FIG. 9 is a memory block diagram showing a transmission interrupt status, and FIG. 10 is a memory block diagram showing a reception interrupt status. [Data Transmission Processing] The operation / action of the above configuration will be described. First, the data transmission process will be described (for example, A channel is used among the plurality of channels). The facsimile controller 12 confirms that the Data Full / Empty display bit of status 0 is "0" (read completion = write enabled), and writes one frame of transmission data to bank 0. When writing is completed, set the channel end instruction bit of command 0 to "0" (do not end) and set the status 0 Data Fu
ll / Empty display bit is '1' (write completed = read possible)
To

【0024】モデム11は、コマンド0のチャンネル終
了指示ビットが'0'、ステータス0のData Full/Empty表
示ビットが'1'であることを認識したら、バンク0のデ
ータを読み出して変調等の信号処理を行い回線Lにデー
タを送出する。バンク0のデータを送信し終えたら、ス
テータス0のData Full/Empty表示ビットを'0'にすると
同時に、割込制御部115によりファクシミリ制御部1
2に割込が発生する。
When the modem 11 recognizes that the channel end instruction bit of the command 0 is "0" and the Data Full / Empty display bit of the status 0 is "1", it reads the data of the bank 0 and outputs a signal for modulation or the like. Process and send data to line L. When the data of the bank 0 is completely transmitted, the Data Full / Empty display bit of the status 0 is set to "0", and at the same time, the interrupt control unit 115 causes the facsimile control unit 1 to operate.
An interrupt occurs in 2.

【0025】ファクシミリ制御装置12は、図4に示す
送信割込ステータスを検査することによりバンク0のデ
ータがモデム11による読み出しが完了したことを知る
ことができる。ファクシミリ制御装置12は、バンク1
に対応するステータス1のData Full/Empty表示ビット
が'0'であれば、モデム11がバンク0のデータを送信
している間に、次のデータフレームをバンク1に書き込
む、またコマンド1のチャンネル終了指示ビットを'0'
とし、ステータス1のData Full/Empty表示ビットを'1'
にする。
By checking the transmission interrupt status shown in FIG. 4, the facsimile controller 12 can know that the data in the bank 0 has been read by the modem 11. Facsimile controller 12 is bank 1
If the Data Full / Empty display bit of status 1 corresponding to is 0, the next data frame is written to bank 1 while the modem 11 is transmitting data of bank 0, and the channel of command 1 Set the end instruction bit to "0"
And the Data Full / Empty display bit of status 1 is set to "1".
To

【0026】モデム11はバンク0の送信が終了した
ら、コマンド1、ステータス1を調べ、Data Full/Empt
y表示ビットが'1'になっていたら(次のデータフレーム
の書き込みが完了していたら)、バンク0と同様にバン
ク1のデータを送信し、チャンネル終了指示がなければ
次バンクに進む。以下同様に、バンク2、バンク3、バ
ンク0、・・・とデータフレーム毎に送信する。データ
送信(Aチャンネル)を終了する場合は、例えばバンク3
にデータフレームを書き込みステータス3のDataFull/E
mpty表示ビットを'1'にすると同時に、コマンド3のチ
ャンネル終了指示ビットを'1'としモデム11に終了を
指示する。モデム11はステータス3を調べると同時に
コマンド3も調べることにより、Data Full/Empty表示
ビットが'1'であること、およびチャンネル終了指示を
認識し、バンク3のデータを送信後データ送信処理(A
チャンネル)を終了する。[データ受信処理]次にデー
タ受信処理について説明する。モデム11は、データを
受信すると復調を行い、ステータス0のData Full/Empt
y表示ビットが'0'であることを確認してバンク0に1デ
ータフレームを書き込む。書き込みが終了したらステー
タス'0'のData Full/Empty表示ビットを'1'(書き込み完
了=読み出し可)とする。また、割込制御部115によ
りファクシミリ制御部12に割込がかかる。
When the transmission of the bank 0 is completed, the modem 11 checks the command 1 and the status 1, and checks the Data Full / Empt
If the y indicator bit is '1' (when the writing of the next data frame is completed), the data of bank 1 is transmitted in the same manner as bank 0, and if there is no channel end instruction, it proceeds to the next bank. Similarly, the data is transmitted for each data frame such as bank 2, bank 3, bank 0, .... To end data transmission (A channel), for example, bank 3
Write a data frame to DataStatus / DataFull / E
At the same time that the mpty display bit is set to "1", the channel end instruction bit of the command 3 is set to "1" to instruct the modem 11 to end. The modem 11 checks not only the status 3 but also the command 3 to recognize that the Data Full / Empty display bit is "1" and the channel end instruction, and after transmitting the data of the bank 3, the data transmission processing (A
Channel). [Data Reception Processing] Next, the data reception processing will be described. When the modem 11 receives the data, it demodulates it, and the status 0 Data Full / Empt
y Confirm that the display bit is '0' and write one data frame to bank 0. When writing is completed, set the Data Full / Empty display bit of status "0" to "1" (writing completed = read enabled). Further, the interrupt control unit 115 interrupts the facsimile control unit 12.

【0027】ファクシミリ制御部12は受信割込ステー
タスを検査し、バンク0にデータが書き込まれたことを
認識する。1データフレームを受信する際、モデム11
はアボート発生の有無や、フレームの最後に付加される
誤り検出信号(フレームチェックシーケンス)を検査して
誤りの有り無しを判定し、その結果を受信割込ステータ
スに表示する。ファクシミリ制御装置12は、受信割込
ステータスのアボートの発生無し、データフレームに誤
り無しを確認したら、バンク0からデータを読み出す。
モデム11は、バンク1のData Full/Empty表示ビット
が'0'であれば、バンク0のデータがファクシミリ制御
装置2によって読み出されている間にもバンク1に次の
受信データフレームを書き込む。書き込み終了後は、バ
ンク0と同様にファクシミリ制御装置12により読み出
される。以下同様にバンク2、バンク3、バンク0の順
にとデータフレーム毎に受信処理される。[エラーフレ
ームの破棄処理]データ受信時に回線障害などにより、
データフレームに誤りが生じた場合やアボートが検出さ
れた場合について、図11〜図14を追加して説明す
る。図11は受信データのフレームチェックをした場合
にエラーフレームが検出された状態を示した図である。
図12(a)はエラーフレームと判定された場合でもそ
のフレームを格納した従来の状態を示すメモリ図、
(b)はエラーフレームと判定された場合にはそのフレ
ームを破棄する本発明の状態を示したメモリ図である。
また図13は受信データにアボートの発生が検出された
状態を示した図である。図14(a)はエラーフレーム
と判定された場合でもそのフレームを格納した従来の状
態を示すメモリ図、(b)はエラーフレームと判定され
た場合にはそのフレームを破棄する本発明の状態を示し
たメモリ図である。
The facsimile controller 12 checks the reception interrupt status and recognizes that the data has been written in the bank 0. When receiving one data frame, the modem 11
Checks the presence or absence of an abort and the error detection signal (frame check sequence) added at the end of the frame to determine whether there is an error, and displays the result in the reception interrupt status. The facsimile controller 12 reads the data from the bank 0 after confirming that the reception interrupt status has not occurred and the data frame has no error.
If the Data Full / Empty display bit of bank 1 is “0”, the modem 11 writes the next received data frame in bank 1 even while the data of bank 0 is being read by the facsimile controller 2. After the writing is completed, it is read by the facsimile controller 12 as in the bank 0. Similarly, reception processing is performed for each data frame in the order of bank 2, bank 3, and bank 0. [Error frame discard processing] Due to a line failure during data reception,
A case where an error occurs in a data frame and a case where an abort is detected will be described with reference to FIGS. 11 to 14. FIG. 11 is a diagram showing a state in which an error frame is detected when a frame check of received data is performed.
FIG. 12A is a memory diagram showing a conventional state in which a frame is stored even when it is determined to be an error frame,
(B) is a memory diagram showing a state of the present invention in which the frame is discarded when it is determined that the frame is an error frame.
FIG. 13 is a diagram showing a state in which the occurrence of an abort is detected in the received data. FIG. 14A is a memory diagram showing a conventional state in which a frame is stored even when it is determined to be an error frame, and FIG. 14B shows a state of the present invention in which the frame is discarded when it is determined to be an error frame. It is the memory diagram shown.

【0028】まず、誤り検出信号により誤りが検出され
た場合(フレームチェックシーケンスエラー)は、図1
1に示すようにフレームn(誤りフレーム)をバンク1に
書き込み、割込制御部115によりファクシミリ制御部
12に割込が発生する。ファクシミリ制御部12は受信
割込ステータスを検査して、バンク1にデータが書き込
まれたこと、およびそのバンク1でフレームチェックシ
ーケンスエラーが発生したことを知る。ファクシミリ制
御部12は、バンク1のデータは誤っているので読み出
し処理は行わず、次のデータフレームの受信を待つ。
First, when an error is detected by the error detection signal (frame check sequence error),
As shown in FIG. 1, the frame n (error frame) is written in the bank 1, and the interrupt controller 115 causes the facsimile controller 12 to generate an interrupt. Facsimile controller 12 checks the reception interrupt status and finds that data has been written to bank 1 and that a frame check sequence error has occurred in bank 1. Since the data in bank 1 is incorrect, the facsimile control unit 12 does not perform the reading process and waits for the reception of the next data frame.

【0029】モデム11は、図12(a)に示すように
次のデータフレームn+1を受信したらバンク2には書
き込まず、図12(b)に示すように再度バンク1に書
き込む。書き込みが終了したら割込制御部115により
ファクシミリ制御部12に割込がかかる。ファクシミリ
制御部12は、割込を受け付けたら受信割込ステータス
を検査し、バンク1に次のデータフレームn+1が書き
込まれたことを知り受信処理を行う。アボートが発生し
た場合についても全く同様である。[モード切替処理]
次に、モデム11自身が自らモードを実行する処理につ
いて図15〜図17を用いて説明する。図15はこの発
明のモード切替処理の一実施例をしめす制御フロー図で
ある。図15は図26で示したモード切替えをDTE
(ファクシミリ制御装置12)側から示した制御フロー
図である。
When receiving the next data frame n + 1 as shown in FIG. 12A, the modem 11 does not write it in the bank 2 but writes it again in the bank 1 as shown in FIG. 12B. When the writing is completed, the interrupt control unit 115 interrupts the facsimile control unit 12. When receiving the interrupt, the facsimile control unit 12 checks the reception interrupt status, knows that the next data frame n + 1 has been written in the bank 1, and performs the reception process. The same is true when an abort occurs. [Mode switching process]
Next, the process in which the modem 11 itself executes the mode will be described with reference to FIGS. FIG. 15 is a control flow chart showing an embodiment of the mode switching processing of the present invention. FIG. 15 shows the DTE mode switching shown in FIG.
FIG. 7 is a control flow diagram shown from the side of the (facsimile controller 12).

【0030】まず、DTE12から図26で示す前モー
ドと、次モードをシーケンス制御できる総合モードを設
定する(S401)。次にDTE12から前記総合モー
ドを実行する旨の指示(S402)を受けてモデム11
は設定された総合モードを実行し、前モードの処理を開
始する。その後、DTE12はモデム11からの前モー
ド終了通知待ちに入る(S403)。前モードの処理が
終了するとモデム11はDTE12に前モードが終了し
たことを通知し、自らタイマーをセットして、次モード
を開始するまでの時間を監視する。DTE12は前モー
ド終了の通知を受けると、次モードで実行するモードを
何種類から1つ選択しモデム11に指示し(S40
4)、モデム11からの次モード終了通知待ちに入る
(S405)。モデム11は、前記で設定したタイマー
のタイムアウトにより、次モード状態遷移設定(S40
4)で設定された次モードを実行し、状態を監視して次
モードを終了させる状態となったならDTE12に次モ
ード終了を通知する。次モード終了通知を受けたDTE
12は総合モードシーケンスを終了させる。
First, the DTE 12 sets a comprehensive mode capable of sequence control of the previous mode and the next mode shown in FIG. 26 (S401). Next, the modem 11 receives the instruction (S402) to execute the general mode from the DTE 12.
Executes the set general mode and starts the processing of the previous mode. After that, the DTE 12 waits for the previous mode end notification from the modem 11 (S403). When the processing in the previous mode is completed, the modem 11 notifies the DTE 12 that the previous mode is completed, sets a timer by itself, and monitors the time until the next mode is started. When the DTE 12 receives the notification of the end of the previous mode, it selects one of the modes to be executed in the next mode and instructs the modem 11 (S40
4) Wait for the next mode end notification from the modem 11 (S405). The modem 11 sets the next mode state transition setting (S40) due to the timeout of the timer set above.
The next mode set in 4) is executed, the state is monitored, and when the state is such that the next mode is ended, the DTE 12 is notified of the end of the next mode. DTE receiving notification of next mode end
12 terminates the overall mode sequence.

【0031】以上のように本発明によると、DTE12
からモード設定の指示を受けるだけで、DTEからのモ
ード切替え指示および処理開始指示を待つことなく、自
動的に前記処理を実行するので、信号間ギャップの監視
時間が±5ms程度の精度が要求されている処理手順にお
いても、DTEシステム設計を困難にすることなく、次
モードへの対応が遅れることを防止できる。[従来技術
との比較]ここで、図16を用いて従来の方式と対比し
ながら本実施例の特徴を詳細に説明する。図16は図2
6で示したモード切替えをDTE側から示した従来のモ
ード切替え処理のフロー図である。
As described above, according to the present invention, the DTE 12
Since the above process is automatically executed only by receiving the mode setting instruction from the DTE and without waiting for the mode switching instruction and the processing start instruction from the DTE, the accuracy of the signal gap monitoring time of about ± 5 ms is required. Even in the processing procedure that is performed, it is possible to prevent delay in the correspondence to the next mode without making the DTE system design difficult. [Comparison with Prior Art] Here, the features of the present embodiment will be described in detail with reference to FIG. FIG. 16 shows FIG.
It is a flow diagram of the conventional mode switching process which showed the mode switching shown by 6 from the DTE side.

【0032】従来は、DETはモデムに対して前モード
の設定を指示をし(S411)、前モードの実行指示を
行い(S412)、その後、前モード処理の終了タイミ
ング監視していた(S413)。この場合、本発明では
DTEから総合モードの設定と実行指示をするだけで、
前モードの終了を自動的に行う。このような処理が可能
となるのは、モデムが通信シーケンスを予め格納してい
るからである。即ち、通信シーケンスは予め設定された
手順であるので、どの処理を実行するかが特定されれ
ば、モデムは、格納している通信シーケンスに基づいて
状態の遷移を管理することにより自ら処理を実行するこ
とができることになる。[タイマによる監視処理]次に
DTEはモデムの前モード処理の終了を決定するとタイ
マーをセットして次モードを開始するまでの時間を監視
していた(S415)。このように、DTEでタイミン
グ監視を行っているため、信号間ギャップの監視時間が
±5ms程度の精度が要求されている処理手順の場合に
は、次モード処理に切り替わるのが遅れてモデムにおい
て、正常に処理できない問題が生じていたが、本発明で
はモデムがタイミング監視することで、この問題から回
避できる。
Conventionally, the DET instructs the modem to set the previous mode (S411), gives an instruction to execute the previous mode (S412), and then monitors the end timing of the previous mode processing (S413). . In this case, according to the present invention, it is only necessary to set and execute the general mode from the DTE.
Automatically end the previous mode. Such processing is possible because the modem stores the communication sequence in advance. That is, since the communication sequence is a preset procedure, if the process to be executed is specified, the modem executes the process by managing the state transition based on the stored communication sequence. You will be able to do it. [Timer-based monitoring process] Next, when the DTE determines to end the pre-mode process of the modem, it sets a timer and monitors the time until the next mode is started (S415). In this way, since the DTE is used to monitor the timing, in the case of a processing procedure that requires an accuracy of about ± 5 ms for monitoring the inter-signal gap, switching to the next mode processing is delayed and the modem Although a problem that cannot be normally processed has occurred, the present invention can avoid this problem by the timing monitoring by the modem.

【0033】次にDTEはタイマーのタイムアウトを検
出すると、次モードを設定し(S416)、さらに次モ
ードを実行させる(S417)。次モードの実行の指示
を受け、モデムは次モード処理を開始する。DTEはこ
の次モード処理の監視を行い(S418)、次モード処
理を終了させる状態になったらこのシーケンスを終了さ
せる。
Next, when the DTE detects the time-out of the timer, it sets the next mode (S416) and executes the next mode (S417). Upon receiving the instruction to execute the next mode, the modem starts the next mode processing. The DTE monitors this next mode processing (S418), and when it is in the state of ending the next mode processing, ends this sequence.

【0034】以上のように、本発明では図15に示すよ
うに、S403で前モードの処理が終了したならば、次
モードへの状態遷移はモデム11自身で管理するととも
に、S404での次モードへの状態遷移設定で次モード
を設定しているのでモード切替のタイミングを確実に保
障して通信の安全を確保することができる。さらに、D
TE12で行っていたタイミング監視をモデム11に持
つことにより、DTE12の負荷を軽減できる。[モデ
ム自身による多様なモード切替]さらに、モデム11
が、いくつかの動作モードと、この動作モードを制御す
るシーケンスをもった1つの動作モードを持つことの意
義を図17を用いて説明する。図17はITU勧告V.
34半二重モードを使用するFAXシーケンスのフロー
図であり、フェーズ1(S431)、フェーズ2(S4
32)、フェーズ3(S433)、制御チャンネル(S
434)、主チャンネル(S435)はシーケンス中の
モードを示している。モデム11がこれらのモードを1
つにまとめたV.34半二重モードを持っている。
As described above, according to the present invention, as shown in FIG. 15, when the processing of the previous mode is completed in S403, the state transition to the next mode is managed by the modem 11 itself, and the next mode in S404 is managed. Since the next mode is set in the state transition setting to, it is possible to ensure the timing of mode switching and ensure communication safety. Furthermore, D
By providing the modem 11 with the timing monitoring performed by the TE 12, the load on the DTE 12 can be reduced. [Various mode switching by the modem itself] Furthermore, the modem 11
However, the significance of having several operation modes and one operation mode having a sequence for controlling this operation mode will be described with reference to FIG. FIG. 17 shows ITU Recommendation V.34.
34 is a flow diagram of a FAX sequence using the H.34 half-duplex mode, including phase 1 (S431) and phase 2 (S4).
32), phase 3 (S433), control channel (S
434) and the main channel (S435) indicate the mode in the sequence. Modem 11 sets these modes to 1
V. It has 34 half-duplex mode.

【0035】まず、回線閉結後にモデムモードをV.3
4半二重モードに設定して動作させると、ステップS4
31のフェーズ1から開始する。ここでは端末能力デー
タの交換が行われる。これが終了するとモデム11はス
テップS432でフェーズ2へ状態遷移し、回線特性の
学習を行いモデムのシンボル速度を決定する。次にステ
ップS433でフェーズ3の処理に入り、モデム11の
等価器トレーニングを行う。フェーズ3終了後モデムは
ステップS434の制御チャンネルに入る。ここではデ
ータ速度を決定し、T.30の端末情報が交換される。
First, after the line is closed, the modem mode is set to V. Three
When set to 4 half-duplex mode and operated, step S4
It starts from Phase 1 of 31. Here, terminal capability data is exchanged. When this is completed, the modem 11 makes a state transition to phase 2 in step S432, learns the line characteristics, and determines the modem symbol rate. Next, in step S433, the process of phase 3 is started, and the equalizer training of the modem 11 is performed. After the end of phase 3, the modem enters the control channel of step S434. Here, the data rate is determined, and T. 30 pieces of terminal information are exchanged.

【0036】制御チャンネルが終了すると、ステップS
435の主チャンネルに入る。ここではFAXのイメー
ジデータが転送される。主チャンネルが終了するとステ
ップS437のデータ速度再設定を行う制御チャンネル
へ進むか、ステップS438のデータ速度再設定を行わ
ない制御チャンネルへ進むかをステップS436でDT
E12の指示で決定する。このため、ステップS435
の主チャンネル終了までにDTE12はモデム11に指
示を与え状態遷移を決定する。
When the control channel ends, step S
Enter 435 main channels. Here, FAX image data is transferred. When the main channel is ended, whether to proceed to the control channel in which the data rate is reset in step S437 or to the control channel in which the data rate is not reset in step S438 is determined in step S436.
Determined by the instruction of E12. Therefore, in step S435
By the end of the main channel of DTE 12, the DTE 12 gives an instruction to the modem 11 to determine the state transition.

【0037】モデム11はステップS437かステップ
S438のどちらかへ進んだ後、動作終了でない場合は
ステップS436の主チャンネルの状態に戻り、終了の
場合は動作を停止する。フェーズ1とフェーズ2の間の
無音区間は75±5msecであり、それ以降の各モー
ド間の無音区間は70±5msecとなっておりDTE
12がこれを制御することは非常に大きな負荷となる
が、これをモデム11が行うことで、この負荷を改善で
きる。[モード終了検出処理]以上では、モデム11自
身が自らモード(主チャンネル、制御チャンネルの送
信、制御チャンネルの受信)を切り替える処理を説明し
た。次に図15のS403、S405に示すモード終了
をモデム11自身が検出する制御について図18および
図19を用いて詳細に説明する。図18はRCP検知に
よるモデムモード切替を示した説明図である。
After proceeding to either step S437 or step S438, the modem 11 returns to the state of the main channel of step S436 if the operation is not finished, and stops the operation if it is finished. The silent section between Phase 1 and Phase 2 is 75 ± 5 msec, and the silent section between each subsequent mode is 70 ± 5 msec, which is the DTE.
It is a very heavy load for the modem 12 to control this, but the modem 11 can improve this load. [Mode End Detection Process] The process in which the modem 11 itself switches the mode (main channel, control channel transmission, control channel reception) has been described above. Next, the control in which the modem 11 itself detects the mode end shown in S403 and S405 of FIG. 15 will be described in detail with reference to FIGS. 18 and 19. FIG. 18 is an explanatory diagram showing modem mode switching by RCP detection.

【0038】これはV.34でFAXまたはデータ通信
をするときの例であり、主チャンネルが終了して、制御
チャンネルにモードが変わるタイミングを表している。
V.34モードでのFAX/データ通信は、誤り再送を
前提としたECM(エラーコレクションモード)で通信
されるため、主チャンネルの終了は、必ずRCPフレー
ムという、部分ページの終了信号で終わることになって
いる。本発明では、RCPフレームをモデム内部で判定
し、モデムのモードを自ら制御チャンネルモードに切り
替えられれば、主チャンネル終了後75mS以内に到着
する制御チャンネル信号を取り逃がすことはない。RC
Pフレーム内部の構成は、HDLC方式でフレーミング
されており、モデム11はデフレーミング動作も実行可
能である必要がある。デフレーミング後に、データが正
しいと判断せれれば、RCPバイトを判定することは容
易であり、十分にモデム内部で実行可能である。
This is V. This is an example of FAX or data communication at 34, and shows the timing when the main channel ends and the mode changes to the control channel.
V. Since FAX / data communication in the 34 mode is carried out in ECM (error correction mode) which is premised on error retransmission, the end of the main channel must end with the end signal of the partial page called the RCP frame. There is. In the present invention, if the RCP frame is judged inside the modem and the mode of the modem is switched to the control channel mode by itself, the control channel signal that arrives within 75 mS after the end of the main channel is not missed. RC
The internal structure of the P frame is framed by the HDLC method, and the modem 11 needs to be able to execute the deframing operation. If, after deframing, the data is determined to be correct, it is easy to determine the RCP byte and is fully executable inside the modem.

【0039】次に、モデム11自身がモードを切り替え
る他の実施例を図19を用いて説明する。図19は同じ
くV.34モードでFAX/データ通信する場合のタイ
ミング例で、特に制御チャンネル終了から、主チャンネ
ル受信にモードが切り替わるタイミングを表す。
Another embodiment in which the modem 11 itself switches the mode will be described with reference to FIG. FIG. 19 also shows V.I. This is an example of the timing when FAX / data communication is performed in the 34 mode, and particularly shows the timing when the mode is switched to the main channel reception after the end of the control channel.

【0040】制御チャンネルの終了は、プロトコル上の
規約で、チャンネル終了信号が規定されている。この場
合も、チャンネル終了はDTE12が判断するよりは、
モデム11自身が判断して、主チャンネル受信にモード
をかえることができる。チャンネル終了信号は、具体的
には、データ転送中には発生しないパターンである40
ビット以上連続した’1’を受信することと同一であ
り、モデム内部で検出可能である。
The end of the control channel is defined by a protocol end rule as a channel end signal. In this case also, the channel end is determined by the DTE 12 rather than the
The modem 11 itself can judge and change the mode to the main channel reception. The channel end signal is specifically a pattern that does not occur during data transfer 40
It is the same as receiving a '1' that is consecutive bits or more, and can be detected inside the modem.

【0041】以上のように、モデム11自身が受信した
データの内容を自ら解析して、その解析の結果所定の信
号を検出した場合に、その検出結果に基づいてモードを
切替えているので、切替えのタイミングを逸することな
く、確実な通信を保障することができる。[図20の実
施例とリトレイニング指示処理]次に、モデム11自身
がリトレイニングをDTE12へ指示する処理を図20
〜図22を用いて説明する。図20は本発明の一実施例
を示すモデム11の回路構成図である。図20におい
て、617はDTE-インタフェース部であり、DTE-モデム間
の送受信データおよび、モデムのモード/動作指定等の
データのやりとりを制御する。613aはDTEからDTE-イン
タフェース部617を介して通信相手に送信する送信デー
タで、616aは通信相手から送信されてきた受信データ
で、DTE-インタフェース部617を介してDTEに転送され
る。620bはEQMしきい値信号で、モデムのリトレーニン
グ制御の判断基準の設定値としてDTEからDTE-インタフ
ェース部617を介して設定される。613は公知のITU-T勧
告V.34に基づいて、DTE-インタフェース部617からの送
信データ613aを2次元信号612R,612Iに変換する符号化
部である。612は公知のITU-T勧告V.34に基づいて2次元
信号に対して直交振幅変調をするQAM変調部である。
As described above, when the modem 11 itself analyzes the content of the received data, and when a predetermined signal is detected as a result of the analysis, the mode is switched based on the detection result. It is possible to guarantee reliable communication without losing the timing. [Embodiment of FIG. 20 and Retraining Instruction Processing] Next, the processing for the modem 11 itself to instruct the DTE 12 to perform retraining will be described with reference to FIG.
~ It demonstrates using FIG. FIG. 20 is a circuit configuration diagram of the modem 11 showing an embodiment of the present invention. In FIG. 20, reference numeral 617 denotes a DTE-interface unit, which controls exchange of transmission / reception data between the DTE-modem and data such as mode / operation designation of the modem. Reference numeral 613a is transmission data transmitted from the DTE to the communication partner via the DTE-interface unit 617, and 616a is reception data transmitted from the communication partner, which is transferred to the DTE via the DTE-interface unit 617. 620b is an EQM threshold signal, which is set from the DTE via the DTE-interface unit 617 as a set value of the judgment criterion of the retraining control of the modem. Reference numeral 613 is an encoding unit that converts the transmission data 613a from the DTE-interface unit 617 into two-dimensional signals 612R and 612I based on the well-known ITU-T recommendation V.34. Reference numeral 612 is a QAM modulator that performs quadrature amplitude modulation on a two-dimensional signal based on the well-known ITU-T Recommendation V.34.

【0042】このQAM変調部612は制御信号620cの状態に
より、620c=0 の場合、無信号620c=1 の場合、2次元信
号612R,612Iの直交振幅変調信号620c=2 の場合、トレー
ニング信号620c=3 の場合、リトレーニング信号620c=4
の場合、リトレーニング応答信号を変調信号612aに出力
するように制御される。
Depending on the state of the control signal 620c, the QAM modulating section 612 determines if 620c = 0, no signal 620c = 1, quadrature amplitude modulation signal 620c = 2 of the two-dimensional signals 612R and 612I, and training signal 620c. = 3, retraining signal 620c = 4
In this case, the retraining response signal is controlled to be output as the modulated signal 612a.

【0043】611は送信系の信号と受信系の信号とを分
離するハイブリット回路である。このハイブリット回路
により、送信信号612aは電話回線611aに送出され、また
通信相手から送られてきた信号は、受信信号614aに出力
される。
Reference numeral 611 is a hybrid circuit for separating a transmission system signal and a reception system signal. With this hybrid circuit, the transmission signal 612a is transmitted to the telephone line 611a, and the signal transmitted from the communication partner is output to the reception signal 614a.

【0044】QAM復調部614は、公知のITU-T勧告V.34に
基づいて、受信信号614aに対して直交振幅復調して2次
元信号614R,614Iを出力する機能と、受信信号614aの判
別を判別信号620aに出力する機能を有する。このQAM復
調部614は、受信信号614aが無信号の場合、620a=0デー
タ受信信号の場合、620a=1トレーニング信号の場合、62
0a=2リトレーニング信号の場合、620a=3リトレーニング
応答信号の場合、620a=4を出力する。
The QAM demodulation section 614 has a function of performing quadrature amplitude demodulation on the reception signal 614a and outputting two-dimensional signals 614R and 614I based on the well-known ITU-T recommendation V.34, and discrimination of the reception signal 614a. Is output to the determination signal 620a. This QAM demodulation unit 614 outputs 62 when there is no received signal 614a, when 620a = 0 data received signal, and when 620a = 1 training signal.
In the case of 0a = 2 retraining signal, 620a = 3 is output in the case of 620a = 3 retraining response signal.

【0045】判定部615は、公知のITU-T勧告V.34に基づ
いて2次元信号614R,614Iに対して信号判定を行う。こ
の判定部615からは判定した2次元信号615R,615Iが出力
される。
The decision unit 615 makes a signal decision on the two-dimensional signals 614R and 614I based on the well-known ITU-T Recommendation V.34. The determination unit 615 outputs the determined two-dimensional signals 615R and 615I.

【0046】復号部616は、公知のITU-T勧告V.34に基づ
いて判定した2次元データ615R,615Iを受信データ616a
に変換する。エラー算出部618は、QAM復調部614の出力
信号614R,614Iと判定部615の出力信号615R,615Iとを各
々減算して2次元エラー信号618R,618Iを出力する。EQM
算出部619は、2次元エラー信号618R,618Iのパワーを算
出し、その信号を受信データの品質を表すEQM信号619a
として出力する。制御部620は、受信データの品質を表
すEQM信号619aと、リトレーニングの判断基準の設定値
であるEQMしきい値620bと、受信信号の判別を表す判別
信号620aの3つの信号を入力として、QAM変調部612に対
する制御信号620cを出力する。
The decoding unit 616 receives the two-dimensional data 615R and 615I determined based on the well-known ITU-T Recommendation V.34 as the received data 616a.
Convert to. The error calculation unit 618 subtracts the output signals 614R and 614I of the QAM demodulation unit 614 and the output signals 615R and 615I of the determination unit 615, respectively, and outputs two-dimensional error signals 618R and 618I. EQM
The calculator 619 calculates the power of the two-dimensional error signals 618R and 618I, and uses that signal as an EQM signal 619a that represents the quality of received data.
Output as. The control unit 620 receives three signals of an EQM signal 619a representing the quality of the received data, an EQM threshold 620b which is a set value of the retraining judgment criterion, and a discrimination signal 620a representing the discrimination of the received signal, The control signal 620c for the QAM modulator 612 is output.

【0047】図21はEQM算出部を619の内部ブロック図
である。乗算器621,622は、2次元のエラー信号618R,61
8Iを各2乗する。加算器623は、乗算器621,622で2乗さ
れた信号を加算して2次元エラーのパワー信号632aを出
力する。積分器624は、2次元エラーのパワー信号632a
を平滑化して受信データの品質を表すEQM信号619aを出
力する。[図20の実施例の動作]図22はデータ受信
モードにおいて、図20に示した制御部620aが実行すべ
きフローチャートである。ステップS601はモデムをトレ
ーニング信号検出待ち状態に設定し、信号620cを「0」
にしてQAM変調部612から無音信号送信にする。ステップ
S602では、通信相手モデムからのトレーニング信号を検
出したか否かを判断し、検出した場合はステップS603に
進み、検出しない場合はステップS602を繰り返す。トレ
ーニング信号を検出したか否かの判断は、信号620aが
「2」になった場合を検出したと判断する。ステップS6
03においては、モデムをトレーニング信号受信状態に設
定する。ステップS604においては、トレーニング受信が
終了したか否かを判断し、トレーニング受信が終了した
場合はS605に進み、終了しない場合はステップS602を繰
り返す。トレーニング受信が終了したか否かの判断は、
信号620aが「2」から「1」になった場合をトレーニン
グ受信終了と判断する。
FIG. 21 is an internal block diagram of the EQM calculating unit 619. Multipliers 621 and 622 are two-dimensional error signals 618R and 61
Square 8I each. The adder 623 adds the signals squared by the multipliers 621 and 622 and outputs a two-dimensional error power signal 632a. The integrator 624 is a two-dimensional error power signal 632a.
Is smoothed and an EQM signal 619a representing the quality of the received data is output. [Operation of the Embodiment of FIG. 20] FIG. 22 is a flowchart to be executed by the control unit 620a shown in FIG. 20 in the data reception mode. In step S601, the modem is set to the training signal detection waiting state, and the signal 620c is set to "0".
Then, the QAM modulation section 612 transmits a silent signal. Step
In S602, it is determined whether or not the training signal from the communication partner modem is detected. If it is detected, the process proceeds to step S603, and if not detected, step S602 is repeated. The determination as to whether or not the training signal is detected is determined as the case where the signal 620a becomes “2” is detected. Step S6
In 03, the modem is set to the training signal reception state. In step S604, it is determined whether or not the training reception is completed. If the training reception is completed, the process proceeds to S605, and if it is not completed, step S602 is repeated. To judge whether or not the training reception has been completed,
When the signal 620a changes from "2" to "1", it is determined that the training reception has ended.

【0048】ステップS605においては、モデムをデータ
受信状態に設定する。この状態で受信データは、QAM復
調部614、判定部615、復号部616、DTE-インタフェース
部介してDTEに送出される。ステップS606においては、
受信データの品質を表すEQM信号619aがEQMしきい値620b
より大か否かを判断し、EQM信号619aの方が大の場合は
ステップS609に進み、EQMしきい値620bの方が大の場合
はステップS607に進む。
In step S605, the modem is set to the data receiving state. In this state, the received data is sent to the DTE via the QAM demodulation unit 614, the determination unit 615, the decoding unit 616, and the DTE-interface unit. In step S606,
The EQM signal 619a, which represents the quality of the received data, has an EQM threshold 620b.
If the EQM signal 619a is larger, the process proceeds to step S609, and if the EQM threshold 620b is larger, the process proceeds to step S607.

【0049】ステップS607においては、データ受信が終
了したか否かを判断し、データ受信が終了した場合はス
テップS608に進み、終了しない場合はステップS606に戻
る。データ受信が終了したか否かの判断は、信号620aが
「1」から「0」になった場合および、DTEからDTE-イ
ンタフェースを介して終了指定があった場合等により判
断する。
In step S607, it is determined whether or not the data reception is completed. If the data reception is completed, the process proceeds to step S608. If it is not completed, the process returns to step S606. Whether or not the data reception is completed is determined based on, for example, the case where the signal 620a changes from “1” to “0” and the case where the DTE designates the end through the DTE-interface.

【0050】ステップS608においては、モデムをデータ
終了状態に設定して、受信データをDTE-インタフェース
部を介してDTEに送出するのを停止し、モデムのアイド
ルモードに進む。ステップS609においては、モデムをリ
トレーニング信号送出状態に設定し、信号S602cを
「3」にしてQAM変調部612からリトレーニング信号を送
出してステップS610に進む。この時、受信データをDTE-
インタフェース部を介してDTEに送出するのを一時停止
する。ステップS610においては、通信相手モデムからリ
トレーニング応答信号を検出したか否かを判断し、検出
した場合はステップS601に進み、検出しない場合はステ
ップS610を繰り返す。リトレーニング信号を検出したか
否かの判断は、信号620aが「4」になった場合を検出し
たと判断する。
In step S608, the modem is set to the data end state, the transmission of the received data to the DTE via the DTE-interface unit is stopped, and the modem goes into the idle mode. In step S609, the modem is set to the retraining signal transmission state, the signal S602c is set to "3" and the retraining signal is transmitted from the QAM modulator 612, and the process proceeds to step S610. At this time, the received data is DTE-
Suspend sending to the DTE via the interface. In step S610, it is determined whether or not a retraining response signal is detected from the communication modem, and if it is detected, the process proceeds to step S601. If not, step S610 is repeated. The determination as to whether or not the retraining signal is detected is determined to be when the case where the signal 620a becomes "4" is detected.

【0051】なお、これまで述べてきた実施例におい
て、DTEから設定されたEQMしきい値とモデム11内で算
出したEQM値とからリトレーニングの制御を行ってい
た。しかし、本発明においてはかかる実施例に限らず、
例えばモデム11内でフレームエラーまたはビットエラ
ーを監視し、それに対するDTE12からのしきい値に
よりリトレーニングの制御を行うように構成することも
可能である。また本実施例では、EQMしきい値はDT
Eから指示されることとして説明したが、モデムが予め
保持していることとしてもよい。[図23に示すタイミ
ング監視処理]モデム11自身が行うタイミング監視を
行う処理について説明する。図23はV.34半二重モ
ードの手順を概略的に示したシーケンス図である。ま
ず、T1タイマーについては、次のように動作させる。
着呼側においては、ANSam信号を送出開始ととも
に、DTE側から提供されるT1タイマーの値(一例と
して、35秒)の、デクリメント動作を開始する。もし
T1タイマーの値が0にまで到達すれば、本モデム11
はDTE12側に向けて割り込みを発することにより、
この異常事態を通知する。しかし、T1タイマーの値が
0に到達するまでに、発呼側からのCM信号を検知すれ
ばT1タイマーの値のデクリメントを中止する。
In the embodiments described so far, retraining is controlled based on the EQM threshold value set by the DTE and the EQM value calculated in the modem 11. However, the present invention is not limited to this embodiment,
For example, it is possible to monitor the frame error or the bit error in the modem 11 and control the retraining by the threshold value from the DTE 12 for the frame error or the bit error. In this embodiment, the EQM threshold is DT.
Although the instruction is given from E, the modem may hold it in advance. [Timing Monitoring Process Shown in FIG. 23] A process of timing monitoring performed by the modem 11 itself will be described. FIG. It is a sequence diagram which showed the procedure of the 34 half-duplex mode schematically. First, the T1 timer is operated as follows.
At the called side, the transmission of the ANSam signal is started, and at the same time, the decrement operation of the value of the T1 timer (for example, 35 seconds) provided from the DTE side is started. If the value of the T1 timer reaches 0, this modem 11
Issues an interrupt toward the DTE12 side,
Notify of this abnormal situation. However, if the CM signal from the calling side is detected before the value of the T1 timer reaches 0, the decrement of the value of the T1 timer is stopped.

【0052】発呼側においては、ANSam信号を受信
開始とともに、DTE12側から提供されるT1タイマ
ーの値(一例として、同じく35秒)の、デクリメント
動作を開始する。もしT1タイマーの値が0にまで到達
すれば、本モデムはDTE側に向けて割り込みを発する
ことにより、この異常事態を通知する。しかし、T1タ
イマーの値が0に到達するまでに、着呼側からのJM信
号を検知すればT1タイマーの値のデクリメントを中止
する。
At the calling side, the reception of the ANSam signal is started, and at the same time, the decrement operation of the value of the T1 timer provided from the DTE 12 side (for example, 35 seconds as well) is started. If the value of the T1 timer reaches 0, this modem notifies this abnormal condition by issuing an interrupt toward the DTE side. However, if the JM signal from the called side is detected before the value of the T1 timer reaches 0, the decrement of the value of the T1 timer is stopped.

【0053】以上により、フェーズBに入ってから正し
い信号を検知するまでの時間T1タイマーの監視を、D
TE側より容易ならしめることが可能である。また、T
1タイマーをいつの時点よりスタートすべきかについて
は、解釈のしかたが、他にも可能であるが、発呼側、着
呼側とも、端末が回線と接続した瞬間からT1タイマー
値のデクリメントを開始する方式ももちろん可能であ
る。
As described above, the time T1 from the start of the phase B until the detection of the correct signal is monitored by the D timer.
If it is easier than the TE side, it can be tightened. Also, T
Although it is possible to interpret when the 1 timer should be started, although there are other possibilities, both the calling side and the called side start decrementing the T1 timer value from the moment the terminal connects to the line. The method is of course possible.

【0054】T2タイマーについては、次のように動作
させる。着呼側においては、NSF・CSI・DIS信
号を送出終了するとともに、DTE側から提供されるT
2タイマーの値(一例として、6秒)の、デクリメント
動作を開始する。もしT2タイマーの値が0にまで到達
すれば、本モデム11はDTE12側に向けて割り込み
を発することにより、この異常事態を通知する。しか
し、T2タイマーの値が0に到達するまでに、発呼側か
らのTSI・DCS信号とおぼしき信号を、HDLCフ
ォーマットに従い、アドレス・バイトおよびコントロー
ル・バイトまで検知すればT2タイマーの値のデクリメ
ントを中止して初期値にもどすことにより、異常事態発
生の割り込みを回避する。このように異常事態が発生し
たことのみを通知する。正常であればDTE12はその
ことを知らなくても手順進行の妨げにはならない。した
がって異常のみを知らせる方式とすることで、DTE1
2の負荷が軽減される。
The T2 timer is operated as follows. At the called side, the transmission of the NSF / CSI / DIS signal is completed and the TTE provided from the DTE side is completed.
A decrement operation of the value of 2 timers (6 seconds as an example) is started. If the value of the T2 timer reaches 0, the modem 11 issues an interrupt to the DTE 12 side to notify this abnormal situation. However, by the time the value of the T2 timer reaches 0, if the TSI / DCS signal and the bad signal from the calling side are detected up to the address byte and the control byte according to the HDLC format, the value of the T2 timer is decremented. By interrupting and returning it to the initial value, the interruption of occurrence of an abnormal situation is avoided. In this way, only the fact that an abnormal situation has occurred is notified. If it is normal, the DTE 12 does not hinder the progress of the procedure without knowing it. Therefore, the DTE1
The load of 2 is reduced.

【0055】発呼側においては、TSI・DCS信号を
送出終了するとともに、DTE側から提供されるT2タ
イマーの値(これも一例として、6秒)の、デクリメン
ト動作を開始する。もしT2タイマーの値が0にまで到
達すれば、本モデムはDTE側に向けて割り込みを発す
ることにより、この異常事態を通知する。しかし、T2
タイマーの値が0に到達するまでに、着呼側からのCF
R信号とおぼしき信号を、HDLCフォーマットに従
い、アドレス・バイトおよびコントロール・バイトまで
検知すればT2タイマーの値のデクリメントを中止して
初期値にもどすことにより、異常事態発生の割り込みを
回避する。
At the calling side, the transmission of the TSI / DCS signal is terminated, and at the same time, the decrement operation of the value of the T2 timer provided by the DTE side (this is also 6 seconds, for example) is started. If the value of the T2 timer reaches 0, this modem notifies this abnormal situation by issuing an interrupt toward the DTE side. But T2
By the time the timer value reaches 0, the CF from the called side
According to the HDLC format, if the address signal and the control signal are detected for the R signal and the bad signal, the decrement of the value of the T2 timer is stopped and the value is returned to the initial value.

【0056】以上は、フェーズAからフェーズBに入っ
た直後のT2タイマーの取扱いであるが、ページ間のM
PS信号等の制御信号や、フェーズCをぬけた後のフェ
ーズBにおけるEOP信号やMCF信号等の制御信号に
ついても同様の方式によりDTE側よりT2タイマーの
監視を容易ならしめることが可能である。
The above is the handling of the T2 timer immediately after entering the phase A from the phase B.
With respect to the control signal such as the PS signal and the control signal such as the EOP signal and the MCF signal in the phase B after passing through the phase C, it is possible to easily monitor the T2 timer from the DTE side by the same method.

【0057】[0057]

【発明の効果】以上の説明から明らかなように、本発明
は、モデム自身が自らモードを切替える上記制御を行う
際、モデムが自ら受信したデータフレームをデフレーミ
ングしてそのデータフレームを解析することにより、そ
の解析の結果に基づいてRCPフレームであると判定し
て、モードを主チャンネル受信モードから制御チャンネ
ルモードに自動的に切換える制御を行っているので、主
チャンネル終了後75ms以内に到着する制御チャンネル
信号を取り逃がすことを確実に防止できる。また、同様
に、モデムが自ら受信したデータ信号を解析することに
より、その解析の結果に基づいてデータ転送中には発生
し得ない特殊パターンから成る制御チャンネル終了信号
を判定して、モードを制御チャンネルモードから主チャ
ンネル受信モードに自動的に切換える制御を行っている
ので、制御チャンネル終了後75ms以内に到着する主チ
ャンネル信号を取り逃がすことを確実に防止できるとい
う効果を奏することができる。
As is apparent from the above description, according to the present invention, when the modem itself performs the above control for switching the mode, the modem deframes the data frame received by itself and analyzes the data frame. According to the result of the analysis, it is determined that the frame is an RCP frame, and the control for automatically switching the mode from the main channel reception mode to the control channel mode is performed. It is possible to reliably prevent the channel signal from being missed. Similarly, by analyzing the data signal received by the modem itself, the control channel end signal consisting of a special pattern that cannot occur during data transfer is determined based on the result of the analysis, and the mode is controlled. Since the control for automatically switching from the channel mode to the main channel reception mode is performed, it is possible to reliably prevent the main channel signal arriving within 75 ms after the end of the control channel from being missed.

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

【図1】本発明の一実施例によるモデムの概略を示すブ
ロック図
FIG. 1 is a block diagram showing an outline of a modem according to an embodiment of the present invention.

【図2】図1におけるデュアルポートRAMのメモリ構
成を示したメモリ構成図
FIG. 2 is a memory configuration diagram showing a memory configuration of a dual port RAM in FIG.

【図3】チャネルブロックをアクセスするために必要な
チャンネルエリアの一例を示したメモリ構成図
FIG. 3 is a memory configuration diagram showing an example of a channel area required to access a channel block.

【図4】図3で示したチャンネルコマンドの詳細なビッ
ト割り付けの一例を示した図
FIG. 4 is a diagram showing an example of detailed bit allocation of the channel command shown in FIG.

【図5】図4で示したチャンネルステータスの詳細なビ
ット割り付けの一例を示した図
5 is a diagram showing an example of detailed bit allocation of the channel status shown in FIG.

【図6】デュアルポートRAM上のコマンドエリア、ステ
ータスエリア、バンクの関係を示した図
FIG. 6 is a diagram showing the relationship between the command area, status area, and bank on the dual port RAM.

【図7】コマンドエリアの詳細なビット割り付けの一例
を示したメモリ構成図
FIG. 7 is a memory configuration diagram showing an example of detailed bit allocation of a command area.

【図8】ステータスエリアの詳細なビット割り付けの一
例を示したメモリ構成図
FIG. 8 is a memory configuration diagram showing an example of detailed bit allocation of a status area.

【図9】送信割込みステータスを示したメモリの構成図FIG. 9 is a memory configuration diagram showing a transmission interrupt status.

【図10】受信割込みステータスを示したメモリ構成図FIG. 10 is a memory configuration diagram showing a reception interrupt status.

【図11】受信データのフレームチェックをした場合に
エラーフレームが検出された状態を示した図
FIG. 11 is a diagram showing a state in which an error frame is detected when a frame check of received data is performed.

【図12】(a)エラーフレームと判定された場合でも
そのフレームを格納した従来の状態を示すメモリ図 (b)エラーフレームと判定された場合にはそのフレー
ムを破棄する本発明の状態を示したメモリ図
FIG. 12A is a memory diagram showing a conventional state in which an error frame is stored even when it is determined to be an error frame. FIG. 12B shows a state of the present invention in which the frame is discarded when it is determined to be an error frame. Memory diagram

【図13】受信データにアボートの発生が検出された状
態を示した図
FIG. 13 is a diagram showing a state in which an occurrence of an abort has been detected in received data.

【図14】(a)エラーフレームと判定された場合でも
そのフレームを格納した従来の状態を示すメモリ図 (b)はエラーフレームと判定された場合にはそのフレ
ームを破棄する本発明の状態を示したメモリ図
FIG. 14A is a memory diagram showing a conventional state in which a frame is stored even when it is determined to be an error frame. FIG. 14B shows a state of the present invention in which the frame is discarded when it is determined to be an error frame. Memory diagram shown

【図15】本発明のモード切替え処理の一実施例をしめ
す制御フロー図
FIG. 15 is a control flow chart showing an embodiment of the mode switching processing of the present invention.

【図16】従来のモード切替え処理を示したフロー図FIG. 16 is a flowchart showing conventional mode switching processing.

【図17】V.34半二重モードを使用するFAXシー
ケンスの受信側フロー図
FIG. 17: V. 34 Receiver flow diagram for fax sequence using half-duplex mode

【図18】RCP検知によるモデムモード切替えを示し
た説明図
FIG. 18 is an explanatory diagram showing modem mode switching by RCP detection.

【図19】V.34モードでFAX/データ通信する場
合のタイミング例を示した図
FIG. The figure which showed the example of the timing at the time of FAX / data communication in 34 mode.

【図20】本発明の一実施例を示すモデムの回路構成図FIG. 20 is a circuit configuration diagram of a modem showing an embodiment of the present invention.

【図21】EQM算出部を619の内部ブロック図FIG. 21 is an internal block diagram of the EQM calculation unit 619.

【図22】データ受信モードにおいて、図20に示した
制御部620aが実行すべきフローチャート
22 is a flowchart to be executed by the control unit 620a shown in FIG. 20 in the data reception mode.

【図23】V.34半二重モードの手順を概略的に示し
たシーケンス図
FIG. 23. 34 Sequence diagram schematically showing the procedure of half-duplex mode

【図24】従来技術のDTEとモデムのインタフェース
を示すブロック図
FIG. 24 is a block diagram showing a conventional DTE / modem interface.

【図25】インタフェースを用いたV.34規格以前の
モデム制御シーケンス例を示した図
FIG. 25 shows V. The figure which showed the example of the modem control sequence before the 34 standard

【図26】インタフェースを用いてV.34規格のモデ
ムを制御するシーケンス例を示した図
FIG. 26 is a diagram showing a case where V. The figure which showed the example of a sequence which controls the modem of 34 standards.

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

11 モデム 111 回線制御部 112 アナログFEP 113 DSP 114 デュアルポートRAM 115 割込制御部 12 ファクシミリ制御装置(DTE) 121 コンソール 122 画像データの圧縮/伸張部 123 画像読み取り/記録部 123 124 ワーキングRAM 125 CPU 11 modem 111 Line control unit 112 analog FEP 113 DSP 114 dual port RAM 115 Interrupt control unit 12 Facsimile controller (DTE) 121 console 122 Image data compression / decompression unit 123 Image reading / recording unit 123 124 Working RAM 125 CPU

───────────────────────────────────────────────────── フロントページの続き (72)発明者 片山 英三 東京都目黒区下目黒2丁目3番8号 松 下電送システム株式会社内 (72)発明者 高木 元三 東京都目黒区下目黒2丁目3番8号 松 下電送システム株式会社内 (72)発明者 野口 好博 東京都目黒区下目黒2丁目3番8号 松 下電送システム株式会社内 (72)発明者 荒木 光弘 東京都目黒区下目黒2丁目3番8号 松 下電送システム株式会社内 (56)参考文献 特開 平4−345364(JP,A) 特開 昭61−234154(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 29/00 H04M 11/00 303 H04N 1/32 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Eizo Katayama 2-3-8 Shimomeguro, Meguro-ku, Tokyo Matsushita Transmission System Co., Ltd. (72) Inventor Genzo Takagi 2-chome, Shimomeguro, Meguro-ku, Tokyo 3-8 Matsushita Transmission System Co., Ltd. (72) Inventor Yoshihiro Noguchi 2-3-8 Shimomeguro, Meguro-ku, Tokyo Matsushita Transmission System Co., Ltd. (72) Inventor Mitsuhiro Araki Shimogane, Meguro-ku, Tokyo Meguro 2-chome 3-8 Matsushita Electric Transmission Systems Co., Ltd. (56) References JP-A-4-345364 (JP, A) JP-A-61-234154 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 29/00 H04M 11/00 303 H04N 1/32

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 シーケンス制御を行うための動作モード
の設定を行うDTEから動作モードの設定を受け、この
設定された動作モードを実行する実行手段と、この実行
手段による動作モードの終了を、外部回線から受信する
RCPフレームを検出することにより判定する判定手段
と、この判定手段によりRCPフレームを検出したと判
定すると、自己の動作モードを主チャンネル受信モード
から制御チャンネルモードに切り替える制御手段とを備
える変復調装置。
1. An operation mode for performing sequence control
The operation mode setting is received from the DTE
Execution means for executing the set operation mode and this execution
The end of the operation mode by means is received from the external line.
Judgment means for judging by detecting RCP frame
Then, it is determined that the RCP frame is detected by this determination means.
Set to the main channel reception mode.
From the control channel mode to the control channel mode
Modulator and demodulator.
【請求項2】 シーケンス制御を行うための動作モード
の設定を行うDTEから動作モードの設定を受け、この
設定された動作モードを実行する実行手段と、この実行
手段による動作モードの終了を、外部回線から受信する
所定パターンからなる信号を検出することにより判定す
る判定手段と、この判定手段により動作モードの終了と
判定すると、自己の動作モードを制御チャンネルモード
から主チャンネル受信モードに切り替える制御手段とを
備える変復調装置。
2. An operation mode for performing sequence control
The operation mode setting is received from the DTE
Execution means for executing the set operation mode and this execution
The end of the operation mode by means is received from the external line.
Judgment by detecting a signal consisting of a predetermined pattern
And the end of the operation mode by this determination means.
If judged, the self operation mode is controlled channel mode
From the main channel reception mode to the control means
A modulation / demodulation device provided.
【請求項3】 前記所定パターンからなる信号は、デー
タ転送中にはありえないパターンからなることを特徴と
する請求項2記載の変復調装置。
3. A signal having the predetermined pattern is a data
It consists of patterns that cannot occur during data transfer.
The modulation / demodulation device according to claim 2.
【請求項4】 前記制御手段での動作モードの切り換え
を行ったことをDTE側に通知する通知手段とを備える
ことを特徴とする請求項1乃至3記載の変復調装置。
4. Switching of operation modes in said control means
And a notification means for notifying the DTE side that
The modulation / demodulation device according to any one of claims 1 to 3, wherein
【請求項5】 シーケンス制御を行うための動作モード
設定の指示を行うDTEと、このDTEからの指示によ
る動作モードを実行するモデムとを備える画像通信装置
において、 前記モデムは、前記DTEからの指示による動作モード
を実行する実行手段と、この実行手段による動作モード
の終了を、外部回線から受信するRCPフレームを検出
することにより判定する判定手段と、この判定手段によ
りRCPフレームを検出したと判定すると、自己の動作
モードを主チャンネル受信モードから制御チャンネルモ
ードに切り替える制御手段とを備えることを特徴とする
画像通信装置。
5. An operation mode for performing sequence control
According to the DTE that gives the setting instruction and the instruction from this DTE
Image communication apparatus including a modem that executes a certain operation mode
In the mode, the modem operates in an operation mode instructed by the DTE.
Execution means for executing and the operation mode by this execution means
Detection of RCP frame received from external line
The determination means for determining by
When it is determined that an RCP frame has been detected,
Change the mode from the main channel reception mode to the control channel mode.
Control means for switching to a mode
Image communication device.
【請求項6】 シーケンス制御を行うための動作モード
設定の指示を行うDTEと、このDTEからの指示によ
る動作モードを実行するモデムとを備える画像 通信装置
において、 前記モデムは、DTEからの指示による動作モードを実
行する実行手段と、この実行手段による動作モードの終
了を、外部回線から受信する所定パターンからなる信号
を検出することにより判定する判定手段と、この判定手
段により動作モードの終了と判定すると、自己の動作モ
ードを制御チャンネルモードから主チャンネル受信モー
ドに切り替える制御手段とを備えることを特徴とする画
像通信装置。
6. An operation mode for performing sequence control
According to the DTE that gives the setting instruction and the instruction from this DTE
Image communication apparatus including a modem that executes a certain operation mode
In the above, the modem implements the operation mode according to the instruction from the DTE.
The executing means to execute and the end of the operation mode by this executing means.
Is received from an external line and has a predetermined pattern.
The determination means for determining by detecting
If the stage determines that the operation mode has ended,
From the control channel mode to the main channel reception mode.
A control means for switching to
Image communication device.
【請求項7】 前記所定パターンからなる信号は、デー
タ転送中にはありえないパターンからなることを特徴と
する請求項6記載の画像通信装置。
7. A signal comprising the predetermined pattern is a data
It consists of patterns that cannot occur during data transfer.
The image communication device according to claim 6.
【請求項8】 前記モデムは、前記制御手段での動作モ
ードの切り換えを行ったことを前記DTEに通知する通
知手段とを備えることを特徴とする請求項5乃至7記載
の画像通信装置。
8. The modem operates in the control means.
To notify the DTE that the mode has been switched.
8. An intelligence means is provided, The said means characterized by the above-mentioned.
Image communication device.
【請求項9】 シーケンス制御を行うための動作モード
設定の指示を行うDTEと、このDTEからの指示によ
る動作モードを実行するモデムとを用いた通信方法にお
いて、 前記モデムは、前記DTEからの指示による動作モード
を実行する実行ステップと、この実行ステップによる動
作モードの終了を、外部回線から受信するRCPフレー
ムを検出することにより判定する判定ステップと、この
判定ステップによりRCPフレームを検出したと判定す
ると、自己の動作モードを主チャンネル受信モードから
制御チャンネルモードに切り替える切替ステップとを備
えることを特徴とする画像通信方法。
9. An operation mode for performing sequence control
According to the DTE that gives the setting instruction and the instruction from this DTE
The communication method using a modem that executes the
And the modem operates in the operation mode instructed by the DTE.
The execution step that executes the
RCP frame that receives the end of the work mode from the external line
The determination step of determining by detecting the
It is determined that the RCP frame is detected in the determination step.
Then, the self operation mode is changed from the main channel reception mode.
Equipped with a switching step to switch to control channel mode
An image communication method characterized by the following.
【請求項10】 シーケンス制御を行うための動作モー
ド設定の指示を行うDTEと、このDTEからの指示に
よる動作モードを実行するモデムとを用いた画像通信方
法において、 前記モデムは、DTEからの指示による動作モードを実
行する実行ステップと、この実行ステップによる動作モ
ードの終了を、外部回線から受信する所定パターンから
なる信号を検出することにより判定する判定ステップ
と、この判定ステップにより動作終了と判定すると、自
己の動作モードを制御チャンネルモードから主チャンネ
ル受信モードに切り替える切替ステップとを備えること
を特徴とす る画像通信方法。
10. An operation mode for performing sequence control.
The DTE that gives the instruction to set the mode and the instruction from this DTE.
Image communication method using a modem that executes the operation mode according to
According to the method, the modem implements the operation mode instructed by the DTE.
The execution step to be performed and the operation mode by this execution step
The end of the command from a predetermined pattern received from an external line
Judgment step to judge by detecting the signal
Then, if it is determined that the operation is completed by this determination step,
Control your operating mode from channel mode to main channel
A switching step for switching to a reception mode
Image communication way to said.
【請求項11】 前記所定パターンからなる信号は、デ
ータ転送中にはありえないパターンからなることを特徴
とする請求項10記載の画像通信方法。
11. A signal having the predetermined pattern is a data
Characterized by patterns that cannot occur during data transfer
The image communication method according to claim 10.
【請求項12】 前記制御ステップでのモードの切り換
えを行ったことをDTEに通知する通知ステップとを備
えることを特徴とする請求項9乃至11記載の画像通信
方法。
12. Mode switching in the control step
A notification step for notifying the DTE that the
The image communication according to claim 9, wherein
Method.
JP2000021661A 1995-06-14 2000-01-31 Modulation / demodulation device, image communication device, and image communication method Expired - Lifetime JP3440046B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000021661A JP3440046B2 (en) 1995-06-14 2000-01-31 Modulation / demodulation device, image communication device, and image communication method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-147235 1995-06-14
JP14723595 1995-06-14
JP2000021661A JP3440046B2 (en) 1995-06-14 2000-01-31 Modulation / demodulation device, image communication device, and image communication method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11141885A Division JP2000049899A (en) 1995-06-14 1999-05-21 Modem

Publications (2)

Publication Number Publication Date
JP2000324197A JP2000324197A (en) 2000-11-24
JP3440046B2 true JP3440046B2 (en) 2003-08-25

Family

ID=27806795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000021661A Expired - Lifetime JP3440046B2 (en) 1995-06-14 2000-01-31 Modulation / demodulation device, image communication device, and image communication method

Country Status (1)

Country Link
JP (1) JP3440046B2 (en)

Also Published As

Publication number Publication date
JP2000324197A (en) 2000-11-24

Similar Documents

Publication Publication Date Title
JP2978433B2 (en) Modulation / demodulation device, communication device and facsimile device
TW318309B (en)
US5197067A (en) Packet communication system using a telephone switching network and a data flow control method
JP3719620B2 (en) Facsimile machine
JP3440046B2 (en) Modulation / demodulation device, image communication device, and image communication method
US7006261B1 (en) Modulator and demodulator (MODEM)
JPH1141433A (en) Communication equipment
JP2000049899A (en) Modem
JP2000184167A (en) Image communication equipment
JP3674072B2 (en) Facsimile communication method and facsimile apparatus
JPH1188632A (en) Communication equipment
US5970087A (en) Transmission device
JP3518243B2 (en) Communication control method and communication terminal device
JP2633502B2 (en) Modem with error correction function
JPH07240827A (en) Facsimile equipment
JP3466915B2 (en) Facsimile communication control device
JP3022376B2 (en) Facsimile apparatus capable of changing communication speed and communication speed changing method
JP3870520B2 (en) Communication terminal device with external device connection function
JP2527662B2 (en) Fax machine
JPH10327309A (en) Facsimile equipment and facsimile communication control method
JPH1070589A (en) Communication equipment
JPH04294678A (en) Modem device for facsimile equipment
JPH10294774A (en) Communication terminal equipment
JPH0244431B2 (en)
JPH10285375A (en) Communication terminal equipment

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 10

EXPY Cancellation because of completion of term