JP2000032274A - Facsimile machine - Google Patents
Facsimile machineInfo
- Publication number
- JP2000032274A JP2000032274A JP10201887A JP20188798A JP2000032274A JP 2000032274 A JP2000032274 A JP 2000032274A JP 10201887 A JP10201887 A JP 10201887A JP 20188798 A JP20188798 A JP 20188798A JP 2000032274 A JP2000032274 A JP 2000032274A
- Authority
- JP
- Japan
- Prior art keywords
- huffman table
- communication
- black
- area communication
- code 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.)
- Withdrawn
Links
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
(57)【要約】
【課題】閉域通信における通信のセキュリティを高く
し、二値データの圧縮率を高くし、通信時間を短くする
ことができるようにする。
【解決手段】複数のハフマンテーブルと、送信に伴っ
て、前記複数のハフマンテーブルのうちの任意のハフマ
ンテーブルを選択するハフマンテーブル選択手段と、選
択されたハフマンテーブルを参照して二値データの圧縮
及び符号データの復元を行う符号/復号手段とを有す
る。この場合、送信機において、ハフマンテーブルが選
択され、該ハフマンテーブルが参照されて二値データが
符号化されると、受信機において、選択されたハフマン
テーブルを備えない限り、第三者が閉域通信内に進入す
ることはできない。したがって、閉域通信における通信
のセキュリティを高くすることができ、信頼性を向上さ
せることができる。
(57) [Summary] To improve the security of communication in closed area communication, increase the compression ratio of binary data, and shorten the communication time. Kind Code: A1 A plurality of Huffman tables, a Huffman table selecting means for selecting an arbitrary Huffman table among the plurality of Huffman tables upon transmission, and compression of binary data with reference to the selected Huffman table. And code / decoding means for restoring code data. In this case, at the transmitter, the Huffman table is selected, and when the binary data is encoded with reference to the Huffman table, unless the selected Huffman table is provided at the receiver, a third party can perform closed communication. You cannot enter. Therefore, communication security in closed area communication can be enhanced, and reliability can be improved.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ファクシミリ装置
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile apparatus.
【0002】[0002]
【従来の技術】従来、ファクシミリ装置においては、電
話番号を入力して送信することによって、誰とでも通信
することができるが、意図しない通信相手に誤って情報
が送られたりすることがあり、通信のセキュリティが低
い。そこで、特定の通信相手との間においてだけ通信を
行うことが可能な閉域通信を行う機能を備えるファクシ
ミリ装置が提供されている。通常、前記閉域通信におけ
る被呼側のファクシミリ装置、すなわち、受信機は、電
話番号によって特定される。そして、該電話番号は、通
常、ITU−T勧告におけるT.30で定義されている
ように、被呼局識別信号CSI、送信端末識別信号TS
I等のフレームから成る。2. Description of the Related Art Conventionally, a facsimile machine can communicate with anyone by inputting and transmitting a telephone number, but information may be erroneously sent to an unintended communication partner. Communication security is low. Therefore, a facsimile apparatus having a function of performing closed area communication capable of performing communication only with a specific communication partner is provided. Usually, the called facsimile machine in the closed communication, that is, the receiver, is specified by a telephone number. And, the telephone number is usually the T.T. 30, the called station identification signal CSI, the transmitting terminal identification signal TS
I and other frames.
【0003】また、前記閉域通信における発呼側のファ
クシミリ装置、すなわち、送信機においては、通信時間
を短くするために、原稿の画像を読み取ることによって
発生させられた画データを白データ及び黒データから成
る二値データに変換し、該二値データを圧縮、すなわ
ち、符号化して符号データを生成し、該符号データを変
調データに変調して受信機に送信するようにしている。
そして、該受信機においては、送信機から前記変調デー
タを受信すると、該変調データを符号データに復調し、
該符号データを元の状態に復元、すなわち、復号化して
二値データを生成する。Further, in a facsimile apparatus on the calling side in the closed area communication, that is, a transmitter, image data generated by reading an image of an original is converted into white data and black data in order to shorten the communication time. Is converted to binary data, and the binary data is compressed, that is, encoded to generate code data, and the code data is modulated into modulated data and transmitted to a receiver.
And, in the receiver, upon receiving the modulated data from the transmitter, demodulates the modulated data into code data,
The code data is restored to the original state, that is, decoded to generate binary data.
【0004】そして、前記符号データを生成する方式と
してMH方式、MR方式、MMR方式等が使用され、そ
のために、通常、ITU−T勧告におけるT.4で定義
されているハフマンテーブルが使用される。図2は従来
のファクシミリ装置の通信手順を示す第1の図、図3は
従来のファクシミリ装置の通信手順を示す第2の図であ
る。An MH system, an MR system, an MMR system, and the like are used as a system for generating the code data. The Huffman table defined in 4 is used. FIG. 2 is a first diagram showing a communication procedure of a conventional facsimile machine, and FIG. 3 is a second diagram showing a communication procedure of a conventional facsimile machine.
【0005】図に示されるように、送信機が受信機との
間において通信を行うために発呼すると、受信機は、電
話回線を捕捉(そく)し、非標準手順信号NSF、被呼
局識別信号CSI及びディジタル識別信号DISを送信
機に送信する。続いて、該送信機においては、受信機か
ら最初に送られてくる非標準手順信号NSF、被呼局識
別信号CSI及びディジタル識別信号DISのうちの、
被呼局識別信号CSIの中にセットされている20バイ
トと、閉域通信用の電話番号としてあらかじめ登録され
ている電話番号とを比較し、20バイトと電話番号とが
一致しているかどうかを判断する。As shown in the figure, when a transmitter places a call to communicate with a receiver, the receiver seizes the telephone line, and the non-standard procedural signal NSF, the called station. The identification signal CSI and the digital identification signal DIS are transmitted to the transmitter. Subsequently, in the transmitter, of the non-standard procedure signal NSF, called station identification signal CSI, and digital identification signal DIS, first transmitted from the receiver,
The 20 bytes set in the called station identification signal CSI is compared with a telephone number registered in advance as a telephone number for closed communication, and it is determined whether the 20 bytes match the telephone number. I do.
【0006】20バイトと電話番号とが一致している場
合(CISチェックOK)、送信機は、送信端末識別信
号TSI及びディジタル命令信号DCSを受信機に送信
する。続いて、送信機は、トレーニングチェックTrを
受信機に送信する。一方、20バイトと電話番号とが一
致していない場合、送信機は、切断命令信号DCNを受
信機に送信して電話回線を切断する。When the 20 bytes match the telephone number (CIS check OK), the transmitter transmits the transmitting terminal identification signal TSI and the digital command signal DCS to the receiver. Subsequently, the transmitter transmits the training check Tr to the receiver. On the other hand, if the 20 bytes do not match the telephone number, the transmitter transmits a disconnection command signal DCN to the receiver to disconnect the telephone line.
【0007】また、受信機は、送信端末識別信号TSI
の中にセットされている20バイトと、閉域通信用の電
話番号としてあらかじめ登録されている電話番号とを比
較して、20バイトと電話番号とが一致しているかどう
かを判断する。20バイトと電話番号とが一致している
場合(TISチェックOK)、受信機は、トレーニング
チェックTrを正常に受信し、その後、図2に示される
ように、受信準備確認信号CFRを送信機に送信する。
一方、20バイトと電話番号とが一致していない場合、
受信機は、図3に示されるように、切断命令信号DCN
を送信機に送信して電話回線を切断する。[0007] Further, the receiver operates as a transmitting terminal identification signal TSI.
Is compared with a telephone number registered in advance as a telephone number for closed-area communication, and it is determined whether or not the 20 bytes match the telephone number. If the 20 bytes and the telephone number match (TIS check OK), the receiver normally receives the training check Tr, and then sends a reception preparation confirmation signal CFR to the transmitter as shown in FIG. Send.
On the other hand, if the 20 bytes do not match the phone number,
The receiver receives the disconnection command signal DCN as shown in FIG.
To the transmitter to disconnect the telephone line.
【0008】前記送信機は、受信準備確認信号CFRを
受信すると、ハフマンテーブルを使用して二値データを
符号化し、変調データを受信機に送信して、その後の通
信を継続する。なお、受信機において、送信機から最初
に送られてくる送信端末識別信号TSI及びディジタル
命令信号DCSのうちの、送信端末識別信号TSIの中
にセットされている20バイトと、閉域通信用の電話番
号としてあらかじめ登録されている電話番号とを比較
し、20バイトと電話番号とが一致しているかどうかを
判断することもできる。[0008] Upon receiving the reception preparation confirmation signal CFR, the transmitter encodes the binary data using the Huffman table, transmits the modulated data to the receiver, and continues the subsequent communication. In the receiver, 20 bytes set in the transmission terminal identification signal TSI of the transmission terminal identification signal TSI and the digital command signal DCS first transmitted from the transmitter and the telephone for closed area communication By comparing a telephone number registered in advance as a number, it is also possible to determine whether or not the 20 bytes match the telephone number.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、前記従
来のファクシミリ装置においては、閉域通信における通
信相手を電話番号で特定するようになっているので、あ
らかじめ登録された電話番号をユーザモード又はサービ
スモードで変更することによって、第三者が比較的容易
に閉域通信内に進入することができる。However, in the above-mentioned conventional facsimile apparatus, a communication partner in closed area communication is specified by a telephone number, so that a telephone number registered in advance is set in a user mode or a service mode. By making the change, a third party can enter the closed area communication relatively easily.
【0010】また、閉域通信用の電話番号を通信相手に
知らせるための手順信号を容易に解析することができる
ので、閉域通信における通信のセキュリティが低く、信
頼性が低下してしまう。そして、前記ハフマンテーブル
は一般的な原稿の画像を想定して作成されているので、
画像が一般的な原稿のものと異なる場合は、二値データ
の圧縮率が低くなってしまう。その場合、通信時間を短
くすることができない。In addition, since a procedure signal for notifying a communication partner of a telephone number for closed-area communication can be easily analyzed, communication security in closed-area communication is low and reliability is reduced. And since the Huffman table is created assuming a general document image,
If the image is different from that of a general document, the compression ratio of the binary data will be low. In that case, the communication time cannot be shortened.
【0011】本発明は、前記従来のファクシミリ装置の
問題点を解決して、閉域通信における通信のセキュリテ
ィを高くすることができるとともに、二値データの圧縮
率を高くし、通信時間を短くすることができるファクシ
ミリ装置を提供することを目的とする。The present invention solves the above-mentioned problems of the conventional facsimile apparatus, thereby improving the security of communication in closed communication, increasing the compression ratio of binary data, and shortening the communication time. It is an object of the present invention to provide a facsimile apparatus capable of performing the following.
【0012】[0012]
【課題を解決するための手段】そのために、本発明のフ
ァクシミリ装置においては、複数のハフマンテーブル
と、送信に伴って、前記複数のハフマンテーブルのうち
の任意のハフマンテーブルを選択するハフマンテーブル
選択手段と、選択されたハフマンテーブルを参照して二
値データの圧縮及び符号データの復元を行う符号/復号
手段とを有する。For this purpose, in a facsimile apparatus of the present invention, a plurality of Huffman tables and a Huffman table selecting means for selecting an arbitrary Huffman table among the plurality of Huffman tables upon transmission. And encoding / decoding means for compressing binary data and restoring encoded data with reference to the selected Huffman table.
【0013】[0013]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら詳細に説明する。図1は本発明の
第1の実施の形態におけるファクシミリ装置のブロック
図、図4は本発明の第1の実施の形態におけるランレン
グスと符号データとの対応を示す図、図5は標準のハフ
マンテーブルの内容の一部分を示す図、図6は本発明の
第1の実施の形態における閉域通信用のハフマンテーブ
ルの内容の一部分を示す第1の図、図7は本発明の第1
の実施の形態における閉域通信用のハフマンテーブルの
内容の一部分を示す第2の図である。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a facsimile apparatus according to a first embodiment of the present invention, FIG. 4 is a diagram showing correspondence between run lengths and code data according to the first embodiment of the present invention, and FIG. FIG. 6 is a diagram showing a part of the contents of a table, FIG. 6 is a first diagram showing a part of the contents of a Huffman table for closed area communication according to the first embodiment of the present invention, and FIG.
FIG. 21 is a second diagram showing a part of the contents of the Huffman table for closed range communication in the embodiment.
【0014】図1において、11はハフマンテーブル選
択手段としてのオペレーションインタフェース部、12
は図示されない演算装置、ダイレクトメモリアクセス制
御回路、割込制御回路等を備えたCPU、13は図示さ
れないスキャナに接続され、スキャナによって読み取ら
れた原稿の画像の画データを二値データに変換したり、
復元された二値データの処理を行ったりする画像処理
部、14は二値データを符号化して符号データを生成し
たり、符号データを復号化して二値データを生成したり
する符号/復号手段としての符号/復号部、15はIT
U−T勧告におけるT.4で定義されたハフマンテーブ
ルである。In FIG. 1, reference numeral 11 denotes an operation interface unit serving as a Huffman table selecting means;
Denotes a CPU having an arithmetic unit (not shown), a direct memory access control circuit, an interrupt control circuit, and the like. 13 is connected to a scanner (not shown) and converts image data of an image of a document read by the scanner into binary data. ,
An image processing unit 14 for processing the restored binary data; encoding / decoding means 14 for encoding the binary data to generate code data or decoding the code data to generate binary data Encoding / decoding unit as 15;
The T.U. 4 is a Huffman table defined in FIG.
【0015】Hi(i=1、2、…、n)は、独自に作
成された閉域通信用のハフマンテーブル、17はCPU
12の制御プログラムを格納するROM、18は各種の
データを一時的に格納するためのRAM、19はITU
−T勧告におけるT.30等で定義されている通信手順
に従って通信制御を行う通信制御部、20は符号データ
をアナログの変調データに変調したり、該変調データを
ディジタルの符号データに復調したりするモデム、21
は電話回線網との接続の制御を行う回線制御部、22は
図示されないプリンタと接続され、印刷の制御を行う印
刷制御部である。Hi (i = 1, 2,..., N) is a Huffman table for closed area communication created independently, and 17 is a CPU.
12 is a ROM for storing control programs, 18 is a RAM for temporarily storing various data, and 19 is an ITU
T. in the T Recommendation. A communication control unit for performing communication control according to a communication procedure defined by 30 or the like; a modem for modulating code data to analog modulation data; and a demodulator for demodulating the modulation data to digital code data;
Is a line control unit for controlling connection to a telephone line network, and 22 is a print control unit connected to a printer (not shown) for controlling printing.
【0016】前記オペレーションインタフェース部11
は、CPU12に接続され、図示されない入力装置、表
示装置等を備え、オペレータによって電話番号、ID番
号等の入力、登録、確認等の操作が行われる。CPU1
2は、ファクシミリ装置全体のシステム制御、画データ
の管理、通信制御、印刷制御等を総括的に行う。前記C
PU12は、バスBを介して、前記画像処理部13、符
号/復号部14、ハフマンテーブル15、閉域通信用の
ハフマンテーブルHi、ROM17、RAM18、通信
制御部19、モデム20及び印刷制御部22に接続され
る。The operation interface unit 11
Is connected to the CPU 12 and includes an input device, a display device, and the like (not shown). The operator performs operations such as input, registration, and confirmation of a telephone number, an ID number, and the like. CPU1
Reference numeral 2 generally performs system control of the entire facsimile apparatus, management of image data, communication control, print control, and the like. Said C
The PU 12 is connected to the image processing unit 13, the encoding / decoding unit 14, the Huffman table 15, the Huffman table Hi for closed area communication, the ROM 17, the RAM 18, the communication control unit 19, the modem 20, and the print control unit 22 via the bus B. Connected.
【0017】前記RAM18には、オペレーションイン
タフェース部11に入力された電話番号、ID番号等の
データが格納されるだけでなく、画像処理部13におい
て発生させられた二値データ、符号/復号部14による
符号化又は復号化によって得られた符号データ及び二値
データ、モデム20によって送信又は受信される変調前
のデータ等が一時的に格納される。すなわち、前記RA
M18は、ファクシミリ装置全体における各種のデータ
のバッファメモリとしても使用される。The RAM 18 stores not only data such as telephone numbers and ID numbers input to the operation interface unit 11 but also binary data generated by the image processing unit 13, a coding / decoding unit 14. , Temporarily stores code data and binary data obtained by encoding or decoding, data before modulation transmitted or received by the modem 20, and the like. That is, the RA
M18 is also used as a buffer memory for various data in the entire facsimile machine.
【0018】前記構成のファクシミリ装置において、ス
キャナによって1ラインごとに原稿の画像が読み取ら
れ、画像に対応する画データが発生させられると、該画
データは、画像処理部13に送られ、該画像処理部13
において画素ごとに白データ及び黒データから成る二値
データに変換された後、符号/復号部14に送られ、該
符号/復号部14において符号化され、符号データが生
成される。In the facsimile apparatus having the above-described configuration, when an image of a document is read line by line by a scanner, and image data corresponding to the image is generated, the image data is sent to an image processing unit 13, and the image data is sent to the image processing unit 13. Processing unit 13
Is converted into binary data composed of white data and black data for each pixel, and then sent to the encoding / decoding unit 14 where it is encoded to generate encoded data.
【0019】このとき、符号/復号部14は、白の画素
及び黒の画素が連続する長さ、すなわち、白及び黒の各
ランレングス(Run Length)を検出する。例
えば、1ラインごとに読み取られた原稿の画像の画素
が、 白白白黒黒黒黒黒白白黒黒黒黒 である場合、白及び黒の各ランレングスは、 白3黒5白2黒4 である。At this time, the encoding / decoding unit 14 detects the length of continuous white pixels and black pixels, that is, the run lengths of white and black. For example, if the pixels of the image of the document read line by line are white-white-black-white black-black-black-white-black-white-black-black-black, the white and black run lengths are white 3 black 5 white 2 black 4.
【0020】次に、前記符号/復号部14は、図5のハ
フマンテーブル15を参照し、前記ランレングスに対応
する符号データを生成する。前記ハフマンテーブル15
において、ランレングス白3に対応する符号データは1
000であり、ランレングス黒5に対応する符号データ
は0011であり、ランレングス白2に対応する符号デ
ータは0111であり、ランレングス黒4に対応する符
号データは011であるので、前記ランレングス白3黒
5白2黒4に対応する符号データは、10000011
0111011になる。Next, the encoding / decoding section 14 refers to the Huffman table 15 in FIG. 5 to generate encoded data corresponding to the run length. The Huffman table 15
, The code data corresponding to run-length white 3 is 1
000, the code data corresponding to the run-length black 5 is 0011, the code data corresponding to the run-length black 2 is 0111, and the code data corresponding to the run-length black 4 is 011. The code data corresponding to white 3 black 5 white 2 black 4 is 10000011
0111011.
【0021】ところで、閉域通信用のハフマンテーブル
Hiは、独自に作成され、それぞれ独立させて図示され
ないメモリに格納される。そして、例えば、図6及び7
に示されるように、閉域通信用のハフマンテーブルH
1、H2におけるランレングスに対応する符号データ
は、図5のハフマンテーブル15におけるランレングス
に対応する符号データと異ならせて設定される。したが
って、前記符号/復号部14は、前記閉域通信用のハフ
マンテーブルHiを参照して、前記ランレングスに対応
する符号データを生成することもできる。By the way, the Huffman table Hi for closed area communication is created independently, and stored independently in a memory (not shown). And, for example, in FIGS.
Huffman table H for closed range communication as shown in
1, the code data corresponding to the run length in H2 is set differently from the code data corresponding to the run length in the Huffman table 15 in FIG. Therefore, the encoding / decoding unit 14 can also generate encoded data corresponding to the run length by referring to the Huffman table Hi for closed area communication.
【0022】例えば、前記閉域通信用のハフマンテーブ
ルH1を参照した場合、図6に示されるように、ランレ
ングス白3に対応する符号データは1111であり、ラ
ンレングス黒5に対応する符号データは0010であ
り、ランレングス白2に対応する符号データは1110
であり、ランレングス黒4に対応する符号データは00
11であるので、前記ランレングス白3黒5白2黒4に
対応する符号データは、11110010111000
11になる。For example, when referring to the Huffman table H1 for closed area communication, as shown in FIG. 6, the code data corresponding to the run-length white 3 is 1111 and the code data corresponding to the run-length black 5 is 0010, and the code data corresponding to run-length white 2 is 1110
The code data corresponding to run-length black 4 is 00
11, the code data corresponding to the run-length white 3 black 5 white 2 black 4 is 11110010111000.
It becomes 11.
【0023】また、前記閉域通信用のハフマンテーブル
H2を参照した場合、図7に示されるように、ランレン
グス白3に対応する符号データは1011であり、ラン
レングス黒5に対応する符号データは011であり、ラ
ンレングス白2に対応する符号データは1100であ
り、ランレングス黒4に対応する符号データは10であ
るので、前記ランレングス白3黒5白2黒4に対応する
符号データは、1011011110010になる。Referring to the Huffman table H2 for closed range communication, as shown in FIG. 7, the code data corresponding to the run-length white 3 is 1011 and the code data corresponding to the run-length black 5 is 011, the code data corresponding to run-length white 2 is 1100, and the code data corresponding to run-length black 4 is 10, so the code data corresponding to the run-length white 3 black 5 white 2 black 4 is , 1011011110010.
【0024】次に、前記構成のファクシミリ装置にID
番号を登録する動作、及び、閉域通信用のハフマンテー
ブルHiを選択する動作について説明する。閉域通信を
行うに当たり、オペレータは、あらかじめオペレーショ
ンインタフェース部11を操作して、閉域通信を行うす
べてのファクシミリ装置に共通のID番号をRAM18
に格納することによって登録する。本実施の形態におい
ては、送信機から受信機にID番号を送るために、IT
U−T勧告におけるT.30で定義されているパスワー
ド信号を利用するようになっているので、20桁(け
た)までのID番号を使用することができる。なお、送
信機から受信機にID番号を送るために、パスワード信
号に代えて電話番号等を利用することもできる。Next, the facsimile apparatus having the above-described configuration
The operation of registering a number and the operation of selecting the Huffman table Hi for closed area communication will be described. In performing the closed area communication, the operator operates the operation interface unit 11 in advance to store an ID number common to all the facsimile apparatuses performing the closed area communication in the RAM 18.
Register by storing in. In this embodiment, in order to send an ID number from a transmitter to a receiver, an IT
The T.U. Since the password signal defined in 30 is used, an ID number of up to 20 digits (digits) can be used. In order to send the ID number from the transmitter to the receiver, a telephone number or the like can be used instead of the password signal.
【0025】次に、オペレータは、オペレーションイン
タフェース部11を操作して、登録されたID番号に対
応させて、各ファクシミリ装置に共通の任意の閉域通信
用のハフマンテーブルHiを選択し、RAM18に登録
する。この場合、各ID番号ごとに別の閉域通信用のハ
フマンテーブルHiが選択されるが、登録されたID番
号の数が閉域通信用のハフマンテーブルHiの数nより
も多いときには、一つの閉域通信用のハフマンテーブル
Hiに対して複数のID番号を割り当てることもでき
る。Next, the operator operates the operation interface unit 11 to select an arbitrary closed-area communication Huffman table Hi common to each facsimile machine in correspondence with the registered ID number, and register it in the RAM 18. I do. In this case, another Huffman table Hi for closed area communication is selected for each ID number. However, when the number of registered ID numbers is larger than the number n of Huffman tables Hi for closed area communication, one closed area communication A plurality of ID numbers can be assigned to the Huffman table Hi for use.
【0026】次に、前記構成のファクシミリ装置におけ
る通信手順について説明する。図8は本発明の第1の実
施の形態におけるファクシミリ装置の通信手順を示す図
である。オペレータは、図示されない原稿をスキャナに
セットするとともに、オペレーションインタフェース部
11(図1)を操作してID番号及び受信機の電話番号
を入力する。Next, a communication procedure in the facsimile apparatus having the above configuration will be described. FIG. 8 is a diagram showing a communication procedure of the facsimile apparatus according to the first embodiment of the present invention. The operator sets a document (not shown) on the scanner and operates the operation interface unit 11 (FIG. 1) to input the ID number and the telephone number of the receiver.
【0027】CPU12は、入力されたID番号があら
かじめ登録されているID番号のいずれかと一致するか
どうかを判断する。前記入力されたID番号があらかじ
め登録されているID番号のいずれかと一致する場合
は、該ID番号に対応する一つの閉域通信用のハフマン
テーブルHiを選択し、一致しない場合は、前記入力さ
れたID番号があらかじめ登録されているID番号のい
ずれにも一致しないことが、オペレーションインタフェ
ース部11の図示されない表示装置に表示される。The CPU 12 determines whether the input ID number matches any of the ID numbers registered in advance. If the input ID number matches one of the ID numbers registered in advance, one Huffman table Hi for closed-area communication corresponding to the ID number is selected. The fact that the ID number does not match any of the ID numbers registered in advance is displayed on a display device (not shown) of the operation interface unit 11.
【0028】一方、スキャナによって1ラインごとに読
み取られた原稿の画像の画データは、画像処理部13に
おいて前記二値データに変換された後、符号/復号部1
4に送られる。該符号/復号部14は、まず、ランレン
グスを検出する。例えば、前述されたように、1ライン
ごとに読み取られた原稿の画像の画素が、 白白白黒黒黒黒黒白白黒黒黒黒 である場合、ランレングスは、 白3黒5白2黒4 になる。On the other hand, the image data of the original image read line by line by the scanner is converted into the binary data by the image
4 The encoding / decoding unit 14 first detects a run length. For example, as described above, if the pixels of the image of the document read line by line are white-white-black-white-black-black-black-white-black-white-black-black-black, the run length is white 3 black 5 white 2 black 4. .
【0029】続いて、図に示されるように、送信機が受
信機との間において通信を行うために発呼すると、受信
機は、電話回線を捕捉し、非標準手順信号NSF、被呼
局識別信号CSI及びディジタル識別信号DISを送信
機に送信する。該ディジタル識別信号DISの中にはパ
スワードの受信が可能であることを宣言するビットが含
まれる。Subsequently, as shown in the figure, when the transmitter calls for communication with the receiver, the receiver seizes the telephone line, and receives the non-standard procedure signal NSF, the called station. The identification signal CSI and the digital identification signal DIS are transmitted to the transmitter. The digital identification signal DIS includes a bit declaring that a password can be received.
【0030】送信機は、受信機から最初に送られてくる
非標準手順信号NSF、被呼局識別信号CSI及びディ
ジタル識別信号DISのうちのディジタル識別信号DI
Sの中に、前記パスワードの受信が可能であることを宣
言するビットが有るかどうかを判断(パスワード受信能
力をチェック)する。パスワードの受信が可能であるこ
とを宣言するビットが有る場合、送信機は、パスワード
フレームPWD、送信端末識別信号TSI及びディジタ
ル命令信号DCSを受信機に送信する。前記パスワード
フレームPWDは、ITU−T勧告におけるT.30で
定義されているパスワード信号のフォーマットを有し、
前記入力されたID番号をパスワードとして含んでいる
ので、パスワードフレームPWDによってID番号に対
応する閉域通信用のハフマンテーブルHiが指示され
る。さらに、送信機は、トレーニングチェックTrを受
信機に送信する。The transmitter transmits the digital identification signal DI of the non-standard procedure signal NSF, called station identification signal CSI, and digital identification signal DIS first transmitted from the receiver.
It is determined whether or not there is a bit in S that declares that the password can be received (check the password receiving ability). If there is a bit declaring that the password can be received, the transmitter transmits the password frame PWD, the transmitting terminal identification signal TSI, and the digital command signal DCS to the receiver. The password frame PWD conforms to the T.30 standard in the ITU-T recommendation. Has the format of the password signal defined in 30;
Since the input ID number is included as the password, the Huffman table Hi for closed area communication corresponding to the ID number is indicated by the password frame PWD. Further, the transmitter transmits the training check Tr to the receiver.
【0031】一方、前記パスワードの受信が可能である
ことを宣言するビットが無い場合、送信機は、図示され
ない切断命令信号DCNを受信機に送信して電話回線を
切断する。受信機は、受信したパスワードフレームPW
Dに含まれるID番号が、閉域通信用としてあらかじめ
登録されているID番号のいずれかと一致するかどうか
をチェックする。受信したパスワードフレームPWDに
含まれるID番号が、閉域通信用としてあらかじめ登録
されているID番号のいずれかと一致する場合は、該I
D番号に対応して登録されている閉域通信用のハフマン
テーブルHiを選択する。受信機において選択される前
記閉域通信用のハフマンテーブルHiは、送信機におい
て指示された閉域通信用のハフマンテーブルHiと同じ
である。そして、受信機は、トレーニングチェックTr
を正常に受信すると、受信準備確認信号CFRを送信機
に送信する。On the other hand, if there is no bit declaring that the password can be received, the transmitter transmits a disconnection command signal DCN (not shown) to the receiver to disconnect the telephone line. The receiver sets the received password frame PW
It is checked whether the ID number included in D matches any of the ID numbers registered in advance for closed-area communication. If the ID number included in the received password frame PWD matches any of the ID numbers registered in advance for the closed area communication,
A Huffman table Hi for closed area communication registered corresponding to the D number is selected. The Huffman table Hi for closed area communication selected by the receiver is the same as the Huffman table Hi for closed area communication specified by the transmitter. Then, the receiver performs the training check Tr
Is normally received, a reception preparation confirmation signal CFR is transmitted to the transmitter.
【0032】一方、受信したパスワードフレームPWD
に含まれるID番号が、閉域通信用としてあらかじめ登
録されているID番号のいずれにも一致しない場合、受
信機は、前記切断命令信号DCNを送信機に送信して電
話回線を切断する。送信機は、受信準備確認信号CFR
を受信すると、符号/復号部14によって、選択された
閉域通信用のハフマンテーブルHiを参照して二値デー
タを符号化し、白及び黒のランレングスに対応する符号
データを生成する。On the other hand, the received password frame PWD
Does not match any of the ID numbers registered in advance for closed-area communication, the receiver transmits the disconnection command signal DCN to the transmitter to disconnect the telephone line. The transmitter transmits a reception preparation confirmation signal CFR
Is received, the encoding / decoding unit 14 encodes the binary data with reference to the selected Huffman table Hi for closed area communication, and generates encoded data corresponding to white and black run lengths.
【0033】前記閉域通信用のハフマンテーブルHi
が、例えば、閉域通信用のハフマンテーブルH1である
場合、ランレングス白3に対応する符号データは111
1であり、ランレングス黒5に対応する符号データは0
010であり、ランレングス白2に対応する符号データ
は1110であり、ランレングス黒4に対応する符号デ
ータは0011であるので、前記ランレングス白3黒5
白2黒4に対応する符号データは、 1111001011100011 になる。Huffman table Hi for closed area communication
Is, for example, a Huffman table H1 for closed area communication, the code data corresponding to run-length white 3 is 111
1 and the code data corresponding to run-length black 5 is 0
010, the code data corresponding to run-length white 2 is 1110, and the code data corresponding to run-length black 4 is 0011.
The code data corresponding to white 2 black 4 is 1111001011100011.
【0034】次に、送信機は、モデム20によって前記
符号データを変調して変調データにした後、回線制御部
21を介して受信機に送信して、以降の通信を継続す
る。一方、受信機においては、前記変調データを受信す
ると、モデム20によって復調して符号データにする。
続いて、符号/復号部14は、前記選択された閉域通信
用のハフマンテーブルHiを参照して、前記符号データ
を復号化して二値データを生成する。Next, the transmitter modulates the code data by the modem 20 into modulated data, transmits the modulated data to the receiver via the line control unit 21, and continues the subsequent communication. On the other hand, when receiving the modulated data, the receiver demodulates the modulated data into code data.
Subsequently, the encoding / decoding unit 14 decodes the encoded data with reference to the selected Huffman table Hi for closed-area communication to generate binary data.
【0035】例えば、送信機が閉域通信用のハフマンテ
ーブルH1を参照して生成した符号データが 1111001011100011 である場合、受信機の符号/復号部14が閉域通信用の
ハフマンテーブルH1を参照して前記符号データを復号
化すると、1ラインごとに読み取られた原稿の画像の画
素は、 白白白黒黒黒黒黒白白黒黒黒黒 になる。For example, if the code data generated by the transmitter with reference to the Huffman table H1 for closed area communication is 1111001011100011, the coding / decoding unit 14 of the receiver refers to the Huffman table H1 for closed area communication and performs the above-described processing. When the code data is decoded, the pixels of the image of the document read line by line become white-white-black-white-black-black-black-white-black-white-black-black-black.
【0036】そして、送信機は、すべての変調データが
受信機に送信されると、変調データの送信が終了したこ
とを表す手順終了信号EOPを受信機に送信する。次
に、受信機は、前記変調データを正常に受信し、かつ、
手順終了信号EOPを受信すると、メッセージ確認信号
MCFを送信機に送信する。そして、送信機は、メッセ
ージ確認信号MCFを受信すると、切断命令信号DCN
を受信機に送信して電話回線を切断する。When all the modulated data has been transmitted to the receiver, the transmitter transmits a procedure end signal EOP indicating that the transmission of the modulated data has been completed to the receiver. Next, the receiver normally receives the modulated data, and
When the procedure end signal EOP is received, a message confirmation signal MCF is transmitted to the transmitter. When receiving the message confirmation signal MCF, the transmitter receives the disconnection command signal DCN.
To the receiver to disconnect the telephone line.
【0037】また、受信機において、前記二値データは
画像処理部13によって処理され、印刷制御部22を介
して印刷データとしてプリンタに転送される。該プリン
タは、前記印刷データに従って図示されない記録媒体上
に画像を印刷する。このように、本実施の形態において
は、独自に作成された複数の閉域通信用のハフマンテー
ブルHiの中から、ID番号に対応した一つの閉域通信
用のハフマンテーブルHiが受信機によって選択され、
送信機が、前記閉域通信用のハフマンテーブルHiを参
照して符号データを生成し、受信機が、前記閉域通信用
のハフマンテーブルHiを参照して前記符号データを復
号化するようになっているので、たとえ、ユーザモード
又はサービスモードで前記ID番号を変更したり、ID
番号を知らせるためのパスワードフレームPWDを解析
したりすることができたとしても、前記ID番号に対応
する閉域通信用のハフマンテーブルHiを備えない限
り、第三者が閉域通信内に進入することはできない。In the receiver, the binary data is processed by the image processing unit 13 and transferred to the printer via the print control unit 22 as print data. The printer prints an image on a recording medium (not shown) according to the print data. As described above, in the present embodiment, one Huffman table Hi for closed communication corresponding to the ID number is selected by the receiver from the plurality of Huffman tables Hi for closed communication uniquely created,
A transmitter generates code data with reference to the Huffman table Hi for closed-area communication, and a receiver decodes the code data with reference to the Huffman table Hi for closed-area communication. Therefore, even if the ID number is changed in the user mode or the service mode,
Even if the password frame PWD for notifying the number can be analyzed, a third party cannot enter the closed area communication unless the Huffman table Hi for the closed area communication corresponding to the ID number is provided. Can not.
【0038】したがって、閉域通信における通信のセキ
ュリティを高くすることができ、信頼性を向上させるこ
とができる。次に、本発明の第2の実施の形態について
説明する。なお、第1の実施の形態と同じ構造を有する
ものについては、同じ符号を付与することによってその
説明を省略する。Therefore, the security of the communication in the closed area communication can be enhanced, and the reliability can be improved. Next, a second embodiment of the present invention will be described. In addition, about what has the same structure as 1st Embodiment, the description is abbreviate | omitted by attaching the same code | symbol.
【0039】図9は本発明の第2の実施の形態における
閉域通信用のハフマンテーブルとRAMとの関係を示す
図、図10は本発明の第2の実施の形態における符号化
処理を示すフローチャート、図11は本発明の第2の実
施の形態におけるファクシミリ装置の通信手順を示す図
である。この場合、RAM18は、各閉域通信用のハフ
マンテーブルHiに対応する符号データDi(i=1、
2、…、n)を格納する複数のエリア、及び該エリアに
格納される符号データDiの長さを検出して保存するた
めのポインタを有する。FIG. 9 is a diagram showing a relationship between a Huffman table for closed area communication and a RAM according to the second embodiment of the present invention, and FIG. 10 is a flowchart showing an encoding process according to the second embodiment of the present invention. FIG. 11 is a diagram showing a communication procedure of the facsimile apparatus according to the second embodiment of the present invention. In this case, the RAM 18 stores the code data Di (i = 1, i) corresponding to the Huffman table Hi for each closed area communication.
2,..., N), and a pointer for detecting and storing the length of the code data Di stored in the area.
【0040】次に、本実施の形態におけるファクシミリ
装置において閉域通信用のハフマンテーブルHiを選択
して通信を行う動作について説明する。オペレータは、
図示されない原稿をスキャナにセットするとともに、ハ
フマンテーブル選択手段としてのオペレーションインタ
フェース部11(図1)を操作して、ID番号、受信機
の電話番号等を入力する。そして、スキャナによって1
ラインずつ読み取られた原稿の画像の画データは、画像
処理部13において画素ごとに白データ及び黒データか
ら成る二値データに変換された後、符号/復号手段とし
ての符号/復号部14に送られる。Next, the operation of selecting a Huffman table Hi for closed area communication and performing communication in the facsimile apparatus according to the present embodiment will be described. The operator
An original (not shown) is set on the scanner, and the operation interface unit 11 (FIG. 1) as a Huffman table selecting means is operated to input an ID number, a telephone number of the receiver, and the like. And 1 by scanner
The image data of the document image read line by line is converted into binary data consisting of white data and black data for each pixel in the image processing unit 13 and then sent to a coding / decoding unit 14 as coding / decoding means. Can be
【0041】該符号/復号部14は、まず、白及び黒の
各ランレングスを検出する。例えば、前述されたよう
に、1ラインごとに読み取られた原稿の画像の画素が、 白白白黒黒黒黒黒白白黒黒黒黒 である場合、ランレングスは、 白3黒5白2黒4 になる。The encoding / decoding unit 14 first detects each of the white and black run lengths. For example, as described above, if the pixels of the image of the document read line by line are white-white-black-white-black-black-black-white-black-white-black-black-black, the run length is white 3 black 5 white 2 black 4. .
【0042】次に、符号/復号部14は、各閉域通信用
のハフマンテーブルHiを順次参照して、ランレングス
に対応する符号データDiを生成し、該符号データDi
をRAM18内の各エリアに格納する。このとき、前記
符号/復号部14は、RAM18のポインタを順次移動
させ、各エリアに格納された各符号データDiの長さを
前記ポインタによって検出するとともに、ポインタに保
存する。すなわち、符号/復号部14は、まず、閉域通
信用のハフマンテーブルH1を選択するとともに、RA
M18のポインタを前記閉域通信用のハフマンテーブル
H1に対応させて割り当てられたエリアに移動させる。
図6に示されるように、前記閉域通信用のハフマンテー
ブルH1において、ランレングス白3に対応する符号デ
ータDiは1111であり、ランレングス黒5に対応す
る符号データDiは0010であり、ランレングス白2
に対応する符号データDiは1110であり、ランレン
グス黒4に対応する符号データDiは0011であるの
で、前記ランレングス白3黒5白2黒4に対応する符号
データD1は、1111001011100011にな
る。Next, the encoding / decoding section 14 generates code data Di corresponding to the run length by sequentially referring to the Huffman tables Hi for each closed area communication, and generates the code data Di.
Is stored in each area in the RAM 18. At this time, the encoding / decoding unit 14 sequentially moves the pointer of the RAM 18, detects the length of each code data Di stored in each area by the pointer, and stores the length in the pointer. That is, the encoding / decoding unit 14 first selects the Huffman table H1 for closed area communication,
The pointer of M18 is moved to the area assigned in correspondence with the Huffman table H1 for closed area communication.
As shown in FIG. 6, in the Huffman table H1 for the closed area communication, the code data Di corresponding to the run length white 3 is 1111, the code data Di corresponding to the run length black 5 is 0010, and the run length is 0010. White 2
Is 1110, and the code data Di corresponding to run-length black 4 is 0011, so that the code data D1 corresponding to the run-length white 3 black 5 white 2 black 4 is 1111001011100011.
【0043】したがって、符号/復号部14は、RAM
18内の閉域通信用のハフマンテーブルH1に対応させ
て割り当てられたエリアに、前記符号データD1を格納
する。格納された前記符号データD1の長さはポインタ
によって検出され、ポインタに保存される。次に、符号
/復号部14は、閉域通信用のハフマンテーブルH2を
選択するとともに、RAM18のポインタを前記閉域通
信用のハフマンテーブルH2に対応させて割り当てられ
たエリアに移動させる。図7に示されるように、閉域通
信用のハフマンテーブルH2において、ランレングス白
3に対応する符号データDiは1011であり、ランレ
ングス黒5に対応する符号データDiは011であり、
ランレングス白2に対応する符号データDiは1100
であり、ランレングス黒4に対応する符号データDiは
10であるので、前記ランレングス白3黒5白2黒4に
対応する符号データD2は、 1011011110010 になる。Therefore, the encoding / decoding unit 14 is provided with a RAM
The code data D1 is stored in an area assigned to correspond to the Huffman table H1 for closed area communication in the area 18. The length of the stored code data D1 is detected by a pointer and stored in the pointer. Next, the encoding / decoding unit 14 selects the Huffman table H2 for closed area communication, and moves the pointer of the RAM 18 to an area assigned in correspondence with the Huffman table H2 for closed area communication. As shown in FIG. 7, in the Huffman table H2 for closed-area communication, the code data Di corresponding to the run-length black 3 is 1011 and the code data Di corresponding to the run-length black 5 is 011.
Code data Di corresponding to run-length white 2 is 1100
Since the code data Di corresponding to the run-length black 4 is 10, the code data D2 corresponding to the run-length white 3, black 5, white 2, and black 4 is 1011011110010.
【0044】したがって、符号/復号部14は、RAM
18内の閉域通信用のハフマンテーブルH2に対応させ
て割り当てられたエリアに、前記符号データD2を格納
する。格納された前記符号データD2の長さはポインタ
によって検出され、ポインタに保存される。このよう
に、1ライン分の画データについて、各閉域通信用のハ
フマンテーブルHiが参照されて符号データDiが生成
され、該符号データDiがRAM18内のすべてのエリ
アに格納されると、次のラインの画データについて、各
閉域通信用のハフマンテーブルHiが参照されて符号デ
ータDiが生成され、該符号データDiがRAM18内
のすべてのエリアに格納される。Therefore, the encoding / decoding unit 14 is
The code data D2 is stored in an area assigned to correspond to the Huffman table H2 for closed area communication in the area 18. The length of the stored code data D2 is detected by a pointer and stored in the pointer. As described above, for one line of image data, the code data Di is generated with reference to the Huffman table Hi for each closed area communication, and when the code data Di is stored in all the areas in the RAM 18, the following is performed. With respect to the image data of the line, the code data Di is generated with reference to the Huffman table Hi for each closed area communication, and the code data Di is stored in all the areas in the RAM 18.
【0045】続いて、符号/復号部14は、各エリアに
格納された符号データDiの長さを、ポインタによって
検出し、既に保存されている前のラインの符号データD
iの長さに加算する。そして、原稿の1ページ分の画像
の画データについて、すべての二値データが符号化さ
れ、各符号データDiがRAM18内の各エリアに格納
されると、符号/復号部14は、各エリアごとに保存さ
れている各符号データDiの長さの合計を互いに比較
し、長さの合計が最も短い符号データDiを選択する。
また、該長さの合計が最も短い符号データDiだけが、
対応する閉域通信用のハフマンテーブルHiを表す番号
Ni(i=1、2、…、n)と共に保存され、RAM1
8内の他のエリアに格納されていた符号データDiはす
べて消去される。Subsequently, the coding / decoding unit 14 detects the length of the code data Di stored in each area by using a pointer, and detects the length of the code data D of the previous line already stored.
Add to the length of i. When all the binary data is encoded for the image data of the image of one page of the original and each code data Di is stored in each area in the RAM 18, the code / decoding unit 14 Are compared with each other, and the code data Di having the shortest total length is selected.
Also, only the code data Di having the shortest total length is
Stored together with a number Ni (i = 1, 2,..., N) representing the corresponding Huffman table Hi for closed area communication,
8, all the code data Di stored in other areas are erased.
【0046】そして、前記長さの合計が最も短い符号デ
ータDiが、例えば、閉域通信用のハフマンテーブルH
2を参照して作成された符号データD2であるとする
と、ランレングス白3黒5白2黒4に対応する符号デー
タD2は、 1011011110010 になる。The code data Di having the shortest total length is stored in the Huffman table H for closed area communication, for example.
2, the code data D2 corresponding to run-length white 3 black 5 white 2 black 4 is 1011011110010.
【0047】次に、前記構成のファクシミリ装置による
通信手順について説明する。図11に示されるように、
送信機が受信機との間において通信を行うために発呼す
ると、受信機は、電話回線を捕捉し、非標準手順信号N
SF、被呼局識別信号CSI及びディジタル識別信号D
ISを送信機に送信する。前記非標準手順信号NSFの
中には、複数の閉域通信用のハフマンテーブルHiを有
することを宣言するビット、及び前記各閉域通信用のハ
フマンテーブルHiの番号Niを示すビットが含まれ
る。Next, a communication procedure performed by the facsimile apparatus having the above configuration will be described. As shown in FIG.
When a transmitter places a call to communicate with a receiver, the receiver seizes the telephone line and sends a non-standard procedural signal N
SF, called station identification signal CSI and digital identification signal D
Send IS to transmitter. The non-standard procedure signal NSF includes a bit declaring that a plurality of Huffman tables Hi for closed area communication are provided, and a bit indicating the number Ni of the Huffman table Hi for each closed area communication.
【0048】送信機は、受信機から最初に送られてくる
非標準手順信号NSF、被呼局識別信号CSI及びディ
ジタル識別信号DISのうちの非標準手順信号NSFの
中に、前記各閉域通信用のハフマンテーブルHiを有す
ることを宣言するビット、及び各閉域通信用のハフマン
テーブルHiの番号Niを示すビットが含まれているか
どうかを判断する。The transmitter includes, in the non-standard procedure signal NSF among the non-standard procedure signal NSF, called station identification signal CSI and digital identification signal DIS first transmitted from the receiver, each of the closed-area communication signals. It is determined whether a bit declaring the presence of the Huffman table Hi and a bit indicating the number Ni of the Huffman table Hi for each closed area communication are included.
【0049】非標準手順信号NSFの中に前記各ビット
が含まれている場合、送信機は、受信機が有する閉域通
信用のハフマンテーブルHiと同じ閉域通信用のハフマ
ンテーブルHiを有することを確認して、ディジタル命
令信号DCS及び非標準機能設定信号NSSを受信機に
送信する。その際、送信機の符号/復号部14によって
選択されてRAM18内に保存されている長さの合計が
最も短い符号データDiに対応する閉域通信用のハフマ
ンテーブルHiの番号Niが、前記非標準機能設定信号
NSSにセットされる。さらに、送信機は、トレーニン
グチェックTrを受信機に送信する。When the above-mentioned bits are included in the non-standard procedure signal NSF, the transmitter confirms that the receiver has the same Huffman table Hi for closed-area communication as the Huffman table Hi for closed-area communication of the receiver. Then, the digital command signal DCS and the non-standard function setting signal NSS are transmitted to the receiver. At this time, the number Ni of the Huffman table Hi for closed-area communication corresponding to the code data Di having the shortest total length, which is selected by the code / decoding unit 14 of the transmitter and stored in the RAM 18, is set to the non-standard value. The function setting signal NSS is set. Further, the transmitter transmits the training check Tr to the receiver.
【0050】一方、前記ビットが含まれていない場合、
送信機は、切断命令信号DCNを受信機に送信して電話
回線を切断する。受信機は、非標準機能設定信号NSS
中にセットされた閉域通信用のハフマンテーブルHiの
番号Niを確認する。該番号Niを確認することができ
た場合、前記符号/復号部14は、前記番号Niに対応
する閉域通信用のハフマンテーブルHiを選択する。な
お、受信機において選択される前記閉域通信用のハフマ
ンテーブルHiは、送信機において選択された閉域通信
用のハフマンテーブルHiと同じである。そして、受信
機は、トレーニングチェックTrを正常に受信すると、
受信準備確認信号CFRを送信機に送信する。On the other hand, when the bit is not included,
The transmitter transmits a disconnection command signal DCN to the receiver to disconnect the telephone line. The receiver uses the non-standard function setting signal NSS
The number Ni of the Huffman table Hi for closed area communication set therein is confirmed. If the number Ni can be confirmed, the encoding / decoding unit 14 selects the Huffman table Hi for closed area communication corresponding to the number Ni. The Huffman table Hi for closed area communication selected by the receiver is the same as the Huffman table Hi for closed area communication selected by the transmitter. Then, when the receiver receives the training check Tr normally,
The reception preparation confirmation signal CFR is transmitted to the transmitter.
【0051】また、前記番号Niを確認することができ
なかった場合、受信機は、切断命令信号DCNを送信機
に送信して電話回線を切断する。そして、送信機は、受
信準備確認信号CFRを受信すると、前記長さの合計が
最も短い符号データDiを変調データとして受信機に送
信し、以降の通信を継続する。If the number Ni cannot be confirmed, the receiver transmits a disconnection command signal DCN to the transmitter to disconnect the telephone line. Then, when receiving the reception preparation confirmation signal CFR, the transmitter transmits the code data Di having the shortest total length as modulation data to the receiver, and continues the subsequent communication.
【0052】一方、受信機において、前記符号データD
iが受信されると、符号/復号部14は、前記選択され
た閉域通信用のハフマンテーブルHiを参照して、前記
符号データDiを復号化する。例えば、送信機が閉域通
信用のハフマンテーブルH2を参照して生成した符号デ
ータD2が 1011011110010 である場合、受信機の符号/復号部14が閉域通信用の
ハフマンテーブルH2を参照して符号データD2を復号
化すると、1ラインごとに読み取られた原稿の画像の画
素は、 白白白黒黒黒黒黒白白黒黒黒黒 になる。On the other hand, in the receiver, the code data D
When i is received, the encoding / decoding unit 14 decodes the code data Di with reference to the selected Huffman table Hi for closed area communication. For example, if the code data D2 generated by the transmitter with reference to the Huffman table H2 for closed area communication is 1011011110010, the coding / decoding unit 14 of the receiver refers to the Huffman table H2 for closed area communication to generate the code data D2. Are decoded, the pixels of the image of the document read line by line become white-white black-white black black black white black-white black black black.
【0053】そして、送信機は、すべての変調データが
受信機に送信されると、変調データの送信が終了した旨
を表す手順終了信号EOPを受信機に送信する。次に、
受信機は、前記変調データを正常に受信し、かつ、手順
終了信号EOPを受信すると、メッセージ確認信号MC
Fを送信機に送信する。そして、送信機は、メッセージ
確認信号MCFを受信すると、切断命令信号DCNを受
信機に送信して電話回線を切断する。When all the modulated data has been transmitted to the receiver, the transmitter transmits a procedure end signal EOP indicating that the transmission of the modulated data has been completed to the receiver. next,
When the receiver receives the modulation data normally and receives the procedure end signal EOP, the receiver confirms the message confirmation signal MC.
Send F to the transmitter. When receiving the message confirmation signal MCF, the transmitter transmits a disconnection command signal DCN to the receiver to disconnect the telephone line.
【0054】また、受信機において、前記二値データ
は、画像処理部13によって処理され、印刷制御部22
を介して印刷データとしてプリンタに転送される。該プ
リンタは、前記印刷データに従って図示されない記録媒
体上に画像を印刷する。なお、独自に作成された閉域通
信用のハフマンテーブルHiに加えて、ITU−T勧告
におけるT.4で定義されているハフマンテーブル15
を選択することができるようにしてもよい。In the receiver, the binary data is processed by the image processing unit 13 and the print control unit 22
Is transferred to the printer as print data via the printer. The printer prints an image on a recording medium (not shown) according to the print data. Note that, in addition to the independently created Huffman table Hi for closed area communication, the T.U. Huffman table 15 defined in 4
May be selected.
【0055】このように、本実施の形態においては、送
信機が、独自に作成された各閉域通信用のハフマンテー
ブルHiを参照して生成された符号データDiの中か
ら、長さの合計が最も短い符号データDiを選択し、受
信機が、送信機と同じ閉域通信用のハフマンテーブルH
iを選択し、該閉域通信用のハフマンテーブルHiを参
照して前記符号データDiを復号化するようになってい
る。As described above, in the present embodiment, the transmitter calculates the sum of the lengths from the code data Di generated by referring to the Huffman table Hi for each closed area communication created independently. The shortest code data Di is selected, and the receiver sets the same Huffman table H for closed area communication as the transmitter.
i is selected, and the code data Di is decoded with reference to the Huffman table Hi for closed-area communication.
【0056】したがって、閉域通信における通信のセキ
ュリティを高くすることができ、信頼性を向上させるこ
とができる。また、二値データの圧縮率を高くすること
ができるとともに、通信時間を短くすることができる。
そして、独自に作成された各閉域通信用のハフマンテー
ブルHiに加えて、ITU−T勧告におけるT.4で定
義されているハフマンテーブル15を選択することもで
きるようにした場合、長さの合計が一層短い符号データ
Diを得る可能性が高くなるので、二値データの圧縮率
を更に高くすることができるとともに、通信時間を更に
短くすることができる。Therefore, the security of the communication in the closed area communication can be enhanced, and the reliability can be improved. Further, the compression rate of the binary data can be increased, and the communication time can be shortened.
Then, in addition to the Huffman table Hi for each closed area communication created independently, T.H. in the ITU-T recommendation. If the Huffman table 15 defined in 4 can be selected, it is more likely that code data Di having a shorter total length will be obtained, so that the compression ratio of binary data is further increased. And the communication time can be further shortened.
【0057】次に、フローチャートについて説明する。 ステップS1 1ライン分の画像を読み取る。 ステップS2 ランレングスを検出する。 ステップS3 閉域通信用のハフマンテーブルH1を選
択する。 ステップS4 該閉域通信用のハフマンテーブルH1を
参照してランレングスに対応する符号データD1を生成
する。 ステップS5 該符号データD1を、前記閉域通信用の
ハフマンテーブルH1に対応させて割り当てられたRA
M18内のエリアに格納する。 ステップS6 該エリアに格納された符号データD1の
長さを、ポインタによって検出し、ポインタに保存す
る。 ステップS7 すべての閉域通信用のハフマンテーブル
Hiを選択したかどうかを判断する。すべての閉域通信
用のハフマンテーブルHiを選択した場合はステップS
8に進み、選択していない場合はステップS3に戻る。 ステップS8 1ライン分の処理が終了したかどうかを
判断する。1ライン分の処理が終了した場合はステップ
S9に進み、終了していない場合はステップS2に戻
る。 ステップS9 1ページ分の処理が終了したかどうかを
判断する。1ページ分の処理が終了した場合はステップ
S10に進み、終了していない場合はステップS1に戻
る。 ステップS10 保存されている各符号データDiのう
ち、長さの合計が最も短い符号データDiを選択する。 ステップS11 他の符号データDiを消去する。Next, the flowchart will be described. Step S1: One line of image is read. Step S2: A run length is detected. Step S3: Select the Huffman table H1 for closed area communication. Step S4: The code data D1 corresponding to the run length is generated with reference to the Huffman table H1 for closed area communication. Step S5: The code data D1 is assigned to the RA assigned to the Huffman table H1 for closed area communication.
It is stored in the area in M18. Step S6: The length of the code data D1 stored in the area is detected by the pointer and stored in the pointer. Step S7: It is determined whether all the Huffman tables Hi for closed area communication have been selected. If all Huffman tables Hi for closed area communication have been selected, step S
The process proceeds to step S8, and if not selected, returns to step S3. Step S8: It is determined whether the processing for one line is completed. When the processing for one line is completed, the process proceeds to step S9, and when not completed, the process returns to step S2. Step S9: To judge whether the processing for one page is completed. When the process for one page is completed, the process proceeds to step S10, and when not completed, the process returns to step S1. Step S10 The code data Di having the shortest total length is selected from the stored code data Di. Step S11: Delete the other code data Di.
【0058】なお、本発明は前記実施の形態に限定され
るものではなく、本発明の趣旨に基づいて種々変形させ
ることが可能であり、それらを本発明の範囲から排除す
るものではない。The present invention is not limited to the above embodiment, but can be variously modified based on the spirit of the present invention, and they are not excluded from the scope of the present invention.
【0059】[0059]
【発明の効果】以上詳細に説明したように、本発明によ
れば、ファクシミリ装置においては、複数のハフマンテ
ーブルと、送信に伴って、前記複数のハフマンテーブル
のうちの任意のハフマンテーブルを選択するハフマンテ
ーブル選択手段と、選択されたハフマンテーブルを参照
して二値データの圧縮及び符号データの復元を行う符号
/復号手段とを有する。As described above in detail, according to the present invention, in a facsimile apparatus, a plurality of Huffman tables and an arbitrary Huffman table among the plurality of Huffman tables are selected upon transmission. It has a Huffman table selecting means and an encoding / decoding means for compressing binary data and restoring encoded data with reference to the selected Huffman table.
【0060】この場合、送信機において、ハフマンテー
ブルが選択され、該ハフマンテーブルが参照されて二値
データが符号化されると、受信機において、選択された
ハフマンテーブルを備えない限り、第三者が閉域通信内
に進入することはできない。したがって、閉域通信にお
ける通信のセキュリティを高くすることができ、信頼性
を向上させることができる。In this case, the Huffman table is selected in the transmitter, and when the binary data is encoded with reference to the Huffman table, unless the receiver has the selected Huffman table, a third party is required. Cannot enter the closed area communication. Therefore, communication security in closed area communication can be enhanced, and reliability can be improved.
【0061】また、各ハフマンテーブルの中から、最も
短い符号データを生成するハフマンテーブルを選択する
ことができるので、二値データの圧縮率を高くすること
ができるだけでなく、通信時間を短くすることができ
る。Further, since a Huffman table that generates the shortest code data can be selected from each Huffman table, not only can the compression ratio of binary data be increased, but also the communication time can be shortened. Can be.
【図面の簡単な説明】[Brief description of the drawings]
【図1】本発明の第1の実施の形態におけるファクシミ
リ装置のブロック図である。FIG. 1 is a block diagram of a facsimile apparatus according to a first embodiment of the present invention.
【図2】従来のファクシミリ装置の通信手順を示す第1
の図である。FIG. 2 is a first diagram showing a communication procedure of a conventional facsimile machine.
FIG.
【図3】従来のファクシミリ装置の通信手順を示す第2
の図である。FIG. 3 is a second diagram showing a communication procedure of the conventional facsimile machine.
FIG.
【図4】本発明の第1の実施の形態におけるランレング
スと符号データとの対応を示す図である。FIG. 4 is a diagram showing correspondence between run lengths and code data according to the first embodiment of the present invention.
【図5】標準のハフマンテーブルの内容の一部分を示す
図である。FIG. 5 is a diagram showing a part of the contents of a standard Huffman table.
【図6】本発明の第1の実施の形態における閉域通信用
のハフマンテーブルの内容の一部分を示す第1の図であ
る。FIG. 6 is a first diagram showing a part of the contents of a Huffman table for closed area communication according to the first embodiment of the present invention.
【図7】本発明の第1の実施の形態における閉域通信用
のハフマンテーブルの内容の一部分を示す第2の図であ
る。FIG. 7 is a second diagram showing a part of the contents of the Huffman table for closed area communication according to the first embodiment of the present invention.
【図8】本発明の第1の実施の形態におけるファクシミ
リ装置の通信手順を示す図である。FIG. 8 is a diagram illustrating a communication procedure of the facsimile apparatus according to the first embodiment of the present invention.
【図9】本発明の第2の実施の形態における閉域通信用
のハフマンテーブルとRAMとの関係を示す図である。FIG. 9 is a diagram showing a relationship between a Huffman table for closed area communication and a RAM according to the second embodiment of the present invention.
【図10】本発明の第2の実施の形態における符号化処
理を示すフローチャートである。FIG. 10 is a flowchart illustrating an encoding process according to the second embodiment of the present invention.
【図11】本発明の第2の実施の形態におけるファクシ
ミリ装置の通信手順を示す図である。FIG. 11 is a diagram showing a communication procedure of the facsimile apparatus according to the second embodiment of the present invention.
11 オペレーションインタフェース部 14 符号/復号部 15 ハフマンテーブル Di 符号データ Hi 閉域通信用のハフマンテーブル Reference Signs List 11 operation interface unit 14 encoding / decoding unit 15 Huffman table Di encoded data Hi Huffman table for closed area communication
Claims (4)
(b)送信に伴って、前記複数のハフマンテーブルのう
ちの任意のハフマンテーブルを選択するハフマンテーブ
ル選択手段と、(c)選択されたハフマンテーブルを参
照して二値データの圧縮及び符号データの復元を行う符
号/復号手段とを有することを特徴とするファクシミリ
装置。(A) a plurality of Huffman tables;
(B) a Huffman table selecting means for selecting an arbitrary Huffman table from the plurality of Huffman tables upon transmission; and (c) compressing binary data and encoding code data with reference to the selected Huffman table. A facsimile apparatus comprising encoding / decoding means for performing restoration.
信用のハフマンテーブルであり、(b)前記ハフマンテ
ーブル選択手段は、あらかじめ登録されたID番号に対
応させて閉域通信用のハフマンテーブルを選択する請求
項1に記載のファクシミリ装置。2. Each of the Huffman tables is a Huffman table for closed area communication, and (b) the Huffman table selecting means selects a Huffman table for closed area communication in correspondence with an ID number registered in advance. The facsimile apparatus according to claim 1, wherein
マンテーブルは、送信機と受信機との間において共通に
される請求項2に記載のファクシミリ装置。3. The facsimile apparatus according to claim 2, wherein the ID number and the Huffman table for the closed area communication are shared between a transmitter and a receiver.
データが最も短くなるハフマンテーブルを選択する請求
項1に記載のファクシミリ装置。4. The facsimile apparatus according to claim 1, wherein said Huffman table selecting means selects a Huffman table having the shortest code data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10201887A JP2000032274A (en) | 1998-07-16 | 1998-07-16 | Facsimile machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10201887A JP2000032274A (en) | 1998-07-16 | 1998-07-16 | Facsimile machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000032274A true JP2000032274A (en) | 2000-01-28 |
Family
ID=16448492
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10201887A Withdrawn JP2000032274A (en) | 1998-07-16 | 1998-07-16 | Facsimile machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000032274A (en) |
-
1998
- 1998-07-16 JP JP10201887A patent/JP2000032274A/en not_active Withdrawn
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5140439A (en) | Facsimile communication method and facsimile machine | |
| US7016076B2 (en) | Image communication apparatus and method | |
| US6809836B1 (en) | Image communication apparatus and its control method | |
| US20030193692A1 (en) | Color image transmitting apparatus | |
| US7400428B2 (en) | Color facsimile apparatus and method of controlling communication thereof | |
| JP2000032274A (en) | Facsimile machine | |
| US6775035B1 (en) | Image communication apparatus and method of controlling same | |
| US20040169875A1 (en) | Image communication apparatus, communication control method and image communication method | |
| JP3972871B2 (en) | Color image communication apparatus and color image communication method | |
| KR19990013879A (en) | Facsimile device | |
| JP2003134280A (en) | Facsimile machine | |
| JP2000165630A (en) | Image data communication method | |
| JPH10191033A (en) | Facsimile equipment | |
| KR950000283B1 (en) | Coding and decoding device and method for fax | |
| JP3282765B2 (en) | Facsimile communication device | |
| JP2792567B2 (en) | Transmission control method for facsimile machine | |
| JPH11112772A (en) | Communication terminal equipment with electronic mail function | |
| JPH09139828A (en) | Facsimile equipment | |
| JP2000152007A (en) | Facsimile machine | |
| JP3524185B2 (en) | Color communication terminal | |
| JPH11239166A (en) | Communications equipment | |
| JPH1051616A (en) | Data communication device | |
| JPH08172537A (en) | Fax machine | |
| JPH08228279A (en) | Fax machine | |
| JP2001298551A (en) | Wireless telephone device and control method therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20051004 |