JPS6028368A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPS6028368A
JPS6028368A JP58135896A JP13589683A JPS6028368A JP S6028368 A JPS6028368 A JP S6028368A JP 58135896 A JP58135896 A JP 58135896A JP 13589683 A JP13589683 A JP 13589683A JP S6028368 A JPS6028368 A JP S6028368A
Authority
JP
Japan
Prior art keywords
line
image signal
buffer
error
error counter
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.)
Pending
Application number
JP58135896A
Other languages
Japanese (ja)
Inventor
Yoshinori Wada
和田 義典
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP58135896A priority Critical patent/JPS6028368A/en
Publication of JPS6028368A publication Critical patent/JPS6028368A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [技術分野] 本発明は、ファクシミリ装置と画信号蓄積装置との間で
画信号をやりとりするさいのデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data transfer method for exchanging image signals between a facsimile device and an image signal storage device.

[従来技術] 近年、大容量の画像メモリを持った両信号蓄積装置をフ
ァクシミリ装置に付加し、順次回報通信や時刻指定送信
等の種々の機能を実現できる装置が実用されている。
[Prior Art] In recent years, facsimile machines have been put into practical use that are capable of realizing various functions such as sequential report communication and time-specified transmission by adding both signal storage devices with large-capacity image memories to facsimile machines.

このような装置において、ファクシミリ装置と画信号蓄
積装置との間で画信号のやりとりをするには、従来、第
1図に示したダブルバッファ回路を用いていた。
In such devices, a double buffer circuit shown in FIG. 1 has conventionally been used to exchange image signals between the facsimile device and the image signal storage device.

このダブルバッファ回路は、1主走査線分の画信号を記
憶し得る容量(例えば、B4サイズならば2048ビツ
ト、また、A4サイズならば1728ビツト)の2つの
ラインバッファBl、B2を、ファクシミリ装置側と画
信号蓄積装置側でそれぞれ切換回路SWI。
This double buffer circuit uses two line buffers Bl and B2 with a capacity that can store image signals for one main scanning line (for example, 2048 bits for B4 size and 1728 bits for A4 size) for facsimile equipment. switching circuit SWI on the side and the image signal storage device side.

SW2によって切換え、見かけ上のデータ転送速度を速
くしようとするものである。
This is switched by SW2 to increase the apparent data transfer speed.

すなわち、例えばファクシミリ装置から画信号蓄積装置
へ画信号を転送する場合、ファクシミリ装置は切換回路
Sw1を実線で示したように切換えて1ライン分の画信
号をラインバッファB1に記憶し、その旨を画信号蓄積
装置に通知する。
That is, for example, when transferring an image signal from a facsimile device to an image signal storage device, the facsimile device switches the switching circuit Sw1 as shown by the solid line to store the image signal for one line in the line buffer B1, and then sends a message to that effect. Notify the image signal storage device.

これにより、画信号蓄積装置は切換回路Sli+2を破
線のように切換えて画信号を久方し、また、これと同時
に、ファクシミリ装置は切換回路SWIを破線のように
切換えて次のラインの画信号をラインバッファB2に記
憶する。この記憶が終ると、上述と同様にその旨を画信
号蓄積装置に通知する。
As a result, the image signal storage device switches the switching circuit Sli+2 as shown in the broken line to store the image signal for a while, and at the same time, the facsimile machine switches the switching circuit SWI as shown in the broken line to send the image signal for the next line. is stored in line buffer B2. When this storage is completed, the image signal storage device is notified of this in the same manner as described above.

そして、以上を順次繰り返して画信号を画信号蓄積装置
に転送する。
Then, the above steps are repeated in order to transfer the image signal to the image signal storage device.

このようにすれば、一方がバッファに書き込んでいる間
に他方が別のバッファのデータを読み出せるため、見か
け上のデータ転送速度を速くできる。
In this way, while one side is writing to the buffer, the other side can read data from another buffer, thereby increasing the apparent data transfer speed.

ところで、周知のようにファクシミリ装置は画信号を符
号化して伝送しているため、受信信号は1ライン毎もと
の画信号に復元されたのち、画信号蓄積装置に転送され
、また、両信号蓄積装置も画像メモリを有効に使用する
ため、両信号を符号化してデータ圧縮してから画像メモ
リに記憶している。
By the way, as is well known, facsimile machines encode and transmit image signals, so the received signal is restored to the original image signal line by line and then transferred to the image signal storage device, and both signals are In order to effectively use the image memory in the storage device, both signals are encoded and data compressed before being stored in the image memory.

一般に、ファクシミリ装置と画信号蓄積装置の符号化方
法はそれぞれ異なる場合が多く、また、画信号の情報量
は1ライン毎に異なる。したがって、画信号を符号化お
よび復号化する処理に要する時間は、ファクシミリ装置
と画信号蓄積装置では異なり、さらに、同じ装置でも1
ライン毎に異なる。したがって、データ転送速度も1ラ
イン毎に変化する。
Generally, the encoding methods of a facsimile machine and an image signal storage device are often different, and the amount of information of an image signal differs for each line. Therefore, the time required for encoding and decoding image signals differs between facsimile machines and image signal storage devices, and even for the same device, the time required to encode and decode image signals differs.
Different for each line. Therefore, the data transfer rate also changes line by line.

このようなことから、ダブルバッファ回路を用いた従来
のデータ転送方法では、例えば両信号蓄積装置の読み出
し速度がファクシミリ装置の書き込み速度よりも速くな
った場合や、その逆の場合など、両方のデータ転送速度
が異なった場合にはデータ転送速度の速い方の処理が持
たされ、実質的なデータ転送の効率が悪いという問題を
生じていた。
For this reason, in the conventional data transfer method using a double buffer circuit, when the reading speed of both signal storage devices becomes faster than the writing speed of the facsimile device, or vice versa, it is difficult to transfer both data. When the transfer speeds are different, the processing with the faster data transfer speed is assigned, resulting in a problem of poor data transfer efficiency.

[目的] 本発明の目的は、上述の問題を解消し、FIFOバシフ
ァを用いることでデータ転送速度の差を吸収できるデー
タ転送方式を提供することを目的とする。
[Object] An object of the present invention is to solve the above-mentioned problems and provide a data transfer method that can absorb differences in data transfer speed by using a FIFO buffer.

[構成コ 以下、添付図面を参照しながら1本発明の実施例を詳細
に説明する。
[Configuration] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の一実施例に係るファクシミリ装置l
および画信号蓄積装置(以下、単に蓄積装置という)2
を示している。
FIG. 1 shows a facsimile machine l according to an embodiment of the present invention.
and image signal storage device (hereinafter simply referred to as storage device) 2
It shows.

同図において、1aは送信原稿を平面走査して光電変換
し、送信画信号を形成するスキャナ、1bはドツトパタ
ーンを印刷するプリンタおよび1dはスキャナ1aの出
力信号を8ビツトのパラレル信号に変換するとともに符
号圧縮伸張回路1dの出力をシリアル信号に変換してプ
リンタlbに出力するバッファであり、符号圧縮伸張回
路1dはバッファlcおよび管理情報付加回路1gから
加えられるデータを符号化してデータ圧縮しモデム1e
に出力するとともに、モデム1eから加えられる受信デ
ータを復号してデータ伸張しバッファICに出力する。
In the figure, 1a is a scanner that plane-scans a transmission document and photoelectrically converts it to form a transmission image signal, 1b is a printer that prints a dot pattern, and 1d is a scanner that converts the output signal of scanner 1a into an 8-bit parallel signal. It is also a buffer that converts the output of the code compression/expansion circuit 1d into a serial signal and outputs it to the printer lb, and the code compression/expansion circuit 1d encodes and compresses the data added from the buffer lc and the management information addition circuit 1g to the modem. 1e
At the same time, the received data added from the modem 1e is decoded, data is expanded, and the data is output to the buffer IC.

1fは電話回線網等の伝送路網を制御して伝送回線を確
立、切断するための網制御回路、1hは上記したスキャ
ナla、プリンタlb、バッファlc、符号圧縮伸張回
路1d、モデムle、網制御回路1fおよび管理i報付
加回路1gをそれぞれ制御するCPU(中央処理装置)
、11はCPU1hが実行するプログラムを記憶したR
OM (リード・オンリ・メモリ)、1jはCPU1h
のワークエリア等をなすRAM (ランダム・アクセス
・メモリ)および1にはファクシミリ装置1と蓄積装置
2との間のデータ授受をなす外部メモリインターフェー
ス回路である。
1f is a network control circuit for controlling a transmission line network such as a telephone line network to establish and disconnect a transmission line; 1h is the above-mentioned scanner la, printer lb, buffer lc, code compression/expansion circuit 1d, modem le, and network A CPU (central processing unit) that controls the control circuit 1f and the management i-information addition circuit 1g, respectively.
, 11 is R that stores the program executed by the CPU 1h.
OM (read only memory), 1j is CPU1h
A RAM (Random Access Memory) is used as a work area, etc., and 1 is an external memory interface circuit for transmitting and receiving data between the facsimile device 1 and the storage device 2.

また、バッファlc、網制御回路If、管理情報付加回
路1g、CPU1h、ROM1i、RAM1jおよび外
部メモリインターフェース回路1にはシステムパスライ
ンSB)こ接続されており、バッファlc内のデータは
、システムパスラインSBを介し、cpuihにより書
き込み、読み出しがなされる。
In addition, the buffer lc, network control circuit If, management information addition circuit 1g, CPU 1h, ROM 1i, RAM 1j, and external memory interface circuit 1 are connected to the system path line SB), and the data in the buffer lc is connected to the system path line SB). Writing and reading are performed by the cpuih via the SB.

2aは上記した外部メモリインターフェース回路1にと
接続してファクシミリ装置1と蓄積装置2との間のデー
タ授受をなすファクシミリインターフェース回路、 2
bは画像メモリ2cを有効に使用するためにファクシミ
リインターフェース回路2aを介して加わる画像データ
を符号圧縮す条とともに画像メモリ2cに記憶したデー
タを復号伸張してもとの画像データを復元する符号圧縮
伸張回路および2dは時計回路である。
2a is a facsimile interface circuit connected to the external memory interface circuit 1 described above to exchange data between the facsimile device 1 and the storage device 2;
In order to effectively use the image memory 2c, b is code compression for the image data added via the facsimile interface circuit 2a, and code compression for decoding and decompressing the data stored in the image memory 2c to restore the original image data. The decompression circuit and 2d are clock circuits.

2eはファクシミリインターフェース回路2a、符号圧
縮伸張回路2b、画像メモリ2cおよび時計回路2dを
それぞれ制御するcPU、2fはCPU2eが実行する
プログラムを記憶したROM、 2gはCPLI2eの
ワークエリアをなすとともに後述するFIFOバッファ
を形成するためのRAMおよび2hはテンキーやファン
々ジョンキー等からなる入力部である。この入力部2h
の各キーは、蓄積装置2の操作パネル(図示せず)に配
設されている。
2e is a cPU that controls the facsimile interface circuit 2a, code compression/expansion circuit 2b, image memory 2c, and clock circuit 2d, respectively; 2f is a ROM that stores the program executed by the CPU 2e; and 2g is a FIFO that forms the work area of the CPLI 2e and will be described later. The RAM and 2h for forming a buffer are input units consisting of a numeric keypad, fan keys, etc. This input section 2h
Each key is arranged on the operation panel (not shown) of the storage device 2.

また、ファクシミリインターフェース回路2a。Also, a facsimile interface circuit 2a.

符号圧縮伸張回路2b、画像メモリ2c、時計回路2d
Code compression/expansion circuit 2b, image memory 2c, clock circuit 2d
.

CPU2e、ROM2f、RAM2gおよび入力部2h
は内部パスラインIBに接続されていて、これらの要素
間のデータのやりとりは全て内部パスラインIBを介し
てなさ九る。
CPU2e, ROM2f, RAM2g and input section 2h
are connected to the internal path line IB, and all data exchange between these elements is done via the internal path line IB.

第3図は、RAM2gに形成したFIFO(先入れ先出
し)バッファ20を示している。このように、FIFO
バッファ20は32個のラインバッファよりなり、さら
に。
FIG. 3 shows a FIFO (first in, first out) buffer 20 formed in the RAM 2g. In this way, the FIFO
Buffer 20 consists of 32 line buffers, and further.

おのおののラインバッファにはそのラインナンバに対応
してエラーカウンタ22が設けられている。
Each line buffer is provided with an error counter 22 corresponding to its line number.

なお、このFIFOバッファ20におけるラインバッフ
ァの数は、ファクシミリ装置1と蓄積装置2の符号圧縮
伸張回路1d、2bの処理速度、および、処理するデー
タ量によって設定している。また、矢印νPは、後述す
る書込処理において画信号を書き込むラインバッファを
指示する書込ポインタ、矢印RPは、後述する続出処理
において画信号を読み出すラインバッファを指示する読
出ポインタであり、この書込ポインタ1llPおよび読
出ポインタRPは、おのおのが対応するラインバッファ
のRAM2g内におけるアドレス(参照アドレス)を値
として持つ。
The number of line buffers in the FIFO buffer 20 is set depending on the processing speed of the code compression/expansion circuits 1d and 2b of the facsimile device 1 and the storage device 2, and the amount of data to be processed. Further, arrow νP is a write pointer that indicates a line buffer in which an image signal is written in a write process described later, and arrow RP is a read pointer that indicates a line buffer from which an image signal is read in a successive process described later. The input pointer 1llP and the read pointer RP each have an address (reference address) in the RAM 2g of the corresponding line buffer as a value.

以上の構成でファクシミリ装置1が受信信号をもとの画
信号に復元し、この画信号を蓄積装置2に蓄積する場合
を考えると、まずファクシミリ装置1のCPU1hは画
信号の蓄積モードであることを、システムパスラインS
B、外部メモリインターフェースlk、ファクシミリイ
ンターフェース2aおよび内部パスラインIBを介し、
蓄積装置2のCPU2eに通知する。
Considering the case where the facsimile device 1 restores the received signal to the original image signal with the above configuration and stores this image signal in the storage device 2, first, the CPU 1h of the facsimile device 1 must be in the image signal storage mode. , the system path line S
B, via external memory interface lk, facsimile interface 2a and internal path line IB,
The CPU 2e of the storage device 2 is notified.

そして、ファクシミリ装置1が実際に受信を開始すると
、符号圧縮伸張回路1dは1ライン分の受信信号をもと
の画信号に復号し、同時にこの復号した画信号のビット
数が1ライン分のビット数に一致しない場合をラインエ
ラーとして判別してcpuihに通知する。しかして、
 CPU1hは1ライン分の復号処理が終了する毎にラ
インエラーがあったか否かをあられすコマンド情報を画
信号に先立ってCPU2eに転送する。
Then, when the facsimile device 1 actually starts receiving, the code compression/expansion circuit 1d decodes the received signal for one line into the original image signal, and at the same time, the number of bits of the decoded image signal increases to the bits for one line. If the numbers do not match, it is determined as a line error and notified to the CPUIH. However,
Each time the decoding process for one line is completed, the CPU 1h transfers command information indicating whether or not a line error has occurred to the CPU 2e prior to the image signal.

CPU2eは、第4図に示した書込処理により、まずコ
マンド情報の内容から次に送られる画信号がエラーを含
むラインのものであるか否かを判別しく判断101)、
エラーラインである場合は書込ポインタl1lPに対応
するエラーカウンタ22をインクリメン1−する(処理
102)。
Through the write process shown in FIG. 4, the CPU 2e first determines from the contents of the command information whether or not the next image signal to be sent is from a line containing an error (101);
If it is an error line, the error counter 22 corresponding to the write pointer l1lP is incremented by 1 (processing 102).

そして、この後外部メモリインターフェース1におよび
ファクシミリインターフェース2aを介して転送される
画信号を、書込ポインタ讐Pが示すラインバッファに記
憶する(処理103)。
Then, the image signal that is subsequently transferred to the external memory interface 1 and via the facsimile interface 2a is stored in the line buffer indicated by the write pointer P (processing 103).

