JP2000222344A - Communication controller - Google Patents

Communication controller

Info

Publication number
JP2000222344A
JP2000222344A JP11022586A JP2258699A JP2000222344A JP 2000222344 A JP2000222344 A JP 2000222344A JP 11022586 A JP11022586 A JP 11022586A JP 2258699 A JP2258699 A JP 2258699A JP 2000222344 A JP2000222344 A JP 2000222344A
Authority
JP
Japan
Prior art keywords
transmission
reception
communication
determining
transfer size
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.)
Pending
Application number
JP11022586A
Other languages
Japanese (ja)
Inventor
Yasushi Niikura
康史 新倉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11022586A priority Critical patent/JP2000222344A/en
Publication of JP2000222344A publication Critical patent/JP2000222344A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the efficiency of data communicating operation by determining the transfer size of reception DMA on the basis of a reception speed when the kind of communication is decided as reception and setting the determined reception DMA transfer size. SOLUTION: The kind of communication is decided according to whether or not DCS 3-2 is received; when the DCS 3-2 is received, DCS 3-2 indicating a reception speed determined according to a receivable communication speed of DIS 3-1 and a transmittable communication speed of a transmission device is received and reception speed data of the DCS 3-2 is stored in a RAM. On the basis of the reception speed data, a data table stored in a ROM is referred to and the reception DMA transfer side is set as reception DMA transfer buffer size in DMAC(dynamic direct memory access controller) through a data bus.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、DMA(ダイレク
トメモリアクセス)転送によりデータ通信を行うことが
できる通信制御装置、制御方法、およびコンピュータ読
取可能な記憶媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a communication control device, a control method, and a computer-readable storage medium capable of performing data communication by DMA (Direct Memory Access) transfer.

【0002】[0002]

【従来の技術】まず、この種の通信制御装置における従
来例について、図7、図8に基づいて説明する。なお、
通信制御装置の基本的構成は、後述の実施例で説明する
図1に示すものと共通であるので、以下の動作説明で
は、図1に示す各構成要素および符号、すなわちCPU
1−1、ROM1−2、RAM1−3、BUS1−4、
DMAC(DMAコントローラ)1−5、MODEM
(変復調装置)1−6、NCU(網制御装置)1−7を
一部援用して説明する。
2. Description of the Related Art First, a conventional example of this type of communication control apparatus will be described with reference to FIGS. In addition,
Since the basic configuration of the communication control device is the same as that shown in FIG. 1 described in the embodiment described later, in the following description of the operation, each component and reference numeral shown in FIG.
1-1, ROM1-2, RAM1-3, BUS1-4,
DMAC (DMA controller) 1-5, MODEM
(Modulator / demodulator) 1-6 and NCU (network controller) 1-7 will be partially explained.

【0003】図7は、従来の通信制御装置における制御
動作を示すフローチャートであり、図8は、従来の通信
制御装置で用いる通信速度と転送サイズのデータテーブ
ルを示す説明図である。
FIG. 7 is a flowchart showing a control operation in a conventional communication control device, and FIG. 8 is an explanatory diagram showing a data table of a communication speed and a transfer size used in the conventional communication control device.

【0004】まず、図7のステップ7−1は、通信速度
を決定するステップであり、通信の送信または受信にお
いて通信速度が決定されると、この値がRAM1−3に
格納される。
First, step 7-1 in FIG. 7 is a step for determining a communication speed. When the communication speed is determined in transmission or reception of communication, this value is stored in the RAM 1-3.

【0005】次に、ステップ7−2では、前記通信速度
が格納されているRAM1−3を読み出し、図8に示す
データテーブルを参照して通信速度に対応するDMAの
転送サイズを決定し、RAM1−3に格納する。
Next, in step 7-2, the RAM 1-3 storing the communication speed is read out, and the DMA transfer size corresponding to the communication speed is determined with reference to the data table shown in FIG. -3.

【0006】そして、ステップ7−3では、前記DMA
転送サイズが格納されているRAM1−3のデータを読
み出し、DMAC1−5に転送用のバッファサイズを設
定する。
In step 7-3, the DMA
The data in the RAM1-3 in which the transfer size is stored is read, and a transfer buffer size is set in the DMAC1-5.

【0007】この後、ステップ7−4では、ステップ7
−3で設定したDMA転送が終了後、引き続きDMA転
送を行うか否かを判断する。ここで、DMA転送を引き
続き行うならば、ステップ7−3に戻り、DMA転送を
しないならば終了する。
[0007] Thereafter, in step 7-4, step 7
After the completion of the DMA transfer set in -3, it is determined whether or not to continue the DMA transfer. Here, if the DMA transfer is performed continuously, the process returns to step 7-3, and if the DMA transfer is not performed, the process ends.

【0008】このような従来の動作においては、DMA
転送のサイズは送信受信とも同じデータテーブルを参照
して決定しており、また、送信のみの転送サイズや、受
信のみの転送サイズを固定することができないものとな
っていた。
In such a conventional operation, the DMA
The transfer size is determined by referring to the same data table for both transmission and reception, and the transfer size for transmission only and the transfer size for reception only cannot be fixed.

【0009】[0009]

【発明が解決しようとする課題】上述のように従来のD
MA転送を行う通信制御装置では、DMA転送サイズを
送受信ともに同じデータテーブルを参照して決定するこ
とから、DMA転送サイズを最適に設定できず、DMA
転送の終了確認に遅延が生じ、データ通信動作の効率が
悪いという欠点があった。
As described above, the conventional D
In a communication control device that performs MA transfer, the DMA transfer size cannot be set optimally because the DMA transfer size is determined by referring to the same data table for both transmission and reception.
There is a drawback that a delay occurs in confirming the end of the transfer, and the efficiency of the data communication operation is low.

【0010】そこで本発明は、送受信によってDMA転
送サイズを自在に設定でき、かつ、通信速度によってD
MA転送サイズを最適に設定して通信を行うことができ
る通信制御装置を提供することを目的とする。
Therefore, according to the present invention, the DMA transfer size can be freely set by transmission and reception, and D
It is an object of the present invention to provide a communication control device capable of performing communication by optimally setting an MA transfer size.

【0011】[0011]

【課題を解決するための手段】本発明は、DMA転送を
用いたデータ通信が可能なDMACを有する通信制御装
置において、通信の種類が送信か受信かを判別する送信
受信判別手段と、受信速度を決定する受信速度決定手段
と、受信速度からDMAの転送サイズを決定する受信転
送サイズ決定手段と、前記DMACに前記転送サイズを
設定する設定手段とを有することを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a communication control apparatus having a DMAC capable of performing data communication using DMA transfer, a transmission / reception determining means for determining whether the type of communication is transmission or reception, and a reception speed. , A transfer size determining unit for determining a DMA transfer size from the reception speed, and a setting unit for setting the transfer size in the DMAC.

【0012】そして、前記送信受信判別手段で通信の種
類が受信と判別された場合に、前記受信速度決定手段に
より決定された受信速度を基に、前記受信転送サイズ決
定手段により受信DMAの転送サイズを決定し、前記設
定手段により前記受信DMA転送サイズを設定すること
を特徴とする。さらに、前記送信受信判別手段で通信の
種類が送信と判別された場合に、前記受信速度決定手段
と前記受信転送サイズ決定手段による決定を行わず、前
記設定手段により送信DMAサイズを常に固定に設定す
ることを特徴とする。
When the type of communication is determined to be reception by the transmission / reception determination means, the transfer size of the reception DMA is determined by the reception transfer size determination means based on the reception speed determined by the reception speed determination means. And setting the receiving DMA transfer size by the setting means. Further, when the type of communication is determined to be transmission by the transmission / reception determination means, the determination is not made by the reception speed determination means and the reception transfer size determination means, and the transmission DMA size is always fixed by the setting means. It is characterized by doing.

【0013】また、本発明は、DMA転送を用いたデー
タ通信が可能なDMACを有する通信制御装置におい
て、通信の種類が送信か受信かを判別する送信受信判別
手段と、送信速度を決定する送信速度決定手段と、送信
速度からDMAの転送サイズを決定する送信転送サイズ
決定手段と、前記DMACに前記転送サイズを設定する
設定手段とを有することを特徴とする。
Further, the present invention provides a communication control apparatus having a DMAC capable of performing data communication using DMA transfer, a transmission / reception determining means for determining whether the type of communication is transmission or reception, and a transmission / reception determining means for determining a transmission speed. It is characterized by comprising a speed determining means, a transmission transfer size determining means for determining a DMA transfer size from a transmission speed, and a setting means for setting the transfer size in the DMAC.

【0014】そして、前記送信受信判別手段で通信の種
類が送信と判別された場合に、前記送信速度決定手段に
より決定された送信速度を基に、前記送信転送サイズ決
定手段により送信DMAの転送サイズを決定し、前記設
定手段により前記送信DMA転送サイズを設定すること
を特徴とする。さらに、前記送信受信判別手段で通信の
種類が受信と判別された場合に、前記送信速度判別手段
と前記送信転送サイズ決定手段による決定を行わず、前
記設定手段により受信DMAサイズを常に固定に設定す
ることを特徴とする。
When the type of communication is determined to be transmission by the transmission / reception determining means, the transfer size of the transmission DMA is determined by the transmission transfer size determining means based on the transmission speed determined by the transmission speed determining means. And setting the transmission DMA transfer size by the setting means. Further, when the type of communication is determined to be received by the transmission / reception determining means, the determination is not performed by the transmission speed determining means and the transmission transfer size determining means, and the receiving DMA size is always fixed by the setting means. It is characterized by doing.

【0015】以上のような構成により、送信か受信かに
よってDMA転送サイズを固定に設定したり、可変に設
定することができ、かつ、通信速度によってDMAサイ
ズを可変に設定することができる。
With the above configuration, the DMA transfer size can be fixedly or variably set depending on whether transmission or reception is performed, and the DMA size can be variably set depending on the communication speed.

【0016】[0016]

【発明の実施の形態および実施例】図1は、本発明の一
実施例による通信制御装置の概略構成を示すブロック図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing a schematic configuration of a communication control device according to one embodiment of the present invention.

【0017】図1において、CPU1−1は、ROM1
−2等に記憶されたプログラムやデータに基づいて、装
置全体の動作を行うものであり、ROM1−2は、例え
ば図2に示すようなデータテーブルや、図4、図5に示
すフローチャートに対応するプログラム(図6)を記憶
(プリセット)したものである。
In FIG. 1, a CPU 1-1 includes a ROM 1
The operation of the entire apparatus is performed based on programs and data stored in the ROM-2, etc. The ROM 1-2 corresponds to, for example, a data table as shown in FIG. 2 or flowcharts as shown in FIGS. The program (FIG. 6) to be executed is stored (preset).

【0018】RAM1−3は、DMAC(ダイレクトメ
モリアクセスコントローラ)1−5との間でやり取りす
るデータや、各種プログラムのワークエリアとして機能
するものであり、BUS1−4は、各構成要素間でデー
タの送受を行うためのものである。
The RAM 1-3 functions as data exchanged with the DMAC (Direct Memory Access Controller) 1-5 and as a work area for various programs, and the BUS 1-4 is used as a data area between the constituent elements. For sending and receiving.

【0019】DMAC1−5は、MODEM(変復調装
置)1−6とRAM1−3との間のDMA転送を制御す
るものである。
The DMAC 1-5 controls the DMA transfer between the MODEM (modulator / demodulator) 1-6 and the RAM 1-3.

【0020】MODEM1−6は、DMAC1−5から
受け取ったデータをITU−Tの勧告に従い、適宜変調
してNCU(網制御装置)1−7に送信したり、NCU
1−7から受け取ったデータをITU−Tの勧告に従
い、復調してDMAC1−5に転送するものである。
The MODEM 1-6 modulates the data received from the DMAC 1-5 as appropriate according to the recommendations of the ITU-T, and transmits the data to an NCU (network control unit) 1-7.
The data received from 1-7 is demodulated and transferred to the DMAC 1-5 according to the recommendations of ITU-T.

【0021】NCU1−7は、MODEM1−6からの
データを回線に送出したり、回線からのデータをMOD
EM1−6に受信させたり、発呼や着呼の制御を行うも
のである。
The NCU 1-7 sends data from the MODEM 1-6 to the line, and sends data from the line to the MOD.
EM1-6 receives the call and controls outgoing and incoming calls.

【0022】図2(A)は、本実施例による受信速度か
ら受信転送サイズを決定するためのデータテーブルを示
す説明図である。
FIG. 2A is an explanatory diagram showing a data table for determining the reception transfer size from the reception speed according to the present embodiment.

【0023】このデータテーブルは、受信速度に対して
受信DMA転送するサイズをテーブル化し、ROM1−
2に格納したものである。このテーブルデータは、図4
に示す受信フローチャートのステップ4−5で使用され
る。
In this data table, the size of the received DMA transfer with respect to the receiving speed is tabulated,
2 is stored. This table data is shown in FIG.
Are used in step 4-5 of the reception flowchart shown in FIG.

【0024】一方、図2(B)は、本実施例による送信
速度から送信転送サイズを決定するためのデータテーブ
ルを示す説明図である。
FIG. 2B is an explanatory diagram showing a data table for determining the transmission transfer size from the transmission speed according to the present embodiment.

【0025】このデータテーブルは、送信速度に対して
送信DMA転送するサイズをテーブル化し、ROM1−
2に格納したものである。このテーブルデータは、図6
に示す送信フローチャートのステップ5−5で使用され
る。
In this data table, the size of the transmission DMA transfer with respect to the transmission speed is tabulated, and the ROM1-
2 is stored. This table data is shown in FIG.
Is used in step 5-5 of the transmission flowchart shown in FIG.

【0026】図3は、ITU−Tの勧告T.30に規定
されているファクシミリ通信手順の一例を示す説明図で
ある。
FIG. 3 is a diagram of ITU-T Recommendation T.30. FIG. 3 is an explanatory diagram showing an example of a facsimile communication procedure specified in 30.

【0027】図3において、DIS3−1は、受信装置
の受信能力などを示す信号であり、受信装置の受信可能
な通信速度がデータとして含まれている。
In FIG. 3, DIS 3-1 is a signal indicating the receiving capability of the receiving device and the like, and includes the receivable communication speed of the receiving device as data.

【0028】また、DCS3−2は、DIS3−1を受
信したことにより、受信装置の受信能力と、送信装置の
送信能力から、通信が可能な能力を決定し、それを受信
装置に伝える信号であり、送信可能な通信速度がデータ
として含まれている。
The DCS 3-2 receives the DIS 3-1 and determines a communication-capable capability from the receiving capability of the receiving device and the transmitting capability of the transmitting device. Yes, and the transmission speed at which transmission is possible is included as data.

【0029】また、TCF3−3は、DCS3−2で示
した通信速度で通信上のエラーが無いことを確認するた
めのダミーデータを送信する信号である。また、CFR
3−4は、TCF3−3で送信したダミーデータに異常
がないことを示すための信号である。
The TCF 3-3 is a signal for transmitting dummy data for confirming that there is no communication error at the communication speed indicated by the DCS 3-2. Also, CFR
3-4 is a signal indicating that the dummy data transmitted by the TCF 3-3 has no abnormality.

【0030】PIX3−5は、伝送される画データであ
り、Q3−6は、画データ3−5の送信を終了したこと
を示す信号である。また、MCF3−7は、画データ3
−5が正常に受信出来たことを示す信号である。最後に
DCN3−8は、通信を切断することを示す信号であ
る。
PIX3-5 is image data to be transmitted, and Q3-6 is a signal indicating that transmission of image data 3-5 has been completed. The MCF 3-7 stores the image data 3
-5 is a signal indicating that the signal has been successfully received. Finally, DCN3-8 is a signal indicating that communication is to be disconnected.

【0031】図4は、受信時にDMAサイズを可変に
し、送信時にはDMAサイズを固定にする動作例を示す
フローチャートである。なお、このようなフローチャー
トに対応するプログラムが上述のようにROMROM1
−2に格納されている。
FIG. 4 is a flowchart showing an operation example in which the DMA size is made variable during reception and the DMA size is fixed during transmission. It should be noted that the program corresponding to such a flowchart is ROMROM1 as described above.
-2.

【0032】図4において、ステップ4−1は、DCS
3−2を受信したか否かで通信の種類を判別するステッ
プであり、DCS3−2を受信したら、この通信が受信
であると判断してステップ4−4に進み、DCS3−2
を受信しなければ、この通信が送信であると判断してス
テップ4−2に進む。
In FIG. 4, step 4-1 is performed by DCS
This is a step of determining the type of communication based on whether or not the DCS 3-2 has been received. When the DCS 3-2 has been received, it is determined that the communication has been received, and the process proceeds to step 4-4.
Is not received, it is determined that this communication is transmission, and the process proceeds to step 4-2.

【0033】ステップ4−2は、DMAC1−5に送信
DMAバッファサイズを設定するステップである。すな
わち、送信動作においては、この送信DMAバッファサ
イズは、通信の速度によらず、常に一定値を設定する。
Step 4-2 is a step of setting the transmission DMA buffer size in the DMAC 1-5. That is, in the transmission operation, the transmission DMA buffer size always sets a constant value regardless of the communication speed.

【0034】次に、ステップ4−3は、送信DMA転送
が終了した際、さらに次の送信DMA転送があるか否か
を判別するステップである。そして、次の送信DMA転
送がある場合にはステップ4−2に戻り、次の送信DM
A転送がない場合には終了する。
Next, in step 4-3, when the transmission DMA transfer is completed, it is determined whether or not there is another transmission DMA transfer. If there is a next transmission DMA transfer, the process returns to step 4-2, and the next transmission DM
If there is no A transfer, the process ends.

【0035】また、ステップ4−4では、DIS3−1
の受信可能な通信速度と、送信装置の送信可能な通信速
度から決定された受信速度を指示するDCS3−2を受
信し、DCS3−2の受信速度データをRAM1−3に
格納しておく。
In step 4-4, DIS 3-1
The DCS 3-2 indicating the reception speed determined from the receivable communication speed and the transmission speed that the transmission device can transmit is received, and the reception speed data of the DCS 3-2 is stored in the RAM 1-3.

【0036】次に、ステップ4−5では、ステップ4−
4でRAM1−3に格納された受信速度データを基に、
ROM1−2に格納されている図2(A)に示すデータ
テーブルを参照して、受信DMA転送サイズを決定し、
それをRAM1−3に格納する。
Next, in step 4-5, step 4-
4 based on the reception speed data stored in the RAM 1-3.
With reference to the data table shown in FIG. 2A stored in the ROM 1-2, the receiving DMA transfer size is determined.
It is stored in the RAM 1-3.

【0037】次に、ステップ4−6では、ステップ4−
5でRAM1−3に格納された受信DMA転送サイズを
BUS1−4を通してDMAC1−5に受信転送バッフ
ァサイズとして設定する。
Next, in step 4-6, step 4-
In step 5, the size of the receive DMA transfer stored in the RAM 1-3 is set as the receive transfer buffer size in the DMAC 1-5 through the BUS 1-4.

【0038】次に、ステップ4−7では、ステップ4−
6で設定した受信バッファの転送が終了したことに応じ
て、次の受信DMA転送があるか否かを判断し、次の受
信DMA転送がある場合はステップ4−6の設定処理に
移行し、次の受信DMA転送が無い場合は終了する。
Next, in step 4-7, step 4-
In response to the completion of the transfer of the reception buffer set in step 6, it is determined whether or not there is the next reception DMA transfer. If there is the next reception DMA transfer, the process proceeds to the setting process in step 4-6. If there is no next reception DMA transfer, the process ends.

【0039】以上のようにして、受信時にDMAサイズ
を可変にし、送信時にはDMAサイズを固定にするよう
なDMAの制御を行うことができる。
As described above, it is possible to control the DMA such that the DMA size is variable at the time of reception and the DMA size is fixed at the time of transmission.

【0040】一方、図5は、送信時にDMAサイズを可
変にし、受信時にはDMAサイズを固定にする動作例を
示すフローチャートである。なお、このようなフローチ
ャートに対応するプログラムが上述のようにROM1−
2に格納されている。
FIG. 5 is a flowchart showing an operation example in which the DMA size is made variable during transmission and the DMA size is fixed during reception. It should be noted that the program corresponding to such a flowchart is stored in the ROM 1-
2 is stored.

【0041】図5において、ステップ5−1は、DCS
3−2を受信したか否かで通信の種類を判別するステッ
プであり、DCS3−2を受信したら、この通信が受信
であると判断してステップ5−2に進み、DCS3−2
を受信しなければ、この通信が送信であると判断してス
テップ5−4に進む。
In FIG. 5, step 5-1 is performed by DCS
This is a step of determining the type of communication based on whether or not the DCS 3-2 has been received. When the DCS 3-2 has been received, it is determined that the communication is a reception, and the process proceeds to step 5-2.
If the communication is not received, it is determined that this communication is transmission, and the process proceeds to step 5-4.

【0042】ステップ5−2では、DMAC1−5に受
信DMAバッファサイズを設定するステップである。す
なわち、受信動作においては、この受信DMAバッファ
サイズは、通信の速度によらず、常に一定値を設定す
る。
Step 5-2 is a step of setting the receive DMA buffer size in the DMAC 1-5. That is, in the reception operation, the reception DMA buffer size always sets a constant value regardless of the communication speed.

【0043】次に、ステップ5−3では、受信DMA転
送が終了した際、さらに次の受信DMA転送があるか否
かを判別するステップである。そして、次の受信DMA
転送がある場合にはステップ5−2のステップに戻り、
次の受信DMA転送がない場合には終了する。
Next, in step 5-3, when the reception DMA transfer is completed, it is a step for determining whether or not there is another reception DMA transfer. Then, the next reception DMA
If there is a transfer, return to step 5-2,
If there is no next reception DMA transfer, the process ends.

【0044】また、ステップ5−4では、DIS3−1
の受信可能な通信速度と、送信装置の送信可能な通信速
度から決定された送信速度をDCS3−2で送り、DC
S3−2の送信速度データをRAM1−3に格納してお
く。
In step 5-4, DIS 3-1
The transmission rate determined from the receivable communication speed of the transmission device and the transmission speed that the transmission device can transmit is sent by DCS3-2,
The transmission speed data of S3-2 is stored in the RAM1-3.

【0045】次に、ステップ5−5では、ステップ5−
4でRAM1−3に格納された送信速度データを基に、
ROM1−2に格納されている図2(B)に示すデータ
テーブルを参照して、送信DMA転送サイズを決定し、
それをRAM1−3に格納する。
Next, in step 5-5, step 5-
4, based on the transmission speed data stored in the RAM 1-3,
The transmission DMA transfer size is determined with reference to the data table shown in FIG.
It is stored in the RAM 1-3.

