JP2003218977A - Communication apparatus, communication control method thereof, and program - Google Patents

Communication apparatus, communication control method thereof, and program

Info

Publication number
JP2003218977A
JP2003218977A JP2002009099A JP2002009099A JP2003218977A JP 2003218977 A JP2003218977 A JP 2003218977A JP 2002009099 A JP2002009099 A JP 2002009099A JP 2002009099 A JP2002009099 A JP 2002009099A JP 2003218977 A JP2003218977 A JP 2003218977A
Authority
JP
Japan
Prior art keywords
data
transmission
communication device
frame
amount
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.)
Granted
Application number
JP2002009099A
Other languages
Japanese (ja)
Other versions
JP3486182B2 (en
Inventor
Shinichi Yamagiwa
伸一 山際
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP2002009099A priority Critical patent/JP3486182B2/en
Publication of JP2003218977A publication Critical patent/JP2003218977A/en
Application granted granted Critical
Publication of JP3486182B2 publication Critical patent/JP3486182B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the number of times of establishing processing (arbitration) of a transmission enabled state in a data input/output section 4 and the overhead in communication control so as to decrease a communication delay, thereby increasing the communication speed between communication apparatuses. <P>SOLUTION: When a data frame generating means 9 discriminates packet transmission in a transmission buffer 2, the frame generating means 9 continues transmission by counting the amount of receptible data of an opposite party and discriminating whether the amount of counted data has reached the amount of data. Further, even when the amount of the data of the transmission packet has reached the amount of data the opposite party can receive, if a data frame analysis means 7 detects the receptible amount of data of the opposite party from received data frames newly stored in a reception buffer 3, the communication apparatus continuously transmits packets in a transmission buffer 2 by using a continue word. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は一対一で接続され
る通信装置に係わり、特に、通信装置及びその通信制御
方法とプログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-to-one connected communication device, and more particularly to a communication device, a communication control method therefor, and a program.

【0002】[0002]

【従来の技術】従来、複数台のコンピュータを接続して
システムやアプリケーションの処理能力を向上させるク
ラスタコンピューティングでは、イーサーネット上でT
CP/IPなどの通信プロトコルを使用する広域ネット
ワークを対象とした通信装置及び通信制御方法を用い
て、複数台のコンピュータを接続していた。このような
広域のネットワークを対象とした通信装置及び制御方法
を用いたクラスタでは、セキュリティ処理やエラー回復
処理や品質保証処理などの高級な通信制御方法を用いて
おり、この場合、その通信制御方法の冗長な処理がオー
バーヘッドとなって通信遅延が増加し、システム全体の
性能を低下させる要因となっている。上述のような広域
ネットワークを対象とする通信制御方法では、データ入
出力を制御するデータ入出力部が送信可能状態に移行し
た際、送信バッファに蓄積があると判断したデータだけ
に関してデータフレーム生成処理を行い、相手側通信装
置にデータフレーム送信していた。また、通信装置は一
度データフレームを送信すると、相手側通信装置からの
受信完了の通知を待ってから次のデータフレームの送信
処理を開始していた。
2. Description of the Related Art Conventionally, in cluster computing in which a plurality of computers are connected to improve the processing capacity of a system or an application, T on an Ethernet is used.
A plurality of computers have been connected using a communication device and a communication control method for a wide area network using a communication protocol such as CP / IP. In a cluster using a communication device and a control method for such a wide area network, a high-grade communication control method such as security processing, error recovery processing, quality assurance processing, etc. is used. Redundant processing becomes an overhead, communication delay increases, and it becomes a factor that reduces the performance of the entire system. In the communication control method for the wide area network as described above, when the data input / output unit that controls the data input / output shifts to the transmittable state, the data frame generation processing is performed only on the data determined to be accumulated in the transmission buffer. Then, the data frame was transmitted to the other communication device. Further, once a communication device transmits a data frame, it waits for a notification of reception completion from the partner communication device and then starts transmission processing of the next data frame.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
通信装置及びその通信制御方法おいては、新たに送信バ
ッファに蓄積したデータを送信する際に、再度、データ
入出力部が送信可能状態の確立作業(アービトレーショ
ン)の処理と、データフレームを1から構成する処理を
繰り返すことが必要となり、これが通信制御におけるオ
ーバーヘッドとなって通信の遅延が発生してしまうこと
となる。また、通信装置内部のデバイス間における通信
処理及び、通信装置間における通信処理において、送信
側は受信側の受信完了通知を待たなければ次のデータ送
信を行わないため、データ転送に遅延が発生し、通信速
度が遅くなってしまう。そこでこの発明は、アービトレ
ーションの処理回数が少ない機能を備え、さらに通信装
置間の通信処理において送信側通信装置が受信側通信装
置から受信可能データ量情報の通知を受けて、受信側通
信装置が受信可能なデータ量を継続的に送信する機能を
備えた、通信装置及びその通信制御方法とプログラムを
提供することを目的としている。
However, in the above communication device and the communication control method thereof, when the data stored in the transmission buffer is newly transmitted, the data input / output unit again establishes the transmission ready state. It is necessary to repeat the process of work (arbitration) and the process of composing a data frame from one, which becomes an overhead in communication control and causes a communication delay. In addition, in the communication processing between the devices inside the communication apparatus and the communication processing between the communication apparatuses, the transmission side does not perform the next data transmission until it waits for the reception completion notification from the reception side. , Communication speed becomes slow. Therefore, the present invention has a function of reducing the number of arbitration processes, and in the communication process between communication devices, the transmitting communication device receives the notification of the receivable data amount information from the receiving communication device, and the receiving communication device receives the information. An object of the present invention is to provide a communication device, a communication control method thereof, and a program having a function of continuously transmitting a possible amount of data.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、相手側通信装置とのデー
タ入出力を制御するデータ入出力部と、前記相手側通信
装置より送られたデータフレームを解析し、前記相手側
通信装置の受信可能な相手側受信可能データ量を検出す
るデータフレーム解析手段と、前記相手側通信装置から
の受信データを一時蓄積する受信データ蓄積部と、前記
受信データ蓄積部内のデータ容量を監視し、空き容量情
報を検出する受信データ蓄積部容量検出手段と、前記相
手側通信装置への送信データを一時蓄積する送信データ
蓄積部と、前記送信データ蓄積部を監視して送信データ
の蓄積を検出する送信データ蓄積部監視手段と、前記相
手側受信可能データ量に基づいたデータ量の送信データ
と、前記空き容量情報を組み込んだ前記送信データのフ
レームヘッダとを生成するデータフレーム生成手段と、
前記データ入出力部を介して前記相手側通信装置に前記
送信データを送信するデータフレーム送信手段とを備
え、前記データフレーム解析手段が上記送信データの送
信終了前に相手側受信可能データ量を検出した場合、こ
の相手側受信可能データ量に基づいた新たな送信データ
の生成と、新たな送信データを継続する旨の送信継続情
報の生成とがデータフレーム生成手段により行われ、デ
ータフレーム送信手段が送信中の送信データに継続して
その送信継続情報と新たな送信データとを送信する機能
を備えることを特徴とする通信装置である。
In order to achieve the above object, the invention according to claim 1 is a data input / output unit for controlling data input / output with a communication device on the other side, and a communication device from the communication device on the other side. Data frame analysis means for analyzing the sent data frame and detecting the amount of receivable data that can be received by the communication device on the other side, and a received data storage unit for temporarily storing the data received from the communication device on the other side. A reception data storage unit capacity detecting means for monitoring the data capacity in the reception data storage unit and detecting free space information; a transmission data storage unit for temporarily storing transmission data to the partner communication device; Transmission data storage unit monitoring means for monitoring the data storage unit to detect the storage of transmission data, transmission data of a data amount based on the receivable data amount of the other side, and the free space A data frame generation means for generating a frame header of the transmission data incorporating the distribution,
A data frame transmitting means for transmitting the transmission data to the communication device on the other side via the data input / output unit, and the data frame analyzing means detects the receivable data amount on the communication partner side before the transmission of the transmission data is completed. In this case, the data frame generation means performs generation of new transmission data based on this receivable data amount on the other side and generation of transmission continuation information indicating that the new transmission data is continued, and the data frame transmission means A communication device having a function of continuously transmitting the transmission continuation information and new transmission data to the transmission data being transmitted.

【0005】また、請求項2に記載の発明は、請求項1
に記載の通信装置において、前記データフレーム生成手
段が、相手側受信可能データ量に基づき前記相手側通信
装置の受信データ蓄積部がデータ許容量の上限に達した
ことを検出すると、新たに前記データフレーム解析手段
によって前記相手側受信装置の受信データ蓄積部の空き
容量情報が検出されるまでデータフレームの生成を行わ
ないことを特徴とする。
The invention described in claim 2 is the same as claim 1.
In the communication device according to, when the data frame generation unit detects that the reception data storage unit of the communication device on the other end has reached the upper limit of the data allowance based on the receivable data amount on the other end, the data is newly added. It is characterized in that the data frame is not generated until the frame analysis means detects the free space information of the received data storage unit of the receiving device on the other side.

【0006】また、請求項3に記載の発明は、請求項1
に記載の通信装置において、前記データフレーム生成手
段が、前記受信データ蓄積部の空き容量情報が減少した
ことを検知し、かつ送信データが存在しないことを検知
した場合、前記空き容量情報を組み込んだフレームヘッ
ダのみを生成してフレームヘッダのみの送信を決定し、
前記空き容量情報を前記相手側通信装置に示すことを特
徴とする。
The invention described in claim 3 is the same as claim 1
In the communication device according to the item (1), when the data frame generation unit detects that the free space information of the reception data storage unit has decreased and that there is no transmission data, the free space information is incorporated. Generate only the frame header and decide to send only the frame header,
The free space information is indicated to the partner communication device.

【0007】また、請求項4に記載の発明は、請求項1
に記載の通信装置において、前記データフレーム生成手
段がデータフレームの送信終了時のみに、フレームヘッ
ダの生成以降にそのフレームヘッダに継続して送信した
送信データの総量をチェックするチェックサム情報を生
成し、前記データフレーム送信手段へ送信依頼を行うこ
とを特徴とする。
The invention according to claim 4 is the same as claim 1
In the communication device according to the item (1), the data frame generation unit generates checksum information for checking the total amount of transmission data continuously transmitted to the frame header after generation of the frame header only at the end of transmission of the data frame. The transmission request is sent to the data frame transmitting means.

【0008】また、請求項5に記載の発明は、請求項1
に記載の通信装置において、前記空き容量情報が、フレ
ームヘッダのみならず送信継続情報の中にも組み込まれ
ることを特徴とする。
The invention described in claim 5 is the same as claim 1.
In the communication device described in the above item 1, the free space information is incorporated in not only the frame header but also the transmission continuation information.

【0009】また、請求項6に記載の発明は、相手側通
信装置とのデータ入出力を制御するデータ入出力制御過
程と、前記相手側通信装置より送られたデータフレーム
を解析し、前記相手側通信装置の受信可能な相手側受信
可能データ量を検出するデータフレーム解析過程と、前
記相手側通信装置からの受信データを受信データ蓄積部
に一時蓄積する受信データ蓄積過程と、前記受信データ
蓄積部内のデータ容量を監視し、空き容量情報を検出す
る受信データ蓄積部容量検出過程と、前記相手側通信装
置への送信データを送信データ蓄積部に一時蓄積する送
信データ蓄積過程と、前記送信データ蓄積部を監視して
送信データの蓄積を検出する送信データ蓄積部監視過程
と、前記相手側受信可能データ量に基づいたデータ量の
送信データと、前記空き容量情報を組み込んだ前記送信
データのフレームヘッダとを生成するデータフレーム生
成過程と、前記データ入出力部を介して前記相手側通信
装置に前記送信データを送信するデータフレーム送信過
程とを備え、前記データフレーム解析過程において上記
送信データの送信終了前に相手側受信可能データ量を検
出した場合、この相手側受信可能データ量に基づいた新
たな送信データの生成と、新たな送信データを継続する
旨の送信継続情報の生成とがデータフレーム生成過程に
より行われ、データフレーム送信過程が送信中の送信デ
ータに継続してその送信継続情報と新たな送信データと
を送信する機能を備えることを特徴とする通信制御方法
である。
According to a sixth aspect of the present invention, the data input / output control process for controlling data input / output to / from the partner communication device and the data frame sent from the partner communication device are analyzed, A data frame analysis step of detecting the amount of receivable data that can be received by the other communication device, a received data storage step of temporarily storing received data from the other communication device in a received data storage section, and the received data storage A reception data storage unit capacity detection process of monitoring the data capacity in the unit and detecting free space information; a transmission data storage process of temporarily storing transmission data to the partner communication device in the transmission data storage unit; A transmission data storage unit monitoring process for monitoring the storage unit to detect the accumulation of transmission data; transmission data of a data amount based on the receivable data amount of the other side; A data frame generation step of generating a frame header of the transmission data incorporating free space information, and a data frame transmission step of transmitting the transmission data to the counterpart communication device via the data input / output unit, In the data frame analysis process, when the other party's receivable data amount is detected before the transmission of the transmission data is completed, new transmission data is generated based on the other party's receivable data amount, and new transmission data is continued. Generation of the transmission continuation information to the effect is performed by the data frame generation process, and the data frame transmission process has a function of continuously transmitting the transmission continuation information and new transmission data to the transmission data being transmitted. Is a communication control method.

【0010】また、請求項7に記載の発明は、相手側通
信装置とのデータ入出力を制御するデータ入出力制御処
理と、前記相手側通信装置より送られたデータフレーム
を解析し、前記相手側通信装置の受信可能な相手側受信
可能データ量を検出するデータフレーム解析処理と、前
記相手側通信装置からの受信データを受信データ蓄積部
に一時蓄積する受信データ蓄積処理と、前記受信データ
蓄積部内のデータ容量を監視し、空き容量情報を検出す
る受信データ蓄積部容量検出処理と、前記相手側通信装
置への送信データを送信データ蓄積部に一時蓄積する送
信データ蓄積処理と、前記送信データ蓄積部を監視して
送信データの蓄積を検出する送信データ蓄積部監視処理
と、前記相手側受信可能データ量に基づいたデータ量の
送信データと、前記空き容量情報を組み込んだ前記送信
データのフレームヘッダとを生成するデータフレーム生
成処理と、前記データ入出力部を介して前記相手側通信
装置に前記送信データを送信するデータフレーム送信処
理とを備え、前記データフレーム解析処理において上記
送信データの送信終了前に相手側受信可能データ量を検
出した場合、この相手側受信可能データ量に基づいた新
たな送信データの生成と、新たな送信データを継続する
旨の送信継続情報の生成とがデータフレーム生成処理に
より行われ、データフレーム送信処理が送信中の送信デ
ータに継続してその送信継続情報と新たな送信データと
を送信する機能を備えることを特徴とする通信制御プロ
グラムである。
The invention according to claim 7 is a data input / output control process for controlling data input / output to / from a partner communication device, and a data frame sent from the partner communication device is analyzed to A data frame analysis process for detecting the amount of receivable data that can be received by the other communication device, a received data storage process for temporarily storing received data from the other communication device in a received data storage unit, and the received data storage Received data storage unit capacity detection processing for monitoring the internal data capacity and detecting free capacity information, transmission data storage processing for temporarily storing transmission data to the other communication device in the transmission data storage unit, and transmission data A transmission data storage unit monitoring process of monitoring the storage unit to detect the accumulation of transmission data; transmission data of a data amount based on the receivable data amount of the other side; A data frame generation process for generating a frame header of the transmission data incorporating free space information, and a data frame transmission process for transmitting the transmission data to the partner communication device via the data input / output unit, When the other party's receivable data amount is detected before the transmission of the transmission data is completed in the data frame analysis processing, new transmission data is generated based on the other party's receivable data amount, and new transmission data is continued. Generation of the transmission continuation information to that effect is performed by the data frame generation processing, and the data frame transmission processing has a function of continuously transmitting the transmission continuation information and new transmission data to the transmission data being transmitted. Is a communication control program.

【0011】[0011]

【発明の実施の形態】以下、図面を参照し、本発明の一
実施形態について説明する。図1は、この発明の一実施
形態による通信装置の構成を示す図である。この図にお
いて符号1は通信装置、2は送信データを一時蓄積する
送信バッファ(送信データ蓄積部)、3は受信データを
一時蓄積する受信バッファ(受信データ蓄積部)、4は
データ入出力を制御するデータ入出力部、5は相手側通
信装置、6は受信バッファ3の空き容量を検知する受信
データ蓄積部容量検出手段、7はデータ入出力部4で受
信したデータフレームを解析し相手側通信装置5の受信
可能データ量を検出するデータフレーム解析手段、8は
送信バッファ2を監視して送信データの蓄積を検知する
送信データ蓄積部監視手段、9はフレームヘッダや送信
継続情報やチェックサムを生成し初回送信データや継続
送信データの送信データ量を決定するデータフレーム生
成手段、10はデータフレーム生成手段9から受けたデ
ータを送信するデータフレーム送信手段である。
DETAILED DESCRIPTION OF THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a configuration of a communication device according to an embodiment of the present invention. In this figure, reference numeral 1 is a communication device, 2 is a transmission buffer (transmission data storage section) for temporarily storing transmission data, 3 is a reception buffer (reception data storage section) for temporarily storing reception data, and 4 is data input / output control. A data input / output unit, 5 is a communication device on the other side, 6 is a receiving data storage unit capacity detecting means for detecting the free space of the receiving buffer 3, and 7 is a communication on the other side by analyzing the data frame received by the data input / output unit 4. Data frame analysis means for detecting the amount of receivable data of the device 5, 8 is a transmission data storage monitoring means for monitoring the transmission buffer 2 to detect the accumulation of transmission data, and 9 is a frame header, transmission continuation information and a checksum. The data frame generation means 10 for generating and determining the transmission data amount of the first transmission data or the continuous transmission data receives the data received from the data frame generation means 9. A data frame transmitting unit for signal.

【0012】次に上述した通信装置の動作を図1、図
2、図3、図4を参照して詳細に説明する。図2は送信
と受信の各データの伝送経路を別々の物理媒体として保
持した図1に示す通信装置を1対1で接続した場合のイ
メージを示す図である。図3は同実施形態の通信装置制
御における受信処理のフローチャートを示す図である。
図4は同実施形態の通信装置制御における送信処理のフ
ローチャートを示す図である。図3のフローチャートよ
り、まず、受信データ蓄積部容量検出手段6は、受信バ
ッファ3における受信データ容量の増減の検出を行い、
相手側通信装置5からのデータ受信の検出もしくは、既
に受信データが蓄積している場合は、受信データが内部
に取り込まれて受信バッファ3内のデータ容量が減少し
たことを検知する(ステップS1)。通信装置間で送信
されるデータフレームは図2に示すように、データフレ
ームの先端部に付属し通信装置1の受信バッファ3の空
き容量情報が格納されるフレームヘッダと、送信データ
の本体であるパケットと、送信の継続を行うパケットの
データ量情報を格納するコンティニューワード(送信継
続情報)と、データフレームの最後に付属しデータフレ
ームの通信エラーの検出ができるチェックサムの4つの
部位で構成されている。なお、フレームヘッダに格納し
ている受信バッファの空き容量情報はクレジットと呼ば
れる。
Next, the operation of the above-described communication device will be described in detail with reference to FIGS. 1, 2, 3, and 4. FIG. 2 is a diagram showing an image in the case where the communication devices shown in FIG. 1 having transmission and reception data transmission paths held as separate physical media are connected in a one-to-one correspondence. FIG. 3 is a diagram showing a flowchart of a reception process in the communication device control of the same embodiment.
FIG. 4 is a view showing a flowchart of a transmission process in the communication device control of the same embodiment. From the flowchart of FIG. 3, first, the received data storage unit capacity detection means 6 detects an increase or decrease in the received data capacity in the reception buffer 3,
Detection of data reception from the communication device 5 on the other side, or if the received data has already been accumulated, it is detected that the received data is taken in and the data capacity in the reception buffer 3 has decreased (step S1). . As shown in FIG. 2, the data frame transmitted between the communication devices is a frame header attached to the tip of the data frame and storing the free space information of the reception buffer 3 of the communication device 1, and the main body of the transmission data. It consists of four parts: a packet, a continuation word (transmission continuation information) that stores information about the amount of data in the packet that continues transmission, and a checksum that is attached to the end of the data frame and that can detect communication errors in the data frame. ing. The free space information of the receiving buffer stored in the frame header is called credit.

【0013】ステップS1において、相手側通信装置5
から送信されたデータフレームの受信を検知すると、次
に、データフレーム解析手段7が受信データフレーム内
のフレームヘッダに格納されているクレジットから相手
側通信装置5の受信バッファ3の空き容量(相手側受信
可能データ量)を検出する。また、受信データ蓄積部容
量検出手段6が受信可能なデータ量がどのくらいなのか
を受信バッファ3の空き容量から検出する(ステップS
2)。相手側通信装置5の受信バッファ空き容量の検出
は、この量以上のデータフレームを相手側通信装置5に
送信しないことで相手側通信装置5の受信バッファのデ
ータ溢れを防ぐよう制御することを目的としており、受
信バッファ3における受信可能なデータ量の検出は、相
手側通信装置5に通信装置1の受信バッファ空き容量を
示し、受信バッファ溢れを起こすような大量のデータを
送信しないよう制御することを相手側通信装置5に通知
することを目的としている。
In step S1, the other communication device 5
When the reception of the data frame transmitted from the device is detected, the data frame analysis means 7 then determines the free space in the reception buffer 3 of the communication device 5 on the other side from the credit stored in the frame header of the received data frame (on the other side). Receivable data amount) is detected. In addition, the amount of data that can be received by the reception data storage unit capacity detection means 6 is detected from the free capacity of the reception buffer 3 (step S).
2). The detection of the free space of the receiving buffer of the partner communication device 5 is intended to perform control so as to prevent data overflow of the receive buffer of the partner communication device 5 by not transmitting a data frame larger than this amount to the partner communication device 5. Therefore, the detection of the amount of receivable data in the reception buffer 3 is performed by indicating to the partner communication device 5 the free space of the reception buffer of the communication device 1 and controlling so as not to transmit a large amount of data that causes the reception buffer overflow. The purpose is to notify the communication device 5 of the other party.

【0014】次に、受信データ蓄積部容量検出手段6と
データフレーム解析手段7は、ステップS2において検
出した相手側通信装置5の受信バッファ空き容量情報
と、通信装置1の受信バッファの空き容量情報を、それ
ぞれデータフレーム生成手段9に通知する(ステップS
3)。そして受信データ蓄積部容量検出手段6は受信バ
ッファ3内のデータフレームをさらに内部へ転送する処
理を内部デバイスに許可する(ステップS4)。ここ
で、受信バッファ3内のデータが通信装置1の内部に転
送されることで、受信バッファ3の空き容量が増える。
受信データ蓄積部容量検出手段6は、受信バッファ3の
空き容量をデータフレーム生成手段9に通知する(ステ
ップS5)。
Next, the reception data storage section capacity detecting means 6 and the data frame analyzing means 7 detect the free space information of the receiving buffer of the partner communication apparatus 5 detected in step S2 and the free capacity information of the receiving buffer of the communication apparatus 1. To the data frame generation means 9 (step S).
3). Then, the reception data storage unit capacity detecting means 6 permits the internal device to perform the process of further transferring the data frame in the reception buffer 3 to the inside (step S4). Here, since the data in the reception buffer 3 is transferred to the inside of the communication device 1, the free capacity of the reception buffer 3 increases.
The reception data storage unit capacity detection unit 6 notifies the data frame generation unit 9 of the free space of the reception buffer 3 (step S5).

【0015】一方送信処理は、図4のフローチャートで
示すように、まず、データフレーム生成手段9が、送信
データ蓄積部監視手段8による送信バッファ2内のデー
タ蓄積検知報告と、受信データ蓄積部容量検出手段6に
よる受信バッファ3内のデータ量減少報告の通知を検出
するまで待機する(ステップS6)。送信バッファ2に
蓄積する送信データは、パケットと呼ばれる小さなデー
タ単位でのデータ蓄積が行われるので、送信バッファ2
には複数のパケットが蓄積していることなる。ステップ
S6においてデータフレーム生成手段9が送信データ蓄
積部監視手段8によるパケットの蓄積検知報告を受ける
と、データフレーム生成手段9はステップS3でデータ
フレーム解析手段7より得た相手側通信装置5の受信可
能なデータ量の確認と、受信データ蓄積部容量検出手段
6より得られる受信バッファ3の受信バッファ空き容量
の確認を行う(ステップS7)。ここで相手側通信装置
5の受信可能なデータ量が把握出来ていない場合や相手
側通信装置5において受信可能なだけのバッファ空き容
量がないと判断した場合、データフレーム生成手段9は
送信処理を中止しステップS6へ戻る。
On the other hand, in the transmission process, as shown in the flowchart of FIG. 4, first, the data frame generation means 9 causes the transmission data storage part monitoring means 8 to detect the data storage detection report in the transmission buffer 2 and the received data storage part capacity. The process waits until the detection unit 6 detects the notification of the data amount decrease report in the reception buffer 3 (step S6). The transmission data stored in the transmission buffer 2 is stored in small data units called packets, so the transmission buffer 2
It means that multiple packets are stored in. When the data frame generation means 9 receives the packet accumulation detection report from the transmission data storage part monitoring means 8 in step S6, the data frame generation means 9 receives the partner communication device 5 obtained from the data frame analysis means 7 in step S3. The confirmation of the possible data amount and the reception buffer free space of the reception buffer 3 obtained from the reception data storage unit capacity detection means 6 are confirmed (step S7). Here, when it is not possible to grasp the receivable data amount of the partner communication device 5 or when it is determined that the partner communication device 5 does not have a buffer free capacity that can be received, the data frame generation means 9 performs the transmission process. Cancel and return to step S6.

【0016】ステップS7においてデータフレーム生成
手段9は、相手側通信装置5の受信バッファに空き容量
があることを検知すると、ステップS7で確認を取った
受信バッファ3の空き容量情報を組み込んだフレームヘ
ッダを生成し、データフレーム送信手段10がそのフレ
ームヘッダを送信する(ステップS8)。受信バッファ
3の空き容量情報はクレジットと呼ばれ、相手側通信装
置5はこのクレジットを解析することで、通信装置1の
受信可能なデータ量を検出し、そのデータ量分のデータ
フレームを生成することとなる。
In step S7, when the data frame generation means 9 detects that the receiving buffer of the partner communication device 5 has free space, the frame header incorporating the free space information of the receiving buffer 3 confirmed in step S7. And the data frame transmitting means 10 transmits the frame header (step S8). The free space information of the reception buffer 3 is called a credit, and the partner communication device 5 analyzes the credit to detect the receivable data amount of the communication device 1 and generate a data frame for the data amount. It will be.

【0017】次に、データフレーム生成手段9は、送信
バッファ2に蓄積している送信データであるパケットを
相手側通信装置5の受信可能なデータ量を判断しながら
ステップS8で生成したフレームヘッダに継続して、デ
ータフレーム送信手段10に送出する。送信バッファ2
はFIFO(First In First Out)
バッファであるため、パケットは送信バッファ2に蓄積
したパケットの蓄積順どおりにデータフレーム送信手段
10によって送信される。
Next, the data frame generation means 9 determines the packet, which is the transmission data accumulated in the transmission buffer 2, as the frame header generated in step S8 while judging the amount of data that can be received by the partner communication device 5. The data frame is continuously transmitted to the data frame transmitting means 10. Send buffer 2
Is a FIFO (First In First Out)
Since it is a buffer, the packets are transmitted by the data frame transmitting means 10 in the accumulation order of the packets accumulated in the transmission buffer 2.

【0018】送信バッファ2に蓄積しているパケットの
送信においてデータフレーム生成手段9は、データフレ
ーム解析手段7から得た相手側受信可能データ量をカウ
ントすることとなる。このカウントによって相手側通信
装置5に送信できるパケット量の限度を検知できる。デ
ータフレーム生成手段9は、相手側通信装置5の受信可
能なデータ量以下であれば送信バッファ2内の複数のパ
ケットを同時に送信できると決定でき、データフレーム
送信手段10に決定した複数のパケットの送信を通知す
る。そして、データフレーム生成手段9は、送信したパ
ケットが相手側受信可能データ量に達したかどうかを相
手側受信可能データ量のカウントにより判断し、また、
相手側受信可能データ量に達する前に送信バッファ2の
パケットが全て送信されるかどうかを監視する(ステッ
プS9)。
In the transmission of the packets accumulated in the transmission buffer 2, the data frame generation means 9 counts the amount of receivable data of the other side obtained from the data frame analysis means 7. With this count, it is possible to detect the limit of the amount of packets that can be transmitted to the other communication device 5. The data frame generation means 9 can determine that a plurality of packets in the transmission buffer 2 can be transmitted at the same time if the amount of data that can be received by the communication device 5 on the other side is equal to or smaller than that, and the data frame transmission means 10 can determine the number of packets Notify the transmission. Then, the data frame generation means 9 determines whether or not the transmitted packet has reached the receivable data amount on the partner side by counting the receivable data amount on the partner side, and
It is monitored whether all the packets in the transmission buffer 2 are transmitted before reaching the receivable data amount on the partner side (step S9).

【0019】ステップS9においてデータフレーム送信
手段10がパケットを送信している間にも、送信バッフ
ァ2や受信バッファ3にはパケットの蓄積が発生する。
また、送信したパケットの合計がデータフレーム生成手
段9のカウントしている相手側受信可能データ量に達し
た際に送信バッファ2内の幾つかのパケットが送信され
ずに残る状況が発生する。ステップS9においてデータ
フレーム生成手段9が相手側受信可能データ量をカウン
トし、そのデータ量に達する直前の最終パケットの送信
を決定する時、データフレーム生成手段9はステップS
3においてデータフレーム解析手段7から相手側受信可
能データ量が増えたという通知を受けたかどうか確認す
る(ステップS10)。
While the data frame transmitting means 10 is transmitting packets in step S9, packets are accumulated in the transmission buffer 2 and the reception buffer 3.
In addition, when the total number of transmitted packets reaches the amount of receivable data on the other side counted by the data frame generation means 9, some packets in the transmission buffer 2 remain untransmitted. When the data frame generation means 9 counts the amount of receivable data on the other side in step S9 and determines the transmission of the final packet immediately before reaching the data amount, the data frame generation means 9 operates in step S9.
In step 3, it is confirmed whether or not the notification that the amount of receivable data on the other side has increased has been received from the data frame analysis means 7 (step S10).

【0020】相手側受信可能データ量が増えたことを把
握した場合、データフレーム生成手段9は、ステップS
9での最終パケットの送信時に、新たに送信バッファ2
に蓄積したパケットを送信する旨の情報を保持したコン
ティニューワードを生成し、データフレーム送信手段1
0がそのコンティニューワードを送信する(ステップS
11)。コンティニューワードは、その後に続くデータ
の量を表すための継続データ量情報を保持している。こ
れにより相手側通信装置5はコンティニューワードの後
にどのくらいの量のデータが続いて通信装置1からパケ
ットが送信されるのかを判断することができる。なお、
コンティニューワードにはフレームヘッダ内に組み込ま
れるクレジットと同じように、受信バッファ3の空き容
量情報が組み込まれても良い。これにより、相手側通信
装置5はコンティニューワードからも送信可能なデータ
量を把握することが可能となる。次にステップS9に戻
り、データフレーム解析手段7より得た相手側受信可能
データ量の情報をカウントしながら、ステップS11で
送信したコンティニューワードに続けて送信バッファ2
に蓄積するパケットの送信をデータフレーム生成手段9
が決定し、データフレーム送信手段10がパケットの送
信を行う。
When it is determined that the amount of receivable data on the other side has increased, the data frame generation means 9 performs step S
At the time of sending the last packet in 9, a new send buffer 2
The data frame transmitting means 1 generates a continue word holding information indicating that the packet stored in
0 sends the continue word (step S
11). The continue word holds continuation data amount information for indicating the amount of data that follows. As a result, the other communication device 5 can determine how much data follows the continue word and the packet is transmitted from the communication device 1. In addition,
The continue word may include free space information of the reception buffer 3 as in the credit included in the frame header. As a result, the partner communication device 5 can grasp the amount of data that can be transmitted from the continue word. Next, returning to step S9, while counting the information on the receivable data amount of the other side obtained from the data frame analyzing means 7, the continuation word transmitted in step S11 is followed by the transmission buffer 2
Data frame generation means 9 for transmitting packets to be stored in
Then, the data frame transmitting means 10 transmits the packet.

