JPS61198869A - Picture image communication equipment - Google Patents

Picture image communication equipment

Info

Publication number
JPS61198869A
JPS61198869A JP60037368A JP3736885A JPS61198869A JP S61198869 A JPS61198869 A JP S61198869A JP 60037368 A JP60037368 A JP 60037368A JP 3736885 A JP3736885 A JP 3736885A JP S61198869 A JPS61198869 A JP S61198869A
Authority
JP
Japan
Prior art keywords
signal
line
data
retransmission
error
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
JP60037368A
Other languages
Japanese (ja)
Other versions
JP2572028B2 (en
Inventor
Takehiro Yoshida
武弘 吉田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60037368A priority Critical patent/JP2572028B2/en
Priority to CN198686101893A priority patent/CN86101893A/en
Priority to DE3650619T priority patent/DE3650619T2/en
Priority to EP86301466A priority patent/EP0193410A3/en
Priority to EP92203414A priority patent/EP0532130B1/en
Publication of JPS61198869A publication Critical patent/JPS61198869A/en
Priority to US07/110,542 priority patent/US4829524A/en
Priority to CN91101085A priority patent/CN1046177C/en
Application granted granted Critical
Publication of JP2572028B2 publication Critical patent/JP2572028B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain efficient missing data retransmission even with a delay on a line by providing a means returning code information corresponding to area information to a transmission side and requesting the retransmission of the area information and a means setting variably the criterion for retransmission request so as to set permissible retransmission request. CONSTITUTION:Since a line number is added after the 'EOL' (line end code) by the modified Huffman code or the modified read code, the condition for retransmission request is set optionally by a reception side. When an error takes place only at one line at the reception side, for example, it is discriminated as the excellent reception and the retransmission request is applied after a consecutive error of >=2 lines takes place. In applying the retransmission request above, for example, a line number is sent at each line from the transmission side and the reception side changes the algorithm for discrimination of received picture defect. In applying the change in various conditions as above, the consecutive permissible error line is set optionally.

Description

【発明の詳細な説明】 [技術分野] 本発明は、画情報を複数のエリア情報に分割して伝送を
行う画像通信装置に関するものである。
Detailed Description of the Invention [Technical Field] The present invention relates to an image communication device that divides image information into a plurality of area information and transmits the divided information.

更に詳述すれば、本発明は1画情報の再送訂正を効率よ
く行い得るよう構成した画像通信装置に関するものであ
る。
More specifically, the present invention relates to an image communication device configured to efficiently perform retransmission correction of single-picture information.

(以下、余白) 〔従来技術〕 この種の画像通信装置として、ファクシミリ装置を取り
挙げ、以下に示す項目に従って従来技術を其体的に説明
していく。
(Hereinafter, blank spaces) [Prior Art] A facsimile machine will be taken up as an example of this type of image communication device, and the prior art will be explained in detail according to the items shown below.

!tl   HDLCフレーム構成の説明(第1図使用
)62   HDLCフレーム構成を用いた誤り再送の
具体例C第2図使用) !3a   HDLCフレーム構成を用いて誤り再送を
行うことにより生じる問題点 931 回線エラーに対する影響 932 エラーが生じたビット位置による影響(PA3
A3用) 53.3 通信回線が有する伝播遅延特性に基づ〈影1
(第4図使用) 53.4 符号化の困難さ 94  従来から知られている誤り再送方式の欠与 54.1  フォールバックに関して fi4.2  トレー二/グ信号の受信に失敗した場合
の処理に関して(第5図〜第7図 使用) 94.3  EOLを検出できない場合の処理に関して 944 画信号の送出が終了した場合の処理に関して 94.5 再送開始ライン等の指示信号を送出した後の
処理に関して 94、e  ’fAり再送モードの選択に関してi  
HDLCフレーム構成の説明 電話回線などの通信回線を介してデータ伝送を行う場合
には、通信回線の瞬断、雑音、ひずみなどの影響により
、一定の確立でデータに誤りが生ずる。このデータの誤
りを検出するために、受信データに対して所定の演算等
を施し、一定のルールが維持されているか否かの判定が
行われている6そして、誤りが検出された場合には、予
め定められている伝送制御手順に従い、誤りデータを含
んでいる情報データ群を再び送出するという手法が採ら
れている。
! tl Explanation of HDLC Frame Structure (Using Figure 1) 62 Specific Example of Error Retransmission Using HDLC Frame Structure C (Using Figure 2)! 3a Problems caused by error retransmission using HDLC frame structure 931 Effect on line error 932 Effect of bit position where error occurs (PA3
(for A3) 53.3 Based on the propagation delay characteristics of the communication line (Shadow 1)
(Use Figure 4) 53.4 Difficulty in encoding 94 Lack of conventionally known error retransmission methods 54.1 Regarding fallback FI4.2 Regarding processing when reception of training signal fails (Used in Figures 5 to 7) 94.3 Processing when EOL cannot be detected 944 Processing when image signal transmission has ended 94.5 Processing after sending an instruction signal such as a retransmission start line etc. 94, e 'fA retransmission mode selection i
Description of HDLC Frame Structure When data is transmitted via a communication line such as a telephone line, there is a certain probability that errors will occur in the data due to instantaneous interruptions, noise, distortion, etc. of the communication line. In order to detect errors in this data, predetermined calculations, etc. are performed on the received data, and it is determined whether certain rules are maintained6.Then, if an error is detected, , a method is adopted in which a group of information data containing erroneous data is sent out again according to a predetermined transmission control procedure.

かかる自動再送要求方式(ARQ:automatic
repeat  request)は電話回線などを用
いて半二重伝送を行う場合に用いられる手法であり、ハ
イレベルデータリンク制御手順()IDLc:high
 1eveldata 1ink  control 
procedure)に従って行われる。このHDLC
とは、データ伝送回線を経由してデータ端末装置 (D
TE)相互の間で高能率のデータ伝送を可能とし、かつ
いかなる符号体系にも依存せずに任意のビット列を伝送
できるビットトランスペアレントな回期式の伝送制御手
順である。
This automatic retransmission request method (ARQ)
repeat request) is a method used when performing half-duplex transmission using a telephone line, etc., and is a high-level data link control procedure ()IDLc:high
1 level data 1 ink control
It is carried out according to the following procedure. This HDLC
is a data terminal equipment (D
TE) is a bit-transparent cyclic transmission control procedure that enables highly efficient data transmission between each other and can transmit any bit string without depending on any coding system.

HOLC手順では、任意のビット列の情報およびリンク
制御情報を、転送単位であるフレームによって伝送する
。フレームの開始および終了はフラグシーケンス(01
111110)で示す。
In the HOLC procedure, arbitrary bit string information and link control information are transmitted using a frame, which is a transfer unit. The start and end of a frame are flag sequences (01
111110).

第1図は、I(DLC手順のフレームフォーマットを示
す4図示したフラグシーケンスはフレーム同期用の信号
であり、1個以ヒのフラグシーケンスの送受信によりフ
レームの同期がと、られる。また、フレームで転送する
情報の中にフラグシーケンスと同じビット列が出現する
と、受信側はそれをフレームの終了と見なす、これを防
ぐため、フレームの情報中に5個の連続するピッドI 
IIのパターンが出現した場合、送信側はその直後にビ
ット“O゛を一つ強制的に挿入して送信し、受信側では
5個の連続したビット“1°゛のパターンに続いて受信
する一つのビット“0′°を除去する方法(ゼロビット
挿入方式)を用いて、転送するデータの透過性を保証す
る。
Figure 1 shows the frame format of the DLC procedure.The flag sequence shown in Figure 4 is a signal for frame synchronization, and frame synchronization is achieved by transmitting and receiving one or more flag sequences. When the same bit string as the flag sequence appears in the information to be transferred, the receiving side considers it to be the end of the frame.To prevent this, five consecutive PID Is appear in the information of the frame.
When pattern II appears, the transmitting side forcibly inserts one bit “O゛” immediately after it and transmits it, and the receiving side receives it following the pattern of five consecutive bits “1°”. Transparency of transferred data is guaranteed by using a method of removing one bit "0'° (zero bit insertion method).

アドレスフィールドは、そのフレームを送受信する局に
割り当てたアドレスを2進符号(例えば、+11111
11)で示す、そのフレームを受信する側の局のアドレ
スをもつフレームはコマンドフレームであり、送信する
側の局のアドレスをもつフレームはレスポンスフレーム
である。
The address field contains the address assigned to the station transmitting and receiving the frame in binary code (for example, +11111
The frame indicated by 11) having the address of the station on the receiving side is a command frame, and the frame having the address of the station on the transmitting side is a response frame.

制御フィールドは、フレームがコマンドの場合には相手
局に対する動作の指令を、また、フレームがレスポンス
の場合にはコマンドフレームの指令に対する応答などを
示す。
If the frame is a command, the control field indicates an instruction to the other station, and if the frame is a response, it indicates a response to the command in the command frame.

フレームチx ツクシーケンス(FC5:fratse
checking 5equence)は、フレームの
伝送誤り検出用の18ビツトのシーケンスであり、生成
多項式X” +X + ×5+lによる演算結果を示す
、演算対象はフレームのアドレスフィールドの始めから
情報フィールドの終りまでである。
Frame check sequence (FC5: fratse)
Checking 5 sequence) is an 18-bit sequence for detecting frame transmission errors, and indicates the result of calculation using the generator polynomial X'' + .

情報フィールドの長さは任意(例えば、512バイトす
なわち512X8ビツト)である。
The length of the information field is arbitrary (eg, 512 bytes or 512 x 8 bits).

+32  HDLCフレームWi成を用いた誤り再送の
具体例 第2図は、第1図に示したHDLCフレームデータを用
いて誤り再送を行ったときの具体例を示す。
+32 Specific example of error retransmission using HDLC frame Wi configuration FIG. 2 shows a specific example of error retransmission using the HDLC frame data shown in FIG.

すなわち、受信側があるフレームを受信した時にエラー
が生じていない場合にはACK信号を送出し、また、エ
ラーが発生している場合にはNACK信号を送出してい
る。
That is, when the receiving side receives a certain frame, if no error has occurred, it sends out an ACK signal, and if an error has occurred, it sends out a NACK signal.

これに対し、送信側では、フレームNの送信中に検出し
たACK信号に応答して、フレームNの送出後にフレー
ムN+1の送出を行う。
On the other hand, on the transmitting side, in response to the ACK signal detected during frame N transmission, frame N+1 is transmitted after frame N is transmitted.

他方、あるフレームNの送出中にNACK信号を検出し
た場合、あるいはACK信号を検出し得なかった場合に
は、フレームNを送出した後にフレームN−1の再送を
行う、そして、同一フレームについて、所定回数以上の
NACK信号を検出したとき、あるいは、 ACK信号
を全く検出しないときには。
On the other hand, if a NACK signal is detected while transmitting a certain frame N, or if an ACK signal cannot be detected, frame N-1 is retransmitted after transmitting frame N, and for the same frame, When a NACK signal is detected a predetermined number of times or more, or when no ACK signal is detected at all.

フォールバック(fat 1back)を行う制御が行
われる。
Control is performed to perform fallback (fat 1back).

このように、送信側からフレーム化されたデータを送出
し受信側において受信を行う場合、第2図に示すように
受信側においてはフレームNに関してエラーが発生せず
、フレームN+1の受信時にエラーが発生した場合には
、次のような制御が行われる。すなわち、受信側はフレ
ームNを受信した後にACK信号を送出し、フレームN
+1を受信した後にNACK信号を送出する。
In this way, when framed data is sent from the transmitting side and received by the receiving side, no error occurs on the receiving side regarding frame N, but an error occurs when receiving frame N+1, as shown in Figure 2. If this occurs, the following control is performed. That is, the receiving side sends an ACK signal after receiving frame N, and
After receiving +1, it sends out a NACK signal.

これに対して、送信側ではフレームN+1を送出中にA
CK信号を受信することになるので、フレームN+1を
送出した後にフレームN+2の送出を行う、更に送信側
では、フレームN+2の送出中にNACK信号を受信す
ることになるので、フレームN+2の送出後に再びフレ
ームN+1の送出を行う。
On the other hand, on the transmitting side, A
Since the CK signal will be received, frame N+2 will be sent after frame N+1 is sent.Furthermore, the sending side will receive the NACK signal while frame N+2 is being sent, so it will be sent again after frame N+2 is sent. Frame N+1 is sent.

受信側ではフレームN+1に対する上記NACK信号を
送出した後、フレームN+2にエラーが発生するか否か
に拘りなく、フレームN+2の受信後にACK信号を送
出する。かくして、受信側はフレームN+1の受信待ち
状態となる。そして、フレームN+2に続いて送出され
る再送フレームN+1にはエラーが発生していない場合
、受信側は再送フレームN+1を受信した後に、 AC
K信号を送出する。
After transmitting the NACK signal for frame N+1, the receiving side transmits the ACK signal after receiving frame N+2, regardless of whether an error occurs in frame N+2. Thus, the receiving side enters a state of waiting for reception of frame N+1. Then, if no error occurs in retransmitted frame N+1 that is sent following frame N+2, the receiving side performs AC control after receiving retransmitted frame N+1.
Send K signal.

他方、送信側では再送フレームN+1を送出中にACK
信号を受信することになるので、再送フレームN+1を
送出した後に再びフレームN+2の送信を行う、そして
、フレームN+2を送出中に受信したACK信号に応答
して、フレームN+2の送出後にフレームN+3の送出
を行う。
On the other hand, the transmitting side receives ACK while sending retransmission frame N+1.
Since the signal will be received, frame N+2 is transmitted again after retransmitting frame N+1, and frame N+3 is transmitted after frame N+2 is transmitted in response to the ACK signal received while frame N+2 is being transmitted. I do.

!)a  HDLCフレームを用いて誤り再送を行うこ
とにより生じる問題点 従来から知られている再送訂正方式ARQを用いた画像
通信装置は、このようにHDLCフレーム構成を採用し
ているので、主として以下に述べる問題点があった。
! )a Problems caused by performing error retransmission using HDLC frames Image communication devices using the conventionally known retransmission correction method ARQ adopt the HDLC frame structure as described above, so they mainly have the following problems. There were some problems to mention.

93.1 回線エラーに対する影響について)IDIJ
:フレームを用いて伝送すべき信号をブロック化してい
るので、受信側においては、イ)そのブロックの中にエ
ラーが全く生じなかったか、あるいは、口)1ビツト以
上のエラーが生じたかということを判断することができ
る。このため、受信側では、1ビツトもエラーのない良
好な画像を再現することが可能である。
93.1 Effect on line errors) IDIJ
:Since the signal to be transmitted is divided into blocks using frames, the receiving side can determine whether a) no errors have occurred in that block, or b) whether one or more bits of errors have occurred. can be judged. Therefore, on the receiving side, it is possible to reproduce a good image without even a single bit error.

しかし、あるブロックに関して受信エラーが生じた場合
、どの程度のエラーであったかということを判断するこ
とはできない、すなわち、受信側では、単にそのブロッ
クにエラーが全く生じなかったか、あるいは、そのブロ
ックにエラーが存在したのか(すなわち、第1ビツト目
から第×ビアh目(×はブロックサイズ、画情報により
異なる)のいずれかを特定することはできない)という
二者択一的な判断しかできなかった。
However, when a reception error occurs for a certain block, it is not possible to determine the extent of the error. (In other words, it is not possible to specify from the 1st bit to the xth via h (x varies depending on the block size and image information)). .

従って1日本など回線状態が良い状況下においてH[l
LC:フレームにより信号をブロック化するのは有効で
あるが(すなわち、回線状況の良い場合には、1ビツト
もエラーのない画像を受@機側で再現することができる
が)、回線状態が悪い場合には、 HDLCフレームに
含まれる数ビットが受信エラーとなる確率が高くなる。
Therefore, under conditions such as Japan where the line condition is good, H[l
LC: Although it is effective to block signals using frames (that is, when the line conditions are good, it is possible to reproduce an image without even a single bit error on the receiver side), but if the line condition is In the worst case, there is a high probability that several bits included in the HDLC frame will be received errors.

このため、再送回数が多くなるという欠点がみられた。For this reason, there was a drawback that the number of retransmissions increased.

93.2  エラーが生じたビット位置による影響につ
いて HDLCフレームを用いて伝送すべき信号をブロック化
しているので、ブロックのどのビット位置でエラーが発
生した場合にも、ブロックの先頭から再送を行う必要が
ある。例えば第3図に示すように、(ア)で示す部分の
データにエラーが発生した場合においても、ブロックの
先頭、すなわち(イ)のところのデータから再送を行う
必要がある。このために、伝送効率を向上させることが
できないという欠点があった。
93.2 Regarding the influence of the bit position where an error occurs Since the signal to be transmitted is divided into blocks using HDLC frames, it is necessary to retransmit from the beginning of the block even if an error occurs at any bit position of the block. There is. For example, as shown in FIG. 3, even if an error occurs in the data in the portion (a), it is necessary to retransmit the data starting from the beginning of the block, that is, the data in (b). For this reason, there is a drawback that transmission efficiency cannot be improved.

53.3  通信回線が有する伝播遅延特性に基づく影
響について 送信側では、あるフレームNの送出期間中に先に送出し
たフレームN−1が受信側に正しく受信されたか否かを
判断する。しかし、この場合にも、回線が固有的に有す
る遅延時間に起因して、AGK信号を受信し得ない事態
が生じることがある。その具体例を第4図を参照して説
明する。いま、lブロックのデータを伝送するのに要す
る時間をTf、送信側から受信側へ信号を伝達する際に
生じる遅延時間をTdとすると、Tf>27dである必
要がある。このように、ブロックサイズに応じて、許さ
れる回線上の遅延時間が規定されてしまうという欠点が
ある。そこで、回線上の遅延時間を長く許容できるよう
にするためには、ブロックサイズを大きくする方法が考
えられる。しかし、ブロックサイズを大きくすると、上
述した193.2  エラーが生じたビット位置による
影響について」の項で述べた欠点が顕著に表われてきて
しまうという欠点が生じていた。
53.3 Effects Based on Propagation Delay Characteristics of Communication Lines On the transmitting side, during the transmission period of a certain frame N, it is determined whether or not the previously transmitted frame N-1 was correctly received by the receiving side. However, even in this case, a situation may arise in which the AGK signal cannot be received due to the delay time inherent in the line. A specific example will be explained with reference to FIG. Now, assuming that the time required to transmit one block of data is Tf, and the delay time that occurs when transmitting a signal from the transmitting side to the receiving side is Td, it is necessary that Tf>27d. In this way, there is a drawback that the permissible delay time on the line is defined depending on the block size. Therefore, in order to allow a longer delay time on the line, a method of increasing the block size can be considered. However, when the block size is increased, the drawbacks mentioned in section 193.2 "Influence of bit position where error occurs" become more apparent.

93.4 符号化の困難さ新たな設計を行うために、符
号化作成に要する時間が余分に費されてしまうという欠
点がみられた。
93.4 Difficulty in encoding A drawback was that the new design required additional time to create the encoding.

54従来から知られている誤り再送方式の欠点54.1
  フォールパックに関して 従来の誤り再送方式においては、受信側装置において受
信エラーが発生した場合に再送要求を行うよう構成され
ていた。また、ある原稿を伝送中に、誤り再送がある一
定回数(例えば3回)以上行われた場合には、フォール
パー2り(伝送スピードを下げること)が行われていた
54 Disadvantages of conventionally known error retransmission methods 54.1
Regarding fall packs, conventional error retransmission systems are configured to issue a retransmission request when a reception error occurs in a receiving device. Furthermore, if an error retransmission is performed a certain number of times (for example, three times) or more during transmission of a certain document, faller 2 (reducing the transmission speed) is performed.

従って、回線の状8(特性)に変化がなく所定の伝送ス
ピード(例えば4800bi t/5ea)による受信
が可能である場合にも、インパルス性のノイズが回線に
重畳されたような場合(例えば、1枚の原稿を伝送中に
インパルスノイズが3回発生した場合)にはフォールパ
ックしてしまうことになる。
Therefore, even if there is no change in the state (characteristics) of the line and reception is possible at a predetermined transmission speed (for example, 4800 bits/5ea), if impulsive noise is superimposed on the line (for example, If impulse noise occurs three times while transmitting one document, fall pack will occur.

同様に、回線が定常状態にあるにも拘らず所定の伝送ス
ピードによる受信が不可能な場合、誤り再送が続けて3
回発生したときにはフォールパックが行われる。
Similarly, if reception is not possible at the specified transmission speed even though the line is in a steady state, erroneous retransmissions occur three times in a row.
When this occurs twice, a fall pack is performed.

haした後者の場合には、フォールバックすることによ
り、受信エラーを無くす可能性が有るので 石、#義な
フォールバックである。しかし、前者の場合には、たと
えフォールバックを行ったとしても インパルス性のノ
イズに起因して受信側には再びエラーが発生してしまう
ことになる。よって、前者の場合にフォールバックを行
うことは無駄である。
In the latter case, fallback is a reasonable fallback because there is a possibility of eliminating reception errors. However, in the former case, even if fallback is performed, an error will occur again on the receiving side due to impulsive noise. Therefore, it is wasteful to perform a fallback in the former case.

このように従来の誤り再送方式にあっては、無駄なフォ
ールバックが行われており、伝送時間を不要に長くして
いたという欠点がみられた。
As described above, the conventional error retransmission system has the disadvantage that useless fallbacks are performed and the transmission time is unnecessarily long.

64.2   )レーニング信号の受信に失敗した場合
の処理に関して 従来から知られている画像通信方式においては、トレー
ニング信号の受信に失敗した場合、受信側では直ちにエ
ラーとなり、他方、送信側では1枚の原稿の伝送を終了
した後にエラーとなるよう構成されていた。このように
、画伝送は行われていないにも拘らず、1枚の原稿の伝
送が終了するまで回線を占有したままとなり、料金が無
駄になるという大きな欠点があった。
64.2) Processing when training signal reception fails In conventionally known image communication systems, when training signal reception fails, an error immediately occurs on the receiving side, while the transmitting side receives only one image. The configuration was such that an error would occur after the transmission of the original was completed. In this way, even though image transmission is not being performed, the line remains occupied until the transmission of one original document is completed, resulting in a major drawback in that charges are wasted.

第5図は、従来の誤り再送方式において受信側装置がト
レーニング信号の受信に失敗したときの動作例を示すも
のである。
FIG. 5 shows an example of the operation when the receiving device fails to receive the training signal in the conventional error retransmission method.

ここで、NSFは非標準装置、 C5■は被呼局識別、 DISはディジタル識別信号、 NSSは非標準装置設定、 TSIは送信端末識別、 DOSはディジタル命令信号、 TCFはトレーニングチェック・ CFRは受信準備確認、 EOPは手順終了、 DCNは切断命令。Here, NSF is non-standard equipment, C5■ is the called station identification, DIS is a digital identification signal, NSS is a non-standard device setting, TSI is transmitting terminal identification, DOS is a digital command signal, TCF is a training check. CFR confirms reception preparation, EOP has completed the procedure, DCN is a disconnection order.

を表す(CIjTT勧告 T、30参照)。(see CIjTT Recommendation T, 30).

第6図(1)〜(3)に示す波形図は、受信側装置がト
レーニング信号の受信を行い、トレーニング信号の受信
に成功した場合の状態を示している。
The waveform diagrams shown in FIGS. 6(1) to 6(3) show the state when the receiving side device receives the training signal and succeeds in receiving the training signal.

本図において、(1)は回線上の信号を示している。本
図(B)は、回線上に信号が有るか否かを表す信号有無
(SED:Signal Energ7 Detect
)テあり、信号有状態を検出している時はハイレベルを
呈する0本図(C)は、所定の伝送スピードで送出され
る有効データを検出したか否かを示すキャリアディチク
) (CD)であり、所定の伝送スピードでの有効デー
タを検出している時は、ハイレベルを呈する。
In this figure, (1) indicates a signal on the line. This figure (B) shows the presence/absence of a signal (SED), which indicates whether or not there is a signal on the line.
) indicates a high level when a signal presence state is detected.Figure (C) indicates whether or not valid data transmitted at a predetermined transmission speed has been detected. ), and exhibits a high level when valid data is detected at a predetermined transmission speed.

これら第6図(+)〜(3)に明らかなように、SED
がハイレベルであり且つCDがローレベルの期間(Tr
) 、  トレーニング信号の受信が行われていること
になる( 2400bit/SのときTr=1158m
S。
As is clear from these Figures 6 (+) to (3), SED
is at a high level and CD is at a low level (Tr
), the training signal is being received (Tr=1158m at 2400bit/S)
S.

48QOb i t/SのときTr=923置S)。When 48QOb i t/S, Tr=923 position S).

第7図に示すフローチャートは、従来の装置におけるト
レーニング信号/画信号を受信するための制御手順を示
している。
The flowchart shown in FIG. 7 shows a control procedure for receiving a training signal/image signal in a conventional device.

ここで、ステップ5100Oは、トレーニング信号/画
信号の受信を表している。
Here, step 5100O represents receiving the training signal/image signal.

ステップ51002においては、トレーニング信号の受
信が失敗であると判定するためのタイマ〒2に10秒を
セットする。
In step 51002, a timer 2 for determining that the reception of the training signal has failed is set to 10 seconds.

ステップ51004においては、 T2がタイムアウト
するか否かを判断しながら、20ミリ秒間連続して5E
D−1であるか否かを検出する。このとき、タイマT2
がタイムアウトすると、ステップ51012に進む、ま
た、20ミリ秒間連続して5ED−1であると(すなわ
ち、トレーニング信号の頭の部分を受信すると)、ステ
ー2プ5100Bに進む。
In step 51004, 5E continues for 20 milliseconds while determining whether T2 times out.
It is detected whether it is D-1 or not. At this time, timer T2
If it times out, proceed to step 51012, and if it is 5ED-1 continuously for 20 milliseconds (ie, when the beginning of the training signal is received), proceed to step 2 5100B.

ステップ5IQO8においては、タイマT2がタイムア
ウトするか否かを判断しながら、aミリ秒(24QOb
/Sのときは700  ミリ秒、4800b/Sのとき
は500ミリ秒)間連続してCD−Qであるか否かが判
断される。このとき、タイマT2がタイムアウトすると
、ステップ51012に進む、また、aミリ秒間連続し
てCD=0−r:あるとき(すなわち、トレーニング信
号を受信すると)、ステップ5100Bに進む。
In step 5IQO8, while determining whether or not timer T2 times out, a millisecond (24QOb
It is determined whether or not it is CD-Q continuously for 700 milliseconds in the case of /S and 500 milliseconds in the case of 4800b/S. At this time, if the timer T2 times out, the process proceeds to step 51012, and if CD=0-r continues for a milliseconds (that is, when a training signal is received), the process proceeds to step 5100B.

ステップ5100Bにおいては、タイマT2がタイムア
ウトするか否かを判断しながら、20ミリ秒間連統して
CD−1であるか否かが判断される。このとき、タイマ
〒2がタイムアウトすると、ステップ51012に進む
、また、20ミリ秒間連続してCD−1であるとき(す
なわち、画信号の頭の部分を受信すると)、ステップ5
IOIOに進む。
In step 5100B, while determining whether timer T2 times out, it is determined whether or not it is CD-1 continuously for 20 milliseconds. At this time, if the timer 〒2 times out, the process proceeds to step 51012, and if the CD-1 continues for 20 milliseconds (that is, when the beginning of the image signal is received), step 5
Proceed to IOIO.

ステップ5totoは画信号の受信を表わしている。Step 5toto represents receiving the image signal.

ステップ51012は、受信エラーを表わしている。Step 51012 represents a reception error.

この第7図に示したように、トレーニング信号の受信に
失敗したとき(すなわち、SEDおよびCDが正しく動
作しなかったとき)は、トレーニング信号/画信号の受
信モードに入ってから、約10秒後にエラー終了になっ
てしまうという欠点がみられた。
As shown in Fig. 7, when the training signal reception fails (that is, when the SED and CD do not operate correctly), the system starts for about 10 seconds after entering the training signal/image signal reception mode. A drawback was that the process ended with an error.

fj4.3  EOLを検出できない場合の処理に関し
て従来のファクシミリ装置では、トレーニング信号の受
信に成功して画信号の受信モードに入った場合、5秒間
以上にわたってEOL(End of Line)信号
を受信できないときには、直ちにエラーとしていた。こ
のことは、誤り再送モードを使用した場合も同様である
fj4.3 Processing when EOL cannot be detected In conventional facsimile machines, when the training signal is successfully received and the image signal reception mode is entered, if the EOL (End of Line) signal cannot be received for 5 seconds or more, , it was immediately marked as an error. This also applies when error retransmission mode is used.

このように、トレーニング信号の受信には成功したにも
拘らず復調データが正しく復調されない場合には直ちに
エラーとされていたので、誤り再送を有効に生かしてい
ないという欠点がみられた。
In this way, if the demodulated data is not correctly demodulated even though the training signal has been successfully received, it is immediately recognized as an error, so there is a drawback that error retransmissions are not effectively utilized.

94.4 画信号の送出が終了した場合の処理に関して 従来のファクシミリ装置では、画信号の送出が終了した
場合、直ちに手順信号を送出していたため、最後のブロ
ックを受信側装置がエラーすると、誤り再送を行うこと
ができないという欠点がみられた。
94.4 Processing when transmission of image signals is completed In conventional facsimile machines, when transmission of image signals is completed, a procedure signal is immediately transmitted, so if the receiving device makes an error in the last block, an error occurs. The drawback was that retransmission was not possible.

94.5 再送開始ライン等の指示信号を送出した後の
処理に関して 従来のファクシミリ装置では、受信側がエラーを検出す
るとNACK信号を送出し、その後に再送開始ライン等
の指示信号を送出していた0次に、受信側装置は送信側
装置から送出される画信号(すなわち、指定した再送相
開始ラインからの画信号)の受信に向かっていた。
94.5 Processing after sending an instruction signal such as a retransmission start line In conventional facsimile machines, when the receiving side detects an error, it sends a NACK signal, and then sends an instruction signal such as a retransmission start line. Next, the receiving device was on its way to receive the image signal sent from the transmitting device (that is, the image signal from the designated retransmission phase start line).

しかし、受信側から送出される再送開始ライン等の指示
信号を送信側が正しく受信し得ないときには、エラーに
なってしまうという欠点がみられた。
However, if the transmitting side cannot correctly receive an instruction signal such as a retransmission start line sent from the receiving side, an error may occur.

94.6 誤り再送モードの選択に関して一般に、誤り
再送モードは画情報を確実に伝送できるという長所を有
している半面、エラーが全く無い場合には、通常の伝送
よりも余分に時間がかかってしまうという不都合がある
。従って、誤り再送モードによる伝送を行うか否かをオ
ペレータの選択に任せることが望ましい。
94.6 Regarding the selection of the error retransmission mode, in general, the error retransmission mode has the advantage of being able to reliably transmit image information, but it also takes more time than normal transmission when there are no errors. There is the inconvenience of putting it away. Therefore, it is desirable to leave it to the operator's choice whether or not to perform transmission in error retransmission mode.

しかし、従来のファクシミリ装置では、オペレータの意
志により、誤り再送モードを任意に選択することができ
ないという欠点がみられた。
However, conventional facsimile machines have a drawback in that the error retransmission mode cannot be arbitrarily selected by the operator.

(以下、余白) [目的] 本発明の第1の目的は、上述の点に鑑み、誤り画像デー
タの再送を効率よく且つ適確に行い得るよう構成した画
像通信装置を提供することにある。
(Hereinafter, blank spaces) [Object] In view of the above-mentioned points, a first object of the present invention is to provide an image communication device configured to retransmit error image data efficiently and accurately.

本発明の第2の目的は、HDLC:のフレームフォーマ
ットに従って画像伝送を行っていることに起因する種々
の問題点を解消するために、受信側においてパ受信エラ
ー発生°゛と認識するに足りる判断基準を任意に変更す
ることができるように構成した画像通信装置を提供する
ことにある。
A second object of the present invention is to solve various problems caused by image transmission according to the HDLC frame format, by making a judgment sufficient to recognize that a reception error has occurred on the receiving side. An object of the present invention is to provide an image communication device configured so that a reference can be arbitrarily changed.

かかる目的を達成するために1本発明では、複数のエリ
ア情報に分割された画情報の送受信を行う画像通信装置
において、前記エリア情報を誤って受信したものと判定
した場合には該エリア情報に対応するコード情報を送信
側に返送して該エリア情報の再送を要求する手段と、前
記エリア情報の再送要求を行うための判定基準を可変的
に設定する手段とを具備する。
In order to achieve such an object, in one aspect of the present invention, in an image communication device that transmits and receives image information divided into a plurality of area information, when it is determined that the area information has been received in error, the area information is The apparatus includes means for requesting retransmission of the area information by returning corresponding code information to the transmitting side, and means for variably setting determination criteria for requesting retransmission of the area information.

〔実 施 例〕〔Example〕

本発明を適用した一実施例としてファクシミリ装置を挙
げ、これを説明していく。
A facsimile machine will be described as an example to which the present invention is applied.

まず、本実施例の概要を述べる。First, an outline of this embodiment will be described.

(1)画情報の伝送時(送信側)においては、符号化し
たラインナンバーをライン毎に付して画情報と共に伝送
する。そして、あるラインナンバーに対応する符号から
以後のデータを再送可をとする。
(1) When transmitting image information (on the transmitting side), an encoded line number is attached to each line and transmitted together with the image information. Then, data subsequent to the code corresponding to a certain line number can be retransmitted.

受信機側においては、画情報の受信中にラインナンバー
をチェックし、それにより受信エラーの有無を判定する
。そして、正しくデータを受信したときには、ラインナ
ンバーを除去して復号化を行う、他方、受信機側で受信
エラーの発生を認識したときには、受信側装置は制御信
号を送出し、送信側装置の画情報伝送を中断させる。そ
の後、受信側装置は再送要求開始ラインナンバーを送信
側装置に知らせる。このことにより、送信側装置は、再
送要求開始ラインナンバーからの伝送を再開する。
On the receiver side, the line number is checked while image information is being received, thereby determining whether there is a reception error. When the data is received correctly, the line number is removed and the data is decoded.On the other hand, when the receiver side recognizes that a reception error has occurred, the receiving side device sends a control signal and displays the image of the sending side device. Interrupt information transmission. Thereafter, the receiving device notifies the transmitting device of the retransmission request start line number. As a result, the transmitting device resumes transmission from the retransmission request starting line number.

(11)画情報の伝送時において、ライン毎に挿入する
ラインナンバーは次のとおりの特性を有する。
(11) When transmitting image information, the line number inserted for each line has the following characteristics.

イ)ラインナンバーは1ライン毎にインクリメントして
いく。
b) The line number is incremented line by line.

口)ラインナンバーは1ラインの符号の終わりを表わす
信号、例えば“EOL ” (End of Line
、 CCrTT勧告〒4に基づいてモディファイドハフ
マン符号化、あるいはモディファイドリード符号化など
を行った場合などに用いる)の後に挿入する。このこと
により、受信側装置では、画情報とラインナンバーとの
識別を可能とする。
口)The line number is a signal indicating the end of the code of one line, for example, “EOL” (End of Line).
, used when performing Modified Huffman encoding or Modified Read encoding based on CCrTT Recommendation 4). This allows the receiving device to distinguish between the image information and the line number.

ハ)ラインナンバーの長さを一定としである。C) The length of the line number is constant.

従って、小さな数を表すラインナンバーと大きい数を表
すラインナンバーとはその符号長が同じになっている。
Therefore, a line number representing a small number and a line number representing a large number have the same code length.

これにより、受信側装置では、■ラインの符号の終わり
を表す信号のうち所定バイトは、ラインナンバーである
と認識することができる。このように、受信側での画情
報とラインナンバーの識別が容易になる。
As a result, the receiving device can recognize that the predetermined byte of the signal representing the end of the code of the line (1) is the line number. In this way, the image information and line number can be easily identified on the receiving side.

二)ラインナンバーは特別な意味を持つ信号、例えば、
■ラインの終わりを表わす信号、と異なる符号構成を有
する信号としである。従って、受信側においてエラーが
発生したときには、再び特別な意味を持つ(1ラインの
終わりを表す)信号をサーチし、当該信号の検出に応答
してライン同期を確立することが可能となる。
2) Line numbers are signals with special meanings, e.g.
(2) A signal indicating the end of a line, and a signal having a different code structure. Therefore, when an error occurs on the receiving side, it is possible to search again for a signal with special meaning (representing the end of one line) and establish line synchronization in response to the detection of this signal.

以下、次に示す項目に従って、本実施例によるファクシ
ミリ装置を詳細に説明する。
The facsimile apparatus according to this embodiment will be described in detail below in accordance with the following items.

91 誤り再送の手順の一例(第8図使用)92 ライ
ンナンバーの説明(第9図使用)93 符号化データを
FIFOメモリにストアする場合の具体例(第1O図使
用) 64  FIFOメモリおよびFIFOメモリを制御す
るポインタの説明 95 送信側装置から誤り再送モードを選択するだめの
構成(第11図および第12図使用)96 送信側装置
におけるFIFOメモリの管理(第13図〜第15図使
用) 97 再送開始アドレスを格納するメモリ容量の妥当性 98 送信側装置から画情報を全て送出した後の制御 99 受信側装置から再送要求を行う条件およびフォー
ルパック要求を行う条件(第16図使用) 910  NSF信号の構成(第17図使用)611 
 NACK@号を受信した時における送信側装置の動作
(第18図使用) fi12  送信側装置のブロック図の説明(第19図
および第20図使用) 1i+13  送信側装置における制御回路の概略動作
説明(第21図使用) iJ14  送信側装置における制御回路の詳細な動作
説明(第22図および@23図使用) 615 受信側装置のブロック構成(第24図使用)9
16 受信側装置における制御回路の動作説明(第25
図および第26図使用) !51?  その他の実施例 (以下、余白) 91 誤り再送の手順の一例(第8図使用)誤り再送モ
ードにて画像伝送を行うようモード選択がなされている
場合(すなわち送信側装置においてスタートボタンが連
続して2.5秒以上押下された場合、あるいは、送信側
装置において誤り再送モードがスイッチ等により選択さ
れている場合)について、第8図を参照して説明する。
91 Example of error retransmission procedure (Used in Figure 8) 92 Explanation of line numbers (Used in Figure 9) 93 Specific example of storing encoded data in FIFO memory (Used in Figure 1O) 64 FIFO memory and FIFO memory Explanation of the pointer that controls 95 Configuration for selecting the error retransmission mode from the sending device (used in FIGS. 11 and 12) 96 Management of FIFO memory in the sending device (used in FIGS. 13 to 15) 97 Adequacy of memory capacity for storing retransmission start address 98 Control after all image information is sent from the transmitting device 99 Conditions for making a retransmission request and conditions for making a fall pack request from the receiving device (use Figure 16) 910 NSF Signal configuration (using Figure 17) 611
Operation of the transmitting side device when receiving the NACK@ signal (used in Figure 18) fi12 Explanation of the block diagram of the transmitting side device (used in Figures 19 and 20) 1i+13 Schematic explanation of the operation of the control circuit in the transmitting side device ( (Used in Figure 21) iJ14 Detailed operation explanation of the control circuit in the transmitting side device (Used in Figures 22 and @23) 615 Block configuration of the receiving side device (Used in Figure 24) 9
16 Explanation of operation of control circuit in receiving side device (25th
(Use Figure and Figure 26)! 51? Other Examples (hereinafter referred to as blank space) 91 An example of the error retransmission procedure (Figure 8 used) When the mode is selected to perform image transmission in the error retransmission mode (that is, if the start button is pressed consecutively on the sending device) 8) (when the button is pressed for 2.5 seconds or more, or when the error retransmission mode is selected by a switch or the like in the transmitting device) will be explained with reference to FIG.

第8図では、画情報を伝送している最中にインパルス性
のノイズが1回発生し、このことにより受信側装置にお
いて3ライン以上のエラーが発生した場合を考えている
。このようなエラーが生じると、受信側装置はNACK
信号(本実施例ではPIS信号; Procedure
 Interrupt Signal  手順中断信号
)を送出する。送信側装置はこのPIS信号を検出する
ことにより、画像情報の送出を中断する。
In FIG. 8, a case is considered in which impulse noise occurs once while image information is being transmitted, and as a result, errors occur in three or more lines in the receiving device. When such an error occurs, the receiving device issues a NACK.
signal (PIS signal in this example; Procedure
Interrupt Signal (procedure interrupt signal) is sent. By detecting this PIS signal, the transmitting side device interrupts the transmission of image information.

受信側装置は、PIS信号に続いて再送開始ライン/フ
ォールパック等の情報を送信側装置に伝達するために、
v21変調のNSF信号を用いる。本実施例では、NS
F信号により、正しく受信した最後のライン番号を送信
側装置に知らせる。
The receiving device transmits information such as retransmission start line/fall pack to the transmitting device following the PIS signal.
A V21 modulated NSF signal is used. In this example, NS
The F signal notifies the sending device of the last correctly received line number.

かかる信号に基づき、送信側装置は、受信側から指定さ
れたラインの次のラインから画情報の再送を行う、この
とき、送信側装置においては、フォールパックの指示が
あればフォールパックを行う、また、現時点以上にフォ
ールパックを行うことができない場合(すなわち、現在
2400 b/Sで画像伝送を行っているとき、3回の
誤り再送を行った場合)はエラー終了となり、回線断(
DON)とする。
Based on such a signal, the transmitting device retransmits the image information from the line next to the line specified by the receiving device. At this time, if there is a fall pack instruction, the transmitting device performs fall pack. In addition, if fall pack cannot be performed any further than the current time (i.e., if image transmission is currently being performed at 2400 b/s and three erroneous retransmissions have been performed), an error will occur and the line will be disconnected (
DON).

なお、第8図に示したNSF/CSI/DIS等の略号
は、先に第5図に関して述べたとおりである。
Note that the abbreviations such as NSF/CSI/DIS shown in FIG. 8 are as described above with respect to FIG. 5.

う2 ラインナンバーの説明(第8図使用)第9図は、
ラインナンバーの具体例を示すビット構成図である。こ
のラインナンバーは、EOL (ライン終端符号)の後
に挿入されるものである。
U2 Explanation of line numbers (Figure 8 used) Figure 9 is as follows:
FIG. 3 is a bit configuration diagram showing a specific example of a line number. This line number is inserted after the EOL (end of line code).

なお、本実施例では、符号化方式としてモディファイド
ハフマン符号を変更した方式を採用している。
Note that in this embodiment, a modified Huffman code is used as the encoding method.

ラインナンバーは、ライン終端符号EOLに統〈2バイ
ト (18ビツト)とする、そして、ラインナンバーは
EOLi号と区別し得るように、ラインナンバーにおけ
るハイバイトのLSB(LeastSignifica
nt Bit)及びラインナンバーのローバイトのL1
2は、それぞれ1に固定する。受信側装置でデコードさ
れたときに1ラインのビット数が1728ビツト(A4
サイズの受信時)でなかった場合には、再びEOLのサ
ーチを実行し、ライン同期をとる。このために、ライン
ナンバーは、EOLと異なる信号にする必要がある。
The line number is unified to the line termination code EOL (2 bytes (18 bits)), and the line number is the LSB (Least Significant) of the high byte in the line number so that it can be distinguished from the EOLi code.
nt Bit) and line number low byte L1
2 are each fixed to 1. When decoded by the receiving device, the number of bits per line is 1728 bits (A4
size), the EOL search is executed again and line synchronization is established. For this reason, the line number needs to be a different signal from EOL.

例えば、ラインナンバー〇はOIH(ラインナンバーの
ハイバイト)OIH(ラインナンバーのローバイト)、
ラインナンバー1はOIH(ラインナンバーのハイバイ
ト)OIH(ラインナンバーのローバイト)、ラインナ
ンバー2は01H(ラインナンバーのバイバイト)05
H(ラインナンバーのローバイト)、ラインナンバー3
は01H(ラインナンバーのハイバイト)07H(ライ
ンナンバーのローバイト)、ラインナンバーlOは01
H(ラインナンバーのハイバイト)15H(ラインナン
バーのローバイト)、ラインナンバー 100は01H
(ラインナンバーのハイバイ1−)C9H(ラインナン
バーのローバイト)となる、これらラインナンバーは、
3ライン毎にインクリメントするよう規定しである。
For example, line number 〇 is OIH (line number high byte), OIH (line number low byte),
Line number 1 is OIH (line number high byte) OIH (line number low byte), line number 2 is 01H (line number byte) 05
H (line number low bite), line number 3
is 01H (line number high byte) 07H (line number low byte), line number lO is 01
H (line number high byte) 15H (line number low byte), line number 100 is 01H
(Line number high byte 1-) C9H (Line number low byte) These line numbers are:
It is specified to be incremented every three lines.

93 符号化データをFIFOメモリにストアする場合
の具体例(第10図使用) 第1O図は、符号化したデータおよび各ラインナンバー
に対応した再送開始アドレスをメモリに格納した状態を
例示するものである。本図において、TFIFSは、符
号化したデータを格納するメモリの先頭アドレス(本実
施例においては、8400H)である、送信側装置にお
ける符号化データを格納するメモリ領域として、例えば
8400HからAFFFHまでを考える。また、再送開
始アドレスを格納するメモリ領域として、例えばCOO
OHからG3FFHまでを考える。
93 Specific example of storing encoded data in FIFO memory (Used in Figure 10) Figure 1O illustrates a state in which encoded data and retransmission start addresses corresponding to each line number are stored in memory. be. In this figure, TFIFS is the memory area from 8400H to AFFFH, which is the start address of the memory for storing encoded data (in this embodiment, 8400H), as a memory area for storing encoded data in the sending device. think. In addition, as a memory area for storing the retransmission start address, for example, COO
Consider from OH to G3FFH.

いま、送信側装置の条件として、lラインが余白の場合
の最小伝送時間は10m See、 1ラインに黒が有
る場合の最小伝送時間は20m See、伝送スピード
は4800b/Sとしたときに、A4サイズの原稿(全
白)を伝送する手順を第1O図に基づいて説明する。こ
のとき、lラインの最小バイト数は6である。また、メ
モリに格納されたバイトデータを送出するときにはLS
Dから送出するものとする。
Now, as the conditions for the sending device, when the minimum transmission time is 10 m See when one line is a blank space, the minimum transmission time is 20 m See when one line has black, and the transmission speed is 4800 b/s, A4 The procedure for transmitting a size original (all white) will be explained based on FIG. 1O. At this time, the minimum number of bytes for the l line is six. Also, when sending byte data stored in memory, LS
It is assumed that the data is sent from D.

例えば、アドレス8401)1のデータを送出するとき
は、まず0の情報を7ビツト送出し、その後、lの情報
を送出する。
For example, when transmitting data at address 8401) 1, first 7 bits of 0 information are transmitted, and then 1 information is transmitted.

第10図において、アドレス8400H,8401Hに
格納されているデータによりIEOLが形成される(1
5個の連続した0情報の後に1情報が送出される)。
In FIG. 10, an IEOL is formed by data stored at addresses 8400H and 8401H (1
1 information is sent after 5 consecutive 0 information).

アドレス8402Hにはラインナンバーのハイバイトデ
ータ、アドレス8403Hにはラインナンバーのローバ
イトデータが格納される。アドレス8402H。
High byte data of the line number is stored at address 8402H, and low byte data of the line number is stored at address 8403H. Address 8402H.

8403Hに格納されているデータは、OIH,01)
1であり、ラインナンバー〇を表わす。
The data stored in 8403H is OIH, 01)
1, representing line number 〇.

アドレス8404Hから8408Hには、1728ビツ
トが全白であったとき、モディファイドハフマン符号化
したデータが格納されている。すなわち、1728ビツ
ト余白であったときのモディファイドハフマン符号化し
たデータは、ot oott ott oott ot
 ox(左側のデータから順に回線に送出される場合)
である、ここで、010011011は、 1728ビ
ツト白ランレングスである場合のメークアップ符号であ
り、00110101はθビット白ランレングスである
場合のターミネイティング符号である。この1728ビ
ツト全白であったときのモディファイドハフマン符号化
したデータをメモリに格納すると、82H,59H,0
1)1となる。
Addresses 8404H to 8408H store modified Huffman encoded data when 1728 bits are all white. In other words, the modified Huffman encoded data when the margin is 1728 bits is ot oot ott oot ot
ox (when data is sent to the line in order starting from the left side)
Here, 010011011 is a make-up code when the white run length is 1728 bits, and 00110101 is a terminating code when the white run length is θ bits. When this 1728-bit all-white modified Huffman encoded data is stored in memory, 82H, 59H, 0
1) Becomes 1.

回線にデータが送出される時は、B2OのLSBのデー
タから MSHのデータ、59Hの1.SRのデータか
らMSHのデータ、OIHのLSBのデータからMSB
のデータの順に送出される。すなわち、0100110
1(82Hのデータ)10011010(59Hのデー
タ)+0000000  (OIHのデータ)の順に(
左側のデータから順に回線に送出される場合)回線にデ
ータが送出される。以後同様に、符号化されたデータが
送信側装置のメモリに格納される。
When data is sent to the line, it starts with the LSB data of B2O, the MSH data, and 1 of 59H. SR data to MSH data, OIH LSB data to MSB
The data will be sent in the following order. i.e. 0100110
1 (82H data) 10011010 (59H data) + 0000000 (OIH data) (
If the data is sent out to the line in order starting from the left side) the data is sent out to the line. Thereafter, similarly, the encoded data is stored in the memory of the sending device.

一方、再送開始アドレスが1、各ラインナンバーに対応
して、メモリに格納されている。再送開始アドレスが格
納されるメモリ領域は、アドレスcooonからアドレ
スC3FFHである。再送開始アドレスが格納されてい
るメモリ領域の先頭アドレスをLINOと呼ぶ、1つの
再送開始アドレスを指定するためにはメモリ領域は2バ
イトぶんが必要である。アドレスCOOOHからアドレ
スC3FFHのメモリ領域は1024バイトであるので
、再送開始アドレスとして512(IIを格納すること
が可能である。また、上述したとおりラインナンバーは
lライン毎にインクリメントする構成としであるので、
ラインナンバーが変化した(すなわち、lだけインクリ
メントされた)とき、再送開始アドレスを格納するメモ
リに対し、符号化されたデータが格納されているメモリ
のラインナンバーの先頭アドレスを格納する。その具体
例は、第1θ図に示す通りである。
On the other hand, a retransmission start address of 1 is stored in the memory in correspondence with each line number. The memory area in which the retransmission start address is stored is from address cooon to address C3FFH. The start address of the memory area where the retransmission start address is stored is called LINO. Two bytes of memory area are required to specify one retransmission start address. Since the memory area from address COOOH to address C3FFH is 1024 bytes, it is possible to store 512 (II) as the retransmission start address.Also, as mentioned above, the line number is incremented every l line. ,
When the line number changes (that is, it is incremented by l), the start address of the line number of the memory where encoded data is stored is stored in the memory that stores the retransmission start address. A specific example thereof is shown in Fig. 1θ.

アドレス0000H,Ic0OIHには、OOH,84
Hが格納されている。アドレスCOOOHに格納されて
いるデータはラインナンバー〇の再送開始アドレスにお
けるローデータ、アドレスC00IHに格納されている
データはラインナンバー〇の再送開始アドレスにおける
ハイデータであり、ラインナンバー〇の格納されている
先頭アドレス(符号化されたデータが格納されているメ
モリに対して)は、8400Hである。
Address 0000H, Ic0OIH has OOH, 84
H is stored. The data stored at address COOOH is the low data at the retransmission start address of line number 〇, and the data stored at address C00IH is the high data at the retransmission start address of line number 〇, where line number 〇 is stored. The start address (with respect to the memory where encoded data is stored) is 8400H.

また、アドレスCOO2H,COO3Hには07H,8
4Hが格納されている。アドレスCOO2Hに格納され
ているデータはラインナンバーlの再送開始アドレスに
おけるローデータ、アドレスC003Hに格納されてい
るデータはラインナンバー1の再送開始アドレスにおけ
るハイデータであり、ラインナンバー1の格納されてい
る先頭アドレス(符号化されたデータが格納されている
メモリに対して)は8407Hである。以下同様に、ラ
インナンバー2゜ラインナンバー3.ラインナンバー4
の格納されている先頭アドレス(符号化されたデータが
格納されているメモリに対して)は、840EH,84
15H。
Also, addresses COO2H and COO3H are 07H and 8.
4H is stored. The data stored at address COO2H is the low data at the retransmission start address of line number l, and the data stored at address C003H is the high data at the retransmission start address of line number 1. The start address (with respect to the memory where encoded data is stored) is 8407H. Similarly, line number 2° line number 3. line number 4
The starting address where is stored (with respect to the memory where encoded data is stored) is 840EH, 84
15H.

841CHである。It is 841CH.

更に、上述したように、再送開始アドレスを格納するメ
モリ領域は1024バイトであるので、再送開始ライン
ナンバーとしては、512個格納することができる。5
13番目のラインナンバーは、 LINO(アドレスC
OOOH)に格納する。かくして、過去512ぶんのラ
インナンバーが格納されることになる。
Furthermore, as described above, since the memory area for storing the retransmission start address is 1024 bytes, 512 retransmission start line numbers can be stored. 5
The 13th line number is LINO (address C
OOOH). In this way, 512 past line numbers are stored.

!54  FIFOメモリおよびFIFOメモリを制御
するポインタの説明 送信側装置においては、本実施例により符号化されたデ
ータがFIFO(First−In  First−O
ut)メモリにストアされる。 FIFOメモリの容量
は上述の如< 8400HからAFFFHまでである。
! 54 Description of FIFO memory and pointer controlling FIFO memory In the transmitting side device, the data encoded according to this embodiment is
ut) stored in memory. The capacity of the FIFO memory is from <8400H to AFFFH as described above.

ここで、送信側装置のFIFOメモリの先頭アドレスは
TF I FS(TRN FIFO5TART;本実施
例においては8400H)。
Here, the starting address of the FIFO memory of the sending device is TFI FS (TRN FIFO5TART; 8400H in this embodiment).

送信側装置のFIFOメモリの先頭アドレスにおけるハ
イバイトはTPIFSH(TRI FIFO5TART
 HIGHi本実施例におかては84H)、送信側装置
のFIFOメモリにおける最終アドレスはTFIFE(
TRI FIFOEND 、本実施例においてはAFF
FH)、送信側装置のFIFOメモリの最終アドレスに
おけるハイバイトはTFIFEH(TRNFIFOEM
D HIGH,本実施例においてはAFH)と呼ぶ。
The high byte at the start address of the FIFO memory of the sending device is TPIFSH (TRI FIFO5TART
HIGHi (84H in this embodiment), the final address in the FIFO memory of the sending device is TFIFE (
TRI FIFOEND, AFF in this example
FH), the high byte at the final address of the sending device's FIFO memory is TFIFEH (TRNFIFOEM
D HIGH (in this embodiment, it is called AFH).

送信側装置において、読取手段により読み取ったデータ
は、符号化を施された後に送信側装置のF IFOメモ
リにストアされるが、FIFOのメモリをコントロール
するためにポインタを使用する。このために使用するポ
インタをTMHPTR(TRN MHPOINTER)
と呼ぶ、また、送信機側のFIFOメそりにストアされ
たデータは、変調器により変調した後、回線に順次送出
するが、ここでもFIFOのメモリをコントロールする
ポインタが必要である。このために使用するポインタを
TMDPTR(TRNにOOEM POINTER)と
呼ぶ。
In the sending device, the data read by the reading means is encoded and then stored in the FIFO memory of the sending device, and a pointer is used to control the FIFO memory. The pointer used for this is TMHPTR (TRN MHPOINTER)
The data stored in the FIFO memory on the transmitter side is modulated by a modulator and then sequentially transmitted to the line, but a pointer is also required here to control the FIFO memory. The pointer used for this purpose is called TMDPTR (OOEM POINTER in TRN).

一方、受信側装置においては、送信側装置から送られて
きたデータをメモリに格納する。このメモリは、送信側
装置と同様、FIFO(First−InFirst−
Out)メモリである。受信側装置のFIFOメモリの
容量も送信側装置と同じ< 、 8400HからAFF
FHまでとする。
On the other hand, the receiving device stores the data sent from the transmitting device in its memory. Similar to the sending device, this memory is a FIFO (First-InFirst-
Out) memory. The FIFO memory capacity of the receiving side device is also the same as that of the sending side device, from 8400H to AFF.
Up to FH.

ここで、受信側装置のFIFOメモリにおける先頭アド
レスはRFIFJ(RECFIFO5TARTi本実施
例においては8400)1)、受信側装置のFIFOメ
モリにおける先頭アドレスのハイバイトはRFIFSH
(RE(: FIFO8TART HIGH;本実施例
においては84H)、受信側装置のFIFOメモリにお
ける最終アドレスはRFIFE(RUG jrFo E
ND;本実施例においてはAFFFH) 、受信側装置
のFIFOメモリにおける最終アドレスのハイバイトは
RFIFEH(RHOFIFOEND旧GH:本実施例
においてはAF)I )と呼ぶ。
Here, the first address in the FIFO memory of the receiving side device is RFIFJ (RECFIFO5TARTi in this example, 8400)1), and the high byte of the first address in the FIFO memory of the receiving side device is RFIFSH
(RE(: FIFO8TART HIGH; 84H in this embodiment), the final address in the FIFO memory of the receiving device is RFIFE(RUG jrFo E
ND; AFFFH in this embodiment), and the high byte of the final address in the FIFO memory of the receiving device is called RFIFEH (RHOFIFOEND old GH: AF in this embodiment) I).

受信側装置においては、送信側装置から送られてきたデ
ータを復調器により復調し、その後にFIFOメモリに
ストアする。復調データをFIFOメモリにストアする
ときにポインタを使用するが、このポインタをRMDP
TR(REG MODEM POINTER)と呼ぶ、
また、FIFOメモリにストアされたデータは、順次読
み出して復号し、記録を行う、 FIFOメモリにスト
アされたデータを順次読み出して復号化するときにもポ
インタを使用するが、このポインタをRMHPTR(R
EG MHPOINTER)と呼ぶ。
In the receiving device, the data sent from the transmitting device is demodulated by a demodulator, and then stored in a FIFO memory. A pointer is used when storing demodulated data in FIFO memory, but this pointer is
It is called TR (REG MODEM POINTER).
Furthermore, the data stored in the FIFO memory is sequentially read, decoded, and recorded. A pointer is also used when sequentially reading and decoding the data stored in the FIFO memory.
EG MHPOINTER).

95 送信側装置から誤り再送モードを選択するための
構成(第11図および第12図使用)送信側装置からの
誤り再送モードを選択するための手法として、2つの方
法を採る。第1は、スイッチ等を用いて誤り再送モード
を選択する方法である。すなわち、ある特定スイッチが
オン状態にあるときには誤り再送モードが選択されてい
るものとする。
95 Configuration for Selecting Error Retransmission Mode from Sending Device (Used in FIGS. 11 and 12) Two methods are used to select the error retransmission mode from the sending device. The first method is to select an error retransmission mode using a switch or the like. That is, it is assumed that the error retransmission mode is selected when a certain specific switch is in the on state.

誤り再送モードを選択する第2の方法は、送信側装置の
スタートボタンを連続して押下することである。すなわ
ち、スタートボタンを連続して2.5秒以上押下するこ
とに誤り再送モードを選択し、「ピー」音の発生により
オペレータは誤り再送モードが選択されたことを知る。
A second way to select the error retransmission mode is to press the start button on the sending device successively. That is, the error retransmission mode is selected by continuously pressing the start button for 2.5 seconds or more, and the operator knows that the error retransmission mode has been selected by the generation of a "beep" sound.

また、送信側装置のスタートボタンを連続して5秒以上
押下したときにはG2モードが選択され、「ピー」 「
ピー」音の発生によりオペレータはG2モードが選択さ
れたことを知る。
Also, if you press the start button on the sending device for more than 5 seconds continuously, G2 mode will be selected and the "beep" will be heard.
The operator will know that the G2 mode has been selected by the beep sound.

本実施例において、誤り再送モードでの画伝送は伝送ス
ピード4800b/Sにより行う、従って、送信側装置
により誤り再送モードが選択されたときに、受信側装置
に誤り再送モードの機能が備えられている場合には、誤
り再送モードでの伝送が行われる。しかし、受信側装置
に誤り再送モードの機飽が備えられていない場合には、
伝送スピードを9600b/Sでなく 4800b/S
に落として伝送を開始する。
In this embodiment, image transmission in the error retransmission mode is performed at a transmission speed of 4800b/s. Therefore, when the error retransmission mode is selected by the transmitting device, the receiving device is equipped with the error retransmission mode function. If so, transmission is performed in error retransmission mode. However, if the receiving device is not equipped with error retransmission mode,
Transmission speed is 4800b/s instead of 9600b/s
and start transmission.

第11図は、本実施例によるファクシミリ装置の送信側
の構成を示すブロック図である。本図において、67は
網制御部(NCU)であり、電話網をデータ通信等に使
用するためにその回線の端末に接続して電話交換網の接
続制御を行ったり、データ通信路への切換えを行ったり
、ループの保持を行う、また、87aは電話回線である
FIG. 11 is a block diagram showing the configuration of the transmitting side of the facsimile machine according to this embodiment. In this figure, 67 is a network control unit (NCU), which connects to the terminal of the line to use the telephone network for data communication, controls the connection of the telephone exchange network, and switches to the data communication path. 87a is a telephone line.

68は、送信系の信号と受信系の信号を分離するハイブ
リッド回路である。信号線?la上の送信信号は、信号
線67、bおよび網制御部67を介して、電話回線87
aに送出される。また、相手側のファクシミリ装置から
送られてきた信号は、網制御部B7を介して信号線88
aに送出される。
68 is a hybrid circuit that separates a transmission system signal and a reception system signal. Signal line? The transmission signal on la is transmitted to telephone line 87 via signal lines 67 and b and network control unit 67.
sent to a. Further, signals sent from the other party's facsimile device are sent to the signal line 88 via the network control unit B7.
sent to a.

G9はバイナリ信号送出回路であり、信号線7Bb上に
パルスが発生したときに信号線78a上のデータを入力
し、V21変調したデータを信号線89aに出力する。
G9 is a binary signal sending circuit, which inputs the data on the signal line 78a when a pulse is generated on the signal line 7Bb, and outputs the V21 modulated data to the signal line 89a.

70はトーナル信号送出回路であり、信号線?Bd上の
データが信号レベルrlJのとき信号線78cの信号を
入力する。そして、入力したデータが「1」ならば48
2Hzのトーナル信号を、「2」ならば1080Hzの
トーナル信号を、「3」ならば1850Hzのトーナル
信号を、「4」ならばl 850Hzのトーナル信号を
、「5」ならば2100Hzのトーナル信号を信号線7
0aに出力する。
70 is a tonal signal sending circuit, and a signal line? When the data on Bd is at signal level rlJ, the signal on signal line 78c is input. If the input data is "1", then 48
2Hz tonal signal, "2" to 1080Hz tonal signal, "3" to 1850Hz tonal signal, "4" to 850Hz tonal signal, "5" to 2100Hz tonal signal. signal line 7
Output to 0a.

71は加算回路であり、信号線89aの信号と信号1i
70aの信号とを入力し、加算した結果を信号線71a
に出力する。
71 is an adder circuit, which combines the signal on the signal line 89a and the signal 1i.
70a and the added result is sent to the signal line 71a.
Output to.

72はトーナル信号検出回路であり、信号線88aの信
号を入力して4E12Hzの信号を検出したときには信
号線?2aに「1」の信号を、1080Hzの信号を検
出したときには信号線72aに「2」の信号を。
72 is a tonal signal detection circuit, and when the signal of the signal line 88a is input and a signal of 4E12Hz is detected, the signal line ? 2a, and when a 1080Hz signal is detected, a "2" signal is sent to signal line 72a.

1850Hzの信号を検出したときには信号線72aに
「3」の信号を、1850Hzの信号を検出したときに
は信号線?2aに「4」の信号を、 2100Hzの信
号を検出したときには信号線72aに「5」の信号を出
力する。
When a 1850Hz signal is detected, a signal of "3" is sent to the signal line 72a, and when a 1850Hz signal is detected, a signal of "3" is sent to the signal line 72a. When a signal of 2100 Hz is detected, a signal of "5" is output to the signal line 72a.

73はバイナリ信号検出回路であり、バイナリ信号を検
出したときに信号線73aにパルスを発生し、復調した
バイナリデータを信号線73bに出力する。
A binary signal detection circuit 73 generates a pulse on a signal line 73a when a binary signal is detected, and outputs demodulated binary data to a signal line 73b.

74はスタートボタンであり、このスタートボタンが押
下されたときに信号線?4aの信号レベルrlJの信号
が出力される。
74 is a start button, and when this start button is pressed, the signal line ? A signal of signal level rlJ of 4a is output.

75は誤り再送モード選択スイッチであり、誤り再送モ
ードでの伝送が選択されているときには信号線75aに
信号レベル「1」の信号を出力する。
Reference numeral 75 denotes an error retransmission mode selection switch, which outputs a signal of signal level "1" to the signal line 75a when transmission in the error retransmission mode is selected.

7Bは制御回路である。7B is a control circuit.

77はモード変更通知音発生回路であり、信号線78e
にパルスが発生されたとき「ピー」音を発生する。
77 is a mode change notification sound generation circuit, and a signal line 78e
When a pulse is generated, a "beep" sound is generated.

第12図は、第11図に示した制御回路76の制御手順
を示す流れ図である。
FIG. 12 is a flowchart showing the control procedure of the control circuit 76 shown in FIG.

ステップ51014においては、スタートボタン74が
押下されたか否かが判断される。これは、信号線?4a
の信号を入力することにより判断される。
In step 51014, it is determined whether the start button 74 has been pressed. Is this a signal line? 4a
This is determined by inputting the signal.

スタートボタン74が押下されると、ステップ5IQ1
Bに進む。
When the start button 74 is pressed, step 5IQ1
Proceed to B.

ステップ5tolBにおいては、スタートボタン74が
連続して2.5秒以上押下されたか否かが判断される。
In step 5tolB, it is determined whether the start button 74 has been pressed continuously for 2.5 seconds or more.

これは、信号線74aの信号を入力することにより判断
される。スタートボタン74が連続して2.5秒以上押
下されると、ステップ91028に進む、また、スター
トボタン74が連続して2.5秒以上押下されない場合
は、ステップ5O1eに進む。
This is determined by inputting the signal on the signal line 74a. If the start button 74 is continuously pressed for 2.5 seconds or more, the process proceeds to step 91028, and if the start button 74 is not continuously pressed for 2.5 seconds or more, the process proceeds to step 5O1e.

ステップ31018においては、誤り再送モードが選択
されているか否かが判断される。これは、信号1175
aの信号を入力することにより判断される。そして、誤
り再送モードが選択されているときには、ステップ51
022に進む、他方、誤り再送モードが選択されていな
いときには、ステップ51020に進む。
In step 31018, it is determined whether the error retransmission mode is selected. This is signal 1175
This is determined by inputting the signal a. Then, when the error retransmission mode is selected, step 51
On the other hand, if the error retransmission mode is not selected, the process proceeds to step 51020.

ステップ5102Gは9800b/Sによる画情報の伝
送を示している。
Step 5102G indicates transmission of image information by 9800b/S.

ステップ51022においては、相手方ファクシミリ装
置(受信側装置)が誤り再送機能を有しているか否かが
判断される。受信側装置が誤り再送機能を有しているか
否かを示す情報は、NSF信号のFIFにより送信側へ
連絡される。すなわち、信号線73a 、73bの信号
を入力することにより、受信側装置が誤り再送機能を有
しているか否かが判断される。そして受信側装置が誤り
再送機能を有している場合は、ステップ5102Bに進
む、他方、受信側装置が誤り再送機能を有していない場
合は、ステップ51024に進む。
In step 51022, it is determined whether the other party's facsimile device (receiving device) has an error retransmission function. Information indicating whether the receiving side device has an error retransmission function is communicated to the transmitting side by the FIF of the NSF signal. That is, by inputting the signals on the signal lines 73a and 73b, it is determined whether or not the receiving side device has an error retransmission function. If the receiving device has an error retransmission function, the process proceeds to step 5102B; on the other hand, if the receiving device does not have an error retransmission function, the process proceeds to step 51024.

ステップ91024では、4800b/Sにおける画情
報の伝送を行う。
In step 91024, image information in 4800b/S is transmitted.

ステップ8102Bでは、誤り再送モードによる画情報
の伝送を行う。
In step 8102B, image information is transmitted in error retransmission mode.

ステップ91028においては、「ピー」音を発生(信
号線?fleにパルスを送出)し、誤り再送モードが選
択されていることをオペレータに知らせる。
In step 91028, a "bleep" sound is generated (a pulse is sent to the signal line ?fle) to inform the operator that the error retransmission mode is selected.

ステップS 1030においては、引き続いて、スター
トボタン74が連続して2.5秒以上押下されたか否か
が判断される。これは、信号線?4aの信号を入力する
ことにより判断される。引き続いてスタートボタンが連
続して2.5秒以上押下されると、ステップ51032
に進む、他方、引き続いてスタートボタンが連続して2
.5秒以上押下されない場合は、ステップ51022に
進む。
In step S1030, it is subsequently determined whether the start button 74 has been pressed continuously for 2.5 seconds or more. Is this a signal line? This is determined by inputting the signal 4a. If the start button is continuously pressed for 2.5 seconds or more, step 51032
On the other hand, press the start button twice in succession.
.. If the button is not pressed for 5 seconds or more, the process advances to step 51022.

ステップ51032においては、「ビー」 「ピー」音
を発生(信号線78eにパルスを2回送出)し、G2モ
ードが選択されていることをオペレータに知らせる。
In step 51032, a "beep" sound is generated (pulse is sent twice to signal line 78e) to inform the operator that the G2 mode is selected.

ステップ51034では、 G2モードでの伝送を行9
B 送信側装置におけるFIFOメモリの管理(@13
図〜第15図使用) 送信側装置に含まれるFIFOメモリの管理について、
以下に説明する。
In step 51034, transmission in G2 mode is performed in line 9.
B FIFO memory management in the sending device (@13
(Used in Figures to Figures 15) Regarding the management of the FIFO memory included in the sending device,
This will be explained below.

?!413図(+)、(2)はFIFOメそりと各種ポ
インタとの関係を説明する図である。〒にHPTRは、
FIFOメモリ空間において、どこの番地まで符号化し
たデータがストアされているかを示t、 一方、 TM
DPTRは、FIFOメモリ空間において、どこの番地
のデータまでを変調して回線に送出したかを示す、符号
器は1丁FfFS番地から符号化したデータをストアし
、 TPIFE番地まで符号化したデータをストアした
とき、次の符号化したデータをTPIFS番地にストア
する。この時、REVRS (リバース)というフラグ
に1をセットし、モデム側に対し、符号化したデータが
FIFOの最終番地までストアされTにHPTRがFI
FOの先頭に戻ったことを知らせる。
? ! 413 (+) and (2) are diagrams for explaining the relationship between the FIFO memory and various pointers. HPTR is in 〒,
Indicates the address up to which encoded data is stored in the FIFO memory space. On the other hand, TM
DPTR indicates at which address in the FIFO memory space the data was modulated and sent to the line.The encoder stores the encoded data from the 1st FfFS address, and stores the encoded data up to the TPIFE address. When stored, the next encoded data is stored at the TPIFS address. At this time, a flag called REVRS (reverse) is set to 1, and the encoded data is stored to the final address of the FIFO to the modem side, and the HPTR is stored in T.
Notifies that the user has returned to the beginning of the FO.

一方、モデム側の処理として、TPIFS番地からの符
号化されたデータを順次読み出して変調した後、回線に
送出していく、そして、TPIFE #F地にストアさ
れているデータを読み出し、変調し1回線に送出した後
は、 TPIFS番地にストアされているデータを読み
出し、変調し、回線に送出する。
On the other hand, as processing on the modem side, the encoded data from the TPIFS address is sequentially read out and modulated, and then sent out to the line.Then, the data stored at the TPIFE #F address is read out, modulated, and 1 After sending it to the line, it reads the data stored at the TPIFS address, modulates it, and sends it to the line.

この時、 REVRS(リバース)というフラグに0を
セットして符号化を行っている側に対し、 FIFOの
最終番地におけるデータの変調および回線への送出が終
了しTMDP丁RがFIFOの先頭に戻ったことを知ら
せる。
At this time, the REVRS (reverse) flag is set to 0 and the encoding side is informed that the modulation and sending of the data to the line at the final address of the FIFO has been completed and the TMDP has returned to the beginning of the FIFO. Let me know what happened.

送信側装置におけるFIFO管理の主な作用は下記の通
りである。
The main effects of FIFO management in the sending device are as follows.

■ラインナンバーが変わったとき、再送開始ラインナン
バーを格納するメモリに対し、そのラインナンバーに対
応する符号化データが格納されているアドレスをストア
する。
(2) When the line number changes, the address where the encoded data corresponding to that line number is stored is stored in the memory that stores the retransmission start line number.

■モデムのポインタ、すなわちTにDPTRがエンコー
ダのポインタTM)IPTRを追い越さないようにする
■Prevent the modem pointer (DPTR) from overtaking the encoder pointer (TM) IPTR.

■エンコーダのポインタTMHPTRがFIFOメモリ
を一周してモデムのポインタTMDPTRにあまり近づ
かないようにする(受信側で受信エラーが発生した時に
再送を行うが、この再送を行うためのデータをFIFO
メモリに残しておくため)。
■The encoder pointer TMHPTR goes around the FIFO memory so that it does not get too close to the modem pointer TMDPTR (retransmission is performed when a reception error occurs on the receiving side, but the data for this retransmission is stored in the FIFO
(to keep it in memory).

L記■に関しては、既に第10図を用いて説明しである
ので、ここでは説明を省略する。
Regarding item L (2), since it has already been explained using FIG. 10, the explanation will be omitted here.

次に、上記■に関して説明を行う、モデムのポインタ↑
MDPTRがエンコーダのポインタTMHPTRを追い
越さないようにするために、モデムのポインタTMDP
TRがエンコーダのポインタTMHPTHに近づいたと
き、フィルを送出する。ここで、読取ったデータを符号
化するとき、EOLは2バイトで構成し。
Next, we will explain about the above ■, modem pointer ↑
To prevent MDPTR from overtaking the encoder pointer TMHPTR, the modem pointer TMDP
When TR approaches the encoder pointer TMHPTH, send out a fill. Here, when encoding the read data, EOL consists of 2 bytes.

OQH,80Hのデータとしている(第10図参照)、
かかる項目■の制御の一例として、以下の実例が考えら
れる。
The data is OQH, 80H (see Figure 10),
The following example can be considered as an example of controlling the item (2).

モデムのポインタTMDPTRがFIFOメモリのデー
タを送出中、001(、80Hのデータを検出した場合
、REVRS(リバース)フラグのチェックを行う。
If the modem pointer TMDPTR detects data of 001 (, 80H) while sending data from the FIFO memory, the REVRS (reverse) flag is checked.

R1:VR3(リバース)フラグが0のときは。R1: When the VR3 (reverse) flag is 0.

(エンコーダのポインタTMHPTRにおけるハイアド
レス)−(モデムのポインタTにDPTRにおけるハイ
アドレス)<2 であるか否かを判断し、上記の条件が満足するときには
フィルの送出を行い、上記の条件が満たされないとき、
すなわち、 (エンコーダのポインタT)!HPTRにおけるアドレ
ス)−(モデムのポインタTMDPTRにおけるハイア
ドレス)≧2のときは、モデムのポインタTN[1PT
Rを順次インクリメントしてFIFOメモリにストアさ
れているデータの送出を行う。
(High address in encoder pointer TMHPTR) - (High address in DPTR in modem pointer T) < 2. If the above conditions are satisfied, fill is sent, and the above conditions are satisfied. When it is not done,
That is, (encoder pointer T)! Address in HPTR) - (High address in modem pointer TMDPTR) ≧2, modem pointer TN[1PT
The data stored in the FIFO memory is sent out by sequentially incrementing R.

一方、 REVRS  (リバース)フラグが1のとき
には、まず、モデムのポインタTNDPTRにおけるハ
イアドレスがTPIFE)I(FIFOの最終アドレス
におけるバイト)と等しいか否かが判断される。モデム
のポインタ↑MDPTRにおけるハイアドレスがTPI
FE)Iと等しくないときには、モデムのポインタを順
次インクリメントしてFIFOメモリにストアされてい
るデータの送出を行う。
On the other hand, when the REVRS (reverse) flag is 1, it is first determined whether the high address in the modem's pointer TNDPTR is equal to TPIFE)I (the byte at the final address of the FIFO). Modem pointer ↑High address in MDPTR is TPI
When FE) is not equal to I, the modem pointer is sequentially incremented to send out the data stored in the FIFO memory.

モデムのポインタTMDPTRがTFIFEHに等しい
ときは。
When the modem pointer TMDPTR is equal to TFIFEH.

(エンコーダのポインタTNHPTRにおけるハイアド
レス) −TFIFS)I< 1 であるか否かを判断し、上記の条件を満たす場合はフィ
ルの送出を行い、上記の条件が満たされない場合、すな
わち。
(High address in encoder pointer TNHPTR) - TFIFS) Determine whether I<1, and if the above condition is met, send out the fill, if the above condition is not met, ie.

(エンコーダのポインタT)fHPTRにおけるハイア
ドレス) −TFIFS)I≧1 である場合は、モデムのポインタTMDP丁Rを順次イ
ンクリメントしてFIFOメモリにストアされているデ
ータの送出を行う。
(Encoder pointer T) high address in fHPTR) - TFIFS) If I≧1, the modem pointer TMDP is sequentially incremented to send out the data stored in the FIFO memory.

以上の場合において、フィルを送出するケースにおいて
も符号化がすべて終了(実際には、符号化を行う側で符
号化が終了した時にWHEN口といラフラグに1をセッ
トするので、モデム側はこのフラグをチェックすること
により、符号化がすべて終了しているか否かを認識する
ことができる)しているときには、モデムのポインタT
MDPTRを順次インクリメントしてFIFOメそりに
ストアされているデータの送出を行う。
In the above case, even in the case of transmitting a fill, all encoding is completed (actually, when encoding is completed on the encoding side, the WHEN port flag is set to 1, so the modem side sets this flag to 1). You can check whether all encoding has been completed by checking the modem pointer T.
The data stored in the FIFO memory is sent out by sequentially incrementing MDPTR.

また、符号化された全てのデータの送出が終了した時は
、RTC(Return To Control)@号
を送出する。このRTCもEOLの後に最後に送出した
ラインナンバーを加えたものとしている。 HOLの数
は103個送出する。
Furthermore, when the transmission of all encoded data is completed, an RTC (Return To Control) @ signal is transmitted. This RTC also includes the last transmitted line number after EOL. The number of HOLs sent is 103.

次に上記■に関して説明する。第14図には、各々の伝
送スピードにおいて、3秒間に送出されるビット数およ
びバイト数を示しである。すなわち、往復で3秒間の遅
延までの再送をできるようにするためには、エンコーダ
のポインタTNHPTRがモデムのポインタ丁NDPT
Hに311100バイト以上離れている必要がある。
Next, the above item (2) will be explained. FIG. 14 shows the number of bits and bytes transmitted in 3 seconds at each transmission speed. That is, in order to enable retransmission with a delay of up to 3 seconds in a round trip, the encoder's pointer TNHPTR must match the modem's pointer NDPT.
Must be at least 311,100 bytes away from H.

第15図にFIFOメモリと各種ポインタの関係を示す
0本実施例では、エンコーダのポインタTMHPTRに
おけるハイアドレスをインクリメントするとき、モデム
のポインタ丁MDPTRと比較して。
FIG. 15 shows the relationship between the FIFO memory and various pointers. In this embodiment, when the high address in the encoder pointer TMHPTR is incremented, it is compared with the modem pointer MDPTR.

エンコーダのポインタTMHPTRがモデムのポインタ
τMDPTRに対し4098バイト以上離れるように制
御する。以下にその制御の具体例を示す。
The encoder pointer TMHPTR is controlled to be separated from the modem pointer τMDPTR by 4098 bytes or more. A specific example of this control is shown below.

エンコーダのポインタTMHPTRにおけるハイアドレ
スをインクリメントするとき、REVRS(リバース)
フラグのチェックを行なう、 REVRS(リバース)
フラグが0のときには、 (TFIFEH−(エンコーダのポインタTI’1IP
THにおけるハイアドレス))+((モデムのポインタ
↑MDPTRにおけるハイアドレス) −TPIFSH
) <1[1であるか否かを判断し、上記の条件を満た
すときはエンコードを中断し、ウェイト状態となる。ま
た、上記の条件が満たされないとき、すなわち。
When incrementing the high address in the encoder pointer TMHPTR, REVRS (reverse)
Check the flag, REVRS (reverse)
When the flag is 0, (TFIFEH-(encoder pointer TI'1IP
High address in TH)) + ((Modem pointer ↑ High address in MDPTR) -TPIFSH
) <1 [1], and if the above conditions are met, the encoding is interrupted and a wait state is entered. Also, when the above conditions are not met, ie.

(TPIFEH−(エンコーダのポインタTMHPTR
におけるハイアドレス))+((モデムのポインタTM
DPTRにおけるハイアドレス) −TFIFSH) 
≧16のときは、符号化を行い、符号化したデータをF
IFOメそりにストアする。
(TPIFEH-(Encoder pointer TMHPTR
)) + ((modem pointer TM
High address in DPTR) - TFIFSH)
When ≧16, perform encoding and convert the encoded data to F
Store in IFO memory.

これに対し、REVRS(リバース)フラグが1のとき
は。
On the other hand, when the REVRS (reverse) flag is 1.

(モデムのポインタTMDPTRにおけるハイアドレス
)−(エンコーダのポインタTMHPTRにおけるハイ
アドレス)<16 であるか否かを判断し、上記の条件を満たすときは、エ
ンコードを中断し、ウェイト状態となる。
It is determined whether (high address in modem pointer TMDPTR) - (high address in encoder pointer TMHPTR)<16, and if the above condition is satisfied, encoding is interrupted and a wait state is entered.

上記の条件が満たされないとき、すなわち、(モデムの
ポインタ丁MDPTRにおけるハイアドレス)−(エン
コーダのポインタTMHPTRにおけるハイアドレス)
≧16 のときには、符号化を行い、符号化したデータをFIF
Oメモリにストアする。
When the above conditions are not met, i.e. (high address in modem pointer TMHPTR) - (high address in encoder pointer TMHPTR)
When ≧16, encoding is performed and the encoded data is sent to FIF
Store in O memory.

97 再送開始アドレスを格納するメモリ容量の妥当性 再送開始アドレスを格納するメモリ領域は本実施例では
1024バイトを考えている。このため。
97 Validity of memory capacity for storing retransmission start address The memory area for storing retransmission start address is considered to be 1024 bytes in this embodiment. For this reason.

512個の再送開地アドレスを格納することができる。512 retransmission free addresses can be stored.

すなわち、過去512ラインナンバ一分の再送が可能に
なっている。ここで、lラインを符号化したとき、1番
短いデータは、lラインが全白であったときである。上
述したように、余白ラインを符号化したときのバイト数
は7バイトである。
That is, it is possible to retransmit one minute of the past 512 line numbers. Here, when the l line is encoded, the shortest data is when the l line is completely white. As mentioned above, the number of bytes when encoding a margin line is 7 bytes.

1ラインナンバーはlラインごとにインクリメントされ
るので、1ラインナンバーの最小バイト数は7である。
Since one line number is incremented every l line, the minimum number of bytes for one line number is seven.

そして、512ラインナンバ一分の再送を考えると、最
小3584バイトが必要となる。このとき、伝送スピー
ドを4800b/Sとした場合。
Considering retransmission for one line number of 512, a minimum of 3584 bytes is required. At this time, when the transmission speed is 4800b/S.

3584(バイト)÷600(バイト7秒)48(秒)
であり、先に述べたように回線上の遅延を許容する時間
として3秒を考えているので、再送開始アドレスは51
2個の容量を有するメモリに格納すれば充分である。
3584 (bytes) ÷ 600 (bytes 7 seconds) 48 (seconds)
As mentioned earlier, we are considering 3 seconds as the time allowed for delay on the line, so the retransmission start address is 51.
It is sufficient to store it in two memories.

98 送信側装置から画情報を全て送出した後の制御 送信原稿のエンコードがすべて終了すると、制御復帰信
号(RTC;Return to Control)信
号がFIFOメそりに書き込まれる。このRTCは、 
EOL 103側とする。そして、 EOLに引き続い
て、最後に送出したラインナンバーを加える。ここでの
EOLは、「0」が11個統御た後に「1」が続<12
ビツトで構成される。
98 Control After All Image Information Is Sent from the Sending Device When all the encoding of the transmission document is completed, a return to control (RTC) signal is written to the FIFO memory. This RTC is
Set to EOL 103 side. Then, following EOL, add the last sent line number. The EOL here is 11 "0"s followed by "1"<12
Consists of bits.

上述したRTCの送出時間は、 4800b/Sのとき
o、e秒、また2400b/Sのとき1.2秒となる。
The transmission time of the above-mentioned RTC is o.e seconds for 4800b/S, and 1.2 seconds for 2400b/S.

一般に、誤り再送を行うときには、回線品質の良くない
場合が多い、このため、RTG信号を従来のEOL 8
個としておくと、RTC検出不可となることが予想され
る。そこで、RTC信号はKOL 103個として、受
信側装置においてRTCg号を必ず検出できるようにし
た。
Generally, when performing error retransmission, the line quality is often poor, so RTG signals are
If it is set to 1, it is expected that RTC detection will not be possible. Therefore, the RTC signal is set to 103 KOLs so that the RTCg signal can always be detected by the receiving side device.

実際に、モデムからRTG信号の送出が終了したときに
も、直ちに手順信号の送出へは向かわない9本実施例で
は1国際回線などの遅延として1.2秒、送信側におけ
るNACK信号(P Is信号)の検出時間として1秒
を考えている。そして、 RTC信号の送出が終了した
後、1.5秒経過後に5ED=Oならば受信側からPI
S信号が送出されていないものと判断し、手順信号の送
出へ向かう、具体的には1手順信号として、EOに/I
IPS/EOP/PRI−EOII/PRI−MPS/
PRI−EOP を用いる。
In fact, even when the modem finishes transmitting the RTG signal, it does not immediately start transmitting the procedure signal.9 In this embodiment, the delay for the international line is 1.2 seconds, and the NACK signal (P Is 1 second is considered as the detection time of the signal). Then, after 1.5 seconds have passed after the sending of the RTC signal ends, if 5ED=O, the receiving side sends the PI
It is determined that the S signal is not being sent, and the procedure signal is sent. Specifically, the /I signal is sent to EO as a 1 procedure signal.
IPS/EOP/PRI-EOII/PRI-MPS/
Use PRI-EOP.

また、 R丁C信号の送出が終了した後、1.5秒経過
後に5ED−1ならばPIS信号のサーチへ向かう。
Further, after 1.5 seconds have elapsed after the transmission of the R-C signal is completed, if it is 5ED-1, the process proceeds to search for the PIS signal.

そして、2秒以内にPIS信号を検出した場合には、誤
り再送を行う、また、2秒経過してもPIS信号を検出
しない場合は、手順信号の送出へ向かう。
If a PIS signal is detected within 2 seconds, error retransmission is performed, and if a PIS signal is not detected even after 2 seconds, the process proceeds to transmit a procedure signal.

@3 受信側装置から再送要求を行う条件およびフォー
ルバック要求を行う条件(第18図使用)受信側装置か
ら再送要求を行うケースとしては、以下に述べる3通り
がある。
@3 Conditions for making a retransmission request from the receiving side device and conditions for making a fallback request (used in Fig. 18) There are three cases in which the receiving side device makes a retransmission request as described below.

■ 3ライン以上連続して画像エラーが発生したとき、 ■ トレーニング信号の受信に失敗したとき、 ■ 画像受信モードに入った後、ある一定時間(例えば
2400b/Sの場合は4.5秒、 4800b/Sの
場合は3.5秒)以上EOL信号を検出できないとき。
■ When an image error occurs for 3 or more lines in a row; ■ When training signal reception fails; ■ After entering image reception mode, a certain period of time (for example, 4.5 seconds for 2400b/S, 4800b) /S: 3.5 seconds) or more when the EOL signal cannot be detected.

また、1枚の原稿を伝送中に、再送が3回行われる”と
、フォールバックの要求を行う、但し、ある一定バイト
数(例えば127バイト)以上にわたってエラーのない
データを受信している場合は、上記再送回数をカウント
するカウンタをりリアする。
In addition, if a retransmission is performed three times while transmitting one document, a fallback request will be made.However, if error-free data is received over a certain number of bytes (for example, 127 bytes) resets the counter that counts the number of retransmissions.

第16図に示すフローチャートは、再送要求を行う場合
およびフォールバック要求を行う場合に着目した画像受
信の制御手順を表すものである。本図を参照して、上記
再送要求/フォールパック動作を詳細に説明する。
The flowchart shown in FIG. 16 represents the image reception control procedure focusing on the case of making a retransmission request and the case of making a fallback request. The above retransmission request/fall pack operation will be explained in detail with reference to this figure.

ステップ8103Bは、画像受信状態を表わしている0
画像受信を行う前に、NSF 4号の送出回数をカウン
トするカウンタ、および、1枚の原稿を受信中に何回再
送を行ったかを表わす再送カウンタはクリアしておく。
Step 8103B is 0 representing the image reception state.
Before image reception, a counter that counts the number of times NSF No. 4 has been sent and a retransmission counter that indicates how many times one document has been retransmitted during reception are cleared.

ステップ91038においては、トレーニング受信に成
功したか否かが判断される。トレーニング受信の成功と
は、5ED−1の確認、C0−0(トレーニング時間の
半分程度の長さ)の確認、 CD−1の確認が正しくで
きたことを意味する。3.5秒以内にトレーニング受信
に成功した場合は、ステップ9104Gに進む、他方、
3.5秒以内にトレーニング受信に成功しない場合は、
ステップSIQ?Bに進む。
In step 91038, it is determined whether training reception was successful. Successful training reception means that confirmation of 5ED-1, C0-0 (about half the training time), and CD-1 were correctly confirmed. If training reception is successful within 3.5 seconds, proceed to step 9104G;
If the training reception is not successful within 3.5 seconds,
Step SIQ? Proceed to B.

通常は、3.5秒以内にトレーニング受信が終了する。Normally, training reception ends within 3.5 seconds.

このため、トレーニング受信を開始してから3.5秒以
内にトレーニングが終了しない場合は、トレーニング受
信に失敗したものと判断する。このように、本実施例に
おいては、トレーニング受信に失敗したものと即時に判
断することが可能になった。従って、その後、誤り再送
あるいはNSF信号(DON  信号の場合もある)の
送出が可使になる。
Therefore, if training is not completed within 3.5 seconds after starting training reception, it is determined that training reception has failed. In this way, in this embodiment, it is possible to immediately determine that training reception has failed. Therefore, error retransmission or sending of an NSF signal (which may also be a DON signal) is then enabled.

誤り再送を行うか、あるいはNSF信号(NSFN号を
3回送出しているときはDCN信号の送出を行う)の送
出を行うかの選択については後述する。
The selection of whether to perform error retransmission or to send an NSF signal (when the NSFN signal is sent three times, a DCN signal is sent) will be described later.

ステップ51040においては、トレーニング受信に成
功したので、NSF信号の送出回数をカウントするカウ
ンタをクリアする。誤り再送を行うとき、受信側装置は
PIS信号に引き続いてNSF信号を送出する。このN
SF @号には、再送開始ライン、フォールバックの有
無等の情報が含まれている。このNSF信号を送信側装
置が正しく受信すると、フォールパック等の制御をした
後に再送開始ラインからの再送を行う。
In step 51040, since the training reception was successful, the counter that counts the number of times the NSF signal is sent is cleared. When performing error retransmission, the receiving device sends out the NSF signal following the PIS signal. This N
The SF @ number includes information such as the retransmission start line and whether there is a fallback. When the transmitting side device correctly receives this NSF signal, it performs control such as fall pack and then retransmits from the retransmission start line.

しかし、送信側装置がNSF信号を正しく受信できない
ときには再びNSF信号の受信へ向かう、一方、受信側
装置はNSF 4号を送出した後、トレーニング信号の
受信へ向かう、しかし、送信側装置はトレーニング信号
を送出していないので、トレーニング受信は不成功とな
る。このとき、受信側装置は、3.5秒以内に5ED−
1を検出できたか否かを判断する(ステップ91078
)、この場合、トレーニング信号は送出されていないの
で、SEDはrOJである。そして、受信側装置は再び
NSF信号の送出へ向かう、上記カウンタはこの回数を
数えるためのものである。
However, when the transmitting device cannot correctly receive the NSF signal, it goes back to receiving the NSF signal.On the other hand, after transmitting NSF No. 4, the receiving device goes to receive the training signal. Since the training reception is not sent, the training reception will be unsuccessful. At this time, the receiving device receives 5ED- within 3.5 seconds.
1 is detected (step 91078).
), in this case the SED is rOJ since no training signal is sent out. Then, the receiving device starts transmitting the NSF signal again, and the counter is used to count the number of times this occurs.

NSF信号を3回送出してもトレーニング信号が送信側
から送出されない場合には、D(:N @号を送出して
回線断とする。
If the training signal is not sent from the sending side even after sending the NSF signal three times, the D(:N @ signal is sent and the line is disconnected.

ステップ51042ないしステー2プ5104Bは、画
像受信状態を表わしている。
Steps 51042 to 5104B represent the image reception state.

ステー、プ51042においては、3ライン以上の連続
エラーが発生したか否かが判断される。この3ラインと
は一実施例にすぎず、その他の任意の値に設定すること
が可能である。また、受信した画像の細かさに応じて、
当該ライン数を自動的に変更することも可能である。
In step 51042, it is determined whether or not consecutive errors have occurred in three or more lines. These three lines are just one example, and can be set to any other value. Also, depending on the detail of the received image,
It is also possible to automatically change the number of lines.

3ライン以上の連続エラーが発生した場合は。If consecutive errors occur on 3 or more lines.

ステップ51052に進んで誤り再送を行う、他方、3
ライン以上の連続エラーが発生していない場合には、ス
テップ5IQ44に進む。
On the other hand, proceed to step 51052 and perform error retransmission.
If no consecutive errors occur in more than one line, the process advances to step 5IQ44.

ステップ51044 ニおいては、a間(2400b/
S  のときは14.5秒、 48QOb/S ty)
ときはa−3,5秒)にわたって、EOL信号を検出し
ているか否かが判断される。そして、a秒間にわたって
EOL信号を検出していない場合には、ステップ910
58に進んで誤り再送を行う、また、a秒間のうちにE
OL信号を検出している場合は、ステップ5104Bに
進む。
In step 51044, between a (2400b/
14.5 seconds when S, 48QOb/S ty)
It is determined whether or not the EOL signal is detected over a period of a-3.5 seconds). If no EOL signal has been detected for a seconds, step 910
The process proceeds to step 58 and retransmits the error, and the E
If the OL signal is detected, the process advances to step 5104B.

このa秒間は、各伝送スピードでの1ラインの最も長い
伝送時間を基準に定めている。これにより、トレーニン
グ受信には成功したが正しいデータが復調されないとい
った場合においても、誤り再送を行うことが可能になる
This a second is determined based on the longest transmission time of one line at each transmission speed. This makes it possible to perform error retransmission even when training reception is successful but correct data is not demodulated.

ステップ5104Bにおいては、RTC(Return
 t。
In step 5104B, RTC (Return)
t.

Gontal)信号を検出したか否かが判断される。It is determined whether or not a signal (Gontal) is detected.

RTG信号を検出すると、ステップ91048に進む。If the RTG signal is detected, the process proceeds to step 91048.

他方、RTC信号を検出していない場合には、ステップ
51042に進む。
On the other hand, if no RTC signal is detected, the process advances to step 51042.

ステップ91048は、後手順を表わしている。Step 91048 represents a post-procedure.

ステップ51050は、1枚の原稿を受信中にタイムオ
ーバーしたとき(T−18分)であり、エラーを表わし
ている。
Step 51050 occurs when a timeout occurs (T-18 minutes) while receiving one document, and represents an error.

ステップ81052においては、ある一定バイト数以上
の正しいデータを受信したか否かが判断される0回線の
特性が定常状態にあるときには画像受信が良好であるが
発生頻度の少ないインパルス性ノイズによりエラーが発
生している場合には、既にある一定バイト数以上の正し
いデータを受信していることになる。
In step 81052, it is determined whether or not correct data of a certain number of bytes or more has been received.When the characteristics of line 0 are in a steady state, image reception is good, but errors may occur due to impulsive noise that occurs infrequently. If this occurs, it means that more than a certain number of bytes of correct data have already been received.

このような回線状況の場合は、送信側でフォールパック
を行ったとしても、再びエラーが発生することになる。
In such a line situation, even if fall pack is performed on the transmitting side, an error will occur again.

従って、このような場合は無駄なフォールパックをしな
いほうが適切である。すなわち、ある一定バイト数以上
の正しいデータを先に受信している場合は、ステップ5
1054に進んで再送カウンタをクリアする。また、あ
る一定バイト数以上の正しいデータを未だ受信していな
い場合は、ステップ3105Bに進み、再送カウンタは
り ・リアしない。
Therefore, in such cases, it is better not to use unnecessary fall packs. In other words, if correct data of a certain number of bytes or more has been received first, step 5
Proceeding to 1054, the retransmission counter is cleared. If correct data of a certain number of bytes or more has not yet been received, the process advances to step 3105B and the retransmission counter is not reset.

ステップ9105Bにおいては、送信側の伝送を中断さ
せるために、PIS信号の送出を行う。
In step 9105B, a PIS signal is sent to interrupt transmission on the transmitting side.

ステップ91058においては、再送カウンタを1だけ
インクリメントする。
In step 91058, the retransmission counter is incremented by one.

ステップ31080においては、信号が到達しているか
(すなわち、5ED−1であるか)否かが判断される。
In step 31080, it is determined whether the signal has arrived (ie, 5ED-1).

 5ED−1のときにはステップ51082に進む。When it is 5ED-1, the process advances to step 51082.

このケースは、ステップ5105Bで送出したPIS信
号を送信側装置が正しく受信していないケースである。
This case is a case where the transmitting device does not correctly receive the PIS signal sent in step 5105B.

他方、 5ED−0のときにはステップ31084に進
む。
On the other hand, when it is 5ED-0, the process advances to step 31084.

ステップ51082においては、再びPfS信号の送出
を行う。
In step 51082, the PfS signal is sent again.

ステップ91084においては、再送カウンタの計数値
が3以りになっているか(すなわち、フォールパックを
行うか)否かが判断される。再送のカウンタの計数値が
3以上の場合(すなわち、フォールパックを行う場合)
は、ステップ5toeeに進む、また、再送カウンタの
計数値が3未満である場合(すなわち、フォールパック
を行わない場合)は、ステップ51074に進む。
In step 91084, it is determined whether the count value of the retransmission counter is 3 or more (that is, whether fall pack is to be performed). When the count value of the retransmission counter is 3 or more (i.e., when performing fall pack)
If the count value of the retransmission counter is less than 3 (that is, if fall pack is not performed), the process proceeds to step 51074.

ステップ3108Bにおいては、現在の伝送スピードが
2400b/Sであるか否かが判断される。現在の伝送
スピードが2400b/Sのときにはこれ以上フォール
パックすることができないので、口CN信号を送出した
後(ステップ5tos8)、エラー終了となる(ステッ
プ51070)、他方、現在の伝送スピードが2400
b/Sでないときは、ステップ51072に進み、フォ
ールパックを指定する。
In step 3108B, it is determined whether the current transmission speed is 2400 b/s. When the current transmission speed is 2400 b/s, no further fall pack can be performed, so after sending the CN signal (step 5 tos 8), an error ends (step 51070).On the other hand, when the current transmission speed is 2400 b/s
If it is not b/S, proceed to step 51072 and specify fall pack.

ステップS10?4においては、再送開始ライン/フォ
ールパックの有無の情報を含んだNSF信号の送出を行
う。
In step S10?4, an NSF signal containing information on the presence or absence of a retransmission start line/fall pack is sent.

ステップ5107Bにおいては、NSF信号の送出回数
をカウントするカウンタを1だけインクリメントした後
に画信号の受信へ向かう。
In step 5107B, the counter for counting the number of times the NSF signal is sent is incremented by 1, and then the process proceeds to receive the image signal.

ステップ3107Bは、トレーニング受信に失敗したと
きに分岐してくるブロックである。 CFR信号を送出
した後のトレーニング信号受信が失敗であった場合は、
誤り再送を行う、しかし、誤り再送を一度行いNSF信
号を送出した後のトレーニング信号受信が失敗であった
場合は、誤り再送を行う場合と、 NSF /DCN口
CN信号する場合とに分けられる。
Step 3107B is a block that branches when training reception fails. If the training signal reception after sending the CFR signal fails,
Error retransmission is performed, but if the training signal reception fails after performing error retransmission once and sending an NSF signal, there are two cases: error retransmission and NSF/DCN/CN signal transmission.

すなわち、NSF信号を送信側装置が正しく受信してい
ない場合(送信側装置がトレーニング信号を送出してい
ない場合ニステップ31078においてYES、ステッ
プ51080においてYESのとき)は、NSF信号の
再送を行う、他方、受信側装置において受信が不成功で
あった場合(ステップS10?8においてNOのとき)
は、誤り再送を行う、ここで。
That is, if the transmitting device does not correctly receive the NSF signal (YES in step 31078 if the transmitting device does not send a training signal, and YES in step 51080), the NSF signal is retransmitted. On the other hand, if reception is unsuccessful in the receiving device (NO in steps S10-8)
Here, do an error retransmission.

ステラ7’5L07B”において5ED=1とは、トレ
ーニング信号が到達したものと判断していることを示す
、そして、ステップ91078においてSE[l−1を
検出した場合(すなわち、トレーニング信号が到達して
いた場合)は、ステップ5105Bに進む、他方、ステ
ップ31078において、5ED−1を検出できない場
合(すなわち、トレーニング信号が到達していない場合
)は、ステップ31080に進む。
5ED=1 in "Stella 7'5L07B" indicates that it is determined that the training signal has arrived, and if SE[l-1 is detected in step 91078 (that is, the training signal has not arrived). On the other hand, if 5ED-1 cannot be detected in step 31078 (that is, the training signal has not arrived), the process proceeds to step 31080.

ステップ51080においては、再送のためのNSF信
号を直前に送出したか否かが判断される。再送のための
Ni2P @号を直前に送出した場合は、ステップ51
082に進む、また、再送のためのNSF信号を直前に
送出していない場合は、ステー2プ5105Bに進む。
In step 51080, it is determined whether an NSF signal for retransmission was sent immediately before. If the Ni2P @ number for retransmission was sent just before, step 51
If the NSF signal for retransmission has not been sent immediately before, the process proceeds to step 2 5105B.

ステップ51082においては、既にNSF信号の再送
を3回行ったか否かが判断される。 NSF信号の再移
送を3回行った場合は、DCN信号を送出した後(ステ
ップ51084)、エラー終了となる(ステップ5io
se)、また、NSF信号の再送を3回行っていない場
合は、ステップ31084に進んでNSF信号の再送を
行う。
In step 51082, it is determined whether the NSF signal has already been retransmitted three times. If the NSF signal is retransferred three times, the process ends with an error after sending the DCN signal (step 51084).
se), if the NSF signal has not been retransmitted three times, the process proceeds to step 31084 and the NSF signal is retransmitted.

!5IONSF信号の構成(第17図使用)受信側装置
には、受信した最新のラインナンバーを格納するメモリ
エリアを設ける。そして。
! 5IONSF Signal Structure (Used in FIG. 17) The receiving side device is provided with a memory area for storing the latest received line number. and.

インシャライズ時においては、0IOIHのデータを格
納しておく。
At the time of initialization, data of 0IOIH is stored.

復号器は、EOLを検出する毎に次の2バイトのデータ
、すなわちラインナンバーをチェックする。そして、今
回受信したラインナンバーが前回正しく受信したライン
ナンバーと比べて3未満だけインクリメントされている
場合は、受信画像が”良好”であると判断する。換言す
れば、3ライン未満の画像エラーは受信が”良好”であ
るものと判断する。このラインナンバーは検出されるた
びにメモリにストアされ、アップデートされる。
Each time the decoder detects EOL, it checks the next two bytes of data, ie, the line number. If the line number received this time is incremented by less than 3 compared to the line number correctly received last time, it is determined that the received image is "good". In other words, if the image error is less than 3 lines, it is determined that the reception is "good". This line number is stored in memory and updated each time it is detected.

一方、今回受信したラインナンバーが前回正しく受信し
たラインナンバーより3つ以上インクリメントされてい
る場合は、NACK信号の送出を行う0本実施例におい
ては、  prs信号(482Hzの信号を3秒間連続
させた信号)の送出を行う、すなわち、3ライン以上の
画像エラーが発生した場合には受信画像が不良であると
判断し、誤り再送の要求を行う、そこで、PIS信号の
送出後、300b/Sの信号を用いて再送開始ラインナ
ンバーおよびフォールパックの有無を送信側装置に知ら
せる。
On the other hand, if the line number received this time is incremented by three or more from the line number correctly received last time, a NACK signal is sent. In other words, if an image error of 3 or more lines occurs, it is determined that the received image is defective and a request is made to retransmit the error.Therefore, after sending the PIS signal, the 300b/S signal is sent. A signal is used to notify the sending device of the retransmission start line number and the presence or absence of a fall pack.

受信側装置から送信側装置に送出する300b/Sの信
号の一例を第17図に示す、本図において、プリアンプ
ルはrolll 1110 Jパターンの約1秒間の連
送、 FFHはアドレスデータ、13Hはコントロール
データ(LSDのデータから NSHのデータの順に回
線に送出される)、 2G)1はNSFのFCF (フ
ァクシミリ コントロール フィールド)である、また
、その後に送出するラインナンバーは、ラインナンバー
の下9けたに着目したデータであり、ラインナンバー〇
からラインナンバーSttまでである。このときに送出
するラインナンバーについては、各バイトデータのLS
Bに1をセットすることはしない0例えば、ラインナン
バー〇は。
Figure 17 shows an example of a 300b/S signal sent from the receiving device to the transmitting device. In this figure, the preamble is a roll 1110 J pattern that is continuously sent for about 1 second, FFH is address data, and 13H is Control data (sent from the LSD data to the NSH data in order), 2G) 1 is the NSF FCF (Facsimile Control Field), and the line number sent after that is the last 9 digits of the line number. This data focuses on line number 〇 to line number Stt. The line number to be sent at this time is the LS of each byte data.
Do not set 1 to B. For example, line number 〇.

00H,OOHである。00H, OOH.

次のバイトデータはフォールパックの有無を示す、具体
的には、00Hのときはフォールパックを指定せず、F
FHのときはフォールパックを指定している。
The next byte data indicates the presence or absence of fall pack. Specifically, when it is 00H, fall pack is not specified and F
For FH, fall pack is specified.

Fe2はフレームチェックシーケンス、FLAGはro
lll  1110Jである。
Fe2 is the frame check sequence, FLAG is ro
Ill 1110J.

画像受信時における復号に際しては、  EOLに続く
2バイトのデータ(すなわちラインナンバー)は無視し
て行う。
When decoding an image when receiving it, the 2-byte data (ie, line number) following EOL is ignored.

III  NA(:に信号を受信した時における送信側
装置の動作(第18図使用) 送信側装置は、読取り手段により原稿の情報を読み取り
、そのデータを符号器により符号化し、モデムによりそ
の符号化したデータを変調し、回線に送出している。こ
の時、NACK信号(本実施例においてはPIS信号)
の監視をしている。そして、NACK信号を検出しない
場合は、画情報の伝送を行い、NACK信号を検出した
場合には画情報の伝送を中断する。そして、300b/
S信号の受信へ向かう、この300b/Sには、前述の
如く、再送を開始するラインナンバー(下9けた)およ
びフォールバックの有無情報が格納されている。
III. Operation of the transmitting device when receiving a signal at NA (:) (Figure 18 used) The transmitting device reads the information on the document using the reading means, encodes the data using the encoder, and then encodes the data using the modem. The received data is modulated and sent to the line.At this time, a NACK signal (in this example, a PIS signal)
is being monitored. Then, if the NACK signal is not detected, the image information is transmitted, and if the NACK signal is detected, the image information transmission is interrupted. And 300b/
As described above, the line number (lower 9 digits) at which retransmission is to be started and information on the presence or absence of fallback are stored in this 300b/S heading for receiving the S signal.

送信側装置が再送開始ラインナンバーを検出すると、送
信側装置におけるエンコーダのポインタTM)IPTR
におけるアドレス、送信側装置におけるモデムポインタ
TにDPTRのアドレス、 REVRS(リバース)フ
ラグ、再送開始アドレスをチェックし、その結果に基づ
いて各種の制御を行う、この制御例としては、以下に述
べる3つのケースが考えられる。
When the transmitting device detects the retransmission start line number, the encoder pointer TM) IPTR in the transmitting device
, the address of DPTR in the modem pointer T of the sending device, the REVRS (reverse) flag, and the retransmission start address are checked, and various controls are performed based on the results.As examples of this control, the following three methods are used. A case is possible.

第1のケースは、REVRSフラグが0であって、送信
側装置におけるエンコーダのポインタTMHPTRが当
該装置におけるモデムのポインタTM[1PTRより大
きいときに、送信側装置のモデムのポインタTMDPT
Rが再送開始アドレスより大きい場合である。第18図
(1)〜(3)には、再送開始アドレスを認識し、再送
を行う3つのケースを図示しである。ここで述べた第1
のケースは、第18図(1)に図示しである。この場合
には、送信側装置におけるモデムのポインタ↑MDPT
Rに再送開始アドレスをセットし、そのラインナンバー
から再送を行う。
The first case is when the REVRS flag is 0 and the encoder pointer TMHPTR in the sending device is greater than the modem pointer TM[1PTR in the sending device, the modem pointer TMDPT of the sending device is
This is the case when R is larger than the retransmission start address. FIGS. 18(1) to (3) illustrate three cases in which a retransmission start address is recognized and retransmission is performed. The first mentioned here
The case is illustrated in FIG. 18(1). In this case, the modem pointer ↑MDPT on the sending device
A retransmission start address is set in R, and retransmission is performed from that line number.

第2のケースは、第18図(2)に図示しである。The second case is illustrated in FIG. 18(2).

すなわち、REVRS(リバース)フラグが1であって
、送信側装置におけるモデムのポインタTM[1PTR
が当該装置におけるエンコーダのポインタ↑NIPTR
より大きい場合である。この場合には、送信側装置にお
けるモデムのポインタTMDP丁Hに再送開始アドレス
をセットし、そのラインナンバーから再送を行う、ここ
で、送信側装置におけるエンコーダのポインタ TMH
PTRが再送開始アドレスより大きい場合はエラーが生
じたものと判断し、画情報の伝送は行うことなく、例え
ばDCH@号等(300b/Sによる)を送出し、回線
を開放する。
That is, the REVRS (reverse) flag is 1, and the modem pointer TM[1PTR
is the encoder pointer in the device ↑NIPTR
This is the case if it is larger. In this case, the retransmission start address is set in the modem pointer TMDP-H in the sending device, and retransmission is performed from that line number.Here, the encoder pointer TMH in the sending device is set.
If the PTR is larger than the retransmission start address, it is determined that an error has occurred, and the line is released by transmitting, for example, a DCH@ number (according to 300b/S) without transmitting image information.

第3のケースは、第18図(3)に図示しである。The third case is illustrated in FIG. 18(3).

すなわち、REVI?S(リバース)フラグが0であっ
て、送信側装置におけるエンコーダのポインタTMHP
TRが当該装置におけるモデムのポインタTMDPTR
より大きいときに、再送開始アドレスのポインタが送信
側装置におけるモデムのポインタTMDP丁Rより大き
い場合である。この場合には、送信側装置におけるモデ
ムのポインタTNDPTRに再送開始アドレスをセット
し、そのラインナンバーから再送を行う、また、REV
EMSフラグに1をセットする。ここで、送信側装置に
おけるエンコーダのポインタTM)IPTRが再送開始
アドレスより大きい場合はエラーと判断し、画情報の伝
送は行うことなく、例えばDON信号等(300b/S
)を送出し、回線を開放する。
In other words, REVI? The S (reverse) flag is 0, and the encoder pointer TMHP in the sending device
TR is the modem pointer TMDPTR in the device
This is the case when the retransmission start address pointer is larger than the modem pointer TMDP-R in the sending device. In this case, set the retransmission start address to the modem pointer TNDPTR in the transmitting side device, and retransmit from that line number.
Set the EMS flag to 1. Here, if the encoder pointer TM) IPTR in the transmitting side device is larger than the retransmission start address, it is judged as an error, and image information is not transmitted, for example, DON signal etc. (300b/S
) to open the line.

フォールバックを行うよう指示を受けた場合は、フォー
ルバックして画像情報の伝送を行う。
When receiving an instruction to perform fallback, it falls back and transmits image information.

また、 prs信号に引き続いてDCN信号を検出した
場合は回線を開放し、エラー終了とする。
Also, if a DCN signal is detected following a prs signal, the line is released and the process is terminated with an error.

912 送信側装置のブロック図の説明(第18図およ
び第20図使用) 第19図jf、本発明を適用したファクシミリ装置の送
信側構成を示すブロック図である。
912 Description of Block Diagram of Sending Device (Used in FIGS. 18 and 20) FIG. 19 jf is a block diagram showing the configuration of the sending side of the facsimile device to which the present invention is applied.

第19図において、2はループの保持を行う網断御装置
NGU(Network Control 11m1t
)であり、電話網をデータ通信等に使用するために、そ
の回線の端末に接続して電話交換網の接続制御を行った
り、あるいは、データ通信路への切替えを行う。
In FIG. 19, 2 is a network control unit NGU (Network Control 11m1t) that maintains the loop.
), and in order to use the telephone network for data communication, etc., it connects to the terminal of the line and controls the connection of the telephone exchange network, or switches to a data communication path.

2aは電話回線である。2a is a telephone line.

4は、送信系の信号と受信系の信号を分離するハイブリ
ッド回路である。信号線28aの送信信号は信号線2b
を通り、網制御装置2を介して、電話回線2aに送出さ
れる。また、相手側ファクシミリ装置から送られてきた
信号は、網制御装置2を介した後、信号線4aに出力さ
れる。
4 is a hybrid circuit that separates a transmission system signal and a reception system signal. The transmission signal of the signal line 28a is transmitted to the signal line 2b.
is transmitted to the telephone line 2a via the network control device 2. Further, a signal sent from the other party's facsimile machine is output to the signal line 4a after passing through the network control device 2.

6は、受信機から送出される再送要求信号(本実施例に
おいてはPIS信号を使用する)を検出する回路である
。すなわち、信号414aの信号を導入し、再送要求信
号(本実施例においてはPIS信号)を検出している時
には信号線6aに信号レベル「1」の信号を出力する。
6 is a circuit that detects a retransmission request signal (in this embodiment, a PIS signal is used) sent from the receiver. That is, when the signal 414a is introduced and a retransmission request signal (PIS signal in this embodiment) is detected, a signal of signal level "1" is output to the signal line 6a.

一方、信号線4aの信号を導入し、再送要求信号(本実
施例においてはP2S5号)を検出していない時には、
信号線8aに信号レベルrQJの信号を出力する。
On the other hand, when the signal on the signal line 4a is introduced and the retransmission request signal (P2S5 in this embodiment) is not detected,
A signal of signal level rQJ is output to the signal line 8a.

8は、受信側装置から再送要求信号に引き続いて送出さ
れる再送開始ラインナンバーおよびフォールバックの有
無情報が格納されている300b/Sの信号(本実施例
においてはN5Fi号を使用する:第17図参照)およ
び再送要求信号に引き続いて送出される切断命令(II
CN)信号(300b/Sの信号)を受信する回路であ
る。このバイナリ信号受信回路8は、NSF信号を検出
した時、信号線8aにパルスを発生するとともに、信号
線8bに再送開始ラインナンバーを出力する。そして、
信号線8dにフォールパックの有無情報(0→フオール
バツクせず、1→フオールバツクする)を出力する。ま
た、このバイナリ信号受信回路8は、008M号を検出
した時、信号線8cにパルスを発生する。
8 is a 300b/S signal (No. N5Fi is used in this embodiment: 17th (see figure) and a disconnection command (II
CN) signal (300b/S signal). When the binary signal receiving circuit 8 detects the NSF signal, it generates a pulse on the signal line 8a and outputs a retransmission start line number on the signal line 8b. and,
Information on the presence or absence of fall pack (0→no fallback, 1→fallback) is output to the signal line 8d. Further, this binary signal receiving circuit 8 generates a pulse on the signal line 8c when detecting the number 008M.

10は読取装置であり、送信原稿より主走査線方向lラ
イフ分の画信号を読み取り、白あるいは黒の2値を表わ
す信号列を作成する。この読取装置10はCCD (電
荷結合素子)等の撮像素子と光学系により構成する。信
号線12aにパルスが発生すると、すなわち、■ライン
の画信号の読取要求があると、1ラインの画信号を読み
取り、2値化したデータを信号線10aに出力する。
Reference numeral 10 denotes a reading device which reads image signals corresponding to 1 life in the main scanning line direction from the original to be transmitted, and creates a signal string representing a binary value of white or black. This reading device 10 is composed of an image pickup device such as a CCD (charge coupled device) and an optical system. When a pulse is generated on the signal line 12a, that is, when there is a request to read the image signal of line 1, the image signal of one line is read and the binarized data is output to the signal line 10a.

12は、一方のバー2フアメモリ内にある画信号が符号
化されている間に、他方のバッファメモリに次のライン
の画信号が書き込まれるようにするためのダブルバッフ
ァ回路である。2本のバッファはBUFO(バー/ 7
70)、 BIJFI(バッファl)ト呼ぶ、  BU
FOのバッファに画像データが詰まっているときには、
信号線12b(バッファ0フル)に信号レベル「l」の
信号を出力する。  BUFOのバッファに画像データ
が詰まっていないときには、信号線+2b(バッファ0
フル)に信号レベル「o」の信号を出力する。また、B
UF lのバッファに画像データが詰まっているときに
は、信号線12c(バッファ1フル)に信号レベルrl
」の信号を出力する。  BUFIのバッファに画像デ
ータが詰まってぃないときには、@縁線12c(バッフ
ァlフル)に信号レベル「0」の信号を出力する。
Reference numeral 12 denotes a double buffer circuit so that while the image signal in one bar memory is being encoded, the image signal of the next line is written into the other buffer memory. The two buffers are BUFO (bar/7
70), call BIJFI (buffer l), BU
When the FO buffer is full of image data,
A signal of signal level "1" is output to the signal line 12b (buffer 0 full). When the BUFO buffer is not full of image data, the signal line +2b (buffer 0
full) outputs a signal with signal level "o". Also, B
When the buffer of UF l is full of image data, the signal level rl is applied to the signal line 12c (buffer 1 full).
” signal is output. When the buffer of BUFI is not filled with image data, a signal of signal level "0" is output to the @ edge line 12c (buffer l full).

後述する制御回路30は、バッファがフルになったこと
を確認した後、次に読み出すべきバー2フアを信号線3
0bに出力する信号により指定しく信号線30bが信号
レベルrQJのときは、バッファ0のデータを読み出す
:信号線30bが信号レベル「1」のときは、バッファ
lのデータを読み出す)、その後、信号線3Qaにパル
ス(リードパルス)を発生する。
After confirming that the buffer is full, the control circuit 30 (described later) transfers the bar 2 to be read next to the signal line 3.
When the signal line 30b is at the signal level rQJ as specified by the signal output to the signal line 0b, the data in the buffer 0 is read out; when the signal line 30b is at the signal level "1", the data in the buffer l is read out), and then the signal A pulse (read pulse) is generated on line 3Qa.

このダブルバッファ回路12は、指定されたバッファの
データを信号線12dに出力する。そして、指定された
バッファのデータを信号線12dに出力し終ると、指定
されたバッファのバッファフルを落とす、すなわち、信
号m30bに出力されている信号レベルが「0」 (バ
ッファ(l定)であって、信号1130aに(リード)
パルスが発生し、バッファのデータをすべて出力したと
きは、バッファフル0を落とす(すなわち、信号線12
bに信号レベル「0」の信号を出力する)、また、信号
1!130bに出力されている信号レベルが「l」(バ
ッファl指定)であって、信号線30aに(リード)パ
ルスが発生し、バッファのデータをすべて出力したとき
は、バッファフルlを落とす(すなわち、信号線12c
に信号レベル「0」の信号を出力する)。
This double buffer circuit 12 outputs the data of the designated buffer to the signal line 12d. When the data of the designated buffer is output to the signal line 12d, the buffer full state of the designated buffer is dropped, that is, the signal level output to the signal m30b is set to "0" (buffer (l constant)). Therefore, the signal 1130a (read)
When a pulse is generated and all the data in the buffer is output, the buffer full 0 is dropped (that is, the signal line 12
b), and the signal level output to signal 1!130b is "l" (buffer l designation), and a (read) pulse is generated on signal line 30a. When all the data in the buffer is output, the buffer full signal is dropped (in other words, the signal line 12c is
outputs a signal with signal level “0”).

また、ダブルバッファ回路12は、バッファが空になっ
たとき、信号線12aにパルスを発生し、主走査方向に
おける1947分のデータを読取装置10から入力する
。この場合に、そのデータを空いているバッファに格納
するが、同時にデータを格納したバッファフルに1をセ
ットする。読み取ったデータは、バッファ0.バッファ
1.バッファ0、バッファ1と交互に格納される。
Furthermore, when the buffer becomes empty, the double buffer circuit 12 generates a pulse on the signal line 12a, and inputs 1947 worth of data in the main scanning direction from the reading device 10. In this case, the data is stored in an empty buffer, but at the same time, the buffer full in which the data was stored is set to 1. The read data is stored in buffer 0. Buffer 1. Buffer 0 and buffer 1 are stored alternately.

14は、ライン終端符号(EOL)の後に挿入するライ
ンナンバーのカウントを行うカウンタである。
14 is a counter that counts the line number inserted after the end-of-line code (EOL).

信号線30cにパルスが発生すると、ラインナンバーを
O(OIOIH)にセットする。そして、信号線30c
lにパルスが発生する毎にラインナンバーの値をインク
リメントする。すなわち、ラインナンバーがO(OIO
IH)の状態で信号30dにパルスが発生したとき、ラ
インナンバーは+(0103H)となる。
When a pulse is generated on the signal line 30c, the line number is set to O (OIOIH). And signal line 30c
The value of the line number is incremented every time a pulse occurs in l. In other words, the line number is O(OIO
When a pulse is generated in the signal 30d in the state of IH), the line number becomes +(0103H).

以下同様である。また、ライナンバーを示す2バイトの
データは、信号線14aに出力される。
The same applies below. Further, 2-byte data indicating the line number is output to the signal line 14a.

16は、信号線30eに出力されている1ラインの2値
化されたデータを入力し、符号化(本実施例においては
モディファイドハフマン符号化)シたデータを信号線1
8cに出力する回路である。lラインの2値化されたデ
ータを入力し、符号化をしたときのビット数が8となっ
たとき、すなわち、1バイトの符号化したデータがそろ
ったとき、信号線IEtaにパルスを発生する。一方、
1ラインの符号化がすべて終了したとき、信号線IEl
bに(終了)パルスを発生する。lラインの符号化を終
了したとき、最後のデータが8ビツトに満たない場合は
、残りのデータは、Oとし、データが8ビツトそろった
ものとして処理を行う。
16 inputs one line of binarized data output to the signal line 30e, and sends the encoded data (modified Huffman encoding in this embodiment) to the signal line 1.
This is a circuit that outputs to 8c. When the binary data of the l line is input and the number of encoded bits becomes 8, that is, when 1 byte of encoded data is complete, a pulse is generated on the signal line IEta. . on the other hand,
When the encoding of one line is completed, the signal line IEl
Generate a (end) pulse at b. When the encoding of one line is completed, if the last data is less than 8 bits, the remaining data is set to O, and the data is processed as if it were 8 bits.

1aは、ラインデータを読取り符号化したデータをスト
アするのに使用するFIFOメそりである。一方、モデ
ム側は、このFIFOメそりにストアされているデータ
を読み出し、変調して回線に送出する。信号線30fか
ら、信号線30hの3木の信号線により、符号化したデ
ータをFIFOメモリに書き込む、信号線30fに(ラ
イト)パルスが発生した場合、信号線30gに出力され
ている番地に対し。
1a is a FIFO memory used to read line data and store encoded data. On the other hand, the modem side reads the data stored in this FIFO memory, modulates it, and sends it out to the line. Encoded data is written to the FIFO memory using three signal lines from the signal line 30f to the signal line 30h. When a (write) pulse is generated on the signal line 30f, the data is written to the address output on the signal line 30g. .

信号線30hに出力されているバイトデータをストアす
る。また信号線30i、信号線30j、信号線18aの
3木の信号線により、FIFOメそりにストアされてい
るデータを読み出す、@琴線30iに(リード)パルス
が発生したとき、信号線30jに出力されている番地の
データを、信号線18aに出力する0本実施例において
は、FIFOメモリは84QOHからAFFFHのアド
レスを有する。
Stores the byte data output to the signal line 30h. In addition, the data stored in the FIFO memory is read out using the three signal lines 30i, 30j, and 18a. When a (read) pulse is generated on the koto line 30i, it is output to the signal line 30j. In this embodiment, the FIFO memory has addresses from 84QOH to AFFFH.

20は再送開始アドレス格納メモリであり、これにより
、受信側で受信エラーが発生したときに送信側装置はエ
ラーが発生したラインナンバーから再送を行う、送信側
装置において、あるラインナンバーからの再送を行う場
合、そのラインナンバーのデータがFIFOメモリの何
番地から格納されているかを認識する必要があるが、こ
のデータをこのメモリに格納する。信号線30に、信号
線301゜信号線30mを用いて、“あるラインナンバ
ーのデータがFIFOメモリの何番地からストアされて
いるか”という情報を本メモリ20に書き込む、信号線
30mに(ライト)パルスが発生した時、信号線30k
に出力されている番地に信号線30文のバイトデータを
ストアする。また、信号線30に、信号線30n、信号
線20aを用いて、“あるラインナンバーからのデータ
がFIFOメモリの何番地からストアされているか”と
いう情報を本メモリ20から読み出す。
Reference numeral 20 denotes a retransmission start address storage memory, whereby when a reception error occurs on the receiving side, the transmitting side device retransmits from the line number where the error occurred. In this case, it is necessary to recognize from which address in the FIFO memory the data of the line number is stored, and this data is stored in this memory. To the signal line 30, use the signal line 301゜signal line 30m to write information such as "from which address in the FIFO memory the data of a certain line number is stored" to the main memory 20, to the signal line 30m (write) When a pulse occurs, the signal line 30k
The byte data of signal line 30 is stored at the address output to. Further, using the signal line 30, the signal line 30n, and the signal line 20a, information such as "from which address in the FIFO memory data from a certain line number is stored" is read out from the main memory 20.

そして、信号線30nに(リード)パルスが発生したと
き、信号m30kに出力されている番地のデータを信号
線20aに出力する。再送開始アドレス格納メモリは、
GQOOHからC3FFHのアドレスを有する。再送開
始アドレスの格納メモリ構成は第20図に示すとおりで
ある。
Then, when a (read) pulse is generated on the signal line 30n, the data at the address outputted to the signal m30k is outputted to the signal line 20a. The retransmission start address storage memory is
It has addresses from GQOOH to C3FFH. The memory configuration for storing the retransmission start address is as shown in FIG.

第20図に示したように、アドレスCOOOH、COO
IHにはラインナンバー0.512・・・のアドレスが
格納され、アドレスCOO2)1.COO3Hにはライ
ンナン、<1,513・・・のアルレスが格納され、ア
ドレスCOO4H,COO5Hにはラインナンバー2 
、514・・・のアドレスが格納され、以下同様に、ア
ドレスC3FCH、C3FDHにはラインナンバー51
0.1022・・・のアドレスが格納され、アドレス0
3FEH,C:3FFHにはラインナンバー511.1
023・・・のアドレスが格納される。
As shown in Figure 20, addresses COOOH, COO
The address of line number 0.512... is stored in the IH, and the address COO2)1. COO3H stores the line number and address <1,513..., and addresses COO4H and COO5H store the line number 2.
, 514..., and similarly, the line number 51 is stored in addresses C3FCH and C3FDH.
Addresses of 0.1022... are stored, and address 0
3FEH, C: 3FFH has line number 511.1
Addresses of 023... are stored.

22は、パラレルデータをシリアルデータに変換するパ
ラレル−シリアル変換回路(以下、P/S変挽変格回路
す)である、このP/S変挽回路22は、パラレルデー
タが空になると、信号線22aにバイトデータ要求パル
スを発生する。制御回路30は、信号線22aにパルス
が発生すると、信号線300にバイトデータを出力する
。一方、P/S変挽回路22は、信号線300に出力さ
れたバイトデータを入力し、パラレル−シリアル変換を
した後、そのシリアルデータを信号線22bに出力する
22 is a parallel-to-serial conversion circuit (hereinafter referred to as P/S converting circuit) that converts parallel data into serial data. When the parallel data becomes empty, this P/S converting circuit 22 A byte data request pulse is generated at 22a. The control circuit 30 outputs byte data to the signal line 300 when a pulse is generated on the signal line 22a. On the other hand, the P/S conversion circuit 22 inputs the byte data output to the signal line 300, performs parallel-to-serial conversion, and then outputs the serial data to the signal line 22b.

24は、公知のCCITT勧告V27ter  (差動
位相変りに基づいた変調を行う変調器である。この変調
器24は信号線22bの信号を入力して変調を行い、変
調データを信号線24aに出力する。
24 is a modulator that performs modulation based on the known CCITT recommendation V27ter (differential phase shift). This modulator 24 inputs the signal of the signal line 22b, performs modulation, and outputs the modulated data to the signal line 24a. do.

26は、信号線30pにパルスが発生したとき、信号線
28aに口CN信号(300b/Sの信号)を送出する
回路である。このDON信号送出回路2Bは、 口CN
信号の送出が終了すると、信号線2ebにパルスを発生
する。
26 is a circuit that sends a CN signal (signal 300b/S) to the signal line 28a when a pulse is generated on the signal line 30p. This DON signal sending circuit 2B is
When the signal transmission is completed, a pulse is generated on the signal line 2eb.

28は、信号線24aの信号と信号線28aの信号を入
力し、加算した結果を信号線28aに出力する加算回路
である。
Reference numeral 28 denotes an adder circuit that inputs the signal on the signal line 24a and the signal on the signal line 28a, and outputs the added result to the signal line 28a.

30は、制御回路であり、次に述べる項目612および
1513において詳説する。
30 is a control circuit, which will be explained in detail in items 612 and 1513 described below.

313  送信側装置における制御回路の概略動作説明
 (第21図使用) 第19図に示した制御回路3Gは以下に述べる制御を行
う、但し、符号化はメインルーチンに従って処理し、信
号の伝送はインタラブドルーチンにより処理を行う。
313 General operation explanation of the control circuit in the transmitting side device (Using Fig. 21) The control circuit 3G shown in Fig. 19 performs the control described below.However, encoding is processed according to the main routine, and signal transmission is performed using the interface. Processing is performed using a rhabdo routine.

この制御回路3oによる符号化、すなわちメインルーチ
ンにおける制御過程は第21図に示すとおりである。ま
ず、モデムのポインタTM[1PTRおよびエンコーダ
のポインタTMHPTRを、符号化したデータを格納す
るFIFOメモリの先頭アドレスにセットする(ステッ
プ5100) 、そして、1ラインの主走査ラインの画
情報の読取りが終了したか、すなわち、ラインバッファ
がフルになったかを判断する(ステップ51G2) 。
The encoding by the control circuit 3o, that is, the control process in the main routine, is as shown in FIG. First, the modem pointer TM[1PTR and the encoder pointer TMHPTR are set to the start address of the FIFO memory that stores encoded data (step 5100), and reading of the image information of one main scanning line is completed. In other words, it is determined whether the line buffer is full (step 51G2).

lラインにおける主走査ラインの画情報の読取りが終了
すると(すなわち、ラインバッファがフルになると)、
ステップ5104に進む、そして、1ラインのデータの
読み込みを行う(ステップ5IQ4) 、ここで、上述
したように、バー、ノアはバッフ0.バアフ1とダブル
バッファ構成になっており、これら2つのバッファから
交互にデータの読出しを行う。
When reading the image information of the main scanning line in the l line is finished (that is, when the line buffer becomes full),
Proceed to step 5104, and read one line of data (step 5IQ4). Here, as described above, bar and Noah are buffered 0. It has a double buffer configuration with buffer 1, and data is read out alternately from these two buffers.

各バッファからデータを読み出した後、符号化し、その
符号化したデータをFIFOメモリに書き込む(ステッ
プ510B)、符号化時の主な制御を下記に箇条書きに
して示す。
After reading data from each buffer, it is encoded and the encoded data is written to the FIFO memory (step 510B).The main controls during encoding are listed below.

1、符号化したデータをFIFOメモリに書き込む。1. Write encoded data to FIFO memory.

2、ライン終端符号(EOL信号)(FIFOメモリに
書き込むデータとしては、 OOH,80Hである)お
よびラインナンバーをFIFOメモリに書き込む。
2. Write the line end code (EOL signal) (the data to be written to the FIFO memory is OOH, 80H) and the line number to the FIFO memory.

3、受信側装置において受信エラーが発生した場合、送
信側装置においては、エラーしたラインナンバーからデ
ータを再送する。この再送が可能となるように、以下の
制御を行う。
3. If a reception error occurs in the receiving device, the transmitting device retransmits the data from the line number where the error occurred. The following control is performed to enable this retransmission.

すなわち、エンコーダのポインタ丁MHPTHにおける
バイトをインクリメントするとき、エンコーダのポイン
タ↑MHPTRがモデムのポインタTMDPTRにFI
FOメモリを一周して、余り近づきすぎない様に制御す
る。具体的には、エンコーダのポインタ↑MHPTRが
モデムのポインタ丁MDPTHに、ある程度以E近づい
たとき、符号化を中断してウェイト状態にする。そして
、ウェイトしているときには、PIS信号を検出したか
否かをチェックし、PIS信号を検出した場合には、N
SF信号の受信を行う。
That is, when incrementing the bytes in the encoder's pointer ↑MHPTH, the encoder's pointer ↑MHPTR changes to the modem's pointer TMDPTR.
It goes around the FO memory and controls it so that it does not get too close. Specifically, when the encoder pointer ↑MHPTR approaches the modem pointer ↑MDPTH by a certain degree, encoding is interrupted and the encoder is placed in a wait state. When waiting, it is checked whether or not a PIS signal is detected, and if a PIS signal is detected, N
Receives SF signals.

そして、モデムのポインタを再送開始アドレスにセット
し、そのデータからの再送を行う、この再送を行うとき
、再びトレーニングを行う、これは、後述するステップ
5108からステップ5112の制御と同じである。
Then, the pointer of the modem is set to the retransmission start address, and the data is retransmitted from that data. When performing this retransmission, training is performed again. This is the same control as in steps 5108 to 5112, which will be described later.

4、あるラインナンバーから再送を行う場合、そのライ
ンナンバーのデータがFIFOメモリの何番地から格納
されているかを認識する必要がある。この情報を再送開
始アドレス格納メモリに格納する。
4. When retransmitting data from a certain line number, it is necessary to recognize from which address in the FIFO memory the data of that line number is stored. This information is stored in the retransmission start address storage memory.

そして、あるラインの符号化が終了したとき、再送要求
信号、すなわちPIS信号を検出したか否かを判断する
(ステップ5108) 、再送要求信号、すなわち、P
IS信号を検出すると、画情報の伝送を中断し、 NS
F信号の受信を行う(ステップ5ilo) 、ここで、
フォールパックの指示があった場合は、モデムの伝送ス
ピードを落としてフォールパックする。また、口CN信
号を受信した場合はエラー終了とする。
Then, when the encoding of a certain line is completed, it is determined whether or not a retransmission request signal, that is, a PIS signal is detected (step 5108).
When an IS signal is detected, the transmission of image information is interrupted and the NS signal is detected.
Receive the F signal (step 5ilo), where:
If there is a fall pack instruction, reduce the modem's transmission speed and perform the fall pack. Furthermore, if the mouth CN signal is received, the process ends with an error.

次に、モデムのポインタTMDPTRを再送開始アドレ
ス(NSF信号の中にこの情報が入っている)にセット
し、そのデータからの再送を行う(ステップ5112)
 。
Next, the modem pointer TMDPTR is set to the retransmission start address (this information is included in the NSF signal), and the data is retransmitted starting from that address (step 5112).
.

その後、1枚の原稿の符号化が終了したかを判断する(
ステップS+14) 、 1枚の原稿の符号化が未だ終
了していないときには、ステップ5102に戻る。また
、1枚の原稿の符号化が終了した場合には、ステー2プ
st teに進む。
After that, it is determined whether the encoding of one page of the manuscript is completed (
Step S+14): If the encoding of one document is not completed yet, the process returns to step 5102. Furthermore, when the encoding of one document sheet is completed, the process proceeds to step 2 stte.

1枚の原稿の符号化が終了したときは、ダブルバッファ
メモリに未だ符号化していないデータが残っているか否
かを判断する(ステー2プ5tte) 。
When the encoding of one document sheet is completed, it is determined whether or not there remains unencoded data in the double buffer memory (Step 2, step 5tte).

ダブルバッファメモリに未だ符号化していないデータが
残っている場合には、ステップ5102に戻る。また、
ダブルバッファメモリに符号化していないデータが残っ
ていない場合には、ステップ5118に進み、制御復帰
信号RTC(Return T。
If unencoded data remains in the double buffer memory, the process returns to step 5102. Also,
If there is no unencoded data remaining in the double buffer memory, the process advances to step 5118 and a control return signal RTC (Return T) is sent.

Control)をFIFOメモリに書き込む。Control) is written to the FIFO memory.

その後は、 FIFOメモリにストアされたデータがモ
デムにより送出されるのを待機する。そして、FIFO
メモリにストアされたデータの送出が終了した後、1.
5秒間だけウェイトする。そのときSH[+−0ならば
後手順(ステップ5122)へ進む、他方、5ED=1
ならば、受信側装置からPIS信号が送出されているこ
とになるので、PIS信号の検出に向がい、誤り再送を
行う(ステップ5120) 。
After that, it waits for the data stored in the FIFO memory to be sent out by the modem. And FIFO
After the data stored in the memory has been sent out, 1.
Wait for only 5 seconds. At that time, if SH[+-0, proceed to the post-procedure (step 5122), on the other hand, 5ED=1
If so, it means that a PIS signal is being sent from the receiving device, so the device detects the PIS signal and retransmits the error (step 5120).

一方、伝送処理(すなわち、インタラブド処理)は、 (イ)モデムのポインタTMDPTHに格納されている
データを変調し回線に送出すること、 (ロ)モデムのポインタTMDPTRを順次インクリメ
ントすること。
On the other hand, the transmission processing (that is, interwoven processing) includes (a) modulating the data stored in the modem pointer TMDPTH and sending it to the line, and (b) sequentially incrementing the modem pointer TMDPTR.

(ハ)モデムのポインタ丁MDPTRがエンコーダのポ
インタTMHP丁Rを追いこさないように制御すること
が主な内容である。
(c) The main content is to control the modem pointer MDPTR so that it does not overtake the encoder pointer TMHPR.

914 送信側装置における制御回路の詳細な動作説明
(第22図および第23図使用) 第22図(1)〜(12)に示すフローチャートを参照
して制御回路30が行うM11手順(メイン処理すなわ
ち符号化処理手順)を説明する。
914 Detailed operation explanation of the control circuit in the transmitting side device (using FIGS. 22 and 23) M11 procedure (main process, i.e., the main process) performed by the control circuit 30 with reference to the flowcharts shown in FIGS. Encoding processing procedure) will be explained.

まず、ステップ5128からステップ5144において
各種ノイニシャライズ処理を行う。
First, various types of non-initialization processing are performed in steps 5128 to 5144.

ステップ312Bにおいては、符号化したF rFoメ
モリに格納したデータを全て送出したか否かを表すフラ
グTRNENDに0をセットする。
In step 312B, a flag TRNEND indicating whether all encoded data stored in the F rFo memory has been sent out is set to 0.

ステップ8130においては、再送開始アドレスを格納
するメモリを制御するポインタAGAPTRにCQOO
Hをセットする。
In step 8130, CQOO is set to the pointer AGAPTR that controls the memory that stores the retransmission start address.
Set H.

ステップ5132においては、エンコーダのポインタT
NHPTRに840QHをセットする。
In step 5132, the encoder pointer T
Set 840QH in NHPTR.

ステップS!34においては、モデムのポインタTMD
PTHに8400)1をセットする。
Step S! 34, the modem pointer TMD
Set PTH to 8400)1.

ラインナンバーは、ある一定ライン数(本実施例におい
ては1ライン)毎にインクリメントするが、この制御を
LINCMTといラカウンタにより制御する。ステップ
913Bにおいては、このカウンタLINCNTに1を
セットする。
The line number is incremented every certain number of lines (one line in this embodiment), and this control is controlled by a LINCMT line counter. In step 913B, this counter LINCNT is set to 1.

ステップ5138においては、前述したREVRSフラ
グにOをセットする。
In step 5138, the aforementioned REVRS flag is set to O.

ステップ5140においては、符号化が終了したか否か
を表わすフラグにHENDに0をセットする。
In step 5140, HEND is set to 0 as a flag indicating whether or not encoding has ended.

ステップ5142においては、現在どちらのバッファか
らデータを読み出しているかを表わすフラグBAFにO
をセー、トする。フラグBAFがOのときは、バッファ
0からデータを読み出している。また、フラグBAFが
1のときは、バッファlからデータを読み出している。
In step 5142, a flag BAF indicating which buffer is currently reading data is set.
Save and save. When flag BAF is O, data is being read from buffer 0. Further, when the flag BAF is 1, data is being read from the buffer l.

ステップ5144においては、ラインナンバーをイニシ
ャライズする。
In step 5144, the line number is initialized.

ステップ814Gからステップ5154においては。In steps 814G to 5154.

バッフTがフルか、すなわち、lラインの読み取りが終
了したか否かを判断し、バッファがフルになった場合、
ステップ515Bに進む、ここで、バッファのデータは
、バッファO,バッファlと交互に読み取る。
Determine whether the buffer T is full, that is, whether reading of l line has finished, and if the buffer is full,
Proceed to step 515B, where the data in the buffers is read alternately from buffer O and buffer l.

ステップ5tseからステップ5IBOにおいては、l
ラインのデータをダブルバッファから読み出し、符号器
へ出力する。
In step 5tse to step 5IBO, l
Read the line data from the double buffer and output it to the encoder.

第22図(2)に示すステップ5162ないしステップ
3182においては、特定のラインナンバーのデータか
ら再送を行うよう、特定ラインナンバーのデータがFI
FOメそりの何番地から格納されているかを、再送開始
アドレス格納メモリにストアする。
In steps 5162 to 3182 shown in FIG. 22(2), the data of a specific line number is
The starting address of the FO memory is stored in the retransmission start address storage memory.

ここでは、ラインナンバーが変わったときに、再送開始
アドレスを再送開始アドレス格納メモリにストアする。
Here, when the line number changes, the retransmission start address is stored in the retransmission start address storage memory.

ステップ3182においては、■ライン毎にラインナン
バーをインクリメントする制御を行う、ステップ516
4からステッ、プ5188においては、再送開始アドレ
スにおけるローバイトのデータを再送開始アドレス格納
メモリにストアする。
In step 3182, in step 516, control is performed to increment the line number for each line.
In steps 5188 from 4, the low byte data at the retransmission start address is stored in the retransmission start address storage memory.

ステー、プ5170においては、再送開始アドレスポイ
ンタAGAPTHのインクリメントを行う、ステーIプ
5172ないしステップ8176においては、再送開始
アドレスにおけるハイバイトのデータを再送開始アドレ
ス格納メモリにストアする。ステップ9178において
は、再送開始アドレスポインタAGAP丁Rのインクリ
メントを行う、ステップ9180においては、再送ポイ
ンタAGAPTRが再送開始アドレス格納メモリの終端
まで進んだか否かの判断を行う、そして、再送ポインタ
AGAPTRが再送開始アドレス格納メモリの終端まで
進むと、再送ポインタAGAPTRにはCQOOHをセ
ットする(ステー、プ5182) 。
In step 5170, the retransmission start address pointer AGAPTH is incremented.In step 5172 to step 8176, the high byte data at the retransmission start address is stored in the retransmission start address storage memory. In step 9178, the retransmission start address pointer AGAPTR is incremented. In step 9180, it is determined whether the retransmission pointer AGAPTR has advanced to the end of the retransmission start address storage memory. When the process reaches the end of the start address storage memory, CQOOH is set in the retransmission pointer AGAPTR (Step 5182).

第22図(3)に示すステップ8184ないしステップ
5188においては、FIFOメモリにOOHをストア
する。
In steps 8184 to 5188 shown in FIG. 22(3), OOH is stored in the FIFO memory.

ステップ5190においては、エンコーダのポインタτ
M)IPTRをインクリメントする。このTMHPTH
のインクリメントについては後述する。
In step 5190, the encoder pointer τ
M) Increment IPTR. This TMHPTH
The increment of will be described later.

ステップ5132からステップ519Elにおいては、
FIFOメモリに、800Hをストアする。
In steps 5132 to 519El,
Store 800H in FIFO memory.

ステップ5138においては、エンコーダのポインタT
M)IPTRをインクリメントする。
In step 5138, the encoder pointer T
M) Increment IPTR.

ステップ5200ないしステップ5216においては、
ラインナンバーを入力し、ラインナンバーをFIFOメ
モリにストアする。すなわち、ステップ5200におい
ては、ラインナンバーを入力する。ステップ5202な
いしステップ5208においては、ラインナンバーのハ
イバイトデータをFIFOメモリにストアする。ステッ
プ8208においては、エンコーダのポインタTMHP
TRをインクリメントする。
In steps 5200 to 5216,
Input the line number and store the line number in FIFO memory. That is, in step 5200, a line number is input. In steps 5202 to 5208, high byte data of the line number is stored in the FIFO memory. In step 8208, the encoder pointer TMHP
Increment TR.

第22図(4)に示すステップ9210ないしステップ
5214においては、ラインナンバーのローバイトデー
タをFIFOメモリにストアする。ステップ921Bに
おいては、エンコーダのポインタTI)IPTRをイン
クリメントする。
In steps 9210 to 5214 shown in FIG. 22(4), the low byte data of the line number is stored in the FIFO memory. In step 921B, the encoder pointer TI)IPTR is incremented.

ステップ3218ないしステップ5230においては。In steps 3218 to 5230.

符号化データをFIFOメモリにストアする。Store encoded data in FIFO memory.

まず、ステー2プ5218においては、1バイトのデー
タが符号化されたか否かを判断する。1バイトのデータ
が符号化されると、そのデータを入力(ステップ522
0) L、  1バイトの符号化データをFIFOメモ
リにストアする(ステップ5222ないしステップ52
2B) 。
First, in step 2 5218, it is determined whether 1 byte of data has been encoded. Once one byte of data has been encoded, the data is input (step 522).
0) L, store 1 byte of encoded data in FIFO memory (steps 5222 to 52)
2B).

ステップ5228においては、エンコーダのポインタT
MHPTRをインクリメントする。ステップ5230に
おいては、1ラインの符号化が終了したかを判断し、1
ラインの符号化が終了していないときには、ステップ3
218に進む、また、■ラインの符号化が終了すると、
ステップ5232に進む。
In step 5228, the encoder pointer T
Increment MHPTR. In step 5230, it is determined whether encoding of one line is completed, and
If the encoding of the line is not completed, step 3
The process proceeds to 218. Also, when the line encoding is completed,
Proceed to step 5232.

第22図(5)に示すステップ5232ないしステップ
5238においては、ラインナンバーをインクリメント
するか否かをチェックし、インクリメントする必要があ
る場合は、ラインナンバーのインクリメントを行う、こ
こでは、1ライン毎にラインナンバーのインクリメント
を行う。
In steps 5232 to 5238 shown in FIG. 22 (5), it is checked whether or not the line number should be incremented, and if it is necessary to increment, the line number is incremented. Increments the line number.

ステップ5240ないしステップ5248においては、
再送要求信号、すなわちPIS信号を受信したか否かを
判断する。  prs信号を受信した場合には、NSF
信号の受信を行い、再送開始ラインナンバーを入力する
。そして、モデムのポインタTMDPTRに再送開始ア
ドレスをセットし、そのアドレスのデータから送信を行
う、ここで、フォールバックの指・示があった場合は、
伝送スピードを落とす。
In steps 5240 to 5248,
It is determined whether a retransmission request signal, that is, a PIS signal has been received. If a prs signal is received, the NSF
Receive the signal and input the line number to start retransmission. Then, set the retransmission start address to the modem pointer TMDPTR and transmit data from that address.If there is a fallback instruction here,
Reduce transmission speed.

また、DCN信号を受信した場合は回線断とする。Also, if a DCN signal is received, the line is disconnected.

更に、ある一定時間(例えば30秒)を経過してもNS
F信号を検出することができない場合も、回線断とする
Furthermore, even after a certain period of time (for example, 30 seconds), the NS
If the F signal cannot be detected, the line is also considered disconnected.

ステップ5250においては、1枚の原稿の符号化が終
了したか否かを判断する。1枚の原稿の符号化が終了し
た場合には、ステップ5252に進む。
In step 5250, it is determined whether encoding of one document sheet has been completed. If encoding of one document is completed, the process advances to step 5252.

1枚の原稿の符号化が未だ終了していない場合には、ス
テップ514Bに進む。
If the encoding of one document sheet has not yet been completed, the process advances to step 514B.

ステップ5252およびステップ5254においては、
どちらかバッファがフルであるか否かを判断する。バッ
ファO1あるいはバッファlのどちらかのバッファがフ
ルの場合は、ステップ514Bに進む、バッファ0、バ
ッファlのいずれもバッファがフルでない場合には、ス
テップ825Bに進む。
In step 5252 and step 5254,
Determine whether either buffer is full. If either buffer O1 or buffer l is full, the process advances to step 514B. If neither buffer 0 nor buffer l is full, the process advances to step 825B.

第22図(8)および同図(7)に示すステップ825
Bないしステップ5300においては、 FIFOメモ
リに制御復帰信号RTC(Return↑o Cont
rol) @号をストアする。
Step 825 shown in FIG. 22 (8) and FIG. 22 (7)
B or step 5300, a control return signal RTC (Return↑o Cont) is sent to the FIFO memory.
rol) Store @ issue.

まず、ステップ525Bないしステップ5280におい
ては、00!(のデータをFIFOメモリにストアする
First, in steps 525B to 5280, 00! Store the data of (in FIFO memory).

ステップ5282においては、エンコーダのポインタT
MHPTRをインクリメントする。
In step 5282, the encoder pointer T
Increment MHPTR.

ステップ5284ないしステップ5268においては、
80HのデータをFIFOメモリにストアする。
In steps 5284 to 5268,
Store 80H data in FIFO memory.

ステップ927Gにおいては、エンコーダのポインタT
MHPTRをインクリメントする。
In step 927G, the encoder pointer T
Increment MHPTR.

ステップ5274ないしステップ5304 (第22図
(7)参照)およびステップ31088ないしステップ
31128(第22図(8) 、(9)参照)において
は、EOLにラインナンバーを追加した信号を103個
だけFIFOメモリにストアしている0本実施例におけ
るEOLは、0が11個続き且つ1が1個である信号と
する。
In steps 5274 to 5304 (see FIG. 22 (7)) and steps 31088 to 31128 (see FIG. 22 (8) and (9)), only 103 signals with line numbers added to the EOL are stored in the FIFO memory. The EOL in this embodiment is a signal consisting of 11 consecutive 0's and 1 1.

ステップSl 130においては、符号化が終了したの
で、フラグMHENIIに1をセットする。
In step Sl 130, since the encoding has been completed, the flag MHENII is set to 1.

第22図(10)に示すステップSt 132ないしス
テップ51170においては、メモリ上にストアされて
いるデータがモデムによりすべて送出されるのをウェイ
トしている。
In steps St 132 to 51170 shown in FIG. 22 (10), all data stored in the memory is waited for to be sent out by the modem.

PIS信号を検出したときにはNSF信号の受信を行い
、再送開始ラインナンバーを入力する。そして、モデム
のポインタ↑1lIDPTHに再送開始アドレスをセッ
トし、そのアドレスのデータからの送信を行う、ここで
、フォールバックの指示があった場合は、伝送スピード
を落とす、また、DON信号を受信した場合は、エラー
終了とする。更に、 30秒経過してもNSF信号を検
出できない場合も、エラー終了とする。
When a PIS signal is detected, an NSF signal is received and a retransmission start line number is input. Then, set the retransmission start address to the modem's pointer ↑1lIDPTH, and transmit data from that address.If there is a fallback instruction, reduce the transmission speed, and if a DON signal is received. If so, the process ends with an error. Furthermore, if the NSF signal cannot be detected even after 30 seconds have elapsed, the process will be terminated as an error.

RTCをモデムより送出した後すなわちTRNEN口が
1になってから1.5秒経過後に5ED−Qであれば、
画像伝送が終了したものと判断し、手順信号の送出へ向
かう、これとは逆に、1.5秒経過後に5ED−1であ
れば、PIS信号のサーチへ向かう、そして、2秒以内
にP!S信号を検出したときには、誤り再送を行う、ま
た、2秒経過してもPIS信号を検出しないときには、
画像伝送が終了したものと判断して手順信号の送出へ向
かう。
If it is 5ED-Q after 1.5 seconds have passed after the RTC is sent from the modem, that is, after the TRNEN port becomes 1,
It determines that the image transmission is complete, and proceeds to send the procedure signal. Conversely, if it is 5ED-1 after 1.5 seconds have elapsed, it proceeds to search for the PIS signal, and within 2 seconds, the PIS signal is sent. ! When an S signal is detected, error retransmission is performed, and when a PIS signal is not detected after 2 seconds,
It is determined that the image transmission has been completed, and the process proceeds to transmit the procedure signal.

第22図(11)に示すステップ5306ないしステッ
プ532Bは、送信中に再送要求信号(すなわちPIS
信号)を検出し、モデムのポインタTMHPTRを再送
開始アドレスにセットするときのサブルーチンである(
ステップ9248 、ステップ334B 、ステップ5
11BB参照)。
Steps 5306 to 532B shown in FIG.
This is a subroutine when detecting the signal) and setting the modem pointer TMHPTR to the retransmission start address (
Step 9248, Step 334B, Step 5
11BB).

再送開始アドレスのセットは、上述したように1) R
EVRS7 ラグがOの場合 1−1) TMHPTR>TMDPTRであって、且つ
再送アドレスくTMDPTRのとき 1−2) TMHPTR>TMDPTR1且つ再送アド
レス〉TMHPTH1且つ再送アドレス> TMHPT
Hのとき(この場合はREVRSに1をセットする) 2) REVRS75グが1の場合 子MDPTR> TMHPTRであって、且つ再送アド
レス〉TMHPTHのとき には、再送アドレスをモデムのポインタTMI)PTR
にセー、トしくステップ5318) 、  リターンす
る(ステップ9320) 、それ以外はエラーとする。
The set of retransmission start addresses is 1) R as described above.
EVRS7 When lag is O 1-1) When TMHPTR>TMDPTR and retransmission address is TMDPTR 1-2) TMHPTR>TMDPTR1 and retransmission address>TMHPTH1 and retransmission address>TMHPT
H (in this case, set REVRS to 1) 2) When REVRS75 is 1, when child MDPTR > TMHPTR and retransmission address > TMHPTH, set the retransmission address to modem pointer TMI)PTR.
Otherwise, it is considered an error.

第22図(12)に示すステップ5328ないしステッ
プ5354までは、エンコーダのポインタTMHPTR
のインクリメントを行う。
From step 5328 to step 5354 shown in FIG. 22 (12), the encoder pointer TMHPTR
is incremented.

ここで、ステップ5330においては、エンコーダのポ
インタTNHPTRをインクリメントする。そして、T
MHPTRのハイバイトがインクリメントされないとき
には直ちにリターンするが、TMHPTRのハイバイト
がインクリメントされたときはステップ5334に進む
Here, in step 5330, the encoder pointer TNHPTR is incremented. And T
If the high byte of MHPTR is not incremented, the process returns immediately, but if the high byte of TMHPTR is incremented, the process advances to step 5334.

ステップ5334ないしステップ5338においては、
エンコーダのポインタTMI(PTRが一周して、モデ
ムのポインタTNDPTHにあまり近づきすぎないよう
に制御する。すなわち、エンコーダのポインタTMHP
TR,M<、モデムノボイy タT)lDP丁Rニ40
9E1以上離れているときには、リターンする。このと
き、エンコーダのポインタTMHPTRがFIFOメモ
リの終端に達しているか否かをチェックし、FIFOメ
モリの終端に達している場合には、エンコーダのポイン
タTMHPTRニ8400)1をセ−)トする。
In steps 5334 to 5338,
The encoder pointer TMI (PTR is controlled so that it does not go around too close to the modem pointer TNDPTH. In other words, the encoder pointer TMHP
TR, M<, modem novo y ta T) lDP ding R ni 40
If the distance is 9E1 or more, return. At this time, it is checked whether the encoder pointer TMHPTR has reached the end of the FIFO memory, and if it has reached the end of the FIFO memory, the encoder pointer TMHPTR 8400)1 is saved.

エンコーダのポインタTMHPTRがモデムのポインタ
TMDPTRに409B以上離れていない場合は、符号
化を中断してウェイト状態に入る。このウェイトしてい
る時、再送要求信号(すなわち、PIS信号)を検出し
たか否かを判、断する(ステップ934Q) 。
If the encoder pointer TMHPTR is not more than 409B away from the modem pointer TMDPTR, encoding is interrupted and a wait state is entered. While waiting, it is determined whether or not a retransmission request signal (ie, PIS signal) is detected (step 934Q).

そして、 P■S信号を検出した場合には、伝送を中断
しくステップ5342) 、 NSF信号の受信を行う
(ステップ5344) 、そして、再送開始ラインナン
バーを入力しくステップ534B) 、モデムのポイン
タTM)IPTHに再送アドレスをセットする。
If a P■S signal is detected, the transmission is interrupted (step 5342), the NSF signal is received (step 5344), and the retransmission start line number is input (step 534B), modem pointer TM). Set the retransmission address to IPTH.

ここで、フォールパックの指示があった場合は、伝送ス
ピードを落とす、また、 Il(:N信号を受信した場
合は、回線断とする。更に、ある一定時間(例えば30
秒)経過してもNSF信号を検出することができないと
きも、回線断とする。
Here, if there is a fall pack instruction, the transmission speed will be reduced, and if an Il(:N signal is received, the line will be disconnected. Furthermore, the line will be disconnected for a certain period of time (for example, 30
If the NSF signal cannot be detected even after 3 seconds), the line will be disconnected.

第23図に示すフローチャートは、符号化されたデータ
の伝送処理(すなわち、インタラブド処理)に関する詳
細な制御過程を示す0本実施例では、信号線22aにパ
ルス(すなわち、バイトデータ要求パルス)が発生する
と、このインタラブド処理が、実行される。
The flowchart shown in FIG. 23 shows a detailed control process regarding encoded data transmission processing (i.e., interwoven processing). In this embodiment, a pulse (i.e., byte data request pulse) is generated on the signal line 22a. Then, this interwoven processing is executed.

ここでの主な制御は、FIFOメモリに格納されたデー
タを順次読み出しくステップ5370ないしステップ9
37B) 、 P/S変換回路22に出力する(ステッ
プ5380ないしステップ938B 、ステップ539
0ないしステップ939B)ことである、このときに、
モデムのポインタTNDPTRがエンコーダのポインタ
を追い越さない様に制御する。すなわち、符号化された
データを送出中にOOH,80)1のデータを検出する
と、前述の如く、エンコーダのポインタTにHPTRが
モデムのポインタより、ある一定量光にいっていない場
合はフィルを送出して符号化が進むのを時期する(ステ
ップ5380ないしステップ5392 、ステップ54
04ないしステップ5410) 、ここで、MHEN[
lが1のとき(すなわち、1枚の原稿の符号化がすべて
終了したとき)はこの限りではない。
The main control here is to sequentially read data stored in the FIFO memory from step 5370 to step 9.
37B), output to the P/S conversion circuit 22 (steps 5380 to 938B, step 539)
0 to step 939B), at this time,
Control is performed so that the modem pointer TNDPTR does not overtake the encoder pointer. That is, when OOH, 80) 1 data is detected while transmitting encoded data, as described above, if HPTR is not a certain amount of light at the encoder pointer T than the modem pointer, a fill is transmitted. (Steps 5380 to 5392, Step 54)
04 to step 5410), where MHEN[
This is not the case when l is 1 (that is, when all encoding of one sheet of original is completed).

モデムのポインタがFIFOメモリの終端まできたとき
は、モデムのポインタτMDPTRをFIFOメモリの
先頭アドレス8400Hにセットする(ステツ7”53
98゜54QQ) 。
When the modem pointer reaches the end of the FIFO memory, set the modem pointer τMDPTR to the first address 8400H of the FIFO memory (step 7"53).
98°54QQ).

また、符号化がすべて終了(NHEMD= l) L、
モデムが符号化したデータを全て送出(TMHPTR=
丁MDPTR) したとき(ステップ93B4)は、T
RNEN[lに1をセットしくステップ538B) 、
符号化されたデータの伝送がすべて終了したことをメイ
ン処理ルーチン(符号化処理ルーチン)に知らせる。
Also, all encoding is completed (NHEMD=l) L,
Sends all data encoded by the modem (TMHPTR=
(step 93B4), T
RNEN [set 1 to step 538B),
The main processing routine (encoding processing routine) is notified that the transmission of all encoded data has been completed.

915 受信側装置のブロック構#t(第24rl!J
使用)第24図は1本発明を適用したファクシミリ装置
の受信側の構成を示すブロック図である。
915 Receiving side device block structure #t (24th rl!J
(Use) FIG. 24 is a block diagram showing the configuration of the receiving side of a facsimile machine to which the present invention is applied.

誤り再送を行うための条件およびフォールパックを行う
ための条件については、既に詳述しであるので、ここで
は述べない、実際の画信号の受信に入った後の処理につ
いてのみ以下に述べていく。
The conditions for performing error retransmission and the conditions for performing fall pack have already been described in detail, so we will not discuss them here; only the processing after actual image signal reception will be described below. .

第24図において、 40は第18図に示した2と同じ
網制御装置(NGIJ)である、また、40aは電話回
線を示す。
In FIG. 24, 40 is the same network control device (NGIJ) as 2 shown in FIG. 18, and 40a represents a telephone line.

42は、第19図に示す4と同様のハイブリッド回路で
ある。信号線54aに送信された信号は、信号線40b
を通り、網制御装置40を介して、電話回線40aに送
出される。また、相手側ファクシミリ装置から送られて
きた信号は、網制御装置i4Gを介した後、信号線42
aに出力される。
42 is a hybrid circuit similar to 4 shown in FIG. The signal sent to signal line 54a is transmitted to signal line 40b.
is sent to the telephone line 40a via the network control device 40. In addition, the signal sent from the other party's facsimile machine is sent via the network control device i4G and then sent to the signal line 42.
It is output to a.

44は、信号線42aの信号を入力し、信号が有るか否
かを検出する回路である。 −43dBm以上の信号を
受信しているときは、信号線44aに信号レベルrl」
の信号を出力し、−43dBm未満の信号を受信してい
るときは、信号線44aに信号レベル「O」の信号を出
力する。
44 is a circuit that inputs the signal of the signal line 42a and detects whether or not the signal is present. When receiving a signal of -43 dBm or higher, the signal level rl is sent to the signal line 44a.
When a signal of less than -43 dBm is received, a signal of signal level "O" is output to the signal line 44a.

4Bは、公知のCCITT勧告V2?ter (差動位
相変調)に基づいた復調を行う復調器である。復調器4
Bは、信号線42aの信号を入力し、復調を行い、復調
データを信号線48aに出力する。
4B is the well-known CCITT recommendation V2? This is a demodulator that performs demodulation based on ter (differential phase modulation). Demodulator 4
B inputs the signal of the signal line 42a, performs demodulation, and outputs the demodulated data to the signal line 48a.

4Bは、シリアルデータをパラレルデータに変換するシ
リアル−パラレル変換回路である(以下、S/P変換回
路と略す)、このS/P変換回路48は、8ビツトのパ
ラレルデータが揃うと信号線48aにパルスを発生し、
受信データを信号線48bに出力する。制御回路8Bは
、この信号線48aにパルスが発生したことを検出する
ことにより、1バイトのデータを受信したことを認識す
る。
4B is a serial-to-parallel conversion circuit that converts serial data into parallel data (hereinafter abbreviated as S/P conversion circuit). When 8-bit parallel data is available, this S/P conversion circuit 48 connects the signal line 48a. generates a pulse to
The received data is output to the signal line 48b. The control circuit 8B recognizes that one byte of data has been received by detecting that a pulse is generated on the signal line 48a.

50は、信号線B8bにパルスが発生した時、@琴線5
0aにN5FN号(第17図参照)を送出する回路であ
る。 NSF M号には、ラインナンバーが含まれてい
る。このラインナンバーには、信号線88aに出力され
ている値をセットする。 NSF M号にはフォールバ
ックの情報が含まれている。このフォールバックの情報
は、信号線86bに出力される。そして、信号線8Bh
が「0」レベルのときにはフォールパックの指示が行わ
れず、信号線6Bhが「1」レベルのときにフォールパ
ックが指示される。 NSF信号送出回路50は、NS
F @号の送出が終了すると、信号線50bにパルスを
発生する。
50 is @kotosen5 when a pulse is generated on the signal line B8b.
This is a circuit that sends the N5FN number (see FIG. 17) to 0a. The NSF M number includes a line number. This line number is set to the value output to the signal line 88a. NSF M contains fallback information. This fallback information is output to signal line 86b. And signal line 8Bh
When signal line 6Bh is at "0" level, fall pack is not instructed, and when signal line 6Bh is at "1" level, fall pack is instructed. The NSF signal sending circuit 50
When the transmission of the F@ signal is completed, a pulse is generated on the signal line 50b.

52は、再送要求信号(すなわち、本実施例においては
PIS信号)を送出する回路である。#!言すれば、信
号線(18cにパルスが発生したとき、信号線52aに
PIS信号(462Hzc7)信号を3秒間)を送出す
る回路である。 PIS信号の送出が終了すると、信号
線52bにパルスを発生する。
52 is a circuit that sends out a retransmission request signal (that is, a PIS signal in this embodiment). #! In other words, it is a circuit that sends a PIS signal (462Hzc7) signal to the signal line 52a for 3 seconds when a pulse occurs on the signal line 18c. When the transmission of the PIS signal is completed, a pulse is generated on the signal line 52b.

54は、信号線50aの信号と信号線52aの信号を入
力し、加算した結果を信号線54aに出力する加算回路
である。
Reference numeral 54 denotes an adder circuit that inputs the signal on the signal line 50a and the signal on the signal line 52a, and outputs the added result to the signal line 54a.

56は、相手側ファクシミリ装置から送られてきたデー
タを復調し、復調データをストアするために使用するF
IFOメモリである。このFIFOメモリは送信側のF
IFOメモリ(第19図の18参照)と同じである。
56 is an F used to demodulate data sent from the other party's facsimile machine and store the demodulated data.
This is IFO memory. This FIFO memory is the F
It is the same as the IFO memory (see 18 in FIG. 19).

一方、復号器はこのFIFOメモリにストアされたデー
タを読み出し、復号し、ダブルバッファ回路62を経て
、記録を行う、信号線88cないし信号線88eを用い
て、復調したデータをFIFOメモリに書き込む、信号
線88cに(ライト)パルスが発生したとき、信号線6
8dに出力されている番地に信号線Beeに出力されて
いるバイトデータをストアする。
On the other hand, the decoder reads the data stored in the FIFO memory, decodes it, records it through the double buffer circuit 62, and writes the demodulated data to the FIFO memory using the signal line 88c or signal line 88e. When a (write) pulse is generated on the signal line 88c, the signal line 6
The byte data output to the signal line Bee is stored at the address output to 8d.

また、信号線66f、信号線68g、信号線58aの3
本の信号線により、FIFOメモリにストアされている
データを読み出す、信号線88fに(リード)パルスが
発生すると、信号線BBgに出力されている番地のデー
タを信号線58aに出力する0本実施例においては、F
IFOメモリのアドレスは、840GHないしAFFF
Hである。
In addition, 3 signal lines 66f, 68g, and 58a
The data stored in the FIFO memory is read using the main signal line. When a (read) pulse is generated on the signal line 88f, the data at the address that is output on the signal line BBg is output to the signal line 58a. In the example, F
IFO memory address is 840GH to AFFF
It is H.

58は、正しく受信した最新ラインナンノく−を格納し
ておくラインナンバー格納メモリである。このラインナ
ンバー格納メモリ58にラインナンノ(−を書き込む場
合は、ラインナンバーを信号線8flhに出力し、信号
線813iに(ライト)パルスを発生する。一方、正し
く受信した最新のラインナンバーを読み出す場合は、信
号線1118jに(リード)パルスを発生すると、正し
く受信した最新のラインナンバーが信号線88hに出力
される。
58 is a line number storage memory that stores the latest correctly received line number. When writing a line number (-) to this line number storage memory 58, the line number is output to the signal line 8flh and a (write) pulse is generated on the signal line 813i.On the other hand, when reading the latest correctly received line number When a (read) pulse is generated on the signal line 1118j, the latest correctly received line number is output on the signal line 88h.

80は、復調されたデータをFIFOメモリから読み出
し、復号したデータを信号線80cに出力する復号器で
ある。復調された1バイトのデータを復号する準備が完
了すると、信号線Boaにバイトデータ要求パルスを発
生する。そのパルスが発生されたとき、時制御回路B6
はFIFOメモリから1バイトの復調されたデータを読
み出し、信号線86kに出力する。復号器BOは、lラ
インの復号が終了すると、信号線BObにパルスを発生
する。そして、lラインの復号データを信号線80cに
出力する。
80 is a decoder that reads demodulated data from the FIFO memory and outputs the decoded data to the signal line 80c. When preparations for decoding the demodulated 1-byte data are completed, a byte data request pulse is generated on the signal line Boa. When the pulse is generated, the time control circuit B6
reads 1 byte of demodulated data from the FIFO memory and outputs it to the signal line 86k. When the decoding of the l line is completed, the decoder BO generates a pulse on the signal line BOb. Then, the decoded data of the l line is output to the signal line 80c.

62は、一方のバッファ内にある画信号を記録している
間に、他方のバッファメモリに次のラインの画信号が書
き込まれるようにするためのダブルバッファ回路である
。このバッファは、送信機のダブルバッファ(第12図
の12参照)と同じである。2木のバッフ 7はBUF
O(バー/ 7 y O)、BUFI(バッファ1)と
呼ぶ、このバッファBUFOに画像データが詰まってい
るときには、信号線82a(バッファOフル)に信号レ
ベル「1」の信号を出カスる。  BUFOのパー、ノ
アに画像データが詰まっていないときには、信号線62
a(バッファOフル)に信号レベルrQJの信号を出力
する。
62 is a double buffer circuit for writing the next line of image signals into the other buffer memory while the image signals in one buffer are being recorded. This buffer is the same as the transmitter's double buffer (see 12 in FIG. 12). 2 wood buff 7 is BUF
When this buffer BUFO, called BUFI (buffer 1) is full of image data, a signal of signal level "1" is output to the signal line 82a (buffer O full). When the image data is not packed in the BUFO par or Noah, the signal line 62
A signal of signal level rQJ is output to a (buffer O full).

また、 BUF 1のバッファに画像データが詰まって
いるときには、信号線82b(バッファlフル)に信号
レベル「k」の信号を出力する。BUFIのバッファに
画像データが詰まっていないときには、信号線82b(
バッファlフル)に信号レベル「O」の信号を出力する
Furthermore, when the buffer of BUF 1 is full of image data, a signal of signal level "k" is output to the signal line 82b (buffer l full). When the BUFI buffer is not full of image data, the signal line 82b (
A signal of signal level "O" is output to the buffer l full).

後述する制御回路6Bは、バッファが空であるのを認識
してどのバッファにデータを書き込むべきかを指定しく
すなわち、信号線138mが信号レベルrQJのときは
、バッファ0にデータを書き込む:信号線88mが信号
レベルrlJのときは。
A control circuit 6B, which will be described later, recognizes that the buffer is empty and specifies which buffer to write data in. That is, when the signal line 138m is at the signal level rQJ, data is written to buffer 0: signal line When 88m is the signal level rlJ.

バッファlにデータを書き込む)、その後、記録データ
を信号線88nに出力し、信号線88JLに(ライト)
パルスを発生する。
Write data to buffer l), then output the recorded data to signal line 88n, and (write) to signal line 88JL.
Generates a pulse.

ダブルバッファ回路62は、指定されたバッファのバッ
ファフルに1をセットする。
The double buffer circuit 62 sets the buffer full value of the designated buffer to 1.

一方、記録装置64は、あるバッファに格納されている
ラインデータの記録が終了すると、信号線E14aに記
録要求パルスを発生する。
On the other hand, when the recording device 64 finishes recording the line data stored in a certain buffer, it generates a recording request pulse on the signal line E14a.

また、ダブルバッファ回路62は、記録要求パルスを検
出したとき、バッファにデータがつまっていた場合は、
記録データを信号線82cに出力する。バッファのデー
タをすべて記録装置B4に出力すると、そのバッファに
対応するバッファフルを落とす、ここで、使用するバッ
ファは、バッファO,バッファ1.バッファ0.バッフ
ァlと交互である。
Furthermore, when the double buffer circuit 62 detects the recording request pulse, if the buffer is full of data,
Record data is output to the signal line 82c. When all the data in the buffer is output to the recording device B4, the buffer full corresponding to that buffer is dropped. Here, the buffers used are buffer O, buffer 1 . Buffer 0. Alternating with buffer l.

64は記録装置であり、記録の準備が完了すると、信号
線84aに記録要求パルスを発生する。そして、信号線
82cに出力されている記録データを入力し、記録を行
う。
A recording device 64 generates a recording request pulse on a signal line 84a when preparation for recording is completed. Then, the recording data outputted to the signal line 82c is input, and recording is performed.

68は制御回路であり1次に述べる項目916において
その動作を詳述する。
68 is a control circuit, and its operation will be explained in detail in item 916, which will be described next.

91B  受信側装置における制御回路の動作説明(第
25図および第26図使用) 第24図に示す制御回路6Bは以下に示す制御を行う。
91B Description of operation of control circuit in receiving side device (using FIGS. 25 and 26) The control circuit 6B shown in FIG. 24 performs the following control.

伝送データの受信は、既述のインタラブドルーチンによ
り処理し、復号化はメインルーチンにより処理する。
Reception of transmission data is processed by the previously described interwoven routine, and decoding is processed by the main routine.

データの受信を行うために、信号線48aにパルスが発
生する毎に1バイトのデータを入力し、FIFOメモリ
にストアする。このときモデムのポインタRNDPTR
を順次インクリメントする。一方、モデムのポインタR
MDPTRがFIFDメモリの終端まで達すると、モデ
ムのポインタをFIFOメモリの先端にセットする。こ
のとき、REVRSフラグに1をセットする。
In order to receive data, one byte of data is input every time a pulse is generated on the signal line 48a and stored in the FIFO memory. At this time, the modem pointer RNDPTR
Increment sequentially. On the other hand, the modem pointer R
When MDPTR reaches the end of the FIFO memory, it sets the modem pointer to the beginning of the FIFO memory. At this time, the REVRS flag is set to 1.

第25図は、復調されたデータの受信(すなわち、イン
タラブド処理)に関する詳細な制御手順を示すフローチ
ャートである。
FIG. 25 is a flowchart showing detailed control procedures regarding reception of demodulated data (ie, interwoven processing).

信号線48aにパルスが発生する゛と、インタラブド処
理がスタートする(ステップ5F100) 、ステップ
5602ないしステップ8606においては、復調デー
タを入力し、FIFOメモリにストアする。
When a pulse is generated on the signal line 48a, interwoven processing starts (step 5F100). In steps 5602 to 8606, demodulated data is input and stored in the FIFO memory.

ステップ8608においては、モデムのポインタRM口
PTRをインクリメントする。
In step 8608, the modem pointer RM port PTR is incremented.

ステップ5810においては、モデムのポインタがFI
FOメモリの終端まできたか否かを判断し、FIFOの
終端まできているときには、モデムのポインタRMDP
TR1,:8400)1をセ−/ トL、ソL テRE
VR975グをlに七−2トする。
In step 5810, the modem's pointer is
Determine whether it has reached the end of the FO memory, and if it has reached the end of the FIFO, pointer RMDP of the modem
TR1, :8400) Set 1 / To L, So L Te RE
Set VR975 to 7-2.

メイン処理(復号処理)過程の主な処理内容は、まずラ
イン終端符合EOLのサーチをすることである。  E
OLに後続する2バイトはラインナンバーを示している
。ラインナンバーが前回と比べて3未満だけインクリメ
ントされている場合は、画像受信が良好であると判断す
る。このとき、ラインナンバーは新しいラインナンバー
を受信する毎にアップデートされていく、従って、ライ
ンナンバーが前回より3つ以上大きい場合は、画像受信
は良好でないと判断する。そして、PIS信号、再送開
始ラインナンバーが格納されているNSF信号を送信側
装置に送出する。この時、上述したように、フォールバ
ック等の制御を行う、そして、受信側装置では、そのラ
インナンバーからの受信を行う。
The main processing content of the main processing (decoding processing) process is first to search for the line end code EOL. E
The two bytes following OL indicate the line number. If the line number is incremented by less than 3 compared to the previous time, it is determined that image reception is good. At this time, the line number is updated every time a new line number is received. Therefore, if the line number is three or more higher than the previous one, it is determined that the image reception is not good. Then, the PIS signal and the NSF signal in which the retransmission start line number is stored are sent to the transmitting device. At this time, as described above, fallback and other controls are performed, and the receiving device receives data from that line number.

画像データを正しく受信しているときは、lラインの画
像データが揃う毎にダブルバッファに出力し、記録を行
う、ダブルバッフTへの出力は、バッファO,バッファ
lと交互に行う。
When image data is being received correctly, each line of image data is output to the double buffer and recorded. Output to the double buffer T is performed alternately with buffer O and buffer I.

エンコーダのポインタがFIFOの終端に至すると、エ
ンコーダのポインタをFIFOの先頭にセットする。こ
のとき、REVRSフラグをOにセットする。
When the encoder pointer reaches the end of the FIFO, the encoder pointer is set to the beginning of the FIFO. At this time, the REVRS flag is set to O.

第26図(1)〜(4)は復号処理過程(メイン処理)
を詳細に示すフローチャートである。
Figure 26 (1) to (4) are decoding process (main process)
2 is a flowchart showing details.

第281N(1)に示すステップ5820ないしステッ
プ5630は、各種のイニシャライズを表している。
Steps 5820 to 5630 shown in No. 281N(1) represent various initializations.

ステップ51m2Gにおいては、モデムのポインタRM
DPTRに8400Hをセットする。
In step 51m2G, the modem pointer RM
Set 8400H to DPTR.

ステップ5622においては、エンコーダのポインタR
NHPTRに8400Hをセットする・ステラ7’58
24においては、フラグBAF(いま、どちらのバッフ
ァに対して記録データをストアしようとしているかとい
うフラグ)に1をセットする。
In step 5622, the encoder pointer R
Set 8400H to NHPTR・Stella 7'58
At step 24, the flag BAF (a flag indicating which buffer the recording data is to be stored in now) is set to 1.

ステップ5626においては、モデムのポインタがFI
FOの終端から先頭に戻ったことを表すフラグREVR
Sに0をセットする。
In step 5626, the modem's pointer is
Flag REVR indicating returning from the end of FO to the beginning
Set S to 0.

ステップ3828ないしステップ5630においては、
ラインナンバーをイニシャライズ(0IOIHにセット
)する。
In steps 3828 to 5630,
Initialize the line number (set to 0IOIH).

ステップ5632ないしステップ5640においてはE
OLを見つけたか否かを判断する。  EOLを見つけ
た場合は、ステップ5642に進む。
In steps 5632 to 5640, E
Determine whether or not the office lady has been found. If EOL is found, proceed to step 5642.

ステップ5634ないしステー、プ9838においては
、FIFOメそりから1バイトの復調データを入力する
In steps 5634 to 9838, one byte of demodulated data is input from the FIFO memory.

ステップ5840においては、エンコードのポインタを
インクリメントする。これに関しては後述する(ステッ
プ5720ないしステップ5734参照)。
In step 5840, the encode pointer is incremented. This will be discussed later (see steps 5720 to 5734).

ステップ5642ないしステップ5654においては、
制御復帰信号RTC信号を検出したか否かを判断する。
In steps 5642 to 5654,
It is determined whether the control return signal RTC signal is detected.

ステップ5842においては、RTC信号の可能性があ
るか、すなわち、EOLに続く2バイトデータのデータ
を無視した後のデータがEOLであるか否かを判断する
。  RTG@号の可能性がある場合には、ステップ5
844ないしステップ5852により RTC信号を検
出したかを判断する。  RTC@号を検出すると、画
像受信を終了する(ステップ9584) 。
In step 5842, it is determined whether there is a possibility of an RTC signal, that is, whether the data after ignoring the 2-byte data following EOL is EOL. If there is a possibility of RTG@ issue, step 5
In steps 844 to 5852, it is determined whether an RTC signal is detected. When the RTC@ number is detected, image reception ends (step 9584).

ここで、  RTC信号の検出としては、例えば、rE
OL Jに続いてrQJが11個統御た後にrlJを2
回検出したときとする。この場合も、EOLを検出する
毎にその後に続く2バイトのデータを無視する。
Here, for the detection of the RTC signal, for example, rE
Following OL J, after controlling 11 rQJs, 2 rlJs
When detected twice. In this case as well, each time EOL is detected, the following 2 bytes of data are ignored.

ステップ5644ないしステップ5848においては、
FIFOメモリから1バイトの復調データを入力する。
In steps 5644 to 5848,
Input 1 byte of demodulated data from FIFO memory.

ステップ5850においては、エンコーダのポインタR
MHPTRをインクリメントする。ここで、 RTC信
号の検出の可能性がない場合、すなわち、  EOLに
続く2バイトのデータを無視した後のデータがEQLで
ないものを検出したときには、ステップ885Bに進む
In step 5850, the encoder pointer R
Increment MHPTR. Here, if there is no possibility of detecting an RTC signal, that is, if it is detected that the data after ignoring the 2-byte data following EOL is not EQL, the process advances to step 885B.

ステップS85f1では、 EOL信号に続く2バイト
のデータ、すなわち、今回受信したラインナンバーを入
力する。ステップ5858 、ステップ5880におい
ては、最新の正しく受信したラインナンバーを入力する
In step S85f1, the 2-byte data following the EOL signal, ie, the line number received this time, is input. In steps 5858 and 5880, the latest correctly received line number is input.

ステー2プ5662においては、今回受信したラインナ
ンバーが正しく受信した最新のラインナンバーより3以
上大きいか、すなわち、画像受信エラーが発生したか否
かを判断する。今回受信したラインナンバーが正しく受
信した最新のラインナンバーより3以上大きい場合、す
なわち、画像受信エラーが発生した場合は、ステップ8
698に進む。
In step 2 5662, it is determined whether the currently received line number is 3 or more larger than the latest correctly received line number, that is, whether an image reception error has occurred. If the line number received this time is 3 or more larger than the latest correctly received line number, that is, if an image reception error has occurred, step 8
Proceed to 698.

今回受信したラインナンバーが正しく受信した最新のラ
インナンバーより3未満だけ大きい場合、すなわち画像
受信が良好な場合は、ステップ8664に進む。
If the currently received line number is less than 3 greater than the most recently correctly received line number, that is, if the image reception is good, the process proceeds to step 8664.

ステップ5664およびステップ886Bにおいては、
今回受信したラインナンバーをラインナンバー格納メモ
リ5Bにストアする。
In step 5664 and step 886B,
The line number received this time is stored in the line number storage memory 5B.

第26図(2)に示すステー2ブ5eeeないしステッ
プ5680においては、復調データを入力し、デコード
を行い、lラインの記録データを作成する。
In step 5eee to step 5680 shown in FIG. 26(2), demodulated data is input and decoded to create l-line recording data.

ステップ5868ないしステップ5872においては。In steps 5868 to 5872.

FIFOメモリから1バイトの復調データを入力する。Input 1 byte of demodulated data from FIFO memory.

ステップ5874においては、エンコーダのポインタR
M)IPTRをインクリメントする。
In step 5874, the encoder pointer R
M) Increment IPTR.

復号器がバイトデータを要求すると(ステップSf!7
B) 、  1バイトのデータが復号器に送出される(
ステップ5878) 、そして、ステップ5680にお
いては、1ラインのデコードが終了したか否かを判断す
る。lラインのデコードが未だ終了していないときには
、ステップ8888に進む、これに対し、1ラインのデ
コードが終了しているときには、ステップ5882に進
む。
When the decoder requests byte data (step Sf!7
B), 1 byte of data is sent to the decoder (
Step 5878) Then, in step 5680, it is determined whether one line of decoding has been completed. If the decoding of one line has not yet been completed, the process advances to step 8888. On the other hand, if the decoding of one line has been completed, the process advances to step 5882.

ステップ5882においては、lラインの復号化データ
を入力し、該当するバッファをセレクトしそのバッファ
に出力する(ステップ8884ないしステー2プS[1
98) 、バッファに1ラインのデータを書き込む時に
は、バッファO,バッファlを交互に選択する。そして
、ステップ5632に進み1次のラインのデコードを行
う。
In step 5882, the decoded data of line l is input, the corresponding buffer is selected, and output to that buffer (step 8884 or step 2 S[1
98) When writing one line of data to the buffer, buffer O and buffer I are selected alternately. Then, the process advances to step 5632 to decode the primary line.

画像受信が良好でない場合には、第2B図(3)に示す
ステップ8698に進む、まず、PIS信号を送信しく
ステップ8698ないしステップS?OO) 、送信側
装置の伝送を中断させる。その後、最新の正しく受信し
たラインナンバーに1を加えたラインナンバーをNSF
信号にセットし、NSF信号の送信を行う(ステップ5
702ないしステップ570B) 、このとき、前述し
たように、フォールバック等の制御も併せて行う、そし
て、モデムのポインタRNDPTHに8400FI、エ
ンコーダのポインタRNHPTRに8400H,BAF
に1. REVMSに0をセットし、各種イニシャライ
ズを行い、再び画像受信を行う。
If the image reception is not good, the process proceeds to step 8698 shown in FIG. 2B (3). First, the PIS signal is transmitted. Step 8698 to step S? OO), interrupts the sending device's transmission. Then, add 1 to the latest correctly received line number and send it to the NSF.
signal, and transmit the NSF signal (Step 5)
702 to step 570B), at this time, as described above, control such as fallback is also performed, and 8400FI is set to the modem pointer RNDPTH, and 8400H, BAF is set to the encoder pointer RNHPTR.
1. Set REVMS to 0, perform various initializations, and perform image reception again.

第26図(0に示すステップS?2Gないしステップ5
734は、エンコーダのポインタRNIPTRのインク
リメントするサブルーチンである。エンコーダのポイン
タRMHPTRをインクリメントする時、モデムの、イ
ンタRNDPTRを追い越さないように制御する必要が
ある(ステップ5722ないしステップ5724) 。
FIG. 26 (Step S?2G or Step 5 shown in 0)
734 is a subroutine that increments the encoder pointer RNIPTR. When incrementing the encoder pointer RMHPTR, it is necessary to control it so that it does not overtake the modem's inter RNDPTR (steps 5722 to 5724).

ステップ872Bにおいては、エンコーダのポイ′りR
MHPTRをインクリメントする。エンコーダのポイン
タがF IFOメモリの終端に達した場合は、エンコー
ダのポインタにF IFOメモリの先頭アドレスをセッ
トし、REVRSフラグにOをセットす名(ステップ5
728ないしステップ5732) 。
In step 872B, the encoder point R
Increment MHPTR. If the encoder pointer reaches the end of the FIFO memory, set the start address of the FIFO memory to the encoder pointer and set O to the REVRS flag (step 5).
728 to step 5732).

また、制御を行っている最中にも各種のタイマーが作動
しており、例えば、タイムオーバーになった場合には、
回線断となる。
In addition, various timers are running even while control is being performed, and for example, if the timer is over,
The line will be disconnected.

917  その他の実施例 自動発信機能を備えたファクシミリ装置を構成する場合
、画像伝送が失敗したときには、他の回線を選択して自
動発信を行うよう制御することも可能である。
917 Other Embodiments When configuring a facsimile apparatus equipped with an automatic call function, it is also possible to control the facsimile apparatus to select another line and perform automatic call when image transmission fails.

また、これまで述べてきた実施例では、原稿画像を複数
のライン情報に分割して伝送を行っているが、ブロック
ごとの複数のエリアに分割して得たエリア情報を一単位
として伝送することも可能である・ (以下、余白) [効 果] 以上、説明したとおり本発明によれば、従来の)IDL
C手順に従ったブロック伝送方式を採っていないので、
伝送エラーが発生した場合にも、該当するラインから誤
った画像の再送が可能になる。このことにより、許容し
得るエラー頻度も任意に設定することが可能になり、且
つ、回線上の遅延に対しても誤り再送を効率よく行うこ
とが可能となる。
Furthermore, in the embodiments described so far, the document image is divided into multiple line information and transmitted, but it is also possible to divide the original image into multiple areas for each block and transmit the area information obtained as one unit. (hereinafter referred to as blank space) [Effect] As explained above, according to the present invention, conventional) IDL
Since the block transmission method according to the C procedure is not adopted,
Even if a transmission error occurs, the erroneous image can be retransmitted from the corresponding line. This makes it possible to arbitrarily set the allowable error frequency, and to perform error retransmission efficiently even in response to delays on the line.

本発明は従来の符号化方式を根本的に変更する方式を提
供するものでないので、実現も容易である。
Since the present invention does not provide a method that fundamentally changes the conventional encoding method, it is easy to implement.

更に、本発明によれば受信側において受信エラー発生と
認識する判断基準を任意に変えることができるので、次
に述べるような格別の効果をも得ることができる。
Furthermore, according to the present invention, the criterion for recognizing that a reception error has occurred can be arbitrarily changed on the receiving side, so that special effects as described below can also be obtained.

■ 1つのエリアでも受信エラーが発生した場合には受
信画像が良好でないと判断して再送を行うことができる
ので、受信した記録画像には全くエラーが無いことにな
る。
(2) If a reception error occurs in even one area, it can be determined that the received image is not good and retransmission can be performed, so that the received recorded image will have no errors at all.

■ 受信機側において受信エラー発生と認識する判断基
準を例えば、゛″3ライン3947以上発生した場合°
゛と規定することができるので、3ライン以上の受信エ
ラーが生じたときにのみ受信画像が良好でないものと判
断して再送を行い、2ライン以下のエラーについては無
視することができる。
■ The criteria for recognizing a reception error on the receiver side is, for example, if 3 lines 3947 or more occur.
Therefore, it is possible to determine that the received image is not good and retransmit it only when reception errors occur in three or more lines, and to ignore errors in two lines or less.

■ 文字の大きさなど画像の種類に応じて、判断基準を
変更することができる。
■ Judgment criteria can be changed depending on the type of image, such as font size.

かくして、[従来技術]に関して述べた項目r !53
HrJLCフレーム構成を用いて誤り再送を行うことに
より生じる問題点、9361回線エラーに対するgJ”
JI、93.2エラーが生じたビット位置による影響」
をクリアすることが可能になった。
Thus, the item r! mentioned regarding [prior art]! 53
Problems caused by error retransmission using HrJLC frame structure, gJ for 9361 line errors
JI, 93.2 Effects of bit position where error occurred”
It is now possible to clear.

本発明を適用した一実施例によれば、より具体的に、次
に示す効果を得ることが可能である。
According to an embodiment to which the present invention is applied, more specifically, the following effects can be obtained.

1)回線エラーに対する影響について モディファイドハフマン符号化あるいはモディファイド
リード符号化による“EOL”(ライン終端符号)の後
にラインナンバーを付加1−であるので、受信側におい
て再送要求を行う条件を任意に設定することができる。
1) Regarding the effect on line errors, the line number is added after "EOL" (end of line code) by modified Huffman encoding or modified read encoding.Since it is 1-, the conditions for requesting retransmission can be arbitrarily set on the receiving side. be able to.

例えば、受信側において、■ラインのみエラーが生じた
場合は受信良好と判断し、2ライン以上の・連続エラー
が発生したときに初めて再送要求を行うことができる。
For example, on the receiving side, if an error occurs only in line 1, it can be determined that reception is good, and a retransmission request can be made only when consecutive errors occur in two or more lines.

かかる再送要求を行うために、例えば、a)送信側では
、1ライン毎にラインナンバーを伝送し、受信側におい
て受信画像不良と判定すべきアルゴリズムを変更する。
In order to make such a retransmission request, for example, a) the transmitting side transmits a line number for each line, and the receiving side changes the algorithm for determining that the received image is defective.

b)送信側では、数ラインに対して同一のラインナンバ
ーを割り当てる。そして、この数ラインを示す数値を変
更することにより、再送を行う条件を変化させる。
b) On the transmitting side, the same line number is assigned to several lines. Then, by changing the numerical values indicating these several lines, the conditions for retransmission are changed.

このような各種条件の変更を行うことにより、連続した
許容エラーラインを任意に設定することができる。
By changing these various conditions, it is possible to arbitrarily set a continuous allowable error line.

殊に、電話回線を使用したファクシミリ伝送では、エラ
ーラインを零にすることが難しい、このため、1枚の受
信画像につき数ラインあるいは数十ラインのエラーは許
容している。すなわち、受信画像が数ラインあるいは数
十ラインエラーしても受信9画像良好と判断している。
Particularly in facsimile transmission using a telephone line, it is difficult to reduce error lines to zero, so errors of several lines or tens of lines are allowed for one received image. In other words, even if the received image has errors of several lines or tens of lines, it is determined that the nine received images are good.

かかる観点から、定常状態の回線状況をトレーニングe
 TCFにより判断し、その回線に適した伝送スピード
を選択している。この判断により、定常状態における受
信画像をかなり良好なものとすることができるが、イン
パルス性のノイズ等が回線に加わった場合に問題が生じ
る。
From this point of view, training e
A transmission speed suitable for the line is selected based on the TCF. This determination makes it possible to obtain a fairly good received image in a steady state, but a problem arises when impulsive noise or the like is added to the line.

かかる問題に対しても、本発明に従った誤り再送方式に
よれば、エラーの発生頻度が少ないときには再送要求を
行わず受信を行ない、インパルス性のノイズが回線に加
わったときなどパーストエラーが発生した場合には再送
要求を行なうことが可能になる。かくして、効率の良い
再送が可能になる。
To solve this problem, according to the error retransmission method according to the present invention, reception is performed without requesting retransmission when errors occur infrequently, and burst errors occur when impulsive noise is added to the line. In this case, a retransmission request can be made. In this way, efficient retransmission becomes possible.

il)エラーが生じたビット位置による影響について 本発明に従った誤り再送方式によれば、所望のエリアか
らの再送が可能になる。すなわち、第3図に示す(ア)
の部分にあるデータにエラーが発生じた場合にも、この
(ア)の部分にあるデータの先頭から再送が可能になる
。これに対し、従来の)IDLCフレームによりブロッ
ク化している場合は、(イ)のところのデータから再送
を行なう必要があった。このように、受信画像にエラー
が発生した場合にも、そのエラーの発生したエリアから
再送が可能になり、データを重複して伝送する必要がな
くなった。
il) Effect of bit position where error occurs According to the error retransmission method according to the present invention, retransmission from a desired area becomes possible. In other words, (a) shown in Figure 3
Even if an error occurs in the data in part (a), it is possible to retransmit the data from the beginning of part (a). On the other hand, in the case of blocking using the conventional IDLC frame, it was necessary to retransmit the data starting from (a). In this way, even if an error occurs in a received image, it is possible to retransmit it from the area where the error occurred, eliminating the need to transmit data redundantly.

1ii)通信回線が有する伝播遅延特性に基づく影響に
ついて 本発明に従って誤り再送を行う場合には、データをブロ
ック化していないので、回線が固有的に有する遅延時間
が長い場合にも、誤り再送が可能になる。
1ii) Effects based on propagation delay characteristics of communication lines When performing error retransmission according to the present invention, data is not blocked, so error retransmission is possible even when the delay time inherent to the line is long. become.

iv)符号化の容易さについて 上記”EOL’“に後続する一定長のビットをラインナ
ンバーと定義しているので、従来の符号化。
iv) Regarding ease of encoding, conventional encoding is used because the bits of a fixed length following the above "EOL" are defined as line numbers.

復号化技術をそのまま使用することができ、本発明に係
る符号化を容易に実現することが可能である。これは[
従来技術]に関して述べた項目r93.4  符号化の
困難さJの欠点を解消するものである。
The decoding technique can be used as is, and the encoding according to the present invention can be easily implemented. this is[
This eliminates the disadvantage of item r93.4 Difficulty in encoding J mentioned in regard to [Prior Art].

(以下余白)(Margin below)

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

第1図はHDLCのフレームフォーマ−、トラ示ス図、 第2図は第1図に示したHDLCフレームデータを用い
て誤り再送を行なった具体例を示す図、第3図は2つの
)IDLCフレームを示す図。 第4図は回線に遅延があった場合のHDLCフレームの
伝送例を示す図、 第5図は従来の誤り再送方式において受信側装置がトレ
ーニング信号の受信に失敗したときの状態を示す模式図
、 第6図(1)〜(3)はトレーニング信号および画信号
の受信について説明する波形図、 第7図は従来から知られているトレーニング受信/画信
号受信の制御手順を示すフローチャート。 第8図は本発明の一実施例による制御手順を説明する模
式図。 第9図(1)〜(7)はラインナンバーの具体例を示す
ビット構成図、 第10図は符号化したデータおよび各ラインナンバーに
対応した再送開始アドレスをメモリに格納した例を示す
図、 第11図は本実施例によるファクシミリ装置の送信側構
成を示すブロック図、 第12図は第11図に示した制御回路7日が実行すべき
制御手順を示すフローチャート、 第13図(1)および(2)はFIFOメモリと各種ポ
インタとの間係を説明する図、 第14図は各伝送スピードにおいて3秒間に送出される
ビー、ト数およびバイト数を示す図。 第15図(1)および(2)はFIFOメモリと各種ポ
インタとの関係を示す図、 816図はフォールパックを伴った誤り再送を行う場合
に着目した画像受信の制御例を示すフローチャート、 第17図は受信側から送信側に対して再送開始アドレス
およびフォールバックの有無情報を連絡するための30
0b/Sの信号の一例を示す図。 第18図(1)〜(3)は再送開始アドレスのセット方
法を説明する図。 第19図は本発明を適用したファクシミリ装置における
送信側の一実施例を示すブロック図、第20図は再送開
始アドレス格納メモリを示す構成図、 第21図は第18図に示した制御回路30の概略符号化
処理(すなわち、メイン処理の概略)を示すフローチャ
ート・ 第22図(1)〜(12)は第19図に示した制御回路
30の詳細符号化処理(すなわち、メイン処理の詳細)
を示すフローチャート、 第23図は第18図に示した制御回路30が制御する符
号化データの伝送手順(すなわち、インタラブド処理)
を示すフローチャート。 第24図は本発明を適用したファクシミリ装置における
受信側の一実施例を示すブロック図、第25図は第24
図に示した制御回路6Bが制御する復調データの受信処
理(すなわち、インタラブド処理)を示すフローチャー
ト、 第26図(1)〜(4)は第24図に示した制御回路6
6が制御する復号処理(すなわち、メイン処理)を示す
フローチャートである。 2・・・NCU、 4・・・ハイブリッド回路、 6・・・再送要求信号検出回路、 8・・・バイナリ−信号受信回路、 10・・・読取装置、 12・・・ダブルバッファ回路、 14・・・ラインナンバーのカウンタ回路、1B・・・
符号化回路、 18・・・ FIFOメモリ、 20・・・再送開始アドレス格納メモリ、22・・・P
/S変換回路、 24・・・変調器、 28・・・DCN信号送出回路、 28・・・加算回路、 30・・・制御回路、 40・・・NCU。 42・・・ハイブリッド回路、 44・・・信号有無検出回路。 46・・・復調器、 48・・・S/P変換回路、 50・・・NSF信号送出回路、 52・・・再送要求信号送出回路。 54・・・加算回路、 5B・・・FIFOメモリ、 58・・・ラインナンバー格納メモリ。 60・・・復号器。 62・・・ダブルバッファ回路、 64・・・記録装置、 68・・・制御回路、 87・・・NCU、 68・・・ハイブリッド回路、 68・・・バイナリ信号送出口路、 70・・・トーナル信号送出回路。 71・・・加算回路。 72・・・トーナル信号検出回路、 73・・・バイナリ信号検出回路、 74・・・スタートボタン。 75・・・誤り再送モード選択スイッチ、76・・・制
御回路、 77・・・モード変換通知音発生回路。 第1図 第2図 第3図 (イン 第4図 (Tf     l +  Tr  1 第7図 第8図 第9図 14ビーIト/うI:/7ノ八− ラインナンバ゛−2 (7) 。つゆ、ヨエヨエ、ヨ 第10図 θφHφ/Hφ3Hβ2H69Hpis eel  1
tlh(FI41φy)φ/Hφ!;HB2H5り〃φ
//JOHδ#φ/Hφ7# β2H5911φ///
  (pLplf  8φHφ//−/  φ9〃(8
42φ14)82N5;9Hφ/HqHll勿 φ/H
φθHβ2HsqHφ’H$pHl/PHpis  φ
U β2M 59N(843φH)  φ/HφφH1
1=l−11ZiHφIN 82859H’l’/Hφ
φ〃 8忰〃 φlH//Hβ2H5L?Hφ屑 却W
(θaapu)  8pHφ/H/、31f  β2H
5qHφMφ解ε階ψ/H15HB2H5りHp/N≠
ワ6//8す/lφ/M(I45φW)  β7HB2
〃yHtbysφφw (5’lA// も〃/2〃1
32u f9H#q φ勿 ・・− ICHゐ〃    。 (REVR3=  1 ) (REVR5=ψ) (REVR5=I) 第18図(1) 第18図(2)
Figure 1 is an HDLC frame former and transport diagram; Figure 2 is a diagram showing a specific example of error retransmission using the HDLC frame data shown in Figure 1; Figure 3 is a diagram of two) IDLC A diagram showing a frame. FIG. 4 is a diagram showing an example of HDLC frame transmission when there is a delay in the line; FIG. 5 is a schematic diagram showing the state when the receiving device fails to receive the training signal in the conventional error retransmission method; FIGS. 6(1) to 6(3) are waveform diagrams illustrating reception of training signals and image signals, and FIG. 7 is a flowchart showing a conventionally known control procedure for training reception/image signal reception. FIG. 8 is a schematic diagram illustrating a control procedure according to an embodiment of the present invention. 9 (1) to (7) are bit configuration diagrams showing specific examples of line numbers; FIG. 10 is a diagram showing an example in which encoded data and retransmission start addresses corresponding to each line number are stored in memory; FIG. 11 is a block diagram showing the transmitting side configuration of the facsimile machine according to this embodiment, FIG. 12 is a flowchart showing the control procedure to be executed by the control circuit shown in FIG. 11, and FIG. 13 (1) and (2) is a diagram explaining the relationship between the FIFO memory and various pointers, and FIG. 14 is a diagram showing the number of beats, totes, and bytes sent out in 3 seconds at each transmission speed. 15 (1) and (2) are diagrams showing the relationship between the FIFO memory and various pointers; FIG. The figure shows 30 steps for the receiving side to notify the sending side of the retransmission start address and information on the presence or absence of fallback.
The figure which shows an example of the signal of 0b/S. FIGS. 18(1) to 18(3) are diagrams illustrating a method of setting a retransmission start address. FIG. 19 is a block diagram showing an embodiment of the sending side of a facsimile machine to which the present invention is applied, FIG. 20 is a configuration diagram showing a retransmission start address storage memory, and FIG. 21 is a control circuit 30 shown in FIG. 18. 22 (1) to (12) are detailed encoding processing (i.e., details of the main processing) of the control circuit 30 shown in FIG. 19.
23 is a flowchart showing the encoded data transmission procedure (i.e., interwoven processing) controlled by the control circuit 30 shown in FIG. 18.
Flowchart showing. FIG. 24 is a block diagram showing an embodiment of the receiving side of a facsimile apparatus to which the present invention is applied, and FIG.
26(1) to (4) are flowcharts showing demodulated data reception processing (i.e., interwoven processing) controlled by the control circuit 6B shown in FIG.
6 is a flowchart showing a decoding process (ie, main process) controlled by the computer 6. 2... NCU, 4... Hybrid circuit, 6... Retransmission request signal detection circuit, 8... Binary signal receiving circuit, 10... Reading device, 12... Double buffer circuit, 14. ...Line number counter circuit, 1B...
Encoding circuit, 18... FIFO memory, 20... Retransmission start address storage memory, 22...P
/S conversion circuit, 24... Modulator, 28... DCN signal sending circuit, 28... Addition circuit, 30... Control circuit, 40... NCU. 42...Hybrid circuit, 44...Signal presence/absence detection circuit. 46... Demodulator, 48... S/P conversion circuit, 50... NSF signal sending circuit, 52... Retransmission request signal sending circuit. 54...Addition circuit, 5B...FIFO memory, 58...Line number storage memory. 60...Decoder. 62... Double buffer circuit, 64... Recording device, 68... Control circuit, 87... NCU, 68... Hybrid circuit, 68... Binary signal output path, 70... Tonal Signal sending circuit. 71...Addition circuit. 72... Tonal signal detection circuit, 73... Binary signal detection circuit, 74... Start button. 75...Error retransmission mode selection switch, 76...Control circuit, 77...Mode conversion notification sound generation circuit. Figure 1 Figure 2 Figure 3 (In Figure 4 (Tf l + Tr 1 Figure 7 Figure 8 Figure 9 Figure 14 Beat I/U I:/7 No. 8 - Line number - 2 (7) .tsuyu, yoe yoe, yo Figure 10 θφHφ/Hφ3Hβ2H69Hpis eel 1
tlh(FI41φy)φ/Hφ! ;HB2H5ri〃φ
//JOHδ#φ/Hφ7# β2H5911φ///
(pLplf 8φHφ//-/ φ9〃(8
42φ14) 82N5; 9Hφ/HqHll course φ/H
φθHβ2HsqHφ'H$pHl/PHpis φ
U β2M 59N (843φH) φ/HφφH1
1=l-11ZiHφIN 82859H'l'/Hφ
φ〃 8忰〃 φlH//Hβ2H5L? Hφ waste disposal W
(θaapu) 8pHφ/H/, 31f β2H
5qHφMφ solution ε floor ψ/H15HB2H5riHp/N≠
wa6//8s/lφ/M (I45φW) β7HB2
〃yHtbysφφw (5'lA// mo〃/2〃1
32u f9H#q φ Of course...-ICHゐ〃. (REVR3=1) (REVR5=ψ) (REVR5=I) Figure 18 (1) Figure 18 (2)

Claims (1)

【特許請求の範囲】 複数のエリア情報に分割された画情報の送受信を行う画
像通信装置において、 前記エリア情報を誤って受信したものと判定した場合に
は該エリア情報に対応するコード情報を送信側に返送し
て該エリア情報の再送を要求する手段と、 前記エリア情報の再送要求を行うための判定基準を可変
的に設定する手段とを具備したことを特徴とする画像通
信装置。
[Claims] In an image communication device that transmits and receives image information divided into a plurality of area information, if it is determined that the area information has been received in error, code information corresponding to the area information is transmitted. What is claimed is: 1. An image communication device comprising: means for requesting retransmission of the area information by sending the area information back to the user; and means for variably setting determination criteria for requesting retransmission of the area information.
JP60037368A 1985-02-28 1985-02-28 Facsimile communication system Expired - Lifetime JP2572028B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP60037368A JP2572028B2 (en) 1985-02-28 1985-02-28 Facsimile communication system
CN198686101893A CN86101893A (en) 1985-02-28 1986-02-27 Data communications equipment
EP86301466A EP0193410A3 (en) 1985-02-28 1986-02-28 Data communication apparatus
EP92203414A EP0532130B1 (en) 1985-02-28 1986-02-28 Data communication apparatus
DE3650619T DE3650619T2 (en) 1985-02-28 1986-02-28 Data transmission device
US07/110,542 US4829524A (en) 1985-02-28 1987-10-20 Data communication apparatus
CN91101085A CN1046177C (en) 1985-02-28 1991-02-22 Data communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60037368A JP2572028B2 (en) 1985-02-28 1985-02-28 Facsimile communication system

Publications (2)

Publication Number Publication Date
JPS61198869A true JPS61198869A (en) 1986-09-03
JP2572028B2 JP2572028B2 (en) 1997-01-16

Family

ID=12495575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60037368A Expired - Lifetime JP2572028B2 (en) 1985-02-28 1985-02-28 Facsimile communication system

Country Status (1)

Country Link
JP (1) JP2572028B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0543517U (en) * 1991-11-14 1993-06-11 田淵電機株式会社 Small transformer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5513536A (en) * 1978-07-14 1980-01-30 Fujitsu Ltd Picture signal transmission control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5513536A (en) * 1978-07-14 1980-01-30 Fujitsu Ltd Picture signal transmission control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0543517U (en) * 1991-11-14 1993-06-11 田淵電機株式会社 Small transformer
JP2572345Y2 (en) * 1991-11-14 1998-05-20 田淵電機株式会社 Small transformer

Also Published As

Publication number Publication date
JP2572028B2 (en) 1997-01-16

Similar Documents

Publication Publication Date Title
US4829524A (en) Data communication apparatus
JP2871704B2 (en) Image communication method
GB2217547A (en) Method and system for selecting frame size of image data in data transmission
JPS61198869A (en) Picture image communication equipment
JPH03274859A (en) Data communication equipment
JPS61198865A (en) Picture image communication equipment
JPS61198867A (en) Picture image communication equipment
JPS61198863A (en) Picture image communication equipment
JPS61198866A (en) Picture image communication equipment
JPS61198868A (en) Picture image communication equipment
JPS61198870A (en) Picture communication equipment
JP2672390B2 (en) Facsimile machine
JPS61198871A (en) Picture communication equipment
JP2568254B2 (en) Data communication device
JP3026634B2 (en) Facsimile machine
JP2798405B2 (en) Data communication device
JPH01292964A (en) Picture-writing transmission system
JP2763527B2 (en) Facsimile machine
JP3511432B2 (en) Facsimile machine
JPS61158270A (en) Picture communication device
JPS59101957A (en) Facsimile device
JPH0241070A (en) Facsimile equipment
JPS6238663A (en) Image transmission system
JPH04117056A (en) Facsimile equipment
JPH02222262A (en) Facsimile equipment

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term