JPH04369972A - Encoding/decoding system - Google Patents
Encoding/decoding systemInfo
- Publication number
- JPH04369972A JPH04369972A JP3171899A JP17189991A JPH04369972A JP H04369972 A JPH04369972 A JP H04369972A JP 3171899 A JP3171899 A JP 3171899A JP 17189991 A JP17189991 A JP 17189991A JP H04369972 A JPH04369972 A JP H04369972A
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- decoding
- section
- unit
- data
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims abstract description 99
- 230000010365 information processing Effects 0.000 claims abstract description 7
- 238000000034 method Methods 0.000 claims description 85
- 238000013500 data storage Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 27
- 238000004891 communication Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 9
- 238000007726 management method Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 230000002265 prevention Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007429 general method Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、符号化復号化方式、特
に、ホスト制御部と符号化部及び復号化部との間のコマ
ンドの授受を簡素化してホスト制御部の信号処理性能を
向上させるようにした、ファクシミリ装置に用いて好適
な符号化復号化方式に関する。[Industrial Application Field] The present invention improves the signal processing performance of the host controller by simplifying the encoding/decoding method, particularly the sending and receiving of commands between the host controller, the encoder, and the decoder. The present invention relates to an encoding/decoding method suitable for use in a facsimile machine.
【0002】0002
【従来の技術】ファクシミリにおいては、画像データを
伝送させる際の伝送効率を向上させるため、CCITT
(国際電信電話諮問委員会)で勧告されているように、
MH、MR、MMR符号化方式を用いて当該画像データ
を伝送させることが行われている。この符号化方式は、
画像データにおける白黒の変化点を符号に対応させて伝
送する方式であって、同じデータビット数を符号化する
場合において、単位長さ当りの白黒の変化点の数が多い
ときにはその分だけ前記データの処理量が増加し、前記
データの処理量の増加に伴って前記データの符号化速度
が低下するという性質を有しているものである。また、
符号化データを復号する場合も同様であって、原データ
における単位長さ当りの白黒の変化点が多い場合には、
同じ符号ビット数を復号したとても、復号されるデータ
のビット数が少なくなるという性質を有している。[Prior Art] In facsimile, in order to improve the transmission efficiency when transmitting image data, CCITT
As recommended by the International Telegraph and Telephone Advisory Committee (International Telegraph and Telephone Advisory Committee),
The image data is transmitted using MH, MR, and MMR encoding methods. This encoding method is
This is a method of transmitting black and white changing points in image data in correspondence with codes, and when encoding the same number of data bits, when the number of black and white changing points per unit length is large, the data is transmitted by that amount. The processing amount increases, and the data encoding speed decreases as the data processing amount increases. Also,
The same is true when decoding encoded data; if there are many points of change between black and white per unit length in the original data,
It has the property that even if the same number of code bits is decoded, the number of bits of the decoded data will decrease.
【0003】このため、最近のファクシミリ装置にあっ
ては、このような白黒の変化点が多いデータを処理する
場合においても、高速度で符号化または復号化が行える
ようにした符号化及び復号化手段が開発され始めており
、その1例が、特開昭60−194670号または特開
昭62−35780号に開示されている。[0003] For this reason, recent facsimile machines require encoding and decoding methods that enable high-speed encoding and decoding even when processing data with many black-and-white changes. Means are beginning to be developed, one example of which is disclosed in JP-A-60-194670 or JP-A-62-35780.
【0004】しかしながら、符号化及び復号化部だけで
なく、ファクシミリシステム全体を見たときには、当該
システムにおけるホスト制御部、メモリ部、読取部、記
録部、符号化部及び復号化部は、それぞれ、密接に関連
して動作を行うものであるから、これら周辺装置間の制
御信号の授受やデータバス負荷の状態を無視したのでは
、効率的なファクシミリシステムシステムを構築できな
いことは明らかである。However, when looking at not only the encoding and decoding sections but also the entire facsimile system, the host control section, memory section, reading section, recording section, encoding section, and decoding section in the system are as follows: It is clear that an efficient facsimile system cannot be constructed if the transmission and reception of control signals between these peripheral devices and the state of the data bus load are ignored since they operate in a closely related manner.
【0005】なお、この種のファクシミリシステムの1
例としては、電子技術1988年4月号pp64〜72
及び電子技術1990年8月号pp67〜71に開示の
ものがあるが、このファクシミリシステムにおいては符
号化及び復号化部の高効率化について何等言及されてい
ないものである。[0005] Note that one of this type of facsimile systems
For example, electronic technology April 1988 issue pp64-72
and Electronic Technology, August 1990, pp. 67-71, but there is no mention of improving the efficiency of the encoding and decoding sections in this facsimile system.
【0006】[0006]
【発明が解決しようとする課題】前述の従来の高速度符
号化及び復号化手段は、ファクシミリシステムをゲ−ト
アレイ化することにより部品点数を削減する手段につい
ての開示を行っているだけで、符号化部、ホスト制御部
、読取部の3者間での制御信号の授受の仕方、及び、復
号化部、ホスト制御部、記録部の3者間での制御信号の
授受の仕方をそれぞれ改良し、ファクシミリシステム全
体として少ない部品点数で高速度の処理を図る点につい
ては何等考慮が払われていないものである。[Problems to be Solved by the Invention] The conventional high-speed encoding and decoding means described above only disclose a means for reducing the number of parts by converting a facsimile system into a gate array. The method of transmitting and receiving control signals between the encoding section, host control section, and reading section, and the method of transmitting and receiving control signals between the decoding section, host control section, and recording section have been improved. However, no consideration is given to achieving high-speed processing with a small number of parts for the facsimile system as a whole.
【0007】このため、前述の高速度符号化及び復号化
手段をファクシミリシステムに組込んだ場合には、ホス
ト制御部に対する当該符号化及び復号化手段の制御負荷
が過剰になるため、ホスト制御部に処理能力の高いプロ
セッサを用いるか、または、プロセッサ数を増加させる
かの手段を付加しなければ、当該符号化及び復号化手段
の高速度の処理性能を十分に発揮させることができない
ものである。そして、この場合に、ホスト制御部として
従来の型のプロセッサを用いたときには、ファクシミリ
システム全体として、ユ−ザアプリケ−ションサ−ビス
を向上させようとすると、ホスト制御部における処理負
荷が過剰となって、満足に対応することができなくなる
等の問題点があった。For this reason, when the above-mentioned high-speed encoding and decoding means is incorporated into a facsimile system, the control load of the encoding and decoding means on the host control section becomes excessive. The high-speed processing performance of the encoding and decoding means cannot be fully utilized unless a processor with high processing capacity is used or a means of increasing the number of processors is added. . In this case, if a conventional processor is used as the host controller, the processing load on the host controller becomes excessive in order to improve the user application service of the facsimile system as a whole. , there were problems such as not being able to respond satisfactorily.
【0008】また、本願発明の先行技術を示す前記ファ
クシミリにおいても、ホスト制御部が各部の動作の開始
及び完了のタイミングの管理を行っているために、符号
化及び復号化部におけるデータ処理速度を高めようとし
たときには、やはりホスト制御部の処理負荷が過剰とな
り、満足な前記データ処理速度を得ることができないと
いう問題点があった。[0008] Also, in the facsimile described above, which represents the prior art of the present invention, the host control unit manages the timing of the start and completion of operations of each unit, so that the data processing speed in the encoding and decoding units is reduced. If an attempt is made to increase the data processing speed, the processing load on the host control section becomes excessive, resulting in a problem that a satisfactory data processing speed cannot be obtained.
【0009】そして、前記符号化及び復号化手段の高速
化、及び、ユ−ザアプリケ−ションサ−ビスの向上等の
ために、プロセッサとして処理能力の高いものを用いた
り、その数を増加させとりすれば、その分だけコストア
ップになるという問題点も生じるものであった。[0009] In order to speed up the encoding and decoding means and improve user application services, it is possible to use processors with high processing power or increase the number of processors. However, a problem arises in that the cost increases accordingly.
【0010】本発明は、前記各種の問題点を一挙に解決
するために考案されたもので、その1つの目的は、ホス
ト制御部と符号化部及び復号化部間のコマンド授受を簡
素化することにより、システム全体の情報の処理を、少
ない点数の部品を利用し、かつ、低コストのホスト制御
部を用いて、高スル−プットを達成できるようにした符
号化復号化方式を提供することにある。The present invention was devised to solve the various problems mentioned above all at once, and one purpose thereof is to simplify the exchange of commands between the host control section, the encoding section, and the decoding section. To provide an encoding/decoding method that can process information in the entire system using a small number of components and a low-cost host control unit, thereby achieving high throughput. It is in.
【0011】また、本発明の他の目的は、ホスト制御部
からリアルタイムでコマンドを授受する必要がない符号
化復号化方式を提供することにある。Another object of the present invention is to provide an encoding/decoding method that does not require sending and receiving commands from a host controller in real time.
【0012】0012
【課題を解決するための手段】前記2つの目的を達成す
るために、本発明は、少なくとも、データ入出力部と、
符号化復号化部と、全体制御を行うホスト制御部とを有
し、前記ホスト制御部は、前記データ入出力部からの要
求により符号化復号化部に符号化復号化処理の開始を指
令し、符号化復号化部は、前記指令を受けて、前記ホス
ト制御部を介することなく前記データ入出力部からのデ
ータの副走査方向の移動量に関する情報に基づいてデー
タ処理を順次行い、ホスト制御部に前記データ処理の終
了を告げる第1の手段を具備している。[Means for Solving the Problems] In order to achieve the above two objects, the present invention provides at least a data input/output section,
It has an encoding/decoding section and a host control section that performs overall control, and the host control section instructs the encoding/decoding section to start encoding/decoding processing in response to a request from the data input/output section. In response to the command, the encoding/decoding unit sequentially performs data processing based on information regarding the amount of data movement in the sub-scanning direction from the data input/output unit without going through the host control unit, and controls the host control. The data processing apparatus includes first means for notifying the data processing section to the end of the data processing.
【0013】また、前記2つの目的を達成するために、
本発明は、少なくとも、原稿の読取りを行う読取部と、
前記読取部で読取ったデータを符号化する符号化部と、
情報処理に対する全体制御を行うホスト制御部とを有し
、前記ホスト制御部は、前記読取部から原稿読取要求を
受けると、符号化モードの設定を行うと共に前記符号化
部へ符号化コマンドを供給し、その後、前記符号化部は
、前記読取部から前記ホスト制御部を介すことなく読取
開始要求を受けて符号化処理を行い、さらに、前記読取
部から前記ホスト制御部を介すことなくページ終了要求
を受けると、前記符号化処理を終了すると共に前記ホス
ト制御部に符号化終了信号を供給し、前記ホスト制御部
は前記読取部に符号化終了コマンドを供給して符号化を
行う第2の手段を具備している。[0013] Furthermore, in order to achieve the above two objectives,
The present invention includes at least a reading section that reads a document;
an encoding unit that encodes the data read by the reading unit;
and a host control unit that performs overall control over information processing, and upon receiving a document reading request from the reading unit, the host control unit sets an encoding mode and supplies an encoding command to the encoding unit. After that, the encoding section receives a reading start request from the reading section without going through the host control section and performs encoding processing, and further, the encoding section receives a reading start request from the reading section without going through the host control section, and further performs encoding processing from the reading section without going through the host control section. When a page end request is received, the encoding process is ended and an encoding end signal is supplied to the host controller, and the host controller supplies an encoding end command to the reader to start encoding. It is equipped with two means.
【0014】さらに、前記2つの目的を達成するために
、本発明は、少なくとも、受信部または符号化データ記
憶部から入力される符号化データを復号する復号化部と
、前記復号化部で復号されたデータを記録する記録部と
、情報処理に対する全体制御を行うホスト制御部とを有
し、前記ホスト制御部は、前記受信部または符号化デー
タ記憶部から原稿記録要求を受けると、復号化記録モー
ド設定を行うと共に前記復号化部へ復号化コマンドを供
給し、その後、前記復号化部は、前記受信部または符号
化データ記憶部から前記ホスト制御部を介すことなく記
録開始要求を受けて復号化処理を行い、さらに、前記受
信部または符号化データ記憶部から前記ホスト制御部を
介すことなくページ終了要求を受けると、前記復号化処
理を終了すると共に前記ホスト制御部に復号化終了信号
を供給し、前記ホスト制御部は前記記録部に復号化終了
コマンドを供給して復号化を行う第3の手段を具備して
いる。Furthermore, in order to achieve the above two objects, the present invention includes at least a decoding section that decodes encoded data input from a receiving section or an encoded data storage section, and a The host control unit includes a recording unit that records the encoded data, and a host control unit that performs overall control over information processing. The recording mode is set and a decoding command is supplied to the decoding unit, and then the decoding unit receives a recording start request from the receiving unit or encoded data storage unit without going through the host control unit. When a page termination request is received from the reception unit or the encoded data storage unit without going through the host control unit, the decoding process is terminated and the host control unit performs the decoding process. The host controller is provided with third means for supplying an end signal, and the host control section supplies a decoding end command to the recording section to perform decoding.
【0015】この他に、第2の手段及び第3の手段で実
行される符号化及び復号化の過程において、前記符号化
部及び復号化部は3ライン分の記憶容量を持ったライン
メモリ部を含み、前記ラインメモリ部は読取ったデータ
の入力が完了していないラインの符号化を防止する機能
、及び、復号された未だデータが入力されていないライ
ンのデータの記録を防止する機能、それに、未だ記録出
力していな復元画データの上に再度復元データの書き込
みを防止する機能を有する第4の手段を具備している。In addition, in the encoding and decoding processes executed by the second means and the third means, the encoding section and the decoding section include a line memory section having a storage capacity for three lines. The line memory unit has a function of preventing encoding of a line in which input of read data has not been completed, a function of preventing recording of data of a decoded line to which data has not yet been input, and , is provided with a fourth means having a function of preventing the restored data from being written again on the restored image data that has not yet been recorded and output.
【0016】[0016]
【作用】前記第1の手段によれば、符号化復号化処理に
おいては、データ入出力部が原稿を読み取った画像デー
タまたは回線から受信した符号データの符号化復号化処
理を要求すると、ホスト制御部は、符号化復号化部に符
号化復号化処理を開始させる。その後、符号化復号化部
は、ホスト制御部の何等の介在なしにデータ入出力部か
ら供給される副走査方向の移動量に関する情報(単位ペ
ージを定義している情報)に基づいて前記データの符号
化復号化を順次行い、データ入出力部から符号化復号化
の終了要求があると、前記符号化復号化処理を終了する
と共に符号化復号化終了信号をホスト制御部に供給する
。この時点に、ホスト制御部は、符号化復号化部からの
前記終了信号を判定し、次の制御動作の指示を行う。[Operation] According to the first means, in the encoding/decoding process, when the data input/output section requests encoding/decoding of the image data read from the original or the encoded data received from the line, the host control The unit causes the encoding/decoding unit to start encoding/decoding processing. Thereafter, the encoding/decoding unit encodes the data based on information regarding the amount of movement in the sub-scanning direction (information defining a unit page) supplied from the data input/output unit without any intervention from the host control unit. Encoding and decoding are performed sequentially, and when there is a request to end the encoding and decoding from the data input/output unit, the encoding and decoding processing is terminated and an encoding and decoding completion signal is supplied to the host control unit. At this point, the host controller determines the end signal from the encoder/decoder and instructs the next control operation.
【0017】また、前記第2の手段によれば、符号化処
理においては、原稿を読取ることにより得られたデータ
の符号化処理の開始前に、ホスト制御部は、符号化処理
に必要な符号化コマンドを符号化部に供給し、符号化部
に符号化処理の準備をさせる。その後、符号化部は、独
自に前記符号化処理を開始するタイミングの判定を行い
、次いで、当該原稿から得られたデータをページ単位で
符号化する。さらに、符号化部は、前と同様に独自に前
記符号化処理を終了するタイミングの判定を行い、それ
によって前記符号化処理を終了すると共に符号化終了信
号をホスト制御部に供給する。この時点に、ホスト制御
部は、符号化部からの前記終了信号を判定し、次の制御
動作の指示を行う。[0017] According to the second means, in the encoding process, before starting the encoding process of the data obtained by reading the document, the host control unit generates the code necessary for the encoding process. The encoding command is supplied to the encoding unit to make the encoding unit prepare for encoding processing. Thereafter, the encoding unit independently determines the timing to start the encoding process, and then encodes the data obtained from the document page by page. Further, the encoding unit independently determines the timing to end the encoding process as before, and thereby ends the encoding process and supplies an encoding end signal to the host control unit. At this point, the host controller determines the end signal from the encoder and instructs the next control operation.
【0018】さらに、前記第3の手段によれば、復号化
処理においては、入力される符号化データの復号化処理
の開始前に、ホスト制御部は、復号化処理に必要なコマ
ンドを復号化部に供給し、復号化部に復号化処理の準備
をさせる。その後、復号化部は、独自に前記復号化処理
を開始するタイミングの判定を行い、次いで、当該入力
される符号化データをページ単位で復号化する。さらに
、復号化部は、前と同様に独自に前記復号化処理を終了
するタイミングの判定を行い、それによって前記復号化
処理を終了すると共に記録終了信号をホスト制御部に供
給する。この時点においても、ホスト制御部は、復号化
部からの前記終了信号の判定を行い、次の制御動作の指
示を行う。Furthermore, according to the third means, in the decoding process, before starting the decoding process of the input encoded data, the host control unit decodes the commands necessary for the decoding process. and prepares the decoding unit for decoding processing. Thereafter, the decoding unit independently determines the timing to start the decoding process, and then decodes the input encoded data page by page. Further, the decoding section independently determines the timing to end the decoding process as before, and thereby ends the decoding process and supplies a recording end signal to the host control section. Even at this point, the host control section judges the end signal from the decoding section and instructs the next control operation.
【0019】前記各作用により、ホスト制御部は、符号
化及び/または復号化の処理中に、これらの処理に対す
るリアルタイム制御を行う必要がなくなり、ホスト制御
部の負荷が大幅に軽減されることになる。さらに、前記
リアルタイム制御に必要とされる時間も他の情報の処理
に利用できるので、ホスト制御部が実行する符号化及び
/または復号化処理のスピ−ドアップを図ることができ
る。[0019] Due to the above-described effects, the host control unit does not need to perform real-time control over encoding and/or decoding processing, and the load on the host control unit is significantly reduced. Become. Furthermore, since the time required for the real-time control can also be used for processing other information, it is possible to speed up the encoding and/or decoding processing executed by the host control section.
【0020】また、前記各作用により、前述のように符
号化復号化の処理がスピ−ドアップされたとしても、符
号化復号化処理の開始及び終了のタイミングをホスト制
御部が管理し、かつ、ホスト制御部が符号化部及び復号
化部をリアルタイムで制御する前記先行技術の方式と比
較して、ホスト制御部の処理負荷は却って減少するので
、高速度の処理が可能な高性能のプロセッサの使用、及
び、マルチプロセッサの使用の必要性は全くなくなるも
のである。Furthermore, even if the encoding/decoding process is sped up as described above, the host control unit manages the timing of the start and end of the encoding/decoding process, and Compared to the prior art system in which the host control unit controls the encoding unit and decoding unit in real time, the processing load on the host control unit is actually reduced, so it is possible to use a high-performance processor capable of high-speed processing. and the need for the use of multiple processors is completely eliminated.
【0021】この他に、前記第4の手段によれば、原稿
の読取りデータの符号化時または復号後のデータの記録
時に、それぞれ、3ライン分の記憶容量を持ったライン
メモリ部に前記データを一時的に記憶させているので、
パイプライン処理的に高速化できる。また、未だデータ
が入力されていないラインについての当該データの符号
化を防止したり、未だ復号後のデータが入力されていな
いラインについての当該データの記録部への出力を防止
したり、未だ記録出力されていない復元画データの上に
再度復元データの書き込みを防止する機能を有している
ので、符号と画データの流れを正常に管理するための制
御装置を必要としない。In addition, according to the fourth means, the data is stored in a line memory section having a storage capacity of three lines, respectively, when encoding read data of a document or recording data after decoding. Since it is temporarily stored,
Can speed up pipeline processing. In addition, it is possible to prevent the encoding of data for lines to which no data has been input yet, to prevent the output of the data to the recording unit for lines to which decoded data has not yet been input, and to prevent the data from being output to the recording unit for lines to which decoded data has not been input. Since it has a function of preventing restored data from being written again on restored image data that has not been output, there is no need for a control device to properly manage the flow of codes and image data.
【0022】なお、前記ラインメモリ部としては、A3
サイズの用紙を400dpiで読取ったとしても、3ラ
イン分のメモリ量として2kバイト程度のものを用いれ
ば足りる。そして、前記ラインメモリ部を高速度で管理
するためには、独自のプロセッサの使用よりも、符号化
部及び復号化部に内蔵させた方がハ−ド的に経済的であ
り、構成上の簡素化が図れるものである。[0022] The line memory section is A3
Even if a paper of the same size is read at 400 dpi, it is sufficient to use about 2 kbytes of memory for 3 lines. In order to manage the line memory section at high speed, it is more economical in terms of hardware to incorporate it into the encoding section and decoding section, rather than using its own processor. This allows for simplification.
【0023】以上の各手段の採用により、ホスト制御部
は、原稿のページ単位で符号化部及び復号化部に介在す
るだけであるから、符号化部に対するデータの読取り及
び復号化部に対するデータの記録の高速化を高コストパ
フォ−マンスで実現させることが可能になる。[0023] By employing each of the above means, the host control unit only intervenes in the encoding unit and decoding unit for each page of the original, and therefore it is not necessary to read data to the encoding unit and to read data to the decoding unit. It becomes possible to realize high-speed recording with high cost performance.
【0024】[0024]
【実施例】以下、本発明の実施例を図面を用いて説明す
る。Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.
【0025】図1は、本発明に係わる符号化復号化方式
を適用したファクシミリ装置を示すブロック構成図であ
る。FIG. 1 is a block diagram showing a facsimile apparatus to which the encoding/decoding method 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 section, 2 is a decoding section, 3 is an encoding processing section, 4 is a line memory section, 5 is a decoding processing section, 6 is a line memory section, and 7 is a host control section. The constituent microprocessor units (hereinafter referred to as host MPU) include a reading unit 8, a recording unit 9, a communication control unit 10, a code data memory unit 11, a control bus 12 to 21, and a data unit 22 to 29. It's a line. Further, the encoding section 1 and the decoding section 2 constitute an encoding/decoding section 40, and the reading section 8, the recording section 9, the communication control section 10, the encoded data memory section 11, etc. constitute a data input/output section 41. are doing.
【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 consists of an encoding processing section 3 and a line memory section 4, and the decoding section 2 consists of a decoding processing section 5 and a line memory section 6. The reading section 8 scans and reads the original, and supplies the read image data to the line memory section 4 of the encoding section 1 via the data line 22. The line memory unit 4 is a memory that has a storage capacity for three lines of the document and is capable of reading at a constant speed of 10 Mb/s or more, and temporarily stores the read image data, It is then read out for encoding and supplied to the encoding processing unit 3 via the data line 23. The line memory section 6 is also a memory that has a storage capacity for three lines of the document 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 section 5. It is then read out for recording and supplied via the data line 27 to the recording section 9 where it is recorded. Further, the reading section 8, the recording section 9, the encoding section 1, and the decoding section 2 are connected to the host MPU 7 via control buses 12 to 17, respectively. and encoding processing unit 3
The decoding processing section 5 and the line memory section 6, and the line memory section 6 and the recording section 9 are connected by control buses 18 to 21 and data lines 22, 23, 26, and 27, respectively. Further, an encoding processing section 3, a decoding processing section 5,
The communication control section 10 and code data memory section 11 are connected to the host MP via data lines 24, 25, 28, and 29, respectively.
It is coupled to U7.
【0028】この場合、通信制御部10及び符号データ
メモリ部11は、本発明に係わる符号化復号化方式にお
いて必須のものではなく、例えば、ファイリング装置等
においては、ファイル装置等に接続されるものである。In this case, the communication control section 10 and the code data memory section 11 are not essential in the encoding/decoding method according to the present invention, and, for example, in a filing device, etc., the communication control section 10 and the code data memory section 11 are not essential for the encoding/decoding method according to the present invention. It is.
【0029】ここで、図1に示すファクシミリ装置の動
作について、図2に示すホストMPUが行う処理フロ−
図、及び、図3に示すシステム、ホストMPU、符号化
部の3者間の処理の時間的経緯を表す図を用いて説明す
る。Here, regarding the operation of the facsimile machine shown in FIG. 1, the processing flow performed by the host MPU shown in FIG.
This will be explained with reference to FIG. 3 and a diagram showing the time course of processing among the system, host MPU, and encoding unit shown in FIG.
【0030】ただし、以下の説明において、本発明でい
うところのページとは、通常の意味の物理的な切れ目を
表すページの他に、予めマ−クを付したりまたは紙の形
状的特徴等により定めた切れ目からなるページも含まれ
るものである。そして、原稿の走査読取り及び画像デー
タの印刷を行う場合における単位となるページは、画像
の縦方向(副走査方向)の移動量により決められるもの
で、ここでいう移動量とは原稿または印刷記録用紙の送
り量(繰り出し量)で決まる画像の大きさを意味してい
る。ところで、図9に示すように、画像が、例えば、文
字だけで形成されている場合、文字の間に写真が挿入さ
れている場合、文字と写真と絵が混在している場合であ
っても、前記各場合における移動量m1 、m2 、m
3 は同じような扱いを受けてカウントされるものであ
る。[0030] However, in the following explanation, pages as used in the present invention are not only pages that represent physical breaks in the usual sense, but also pages that have been marked in advance or have physical characteristics of paper, etc. This also includes pages consisting of breaks defined by the above. The unit page when scanning a manuscript 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 amount of paper feed (feeding amount). By the way, as shown in FIG. 9, even if the image is made up of only letters, a photo is inserted between the letters, or a mixture of letters, photos, and pictures, , the amount of movement m1, m2, m in each of the above cases
3 are treated and counted in the same way.
【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は符号化終了信号5
4を受信すると、符号化終了の確認を行い、同時に、シ
ステムに対してコマンド55を供給し、システムが必要
とする制御を行なう。ここで、前記必要とする制御とは
、ファクシミリ操作の正常な実行の障害になる紙詰まり
の有無の点検や、次の原稿があるときにはその次の原稿
を所定の位置まで移送させるための読み取りモ−タ等の
制御がこれに当たる。そして、次の原稿があるときには
、読取部8からホストMPU7に次の原稿読取要求信号
56が供給され、それ以後は、上に述べた処理が再度実
行され、このときに途中で処理中断の指示がなければ、
全ての原稿の読取り及び読取ったデータの符号化が完了
するまで前記処理が継続実行される。In FIG. 3, first, an original to be read is set in the reading section 8, and when the original reading request signal 50 from the reading section 8 is supplied to the host MPU 7 via the control bus 14, the host MPU 7 An encoding mode setting command 5 is sent 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 uses the command 5
1, it enters the encoding preparation state and waits for the reading start request signal 52 from the reading section 8. Next, when the reading start request signal 52 is directly input to the encoding unit 1 through the control bus 18 without going through the host MPU 7, the encoding unit 1 enters the encoding processing state immediately after receiving the reading start request signal 52. , encodes image data obtained by reading a document supplied from the reading section 8 via the data line 22. This encoding processing state continues until the page end request signal 53 is input from the reading section 8 directly to the encoding section 1 through the control bus 18 without going 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 simultaneously supplies an encoding end signal 54 to the host MPU 7 via the control bus 16. The host MPU 7 sends the encoding end signal 5
4, it confirms the end of encoding, and at the same time supplies a command 55 to the system to perform the control required by the system. Here, the above-mentioned necessary control includes checking for paper jams that may impede normal execution of facsimile operations, and controlling the reading module to move the next document to a predetermined position when the next document is available. - Control of data, etc. falls under this category. Then, when there is a next document, the next document reading request signal 56 is supplied from the reading unit 8 to the host MPU 7, and after that, the above-mentioned process is executed again, and at this time, an instruction to interrupt the process is given. Without it,
The above processing is continued until reading of all documents and encoding of the read data is completed.
【0032】なお、ページとして、予めマ−クを付した
りまたは紙の形状的特徴等により定めた切れ目を用いて
いる場合には、読取部、あるいは読取部とは別に当該マ
−クや特徴を検出する新たに設けた処理部によって、当
該マ−クや特徴を検出するように構成しておけば、当該
検出が行われた個所が論理的にページの切れ目として認
識され、以下、前述と同様の処理の継続が可能になるも
のである。[0032] If the page is marked in advance or has a cut defined by the shape characteristics of the paper, etc., the mark or feature is attached to the reading section or separately from the reading section. If the configuration is configured so that the mark or feature is detected by a newly installed processing unit that detects the mark or feature, the location where the detection is performed will be logically recognized as a page break, and from then on, the above-mentioned This allows continuation of similar processing.
【0033】また、図2は、前記処理の際に、ホストM
PU7が実行する処理フロ−を示している。FIG. 2 also shows that during the above process, the host M
The processing flow executed by the PU7 is shown.
【0034】通常、ホストMPU7は、ファクシミリで
あればファクシミリ全体制御、即ち、原稿の読取りや画
像データの記録の際の制御を行っているだけではなく、
通信系を介して伝送される画像データの制御や、マンマ
シンI/F部における情報の処理等も行っているもので
あり、始めに、ホストMPU7が待機状態のときに、ホ
ストMPU7に対してシステムから何等かの制御要求が
あったときには全体システム制御処理が起動実行される
(ステップ30)。この際、前記全体システム制御処理
は、各システムからの要求に応じた適切な処理を行うた
めに、前記ステップ30に付随して、図示のように、前
記システムからの要求の判別を行っている(ステップ3
0’)。この要求の判別においては、原稿の読取りや画
像データの記録に関する処理は個別の判別が行われ、そ
の他の処理はその他のシステム要求判定処理としてまと
めて判別になっている。Normally, in the case of a facsimile, the host MPU 7 not only controls the entire facsimile, that is, controls the reading of an original and the recording of image data;
It also controls image data transmitted via the communication system and processes information in the man-machine I/F section. First, when the host MPU 7 is in a standby state, When there is any control request from the system, the entire system control process is started and executed (step 30). At this time, in order to perform appropriate processing according to the requests from each system, the overall system control process determines the requests from the systems, as shown in the figure, in conjunction with step 30. (Step 3
0'). In this request determination, processes related to document reading and image data recording are individually determined, and other processes are collectively determined as other system request determination processes.
【0035】前記判別が行われた中で、原稿の読取り及
び読取ったデータの符号化の実行または中止の決定は次
のようにしてなされる。まず、読取部8に原稿があるか
否かの判断が行われ(ステップ31)、その判断におい
てイエスYのときは原稿読取要求信号50の供給に従っ
て符号化モード設定の処理を行う(ステップ32)とと
もに、制御バス17を介して符号化部1に符号化モード
設定コマンド51を供給して最初の待機状態に戻り、前
記判断においてノウNのときは直ちに最初の待機状態に
戻る。前記コマンド51の出力後に、読取部8における
原稿の1ページ読取りが終了されたか否かの判断が行わ
れ(ステップ33)、その判断においてイエスYのとき
は符号化終了確認とシステムが必要とする制御とが行わ
れ(ステップ34)て最初の待機状態に戻り、前記判断
においてノウNのときは直ちに最初の待機状態に戻る。[0035] While the above-mentioned determination is made, the decision to execute or stop reading the original and encoding the read data is made in the following manner. First, it is determined whether or not there is a document in the reading section 8 (step 31), and if the determination is YES, encoding mode setting processing is performed in accordance with the supply of the document reading request signal 50 (step 32). At the same time, the encoding mode setting command 51 is supplied to the encoding section 1 via the control bus 17 to return to the initial standby state, and when the judgment is NO, the encoder immediately returns to the initial standby state. After the command 51 is output, it is determined whether reading of one page of the original in the reading section 8 has been completed (step 33), and if the determination is YES, the system requires confirmation of the end of encoding. control is performed (step 34) and returns to the initial standby state, and if the judgment is NO, the control immediately returns to the initial standby state.
【0036】また、図5は、前述の一連の動作の際の各
種信号の伝送経路と伝送順序を示した系統図である。な
お、図中、■乃至■は前記信号の伝送順序を示している
。FIG. 5 is a system diagram showing the transmission paths and transmission order of various signals during the series of operations described above. In addition, in the figure, 1 to 2 indicate the transmission order of the signals.
【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をホストMP
U7に出力し、アイドル状態に入る。その後は、最初の
状態に戻り、これ以降、未だ読取りを行うべき原稿があ
るときには、前記■乃至■の順序で前記動作が繰り返し
行われる。In the figure, when a document is set in the reading unit 8 and the document reading request signal 50 is output from the reading unit 8 to the host MPU 7 via the control bus 14, the host MP
U7 detects this document reading request signal 50. (2) When the above detection is performed, the host MPU 7 supplies the encoding mode setting command 51 to the encoding section 1 via the control bus 17. (2) 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, it is supplied via the data line 22. Encoding processing of image data obtained by reading the original is started. After starting this encoding process, the encoding unit 1 continues to execute the encoding process in the set encoding mode until the page end request signal 53 is input. (2) When the reading of one page of the original is completed and the page end request signal 53 is supplied from the reading section 8 to the encoding section 1 via the control bus 18, the encoding section 1 stops the encoding process. . ■ At this time, the encoding unit 1
The encoding end signal 54 is sent to the host MP via the control bus 16.
Outputs to U7 and enters the idle state. Thereafter, the process returns to the initial state, and if there is still a document to be read, the operations described above are repeated in the order of (1) to (3).
【0038】以上説明したように、原稿の読取り及び読
取った画像データの符号化に関して見たときには、ホス
トMPU7は、読取部8から供給される原稿読取要求信
号50の印加の監視を行い、当該原稿読取要求信号50
が供給されたときに、符号化部1に対して符号化の準備
のための符号化モード設定コマンド51の供給の実行を
行いさえすれば、その後はホストMPU7を介在させる
ことなく、読取部8と符号化部1との間だけで独自に原
稿の読取り及び読取った画像データの符号化が行われる
ようになり、この間ホストMPU7のリアルタイム制御
を必要としないものである。また、読取った画像データ
の符号化処理の終了時においても、ホストMPU7は、
同じく原稿のページ単位毎に読取部8から供給される符
号化終了信号54の印加の監視を行い、当該符号化終了
信号54の受信が検出された後は他の情報処理の制御を
適宜実行できるものである。As explained above, in terms of reading the original and encoding the read image data, the host MPU 7 monitors the application of the original reading request signal 50 supplied from the reading section 8 and reads the original. Read request signal 50
is supplied, as long as the encoding mode setting command 51 is supplied to the encoding unit 1 in order to prepare for encoding, the reading unit 8 Reading of the document and encoding of the read image data are performed independently only between the encoder 1 and the encoder 1, and real-time control of the host MPU 7 is not required during this time. Furthermore, even at the end of the encoding process of the read image data, the host MPU 7
Similarly, the application of the encoding end signal 54 supplied from the reading unit 8 is monitored for each page of the manuscript, and after the reception of the encoding end signal 54 is detected, other information processing controls can be executed as appropriate. It is something.
【0039】次に、図1、図2、図4を用いて、符号化
デ−タの復号化及び復号された画像デ−タの記録の際の
動作について説明する。Next, operations during decoding of encoded data and recording of decoded image data will be explained using 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 in the recording section 9 in the communication control section 10 or the code data memory section 11, the document is stored in the communication control section 10 or the code data memory section 11. The recording request signal 60 is sent to 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 also supplies the decoding processing unit 5 of the decoding unit 2 via the control bus 17. A mode setting command 61 is supplied. At this time, the recording unit 9 enters a recording preparation state by supplying the command 67, and the decoding unit 2
1 enters a decoding preparation state, and then enters a state of waiting for a recording start request signal 62 supplied from the recording section 9. At this time, the recording start request signal 62 is sent to the host MP.
When the signal is directly input from the recording unit 9 to the decoding unit 2 via the control bus 21 without going through U7, the decoding unit 2 enters the decoding processing state immediately after receiving the recording start request signal 62.
Data is sent from the communication control section 10 or code data memory section 11.
The encoded data supplied via the data line 25 is decoded. This decoding processing state continues until the page end request signal 63 is input from the communication control section 10 or code data memory section 11 to the decoding section 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. When the host MPU 7 receives the decoding completion signal 64, it confirms the completion of the decoding, and also supplies a command 65 to the system to perform the control required by the system.
【0041】ここでも、前記必要とする制御とは、ファ
クシミリ操作の正常な実行の障害になる紙詰まりの有無
の点検や、次にさらに記録したい原稿の符号化デ−タが
あるときにはその記録の準備を行うための記録モ−タ等
の制御がこれに当たる。そして、次に記録したい原稿の
符号化デ−タがあるときには、通信制御部10または符
号デ−タメモリ部11からホストMPU7に次の原稿記
録要求信号66が供給され、それ以後は、前述の処理が
再度実行され、このときに途中で処理中断の指示がなけ
れば、記録したい全ての原稿の符号化デ−タがなくなる
まで前記処理が継続実行される。[0041] Here again, the necessary control includes checking for the presence or absence of paper jams that may impede the normal execution of facsimile operations, and checking the recording of encoded data of a document that is to be further recorded next time. This includes controlling the recording motor and the like for preparation. Then, when there is encoded data of the original to be recorded next, the next original recording request signal 66 is supplied from the communication control section 10 or the encoded data memory section 11 to the host MPU 7, and from then on, the above-mentioned processing is performed. is executed again, and if there is no instruction to interrupt the process at this time, the process will continue to be executed until the encoded data of all the originals to be recorded is exhausted.
【0042】さらに、図2は、前記処理の際に、ホスト
MPU7が実行する処理フロ−をも示している。Furthermore, FIG. 2 also shows the processing flow executed by the host MPU 7 during the above processing.
【0043】この処理フロ−は、原稿の読取り及び読取
ったデ−タの符号化の際の処理フロ−とほぼ同様なもの
であって、始めに、ホストMPU7が待機状態のときに
、ホストMPU7に対して何等かの制御要求があったと
きは全体システム制御処理が起動実行され(ステップ3
0)、次いで、前記システムからの要求の判別を行う(
ステップ30’)。この際にも、符号化デ−タの復号化
及び復号されたデ−タの記録を実行または中止するか決
定は以下のようにしてなされる。まず、記録したい符号
化デ−タがあるか否かの判断が行われ(ステップ35)
、その判断においてイエス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 the read data. First, when the host MPU 7 is in a standby state, the host MPU 7 When there is a control request of some kind, the entire system control process is started and executed (step 3).
0), then determines the request from the system (
Step 30'). At this time as well, the decision as to whether to execute or stop decoding the encoded data and recording the decoded data is made in the following manner. First, it is determined whether there is encoded data to be recorded (step 35).
If the determination is YES, the decoding mode setting process is performed in response to the supply of the document recording request signal 60 (step 36), and the decoding unit 3 is connected via the control bus 17.
A decoding mode setting command 61 is supplied to the decoding mode setting command 61 to return to the initial standby state, and when the judgment is NO, the CPU immediately returns to the initial standby state. After the command 61 is output, it is determined whether recording of one page of the document has been completed in the recording unit 9 (step 37), and if the determination is YES, the system needs to confirm the completion of decoding. Control is performed (step 38) to return to the initial standby state, and when the judgment is NO, the control immediately returns to the initial standby state.
【0044】また、図6は、前述の一連の動作の際の各
種信号の伝送経路と伝送順序を示した系統図である。な
お、図中で、■乃至■は前記信号の伝送順序を示してい
る。FIG. 6 is a system diagram showing the transmission paths and transmission order of various signals during the series of operations described above. Note that in the figure, ① to ② indicate the transmission order of the signals.
【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.
When a document recording request signal 60 is output from the communication control section 10 or code data memory section 11 to the host MPU 7, the host MPU 7 receives the document recording request signal 60.
Detection is performed. ■When the above detection is performed, the host MPU 7
supplies a decoding mode setting command 61 to the decoding section 2 via the control bus 17, and at the same time supplies a recording mode setting command 67 to the recording section 9 via the control bus 13. (2) The decoding unit 2 enters a state of waiting for a 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 starting this decoding process, the decoding section 2 continues to execute the decoding process in the set decoding mode until the page end request signal 63 is input. (3) When the transmission of encoded data for one page of the original is completed, a page end request signal 63 is sent from the communication control section 10 or the encoded data memory section 11.
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. (2) At this time, the decoding section 2 outputs a decoding end signal 64 to the host MPU 7 and the recording section 9 via the control bus 16, and enters an idle state. After that, the state returns to the initial state, and from now on, if there is still encoded data of the original to be recorded,
The above operations are repeated in this order.
【0046】以上説明したように、符号化デ−タの復号
化及び復号されたデ−タの記録に関して見ると、ホスト
MPU7は、通信制御部10または符号デ−タメモリ部
11から供給される原稿記録要求信号60の印加の監視
を行い、当該原稿記録要求信号60が供給されたときに
、復号化部2と記録部9に復号化の準備のための復号化
モ−ド設定コマンド61及び記録の準備のための記録モ
−ド設定コマンド67の供給の実行を行いさえすれば、
その後はホストMPU7を介在させることなく、復号化
部2と記録部9との間だけで独自に符号化デ−タの復号
化及び復号されたデ−タの記録が行われるようになり、
この間ホストMPU7のリアルタイム制御を必要としな
いものである。また、符号化デ−タの復号化及び復号さ
れたデ−タの記録の終了時においても、ホストMPU7
は、前と同様に、通信制御部10または符号デ−タメモ
リ部11から原稿のペ−ジ単位毎に供給される復号化終
了信号64の印加の監視を行い、当該復号化終了信号6
4の受信が検出された後は他の情報処理の制御を適宜実
行できるものである。As explained above, in terms of decoding encoded data and recording the decoded data, the host MPU 7 receives the original data supplied from the communication control section 10 or the encoded data memory section 11. The application of the recording request signal 60 is monitored, and when the document recording request signal 60 is supplied, a decoding mode setting command 61 and recording are sent to the decoding section 2 and recording section 9 to prepare for decoding. As long as the recording mode setting command 67 is supplied for preparation,
Thereafter, the decoding of the encoded data and the recording of the decoded data are performed independently between the decoding section 2 and the recording section 9 without the intervention of the host MPU 7.
During this time, real-time control of the host MPU 7 is not required. Furthermore, even at the end of decoding of encoded data and recording of decoded data, the host MPU 7
As before, monitors the application of the decoding end signal 64 supplied from the communication control section 10 or code data memory section 11 for each page of the document, and detects the decoding end signal 6.
After the reception of No. 4 is detected, control of other information processing can be executed as appropriate.
【0047】続いて、図7を用いて、符号化部1と読取
部8との間、及び、ラインメモリ4と符号化処理部3と
の間の制御信号の授受の仕方について説明する。Next, referring to FIG. 7, a method of transmitting and receiving control signals between the encoding section 1 and the reading section 8 and between the line memory 4 and the encoding processing section 3 will be explained.
【0048】図において、100はデ−タバスインタ−
フェイス(I/F)、101は3ラインアドレス制御I
/F、102は読取制御I/F、103は符号化演算部
であり、これらは連鎖状に結合されて、符号化処理部3
を構成している。In the figure, 100 is a data bus interface.
interface (I/F), 101 is 3 line address control I
/F, 102 is a reading control I/F, and 103 is an encoding operation section, which are connected in a chain to form an encoding processing section 3.
It consists of
【0049】そして、読取制御I/F102は、制御バ
ス18を介して授受される制御信号の内のペ−ジ開始信
号とペ−ジ終了信号を検知する機能を具備し、その機能
によりペ−ジ開始信号とペ−ジ終了信号の検知を行い、
他の何等の制御を介在することなく原稿のペ−ジ単位毎
の読取り開始及び読取り終了のタイミングを読取部8と
の間で取り、読取制御I/F102に内蔵されているデ
−タ入出力タイミング信号の制御を行って、原稿の読取
り及び読取ったデ−タの符号化を実行している。また、
3ラインアドレス制御I/F101及びデ−タバスI/
F100は、ラインメモリ部4と符号化処理部3との間
で行う以下に述べるような画像デ−タの授受の制御を行
うものである。The reading control I/F 102 has a function of detecting a page start signal and a page end signal among the control signals sent and received via the control bus 18, and uses this function to detect a page start signal and a page end signal. Detects the page start signal and page end signal,
The data input/output built into the reading control I/F 102 determines the reading start and reading end timing for each page of the original without any other control. The timing signal is controlled to read the original and encode the read data. Also,
3-line address control I/F101 and data bus I/F101
F100 controls the exchange of image data between the line memory section 4 and the encoding processing section 3 as described below.
【0050】一般に、画像デ−タを符号化する場合には
、当該画像デ−タ中の単位長さ当たりの白黒画素の変化
点の数が多いほど、画像デ−タの符号化に時間を要する
。そして、通常、画像デ−タの読取りに際しては、一定
速度で画像デ−タの読取りを行うように構成されている
が、一定速度で画像デ−タの読込みを行ったときに、読
取部8と符号化部1との間にメモリ手段を配置していな
い場合には、一定速度の画像デ−タの読込みに同期して
当該読込みデ−タの符号化を行わねばならない。一方、
一定速度で画像デ−タの符号化を行う場合にはその符号
化が遅れたときに未符号化画像デ−タ信号が発生しない
ようにするため、通常は、その安全性を見越して符号化
部1に入力される画像デ−タの入力速度を抑えるように
している。Generally, when encoding image data, the greater the number of changing points of black and white pixels per unit length in the image data, the longer it takes to encode the image data. It takes. Normally, when reading image data, the image data is read at a constant speed. If no memory means is disposed between the encoder 1 and the encoder 1, the read data must be encoded in synchronization with the read of the image data at a constant speed. on the other hand,
When encoding image data at a constant speed, in order to prevent unencoded image data signals from being generated when encoding is delayed, encoding is usually done in anticipation of its safety. The input speed of image data input to section 1 is suppressed.
【0051】ところで、読取部8と符号化部1との間に
メモリ手段を配置した場合においても、画像デ−タの符
号化の速度が比較的速くなるように設定されているとき
には、未だ画像デ−タの読取りが完了していないライン
まで符号化を実行してしまう危険性があるため、符号化
を実行しているラインが当該メモリ手段の画像デ−タ入
力ラインを追い越さないような機能を付加する必要性が
生じてくる。By the way, even when a memory means is arranged between the reading section 8 and the encoding section 1, when the encoding speed of image data is set to be relatively fast, the image data still remains. Since there is a risk that encoding will be executed to a line for which data reading has not been completed, a function is provided to prevent the line being encoded from overtaking the image data input line of the memory means. The need arises to add .
【0052】この場合、画像デ−タの符号化を高速度で
行うためには、画像デ−タを原稿のペ−ジ単位にRAM
などのメモリに記憶し、記憶完了後に符号化を実行すれ
ば、符号化時間に対する安全性を見越した設定を行う必
要がなくなって高速化が期待できるが、膨大なビットマ
ップペ−ジメモリが必要になり、かつ、メモリ管理機能
も大きくなって、極めて不経済になるものである。In this case, in order to encode the image data at high speed, the image data is stored in the RAM for each page of the original.
If the data is stored in a memory such as , and then encoded after the storage is completed, there is no need to make settings that take into account the safety of the encoding time, and speed-up can be expected, but a huge amount of bitmap page memory is required. Moreover, the memory management function also becomes large, making it extremely uneconomical.
【0053】本発明は、このような場合に対処できるよ
うな構成を採用しているもので、前記機能を符号化処理
部4に内蔵させることにより、外部の制御素子の処理負
荷を増加させることなく、簡素化された構成で実施する
ことができるものである。The present invention adopts a configuration capable of dealing with such a case, and by incorporating the above function into the encoding processing section 4, it is possible to avoid increasing the processing load on the external control element. 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, in the present invention, a 3-line address control I/F 101 having a function of preventing overtaking of lines for which image data is not set is arranged in the encoding processing section 4, and further,
A line memory 4 for three lines is arranged in the encoding section 2. As the overtaking prevention function for lines for which no image data has been set, for example, there is a method of setting an image data setting completion flag for each line, or a method of setting a line address in advance based on the paper size and reading density. and the image data input line, or by providing a counter to ensure that there is a difference of at least a certain level between the image data input line and the encoding line. This can be fully realized by using a general method such as a method of setting as follows. 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 is temporarily stored therein, and then the data is transferred to the data bus I/F 101.
The signal is sent to the encoding calculation unit 103 via F100, where it is encoded and then output as encoded data.
【0055】以上のように、前記配置を採用すれば、符
号化処理部4に3ライン分の新たなメモリ管理機能を付
加するだけで、その他に大きなメモリ管理機能の付加を
必要としないことから、十分にハ−ドの簡素化を図るこ
とができる。As described above, if the above arrangement is adopted, it is only necessary to add a new memory management function for three lines to the encoding processing section 4, and there is no need to add any other large memory management function. , it is possible to achieve sufficient hardware simplification.
【0056】ここで、ラインメモリ4が3ライン分の容
量を有するだけでデ−タ処理の高速化が図れる理由につ
いて説明すると、MR、MMR符号化は、符号化するラ
インの一つ手前のラインを参照ラインとして2次元符号
化を行っているため、2ライン分のラインメモリを必要
とするが、3ライン分の容量を持つラインメモリの管理
機能を有すれば、当該符号化処理の実行中に、残りの1
ラインをパイプライン的に画像デ−タの入力用として使
用できるので、前記デ−タ処理の高速化が図れるもので
ある。そして、通常、ファクシミリやオフィスで使用さ
れるドキュメントは、最大A3サイズ程度であって、4
00dpiという高精細な読込にを行ったとしても、高
々2kバイト程度の制御をすれば足りることから、この
ような制御にプロセッサを使用したのでは不経済になる
。[0056] Here, to explain the reason why data processing can be speeded up simply by having the capacity of the line memory 4 for three lines, MR and MMR encoding can be used to Since two-dimensional encoding is performed using the reference line, line memory for two lines is required, but if you have a line memory management function with a capacity for three lines, it will be possible to perform two-dimensional encoding while the encoding process is being executed. , the remaining 1
Since the line can be used as a pipeline for inputting image data, the data processing speed can be increased. Documents used in facsimiles and offices are usually around A3 size, with 4.
Even if high-definition reading of 00 dpi is performed, it is sufficient to control at most about 2 kbytes, so it would be 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 explained above, the present invention has a line memory 4 for three lines and a three line address control I/F 1.
By simply adding 01, etc., economical pipeline processing can be performed and data processing can be accelerated. 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 G3 facsimile is 7.7 lines/m.
Even in the case of m, it is possible to read an A4 size document in about 1 second and encode the read data. By the way, this speed is more than 10 times faster than normal G3 facsimile communication.
If communication is performed after data is stored in a memory or the like, it is possible to shorten the sender's waiting time for reading the original at a high cost and performance.
【0058】次に、図8を用いて、復号化部2と記録部
9との間、及び、ラインメモリ6と復号化処理部5との
間の制御信号の授受の仕方について説明する。Next, a method of transmitting and receiving control signals between the decoding section 2 and the recording section 9 and between the line memory 6 and the decoding processing section 5 will be explained using FIG. 8.
【0059】図において、110はデ−タバスインタ−
フェイス(I/F)、111は3ラインアドレス制御I
/F、112は記録制御I/F、113は復号化演算部
であり、これらは連鎖状に結合されて、復号化処理部5
を構成している。In the figure, 110 is a data bus interface.
interface (I/F), 111 is 3 line address control I
/F, 112 is a recording control I/F, 113 is a decoding calculation section, and these are connected in a chain to form a decoding processing section 5.
It consists of
【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 sent and received via the control bus 21 and a function of outputting a recording page end signal. This function detects the recording page start signal and outputs the recording page end signal, and allows the start and end of recording for each page of the document without any other control. The timing is set with the recording section 9,
A data input/output timing signal built into the recording control I/F 112 is controlled to execute decoding of encoded data and recording of the decoded data. In addition, 3 line address control I/F111 and data bus I/F1
Reference numeral 10 controls the transfer of image data between the line memory section 6 and the decoding processing section 5, which will be described below.
【0061】ここでも、符号化の場合と同様に、符号化
デ−タを復号する場合には、当該符号化デ−タ中の単位
長さ当たりの白黒画素の変化点の数が多いほど、単位時
間当たりの符号化デ−タの復号される割合は少なくなる
。そして、一般に、復号された画像デ−タの記録に際し
ては、一定速度で当該画像デ−タの記録を行うように構
成されているが、一定速度で画像デ−タを記録を行った
ときに、記録部9と復号化部2との間にメモリ手段を配
置していない場合には、符号化デ−タの復号速度に同期
した一定速度で以って当該画像デ−タの記録を行わねば
ならない。一方、一定速度で当該画像デ−タの記録を行
う場合にはその復号化が遅れたときに未復号デ−タが記
録されないようにするため、通常は、その安全性を見越
して当該画像デ−タの記録速度を抑えるようにしている
。Here, as in the case of encoding, when decoding encoded data, the greater the number of changing points of black and white pixels per unit length in the encoded data, the more The rate at which encoded data is decoded per unit time decreases. Generally, when recording decoded image data, the image data is recorded at a constant speed. If no memory means is arranged between the recording section 9 and the decoding section 2, the image data is recorded at a constant speed synchronized with the decoding speed of the encoded data. Must be. On the other hand, when the image data is recorded at a constant speed, in order to prevent undecoded data from being recorded if the decoding is delayed, the image data is usually - I am trying to suppress the recording speed of the data.
【0062】さらに、復号化部2と記録部9との間にメ
モリ手段を配置した場合においても、符号化デ−タの復
号化の速度が比較的速くなるように設定されているとき
には、未だ画像デ−タを記録部9に出力していないライ
ン上に復元した画像デ−タを再度書き込んでしまう、所
謂、オ−バ−ライトが発生してしまう危険性があるため
、復号化を実行しているラインが当該メモリ手段の画像
デ−タの記録ラインを追い越さないような機能を付加す
る必要性が生じてくる。Furthermore, even when a memory means is arranged between the decoding section 2 and the recording section 9, when the decoding speed of encoded data is set to be relatively fast, the decoding speed is still relatively high. Since there is a risk of so-called overwriting occurring, in which restored image data is written again on a line where image data has not been output to the recording unit 9, decoding is not performed. There arises a need to add a function to prevent the recorded line from overtaking the recording line of the image data in the memory means.
【0063】この場合においても、符号化デ−タの復号
化を高速度で行うためには、復号された画像デ−タをペ
−ジ単位毎にRAMなどのメモリに記憶し、記憶完了後
に記録の実行を行えば、復号化時間に対する安全性を見
越した設定を行う必要がなくなって高速化が期待できる
が、この場合も膨大なビットマップペ−ジメモリが必要
になり、かつ、メモリ管理機能も大きくなって、極めて
不経済になる。Even in this case, in order to decode encoded data at high speed, the decoded image data is stored page by page in a memory such as a RAM, and after the storage is completed, the decoded image data is stored in a memory such as a RAM. If recording is performed, there is no need to make settings that take security into account with respect to decoding time, which can be expected to speed up the process, but this also requires a huge amount of bitmap page memory and requires memory management functionality. becomes large and becomes extremely uneconomical.
【0064】本発明は、このような場合に対処できるよ
うな構成を採用しているもので、前記機能を復号化処理
部5に内蔵させることにより、外部の制御素子の処理負
荷を増加させることなく、簡素化された構成で実施する
ことができるものである。[0064] The present invention adopts a configuration that can cope with such a case, and by incorporating the above function into the decoding processing section 5, it is possible to avoid increasing the processing load on the external control element. 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, the present invention provides a 3-line address control I/F 111 in the decoding processing section 5 that has an overtaking prevention function that prevents the recording of decoded data from overtaking the decoding line. In addition, a line memory 6 for three lines is arranged in the decoding section 2. The overtaking prevention function can be fully realized by using a general method similar to the above-mentioned overtaking prevention function used during encoding. Also in this case, the encoded data is decoded by the decoding calculation unit 113, and the decoded image data is transferred to the 3-line address control I/F 111.
The data is input to the line memory unit 6 via the data bus I/F 110 under the control of the data bus I/F 110 and temporarily stored therein, and 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, it is only necessary to add a new memory management function for three lines to the decoding processing section 5, and there is no need to add any other large memory management function. , it is possible to achieve sufficient hardware simplification.
【0067】ここにおいても、ラインメモリ部6が3ラ
イン分の容量を有するだけでデ−タ処理の高速化が図れ
る理由について説明すると、MR、MMR復号化は、復
号化したラインの一つ手前のラインを参照ラインとして
2次元復号化を行っているため、2ライン分のラインメ
モリを必要とするものの、3ライン分の容量を持つライ
ンメモリの管理機能を有すれば、当該復号化処理の実行
中に、残りの1ラインをパイプライン的に記録すべき復
号されたデ−タの出力用として使用できるので、デ−タ
処理の高速化が図れるものである。そして、この場合も
、通常、ファクシミリやオフィスで使用されるドキュメ
ントは、最大A3サイズ程度であって、400dpiと
いう高精細な読込にを行ったとしても、高々2kバイト
程度の制御をすればよいことから、このような制御にプ
ロセッサを使用したのでは不経済になることは前述の場
合と同じである。Here again, to explain the reason why data processing can be speeded up simply by having the capacity of the line memory section 6 for three lines, MR and MMR decoding can be performed at one line before the decoded line. Since two-dimensional decoding is performed using the line as a reference line, a line memory for two lines is required, but if a line memory management function with a capacity for three lines is provided, the decoding process can be performed easily. During execution, the remaining one line can be used to output decoded data to be recorded in a pipeline manner, so data processing can be speeded up. In this case as well, the maximum size of documents used in facsimiles and offices is usually around A3 size, and even if high-definition reading at 400 dpi is performed, it is only necessary to control approximately 2 kbytes at most. Therefore, as in the case described above, it would be uneconomical to use a processor for such control.
【0068】以上説明したように、本願発明は、符号化
デ−タの復号及び復号されたデ−タの記録においても、
3ライン分のラインメモリ部6と3ラインアドレス制御
I/F111等を付加するだけで、経済的なパイプライ
ン的処理を行うことができ、デ−タ処理の高速化が可能
になるものである。このため、各制御バスの負荷が軽減
し、符号化デ−タの復号時の速度として10Mb/sが
達成でき、G3ファクシミリで使用される副走査方向の
線密度7.7本/mmの場合においても、A4サイズの
原稿の符号化デ−タを1秒程度で復号し、その復号され
たデ−タの記録が可能になる。ちなみに、この速度は、
通常のG3ファクシミリ通信の場合の10倍以上であり
、受信した符号化デ−タを一旦圧縮してメモリ等に蓄積
しておき、当該通信の終了後に一括して出力させれば、
扱い者の記録待ち時間を短縮でき、扱い者にとって快適
と思われる記録サ−ビスを高いコストパフォ−マンスで
実現できることになる。[0068] As explained above, the present invention can also be applied in decoding encoded data and recording decoded data.
By simply adding a line memory section 6 for 3 lines, a 3-line address control I/F 111, etc., economical pipeline-like processing can be performed and data processing can be accelerated. . Therefore, the load on each control bus is reduced, and a speed of 10 Mb/s can be achieved when decoding encoded data, and at a line density of 7.7 lines/mm in the sub-scanning direction used in G3 facsimile. Also, it is possible to decode the encoded data of an A4 size document in about one second and record the decoded data. By the way, this speed is
This is more than 10 times that of normal G3 facsimile communication, and if the received encoded data is compressed and stored in a memory etc., and then output all at once after the communication is completed,
The record waiting time of the handler can be shortened, and a recording service that is comfortable for the handler can be realized with high cost performance.
【0069】以上の説明は、符号化及び復号化とが、独
立して動作できるものであることを前提として行ったも
のであるが、この場合には原稿の読取りと復号されたデ
−タの記録との同時動作を可能にするマルチ動作が実現
でき、サ−ビス向上に大きく貢献するするものである。
そして、このマルチ動作を実行すれば、タイムシェアリ
ング等の採用により、複雑な制御を必要としたり、実行
時間の遅れが生じることもあるものの、ハ−ドコストが
削減できるという非常に大きな効果を奏するものである
。[0069] The above explanation was made on the assumption that encoding and decoding can operate independently, but in this case, reading the original and decoding the decoded data are the same. It is possible to realize multi-operation that enables simultaneous operation with recording, which greatly contributes to improving services. If this multi-operation is executed, it will have the great effect of reducing hard costs, although it may require complex control or cause delays in execution time due to the adoption of time sharing, etc. It is something.
【0070】一方、前記マルチ動作を実行しない場合に
は、符号化部1と復号化部2の構成を簡素化し、例えば
、ラインメモリ部4、6を共有させたり、デ−タバスI
/F100、110を総合させて双方向バスI/Fに変
更させたりすることができる。さらに、3ラインアドレ
ス制御I/F101、111や、読取制御I/F102
と記録制御I/F112のデ−タ入出力タイミング信号
等も共有させることができるので、より簡素化した構成
を得ることが可能になる。On the other hand, when the multi-operation is not performed, the configurations of the encoding section 1 and the decoding section 2 may be simplified, for example, the line memory sections 4 and 6 may be shared, or the data bus I
/Fs 100 and 110 can be combined and changed into a bidirectional bus I/F. Furthermore, 3 line address control I/F101, 111 and reading control I/F102
Since data input/output timing signals and the like of the recording control I/F 112 can also be shared with the recording control I/F 112, it becomes possible to obtain a more simplified configuration.
【0071】以上の説明は、本発明による符号化復号化
方式をファクシミリ装置に適用した場合について行って
いるが、本発明による符号化復号化方式の適用機種はフ
ァクシミリ装置に限られるものではなく、他の機種にも
適用可能なものである。[0071] The above explanation has been made regarding the case where the encoding/decoding method according to the present invention is applied to a facsimile machine, but the models to which the encoding/decoding method according to the present invention can be applied are not limited to facsimile machines. It is also applicable to other models.
【0072】また、以上の説明においては、符号化部1
、復号化部2、ホストMPU7、読取部8、記録部9、
通信制御部10、符号デ−タメモリ部11等を個別に構
成したものとして行ってきたが、本発明は、このような
個別の構成のものに限られるものではなく、前記各構成
が有する機能を含むものであれば、それらの構成のもの
を適宜組み合わせたものにすることができる。[0072] In the above explanation, the encoding unit 1
, decoding section 2, host MPU 7, reading section 8, recording section 9,
Although the communication control unit 10, code data memory unit 11, etc. have been described as having been configured individually, the present invention is not limited to such separate configurations, and the functions of each of the above-mentioned configurations can be combined. As long as they are included, these configurations can be combined as appropriate.
【0073】そして、特に、符号化部1と復号化部2の
構成に際しては、従来行っていたのと同様に、符号化部
1と復号化部2を1つの大規模集積回路(LSI)に組
込み、前記LSIと外部回路との接続を前記LSIに導
出したピンによって行うか、または、符号化部1と復号
化部2を1つのボ−ドに組込み、このボ−ドと外部回路
との接続を前記ボ−ドに導出したピンによって行うよう
にしてもよい。ただし、このようなLSIまたはボ−ド
の構成を採用した場合には、従来導出したピンの他に、
ペ−ジ終了信号が入出力されるピンを新たに設ける必要
がある。In particular, when configuring the encoding section 1 and the decoding section 2, the encoding section 1 and the decoding section 2 are integrated into one large-scale integrated circuit (LSI), as has been done in the past. Incorporating the LSI and connecting the external circuit with the LSI can be done using pins led out to the LSI, or the encoding section 1 and the decoding section 2 can be incorporated into one board and the connection between this board and the external circuit can be made. The connection may be made by pins led out to the board. However, when adopting such an LSI or board configuration, in addition to the conventionally derived pins,
It is necessary to provide a new pin for inputting and outputting the page end signal.
【0074】この他にも、読取部8で行っている原稿の
読取り、及び/または、記録部9で行っているデ−タの
記録のための媒体としては、単に紙類だけに限られるも
のではなく、磁気装置や光ファイル等の媒体を適宜用い
るようにしてもよい。[0074] In addition, the medium for reading the original in the reading section 8 and/or recording data in the recording section 9 is limited to paper. Instead, a medium such as a magnetic device or an optical file may be used as appropriate.
【0075】さらに、少なくとも復号化部2と記録部9
の構成を一体的な装置にまとめ、それらをプリンタの形
式に構成することもできる。Furthermore, at least the decoding section 2 and the recording section 9
It is also possible to combine the components into an integrated device and configure them in the form of a printer.
【0076】[0076]
【発明の効果】以上説明したように、本発明による符号
化復号化方式は、原稿のぺ−ジ単位毎に、符号化または
復号化の処理開始以前にホスト制御部7が必要なコマン
ドを所定のものに供給するだけで、その後は符号化部ま
たは復号化部が、独自に、原稿の読取り及び読取りデ−
タの符号化、並びに、符号化デ−タの復号及び復号され
たデ−タの記録をそれぞれ実行するように構成されてい
るので、全期間ホスト制御部7が制御を管理している従
来の方式に比べて負荷は非常に軽減される。As explained above, the encoding/decoding method according to the present invention allows the host controller 7 to issue necessary commands for each page of a document before starting the encoding or decoding process. After that, the encoding unit or decoding unit independently reads the original and reads the read data.
Since it is configured to perform encoding of the data, decoding of the encoded data, and recording of the decoded data, the host controller 7 manages the control for the entire period. The load is significantly reduced compared to the conventional method.
【0077】そして、本発明による符号化復号化方式は
、符号化処理中または復号化処理中に、ホスト制御部7
のリアルタイムでの制御信号の授受が不要になったため
、符号化処理及び復号化処理自体も従来のものに比べて
高速化され、通常のG3ファクシミリにおける原稿の入
出力速度の10倍以上の高速度で原稿の入出力処理が可
能となるという顕著な効果を奏するものである。[0077] In the encoding/decoding method according to the present invention, the host controller 7
Because it is no longer necessary to send and receive control signals in real time, the encoding and decoding processes themselves are faster than conventional ones, and the speed is more than 10 times the original input/output speed of normal G3 facsimile. This has the remarkable effect of enabling original input/output processing.
【0078】また、本発明による符号化復号化方式は、
従来必要とされていたビットマップペ−ジメモリを使用
しないため、当該部分の信号処理が簡素化され、その分
だけ他の信号処理時の高速化を図ることができる。さら
に、前記簡素化された信号処理の採用により、ホスト制
御部7の負荷が大幅に軽減されるため、制御機能が向上
したにも係わらず、処理性能の高いプロセッサの使用や
マルチプロセッサの使用が不要になり、より高度なサ−
ビスを低コストで実現させることができる。[0078] Furthermore, the encoding/decoding method according to the present invention is as follows:
Since the conventionally required bitmap page memory is not used, the signal processing in this part is simplified, and the speed of other signal processing can be increased accordingly. Furthermore, by adopting the simplified signal processing described above, the load on the host control unit 7 is significantly reduced, so even though the control function has been improved, the use of a processor with high processing performance or the use of a multiprocessor is unnecessary. No longer needed, more advanced services
can be realized at low cost.
【0079】この結果、取扱い者の待ち時間を大幅に短
縮したサ−ビスや、マンマシン性を向上させるサ−ビス
を高いコストパフォ−マンスで提供できるという優れた
効果を奏するものである。[0079] As a result, it is possible to provide a service that greatly shortens the waiting time of the handler and a service that improves man-machine handling at a high cost performance.
【図1】本発明の符号化復号化方式を適用したファクシ
ミリ装置を示すブロック構成図である。FIG. 1 is a block configuration diagram showing a facsimile apparatus to which an encoding/decoding method of the present invention is applied.
【図2】ホストMPUが実行する処理の流れを示すフロ
ーチャートである。FIG. 2 is a flowchart showing the flow of processing executed by a host MPU.
【図3】符号化時におけるシステム、ホスト制御部、符
号化部間の処理の時間的経緯を示す説明図である。FIG. 3 is an explanatory diagram showing the temporal history of processing among the system, host control unit, and encoding unit during encoding.
【図4】復号化時におけるシステム、ホスト制御部、復
号化部間の処理の時間的経緯を示す説明図である。FIG. 4 is an explanatory diagram showing the time course of processing among the system, host control unit, and decoding unit during decoding.
【図5】図3の処理の時間的経緯を制御信号の流れで示
すハードイメージ図である。FIG. 5 is a hardware image diagram showing the time course of the process in FIG. 3 by the flow of control signals;
【図6】図4の処理の時間的経緯を制御信号の流れで示
すハードイメージ図である。FIG. 6 is a hardware image diagram showing the time course of the processing in FIG. 4 by the flow of control signals;
【図7】符号化部の構成と制御信号の流れを示す系統図
である。FIG. 7 is a system diagram showing the configuration of an encoding unit and the flow of control signals.
【図8】復号化部の構成と制御信号の流れを示す系統図
である。FIG. 8 is a system diagram showing the configuration of a decoding section and the flow of control signals.
【図9】画像の副走査方向の移動量を示す説明図である
。FIG. 9 is an explanatory diagram showing the amount of movement of an image in the sub-scanning direction.
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/F102
読取制御I/F
103 符号化演算部
112 記録制御I/F
113 復号化演算部1 Encoding section 2 Decoding section 3 Encoding processing section 4, 6 Line memory section 5 Decoding processing section 7 Host MPU (host control section) 8 Reading section 9 Recording section 10 Communication control section 11 Code data memory section 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/F102
Reading control I/F 103 Encoding operation section 112 Recording control I/F 113 Decoding operation section
Claims (8)
号化部と、全体制御を行うホスト制御部とを有し、前記
ホスト制御部は、前記データ入出力部からの要求により
符号化復号化部に符号化復号化処理の開始を指令し、符
号化復号化部は、前記指令を受けて、前記ホスト制御部
を介することなく前記データ入出力部からのデータの副
走査方向の移動量に関する情報に基づいてデータ処理を
順次行い、ホスト制御部に前記データ処理の終了を告げ
ることを特徴とする符号化復号化方式。Claim 1: At least a data input/output section, an encoding/decoding section, and a host control section that performs overall control, wherein the host control section performs encoding/decoding according to a request from the data input/output section. In response to the instruction, the encoding/decoding unit determines the amount of movement of data in the sub-scanning direction from the data input/output unit without going through the host control unit. An encoding/decoding method characterized in that data processing is performed sequentially based on information regarding the data processing, and a host control unit is notified of the end of the data processing.
部と、前記読取部で読取ったデータを符号化する符号化
部と、情報処理に対する全体制御を行うホスト制御部と
を有し、前記ホスト制御部は、前記読取部から原稿読取
要求を受けると、符号化モードの設定を行うと共に前記
符号化部へ符号化準備コマンドを供給し、その後、前記
符号化部は、前記読取部から前記ホスト制御部を介すこ
となく読取開始要求を受けて符号化処理を行い、さらに
、前記読取部から前記ホスト制御部を介すことなくペー
ジ終了要求を受けると、前記符号化処理を完了すると共
に前記ホスト制御部に符号化終了信号を供給し、前記ホ
スト制御部は前記読取部に符号化終了コマンドを供給す
ることを特徴とする符号化方式。2. The host computer comprises at least a reading unit that scans and reads a document, an encoding unit that encodes data read by the reading unit, and a host control unit that performs overall control over information processing. When the control unit receives a document reading request from the reading unit, the control unit sets an encoding mode and supplies an encoding preparation command to the encoding unit, and then the encoding unit transmits the request from the reading unit to the host. When a reading start request is received without going through the control unit and an encoding process is performed, and a page end request is received from the reading unit without going through the host control unit, the encoding process is completed and the encoding process is completed. An encoding method characterized in that an encoding end signal is supplied to a host control section, and the host control section supplies an encoding end command to the reading section.
持ったラインメモリ部を備え、前記読取ったデータを一
時的に記憶させることを特徴とする請求項2記載の符号
化方式。3. The encoding method according to claim 2, wherein the encoding section includes a line memory section having a storage capacity for three lines, and temporarily stores the read data.
される画素データのアドレスが、前記ラインメモリ部に
入力される画素データのアドレスを追い越さない手段を
内蔵していることを特徴とする請求項2記載の符号化方
式。4. The encoding unit is characterized in that it includes a means for preventing the address of pixel data read from the line memory unit from overtaking the address of pixel data input to the line memory unit. The encoding method according to claim 2.
憶部から入力される符号化データを復号する復号化部と
、前記復号化部で復号されたデータを記録する記録部と
、情報処理に対する全体制御を行うホスト制御部とを有
し、前記ホスト制御部は、前記受信部または符号化デー
タ記憶部から原稿記録要求を受けると、復号化記録モー
ド設定を行うと共に前記復号化部へ復号化コマンドを供
給し、その後、前記復号化部は、前記受信部または符号
化データ記憶部から前記ホスト制御部を介すことなく記
録開始要求を受けて復号化処理を行い、さらに、前記受
信部または符号化データ記憶部から前記ホスト制御部を
介すことなくページ終了要求を受けると、前記復号化処
理を終了すると共に前記ホスト制御部に復号化終了信号
を供給し、前記ホスト制御部は前記記録部に復号化終了
コマンドを供給することを特徴とする復号化方式。5. At least a decoding unit that decodes encoded data input from a receiving unit or an encoded data storage unit, a recording unit that records data decoded by the decoding unit, and an overall system for information processing. and a host control section that performs control, and when the host control section receives a document recording request from the reception section or encoded data storage section, it sets a decoding recording mode and sends a decoding command to the decoding section. Thereafter, the decoding unit receives a recording start request from the receiving unit or encoded data storage unit without going through the host control unit and performs a decoding process, and When a page end request is received from the encoded data storage unit without going through the host control unit, the decoding process is terminated and a decoding end signal is supplied to the host control unit, and the host control unit A decoding method characterized by supplying a decoding end command to.
持ったラインメモリ部を備え、復号後のデータを一時的
に記憶させることを特徴とする請求項5記載の復号化方
式。6. The decoding method according to claim 5, wherein the decoding section includes a line memory section having a storage capacity for three lines, and temporarily stores the decoded data.
れたデータを読出す際の画素データのアドレスが、前記
ラインメモリ部に入力される画素データのアドレスを追
い越さない手段を内蔵していることを特徴とする請求項
5記載の復号化方式。7. The decoding section includes means for preventing an address of pixel data when reading data stored in the line memory section from overtaking an address of pixel data input to the line memory section. 6. The decoding method according to claim 5, wherein:
規模集積回路(LSI)または1つのボ−ド内に構成し
、このLSIまたはボ−ドにページ終了要求を受信及び
送信するピンを設けたことを特徴とする請求項2、5に
記載の符号化復号化方式。8. The encoding unit and the decoding unit are configured in one large-scale integrated circuit (LSI) or one board, and a page end request is received and transmitted to the LSI or board. 6. The encoding/decoding method according to claim 2, further comprising a pin.
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 true JPH04369972A (en) | 1992-12-22 |
JP3163304B2 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008193146A (en) * | 2007-01-31 | 2008-08-21 | Canon Inc | Decoding circuit |
-
1991
- 1991-06-18 JP JP17189991A patent/JP3163304B2/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008193146A (en) * | 2007-01-31 | 2008-08-21 | Canon Inc | Decoding circuit |
Also Published As
Publication number | Publication date |
---|---|
JP3163304B2 (en) | 2001-05-08 |
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 | |
JP2001169022A (en) | Image processor | |
JP3529205B2 (en) | Printing equipment | |
US5485287A (en) | High-speed image signal processing system | |
TW443061B (en) | Fax device | |
JPH04369972A (en) | Encoding/decoding system | |
JP3192248B2 (en) | Image signal encoding device | |
JPH1074163A (en) | Digital copying machine | |
JP2001338286A (en) | Method and device for image processing | |
KR920007503B1 (en) | Binary Image Information Processing Equipment | |
JP2003099391A (en) | Dma-forwarding method | |
JP2002118756A (en) | Data transfer method and data transfer device, and image processing unit and image forming device | |
JP4065194B2 (en) | Image forming apparatus | |
JP3253641B2 (en) | Electronic and facsimile machines | |
JP3181787B2 (en) | Image transmission method and apparatus | |
JP3003602B2 (en) | Communication terminal device | |
JP3060450U (en) | Fax reception data processor | |
JP3212305B2 (en) | Control method for facsimile machine | |
JP3129906B2 (en) | Facsimile machine | |
JP3153257B2 (en) | Facsimile machine | |
JPH0844875A (en) | Encoding processor | |
JPH0815299B2 (en) | Image processing system | |
JPH0895900A (en) | Data processor | |
JPH02202761A (en) | Picture processing device |
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 |