【0046】次に、ステップ5−6では、ステップ5−
5でRAM1−3に格納された送信DMA転送サイズを
BUS1−4を通してDMAC1−5に送信転送バッフ
ァサイズとして設定する。
Next, in step 5-6, step 5-
In step 5, the transmission DMA transfer size stored in the RAM 1-3 is set as the transmission transfer buffer size in the DMAC 1-5 through the BUS 1-4.

【0047】次に、ステップ5−7では、ステップ5−
6で設定した送信バッファの転送が終了したことに応じ
て、次の送信DMA転送があるか否かを判断し、次の送
信DMA転送がある場合はステップ5−6の設定処理に
移行し、次の送信DMA転送が無い場合は終了する。
Next, in step 5-7, step 5-
In response to the completion of the transfer of the transmission buffer set in step 6, it is determined whether or not there is the next transmission DMA transfer. If there is the next transmission DMA transfer, the process proceeds to the setting process in step 5-6. If there is no next transmission DMA transfer, the process ends.

【0048】以上のようにして、送信時にDMAサイズ
を可変にし、受信時にはDMAサイズを固定にするよう
なDMAの制御を行うことができる。
As described above, it is possible to control the DMA such that the DMA size is variable during transmission and the DMA size is fixed during reception.

【0049】次に、図6(A)は、図4で説明したフロ
ーチャートの各工程がROM1−2のどの部分にあるか
を示す説明図である。
Next, FIG. 6A is an explanatory diagram showing where each step of the flowchart explained in FIG. 4 is located in the ROM 1-2.

【0050】図6(A)において、6−1は、ステップ
4−1で通信が送信か受信かを判別する工程が格納され
ているエリアである。また、6−2は、ステップ4−4
で受信速度を決定する工程が格納されているエリアであ
る。
In FIG. 6A, reference numeral 6-1 denotes an area storing a step of determining whether communication is transmission or reception in step 4-1. Step 6-4 is performed in step 4-4.
Is an area in which the step of determining the reception speed is stored.

【0051】また、6−3は、ステップ4−5で受信D
MA転送サイズを決定する工程が格納されているエリア
であり、6−4は、ステップ4−5とステップ4−6で
DMAC1−5に転送バッファサイズを設定する工程が
格納されているエリアである。
In step 6-5, the reception D is determined in step 4-5.
6-4 is an area in which a step of setting the transfer buffer size in the DMAC 1-5 in steps 4-5 and 4-6 is stored. .

【0052】一方、図6(B)は、図5で説明したフロ
ーチャートの各工程がROM1−2のどの部分にあるか
を示す説明図である。
On the other hand, FIG. 6B is an explanatory diagram showing in which part of the ROM 1-2 each step of the flowchart explained in FIG. 5 is located.

【0053】図6(B)において、6−5は、ステップ
5−1で通信が送信か受信かを判別する工程が格納され
ているエリアである。また、6−6は、ステップ5−4
で送信速度を決定する工程が格納されているエリアであ
る。
In FIG. 6B, reference numeral 6-5 denotes an area storing a step of determining whether communication is transmission or reception in step 5-1. Step 6-6 is performed in step 5-4.
Is an area in which the step of determining the transmission speed is stored.

【0054】また、6−7は、ステップ5−5で送信D
MA転送サイズを決定する工程が格納されているエリア
であり、6−8は、ステップ5−2とステップ5−6で
DMAC1−5に転送バッファサイズを設定する工程が
格納されているエリアである。
6-6 is the transmission D in step 5-5.
6-8 is an area storing a step of setting the transfer buffer size in the DMAC 1-5 in steps 5-2 and 5-6. .

【0055】なお、以上の実施例では、制御プログラム
の各工程が予めROM1−2に格納されている例につい
て説明したが、格納する記憶媒体は他にフロッピーディ
スク、CD−ROM、ハードディスク、メモリカード、
光磁気ディスクなどを用いることができる。
Although the above embodiment has been described with respect to an example in which the steps of the control program are stored in the ROM 1-2 in advance, the storage medium to be stored may be a floppy disk, CD-ROM, hard disk, memory card, or the like. ,
A magneto-optical disk or the like can be used.

【0056】また、記憶エリアとしてもRAMも書き換
え可能な記録媒体として、フロッピーディスク、ハード
ディスク、メモリカードなどを用いることができる。
Further, a floppy disk, a hard disk, a memory card, or the like can be used as a recording medium in which both the storage area and the RAM can be rewritten.

【0057】また、外部の記憶媒体に記憶されたプログ
ラムを装置内に適宜取り込んで処理するようなシステム
であってもよい。
Further, the system may be such that a program stored in an external storage medium is appropriately loaded into the apparatus and processed.

【0058】また、以上の実施例では、DMAの転送サ
イズをデータテーブルを参照して通信速度より求めてい
たが、このようなデータテーブルを参照するのでなな
く、計算で求めるようにしてもよい。
In the above embodiment, the DMA transfer size is determined from the communication speed by referring to the data table. However, the DMA transfer size may be determined by calculation instead of referring to such a data table. .

【0059】また、以上の実施例では、通信制御装置と
してファクシミリ装置を例に説明したが、ファクシミリ
装置でなく、他のデータ通信装置であってもよい。
In the above embodiment, a facsimile apparatus has been described as an example of a communication control apparatus. However, other data communication apparatuses may be used instead of the facsimile apparatus.

【0060】[0060]

【発明の効果】以上説明したように、本発明によれば、
DMA転送を用いて行う通信が、送信か受信によって、
DMA転送サイズを固定的に設定したり、通信速度によ
って可変に設定したりするように適宜使い分けることが
でき、最適なDMA転送サイズによって転送終了確認を
適正かつ迅速に行うことができ、効率の良い通信制御装
置を提供することができる効果がある。
As described above, according to the present invention,
Communication performed using DMA transfer depends on transmission or reception.
The DMA transfer size can be appropriately used so as to be fixedly set or variably set according to the communication speed. The transfer end can be properly and promptly confirmed with the optimum DMA transfer size, which is efficient. There is an effect that a communication control device can be provided.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本実施例による受信速度から受信転送サイズを
決定するためのデータテーブルおよび送信速度から送信
転送サイズを決定するためのデータテーブルを示す説明
図である。
FIG. 2 is an explanatory diagram showing a data table for determining a reception transfer size from a reception speed and a data table for determining a transmission transfer size from a transmission speed according to the embodiment;

【図3】ITU−Tの勧告T.30に規定されているフ
ァクシミリ通信手順の一例を示す説明図である。
[Fig. 3] ITU-T Recommendation T. FIG. 3 is an explanatory diagram showing an example of a facsimile communication procedure specified in 30.

【図4】本実施例において、受信時にDMAサイズを可
変にし、送信時にはDMAサイズを固定にする動作例を
示すフローチャートである。
FIG. 4 is a flowchart illustrating an operation example in which the DMA size is made variable during reception and the DMA size is fixed during transmission in the embodiment.

【図5】本実施例において、送信時にDMAサイズを可
変にし、受信時にはDMAサイズを固定にする動作例を
示すフローチャートである。
FIG. 5 is a flowchart illustrating an operation example in which the DMA size is made variable during transmission and the DMA size is fixed during reception in the embodiment.

【図6】図4、図5で説明したフローチャートの各工程
がROM1−2のどの部分にあるかを示す説明図であ
る。
FIG. 6 is an explanatory diagram showing in which part of the ROM1-2 each step of the flowchart described with reference to FIGS. 4 and 5 is located;

【図7】従来例の制御動作を示すフローチャートであ
る。
FIG. 7 is a flowchart showing a control operation of a conventional example.

【図8】上記従来例で用いる通信速度と転送サイズのデ
ータテーブルを示す説明図である。
FIG. 8 is an explanatory diagram showing a data table of a communication speed and a transfer size used in the conventional example.

【符号の説明】[Explanation of symbols]

1−1…CPU、 1−2…ROM、 1−3…RAM、 1−4…BUS、 1−5…DMAC、 1−6…MODEM、 1−7…NCU。 1-1 CPU, 1-2 ROM, 1-3 RAM, 1-4 BUS, 1-5 DMAC, 1-6 MODEM, 1-7 NCU.

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 DMA転送を用いたデータ通信が可能な
DMACを有する通信制御装置において、 通信の種類が送信か受信かを判別する送信受信判別手段
と、 受信速度を決定する受信速度決定手段と、 受信速度からDMAの転送サイズを決定する受信転送サ
イズ決定手段と、 前記DMACに前記転送サイズを設定する設定手段と、 を有することを特徴とする通信制御装置。
1. A communication control apparatus having a DMAC capable of performing data communication using DMA transfer, comprising: a transmission / reception determining means for determining whether the type of communication is transmission or reception; and a reception speed determining means for determining a reception speed. A communication control device, comprising: a reception transfer size determination unit that determines a DMA transfer size from a reception speed; and a setting unit that sets the transfer size in the DMAC.
【請求項2】 請求項1の通信制御装置において、 前記送信受信判別手段で通信の種類が受信と判別された
場合に、前記受信速度決定手段により決定された受信速
度を基に、前記受信転送サイズ決定手段により受信DM
Aの転送サイズを決定し、前記設定手段により前記受信
DMA転送サイズを設定することを特徴とする通信制御
装置。
2. The communication control device according to claim 1, wherein, when the type of communication is determined to be reception by the transmission / reception determination unit, the reception transfer is performed based on the reception speed determined by the reception speed determination unit. DM received by size determination means
A communication control device, wherein a transfer size of A is determined, and the setting means sets the receive DMA transfer size.
【請求項3】 請求項1の通信制御装置において、 前記送信受信判別手段で通信の種類が送信と判別された
場合に、前記受信速度決定手段と前記受信転送サイズ決
定手段による決定を行わず、前記設定手段により送信D
MAサイズを常に固定に設定することを特徴とする通信
制御装置。
3. The communication control device according to claim 1, wherein when the type of communication is determined to be transmission by the transmission / reception determination unit, the determination is not performed by the reception speed determination unit and the reception transfer size determination unit, Transmission D by the setting means
A communication control device wherein the MA size is always fixed.
【請求項4】 DMA転送を用いたデータ通信が可能な
DMACを有する通信制御装置において、 通信の種類が送信か受信かを判別する送信受信判別手段
と、 送信速度を決定する送信速度決定手段と、 送信速度からDMAの転送サイズを決定する送信転送サ
イズ決定手段と、 前記DMACに前記転送サイズを設定する設定手段と、 を有することを特徴とする通信制御装置。
4. A communication control device having a DMAC capable of performing data communication using DMA transfer, comprising: a transmission / reception determining means for determining whether the type of communication is transmission or reception; a transmission speed determining means for determining a transmission speed. A communication control device, comprising: a transmission transfer size determination unit that determines a DMA transfer size from a transmission speed; and a setting unit that sets the transfer size in the DMAC.
【請求項5】 請求項4の通信制御装置において、 前記送信受信判別手段で通信の種類が送信と判別された
場合に、前記送信速度決定手段により決定された送信速
度を基に、前記送信転送サイズ決定手段により送信DM
Aの転送サイズを決定し、前記設定手段により前記送信
DMA転送サイズを設定することを特徴とする通信制御
装置。
5. The communication control device according to claim 4, wherein when the type of communication is determined to be transmission by the transmission / reception determining unit, the transmission transfer is performed based on the transmission speed determined by the transmission speed determining unit. Send DM by size determination means
A communication control apparatus, wherein a transfer size of A is determined, and the setting means sets the transmission DMA transfer size.
【請求項6】 請求項4の通信制御装置において、 前記送信受信判別手段で通信の種類が受信と判別された
場合に、前記送信速度判別手段と前記送信転送サイズ決
定手段による決定を行わず、前記設定手段により受信D
MAサイズを常に固定に設定することを特徴とする通信
制御装置。
6. The communication control device according to claim 4, wherein when the type of communication is determined to be reception by the transmission / reception determination unit, the transmission speed determination unit and the transmission transfer size determination unit do not perform determination. Received by the setting means
A communication control device wherein the MA size is always fixed.
【請求項7】 DMA転送を用いたデータ通信が可能な
DMACを有する通信制御装置の制御方法において、 通信の種類が送信か受信かを判別する送信受信判別工程
と、 受信速度を決定する受信速度決定工程と、 受信速度からDMAの転送サイズを決定する受信転送サ
イズ決定工程と、 前記DMACに前記転送サイズを設定する設定工程と、 を有することを特徴とする通信制御装置の制御方法。
7. A method for controlling a communication control device having a DMAC capable of performing data communication using DMA transfer, comprising: a transmission / reception determining step of determining whether the type of communication is transmission or reception; and a reception speed determining a reception speed. A control method for a communication control device, comprising: a determining step; a receiving transfer size determining step of determining a DMA transfer size from a receiving speed; and a setting step of setting the transfer size in the DMAC.
【請求項8】 請求項7の通信制御装置の制御方法にお
いて、 前記送信受信判別工程で通信の種類が受信と判別された
場合に、前記受信速度決定工程により決定された受信速
度を基に、前記受信転送サイズ決定工程により受信DM
Aの転送サイズを決定し、前記設定工程により前記受信
DMA転送サイズを設定することを特徴とする通信制御
装置の制御方法。
8. The control method of the communication control device according to claim 7, wherein when the type of communication is determined to be reception in the transmission / reception determination step, based on the reception speed determined in the reception speed determination step, The receiving DM is determined by the receiving transfer size determining step.
A method for controlling a communication control device, comprising: determining a transfer size of A; and setting the receive DMA transfer size in the setting step.
【請求項9】 請求項7の通信制御装置の制御方法にお
いて、 前記送信受信判別工程で通信の種類が送信と判別された
場合に、前記受信速度決定工程と前記受信転送サイズ決
定工程による決定を行わず、前記設定工程により送信D
MAサイズを常に固定に設定することを特徴とする通信
制御装置の制御方法。
9. The control method of the communication control device according to claim 7, wherein when the type of communication is determined to be transmission in the transmission / reception determination step, the determination by the reception speed determination step and the reception transfer size determination step is performed. Not performed, transmission D by the setting process
A method for controlling a communication control device, characterized in that an MA size is always fixed.
【請求項10】 DMA転送を用いたデータ通信が可能
なDMACを有する通信制御装置の制御方法において、 通信の種類が送信か受信かを判別する送信受信判別工程
と、 送信速度を決定する送信速度決定工程と、 送信速度からDMAの転送サイズを決定する送信転送サ
イズ決定工程と、 前記DMACに前記転送サイズを設定する設定工程と、 を有することを特徴とする通信制御装置の制御方法。
10. A method for controlling a communication control device having a DMAC capable of performing data communication using DMA transfer, comprising: a transmission / reception determining step of determining whether the type of communication is transmission or reception; and a transmission speed determining a transmission speed. A control method for a communication control device, comprising: a determination step; a transmission transfer size determination step of determining a DMA transfer size from a transmission speed; and a setting step of setting the transfer size in the DMAC.
【請求項11】 請求項10の通信制御装置の制御方法
において、 前記送信受信判別工程で通信の種類が送信と判別された
場合に、前記送信速度決定工程により決定された送信速
度を基に、前記送信転送サイズ決定工程により送信DM
Aの転送サイズを決定し、前記設定工程により前記送信
DMA転送サイズを設定することを特徴とする通信制御
装置の制御方法。
11. The control method for a communication control device according to claim 10, wherein when the type of communication is determined to be transmission in the transmission / reception determination step, based on the transmission rate determined in the transmission rate determination step, The transmission DM is determined by the transmission transfer size determination step.
A method for controlling a communication control apparatus, comprising: determining a transfer size of A; and setting the transmission DMA transfer size in the setting step.
【請求項12】 請求項10の通信制御装置の制御方法
において、 前記送信受信判別工程で通信の種類が受信と判別された
場合に、前記送信速度判別工程と前記送信転送サイズ決
定工程による決定を行わず、前記設定工程により受信D
MAサイズを常に固定に設定することを特徴とする通信
制御装置の制御方法。
12. The control method of the communication control device according to claim 10, wherein when the type of communication is determined to be reception in the transmission / reception determination step, the determination by the transmission speed determination step and the transmission transfer size determination step is performed. Not performed, receiving D
A method for controlling a communication control device, characterized in that an MA size is always fixed.
【請求項13】 DMA転送を用いたデータ通信が可能
なDMACを有する通信制御装置の制御プログラムを記
憶したコンピュータ読取可能な記憶媒体において、 前記制御プログラムは、 通信の種類が送信か受信かを判別する送信受信判別工程
と、 受信速度を決定する受信速度決定工程と、 受信速度からDMAの転送サイズを決定する受信転送サ
イズ決定工程と、 前記DMACに前記転送サイズを設定する設定工程と、 を含むことを特徴とする記憶媒体。
13. A computer-readable storage medium storing a control program for a communication control device having a DMAC capable of performing data communication using DMA transfer, wherein the control program determines whether the type of communication is transmission or reception. A transmission / reception determining step of determining a receiving rate; a receiving rate determining step of determining a receiving rate; a receiving transfer size determining step of determining a DMA transfer size from the receiving rate; and a setting step of setting the transfer size in the DMAC. A storage medium characterized by the above-mentioned.
【請求項14】 請求項13の記憶媒体において、 前記制御プログラムは、前記送信受信判別工程で通信の
種類が受信と判別された場合に、前記受信速度決定工程
により決定された受信速度を基に、前記受信転送サイズ
決定工程により受信DMAの転送サイズを決定し、前記
設定工程により前記受信DMA転送サイズを設定するこ
とを特徴とする記憶媒体。
14. The storage medium according to claim 13, wherein the control program, based on the reception speed determined in the reception speed determination step, when the type of communication is determined to be reception in the transmission / reception determination step. A storage medium that determines a transfer size of a reception DMA in the reception transfer size determination step and sets the reception DMA transfer size in the setting step.
【請求項15】 請求項13の記憶媒体において、 前記送信受信判別工程で通信の種類が送信と判別された
場合に、前記受信速度決定工程と前記受信転送サイズ決
定工程による決定を行わず、前記設定工程により送信D
MAサイズを常に固定に設定することを特徴とする通信
制御装置の制御方法。
15. The storage medium according to claim 13, wherein when the type of communication is determined to be transmission in the transmission / reception determination step, the determination is not performed by the reception speed determination step and the reception transfer size determination step, Transmission D by setting process
A method for controlling a communication control device, characterized in that an MA size is always fixed.
【請求項16】 DMA転送を用いたデータ通信が可能
なDMACを有する通信制御装置の制御プログラムを記
憶したコンピュータ読取可能な記憶媒体において、 前記制御プログラムは、 通信の種類が送信か受信かを判別する送信受信判別工程
と、 送信速度を決定する送信速度決定工程と、 送信速度からDMAの転送サイズを決定する送信転送サ
イズ決定工程と、 前記DMACに前記転送サイズを設定する設定工程と、 を含むことを特徴とする記憶媒体。
16. A computer-readable storage medium storing a control program for a communication control device having a DMAC capable of performing data communication using DMA transfer, wherein the control program determines whether the type of communication is transmission or reception. A transmission / reception determining step of determining the transmission rate; a transmission rate determining step of determining a transmission rate; a transmission transfer size determining step of determining a DMA transfer size from the transmission rate; and a setting step of setting the transfer size in the DMAC. A storage medium characterized by the above-mentioned.
【請求項17】 請求項16の記憶媒体において、 前記送信受信判別工程で通信の種類が送信と判別された
場合に、前記送信速度決定工程により決定された送信速
度を基に、前記送信転送サイズ決定工程により送信DM
Aの転送サイズを決定し、前記設定工程により前記送信
DMA転送サイズを設定することを特徴とする記憶媒
体。
17. The storage medium according to claim 16, wherein when the type of communication is determined to be transmission in the transmission / reception determination step, the transmission transfer size is determined based on the transmission rate determined in the transmission rate determination step. DM sent by the decision process
A storage medium for determining the transfer size of A and setting the transmission DMA transfer size in the setting step.
【請求項18】 請求項16の記憶媒体において、 前記送信受信判別工程で通信の種類が受信と判別された
場合に、前記送信速度判別工程と前記送信転送サイズ決
定工程による決定を行わず、前記設定工程により受信D
MAサイズを常に固定に設定することを特徴とする記憶
媒体。
18. The storage medium according to claim 16, wherein when the type of communication is determined to be reception in the transmission / reception determination step, the determination is not performed by the transmission speed determination step and the transmission transfer size determination step. Receive D by setting process
A storage medium characterized in that the MA size is always fixed.
JP11022586A 1999-01-29 1999-01-29 Communication controller Pending JP2000222344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11022586A JP2000222344A (en) 1999-01-29 1999-01-29 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11022586A JP2000222344A (en) 1999-01-29 1999-01-29 Communication controller

Publications (1)

Publication Number Publication Date
JP2000222344A true JP2000222344A (en) 2000-08-11

Family

ID=12086970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11022586A Pending JP2000222344A (en) 1999-01-29 1999-01-29 Communication controller

Country Status (1)

Country Link
JP (1) JP2000222344A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011215957A (en) * 2010-03-31 2011-10-27 Fujitsu Ltd Storage controller, storage system, and storage control method
US8329593B2 (en) 2007-12-12 2012-12-11 Applied Materials, Inc. Method and apparatus for removing polymer from the wafer backside and edge

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8329593B2 (en) 2007-12-12 2012-12-11 Applied Materials, Inc. Method and apparatus for removing polymer from the wafer backside and edge
JP2011215957A (en) * 2010-03-31 2011-10-27 Fujitsu Ltd Storage controller, storage system, and storage control method

Similar Documents

Publication Publication Date Title
JPS6010876A (en) Facsimile communication control system
US6285466B1 (en) Facsimile communication system
US7751091B2 (en) Communication terminal
US6335803B1 (en) Facsimile communication system
JP2000222344A (en) Communication controller
CA2238156C (en) Facsimile communication system
JPH07107255A (en) Image information transfer control system
JP3674072B2 (en) Facsimile communication method and facsimile apparatus
JPH10178494A (en) Communication terminal equipment, communication system and communication control method
JP2000222317A (en) Communication controller
JP3409812B2 (en) Facsimile modem
JP3282132B2 (en) Facsimile machine
JPH1174983A (en) Data communication equipment
JP2000341342A (en) Device and method for communication
JPH0614175A (en) Information transmission equipment
JPH09312749A (en) Transmission control system for facsimile equipment
JP2001203869A (en) Facsimile gateway system
JP4396800B2 (en) Facsimile apparatus and facsimile communication method
JP3281617B2 (en) Data processing method
JP3022376B2 (en) Facsimile apparatus capable of changing communication speed and communication speed changing method
JP3144319B2 (en) Facsimile machine
JPH01191524A (en) Correction system for line distortion
JPH0681074B2 (en) Data transmission method
JPH07162552A (en) Communication equipment
JP2003309711A (en) Facsimile communication apparatus