JP2950725B2 - Image communication device - Google Patents

Image communication device

Info

Publication number
JP2950725B2
JP2950725B2 JP6094602A JP9460294A JP2950725B2 JP 2950725 B2 JP2950725 B2 JP 2950725B2 JP 6094602 A JP6094602 A JP 6094602A JP 9460294 A JP9460294 A JP 9460294A JP 2950725 B2 JP2950725 B2 JP 2950725B2
Authority
JP
Japan
Prior art keywords
memory
image data
image
reception
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP6094602A
Other languages
Japanese (ja)
Other versions
JPH07170380A (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 JP6094602A priority Critical patent/JP2950725B2/en
Publication of JPH07170380A publication Critical patent/JPH07170380A/en
Application granted granted Critical
Publication of JP2950725B2 publication Critical patent/JP2950725B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は画像通信装置、特に送信
ないし受信画像データを格納するメモリを有する画像通
信装置に関するものである。 【0002】 【従来の技術】ファクシミリ装置では、送受信する画像
データを記憶する画像メモリを設けた装置が知られてい
る。この画像メモリは、受信画像をバッファして通信速
度と出力速度を整合させる、受信画像を記憶し所定のI
D情報を入力した場合のみ記録出力を許可するようにし
通信の秘密性を確保する、あるいは送信予約された画像
を一時記憶しておくためなど、種々の目的に利用されて
いる。 【0003】 【発明が解決しようとする課題】ところが、コストなど
の問題もあって、このような画像メモリはコンピュータ
システムなどにおいて行なわれているようなマルチタス
ク処理には利用されていない。 【0004】たとえば、受信した原稿を記録しつつ、使
用されていない画像読取部を用いて画像メモリに送信予
約原稿やコピーすべき原稿画像を読み込むなどの処理は
行なわれていない。 【0005】従来装置では、受信中に送信予約を受け付
け、原稿を読取部に搬送しておく程度の単純な多重処理
が可能なだけである。送信予約に関してこのような処理
を行なっても、操作者は予約原稿がいつ抜きとられるか
不安であり、装置の使い勝手はシングルタスクの場合と
同じである。 【0006】受信および記録と、画像の読み込みおよび
記憶など、複数の画像処理を並行して行なうことは考え
られないことではないが、高速なプロセッサと、大容量
のメモリが必要になり、装置の製造コストが著しく増大
する問題がある。 【0007】単数のプロセッサが大量のデータを扱う画
像処理を実行するのは困難であるから、場合によっては
同時に動作する複数のプロセッサが必要になり、装置の
コストはさらに増大する。というのは、ファクシミリ装
置では、送信側がフィルデータなどを付加して処理時間
を調整することができるが、受信側は通信前手順で宣言
した最小伝送時間を守らねばならず、上記のように受信
と送信を並行して行なう場合には受信処理を遅らせるこ
とができないからである。 【0008】本発明の課題は、上述の問題を解決し、簡
単安価な構成により、画像受信および画像データの入力
処理を並行して実行することができる画像通信装置を提
供することにある。 【0009】 【課題を解決するための手段】以上の問題点を解決する
ために、画像データの送信又は受信を行う通信手段と、
前記通信手段により受信した画像データを格納する第1
のメモリと、前記第1のメモリに格納された受信画像デ
ータを出力する出力手段と、前記受信画像データとは異
なる画像データを入力する入力手段と、前記出力手段に
より前記第1のメモリの受信画像データを出力させる受
信画像プログラム、及び前記入力手段による画像データ
の入力処理プログラムを含む複数の処理を実行するため
の制御プログラムを格納した第2のメモリと、前記受信
画像の出力処理プログラムと前記入力処理プログラムを
時分割に実行する制御プロセッサとを備え、前記制御プ
ロセッサが前記第1のメモリの状態に基いて前記出力処
理プログラムと前記入力処理プログラムとを切り換える
構成を採用した。 【0010】 【作用】以上の構成によれば、1つの制御プロセッサに
より、受信した画像データを格納する第1のメモリの状
態に基いて出力処理プログラムと入力処理プログラムと
を切り換えることで、受信画像データの出力と送信用の
画像などの入力処理を並列に行なうことができ、マルチ
プロセッサなどの複雑な制御構成を必要とせず、受信中
に他の送信用などの画像入力を行なう、などの多重処理
が可能となる。 【0011】 【実施例】以下、図面に示す実施例に基づき、本発明を
詳細に説明する。 【0012】図1は本発明を採用したファクシミリ装置
の構成を示している。図において、符号11は装置全体
の動作を制御するCPUで、マイクロプロセッサ素子な
どから構成される。CPU11にはデータおよびアドレ
スバスを介して制御に必要な各記憶手段および、後述の
制御を受ける各部が接続される。以下、これらの各部に
つき説明する。 【0013】ROM12は後述のプログラムおよび制御
に必要な定数を格納するために用いられる。画像メモリ
13はRAM、ハードディスク装置などから構成され、
送受信画像データの一時記憶などに用いられる。 【0014】また、本実施例では、受信画像記憶専用の
受信メモリ14が設けられている。この受信メモリ14
は、画像受信と他の処理、たとえば送信予約原稿の読取
処理を並行に行なうために用いられる。 【0015】原稿画像データの読み取りは、CCDセン
サなどを用いて構成された読取部15により行なわれ
る。また、受信画像データ、あるいはコピー動作時にお
いて読取部15により読み取られた画像データは感熱プ
リンタ、インクジェットプリンタなどから構成された記
録部16により記録される。 【0016】画像データの回線19に対する送受信は通
信部17を介して行なわれる。通信部17は画像信号お
よび手順信号の変復調を行なうモデム、回線制御用の電
話機との間で回線接続制御、あるいはループの保持を行
なうNCUなどから構成される。 【0017】操作部20は装置の所望の動作を行なわせ
る操作入力のために設けられたものである。操作部20
はテンキーなどのキーボードおよび液晶表示器などから
なる表示器により構成される。 【0018】以上の構成は、受信画像専用の受信メモリ
14が設けられている以外、従来の装置と同様である。 【0019】次に以上の構成における動作につき説明す
る。 【0020】受信メモリ14は図2のメモリマップに示
されるような構造を有する。受信メモリ14には下位
(図の上側)アドレス(ないし上位アドレス)からシー
ケンシャルに受信画像データの記憶に用いられる。 【0021】受信画像データはMH(モデファイドハフ
マン)、MR(モデファイドリード)などの符号化方式
で符号化されており、復号される前の段階で受信メモリ
14に順次記憶される。 【0022】また、復号は不図示の復号部、あるいはC
PU11の処理により受信と並行して行なわれる。すな
わち、復号すべき受信データは順次格納した順に受信メ
モリ14から読み出され、復号処理に回される。 【0023】現在の受信データ記憶領域の先端位置は受
信ポインタRPにより示され、復号データのすでに読み
出した領域の先端は復号ポインタDPにより示される。
これらのポインタはレジスタ、メモリなどの一部に設定
される。 【0024】各ポインタは受信、および復号(さらに記
録出力)処理が進むにつれてソフトウエアの制御により
図の下方に移動する。図2の斜線の領域は受信したが、
まだ復号されていない領域である。最低限内容が保証さ
れなければならないメモリ領域はこの斜線部のみであ
り、その他の部分は公知のメモリ管理技術を用いて次の
受信画像の記憶あるいは他の用途に用いることができ
る。復号ポインタDP、受信ポインタRPはメモリの端
部に達すると自動的に確保された領域の先頭に戻る。 【0025】このようなメモリ処理はFIFO(ファス
トインファストアウト:先入れ先出し)処理と呼ばれ
る。 【0026】復号処理の速度が受信処理の速度よりも遅
い場合には、かならずこの領域が生じ、復号ポインタD
P、受信ポインタRPはあるアドレスオフセットをもっ
て移動することになる。ただし、後述のように、復号処
理の速度が受信処理の速度よりも速い場合を考慮して、
復号ポインタDPが受信ポインタRPを追い越してしま
わないような禁止処理が必要である。 【0027】図3は図1のCPU11が行なう制御手順
を示したもので、図示した手順はROM12に格納され
る。 【0028】図3の上部に示されるように、受信データ
の復号、出力処理と送信原稿の蓄積処理は並行して行な
えるようになっている。この並行処理は、コンピュータ
技術の分野で周知のように、図の下部に示したタスクコ
ントロールルーチンにより制御される。したがって、C
PU11にはこのように並行に複数の処理を充分実行で
きるプロセッサを用いなければならない。現在では、比
較的安価にこの種のマイクロプロセッサチップを入手で
きる。 【0029】まず、受信データの復号、出力処理から説
明する。 【0030】受信データの復号、出力処理は回線19か
ら送信される呼び出し信号などの検出に基づき開始され
る。受信した画像データは通信制御部17で復調され、
符号化データのまま公知の手順(不図示)に従って順次
受信メモリ14に蓄積される。復号処理はステップS1
〜S3のループで行なわれる。 【0031】ステップS1では、受信メモリ14から所
定バイト単位で受信した復号データが読み出される。ス
テップS2では読み出したデータを復号化する。また復
号ポインタDPを所定オフセットだけ歩進させる。 【0032】ステップS3では1ラインのデータが終了
したか、すなわちG3手順などにおけるEOLコードを
読み出したかどうかが判定され、このステップS3が肯
定された場合には、ステップS4に移行する。ステップ
S4が否定された場合には、ステップS1にループす
る。 【0033】ステップS4では、上記ループにより復号
された1ラインのデータを記録部16で記録させる。 【0034】受信データの復号、出力処理は以上の1ラ
インの処理タスクを図の下部のタスクコントロールソフ
トウエアにより繰り返し実行することにより行なわれ
る。 【0035】一方、図の右上の原稿画像の蓄積処理で
は、まずステップS11において読取部15に装填され
た原稿画像を読み取らせ、出力データをステップS11
において取り込み、ステップS12で符号化する。 【0036】ステップS13では符号化データを画像メ
モリ13に記憶する。 【0037】以上の処理はステップS14で読取部15
が1ラインのデータを読み取ったことが確認されるまで
続けられる。 【0038】以上のように、画像蓄積処理も1ライン分
のタスクにより構成されている。 【0039】タスクコントロールソフトウエアは上記の
2つの処理を並行に動作させる場合、図の下部に示した
手順を踏む。 【0040】まず、ステップS22では復号ポインタD
Pと受信ポインタRPの現在値を取り込み、メモリの残
量(図2の破線以外の領域)を算出する。 【0041】ステップS23ではその残量が所定値Vよ
りも大きいかどうかを判定する。この所定値Vはシステ
ムにより異なるが、原稿蓄積の1ライン処理時間と伝送
速度、および1ラインの復号、出力処理時間によりおよ
そ決定される。ステップS23が否定された場合には、
ステップS24に移行し、肯定された場合にはステップ
S25に移行する。 【0042】ステップS24ではステップS1〜S4ま
での受信データの復号、出力タスクを実行し、ステップ
S25ではステップS11〜S14の蓄積タスクを実行
し、ステップS26で、ステップS24と同様の受信デ
ータの復号、出力タスクを実行して、ステップS22に
戻る。すなわち、受信メモリ14の残量が充分でない場
合には、ステップS11〜S14の画像メモリ13への
原稿の蓄積処理等を一時停止させ、ステップS1〜S4
の受信データの復号、出力処理を行なわせる(ステップ
S24)。 【0043】受信メモリ14の残量が充分あれば、デー
タ受信および受信メモリ14への蓄積処理を自動的に行
なわせ、復号を行なわず復号ポインタDPを停止させた
ままで受信ポインタRPを更新させ、その間に原稿蓄積
処理を行ない、その後、受信データの復号、出力処理を
行なわせる(ステップS25、S26)。 【0044】以上のように、受信専用のメモリを設け、
その残量に応じて原稿蓄積処理を行なうことで、1つの
プロセッサによるCPU11を用いて受信および送信の
ための画像蓄積処理を行なえる。この構成によれば、プ
ロセッサなどハードウエアを増大させず、ソフトウエア
およびメモリの増設のみにより簡単安価に送受信の並行
処理を実現できる。 【0045】以上の構成では、受信時に並行して送信画
像を読み取る処理を例示したが、受信と並行して行なわ
れる処理はこれに限定されない。例えば受信と並行して
記録部16でコピーすべき画像の読み取りを行なうこと
が考えられる。また、通信制御部17に複数の回線を収
容し、一方の回線で受信を行なうとともに他方の回線で
読み取った画像データを送信することもできる。 【0046】なお、上記実施例において、受信ないし原
稿画像の蓄積処理の一方のみが行なわれる場合には図3
の上部の一方の処理のみが実行されるのはいうまでもな
い。 【0047】以上の上述の実施例では、図3に記すよう
にタスクコントロールプログラムが、各復号出力と、原
稿蓄積の処理プログラムの1ラインごとを制御すること
になっているが、以下に他の実施例を説明する。他の実
施例では図4に示すプログラマブルタイマー21を設
け、この出力信号を割込み信号として図5に示すタスク
割込み処理のプログラムを実行させると、1ライン、1
ページの単位で復号出力や原稿蓄積処理を終了させるこ
となく、交互に並行に処理ができる。 【0048】このプログラマブルタイマーは現在では、
CPU内蔵となっているものが多く、ハードウエアを複
雑化することがない。図4においてその他の構成は図1
と同じである。 【0049】図5の処理フローチャートについて説明す
る。復号出力および原稿蓄積の処理は、図3と同様であ
るが、割込みにより各タスクは自動的に切り換わるの
で、1ランごとに終了させる必要はない。 【0050】すなわち、復号出力のステップS102で
データ復号化を行なった時、タスク割込みが発生する
と、ステップS121からステップS122に入り、次
の起動タスクとして、原稿蓄積側となり、ステップS1
27にて、受信メモリ残量が所定量より少ないと、余裕
なしと判断し、ステップS129に進み、プログラマブ
ルタイマー21の設定を3msとし、ステップS126
で原稿蓄積のタスク起動をセット(従来からの周知技術
であるところのスタックエリアの処理を行ない、ステッ
プS130のリターン命令で指定タスク側に戻る)す
る。このタイマー値を3msにしたことで、原稿蓄積側
の処理は仮に、ステップS112でタスク割り込みが発
生したとするとステップS113より3ms間実行さ
れ、再びタスク割込みが発生してステップS121に強
制的に飛ぶ。 【0051】次の起動タスクは復号出力側となるのでス
テップS123に進みメモリ残量が所定量より少ない場
合は、余裕なしとし、ステップS125にてタイマー値
を10msに設定し、以下ステップS126、S130
へ進んで復号出力処理をステップS103より10ms
間実行する。 【0052】次にタスク割り込みが発生すると、次の起
動タスクは原稿蓄積側となりステップS127で、メモ
リ残量が所定量より多ければ、余裕ありとし、標準実行
時間の5msをプログラマブルタイマーに設定する。ス
テップS124を実行するときも、同様である。 【0053】このように、メモリ残量の抽出により、そ
の量が所定量より多いか少ないかで、受信の余裕度を判
断し、プログラマブルタイマーの値を切り換え、実行時
間を制御することにより、プログラムの制御、設計が容
易に、かつ円滑な動作が得られる。 【0054】以上の各実施例において、受信メモリと画
像メモリを2つ設けているが、1つのメモリ素子に受信
用と画像用のメモリ空間を割り当てて使用することも勿
論可能である。 【0055】以上の構成はファクシミリ装置に限定され
ず、種々の画像通信装置に適用できる。 【0056】 【発明の効果】以上から明らかなように、本発明によれ
ば、1つの制御プロセッサにより、受信した画像データ
を格納する第1のメモリの状態に基いて出力処理プログ
ラムと入力処理プログラムとを切り換えることで、受信
画像データの出力と送信用の画像などの入力処理を並列
に行なうことができ、マルチプロセッサなどの複雑な制
御構成を必要とせず、受信中に他の送信用などの画像入
力を行なうなどの多重処理が可能となり、簡単安価に送
受信処理を並行して実行することができるという優れた
効果がある。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image communication apparatus, and more particularly to an image communication apparatus having a memory for storing transmitted or received image data. 2. Description of the Related Art As a facsimile apparatus, there is known an apparatus provided with an image memory for storing image data to be transmitted and received. The image memory stores the received image and stores the received image in a predetermined I / O mode.
It is used for various purposes, such as permitting recording and output only when D information is input, ensuring the confidentiality of communication, and temporarily storing images reserved for transmission. However, due to problems such as cost, such an image memory is not used for multitask processing as performed in a computer system or the like. For example, while a received document is being recorded, a process of reading a transmission reservation document or a document image to be copied into an image memory using an unused image reading unit is not performed. In the conventional apparatus, only a simple multiplexing process that accepts a transmission reservation during reception and conveys a document to a reading unit is possible. Even if such processing is performed for the transmission reservation, the operator is uneasy when the reserved document is to be removed, and the usability of the apparatus is the same as in the case of the single task. Although it is not inconceivable that a plurality of image processes such as reception and recording and image reading and storage are performed in parallel, a high-speed processor and a large-capacity memory are required. There is a problem that the manufacturing cost is significantly increased. Since it is difficult for a single processor to execute image processing for handling a large amount of data, a plurality of processors operating at the same time may be required, and the cost of the apparatus is further increased. This is because, in a facsimile machine, the transmitting side can adjust the processing time by adding fill data and the like, but the receiving side must adhere to the minimum transmission time declared in the pre-communication procedure, and as described above, This is because if the transmission is performed in parallel, the reception process cannot be delayed. An object of the present invention is to provide an image communication apparatus which solves the above-mentioned problems and which can execute image reception and image data input processing in parallel with a simple and inexpensive configuration. [0009] In order to solve the above problems, a communication means for transmitting or receiving image data;
A first storing image data received by the communication means;
Memory, output means for outputting the received image data stored in the first memory, input means for inputting image data different from the received image data, and reception of the first memory by the output means A second memory storing a received image program for outputting image data, and a control program for executing a plurality of processes including an image data input processing program by the input means, the received image output processing program, and a control processor for executing the time division input processing program, the control-flop
A processor for controlling the output processing based on a state of the first memory;
A configuration is adopted in which the control program is switched between the control program and the input processing program . According to the above arrangement, the state of the first memory for storing the received image data is controlled by one control processor.
Output processing program and input processing program
By switching the input and output of received image data and input processing of images for transmission, etc. can be performed in parallel, there is no need for a complicated control configuration such as a multiprocessor, and other images for transmission etc. are received during reception. Multiple processing such as inputting can be performed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. FIG. 1 shows the configuration of a facsimile apparatus employing the present invention. In the figure, reference numeral 11 denotes a CPU for controlling the operation of the entire apparatus, which is constituted by a microprocessor element or the like. The CPU 11 is connected with various storage means necessary for control via a data and address bus, and with various units to be controlled later. Hereinafter, these components will be described. The ROM 12 is used to store programs and constants necessary for control described later. The image memory 13 includes a RAM, a hard disk device, and the like.
Used for temporary storage of transmission / reception image data. In this embodiment, a receiving memory 14 dedicated to storing received images is provided. This reception memory 14
Is used to perform image reception and other processing in parallel, for example, reading processing of a transmission reservation original. The reading of the original image data is performed by a reading unit 15 configured using a CCD sensor or the like. The received image data or the image data read by the reading unit 15 during the copying operation is recorded by the recording unit 16 including a thermal printer, an ink jet printer, or the like. Transmission and reception of image data to and from the line 19 are performed via the communication unit 17. The communication unit 17 includes a modem for modulating and demodulating image signals and procedure signals, an NCU for controlling line connection with a telephone for line control, or holding a loop. The operation unit 20 is provided for inputting an operation for performing a desired operation of the apparatus. Operation unit 20
Is composed of a keyboard such as a numeric keypad and a display such as a liquid crystal display. The above configuration is the same as that of the conventional apparatus except that the reception memory 14 dedicated to the reception image is provided. Next, the operation of the above configuration will be described. The receiving memory 14 has a structure as shown in the memory map of FIG. The reception memory 14 is used for storing received image data sequentially from a lower (upper side in the figure) address (or upper address). The received image data is encoded by an encoding method such as MH (Modified Huffman) and MR (Modified Read), and is sequentially stored in the reception memory 14 before decoding. The decoding is performed by a decoding unit (not shown) or C
The processing is performed by the PU 11 in parallel with the reception. That is, the reception data to be decoded is read out from the reception memory 14 in the order in which they are sequentially stored, and sent to the decoding process. The current position of the leading end of the received data storage area is indicated by the receiving pointer RP, and the leading end of the already read area of the decoded data is indicated by the decoding pointer DP.
These pointers are set in some registers, memories, and the like. Each pointer moves downward in the figure under the control of software as the receiving and decoding (and further recording and outputting) processes proceed. Although the shaded area in FIG. 2 was received,
This is the area that has not been decoded yet. The only memory area whose contents must be guaranteed is the hatched part, and the other part can be used for storage of the next received image or other uses by using a known memory management technique. When the decoding pointer DP and the receiving pointer RP reach the end of the memory, they return to the head of the automatically secured area. Such a memory process is called a FIFO (fast-in, first-out) process. When the speed of the decoding process is lower than the speed of the receiving process, this area always occurs, and the decoding pointer D
P and the reception pointer RP move with a certain address offset. However, as described later, in consideration of a case where the speed of the decoding process is faster than the speed of the receiving process,
Prohibition processing is required to prevent the decryption pointer DP from overtaking the reception pointer RP. FIG. 3 shows a control procedure performed by the CPU 11 of FIG. 1. The illustrated procedure is stored in the ROM 12. As shown in the upper part of FIG. 3, the decoding and output processing of the received data and the storage processing of the transmission original can be performed in parallel. This parallel processing is controlled by a task control routine shown at the bottom of the figure, as is well known in the field of computer technology. Therefore, C
As described above, a processor capable of sufficiently executing a plurality of processes in parallel must be used for the PU 11. At present, microprocessor chips of this kind are available at relatively low cost. First, decoding and output processing of received data will be described. The decoding and output processing of the received data is started based on detection of a call signal transmitted from the line 19 and the like. The received image data is demodulated by the communication control unit 17,
The encoded data is sequentially stored in the reception memory 14 in accordance with a known procedure (not shown). The decryption process is step S1
SS3 is performed in a loop. In step S1, decoded data received in a predetermined byte unit is read from the reception memory 14. In step S2, the read data is decrypted. Further, the decoding pointer DP is advanced by a predetermined offset. In step S3, it is determined whether one line of data has been completed, that is, whether the EOL code has been read in the G3 procedure or the like. If the result of step S3 is affirmative, the process proceeds to step S4. If step S4 is denied, the process loops to step S1. In step S4, the recording unit 16 records one line of data decoded by the above loop. The decoding and output processing of the received data is performed by repeatedly executing the processing task of one line by the task control software shown in the lower part of the figure. On the other hand, in the process of accumulating the original image at the upper right of the figure, the original image loaded in the reading unit 15 is read in step S11, and the output data is stored in step S11.
And coded in step S12. In step S13, the encoded data is stored in the image memory 13. The above processing is performed at step S14 by the reading unit 15
Is continued until it is confirmed that one line of data has been read. As described above, the image storage processing is also constituted by the task for one line. When the task control software operates the above two processes in parallel, it follows the procedure shown at the bottom of the figure. First, in step S22, the decryption pointer D
The current value of P and the reception pointer RP is taken in, and the remaining amount of memory (the area other than the broken line in FIG. 2) is calculated. In step S23, it is determined whether the remaining amount is larger than a predetermined value V. The predetermined value V varies depending on the system, but is roughly determined by the processing time and transmission speed of one line for document storage, and the processing time for decoding and outputting one line. If step S23 is denied,
The process proceeds to step S24, and if affirmative, the process proceeds to step S25. In step S24, the received data decoding and output tasks of steps S1 to S4 are executed. In step S25, the accumulation task of steps S11 to S14 is executed. In step S26, the received data decoding similar to step S24 is executed. , Execute the output task, and return to step S22. That is, when the remaining amount of the reception memory 14 is not sufficient, the processing of accumulating the document in the image memory 13 in steps S11 to S14 is temporarily stopped, and the processing in steps S1 to S4
The received data is decoded and output (step S24). If the remaining amount of the reception memory 14 is sufficient, the data reception and accumulation processing in the reception memory 14 are automatically performed, and the reception pointer RP is updated without decoding and the decoding pointer DP is stopped. In the meantime, the document storage process is performed, and thereafter, the received data is decoded and output (steps S25 and S26). As described above, the reception-only memory is provided,
By performing the document accumulation processing according to the remaining amount, the image accumulation processing for reception and transmission can be performed using the CPU 11 by one processor. According to this configuration, parallel processing of transmission and reception can be realized simply and inexpensively only by adding software and memory without increasing hardware such as a processor. In the above configuration, the process of reading the transmission image in parallel with the reception is illustrated, but the process performed in parallel with the reception is not limited to this. For example, it is conceivable that the recording unit 16 reads an image to be copied in parallel with the reception. In addition, a plurality of lines can be accommodated in the communication control unit 17 so that one line can receive the image data and the other line can transmit the read image data. In the above-described embodiment, if only one of the reception and the storage processing of the original image is performed, the processing shown in FIG.
Needless to say, only one of the processes at the top of is performed. In the above-described embodiment, as shown in FIG. 3, the task control program controls each decryption output and each line of the original storage processing program. An embodiment will be described. In another embodiment, the programmable timer 21 shown in FIG. 4 is provided, and when this output signal is used as an interrupt signal to execute the task interrupt processing program shown in FIG.
Processing can be alternately performed in parallel without terminating the decoding output and the document storage processing in units of pages. This programmable timer is currently
Many have a built-in CPU, which does not complicate the hardware. 4 is the same as FIG.
Is the same as The processing flowchart of FIG. 5 will be described. The processes of decryption output and document storage are the same as those in FIG. 3, but each task is automatically switched by an interrupt, so that it is not necessary to terminate each task. That is, when data interruption is performed in step S102 of the decryption output and a task interrupt occurs, the process proceeds from step S121 to step S122, where the next start task is the document storage side, and step S1 is executed.
At 27, if the remaining amount of the receiving memory is smaller than the predetermined amount, it is determined that there is no room, the process proceeds to step S129, the setting of the programmable timer 21 is set to 3 ms, and the process proceeds to step S126.
To set a task start for document storage (processing of a stack area, which is a conventional well-known technique, and returning to the designated task side by a return instruction in step S130). By setting this timer value to 3 ms, if a task interrupt occurs at step S112, the process on the document storage side is executed for 3 ms from step S113, and a task interrupt occurs again and the process is forcibly jumped to step S121. . Since the next activation task is the decoding output side, the process proceeds to step S123, and if the remaining memory is smaller than the predetermined amount, it is determined that there is no allowance, the timer value is set to 10 ms in step S125, and the following steps S126 and S130
Proceed to and perform the decoding output process for 10 ms from step S103.
Run for a while. Next, when a task interrupt occurs, the next task to be started is the document storage side. In step S127, if the remaining memory is larger than a predetermined amount, it is determined that there is a margin, and the standard execution time of 5 ms is set in the programmable timer. The same applies when executing step S124. As described above, by extracting the remaining amount of memory, it is determined whether the amount of reception is larger or smaller than a predetermined amount, and the value of the programmable timer is switched to control the execution time. Control and design are easy and smooth operation is obtained. In each of the above embodiments, two reception memories and two image memories are provided. However, it is of course possible to allocate a memory space for reception and an image to one memory element and use them. The above configuration is not limited to a facsimile machine but can be applied to various image communication devices. As is clear from the above, according to the present invention, the image data received by one control processor
Output processing program based on the state of the first memory for storing the
By switching between the RAM and the input processing program , output of received image data and input processing of images for transmission can be performed in parallel, and a complicated control configuration such as a multiprocessor is not required. This makes it possible to perform multiplexing processing such as inputting an image for transmission and the like, and has an excellent effect that transmission / reception processing can be executed in parallel easily and inexpensively.

【図面の簡単な説明】 【図1】本発明を採用した画像通信装置の構造を示した
ブロック図である。 【図2】図1の受信メモリのメモリ領域を示した説明図
である。 【図3】図1のCPUの処理を示したフローチャート図
である。 【図4】画像通信装置の他の実施例を示したブロック図
である。 【図5】図4のCPUの処理を示したフローチャート図
である。 【符号の説明】 11 CPU 12 ROM 13 画像メモリ 14 受信メモリ 15 読取部 16 記録部 17 通信制御部 20 操作部
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a structure of an image communication device employing the present invention. FIG. 2 is an explanatory diagram showing a memory area of a receiving memory of FIG. 1; FIG. 3 is a flowchart illustrating a process of a CPU in FIG. 1; FIG. 4 is a block diagram showing another embodiment of the image communication apparatus. FIG. 5 is a flowchart showing the processing of the CPU in FIG. 4; [Description of Signs] 11 CPU 12 ROM 13 Image memory 14 Reception memory 15 Reading unit 16 Recording unit 17 Communication control unit 20 Operation unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 1/00 - 1/00 108 H04N 1/21 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/00-1/00 108 H04N 1/21

Claims (1)

(57)【特許請求の範囲】 1.画像データの送信又は受信を行う通信手段と、 前記通信手段により受信した画像データを格納する第1
のメモリと、 前記第1のメモリに格納された受信画像データを出力す
る出力手段と、 前記受信画像データとは異なる画像データを入力する入
力手段と、 前記出力手段により前記第1のメモリの受信画像データ
を出力させる受信画像プログラム、及び前記入力手段に
よる画像データの入力処理プログラムを含む複数の処理
を実行するための制御プログラムを格納した第2のメモ
リと、 前記受信画像の出力処理プログラムと前記入力処理プロ
グラムを時分割に実行する制御プロセッサとを備え、 前記制御プロセッサが前記第1のメモリの状態に基いて
前記出力処理プログラムと前記入力処理プログラムとを
切り換える ことを特徴とする画像通信装置。
(57) [Claims] Communication means for transmitting or receiving image data; and a first means for storing the image data received by the communication means.
Memory, output means for outputting received image data stored in the first memory, input means for inputting image data different from the received image data, and reception of the first memory by the output means A second memory storing a received image program for outputting image data, and a control program for executing a plurality of processes including an image data input processing program by the input unit; the received image output processing program; A control processor that executes an input processing program in a time-sharing manner , wherein the control processor is configured to execute the input processing program based on a state of the first memory.
The output processing program and the input processing program
An image communication device characterized by switching .
JP6094602A 1994-05-09 1994-05-09 Image communication device Expired - Lifetime JP2950725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6094602A JP2950725B2 (en) 1994-05-09 1994-05-09 Image communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6094602A JP2950725B2 (en) 1994-05-09 1994-05-09 Image communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62229667A Division JPH0695716B2 (en) 1987-09-16 1987-09-16 Image communication device

Publications (2)

Publication Number Publication Date
JPH07170380A JPH07170380A (en) 1995-07-04
JP2950725B2 true JP2950725B2 (en) 1999-09-20

Family

ID=14114810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6094602A Expired - Lifetime JP2950725B2 (en) 1994-05-09 1994-05-09 Image communication device

Country Status (1)

Country Link
JP (1) JP2950725B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5644269B2 (en) * 2010-08-30 2014-12-24 株式会社リコー Image processing apparatus, image processing system, image processing method, and image processing program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4476522A (en) * 1981-03-09 1984-10-09 International Business Machines Corporation Programmable peripheral processing controller with mode-selectable address register sequencing
JPS61164377A (en) * 1985-01-16 1986-07-25 Sanyo Electric Co Ltd Coding and decoding system
JPS61245765A (en) * 1985-04-24 1986-11-01 Canon Inc Facsimile equipment
JPS6225567A (en) * 1985-07-25 1987-02-03 Nec Corp Facsimile equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
特開 昭62−25567JP,A)

Also Published As

Publication number Publication date
JPH07170380A (en) 1995-07-04

Similar Documents

Publication Publication Date Title
JPH0695716B2 (en) Image communication device
JP3769839B2 (en) Multifunctional parallel processing electronic device
JP2950725B2 (en) Image communication device
JP3707509B2 (en) Multifunctional parallel processing electronic device
JP3806984B2 (en) Multifunctional peripheral
US6388761B1 (en) Multi-function peripheral device
JPH1063518A (en) Information processor and storage medium
JPH1042231A (en) Digital camera and digital camera system
JP3347580B2 (en) Information processing device and storage medium
JP3365373B2 (en) Communication terminal device
JPH09305527A (en) Dma controller
JP2906425B2 (en) Mode switching method for digital copier
US5970087A (en) Transmission device
JP3315289B2 (en) Decryption device
JP3292447B2 (en) Multi-function parallel processing type information processing device
JP3580081B2 (en) Facsimile machine
JP3192248B2 (en) Image signal encoding device
JPH0335865B2 (en)
JP2792565B2 (en) Image recording device
JP3367949B2 (en) Image data processing device
JPH10275068A (en) Image processor and its control method
JPH10111810A (en) Information processor and storage medium
JP2574628B2 (en) Facsimile machine
JPH11203059A (en) Image input and output device and its memory access method, and storage medium storing computer readable program
JPS63155248A (en) Interface selecting method for computer device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080709

Year of fee payment: 9