このようにラインバッファにエラーのあるラインの画信
号を記憶した場合は、書込ポインタvPを移動せず、し
たがって、このラインバッファの記憶内容は、次に転送
されるラインの画信号で書き換えられる。
When the image signal of a line with an error is stored in the line buffer in this way, the write pointer vP is not moved, and therefore the stored contents of this line buffer are rewritten with the image signal of the next line to be transferred. .

また、転送された画信号がエラーラインのものではなく
、判断101の結果がNOの場合、直前のラインがエラ
ーでないときは(判断105の結果がYES)、書込ポ
インタwPに対応するエラーカウンタ22を0にクリア
しく処理2o6)、直前のラインがエラーラインのとき
は(判断105の結果がNo)、処理106をスキップ
する。そして上述と同様に、この後外部メモリインター
フェースlkおよびファクシミリインターフェース2a
を介して転送される画信号を、書込ポインタIjPが示
すラインバッファに記憶しく処理107)、次のライン
に僅えて書込ポインタリPの位置を更新する(処理10
8)。
Furthermore, if the transferred image signal is not from an error line and the result of judgment 101 is NO, and if the immediately preceding line is not an error (result of judgment 105 is YES), the error counter corresponding to the write pointer wP is 22 to 0 (process 2o6), and if the immediately preceding line is an error line (the result of judgment 105 is No), process 106 is skipped. Then, in the same way as described above, after this, the external memory interface lk and the facsimile interface 2a are
The image signal transferred via the line buffer is stored in the line buffer indicated by the write pointer IjP (process 107), and the position of the write pointer P is slightly updated for the next line (process 10).
8).

このように、FIFOバッファ2oへの画信号を書き込
むさい、エラーのあるラインの画信号は次に転送される
ラインの画信号で書き換えられるとともに、エラーカウ
ンタ22には、対応するラインバッファに含まれるエラ
ーラインの数が記憶される。
In this way, when writing the image signal to the FIFO buffer 2o, the image signal of the line with the error is rewritten with the image signal of the next transferred line, and the error counter 22 stores the image signal contained in the corresponding line buffer. The number of error lines is stored.

すなわち、例えばエラーラインが2つ連続したあと正常
なラインの画信号が転送された場合、当該ラインバッフ
ァには最後の正常なラインの画信号が記憶され、このラ
インバッファに対応するエラーカウンタ22には「2」
が記憶される。また、正常なラインが連続する場合、お
のおののラインバッファに対応するエラーカウンタ22
には、「0」が記憶される。
That is, for example, if the image signal of a normal line is transferred after two consecutive error lines, the image signal of the last normal line is stored in the line buffer, and the error counter 22 corresponding to this line buffer is stored. is "2"
is memorized. In addition, when there are consecutive normal lines, the error counter 22 corresponding to each line buffer is
"0" is stored in .

FIFOバッファ20から画信号を読み出すさい、CP
U2eは第5図に示した続出処理を実行する。
When reading the image signal from the FIFO buffer 20, the CP
U2e executes the continuation process shown in FIG.

まず、続出ポインタRPが書込ポインタvPと等しいか
否かを判別する(判断110)。この判断110の結果
がYESの場合は、FIFOバッファ20に読み出すべ
き画信号がない場合なので処理を終える。
First, it is determined whether the successive pointer RP is equal to the write pointer vP (determination 110). If the result of this judgment 110 is YES, there is no image signal to be read out in the FIFO buffer 20, so the process ends.

判断110の結果がNoの場合、読出ポインタRPに対
応するエラーカウンタ22の値を調べ、これが「0」で
あるか否か、すなわち、読み出ポインタRPで示された
ラインバッファにエラーラインが含まれていないかある
いは含まれているかを判別する(判断111)。
If the result of the judgment 110 is No, the value of the error counter 22 corresponding to the read pointer RP is checked to see if it is "0", that is, the line buffer indicated by the read pointer RP contains an error line. It is determined whether the content is not included or included (determination 111).

この判断111の結果がYESの場合はエラーラインが
含まれていない場合なので、読出ポインタRPが示すラ
インバッファの画信号を読み出しく処理112)、続出
ポインタRPを1つ進めて次のラインバッファを指定す
る(処理113)。
If the result of this judgment 111 is YES, it means that no error line is included, so the image signal of the line buffer indicated by the read pointer RP is read out (112), the successive pointer RP is advanced by one, and the next line buffer is read out. Specify (process 113).

判断111の結果がNOの場合はエラーラインがそのエ
ラーカウンタ22の値だけ含まれる場合であり、CPU
2eはこのエラーカウンタ22の値をデクリメントシ(
処理115)、読出ポインタRPを1つ前(ラインナン
バが小さい)に戻して前ラインの画信号を読み出しく処
理116)、エラーラインの画信号を直前のラインの両
信号に置き換える。
If the result of the judgment 111 is NO, it means that the error line contains only the value of the error counter 22, and the CPU
2e decrements the value of this error counter 22 (
Process 115), the read pointer RP is returned to the previous line (line number is small) and the image signal of the previous line is read out. Process 116), the image signal of the error line is replaced with both signals of the immediately previous line.

この場合、処理113を実行して読出ポインタRPを1
つ進めると、これはすなわち再度エラーラインを指定す
ることになる。したがって、判断111の結果がYES
になるまで処理115および116がくり返され、この
ラインバッファより1つラインナンバの小さいラインバ
ッファに記憶された画信号が、エラーラインの数すなわ
ちエラーカウンタ22の値だけ連続して、エラーライン
に代って読み出される。
In this case, process 113 is executed to set the read pointer RP to 1.
If you advance one step further, this means specifying the error line again. Therefore, the result of judgment 111 is YES.
Processes 115 and 116 are repeated until the image signal stored in the line buffer with one line number smaller than this line buffer is continuously stored in the error line by the number of error lines, that is, the value of the error counter 22. It is read out instead.

さて、1ラインの画信号を1回の動作でラインバッファ
に書き込んだり読み出したりすることはできず、CPU
2eはパスラインIBで一度に転送できる量例えば1バ
イト(=8ビット)ごと、ラインバッファに書き込んだ
り読み出したりしている。
Now, it is not possible to write or read one line of image signals to or from the line buffer in one operation, and the CPU
2e writes to and reads from the line buffer the amount that can be transferred at one time by the pass line IB, for example, 1 byte (=8 bits).

すなわち、1ラインが256バイト(= 2048ビツ
ト)の画信号からなっているとすると、256回の書込
サイクルあるいは続出サイクルで1ライン分の両信号の
転送が行なわれることになり、したがって、上述した書
込処理中の処理103,107は256回の書込サイク
ルを実行する処理であり、読出処理中の処理112,1
16は256回の読出サイクルを実行する処理である。
In other words, if one line consists of 256 bytes (=2048 bits) of image signals, both signals for one line will be transferred in 256 write cycles or successive cycles. Processes 103 and 107 during the write process are processes that execute 256 write cycles, and processes 112 and 1 during the read process are processes that execute 256 write cycles.
16 is a process of executing 256 read cycles.

そこで、上述した実施例ではFIFOバッファ20への
書込動作と読出動作を画信号の1バイト毎に交互に行な
うことで、FIFOバッファ20の各ラインバッファ毎
の書込動作と読取動作を同時に実行する並行処理を可能
にしている。
Therefore, in the embodiment described above, the write operation and the read operation to the FIFO buffer 20 are performed alternately for each byte of the image signal, so that the write operation and the read operation for each line buffer of the FIFO buffer 20 are simultaneously executed. This enables parallel processing.

これにより、上述した書込処理と読出処理は並行して実
行され、FIFOバッファ20に1ライン分の画信号を
書き込む速度と、FIFOバッファ20より1ライン分
の画信号を読み出す速度が異なった場合でも、この速度
の差異は1画信号の書込処理および読出処理に何ら影響
を及ぼさず、したがって、ファクシミリ装置1と蓄積装
置2は、最適な状態でデータ転送を行なえる。
As a result, the write processing and read processing described above are executed in parallel, and if the speed at which one line of image signals is written to the FIFO buffer 20 and the speed at which one line of image signals is read from the FIFO buffer 20 are different. However, this difference in speed has no effect on the writing and reading processes of the single image signal, and therefore, the facsimile device 1 and the storage device 2 can perform data transfer in an optimal state.

一方、画像メモリ2cに記憶したデータを符号圧縮伸張
回路2bでもとの画信号に戻し、これをファクシミリイ
ンターフェース2aおよび外部メモリインターフェース
1kを介してファクシミリ装置1に転送する場合、この
場合は1ライン分の画信号にエラーを生じることがない
。したがって、上述した書込処理のうち処理107と1
08だけでFIFOバッファ20への両信号の書き込み
を実現でき、また、読出処理の判断1102判断112
および113でFIFOバッファー20からの画信号の
読み出しを実現できる。
On the other hand, when the data stored in the image memory 2c is restored to the original image signal by the code compression/expansion circuit 2b and transferred to the facsimile device 1 via the facsimile interface 2a and the external memory interface 1k, in this case, one line of data is returned to the original image signal. No errors occur in the image signal. Therefore, among the write processes described above, processes 107 and 1
It is possible to write both signals to the FIFO buffer 20 with only 08, and the read processing judgment 1102 judgment 112
In steps 113 and 113, the image signal can be read out from the FIFO buffer 20.

なお、この場合でも上述と同様にして書込処理と読出処
理は並行して実行される。 −ところで、上述の実施例
では32個のラインバッファテF工FOバッファを構成
したが、これに限ることはなく、条件によっては3個の
ラインバッファでFIFO/<ソファを構成できる。
Note that even in this case, the write process and the read process are executed in parallel in the same manner as described above. - By the way, in the above embodiment, 32 line buffers were configured, but the invention is not limited to this, and depending on the conditions, a FIFO/< sofa can be configured with 3 line buffers.

[効果] 以上説明したように、本発明によればファクシミリ装置
と画信号蓄積装置間のデータ転送を、FIFOハッ′フ
ァを介して行なっているから、ファクシミリ装置と画信
号蓄積装置のおのおののデータ処理速度が異なった場合
でも、画信号の転送を最適な状態で実行できる。また、
FIFOバッファを構成するラインバッファにエラーカ
ウンタを対応させて、エラーラインの数を記憶している
ので、エラーラインに対する画信号の置換が極めて容易
に行なえるという利点を得る。
[Effects] As explained above, according to the present invention, data is transferred between the facsimile device and the image signal storage device via the FIFO buffer, so that the data of each of the facsimile device and the image signal storage device is transferred. Even if the processing speeds are different, image signals can be transferred in an optimal manner. Also,
Since the error counter is associated with the line buffer constituting the FIFO buffer to store the number of error lines, there is an advantage that image signals can be replaced with error lines very easily.

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

第1図はデータ転送方式の従来例を示すブロック図、第
2図は本発明の一実施例に係る装置を例示したブロック
図、第3図はエラーカウンタおよびFIFOバッファを
例示したメモリマツプ図、第4図は書込処理の一例を示
したフローチャート。 第5図は読取処理の一例を示したフローチャートである
。 1・・・ファクシミリ装置、2・・・画信号蓄積装置、
ld、2b・・・符号圧縮伸張回路、lh、2e・・・
CPU (中央処理装置)、li、2f・・・ROM(
リード・オンリ・メモリ)、lj、2g・・・RAM 
(ランダム・アクセス・メモ1月、Ik・・・外部メモ
リインターフェース、2a・・・ファクシミリインター
フェース、2c・・・画像メモリ、20・・・FIFO
(先入れ先出し)バッファ、22・・・エラーカウンタ
。 33 第3図 1 第4図 第5図
FIG. 1 is a block diagram showing a conventional example of a data transfer system, FIG. 2 is a block diagram illustrating a device according to an embodiment of the present invention, FIG. 3 is a memory map diagram illustrating an error counter and a FIFO buffer, and FIG. FIG. 4 is a flowchart showing an example of write processing. FIG. 5 is a flowchart showing an example of the reading process. 1...Facsimile device, 2...Picture signal storage device,
ld, 2b... code compression/expansion circuit, lh, 2e...
CPU (central processing unit), li, 2f...ROM (
read-only memory), lj, 2g...RAM
(Random access memo January, Ik...external memory interface, 2a...facsimile interface, 2c...image memory, 20...FIFO
(First-in, first-out) buffer, 22...Error counter. 33 Figure 3 1 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] (1)画信号を符号化して伝送するファクシミリ装置と
1画信号を符号化して蓄積する画信号蓄積装置間のデー
タ転送方式において、■主走査線分の画信号を記憶しう
るラインバッファを少なくとも3個順序づけて形成した
FIFOバッファと、おのおののラインバッファに対応
して設けたエラーカウンタと、上記FIFOバッファの
画信号書込時には、1主走査線分毎の画信号にエラーが
なければ順次上記各ラインバッファへ書き込む手段と、
エラーがある場合はエラーが無くなるまで同一ラインバ
ッファに繰り返し書き込むとともに、このラインバッフ
ァに対応したエラーカウンタをインクリメントする手段
と、上記FIFOバッファからの両信号読出時には、上
記エラーカウンタの値が0の場合は上記書き込んだ順に
上記各ラインバッファから順次1主走査線分毎の画信号
を読み出す手段と、上記エラーカウンタの値が1以上の
場合はそのエラーカウンタをデクリメントするとともに
このエラーカウンタに対応する上記ラインバッファの直
前の上記ラインバッファの画信号を読み出す手段を備え
たことを特徴とするデータ転送方式。 (2、特許請求の範囲第1項記載において、上記FIF
Oバッファが、循環状に形成されたことを特徴とするデ
ータ転送方式。
(1) In a data transfer method between a facsimile device that encodes and transmits image signals and an image signal storage device that encodes and stores one image signal, at least Three FIFO buffers are formed in sequence, and an error counter is provided corresponding to each line buffer. means for writing to each line buffer;
If there is an error, it repeatedly writes to the same line buffer until the error disappears, and also increments an error counter corresponding to this line buffer, and when reading both signals from the FIFO buffer, if the value of the error counter is 0. means for sequentially reading out image signals for each main scanning line from each of the line buffers in the order in which they were written; and, if the value of the error counter is 1 or more, the error counter is decremented, and the above-mentioned image signal corresponding to this error counter is A data transfer method characterized by comprising means for reading an image signal from the line buffer immediately before the line buffer. (2. In claim 1, the above FIF
A data transfer method characterized in that O buffers are formed in a circular manner.
JP58135896A 1983-07-27 1983-07-27 Data transfer system Pending JPS6028368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58135896A JPS6028368A (en) 1983-07-27 1983-07-27 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58135896A JPS6028368A (en) 1983-07-27 1983-07-27 Data transfer system

Publications (1)

Publication Number Publication Date
JPS6028368A true JPS6028368A (en) 1985-02-13

Family

ID=15162342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58135896A Pending JPS6028368A (en) 1983-07-27 1983-07-27 Data transfer system

Country Status (1)

Country Link
JP (1) JPS6028368A (en)

Similar Documents

Publication Publication Date Title
US20050041606A1 (en) Data communication apparatus, data communication method, data communication program and recording medium in which data communication program was recorded
JPH0828820B2 (en) Image data coding circuit
US5566254A (en) Apparatus for processing multiple images in alternating fashion
JPS6028368A (en) Data transfer system
JPS61281670A (en) Control system for facsimile equipment
JP3410122B2 (en) Double-sided reading compression / expansion method
JP3674644B2 (en) Data generator for printing
JP2549503B2 (en) Facsimile machine
JP3221430B2 (en) Image processing device
JP3449774B2 (en) Voice recording / reproducing apparatus and facsimile apparatus having the same
JP3244793B2 (en) Data communication device
JPH0123987B2 (en)
JP2816371B2 (en) Facsimile coding method
JPH0464232B2 (en)
JP3003602B2 (en) Communication terminal device
JPH07135518A (en) Multimedia communication controller
JPH03155271A (en) Image communication equipment
JP2770011B2 (en) Image transmission device
JP2006309294A (en) Transmitter and receiver
JPS60174574A (en) Communication system of facsimile multiple address device
JPS61227482A (en) Image information reproduction error processing device
JP2002077636A (en) Decoding device, decoding device control method, encoding / decoding device, encoding / decoding device control method, and image processing device
JPS61135275A (en) receiving device
JPH07288631A (en) Image mail device
JPH0310271B2 (en)