JP4979567B2 - Data communication apparatus, data communication method, data communication program, and recording medium - Google Patents
Data communication apparatus, data communication method, data communication program, and recording medium Download PDFInfo
- Publication number
- JP4979567B2 JP4979567B2 JP2007327840A JP2007327840A JP4979567B2 JP 4979567 B2 JP4979567 B2 JP 4979567B2 JP 2007327840 A JP2007327840 A JP 2007327840A JP 2007327840 A JP2007327840 A JP 2007327840A JP 4979567 B2 JP4979567 B2 JP 4979567B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- communication
- generation
- transmission
- transfer
- 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
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Facsimile Transmission Control (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
本発明は、データ通信装置、データ通信方法、データ通信プログラム及び記録媒体に関し、詳細には、通信手順に適切に対応したデータ通信を行うデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体に関する。 The present invention relates to a data communication device, a data communication method, a data communication program, and a recording medium, and more particularly, to a data communication device, a data communication method, a data communication program, and a recording medium that perform data communication appropriately corresponding to a communication procedure. .
ファクシミリ通信手順(伝送手順)は、従来、ITU(International Telecommunication Union:国際電気通信連合)−T勧告T.30に従って実行され、一般的に、送信機と受信機との能力交換を行った後に、トレーニングを実施し、送信レートが決定すると、送信側で送信画像の生成が開始される。 Conventionally, the facsimile communication procedure (transmission procedure) is ITU (International Telecommunication Union) -T recommendation T.264. 30. Generally, after the capability exchange between the transmitter and the receiver is performed, when training is performed and the transmission rate is determined, generation of a transmission image is started on the transmission side.
ところが、送信レート決定から画像データ送信までは、勧告T.30では、最小で400ms程度しかなく、送信用の画像データを生成する画像データ生成部と該生成された画像データを実際に送信する通信制御部が分離されていて、多くのプロセスが多重で動作するようなシステム構成、例えば、複合装置では、画像データ生成部から通信制御部までの画像転送処理に時間を要する場合であって、ファクシミリ処理プロセスへのサービスが限られている場合等には、容易に該規定時間を満足することできない。この規定時間内に送信画像データを作成して送信を開始することができないときには、通信が切断されて、適切な通信を行うことができない。 However, from the determination of the transmission rate to the transmission of the image data, recommendation T.30. 30 has a minimum of only about 400 ms, and an image data generation unit that generates image data for transmission and a communication control unit that actually transmits the generated image data are separated, and many processes operate in a multiplexed manner. In such a system configuration, for example, in the case of a composite apparatus, when time is required for image transfer processing from the image data generation unit to the communication control unit, and the service to the facsimile processing process is limited, etc. The specified time cannot be satisfied easily. When transmission image data cannot be created and transmission cannot be started within the specified time, communication is cut off and appropriate communication cannot be performed.
そこで、従来から、送信レートの決定を待つことなく、先行して送信画像を作成する技術がある(特許文献1等参照)。
Therefore, conventionally, there is a technique for creating a transmission image in advance without waiting for the determination of the transmission rate (see
この従来技術は、ファクシミリプロトコルフェーズCが開始されるよりも前に画像データの作成を開始し、さらに、フォールバックにより送信レートが変化した場合は、先行して作成した画像データを復号化した後、新しい送信レートに合わせて再符号化している。 This prior art starts creating image data before the start of facsimile protocol phase C. Further, when the transmission rate changes due to fallback, after decoding the previously created image data Re-encoding to match the new transmission rate.
また、従来、一度ファクシミリ送信した受信機の能力を記憶し、再度、同じ受信機に送信する場合は、受信機の能力の受信を待つことなく、記憶している受信機能力に基づいて画像データの生成を開始したり、事前に作成する画像データは、画像先頭の読み取り時間4〜5秒分のみとし、以降の画像は、ファクシミリプロトコルフェーズCを開始後に作成したりしている。 Conventionally, when the capability of a receiver once transmitted by facsimile is stored and transmitted to the same receiver again, the image data is stored based on the stored reception capability without waiting for reception of the capability of the receiver. The image data to be created in advance or the image data to be created in advance is limited to the reading time of 4 to 5 seconds at the beginning of the image, and the subsequent images are created after the start of the facsimile protocol phase C.
しかしながら、上記従来技術にあっては、送信側の機器の状態にかかわらず、常に、送信レートの決定に先立って、送信画像を作成しているため、機器のファクシミリ機能に利用するモジュール以外の他のモジュールの利用性を不必要に阻害したり、送信条件の変更によって画像データの再作成を行う必要が発生し、画像処理を効率的に行って処理速度を向上させる上で、改良の必要があった。 However, in the above prior art, a transmission image is always created prior to the determination of the transmission rate regardless of the state of the transmission-side device. It is necessary to improve the efficiency of image processing to improve the processing speed. there were.
そこで、本発明は、通信手順で要求される時間に適切にデータを送信して送信処理を適切に行うデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体を提供することを目的としている。 Accordingly, an object of the present invention is to provide a data communication apparatus, a data communication method, a data communication program, and a recording medium that appropriately transmit data at a time required in a communication procedure and appropriately perform transmission processing.
本発明は、所定の通信回線に接続された通信制御手段によって該通信回線を介して相手端末と通信手順信号を交換して通信制御手順を実行し、所定の送信対象データから該通信手順信号で設定された通信モードに応じてデータ処理手段によって生成された最終符号データを該通信制御手段から該相手端末にデータ送信する際に、前記データ処理によって前記送信対象データを記憶する送信対象データ記憶手段の該送信対象データから前記最終符号データを生成して最終符号データ記憶手段に保管するまでの単位時間当たりのデータ生成サイズをデータ生成速度として算出し、該最終符号データ記憶手段の該最終符号データを前記通信制御手段に転送する単位時間当たりの転送データサイズをデータ転送速度として算出し、該符号データのデータ転送サイズと該データ生成速度と該データ転送速度及び前記通信手順信号に基づいて、事前に該送信対象データから該最終符号データを作成して該通信制御手段に送信するデータ事前生成処理の要否を判断して、該データ事前生成処理が必要であると判断すると、該データ事前生成処理を実行することを特徴としている。 In the present invention, communication control means connected to a predetermined communication line exchanges communication procedure signals with a partner terminal via the communication line to execute the communication control procedure, and the communication procedure signal is transmitted from predetermined transmission target data. Transmission target data storage means for storing the transmission target data by the data processing when transmitting the final code data generated by the data processing means in accordance with the set communication mode from the communication control means to the counterpart terminal A data generation size per unit time from generation of the final code data from the transmission target data to storage in the final code data storage means is calculated as a data generation speed, and the final code data of the final code data storage means The transfer data size per unit time to be transferred to the communication control means is calculated as the data transfer rate, and the data of the code data is calculated. Based on the transfer size, the data generation rate, the data transfer rate, and the communication procedure signal, whether or not the data pre-generation processing for generating the final code data from the transmission target data in advance and transmitting it to the communication control means If the data pre-generation process is determined to be necessary, the data pre-generation process is executed.
また、本発明は、前記データ処理において、前記送信対象データ記憶手段が前記送信対象データとして記憶する所定の符号化された送信対象符号データを復号化する復号化処理と、該復号化された復号データを前記最終符号データに符号化して前記最終符号データ記憶手段に記憶させる符号化処理と、を実行することを特徴としている。 In the data processing, the present invention provides a decoding process for decoding predetermined encoded transmission target code data stored as the transmission target data in the transmission target data storage unit, and the decoded decoding And encoding processing for encoding the data into the final code data and storing the data in the final code data storage means.
さらに、本発明は、前記通信手順信号としてファクシミリ制御信号を前記相手端末と交換してファクシミリ制御手順を実行し、前記データ処理で、前記最終符号データとして該ファクシミリ制御手順に応じた符号データを生成し、前記事前生成制御処理で、前記データ転送サイズと前記データ生成速度と前記データ転送速度及び該ファクシミリ制御手順によって制限される最初の該最終符号データの送信開始までに該最終符号データを前記送信制御手段が送信可能な状態となるか否かによって前記データ事前生成処理の要否を判断することを特徴としている。 Furthermore, the present invention executes a facsimile control procedure by exchanging a facsimile control signal as the communication procedure signal with the counterpart terminal, and generates code data corresponding to the facsimile control procedure as the final code data in the data processing. In the pre-generation control process, the final code data is transmitted before the start of transmission of the first final code data limited by the data transfer size, the data generation speed, the data transfer speed, and the facsimile control procedure. Whether or not the data pre-generation process is necessary is determined based on whether or not the transmission control means is ready for transmission.
また、本発明は、前記通信手順信号によって送信速度が確定される前に前記事前生成制御手段が、前記データ処理で事前生成させる前記データのデータサイズを、前記データ生成速度及び前記データ転送速度に基づいて算出する事前データサイズ算出手段をさらに備えていることを特徴としている。 Further, the present invention provides the data generation speed and the data transfer speed for the data size of the data to be pre-generated by the data processing before the transmission speed is determined by the communication procedure signal. It is further characterized by further comprising a prior data size calculating means for calculating based on the above.
また、本発明は、前記符号データ転送手段による前記データ生成速度と前記データ転送速度に基づく前記最終符号データ記憶手段から前記通信制御手段に転送する前記最終符号データの転送サイズを調整する最終符号データ転送サイズ調整手段をさらに備えていることを特徴としている。 The present invention also provides final code data for adjusting a transfer size of the final code data to be transferred from the final code data storage means to the communication control means based on the data generation speed and the data transfer speed by the code data transfer means. A transfer size adjusting means is further provided.
本発明によれば、所定の通信回線に接続された通信制御手段によって該通信回線を介して相手端末と通信手順信号を交換して通信制御手順を実行し、所定の送信対象データから該通信手順信号で設定された通信モードに応じてデータ処理手段によって生成された最終符号データを該通信制御手段から該相手端末にデータ送信する際に、前記データ処理によって前記送信対象データを記憶する送信対象データ記憶手段の該送信対象データから前記最終符号データを生成して最終符号データ記憶手段に保管するときのデータ生成速度を算出し、該最終符号データ記憶手段の該最終符号データを前記通信制御手段に転送するときのデータ転送速度を算出し、該データ転送サイズと該データ生成速度と該データ転送速度及び前記通信手順信号に基づいて、事前に該送信対象データから該最終符号データを作成して該通信制御手段に送信するデータ事前生成処理の要否を判断して、該データ事前生成処理が必要であると判断すると、該データ事前生成処理を実行するので、通信制御手順で要求されるデータ開始のタイミングに間に合わないと判断したときにのみ、事前に送信用の最終符号データを生成することができ、データ処理上の負荷を抑制しつつ、データ通信を適切に行うことができるとともに、通信品質を向上させることができる。 According to the present invention, a communication control means connected to a predetermined communication line exchanges a communication procedure signal with a counterpart terminal via the communication line to execute the communication control procedure, and the communication procedure is determined from predetermined transmission target data. Transmission target data for storing the transmission target data by the data processing when the final code data generated by the data processing unit according to the communication mode set by the signal is transmitted from the communication control unit to the counterpart terminal A data generation speed is calculated when the final code data is generated from the transmission target data of the storage means and stored in the final code data storage means, and the final code data of the final code data storage means is sent to the communication control means. Calculate the data transfer rate when transferring, based on the data transfer size, the data generation rate, the data transfer rate, and the communication procedure signal Determining whether or not the data pre-generation process is necessary by generating the final code data from the transmission target data in advance and transmitting the communication data to the communication control unit. Since the pre-generation process is executed, the final code data for transmission can be generated in advance only when it is determined that it is not in time for the data start timing required in the communication control procedure. While suppressing, data communication can be performed appropriately and communication quality can be improved.
以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The scope of the present invention limits this invention especially in the following description. As long as there is no description of the effect, it is not restricted to these aspects.
図1及び図2は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第1実施例を示す図であり、図1は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第1実施例を適用した複合装置1のハードウェアの要部ブロック構成図である。複合装置1は、スキャナ機能、プリンタ機能、コピー機能及びファクシミリ機能等を備え、複数の機能動作を並行して実行する機能を備えているが、本実施例は、ファクシミリ送信時の動作に特徴があるため、該特徴部分に関連する部分のみを図1に示している。
1 and 2 are diagrams showing a first embodiment of a data communication apparatus, a data communication method, a data communication program, and a recording medium according to the present invention. FIG. 1 shows a data communication apparatus, a data communication method, It is a principal block block diagram of the hardware of the
図1において、複合装置1は、大きく分けて、画像データ生成部10とファクシミリ送信制御部30を備えているとともに、操作表示部、プロッタ部及びシステム制御部等を備えている。この操作表示部は、複合装置1の操作を行うのに必要な各種キーと情報を表示する液晶ディスプレイ等の表示部等を備えており、プロッタ部は、画像データ生成部10で生成された画像やファクシミリ受信した画像を電子写真方式やインク噴射方式等の印刷方式で用紙に記録出力する。なお、画像データ生成部10とファクシミリ送信制御部30とは、任意のインターフェイスにより接続されている。
In FIG. 1, the
システム制御部は、CPU(Central Processing Unit )、RAM(Random Access Memory)、ROM(Read Only Memory)等を備え、CPUが、ROM内のプログラムに基づいてRAMをワークメモリとして利用しつつ複合装置1の各部を制御することで、複合装置1としての基本処理を実行するとともに、本発明のデータ通信方法を実行する。すなわち、複合装置1は、ROM、EEPROM(Electrically Erasable and Programmable Read Only Memory )、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory )、CD−RW(Compact Disc Rewritable )、DVD(Digital Video Disk)、SD(Secure Digital)カード、MO(magneto-optic disc)等の複合装置1が読み取り可能な記録媒体に記録されている本発明のデータ通信方法を実行するデータ通信プログラムを読み込んでROM等に導入することで、後述する送信対象の画像データから送信用の符号データを転送可能な状態に生成するデータ通信方法を実行するファクシミリ通信装置として構築されている。このファクシミリ通信制御プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記記録媒体に格納して頒布することができる。
The system control unit includes a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), and the like, and the CPU uses the RAM as a work memory based on a program in the ROM. By controlling the respective units, the basic processing as the
画像データ生成部10は、原稿読み取り部11、2値画像符号化部12、符号データ記憶部13、符号データ復号化部14、事前画像データ生成サイズ算出部15、画像生成開始制御部16、画像転送サイズ情報部17、画像生成速度情報部18、画像転送速度情報部19及び符号データ転送部20等を備えており、符号データ転送部20は、画像データサイズ補正制御部21を備えている。
The image
原稿読み取り部11は、例えば、CCD(Charge Coupled Device)を利用したラインイメージセンサ等が用いられており、一般的にADFを備えている。ADFには、複数枚の原稿がセットされ、ADFは、セットされた原稿を1枚ずつ原稿読み取り部11の原稿読み取り位置に送給する。原稿読み取り部11は、ADFから搬送されてきた原稿を主走査及び副走査して原稿の画像を所定の解像度で読み取って、画像データを取得する。この原稿読み取り部11は、複数の読み取りモード(線密度等)で原稿の画像を読み取ることができ、この読み取りモードの変更を複数ページの原稿のページ間で行うこともできる。 For example, a line image sensor using a CCD (Charge Coupled Device) or the like is used as the document reading unit 11 and generally includes an ADF. A plurality of originals are set in the ADF, and the ADF feeds the set originals one by one to the original reading position of the original reading unit 11. The document reading unit 11 performs main scanning and sub scanning on the document conveyed from the ADF, reads an image of the document with a predetermined resolution, and acquires image data. The document reading unit 11 can read an image of a document in a plurality of reading modes (line density or the like), and can change the reading mode between pages of a plurality of documents.
2値画像符号化部(データ処理手段、符号化手段)12は、原稿読み取り部11の読み取った原稿の画像データ及び後述する符号データ復号化部14の復号化した画像データを主走査ライン毎に、ファクシミリ通信手順で設定される符号化方式の符号データである2値画像データに変換して、符号データ記憶部13に渡す。
A binary image encoding unit (data processing means, encoding means) 12 converts image data of a document read by the document reading unit 11 and image data decoded by a code
符号データ記憶部(送信対象データ記憶手段、最終符号データ記憶手段)13は、2値化画像符号化部12の符号化した符号データ(送信対象符号データ)を記憶し、符号データ復号化部(データ処理手段、復号化手段)14は、符号データ記憶部13に記憶された符号データを変倍したり、キャラクタ情報を付加して2値画像符号化部12に渡す。
The code data storage unit (transmission target data storage unit, final code data storage unit) 13 stores the code data (transmission target code data) encoded by the binarized image encoding unit 12, and the code data decoding unit ( (Data processing means, decoding means) 14 scales the code data stored in the code
事前画像データ生成サイズ算出部15は、符号データ記憶部13に記憶されている符号データから転送用の画像データとして、先行して生成する画像データのサイズを算出する。
The pre-image data generation size calculation unit 15 calculates the size of image data to be generated in advance as image data for transfer from the code data stored in the code
画像生成作成開始制御部(事前生成制御手段)16は、データ転送サイズと後述するデータ生成速度と後述するデータ転送速度及び通信手順信号(ファクシミリ通信手順)に基づいて事前に該送信対象データから該最終符号データを作成してファクシミリ送信制御部30に送信するデータ事前生成処理の要否を判断して、該データ事前生成処理が必要であると判断すると、該データ事前生成処理を実行する。
The image generation creation start control unit (pre-generation control means) 16 preliminarily selects the transmission target data from the data to be transmitted based on the data transfer size, a data generation speed described later, a data transfer speed described later, and a communication procedure signal (facsimile communication procedure). If it is determined whether or not the data pre-generation process for creating the final code data and transmitting it to the facsimile
符号データ転送部(符号データ転送手段)20は、最終的に送信対象の符号化状態に符号化されて符号データ記憶部13に記憶されている符号データをファクシミリ送信制御部30に転送するデータ転送処理を行い、画像転送サイズ補正制御部21を備えている。画像転送サイズ補正制御部(最終符号データ転送サイズ調整手段)21は、複合装置1のシステム負荷が高くなり転送サイズを小さくする場合に、ファクシミリ送信制御部30に転送する符号データの転送サイズを補正する。
The code data transfer unit (code data transfer means) 20 is a data transfer unit that transfers the code data that is finally encoded in the encoding state to be transmitted and stored in the code
画像データ転送サイズ情報部17は、符号データ転送部20からファクシミリ送信制御部30に1回の転送処理で転送される画像データのサイズを画像データ転送サイズとして記憶する。
The image data transfer size information unit 17 stores the size of the image data transferred from the code data transfer
画像生成速度情報部18は、複合装置1の符号データ記憶部13に記憶された符号データから送信モードに合わせた画像データを符号データ復号化部14と2値画像符号化部12を通して再作成するときの単位時間あたりの画像生成サイズ(以下、画像生成速度という。)を保持し、画像転送速度情報部19は、転送モードに合わせて生成されて符号データ記憶部13に格納されている符号データをファクシミリ送信制御部30へ転送するときの単位時間当たりの転送データサイズ(以下、画像転送速度という。)を保持する。
The image generation
ファクシミリ送信制御部(通信制御手段)30には、PSTN(Public Swiched Telephone Network:一般公衆電話網)等の通信回線Lに接続され、発着信の際に回線制御を実行して回線接続あるいはその切断を行う回線制御処理、画像データや各種手順信号を内蔵するモデム装置により変復調する変復調処理を行うとともに、相手ファクシミリ通信装置との間で所定のファクシミリ制御信号(通信手順信号)を交換してファクシミリ通信手順(通信制御手順)を実行してファクシミリ通信を行い、画像データの送受信を行う。 The facsimile transmission control unit (communication control means) 30 is connected to a communication line L such as a PSTN (Public Swiched Telephone Network), and executes line control at the time of outgoing / incoming calls to connect or disconnect the line. Line control processing and modulation / demodulation processing for modulation / demodulation by a modem device incorporating image data and various procedure signals, and facsimile communication by exchanging predetermined facsimile control signals (communication procedure signals) with the other facsimile communication device A procedure (communication control procedure) is executed to perform facsimile communication, and image data is transmitted and received.
次に、本実施例の作用を説明する。本実施例の複合装置1は、ファクシミリ通信の送信レートが決定される前に、送信対象のデータを複合装置1内の送信可能な状態のデータにデータ処理するのにかかる時間を考慮して必要なデータを前もって生成する。
Next, the operation of this embodiment will be described. The
すなわち、複合装置1は、原稿読み取り部11に送信対象の原稿がセットされて、送信先や読み取りモード等のファクシミリ送信に必要な各種操作が操作表示部で行われた後、スタートキーが操作されると、図2に示すように、画像データ生成部10は、画像生成開始制御部16が、画像転送サイズ情報17から画像転送サイズS(Byte)を取得し、画像生成速度情報部18から画像生成速度Vc(Byte/s)を取得し、さらに、画像転送速度情報部19から画像転送速度Vt(Byte/s)を取得する(ステップS101)。この画像転送サイズは、1回の転送処理で転送される画像データサイズであり、1回の転送処理は、前処理と後処理とデータ転送から構成されている。画像データの転送においては、同じサイズの画像データを分けて転送する回数が多いほど前処置と後処理に要する時間が大きくなり、他方、画像データを分けて転送する回数が少ないほど、1回の転送サイズが大きくなり、1回の画像データの転送に要する転送時間が長くなる。したがって、画像転送サイズは、複合装置1のシステム負荷状態から適時可変制御される。
That is, in the
次に、画像生成開始制御部16は、画像転送サイズS、画像生成速度Vc及び画像転送速度Vtから次式により、画像データ生成部10からファクシミリ送信制御部30に送信用の符号データを送信して、準備完了状態となるまでの準備時間が、プロトコルから受ける制限時間である400ms(0.4s)以下であるか、すなわち、送信準備が完了するか判断する(ステップS102)。
Next, the image generation
S×(1/Vc+1/Vt)≦0.4・・・(1)
ステップS102で、(1)式が満たされているときには、画像生成開始制御部16は、プロトコルの制限時間内に送信用符号データの準備が完了し、画像生成を先行して行う必要がないと判断して、そのまま通常のファクシミリ手順によりファクシミリ通信を実行する。
S × (1 / Vc + 1 / Vt) ≦ 0.4 (1)
When the expression (1) is satisfied in step S102, the image generation
ステップS102で、(1)式が満たされていないときには、画像生成開始制御部16は、そのままでは、プロトコルの制限時間内に送信用符号データの準備が完了しないと判断して、ファクシミリプロトコルによって受信機能力情報を受信するのを待ち(ステップS103)、受信機能力を受信すると、原稿読み取り部11で読み取った画像データを2値画像符号化部12で符号化して符号データ記憶部13に格納し、その後、IOレート及び仮の送信レートに基づいて設定した画像転送サイズSの符号データを、符号データ復号化部14で復号した後、2値画像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS104)。
If the expression (1) is not satisfied in step S102, the image generation
画像生成開始制御部16は、データ事前生成処理を行うと、ファクシミリ通信手順がファクシミリプロトコルフェーズCに移行したかチェックし(ステップS105)、フェーズCに移行していないときには、非ECM(Error Correction Mode )送信でかつフォールバックが発生したかチェックする(ステップS106)。非ECM送信またはフォールバックしないときには、画像生成開始制御部16は、ステップS105に戻って、ファクシミリプロトコルフェーズCに移行したかチェックし、フェーズCに移行していないときには、再度非ECM送信かつフォールバックが発生したかチェックする(ステップS105〜S106)。すなわち、伝送路である通信網Lの環境が悪く、フォールバック(回線を切断することなく、通信速度を自動的に低下させて通信を続行する処理)する可能性を考慮して、送信レートが確定するファクシミリプロトコルフェーズCが開始するまで、フォールバックが発生していないかチェックしながら待つ。
When the data pre-generation process is performed, the image generation
そして、フォールバックが発生することなく、ステップS105で、ファクシミリプロトコルフェーズCに遷移すると、画像生成開始制御部16は、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS107)。
Then, when a transition is made to the facsimile protocol phase C in step S105 without occurrence of fallback, the image generation
ステップS106で、非ECM送信モードで、かつ、フォールバックが発生した場合には、画像生成開始制御部16は、その時点でのシステム負荷により変動する各種速度情報を再取得するために、ステップS101に戻って、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に処理する(ステップS101〜S107)。
In step S106, when a fallback occurs in the non-ECM transmission mode, the image generation
なお、ECM送信モードの場合には、送信レートに合わせて画像データを再作成する必要はないため、画像生成開始制御部16は、ファクシミリプロトコルフェーズCに移行するのを待って、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS107)。
In the case of the ECM transmission mode, it is not necessary to recreate the image data in accordance with the transmission rate. Therefore, the image generation
このように、本実施例の複合装置1は、通信回線Lに接続されたファクシミリ送信制御部30によって通信回線Lを介して相手端末と通信手順信号であるファクシミリ制御信号を交換して通信制御手順であるファクシミリ制御手順を実行し、送信対象データから該通信手順信号で設定された通信モードに応じてデータ処理手段である符号データ復号化部14及び2値画像符号化部12によって生成された最終符号データをファクシミリ送信制御部30から相手端末にデータ送信する際に、画像生成開始制御部16が、符号データ復号化部14と2値画像符号化部12によって符号データ記憶部13の送信対象データから最終符号データを生成して再度符号データ記憶部13に保管するまでの単位時間当たりのデータ生成サイズをデータ生成速度として算出し、符号データ記憶部13の最終符号データをファクシミリ送信制御部30に転送する符号データ転送処理での該最終符号データを転送する単位時間当たりの転送データサイズをデータ転送速度として算出し、該データ転送サイズと該データ生成速度と該データ転送速度及びファクシミリ制御信号に基づいて、事前に該送信対象データから該最終符号データを作成してファクシミリ送信制御部30に送信するデータ事前生成処理の要否を判断して、該データ事前生成処理が必要であると判断すると、データ事前生成処理を実行する。
As described above, the
したがって、通信制御手順で要求されるデータ送信開始のタイミングに間に合わないと判断したときにのみ、事前に送信用の最終符号データを生成することができ、複合装置1にかける負荷を抑制しつつ、データ通信を適切に行うことができるとともに、通信品質を向上させることができる。
Therefore, only when it is determined that the data transmission start timing required in the communication control procedure is not in time, the final code data for transmission can be generated in advance, while suppressing the load on the
また、本実施例の複合装置1は、符号データ記憶部13が、送信対象データとして、一旦2値画像符号化部12で符号化された送信対象符号データを記憶し、該送信対象符号データを復号化する符号データ復号化部14で復号化した後、該復号化された復号データを2値画像符号化部12で最終符号データに符号化して符号データ記憶部13に記憶させている。
Further, in the
したがって、画像読み取り部11で読み取って2値画像符号化部12でデータ量を削減した状態で符号データ記憶部13に記憶したデータを、送信時に再符号化して送信することで、符号データ記憶部13の利用効率を向上させることができる。
Therefore, the code data storage unit can be obtained by re-encoding and transmitting the data read by the image reading unit 11 and stored in the code
さらに、本実施例の複合装置1は、ファクシミリ送信制御部30が、相手端末と通信手順信号としてファクシミリ制御信号を交換してファクシミリ制御手順を実行し、画像データ生成部10の2値画像符号化部12が、最終符号データとして該ファクシミリ制御手順に応じた符号データを生成し、画像生成開始制御部16が、データ転送サイズとデータ生成速度とデータ転送速度及び該ファクシミリ制御手順によって制限される最初の該最終符号データの送信開始(400ms)までに、該最終符号データをファクシミリ送信制御部30が送信可能な状態となるか否かによってデータ事前生成処理の要否を判断している。
Furthermore, in the
したがって、必要な場合に、ファクシミリ送信用の符号データをファクシミリ制御手順で規制される時間内に事前に用意することができ、ファクシミリ通信を適切に行うことができるとともに、通信品質を向上させることができる。 Therefore, when necessary, code data for facsimile transmission can be prepared in advance within the time regulated by the facsimile control procedure, so that facsimile communication can be performed appropriately and communication quality can be improved. it can.
図3は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第2実施例を適用した複合装置によるファクシミリ通信制御処理を示すフローチャートである。 FIG. 3 is a flowchart showing a facsimile communication control process by the composite apparatus to which the second embodiment of the data communication apparatus, data communication method, data communication program and recording medium of the present invention is applied.
なお、本実施例は、上記第1実施例の複合装置1と同様の複合装置に適用したものであり、本実施例の説明においては、必要に応じて第1実施例の説明で用いた符号をそのまま用いて説明する。
The present embodiment is applied to a composite apparatus similar to the
本実施例の複合装置1は、送信原稿のページ間で該原稿の読み取りモードが変化するときに、該読み取りモードに応じて送信用画像データである符号データの生成処理を制御する。なお、図3の説明においては、第1実施例の図2の処理ステップと同様の処理ステップについては、その説明を簡略化する。
When the reading mode of the original changes between pages of the transmission original, the
すなわち、複合装置1は、原稿読み取り部11に送信対象の原稿がセットされて、送信先や読み取りモード等のファクシミリ送信に必要な各種操作が操作表示部で行われた後、スタートキーが操作されると、図3に示すように、画像生成開始制御部16は、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得する(ステップS201)。この画像転送サイズは、第1実施例の場合と同様である。
That is, in the
次に、画像生成開始制御部16は、画像転送サイズS、画像生成速度Vc及び画像転送速度Vtから上記(1)式により、画像データ生成部10からファクシミリ送信制御部30に送信用の符号データを送信して、準備完了状態となるまでの準備時間が、プロトコルから受ける制限時間である400ms(0.4s)以下であるか、すなわち、送信準備が完了するか判断する(ステップS202)。
Next, the image generation
ステップS202で、(1)式が満たされているときには、画像生成開始制御部16は、プロトコルの制限時間内に送信用符号データの準備が完了し、画像生成を先行して行う必要がないと判断して、そのまま通常のファクシミリ手順によりファクシミリ通信を実行する。
When the expression (1) is satisfied in step S202, the image generation
ステップS202で、(1)式が満たされていないときには、画像生成開始制御部16は、そのままでは、プロトコルの制限時間内に送信用符号データの準備が完了しないと判断して、まず、画像の読み取りモードを変更するかチェックし(ステップS203)、読み取りモードを変更するときには、再度、ファクシミリプロトコルフェーズBに遷移して、読み取りモード変更時の受信機能力情報を受信するのを待つ(ステップS204)。
In step S202, when the expression (1) is not satisfied, the image generation
画像データ制御部10は、受信機能力を受信すると、原稿読み取り部11で読み取った画像データを2値画像符号化部12で符号化して符号データ記憶部13に格納し、その後、IOレート及び仮の送信レートに基づいて設定した画像転送サイズSの符号データを、符号データ復号化部14で復号した後、2値画像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS205)。
When receiving the reception function, the image
ステップS203で、読み取りモードを変更しないときには、画像生成開始制御部16は、ステップS205に移行して、符号データ記憶部13の画像転送サイズSの符号データを符号データ復号化部14で復号した後、2値化が像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS205)。
When the reading mode is not changed in step S203, the image generation
画像生成開始制御部16は、データ事前生成処理を行うと、ファクシミリ通信手順がファクシミリプロトコルフェーズCに移行したかチェックし(ステップS206)、フェーズCに移行していないときには、非ECM(Error Correction Mode )送信でかつフォールバックが発生したかチェックする(ステップS207)。非ECM送信またはフォールバックしないときには、画像生成開始制御部16は、ステップS206に戻って、ファクシミリプロトコルフェーズCに移行したかチェックし、フェーズCに移行していないときには、再度非ECM送信かつフォールバックが発生したかチェックする(ステップS206〜S207)。
When the data pre-generation process is performed, the image generation
そして、フォールバックが発生することなく、ステップS206で、ファクシミリプロトコルフェーズCに遷移すると、画像生成開始制御部16は、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS208)。
Then, when a transition is made to the facsimile protocol phase C in step S206 without occurrence of fallback, the image generation
ステップS207で、非ECM送信モードで、かつ、フォールバックが発生した場合には、画像生成開始制御部16は、その時点でのシステム負荷により変動する各種速度情報を再取得するために、ステップS201に戻って、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に処理する(ステップS201〜S208)。
In step S207, in the non-ECM transmission mode and when a fallback occurs, the image generation
なお、ECM送信モードの場合には、送信レートに合わせて画像データを再作成する必要はないため、画像生成開始制御部16は、ファクシミリプロトコルフェーズCに移行するのを待って、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS208)。
In the case of the ECM transmission mode, it is not necessary to recreate the image data in accordance with the transmission rate. Therefore, the image generation
このように、本実施例の複合装置1は、画像生成開始制御部16が、送信原稿のページ間で該原稿の読み取りモードが変化するときに、該読み取りモードに応じて送信用画像データである符号データの生成処理を制御している。
As described above, in the
したがって、線密度等の読み取りモードのページ間での変更によって、例えば、送信用の最終符号データを用意することができないときに、事前に画像処理して最終符号データを生成することができ、通信時間が長くなったり、通信切断が発生することを防止して、より一層適切にファクシミリ通信を行うことができる。 Therefore, for example, when the final code data for transmission cannot be prepared due to a change between pages in the reading mode such as linear density, the final code data can be generated by image processing in advance, and communication can be performed. The facsimile communication can be performed more appropriately by preventing the time from being prolonged and the occurrence of communication disconnection from occurring.
図4は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第3実施例を適用した複合装置によるファクシミリ通信制御処理を示すフローチャートである。 FIG. 4 is a flowchart showing a facsimile communication control process by the composite apparatus to which the third embodiment of the data communication apparatus, data communication method, data communication program and recording medium of the present invention is applied.
なお、本実施例は、上記第1実施例の複合装置1と同様の複合装置に適用したものであり、本実施例の説明においては、必要に応じて第1実施例の説明で用いた符号をそのまま用いて説明する。
The present embodiment is applied to a composite apparatus similar to the
本実施例の複合装置1は、送信レートが確定するまで、画像生成速度Vcと画像転送速度Vtを繰り返しチェックして、画像転送サイズを調整する。なお、図4の説明においては、第1実施例の図2の処理ステップと同様の処理ステップについては、その説明を簡略化する。
The
すなわち、複合装置1は、原稿読み取り部11に送信対象の原稿がセットされて、送信先や読み取りモード等のファクシミリ送信に必要な各種操作が操作表示部で行われた後、スタートキーが操作されると、図4に示すように、画像生成開始制御部16は、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得する(ステップS401)。この画像転送サイズは、第1実施例の場合と同様である。
That is, in the
次に、画像生成開始制御部16は、画像転送サイズS、画像生成速度Vc及び画像転送速度Vtから上記(1)式により、画像データ生成部10からファクシミリ送信制御部30に送信用の符号データを送信して、準備完了状態となるまでの準備時間が、プロトコルから受ける制限時間である400ms(0.4s)以下であるか、すなわち、送信準備が完了するか判断する(ステップS302)。
Next, the image generation
ステップS302で、(1)式が満たされているときには、画像生成開始制御部16は、送信レートが確定するまでに、複合装置1のシステム負荷状態が高くなってプロトコルの制限時間内に準備が不可となる可能性があるため、送信レートが確定したかチェックし(ステップS303)、送信レートが確定していないときには、送信レートが確定するか、ステップS302で、準備が不可となるかをチェックしつつ、ステップS301に戻って、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様の処理を繰り返し行う(ステップS301〜S303)。
When the expression (1) is satisfied in step S302, the image generation
ステップS303で、送信レートが確定すると、画像生成開始制御部16は、プロトコルの制限時間内に送信用符号データの準備が完了し、画像生成を先行して行う必要がないと判断して、そのまま通常のファクシミリ手順によりファクシミリ通信を実行する。
When the transmission rate is determined in step S303, the image generation
ステップS302で、(1)式が満たされていないときには、画像生成開始制御部16は、そのままでは、プロトコルの制限時間内に送信用符号データの準備が完了しないと判断して、まず、画像の読み取りモードを変更するかチェックし(ステップS304)、読み取りモードを変更するときには、再度、ファクシミリプロトコルフェーズBに遷移して、読み取りモード変更時の受信機能力情報を受信するのを待つ(ステップS305)。
When the expression (1) is not satisfied in step S302, the image generation
画像生成開始制御部16は、受信機能力を受信すると、原稿読み取り部11で読み取った画像データを2値画像符号化部12で符号化して符号データ記憶部13に格納し、その後、IOレート及び仮の送信レートに基づいて設定した画像転送サイズSの符号データを、符号データ復号化部14で復号した後、2値画像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS306)。
When receiving the reception function, the image generation
ステップS304で、読み取りモードを変更しないときには、画像生成開始制御部16は、ステップS306に移行して、符号データ記憶部13の画像転送サイズSの符号データを符号データ復号化部14で復号した後、2値化が像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS306)。
When the reading mode is not changed in step S304, the image generation
画像生成開始制御部16は、データ事前生成処理を行うと、ファクシミリ通信手順がファクシミリプロトコルフェーズCに移行したかチェックし(ステップS307)、フェーズCに移行していないときには、非ECM送信でかつフォールバックが発生したかチェックする(ステップS308)。非ECM送信またはフォールバックしないときには、画像データ制御部10は、ステップS307に戻って、ファクシミリプロトコルフェーズCに移行したかチェックし、フェーズCに移行していないときには、再度非ECM送信かつフォールバックが発生したかチェックする(ステップS307〜S308)。
When the data pre-generation process is performed, the image generation
そして、フォールバックが発生することなく、ステップS307で、ファクシミリプロトコルフェーズCに遷移すると、画像生成開始制御部16は、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS309)。
Then, when a transition is made to the facsimile protocol phase C in step S307 without causing a fallback, the image generation
ステップS308で、非ECM送信モードで、かつ、フォールバックが発生した場合には、画像生成開始制御部16は、その時点でのシステム負荷により変動する各種速度情報を再取得するために、ステップS201に戻って、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に処理する(ステップS301〜S309)。
In step S308, in the non-ECM transmission mode and when a fallback occurs, the image generation
なお、ECM送信モードの場合には、送信レートに合わせて画像データを再作成する必要はないため、画像生成開始制御部16は、ファクシミリプロトコルフェーズCに移行するのを待って、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS309)。
In the case of the ECM transmission mode, it is not necessary to recreate the image data in accordance with the transmission rate. Therefore, the image generation
このように、本実施例の複合装置1は、画像生成開始制御部16が、通信手順信号によって該通信における通信速度が確定されるまで、データ転送サイズとデータ生成速度とデータ転送速度を繰り返し確認している。
As described above, in the
したがって、システムの負荷状態は、ジョブの待機状態やオペレータの操作により逐次変化するため、ある時点の1回のシステム負荷状態を元に画像生成を先行して行うと、判断に誤りが発生し、制限時間内に送信画像データを作成して送信開始できない事態が発生して、通信時間が長くなったり、通信切断が発生するおそれがあるが、必要が生じた時点で先行して最終符号データを作成して、システム負荷状態の変化に関わらず、画像データをファクシミリプロトコルフェーズCの開始に間に合わせることができ、通信品質を向上させることができる。 Therefore, the system load state changes sequentially depending on the job standby state or operator's operation. Therefore, if image generation is performed in advance based on one system load state at a certain point in time, an error occurs in the determination. There is a possibility that transmission image data will be created within the time limit and transmission cannot be started, and there is a possibility that communication time will be prolonged or communication disconnection may occur. Regardless of the change in the system load state, the image data can be made in time for the start of the facsimile protocol phase C, and the communication quality can be improved.
図5は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第4実施例を適用した複合装置によるファクシミリ通信制御処理を示すフローチャートである。 FIG. 5 is a flowchart showing a facsimile communication control process by the composite apparatus to which the fourth embodiment of the data communication apparatus, data communication method, data communication program and recording medium of the present invention is applied.
なお、本実施例は、上記第1実施例の複合装置1と同様の複合装置に適用したものであり、本実施例の説明においては、必要に応じて第1実施例の説明で用いた符号をそのまま用いて説明する。
The present embodiment is applied to a composite apparatus similar to the
本実施例の複合装置1は、上記第1実施例及び第2実施例のファクシミリ通信制御処理において、ファクシミリプロトコルフェーズCに基づいて符号データを生成する前に生成する該符号データのデータサイズを、事前画像データ生成サイズ算出部15が、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)に基づいて算出する。
The
すなわち、図5に示すように、事前画像データ生成サイズ算出部15は、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得し(ステップS401)、該取得した画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)とプロトコルから受ける制限時間である400ms(0.4s)に基づいて、次式(2)により事前画像データ生成サイズSbを算出する(ステップS402)。 That is, as shown in FIG. 5, the pre-image data generation size calculation unit 15 acquires the image generation speed Vc (Byte / s) and the image transfer speed Vt (Byte / s) (Step S401), and acquires the acquired image. Based on the generation speed Vc (Byte / s) and the image transfer speed Vt (Byte / s) and the time limit 400 ms (0.4 s) received from the protocol, the prior image data generation size Sb is calculated by the following equation (2). (Step S402).
Sb=0.4/(1/Vc+1/Vt)・・・(2)
この事前画像データ生成サイズSbの最小値は、1回の転送により要する時間が、制限時間(0.4s)内であること、すなわち、1回の転送で転送する画像データが該制限時間内で転送完了できていることが条件となるため、1回の転送サイズと同等になる。
Sb = 0.4 / (1 / Vc + 1 / Vt) (2)
The minimum value of the advance image data generation size Sb is that the time required for one transfer is within the time limit (0.4 s), that is, the image data transferred in one transfer is within the time limit. Since it is a condition that the transfer is completed, it is equivalent to the transfer size of one time.
このように、本実施例の複合装置1は、事前画像データ生成サイズ算出部15が、通信手順信号によって送信速度が確定される前に画像生成開始制御部16が事前生成させるデータのデータサイズを、データ生成速度及びデータ転送速度に基づいて算出している。
As described above, in the
したがって、事前生成するデータサイズを調整することで、複合装置1のシステムとして余分な処理を低減させることができ、複合装置1としてのシステムのパフォーマンスを向上させることができる。
Therefore, by adjusting the data size to be generated in advance, extra processing can be reduced as the system of the
なお、この事前画像データ生成サイズSbの算出は、送信レートが確定するまで、繰り返し行ってもよい。 The calculation of the pre-image data generation size Sb may be repeated until the transmission rate is determined.
すなわち、図6に示すように、事前画像データ生成サイズ算出部15は、まず、現在の事前画像データ生成サイズSbrがあるときには、該現在の事前画像データ生成サイズSbrを初期化(Sbr=0)し(ステップS501)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得して(ステップS502)、該取得した画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)とプロトコルから受ける制限時間である400ms(0.4s)に基づいて、上記式(2)により事前画像データ生成サイズSbを算出する(ステップS503)。 That is, as shown in FIG. 6, when there is a current previous image data generation size Sbr, the previous image data generation size calculation unit 15 first initializes the current previous image data generation size Sbr (Sbr = 0). (Step S501), the image generation speed Vc (Byte / s) and the image transfer speed Vt (Byte / s) are acquired (Step S502), and the acquired image generation speed Vc (Byte / s) and the image transfer speed are acquired. Based on Vt (Byte / s) and 400 ms (0.4 s) which is a time limit received from the protocol, the pre-image data generation size Sb is calculated by the above equation (2) (step S503).
事前画像データサイズ算出部15は、事前画像データ生成サイズSbを算出すると、現在の事前画像データサイズSbrよりも今回算出した事前画像データ生成サイズSbの方が大きいかチェックし(ステップS504)、いま、最初の処理であって、ステップS501で、現在の事前画像データサイズSbrを初期化しているので、現在の事前画像データサイズSbrよりも今回算出した事前画像データ生成サイズSbの方が大きいため、該今回算出した事前画像データサイズSbを現在の事前画像データ生成サイズSbrとして設定して(ステップS505)、送信レートが確定したかチェックする(ステップS506)。 When calculating the pre-image data generation size Sb, the pre-image data size calculation unit 15 checks whether the pre-image data generation size Sb calculated this time is larger than the current pre-image data size Sbr (step S504). In the first process, since the current previous image data size Sbr is initialized in step S501, the previous image data generation size Sb calculated this time is larger than the current previous image data size Sbr. The pre-image data size Sb calculated this time is set as the current pre-image data generation size Sbr (step S505), and it is checked whether the transmission rate is confirmed (step S506).
ステップS506で、送信レートが確定していないときには、事前画像データサイズ算出部15は、ステップS502に戻って、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に処理し(ステップS502〜S506)、ステップS504で、今回算出した事前画像データ生成サイズSbが現在の事前画像データサイズSbr以下であると、現在の事前画像データSbrの更新を行うことなく、送信レートが確定したかチェックする(ステップS506)。 When the transmission rate is not fixed in step S506, the prior image data size calculation unit 15 returns to step S502 and starts acquiring the image generation speed Vc (Byte / s) and the image transfer speed Vt (Byte / s). Processing is performed in the same manner as described above (steps S502 to S506). If the previous image data generation size Sb calculated this time is equal to or smaller than the current previous image data size Sbr in step S504, the current previous image data Sbr is not updated. It is checked whether the transmission rate is confirmed (step S506).
ステップS506で送信レートが確定していないときには、事前画像データサイズ算出部15は、ステップS502に戻って、上記同様に処理して、算出した事前画像データ生成サイズSbが現在の事前画像データ生成サイズSbrよりも大きいと、該大きくなった今回算出した事前画像データサイズSbを現在の事前画像データサイズSbrで置き換える処理を、送信レートが確定するまで行い(ステップS502〜S506)。 When the transmission rate is not fixed in step S506, the previous image data size calculation unit 15 returns to step S502 and performs the same processing as described above, and the calculated previous image data generation size Sb is the current previous image data generation size. If it is larger than Sbr, the process of replacing the larger pre-image data size Sb calculated this time with the current pre-image data size Sbr is performed until the transmission rate is determined (steps S502 to S506).
ステップS506で、送信レート確定すると、事前画像データサイズ算出部15は、処理を終了する。 When the transmission rate is determined in step S506, the prior image data size calculation unit 15 ends the process.
このようにすると、事前に作成する画像サイズが既に作成済みのサイズより大きくなった時点で追加作成しているので、複合装置1のシステム負荷状態の変化に関わらず、画像データ間に余分なフィルやフラグ連送が発生することを抑えることができ、通信品質を向上させることができる。
In this way, since the additional image is created when the image size to be created in advance becomes larger than the already created size, the extra fill between the image data regardless of changes in the system load state of the
また、事前画像データサイズを決定する場合、送信モードがECM送信モードであるか否かによって、調整してもよい。 Further, when the prior image data size is determined, it may be adjusted depending on whether or not the transmission mode is the ECM transmission mode.
すなわち、図7に示すように、事前画像データ生成サイズ算出部15は、まず、送信モードがECMモードであるかチェックし(ステップS601)、送信モードがECMモードでないときには、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得して(ステップS602)、該取得した画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)とプロトコルから受ける制限時間である400ms(0.4s)に基づいて、上記式(2)により事前画像データ生成サイズSbを算出する(ステップS603)。 That is, as shown in FIG. 7, the prior image data generation size calculation unit 15 first checks whether the transmission mode is the ECM mode (step S601), and when the transmission mode is not the ECM mode, the image generation speed Vc (Byte). / S) and the image transfer speed Vt (Byte / s) are acquired (step S602), and the acquired image generation speed Vc (Byte / s) and the image transfer speed Vt (Byte / s) and the time limit received from the protocol Based on 400 ms (0.4 s), the prior image data generation size Sb is calculated by the above equation (2) (step S603).
事前画像データサイズ算出部15は、事前画像データ生成サイズSbを算出すると、送信レートが確定したかチェックし(ステップS604)、送信レートが確定していないときには、ステップS602に戻って、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に事前画像データ生成サイズを算出する処理を、送信レートが確定するまで、繰り返し行う(ステップS602〜S604)。 When calculating the advance image data generation size Sb, the advance image data size calculation unit 15 checks whether or not the transmission rate is fixed (step S604). If the transmission rate is not fixed, the process returns to step S602 to return to the image generation speed. From the acquisition of Vc (Byte / s) and the image transfer speed Vt (Byte / s), the process for calculating the pre-image data generation size is repeated until the transmission rate is determined (steps S602 to S604).
ステップS604で、送信レート確定すると、事前画像データサイズ算出部15は、処理を終了する。 When the transmission rate is determined in step S604, the prior image data size calculation unit 15 ends the process.
ステップS601で、送信モードがECM送信モードであると、事前画像データサイズ算出部15は、ECM送信モードでは、フォールバックにより画像データを再作成しないため、事前画像データ生成サイズSbとして画像データの1ページ分の総サイズ(画像データ総サイズ)を設定して、処理を終了する(ステップS605)。 In step S601, if the transmission mode is the ECM transmission mode, the prior image data size calculation unit 15 does not recreate image data by fallback in the ECM transmission mode. The total size for the page (image data total size) is set, and the process ends (step S605).
このようにすると、ファクシミリプロトコルフェーズCの開始より前に画像生成を開始する場合、伝送路の環境が悪いとフォールバックすることがあり、ECM/非ECM送信モードに関係無く変更された送信レートで画像を再作成すると、複合装置1としてのシステムのパフォーマンスが低下するが、ECM送信モードの場合は、フォールバックによる画像の再作成を行わないようにすることで、ECM送信モードでの無駄な画像再作成にかかる処理を削減することができ、複合装置1としてのシステムのパフォーマンスを向上させることができる。
In this way, when image generation is started before the start of the facsimile protocol phase C, the transmission path may fall back if the transmission path environment is bad, and the transmission rate is changed regardless of the ECM / non-ECM transmission mode. When the image is recreated, the performance of the system as the
図8及び図9は、本発明のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体の第5実施例を適用した複合装置によるファクシミリ通信制御処理を示すフローチャートである。 8 and 9 are flowcharts showing facsimile communication control processing by the composite apparatus to which the fifth embodiment of the data communication apparatus, data communication method, data communication program and recording medium of the present invention is applied.
なお、本実施例は、上記第1実施例の複合装置1と同様の複合装置に適用したものであり、本実施例の説明においては、必要に応じて第1実施例の説明で用いた符号をそのまま用いて説明する。
The present embodiment is applied to a composite apparatus similar to the
本実施例の複合装置1は、ファクシミリ通信システム全体の処理負荷の変動に応じて画像データ転送サイズを調整する。
The
なお、図8及び図9の説明においては、第1実施例の図2の処理ステップと同様の処理ステップについては、その説明を簡略化する。 In the description of FIGS. 8 and 9, the description of the processing steps similar to the processing steps of FIG. 2 of the first embodiment is simplified.
すなわち、複合装置1は、原稿読み取り部11に送信対象の原稿がセットされて、送信先や読み取りモード等のファクシミリ送信に必要な各種操作が操作表示部で行われた後、スタートキーが操作されると、図8に示すように、画像生成開始制御部16は、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)を取得する(ステップS701)。この画像転送サイズは、第1実施例の場合と同様である。
That is, in the
次に、画像生成開始制御部16は、画像転送サイズS、画像生成速度Vc及び画像転送速度Vtから上記(1)式により、画像データ生成部10からファクシミリ送信制御部30に送信用の符号データを送信して、準備完了状態となるまでの準備時間が、プロトコルから受ける制限時間である400ms(0.4s)以下であるか、すなわち、送信準備が完了するか判断する(ステップS702)。
Next, the image generation
ステップS702で、(1)式が満たされているときには、画像生成開始制御部16は、そのまま通常のファクシミリ手順によりファクシミリ通信を実行するが、このとき、送信レートが確定するまでに、複合装置1のシステム負荷状態が高くなってプロトコルの制限時間内に準備が不可となる可能性があることを考慮して、送信レートが確定するまで、ステップS701に戻って同様の処理を繰り返し行ってもよい。
In step S702, when the expression (1) is satisfied, the image generation
ステップS702で、(1)式が満たされていないときには、画像生成開始制御部16は、そのままでは、プロトコルの制限時間内に送信用符号データの準備が完了しないと判断して、まず、ファクシミリプロトコルによって受信機能力情報を受信したかチェックし(ステップS703)、受信機能力情報を受信していないときには、図9に示すように、画像生成速度Vc及び画像転送速度Vtを、再度、取得し(ステップS704)、該取得した各速度が前回取得した角度よりも遅くなっているかチェックする(ステップS705)。
If the expression (1) is not satisfied in step S702, the image generation
今回取得した各速度が前回取得した各速度よりも遅くなっているときには、画像生成開始制御部16は、画像転送サイズSを各速度の変動分を考慮して決定し(ステップS706)、図8のステップS703に移行して、受信機能力情報を受信したかチェックする(ステップS703)。
When each speed acquired this time is slower than each speed acquired last time, the image generation
ステップS703で、まだ、受信機能力情報を受信していないときには、再度、画像生成速度Vc及び画像転送速度Vtを取得する処理から上記同様に行い(ステップS704〜S706)、ステップS705で、該今回取得した各速度が前回取得した各速度よりも遅くなっていないときには、画像転送サイズの調整を行うことなく、図8のステップS703に移行して受信機能力情報を受信したかチェックする(ステップS703)。 If the reception capability information has not been received in step S703, the same process as described above is performed again from the process of acquiring the image generation speed Vc and the image transfer speed Vt (steps S704 to S706). If the acquired speeds are not slower than the previously acquired speeds, the process proceeds to step S703 in FIG. 8 without adjusting the image transfer size, and it is checked whether the received functional capability information has been received (step S703). ).
ステップS703で、受信機能力情報を受信すると、画像データ制御部10は、原稿読み取り部11で読み取った画像データを2値画像符号化部12で符号化して符号データ記憶部13に格納し、その後、IOレート及び仮の送信レートに基づいて設定した画像転送サイズSの符号データを、符号データ復号化部14で復号した後、2値画像符号化部12で送信用符号データに符号化して、画像転送サイズSの画像を作成し、符号データ記憶部13に格納して、符号データ転送部20によってファクシミリ送信制御部30へ転送するデータ事前生成処理を行う(ステップS707)。
In step S703, when receiving the reception function information, the image
画像データ制御部10は、データ事前生成処理を行うと、ファクシミリ通信手順がファクシミリプロトコルフェーズCに移行したかチェックし(ステップS708)、フェーズCに移行していないときには、非ECM送信でかつフォールバックが発生したかチェックする(ステップS709)。非ECM送信またはフォールバックしないときには、画像データ制御部10は、ステップS708に戻って、ファクシミリプロトコルフェーズCに移行したかチェックし、フェーズCに移行していないときには、再度非ECM送信かつフォールバックが発生したかチェックする(ステップS708〜S709)。
When the data pre-generation process is performed, the image
そして、フォールバックが発生することなく、ステップS708で、ファクシミリプロトコルフェーズCに遷移すると、画像データ制御部10は、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS710)。
Then, in step S708, the image
ステップS709で、非ECM送信モードで、かつ、フォールバックが発生した場合には、画像データ制御部10は、その時点でのシステム負荷により変動する各種速度情報を再取得するために、ステップS201に戻って、画像転送サイズS(Byte)、画像生成速度Vc(Byte/s)及び画像転送速度Vt(Byte/s)の取得から上記同様に処理する(ステップS701〜S710)。
In step S709, in the non-ECM transmission mode and when a fallback occurs, the image
なお、ECM送信モードの場合には、送信レートに合わせて画像データを再作成する必要はないため、画像データ制御部10は、ファクシミリプロトコルフェーズCに移行するのを待って、残りの画像データを生成して、順次ファクシミリ送信制御部30へ転送し、ファクシミリ送信制御部30から相手先に送信する(ステップS710)。
In the case of the ECM transmission mode, it is not necessary to recreate the image data in accordance with the transmission rate. Therefore, the image
このように、本実施例の複合装置1は、符号データ転送部20が、データ生成速度とデータ転送速度に基づいて、符号データ記憶部13からファクシミリ送信制御部13に転送する最終符号データの転送サイズを調整している。
As described above, in the
このように、複合装置1は、ページ先頭やページ間で適時画像生成速度と画像転送速度情報を元に、画像送信開始に間に合うように事前に画像作成を行うが、その後、複合装置1のシステムの負荷が高くなり画像生成速度や画像転送速度が低下すると、制限時間内に送信画像データを作成し送信開始できなくなり、通信時間が長くなったり、通信切断するおそれがあるが、複合装置1のシステム負荷が高くなり画像転送速度が低下した場合は、画像転送サイズを小さくして転送する。
As described above, the
したがって、画像データをファクシミリプロトコルフェーズCの開始に間に合わすことができ、通信品質を向上させることができる。 Therefore, the image data can be put in time for the start of the facsimile protocol phase C, and the communication quality can be improved.
以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。 The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. Needless to say.
本発明は、ファクシミリ通信等のデータ通信を適切にかつ効率的に行うファクシミリ装置、複合装置等のデータ通信装置、データ通信方法、データ通信プログラム及び記録媒体に利用することができる。 The present invention can be used for a facsimile apparatus that performs data communication such as facsimile communication appropriately and efficiently, a data communication apparatus such as a composite apparatus, a data communication method, a data communication program, and a recording medium.
1 複合装置
10 画像データ生成部
11 原稿読み取り部
12 2値画像符号化部
13 符号データ記憶部
14 符号データ復号化部
15 事前画像データ生成サイズ算出部
16 画像生成開始制御部
17 画像転送サイズ情報部
18 画像生成速度情報部
19 画像転送速度情報部
20 符号データ転送部
21 画像データサイズ補正制御部
30 ファクシミリ送信制御部
DESCRIPTION OF
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007327840A JP4979567B2 (en) | 2007-12-19 | 2007-12-19 | Data communication apparatus, data communication method, data communication program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007327840A JP4979567B2 (en) | 2007-12-19 | 2007-12-19 | Data communication apparatus, data communication method, data communication program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009152791A JP2009152791A (en) | 2009-07-09 |
JP4979567B2 true JP4979567B2 (en) | 2012-07-18 |
Family
ID=40921429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007327840A Expired - Fee Related JP4979567B2 (en) | 2007-12-19 | 2007-12-19 | Data communication apparatus, data communication method, data communication program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4979567B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3149271B2 (en) * | 1992-06-19 | 2001-03-26 | キヤノン株式会社 | Image communication device |
JP3583804B2 (en) * | 1994-04-28 | 2004-11-04 | 三洋電機株式会社 | Image transmission device |
JP2783182B2 (en) * | 1995-03-09 | 1998-08-06 | 日本電気株式会社 | Facsimile communication terminal |
JPH08336036A (en) * | 1995-04-07 | 1996-12-17 | Ricoh Co Ltd | Image communication equipment |
JP2003022171A (en) * | 2001-07-09 | 2003-01-24 | Canon Inc | Printing control device and its method |
JP4140546B2 (en) * | 2004-04-14 | 2008-08-27 | 船井電機株式会社 | Optical disc recorder |
-
2007
- 2007-12-19 JP JP2007327840A patent/JP4979567B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009152791A (en) | 2009-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5171676B2 (en) | Transmitting apparatus, control method thereof, and program | |
JP2015119287A (en) | Facsimile apparatus, control method of the same, and program | |
JP2007074124A (en) | Network facsimile machine, image output system, and image output method | |
JP4979567B2 (en) | Data communication apparatus, data communication method, data communication program, and recording medium | |
US6982806B2 (en) | Facsimile apparatus, control method for facsimile apparatus, and computer-readable storage medium storing control program for facsimile apparatus | |
JP4431162B2 (en) | Communications system | |
KR100677147B1 (en) | Facsimile transmission speed setting method and apparatus | |
JP2003259104A (en) | Transfer destination sending method for facsimile communication and facsimile apparatus | |
JP2000059597A (en) | Communication device | |
JP2001268158A (en) | Communication control unit and facsimile equipment | |
KR101691019B1 (en) | Facsimile apparatus, control method thereof, and storage medium | |
JP2003189074A (en) | Facsimile communication apparatus | |
JP3771197B2 (en) | Image transmission device | |
JPS60219864A (en) | Facsimile connecting equipment | |
JP2009017383A (en) | Network facsimile device and communication method thereof | |
JP5769748B2 (en) | Network communication equipment, facsimile equipment | |
JP3858189B2 (en) | Image forming apparatus | |
US8170353B2 (en) | Information processing apparatus and control method thereof | |
JP2009207010A (en) | Facsimile machine | |
JP2002158855A (en) | Communicating method for picture data, transmission device and reception device | |
JP2005223702A (en) | Communication device | |
JPH0898002A (en) | Data communication equipment | |
JP2005102308A (en) | Facsimile machine and control method therefor | |
JP2006261983A (en) | Facsimile machine | |
JP2004247982A (en) | Communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101006 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20101006 |
|
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: 20120417 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120417 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150427 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |