JPH073972B2 - Data communication device - Google Patents

Data communication device

Info

Publication number
JPH073972B2
JPH073972B2 JP62301018A JP30101887A JPH073972B2 JP H073972 B2 JPH073972 B2 JP H073972B2 JP 62301018 A JP62301018 A JP 62301018A JP 30101887 A JP30101887 A JP 30101887A JP H073972 B2 JPH073972 B2 JP H073972B2
Authority
JP
Japan
Prior art keywords
signal
data
transmitting
signal line
process proceeds
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
Application number
JP62301018A
Other languages
Japanese (ja)
Other versions
JPH01141434A (en
Inventor
武弘 吉田
進 松崎
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 JP62301018A priority Critical patent/JPH073972B2/en
Priority to US07/267,541 priority patent/US5031179A/en
Publication of JPH01141434A publication Critical patent/JPH01141434A/en
Publication of JPH073972B2 publication Critical patent/JPH073972B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Facsimile Transmission Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ通信装置、特に、誤り再送機能を有す
るデータ通信装置に関するものである。
TECHNICAL FIELD The present invention relates to a data communication device, and more particularly to a data communication device having an error resending function.

〔従来の技術〕[Conventional technology]

従来この種の装置として、例えば画情報をHDLCフオーマ
ツト化して伝送する誤り再送機能を有するフアクシミリ
装置において、送信機側では、符号化した画情報を所定
の長さで区切り、1つのフレームとして、HDLCフオーマ
ツト化して、一度に、複数のフレームを伝送(例えば、
最大256フレームを伝送)する。受信機側では、複数の
フレーム(例えば、最大256フレーム)の受信が終了
後、エラーしたフレームの番号を送信機側へ伝える。送
信機側においては、エラーしたフレームの再送を行う。
受信機側において、エラーフレームがなくなれば、その
旨の情報を送信機に伝え、送信機は次のブロツクの伝送
へ向かう。また、送信機はn回(nは1,2,3…)再送を
行った後においても、まだ、エラーフレームがある場
合、そのフレームの再送を続けるか、あるいは、そのフ
レームの再送を中断し、次のブロックの伝送へ進むかを
決定できる。
Conventionally, as a device of this type, for example, a facsimile device having an error resending function for converting image information into an HDLC format and transmitting the same, the transmitter side divides the encoded image information into a predetermined length, Formatting and transmitting multiple frames at once (for example,
It transmits up to 256 frames). On the receiver side, after receiving a plurality of frames (for example, up to 256 frames), the number of the errored frame is transmitted to the transmitter side. The transmitter side retransmits the erroneous frame.
On the receiver side, when there is no error frame, the information is transmitted to the transmitter, and the transmitter proceeds to the transmission of the next block. Also, even after the transmitter has retransmitted n times (n is 1, 2, 3 ...) If there is still an error frame, the transmitter continues to retransmit the frame or interrupts the retransmission of the frame. , It can be decided whether to proceed to the transmission of the next block.

第3図は、ECM(Error Correction Mode)の手順を示
した図である。
FIG. 3 is a diagram showing a procedure of ECM (Error Correction Mode).

第3図(1)は、エラーフレームのない手順例、第3図
(2)は、エラーフレームのある手順例、第3図(3)
は、複数回、1つのブロツクを再送したが、まだエラー
フレームがあり、そのフレームの再送を続ける手順例、
第3図(4)は複数回、1つのブロツクを再送したが、
まだエラーフレームがあり、そのフレームの再送を中断
し、次のブロツクの伝送へ向かう手順例である。
FIG. 3 (1) is a procedure example without an error frame, FIG. 3 (2) is a procedure example with an error frame, FIG. 3 (3)
Retransmitted one block multiple times, but there are still error frames, example procedure to continue retransmitting that frame,
In Fig. 3 (4), one block was retransmitted multiple times,
This is an example of a procedure in which there is still an error frame, the retransmission of the frame is interrupted, and the transmission of the next block is started.

第3図において、PPS−Q,PPR,EOR−Q,ERR,CTC,CTRは、3
00b/sの信号である。
In Figure 3, PPS-Q, PPR, EOR-Q, ERR, CTC, CTR is 3
This is a 00b / s signal.

まず、PPS(Partial page signal)−Qであるが、こ
れは、部分ページ(partial page)あるいは1ページ
の終了であり、MCFを受信したら、フエーズBあるい
は、フエーズCに戻ることを示す。ここで、QはNULL,M
PS,EOM,EOP,PRI−Qがある。MPS,EOM,EOP,PRI−Qは、
従来のT30と同じ概念を持つ。そして、1ページの最終
の部分ページであることを表わす。NULLは、1ページの
原稿が、複数部分ページに分かれた場合に使用される信
号である。すなわち、1ページの最終でない部分ページ
を表わす。
First, PPS (Partial page signal) -Q, which is the end of a partial page or one page, indicates that when MCF is received, it returns to phase B or phase C. Where Q is NULL, M
There are PS, EOM, EOP and PRI-Q. MPS, EOM, EOP, PRI-Q are
It has the same concept as the conventional T30. Then, it indicates that it is the last partial page of one page. NULL is a signal used when a one-page original is divided into a plurality of partial pages. That is, it represents a non-final partial page of one page.

PPR(Partial page request)は、前回受信したメッ
セージは不完全であったことを表わす信号である。256
ビツトのFIFを有し、このFIFにより、指定されるナンバ
ーのフレームの再送を要求する。
PPR (Partial page request) is a signal indicating that the previously received message was incomplete. 256
It has a bit FIF, and requests the retransmission of the frame of the specified number by this FIF.

EOR(End of retransmission)−Qは、送信側は、前
回送信した部分ページのエラーフレームの再送を終結
し、ERR信号を受信後、次ブロツクを送信することを表
わす信号である。Qは、PPSのQと同様である。
EOR (End of retransmission) -Q is a signal indicating that the transmitting side terminates the retransmission of the error frame of the partial page transmitted last time and transmits the next block after receiving the ERR signal. Q is the same as that of PPS.

ERR(Response for end of retransmission)は、E
OR信号に対する応答信号である。
ERR (Response for end of retransmission) is E
It is a response signal to the OR signal.

CTC(Continue to correct)は、送信側で、前回送っ
たメツセージの訂正を続行したい旨を表わす信号であ
る。CTCは、FIFを有し、伝送スピードを変更することが
できる。
CTC (Continue to correct) is a signal indicating that the sender wants to continue correcting the previously sent message. The CTC has a FIF and can change the transmission speed.

CTR(Response for continue to correct)は、CTC
信号に対する応答信号であり、受信側は、CTC信号に含
まれる内容を受け入れることを表わす。
CTR (Response for continue to correct) is CTC
It is a response signal to the signal, and indicates that the receiving side accepts the content included in the CTC signal.

第3図(2)において、受信機側は、エラーフレームを
検出した時PPRを送信機側に送出する。送信機側は、PPR
信号により、指定されたフレームの再送(高速データ)
を行う。
In FIG. 3 (2), the receiver side sends PPR to the transmitter side when an error frame is detected. PPR on the transmitter side
Retransmission of designated frame by signal (high-speed data)
I do.

一方、第3図(3),(4)において、受信機側は、エ
ラーフレームを検出した時にPPRを送信機側に送出す
る。送信機側は、PPR信号により、指定されたフレーム
の再送(高速データ)を行う場合と、このブロツクの再
送を続行する(CTC)あるいは、このブロツクの再送は
中断し、次ブロツクの伝送を行う(EOR)という手順信
号(300b/sの低速データ)の送出を行う場合がある。す
なわち、受信機は、PPRを送出後、高速データと低速デ
ータの2つを受信できる必要がある。
On the other hand, in FIGS. 3 (3) and 3 (4), the receiver side sends the PPR to the transmitter side when an error frame is detected. The transmitter side retransmits the specified frame (high-speed data) by the PPR signal, and continues the retransmission of this block (CTC), or interrupts the retransmission of this block and transmits the next block. A procedure signal (EOR) (300 b / s low-speed data) may be transmitted. That is, the receiver needs to be able to receive high speed data and low speed data after transmitting the PPR.

〔発明が解決しようとしている問題点〕[Problems that the invention is trying to solve]

しかしながら、回線状況の悪い場合等、低速データと高
速データを誤認する場合があり、通信不成立の確率が高
くなるという大きな欠点がある。
However, there is a big drawback that the low speed data and the high speed data may be erroneously recognized when the line condition is bad and the probability of communication failure increases.

〔問題点を解決するための手段及び作用〕[Means and Actions for Solving Problems]

本発明によれば、誤り再送機能を有し、高速でデータを
送信し、低速で通信手順信号を送信するデータ通信装置
において、第2の送信手段によるエラー再送を続行する
か、それとも次のデータを送信するかを示す信号を送信
するタイミングを、通知手段によって予め受信側に通知
するので、受信側で高速でのデータ受信と、低速での通
信手順信号の切り換えを適切に行なうことができ、手順
上でのエラーを減らすことができる。
According to the present invention, in a data communication device having an error resending function, transmitting data at high speed and transmitting a communication procedure signal at low speed, the error resending by the second sending means is continued or the next data is sent. Since the notification means notifies the reception side in advance of the timing of transmitting a signal indicating whether to transmit, it is possible for the reception side to appropriately perform high-speed data reception and low-speed communication procedure signal switching. You can reduce errors in the procedure.

〔実施例〕〔Example〕

以下図面を参照して本発明の一実施例を詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

初めに本実施例のフアクシミリ装置における誤り再送の
方式について説明する。
First, the method of error retransmission in the facsimile apparatus of this embodiment will be described.

まず、受信機側においては、PPRの受信回数に対するEOR
あるいはCTCの送出を識別する機能を有しているか否か
の情報を、NSF信号にセツトして送信機側へ知らせる。
例えば、NSF信号(非標準機能を示す信号)のFIFの48ビ
ツト目にその情報を割り当てる。NSF信号のFIFの48ビツ
ト目が0の時には、上記の機能を有していなく、NSF信
号のFIFの48ビツト目が1の時には、上記の機能は有し
ている。
First, on the receiver side, the EOR for the number of PPR
Alternatively, the transmitter side is informed of whether or not it has the function of identifying the CTC transmission by setting it in the NSF signal.
For example, the information is assigned to the 48th bit of the FIF of the NSF signal (signal indicating a non-standard function). When the 48th bit of the FIF of the NSF signal is 0, it does not have the above function, and when the 48th bit of the FIF of the NSF signal is 1, it has the above function.

送信機側においては、受信したNSF信号のFIFを解析する
ことにより、受信機が前述した機能を有しているか否か
を判断する。受信機が、前述した機能を有していない場
合は、上述したECMモードによる通信を行う。この場
合、送信機は、NSS信号(非標準機能を設定する為の信
号)のFIFの48ビツトを0に設定したNSS信号を送信し、
前述の機能に基づいた通信は行わないことを受信機に宣
言する。一方、受信機が、前述した機能を有している場
合、前述の機能に基づいた通信を行う。具体的には、送
信機はNSS信号のFIFの48ビツトを1に設定したNSS信号
を送信し、前述の機能に基づいた通信を行うことを受信
機に宣言する。そして、NSS信号のFIFの48ビツト〜56ビ
ツトに何回PPRを受信したらEORあるいはCTCを送信する
かの回数をセツトする。
On the transmitter side, the FIF of the received NSF signal is analyzed to determine whether or not the receiver has the above-mentioned function. When the receiver does not have the above-mentioned function, the communication in the ECM mode described above is performed. In this case, the transmitter sends the NSS signal with the FIF 48 bits of the NSS signal (the signal for setting the non-standard function) set to 0,
Declares to the receiver that communication based on the above functions will not be performed. On the other hand, when the receiver has the above-mentioned function, it performs communication based on the above-mentioned function. Specifically, the transmitter transmits an NSS signal in which the FIF 48 bits of the NSS signal is set to 1, and declares to the receiver that communication based on the above-mentioned function is performed. Then, the number of times the PPR is received at 48 bits to 56 bits of the FIF of the NSS signal before transmitting the EOR or CTC is set.

そして、送信機は、同一ブロツクすなわち、同一パーシ
ヤルページの送信において、NSS信号のFIFの49ビツト目
から56ビツト目で宣言した回路数PPRを受信した時、CTC
あるいはEORの送信を行う。
When the transmitter receives the same block, that is, the number of circuits PPR declared from the 49th bit to the 56th bit of the FIF of the NSS signal in the transmission of the same partial page, the CTC
Alternatively, the EOR is sent.

一方、受信機は、同一ブロツクすなわち、同一パーシヤ
ルページの受信において、NSS信号のFIFの49ビツト目か
ら56ビツト目で、宣言された回数以下のPPRを送出した
時は、低速データ(300b/sのみ)のみの受信へ向かう。
ここで、宣言された回数以下のPPRを送出した時は、高
速データの受信に重さをおくとかいたが、これは、送信
機がPPRを受信できず、PPS−Qを再送する可能性がある
ためである。
On the other hand, when receiving the same block, that is, the same partial page, at the 49th to 56th bits of the FIF of the NSS signal, when the PPR less than the declared number of times is transmitted, low-speed data (300b / s only) to receive only.
Here, when sending PPR less than the declared number of times, it was said that high-speed data reception was weighted, but this is because the transmitter could not receive PPR and could retransmit PPS-Q. Because there is.

以下、図面に示す実施例に基づいて、本実施例を詳細に
説明する。
Hereinafter, the present embodiment will be described in detail based on the embodiment shown in the drawings.

第1図は、本実施例のフアクシミリ装置の構成を示した
ブロツク図である。
FIG. 1 is a block diagram showing the configuration of the facsimile machine of this embodiment.

第1図において、2は電話網をデータ通信等に使用する
ため、その回線の端末に接続して、電話交換網の接続制
御を行ったり、データ通信路への切替えを行ったり、ル
ープ保持を行う網制御装置NCU(Network Control Uni
t)である。信号線2aは、電話回線である。NCU2は信号
線36aの信号を入力し、この信号レベルが「0」であれ
ば、電話回線を電話機側、すなわち、信号線2aを信号線
2bに接続する。また、信号線36aの信号を入力し、この
信号レベルが「1」であれば、電話回線をフアクシミリ
装置側、すなわち、信号線2aを信号線2cに接続する。通
常の状態では、電話回線は、電話機側に接続されてい
る。
In FIG. 1, reference numeral 2 is used for data communication and the like. Therefore, by connecting to the terminal of the line, connection control of the telephone switching network, switching to the data communication path, and loop maintenance are performed. Network control unit NCU (Network Control Uni
t). The signal line 2a is a telephone line. The NCU 2 inputs the signal on the signal line 36a, and if this signal level is "0", the telephone line is on the telephone side, that is, the signal line 2a is the signal line.
Connect to 2b. If the signal on the signal line 36a is input and the signal level is "1", the telephone line is connected to the facsimile machine side, that is, the signal line 2a is connected to the signal line 2c. In a normal state, the telephone line is connected to the telephone side.

4は、電話機である。Reference numeral 4 is a telephone.

6は、送信系の信号と受信系の信号を分離するハイブリ
ツド回路である。すなわち、信号線20aの送信信号は信
号線2cを通り、NCU2を介して、電話回線に送出される。
また、相手側から送られてきた信号は、NCU2を介した
後、信号線2cを通り、信号線6aに出力される。
Reference numeral 6 is a hybrid circuit that separates a transmission system signal and a reception system signal. That is, the transmission signal of the signal line 20a passes through the signal line 2c and is sent to the telephone line through the NCU2.
Further, the signal sent from the other party is output to the signal line 6a after passing through the NCU2, the signal line 2c.

8は、読取回路であり、送信原稿より、主走査方向1ラ
イン分の画信号を順次読み取り、白,黒の2値を表わす
信号列を作成する。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 and black. It is composed of an imaging device such as CCD (charge coupled device) and an optical system. The binarized signal sequence of white and black is output to the signal line 8a.

10は、信号線8aに出力されているデータを入力し、符号
化(MH(モデイフアイドハフマン)符号化あるいはMR
(モデイフアイドリード)符号化)したデータを信号線
10aに出力する回路である。
10 inputs the data output to the signal line 8a, and encodes it (MH (Modify Eyed Huffman) encoding or MR
(Modulated read) coded) signal line
It is a circuit that outputs to 10a.

12は、信号線10aに出力されたデータを記憶するメモリ
回路である。本フアクシミリ装置は、一度に、1つのブ
ロツクとして、複数のフレームを送信後、エラーのあっ
たフレームの再送を行うので、最低、1ブロツク分のメ
モリを有する必要がある。メモリ回路12は、信号線36c
に送信するフレーム番号が出力されている時、そのフレ
ームの情報を信号線12aに出力する。
Reference numeral 12 is a memory circuit that stores the data output to the signal line 10a. Since this facsimile device transmits a plurality of frames as one block at a time and then retransmits a frame having an error, it is necessary to have at least one block of memory. The memory circuit 12 has a signal line 36c.
When the frame number to be transmitted to the terminal is output, the information of the frame is output to the signal line 12a.

14は、信号線12aに出力されている符号化データの前
に、アドレスフイールド,コントロールフイールド,FCF
フイールド,FIFフイールド(今、伝送しているフレーム
番号が格納される)を追加し、その情報をHDLCフオーマ
ツト化した情報を信号線14aに出力する回路である。HDL
Cのフレーミング回路14は、また、信号線36dに信号レベ
ル「1」の信号が出力されている時には、送信機側のフ
ロー制御のためのフラグを信号線14aに出力する。
14 is an address field, a control field, an FCF before the encoded data output to the signal line 12a.
This is a circuit that adds a field and a FIF field (where the frame number currently being transmitted is stored), and outputs the information obtained by HDLC formatting to the signal line 14a. HDL
The C framing circuit 14 also outputs a flag for flow control on the transmitter side to the signal line 14a when the signal of the signal level "1" is output to the signal line 36d.

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 inputs the procedure signal of the signal line 36b,
Modulation is performed and the modulated data is output to the signal line 18a.

20は、信号線16a、信号線18aの信号を入力し、加算した
結果を信号線20aに出力する。
Reference numeral 20 inputs the signals of the signal line 16a and the signal line 18a and outputs the addition result to the signal line 20a.

22は、公知のCCITT勧告V21に基づいた復調を行う復調器
である。復調器22は、信号線6aの信号を入力し、V21復
調を行い、復調データを信号線22aに出力する。
22 is a demodulator that performs demodulation based on the well-known CCITT recommendation V21. The demodulator 22 receives the signal on the signal line 6a, performs V21 demodulation, and outputs the demodulated data to the signal line 22a.

24は、公知のCCITT勧告V27ter(差動位相変調)あるい
は、V29(直交変調)に基づいた復調を行う復調器であ
る。復調器24は、信号線6aの信号を入力し、復調を行
い、復調データを信号線24aに出力する。
A demodulator 24 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化されたデータの0デリケートを行い、HDLCフオーマ
ツト化される前のデータを信号線26aに出力するHDLCの
デフレーミング回路である。
26 inputs the demodulated data output to the signal line 24a,
This is an HDLC deframing circuit that performs 0 delicate of the data converted into C and outputs the data before being converted into the HDLC format to the signal line 26a.

28は、信号線26aに出力される符号化された画情報をフ
レーム単位で、一時的に記憶するテンポラリメモリ回路
である。フレーム単位で正しく受信されたデータは、信
号線28aに出力される。
Reference numeral 28 denotes a temporary memory circuit that temporarily stores the encoded image information output to the signal line 26a in frame units. The data correctly received in frame units is output to the signal line 28a.

30は、信号線28aに出力されたフレームデータを該当す
る画像メモリ空間に格納するが、このための画像メモリ
回路であり、最低1ブロツク分のデータを格納するため
のメモリ空間が必要である。エラーが発生していないフ
レームまでのデータは、順次信号線30aに出力される。
Reference numeral 30 is an image memory circuit for storing the frame data output to the signal line 28a in the corresponding image memory space, and a memory space for storing at least one block of data is required. The data up to the frame in which no error has occurred is sequentially output to the signal line 30a.

32は信号線30aに出力されている復調データを入力し、
復号化(MH(モデイフアイド ハフマン)復号化あるい
はMR(モデイフアイド リード)復号化)したデータを
信号線32aに出力する回路である。
32 inputs the demodulated data output to the signal line 30a,
This is a circuit for outputting the decoded data (MH (Modified Eye Huffman) decoding or MR (Modified Eye Read) decoding) to the signal line 32a.

34は信号線32aに出力されている信号を入力し、順次、
1ライン毎に記録を行う記録回路である。
34 inputs the signal output to the signal line 32a, sequentially,
This is a recording circuit that performs recording for each line.

36は実施例の最初の項で説明を行った制御を主に行う制
御回路である。尚、制御回路36は、マイクロコンピユー
タ及び制御プログラムを格納したリードオンリメモリ
(ROM)、データを一時格納するランダムアクセスメモ
リ(RAM)等のマイクロコンピユータの周辺機器より構
成されている。
Reference numeral 36 is a control circuit that mainly performs the control described in the first section of the embodiment. The control circuit 36 is composed of a peripheral device of a microcomputer such as a read only memory (ROM) storing a microcomputer and a control program and a random access memory (RAM) temporarily storing data.

第2図は第1図の制御回路36の制御動作を示したフロー
チヤート図である。
FIG. 2 is a flow chart showing the control operation of the control circuit 36 shown in FIG.

第2図において、ステツプS40は始めを表わしている。In FIG. 2, step S40 represents the beginning.

ステツプS42においては、信号線36aに信号レベル「0」
の信号を出力し、CMLをオンする。
In step S42, the signal level "0" is applied to the signal line 36a.
The signal of is output and CML is turned on.

そして、ステツプS44において、フアクシミリ送信が選
択されたか否かを判断し、フアクシミリ送信が選択され
ると、ステツプS92に進み、選択されていないと、ステ
ツプS46に進む。
Then, in step S44, it is determined whether or not facsimile transmission is selected. If facsimile transmission is selected, the process proceeds to step S92, and if it is not selected, the process proceeds to step S46.

次にステツプS46において、フアクシミリ受信が選択さ
れたか否かを判断し、フアクシミリ受信が選択されると
ステツプS50に進み、フアクシミリ受信が選択されてい
なければステツプS48で他の処理動作(例えばコピー処
理等)を実行する。
Next, in step S46, it is determined whether or not facsimile reception is selected, and if facsimile reception is selected, the process proceeds to step S50. If facsimile reception is not selected, other processing operations (eg, copy processing, etc.) are performed in step S48. ) Is executed.

ステツプS46でフアクシミリ受信と判断し、ステツプS50
に進むと、まず信号線36aに信号レベル「1」の信号を
出力し、CMLをオフする。
In step S46, it is judged that the fax is received, and in step S50
In step 1, the signal of the signal level "1" is first output to the signal line 36a and the CML is turned off.

そして、ステツプS52でフアクシミリ通信手順の前手順
を行う。ここで、MSF信号のFIFの48ビツト目に、1をセ
ツトし、すなわち、再送回数の最高回数を識別する機能
を有することを送信機に対し、宣言する。
Then, in step S52, the pre-procedure of the facsimile communication procedure is performed. Here, the transmitter is declared to have a function of setting 1 at the 48th bit of the FIF of the MSF signal, that is, having the function of identifying the maximum number of retransmissions.

次にステツプS54において、NSS信号のFIFの48ビツト目
が1であるか、すなわち、送信機は、上述した識別機能
による通信を選択しているか否かを判断し、NSS信号のF
IFの48ビツト目が1であるとステツプS62に進み、0で
あるとステツプS56に進む。
Next, in step S54, the 48th bit of the FIF of the NSS signal is 1, that is, the transmitter determines whether or not the communication by the above-mentioned identification function is selected, and the FSS of the NSS signal is determined.
If the 48th bit of the IF is 1, the process proceeds to step S62, and if it is 0, the process proceeds to step S56.

ステツプS56,ステツプS58,ステツプS60では、上述した
識別機能が選択されていない、前手順,画信号の受信,
後手順を実行する。
In step S56, step S58, step S60, the above-mentioned identification function is not selected, the pre-procedure, the reception of the image signal,
Perform post-procedures.

一方、ステツプS54で上述した識別機能による通信選択
と判断し、ステツプS62に進むと、NSS信号のFIFの49ビ
ツト目から56ビツト目の情報、すなわち、何回PPRを発
信した後にCTC、あるいは、EORが送出されるかの情報を
COUNTERに格納する。
On the other hand, in step S54, if it is determined that the communication is selected by the above-mentioned identification function, and if the process proceeds to step S62, the information of the 49th to 56th bits of the FIF of the NSS signal, that is, CTC after transmitting the PPR, or, Information about whether EOR is sent
Store in COUNTER.

そして、ステツプS64で、フアクシミリ通信手順におけ
る残りの手順を実行する。
Then, in step S64, the remaining procedures in the facsimile communication procedure are executed.

次にステツプS66において、PPRを何回送出したかをカウ
ントするカウンタCHKCOUNTに0をセツトした後、ステツ
プS68において、画信号の受信を行い、ステツプS70で1
ブロツクのデータ受信終了と判断するまで画信号受信を
行う。
Next, at step S66, a counter CHKCOUNT for counting the number of times PPR has been transmitted is set to 0, then at step S68, an image signal is received, and at step S70, 1 is set.
Image signals are received until it is determined that the block data reception is completed.

そして、ステツプS70において1ブロツクのデータ受信
が終了と判断すると、ステツプS72に進み、ステツプS72
において現在受信していたブロツクにエラーフレームが
あるか否かを判断し、エラーフレームがある場合にはス
テツプS80に進み、エラーフレームがない場合にはステ
ツプS74に進む。ステツプS74に進むとMCFを送出し、ス
テツプS76において受信すべき次ブロツクのデータがあ
るか否かを判断する。そして次のブロツクデータがある
場合はステツプS78に進み、次のブロツクデータがない
場合はステツプS66に進む。
When it is determined in step S70 that one block of data has been received, the process proceeds to step S72 and step S72
In step S80, it is determined whether or not there is an error frame in the block currently received. If there is an error frame, the process proceeds to step S80, and if there is no error frame, the process proceeds to step S74. At step S74, the MCF is transmitted, and at step S76, it is judged whether or not there is the next block data to be received. Then, if there is the next block data, the process proceeds to step S78, and if there is no next block data, the process proceeds to step S66.

ステツプS76からステツプS78に進むとモードチエンジが
あるか否かを判断し、モードチエンジがある場合にはス
テツプS52に進み、モードチエンジがない場合には、ス
テツプS66に進む。
When the process proceeds from step S76 to step S78, it is determined whether or not there is a mode change. If there is a mode change, the process proceeds to step S52, and if there is no mode change, the process proceeds to step S66.

ステツプS72でエラーフレーム有りと判断してステツプS
80に進むと、ステツプS80においてPPRの送出を行う。
In step S72, it is determined that there is an error frame and step S
At step 80, the PPR is sent at step S80.

そしてステツプS82において前ステツプでPPRを送出した
のでCHKCOUNTを1つインクリする。
Then, in step S82, since PPR was sent in the previous step, CHKCOUNT is incremented by one.

次にステツプS84においてPPRを送出した回数(CHKCOUN
T)が送信機から宣言された回数(COUNTER)未満か否か
を判断し、再送回送が指定未満の場合はステツプS86に
進み、高速データの受信、すなわち、再送データの受信
にモードセツトを行う。一方ステツプS84で再送回数が
指定回数以上(普通はイコール)の場合は、ステツプS8
8に進んでEORあるいはCTCの受信へ向かい、低速データ
の受信にモードセツトを行う。そしてEORあるいはCTCを
受信すると、ステツプS90でフアクシミリ通信手順の中
間手順を行う。
Next, in step S84, the number of times PPR is sent (CHKCOUN
T) is less than the number of times (COUNTER) declared by the transmitter, and if the retransmission forward is less than the designated number, the process proceeds to step S86, and a mode set is performed to receive high-speed data, that is, to receive the retransmission data. . On the other hand, if the number of retransmissions is greater than or equal to the specified number in step S84 (usually equal), step S8
Proceed to step 8 to receive EOR or CTC, and set the mode to receive low-speed data. When EOR or CTC is received, an intermediate procedure of facsimile communication procedure is performed in step S90.

一方ステツプS44でフアクシミリ送信と判断してステツ
プS92に進むと、ステツプS92において信号線36aに信号
レベル「1」の信号を出力し、CMLをオンし、ステツプS
94においてフアクシミリ通信手順の前手順を行う。
On the other hand, if it is determined in step S44 that the transmission is facsimile transmission and the process proceeds to step S92, the signal of the signal level "1" is output to the signal line 36a in step S92, the CML is turned on, and the step S92 is performed.
At 94, the pre-procedure of the facsimile communication procedure is performed.

そしてステツプS96で前手順で受信したNSF信号のFIFの4
8ビツト目は1か、すなわち、受信機は前述した識別機
能を有しているか否かを判断し、NSF信号のFIFの48ビツ
ト目が1であればステツプS104に進み、0であればステ
ツプS98に進む。
Then, in step S96, the FIF 4 of the NSF signal received in the previous procedure
Whether the 8th bit is 1 or not, that is, the receiver has the above-mentioned discrimination function, is determined. If the 48th bit of the FIF of the NSF signal is 1, the process proceeds to step S104, and if it is 0, the step proceeds to step S104. Proceed to S98.

ステツプS98,ステツプS100,ステツプS102では、上述し
た識別機能が選択されていない前手順、画信号の送信、
後手順を行う。
In step S98, step S100, step S102, the above-mentioned identification function is not selected, the pre-procedure, image signal transmission,
Perform post-procedures.

ステツプS104においては、NSS信号のFIFの48ビツト目に
1をセツト(上述した識別機能のモードでの伝送を行う
ことを受信機に宣言する)し、また49ビット目から56ビ
ツト目にn回、PPRを受信したらCTC,EORを送出するかの
再送回数を格納する。またこの再送回数をステツプS108
においてCOUNTERに格納する。そしてステツプS106で残
りの手順を行う。
In step S104, 1 is set at the 48th bit of the FIF of the NSS signal (declaring to the receiver that transmission in the above-mentioned identification function mode is performed), and n times from the 49th bit to the 56th bit. , PPR is received, the number of retransmissions of whether to send CTC, EOR is stored. In addition, the number of retransmissions is set to step S108.
Store in COUNTER at. Then, the remaining procedure is performed in step S106.

次にステツプS110においてPPRを受信した回数をカウン
トするカウンタCHKCOUNTに0をセツトし、ステツプS112
で画信号の送信を行いステツプS114で1ブロツクのデー
タ送信終了と判断するまで画信号送信を行う。
Next, in step S110, a counter CHKCOUNT for counting the number of times the PPR is received is set to 0, and in step S112
The image signal is transmitted at step S114, and the image signal is transmitted at step S114 until it is determined that the data transmission for one block is completed.

ステツプS114において、1ブロツクのデータの送信が終
了したと判断するとステツプS116に進み、ステツプS116
においてPPS−Qの送出を行う。
If it is determined in step S114 that the transmission of one block of data has been completed, the process proceeds to step S116 and step S116.
The PPS-Q is transmitted at.

そしてステツプS118においてPPRを受信したか、ステツ
プS120においてMCFを受信したかを判断し、PPRを受信す
るとステツプS118からステツプS134に進み、MCFを受信
するとステツプS120からステツプS130に進む。
Then, it is determined whether the PPR is received in step S118 or the MCF is received in step S120. When the PPR is received, the process proceeds from step S118 to step S134, and when the MCF is received, the process proceeds from step S120 to step S130.

又PPRの受信,MFCの受信でなければステツプS130からス
テツプS122に進み、ステツプS122においてフロー制御が
必要であるかを判断し、フロー制御が必要であればステ
ツプS124で必要に応じてフロー制御を行う。
If PPR or MFC is not received, the process proceeds from step S130 to step S122, determines whether flow control is necessary in step S122, and if flow control is necessary, in step S124, perform flow control as necessary. To do.

又、ステツプS122でフロー制御が必要でなければステツ
プS126において、PPS−Qを3回送信したか否かを判断
し、3回送信していればステツプS128に進んでDCNを送
出し、3回送信していなければ、ステツプS116に進む。
If flow control is not required in step S122, it is determined in step S126 whether PPS-Q has been transmitted three times. If it has transmitted three times, the process proceeds to step S128 to send DCN and transmit three times. If not transmitted, the process proceeds to step S116.

一方ステツプS120でMCF受信と判断しステツプS130に進
むと、ステツプS130において、次ブロツクの送信がある
か否かを判断し、次のブロツクの送信がある場合はステ
ツプS132に進み、次ブロツクの送信がない場合は、ステ
ツプS42に戻る。
On the other hand, if it is determined in step S120 that the MCF is received and the process proceeds to step S130, in step S130 it is determined whether or not the next block is transmitted. If the next block is transmitted, the process proceeds to step S132 and the next block is transmitted. If not, the process returns to step S42.

ステツプS130からステツプS132に進むとステツプS132に
おいて、モードチエンジがあるか否かを判断し、モード
チエンジがある場合は、ステツプS94に進み、ない場合
はステツプS110に進む。
When the process proceeds from step S130 to step S132, it is determined in step S132 whether or not there is a mode change. If there is a mode change, the process proceeds to step S94, and if not, the process proceeds to step S110.

一方ステツプS118でPPR受信と判断しステツプS130に進
むと、ステツプS134において、PPR信号の受信を行った
ので、CHKCOUNTを1つインクリメントしステツプS136に
進む。
On the other hand, when it is determined that the PPR signal is received in step S118 and the process proceeds to step S130, since the PPR signal is received in step S134, CHKCOUNT is incremented by 1 and the process proceeds to step S136.

そしてステツプS136に進むと、1つのブロツクに対しPP
Rを受信した再送回数(CHKCOUNTのカウント値)が上述
した識別機能であるところのPPRを何回か受信したらEOR
あるいはCTCを送出するという指定再送回数(COUNTERの
値)未満かを判断する。再送回数が指定再送回数未満の
場合はステツプS136からステツプS112に進み、高速デー
タの再送を行う。また再送回数が指定再送回数以上(通
常はイコール)の場合はステツプS138以降のCTCの送信
あるいはEORの送信へ進む。ステツプS138に進むと今の
ブロツクを再送する必要があるか否かを判断し、再送す
る必要がある場合は、ステツプS140に進んでCTCの送信
を行い、再送する必要がない場合は、ステツプS144に進
んでEORの送信を行う。
Then, when the process proceeds to step S136, PP is applied to one block.
If the number of resends that received R (the count value of CHKCOUNT) is the above-mentioned identification function and the PPR is received several times, EOR
Alternatively, it is determined whether it is less than the specified number of retransmissions (value of COUNTER) of sending CTC. If the number of retransmissions is less than the specified number of retransmissions, the process proceeds from step S136 to step S112 to retransmit high speed data. If the number of retransmissions is equal to or greater than the designated number of retransmissions (normally equal), the process proceeds to CTC transmission or EOR transmission after step S138. When it proceeds to step S138, it is determined whether or not the current block needs to be retransmitted. If it needs to be retransmitted, it proceeds to step S140 to transmit the CTC, and if it does not need to be retransmitted, step S144 is performed. Proceed to and send the EOR.

そしてCTC或いはEOR送信後、夫々ステツプS142,ステツ
プS146でフアクシミリ通信手順の中間手順を行い、ステ
ツプS110に戻る。
After transmitting the CTC or EOR, the intermediate procedure of facsimile communication procedure is performed in step S142 and step S146, respectively, and the process returns to step S110.

尚、上述した実施例では1つのブロツクを何回再送して
もエラーが終結しない時、送信機はこのブロツクの再送
を続行するか、それとも次のブロツクがあれば、そのブ
ロツクの伝送へ移行するかの制御信号(識別信号)を送
信している。
In the above-described embodiment, when the error is not terminated no matter how many times a block is retransmitted, the transmitter continues to retransmit this block or, if there is a next block, shifts to the transmission of that block. The control signal (identification signal) is transmitted.

しかしながら、この回数は、過去の回線状況の分析結果
により、変えてもよい。
However, this number may be changed depending on the analysis result of the past line status.

すなわち、ワンタツチ等の電話番号に対応し、過去の交
信結果を分析し、その結果により、上記の回数を決定す
る。
That is, it corresponds to a telephone number such as One Touch, analyzes the past communication result, and determines the number of times based on the result.

以上説明したように、本実施例によると、受信機はエラ
ーブレームを検出し、PPR信号を送出後、次は、再送の
高速データが到来するか、低速の手順信号が到来するか
を識別できる。このため、従来の様に高速データと低速
データを同時に受信する必要がなくなり、手順上でのエ
ラーは激減するという大きな効果を有する。
As described above, according to the present embodiment, the receiver detects the error blame, and after transmitting the PPR signal, it is possible to identify whether the high-speed data for retransmission or the low-speed procedure signal comes next. . Therefore, it is not necessary to receive high-speed data and low-speed data at the same time as in the conventional case, which has a great effect that the error in the procedure is drastically reduced.

又、上述した実施例ではフアクシミリ装置を例に説明し
たが、本発明はフアクシミリ装置に限られずテレテツク
ス等のデータ通信装置において誤り再送機能を有するも
のであれば全て実施できる。
Further, although the facsimile apparatus is described as an example in the above-described embodiment, the present invention is not limited to the facsimile apparatus, and any data communication apparatus such as a teletex having an error resending function can be implemented.

〔効 果〕[Effect]

以上の様に本発明によって、誤り再送における手順のエ
ラーを少なくすることができ、データの伝送効率を高く
することができる。
As described above, according to the present invention, it is possible to reduce the error in the procedure in error retransmission and increase the data transmission efficiency.

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

第1図は、本実施例のフアクシミリ装置の構成を示した
ブロツク図、 第2図は、第1図の制御回路36の制御動作を示したフロ
ーチヤート図、 第3図はECMモードにおける手順の一例を示した図であ
る。 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 a block diagram showing the configuration of the facsimile machine of this embodiment, FIG. 2 is a flow chart showing the control operation of the control circuit 36 of FIG. 1, and FIG. 3 is a procedure in the ECM mode. It is the figure which showed an example. 2 is NCU, 4 is telephone, 6 is hybrid circuit, 8 is reading circuit, 10 is encoding circuit, 12 is memory circuit, 14 is HDLC framing circuit, 16 is V27ter or V29 modulator, 18 is V21 modulator, 20 is an adder circuit, 22 is a V21 demodulator, 24 is a V27ter or V29 demodulator, 26 is an HDLC deframing circuit, 28 is a temporary memory circuit, 30 is an image memory circuit, 32 is a decoding circuit, 34 is a recording circuit, 36 is a control circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】第1の伝送速度でデータを送信し、前記第
1の伝送速度より遅い第2の伝送速度で通信手順信号を
送信するデータ通信装置において、 前記第1の伝送速度でデータを送信する第1の送信手段
と、 受信側から送られてくる前記第1の送信手段により送信
したデータの再送要求信号を受信する受信手段と、 前記再送要求信号に従って前記第1の伝送速度でデータ
を再送信する再送手段と、 前記再送手段による再送信回数を計数する計数手段と、 前記再送手段により所定回数の再送信を行なった後に、
受信側からの再送要求信号が受信された場合に、再送を
続行するか、それとも次のデータの送信を行なうかを示
す信号を前記第2の伝送速度で送信する第2の送信手段
と、 前記第2の送信手段による信号送信のタイミングを示す
情報を受信側に予め通知する手段を有することを特徴と
するデータ通信装置。
1. A data communication apparatus for transmitting data at a first transmission rate and transmitting a communication procedure signal at a second transmission rate lower than the first transmission rate, wherein the data is transmitted at the first transmission rate. First transmitting means for transmitting, receiving means for receiving a retransmission request signal of the data transmitted by the first transmitting means sent from the receiving side, and data at the first transmission rate according to the retransmission request signal Retransmitting means for retransmitting, a counting means for counting the number of retransmissions by the retransmitting means, and after performing a predetermined number of retransmissions by the retransmission means,
Second transmitting means for transmitting a signal indicating whether to continue the retransmission or to transmit the next data at the second transmission rate when the retransmission request signal from the receiving side is received; A data communication apparatus comprising means for notifying the receiving side in advance of information indicating the timing of signal transmission by the second transmitting means.
【請求項2】前記通信手段は、前記所定回数の情報を通
知することを特徴とする前記特許請求の範囲第1項記載
のデータ通信装置。
2. The data communication device according to claim 1, wherein the communication means notifies the predetermined number of times of information.
JP62301018A 1987-11-10 1987-11-28 Data communication device Expired - Fee Related JPH073972B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62301018A JPH073972B2 (en) 1987-11-28 1987-11-28 Data communication 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
JP62301018A JPH073972B2 (en) 1987-11-28 1987-11-28 Data communication device

Publications (2)

Publication Number Publication Date
JPH01141434A JPH01141434A (en) 1989-06-02
JPH073972B2 true JPH073972B2 (en) 1995-01-18

Family

ID=17891851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62301018A Expired - Fee Related JPH073972B2 (en) 1987-11-10 1987-11-28 Data communication device

Country Status (1)

Country Link
JP (1) JPH073972B2 (en)

Also Published As

Publication number Publication date
JPH01141434A (en) 1989-06-02

Similar Documents

Publication Publication Date Title
JP2871704B2 (en) Image communication method
US5075783A (en) Facsimile apparatus and facsimile communication method
US5438427A (en) Facsimile apparatus with controlled image page transmission after retransmission
US6072597A (en) Communication apparatus
JPH0671245B2 (en) Equipment
JP3531881B2 (en) Facsimile machine
JP2598048B2 (en) Communication device
JPH01141431A (en) facsimile machine
JP2754012B2 (en) Facsimile communication method
JPH0681236B2 (en) Facsimile communication method
JP2637481B2 (en) Data communication device
JP2505832B2 (en) Data communication device
JP2749821B2 (en) Facsimile machine
EP0601767B1 (en) Image communication apparatus having the function of ECM (error correction mode) communication
JP3192446B2 (en) Facsimile apparatus and image data communication method
JP2641883B2 (en) Image communication device
JPH01141434A (en) data communication equipment
JP2840250B2 (en) Facsimile machine
JP2542170B2 (en) Fax machine
JP2744288B2 (en) Data communication method
JPH06343070A (en) Communications equipment
JP2590102B2 (en) Image transmission device
JP3096313B2 (en) Facsimile machine
JPH0773325B2 (en) Facsimile communication method
JPS63294071A (en) Picture transmitter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees