JP3702599B2 - Communication terminal device with e-mail function - Google Patents

Communication terminal device with e-mail function Download PDF

Info

Publication number
JP3702599B2
JP3702599B2 JP22172997A JP22172997A JP3702599B2 JP 3702599 B2 JP3702599 B2 JP 3702599B2 JP 22172997 A JP22172997 A JP 22172997A JP 22172997 A JP22172997 A JP 22172997A JP 3702599 B2 JP3702599 B2 JP 3702599B2
Authority
JP
Japan
Prior art keywords
data
amount
mail
image data
converted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22172997A
Other languages
Japanese (ja)
Other versions
JPH1168825A (en
Inventor
岡田  和広
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP22172997A priority Critical patent/JP3702599B2/en
Publication of JPH1168825A publication Critical patent/JPH1168825A/en
Application granted granted Critical
Publication of JP3702599B2 publication Critical patent/JP3702599B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Storing Facsimile Image Data (AREA)
  • Facsimile Transmission Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電子メールに接続する機能を備えたファクシミリ装置のような通信端末装置に関する。
【0002】
【従来の技術】
近年、ローカルなコンピュータ通信網を通信回線で接続してさらにネットワーク化したインターネット等を介して電子メールを配信するコンピュータ通信網が普及しつつある。コンピュータ通信網は誤り訂正機能にすぐれ、最寄りのプロバイダ(コンピュータ通信網への接続業者)までの通信費用を負担するだけで、日本国内だけでなく海外のコンピュータと通信することができる。
【0003】
従来のG3ファクシミリ装置の通信手順及び通信方式は、コンピュータ通信網のそれと異なるので、直接コンピュータ通信網へ接続することができない。しかし、送信原稿等のイメージデータであっても、電子メール形式に変換することによりコンピュータ通信網へ送信することができる。
【0004】
またファクシミリ装置の中には、回線エラー等で画像が乱れた場合でも、自動的にその部分を再送する誤り再送機能を備えたものがある。このような機能を備えたファクシミリ装置間では、受信側からの誤り再送要求に対して、送信側はファクシミリ画データを再送する。
そのために、1頁の原稿を読み取った画像データの符号化データを、例えば64K バイトを1ブロックとするブロックに分割してファクシミリ通信するファクシミリ装置の場合、1ブロック分の送信が完了するまで64K バイトの送信データを格納しておく誤り再送用のバッファを備えている。
【0005】
【発明が解決しようとする課題】
ところで、インターネットへのアクセス方法としては、プロバイダと契約する以外に、パソコン通信の商用BBS が提供している接続サービスを利用する方法がある。このような商用BBS の中には、1メールとして扱うことができるデータ量、テキストの行数等に制限を設けているものがある。これは、大量のデータを一度にインターネットに流すことで回線混雑を引き起こすことを避けるためである。
【0006】
データ量が大きいファクシミリの画データの場合、1頁のデータ量が1メールの制限を超えることがある。制限を超えるデータ量のメールは商用BBS によってメール転送が拒否されるのでファクシミリの画データを電子メールで送信できなくなる。従って、送信者は、元の原稿の行数、文字数等から1通のメールで送信できるか否かを判断していたが、その判断は必ずしも的確ではなかった。
【0007】
また、電子メール機能付ファクシミリ装置でメールを送信する場合、G3形式のイメージデータを、コンピュータで使用される一般的な画像フォーマットに変換し、画像フォーマットのバイナリデータを、一旦テキストデータに変換し、メールヘッダ情報を付加して電子メール形式に編集する。
従って、変換後のデータを一時的に格納するバッファを必要とするので装置の大型化及び価格の上昇を招いていた。
【0008】
本発明はこのような問題点を解決するためになされたものであって、メール送信すべき画データをMMR 符号化形式からMH符号化形式へ変換した後の画データ量が1メールでの送信が可能なデータ量を超えない量の画データを1通のメールとして送信する手段を設けることにより、オペレータが1メールでの送信が可能なデータ量に配慮する必要なく送信者がファクシミリ画データをメール送信できるファクシミリ装置のような電子メール機能付通信端末装置の提供を目的とする。
【0009】
また、送信すべき画データをMMR 符号化形式からMH符号化形式へ変換してそのデータ量を算出し、算出結果から、送信すべき画データ量を算出することにより、送信者が、複数メールに分割して送信するべきか否かを、送信前に、的確に判断できるファクシミリ装置のような電子メール機能付通信端末装置の提供を目的とする。
【0010】
さらに、上述のメール送信、データ量算出においてMH符号化形式に変換したデータを、ファクシミリ通信での誤り再送用のバッファメモリに格納することにより、小型で低価格であるファクシミリ装置のような電子メール機能付通信端末装置の提供を目的とする。
【0011】
【課題を解決するための手段】
第1発明の電子メール機能付通信端末装置は、ファクシミリ通信での誤り再送用のバッファメモリを備え、メール送信すべき画データを第1符号化形式から第2符号化形式へ変換する変換手段と、該変換手段が第2の符号化形式へ変換した画データを前記バッファメモリに格納する手段と、前記バッファメモリの容量に基づいて画データ量を検出する検出手段と、該検出手段による検出の結果、変換後の画データ量が1通のメール分を超えない量の画データを、送信用の符号化形式のデータへ変換して1通のメールとして送信する送信手段とを備えたことを特徴とする。
【0012】
第1発明では、画像メモリに格納されている、送信すべきMMR 符号化形式の画データをMH符号化形式のデータへ変換し、変換後の画データ量が1通のメール分のデータ量を超えない量のMH符号化形式のデータを、TIFF符号化形式及びMIME符号化形式のデータへ変換して1通のメールとして送信する。
従って、オペレータは、1メールでの送信が可能なデータ量に配慮して予め原稿を分割する必要なくファクシミリ画データをメール送信できる。
【0014】
さらに、MH符号化形式へ変換した画データを、ファクシミリ通信での誤り再送用のバッファメモリに格納し、このバッファメモリの容量を利用して画データ量が1メール分を超えるか超えないかを検出する。
従って、メール通信時に使用されない誤り再送用のバッファメモリを有効活用することができる。
【0017】
【発明の実施の形態】
図1は本発明の電子メール機能付通信端末装置としてのファクシミリ装置の構成を示すブロック図である。なお、本発明の実施の形態では、コンピュータ通信網としてインターネットを使用するものとする。
主制御部1は、バスを通じて装置のハードウェア各部を制御するだけではなく、ROM 6に記憶されたソフトウェアに基づいて、原稿の画像データをMH, MR, MMR 等の符号化方式によって符号化または復号化する符号化・復号化、後述する画像(TIFF)変換、バイナリ・テキスト変換、メール編集、モデム切り換え,ATコマンドによるRS232Cの制御等を含む通信手順等のソフトウェアを実行する。
【0018】
本形態では、メール送信モードの他に、送信前に複数メールに分割して送信するか否かを送信者が判定するための、データ量算出用のダミーエンコードモードが設けられている。
主制御部1は、画像メモリ8に格納されている、送信すべきMMR 符号化形式の画データをMH符号化形式のデータへ変換し、変換した画データを、ファクシミリ通信での誤り再送用のECM バッファ81に格納し、ECM バッファ81の容量を利用してMH符号化形式の画データ量を算出し、算出結果から、MIME形式のデータ量を算出する。
【0019】
また、主制御部1は、画像メモリ8に格納されている、送信すべきMMR 符号化形式の画データをMH符号化形式のデータへ変換し、変換後の画データ量が1通のメール分のデータ量を超えるか否かを判断して、1通のメール分のデータ量を超える場合は、超えない量のMH符号化形式のデータを、TIFF符号化形式及びMIME符号化形式のデータへ変換して1通のメールとして送信する。
【0020】
メールをテキスト画像へ変換する際、主制御部1は、メールを行毎に変換し、変換した行が、記録紙の1頁分として定められている行数又はメールの最終行に達したか否かを判断し、1頁分の行数又はメールの最終行に達した場合、テキスト画像の符号化データに頁終了コードRTC を付加して、メールの残りがある場合は次行からのメールを別の頁として処理する。
【0021】
画像変換では、送信時には、G3形式のイメージデータを、コンピュータで使用される一般的な画像フォーマットであるTIFF(Tagged Image File Format)に変換し、受信時には、TIFFからG3形式のイメージデータに変換する。TIFFは Adobe Systems社によって公開されており、白黒2値だけでなく、白黒多値、フルカラー等を扱う様々な Classが定義されている。そのなかの1つである CLASS Fは、原稿の画像データをMH, MR, MMR 等の符号化方式によって符号化された原稿の画像データであるG3形式のイメージデータを定義している。従って、G3形式のイメージデータの先頭に、CLASS F のTIFFヘッダ情報を付加すること等によってTIFFに変換することができる。
【0022】
バイナリ・テキスト変換では、送信時には、バイナリデータをテキストデータに変換し、受信時には、テキストデータをバイナリデータに変換する。インターネットにはバイナリデータの電子メールを扱うことができないコンピュータが存在している。相手先に確実に電子メールが届くように、TIFFイメージデータ等のバイナリデータを送信する場合には、一旦テキストデータに変換する。インターネットで扱うテキストデータはIETF(Internet Engineering Task Force) が発行するドキュメントであるRFC(Request For Comments)822において、7ビットのコードとして規定されている。
【0023】
そこで、MIME(Multipurpose Internet Mail Extensions) のbase64等を利用して、変換を行う。これによると、6ビットのバイナリデータは64のキャラクタ (大文字、小文字のアルファベット、数字、+、/) の1つに置き換えられ、テキストデータに変換することができる。MIMEはRFC1521 等で規定されている。
【0024】
メール編集では、送信時に、テキストデータに変換されたTIFFイメージデータにメールヘッダ情報を付加して電子メール形式に編集し、受信時に、電子メール形式のデータからメールヘッダ情報を取り除き、テキストデータに変換されたTIFFイメージデータだけを取り出す。インターネットの電子メールには電子メールの管理情報として、所定のヘッダ情報を付加することが規定されているので、送信時には、TIFFイメージデータの先頭に、“From: (利用者のインターネットe-mailアドレス)”,“To: (相手先のインターネットe-mailアドレス) ", "Subject: (題名)”等の項目を追加する。
【0025】
読取部2は、CCD 等で原稿を読み取り、白黒2値の原稿の画像データを出力する。記録部3は電子写真方式等のプリンタを備え、他のG3ファクシミリ装置やインターネットから受信した原稿の画像データを記録する。
表示部4は、液晶ディスプレイ(LCD と略記する)のようなディスプレイを備え、装置の動作状態、原稿の画像データ等の表示を行う。
操作部5は、装置を操作するのに必要なテンキー、ワンタッチキー、プログラムワンタッチキー等の各種のファンクションキー等を備えている。
【0026】
ROM 6は、ファクシミリ装置の動作に必要なソフトウェアを記憶する。RAM 7は、SRAMまたはフラッシュメモリ等で構成され、ソフトウェアの実行時に発生する一時的なデータを記憶する。
画像メモリ8はDRAM等で構成され、原稿の画像データを記憶する。
画像メモリ8のECM バッファ81は、ファクシミリ通信時には誤り再送用として使用され、ダミーエンコードモード、メール送信モードにおいては変換データの格納用として使用される64K バイトのメモリである。
【0027】
モデム9は読取部2が読み取った原稿の画像データをファクシミリ通信するためのモデムであってデータ通信機能は備えていない。
データモデム10は、例えば電子メールに変換された原稿の画像データをインターネットを介して通信するデータ通信のためのモデムであって、NCU 11のチップに設けられている例えば外付け電話用端子と電話用ケーブルで接続され、またパーソナルコンピュータ等との接続用の外部I/F 12のシリアルポートとRS232Cによって接続されている。
NCU 11はアナログ回線の閉結、開放を行う。
【0028】
次に、本発明の電子メール機能付通信端末装置のダミーエンコードモードにおける動作を図2に基づいて説明する。
ダミーエンコードモードでは、例えば、MMR(画像メモリ8の蓄積時) →MH→TIFF→MIME Base64 という変換処理を行ってインターネットへメールを送出する場合、MHからMIME Base64 へのデータ量の変化量はほぼ予測できるが、MMR からMHへの変化量は予測できない。そこで、64K バイトのECM バッファ81を使って、送信時の符号化方式(MH)に1頁分エンコードすることによって、そのときのデータ量を測定し、最終的なデータ形式(MIME Base64) に変換した後のデータ量を予測する。
【0029】
まず、MMR →MH変換関数をコール(CALL)し(ステップS1)、ECM バッファ81の先頭に送信用TTI をセットして、データ量をカウントするデータ量用の変数の値をTTI のデータ量分だけ更新し、ECM バッファ81のポインタを次のアドレスに更新する(ステップS2)。
ECM バッファ81のポインタのアドレスへ、画像メモリ8に格納されているMMR 符号化形式の画データをMH符号化形式によって変換したデータを256 バイト転送する(ステップS3)。
【0030】
CODEC(符号化・復号化)LSIのデコードエラーの発生の有無を判断し(ステップS4)、デコードエラーが発生した場合は処理を終了する。
またECM バッファ81へ転送されたMHデータからRTC を検出したか否かを判断し(ステップS5)、RTC を検出しない場合は、データ量用の変数の値を256 バイトだけ更新し、またECM バッファ81のポインタを次のアドレスに更新する(ステップS6)。
【0031】
ECM バッファ81への転送データ量が、その容量である64K バイトに達したか否かを判断し(ステップS7)、64K バイトに達していない場合はステップS3に戻り、64K バイトに達するまでステップS3〜S6を繰り返す。
その間、ECM バッファ81へ転送されたMHデータからRTC を検出した場合は、データ量用の変数の値を、今回転送されたMHデータ(RTC まで)のバイト数だけ更新し(ステップS8)、この変数の値に所定の係数を乗じて、TIFF・MIMEに変換したときのデータ量を計算し、送信メールのデータ量用の変数にセットする(ステップS9)。
【0032】
RTC を検出しないまま、ECM バッファ81への転送データ量が64K バイトに達した場合(ステップS7のYES )、ECM バッファ81の先頭へポインタを初期化して(ステップS10 )、ステップS3に戻り、続きのMHデータをECM バッファ81へ転送して、RTC を検出するまでデータ量の算出を繰り返し、RTC を検出した場合は、データ量用の変数の値を、その回に転送されたMHデータ(RTC まで)のバイト数だけ更新し(ステップS8)、この変数の値に所定の係数を乗じて、TIFF・MIMEに変換したときのデータ量を計算し、送信メールのデータ量用の変数にセットする(ステップS9)。
【0033】
以上のようにしてデータ量を算出した結果、1メール分として許可されているデータ量を超えない場合、送信者は1メールで送信できると知ることができ、また1メール分のデータ量を超えた場合は複数のメールに分割して送信すべきであると知ることができる。
【0034】
さらに、本発明の電子メール機能付通信端末装置のメール送信モードにおける動作を図3及び図4のフローチャートに基づいて説明する。
まず、MMR →MH変換関数をコール(CALL)し(ステップS21 )、このCALLが、1分割分のデータをRS232Cへ送出後の再起動CALLであるか否か、また64K バイト分のデータをRS232Cへ送出後の再起動CALLであるか否かを判断する(ステップS22 ・S23 )。
【0035】
再起動CALLではない最初は、ECM バッファ81の先頭に送信用TTI をセットして、データ量をカウントするデータ量用の変数の値をTTI のデータ量分だけ更新し、ECM バッファ81のポインタを次のアドレスに更新する(ステップS24 )。
ECM バッファ81のポインタのアドレスへ、MMR →MH変換データを256 バイト転送する(ステップS25 )。
【0036】
CODEC(符号化・復号化)LSIのデコードエラーの発生の有無を判断し(ステップS26 )、デコードエラーが発生した場合は送信の終了処理を実行する。
またECM バッファ81へ転送されたMHデータからRTC を検出したか否かを判断し(ステップS27 )、RTC を検出しない場合は、データ量用の変数の値を256 バイトだけ更新し、またECM バッファ81のポインタを次のアドレスに更新する(ステップS28 )。
【0037】
ECM バッファ81への転送データ量が、その容量である64K バイト以内であって、かつ総転送データ量が1メールとして送信が許可されている分割制限データ量以内であるか否かを判断し(ステップS28 )、ECM バッファ81への転送データ量が64K バイト以内であって、かつ総転送データ量が分割制限データ量以内である場合はステップS25 に戻り、ステップS25 〜S28 を繰り返す。
その間、ECM バッファ81へ転送されたMHデータからRTC を検出した場合は、ECM バッファ81のMH符号化形式のデータをTIFF変換、さらにMIME変換し、RS232Cよりネットワークへ送出し(ステップS30 )、送信の終了処理を実行する。
【0038】
RTC を検出しないまま、ECM バッファ71への転送データ量が64K バイト以内であって、かつ総転送データ量が分割制限データ量以内であるという条件を満たさなくなった場合(ステップS29 のNO)、総転送データ量は分割制限データ量以内であるがECM バッファ81への転送データ量が64K バイトに達したのか(ステップS31 のYES )、又はECM バッファ81への転送データ量は64K バイト以内であるが総転送データ量が分割制限データ量に達したのか(ステップS32 のYES )、又はECM バッファ81への転送データ量が64K バイトに達し、かつ総転送データ量が分割制限データ量に達したのか(ステップS32 のNO)を判断する。
【0039】
ECM バッファ81への転送データ量が64K バイトに達した場合(ステップS31 のYES )はECM バッファ81の64K バイトのMH符号化形式のデータを、また総転送データ量が分割制限データ量に達した場合(ステップS32 のYES )はECM バッファ81の1分割分のMH符号化形式のデータをTIFF変換、さらにMIME変換し、1通分のメールをRS232Cよりネットワークへ送出する(ステップS30 )。続いて、ECM バッファ81の先頭へポインタを初期化して(ステップS34 )、ステップS21 に戻る。
【0040】
ECM バッファ81への転送データ量が64K バイトに達し、かつ総転送データ量が分割制限データ量に達した場合は(ステップS32 のNO)、ECM バッファ81の64K バイトのMH符号化形式のデータをTIFF変換、さらにMIME変換し、1通分のメールをRS232Cよりネットワークへ送出する(ステップS35 )。続いて、ECM バッファ81の先頭へポインタを初期化して(ステップS34 )、ステップS21 に戻る。
【0041】
MMR →MH変化関数をCALLし(ステップS21 )、このCALLが、1分割分のデータ、又は64K バイト分のデータをRS232Cへ送出後の再起動CALLであるか否かを判断し(ステップS22 ・S23 )、1分割分のデータ送出後の再起動CALLの場合は、1メールとして送信が許可されている分割制限データ量用の変数の値を初期化し(ステップS36 )、また64K バイト分のデータ送出後の再起動CALLの場合は64K バイト転送データ量用の変数の値を初期化して(ステップS37 )、ステップS25 へ移行する。
【0042】
前述した1通目のメール送信の場合と同様に、ECM バッファ81への転送データ量が64K バイトに達するまで、又は総転送データ量が分割割制限データ量に達するまでステップS25 〜S29 を繰り返し、その間、RTC を検出した場合は、ECM バッファ81のMH符号化形式のデータをTIFF変換、さらにMIME変換し、RS232Cよりネットワークへ送出し(ステップS30 )、送信の終了処理を実行する。
【0043】
【発明の効果】
第1発明の電子メール機能付通信端末装置は、メール送信すべき画データをMMR 符号化形式からMH符号化形式へ変換した後の画データ量が1メールでの送信が可能なデータ量を超えない量の画データを1通のメールとして送信する手段を設けたので、オペレータが1メールでの送信が可能なデータ量に配慮する必要がないという優れた効果を奏する。
【0044】
さらに、電子メール機能付通信端末装置は、上述のメール送信においてMH符号化形式に変換したデータを、ファクシミリ通信での誤り再送用のバッファメモリに格納するので、小型で低価格であるという優れた効果を奏する。
【図面の簡単な説明】
【図1】本発明の電子メール機能付通信端末装置のブロック図である。
【図2】本発明の電子メール機能付通信端末装置のダミーエンコードモードにおける動作のフローチャートである。
【図3】本発明の電子メール機能付通信端末装置のメール送信モードにおける動作のフローチャート(その1)である。
【図4】本発明の電子メール機能付通信端末装置のメール送信モードにおける手順のフローチャート(その2)である。
【符号の説明】
1 主制御部
6 ROM
7 RAM
8 画像メモリ
81 ECM バッファ
10 データモデム
12 外部I/F
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication terminal apparatus such as a facsimile apparatus having a function of connecting to electronic mail.
[0002]
[Prior art]
2. Description of the Related Art In recent years, computer communication networks that distribute electronic mail via the Internet or the like in which a local computer communication network is connected by a communication line are becoming widespread. The computer communication network has an excellent error correction function, and it can communicate with computers not only in Japan but also overseas only by paying communication costs to the nearest provider (connection provider to the computer communication network).
[0003]
Since the communication procedure and communication method of the conventional G3 facsimile apparatus are different from those of the computer communication network, it cannot be directly connected to the computer communication network. However, even image data such as a transmission original can be transmitted to a computer communication network by converting it into an electronic mail format.
[0004]
Some facsimile apparatuses have an error resending function that automatically resends an image even if the image is disturbed due to a line error or the like. Between facsimile apparatuses having such functions, the transmission side retransmits facsimile image data in response to an error retransmission request from the reception side.
For this reason, in the case of a facsimile apparatus that performs facsimile communication by dividing the encoded data of image data obtained by reading a one-page document into blocks each having 64 Kbytes as one block, 64 Kbytes until transmission for one block is completed. Is provided with an error retransmission buffer for storing the transmission data.
[0005]
[Problems to be solved by the invention]
By the way, as a method for accessing the Internet, there is a method of using a connection service provided by a commercial BBS for personal computer communication in addition to contracting with a provider. Some commercial BBSs have restrictions on the amount of data that can be handled as one email, the number of text lines, and the like. This is to avoid causing congestion by flowing a large amount of data to the Internet at once.
[0006]
In the case of facsimile image data having a large data amount, the data amount of one page may exceed the limit of one mail. Emails exceeding the limit cannot be forwarded by commercial BBS, so facsimile image data cannot be sent by e-mail. Therefore, although the sender has determined whether or not transmission can be performed by one mail from the number of lines and characters of the original document, the determination is not necessarily accurate.
[0007]
Also, when sending e-mail with a facsimile machine with an e-mail function, the image data in G3 format is converted into a general image format used by a computer, binary data in the image format is once converted into text data, Add email header information and edit to email format.
Accordingly, since a buffer for temporarily storing the converted data is required, the apparatus is increased in size and the price is increased.
[0008]
The present invention has been made to solve such a problem, and the amount of image data after the image data to be transmitted by mail is converted from the MMR encoded format to the MH encoded format is transmitted by one email. By providing a means for transmitting image data that does not exceed the amount of data that can be transmitted as one email, the sender can send facsimile image data without having to consider the amount of data that can be transmitted by one email. An object of the present invention is to provide a communication terminal apparatus with an electronic mail function such as a facsimile apparatus capable of transmitting mail.
[0009]
Also, the image data to be transmitted is converted from the MMR encoding format to the MH encoding format, the data amount is calculated, and the image data amount to be transmitted is calculated from the calculation result. It is an object of the present invention to provide a communication terminal device with an electronic mail function, such as a facsimile machine, that can accurately determine whether or not to divide into two before transmission.
[0010]
Further, by storing the data converted into the MH encoding format in the above-mentioned mail transmission and data amount calculation in a buffer memory for error retransmission in facsimile communication, an electronic mail such as a small and low-cost facsimile apparatus can be used. The purpose is to provide a communication terminal device with a function.
[0011]
[Means for Solving the Problems]
A communication terminal device with an electronic mail function according to a first aspect of the present invention includes a buffer memory for error retransmission in facsimile communication, and conversion means for converting image data to be transmitted by mail from a first encoded format to a second encoded format. , Means for storing the image data converted by the conversion means into the second encoding format in the buffer memory, detection means for detecting the amount of image data based on the capacity of the buffer memory, and detection by the detection means As a result, there is provided transmission means for converting the amount of image data whose converted image data amount does not exceed one email into data in an encoding format for transmission and transmitting it as one email. Features.
[0012]
In the first invention, the image data in the MMR encoding format to be transmitted, which is stored in the image memory, is converted into data in the MH encoding format, and the converted image data amount is the data amount for one mail. An amount of data in MH encoding format that does not exceed is converted into data in TIFF encoding format and MIME encoding format and sent as one mail.
Therefore, the operator can send facsimile image data by mail without having to divide the document in advance in consideration of the amount of data that can be sent by one mail.
[0014]
Furthermore, the image data converted into the MH encoding format is stored in a buffer memory for error retransmission in facsimile communication, and the capacity of the buffer memory is used to determine whether the image data amount exceeds or does not exceed one mail. To detect.
Accordingly, it is possible to effectively utilize a buffer memory for error retransmission that is not used during mail communication.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a configuration of a facsimile apparatus as a communication terminal apparatus with an electronic mail function according to the present invention. In the embodiment of the present invention, the Internet is used as a computer communication network.
The main control unit 1 not only controls each part of the hardware of the apparatus through the bus, but also encodes or encodes the image data of the document by an encoding method such as MH, MR, or MMR based on software stored in the ROM 6. Software such as communication procedures including encoding / decoding to be decoded, image (TIFF) conversion described later, binary text conversion, mail editing, modem switching, RS232C control by AT command, and the like are executed.
[0018]
In this embodiment, in addition to the mail transmission mode, a dummy encoding mode for data amount calculation is provided for the sender to determine whether or not to divide into multiple mails before transmission.
The main control unit 1 converts the image data in the MMR encoding format to be transmitted stored in the image memory 8 into data in the MH encoding format, and uses the converted image data for error retransmission in facsimile communication. The image data amount in the MH encoding format is calculated by using the capacity of the ECM buffer 81 and stored in the ECM buffer 81, and the data amount in the MIME format is calculated from the calculation result.
[0019]
Further, the main control unit 1 converts the image data in the MMR encoding format to be transmitted stored in the image memory 8 into data in the MH encoding format, and the amount of image data after conversion is one mail. If the amount of data exceeds the amount of data for one e-mail, the amount of data in the MH encoding format will be converted to data in the TIFF encoding format and MIME encoding format. Convert and send as one email.
[0020]
When converting the mail into a text image, the main control unit 1 converts the mail line by line, and whether the converted line has reached the number of lines defined as one page of the recording paper or the last line of the mail. If the number of lines for one page or the last line of the e-mail is reached, the page end code RTC is added to the encoded data of the text image. As a separate page.
[0021]
In image conversion, G3 image data is converted to TIFF (Tagged Image File Format), which is a common image format used by computers, and TIFF is converted to G3 image data during reception. . TIFF is published by Adobe Systems, and various classes that handle not only black and white binary but also black and white multi-value and full color are defined. CLASS F, which is one of them, defines G3-format image data, which is image data of a manuscript obtained by coding manuscript image data by a coding method such as MH, MR, or MMR. Therefore, it can be converted to TIFF by adding CLASS F TIFF header information to the head of G3 format image data.
[0022]
In binary text conversion, binary data is converted to text data at the time of transmission, and text data is converted to binary data at the time of reception. There are computers on the Internet that cannot handle binary data e-mail. When sending binary data such as TIFF image data to ensure that the e-mail reaches the other party, it is converted to text data once. Text data handled on the Internet is defined as a 7-bit code in RFC (Request For Comments) 822, which is a document issued by the Internet Engineering Task Force (IETF).
[0023]
Therefore, conversion is performed using base64 of MIME (Multipurpose Internet Mail Extensions). According to this, 6-bit binary data is replaced with one of 64 characters (upper case, lower case alphabet, numbers, +, /) and can be converted into text data. MIME is specified in RFC1521.
[0024]
In email editing, the email header information is added to the TIFF image data converted to text data at the time of transmission and edited into an email format. Upon reception, the email header information is removed from the email format data and converted to text data. Only the processed TIFF image data is extracted. Since it is stipulated that the header information is added to the e-mail on the Internet as e-mail management information, at the time of transmission, “From: (user's Internet e-mail address” is added at the beginning of the TIFF image data. ) ”,“ To: (the recipient's Internet e-mail address) ”,“ Subject: (title) ”and other items are added.
[0025]
The reading unit 2 reads a document with a CCD or the like, and outputs monochrome binary image data. The recording unit 3 includes an electrophotographic printer or the like, and records image data of a document received from another G3 facsimile apparatus or the Internet.
The display unit 4 includes a display such as a liquid crystal display (abbreviated as LCD), and displays the operation state of the apparatus, image data of a document, and the like.
The operation unit 5 includes various function keys such as a numeric keypad, a one-touch key, and a program one-touch key necessary for operating the apparatus.
[0026]
ROM 6 stores software necessary for the operation of the facsimile apparatus. The RAM 7 is composed of SRAM, flash memory, or the like, and stores temporary data generated when the software is executed.
The image memory 8 is composed of a DRAM or the like and stores image data of the original.
The ECM buffer 81 of the image memory 8 is a 64 Kbyte memory that is used for error retransmission during facsimile communication, and is used for storing converted data in the dummy encode mode and mail transmission mode.
[0027]
The modem 9 is a modem for performing facsimile communication of image data of a document read by the reading unit 2, and does not have a data communication function.
The data modem 10 is a modem for data communication that communicates image data of an original document converted into e-mail, for example, via the Internet. For example, an external telephone terminal provided on the chip of the NCU 11 and a telephone It is connected with a serial cable of the external I / F 12 for connection with a personal computer or the like, and is connected by RS232C.
NCU 11 closes and opens analog lines.
[0028]
Next, the operation in the dummy encoding mode of the communication terminal device with an electronic mail function of the present invention will be described with reference to FIG.
In the dummy encoding mode, for example, when a mail is sent to the Internet by performing a conversion process of MMR (when storing the image memory 8) → MH → TIFF → MIME Base64, the amount of change in data amount from MH to MIME Base64 is almost the same. The amount of change from MMR to MH cannot be predicted. Therefore, the 64K byte ECM buffer 81 is used to encode one page into the encoding method (MH) at the time of transmission, and the amount of data at that time is measured and converted to the final data format (MIME Base64). Predict the amount of data after
[0029]
First, the MMR → MH conversion function is called (step S1), the TTI for transmission is set at the head of the ECM buffer 81, and the value of the data amount variable for counting the data amount is set for the amount of TTI data. And the pointer of the ECM buffer 81 is updated to the next address (step S2).
256 bytes of data obtained by converting the image data in the MMR encoding format stored in the image memory 8 in the MH encoding format to the address of the pointer in the ECM buffer 81 are transferred (step S3).
[0030]
It is determined whether or not a decoding error has occurred in the CODEC (encoding / decoding) LSI (step S4). If a decoding error has occurred, the process ends.
Also, it is determined whether or not an RTC has been detected from the MH data transferred to the ECM buffer 81 (step S5). If no RTC is detected, the value of the data amount variable is updated by 256 bytes, and the ECM buffer is updated. The pointer 81 is updated to the next address (step S6).
[0031]
It is determined whether or not the amount of data transferred to the ECM buffer 81 has reached its capacity of 64 Kbytes (step S7). If it has not reached 64 Kbytes, the process returns to step S3, and step S3 until it reaches 64 Kbytes. Repeat ~ S6.
Meanwhile, if RTC is detected from the MH data transferred to the ECM buffer 81, the value of the variable for the data amount is updated by the number of bytes of the MH data (up to RTC) transferred this time (step S8). Multiply the value of the variable by a predetermined coefficient to calculate the amount of data when converted to TIFF / MIME, and set it as a variable for the amount of data in the outgoing mail (step S9).
[0032]
If the amount of data transferred to ECM buffer 81 reaches 64 Kbytes without detecting RTC (YES in step S7), the pointer is initialized to the beginning of ECM buffer 81 (step S10), and the process returns to step S3. MH data is transferred to the ECM buffer 81, and the calculation of the data amount is repeated until RTC is detected. If RTC is detected, the value of the variable for the data amount is changed to the MH data (RTC (Step S8), multiply the value of this variable by a predetermined coefficient, calculate the amount of data when converted to TIFF / MIME, and set it in the variable for the amount of data in outgoing mail (Step S9).
[0033]
As a result of calculating the amount of data as described above, if the amount of data allowed for one email is not exceeded, the sender can know that the data can be sent by one email, and the amount of data exceeding one email is exceeded. If it is, you can know that it should be divided into multiple emails.
[0034]
Furthermore, the operation in the mail transmission mode of the communication terminal device with an electronic mail function of the present invention will be described based on the flowcharts of FIGS.
First, call (CALL) the MMR → MH conversion function (step S21), and whether or not this CALL is a restart CALL after sending the data for 1 division to RS232C, and the data for 64 Kbytes to RS232C. It is determined whether or not it is a restart CALL after sending to (steps S22 and S23).
[0035]
At the beginning that is not a restart CALL, the TTI for transmission is set at the beginning of the ECM buffer 81, the value of the data amount variable for counting the data amount is updated by the amount of TTI, and the pointer of the ECM buffer 81 is set. Update to the next address (step S24).
The 256 bytes of MMR → MH conversion data are transferred to the pointer address of the ECM buffer 81 (step S25).
[0036]
It is determined whether or not a decoding error has occurred in the CODEC (encoding / decoding) LSI (step S26). If a decoding error has occurred, a transmission end process is executed.
Also, it is determined whether or not an RTC is detected from the MH data transferred to the ECM buffer 81 (step S27). If no RTC is detected, the value of the data amount variable is updated by 256 bytes, and the ECM buffer is updated. The pointer 81 is updated to the next address (step S28).
[0037]
It is determined whether the amount of data transferred to the ECM buffer 81 is within 64 Kbytes, which is the capacity, and the total transfer data amount is within the division limit data amount that is permitted to be transmitted as one mail ( Step S28) If the amount of data transferred to the ECM buffer 81 is within 64K bytes and the total amount of transferred data is within the division limit data amount, the process returns to Step S25, and Steps S25 to S28 are repeated.
During that time, if RTC is detected from the MH data transferred to the ECM buffer 81, the MH encoded data in the ECM buffer 81 is converted to TIFF, further MIME converted, and sent to the network from the RS232C (step S30) and transmitted. Execute the end process.
[0038]
If the RTC is not detected and the transfer data volume to the ECM buffer 71 is within 64 Kbytes and the total transfer data volume is within the division limit data volume (NO in step S29), the total The transfer data amount is within the division limit data amount, but the transfer data amount to the ECM buffer 81 has reached 64K bytes (YES in step S31), or the transfer data amount to the ECM buffer 81 is within 64K bytes Whether the total transfer data amount has reached the division limit data amount (YES in step S32), or the transfer data amount to the ECM buffer 81 has reached 64K bytes, and the total transfer data amount has reached the division limit data amount ( Determine NO in step S32.
[0039]
When the amount of data transferred to the ECM buffer 81 reaches 64K bytes (YES in step S31), 64K bytes of MH encoded data in the ECM buffer 81, and the total transfer data amount reaches the division limit data amount. In this case (YES in step S32), the data in one segment of the MH encoding format of the ECM buffer 81 is converted to TIFF and further MIME converted, and one mail is sent to the network from the RS232C (step S30). Subsequently, a pointer is initialized to the head of the ECM buffer 81 (step S34), and the process returns to step S21.
[0040]
If the transfer data amount to the ECM buffer 81 reaches 64K bytes and the total transfer data amount reaches the division limit data amount (NO in step S32), the 64K bytes of MH encoded data in the ECM buffer 81 is stored. After TIFF conversion and further MIME conversion, one mail is sent to the network from RS232C (step S35). Subsequently, a pointer is initialized to the head of the ECM buffer 81 (step S34), and the process returns to step S21.
[0041]
CALL MMR → MH change function (step S21), and determine whether this CALL is a restart CALL after sending data for one division or 64K bytes to RS232C (step S22 ・S23) In the case of restart CALL after sending the data for one division, initialize the value of the variable for the limited data amount that is permitted to be sent as one mail (step S36), and the data for 64K bytes In the case of restart CALL after transmission, the value of the variable for the 64 Kbyte transfer data amount is initialized (step S37), and the process proceeds to step S25.
[0042]
As in the case of the first mail transmission described above, steps S25 to S29 are repeated until the transfer data amount to the ECM buffer 81 reaches 64 Kbytes or until the total transfer data amount reaches the divisional limit data amount. In the meantime, when the RTC is detected, the MH encoded data in the ECM buffer 81 is subjected to TIFF conversion and further MIME conversion, and is sent to the network from the RS232C (step S30), and transmission end processing is executed.
[0043]
【The invention's effect】
In the communication terminal device with an electronic mail function according to the first invention, the amount of image data after the image data to be transmitted by mail is converted from the MMR encoded format to the MH encoded format exceeds the amount of data that can be transmitted by one email. Since the means for transmitting an infinite amount of image data as one mail is provided, an excellent effect is obtained that the operator does not need to consider the amount of data that can be transmitted by one mail.
[0044]
Furthermore, since the communication terminal device with an electronic mail function stores the data converted into the MH encoding format in the above-mentioned mail transmission in a buffer memory for error retransmission in facsimile communication, it is excellent in that it is small and inexpensive. There is an effect.
[Brief description of the drawings]
FIG. 1 is a block diagram of a communication terminal device with an electronic mail function according to the present invention.
FIG. 2 is a flowchart of an operation in a dummy encoding mode of the communication terminal device with an e-mail function according to the present invention.
FIG. 3 is a flowchart (No. 1) of an operation in a mail transmission mode of a communication terminal device with an electronic mail function according to the present invention.
FIG. 4 is a flowchart (part 2) of the procedure in the mail transmission mode of the communication terminal device with an electronic mail function according to the present invention.
[Explanation of symbols]
1 Main controller 6 ROM
7 RAM
8 Image memory
81 ECM buffer
10 Data modem
12 External I / F

Claims (1)

ファクシミリ通信での誤り再送用のバッファメモリを備え、
メール送信すべき画データを第1符号化形式から第2符号化形式へ変換する変換手段と、
変換手段第2の符号化形式へ変換した画データを前記バッファメモリに格納する手段と、
前記バッファメモリの容量に基づいて画データ量を検出する検出手段と、
該検出手段による検出の結果、変換後の画データ量が1通のメール分を超えない量の画データを、送信用の符号化形式のデータへ変換して1通のメールとして送信する送信手段と
を備えたことを特徴とする電子メール機能付通信端末装置。
Equipped with a buffer memory for error retransmission in facsimile communication
Conversion means for converting image data to be transmitted by mail from the first encoding format to the second encoding format;
Means for storing the image data to which the conversion means is converted into a second encoding format in the buffer memory,
Detecting means for detecting the amount of image data based on the capacity of the buffer memory;
As a result of detection by the detection means, transmission means for converting the amount of image data whose converted image data amount does not exceed one mail into data in an encoding format for transmission and transmitting it as one mail When
A communication terminal device with an electronic mail function.
JP22172997A 1997-08-18 1997-08-18 Communication terminal device with e-mail function Expired - Fee Related JP3702599B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22172997A JP3702599B2 (en) 1997-08-18 1997-08-18 Communication terminal device with e-mail function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22172997A JP3702599B2 (en) 1997-08-18 1997-08-18 Communication terminal device with e-mail function

Publications (2)

Publication Number Publication Date
JPH1168825A JPH1168825A (en) 1999-03-09
JP3702599B2 true JP3702599B2 (en) 2005-10-05

Family

ID=16771351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22172997A Expired - Fee Related JP3702599B2 (en) 1997-08-18 1997-08-18 Communication terminal device with e-mail function

Country Status (1)

Country Link
JP (1) JP3702599B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3169815B2 (en) * 1995-12-14 2001-05-28 松下電送システム株式会社 Image communication device and image communication method
JP2000032202A (en) 1998-07-10 2000-01-28 Matsushita Graphic Communication Systems Inc Internet facsimile equipment
US6972874B2 (en) 2000-07-06 2005-12-06 Canon Kabushiki Kaisha Image communicating apparatus
US7397575B2 (en) * 2000-08-01 2008-07-08 Canon Kabushiki Kaisha Communication apparatus and method having electronic mail communication function, and program
DE112007003641T5 (en) * 2007-08-28 2010-10-14 LSI Corp., Milpitas Data transmission over a mobile network

Also Published As

Publication number Publication date
JPH1168825A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
JP3593849B2 (en) Facsimile machine with e-mail function
KR100402210B1 (en) Communication terminal device with e-mail function
KR100298839B1 (en) Communication terminal device
JP3702599B2 (en) Communication terminal device with e-mail function
JP3166680B2 (en) Communication terminal device with e-mail function
JPH1127414A (en) Communication terminal with electronic mail function
JP3196664B2 (en) Communication terminal device
JP3593819B2 (en) Communication terminal device
JP3586979B2 (en) Communication terminal device
JP3591232B2 (en) Communication terminal device with e-mail function
JP3463535B2 (en) Communication terminal with e-mail function
JP3612942B2 (en) Communication terminal device with e-mail function
JP3577899B2 (en) Communication terminal device with e-mail function
JP2001186361A (en) Communication equipment, communication system, communication method and storage medium
JPH11205374A (en) Communication terminal equipment with electronic mail function and storage medium
JPH1146278A (en) Communication terminal equipment with electronic mail function and recording medium readable by the equipment
JPH10107839A (en) Communication terminal equipment
JP3791142B2 (en) Facsimile device with e-mail function
JP3379396B2 (en) Communication terminal with e-mail function
EP0835018A1 (en) Communication terminal device and communication method
JP3355391B2 (en) Facsimile apparatus and control method thereof
JPH1141403A (en) Communication terminal equipment with electronic mail function
JPH10107837A (en) Communication terminal equipment and communication method
JP2002218104A (en) Facsimile terminal
JPH11127297A (en) Communication terminal equipment with electronic mail function and recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050609

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050628

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110729

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120729

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130729

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees