JP3163304B2 - Encoding / decoding method - Google Patents

Encoding / decoding method

Info

Publication number
JP3163304B2
JP3163304B2 JP17189991A JP17189991A JP3163304B2 JP 3163304 B2 JP3163304 B2 JP 3163304B2 JP 17189991 A JP17189991 A JP 17189991A JP 17189991 A JP17189991 A JP 17189991A JP 3163304 B2 JP3163304 B2 JP 3163304B2
Authority
JP
Japan
Prior art keywords
unit
encoding
decoding
data
reading
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
JP17189991A
Other languages
Japanese (ja)
Other versions
JPH04369972A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP17189991A priority Critical patent/JP3163304B2/en
Priority to US07/900,476 priority patent/US5485287A/en
Publication of JPH04369972A publication Critical patent/JPH04369972A/en
Application granted granted Critical
Publication of JP3163304B2 publication Critical patent/JP3163304B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、符号化復号化方式、特
に、ホスト制御部と符号化部及び復号化部との間のコマ
ンドの授受を簡素化してホスト制御部の信号処理性能を
向上させるようにした、ファクシミリ装置に用いて好適
な符号化復号化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding / decoding system, and more particularly, to improving the signal processing performance of a host control unit by simplifying the transfer of commands between the host control unit and the encoding and decoding units. The present invention relates to an encoding / decoding system suitable for use in a facsimile apparatus.

【0002】[0002]

【従来の技術】ファクシミリにおいては、画像データを
伝送させる際の伝送効率を向上させるため、CCITT
(国際電信電話諮問委員会)で勧告されているように、
MH、MR、MMR符号化方式を用いて当該画像データ
を伝送させることが行われている。この符号化方式は、
画像データにおける白黒の変化点を符号に対応させて伝
送する方式であって、同じデータビット数を符号化する
場合において、単位長さ当りの白黒の変化点の数が多い
ときにはその分だけ前記データの処理量が増加し、前記
データの処理量の増加に伴って前記データの符号化速度
が低下するという性質を有しているものである。また、
符号化データを復号する場合も同様であって、原データ
における単位長さ当りの白黒の変化点が多い場合には、
同じ符号ビット数を復号したとても、復号されるデータ
のビット数が少なくなるという性質を有している。
2. Description of the Related Art In a facsimile, CCITT is used to improve transmission efficiency when transmitting image data.
(International Telegraph and Telephone Advisory Committee),
The transmission of the image data is performed using the MH, MR, and MMR coding schemes. This encoding method is
This is a method of transmitting black and white change points in image data corresponding to codes, and when encoding the same number of data bits, when the number of black and white change points per unit length is large, the data is correspondingly increased. Has the property that the processing amount of the data increases and the encoding speed of the data decreases as the processing amount of the data increases. Also,
The same applies to the decoding of encoded data. If there are many black and white change points per unit length in the original data,
When the same code bit number is decoded, the number of bits of decoded data is very small.

【0003】このため、最近のファクシミリ装置にあっ
ては、このような白黒の変化点が多いデータを処理する
場合においても、高速度で符号化または復号化が行える
ようにした符号化及び復号化手段が開発され始めてお
り、その1例が、特開昭60−194670号または特
開昭62−35780号に開示されている。
For this reason, in recent facsimile apparatuses, even when processing such data having many black and white changing points, encoding and decoding can be performed at high speed. Means have begun to be developed, one example of which is disclosed in JP-A-60-194670 or JP-A-62-35780.

【0004】しかしながら、符号化及び復号化部だけで
なく、ファクシミリシステム全体を見たときには、当該
システムにおけるホスト制御部、メモリ部、読取部、記
録部、符号化部及び復号化部は、それぞれ、密接に関連
して動作を行うものであるから、これら周辺装置間の制
御信号の授受やデータバス負荷の状態を無視したので
は、効率的なファクシミリシステムシステムを構築でき
ないことは明らかである。
However, when the entire facsimile system is viewed in addition to the encoding and decoding units, the host control unit, the memory unit, the reading unit, the recording unit, the encoding unit and the decoding unit in the system are respectively Since the operation is closely related, it is clear that an efficient facsimile system cannot be constructed by ignoring the transmission and reception of control signals between these peripheral devices and the state of the data bus load.

【0005】なお、この種のファクシミリシステムの1
例としては、電子技術1988年4月号pp64〜72
及び電子技術1990年8月号pp67〜71に開示の
ものがあるが、このファクシミリシステムにおいては符
号化及び復号化部の高効率化について何等言及されてい
ないものである。
[0005] It should be noted that this type of facsimile system 1
For example, pp64-72 of Electronic Technology, April 1988,
And an electronic technology disclosed in August 1990, pp. 67 to 71, but in this facsimile system, nothing is mentioned about improving the efficiency of the encoding and decoding units.

【0006】[0006]

【発明が解決しようとする課題】前述の従来の高速度符
号化及び復号化手段は、ファクシミリシステムをゲ−ト
アレイ化することにより部品点数を削減する手段につい
ての開示を行っているだけで、符号化部、ホスト制御
部、読取部の3者間での制御信号の授受の仕方、及び、
復号化部、ホスト制御部、記録部の3者間での制御信号
の授受の仕方をそれぞれ改良し、ファクシミリシステム
全体として少ない部品点数で高速度の処理を図る点につ
いては何等考慮が払われていないものである。
The above-mentioned conventional high-speed encoding / decoding means only discloses means for reducing the number of parts by converting a facsimile system into a gate array. How to send and receive control signals between the three parts, ie, the conversion unit, the host control unit, and the reading unit, and
Attention is paid to improving the way of transmitting and receiving control signals among the three components of the decoding unit, the host control unit, and the recording unit, and performing high-speed processing with a small number of components as a whole facsimile system. Not something.

【0007】このため、前述の高速度符号化及び復号化
手段をファクシミリシステムに組込んだ場合には、ホス
ト制御部に対する当該符号化及び復号化手段の制御負荷
が過剰になるため、ホスト制御部に処理能力の高いプロ
セッサを用いるか、または、プロセッサ数を増加させる
かの手段を付加しなければ、当該符号化及び復号化手段
の高速度の処理性能を十分に発揮させることができない
ものである。そして、この場合に、ホスト制御部として
従来の型のプロセッサを用いたときには、ファクシミリ
システム全体として、ユ−ザアプリケ−ションサ−ビス
を向上させようとすると、ホスト制御部における処理負
荷が過剰となって、満足に対応することができなくなる
等の問題点があった。
For this reason, when the above-mentioned high-speed encoding / decoding means is incorporated in a facsimile system, the control load of the encoding / decoding means on the host control section becomes excessive, and the host control section If a processor having a high processing capability is used or a means for increasing the number of processors is not added, the high-speed processing performance of the encoding and decoding means cannot be sufficiently exhibited. . In this case, when a conventional processor is used as the host control unit, the processing load on the host control unit becomes excessive in order to improve the user application service of the facsimile system as a whole. However, there was a problem that it was not possible to respond to satisfaction.

【0008】また、本願発明の先行技術を示す前記ファ
クシミリにおいても、ホスト制御部が各部の動作の開始
及び完了のタイミングの管理を行っているために、符号
化及び復号化部におけるデータ処理速度を高めようとし
たときには、やはりホスト制御部の処理負荷が過剰とな
り、満足な前記データ処理速度を得ることができないと
いう問題点があった。
Also, in the facsimile which shows the prior art of the present invention, since the host control unit manages the timing of starting and completing the operation of each unit, the data processing speed in the encoding and decoding unit is reduced. When trying to increase it, the processing load of the host control unit becomes excessive, and there is a problem that a satisfactory data processing speed cannot be obtained.

【0009】そして、前記符号化及び復号化手段の高速
化、及び、ユ−ザアプリケ−ションサ−ビスの向上等の
ために、プロセッサとして処理能力の高いものを用いた
り、その数を増加させとりすれば、その分だけコストア
ップになるという問題点も生じるものであった。
In order to increase the speed of the encoding and decoding means and to improve user application services, a processor having a high processing capability is used or the number of processors is increased. If this is the case, there is a problem that the cost increases accordingly.

【0010】本発明は、前記各種の問題点を一挙に解決
するために考案されたもので、その1つの目的は、ホス
ト制御部と符号化部及び復号化部間のコマンド授受を簡
素化することにより、システム全体の情報の処理を、少
ない点数の部品を利用し、かつ、低コストのホスト制御
部を用いて、高スル−プットを達成できるようにした符
号化復号化方式を提供することにある。
The present invention has been devised to solve the above-mentioned various problems at once, and one object of the present invention is to simplify command transmission and reception between a host control unit and an encoding unit and a decoding unit. Accordingly, it is possible to provide an encoding / decoding system capable of processing information of the entire system by using a small number of components and achieving high throughput by using a low-cost host control unit. It is in.

【0011】また、本発明の他の目的は、ホスト制御部
からリアルタイムでコマンドを授受する必要がない符号
化復号化方式を提供することにある。
It is another object of the present invention to provide an encoding / decoding system which does not need to transmit / receive a command in real time from a host control unit.

【0012】[0012]

【課題を解決するための手段】前記2つの目的を達成す
るために、本発明による符号化復号化方式は、少なくと
も、原稿の走査読取りを行う読取部と、前記読取部で読
取ったデータを符号化する符号化復号化部と、情報処理
に対する全体制御を行うホスト制御部とを有し、前記ホ
スト制御部は、前記読取部から原稿読取要求を受ける
と、前記符号化復号化部を符号化モードに設定すると共
に前記符号化復号化部に符号化準備コマンドを供給し、
その後、前記符号化復号化部は、前記ホスト制御部の介
在がない状態で、前記読取部から読取開始要求を受ける
と、前記データの符号化処理を行い、さらに、前記符号
化復号化部は、前記ホスト制御部の介在がない状態で、
前記読取部からページ終了要求を受けると、前記データ
の符号化処理を終了すると共に前記ホスト制御部に符号
化終了信号を供給し、前記ホスト制御部は、前記符号化
終了信号を受けると、前記読取部に符号化終了コマンド
を供給する第1の手段を具備する。
In order to achieve the above two objects, an encoding / decoding system according to the present invention comprises at least a reading section for scanning and reading an original, and a reading section for reading by the reading section.
A coding and decoding unit for encoding took data, the information processing
And a host control unit that performs overall control on the document . When the host control unit receives a document reading request from the reading unit , the host control unit sets the encoding / decoding unit to the encoding mode.
Supplies an encoding preparation command to the encoding / decoding unit,
Thereafter, the encoding decoding portion, in the absence intervention of the host controller receives the start request read from the reading unit
And performing an encoding process on the data.
The encryption / decryption unit, without the intervention of the host control unit,
When a page end request is received from the reading unit, the data
And the host control unit is coded.
The host control unit supplies the encoding end signal.
Upon receiving the end signal, the reading unit is instructed to perform an encoding end command.
The first means for supplying

【0013】また、前記2つの目的を達成するために、
本発明による符号化復号化方式は、少なくとも、受信部
または符号化データ記憶部から入力される符号化データ
を復号する符号化復号化部と、前記符号化復号化部で復
号したデータを記録する記録部と、情報処理に対する全
体制御を行うホスト制御部とを有し、前記ホスト制御部
は、前記受信部または前記符号化データ記憶部から原稿
記録要求を受けると、前記符号化復号化部を復号化記録
モードに設定すると共に前記符号化復号化部に復号化
マンドを供給し、その後、前記符号化復号化部は、前記
ホスト制御部の介在がない状態で、前記受信部または前
記符号化データ記憶部から記録開始要求を受けると、前
記データの復号化処理を行い、さらに、前記符号化復号
化部は、前記ホスト制御部の介在がない状態で、前記受
信部または前記符号化データ記憶部からページ終了要求
を受けると、前記データの復号化処理を終了すると共に
前記ホスト制御部に復号化終了信号を供給し、前記ホス
ト制御部は、前記復号化終了信号を受けると、前記記録
部に復号化終了コマンドを供給する第2の手段を具備す
る。
Further, in order to achieve the above two objects,
The encoding / decoding system according to the present invention includes at least a receiving unit
Or encoded data input from the encoded data storage unit
An encoding / decoding unit for decoding
A recording unit that records encoded data , and a host control unit that performs overall control on information processing, wherein the host control unit reads a document from the reception unit or the encoded data storage unit.
Upon receiving a recording request, the encoding / decoding unit decodes and records
Mode , and a decoding command is supplied to the encoding / decoding unit . After that, the encoding / decoding unit , without the intervention of the host control unit, the reception unit or the
When a recording start request is received from the encoded data storage unit , the data is decoded, and
The receiving unit is configured to receive the data without the intervention of the host control unit.
Page end request from the communication unit or the encoded data storage unit
Receiving the data, terminates the data decryption process and
Supplying decoded completion signal to the host controller, the host controller receives the decoded end signal, the recording
Second means for supplying a decoding end command to the unit.

【0014】[0014]

【0015】この他に、第2の手段及び第3の手段で実
行される符号化及び復号化の過程において、前記符号化
部及び復号化部は3ライン分の記憶容量を持ったライン
メモリ部を含み、前記ラインメモリ部は読取ったデータ
の入力が完了していないラインの符号化を防止する機
能、及び、復号された未だデータが入力されていないラ
インのデータの記録を防止する機能、それに、未だ記録
出力していな復元画データの上に再度復元データの書き
込みを防止する機能を有する第4の手段を具備してい
る。
In addition, in the course of the encoding and decoding performed by the second means and the third means, the encoding unit and the decoding unit use a line memory unit having a storage capacity of three lines. The line memory unit has a function of preventing encoding of a line on which input of read data has not been completed, and a function of preventing recording of data on a line on which decoded data has not been input. And a fourth means having a function of preventing writing of restored data again on restored image data which has not been recorded and output.

【0016】[0016]

【0017】[0017]

【作用】 前記第1の 手段によれば、符号化処理を行う場
合に、読取部が原稿を読取ることによって得られたデー
タを符号化復号化部で符号化処理を開始する前に、ホス
ト制御部は、符号化処理に必要な符号化コマンドを符号
化復号化部に供給し、符号化復号化部に符号化処理の準
備をさせる。その後、符号化復号化部は、ホスト制御部
を介在させない状態で独自に符号化処理を開始するタイ
ミングを判定し、次いで、当該原稿から得られたデータ
を、外部メモリを用いることなしにページ単位で符号化
する。さらに、符号化復号化部は、前と同様にホスト制
御部を介在させない状態で独自に符号化処理を終了する
タイミングを判定し、それによって符号化処理を終了す
ると共に符号化終了信号をホスト制御部に供給する。こ
の時点に、ホスト制御部は、符号化復号化部からの終了
信号を判定し、次の制御動作の指示を行う。
SUMMARY OF] According to the first means, when performing encoding, before the reading unit starts the encoding process the data obtained by reading an original in coding and decoding unit, host control parts are coding the coded commands required for the encoding process
To the encoding / decoding unit, and prepares the encoding / decoding unit for encoding processing. Thereafter, the encoding / decoding unit determines the timing for starting the encoding process independently without the intervention of the host control unit, and then converts the data obtained from the original into a page unit without using an external memory. To encode. Further, the encoding / decoding unit independently determines the timing for terminating the encoding process without interposing the host control unit as before, thereby terminating the encoding process and controlling the encoding end signal by the host control. Supply to the department. At this point, the host control unit determines the end signal from the encoding / decoding unit, and instructs the next control operation.

【0018】また、前記第2の手段によれば、復号化処
理を行う場合に、受信部または符号化データ記憶部から
入力される符号化データを符号化復号化部で復号化処理
を開始する前に、ホスト制御部は、復号化処理に必要な
コマンドをに供給し、符号化復号化部に復号化処理の準
備をさせる。その後、符号化復号化部は、ホスト制御部
を介在させない状態で独自に復号化処理を開始するタイ
ミングを判定し、次いで、当該入力される符号化データ
を外部メモリを用いることなしにページ単位で復号化す
る。さらに、符号化復号化部は、前と同様にホスト制御
部を介在させない状態で独自に前記復号化処理を終了す
るタイミングを判定し、それによって前記復号化処理を
終了すると共に記録終了信号をホスト制御部に供給す
る。この時点において、ホスト制御部は、符号化復号化
部からの終了信号の判定を行い、次の制御動作の指示を
行う。
According to the second means, when performing the decoding process, the decoding process is started by the encoding / decoding unit for the encoded data input from the receiving unit or the encoded data storage unit. Beforehand, the host control unit supplies a command necessary for the decoding process to the host control unit, and makes the encoding / decoding unit prepare for the decoding process. Thereafter, the encoding / decoding unit determines the timing for starting the decoding process independently without the intervention of the host control unit, and then converts the input encoded data in page units without using an external memory. Decrypt. Further, the encoding / decoding unit independently determines the timing for ending the decoding process without the intervention of the host control unit as before, thereby ending the decoding process and sending a recording end signal to the host. Supply to the control unit. At this point, the host control unit determines the end signal from the encoding / decoding unit, and instructs the next control operation.

【0019】前記各作用により、ホスト制御部は、符号
化及び/または復号化の処理中に、これらの処理に対す
るリアルタイム制御を行う必要がなくなり、ホスト制御
部の負荷が大幅に軽減されることになる。さらに、前記
リアルタイム制御に必要とされる時間も他の情報の処理
に利用できるので、ホスト制御部が実行する符号化及び
/または復号化処理のスピ−ドアップを図ることができ
る。
According to the above-described operations, the host control unit does not need to perform real-time control on these processes during the encoding and / or decoding processes, and the load on the host control unit is greatly reduced. Become. Furthermore, since the time required for the real-time control can be used for processing other information, the encoding and / or decoding processing executed by the host control unit can be speeded up.

【0020】また、前記各作用により、前述のように符
号化復号化の処理がスピ−ドアップされたとしても、符
号化復号化処理の開始及び終了のタイミングをホスト制
御部が管理し、かつ、ホスト制御部が符号化部及び復号
化部をリアルタイムで制御する前記先行技術の方式と比
較して、ホスト制御部の処理負荷は却って減少するの
で、高速度の処理が可能な高性能のプロセッサの使用、
及び、マルチプロセッサの使用の必要性は全くなくなる
ものである。
Further, even if the encoding / decoding process is speeded up as described above, the host control unit manages the start and end timings of the encoding / decoding process, and Compared with the prior art method in which the host control unit controls the encoding unit and the decoding unit in real time, the processing load on the host control unit is rather reduced, so that a high-performance processor capable of high-speed processing is provided. use,
And the need for the use of multiprocessors is completely eliminated.

【0021】この他に、前記第4の手段によれば、原稿
の読取りデータの符号化時または復号後のデータの記録
時に、それぞれ、3ライン分の記憶容量を持ったライン
メモリ部に前記データを一時的に記憶させているので、
パイプライン処理的に高速化できる。また、未だデータ
が入力されていないラインについての当該データの符号
化を防止したり、未だ復号後のデータが入力されていな
いラインについての当該データの記録部への出力を防止
したり、未だ記録出力されていない復元画データの上に
再度復元データの書き込みを防止する機能を有している
ので、符号と画データの流れを正常に管理するための制
御装置を必要としない。
In addition to the above, according to the fourth means, at the time of encoding read data of an original or at the time of recording data after decoding, the data is stored in a line memory unit having a storage capacity of three lines. Is temporarily stored,
Speed up in pipeline processing. Also, it prevents the encoding of the data for the line to which the data has not yet been input, prevents the output of the data for the line to which the data after the decoding has not been input to the recording unit, and the recording of the data which has not yet been input. Since it has a function of preventing restoration data from being written again on restoration image data that has not been output, a control device for properly managing the flow of codes and image data is not required.

【0022】なお、前記ラインメモリ部としては、A3
サイズの用紙を400dpiで読取ったとしても、3ラ
イン分のメモリ量として2kバイト程度のものを用いれ
ば足りる。そして、前記ラインメモリ部を高速度で管理
するためには、独自のプロセッサの使用よりも、符号化
部及び復号化部に内蔵させた方がハ−ド的に経済的であ
り、構成上の簡素化が図れるものである。
The line memory section includes A3
Even if a paper of a size is read at 400 dpi, it is sufficient to use a memory having a memory capacity of about 2 kbytes for three lines. In order to manage the line memory unit at a high speed, it is more economical in terms of hardware to incorporate the line memory unit in the encoding unit and the decoding unit than to use a unique processor. It can be simplified.

【0023】以上の各手段の採用により、ホスト制御部
は、原稿のページ単位で符号化部及び復号化部に介在す
るだけであるから、符号化部に対するデータの読取り及
び復号化部に対するデータの記録の高速化を高コストパ
フォ−マンスで実現させることが可能になる。
By adopting each of the above means, the host control unit only intervenes in the encoding unit and the decoding unit for each page of the original, so that the host controller reads data from the encoding unit and transmits data to the decoding unit. It is possible to realize high-speed recording with high cost performance.

【0024】[0024]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0025】図1は、本発明に係わる符号化復号化方式
を適用したファクシミリ装置を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing a facsimile apparatus to which the encoding / decoding system according to the present invention is applied.

【0026】図において、1は符号化部、2は復号化
部、3は符号化処理部、4はラインメモリ部、5は復号
化処理部、6はラインメモリ部、7はホスト制御部を構
成するマイクロプロセッサユニット(以下、これをホス
トMPUという)、8は読取部、9は記録部、10は通
信制御部、11は符号データメモリ部、12乃至21は
制御バス、22乃至29はデータラインである。また、
符号化部1と復号化部2とは符号化復号化部40を構成
し、読取部8と記録部9と通信制御部10と符号データ
メモリ部11等はデータ入出力部41を構成している。
In the figure, 1 is an encoding unit, 2 is a decoding unit, 3 is an encoding processing unit, 4 is a line memory unit, 5 is a decoding processing unit, 6 is a line memory unit, and 7 is a host control unit. A microprocessor unit (hereinafter referred to as a host MPU), 8 is a reading unit, 9 is a recording unit, 10 is a communication control unit, 11 is a code data memory unit, 12 to 21 are control buses, and 22 to 29 are data Line. Also,
The encoding unit 1 and the decoding unit 2 constitute an encoding / decoding unit 40, and the reading unit 8, the recording unit 9, the communication control unit 10, the code data memory unit 11 and the like constitute a data input / output unit 41. I have.

【0027】そして、符号化部1は符号化処理部3とラ
インメモリ部4とからなり、復号化部2は復号化処理部
5とラインメモリ部6とからなっている。読取部8は原
稿の走査読取りを行い、その読取った画像データをデー
タライン22を介して符号化部1のラインメモリ部4に
供給する。ラインメモリ部4は、前記原稿の3ライン分
の記憶容量を有し、かつ、10Mb/s以上の一定速度
の読取りが可能なメモリであって、前記読取った画像デ
ータを一時的に記憶し、次いで、符号化のために読出さ
れ、データライン23を介して符号化処理部3に供給さ
れる。ラインメモリ部6も、前記原稿の3ライン分の記
憶容量を有し、かつ、10Mb/s以上の一定速度の読
取りが可能なメモリで、復号化処理部5で復号された画
像データを一時的に記憶し、次いで、記録のために読出
され、データライン27を介して記録部9に供給されて
そこで記録される。また、読取部8、記録部9、それに
符号化部1及び復号化部2はそれぞれ制御バス12乃至
17を介してホストMPU7に結合され、読取部8とラ
インメモリ部4間、ラインメモリ部4と符号化処理部3
間、復号化処理部5とラインメモリ部6間、ラインメモ
リ部6と記録部9間はそれぞれ制御バス18乃至21及
びデータライン22、23、26、27によって結合さ
れている。さらに、符号化処理部3、復号化処理部5、
通信制御部10、符号データメモリ部11はそれぞれデ
ータライン24、25、28、29を介してホストMP
U7に結合されている。
The encoding section 1 comprises an encoding section 3 and a line memory section 4, and the decoding section 2 comprises a decoding section 5 and a line memory section 6. The reading unit 8 scans and reads a document, and supplies the read image data to the line memory unit 4 of the encoding unit 1 via the data line 22. The line memory unit 4 is a memory having a storage capacity for three lines of the document and capable of reading at a constant speed of 10 Mb / s or more, and temporarily stores the read image data. Next, the data is read out for encoding and supplied to the encoding processing unit 3 via the data line 23. The line memory unit 6 also has a storage capacity for three lines of the original and is capable of reading at a constant speed of 10 Mb / s or more, and temporarily stores the image data decoded by the decoding processing unit 5. , And then read out for recording, supplied to the recording unit 9 via the data line 27 and recorded there. The reading unit 8, the recording unit 9, and the encoding unit 1 and the decoding unit 2 are connected to the host MPU 7 via control buses 12 to 17, respectively, and are connected between the reading unit 8 and the line memory unit 4, the line memory unit 4 And encoding processing unit 3
The control buses 18 to 21 and the data lines 22, 23, 26, and 27 are connected to each other, between the decoding processing unit 5 and the line memory unit 6, and between the line memory unit 6 and the recording unit 9, respectively. Further, the encoding processing unit 3, the decoding processing unit 5,
The communication control unit 10 and the code data memory unit 11 communicate with the host MP via data lines 24, 25, 28 and 29, respectively.
Connected to U7.

【0028】この場合、通信制御部10及び符号データ
メモリ部11は、本発明に係わる符号化復号化方式にお
いて必須のものではなく、例えば、ファイリング装置等
においては、ファイル装置等に接続されるものである。
In this case, the communication control unit 10 and the code data memory unit 11 are not indispensable in the encoding / decoding system according to the present invention. For example, in a filing device or the like, a device connected to a file device or the like is used. It is.

【0029】ここで、図1に示すファクシミリ装置の動
作について、図2に示すホストMPUが行う処理フロ−
図、及び、図3に示すシステム、ホストMPU、符号化
部の3者間の処理の時間的経緯を表す図を用いて説明す
る。
Here, regarding the operation of the facsimile apparatus shown in FIG. 1, a processing flow performed by the host MPU shown in FIG.
The description will be made with reference to FIG. 3 and a diagram showing the time history of the processing among the three units of the system, the host MPU, and the encoding unit shown in FIG.

【0030】ただし、以下の説明において、本発明でい
うところのページとは、通常の意味の物理的な切れ目を
表すページの他に、予めマ−クを付したりまたは紙の形
状的特徴等により定めた切れ目からなるページも含まれ
るものである。そして、原稿の走査読取り及び画像デー
タの印刷を行う場合における単位となるページは、画像
の縦方向(副走査方向)の移動量により決められるもの
で、ここでいう移動量とは原稿または印刷記録用紙の送
り量(繰り出し量)で決まる画像の大きさを意味してい
る。ところで、図9に示すように、画像が、例えば、文
字だけで形成されている場合、文字の間に写真が挿入さ
れている場合、文字と写真と絵が混在している場合であ
っても、前記各場合における移動量m1 、m2 、m3
同じような扱いを受けてカウントされるものである。
However, in the following description, the term "page" in the present invention means, in addition to a page representing a physical break in a normal meaning, a mark or a shape characteristic of paper in advance. Pages including the breaks determined by the above. The page serving as a unit when scanning and reading an original and printing image data is determined by the amount of movement of the image in the vertical direction (sub-scanning direction). It means the size of the image determined by the paper feed amount (feed amount). By the way, as shown in FIG. 9, even if an image is formed only of characters, a photograph is inserted between characters, or a case where characters, photos, and pictures are mixed, for example, The movement amounts m 1 , m 2 , and m 3 in each case are counted in the same manner.

【0031】図3において、始めに、読取部8に読取り
を行う原稿がセットされ、読取部8からの原稿読取要求
信号50が制御バス14を介してホストMPU7に供給
されると、ホストMPU7は制御バス17を介して符号
化部1の符号化処理部3に符号化モード設定コマンド5
1を供給する。このとき、符号化部1は前記コマンド5
1によって符号化準備状態に入り、読取部8からの読取
開始要求信号52を待機する状態になる。次いで、読取
開始要求信号52がホストMPU7を介すことなく直接
制御バス18を通して符号化部1に入力されると、符号
化部1は読取開始要求信号52の受信後直ちに符号化処
理状態になり、読取部8からデータライン22を介して
供給される原稿を読取ることにより得られた画像データ
の符号化を行う。この符号化処理状態はページ終了要求
信号53が読取部8からホストMPU7を介することな
く直接制御バス18を通して符号化部1に入力されるま
で続行される。符号化部1がページ終了要求信号53を
受信すると、符号化部1はアイドル状態となり、同時
に、制御バス16を介してホストMPU7へ符号化終了
信号54を供給する。ホストMPU7は符号化終了信号
54を受信すると、符号化終了の確認を行い、同時に、
システムに対してコマンド55を供給し、システムが必
要とする制御を行なう。ここで、前記必要とする制御と
は、ファクシミリ操作の正常な実行の障害になる紙詰ま
りの有無の点検や、次の原稿があるときにはその次の原
稿を所定の位置まで移送させるための読み取りモ−タ等
の制御がこれに当たる。そして、次の原稿があるときに
は、読取部8からホストMPU7に次の原稿読取要求信
号56が供給され、それ以後は、上に述べた処理が再度
実行され、このときに途中で処理中断の指示がなけれ
ば、全ての原稿の読取り及び読取ったデータの符号化が
完了するまで前記処理が継続実行される。
In FIG. 3, first, a document to be read is set on the reading unit 8 and a document reading request signal 50 from the reading unit 8 is supplied to the host MPU 7 via the control bus 14. The encoding mode setting command 5 is transmitted to the encoding processing unit 3 of the encoding unit 1 via the control bus 17.
Supply 1 At this time, the encoding unit 1 transmits the command 5
1 enters an encoding preparation state, and waits for a reading start request signal 52 from the reading unit 8. Next, when the reading start request signal 52 is directly input to the encoding unit 1 through the control bus 18 without passing through the host MPU 7, the encoding unit 1 enters the encoding processing state immediately after receiving the reading start request signal 52. The image data obtained by reading a document supplied from the reading unit 8 via the data line 22 is encoded. This encoding processing state is continued until the page end request signal 53 is input from the reading unit 8 to the encoding unit 1 via the control bus 18 directly without passing through the host MPU 7. When the encoding unit 1 receives the page end request signal 53, the encoding unit 1 enters an idle state, and at the same time, supplies an encoding end signal 54 to the host MPU 7 via the control bus 16. Upon receiving the encoding end signal 54, the host MPU 7 confirms the end of encoding, and at the same time,
A command 55 is supplied to the system to perform control required by the system. Here, the necessary control includes checking whether there is a paper jam that hinders normal execution of the facsimile operation, and a reading mode for transferring the next original to a predetermined position when there is the next original. This corresponds to the control of data. Then, when there is a next original, the reading unit 8 supplies the next original reading request signal 56 to the host MPU 7, and thereafter the above-described processing is executed again. If not, the above process is continuously executed until reading of all originals and encoding of the read data are completed.

【0032】なお、ページとして、予めマ−クを付した
りまたは紙の形状的特徴等により定めた切れ目を用いて
いる場合には、読取部、あるいは読取部とは別に当該マ
−クや特徴を検出する新たに設けた処理部によって、当
該マ−クや特徴を検出するように構成しておけば、当該
検出が行われた個所が論理的にページの切れ目として認
識され、以下、前述と同様の処理の継続が可能になるも
のである。
If a page is marked in advance or a break determined by the shape characteristics of paper is used as the page, the reading section or the mark or the feature separately from the reading section is used. If the mark and the feature are detected by a newly provided processing unit for detecting the position, the location where the detection is performed is logically recognized as a page break. The same processing can be continued.

【0033】また、図2は、前記処理の際に、ホストM
PU7が実行する処理フロ−を示している。
FIG. 2 shows that the host M
The processing flow executed by the PU 7 is shown.

【0034】通常、ホストMPU7は、ファクシミリで
あればファクシミリ全体制御、即ち、原稿の読取りや画
像データの記録の際の制御を行っているだけではなく、
通信系を介して伝送される画像データの制御や、マンマ
シンI/F部における情報の処理等も行っているもので
あり、始めに、ホストMPU7が待機状態のときに、ホ
ストMPU7に対してシステムから何等かの制御要求が
あったときには全体システム制御処理が起動実行される
(ステップ30)。この際、前記全体システム制御処理
は、各システムからの要求に応じた適切な処理を行うた
めに、前記ステップ30に付随して、図示のように、前
記システムからの要求の判別を行っている(ステップ3
0’)。この要求の判別においては、原稿の読取りや画
像データの記録に関する処理は個別の判別が行われ、そ
の他の処理はその他のシステム要求判定処理としてまと
めて判別になっている。
Normally, the host MPU 7 performs not only facsimile overall control for a facsimile, that is, control for reading a document or recording image data,
It also controls image data transmitted via a communication system, processes information in a man-machine I / F unit, and the like. First, when the host MPU 7 is in a standby state, the host MPU 7 When there is any control request from the system, the whole system control process is started and executed (step 30). At this time, in the overall system control processing, in order to perform an appropriate processing according to a request from each system, a request from the system is determined as shown in FIG. (Step 3
0 '). In this request determination, processing relating to document reading and image data recording is performed individually, and other processing is collectively determined as other system request determination processing.

【0035】前記判別が行われた中で、原稿の読取り及
び読取ったデータの符号化の実行または中止の決定は次
のようにしてなされる。まず、読取部8に原稿があるか
否かの判断が行われ(ステップ31)、その判断におい
てイエスYのときは原稿読取要求信号50の供給に従っ
て符号化モード設定の処理を行う(ステップ32)とと
もに、制御バス17を介して符号化部1に符号化モード
設定コマンド51を供給して最初の待機状態に戻り、前
記判断においてノウNのときは直ちに最初の待機状態に
戻る。前記コマンド51の出力後に、読取部8における
原稿の1ページ読取りが終了されたか否かの判断が行わ
れ(ステップ33)、その判断においてイエスYのとき
は符号化終了確認とシステムが必要とする制御とが行わ
れ(ステップ34)て最初の待機状態に戻り、前記判断
においてノウNのときは直ちに最初の待機状態に戻る。
During the above-mentioned determination, the reading of the original and the decision to execute or stop the encoding of the read data are made as follows. First, it is determined whether or not there is a document in the reading unit 8 (step 31). If the determination is YES, a coding mode setting process is performed according to the supply of the document reading request signal 50 (step 32). At the same time, an encoding mode setting command 51 is supplied to the encoding unit 1 via the control bus 17 to return to the first standby state. If the determination is NO, the control immediately returns to the first standby state. After the output of the command 51, it is determined whether or not one page of the document has been read by the reading unit 8 (step 33). If the determination is YES, the encoding completion confirmation and the system are required. The control is performed (step 34) to return to the first standby state. If the determination is NO, the control immediately returns to the first standby state.

【0036】また、図5は、前述の一連の動作の際の各
種信号の伝送経路と伝送順序を示した系統図である。な
お、図中、乃至は前記信号の伝送順序を示してい
る。
FIG. 5 is a system diagram showing transmission paths and transmission orders of various signals during the above-described series of operations. In the drawings, the order of transmission of the signals is shown.

【0037】図において、、読取部8に原稿がセット
され、読取部8から制御バス14を介して原稿読取要求
信号50がホストMPU7に出力されると、ホストMP
U7はこの原稿読取要求信号50の検知を行う。、前
記検知を行うと、ホストMPU7は符号化モード設定コ
マンド51を制御バス17を介して符号化部1に供給す
る。、符号化部1は、読取開始要求信号52を待機す
る状態に入り、読取部8から制御バス18を介して読取
開始要求信号52が供給されると、データライン22を
介して供給される原稿を読取ることにより得られた画像
データの符号化処理を開始する。この符号化処理の開始
後は、ページ終了要求信号53が入力されるまで、符号
化部1は設定された符号化モードにより前記符号化処理
を継続実行する。、原稿1ページ分の読取りが終了
し、読取部8から制御バス18を介してページ終了要求
信号53が符号化部1に供給されると、符号化部1は前
記符号化処理を停止する。、このとき、符号化部1
は、制御バス16を介して符号化終了信号54をホスト
MPU7に出力し、アイドル状態に入る。その後は、最
初の状態に戻り、これ以降、未だ読取りを行うべき原稿
があるときには、前記乃至の順序で前記動作が繰り
返し行われる。
In FIG. 3, when a document is set on the reading unit 8 and a document reading request signal 50 is output from the reading unit 8 via the control bus 14 to the host MPU 7, the host MP
U7 detects the document reading request signal 50. When the detection is performed, the host MPU 7 supplies the encoding mode setting command 51 to the encoding unit 1 via the control bus 17. The encoding unit 1 enters a state of waiting for a reading start request signal 52, and when the reading start request signal 52 is supplied from the reading unit 8 via the control bus 18, the original supplied via the data line 22 The encoding process of the image data obtained by reading is started. After the start of the encoding process, the encoding unit 1 continues the encoding process in the set encoding mode until the page end request signal 53 is input. When reading of one page of the document is completed and a page end request signal 53 is supplied from the reading unit 8 to the encoding unit 1 via the control bus 18, the encoding unit 1 stops the encoding process. At this time, the encoding unit 1
Outputs an encoding end signal 54 to the host MPU 7 via the control bus 16 and enters an idle state. Thereafter, the operation returns to the initial state, and when there is still a document to be read, the above operation is repeatedly performed in the above order.

【0038】以上説明したように、原稿の読取り及び読
取った画像データの符号化に関して見たときには、ホス
トMPU7は、読取部8から供給される原稿読取要求信
号50の印加の監視を行い、当該原稿読取要求信号50
が供給されたときに、符号化部1に対して符号化の準備
のための符号化モード設定コマンド51の供給の実行を
行いさえすれば、その後はホストMPU7を介在させる
ことなく、読取部8と符号化部1との間だけで独自に原
稿の読取り及び読取った画像データの符号化が行われる
ようになり、この間ホストMPU7のリアルタイム制御
を必要としないものである。また、読取った画像データ
の符号化処理の終了時においても、ホストMPU7は、
同じく原稿のページ単位毎に読取部8から供給される符
号化終了信号54の印加の監視を行い、当該符号化終了
信号54の受信が検出された後は他の情報処理の制御を
適宜実行できるものである。
As described above, the host MPU 7 monitors the application of the original reading request signal 50 supplied from the reading unit 8 when reading the original and encoding the read image data. Read request signal 50
Is supplied to the encoding unit 1 as long as the encoding mode setting command 51 for encoding preparation is supplied to the reading unit 8 without the intervention of the host MPU 7. The reading of the document and the coding of the read image data are performed independently only between the image processing unit and the encoding unit 1, and the real-time control of the host MPU 7 is not required during this period. Also, at the end of the encoding process of the read image data, the host MPU 7
Similarly, application of the encoding end signal 54 supplied from the reading unit 8 is monitored for each page of the document, and after the reception of the encoding end signal 54 is detected, control of other information processing can be appropriately executed. Things.

【0039】次に、図1、図2、図4を用いて、符号化
デ−タの復号化及び復号された画像デ−タの記録の際の
動作について説明する。
Next, the operation of decoding coded data and recording the decoded image data will be described with reference to FIGS. 1, 2 and 4.

【0040】始めに、通信制御部10または符号デ−タ
メモリ部11内に記録部9で記録したい原稿の符号化デ
−タがあるときに、通信制御部10または符号デ−タメ
モリ部11から原稿記録要求信号60がホストMPU7
に供給されると、ホストMPU7は、制御バス13を介
して記録部9に記録モ−ド設定コマンド67を供給する
とともに、制御バス17を介して復号化部2の復号化処
理部5に復号化モ−ド設定コマンド61を供給する。こ
のとき、記録部9は前記コマンド67の供給によって記
録準備状態になり、また、復号化部2は前記コマンド6
1の供給により復号化準備状態に入り、次いで、記録部
9から供給される記録開始要求信号62を待機する状態
になる。このとき、記録開始要求信号62がホストMP
U7を介することなく直接記録部9から制御バス21を
介して復号化部2に入力されると、復号化部2は記録開
始要求信号62の受信後直ちに復号化処理状態になり、
通信制御部10または符号デ−タメモリ部11からデ−
タライン25を介して供給される符号化デ−タの復号化
を実行する。この復号化処理状態はペ−ジ終了要求信号
63が通信制御部10または符号デ−タメモリ部11か
らホストMPU7を介して復号化部3に入力されるまで
続行される。復号化部2がペ−ジ終了要求信号63を受
信すると、復号化部2はアイドル状態となり、制御バス
16を介してホストMPU7へ復号化終了信号64を供
給する。ホストMPU7は、復号化終了信号64を受信
すると、復号化終了の確認を行い、かつ、システムに対
してコマンド65を供給してシステムが必要とする制御
を行うものである。
First, when there is encoded data of a document to be recorded by the recording unit 9 in the communication control unit 10 or the code data memory unit 11, the document is transmitted from the communication control unit 10 or the code data memory unit 11. The recording request signal 60 is transmitted from the host MPU 7
The host MPU 7 supplies the recording mode setting command 67 to the recording unit 9 via the control bus 13 and decodes the recording mode setting command 67 via the control bus 17 to the decoding processing unit 5 of the decoding unit 2. The mode setting command 61 is supplied. At this time, the recording unit 9 enters a recording preparation state by the supply of the command 67, and the decoding unit 2
1 and enters a decoding preparation state, and then enters a state of waiting for a recording start request signal 62 supplied from the recording unit 9. At this time, the recording start request signal 62
When the data is directly input from the recording unit 9 to the decoding unit 2 via the control bus 21 without passing through the U7, the decoding unit 2 enters the decoding processing state immediately after receiving the recording start request signal 62,
Data is transmitted from the communication control unit 10 or the code data memory unit 11.
The decoding of the encoded data supplied via the data line 25 is performed. This decoding processing state is continued until the page end request signal 63 is input from the communication control unit 10 or the code data memory unit 11 to the decoding unit 3 via the host MPU 7. When the decoding section 2 receives the page end request signal 63, the decoding section 2 enters an idle state and supplies a decoding end signal 64 to the host MPU 7 via the control bus 16. Upon receiving the decoding end signal 64, the host MPU 7 confirms the end of decoding, and supplies a command 65 to the system to perform control required by the system.

【0041】ここでも、前記必要とする制御とは、ファ
クシミリ操作の正常な実行の障害になる紙詰まりの有無
の点検や、次にさらに記録したい原稿の符号化デ−タが
あるときにはその記録の準備を行うための記録モ−タ等
の制御がこれに当たる。そして、次に記録したい原稿の
符号化デ−タがあるときには、通信制御部10または符
号デ−タメモリ部11からホストMPU7に次の原稿記
録要求信号66が供給され、それ以後は、前述の処理が
再度実行され、このときに途中で処理中断の指示がなけ
れば、記録したい全ての原稿の符号化デ−タがなくなる
まで前記処理が継続実行される。
In this case, the necessary control includes checking whether there is a paper jam which may hinder the normal execution of the facsimile operation, and when there is encoded data of a document to be further recorded next, the recording of the encoded data is performed. This corresponds to control of a recording motor or the like for preparation. When there is encoded data of the original to be recorded next, a next original recording request signal 66 is supplied from the communication control unit 10 or the encoded data memory unit 11 to the host MPU 7, and thereafter, the above-described processing is performed. Is executed again. At this time, if there is no instruction to interrupt the processing in the middle, the above-described processing is continuously executed until the encoded data of all the originals to be recorded is exhausted.

【0042】さらに、図2は、前記処理の際に、ホスト
MPU7が実行する処理フロ−をも示している。
FIG. 2 also shows a processing flow executed by the host MPU 7 in the above processing.

【0043】この処理フロ−は、原稿の読取り及び読取
ったデ−タの符号化の際の処理フロ−とほぼ同様なもの
であって、始めに、ホストMPU7が待機状態のとき
に、ホストMPU7に対して何等かの制御要求があった
ときは全体システム制御処理が起動実行され(ステップ
30)、次いで、前記システムからの要求の判別を行う
(ステップ30’)。この際にも、符号化デ−タの復号
化及び復号されたデ−タの記録を実行または中止するか
決定は以下のようにしてなされる。まず、記録したい符
号化デ−タがあるか否かの判断が行われ(ステップ3
5)、その判断においてイエスYのときは原稿記録要求
信号60の供給に応じて復号化モ−ド設定処理を行う
(ステップ36)とともに、制御バス17を介して復号
化部3に復号化モ−ド設定コマンド61を供給して最初
の待機状態に戻り、前記判断においてノウNのときは直
ちに最初の待機状態に戻る。前記コマンド61の出力後
に、記録部9において原稿の1ペ−ジ記録が終了された
か否かの判断が行われ(ステップ37)、その判断にお
いてイエスYのときは復号化終了確認とシステムが必要
とする制御とが行われ(ステップ38)て最初の待機状
態に戻り、前記判断においてノウNのときは直ちに最初
の待機状態に戻る。
This processing flow is almost the same as the processing flow for reading a document and encoding read data. First, when the host MPU 7 is in a standby state, the host MPU 7 If there is any control request to the system, the whole system control process is started and executed (step 30), and then a request from the system is determined (step 30 '). In this case, the decoding of the encoded data and the decision whether to execute or stop the recording of the decoded data are made as follows. First, it is determined whether or not there is encoded data to be recorded (step 3).
5) If the determination is YES, a decoding mode setting process is performed in accordance with the supply of the document recording request signal 60 (step 36), and the decoding mode is sent to the decoding unit 3 via the control bus 17. The control returns to the initial standby state by supplying the command setting command 61, and immediately returns to the initial standby state when the result of the determination is NO. After the output of the command 61, it is determined in the recording unit 9 whether or not the recording of one page of the document has been completed (step 37). If the determination is YES, a decoding completion confirmation and a system are necessary. (Step 38), and returns to the initial standby state. If the determination is NO, the control immediately returns to the initial standby state.

【0044】また、図6は、前述の一連の動作の際の各
種信号の伝送経路と伝送順序を示した系統図である。な
お、図中で、乃至は前記信号の伝送順序を示してい
る。
FIG. 6 is a system diagram showing transmission paths and transmission orders of various signals during the above-described series of operations. In the drawings, the order of transmission of the signals is shown.

【0045】図6において、、通信制御部10または
符号デ−タメモリ部11に記録したい原稿の符号化デ−
タがあって、通信制御部10または符号デ−タメモリ部
11から原稿記録要求信号60がホストMPU7に出力
されると、ホストMPU7はこの原稿記録要求信号60
の検知を行う。、前記検知を行うと、ホストMPU7
は、復号化モ−ド設定コマンド61を制御バス17を介
して復号化部2に供給し、同時に、記録モ−ド設定コマ
ンド67を制御バス13を介して記録部9に供給する。
、復号化部2は、記録開始要求信号62を待機する状
態に入り、記録部9から制御バス21を介して記録開始
要求信号62が供給されると、デ−タライン25を介し
て供給される符号化デ−タの復号化処理を開始する。こ
の復号化処理の開始後は、ペ−ジ終了要求信号63が入
力されるまで、復号化部2は設定された復号化モ−ドに
より前記復号化処理を継続実行する。、原稿1ペ−ジ
分の符号化デ−タの送出が終了し、通信制御部10また
は符号デ−タメモリ部11からペ−ジ終了要求信号63
がホストMPU7に、さらに、ホストMPUから制御バ
ス17を介して復号化部2に供給されると、復号化部2
は前記復号化処理を停止する。、このとき、復号化部
2は、制御バス16を介して復号化終了信号64をホス
トMPU7及び記録部9に出力し、アイドル状態に入
る。その後は、最初の状態に戻り、これ以降、未だ記録
したい原稿の符号化デ−タがあるときには、前記乃至
の順序で前記動作が繰り返される。
In FIG. 6, encoded data of an original to be recorded in the communication control unit 10 or the encoded data memory unit 11 is shown.
When a document recording request signal 60 is output from the communication control unit 10 or the code data memory unit 11 to the host MPU 7, the host MPU 7 outputs the document recording request signal 60.
Is detected. When the detection is performed, the host MPU 7
Supplies a decoding mode setting command 61 to the decoding unit 2 via the control bus 17 and simultaneously supplies a recording mode setting command 67 to the recording unit 9 via the control bus 13.
The decoding unit 2 enters a state of waiting for the recording start request signal 62, and when the recording start request signal 62 is supplied from the recording unit 9 via the control bus 21, it is supplied via the data line 25. The decoding process of the encoded data is started. After the start of the decoding process, the decoding unit 2 continues the decoding process in the set decoding mode until the page end request signal 63 is input. Then, the transmission of the encoded data for one page of the original is completed, and a page end request signal 63 from the communication control unit 10 or the encoded data memory unit 11 is sent.
Is supplied to the host MPU 7 and further from the host MPU to the decoding unit 2 via the control bus 17, the decoding unit 2
Stops the decoding process. At this time, the decoding unit 2 outputs a decoding end signal 64 to the host MPU 7 and the recording unit 9 via the control bus 16, and enters an idle state. Thereafter, the operation returns to the initial state, and when there is still encoded data of the original to be recorded, the above operation is repeated in the above order.

【0046】以上説明したように、符号化デ−タの復号
化及び復号されたデ−タの記録に関して見ると、ホスト
MPU7は、通信制御部10または符号デ−タメモリ部
11から供給される原稿記録要求信号60の印加の監視
を行い、当該原稿記録要求信号60が供給されたとき
に、復号化部2と記録部9に復号化の準備のための復号
化モ−ド設定コマンド61及び記録の準備のための記録
モ−ド設定コマンド67の供給の実行を行いさえすれ
ば、その後はホストMPU7を介在させることなく、復
号化部2と記録部9との間だけで独自に符号化デ−タの
復号化及び復号されたデ−タの記録が行われるようにな
り、この間ホストMPU7のリアルタイム制御を必要と
しないものである。また、符号化デ−タの復号化及び復
号されたデ−タの記録の終了時においても、ホストMP
U7は、前と同様に、通信制御部10または符号デ−タ
メモリ部11から原稿のペ−ジ単位毎に供給される復号
化終了信号64の印加の監視を行い、当該復号化終了信
号64の受信が検出された後は他の情報処理の制御を適
宜実行できるものである。
As described above, regarding the decoding of the encoded data and the recording of the decoded data, the host MPU 7 supplies the original supplied from the communication control unit 10 or the encoded data memory unit 11 to the original. The application of the recording request signal 60 is monitored, and when the document recording request signal 60 is supplied, the decoding mode setting command 61 and the recording for the decoding unit 2 and the recording unit 9 for preparation for decoding are recorded. As long as the supply of the recording mode setting command 67 for the preparation of the data is performed, the encoded data is independently transmitted only between the decoding unit 2 and the recording unit 9 without the intervention of the host MPU 7. The decoding of the data and the recording of the decoded data are performed, and during this time, the real-time control of the host MPU 7 is not required. Also, when the decoding of the encoded data and the recording of the decoded data are completed, the host MP
U7 monitors the application of the decoding end signal 64 supplied for each page of the document from the communication control unit 10 or the code data memory unit 11 as before, and monitors the application of the decoding end signal 64. After the reception is detected, control of other information processing can be appropriately executed.

【0047】続いて、図7を用いて、符号化部1と読取
部8との間、及び、ラインメモリ4と符号化処理部3と
の間の制御信号の授受の仕方について説明する。
Next, a method of transmitting and receiving control signals between the encoding unit 1 and the reading unit 8 and between the line memory 4 and the encoding processing unit 3 will be described with reference to FIG.

【0048】図において、100はデ−タバスインタ−
フェイス(I/F)、101は3ラインアドレス制御I
/F、102は読取制御I/F、103は符号化演算部
であり、これらは連鎖状に結合されて、符号化処理部3
を構成している。
In the figure, reference numeral 100 denotes a data bus interface.
Face (I / F), 101 is 3-line address control I
/ F and 102 are read control I / Fs and 103 is an encoding operation unit, which are connected in a chain to form an encoding processing unit 3
Is composed.

【0049】そして、読取制御I/F102は、制御バ
ス18を介して授受される制御信号の内のペ−ジ開始信
号とペ−ジ終了信号を検知する機能を具備し、その機能
によりペ−ジ開始信号とペ−ジ終了信号の検知を行い、
他の何等の制御を介在することなく原稿のペ−ジ単位毎
の読取り開始及び読取り終了のタイミングを読取部8と
の間で取り、読取制御I/F102に内蔵されているデ
−タ入出力タイミング信号の制御を行って、原稿の読取
り及び読取ったデ−タの符号化を実行している。また、
3ラインアドレス制御I/F101及びデ−タバスI/
F100は、ラインメモリ部4と符号化処理部3との間
で行う以下に述べるような画像デ−タの授受の制御を行
うものである。
The read control I / F 102 has a function of detecting a page start signal and a page end signal among the control signals transmitted and received via the control bus 18, and the page control is performed by the function. Detect page start signal and page end signal,
The read start and read end timing of each page of the document is interposed with the reading unit 8 without any other control, and the data input / output incorporated in the read control I / F 102 is performed. A timing signal is controlled to read a document and encode the read data. Also,
3-line address control I / F 101 and data bus I / F
F100 controls the transfer of image data between the line memory unit 4 and the encoding processing unit 3 as described below.

【0050】一般に、画像デ−タを符号化する場合に
は、当該画像デ−タ中の単位長さ当たりの白黒画素の変
化点の数が多いほど、画像デ−タの符号化に時間を要す
る。そして、通常、画像デ−タの読取りに際しては、一
定速度で画像デ−タの読取りを行うように構成されてい
るが、一定速度で画像デ−タの読込みを行ったときに、
読取部8と符号化部1との間にメモリ手段を配置してい
ない場合には、一定速度の画像デ−タの読込みに同期し
て当該読込みデ−タの符号化を行わねばならない。一
方、一定速度で画像デ−タの符号化を行う場合にはその
符号化が遅れたときに未符号化画像デ−タ信号が発生し
ないようにするため、通常は、その安全性を見越して符
号化部1に入力される画像デ−タの入力速度を抑えるよ
うにしている。
In general, when encoding image data, the greater the number of black and white pixel change points per unit length in the image data, the more time is required for encoding the image data. It costs. Usually, when reading the image data, the image data is read at a constant speed. However, when the image data is read at a constant speed, the image data is read.
If no memory means is arranged between the reading unit 8 and the encoding unit 1, the reading data must be encoded in synchronization with the reading of the image data at a constant speed. On the other hand, when encoding image data at a constant speed, in order to prevent the generation of an unencoded image data signal when the encoding is delayed, usually, in consideration of its security. The input speed of image data input to the encoding unit 1 is suppressed.

【0051】ところで、読取部8と符号化部1との間に
メモリ手段を配置した場合においても、画像デ−タの符
号化の速度が比較的速くなるように設定されているとき
には、未だ画像デ−タの読取りが完了していないライン
まで符号化を実行してしまう危険性があるため、符号化
を実行しているラインが当該メモリ手段の画像デ−タ入
力ラインを追い越さないような機能を付加する必要性が
生じてくる。
By the way, even when the memory means is arranged between the reading unit 8 and the encoding unit 1, if the encoding speed of the image data is set to be relatively high, the image is still not obtained. Since there is a risk that encoding may be performed up to a line where data reading has not been completed, a function that prevents the line being encoded from overtaking the image data input line of the memory means. Need to be added.

【0052】この場合、画像デ−タの符号化を高速度で
行うためには、画像デ−タを原稿のペ−ジ単位にRAM
などのメモリに記憶し、記憶完了後に符号化を実行すれ
ば、符号化時間に対する安全性を見越した設定を行う必
要がなくなって高速化が期待できるが、膨大なビットマ
ップペ−ジメモリが必要になり、かつ、メモリ管理機能
も大きくなって、極めて不経済になるものである。
In this case, in order to encode the image data at a high speed, the image data is stored in the RAM in units of pages of the original.
If the encoding is executed after the completion of the storage, it is not necessary to perform the setting in consideration of the safety with respect to the encoding time, and high speed can be expected. However, a huge bit map page memory is required. In addition, the memory management function becomes large, which is extremely uneconomical.

【0053】本発明は、このような場合に対処できるよ
うな構成を採用しているもので、前記機能を符号化処理
部4に内蔵させることにより、外部の制御素子の処理負
荷を増加させることなく、簡素化された構成で実施する
ことができるものである。
The present invention employs a configuration capable of coping with such a case. By incorporating the above functions in the encoding processing unit 4, the processing load of an external control element can be increased. Instead, it can be implemented with a simplified configuration.

【0054】即ち、本発明は、符号化処理部4内に、画
像デ−タ未設定ラインの追越しを防止する機能を持った
3ラインアドレス制御I/F101を配置し、さらに、
符号化部2に3ライン分のラインメモリ4を配置したも
のである。前記画像デ−タ未設定ラインの追越し防止機
能としては、例えば、ライン単位毎に画像デ−タ設定完
了フラグを設ける方法や、用紙サイズと読取り密度から
予めラインアドレスの設定を行い、符号化ラインと画像
デ−タ入力ラインとの間に必ず前記設定アドレス差を有
するように制御する方法、またはカウンタを設けて画像
デ−タ入力ラインと符号化ラインとの間に必ず一定以上
の差を生じるように設定する方法等の、一般的な方法を
用いることにより十分実現可能なものである。この場
合、読取部8から供給される画像デ−タは、3ラインア
ドレス制御I/F101の制御によってラインメモリ4
に供給されて一時的に記憶され、次いで、デ−タバスI
/F100を介して符号化演算部103へ送られ、そこ
で符号化が実行された後、符号化デ−タとして出力され
る。
That is, according to the present invention, a three-line address control I / F 101 having a function of preventing overtaking of a line for which image data has not been set is arranged in the encoding processing unit 4.
The line memory 4 for three lines is arranged in the encoding unit 2. The overtaking prevention function of the image data unset line includes, for example, a method of providing an image data setting completion flag for each line unit, setting of a line address in advance based on the paper size and reading density, and A method of controlling so as to always have the set address difference between the image data input line and the image data input line, or providing a counter so as to always generate a difference greater than a certain value between the image data input line and the encoding line. It can be sufficiently realized by using a general method such as a setting method as described above. In this case, the image data supplied from the reading unit 8 is supplied to the line memory 4 under the control of the 3-line address control I / F 101.
And stored temporarily, and then the data bus I
The data is sent to the coding operation unit 103 via / F100, where the coding is executed, and then output as coded data.

【0055】以上のように、前記配置を採用すれば、符
号化処理部4に3ライン分の新たなメモリ管理機能を付
加するだけで、その他に大きなメモリ管理機能の付加を
必要としないことから、十分にハ−ドの簡素化を図るこ
とができる。
As described above, if the above arrangement is adopted, only a new memory management function for three lines is added to the encoding processing unit 4, and no additional large memory management function is required. Thus, the hardware can be sufficiently simplified.

【0056】ここで、ラインメモリ4が3ライン分の容
量を有するだけでデ−タ処理の高速化が図れる理由につ
いて説明すると、MR、MMR符号化は、符号化するラ
インの一つ手前のラインを参照ラインとして2次元符号
化を行っているため、2ライン分のラインメモリを必要
とするが、3ライン分の容量を持つラインメモリの管理
機能を有すれば、当該符号化処理の実行中に、残りの1
ラインをパイプライン的に画像デ−タの入力用として使
用できるので、前記デ−タ処理の高速化が図れるもので
ある。そして、通常、ファクシミリやオフィスで使用さ
れるドキュメントは、最大A3サイズ程度であって、4
00dpiという高精細な読込にを行ったとしても、高
々2kバイト程度の制御をすれば足りることから、この
ような制御にプロセッサを使用したのでは不経済にな
る。
Here, the reason why the speed of data processing can be improved only by the line memory 4 having a capacity of three lines will be described. In MR and MMR encoding, the line immediately before the line to be encoded is used. Since two-dimensional encoding is performed with reference to a reference line, two lines of line memory are required. However, if a line memory management function having a capacity of three lines is provided, the encoding process is being executed. And the remaining one
Since the lines can be used for inputting image data in a pipeline manner, the speed of the data processing can be increased. Normally, a document used in a facsimile or an office has a maximum size of about A3.
Even if a high-resolution reading of 00 dpi is performed, a control of at most about 2 kbytes is sufficient, and it is uneconomical to use a processor for such control.

【0057】以上説明したように、本願発明は、3ライ
ン分のラインメモリ4と3ラインアドレス制御I/F1
01等を付加するだけで、経済的なパイプライン的処理
を行うことができ、デ−タ処理の高速化が可能になるも
のである。このため、各制御バスの負荷が軽減し、原稿
の読取り速度として10Mb/sが達成でき、G3ファ
クシミリで使用される副走査方向の線密度7.7本/m
mの場合においても、A4サイズの原稿を1秒程度で読
取り、その読取ったデ−タの符号化が可能になる。ちな
みに、この速度は、通常のG3ファクシミリ通信の場合
の10倍以上であり、原稿をセットし、符号化圧縮し、
メモリ等に蓄積した後に、通信を行えば、送信者の原稿
読込み待ち時間の短縮を高コストパフォ−マンスで実現
できることになる。
As described above, according to the present invention, the line memory 4 for three lines and the three-line address control I / F 1
By simply adding 01 or the like, economical pipeline processing can be performed and data processing can be speeded up. Therefore, the load on each control bus is reduced, a document reading speed of 10 Mb / s can be achieved, and the line density in the sub-scanning direction used in the G3 facsimile is 7.7 lines / m.
Even in the case of m, an A4-size original is read in about one second, and the read data can be encoded. By the way, this speed is more than 10 times that of normal G3 facsimile communication.
If communication is performed after storage in a memory or the like, it is possible to reduce the waiting time for reading a document by a sender with high cost performance.

【0058】次に、図8を用いて、復号化部2と記録部
9との間、及び、ラインメモリ6と復号化処理部5との
間の制御信号の授受の仕方について説明する。
Next, with reference to FIG. 8, a method of transmitting and receiving control signals between the decoding unit 2 and the recording unit 9 and between the line memory 6 and the decoding processing unit 5 will be described.

【0059】図において、110はデ−タバスインタ−
フェイス(I/F)、111は3ラインアドレス制御I
/F、112は記録制御I/F、113は復号化演算部
であり、これらは連鎖状に結合されて、復号化処理部5
を構成している。
In the figure, reference numeral 110 denotes a data bus interface.
Face (I / F), 111 is 3-line address control I
/ F, 112 is a recording control I / F, 113 is a decoding operation unit, and these are combined in a chain to form a decoding processing unit 5.
Is composed.

【0060】そして、記録制御I/F112は、制御バ
ス21を介して授受される制御信号の内の記録ペ−ジ開
始信号を検知する機能と記録ペ−ジ終了信号を出力する
機能を具備し、その機能により記録ペ−ジ開始信号の検
知と記録ペ−ジ終了信号の出力を行い、他の何等の制御
を介在させることなく原稿のペ−ジ単位毎の記録の開始
及び記録の終了のタイミングを記録部9との間で取り、
記録制御I/F112に内蔵されているデ−タ入出力タ
イミング信号の制御を行って、符号化デ−タの復号化及
び復号されたデ−タの記録を実行している。また、3ラ
インアドレス制御I/F111及びデ−タバスI/F1
10は、ラインメモリ部6と復号化処理部5との間で行
う以下に述べる画像デ−タの授受の制御を行うものであ
る。
The recording control I / F 112 has a function of detecting a recording page start signal among the control signals transmitted and received via the control bus 21 and a function of outputting a recording page end signal. With this function, the recording page start signal is detected and the recording page end signal is output, and the recording start and end of recording for each page unit of the document are performed without any other control. The timing is taken between the recording unit 9 and
By controlling the data input / output timing signal built in the recording control I / F 112, decoding of the encoded data and recording of the decoded data are executed. Also, a 3-line address control I / F 111 and a data bus I / F 1
Numeral 10 controls the transfer of image data described below between the line memory unit 6 and the decoding processing unit 5.

【0061】ここでも、符号化の場合と同様に、符号化
デ−タを復号する場合には、当該符号化デ−タ中の単位
長さ当たりの白黒画素の変化点の数が多いほど、単位時
間当たりの符号化デ−タの復号される割合は少なくな
る。そして、一般に、復号された画像デ−タの記録に際
しては、一定速度で当該画像デ−タの記録を行うように
構成されているが、一定速度で画像デ−タを記録を行っ
たときに、記録部9と復号化部2との間にメモリ手段を
配置していない場合には、符号化デ−タの復号速度に同
期した一定速度で以って当該画像デ−タの記録を行わね
ばならない。一方、一定速度で当該画像デ−タの記録を
行う場合にはその復号化が遅れたときに未復号デ−タが
記録されないようにするため、通常は、その安全性を見
越して当該画像デ−タの記録速度を抑えるようにしてい
る。
Here, as in the case of encoding, when decoding encoded data, the larger the number of black and white pixel change points per unit length in the encoded data, the larger the number of change points. The rate at which encoded data is decoded per unit time is reduced. In general, when the decoded image data is recorded, the image data is recorded at a constant speed. However, when the image data is recorded at a constant speed, the image data is recorded. If no memory means is arranged between the recording unit 9 and the decoding unit 2, the recording of the image data is performed at a constant speed synchronized with the decoding speed of the encoded data. I have to. On the other hand, when the image data is recorded at a constant speed, in order to prevent the undecoded data from being recorded when the decoding is delayed, the image data is usually considered in consideration of its security. Data recording speed.

【0062】さらに、復号化部2と記録部9との間にメ
モリ手段を配置した場合においても、符号化デ−タの復
号化の速度が比較的速くなるように設定されているとき
には、未だ画像デ−タを記録部9に出力していないライ
ン上に復元した画像デ−タを再度書き込んでしまう、所
謂、オ−バ−ライトが発生してしまう危険性があるた
め、復号化を実行しているラインが当該メモリ手段の画
像デ−タの記録ラインを追い越さないような機能を付加
する必要性が生じてくる。
Further, even when the memory means is arranged between the decoding unit 2 and the recording unit 9, if the decoding speed of the encoded data is set to be relatively high, it is still not possible. Since there is a risk of rewriting the restored image data on a line where the image data has not been output to the recording unit 9, that is, so-called overwriting, decoding is performed. There is a need to add a function that prevents the line being overtaken from the recording line of the image data of the memory means.

【0063】この場合においても、符号化デ−タの復号
化を高速度で行うためには、復号された画像デ−タをペ
−ジ単位毎にRAMなどのメモリに記憶し、記憶完了後
に記録の実行を行えば、復号化時間に対する安全性を見
越した設定を行う必要がなくなって高速化が期待できる
が、この場合も膨大なビットマップペ−ジメモリが必要
になり、かつ、メモリ管理機能も大きくなって、極めて
不経済になる。
Even in this case, in order to decode the encoded data at a high speed, the decoded image data is stored in a memory such as a RAM for each page, and after the storage is completed, By executing the recording, it is not necessary to perform the setting in consideration of the security for the decoding time, and high speed can be expected. However, in this case, a huge bitmap page memory is required, and the memory management function is required. And become extremely uneconomical.

【0064】本発明は、このような場合に対処できるよ
うな構成を採用しているもので、前記機能を復号化処理
部5に内蔵させることにより、外部の制御素子の処理負
荷を増加させることなく、簡素化された構成で実施する
ことができるものである。
The present invention employs a configuration capable of coping with such a case. By incorporating the above functions in the decoding processing unit 5, it is possible to increase the processing load on an external control element. Instead, it can be implemented with a simplified configuration.

【0065】即ち、本発明は、復号化処理部5内に、復
号されたデ−タの記録が復号化ラインを追越してしまう
のを防止する追越し防止機能を持った3ラインアドレス
制御I/F111を配置し、さらに、復号化部2に3ラ
イン分のラインメモリ6を配置したものである。前記追
越し防止機能としては、符号化の際に用いられる前述の
追越し防止機能と同様の一般的な方法を用いることによ
り十分実現可能なものである。この場合にも、符号化デ
−タは復号化演算部113によって復号され、その復号
された画像デ−タは3ラインアドレス制御I/F111
の制御によりデ−タバスI/F110を介してラインメ
モリ部6に入力されて一時的に記憶され、次いで、読出
されて記録部9に供給され、そこで記録される。
That is, according to the present invention, the three-line address control I / F 111 having the overtaking prevention function for preventing the recording of the decoded data from overtaking the decoding line in the decoding processing unit 5. , And a line memory 6 for three lines is arranged in the decoding unit 2. The overtaking prevention function can be sufficiently realized by using the same general method as the above-mentioned overtaking prevention function used in encoding. Also in this case, the encoded data is decoded by the decoding operation unit 113, and the decoded image data is transmitted to the 3-line address control I / F 111.
Is input to the line memory unit 6 via the data bus I / F 110 and temporarily stored, then read out and supplied to the recording unit 9 where it is recorded.

【0066】以上のように、前記配置を採用すれば、復
号化処理部5に3ライン分の新たなメモリ管理機能を付
加するだけで、その他に大きなメモリ管理機能の付加を
必要としないことから、十分にハ−ドの簡素化を図るこ
とができる。
As described above, if the above arrangement is adopted, only a new memory management function for three lines is added to the decoding processing unit 5, and no additional large memory management function is required. Thus, the hardware can be sufficiently simplified.

【0067】ここにおいても、ラインメモリ部6が3ラ
イン分の容量を有するだけでデ−タ処理の高速化が図れ
る理由について説明すると、MR、MMR復号化は、復
号化したラインの一つ手前のラインを参照ラインとして
2次元復号化を行っているため、2ライン分のラインメ
モリを必要とするものの、3ライン分の容量を持つライ
ンメモリの管理機能を有すれば、当該復号化処理の実行
中に、残りの1ラインをパイプライン的に記録すべき復
号されたデ−タの出力用として使用できるので、デ−タ
処理の高速化が図れるものである。そして、この場合
も、通常、ファクシミリやオフィスで使用されるドキュ
メントは、最大A3サイズ程度であって、400dpi
という高精細な読込にを行ったとしても、高々2kバイ
ト程度の制御をすればよいことから、このような制御に
プロセッサを使用したのでは不経済になることは前述の
場合と同じである。
Here, the reason why the speed of the data processing can be improved only by the line memory unit 6 having the capacity of three lines will be described. The MR and MMR decoding is performed immediately before the decoded line. Is used as a reference line to perform two-dimensional decoding, a line memory for two lines is required. However, if a line memory management function having a capacity for three lines is provided, the decoding During execution, the remaining one line can be used for outputting decoded data to be recorded in a pipeline manner, so that the data processing can be speeded up. Also in this case, a document used in a facsimile or an office is usually up to about A3 size and 400 dpi.
Even if such high-definition reading is performed, since control of at most about 2 kbytes only needs to be performed, it is uneconomical to use a processor for such control, as in the case described above.

【0068】以上説明したように、本願発明は、符号化
デ−タの復号及び復号されたデ−タの記録においても、
3ライン分のラインメモリ部6と3ラインアドレス制御
I/F111等を付加するだけで、経済的なパイプライ
ン的処理を行うことができ、デ−タ処理の高速化が可能
になるものである。このため、各制御バスの負荷が軽減
し、符号化デ−タの復号時の速度として10Mb/sが
達成でき、G3ファクシミリで使用される副走査方向の
線密度7.7本/mmの場合においても、A4サイズの
原稿の符号化デ−タを1秒程度で復号し、その復号され
たデ−タの記録が可能になる。ちなみに、この速度は、
通常のG3ファクシミリ通信の場合の10倍以上であ
り、受信した符号化デ−タを一旦圧縮してメモリ等に蓄
積しておき、当該通信の終了後に一括して出力させれ
ば、扱い者の記録待ち時間を短縮でき、扱い者にとって
快適と思われる記録サ−ビスを高いコストパフォ−マン
スで実現できることになる。
As described above, the present invention is applicable to the decoding of encoded data and the recording of the decoded data.
By simply adding the line memory unit 6 for three lines and the three-line address control I / F 111, economical pipeline processing can be performed and data processing can be speeded up. . For this reason, the load on each control bus is reduced, a speed of 10 Mb / s can be achieved as a decoding speed of coded data, and a linear density of 7.7 lines / mm in the sub-scanning direction used in G3 facsimile. In this case, the encoded data of an A4 size document can be decoded in about one second, and the decoded data can be recorded. By the way, this speed is
It is 10 times or more that of normal G3 facsimile communication. If the received coded data is compressed once and stored in a memory or the like and output collectively after completion of the communication, The recording waiting time can be shortened, and the recording service which is considered comfortable for the operator can be realized with high cost performance.

【0069】以上の説明は、符号化及び復号化とが、独
立して動作できるものであることを前提として行ったも
のであるが、この場合には原稿の読取りと復号されたデ
−タの記録との同時動作を可能にするマルチ動作が実現
でき、サ−ビス向上に大きく貢献するするものである。
そして、このマルチ動作を実行すれば、タイムシェアリ
ング等の採用により、複雑な制御を必要としたり、実行
時間の遅れが生じることもあるものの、ハ−ドコストが
削減できるという非常に大きな効果を奏するものであ
る。
The above description has been made on the assumption that the encoding and the decoding can operate independently. In this case, the reading of the original and the decoding of the decoded data are performed. A multi-operation enabling simultaneous operation with recording can be realized, which greatly contributes to improvement of service.
When this multi-operation is executed, the use of time sharing or the like requires complicated control and may cause a delay in the execution time, but has a very large effect that the hard cost can be reduced. Things.

【0070】一方、前記マルチ動作を実行しない場合に
は、符号化部1と復号化部2の構成を簡素化し、例え
ば、ラインメモリ部4、6を共有させたり、デ−タバス
I/F100、110を総合させて双方向バスI/Fに
変更させたりすることができる。さらに、3ラインアド
レス制御I/F101、111や、読取制御I/F10
2と記録制御I/F112のデ−タ入出力タイミング信
号等も共有させることができるので、より簡素化した構
成を得ることが可能になる。
On the other hand, when the multi-operation is not performed, the configurations of the encoding unit 1 and the decoding unit 2 are simplified, for example, the line memories 4 and 6 are shared, and the data bus I / F 100, 110 can be changed to a bidirectional bus I / F. Further, a 3-line address control I / F 101, 111, a read control I / F 10
2 and the data input / output timing signal of the recording control I / F 112 can be shared, so that a more simplified configuration can be obtained.

【0071】以上の説明は、本発明による符号化復号化
方式をファクシミリ装置に適用した場合について行って
いるが、本発明による符号化復号化方式の適用機種はフ
ァクシミリ装置に限られるものではなく、他の機種にも
適用可能なものである。
The above description has been made on the case where the encoding / decoding system according to the present invention is applied to a facsimile apparatus. However, the applicable model of the encoding / decoding system according to the present invention is not limited to a facsimile apparatus. It is applicable to other models.

【0072】また、以上の説明においては、符号化部
1、復号化部2、ホストMPU7、読取部8、記録部
9、通信制御部10、符号デ−タメモリ部11等を個別
に構成したものとして行ってきたが、本発明は、このよ
うな個別の構成のものに限られるものではなく、前記各
構成が有する機能を含むものであれば、それらの構成の
ものを適宜組み合わせたものにすることができる。
In the above description, the encoding unit 1, the decoding unit 2, the host MPU 7, the reading unit 8, the recording unit 9, the communication control unit 10, the code data memory unit 11, and the like are individually configured. However, the present invention is not limited to such an individual configuration, and if the configuration includes the function of each configuration, the configuration is appropriately combined with the configuration. be able to.

【0073】そして、特に、符号化部1と復号化部2の
構成に際しては、従来行っていたのと同様に、符号化部
1と復号化部2を1つの大規模集積回路(LSI)に組
込み、前記LSIと外部回路との接続を前記LSIに導
出したピンによって行うか、または、符号化部1と復号
化部2を1つのボ−ドに組込み、このボ−ドと外部回路
との接続を前記ボ−ドに導出したピンによって行うよう
にしてもよい。ただし、このようなLSIまたはボ−ド
の構成を採用した場合には、従来導出したピンの他に、
ペ−ジ終了信号が入出力されるピンを新たに設ける必要
がある。
In particular, when the encoding unit 1 and the decoding unit 2 are configured, the encoding unit 1 and the decoding unit 2 are combined into one large-scale integrated circuit (LSI) as in the conventional case. Incorporation, the connection between the LSI and the external circuit is made by pins derived from the LSI, or the encoding unit 1 and the decoding unit 2 are incorporated into one board, and the connection between the board and the external circuit is established. The connection may be made by a pin led out to the board. However, when such an LSI or board configuration is adopted, in addition to the conventionally derived pins,
It is necessary to newly provide a pin for inputting and outputting a page end signal.

【0074】この他にも、読取部8で行っている原稿の
読取り、及び/または、記録部9で行っているデ−タの
記録のための媒体としては、単に紙類だけに限られるも
のではなく、磁気装置や光ファイル等の媒体を適宜用い
るようにしてもよい。
In addition, as a medium for reading an original performed by the reading unit 8 and / or recording data performed by the recording unit 9, the medium is not limited to paper. Instead, a medium such as a magnetic device or an optical file may be appropriately used.

【0075】さらに、少なくとも復号化部2と記録部9
の構成を一体的な装置にまとめ、それらをプリンタの形
式に構成することもできる。
Further, at least the decoding unit 2 and the recording unit 9
Can be integrated into an integrated device, and they can be configured in the form of a printer.

【0076】[0076]

【発明の効果】以上説明したように、本発明による符号
化復号化方式は、原稿のぺ−ジ単位毎に、符号化または
復号化の処理開始以前にホスト制御部が必要なコマンド
を所定のものに供給するだけで、その後符号化部また
は復号化部が、ホスト制御部を介在させない状態で、す
なわち大容量の外部メモリを用いることなしに独自に、
原稿の読取り及び読取りデ−タの符号化、並びに、符号
化デ−タの復号及び復号されたデ−タの記録をそれぞれ
実行するようにしているので、全期間ホスト制御部が制
御を管理している従来の方式に比べて負荷は非常に軽減
される。
As described above, in the encoding / decoding system according to the present invention, the command required by the host control unit before the start of the encoding / decoding processing is determined for each page unit of the document. Only after supplying the data to the device, and then the encoding unit or the decoding unit is operated in a state where the host control unit is not interposed.
That is, without using a large-capacity external memory ,
Reading and reading data of the document - the encoding of data, as well as code cade - data decoding and decoded de - since the data recorded in to run respectively, manage the entire period the host controller to control The load is greatly reduced as compared with the conventional method.

【0077】そして、本発明による符号化復号化方式
は、符号化処理中または復号化処理中に、ホスト制御部
7のリアルタイムでの制御信号の授受が不要になったた
め、符号化処理及び復号化処理自体も従来のものに比べ
て高速化され、通常のG3ファクシミリにおける原稿の
入出力速度の10倍以上の高速度で原稿の入出力処理が
可能となるという顕著な効果を奏するものである。
The encoding / decoding system according to the present invention does not require the real-time transmission and reception of control signals by the host control unit 7 during the encoding process or the decoding process. The processing itself is also faster than the conventional one, and has a remarkable effect that the input / output processing of the document can be performed at a speed higher than or equal to 10 times the input / output speed of the document in a normal G3 facsimile.

【0078】また、本発明による符号化復号化方式は、
従来必要とされていたビットマップペ−ジメモリを使用
しないため、当該部分の信号処理が簡素化され、その分
だけ他の信号処理時の高速化を図ることができる。さら
に、前記簡素化された信号処理の採用により、ホスト制
御部7の負荷が大幅に軽減されるため、制御機能が向上
したにも係わらず、処理性能の高いプロセッサの使用や
マルチプロセッサの使用が不要になり、より高度なサ−
ビスを低コストで実現させることができる。
The encoding / decoding method according to the present invention is as follows.
Since the bitmap page memory, which has been conventionally required, is not used, the signal processing of the relevant portion is simplified, and the speed of other signal processing can be increased correspondingly. Further, by adopting the simplified signal processing, the load on the host control unit 7 is greatly reduced, so that the use of a processor having high processing performance or the use of a multiprocessor is improved despite the improved control function. No longer required, more advanced services
Screws can be realized at low cost.

【0079】この結果、取扱い者の待ち時間を大幅に短
縮したサ−ビスや、マンマシン性を向上させるサ−ビス
を高いコストパフォ−マンスで提供できるという優れた
効果を奏するものである。
As a result, there is an excellent effect that a service in which the waiting time of the operator is greatly reduced and a service in which the man-machine property is improved can be provided with high cost performance.

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

【図1】本発明の符号化復号化方式を適用したファクシ
ミリ装置を示すブロック構成図である。
FIG. 1 is a block diagram showing a facsimile apparatus to which an encoding / decoding method according to the present invention is applied.

【図2】ホストMPUが実行する処理の流れを示すフロ
ーチャートである。
FIG. 2 is a flowchart illustrating a flow of a process executed by a host MPU.

【図3】符号化時におけるシステム、ホスト制御部、符
号化部間の処理の時間的経緯を示す説明図である。
FIG. 3 is an explanatory diagram showing the time history of processing among a system, a host control unit, and an encoding unit during encoding.

【図4】復号化時におけるシステム、ホスト制御部、復
号化部間の処理の時間的経緯を示す説明図である。
FIG. 4 is an explanatory diagram showing the time history of processing among a system, a host control unit, and a decoding unit at the time of decoding.

【図5】図3の処理の時間的経緯を制御信号の流れで示
すハードイメージ図である。
FIG. 5 is a hardware image diagram showing the time history of the processing of FIG. 3 by the flow of a control signal.

【図6】図4の処理の時間的経緯を制御信号の流れで示
すハードイメージ図である。
FIG. 6 is a hardware image diagram showing the time history of the processing in FIG. 4 by the flow of a control signal.

【図7】符号化部の構成と制御信号の流れを示す系統図
である。
FIG. 7 is a system diagram showing a configuration of an encoding unit and a flow of a control signal.

【図8】復号化部の構成と制御信号の流れを示す系統図
である。
FIG. 8 is a system diagram showing a configuration of a decoding unit and a flow of a control signal.

【図9】画像の副走査方向の移動量を示す説明図であ
る。
FIG. 9 is an explanatory diagram showing the amount of movement of an image in the sub-scanning direction.

【符号の説明】[Explanation of symbols]

1 符号化部 2 復号化部 3 符号化処理部 4、6 ラインメモリ部 5 復号化処理部 7 ホストMPU(ホスト制御部) 8 読取部 9 記録部 10 通信制御部 11 符号データメモリ部 12、13、14、15、16、17、18、19、2
0、21 制御バス 22、23、24、25、26、27、28、29 デ
ータライン 40 符号化復号化部 41 データ入出力部 100、110 データバスインターフェイス(I/
F) 101、111 3ラインアドレス制御I/F 102 読取制御I/F 103 符号化演算部 112 記録制御I/F 113 復号化演算部
DESCRIPTION OF SYMBOLS 1 Encoding part 2 Decoding part 3 Encoding processing part 4, 6 Line memory part 5 Decoding processing part 7 Host MPU (Host control part) 8 Reading part 9 Recording part 10 Communication control part 11 Code data memory part 12, 13 , 14,15,16,17,18,19,2
0, 21 control bus 22, 23, 24, 25, 26, 27, 28, 29 data line 40 encoding / decoding section 41 data input / output section 100, 110 data bus interface (I /
F) 101, 111 3 line address control I / F 102 read control I / F 103 encoding operation unit 112 recording control I / F 113 decoding operation unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小嶋 康行 茨城県日立市久慈町4026番地 株式会社 日立製作所 日立研究所内 (72)発明者 浅井 剛 茨城県日立市幸町3丁目2番1号 日立 エンジニアリング株式会社内 (56)参考文献 特開 平2−58977(JP,A) 特開 昭56−85176(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/41 - 1/419 H03M 7/30 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yasuyuki Kojima 4026 Kuji-cho, Hitachi City, Ibaraki Prefecture Within Hitachi Research Laboratory, Hitachi, Ltd. (56) References JP-A-2-58977 (JP, A) JP-A-56-85176 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/41 -1/419 H03M 7/30

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくとも、原稿の走査読取りを行う読
取部と、前記読取部で読取ったデータを符号化する符号
化復号化部と、情報処理に対する全体制御を行うホスト
制御部とを有し、前記ホスト制御部は、前記読取部から
原稿読取要求を受けると、前記符号化復号化部を符号化
モードに設定すると共に前記符号化復号化部に符号化準
備コマンドを供給し、その後、前記符号化復号化部は、
前記ホスト制御部の介在がない状態で、前記読取部から
読取開始要求を受けると、前記データの符号化処理を行
い、さらに、前記符号化復号化部は、前記ホスト制御部
の介在がない状態で、前記読取部からページ終了要求を
受けると、前記データの符号化処理を終了すると共に前
記ホスト制御部に符号化終了信号を供給し、前記ホスト
制御部は、前記符号化終了信号を受けると、前記読取部
に符号化終了コマンドを供給することを特徴とする符号
化復号化方式。
At least a reading for scanning and reading a document.
And isolation portion includes a coding and decoding unit for encoding the data read by the reading unit, and a host control unit that performs overall control to the information processing, the host controller from the reading unit
When a document reading request is received, the encoding / decoding unit is encoded.
Mode and the encoding / decoding unit
Supply command, after which the encoding and decoding unit,
In the absence intervention of the host controller, from the reading unit
Upon receiving the reading start request, the data encoding process is performed.
Further, the encoding / decoding unit includes the host control unit.
A page end request from the reading unit without any intervention
Upon receiving the data, the data encoding process is terminated and
Supplying an encoding end signal to the host control unit;
When the control unit receives the encoding end signal, the reading unit
An encoding / decoding method characterized in that an encoding end command is supplied to the encoding device.
【請求項2】 少なくとも、受信部または符号化データ
記憶部から入力される符号化データを復号する符号化復
号化部と、前記符号化復号化部で復号したデータを記録
する記録部と、情報処理に対する全体制御を行うホスト
制御部とを有し、前記ホスト制御部は、前記受信部また
は前記符号化データ記憶部から原稿記録要求を受ける
と、前記符号化復号化部を復号化記録モードに設定する
と共に前記符号化復号化部に復号化コマンドを供給し、
その後、前記符号化復号化部は、前記ホスト制御部の介
在がない状態で、前記受信部または前記符号化データ記
憶部から記録開始要求を受けると、前記データの復号化
処理を行い、さらに、前記符号化復号化部は、前記ホス
ト制御部の介在がない状態で、前記受信部または前記符
号化データ記憶部からページ終了要求を受けると、前記
データの復号化処理を終了すると共に前記ホスト制御部
に復号化終了信号を供給し、前記ホスト制御部は、前記
復号化終了信号を受けると、前記記録部に復号化終了
マンドを供給することを特徴とする符号化復号化方式。
2. At least a receiving unit or encoded data
Encoding decoding for decoding encoded data input from the storage unit
Recording the data decoded by the encoding unit and the encoding / decoding unit.
And a host control unit that performs overall control on information processing, wherein the host control unit includes the reception unit or
Upon receiving a document recording request from the encoded data storage unit , sets the encoding and decoding unit to a decoding recording mode and supplies a decoding command to the encoding and decoding unit ,
Thereafter, the encoding / decoding unit , without the intervention of the host control unit, the receiving unit or the encoded data recording.
When a recording start request is received from the storage unit, the data is decrypted.
Processing, and the encoding / decoding unit further performs
The receiving unit or the code
When a page end request is received from the encoded data storage unit,
The host controller terminates the data decryption process.
And supplies a decoding end signal to the host control unit.
Upon receiving the decryption completion signal, coding and decoding scheme and supplying the decoded ends co <br/> command to the recording unit.
【請求項3】 前記符号化復号化部は、3ライン分の記
憶容量を持ったラインメモリ部を備え、前記読取ったデ
ータを一時的に記憶させることを特徴とする請求項1ま
たは2記載の符号化復号化方式。
Wherein the coding and decoding unit includes a line memory unit having a storage capacity of three lines, according to claim 1, characterized in that temporarily stores the read data or
Coding and decoding scheme of the other two described.
【請求項4】 前記符号化復号化部は、ラインメモリ部
から読出される画素データのアドレスが、前記ラインメ
モリ部に入力される画素データのアドレスを追い越さな
い手段を内蔵していることを特徴とする請求項記載の
符号化復号化方式。
4. The encoding / decoding section includes means for preventing an address of pixel data read from a line memory section from overtaking an address of pixel data input to the line memory section. Claim 3
Encoding / decoding method.
【請求項5】 前記符号化復号化部は、1つの大規模集
積回路(LSI)または単一ボ−ド内に構成され、前記
LSIまたは前記単一ボ−ドにページ終了要求を受信及
び送信する各ピンを設けていることを特徴とする請求項
1または2記載の符号化復号化方式。
5. An encoding / decoding section according to claim 1, wherein said encoding / decoding section comprises one large-scale collection.
An integrated circuit (LSI) or a single board,
A page end request is received by the LSI or the single board.
Wherein each pin for transmitting and transmitting is provided.
3. The encoding / decoding method according to 1 or 2 .
JP17189991A 1991-06-18 1991-06-18 Encoding / decoding method Expired - Lifetime JP3163304B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP17189991A JP3163304B2 (en) 1991-06-18 1991-06-18 Encoding / decoding method
US07/900,476 US5485287A (en) 1991-06-18 1992-06-18 High-speed image signal processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17189991A JP3163304B2 (en) 1991-06-18 1991-06-18 Encoding / decoding method

Publications (2)

Publication Number Publication Date
JPH04369972A JPH04369972A (en) 1992-12-22
JP3163304B2 true JP3163304B2 (en) 2001-05-08

Family

ID=15931877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17189991A Expired - Lifetime JP3163304B2 (en) 1991-06-18 1991-06-18 Encoding / decoding method

Country Status (1)

Country Link
JP (1) JP3163304B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4748807B2 (en) * 2007-01-31 2011-08-17 キヤノン株式会社 Decoding circuit

Also Published As

Publication number Publication date
JPH04369972A (en) 1992-12-22

Similar Documents

Publication Publication Date Title
US7673165B2 (en) Image processing device, method for saving power consumption of the image processing device, and a computer product
JPH08297528A (en) Data communication device
JPH03174665A (en) Image processor
US5485287A (en) High-speed image signal processing system
KR930006826B1 (en) Laser printer for fax
JP3163304B2 (en) Encoding / decoding method
CN100525372C (en) Manuscript image reading recording device
JPH08110886A (en) Dma controller and facsimile equipment
JP3221430B2 (en) Image processing device
JP2502882B2 (en) Image processing device
JP2941836B2 (en) Image processing device
JPH07298016A (en) Image forming device
JP3169744B2 (en) Image communication device
JP3192248B2 (en) Image signal encoding device
JPS59127462A (en) Facsimile equipment
JP3003602B2 (en) Communication terminal device
JP3129906B2 (en) Facsimile machine
KR920007503B1 (en) Binary picture information processor
JP4217584B2 (en) Compound equipment
JP2000069298A (en) Facsimile equipment
JP3554316B2 (en) Image reading apparatus and control method thereof
JPH09200446A (en) Method and device for reading document
JPH0815299B2 (en) Image processing system
JP2006236039A (en) Multifunction system
JPH07107216A (en) Facsimile equipment

Legal Events

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

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120223

Year of fee payment: 11