【0021】送信バッファ2に蓄積したパケットの送信
の継続はステップS9とステップS10で繰り返し行わ
れるが、ステップS9において、フレームヘッダ送信後
に送信した送信パケットの総データ量が、相手側受信可
能データ量に達する前に送信バッファ2内のパケットが
全て送信されて無くなってしまった場合や、ステップS
10において、相手側受信可能データ量の増加がないと
データフレーム解析手段7が判断した場合には、データ
フレーム生成手段9がフレームヘッダ送信後から最後に
送信したパケットの合計データ量をチェックするチェッ
クサム情報を生成する。そして、データフレーム送信手
段10がこのチェックサム情報を、最後に送信したパケ
ットに継続して送信する(ステップS12)。
The transmission of the packets accumulated in the transmission buffer 2 is repeated in steps S9 and S10. In step S9, the total data amount of the transmission packets transmitted after the frame header is transmitted is the receivable data amount of the other side. If all the packets in the transmission buffer 2 have been transmitted before reaching the
In 10, when the data frame analysis means 7 determines that the receivable data amount on the other side does not increase, the data frame generation means 9 checks the total data amount of the packet transmitted last after transmitting the frame header. Generates thumb information. Then, the data frame transmitting means 10 continuously transmits this checksum information to the last transmitted packet (step S12).

【0022】送信処理の第1過程であるステップS6に
おいて、データフレーム生成手段9が受信データ蓄積部
容量検出手段6より受信バッファ3内のデータ量減少を
検知した旨の通知を受けると(ステップS13)、デー
タフレーム生成手段9は送信データ蓄積部監視手段8を
経由して送信バッファ2内に送信データがあるかどうか
を把握する(ステップS14)。
In step S6, which is the first step of the transmission process, when the data frame generation means 9 receives a notification from the received data storage capacity detection means 6 that the decrease in the amount of data in the reception buffer 3 has been detected (step S13). ), The data frame generation means 9 grasps whether or not there is transmission data in the transmission buffer 2 via the transmission data storage part monitoring means 8 (step S14).

【0023】データフレーム生成手段9は、ステップS
14において送信バッファ2内に送信データがないこと
を確認すると、受信データ蓄積部容量検出手段6が検知
した受信バッファ3の空き容量情報を組み込んでフレー
ムヘッダを生成し、このフレームヘッダのみの送信を行
うようデータフレーム送信手段10に、生成したフレー
ムヘッダ渡す(ステップS15)。ステップS15で生
成したフレームヘッダには送信バッファ2内にパケット
がないためフレームヘッダのみで送信されるが、このフ
レームヘッダのみのデータフレームをNULLフレーム
と呼ぶ。データフレー送信手段10がNULLフレーム
をデータ入出力部4経由で相手側通信装置5に送信する
(ステップS16)。
The data frame generation means 9 has a step S.
When it is confirmed that there is no transmission data in the transmission buffer 2 in 14, a frame header is generated by incorporating the free space information of the reception buffer 3 detected by the reception data storage unit capacity detection means 6, and only this frame header is transmitted. The generated frame header is passed to the data frame transmitting means 10 so as to be performed (step S15). Since there is no packet in the transmission buffer 2 in the frame header generated in step S15, only the frame header is transmitted, and a data frame having only this frame header is called a NULL frame. The data frame transmitting means 10 transmits the NULL frame to the partner communication device 5 via the data input / output unit 4 (step S16).

【0024】NULLフレームは通信装置1における受
信バッファ3の受信可能データ量の変化を相手側通信装
置5に知らせるために生成される。送信パケットの送信
時には送信パケットの送信前にフレームヘッダを送信
し、そのフレームヘッダに受信データ蓄積部容量検出手
段6が検出した受信可能なデータ量情報を組み込むた
め、相手側通信装置5に受信バッファ3の受信可能なデ
ータ量を伝えることができるが、送信バッファ2に送信
データの蓄積がなくなりデータフレームが通信装置1か
ら送信されない状態が続くと、相手側通信装置5に通信
装置1の受信可能なデータ量の情報が通知されなくな
り、結局、相手側通信装置5から通信装置1に送信する
データフレームも送信できずに滞ってしまう。これを解
消するために、受信バッファ3内のデータ容量の減少を
検知し、かつ送信バッファ2に送信するパケットがない
場合は、受信可能なデータ量を示すクレジットを組み込
んだフレームヘッダのみのNULLフレームを送信する
こととなる。
The NULL frame is generated in order to notify the partner communication device 5 of the change in the receivable data amount of the receiving buffer 3 in the communication device 1. At the time of transmitting the transmission packet, the frame header is transmitted before the transmission packet is transmitted, and the receivable data amount information detected by the reception data storage unit capacity detecting means 6 is incorporated into the frame header. 3 can transmit the receivable data amount, but when the transmission data is not accumulated in the transmission buffer 2 and the data frame is not transmitted from the communication device 1, the other communication device 5 can receive the communication device 1. Information of a large amount of data is not notified, and eventually, the data frame transmitted from the communication device 5 on the other side to the communication device 1 cannot be transmitted and is delayed. In order to solve this, when the decrease in the data capacity in the reception buffer 3 is detected and there is no packet to be transmitted to the transmission buffer 2, a NULL frame having only a frame header incorporating a credit indicating the receivable data amount. Will be sent.

【0025】上述の通信制御方法は、送信データフレー
ムと受信データフレームを伝送するための伝送経路を別
々に保持し、さらに受信バッファ3の空き容量情報(ク
レジット)を組み込んだNULLフレームを伝送するた
めの専用伝送経路についても送信NULLフレームと受
信NULLフレームを伝送する伝送経路を別々に保持す
る物理媒体を用いた通信制御方法も提供する。この物理
媒体を用いて、図1に示す通信装置を1対1で接続した
場合のイメージを図5に示す。この通信制御方法におい
てデータフレーム生成手段9は受信バッファ3の空き容
量を示す情報であるクレジットをヘッダに組み込まな
い。送受信のデータを伝送する伝送経路とは別に設けら
れた専用の伝送経路上を伝わってクレジットの組み込ま
れたフレームヘッダを持つNULLフレームが相手側通
信装置5に送信される通信制御方法である。
In the above-mentioned communication control method, the transmission paths for transmitting the transmission data frame and the reception data frame are separately held, and the NULL frame in which the free space information (credit) of the reception buffer 3 is incorporated is transmitted. Also provided is a communication control method using a physical medium that separately holds a transmission path for transmitting a transmission NULL frame and a transmission path for transmitting a reception NULL frame. FIG. 5 shows an image when the communication devices shown in FIG. 1 are connected one-to-one using this physical medium. In this communication control method, the data frame generation means 9 does not incorporate the credit, which is the information indicating the free capacity of the reception buffer 3, into the header. This is a communication control method in which a NULL frame having a frame header with credits is transmitted along a dedicated transmission path provided separately from a transmission path for transmitting and receiving data, and is transmitted to the partner communication device 5.

【0026】また、送信と受信のデータフレームの伝送
経路が同一の伝送経路である物理媒体を用いた通信制御
方法も提供する。この物理媒体を用いて、図1に示す通
信装置を1対1で接続した場合のイメージを図6に示
す。この通信制御方法において受信バッファ3の空き容
量を示す情報であるクレジットは、データフレーム生成
手段9によってフレームヘッダに組み込まれる。しかし
ながらこの通信制御方法においては片方の通信装置がデ
ータフレームを送信中の場合はもう一方の通信装置から
のデータフレームやNULLフレームの送信はできな
い。よって通信装置1が相手側受信可能データ量に達す
るまでデータを送信した場合には、その時点でデータフ
レームの送信を終了する。通信装置1はその後、相手側
通信装置5からのデータフレームもしくはNULLフレ
ームを受信するまで送信は行わない。また、通信装置1
の送信バッファ2に蓄積するパケットが相手側受信可能
データ量に達する前に全て送信されてしまった場合は、
必ず通信装置1はNULLフレームを生成し、データフ
レーム送信手段10がこのNULLフレームを送信す
る。これによって相手側通信装置5に通信完了を通知
し、受信可能なデータ量を示すことができる。
Also provided is a communication control method using a physical medium in which the transmission paths of transmission and reception data frames are the same transmission path. FIG. 6 shows an image when the communication devices shown in FIG. 1 are connected one-to-one using this physical medium. In this communication control method, the credit, which is information indicating the free space of the reception buffer 3, is incorporated in the frame header by the data frame generation means 9. However, according to this communication control method, when one communication device is transmitting a data frame, the other communication device cannot transmit a data frame or a NULL frame. Therefore, when the communication device 1 has transmitted data until the reception side reaches the receivable data amount on the other side, the transmission of the data frame ends at that point. After that, the communication device 1 does not perform transmission until it receives the data frame or the NULL frame from the partner communication device 5. Also, the communication device 1
If all the packets accumulated in the transmission buffer 2 of have been transmitted before reaching the receivable data amount on the other side,
The communication device 1 always generates a NULL frame, and the data frame transmitting means 10 transmits this NULL frame. With this, it is possible to notify the other communication device 5 of the completion of communication and indicate the amount of data that can be received.

【0027】また、図6に示す通信制御方式において、
通信装置1から相手側通信装置5への片方向のデータフ
レームの送信のみが可能な通信制御方法も提供する。こ
の場合、相手側通信装置5から通信装置1へのデータ送
信はNULLフレームのみであり、データフレームの送
信はできない。NULLフレームにより相手側通信装置
5の受信可能なデータ量を通信装置1に通知することが
できる。
Further, in the communication control system shown in FIG.
There is also provided a communication control method capable of only transmitting a one-way data frame from the communication device 1 to the partner communication device 5. In this case, data transmission from the partner communication device 5 to the communication device 1 is only the NULL frame, and the data frame cannot be transmitted. It is possible to notify the communication device 1 of the amount of data that can be received by the other communication device 5 by the NULL frame.

【0028】また、送信データフレームと受信データフ
レームの伝送経路が同一で、受信バッファの空き容量情
報(クレジット)を組み込んだNULLフレームのみの
専用伝送経路が別となる物理媒体を用いた通信制御方法
も提供する。この物理媒体を用いて、図1に示す通信装
置を1対1で接続した場合のイメージを図7に示す。こ
の通信制御方法においてデータフレーム生成手段9は受
信用バッファの空き容量を示す情報のクレジットをヘッ
ダに組み込まない。送受信データを伝送する伝送経路と
は別に設けられた専用の伝送経路上を伝わってクレジッ
トの組み込まれたフレームヘッダを持つNULLフレー
ムが送信される通信制御方法である。この通信制御方法
においては片方の通信装置がデータフレームを送信中の
場合、もう一方の通信装置からのデータフレームの送信
はできない。
A communication control method using a physical medium in which the transmission paths of the transmission data frame and the reception data frame are the same, and the dedicated transmission path of only the NULL frame incorporating the free space information (credit) of the reception buffer is different. Also provide. FIG. 7 shows an image when the communication devices shown in FIG. 1 are connected one-to-one using this physical medium. In this communication control method, the data frame generation means 9 does not incorporate the credit of information indicating the free capacity of the reception buffer in the header. This is a communication control method in which a NULL frame having a frame header in which credits are incorporated is transmitted along a dedicated transmission path provided separately from a transmission path for transmitting and receiving data. In this communication control method, when one communication device is transmitting a data frame, the other communication device cannot transmit the data frame.

【0029】また、図7に示す通信制御方式において、
通信装置1から相手側通信装置5への片方向のデータフ
レームの送信のみが可能な通信制御方法も提供する。こ
の場合NULLフレームの専用伝送経路では、相手側通
信装置5から通信装置1の伝送方向へのみNULLフレ
ーム送信されることとなる。NULLフレームにより相
手側通信装置5の受信可能なデータ量を通信装置1に通
知することができる。
Further, in the communication control system shown in FIG.
There is also provided a communication control method capable of only transmitting a one-way data frame from the communication device 1 to the partner communication device 5. In this case, the NULL frame is transmitted only from the partner communication device 5 in the transmission direction of the communication device 1 on the dedicated transmission path of the NULL frame. It is possible to notify the communication device 1 of the amount of data that can be received by the other communication device 5 by the NULL frame.

【0030】[0030]

【発明の効果】以上説明したように、この発明によれ
ば、データフレーム生成手段が、相手側通信装置から送
られたデータフレームより相手側受信可能データ量情報
に基づいた相手側受信可能データ量分のデータ量を決定
し、送信バッファに蓄積した複数のパケットを一度に相
手側通信装置に送るので、送信側通信装置は相手側受信
可能データ量に全く達しないような少ないパケット量を
繰り替えし送信するという送信回数の増大を招くような
オーバーヘッドを削減することができる。また、送信し
たパケットのデータ量が相手側受信可能データ量に達し
た場合でも、フレームヘッダ生成時から最終パケットの
送信時までの間に新たに相手側受信可能データ量の増加
を検出した場合には、送信側通信装置がコンティニュー
ワードを用いて送信バッファに蓄積するパケットをアー
ビトレーション処理を行わずに継続的に送信する機能を
備えることにより、通信制御処理のオーバーヘッドであ
るアービトレーションの回数の削減を図ることができ
る。これにより通信の遅延を抑え、通信速度を上げるこ
とが可能となる。
As described above, according to the present invention, the data frame generation means is capable of receiving another party's receivable data amount based on the other party's receivable data amount information from the data frame sent from the other party's communication device. Minute data amount is determined and a plurality of packets accumulated in the transmission buffer are sent to the communication device on the other side at a time, so the communication device on the transmitting side repeats a small packet amount that does not reach the receivable data amount on the other side at all. It is possible to reduce the overhead that causes an increase in the number of times of transmission. In addition, even if the data amount of the transmitted packet reaches the receivable data amount on the other side, if an increase in the receivable data amount on the other side is newly detected between the time when the frame header is generated and the time when the final packet is transmitted, Aims to reduce the number of arbitrations, which is the overhead of communication control processing, by providing the function that the communication device on the transmitting side continuously transmits packets stored in the transmission buffer using the continue word without performing arbitration processing. be able to. This makes it possible to suppress the communication delay and increase the communication speed.

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

【図1】 この発明の一実施形態による通信装置の構成
を示す図である
FIG. 1 is a diagram showing a configuration of a communication device according to an embodiment of the present invention.

【図2】 送信と受信の各データの伝送経路を別々の物
理媒体として保持した図1に示す通信装置を1対1で接
続した場合のイメージを示す図である。
FIG. 2 is a diagram showing an image in the case where the communication devices shown in FIG. 1 in which transmission paths for transmission and reception data are held as separate physical media are connected one-to-one.

【図3】 同実施形態における通信装置の受信処理のフ
ローチャートを示す図である。
FIG. 3 is a diagram showing a flowchart of a reception process of the communication device in the embodiment.

【図4】 同実施形態における通信装置の送信処理のフ
ローチャートを示す図である。
FIG. 4 is a diagram showing a flowchart of a transmission process of the communication device in the embodiment.

【図5】 送信データフレーム、受信データフレーム、
送信NULLフレーム、受信NULLフレームを伝送す
るための伝送経路がそれぞれ別となる物理媒体を用い
て、図1に示す通信装置を1対1で接続した場合のイメ
ージを示す図である。
FIG. 5 is a transmission data frame, a reception data frame,
It is a figure which shows the image at the time of connecting the communication apparatus shown in FIG. 1 one-to-one using the physical medium from which the transmission path for transmitting the transmission NULL frame and the reception NULL frame differs, respectively.

【図6】 送信と受信のデータフレームの伝送経路が同
一の伝送経路である物理媒体を用いて、図1に示す通信
装置を1対1で接続した場合のイメージを示す図であ
る。
FIG. 6 is a diagram showing an image when the communication devices shown in FIG. 1 are connected one-to-one using a physical medium in which the transmission paths of transmission and reception data frames are the same transmission path.

【図7】 送信データフレームと受信データフレームの
伝送経路が同一で、NULLフレームを伝送するための
伝送経路のみが別となる物理媒体を用いて、図1に示す
通信装置を1対1で接続した場合のイメージを示す図で
ある。
7 is a one-to-one connection of the communication devices shown in FIG. 1 using a physical medium in which the transmission paths of the transmission data frame and the reception data frame are the same, and only the transmission path for transmitting the NULL frame is different. It is a figure which shows the image at the time of doing.

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

1 通信装置 2 送信バッファ 3 受信バッファ 4 データ入出力部 5 相手側通信装置 6 受信データ蓄積部容量検出手段 7 データフレーム解析手段 8 送信データ蓄積部監視手段 9 データフレーム生成手段 10 データフレーム送信手段 1 communication device 2 Send buffer 3 Receive buffer 4 Data input / output section 5 Other party's communication device 6 Received data storage unit capacity detection means 7 Data frame analysis means 8 Transmission data storage unit monitoring means 9 Data frame generation means 10 data frame transmission means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 相手側通信装置とのデータ入出力を制御
するデータ入出力部と、 前記相手側通信装置より送られたデータフレームを解析
し、前記相手側通信装置の受信可能な相手側受信可能デ
ータ量を検出するデータフレーム解析手段と、 前記相手側通信装置からの受信データを一時蓄積する受
信データ蓄積部と、 前記受信データ蓄積部内のデータ容量を監視し、空き容
量情報を検出する受信データ蓄積部容量検出手段と、 前記相手側通信装置への送信データを一時蓄積する送信
データ蓄積部と、 前記送信データ蓄積部を監視して送信データの蓄積を検
出する送信データ蓄積部監視手段と、 前記相手側受信可能データ量に基づいたデータ量の送信
データと、前記空き容量情報を組み込んだ前記送信デー
タのフレームヘッダとを生成するデータフレーム生成手
段と、 前記データ入出力部を介して前記相手側通信装置に前記
送信データを送信するデータフレーム送信手段とを備
え、 前記データフレーム解析手段が上記送信データの送信終
了前に相手側受信可能データ量を検出した場合、この相
手側受信可能データ量に基づいた新たな送信データの生
成と、新たな送信データを継続する旨の送信継続情報の
生成とがデータフレーム生成手段により行われ、データ
フレーム送信手段が送信中の送信データに継続してその
送信継続情報と新たな送信データとを送信する機能を備
えることを特徴とする通信装置。
1. A data input / output unit for controlling data input / output to / from a communication device on the other side, and a data frame sent from the communication device on the other side to analyze and receive data on the other side that can be received by the communication device to the other side. A data frame analysis unit that detects a possible data amount, a reception data storage unit that temporarily stores the reception data from the partner communication device, a reception unit that monitors the data capacity in the reception data storage unit, and detects free space information. A data storage unit capacity detection unit, a transmission data storage unit that temporarily stores transmission data to the other communication device, and a transmission data storage unit monitoring unit that monitors the transmission data storage unit and detects storage of transmission data. , A data for generating transmission data of a data amount based on the receivable data amount of the other side, and a frame header of the transmission data incorporating the free space information. Data frame generating means and data frame transmitting means for transmitting the transmission data to the communication device on the other side via the data input / output unit, and the data frame analyzing means before the end of transmission of the transmission data on the other side. When the amount of receivable data is detected, the data frame generation means performs generation of new transmission data based on the amount of receivable data of the other side and generation of transmission continuation information indicating that the new transmission data will be continued. A communication device, wherein the data frame transmitting unit has a function of continuously transmitting the transmission data being transmitted and the transmission continuation information and new transmission data.
【請求項2】 前記データフレーム生成手段は、相手側
受信可能データ量に基づき前記相手側通信装置の受信デ
ータ蓄積部がデータ許容量の上限に達したことを検出す
ると、新たに前記データフレーム解析手段によって前記
相手側受信装置の受信データ蓄積部の空き容量情報が検
出されるまでデータフレームの生成を行わないことを特
徴とする請求項1に記載の通信制御装置。
2. When the data frame generation means detects that the received data storage unit of the communication device on the other end has reached the upper limit of the data allowable amount based on the receivable data amount on the other side, the data frame analysis is newly performed. 2. The communication control device according to claim 1, wherein the data frame is not generated until the means detects the free space information of the reception data storage unit of the receiving device on the other side.
【請求項3】 前記データフレーム生成手段は、前記受
信データ蓄積部の空き容量情報が減少したことを検知
し、かつ送信データが存在しないことを検知した場合、
前記空き容量情報を組み込んだフレームヘッダのみを生
成してフレームヘッダのみの送信を決定し、前記空き容
量情報を前記相手側通信装置に示すことを特徴とする請
求項1に記載の通信装置。
3. The data frame generation means, when detecting that the free space information of the reception data storage unit has decreased and detecting that there is no transmission data,
2. The communication device according to claim 1, wherein only the frame header incorporating the free space information is generated, transmission of only the frame header is decided, and the free space information is shown to the partner communication device.
【請求項4】 前記データフレーム生成手段はデータフ
レームの送信終了時のみに、フレームヘッダの生成以降
にそのフレームヘッダに継続して送信した送信データの
総量をチェックするチェックサム情報を生成し、前記デ
ータフレーム送信手段へ送信依頼を行うことを特徴とす
る請求項1に記載の通信装置。
4. The data frame generation means generates checksum information for checking the total amount of transmission data continuously transmitted to the frame header after generation of the frame header only at the end of transmission of the data frame, The communication device according to claim 1, wherein a transmission request is made to the data frame transmission means.
【請求項5】 前記空き容量情報は、フレームヘッダの
みならず送信継続情報の中にも組み込まれることを特徴
とする請求項1に記載の通信装置。
5. The communication device according to claim 1, wherein the free space information is incorporated not only in the frame header but also in the transmission continuation information.
【請求項6】 相手側通信装置とのデータ入出力を制御
するデータ入出力制御過程と、 前記相手側通信装置より送られたデータフレームを解析
し、前記相手側通信装置の受信可能な相手側受信可能デ
ータ量を検出するデータフレーム解析過程と、 前記相手側通信装置からの受信データを受信データ蓄積
部に一時蓄積する受信データ蓄積過程と、 前記受信データ蓄積部内のデータ容量を監視し、空き容
量情報を検出する受信データ蓄積部容量検出過程と、 前記相手側通信装置への送信データを送信データ蓄積部
に一時蓄積する送信データ蓄積過程と、 前記送信データ蓄積部を監視して送信データの蓄積を検
出する送信データ蓄積部監視過程と、 前記相手側受信可能データ量に基づいたデータ量の送信
データと、前記空き容量情報を組み込んだ前記送信デー
タのフレームヘッダとを生成するデータフレーム生成過
程と、 前記データ入出力部を介して前記相手側通信装置に前記
送信データを送信するデータフレーム送信過程とを備
え、 前記データフレーム解析過程において上記送信データの
送信終了前に相手側受信可能データ量を検出した場合、
この相手側受信可能データ量に基づいた新たな送信デー
タの生成と、新たな送信データを継続する旨の送信継続
情報の生成とがデータフレーム生成過程により行われ、
データフレーム送信過程が送信中の送信データに継続し
てその送信継続情報と新たな送信データとを送信する機
能を備えることを特徴とする通信制御方法。
6. A data input / output control process for controlling data input / output to / from a communication device on the other side, and a data frame sent from the communication device on the other side is analyzed, and the reception side of the communication device on the other side is receivable. A data frame analysis process for detecting the amount of receivable data, a reception data accumulation process for temporarily accumulating the reception data from the partner communication device in the reception data accumulation unit, and a data capacity in the reception data accumulation unit for monitoring Received data storage unit for detecting capacity information Capacity detection process, transmission data storage process for temporarily storing transmission data to the partner communication device in the transmission data storage unit, and monitoring of the transmission data storage unit for transmission data A transmission data accumulation unit monitoring process for detecting accumulation, transmission data of a data amount based on the receivable data amount of the other side, and the free space information are incorporated. A data frame generation step of generating a frame header of the transmission data; and a data frame transmission step of transmitting the transmission data to the counterpart communication device via the data input / output unit, wherein the data frame analysis step comprises: If the other party's receivable data amount is detected before the transmission of the above transmission data is completed,
Generation of new transmission data based on the receivable data amount on the other side, and generation of transmission continuation information to continue new transmission data are performed in the data frame generation process,
A communication control method comprising a function of continuously transmitting transmission continuation information and new transmission data in a transmission process of a data frame in a transmission process.
【請求項7】 相手側通信装置とのデータ入出力を制御
するデータ入出力制御処理と、 前記相手側通信装置より送られたデータフレームを解析
し、前記相手側通信装置の受信可能な相手側受信可能デ
ータ量を検出するデータフレーム解析処理と、 前記相手側通信装置からの受信データを受信データ蓄積
部に一時蓄積する受信データ蓄積処理と、 前記受信データ蓄積部内のデータ容量を監視し、空き容
量情報を検出する受信データ蓄積部容量検出処理と、 前記相手側通信装置への送信データを送信データ蓄積部
に一時蓄積する送信データ蓄積処理と、 前記送信データ蓄積部を監視して送信データの蓄積を検
出する送信データ蓄積部監視処理と、 前記相手側受信可能データ量に基づいたデータ量の送信
データと、前記空き容量情報を組み込んだ前記送信デー
タのフレームヘッダとを生成するデータフレーム生成処
理と、 前記データ入出力部を介して前記相手側通信装置に前記
送信データを送信するデータフレーム送信処理とを備
え、 前記データフレーム解析処理において上記送信データの
送信終了前に相手側受信可能データ量を検出した場合、
この相手側受信可能データ量に基づいた新たな送信デー
タの生成と、新たな送信データを継続する旨の送信継続
情報の生成とがデータフレーム生成処理により行われ、
データフレーム送信処理が送信中の送信データに継続し
てその送信継続情報と新たな送信データとを送信する機
能を備えることを特徴とする通信制御プログラム。
7. A data input / output control process for controlling data input / output to / from a communication device on the other side, and a data frame sent from the communication device on the other side is analyzed, and the reception side of the communication device on the other side is receivable. A data frame analysis process for detecting the amount of receivable data, a reception data accumulation process for temporarily accumulating the reception data from the partner communication device in the reception data accumulation unit, and a data capacity in the reception data accumulation unit for monitoring Received data storage unit capacity detection processing for detecting capacity information, transmission data storage processing for temporarily storing transmission data to the partner communication device in the transmission data storage unit, and monitoring of the transmission data storage unit for transmission data A transmission data accumulation unit monitoring process for detecting accumulation, transmission data of a data amount based on the receivable data amount of the other party, and the free space information are incorporated. A data frame generation process for generating a frame header of the transmission data; and a data frame transmission process for transmitting the transmission data to the counterpart communication device via the data input / output unit. If the other party's receivable data amount is detected before the transmission of the above transmission data is completed,
Generation of new transmission data based on this receivable data amount on the other side and generation of transmission continuation information to continue new transmission data are performed by the data frame generation processing,
A communication control program, wherein the data frame transmission process has a function of continuously transmitting the transmission continuation information and new transmission data to the transmission data being transmitted.
JP2002009099A 2002-01-17 2002-01-17 Communication device and communication control method and program therefor Expired - Fee Related JP3486182B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002009099A JP3486182B2 (en) 2002-01-17 2002-01-17 Communication device and communication control method and program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002009099A JP3486182B2 (en) 2002-01-17 2002-01-17 Communication device and communication control method and program therefor

Publications (2)

Publication Number Publication Date
JP2003218977A true JP2003218977A (en) 2003-07-31
JP3486182B2 JP3486182B2 (en) 2004-01-13

Family

ID=27647189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002009099A Expired - Fee Related JP3486182B2 (en) 2002-01-17 2002-01-17 Communication device and communication control method and program therefor

Country Status (1)

Country Link
JP (1) JP3486182B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008536430A (en) * 2005-04-13 2008-09-04 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Electronic device and flow control method
JP2009231975A (en) * 2008-03-19 2009-10-08 Sony Corp Information processing unit, information processing method, client equipment, and information processing system
JP2015186154A (en) * 2014-03-25 2015-10-22 キヤノン株式会社 Communication device, control method and program
WO2016158203A1 (en) * 2015-03-30 2016-10-06 本田技研工業株式会社 Communication system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008536430A (en) * 2005-04-13 2008-09-04 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Electronic device and flow control method
JP2009231975A (en) * 2008-03-19 2009-10-08 Sony Corp Information processing unit, information processing method, client equipment, and information processing system
JP4557028B2 (en) * 2008-03-19 2010-10-06 ソニー株式会社 Information processing apparatus, information processing method, client device, information processing system
US8874756B2 (en) 2008-03-19 2014-10-28 Sony Corporation Information processing unit, information processing method, client device and information processing system
JP2015186154A (en) * 2014-03-25 2015-10-22 キヤノン株式会社 Communication device, control method and program
WO2016158203A1 (en) * 2015-03-30 2016-10-06 本田技研工業株式会社 Communication system
JP2016192597A (en) * 2015-03-30 2016-11-10 本田技研工業株式会社 Communication system
US10447527B2 (en) 2015-03-30 2019-10-15 Honda Motor Co., Ltd. Communication system

Also Published As

Publication number Publication date
JP3486182B2 (en) 2004-01-13

Similar Documents

Publication Publication Date Title
US6625118B1 (en) Receiver based congestion control
KR101137164B1 (en) Controlling admission of data streams onto a network based on end-to-end measurements
US6535482B1 (en) Congestion notification from router
US6222825B1 (en) Arrangement for determining link latency for maintaining flow control in full-duplex networks
CN101867511B (en) Pause frame sending method, associated equipment and system
EP2760182B1 (en) Data communication apparatus, data transmission method, and computer system
KR20140145096A (en) Flow control with reduced buffer usage for network devices
CN110808873A (en) Method and device for detecting link failure
US6680910B1 (en) Network interface unit
EP0955749A1 (en) Receiver based congestion control and congestion notification from router
JP3486182B2 (en) Communication device and communication control method and program therefor
CN110233856A (en) Message processing method, device and computer readable storage medium
US7649906B2 (en) Method of reducing buffer usage by detecting missing fragments and idle links for multilink protocols and devices incorporating same
JP5483807B2 (en) Elevator remote monitoring communication system
JP2000216813A (en) Error compensation method and error compensation device using the method
JPH1056470A (en) Network communication control equipment
US20060013137A1 (en) Network interface unit
US20020198988A1 (en) Communication monitoring system in which monitoring server is connected with network
WO2023115678A1 (en) Data communication methods and apparatuses, electronic device and storage medium
US9887927B2 (en) End-to-end credit recovery
WO1998035307A2 (en) Media access control architectures and network management systems
KR100823130B1 (en) Apparatus and method for managing network processor
JP4627267B2 (en) Broadcast communication equipment
JP4001061B2 (en) Fault processing apparatus for information processing apparatus and network controller
JP5013952B2 (en) Monitoring control method and communication apparatus

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030917

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees