JPH0797767B2 - Image information receiving device - Google Patents
Image information receiving deviceInfo
- Publication number
- JPH0797767B2 JPH0797767B2 JP62282032A JP28203287A JPH0797767B2 JP H0797767 B2 JPH0797767 B2 JP H0797767B2 JP 62282032 A JP62282032 A JP 62282032A JP 28203287 A JP28203287 A JP 28203287A JP H0797767 B2 JPH0797767 B2 JP H0797767B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- frame
- error
- signal
- signal line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Facsimile Transmission Control (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はHDLC(High−level Data Link Control)手順
に従った画像情報を受信する装置、特に、誤り再送要求
機能を有する画像受信装置に関するものである。The present invention relates to an apparatus for receiving image information according to an HDLC (High-level Data Link Control) procedure, and more particularly to an image receiving apparatus having an error resend request function. Is.
従来から知られているこの種の装置として、誤り再送要
求機能を備えたファクシミリ装置が知られている。この
ファクシミリ装置では、HDLCフォーマット化された画情
報を受信しているため、1ビットでも受信エラーが生じ
れば当該フレームはエラーフレームとして判断されるこ
とになる。As a conventionally known apparatus of this type, a facsimile apparatus having an error resend request function is known. Since this facsimile apparatus receives HDLC-formatted image information, if a reception error occurs even with 1 bit, the frame is determined as an error frame.
送信側からの誤り再送が何回か行われた場合にも、かか
るエラーフレームが残ったときには、例えば、 当該エラーフレームの再生を行わず、前後のフレーム
を詰めて再生する: エラーフレームが生じていることを表す特定の情報を
オペレータに知らせる: といったことが行われている。When such error frame remains even if the error is retransmitted several times from the transmitting side, for example, the error frame is not reproduced and the preceding and following frames are packed and reproduced: An error frame occurs. The operator is informed of specific information that indicates that:
このように、従来のファクシミリ装置では、エラーフレ
ーム情報を再生することは一切行われていなかった。As described above, in the conventional facsimile device, the error frame information is not reproduced at all.
しかしながら、エラーフレームに含まれるエラーのビッ
ト数が少ない場合には、当該フレームの受信信号を復号
し、正しく受信されたライン情報のみをプリントアウト
することにより、大部分のライン情報を再生することが
可能である。However, when the error bit number contained in the error frame is small, most of the line information can be reproduced by decoding the received signal of the frame and printing out only the correctly received line information. It is possible.
このように、従来のファクシミリ装置では、エラーフレ
ームに含まれる画情報を一律に無視もしくは除去してし
まうという欠点がみられた。As described above, the conventional facsimile apparatus has a drawback that the image information included in the error frame is uniformly ignored or removed.
よって本発明の目的は、誤り再送モードにおいて受信し
たフレームにエラーがあった場合に、そのエラーフレー
ム内の画像情報も復号して、エラーフレーム内の正常な
画像情報を再生できるよう構成した画像受信装置を提供
することにある。Therefore, it is an object of the present invention to, when an error occurs in a frame received in the error resending mode, also decode the image information in the error frame and reproduce the normal image information in the error frame. To provide a device.
かかる目的を達成するために、本発明は、複数のフレー
ムに分割された一連の画像情報を受信する受信手段と、
受信したフレームに誤りがあった場合、送信側に対して
誤り再送要求を行う手段と、受信した画像情報を記憶す
る記憶手段と、前記記憶手段に記憶された画像情報を復
号する復号手段と、前記復号手段により復号された画像
情報を再生する再生手段と、正常に受信したフレームの
画像情報および誤りがあったフレームの画像情報を前記
記憶手段に記憶させる手段とを有するものである。In order to achieve such an object, the present invention is a receiving means for receiving a series of image information divided into a plurality of frames,
When the received frame has an error, means for making an error resend request to the transmitting side, storage means for storing the received image information, and decoding means for decoding the image information stored in the storage means, It has a reproducing means for reproducing the image information decoded by the decoding means, and a means for storing the image information of the normally received frame and the image information of the erroneous frame in the storage means.
本発明に係る画像受信装置では、誤り再送についてはフ
レーム単位で要求するものの、正常に受信したフレーム
の画像情報および誤りのあったフレームの画像情報を記
憶手段に記憶し、その記憶手段に記憶された画像情報を
復号して再生するものとする。In the image receiving apparatus according to the present invention, although error resending is requested on a frame-by-frame basis, image information of a normally received frame and image information of an erroneous frame are stored in a storage unit and stored in the storage unit. The image information is decoded and reproduced.
以下、実施例に基づいて本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail based on examples.
第1図は、本発明に係る画像情報受信装置の全体構成図
である。本図に示すように、HDLC手順に従った画像情報
を受信する装置において、受信した画像情報に誤りがあ
った場合、送信側に対して誤り再送要求を行う手段と、
前記誤り再送要求が所定回数なされた場合にも受信誤り
が解消されないときには、当該画像情報のうち正しく受
信された画像情報成分を再生する手段とを具備するもの
である。FIG. 1 is an overall configuration diagram of an image information receiving apparatus according to the present invention. As shown in the figure, in the device for receiving the image information according to the HDLC procedure, when the received image information has an error, a means for making an error retransmission request to the transmitting side,
The apparatus further comprises means for reproducing the correctly received image information component of the image information when the reception error is not eliminated even when the error resending request is made a predetermined number of times.
次に、本発明を適用したファクシミリ装置の概略を述べ
る。Next, an outline of a facsimile apparatus to which the present invention is applied will be described.
本発明を適用したファクシミリ装置のうち、送信側のフ
ァクシミリ装置(以下、単に“送信機側”という)で
は、符号化した画情報を所定の長さ毎に区切り、1つの
フレームとしてHDLCフォーマット化し、一度に複数のフ
レームを送信(例えば、256フレームを送信)する。受
信側のファクシミリ装置(以下、単に“受信機側”とい
う)では、複数のフレーム(例えば、256フレーム)の
受信を終了した後、受信エラーしたフレームの番号を送
信機側へ伝える。送信機側においては、エラーしたフレ
ームの再送を行う。そして、受信機側において、エラー
フレームが無くなったときには、その旨の情報を送信機
側に伝える。すると送信機側は次のブロックの送信を行
う。なお、送信機側において例えば3回の再送を行った
後においても、未だ受信機側にエラーフレームが有る場
合には、そのフレームの再送を続けるか、あるいはその
フレームの再送を中断して次のブロックの送信を行うか
を送信機側が決定する。Among the facsimile machines to which the present invention is applied, in the facsimile machine on the transmission side (hereinafter, simply referred to as “transmitter side”), the encoded image information is divided into predetermined lengths, which are HDLC-formatted as one frame, Send multiple frames at once (for example, send 256 frames). In the facsimile machine on the receiving side (hereinafter, simply referred to as "receiver side"), after the reception of a plurality of frames (for example, 256 frames) is completed, the number of the frame having the reception error is transmitted to the transmitter side. The transmitter side retransmits the erroneous frame. Then, when the error frame has disappeared on the receiver side, information to that effect is transmitted to the transmitter side. Then, the transmitter side transmits the next block. Note that, even after the transmitter has retransmitted three times, if the receiver still has an error frame, the frame may be retransmitted or the frame may be retransmitted and the next frame may be interrupted. The transmitter determines whether to transmit the block.
上記受信機側の概略動作は、次のとおりである。The general operation of the receiver side is as follows.
受信機側では、まずテンポラリバッファにデータを格納
し、1フレーム分のデータが正しく受信されたときには
当該フレーム番号を識別し、該当する画像メモリ空間に
データを転送する。そして、画像データを連続して正し
く受信している限り、画像再生動作を順次行う。また、
CRCチェックにおいてエラーがあると認められたときに
は、そのフレームデータをテンポラリバッファに格納
し、そのデータを該当する画像メモリ空間に転送する。
これが本実施例の特色であり、最後までエラーフレーム
が残ったとしても、そのフレームデータをデコードして
再生することができる。これにより、フレームデータに
含まれるエラーが少ない場合は、大部分のライン情報を
再生(可視化)することが可能となる。On the receiver side, first, the data is stored in the temporary buffer, the frame number is identified when the data for one frame is correctly received, and the data is transferred to the corresponding image memory space. Then, as long as the image data is continuously and correctly received, the image reproducing operation is sequentially performed. Also,
When it is recognized that there is an error in the CRC check, the frame data is stored in the temporary buffer and the data is transferred to the corresponding image memory space.
This is the feature of this embodiment, and even if an error frame remains until the end, the frame data can be decoded and reproduced. This makes it possible to reproduce (visualize) most line information when there are few errors contained in the frame data.
第2図は、上述したファクシミリ装置を示すブロック図
である。FIG. 2 is a block diagram showing the above-mentioned facsimile apparatus.
第2図において、 2は網制御装置NCU(Network Control Unit)であり、
電話網をデータ通信等に使用するためその回転の端末に
接続して電話交換網の接続制御を行ったり、データ通信
路への切替えを行う。また、信号線2aは電話回線であ
る。このNCU2は信号線36aの信号を入力し、その信号レ
ベルが「0」であれば、電話回線2aを電話機側(すなわ
ち、信号線2aを信号線2b)に接続する。また、NCU2は信
号線36aの信号を入力し、その信号レベルが「1」であ
れば、電話回線2aをファクシミリ装置側(すなわち、信
号線2aを信号線2c)に接続する。通常の状態では、電話
回線2aは電話機側に接続されている。In FIG. 2, 2 is a network control unit NCU (Network Control Unit),
In order to use the telephone network for data communication, etc., it is connected to the rotating terminal to control the connection of the telephone exchange network and switch to the data communication path. The signal line 2a is a telephone line. The NCU 2 inputs the signal of the signal line 36a, and when the signal level is "0", the telephone line 2a is connected to the telephone side (that is, the signal line 2a is the signal line 2b). Further, the NCU 2 inputs the signal of the signal line 36a, and when the signal level is "1", the telephone line 2a is connected to the facsimile machine side (that is, the signal line 2a is the signal line 2c). In a normal state, the telephone line 2a is connected to the telephone side.
4は、電話機である。Reference numeral 4 is a telephone.
6は、送信系の信号と受信系の信号を分離するハイブリ
ッド回路である。すなわち、信号線20a上の送信信号は
信号線2cおよびNCU2を介して、電話回線2aに送出され
る。また、通信相手側から送られてきた信号は、NCU2お
よび信号線2cを介して信号線6aに出力される。Reference numeral 6 is a hybrid circuit for separating a transmission system signal and a reception system signal. That is, the transmission signal on the signal line 20a is sent to the telephone line 2a via the signal line 2c and NCU2. The signal sent from the communication partner is output to the signal line 6a via the NCU2 and the signal line 2c.
8は読取回路であり、送信原稿より主走査方向1ライン
分の画信号を順次読み取り、白あるいは黒の2値を表わ
す信号列を作成する。この読取回路8は、CCD(電荷結
合素子)等の撮像素子(図示せず)から出力される信号
を入力し、白あるいは黒を表す2値化された信号列が信
号線8aに出力される。Reference numeral 8 denotes a reading circuit which sequentially reads image signals for one line in the main scanning direction from a transmission document and creates a signal string representing binary values of white or black. The reading circuit 8 inputs a signal output from an image pickup device (not shown) such as a CCD (charge coupled device), and outputs a binarized signal string representing white or black to a signal line 8a. .
10は符号化回路であり、信号線8aに出力されているデー
タを入力し、MH(モディファイド・ハフマン)符号化、
あるいは、MR(モディファイド・リード)符号化したデ
ータを信号線10aに出力する。Reference numeral 10 is an encoding circuit, which inputs the data output to the signal line 8a and performs MH (Modified Huffman) encoding,
Alternatively, MR (Modified Read) encoded data is output to the signal line 10a.
12は、信号線10aに出力されたデータを記憶するメモリ
回路である。本ファクシミリ装置は、1つのブロックと
して1度の複数のフレーム情報を送信し、その後、エラ
ーが生じたフレームの再送を行うので、少なくとも1ブ
ロック分のメモリを有する必要がある。このメモリ回路
12は、送信すべきフレーム番号情報が信号線36cに出力
されている時、そのフレームの画像情報を信号線12aに
出力する。Reference numeral 12 is a memory circuit that stores the data output to the signal line 10a. Since the present facsimile apparatus transmits a plurality of pieces of frame information once as one block and then retransmits a frame in which an error has occurred, it is necessary to have a memory for at least one block. This memory circuit
When the frame number information to be transmitted is output to the signal line 36c, the 12 outputs the image information of the frame to the signal line 12a.
14はHDLC化回路であり、信号線12aに出力されている符
号化データの前に、アドレスフィールド,コントロール
フィールド,FCFフィールド,FIFフィールド(送信してい
る現フレーム番号が格納される)を追加し、HDLCフォー
マット化して信号線14aに出力する。このHDLC化回路14
は、また、信号線34dに信号レベル「1」の信号が出力
されている時には、送信機側の制御のためのフラグを信
号線14aに出力する。Reference numeral 14 is an HDLC circuit, which adds an address field, a control field, an FCF field, and a FIF field (where the current frame number being transmitted is stored) before the encoded data output to the signal line 12a. , HDLC format and output to the signal line 14a. This HDLC circuit 14
Also outputs a flag for control on the transmitter side to the signal line 14a when the signal of the signal level "1" is output to the signal line 34d.
16は、公知のCCITT勧告V27ter(差動位相変調)あるい
はV29(直交変調)に基づいた変調を行う変調器であ
る。この変調器16は、信号線14aの信号を入力して変調
を行い、変調データを信号線16aに出力する。Reference numeral 16 is a modulator that performs modulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The modulator 16 receives the signal on the signal line 14a, modulates the signal, and outputs the modulated data to the signal line 16a.
18は、公知のCCITT勧告V21に基づいた変調を行う変調器
である。この変調器18は、信号線36bの手順信号を入力
して変調を行い、変調データを信号線18aに出力する。Reference numeral 18 is a modulator that performs modulation based on the well-known CCITT recommendation V21. The modulator 18 receives the procedure signal on the signal line 36b, modulates the procedure signal, and outputs the modulated data to the signal line 18a.
20は加算回路であり、信号線16aおよび信号線18aの信号
を入力し、加算した結果を信号線20aに出力する。Reference numeral 20 denotes an adder circuit which inputs signals from the signal line 16a and the signal line 18a and outputs the addition result to the signal line 20a.
22は、公知のCCITT勧告V21に基づいた復調を行う復調器
である。この復調器22は、信号線6aの信号を入力してV2
1復調を行い、復調データを信号線22aに出力する。22 is a demodulator that performs demodulation based on the well-known CCITT recommendation V21. This demodulator 22 receives the signal on the signal line 6a and outputs V2
1 Demodulates and outputs the demodulated data to the signal line 22a.
24は、公知のCCITT勧告V27ter(差動位相変調)あるい
はV29(直交変調)に基づいた復調を行う復調器であ
る。この復調器24は、信号線6aの信号を入力して復調を
行い、復調データを信号線24aに出力する。Reference numeral 24 is a demodulator that performs demodulation based on the well-known CCITT recommendation V27ter (differential phase modulation) or V29 (quadrature modulation). The demodulator 24 receives the signal on the signal line 6a, demodulates it, and outputs the demodulated data to the signal line 24a.
26は、信号線24aに出力された復調データを入力してHDL
C化されたデータの零デリートを行い、HDLCフォーマッ
ト化される前のデータを信号線26aに出力する回路であ
る。そして、1つのフレームの受信が終了すると、信号
線26bにパルスを発生する。信号線26bに上記パルスを発
生した時、1つのフレームを正しく受信できた場合に
は、信号線26cに信号レベル「1」の信号を出力する。
また、信号線26bに上記パルスを発生した時、1つのフ
レームを正しく受信していない場合には、信号線26cに
信号レベル「0」の信号を出力する。この回路26は、信
号線26aに1バイトデータを出力する毎に、信号線26dに
パルスを発生する。26 receives the demodulated data output to the signal line 24a and inputs HDL
It is a circuit that performs zero delete of the data converted into C and outputs the data before being HDLC formatted to the signal line 26a. Then, when reception of one frame is completed, a pulse is generated on the signal line 26b. When one frame can be correctly received when the pulse is generated on the signal line 26b, a signal of signal level "1" is output to the signal line 26c.
When one pulse is not correctly received when the pulse is generated on the signal line 26b, a signal of signal level "0" is output to the signal line 26c. The circuit 26 generates a pulse on the signal line 26d every time 1-byte data is output to the signal line 26a.
28は、信号線26aに出力された符号化画情報を一時的に
記憶するテンポラリメモリ回路である。このメモリ回路
28は、テンポラリバッファ0,テンポラリバッファ1(い
ずれも図示せず)から構成され、それぞれ、例えば512
バイトのメモリ空間を有している。これらのテンポラリ
バッファ0および1は、通信相手方から送られてくる1
フレーム分のデータを格納する。1フレームのデータ長
は、最大で、256+4(A,C,FCF,フレーム番号の4バイ
トが付加されている)バイトである。1つのテンポラリ
バッファにデータを格納(信号線26aからデータを入
力)している時には、もう1つのテンポラリバッファか
らはデータを出力(信号線28aからデータを出力)す
る。ここで、テンポラリバッファ0の開始アドレスをTE
MPBF0SFSTAと名付け、テンポラリバッファ1の開始アド
レスをTEMPBF1SFSTAと名付ける。これらテンポラリバッ
ファ0,テンポラリバッファ1には受信データが交互に格
納される。Reference numeral 28 is a temporary memory circuit that temporarily stores the encoded image information output to the signal line 26a. This memory circuit
28 is composed of a temporary buffer 0 and a temporary buffer 1 (neither of which is shown).
It has a memory space of bytes. These temporary buffers 0 and 1 are 1 sent from the communication partner.
Stores data for frames. The maximum data length of one frame is 256 + 4 (4 bytes of A, C, FCF, and frame number are added) bytes. When data is stored in one temporary buffer (data is input from the signal line 26a), data is output from the other temporary buffer (data is output from the signal line 28a). Here, the start address of temporary buffer 0 is TE
Name it MPBF0SFSTA, and name the start address of temporary buffer 1 TEMPBF1SFSTA. Received data is alternately stored in the temporary buffer 0 and the temporary buffer 1.
30は画像メモリ回路であり、最低1ブロック分のデータ
を格納するためのメモリ空間を備えている。テンポラリ
メモリ回路28に一時的に蓄積されたデータを画像メモリ
回路30に格納する手順は、後に説明する。この画像メモ
リ回路30は、信号線36jに信号レベル「1」の信号が出
力されている時、信号線30aに対しメモリに格納された
1ブロックの情報を順次出力する。An image memory circuit 30 has a memory space for storing at least one block of data. The procedure for storing the data temporarily stored in the temporary memory circuit 28 in the image memory circuit 30 will be described later. The image memory circuit 30 sequentially outputs the information of one block stored in the memory to the signal line 30a when the signal of the signal level "1" is output to the signal line 36j.
32は復号回路であり、信号線36jに信号レベル「1」の
信号が出力されている時に信号線30aに出力されている
復調データを入力し、MH(モディファイドハフマン)復
号あるいはMR(モディファイドリード)復号したデータ
を信号線32aに出力する。Reference numeral 32 is a decoding circuit, which inputs the demodulated data output to the signal line 30a when the signal of the signal level "1" is output to the signal line 36j, and performs MH (Modified Huffman) decoding or MR (Modified Read). The decoded data is output to the signal line 32a.
34は画像再生(可視化)回路であり、信号線36jに信号
レベル「1」の信号が出力されている時に、信号線32a
に出力されている信号を入力し、1ライン毎に順次記録
を行う。Reference numeral 34 is an image reproduction (visualization) circuit, which is used when the signal level "1" is output to the signal line 36j.
The signal output to the above is input and recording is sequentially performed for each line.
36は、第3図(A)〜(C)および第4図に示す制御を
行う制御回路である。この制御回路36は、上記テンポラ
リバッファ0.1にデータを格納するために、まず、格納
アドレスとして信号線36eに上記TEMPBF0SFSTAあるいはT
EMPBF1SFSTAを出力する。1バイトデータが受信された
時(すなわち、信号線26dにパルスが発生された時)、
信号線26aに出力されたデータはテンポラリメモリ回路2
8に入力され、当該格納アドレスに格納されていく。そ
して、制御回路36は、格納アドレスを1ずつインクリメ
ントしていく。このとき、制御回路36は、1フレームの
データ数(画情報のデータは64バイトあるいは256バイ
ト、それ以外の付加情報としてA,C,FCF,フレームナンバ
ーの4バイト)より多くならないか否かのチェックを常
に行う。36 is a control circuit for performing the control shown in FIGS. 3 (A) to (C) and FIG. In order to store the data in the temporary buffer 0.1, the control circuit 36 first uses the TEMPBF0SFSTA or T as the storage address on the signal line 36e.
Outputs EMPBF1SFSTA. When 1 byte of data is received (that is, when a pulse is generated on the signal line 26d),
The data output to the signal line 26a is the temporary memory circuit 2
It is input to 8 and stored in the storage address. Then, the control circuit 36 increments the storage address by one. At this time, the control circuit 36 determines whether the number of data of one frame (64 bytes or 256 bytes of image information data, 4 bytes of A, C, FCF, frame number as other additional information) is not exceeded. Always check.
1フレームのデータの受信が終了した時には、そのデー
タが正しく受信できたか否かをチェックし、正しく受信
できている時には、フレーム番号の値を調べる。フレー
ム番号は1フレームの受信データの最初から4バイト目
に格納されており、この情報は信号線28bに出力され
る。そして、制御回路36は、転送開始アドレスを信号線
36fに出力する。また、制御回路36は格納開始アドレス
(信号線36gに出力されている)を画像メモリ回路30へ
指示した後、転送バイト数を信号線36eに出力する。そ
の後、転送指示パルスを信号線36hに出力し、テンポラ
リメモリ回路28に格納したデータを該当する画像メモリ
空間へ転送させる。When the reception of one frame of data is completed, it is checked whether or not the data can be correctly received, and when it is correctly received, the value of the frame number is checked. The frame number is stored in the fourth byte from the beginning of the received data of one frame, and this information is output to the signal line 28b. Then, the control circuit 36 sends the transfer start address to the signal line.
Output to 36f. Further, the control circuit 36 outputs the number of transfer bytes to the signal line 36e after instructing the storage start address (which is output to the signal line 36g) to the image memory circuit 30. Then, a transfer instruction pulse is output to the signal line 36h to transfer the data stored in the temporary memory circuit 28 to the corresponding image memory space.
1フレームのデータの受信が終了したとき、そのデータ
が正しく受信されていない場合(CRCチェックによりエ
ラーが検出された場合)には、そのフレームに含まれる
受信データ数をチェックし、所定バイト数(例えば、10
バイト)以下であれば、そのデータを棄てる。その理由
は、フラグの連送時において、エラーが発生した場合が
多いと考えられるからである。また、そのフレームに含
まれるデータが所定バイト数以上(例えば、1フレーム
のデータが64バイト+4バイトのときは、36バイト以
上:1フレームのデータが256バイト+4バイトのとき
は、132バイト以上)であれば、そのデータを順次画像
メモリ回路30へ格納していく。なお、上記データが所定
バイト数に達しない場合は、画像メモリ回路30に記憶し
ても、しなくてもよい(本実施例では、当該データを棄
てることとしてある)。When the reception of one frame of data is completed and the data is not received correctly (when an error is detected by the CRC check), the number of received data included in the frame is checked and the number of predetermined bytes ( For example, 10
If it is less than or equal to (byte), discard the data. The reason is that it is considered that an error often occurs during continuous flag transmission. Also, the data contained in the frame is a predetermined number of bytes or more (for example, 36 bytes or more when the data of one frame is 64 bytes + 4 bytes, 132 bytes or more when the data of one frame is 256 bytes + 4 bytes) If so, the data is sequentially stored in the image memory circuit 30. If the data does not reach the predetermined number of bytes, it may or may not be stored in the image memory circuit 30 (in this embodiment, the data is discarded).
また、1つのフレームを受信している最中、そのフレー
ム数が予め定められている1フレームのデータ数を越え
た時は、格納すべきテンポラリバッファを切換える操作
を行い、格納終了したデータを画像メモリ回路30へ転送
する。In addition, while receiving one frame, if the number of frames exceeds a predetermined number of data of one frame, the operation of switching the temporary buffer to be stored is performed, and the stored data is displayed as an image. Transfer to the memory circuit 30.
このように、テンポラリバッファにデータを一度格納
し、エラーのないフレームは該当する画像メモリ空間を
転送するほか、エラーのあったフレームであっても所定
バイト数以上であれば、そのデータを対応する画像メモ
リ空間に格納していく。このことにより、最後までエラ
ーフレームが残った場合においても、そのフレームのデ
ータをデコードして再生(可視化)することが可能にな
る。In this way, the data is stored once in the temporary buffer, and the frame having no error is transferred to the corresponding image memory space, and even if there is an error in the frame if the number of bytes is equal to or more than that, the data is handled. Store in the image memory space. As a result, even when the error frame remains to the end, the data of the frame can be decoded and reproduced (visualized).
第3図(A)〜第3図(C)および第4図は、制御回路
36が実行すべき制御手順を示したフローチャートであ
る。ここで、第3図(A)〜(C)はメインルーチンで
あり、第4図は画信号の格納を行うインタラブトルーチ
ンである。3 (A) to 3 (C) and FIG. 4 are control circuits.
36 is a flowchart showing a control procedure to be executed by 36. Here, FIGS. 3A to 3C are main routines, and FIG. 4 is an interacting routine for storing image signals.
ステップS40は“処理開始”を表わしている。Step S40 represents "start of processing".
ステップS42においては、信号線36aに信号レベル「0」
の信号を出力し、電話回線を電話機側に接続する。いわ
ゆる、“CML(Connect Modem to Line)オフ”の状態に
セットする。In step S42, the signal level "0" is applied to the signal line 36a.
Signal is output and the telephone line is connected to the telephone side. The so-called "CML (Connect Modem to Line) off" is set.
ステップS44においては、ファクシミリ受信が選択され
たか否かが判断される。ファクシミリ受信が選択される
と、ステップS48に進む。ファクシミリ受信が選択され
ていないと、ステップS46に進む。In step S44, it is determined whether facsimile reception is selected. When the facsimile reception is selected, the process proceeds to step S48. If the facsimile reception is not selected, the process proceeds to step S46.
ステップS46では、その他の処理を行う。In step S46, other processing is performed.
ステップS48においては、信号線36aに信号レベル「1」
の信号を出力し、電話回線をファクシミリ装置側に接続
(CMLオン)する。In step S48, the signal level "1" is applied to the signal line 36a.
Signal is output and the telephone line is connected to the facsimile machine side (CML on).
ステップS50では、前手順を実行する。In step S50, the pre-procedure is executed.
ステップS52においては、誤り再送モードでの受信が選
択されているか否かが判断される。誤り再送モードでの
受信が選択されている時には、ステップS58に進む。誤
り再送モードでの受信が選択されていない時には、ステ
ップS54に進む。In step S52, it is determined whether or not the reception in the error retransmission mode is selected. When the reception in the error retransmission mode is selected, the process proceeds to step S58. If the reception in the error retransmission mode is not selected, the process proceeds to step S54.
ステップS54では、誤り再送モードによらず画信号の受
信を行う。In step S54, the image signal is received regardless of the error retransmission mode.
ステップS56では、後手順を行う。In step S56, a post procedure is performed.
ステップS58においては、現在のブロックの送信が再送
であるか否かを表わすフラグに「0」をセットする。再
送フラグが「0」の時には、ブロックの伝送が再送でな
いことを表わし、再送フラグが「1」の時には、ブロッ
クの伝送が再送であることを表わす。In step S58, "0" is set to the flag indicating whether or not the transmission of the current block is retransmission. When the retransmission flag is "0", it means that the block transmission is not retransmission, and when the retransmission flag is "1", it means that the block transmission is retransmission.
ステップS60においては、1フレームの受信が終了してC
RCエラーがあった場合、受信したバイト数を格納するた
めに使用するTRANSFERBYTEに「0」をセットする。In step S60, C
If there is an RC error, set TRANSFER BYTE used to store the number of received bytes to "0".
ステップS62においては、1フレームに含まれる受信バ
イト数をカウントするカウンタBYTECOUNTに「0」をセ
ットする。In step S62, "0" is set to the counter BYTECOUNT that counts the number of received bytes included in one frame.
ステップS64においては、受信したデータをどちらのテ
ンポラリバッファに格納するかを表わすフラグTEMPBF1
(テンポラリバッファ・イン)に「0」をセットする。
TEMPBFIが「0」のときには、受信データをテンポラリ
バッファ0に格納し、TEMPBFIが「1」のときには、受
信データをテンポラリバッファ1に格納する。In step S64, a flag TEMPBF1 indicating in which temporary buffer the received data is stored
Set "0" to (temporary buffer in).
When TEMPBFI is "0", the received data is stored in the temporary buffer 0, and when TEMPBFI is "1", the received data is stored in the temporary buffer 1.
テンポラリバッファがフル状態になった時、テンポラリ
バッファに格納されたデータを1ブロック分格納可能な
画像メモリへ転送するが、ステップS66においては、ど
ちらのテンポラリバッファに格納されたデータを画像メ
モリへ転送するかを表わすフラグTEMPBF0(テンポラリ
バッファ・アウト)に「0」をセットする。TEMPBF0が
「0」の時には、テンポラリバッファ0がフルになった
時画像メモリへ転送し、TEMPBFOが1の時にはテンポラ
リバッファ1がフルになった時、画像メモリへ転送す
る。When the temporary buffer becomes full, the data stored in the temporary buffer is transferred to the image memory capable of storing one block. In step S66, the data stored in which temporary buffer is transferred to the image memory. "0" is set in the flag TEMPBF0 (temporary buffer out) indicating whether to perform. When TEMPBF0 is "0", it is transferred to the image memory when the temporary buffer 0 is full, and when TEMPBFO is 1, it is transferred to the image memory when the temporary buffer 1 is full.
ステップS68においては、テンポラリバッファ0がフル
か否か(すなわち、テンポラリバッファにデータが格納
されたか否か)を表わすフラグTEMPBF0FULL(テンポラ
リバッファ0フル)に「0」をセットする。TEMPBF0FUL
Lが「0」の時には、テンポラリバッファ0にデータが
格納されていないことを表わし、TEMPBF0FULLが「1」
の時には、テンポラリバッファ0にデータが格納された
ことを表わす。In step S68, a flag TEMPBF0FULL (temporary buffer 0 full) indicating whether or not temporary buffer 0 is full (that is, whether or not data is stored in the temporary buffer) is set to "0". TEMPBF0FUL
When L is "0", it means that no data is stored in temporary buffer 0, and TEMPBF0FULL is "1".
When it indicates, the data is stored in the temporary buffer 0.
ステップS70においては、テンポラリバッファ1がフル
か否か(すなわち、テンポラリバッファにデータが格納
されたか否か)を表わすフラグTEMPBF1FULL(テンポラ
リバッファ1フル)に「0」をセットする。TEMPBF1FUL
L「0」の時にはテンポラリバッファ1にデータが格納
されていないことを表わし、TEMPBF1FULLが「1」の時
には、テンポラリバッファ1にデータが格納されたこと
を表わす。In step S70, a flag TEMPBF1FULL (temporary buffer 1 full) indicating whether or not temporary buffer 1 is full (that is, whether or not data is stored in the temporary buffer) is set to "0". TEMPBF1FUL
When L is "0", it means that data is not stored in the temporary buffer 1, and when TEMPBF1FULL is "1", it means that data is stored in the temporary buffer 1.
ステップS71においては、MODEMPTRの内容にテンポラリ
バッファ0のスタートアドレスを格納する。In step S71, the start address of temporary buffer 0 is stored in the contents of MODEMPTR.
ステップS72においては、画信号格納インタラプトの飛
先番地として、第4図の飛先番地を設定する。このイン
タラプトは、フレームの終りが検出された時(信号線26
bにパルスが発生した時)、および、1バイトのデータ
が入力された時(信号線26dにパルスが発生した時)に
実行される。In step S72, the jump address of FIG. 4 is set as the jump address of the image signal storing interrupt. This interrupt occurs when the end of frame is detected (signal line 26
This is executed when a pulse is generated in b) and when 1 byte of data is input (when a pulse is generated in the signal line 26d).
ステップS74においては、1ブロックの終りの信号が検
出された時に「1」にセットされるフラグLASTFRMDT
(ラストフレーム・ディテクト)に「0」をセットす
る。In step S74, the flag LASTFRMDT is set to "1" when the signal at the end of one block is detected.
Set "0" in (Last Frame Detect).
ステップS76においては、フラグLASTFRMDTが「0」か否
か(すなわち、1ブロックの終りの信号を検出している
か否か)が判断される。フラグLASTFRMDTが「0」のと
き(すなわち、1ブロックの終りの信号を検出していな
いとき)にはステップS78に進む。また、フラグLASTFRM
DTが「1」のとき(すなわち、1ブロックの終りの信号
を検出しているとき)には、ステップS100に進む。In step S76, it is determined whether the flag LASTFRMDT is "0" (that is, whether the signal at the end of one block is detected). When the flag LASTFRMDT is "0" (that is, when the signal at the end of one block is not detected), the process proceeds to step S78. Also the flag LASTFRM
When DT is "1" (that is, when the signal at the end of one block is detected), the process proceeds to step S100.
ステップS78においては、TEMPBF0が「0」か否か、すな
わち、次にテンポラリバッファ「0」から画像メモリに
転送すべきか否かが判断される。TEMPBF0が「0」のと
き、すなわち、次にテンポラリバッファ0から画像メモ
リに転送する時には、ステップS80に進む。TEMPBF0が
「1」のとき、すなわち、次にテンポラリバッファ1か
ら画像メモリに転送する時には、ステップS94に進む。In step S78, it is determined whether TEMPBF0 is "0", that is, whether the next temporary buffer "0" should be transferred to the image memory. When TEMPBF0 is "0", that is, when data is transferred from the temporary buffer 0 to the image memory next, the process proceeds to step S80. When TEMPBF0 is "1", that is, when data is transferred from the temporary buffer 1 to the image memory next, the process proceeds to step S94.
ステップS80においては、TEMPBF0FULLが「0」か否か、
すなわち、テンポラリバッファ0がフルであるか否かが
判断される。TEMPBF0FULLが「0」のとき、すなわち、
テンポラリバッファ0がフルでない時には、ステップS7
6に進む。TEMPBF0FULLが「1」のとき、すなわち、次に
テンポラリバッファ0がフルの時には、ステップS82に
進む。In step S80, whether TEMPBF0FULL is "0",
That is, it is determined whether the temporary buffer 0 is full. When TEMPBF0FULL is "0", that is,
If the temporary buffer 0 is not full, step S7
Go to 6. When TEMPBF0FULL is "1", that is, when the temporary buffer 0 is next full, the process proceeds to step S82.
ステップS82においては、TEMPBF0FULLに「0」をセット
する。In step S82, TEMPBF0FULL is set to "0".
ステップS84においては、TEMPBF0に「1」をセットす
る。In step S84, TEMPBF0 is set to "1".
ステップS86においては、1フレームの格納が終了した
時点で、CRCエラーがあったか否かが判断される。CRCエ
ラーがあった場合には、ステップS88に進む。CRCエラー
がない場合には、ステップS92に進む。In step S86, it is determined whether or not there is a CRC error when the storage of one frame is completed. If there is a CRC error, the process proceeds to step S88. If there is no CRC error, the process proceeds to step S92.
ステップS88においては、TRANSFERBYTEが所定数以上
(1フレームのデータが64バイトの時には36バイト以
上、また、1フレームのデータが256バイトの時には132
バイト以上)であるか否かが判断される。上記の条件が
満たされている時、すなわち、CRCエラーは発生してい
るが所定バイト数以上のデータを受信している時には、
ステップS90に進む、上記の条件が満たされていない
時、すなわち、CRCエラーが発生し、且つ所定バイト数
以上のデータを受信していない時には、ステップS76に
進む。In step S88, TRANSFER BYTE is a predetermined number or more (36 bytes or more when one frame of data is 64 bytes, 132 bytes when one frame of data is 256 bytes).
Or more bytes). When the above conditions are met, that is, when a CRC error occurs but more than the specified number of bytes of data is received,
When the above condition is not satisfied, that is, when the CRC error occurs and the data of the predetermined number of bytes or more is not received, the process proceeds to step S90.
ステップS90においては、『TRANSFERBYTEのバイト数か
ら、4バイトを引いた分(各フレームにはアドレス,コ
ントロール,FCF,フレーム番号の4バイトが含まれてい
るので4を引く)』をテンポラリバッファに格納された
5バイト目のデータから画像メモリ(画像メモリポイン
タに「1」を加えた番地以降)へ転送する。また、画像
メモリポインタは、最後にデータを格納したアドレスに
セットされる。In step S90, “4 bytes are subtracted from the number of bytes in TRANSFER BYTE (4 is subtracted because each frame contains 4 bytes of address, control, FCF, frame number)” is stored in the temporary buffer. The transferred 5th byte data is transferred to the image memory (the address after adding “1” to the image memory pointer). Also, the image memory pointer is set to the address where the data is stored at the end.
また、再送時には、すなわち再送フラグが「1」のとき
には、画像メモリポインタが1フレームの区切りに達し
た時、画像メモリポインタは次に再送されるデータを格
納する先頭アドレスにセットされ、正しく受信したフレ
ームデータが破壊されないようにする。In addition, at the time of retransmission, that is, when the retransmission flag is “1”, when the image memory pointer reaches the delimiter of one frame, the image memory pointer is set to the head address for storing the data to be retransmitted next, and is correctly received. Prevent the frame data from being destroyed.
ステップS92においては、正しい1フレームのデータが
受信されたのでフレーム番号をチェックし、A,C,FCF,フ
レーム番号の次のデータから、1フレームのデータ数
(64バイトあるいは256バイト:前手順にて決められ
る)を該当する画像メモリ空間へ転送する。ここで、画
像メモリポインタは、最後にデータを格納したアドレス
にセットされる。In step S92, since one correct frame of data has been received, the frame number is checked, and from the data next to A, C, FCF, and frame number, the number of data in one frame (64 bytes or 256 bytes: Determined) is transferred to the corresponding image memory space. Here, the image memory pointer is set to the address where the data is stored at the end.
再送時(再送フラグが「1」のとき)には、画像メモリ
ポインタは、次に再送されるフレームデータを格納する
先頭アドレスにセットされる。At the time of retransmission (when the retransmission flag is “1”), the image memory pointer is set to the head address for storing the frame data to be retransmitted next.
ステップS94においては、TEMPBF1FULLが「0」か否か、
すなわち、テンポラリバッファ1がフルでないか否かが
判断される。TEMPBF1FULLが「0」の時、すなわち、テ
ンポラリバッファ1がフルでない時には、ステップS76
に進む。TEMPBF1FULLが「1」の時、すなわち、テンポ
ラリバッファ1がフルの時には、ステップS96に進む。In step S94, whether TEMPBF1FULL is "0",
That is, it is determined whether the temporary buffer 1 is full. When TEMPBF1FULL is "0", that is, when the temporary buffer 1 is not full, step S76
Proceed to. When TEMPBF1FULL is "1", that is, when the temporary buffer 1 is full, the process proceeds to step S96.
ステップS96においては、TEMPBF1FULLに「0」をセット
する。In step S96, TEMPBF1FULL is set to "0".
ステップS98においては、TEMPBF0に「0」をセットす
る。In step S98, TEMPBF0 is set to "0".
ステップS100においては、エラーフレームが有ったか否
かが判断される。エラーフレームが有ると、ステップS1
02に進む。エラーフレームが無いと、ステップS108に進
む。In step S100, it is determined whether or not there is an error frame. If there is an error frame, step S1
Go to 02. If there is no error frame, the process proceeds to step S108.
ステップS102においては、送信機側へエラーフレームの
再送を指示する信号を送出する。In step S102, a signal instructing the retransmission of the error frame is sent to the transmitter side.
ステップS104においては、4回目の再送指示であるか否
かが判断される。4回目の再送指示でない時には、送信
機側からエラーフレームの再送が行われるので、ステッ
プS110に進む。4回目の再送指示である時には、『送信
機側からいま送ったブロックの再送を行うか、あるい
は、いま送ったブロックの再送を中断して次のブロック
があれば次のブロックの送信を行うか』を示す手順信号
が送られてくるので、ステップS106に進む。In step S104, it is determined whether it is the fourth retransmission instruction. If it is not the fourth retransmission instruction, an error frame is retransmitted from the transmitter side, and the process proceeds to step S110. If it is the 4th retransmission instruction, "Do you want to retransmit the block you have just sent from the transmitter, or if you want to interrupt the retransmission of the block you have just sent and send the next block if there is a next block?" ”Is sent, the process proceeds to step S106.
ステップS106においては、送信機側からいま送ったブロ
ックの再送を行うという指示があったか否かが判断され
る、送信機側からいま送ったブロックの再送を行うとい
う指示があった場合には、応答信号を送出し、ステップ
S108に進む。送信機側から『いま送ったブロックの再送
を中断して次のブロックが有れば次のブロックの送信を
行う』という指示があった場合には、応答信号を送出
し、ステップS112に進む。In step S106, it is determined whether or not there is an instruction from the transmitter side to retransmit the block that has just been sent.If there is an instruction from the transmitter side to retransmit the block that has just been sent, a response is returned. Send signal, step
Proceed to S108. If there is an instruction from the transmitter side that "the retransmission of the block that has just been sent is interrupted and the next block is sent, the next block is sent", a response signal is sent, and the process proceeds to step S112.
ステップS108においては、ステップS104で判断している
再送指示のカウンタをクリアする。In step S108, the retransmission instruction counter determined in step S104 is cleared.
ステップS110においては、再送ブロックデータの格納を
行うため、再送フラグに「1」をセットする。In step S110, since the retransmission block data is stored, the retransmission flag is set to "1".
ステップS112では、画信号の再生(可視化)を行う。In step S112, the image signal is reproduced (visualized).
ステップS114においては、最終ブロックであるか否かが
判断される。最終ブロックである時には、ステップS116
に進む。最終ブロックでない時には、ステップS126に進
む。In step S114, it is determined whether the block is the final block. If it is the final block, step S116
Proceed to. If it is not the final block, the process proceeds to step S126.
ステップS116では、後手順を実行する。In step S116, a post procedure is executed.
ステップS118においては、信号線36aに信号レベル
「0」の信号を出力し、電話回線を電話機側に接続する
(CMLオフ)。In step S118, a signal of signal level "0" is output to the signal line 36a to connect the telephone line to the telephone side (CML off).
ステップS120では、画信号の再生(可視化)を行う。In step S120, the image signal is reproduced (visualized).
ステップS122においては、画信号の再生が終了したか否
かが判断される。画信号の再生が終了すると、ステップ
S42に進む。画信号の再生が終了していないときには、
ステップS120に進む。In step S122, it is determined whether the reproduction of the image signal is completed. When the image signal playback is complete,
Proceed to S42. When the image signal playback is not finished,
It proceeds to step S120.
ステップS124においては、画信号の再生が終了したか否
かが判断される。画信号の再生が終了すると、ステップ
S126に進む。画信号の再生が終了していないときには、
ステップS128に進む。In step S124, it is determined whether the reproduction of the image signal is completed. When the image signal playback is complete,
Proceed to S126. When the image signal playback is not finished,
Proceed to step S128.
ステップS126では、中間手順を行う。In step S126, an intermediate procedure is performed.
ステップS128では、送受信機間の速度調整を行うための
制御を行う。In step S128, control for adjusting the speed between the transmitter and the receiver is performed.
第4図において、ステップS130は、誤り再送モードにお
ける画信号受信のためのインターラブトルーチンの“開
始”を表わしている。In FIG. 4, step S130 represents "start" of the interlabed routine for image signal reception in the error retransmission mode.
ステップS132においては、最終フレームを検出したか否
か、すなわち、信号線26bにパルスが発生したか否かが
判断される。最終フレームを検出した時、すなわち、信
号線26bにパルスが発生した時には、ステップS144に進
む。最終フレームを検出していない時、すなわち、信号
線26bにパルスが発生していない時には、ステップS134
に進む。In step S132, it is determined whether or not the final frame has been detected, that is, whether or not a pulse has occurred on the signal line 26b. When the final frame is detected, that is, when a pulse is generated on the signal line 26b, the process proceeds to step S144. When the final frame is not detected, that is, when no pulse is generated on the signal line 26b, step S134
Proceed to.
ステップS134においては、MODEMPTRが示す番地に1バイ
トのデータを格納する。In step S134, 1-byte data is stored in the address indicated by MODEMPTR.
ステップS136においては、MODEMPTRの内容を1だけイン
クリメントする。In step S136, the content of MODEMPTR is incremented by 1.
ステップS138においては、BYTECOUNTの値を1だけイン
クリメントする。In step S138, the BYTECOUNT value is incremented by 1.
ステップS140においては、BYTECOUNTの値について、1
フレームのデータが64バイトの時は68バイトであるか否
か、また、1フレームのデータが256バイトの時は260バ
イトであるか否かが判断される。上記の条件が成立した
時には、CRCエラーが発生したという設定を行った後、
ステップS150に進む。上記の条件が成立していない時に
は、ステップS142に進む。In step S140, the value of BYTECOUNT is 1
When the data of a frame is 64 bytes, it is determined whether it is 68 bytes, and when the data of one frame is 256 bytes, it is determined whether it is 260 bytes. When the above conditions are met, after setting that a CRC error has occurred,
It proceeds to step S150. When the above conditions are not satisfied, the process proceeds to step S142.
ステップS142はメインルーチンへの戻りを表わしてい
る。Step S142 represents a return to the main routine.
ステップS144においては、1ブロックの終りの信号を検
出したか否かが判断される。1ブロックの終りの信号を
検出すると、ステップS146に進む。1ブロックの終りの
信号を検出していないときには、ステップS150に進む。In step S144, it is determined whether the signal at the end of one block is detected. When the signal at the end of one block is detected, the process proceeds to step S146. When the signal at the end of one block is not detected, the process proceeds to step S150.
ステップS146においては、1ブロックの終りの信号を検
出したのでLASTFRMDTフラグに「1」をセットする。In step S146, since the signal at the end of one block has been detected, the LASTFRMDT flag is set to "1".
ステップS148は、メインルーチンへの戻りを表わしてい
る。Step S148 represents a return to the main routine.
ステップS150においては、TEMPBFIが「0」か否か、す
なわち、テンポラリバッファ0にデータを格納していた
か否かが判断される。TEMPBFIが「0」のとき、すなわ
ち、テンポラリバッファ0にデータを格納していた時に
は、ステップS152に進む。TEMPBFIが「1」のとき、す
なわち、テンポラリバッファ1にデータを格納していた
時には、ステップS158に進む。In step S150, it is determined whether TEMPBFI is "0", that is, whether data is stored in temporary buffer 0 or not. When TEMPBFI is "0", that is, when data is stored in temporary buffer 0, the process proceeds to step S152. When TEMPBFI is "1", that is, when data is stored in the temporary buffer 1, the process proceeds to step S158.
ステップS152においては、今度テンポラリバッファ1に
データを格納するためTEMPBIに「1」をセットする。In step S152, TEMPBI is set to "1" to store the data in the temporary buffer 1 this time.
ステップS154においては、テンポラリバッファ0にデー
タが格納されたのでTEMPBF0FULLに「1」をセットす
る。In step S154, since the data is stored in temporary buffer 0, TEMPBF0FULL is set to "1".
ステップS156においては、今度テンポラリバッファ1に
データを格納するためMODEMPTRにテンポラリバッファ1
のスタートアドレスを格納する。In step S156, the temporary buffer 1 is stored in MODEMPTR to store the data in the temporary buffer 1 next time.
Stores the start address of.
ステップS158においては、今度テンポラリバッファ0に
データを格納するためTEMPBFIに「0」をセットする。In step S158, "0" is set in TEMPBFI to store data in temporary buffer 0 this time.
ステップS160においては、テンポラリバッフア1にデー
タが格納されたのでTEMPBF1FULLに「1」をセットす
る。In step S160, since the data has been stored in the temporary buffer 1, TEMPBF1FULL is set to "1".
ステップS162においては、今度テンポラリバッファ0に
データを格納するためMODEMPTRにテンポラリバッファ0
のスタートアドレスを格納する。In step S162, the temporary buffer 0 is stored in MODEMPTR to store the data in the temporary buffer 0 next time.
Stores the start address of.
ステップS164においては、CRCエラーが有ったか否かが
判断される。CRCエラーがあるときには、ステップS166
に進む。CRCエラーがないときには、ステップS168に進
む。In step S164, it is determined whether or not there is a CRC error. If there is a CRC error, step S166
Proceed to. If there is no CRC error, the process proceeds to step S168.
ステップS166においては、TRANSFERBYTEに、BYTECOUNT
の値を格納する。In step S166, TRANSFER BYTE, BYTECOUNT
Stores the value of.
ステップS168においては、BYTECOUNTに「0」をセット
する。In step S168, BYTECOUNT is set to "0".
ステップS170は、メインルーチンへの戻りを表わしてい
る。Step S170 represents a return to the main routine.
なお、これまで説明したとき実施例では、受信機側の画
像メモリとして、1ブロック分の容量を備えているもの
を用いたが、2ブロック分の容量を備えることも可能で
ある。この場合には、ひとつのブロックデータを格納し
ている時に、もうひとつのブロックからデータを読み出
して記録(可視化)することができる。In the embodiment described above, the image memory on the receiver side has a capacity of one block, but it is also possible to have a capacity of two blocks. In this case, when one block data is stored, the data can be read from another block and recorded (visualized).
また、エラーのないフレームについては、リアルタイム
で記録(可視化)するよう構成することも可能である。It is also possible to record (visualize) a frame having no error in real time.
これら実施例によれば、画情報をHDLCフォーマット化し
て伝送する誤り再送機能付きファクシミリ装置におい
て、エラーフレームが残った場合、受信機側は、当該エ
ラーフレームの情報も該当する記憶空間に記憶して復号
し、正しく受信されたライン情報については受信画像と
して記録(可視化)することが可能になる。According to these embodiments, in the facsimile device with an error resending function for transmitting image information in HDLC format, when an error frame remains, the receiver side also stores the information of the error frame in the corresponding storage space. It becomes possible to record (visualize) the line information which is decoded and correctly received as a received image.
従って、従来は例えそのフレームの中に1ビットのエラ
ーがあった場合においても、そのフレームに含まれるす
べての情報をエラーとして扱っていたが、本実施例によ
れば、エラーフレームに含まれる正しいライン情報を記
録(可視化)することが可能となる。その結果、エラー
フレームに含まれるエラービット数が少ない場合には、
そのフレームに含まれている大部分のライン情報を再生
することが可能になる。Therefore, conventionally, even if there is an error of 1 bit in the frame, all the information included in the frame is treated as an error. However, according to the present embodiment, the correct information included in the error frame is used. It becomes possible to record (visualize) the line information. As a result, if the error frame contains a small number of error bits,
It becomes possible to reproduce most of the line information included in the frame.
[発明の効果] 以上説明したとおり本発明では、エラーフレーム内の画
像情報も正常フレームの画像情報と共に復号し再生する
構成としてあるので、エラーフレーム内の一部の画像情
報に誤りがあった場合にも、そのエラーフレームの正常
な画像情報については適切に再生することが可能とな
る。[Effects of the Invention] As described above, according to the present invention, the image information in the error frame is also decoded and reproduced together with the image information of the normal frame. Therefore, when some image information in the error frame has an error. However, it is possible to properly reproduce the normal image information of the error frame.
第1図は本発明に係る画像情報受信装置の全体構成図、 第2図は本発明を適用したファクシミリ装置の一実施例
を示すブロック図、 第3図(A)〜第3図(C)および第4図は第2図に示
した制御回路36が実行すべき制御手順を示す流れ図であ
る。 2……NCU、4……電話機、6……ハイブリッド回路、
8……読取回路、10……符号化回路、12……メモリ回
路、14……HDLC化回路、16……V27terあるいはV29変調
器、18……V21変調器、20……加算回路、22……V21復調
器、24……V27terあるいはV29の復調器、26……HDLC化
されたデータをもとに戻す回路、28……テンポラリメモ
リ回路、30……画像メモリ回路、32……復号回路、34…
…再生(可視化)回路、36……制御回路。FIG. 1 is an overall configuration diagram of an image information receiving apparatus according to the present invention, FIG. 2 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied, and FIGS. 3 (A) to 3 (C). And FIG. 4 is a flow chart showing a control procedure to be executed by the control circuit 36 shown in FIG. 2 ... NCU, 4 ... phone, 6 ... hybrid circuit,
8 ... reading circuit, 10 ... encoding circuit, 12 ... memory circuit, 14 ... HDLC circuit, 16 ... V27ter or V29 modulator, 18 ... V21 modulator, 20 ... adding circuit, 22 ... V21 demodulator, 24 V27ter or V29 demodulator, 26 circuit for restoring HDLC data, 28 ... temporary memory circuit, 30 ... image memory circuit, 32 ... decoding circuit, 34 ...
… Reproduction (visualization) circuit, 36 …… Control circuit.
Claims (1)
報を受信する受信手段と、 受信したフレームに誤りがあった場合、送信側に対して
誤り再送要求を行う手段と、 受信した画像情報を記憶する記憶手段と、 前記記憶手段に記憶された画像情報を復号する復号手段
と、 前記復号手段により復号された画像情報を再生する再生
手段と、 正常に受信したフレームの画像情報および誤りがあった
フレームの画像情報を前記記憶手段に記憶させる手段と を有することを特徴とする画像情報受信装置。1. A receiving means for receiving a series of image information divided into a plurality of frames, a means for making an error resend request to a transmitting side when the received frame has an error, and the received image information. A storage unit that stores the image information, a decoding unit that decodes the image information stored in the storage unit, a reproduction unit that reproduces the image information decoded by the decoding unit, and an image information and an error of the normally received frame. An image information receiving device, comprising: means for storing the image information of the existing frame in the storage means.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62282032A JPH0797767B2 (en) | 1987-11-10 | 1987-11-10 | Image information receiving device |
| US07/267,541 US5031179A (en) | 1987-11-10 | 1988-11-04 | Data communication apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62282032A JPH0797767B2 (en) | 1987-11-10 | 1987-11-10 | Image information receiving device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01125035A JPH01125035A (en) | 1989-05-17 |
| JPH0797767B2 true JPH0797767B2 (en) | 1995-10-18 |
Family
ID=17647283
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62282032A Expired - Fee Related JPH0797767B2 (en) | 1987-11-10 | 1987-11-10 | Image information receiving device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0797767B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62159539A (en) * | 1986-01-07 | 1987-07-15 | Nec Corp | Data transmission equipment |
-
1987
- 1987-11-10 JP JP62282032A patent/JPH0797767B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01125035A (en) | 1989-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2871704B2 (en) | Image communication method | |
| US4829524A (en) | Data communication apparatus | |
| JP3149271B2 (en) | Image communication device | |
| US5127013A (en) | Data communication system | |
| JPH0671245B2 (en) | Equipment | |
| JPH0797767B2 (en) | Image information receiving device | |
| JP2505832B2 (en) | Data communication device | |
| US5949552A (en) | Image transmission using error retransmission | |
| US5748333A (en) | Image communication apparatus having the function of ECM (error correction mode communication) | |
| JP2749821B2 (en) | Facsimile machine | |
| JP2840250B2 (en) | Facsimile machine | |
| JP3491916B2 (en) | Facsimile machine | |
| JP2637481B2 (en) | Data communication device | |
| JP2641883B2 (en) | Image communication device | |
| JP2568254B2 (en) | Data communication device | |
| JP2598048B2 (en) | Communication device | |
| JP2604188B2 (en) | Facsimile machine | |
| JP2711865B2 (en) | Facsimile machine | |
| JPH0797805B2 (en) | Equipment | |
| JP2510822B2 (en) | Fax machine | |
| JPH0646769B2 (en) | Image communication device | |
| JPS63294071A (en) | Picture transmitter | |
| JPH01125056A (en) | Image communication system | |
| JPH0662207A (en) | Facsimile equipment | |
| JPH06343070A (en) | Communications equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |