JP5381476B2 - Facsimile communication device and serial signal transmission line assignment program - Google Patents

Facsimile communication device and serial signal transmission line assignment program Download PDF

Info

Publication number
JP5381476B2
JP5381476B2 JP2009184526A JP2009184526A JP5381476B2 JP 5381476 B2 JP5381476 B2 JP 5381476B2 JP 2009184526 A JP2009184526 A JP 2009184526A JP 2009184526 A JP2009184526 A JP 2009184526A JP 5381476 B2 JP5381476 B2 JP 5381476B2
Authority
JP
Japan
Prior art keywords
image information
station
communication
control means
signal line
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
JP2009184526A
Other languages
Japanese (ja)
Other versions
JP2011040874A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2009184526A priority Critical patent/JP5381476B2/en
Publication of JP2011040874A publication Critical patent/JP2011040874A/en
Application granted granted Critical
Publication of JP5381476B2 publication Critical patent/JP5381476B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)

Description

本発明は、ファクシミリ通信装置、及び直列信号伝送線割当プログラムに関する。 The present invention is, off Akushimiri communication device, and a serial signal transmission line allocation program.

特許文献1では、シリアルバス使用権の分散調停に関して提案されており、共用時間帯内でメッセージ送信が許される局を、システム全体においてメッセージを偏りなく消化することを目的として、バス使用権要求部が、自局の現在の状況に基づいて、自局の優先順位データを動的に作成し、この動的優先順位データを付加したバス使用権要求をブロードキャストで送信すると共に、優先順位データ格納部が、自局及びバス使用権要求を送信した他局の優先順位データ格納を記憶し、調停部が、優先順位データ格納部に記憶した優先順位データに基づいてバス使用権の調停を行うことが開示されている。   Patent Document 1 proposes a distributed arbitration of serial bus usage rights, and a bus usage right request unit is used for the purpose of digesting messages without bias in the entire system in a station where message transmission is permitted within the shared time zone. However, based on the current situation of the own station, the priority data of the own station is dynamically created, and a bus use right request to which the dynamic priority data is added is transmitted by broadcast, and the priority data storage unit However, the priority data storage of the local station and the other station that transmitted the bus use right request is stored, and the arbitration unit arbitrates the bus use right based on the priority data stored in the priority data storage unit. It is disclosed.

特開2006−148815公報JP 2006-148815 A

本発明は、通信手順情報を送受信する通信制御と画像情報を記憶媒体に対して格納し、読み出す操作制御とを、共通の直列信号伝送線(シリアルバス)で実行する場合に、通信制御及び操作制御のそれぞれが互いに影響を及ぼすことなく、通信断を含む誤り対応処理に至ることを防止することができるファクシミリ通信装置、及び直列信号伝送線割当プログラムを得ることが目的である。 The present invention provides communication control and operation when communication control for transmitting and receiving communication procedure information and operation control for storing and reading image information in a storage medium are executed by a common serial signal transmission line (serial bus). without affect each other in the control, full Akushimiri communication device that can be prevented from reaching the error handling processing including communication interruption, and it is an object to obtain a serial signal transmission line allocation program.

請求項1に記載の発明は、直列信号伝送線と、前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信をするために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、前記通信制御手段におけるファクシミリモデムによる前記通信を確保するための手順情報の送受信と前記画像情報の送受信との間に必須の期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、を有している。 The invention according to claim 1 transmits / receives procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial signal transmission line and the serial transmission signal line, and Communication control means for transmitting and receiving image information between the local station and the partner station, and an operation for controlling an operation for storing image information in a storage medium or a reading operation for reading from the storage medium via the serial transmission signal line Control means, assignment means for assigning the serial transmission signal line to the communication control means or the operation control means in time series, transmission / reception of procedure information for ensuring the communication by the facsimile modem in the communication control means, and the requisite period between the reception of the image information, so as to store or period to perform reading of image information by the operation control means, varying the allocation destination of the allocation means It has determination means for determining when the.

請求項2に記載の発明は、直列信号伝送線と、前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信するために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、前記通信制御手段におけるファクシミリモデムによる手順情報の送受信と前記画像情報の送受信との間に必須の、75msタイマ期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、を有している。 According to the second aspect of the present invention, the serial signal transmission line and the procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial transmission signal line are transmitted and received. Communication control means for transmitting and receiving image information between a station and a partner station, and operation control for controlling an operation for storing image information in a storage medium or a reading operation for reading from the storage medium via the serial transmission signal line means and said serial signal transmission line, when said allocation means for allocating the communication control means or said operation control means sequence, the reception of transmission and reception between the image information of the procedure information by facsimile modem in the communication control unit essential during the 75ms timer period, so that the period for executing the storing or reading of the image information by the operation control means, determine the timing of changing the allocation destination by said allocation means Has determination means for the.

請求項3に記載の発明は、直列信号伝送線と、前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信するために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、前記自局と相手局とで送受信するための画像情報を、出力用紙を基準として複数ページ分の画像情報量を一時記憶する一時記憶手段と、前記直列伝送信号線を介して、自局と相手局とで送受信するための画像情報を、前記一時記憶手段から記憶媒体へ、或いは記憶媒体から前記一時記憶手段へ転送するための画像情報転送制御手段と、前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、前記通信制御手段におけるファクシミリモデムにより送受信される画像情報の前記ページ間を、前記画像情報転送制御手段による画像情報の転送を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、を有している。 According to a third aspect of the present invention, there is provided a serial signal transmission line, and through the serial transmission signal line, procedure information necessary for communication between the local station and the partner station using a facsimile modem is transmitted and received. Communication control means for transmitting and receiving image information between a station and a partner station, and operation control for controlling an operation for storing image information in a storage medium or a reading operation for reading from the storage medium via the serial transmission signal line Means, temporary storage means for temporarily storing image information for a plurality of pages on the basis of output paper, and image information to be transmitted and received between the local station and the partner station, and the serial transmission signal line. image information for transmitted and received at a station and the other station, the to the storage medium from the temporary storage unit, or the image information transfer control means for transferring from the storage medium said to the temporary storage means, the serial transmission signal line ,Time series And assigning means for assigning to said communication control means or said operation control means, between the pages of the image information transmitted and received by the facsimile modem in the communication control unit, a period for executing the transfer of image information by the image information transfer control means As described above, there is a determination means for determining a change timing of the assignment destination by the assignment means.

請求項4に記載の発明は、前記請求項3に記載の発明において、前記ページ間に、強制的に予め定めた期間の前記通信制御手段による前記直列信号伝送線の非使用期間を生成する非使用期間設定手段をさらに有する。 According to a fourth aspect of the present invention, in the invention of the third aspect , a non-use period of the serial signal transmission line is forcibly generated between the pages by the communication control means for a predetermined period. It further has a use period setting means.

請求項5に記載の発明は、前記請求項4に記載の発明において、前記非使用期間設定手段が、前記通信制御手段が自局から相手局への画像情報送信時の場合は、相手局から受信したメッセージ確認コマンドMCFを無視することで実行される、相手局からの前記メッセージ確認コマンドMCFの再受信までの期間を前記非使用期間とする。 According to a fifth aspect of the present invention, in the invention of the fourth aspect , the non-use period setting means is configured such that when the communication control means transmits image information from the local station to the counterpart station, The period until the message confirmation command MCF is received again from the other station, which is executed by ignoring the received message confirmation command MCF, is defined as the non-use period.

請求項6に記載の発明は、前記請求項4に記載の発明において、前記非使用期間設定手段が、前記通信制御手段が相手局から自局への画像情報受信時の場合、かつ通信失敗時にコマンドを再送する機能が起動しているときは、1ページ分の画像情報を受信した後、予め定められた期間遅延させて受信不可コマンドRNRを送信することで、当該予め定められた期間を前記非使用期間とし、前記通信制御手段が相手局から自局への画像情報受信時の場合、かつ通信失敗時にコマンドを再送する機能が起動していないときは、メッセージ確認コマンドMCFを予め定められた期間送信停止することで、当該予め定められた期間を前記非使用期間とする。 According to a sixth aspect of the present invention, in the invention of the fourth aspect , the non-use period setting means is configured such that when the communication control means receives image information from the partner station to the own station and when communication fails. When the function for resending the command is activated, after receiving the image information for one page, the predetermined period is set by transmitting the reception disabled command RNR with a delay for a predetermined period. The message confirmation command MCF is determined in advance when the communication control means is in a non-use period, and when the communication control means receives image information from the partner station to its own station, and when the function for resending the command when communication fails is not activated. By stopping the period transmission, the predetermined period is set as the non-use period.

請求項7に記載の発明は、前記請求項4から請求項6の何れか1項記載の発明において、前記一時記憶手段と前記記憶媒体と間の画像情報の転送において、予め定めた画像情報量が転送しきれていない場合に、前記割当手段が前記直列伝送信号線を通信制御手段に割当てて、相手局に対して当該相手局を待機させるコマンドを送信する。 According to a seventh aspect of the present invention, in the invention according to any one of the fourth to sixth aspects, in the transfer of the image information between the temporary storage means and the storage medium, a predetermined amount of image information Is not transferred, the allocating unit allocates the serial transmission signal line to the communication control unit, and transmits a command for waiting the partner station to the partner station.

請求項8に記載の発明は、直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信するために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、前記自局と相手局とで送受信するための画像情報を、出力用紙を基準として複数ページ分の画像情報量を一時記憶する一時記憶手段と、前記直列伝送信号線を介して、自局と相手局とで送受信するための画像情報を、前記一時記憶手段から記憶媒体へ、或いは記憶媒体から前記一時記憶手段へ転送するための画像情報転送制御手段と、前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、前記通信制御手段におけるファクシミリモデムにより送受信される画像情報の前記ページ間を、前記画像情報転送制御手段による画像情報の転送を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、を含む機能をコンピュータに実行させるための直列信号伝送線割当プログラムである。 The invention according to claim 8 transmits / receives procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial transmission signal line, and the local station and the partner station transmit an image. A communication control means for transmitting and receiving information; an operation control means for controlling an operation for storing image information in a storage medium or a read operation for reading from the storage medium via the serial transmission signal line ; Image information to be transmitted / received to / from the partner station is temporarily transmitted / received between the own station and the partner station via the serial transmission signal line and temporary storage means for temporarily storing the amount of image information for a plurality of pages with reference to the output paper Image information transfer control means for transferring image information to be transmitted from the temporary storage means to the storage medium or from the storage medium to the temporary storage means, and the serial transmission signal line in time series, the communication control means Or And assigning means for assigning the serial operation control means, between the pages of the image information transmitted and received by the facsimile modem in the communication control unit, so that the period for executing the transfer of image information by the image information transfer control means, said A serial signal transmission line allocation program for causing a computer to execute a function including a determination unit that determines a change timing of an allocation destination by an allocation unit.

請求項1記載の発明によれば、通信制御手段におけるファクシミリモデムの通信を確保するためのコマンド送受信と前記画像情報の送受信との間に必須の期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間としない場合に比べて、通信制御及び操作制御のそれぞれが互いに影響を及ぼすことなく、かつ既存のハード構成の下で直列信号伝送線を共有することができる。 According to the first aspect of the present invention, an indispensable period is set between the transmission / reception of the command and the transmission / reception of the image information for ensuring the communication of the facsimile modem in the communication control unit. Compared with the case where the period for executing the reading is not set, the communication control and the operation control do not affect each other, and the serial signal transmission line can be shared under the existing hardware configuration.

請求項2記載の発明によれば、通信制御手段におけるファクシミリモデムの前記通信制御手段による手順情報の送受信と前記画像情報の送受信との間に必須の、75msタイマ期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間としない場合に比べて、通信制御及び操作制御のそれぞれが互いに影響を及ぼすことなく、かつ既存のハード構成の下で直列信号伝送線を共有することができる。 According to the second aspect of the present invention, a 75 ms timer period is essential between the transmission / reception of the procedure information and the transmission / reception of the image information by the communication control unit of the facsimile modem in the communication control unit. Compared to the case where the period for storing or reading information is not set, it is possible to share the serial signal transmission line under the existing hardware configuration without affecting each other of the communication control and the operation control.

請求項3及び請求項8記載の発明によれば、通信制御手段におけるファクシミリモデムにより送受信される画像情報の前記ページ間を、前記画像情報転送制御手段による画像情報の転送を実行する期間としない場合に比べて、通信制御及び操作制御のそれぞれが互いに影響を及ぼすことなく、かつ既存のハード構成の下で直列信号伝送線を共有することができる。 According to the third and eighth aspects of the present invention, the interval between the pages of the image information transmitted / received by the facsimile modem in the communication control means is not a period for executing the image information transfer by the image information transfer control means. As compared with the above, the serial signal transmission line can be shared under the existing hardware configuration without affecting each of the communication control and the operation control.

請求項4に記載の発明によれば、強制的に予め定めた期間の前記通信制御手段による前記直列信号伝送線の非使用期間を生成しない場合に比べて、通信制御及び操作制御のそれぞれが互いに影響を及ぼすことなく、かつ既存のハード構成の下で直列信号伝送線を共有することができる。 According to the invention described in claim 4 , each of the communication control and the operation control is mutually compared with the case where the non-use period of the serial signal transmission line by the communication control means forcibly determined in advance is not generated. The serial signal transmission line can be shared without any influence and under the existing hardware configuration.

請求項5から請求項7に記載の発明によれば、本構成を有しない場合に比べて、簡便に非使用期間を生成することができる。 According to the invention described in claims 5 to 7 , the non-use period can be easily generated as compared with the case where the present configuration is not provided.

本実施の形態に係る画像処理装置の制御ブロック図である。It is a control block diagram of the image processing apparatus according to the present embodiment. 本実施の形態に係るマルチファンクションコントロール部の制御系を示す概略構成図である。It is a schematic block diagram which shows the control system of the multifunction control part which concerns on this Embodiment. 本実施の形態に係るファクシミリモデムによる通信プロトコル図である。It is a communication protocol diagram by the facsimile modem which concerns on this Embodiment. 本実施の形態に係る「必然的非使用期間1」に基づく、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権確保のための制御の流れを示すフローチャートである。The flow of control for securing the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 based on “Necessary non-use period 1” according to the present embodiment is shown. It is a flowchart. 本実施の形態に係る「必然的非使用期間2」に基づく、記憶媒体アクセス装置のシリアルバスの使用権確保のための制御の流れを示すフローチャートである。It is a flowchart which shows the flow of control for ensuring the use right of the serial bus of a storage-medium access device based on "Necessary non-use period 2" concerning this Embodiment. 本実施の形態に係る「強制的非使用期間」に基づく、記憶媒体アクセス装置のシリアルバスの使用権確保のための制御の流れを示すフローチャートである。It is a flowchart which shows the flow of control for securing the use right of the serial bus of a storage-medium access apparatus based on the "forced non-use period" concerning this Embodiment. ECMが有る場合の、延長対策を施した通信プロトコル図である。FIG. 10 is a communication protocol diagram in which an extension measure is taken when there is an ECM. バッファ増加に基づく、データ転送時間の違いを示す具体例を示すブロック図である。It is a block diagram which shows the specific example which shows the difference in the data transfer time based on a buffer increase.

図1には、本実施の形態に画像処理装置10の制御ブロック図が示されている。   FIG. 1 shows a control block diagram of the image processing apparatus 10 in the present embodiment.

画像処理装置10は、所謂複合機であり、ファクシミリ機能、スキャナ機能、プリンタ機能を兼ね備えた構成となっている。   The image processing apparatus 10 is a so-called multi-function machine and has a configuration having a facsimile function, a scanner function, and a printer function.

スキャナモジュール部12、プリンタモジュール部14は、それぞれバス16によって接続されており、このバス16には、コントロールパネル18が接続されている。   The scanner module unit 12 and the printer module unit 14 are connected to each other by a bus 16, and a control panel 18 is connected to the bus 16.

また、バス16は、インターフェイス20を介して、複合機制御部(以下、「マルチファンクションコントロール部22」という)に接続されている。このマルチファンクションコントロール部22が、前記スキャナモジュール部12及びプリンタモジュール部14を制御する。   The bus 16 is connected to a multifunction device control unit (hereinafter referred to as “multifunction control unit 22”) via the interface 20. The multi-function control unit 22 controls the scanner module unit 12 and the printer module unit 14.

ここで、本実施の形態のマルチファンクションコントロール部22には、ファクシミリモデム24が設けられている。   Here, the multifunction control unit 22 of the present embodiment is provided with a facsimile modem 24.

前記マルチファンクションコントロール部22は、CPU26、RAM28、ROM30を備えており、これらはバス32によって相互に接続されている。   The multifunction control unit 22 includes a CPU 26, a RAM 28, and a ROM 30, which are connected to each other by a bus 32.

また、前記CPU26には、前記ファクシミリモデム24と、ファクシミリモデム24による通信機能の下で、相手局と送受信するための画像情報を格納したり読み出したりする記憶媒体アクセス装置34が接続されている。   The CPU 26 is connected to the facsimile modem 24 and a storage medium access device 34 for storing and reading image information for transmission / reception with a partner station under the communication function of the facsimile modem 24.

この接続は、シリアルバス(PCI)36(後述するデータ信号線(DO)44、データ信号線(DI)46(図2参照)のそれぞれ、或いは両方に相当)が適用されており、かつ、ファクシミリモデム24と記録媒体アクセス装置34とは、共通のデータ信号線(DO)44、データ信号線(DI)46によってCPU26と接続されている。   For this connection, a serial bus (PCI) 36 (corresponding to each or both of a data signal line (DO) 44 and a data signal line (DI) 46 (see FIG. 2) which will be described later) is applied, and a facsimile is used. The modem 24 and the recording medium access device 34 are connected to the CPU 26 by a common data signal line (DO) 44 and data signal line (DI) 46.

なお、本実施の形態では、記憶媒体としてSDカード(図示省略)が適用され、記憶媒体アクセス装置34に装填されている。なお、記憶媒体としてSDカードに限定されるものではなく、MS(Memory Stick)、CF(Compact Flash)、MD(Mini Disk)、SM(Smart Media(登録商標))等、所謂マルチメディアカード全般、あるいはシリアル通信が可能なEEPROM(Electrically Erasable Programmable Read Only Memory)、シリアルRAM(Random Access Memory)等に適用可能である。   In the present embodiment, an SD card (not shown) is applied as a storage medium and is loaded in the storage medium access device 34. Note that the storage medium is not limited to an SD card, but is an MS (Memory Stick), CF (Compact Flash), MD (Mini Disk), SM (Smart Media (registered trademark)), or other so-called multimedia cards. Alternatively, it can be applied to an EEPROM (Electrically Erasable Programmable Read Only Memory) capable of serial communication, a serial RAM (Random Access Memory), or the like.

図2は、マルチファンクションコントロール部22の、ファクシミリモデム24によるファクシミリ通信を主体とした、マルチファンクションコントロール部22のハード構成の詳細図である。   FIG. 2 is a detailed diagram of the hardware configuration of the multi-function control unit 22 mainly composed of facsimile communication by the facsimile modem 24.

CPU26とバス32によって接続されているRAM28は、本実施の形態における一時格納部として機能する。   The RAM 28 connected to the CPU 26 by the bus 32 functions as a temporary storage unit in the present embodiment.

CPU26とファクシミリモデム24とは、クロック信号線40、チップセレクト信号線42、データ信号線(DO)44、データ信号線(DI)46の4信号線で接続されている。   The CPU 26 and the facsimile modem 24 are connected by four signal lines: a clock signal line 40, a chip select signal line 42, a data signal line (DO) 44, and a data signal line (DI) 46.

また、CPU26と記憶媒体アクセス装置34は、クロック信号線48、チップセレクト信号線50、データ信号線(DO)44、データ信号線(DI)46の4信号線で接続されている。なお、データ信号線(DO)44とデータ信号線(DI)46は、分岐されて、前記ファクシミリモデム24と記憶媒体アクセス装置34に接続されることで共有化されている。データ信号線(DO)44とデータ信号線(DI)46は、それぞれ1ビットずつデータを直列に信号を伝送するシリアル伝送方式となっている。   The CPU 26 and the storage medium access device 34 are connected by four signal lines: a clock signal line 48, a chip select signal line 50, a data signal line (DO) 44, and a data signal line (DI) 46. The data signal line (DO) 44 and the data signal line (DI) 46 are shared by being branched and connected to the facsimile modem 24 and the storage medium access device 34. Each of the data signal line (DO) 44 and the data signal line (DI) 46 has a serial transmission method in which data is transmitted in series by one bit at a time.

ここで、ファクシミリモデム24では、自局と相手局とで画像情報を送受信するための準備として、予め定められた通信プロトコル(通信のための手順制御)を実行し、かつこの通信プロトコル実行中に、画像情報を送受信する。   Here, the facsimile modem 24 executes a predetermined communication protocol (procedure control for communication) as a preparation for transmitting and receiving image information between the local station and the partner station, and during execution of the communication protocol. , Send and receive image information.

一方、記憶媒体アクセス装置34では、ファクシミリ原稿として画像情報を受信した場合は格納し、送信する場合は読み出す処理を実行する。   On the other hand, the storage medium access device 34 executes a process of storing image information as a facsimile document when it is received and reading it when transmitting it.

これらは、それぞれ同時期に実行される要素が高く、共有するデータ信号線(DO)44、データ信号線(DI)46の調停(使用権の割り当て)を確立する必要がある。   These elements are executed at the same time, and it is necessary to establish arbitration (assignment of usage rights) of the shared data signal line (DO) 44 and data signal line (DI) 46.

但し、通常の調停と異なる点は、特に、ファクシミリモデム24において、通信プロトコル実行中に、予め定められた期間、相手局からのコマンドがないと、通信エラーが発生する場合がある。より具体的には、ファクシミモデム24での画像情報を送受信(PIX)中、或いは、通信プロトコルコマンド間で、データ信号線(DO)44、データ信号線(DI)46を開放(非使用)すると、5ms以内にファクシミリモデム24にデータ信号線(DO)44、データ信号線(DI)46の使用権が戻らなければ、通信エラーとなり、リアルタイム通信が成り立たなくなる。   However, the difference from normal arbitration is that, particularly, in the facsimile modem 24, a communication error may occur if there is no command from the partner station during a predetermined period during execution of the communication protocol. More specifically, if the data signal line (DO) 44 and the data signal line (DI) 46 are opened (not used) during transmission / reception (PIX) of image information by the facsimile modem 24 or between communication protocol commands. If the right to use the data signal line (DO) 44 and the data signal line (DI) 46 is not returned to the facsimile modem 24 within 5 ms, a communication error occurs and real-time communication cannot be established.

また、記憶媒体アクセス装置34においても、画像情報格納中、画像情報読出中(以下、総称して「画像情報アクセス」という)にシリアルバス24の使用権が途切れると、正確に画像情報アクセスができなくなる場合がある。   Also in the storage medium access device 34, if the right to use the serial bus 24 is interrupted while image information is being stored and image information is being read (hereinafter collectively referred to as “image information access”), the image information can be accessed accurately. It may disappear.

そこで、本実施の形態では、少なくとも、ファクシミリモデム24における、必然的に存在するデータ信号線(DO)44、データ信号線(DI)46の非使用期間中を、記憶媒体アクセス装置34に使用権を与えるようにした。   Therefore, in the present embodiment, at least during the non-use period of the data signal line (DO) 44 and the data signal line (DI) 46 that are necessarily present in the facsimile modem 24, the right to use the storage medium access device 34 is granted. To give.

(必然的非使用期間1)
前述したファクシミリモデム24での画像情報を送受信(PIX)中、或いは、通信プロトコルコマンド間で発生する、データ信号線(DO)44、データ信号線(DI)46の開放(非使用)期間を、記憶媒体アクセス装置34の使用権期間とする。この期間は、5msであり、記憶媒体アクセス装置34側では、画像情報量を64KBとすると、64KB/5ms=104.4Mbpsの通信速度が必要となる。これは、通常の通信速度(10Mbps前後)に比べて、極めて高速ではあるが、将来的なクロック速度を鑑みる上では、適用範囲である。
(Necessary period of non-use 1)
An open (non-use) period of the data signal line (DO) 44 and the data signal line (DI) 46 generated during the transmission / reception (PIX) of the image information by the facsimile modem 24 or between communication protocol commands, The usage right period of the storage medium access device 34 is assumed. This period is 5 ms. On the storage medium access device 34 side, assuming that the amount of image information is 64 KB, a communication speed of 64 KB / 5 ms = 104.4 Mbps is required. This is extremely high speed compared to the normal communication speed (around 10 Mbps), but is in the range of application in view of the future clock speed.

(必然的非使用期間2)
通信プロトコルにおける、通信を確保するためのコマンド送受信と、画像情報の送受信(PIX)との間は、75msタイマが起動する。言い換えれば、75msの間は、通信プロトコル上の送受信が実行されないことになる。
(Necessary period of non-use 2)
A 75 ms timer is started between transmission / reception of a command for ensuring communication and transmission / reception of image information (PIX) in the communication protocol. In other words, transmission / reception on the communication protocol is not executed for 75 ms.

この期間は、図3に示される、(A)の画像情報送受信PIX−マッチページコマンドMPS間、(B)の送信端末識別/ディジタル命令コマンドTSI/DCS−トレーニングチェックコマンドTCF間、並びに(C)の受信準備確認CFR−画像情報送受信PIX間に相当する。なお、トレーニングチェックコマンドTCFは、画像情報が埋め込んであるため、PIXと同等の扱いとなる。   This period is shown in FIG. 3 between (A) image information transmission / reception PIX-match page command MPS, (B) transmission terminal identification / digital command command TSI / DCS-training check command TCF, and (C). This corresponds to between the reception preparation confirmation CFR and the image information transmission / reception PIX. The training check command TCF is handled in the same way as PIX because image information is embedded.

この図3(A)、(B)、(C)の間は、前述した75msタイマが起動するため、このときに、記憶媒体アクセス装置34に対してデータ信号線(DO)44、データ信号線(DI)46の使用権を与える。   3A, 3B, and 3C, the 75 ms timer is started. At this time, the data signal line (DO) 44 and the data signal line are connected to the storage medium access device 34. The right to use (DI) 46 is given.

この75msは、画像情報量(64KB)を送信するために、前記必然的使用期間1における5msに対して、1/15(=75/5)の速度(6.83Mbps)で済むため、特別な通信デバイス等は不要である。 This 75ms, in order to transmit image information amount (64KB), relative to 5ms in the inevitably non-use period 1, because it requires a rate of 1/15 (= 75/5 ) (6.83Mbps), Special A communication device or the like is unnecessary.

本実施の形態では、さらに、前記必然的に存在するデータ信号線(DO)44、データ信号線(DI)46の非使用期間とは別に、通信エラーが発生しない範囲で、強制的に非使用期間を設定し、この強制的に生成した非使用期間を、記憶媒体アクセス装置34に使用権を与えるようにした。   In the present embodiment, in addition to the inevitable period of the data signal line (DO) 44 and the data signal line (DI) 46 that exist inevitably, it is forcibly not used within a range where no communication error occurs. A period is set, and the storage medium access device 34 is given a right to use the forcibly generated non-use period.

(強制的非使用期間)
前記一時記憶装置として使用するRAM28には、ファクシミリ原稿サイズの2ページ分の画像情報が一時的に記憶される記憶領域が確保されている。
(Forced non-use period)
The RAM 28 used as the temporary storage device has a storage area for temporarily storing image information for two pages of the facsimile document size.

この画像情報量は、原稿サイズがJIS規格でA3サイズの場合は9MBであり、A4サイズの場合は4.5MBとしている。   This image information amount is 9 MB when the document size is JIS standard and A3 size, and 4.5 MB when the document size is A4 size.

ここで、ファクシミリモデム24による送受信が2ページに亘ることを前提として、ページ間に、RAM28と記憶媒体アクセス装置34とで画像情報転送を実行する。   Here, on the assumption that transmission / reception by the facsimile modem 24 extends over two pages, image information is transferred between the pages by the RAM 28 and the storage medium access device 34.

上記を実現するために、通信プロトコルにおいて、通信断が生じない程度に、コマンドを待機させたり、繰り返し送信を要求したりするようにしている。   In order to realize the above, in the communication protocol, a command is waited or repeated transmission is requested so that communication is not interrupted.

より具体的には、ファクシミリモデム24の送信時と受信時とで、対象とする通信プロトコルコマンドが異なる。   More specifically, the target communication protocol command differs between when the facsimile modem 24 transmits and when it receives.

ファクシミリモデム24が送信時の場合は、相手局から受信したメッセージ確認コマンドMCFを1回無視する。この無視により、相手局は、メッセージ確認コマンドMCFを再送信する。   When the facsimile modem 24 is transmitting, the message confirmation command MCF received from the partner station is ignored once. Due to this ignorance, the partner station retransmits the message confirmation command MCF.

この結果、自局がメッセージ確認コマンドMCFを再受信するまで、1秒程度の時間が確保される。この期間中、記憶媒体アクセス装置34にデータ信号線(DO)44、データ信号線(DI)46の使用権を与える。   As a result, a time of about 1 second is secured until the local station re-receives the message confirmation command MCF. During this period, the right to use the data signal line (DO) 44 and the data signal line (DI) 46 is given to the storage medium access device 34.

ファクシミリモデム24の受信時の場合は、エラー時に再送する機能ECMの有無によって異なる。
(ECM有の場合)
1ページ分の画像情報を受信した後、本来は、次ページに対するメッセージ確認コマンドMCFを送信するところを、1.5秒後に受信不可コマンドRNRを送信する。
When receiving by the facsimile modem 24, it depends on whether or not there is a function ECM to be retransmitted when an error occurs.
(With ECM)
After receiving the image information for one page, the message confirmation command MCF for the next page is originally transmitted, but the unreceivable command RNR is transmitted 1.5 seconds later.

この場合、相手局からは受信可能コマンドRRが返信されてくるため、最初の受信不可コマンドRNRから1分を限度に、さらに、1.5秒後に受信不可コマンドRNRを送信する。   In this case, since a receivable command RR is returned from the partner station, the receivable command RNR is transmitted 1.5 seconds later after a limit of 1 minute from the first receivable command RNR.

前記1分の限度は、最初の受信不可コマンドRNRから1分以内に、メッセージ確認コマンドMCFを送信しないと、通信断状態になるからである。言い換えれば、1分間の記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権が確保されることになる。
(ECM無の場合)
メッセージ確認コマンドMCFを、1秒から1.5秒間送信を停止する。基本的に、1.5秒以上通信が途絶えると、通信断となる場合があるからである。この送信停止により、1秒から1.5秒の期間、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権が確保されることになる。
The one minute limit is because the communication is cut off if the message confirmation command MCF is not transmitted within one minute from the first reception disabled command RNR. In other words, the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 for 1 minute is secured.
(Without ECM)
Transmission of the message confirmation command MCF is stopped for 1 to 1.5 seconds. Basically, if communication is interrupted for 1.5 seconds or more, communication may be interrupted. By stopping the transmission, the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 is secured for a period of 1 to 1.5 seconds.

以下に、図4から図6のフローチャートに従い、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権付与のための制御を、上記複数の使用権確保の形態別に説明する。   In the following, according to the flowcharts of FIGS. 4 to 6, the control for granting the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 is performed. It demonstrates according to form.

(必然的非使用期間1の設定制御)
図4は、「必然的非使用期間1」に基づく、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権確保のための制御の流れを示すフローチャートである。
(Inevitable setting control for non-use period 1)
FIG. 4 is a flowchart showing a control flow for securing the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 based on “Necessary non-use period 1”. is there.

ステップ100では、ファクシミリモデム24のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、かつCPU26によるファクシミリモデム24の制御を開始して、ステップ102へ移行する。ステップ102では、ファクシミリ通信を開始する。 In Step 100, the chip select signal CS of the facsimile modem 24 is set to Low (in this embodiment, Low → Active, High → Inactive ), and the control of the facsimile modem 24 by the CPU 26 is started, and the process proceeds to Step 102. . In step 102, facsimile communication is started.

次のステップ104では、ファクシミリモデム24のチップセレクト信号CSがLowか否かが判断され、肯定判定されている間は維持(ファクシリミリ通信中)される。このステップ104で、否定判定、すなわち、チップセレクト信号CSがHighになると、ステップ106へ移行して、記憶媒体アクセス装置34のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、CPU26による記憶媒体アクセス装置34の制御を開始する。この間、約5msである。 In the next step 104, it is determined whether or not the chip select signal CS of the facsimile modem 24 is low, and is maintained (during facsimile communication) while an affirmative determination is made. If a negative determination is made in this step 104, that is, if the chip select signal CS becomes High, the process proceeds to Step 106, and the chip select signal CS of the storage medium access device 34 is changed to Low (in this embodiment, Low → Active, High). → inactive ), and control of the storage medium access device 34 by the CPU 26 is started. This is about 5 ms.

次のステップ108では、記憶媒体アクセス装置34のアクセスが完了したか否かが判断され、肯定判定されると、ステップ110へ移行して、記憶媒体アクセス装置34のチップセレクト信号CSをHighとし、ファクシミリモデム24のチップセレクト信号CSをLowとして、CPU26によるファクシミリモデム24の制御を開始(再開)し、このルーチンは終了する。   In the next step 108, it is determined whether or not the access to the storage medium access device 34 has been completed. If an affirmative determination is made, the process proceeds to step 110 where the chip select signal CS of the storage medium access device 34 is set to High. The chip select signal CS of the facsimile modem 24 is set to Low, the control of the facsimile modem 24 by the CPU 26 is started (restarted), and this routine ends.

(必然的非使用期間2の設定制御)
図5は、「必然的非使用期間2」に基づく、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権確保のための制御の流れを示すフローチャートである。現状においては、この75msタイマ期間中における、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権確保が有効な手段である。
(Inevitable setting control for non-use period 2)
FIG. 5 is a flowchart showing a flow of control for securing the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 based on “Necessary non-use period 2”. is there. At present, securing the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 during this 75 ms timer period is an effective means.

ステップ120では、ファクシミリモデム24のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、かつCPU26によるファクシミリモデム24の制御を開始して、ステップ122へ移行する。ステップ122では、ファクシミリ通信を開始する。 In step 120, the chip select signal CS of the facsimile modem 24 is set to Low (in this embodiment, Low → active, High → inactive ), and the control of the facsimile modem 24 by the CPU 26 is started, and the process proceeds to step 122. . In step 122, facsimile communication is started.

次のステップ124では、ファクシミリモデム24の信号が画像情報PIXとコマンドとの間であるか否かが判断される(図3の(A)、(B)、(C)参照)。   In the next step 124, it is determined whether or not the signal of the facsimile modem 24 is between the image information PIX and the command (see (A), (B), and (C) of FIG. 3).

このステップ124で肯定判定されると、ステップ126へ移行して、ファクシミリモデム24のチップセレクト信号CSがLowか否かが判断される。通常は、上記画像情報PIXとコマンドとの間では、チップセレクト信号CSがLowなるはずであるが、確認のため判定する。   When an affirmative determination is made at step 124, the routine proceeds to step 126, where it is determined whether or not the chip select signal CS of the facsimile modem 24 is low. Normally, the chip select signal CS should be low between the image information PIX and the command, but it is determined for confirmation.

このステップ126で、肯定判定されている間は維持(ファクシリミリ通信中)される。このステップ126で、否定判定、すなわち、チップセレクト信号CSがHighになると、ステップ128へ移行して、記憶媒体アクセス装置34のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、CPU26による記憶媒体アクセス装置34の制御を開始する。 In this step 126, it is maintained (during the facsimile communication) while an affirmative determination is made. If a negative determination is made in this step 126, that is, if the chip select signal CS becomes High, the process proceeds to Step 128, and the chip select signal CS of the storage medium access device 34 is changed to Low (in this embodiment, Low → Active, High). → inactive ) and control of the storage medium access device 34 by the CPU 26 is started.

次のステップ130では、前記画像情報PIXとコマンドとの間の信号切り替わり初期から75ms経過したか否かが判断される。この期間は、75msタイマが起動している期間であり、これと同期して、記憶媒体アクセス装置34へデータ信号線(DO)44、データ信号線(DI)46の使用権を付与している期間を計数する。   In the next step 130, it is determined whether or not 75 ms has elapsed from the beginning of the signal switching between the image information PIX and the command. This period is a period in which the 75 ms timer is activated, and the right to use the data signal line (DO) 44 and the data signal line (DI) 46 is given to the storage medium access device 34 in synchronization with this period. Count period.

ステップ130で肯定判定、すなわち、75msタイマがタイムアップすると、ステップ132へ移行して、記憶媒体アクセス装置34のチップセレクト信号CSをHighとし、ファクシミリモデム24のチップセレクト信号CSをLowとして、CPU26によるファクシミリモデム24の制御を開始(再開)し、このルーチンは終了する。   When an affirmative determination is made at step 130, that is, when the 75 ms timer expires, the routine proceeds to step 132 where the chip select signal CS of the storage medium access device 34 is set to High and the chip select signal CS of the facsimile modem 24 is set to Low. The control of the facsimile modem 24 is started (restarted), and this routine ends.

(強制的必然的非使用期間の設定制御)
図6は、「強制的非使用期間」に基づく、記憶媒体アクセス装置34のデータ信号線(DO)44、データ信号線(DI)46の使用権確保のための制御の流れを示すフローチャートである。
(Forced inevitable non-use period setting control)
FIG. 6 is a flowchart showing a flow of control for securing the right to use the data signal line (DO) 44 and the data signal line (DI) 46 of the storage medium access device 34 based on the “forced non-use period”. .

ステップ150では、ファクシミリモデム24での送信おいては、当該送信画像情報をRAM28に一時格納する。なお、このとき、2ページ分の画像情報を格納する。   In step 150, the transmission image information is temporarily stored in the RAM 28 for transmission by the facsimile modem 24. At this time, image information for two pages is stored.

次のステップ152では、ファクシミリモデム24のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、かつCPU26によるファクシミリモデム24の制御を開始して、ステップ154へ移行する。ステップ154では、ファクシミリ通信を開始する。 In the next step 152, the chip select signal CS of the facsimile modem 24 is set to Low (in this embodiment, Low → active, High → inactive ), and the control of the facsimile modem 24 by the CPU 26 is started. Transition. In step 154, facsimile communication is started.

次のステップ156では、ファクシミリモデム24での受信おいては、受信した画像情報をRAM28に一時格納する。   In the next step 156, upon reception by the facsimile modem 24, the received image information is temporarily stored in the RAM 28.

次のステップ158では、ファクシミリモデム24の信号が、ページ間を表すものか否かが判断され、否定判定された場合は、ファクシミリ通信が維持される。また、ステップ158で肯定判定、すなわち、ページ間であると判断されると、ステップ160へ移行して、ファクシミリモデム24のチップセレクト信号CSをHighとし、ステップ162へ移行する。   In the next step 158, it is determined whether or not the signal of the facsimile modem 24 represents between pages. If the determination is negative, facsimile communication is maintained. If an affirmative determination is made in step 158, that is, it is determined that there is a page interval, the process proceeds to step 160, the chip select signal CS of the facsimile modem 24 is set to High, and the process proceeds to step 162.

ステップ162では、記憶媒体アクセス装置34のチップセレクト信号CSをLow(本実施の形態では、Low→アクティブ、High→非アクティブ)とし、CPU26による記憶媒体アクセス装置34の制御を開始する。
In step 162, the chip select signal CS of the storage medium access device 34 is set to Low (in this embodiment, Low → active, High → inactive ), and the CPU 26 starts control of the storage medium access device 34.

このとき、ステップ162では、送信時では、次ページを記憶媒体アクセス装置34に装着されたSDカードから読み出してRAM28へ転送する。また、受信時では、受信した画像情報(1ページ分)をRAM28から記憶媒体アクセス装置34に装着されたSDカードへ転送する。   At this time, in step 162, at the time of transmission, the next page is read from the SD card attached to the storage medium access device 34 and transferred to the RAM 28. At the time of reception, the received image information (for one page) is transferred from the RAM 28 to the SD card attached to the storage medium access device 34.

次のステップ164では、ファクシミリモデム24の信号切り替えから1000ms(1秒)経過したか否かが判断される。例えば、1.5秒以上の中断は、通信断となる場合があり、これよりも前(ここでは、1秒)経過した時点で、記憶媒体アクセス装置34へのデータ信号線(DO)44、データ信号線(DI)46の使用権を剥奪し、ファクシミリモデム24へデータ信号線(DO)44、データ信号線(DI)46の使用権を移転する。   In the next step 164, it is determined whether 1000 ms (1 second) has elapsed since the signal switching of the facsimile modem 24. For example, an interruption of 1.5 seconds or more may result in a communication interruption, and when a period before (here, 1 second) elapses, a data signal line (DO) 44 to the storage medium access device 34, The right to use the data signal line (DI) 46 is removed, and the right to use the data signal line (DO) 44 and the data signal line (DI) 46 is transferred to the facsimile modem 24.

次のステップ166では、記憶媒体アクセス装置34のチップセレクト信号CSをHighとし、ファクシミリモデム24のチップセレクト信号CSをLowとして、CPU26によるファクシミリモデム24の制御を開始(再開)し、このルーチンは終了する。   In the next step 166, the chip select signal CS of the storage medium access device 34 is set to High, the chip select signal CS of the facsimile modem 24 is set to Low, and the control of the facsimile modem 24 by the CPU 26 is started (restarted), and this routine ends. To do.

参考として、ファクシミリモデム24における通信プロトコルに用いるコマンドを表1に示す。なお、この表1のコマンドは一例である。   As a reference, Table 1 shows commands used for the communication protocol in the facsimile modem 24. The command in Table 1 is an example.

ところで、図6では、ページ間において、記憶媒体アクセス装置34がデータ信号線(DO)44、データ信号線(DI)46の使用権を得る期間を1秒(1000ms)したため、一般的な1ページ分の画像情報の転送(RAM28−SDカード間)は完了するが、写真画像等場合、画像情報量が文字画像に比べて多くなる場合がある。   By the way, in FIG. 6, since the storage medium access device 34 obtains the right to use the data signal line (DO) 44 and the data signal line (DI) 46 for 1 second (1000 ms) between pages, However, in the case of a photographic image or the like, the amount of image information may be larger than that of a character image.

そこで、ページ間の通信プロトコルにおいて、通信断が発生しない範囲で、通信手順を操作することで、延長を図る。   Therefore, the communication protocol between pages is extended by operating the communication procedure within a range where communication is not interrupted.

図7は、ECM(エラー時に再送する機能)が有る場合の、延長対策を施した通信プロトコルを示している。   FIG. 7 shows a communication protocol in which an extension measure is taken when there is an ECM (a function to retransmit when an error occurs).

1ページ分の画像情報を受信した後、1.5秒後に受信不可コマンドRNRを送信する。これにより、1.5秒の使用権の確保期間を得る。   After receiving the image information for one page, the unreceivable command RNR is transmitted 1.5 seconds later. As a result, a use right securing period of 1.5 seconds is obtained.

受信不可コマンドRNRを受けた相手局からは、受信可能コマンドRRが返信されてくる。このとき、再度、1.5秒後に受信不可コマンドRNRを送信する。   A receivable command RR is returned from the partner station that has received the receivable command RNR. At this time, the unreceivable command RNR is transmitted again after 1.5 seconds.

ここで、最初の受信不可コマンドRNRから1分以内に、メッセージ確認コマンドMCFを送信しないと、通信断状態になるため、前記繰り返しは、この1分間が限度である。   Here, if the message confirmation command MCF is not transmitted within one minute from the first unreceivable command RNR, the communication is cut off, and thus the repetition is limited to this one minute.

また、ECMが無の場合は、メッセージ確認コマンドMCFを、1秒から1.5秒間送信を停止すればよい。   If there is no ECM, transmission of the message confirmation command MCF may be stopped for 1 to 1.5 seconds.

なお、本実施の形態では、ファクシミリモデム24のバッファを通常の16Byteとしているが、256Byteに、エキストラバッファを使用することで拡大するようにしてもよい。   In this embodiment, the buffer of the facsimile modem 24 is set to normal 16 bytes. However, the buffer may be enlarged to 256 bytes by using an extra buffer.

一度の送信データ数を増やしてファクシミリモデム24のアクセス回数及び割り込み回数を少なくすることでオーバーヘッド減らすものである。この場合、バッファを増加しない場合に比べてタイマ精度を細かくする必要がなく、汎用性が高くなる。   The overhead is reduced by increasing the number of transmission data at one time and reducing the number of accesses and interruptions of the facsimile modem 24. In this case, it is not necessary to make the timer accuracy finer than when the number of buffers is not increased, and versatility is enhanced.

図8は、このバッファ増加に基づく、データ転送時間の違いを示す具体例を示している。   FIG. 8 shows a specific example showing the difference in data transfer time based on this buffer increase.

まず、デフォルトのバッファ(16Byte)時のパフォーマンスを計算する。
・割込み頻度は、1msタイマー割込み(送信中1ms毎)とする。
・遅延耐性は、2msから4ms遅延でFIFOが空になる場合がある。
・シリアルバスのデータ転送時間は、前提条件として20.833MHzで動作するものとする(0.048us/bit=0.384us/Byte)。
・バッファには、1ms毎に8Byte書込みとする。
・シリアルバスのデータ転送時間は、約50μsec(8Byteデータ転送時)とする。
First, the performance at the time of the default buffer (16 bytes) is calculated.
・ The interrupt frequency is 1 ms timer interrupt (every 1 ms during transmission).
-The delay tolerance may cause the FIFO to empty with a delay of 2 ms to 4 ms.
・ The data transfer time of the serial bus is assumed to operate at 20.833 MHz as a precondition (0.048 us / bit = 0.384 us / Byte).
・ Write 8 bytes to the buffer every 1 ms.
・ The data transfer time of the serial bus is about 50 μsec (during 8-byte data transfer).

上記条件において、以下、通信時間の計算を行う。   Under the above conditions, the communication time is calculated below.

バッファへ1Byte書込みに、ステータス読込み・コマンド含めトータル4Byteの読み書きが必要である。   To write 1 byte to the buffer, it is necessary to read and write a total of 4 bytes including status reading and commands.

また、FAXMINI実測からオーバーヘッド分は通信時間の4倍かかっている。よって1ms毎にシリアルバスのでファクシミリモデム24に4Byte送信するとデータ転送時間は、(0.384μs×4×4×4×8=)49.152μsとなる(MAX16Byte送信時は約100μs)。   Further, the overhead amount is four times as long as the communication time from the FAXMINI measurement. Therefore, if 4 bytes are transmitted to the facsimile modem 24 via the serial bus every 1 ms, the data transfer time is (0.384 μs × 4 × 4 × 4 × 8 =) 49.152 μs (about 100 μs when MAX16 bytes are transmitted).

次に、送信拡張バッファ128Byte(デフォルト)で拡張バッファスレッショルドを64Byteとした場合のパフォーマンスを計算する。
・割込み頻度は、拡張バッファが64Byte以下となった場合に割込みが発生する(33.6Kbps通信で約16ms毎)。
・割込み遅延耐性は、割込み処理が遅れても16ms以内に処理完了すればFIFOは空にならない。
・シリアルバスのデータ転送時間は、前提条件としてシリアルバスは20.833MHz動作するものとする(0.048μs/bit=0.384μs/Byte)
・バッファには、1回の割り込みで64Bye書込み
・シリアルバスのデータ転送時間は、約400μsec(64Byteデータ転送時))とする。
Next, the performance is calculated when the extended buffer threshold is 64 bytes in the transmission extended buffer 128 bytes (default).
-As for the interrupt frequency, an interrupt occurs when the expansion buffer becomes 64 bytes or less (about 16 ms in 33.6 Kbps communication).
-With interrupt delay tolerance, even if interrupt processing is delayed, the FIFO will not be emptied if processing is completed within 16 ms.
・ As for the data transfer time of the serial bus, it is assumed that the serial bus operates at 20.833 MHz as a precondition (0.048 μs / bit = 0.384 μs / Byte).
• The buffer is written with 64 bytes in one interrupt. • The serial bus data transfer time is about 400 μsec (when transferring 64 bytes of data).

上記条件において以下、通信時間の計算を行う。   The communication time is calculated below under the above conditions.

バッファへ1Byte書込みに、ステータス読込み・コマンド含めトータル4Byteの読み書きが必要である。   To write 1 byte to the buffer, it is necessary to read and write a total of 4 bytes including status reading and commands.

また、FAXMINI実測からオーバーヘッド分は通信時間の4倍かかっている。よってシリアルバスでファクシミリモデム24に64Byte送信するとデータ転送時間は、(0.384μs×64×4×4=)393.2μsとなる。   Further, the overhead amount is four times as long as the communication time from the FAXMINI measurement. Therefore, when 64 bytes are transmitted to the facsimile modem 24 via the serial bus, the data transfer time is (0.384 μs × 64 × 4 × 4 =) 393.2 μs.

本実施例では、通信制御手段の一例として、ファクシミリモデムを例に挙げたが、コンピュータ間の通信においてコンピュータとインターネット、LAN(Local Area Network)等の通信回線の間でデータの送受信を制御するCCU(Communication Control Unit)などであっても良い。   In this embodiment, a facsimile modem is taken as an example of the communication control means. However, in the communication between computers, a CCU that controls transmission and reception of data between a computer and a communication line such as the Internet or a LAN (Local Area Network). (Communication Control Unit) may be used.

10 画像処理装置
12 スキャナモジュール部
14 プリンタモジュール部
16 バス
18 コントロールパネル
20 インターフェイス
22 マルチファンクションコントロール部
24 ファクシミリモデム
26 CPU
28 RAM
30 ROM
32 バス
34 記憶媒体アクセス装置
40 クロック信号線
42 チップセレクト信号線
44 データ信号線(DO)
46 データ信号線(DI)
DESCRIPTION OF SYMBOLS 10 Image processing apparatus 12 Scanner module part 14 Printer module part 16 Bus 18 Control panel 20 Interface 22 Multifunction control part 24 Facsimile modem 26 CPU
28 RAM
30 ROM
32 bus 34 storage medium access device 40 clock signal line 42 chip select signal line 44 data signal line (DO)
46 Data signal line (DI)

Claims (8)

直列信号伝送線と、
前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信をするために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、
前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、
前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、
前記通信制御手段におけるファクシミリモデムによる前記通信を確保するための手順情報の送受信と前記画像情報の送受信との間に必須の期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、
を有するファクシミリ通信装置。
A serial signal transmission line;
Communication for transmitting / receiving procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial transmission signal line, and for transmitting / receiving image information between the local station and the partner station. Control means;
Operation control means for controlling an operation for storing image information in a storage medium or a reading operation for reading out from the storage medium via the serial transmission signal line;
Assigning means for assigning the serial transmission signal line to the communication control means or the operation control means in time series;
An indispensable period between the transmission / reception of the procedure information and the transmission / reception of the image information for ensuring the communication by the facsimile modem in the communication control means, and a period for executing the storage or reading of the image information by the operation control means as to the determining means for determining a timing of changing the allocation destination by said allocation means,
A facsimile communication apparatus.
直列信号伝送線と、
前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信をするために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、
前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、
前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、
前記通信制御手段におけるファクシミリモデムによる手順情報の送受信と前記画像情報の送受信との間に必須の、75msタイマ期間を、前記操作制御手段による画像情報の格納又は読出を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、
を有するファクシミリ通信装置。
A serial signal transmission line;
Communication for transmitting / receiving procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial transmission signal line, and for transmitting / receiving image information between the local station and the partner station. Control means;
Operation control means for controlling an operation for storing image information in a storage medium or a reading operation for reading out from the storage medium via the serial transmission signal line;
Assigning means for assigning the serial transmission signal line to the communication control means or the operation control means in time series;
The 75 ms timer period, which is essential between the transmission / reception of the procedure information by the facsimile modem in the communication control means and the transmission / reception of the image information, is set as a period for storing or reading the image information by the operation control means. Determining means for determining when to change the assignment destination by the assigning means;
A facsimile communication apparatus.
直列信号伝送線と、
前記直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信するために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、
前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、
前記自局と相手局とで送受信するための画像情報を、出力用紙を基準として複数ページ分の画像情報量を一時記憶する一時記憶手段と、
前記直列伝送信号線を介して、自局と相手局とで送受信するための画像情報を、前記一時記憶手段から記憶媒体へ、或いは記憶媒体から前記一時記憶手段へ転送するための画像情報転送制御手段と、
前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、
前記通信制御手段におけるファクシミリモデムにより送受信される画像情報の前記ページ間を、前記画像情報転送制御手段による画像情報の転送を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、
を有するファクシミリ通信装置。
A serial signal transmission line;
Communication control for transmitting and receiving procedure information necessary for communication between the local station and the partner station using a facsimile modem and transmitting and receiving image information between the local station and the partner station via the serial transmission signal line Means,
Operation control means for controlling an operation for storing image information in a storage medium or a reading operation for reading out from the storage medium via the serial transmission signal line;
Temporary storage means for temporarily storing image information for transmitting and receiving between the local station and the partner station, the amount of image information for a plurality of pages on the basis of output paper;
Image information transfer control for transferring image information for transmission and reception between the local station and the partner station via the serial transmission signal line from the temporary storage means to the storage medium or from the storage medium to the temporary storage means. Means,
Assigning means for assigning the serial transmission signal line to the communication control means or the operation control means in time series;
An allocation destination change time is determined by the allocating unit so that the interval between the pages of the image information transmitted and received by the facsimile modem in the communication control unit is a period for executing the image information transfer by the image information transfer control unit. A decision means to
A facsimile communication apparatus.
前記ページ間に、強制的に予め定めた期間の前記通信制御手段による前記直列信号伝送線の非使用期間を生成する非使用期間設定手段をさらに有する請求項3記載のファクシミリ通信装置。 Between the pages, the facsimile communication apparatus according to claim 3, further comprising forcibly further non-use period setting means for generating a non-use period of the serial signal transmission line by the communication control means of the predetermined period. 前記非使用期間設定手段が、
前記通信制御手段が自局から相手局への画像情報送信時の場合は、相手局から受信したメッセージ確認コマンドMCFを無視することで実行される、相手局からの前記メッセージ確認コマンドMCFの再受信までの期間を前記非使用期間とする請求項3記載のファクシミリ通信装置。
The non-use period setting means is
When the communication control means transmits image information from its own station to the other station, it re-receives the message confirmation command MCF from the other station, which is executed by ignoring the message confirmation command MCF received from the other station. 4. The facsimile communication apparatus according to claim 3 , wherein a period up to is the non-use period.
前記非使用期間設定手段が、
前記通信制御手段が相手局から自局への画像情報受信時の場合、かつ通信失敗時にコマンドを再送する機能が起動しているときは、1ページ分の画像情報を受信した後、予め定められた期間遅延させて受信不可コマンドRNRを送信することで、当該予め定められた期間を前記非使用期間とし、
前記通信制御手段が相手局から自局への画像情報受信時の場合、かつ通信失敗時にコマンドを再送する機能が起動していないときは、メッセージ確認コマンドMCFを予め定められた期間送信停止することで、当該予め定められた期間を前記非使用期間とする、請求項4記載のファクシミリ通信装置。
The non-use period setting means is
When the communication control means is receiving image information from the other station to its own station , and when the function of resending a command when communication fails is activated, it is determined in advance after receiving one page of image information. By transmitting the non-receivable command RNR after a predetermined period, the predetermined period is set as the non-use period,
When the communication control means is receiving image information from the partner station to its own station, and when the function of resending the command when communication fails is not activated, the transmission of the message confirmation command MCF is stopped for a predetermined period. 5. The facsimile communication apparatus according to claim 4 , wherein the predetermined period is the non-use period.
前記一時記憶手段と前記記憶媒体と間の画像情報の転送において、予め定めた画像情報量が転送しきれていない場合に、前記割当手段が前記直列伝送信号線を通信制御手段に割当てて、相手局に対して当該相手局を待機させるコマンドを送信する請求項4から請求項6の何れか1項記載のファクシミリ通信装置。 In the transfer of image information between the temporary storage means and the storage medium, when the predetermined amount of image information has not been transferred , the assigning means assigns the serial transmission signal line to the communication control means, The facsimile communication apparatus according to any one of claims 4 to 6 , wherein a command for causing the station to wait for the other station is transmitted . 直列伝送信号線を介して、自局と相手局とでファクシミリモデムを用いて通信するために必要な手順情報を送受信し、かつ自局と相手局とで画像情報を送受信するための通信制御手段と、
前記直列伝送信号線を介して、画像情報を記憶媒体へ格納する操作又は記憶媒体から読み出すための読出操作を制御する操作制御手段と、
前記自局と相手局とで送受信するための画像情報を、出力用紙を基準として複数ページ分の画像情報量を一時記憶する一時記憶手段と、
前記直列伝送信号線を介して、自局と相手局とで送受信するための画像情報を、前記一時記憶手段から記憶媒体へ、或いは記憶媒体から前記一時記憶手段へ転送するための画像情報転送制御手段と、
前記直列伝送信号線を、時系列に前記通信制御手段又は前記操作制御手段に割り当てる割当手段と、
前記通信制御手段におけるファクシミリモデムにより送受信される画像情報の前記ページ間を、前記画像情報転送制御手段による画像情報の転送を実行する期間とするように、前記割当手段による割り当て先の変更時期を決定する決定手段と、
を含む機能をコンピュータに実行させるための直列信号伝送線割当プログラム
Communication control means for transmitting and receiving procedure information necessary for communication between the local station and the partner station using a facsimile modem via the serial transmission signal line, and for transmitting and receiving image information between the local station and the partner station When,
Operation control means for controlling an operation for storing image information in a storage medium or a reading operation for reading out from the storage medium via the serial transmission signal line;
Temporary storage means for temporarily storing image information for transmitting and receiving between the local station and the partner station, the amount of image information for a plurality of pages on the basis of output paper;
Image information transfer control for transferring image information for transmission and reception between the local station and the partner station via the serial transmission signal line from the temporary storage means to the storage medium or from the storage medium to the temporary storage means. Means,
Assigning means for assigning the serial transmission signal line to the communication control means or the operation control means in time series;
An allocation destination change time is determined by the allocating unit so that the interval between the pages of the image information transmitted and received by the facsimile modem in the communication control unit is a period for executing the image information transfer by the image information transfer control unit. A decision means to
A serial signal transmission line assignment program for causing a computer to execute a function including:
JP2009184526A 2009-08-07 2009-08-07 Facsimile communication device and serial signal transmission line assignment program Expired - Fee Related JP5381476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009184526A JP5381476B2 (en) 2009-08-07 2009-08-07 Facsimile communication device and serial signal transmission line assignment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009184526A JP5381476B2 (en) 2009-08-07 2009-08-07 Facsimile communication device and serial signal transmission line assignment program

Publications (2)

Publication Number Publication Date
JP2011040874A JP2011040874A (en) 2011-02-24
JP5381476B2 true JP5381476B2 (en) 2014-01-08

Family

ID=43768223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009184526A Expired - Fee Related JP5381476B2 (en) 2009-08-07 2009-08-07 Facsimile communication device and serial signal transmission line assignment program

Country Status (1)

Country Link
JP (1) JP5381476B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700496B (en) * 2016-01-19 2018-10-26 国家电网公司 DO point remote synchronization mapped systems and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115427A (en) * 1998-10-02 2000-04-21 Konica Corp Image processor
JP2002259151A (en) * 2001-03-06 2002-09-13 Ricoh Co Ltd Communication equipment

Also Published As

Publication number Publication date
JP2011040874A (en) 2011-02-24

Similar Documents

Publication Publication Date Title
US7568077B2 (en) Information processing apparatus and file controller
JP4555902B2 (en) Bus system and bus interface to connect to the bus
JP2018120490A (en) Memory access system, control method thereof, program, and image forming apparatus
EP2846470A1 (en) A method of mobile terminal internal communications
US20060242334A1 (en) Information processor and information processing method
JP5381476B2 (en) Facsimile communication device and serial signal transmission line assignment program
US20070115820A1 (en) Apparatus and method for creating and managing TCP transmission information based on TOE
JP2009071780A (en) Communication information processor, communication information processing system, and communication information processing program
JP2013066072A (en) Image reading device, image forming apparatus, image reading method and image reading program
JP4480909B2 (en) Data transmission / reception system
JP2005074928A (en) Data processing system, data processor, and data receiving program
JP5414305B2 (en) Information processing apparatus, virtual storage management method, and program
JP6862807B2 (en) Image forming device and program
JP3970728B2 (en) Data communication device
JP5780768B2 (en) Information processing apparatus, control method thereof, and program
JP2006076175A (en) Image forming device and its control method
JP5334173B2 (en) Data transfer system and retry control method
US10306099B2 (en) Information processing apparatus and semiconductor integrated circuit
JP2009006570A (en) Printer
US9921995B2 (en) Managing data in USB communication
JP2003309618A (en) Communication apparatus and communication method
JP2015104901A (en) Image formation device, control method for the same and program
JP2002185466A (en) Packet transmitter/receiver
JP2005202794A (en) Data communication system
JP6217206B2 (en) Communication control device, image processing device, transfer control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130314

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130520

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: 20130903

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130916

R150 Certificate of patent or registration of utility model

Ref document number: 5381476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees