JP5532775B2 - Communication system and retransmission buffer capacity measuring apparatus - Google Patents

Communication system and retransmission buffer capacity measuring apparatus Download PDF

Info

Publication number
JP5532775B2
JP5532775B2 JP2009209479A JP2009209479A JP5532775B2 JP 5532775 B2 JP5532775 B2 JP 5532775B2 JP 2009209479 A JP2009209479 A JP 2009209479A JP 2009209479 A JP2009209479 A JP 2009209479A JP 5532775 B2 JP5532775 B2 JP 5532775B2
Authority
JP
Japan
Prior art keywords
packet
retransmission
data
retransmission buffer
receiving apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009209479A
Other languages
Japanese (ja)
Other versions
JP2011061536A (en
Inventor
宜之 夏川
義則 下迫田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009209479A priority Critical patent/JP5532775B2/en
Publication of JP2011061536A publication Critical patent/JP2011061536A/en
Application granted granted Critical
Publication of JP5532775B2 publication Critical patent/JP5532775B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Description

本発明は、例えばPCIエキスプレス(PCI Express)規格に準拠するリンク伝送路を用いて、再送バッファを有する再送可能な通信システムにおいて、対向デバイスの再送バッファの容量を認識する通信システム及び再送バッファ容量の測定装置に関する。   The present invention relates to a communication system for recognizing the capacity of a retransmission buffer of an opposite device and a capacity of the retransmission buffer in a re-transmissible communication system having a retransmission buffer by using a link transmission line compliant with, for example, the PCI Express standard. It relates to a measuring device.

近年、PCボード上のLSI間の通信、PCボード間の通信及び比較的短いケーブルを介する装置間の通信などの通信において、第3世代のPC用インターフェース規格であるPCIエキスプレスが採用されている(非特許文献1参照。)。ここで、PCボードはCPUと、CPUをPCIエキスプレスリンクに接続するルートコンプレックスデバイスと、ルートコンプレックスデバイスにPCIエキスプレスリンクを介して接続されたエンドポイントデバイスと、基準クロック信号発生回路とを備えて構成される。ここで、エンドポイントデバイスは、グラフィックスカード又はUSBホストコントローラなどの半導体回路である。また、PCIエキスプレスリンクは、少なくとも1組の片方向の差動伝送路を含むデュアルシンプレックス方式のリンク伝送路である。   In recent years, PCI Express, which is a third generation PC interface standard, has been adopted in communications such as communications between LSIs on PC boards, communications between PC boards, and communications between devices via a relatively short cable ( (Refer nonpatent literature 1.). The PC board includes a CPU, a root complex device that connects the CPU to the PCI express link, an endpoint device connected to the root complex device via the PCI express link, and a reference clock signal generation circuit. Is done. Here, the endpoint device is a semiconductor circuit such as a graphics card or a USB host controller. The PCI Express link is a dual simplex type link transmission line including at least one set of unidirectional differential transmission lines.

コンピュータ間のデータパケットの通信においては、信頼性のあるデータ配送を維持するために、送信装置からのデータパケットを誤りなく受信したときには、受信装置は確認応答を送信側に返すようにしている。このような通信システムにおいて、例えば特許文献1は、送信局と受信局間でのパケット通信において、送信局がDTパケットの送信時刻を記録し、該パケットに対応する肯定応答パケットであるACK(acknowledge)パケットの受信時刻を測定する手段を備え、ACKパケットの受信時刻と対応するDTパケットの送信時刻の差から往復応答時間を算出する手段と、ACKパケットの受信間隔を測定する手段と、上記応答往復時間と上記受信間隔とに基づいて最適なウインドウサイズを計算する手段とを備えた通信システムを開示している。   In communication of data packets between computers, in order to maintain reliable data delivery, when a data packet from a transmission device is received without error, the reception device returns an acknowledgment to the transmission side. In such a communication system, for example, Patent Document 1 discloses that in packet communication between a transmission station and a reception station, the transmission station records the transmission time of the DT packet and is an acknowledgment packet corresponding to the packet. ) Comprising means for measuring the reception time of the packet, means for calculating a round-trip response time from the difference between the reception time of the ACK packet and the transmission time of the corresponding DT packet, means for measuring the reception interval of the ACK packet, and the response A communication system comprising a means for calculating an optimum window size based on the round trip time and the reception interval is disclosed.

しかしながら、特許文献1に開示された従来技術は、送信装置内に配置されたパケット再送のためのバッファのサイズと、受信装置からの確認応答の送信遅延(送信間隔)との関係を最適化することを意図したものではなかった。この問題点を解決するために、特許文献2においては、パケット再送用バッファのサイズと確認応答の送信遅延(間隔)を最適化することができる通信システムを提供するために、「送信装置と受信装置とが通信可能に接続された通信システムであって、上記送信装置は、データパケットを上記受信装置に送信するためのパケット送信部と、上記送信装置から上記受信装置に送信されるデータパケットを再送用として保持する再送バッファと、を具備し、上記受信装置は、上記送信装置からのデータパケットを受信して当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答かあるいは上記パケットが承認されなかったことを示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、を具備し、上記送信装置はさらに、上記送信部から上記データパケットを送信してから、上記受信装置からの上記肯定応答を受信するまでの遅延時間を測定する遅延時間測定部と、上記遅延時間測定部で測定された遅延時間と、上記再送バッファの容量とに基づいて、上記確認応答送信部での肯定応答の送信間隔の適否を判断し、当該判断結果に基づいて上記肯定応答の送信間隔を変更する指示を上記受信装置に送信する送信間隔指示部とを具備したこと」を特徴としている。   However, the conventional technique disclosed in Patent Document 1 optimizes the relationship between the size of a buffer for packet retransmission arranged in a transmission device and the transmission delay (transmission interval) of an acknowledgment from the reception device. It was not intended. In order to solve this problem, Japanese Patent Application Laid-Open No. 2004-228688 discloses a “transmission apparatus and reception” in order to provide a communication system capable of optimizing the size of the packet retransmission buffer and the transmission delay (interval) of the acknowledgment. A communication system in which a communication device is communicably connected, wherein the transmission device transmits a data packet to the reception device, and transmits a data packet transmitted from the transmission device to the reception device. A retransmission buffer held for retransmission, and the reception device receives a data packet from the transmission device and determines the validity of the data packet, and the validity determination unit On the basis of the determination result, a positive response indicating that the packet is approved or a negative response indicating that the packet is not approved An acknowledgment transmission unit for transmitting to the transmission device at intervals, and the transmission device further transmits the data packet from the transmission unit until receiving the acknowledgment from the reception device. Based on the delay time measurement unit that measures the delay time, the delay time measured by the delay time measurement unit, and the capacity of the retransmission buffer, whether or not the acknowledgment transmission interval at the acknowledgment transmission unit is appropriate is determined. And a transmission interval instruction unit for transmitting an instruction to change the transmission interval of the acknowledgment to the receiving device based on the determination result ”.

しかしながら、特許文献2に係る通信システムは、回路化が容易であるが、Vendor Specific DLLP(Data Link Layer Packet)を使用するため、対向デバイスも、同様の機能を持っていないと使えず、汎用性が無いという問題点があった。また、パケット長と連続性が変わる頻度が多い連続通信である場合、Vendor Specific DLLPが無駄なパケットとして通信の妨げになる可能性があるという問題点があった。   However, although the communication system according to Patent Document 2 is easy to be circuitized, since it uses Vendor Specific DLLP (Data Link Layer Packet), the opposite device cannot be used unless it has the same function, and is versatile. There was a problem that there was no. In addition, in the case of continuous communication in which the packet length and continuity frequently change, there is a problem that the Vendor Specific DLLLP may interfere with communication as a useless packet.

非特許文献1に係る従来技術では、再送バッファの容量は実装装置に依存して変化するために規定されておらず、また、対向デバイスの再送バッファやその管理に関して記述されていない。また、補足として、ACKNAKレイテンシータイマー(以下、ALタイマーという。)の満了でACKパケットを対向デバイスヘ送信し、そのACKパケットを受信したデバイスはACKパケットのシーケンスナンバー(例えば#5)で再送バッファのそれに相当する部分(#5)までを開放する。   In the prior art according to Non-Patent Document 1, the capacity of the retransmission buffer is not defined because it varies depending on the mounting apparatus, and is not described regarding the retransmission buffer of the opposite device and its management. Also, as a supplement, when an ACK NAK latency timer (hereinafter referred to as AL timer) expires, an ACK packet is transmitted to the opposite device, and the device that received the ACK packet uses the ACK packet sequence number (for example, # 5) to retransmit the buffer. Open up to the corresponding part (# 5).

PCIエキスプレスは高速シリアルインターフェースであり、IOインターフェースである。対向デバイスは(エンドポイントに対してはルートコンプレックス、もしくは、その逆もある。)どの会社に対応したデバイスに挿入されるかわからない。そのため、対向デバイスの再送バッファの容量など不明で、どのような最大ペイロードサイズで通信されるかわからず、再送バッファや再送バッファ管理部が通信効率のボトルネックとなる可能性があった。   PCI Express is a high-speed serial interface and an IO interface. Opposite devices (root complex for endpoints and vice versa) do not know which company is inserted into the device. For this reason, the retransmission buffer capacity of the opposite device is unknown, it is not known what maximum payload size is used for communication, and the retransmission buffer and retransmission buffer management unit may become a bottleneck in communication efficiency.

また、データ通信でノイズが重畳する可能性があり、通信効率に影響を与える可能性があり、ノイズが重畳すると通信エラーが発生し、再送バッファ又は送信バッファの容量がいっぱいとなる可能性があり、通信効率が下がるという問題点があった。   In addition, noise may be superimposed in data communication, which may affect communication efficiency. If noise is superimposed, a communication error may occur and the capacity of the retransmission buffer or transmission buffer may become full. There was a problem that the communication efficiency was lowered.

さらに、既存の仕様では、再送バッファは、対向デバイスからのACKにより再送バッファの容量は開放される。また、既存の仕様では、ACKはALタイマーの満了で送信され、ALタイマーはレーン幅と最大ペイロードサイズにより規定されている。そのため、対向デバイスの再送バッファがデータで満たされると、通信ができなくなるという問題点があった。   Furthermore, in the existing specification, the retransmission buffer capacity is released by the ACK from the opposite device. In the existing specification, ACK is transmitted when the AL timer expires, and the AL timer is defined by the lane width and the maximum payload size. For this reason, there is a problem that communication cannot be performed when the retransmission buffer of the opposite device is filled with data.

またさらに、通信は双方向で行われているため、以下に示すように、ALタイマーの満了までに受信コンポーネントから長いパケット転送が発生すると、送信コンポーネントの再送バッファがいっぱいとなった場合に送信コンポーネントからのパケット転送が行われなくなり、通信効率が下がるという問題点があった。これについて以下詳述する。   Furthermore, since communication is performed in both directions, as shown below, when a long packet transfer occurs from the reception component before the AL timer expires, the transmission component is transmitted when the retransmission buffer of the transmission component becomes full. There is a problem that the packet transfer from is not performed and the communication efficiency is lowered. This will be described in detail below.

図2は、PCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(エンドポイント:EP)と、受信コンポーネント(レシーブコンポーネント:RC)との間の通信手順の第1の従来例を示すタイミングチャートである。図2において、送信コンポーネントからパケット転送が行われた際、対向デバイスの再送バッファ管理部は、ALタイマーの満了に基づいてACKパケットを返信していることを示す。ここで、送信コンポーネントから受信コンポーネントに対してパケット転送されていて、シーケンスナンバー(SEQ#)は3つのパケットをまとめて最後のシーケンスナンバー(SEQ#=12)で返信している。   FIG. 2 is a timing chart showing a first conventional example of a communication procedure between a transmission component (endpoint: EP) and a reception component (receive component: RC) in a communication system according to the prior art using PCI Express. It is a chart. In FIG. 2, when a packet is transferred from the transmission component, the retransmission buffer management unit of the opposite device indicates that an ACK packet is returned based on the expiration of the AL timer. Here, the packet is transferred from the transmission component to the reception component, and the sequence number (SEQ #) is returned as the last sequence number (SEQ # = 12) by combining three packets.

図3はPCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(EP)と、受信コンポーネント(RC)との間の通信手順の第2の従来例を示すタイミングチャートである。図3において、送信コンポーネントから受信コンポーネントに対してパケット転送している通信中に、否定応答パケットであるNAK(Negative AcKnowledge)パケットが受信コンポーネントから送信コンポーネントへ返信されたことを示す。また、ALタイマーが満了するとACKパケットをまとめて返信していることを示している。   FIG. 3 is a timing chart showing a second conventional example of a communication procedure between a transmission component (EP) and a reception component (RC) in a communication system according to the prior art using PCI Express. FIG. 3 shows that a NAK (Negative AcKnowledge) packet, which is a negative acknowledgment packet, is returned from the receiving component to the transmitting component during communication in which packets are transferred from the transmitting component to the receiving component. In addition, when the AL timer expires, it indicates that ACK packets are returned together.

図4はPCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(EP)と、受信コンポーネント(RC)との間の通信手順の第3の従来例を示すタイミングチャートである。図4において、送信コンポーネントから受信コンポーネントヘパケット転送されているとき、受信コンポーネントのALタイマーが満了する前に、受信コンポーネントから送信コンポーネントヘパケット転送を開始していることを示している。受信コンポーネントから送信コンポーネントへACKパケットが返信されるまでに、送信コンポーネントの再送バッファはいっぱいとなり、送信コンポーネントから受信コンポーネントへのパケット転送の通信が停止している。また、ACKパケット送信前に長いTLP(Transaction Layer Packet)の送信を開始したためにACKパケットを返信できない状態を示している。   FIG. 4 is a timing chart showing a third conventional example of a communication procedure between a transmission component (EP) and a reception component (RC) in a communication system according to the prior art using PCI Express. FIG. 4 shows that when a packet is transferred from the transmission component to the reception component, the packet transfer from the reception component to the transmission component is started before the AL timer of the reception component expires. By the time the ACK packet is returned from the reception component to the transmission component, the retransmission buffer of the transmission component is full, and communication of packet transfer from the transmission component to the reception component is stopped. In addition, since a long TLP (Transaction Layer Packet) transmission is started before the transmission of the ACK packet, the ACK packet cannot be returned.

図2乃至図4を参照して説明したように、ALタイマーの満了までに受信コンポーネントから長いパケット転送が発生すると、送信コンポーネントの再送バッファがいっぱいとなった場合に送信コンポーネントからのパケット転送が行われなくなり、通信効率が下がる。   As described with reference to FIGS. 2 to 4, when a long packet transfer occurs from the receiving component before the AL timer expires, the packet transfer from the transmitting component is performed when the retransmission buffer of the transmitting component is full. Communication efficiency is reduced.

本発明の目的は以上の問題点を解決し、対向デバイスの再送バッファの最大容量を検出することができ、しかも通信効率を従来技術に比較して向上させることができる通信システムを提供することにある。   An object of the present invention is to provide a communication system that solves the above-described problems, can detect the maximum capacity of the retransmission buffer of the opposite device, and can improve the communication efficiency as compared with the prior art. is there.

本発明の別の目的は以上の問題点を解決し、対向デバイスの再送バッファの最大容量を検出することができる再送バッファ容量の測定装置を提供することにある。   Another object of the present invention is to solve the above-described problems and provide a retransmission buffer capacity measuring apparatus capable of detecting the maximum capacity of the retransmission buffer of the opposite device.

第1の発明に係る通信システムは、送信装置と受信装置とが通信可能に接続された通信システムにおいて、
上記送信装置は、データパケットを上記受信装置に送信するためのパケット送信部と、上記受信装置へ送信されるデータパケットを再送用として保持する再送バッファと、上記受信装置へ送信されるデーダパケットに管理番号を割り当てる再送バッファ管理部を備え、
上記受信装置は、上記送信装置からのデータパケットを受信して、当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答又は否定を示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、データパケットを上記送信装置に送信するためのパケット送信部とを備え、
上記受信装置は上記送信装置からのデータパケットを受信たとき、上記送信装置の再送をさせるために肯定応答又は否定応答である受信応答を行わず、
上記送信装置は上記送信装置の再送タイマーの満了後に上記送信装置の再送バッファに格納された所定量のデータパケットを再送信し、
上記受信装置は上記送信装置から再送信された所定量のデータパケットを受信し、上記受信した所定量のデータパケットの容量を上記送信装置の再送バッファの最大容量として推定することを特徴とする。
A communication system according to a first aspect of the present invention is a communication system in which a transmission device and a reception device are communicably connected,
The transmission device includes a packet transmission unit for transmitting a data packet to the reception device, a retransmission buffer for holding a data packet transmitted to the reception device for retransmission, and a data packet transmitted to the reception device. A retransmission buffer management unit for assigning a management number;
The receiving device receives the data packet from the transmitting device, and approves the packet based on a validity determination unit that determines the validity of the data packet and a determination result of the validity determination unit. An acknowledgment transmission unit that transmits an acknowledgment or a negative response that indicates a negative response to the transmission device at a predetermined interval, and a packet transmission unit that transmits a data packet to the transmission device.
When the above receiving apparatus that has received the data packet from the transmitting device, without a reception response is positive acknowledgment or negative acknowledgment in order to retransmission of the transmission device,
The transmitter retransmits a predetermined amount of data packets stored in the retransmission buffer of the transmitter after expiration of the retransmission timer of the transmitter;
The receiving apparatus receives a predetermined amount of data packets retransmitted from the transmitting apparatus, and estimates a capacity of the received predetermined amount of data packets as a maximum capacity of a retransmission buffer of the transmitting apparatus.

上記通信システムにおいて、上記送信装置と上記受信装置で、再送を行う場合には否定応答の受信又は再送タイマーの満了で再送制御を行い、
上記送信装置及び上記受信装置は、上記送信装置と上記受信装置の通信初期化時に最大ペイロードサイズと接続先のレーン幅に応じて、再送タイマー値を決定し、
上記受信装置が送信するデータパケットは、再送タイマーの満了時までに理論上送信可能なデータサイズを算出して最大ペイロードサイズでのパケット転送を行うことを特徴とする。
In the communication system, when retransmission is performed between the transmission device and the reception device, retransmission control is performed upon reception of a negative response or expiration of a retransmission timer,
The transmission device and the reception device determine a retransmission timer value according to the maximum payload size and the lane width of the connection destination at the time of communication initialization between the transmission device and the reception device,
The data packet transmitted by the receiving apparatus calculates a data size that can be theoretically transmitted before the retransmission timer expires, and performs packet transfer with a maximum payload size.

また、上記通信システムにおいて、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、それに応じて、上記受信装置から送出するパケットのパケット長を変更し、もしくはデータサイズを変更してパケット転送を行うことを特徴とする。   Further, in the communication system, the receiving apparatus estimates a data storage state of the retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus, and accordingly Thus, the packet transfer is performed by changing the packet length of the packet transmitted from the receiving device or changing the data size.

さらに、上記通信システムにおいて、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータが所定量を記憶していることを検出したときに、上記送信装置に対して、再送タイマーの満了時間を短縮し又は送信要求をすることを特徴とする。   Further, in the communication system, the receiving apparatus estimates a data accumulation state of a retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus, and the retransmission When it is detected that a predetermined amount of data is stored in the buffer, the expiration time of the retransmission timer is shortened or a transmission request is made to the transmission apparatus.

またさらに、上記通信システムにおいて、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータがフルの量を記憶していることを検出したときに、上記送信装置に対して、強制的に再送タイマーを満了し又は肯定応答を送出することを特徴とする。   Still further, in the communication system, the receiving device estimates a data accumulation state of a retransmission buffer of the transmitting device based on a reception response transmitted from the receiving device and a size of packet data transmitted from the receiving device, and When it is detected that a full amount of data is stored in the retransmission buffer, the retransmission timer is forcibly expired or an acknowledgment is transmitted to the transmission apparatus.

またさらに、上記通信システムにおいて、上記受信装置は上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記受信装置から上記送信装置ヘパケット転送を行うときに、上記送信装置の再送バッファのデータ蓄積状況と、次に転送するパケットサイズにより、上記送信装置の再送バッファを開放させるために応答送信要求信号を送出することを特徴とする。   Still further, in the communication system, the receiving apparatus estimates a data storage state of a retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus, and the reception apparatus When a packet is transferred from the device to the transmitting device, a response transmission request signal is sent to release the retransmission buffer of the transmitting device according to the data accumulation status of the retransmission buffer of the transmitting device and the packet size to be transferred next It is characterized by that.

また、上記通信システムにおいて、上記受信装置は上記送信装置の再送バッファの最大容量を推定し、それに応じた長さのデータパケットを送信するように上位層に通知することを特徴とする。   In the communication system, the receiving apparatus estimates a maximum capacity of a retransmission buffer of the transmitting apparatus, and notifies an upper layer to transmit a data packet having a length corresponding to the maximum capacity.

さらに、上記通信システムにおいて、上記受信装置は上記送信装置の再送バッファの最大容量を推定し、フロー制御を実装している通信システムにおいて、受信バッファの影響で通信の停止による誤認識を防ぐために、上記初期シーケンスにおいて、フロー制御の受信バッファを開放することを特徴とする。   Furthermore, in the communication system, the receiving apparatus estimates the maximum capacity of the retransmission buffer of the transmitting apparatus, and in the communication system that implements flow control, in order to prevent misrecognition due to communication stop due to the influence of the reception buffer, In the initial sequence, the flow control reception buffer is released.

またさらに、上記通信システムにおいて、上記送信装置及び上記受信装置はそれぞれ対向デバイスの再送ッファの最大容量の情報を有するとき、お互いに再送バッファの最大容量の情報を送受信することを特徴とする。 Furthermore, in the communication system, the above transmitting apparatus and the receiving apparatus when each having information of the maximum capacity of the retransmission server Ffa opposing device, and wherein the transmitting and receiving information of the maximum capacity of the retransmission buffer to each other.

またさらに、上記通信システムにおいて、上記送信装置及び上記受信装置は、その動作が上位層の装置又は対向するデバイスから制御可能であることを特徴とする。   Still further, in the communication system, the operation of the transmission device and the reception device can be controlled from a higher-layer device or a facing device.

第2の発明に係る再送バッファ容量の測定装置は、送信装置と受信装置とが通信可能に接続された通信システムにおける受信装置のための再送バッファ容量の測定装置において、
上記受信装置は、上記送信装置からのデータパケットを受信して、当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答又は否定を示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、データパケットを上記送信装置に送信するためのパケット送信部とを備え、
上記受信装置は上記送信装置からのデータパケットを受信たとき、上記送信装置の再送をさせるために肯定応答又は否定応答である受信応答を行わず、
上記受信装置は、上記送信装置の再送タイマーの満了後に上記送信装置の再送バッファに格納された所定量のデータパケットであって、上記送信装置から再送信された当該所定量のデータパケットを受信し、上記受信された所定量のデータパケットの容量を上記送信装置の再送バッファの最大容量として推定することを特徴とする。
A retransmission buffer capacity measuring apparatus according to a second invention is a retransmission buffer capacity measuring apparatus for a receiving apparatus in a communication system in which a transmitting apparatus and a receiving apparatus are communicably connected.
The receiving device receives the data packet from the transmitting device, and approves the packet based on a validity determination unit that determines the validity of the data packet and a determination result of the validity determination unit. An acknowledgment transmission unit that transmits an acknowledgment or a negative response that indicates a negative response to the transmission device at a predetermined interval, and a packet transmission unit that transmits a data packet to the transmission device.
When the above receiving apparatus that has received the data packet from the transmitting device, without a reception response is positive acknowledgment or negative acknowledgment in order to retransmission of the transmission device,
The receiving apparatus receives a predetermined amount of data packets retransmitted from the transmitting apparatus, the data packet being stored in a retransmission buffer of the transmitting apparatus after expiration of a retransmission timer of the transmitting apparatus. The capacity of the received predetermined amount of data packets is estimated as the maximum capacity of the retransmission buffer of the transmitting apparatus.

上記再送バッファ容量の測定装置において、上記受信装置で再送を行う場合には否定応答の受信又は再送タイマーの満了で再送制御を行い、
上記受信装置は、上記送信装置と上記受信装置の通信初期化時に最大ペイロードサイズと接続先のレーン幅に応じて、再送タイマー値を決定し、
上記受信装置が送信するデータパケットは、再送タイマーの満了時までに理論上送信可能なデータサイズを算出して最大ペイロードサイズでのパケット転送を行うことを特徴とする。
In the retransmission buffer capacity measuring device, when performing retransmission at the receiving device, performing retransmission control upon reception of a negative response or expiration of a retransmission timer,
The receiving device determines a retransmission timer value according to a maximum payload size and a lane width of a connection destination at the time of communication initialization between the transmitting device and the receiving device,
The data packet transmitted by the receiving apparatus calculates a data size that can be theoretically transmitted before the retransmission timer expires, and performs packet transfer with a maximum payload size.

また、上記再送バッファ容量の測定装置において、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、それに応じて、上記受信装置から送出するパケットのパケット長を変更し、もしくはデータサイズを変更してパケット転送を行うことを特徴とする。   In the retransmission buffer capacity measuring apparatus, the receiving apparatus estimates a data accumulation state of the retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus. Accordingly, the packet transfer is performed by changing the packet length of the packet transmitted from the receiving apparatus or changing the data size.

さらに、上記再送バッファ容量の測定装置において、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータが所定量を記憶していることを検出したときに、上記送信装置に対して、再送タイマーの満了時間を短縮し又は送信要求をすることを特徴とする。   Further, in the retransmission buffer capacity measuring apparatus, the receiving apparatus estimates a data accumulation state of the retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus. Then, when it is detected that a predetermined amount of data is stored in the retransmission buffer, the expiration time of the retransmission timer is shortened or a transmission request is made to the transmission apparatus.

またさらに、上記再送バッファ容量の測定装置において、上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータがフルの量を記憶していることを検出したときに、上記送信装置に対して、強制的に再送タイマーを満了し又は肯定応答を送出することを特徴とする。   Still further, in the retransmission buffer capacity measuring apparatus, the receiving apparatus determines the data storage status of the retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus. When estimating and detecting that a full amount of data is stored in the retransmission buffer, the retransmission apparatus is forcibly expired or an acknowledgment is transmitted to the transmission apparatus. .

またさらに、上記再送バッファ容量の測定装置において、上記受信装置は上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記受信装置から上記送信装置ヘパケット転送を行うときに、上記送信装置の再送バッファのデータ蓄積状況と、次に転送するパケットサイズにより、上記送信装置の再送バッファを開放させるために応答送信要求信号を送出することを特徴とする。   Still further, in the retransmission buffer capacity measuring apparatus, the receiving apparatus estimates a data accumulation state of the retransmission buffer of the transmitting apparatus based on a reception response transmitted from the receiving apparatus and a size of packet data transmitted from the receiving apparatus. When the packet is transferred from the receiving device to the transmitting device, a response transmission request is issued to release the retransmission buffer of the transmitting device according to the data accumulation status of the retransmission buffer of the transmitting device and the packet size to be transferred next. A signal is transmitted.

また、上記再送バッファ容量の測定装置において、上記受信装置は上記送信装置の再送バッファの最大容量を推定し、それに応じた長さのデータパケットを送信するように上位層に通知することを特徴とする。   In the retransmission buffer capacity measuring apparatus, the receiving apparatus estimates a maximum capacity of the retransmission buffer of the transmitting apparatus and notifies an upper layer to transmit a data packet having a length corresponding thereto. To do.

さらに、上記再送バッファ容量の測定装置において、上記受信装置は上記送信装置の再送バッファの最大容量を推定し、フロー制御を実装している通信システムにおいて、受信バッファの影響で通信の停止による誤認識を防ぐために、上記初期シーケンスにおいて、フロー制御の受信バッファを開放することを特徴とする。   Further, in the retransmission buffer capacity measuring apparatus, the receiving apparatus estimates a maximum capacity of the retransmission buffer of the transmitting apparatus, and in a communication system that implements flow control, erroneous recognition due to communication stoppage due to the influence of the reception buffer. In order to prevent this, the flow control reception buffer is released in the initial sequence.

またさらに、上記再送バッファ容量の測定装置において、上記受信装置は対向デバイスの再送ッファの最大容量の情報を有するとき、お互いに再送バッファの最大容量の情報を送受信することを特徴とする。 Furthermore, in the measurement apparatus of the retransmission buffer capacity, it is the receiving device when having the information of the maximum capacity of the retransmission server Ffa opposing device, and wherein the transmitting and receiving information of the maximum capacity of the retransmission buffer to each other.

またさらに、上記再送バッファ容量の測定装置において、上記受信装置は、その動作が上位層の装置又は対向するデバイスから制御可能であることを特徴とする。   Still further, in the retransmission buffer capacity measuring apparatus, the operation of the receiving apparatus is controllable from an upper layer apparatus or an opposing device.

本発明に係る通信システム及び再送バッファ容量の測定装置によれば、対向デバイスの再送バッファの最大容量を推定することができ、例えばPCIエキクスプレスのようなIOインターフェースでは、様々なデバイスと接続することがあり、その接続に応じて、パケットの長さなどの通信の使用状況が変わってくる。対面デバイスの再送バッファの最大容量を推定することにより、以下のように通信効率を高めることができる。   According to the communication system and the retransmission buffer capacity measuring apparatus according to the present invention, the maximum capacity of the retransmission buffer of the opposite device can be estimated. For example, an IO interface such as a PCI Express press can be connected to various devices. Depending on the connection, the communication usage such as the packet length changes. By estimating the maximum capacity of the retransmission buffer of the facing device, the communication efficiency can be improved as follows.

また、上記受信装置から、上記送信装置がパケット送信をさせるために、パケットを送信し、上記受信装置では応答要求を返さない構成において、上記受信装置から上記送信装置がパケットを送信をさせるためにパケットを送信する。パケットの大きさは、再送タイマー満了までに理論上送信可能なパケットサイズで行う。できるだけ少ないパケットを送信させる上記初期化シーケンスから開始するので、上記初期化シーケンスの時間短縮ができる。   In addition, in the configuration in which the transmitting device transmits a packet from the receiving device so that the transmitting device transmits the packet, and the receiving device does not return a response request, the transmitting device transmits the packet from the receiving device. Send the packet. The packet size is set to a packet size that can be theoretically transmitted before the retransmission timer expires. Since the initialization sequence that transmits as few packets as possible is started, the time of the initialization sequence can be shortened.

さらに、上記対向デバイスの再送バッファの最大容量を推定し、そのデータ蓄積状況に応じて、上記受信装置から肯定応答を送出することにより、上記送信装置の再送バッファにデータが満たされることによる通信効率の低下を防ぐことが可能である。   Furthermore, the maximum capacity of the retransmission buffer of the opposite device is estimated, and an acknowledgment is sent from the reception device according to the data accumulation status, so that the communication efficiency due to the fact that the retransmission buffer of the transmission device is filled with data Can be prevented.

またさらに、対向デバイスの再送バッファのデータ蓄積状況と、次に受信コンポーネントから転送するパケットから判断し、肯定応答を送出するが、対向デバイスの再送バッファのデータ蓄積量が一定量を超えてしまっても、上記受信装置から長いパケットを送信している間に再送バッファが満たされ、上記送信装置から送信するパケット通信が止まる可能性がある。これを回避することができる。   Furthermore, it is judged from the data accumulation status of the retransmission buffer of the opposite device and the packet to be transferred next from the receiving component, and an acknowledgment is sent, but the data accumulation amount of the retransmission buffer of the opposite device exceeds a certain amount. However, the retransmission buffer may be filled while a long packet is transmitted from the receiving device, and packet communication transmitted from the transmitting device may stop. This can be avoided.

また、対向デバイスの再送バッファの最大容量とデータ蓄積容量を推定し、これを利用して、最適な長さのパケットを上位層へ伝えることができる。この通知により、上位層から最適なパケットサイズでの転送が行えるため、通信効率を高めることができ、この情報は、当該装置のデバイス上位層及び対向デバイスヘも通知可能である。   In addition, it is possible to estimate the maximum capacity and data storage capacity of the retransmission buffer of the opposite device, and use this to transmit a packet having an optimal length to the upper layer. By this notification, transfer with an optimal packet size can be performed from the upper layer, so that communication efficiency can be improved, and this information can be notified to the device upper layer and the opposite device of the apparatus.

さらに、受信装置の受信バッファの影響で、通信が止まることを防ぐため、受信バッファの開放をさせるものとする。また、通信システムとして双方のデバイスで再送バッファの最大容量及びデータ蓄積容量を通知可能にすることで、上記初期シーケンスを省くことができる。さらに、上位層もしくは対向デバイスにより、対向デバイスの再送バッファ認識のシーケンスを実施可能又は停止可能である。   Furthermore, in order to prevent communication from being stopped due to the influence of the reception buffer of the reception device, the reception buffer is opened. In addition, the initial sequence can be omitted by enabling both devices to notify the maximum capacity and data storage capacity of the retransmission buffer as a communication system. Further, the retransmission buffer recognition sequence of the opposite device can be executed or stopped by the upper layer or the opposite device.

本発明の一実施形態に係るPCIエキスプレスを用いた通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system using the PCI express which concerns on one Embodiment of this invention. PCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(EP)10と、受信コンポーネント(RC)20との間の通信手順の第1の従来例を示すタイミングチャートである。7 is a timing chart showing a first conventional example of a communication procedure between a transmission component (EP) 10 and a reception component (RC) 20 in a communication system according to the related art using PCI Express. PCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(EP)10と、受信コンポーネント(RC)20との間の通信手順の第2の従来例を示すタイミングチャートである。10 is a timing chart showing a second conventional example of a communication procedure between a transmission component (EP) 10 and a reception component (RC) 20 in a communication system according to the related art using PCI Express. PCIエキスプレスを用いた従来技術に係る通信システムにおいて、送信コンポーネント(EP)10と、受信コンポーネント(RC)20との間の通信手順の第3の従来例を示すタイミングチャートである。12 is a timing chart illustrating a third conventional example of a communication procedure between a transmission component (EP) 10 and a reception component (RC) 20 in a communication system according to the related art using PCI Express. 図1の通信システムにおいて、送信コンポーネント(EP)10と、受信コンポーネント(RC)20との間の通信手順の実施例1を示すタイミングチャートである。FIG. 2 is a timing chart illustrating a first embodiment of a communication procedure between a transmission component (EP) 10 and a reception component (RC) 20 in the communication system of FIG. 1. 図1の通信システムにおいて、対向デバイスの再送バッファ13の容量を認識する通信手順を示すタイミングチャートである。2 is a timing chart showing a communication procedure for recognizing the capacity of a retransmission buffer 13 of an opposite device in the communication system of FIG. 図1の通信システムにおいて、TLPのサイズの第1の管理方法の通信手順を示すタイミングチャートである。2 is a timing chart showing a communication procedure of a first management method of a TLP size in the communication system of FIG. 1. 図1の通信システムにおいて、TLPのサイズの第2の管理方法の通信手順を示すタイミングチャートである。3 is a timing chart showing a communication procedure of a second management method of the TLP size in the communication system of FIG. 1. 図1の通信システムにおける再送バッファの最大容量の認識及びTLPのサイズの管理処理を示すフローチャートである。2 is a flowchart showing a process of recognizing the maximum capacity of a retransmission buffer and managing the size of a TLP in the communication system of FIG. 図1の通信システムの受信パケット管理部22によるTLPのサイズの管理処理を示すフローチャートである。3 is a flowchart showing a TLP size management process by a received packet management unit 22 of the communication system of FIG. 1.

以下、本発明に係る実施形態について図面を参照して説明する。なお、以下の各実施形態において、同様の構成要素については同一の符号を付している。   Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In addition, in each following embodiment, the same code | symbol is attached | subjected about the same component.

図1は本発明の一実施形態に係るPCIエキスプレスを用いた通信システムの構成を示すブロック図である。本実施形態では、PCIエキスプレスを用いた通信システムについて以下に説明する。ここで、PCIエキスプレスはPCIバスの上位互換となるシリアルバスであり、1レーンあたり最大2.5Gbpsで最大32レーンの広いデータバンド幅を有している。   FIG. 1 is a block diagram showing a configuration of a communication system using a PCI express according to an embodiment of the present invention. In the present embodiment, a communication system using a PCI express will be described below. Here, the PCI Express is a serial bus that is upwardly compatible with the PCI bus, and has a wide data bandwidth of up to 32 lanes at a maximum of 2.5 Gbps per lane.

まず、PCIエキスプレスの規格で定義されたデータリンク層に備えられた、リンク間で送受信されたTLPの正当性を保証する機能について図1を参照して説明する。図1は、再送バッファ13とACK DLLP(Data Link Layer Packet)によるTLP承認の手順を説明するための図であり、図1において、送信コンポーネント10は所定の有線リンクバスを介して受信コンポーネント20に接続されている。送信コンポーネント10は、パケット受信部11と、再送バッファ13を有するパケット送信部12とを備えて構成される。また、受信コンポーネント20は、確認応答送信部21aを有するパケット送信部21と、シーケンスナンバー管理部22aを有する受信パケット管理部22と、正当性判断部23と、再送バッファ状況管理部24と、ALタイマー25tを有するALタイマー管理部25と、シーケンスナンバー管理部26aを有する応答送信制御部26とを備えて構成される。   First, a function provided in the data link layer defined in the PCI Express standard to guarantee the validity of TLP transmitted / received between links will be described with reference to FIG. FIG. 1 is a diagram for explaining a TLP approval procedure using a retransmission buffer 13 and an ACK DLLP (Data Link Layer Packet). In FIG. 1, a transmission component 10 is connected to a reception component 20 via a predetermined wired link bus. It is connected. The transmission component 10 includes a packet reception unit 11 and a packet transmission unit 12 having a retransmission buffer 13. The reception component 20 includes a packet transmission unit 21 having an acknowledgment transmission unit 21a, a reception packet management unit 22 having a sequence number management unit 22a, a validity judgment unit 23, a retransmission buffer status management unit 24, an AL An AL timer management unit 25 having a timer 25t and a response transmission control unit 26 having a sequence number management unit 26a are provided.

以上のように構成された通信システムにおいて、送信コンポーネント10から複数のTLPが受信コンポーネント20に送信され、ここで、このTLPには所定のシーケンスナンバーが付与されるとともに、送信されたTLPは再送バッファ13に記録される。受信コンポーネント20の受信パケット管理部22は複数のTLPを受信して、そのシーケンスナンバーはシーケンスナンバー管理部22aにより記録されて管理される。次いで、正当性判断部23は、従来例では、受信したTLPの正当性について詳細後述するように判断してパケット送信部21に伝達してACKパケットをパケット送信部21から返信するように制御するが、本実施形態では、特に、以下の処理部を備えたことを特徴としている。   In the communication system configured as described above, a plurality of TLPs are transmitted from the transmission component 10 to the reception component 20, where a predetermined sequence number is assigned to the TLP, and the transmitted TLP is a retransmission buffer. 13 is recorded. The reception packet management unit 22 of the reception component 20 receives a plurality of TLPs, and the sequence numbers are recorded and managed by the sequence number management unit 22a. Next, in the conventional example, the validity determination unit 23 determines the validity of the received TLP as will be described in detail later, and transmits the packet to the packet transmission unit 21 so as to return an ACK packet from the packet transmission unit 21. However, this embodiment is particularly characterized in that the following processing unit is provided.

(1)再送バッファ状況管理部24:対向デバイス(送信コンポーネント10)の再送バッファ13の最大容量と、現在蓄積しているデータ蓄積容量とを詳細後述する方法で認識して記憶して管理し、その情報は応答送信制御部26又は上位層に伝達される。なお、受信コンポーネント20の対向デバイスは送信コンポーネント10であるが、送信コンポーネント10の対向デバイスは受信コンポーネント20であり、以下同様である。
(2)ALタイマー25tを有するALタイマー管理部25:正当性が確認された所定の複数のTLPを受信したときにALタイマー25tが満了するように構成され、満了時にその旨が応答送信制御部26に伝達される。
(3)応答送信制御部26:受信コンポーネント20からのTLPの送信のシーケンスナンバーを記憶して管理するシーケンスナンバー管理部26aを備え、再送バッファ状況管理部24が対向デバイスの再送バッファ13が所定の一定量のデータを記憶していると判断したとき、もしくは、応答送信制御部26が次に送信するTLPの長さを認識して所定のしきい値長さを超えるときに、ACK送信要求信号を発生して確認応答送信部21aに出力することにより、確認応答送信部21aはACKパケットを発生してパケット送信部21から送信コンポーネント10に送信するように制御する。
(1) Retransmission buffer status management unit 24: Recognizes, stores and manages the maximum capacity of the retransmission buffer 13 of the opposite device (transmission component 10) and the currently accumulated data storage capacity by a method described in detail later. The information is transmitted to the response transmission control unit 26 or the upper layer. In addition, although the opposing device of the receiving component 20 is the transmitting component 10, the opposing device of the transmitting component 10 is the receiving component 20, and so on.
(2) AL timer management unit 25 having an AL timer 25t: The AL timer 25t is configured to expire when a plurality of predetermined TLPs whose validity has been confirmed is received, and a response transmission control unit indicates that the timer has expired. 26.
(3) Response transmission control unit 26: a sequence number management unit 26a that stores and manages a sequence number of TLP transmission from the reception component 20, and the retransmission buffer status management unit 24 sets the retransmission buffer 13 of the opposite device to a predetermined value. When it is determined that a certain amount of data is stored, or when the response transmission control unit 26 recognizes the length of the next TLP to be transmitted and exceeds a predetermined threshold length, an ACK transmission request signal Is generated and output to the confirmation response transmission unit 21a, the confirmation response transmission unit 21a controls to generate an ACK packet and transmit it from the packet transmission unit 21 to the transmission component 10.

なお、送信コンポーネント10は受信コンポーネント20からACK DLLPを受信してTLPが承認されたことを知ると、TLPを承認済みとして再送バッファ13から削除することになる。   When the transmitting component 10 receives the ACK DLLLP from the receiving component 20 and knows that the TLP has been approved, the transmitting component 10 deletes the TLP from the retransmission buffer 13 as approved.

また、本実施形態では、リンク間で送受信されたTLPの正当性を保証する機能を実現するために、TLP上にはシーケンスナンバーと、LCRC(Link Cyclic Redundancy Check)が用いられている。シーケンスナンバーは、過去4096個のTLPについて連番で固有の値を示す12ビットのIDであり、送信コンポーネント10からTLPを送信する際に生成される。受信コンポーネント20は、その連続性を利用してTLPの受信抜け等がないかどうかについての正当性を判断できる。一方、LCRCは32ビットのCRC(Cyclic Redundancy Check)である。LCRCは送信コンポーネント10からTLPを送信する際に生成され、受信コンポーネント20は受信コンポーネント20自身で計算したCRCと比較し、誤りを検出することができる。このように、受信コンポーネント20のデータリンク層はシーケンスナンバーとLCRCが正しいか否かで、そのTLPの正当性を判断する。このとき、受信コンポーネント20のデータリンク層が、正当なTLPを受信した場合にはACK DLLP(肯定DLLP)を送り返し、不当なTLPを受信した場合にはNAK DLLP(否定DLLP)を送り返す。   In the present embodiment, a sequence number and LCRC (Link Cyclic Redundancy Check) are used on the TLP in order to realize the function of guaranteeing the validity of the TLP transmitted / received between the links. The sequence number is a 12-bit ID indicating a serial number and a unique value for the past 4096 TLPs, and is generated when transmitting the TLP from the transmission component 10. Using the continuity, the receiving component 20 can determine the validity of whether there is no TLP reception omission or the like. On the other hand, LCRC is a 32-bit CRC (Cyclic Redundancy Check). The LCRC is generated when transmitting the TLP from the transmitting component 10, and the receiving component 20 can detect an error by comparing with the CRC calculated by the receiving component 20 itself. As described above, the data link layer of the receiving component 20 determines the validity of the TLP based on whether the sequence number and the LCRC are correct. At this time, when the data link layer of the receiving component 20 receives a valid TLP, it sends back an ACK DLLLP (affirmative DLLP), and when it receives an invalid TLP, it sends back a NAK DLLP (negative DLLLP).

送信コンポーネント10のデータリンク層は送信したTLPを一旦再送バッファに保持しており、ACK DLLPによって承認されることが通知された場合には、承認されたTLPを再送バッファ12から削除する。また、NAK DLLPによって少なくとも1つのTLPが非承認であることが通知された場合には、再送バッファ12に残っている承認されなかったTLP以降のすべてのTLPを受信コンポーネント20に再送する。ただし、承認を示すACK DLLPは必ずしも受信コンポーネント20が1つのTLPを受信する毎に送信する必要はなく、最後に承認したTLPのシーケンスナンバーをACK DLLPに載せて送ることで、そのシーケンスナンバーが示すTLPまでを同時に承認することができる。これはACK DLLPを送信する個数を抑制し、ACK DLLPの送信による帯域の減少を押さえる効果がある。当該ACK DLLPの送信遅延は規格上厳密には定められておらず、大まかなガイドラインが示されているだけであり、実装依存となっている。   The data link layer of the transmission component 10 once holds the transmitted TLP in the retransmission buffer, and deletes the approved TLP from the retransmission buffer 12 when notified by the ACK DLLLP. Further, when it is notified by NAK DLLP that at least one TLP is unapproved, all TLPs after the unapproved TLP remaining in the retransmission buffer 12 are retransmitted to the reception component 20. However, the ACK DLLLP indicating the approval does not necessarily need to be transmitted every time the receiving component 20 receives one TLP, and the sequence number indicated by the sequence number indicated by sending the last approved TLP sequence number on the ACK DLLLP Up to TLP can be approved at the same time. This has the effect of suppressing the number of ACK DLLLP transmissions and suppressing the decrease in bandwidth due to the transmission of ACK DLLLP. The transmission delay of the ACK DLLLP is not strictly defined in the standard, only a rough guideline is shown, and it depends on the implementation.

以上説明したように、本実施形態では、受信コンポーネント20からパケットを送信させるパケットを送信コンポーネント10ヘ送信する。それに応じて、送信コンポーネント10から受信コンポーネント20ヘパケット転送が行われる。そのパケット転送では、受信コンポーネント20は応答を返さないものとする。受信コンポーネント20の受信パケット管理部22と正当性判断部23からの情報に基づいて、詳細後述するように、再送バッファ状況管理部24は、送信コンポーネント10の再送バッファ13の最大容量と現在記憶されているデータ蓄積容量とを推定して認識する。   As described above, in the present embodiment, a packet for transmitting a packet from the reception component 20 is transmitted to the transmission component 10. In response, packet transmission from the transmission component 10 to the reception component 20 is performed. In the packet transfer, it is assumed that the receiving component 20 does not return a response. Based on information from the reception packet management unit 22 and the validity judgment unit 23 of the reception component 20, the retransmission buffer status management unit 24 stores the maximum capacity of the retransmission buffer 13 of the transmission component 10 and the current capacity as will be described in detail later. Estimate and recognize the data storage capacity.

図5は図1の通信システムにおいて、送信コンポーネント(EP)10と、受信コンポーネント(RC)20との間の通信手順の実施例1を示すタイミングチャートである。図4の状態において、対向デバイスの再送バッファ13の存在と再送バッファ13の最大容量(すなわちバッファサイズ)を認識して、次に受信コンポーネント20から送信コンポーネント10へ転送するパケットの長さを認識し、ACKパケットを返すように応答送信要求信号を発生することを特徴としている。すなわち、ALタイマー25tが満了していないACKパケットの送信前において、所定のしきい値長さを超える長いTLPを送信開始したためにACKパケットを返信できない場合があり、そのとき、再送バッファ状況管理部24は再送バッファ13に所定の一定量のデータが記憶されていると判断したとき、ACK送信要求信号を発生して確認応答送信部21aに出力してACKパケットを強制的に送信コンポーネント10に送信する。また、応答送信制御部26は次に送信するTLPの長さを認識していて、所定のしきい値長さを超えるTLPを送信することを認識したときは、ACK送信要求信号を発生して確認応答送信部21aに出力してACKパケットを強制的に送信コンポーネント10に送信する。これによりACKパケットが送信コンポーネント10により受信されて再送バッファ13内のデータが削除されて正常な状態に戻ることができる。   FIG. 5 is a timing chart showing Example 1 of a communication procedure between the transmission component (EP) 10 and the reception component (RC) 20 in the communication system of FIG. In the state of FIG. 4, the presence of the retransmission buffer 13 of the opposite device and the maximum capacity (that is, the buffer size) of the retransmission buffer 13 are recognized, and the length of the packet to be transferred next from the reception component 20 to the transmission component 10 is recognized. , Generating a response transmission request signal so as to return an ACK packet. That is, before transmission of an ACK packet for which the AL timer 25t has not expired, there may be a case where an ACK packet cannot be returned because transmission of a long TLP exceeding a predetermined threshold length has started. 24, when it is determined that a predetermined amount of data is stored in the retransmission buffer 13, an ACK transmission request signal is generated and output to the acknowledgment transmission unit 21a to forcibly transmit the ACK packet to the transmission component 10. To do. Further, the response transmission control unit 26 recognizes the length of the next TLP to be transmitted, and when it recognizes that a TLP exceeding a predetermined threshold length is transmitted, generates an ACK transmission request signal. The ACK packet is forcibly transmitted to the transmission component 10 by outputting to the acknowledgment transmission unit 21a. As a result, the ACK packet is received by the transmission component 10, the data in the retransmission buffer 13 is deleted, and the normal state can be restored.

図6は図1の通信システムにおいて、対向デバイスの再送バッファ13の容量を認識する通信手順を示すタイミングチャートである。図6において、まず、受信コンポーネント20は送信コンポーネント10に対してパケット送信要求信号を送信し(ステップS1)、これに対して、送信コンポーネント10は受信コンポーネント20に対してTLPを送信する(ステップS2)。図6の例では、受信コンポーネント20はシーケンスナンバー#1までのTLPを受信しており、それを再送バッファ状況管理部24を管理認識している。送信コンポーネント10は受信コンポーネント20に対してTLP(SEQ#=4)まで転送が完了したとき(ステップS3)受信コンポーネント20はその旨を管理認識している(ステップS4)。このとき、再送バッファ状況管理部24は対向デバイスである送信コンポーネント10の再送バッファ13の最大容量を認識しておらず、TLP(SEQ#=4)までのデータを受信したことを確認している(ステップS5)。この場合において、再送バッファ状況管理部24は応答送信制御部26に対してACKパケットを送信しないように要求する(ステップS5)。これにより、送信コンポーネント10の再送タイマーは満了して(ステップS6)送信コンポーネント10は、TLP(SEQ#=0〜4)を再送する(ステップS7)。これにより、再送バッファ状況管理部24は、いままでにTLP(SEQ#=0〜4)を受信して再送がかかっているので再送バッファ13の最大容量は図6に示すように当該5つのシーケンスナンバーのTLPに対応するデータ蓄積容量であると推定して検出できる。   FIG. 6 is a timing chart showing a communication procedure for recognizing the capacity of the retransmission buffer 13 of the opposite device in the communication system of FIG. In FIG. 6, first, the receiving component 20 transmits a packet transmission request signal to the transmitting component 10 (step S1). In contrast, the transmitting component 10 transmits a TLP to the receiving component 20 (step S2). ). In the example of FIG. 6, the receiving component 20 has received TLPs up to sequence number # 1, and has managed and recognized the retransmission buffer status management unit 24. When the transmission component 10 completes the transfer up to TLP (SEQ # = 4) with respect to the reception component 20 (step S3), the reception component 20 manages and recognizes that fact (step S4). At this time, the retransmission buffer status management unit 24 has not recognized the maximum capacity of the retransmission buffer 13 of the transmission component 10 that is the opposite device, and has confirmed that data up to TLP (SEQ # = 4) has been received. (Step S5). In this case, the retransmission buffer status management unit 24 requests the response transmission control unit 26 not to transmit an ACK packet (step S5). As a result, the retransmission timer of the transmission component 10 expires (step S6), and the transmission component 10 retransmits the TLP (SEQ # = 0 to 4) (step S7). As a result, the retransmission buffer status management unit 24 has received TLP (SEQ # = 0 to 4) so far and retransmission has been performed, so that the maximum capacity of the retransmission buffer 13 is the five sequences as shown in FIG. The data storage capacity corresponding to the TLP of the number can be estimated and detected.

図7は図1の通信システムにおいて、TLPのサイズの第1の管理方法の通信手順を示すタイミングチャートである。互いに対向するデバイスの再送バッファの最大容量を図6の方法又は互いにデータ通信により伝達する方法により互いに認識しているものとする。図7において、送信コンポーネント10は受信コンポーネント20に対してTLP(SEQ#=3)を転送中(ステップS11)において、所定の時間T1が経過したときは、ALタイマー25tが満了し、確認応答送信部21aはACK(SEQ#=0)を送信コンポーネント10に対して送信する(ステップS12)。この状態で、シーケンスナンバー管理部22aはTLP(SEQ#=2)であると認識し、シーケンスナンバー管理部26aはACK(SEQ#=0)であると認識している。ここで、再送バッファ状況管理部24において、再送バッファ13の蓄積データ蓄積容量が対向デバイスの上記再送バッファ13の最大容量(一定量)を超えたと判断したときは(ステップS13)ACK送信要求信号を発生して応答送信制御部26aを介して確認応答送信部21aに出力する(ステップS14)。このとき、再送バッファ状況管理部24はそれが管理する再送バッファ13のデータ蓄積状況をTLP(SEQ#=3)に更新し(ステップS15)、また、シーケンスナンバー管理部26aはACK(SEQ#=2)と認識し、確認応答送信部21aはACK(SEQ#=2)を送信コンポーネント10に対して送信する(ステップS16)。   FIG. 7 is a timing chart showing a communication procedure of the first management method of the TLP size in the communication system of FIG. Assume that the maximum capacities of retransmission buffers of devices facing each other are recognized from each other by the method shown in FIG. In FIG. 7, when the transmitting component 10 is transferring TLP (SEQ # = 3) to the receiving component 20 (step S11), when a predetermined time T1 has elapsed, the AL timer 25t expires and an acknowledgment response is transmitted. The unit 21a transmits ACK (SEQ # = 0) to the transmission component 10 (step S12). In this state, the sequence number management unit 22a recognizes that it is TLP (SEQ # = 2), and the sequence number management unit 26a recognizes that it is ACK (SEQ # = 0). Here, when the retransmission buffer status management unit 24 determines that the accumulated data storage capacity of the retransmission buffer 13 exceeds the maximum capacity (a certain amount) of the retransmission buffer 13 of the opposite device (step S13), an ACK transmission request signal is sent. Generated and output to the confirmation response transmitter 21a via the response transmission controller 26a (step S14). At this time, the retransmission buffer status management unit 24 updates the data storage status of the retransmission buffer 13 that it manages to TLP (SEQ # = 3) (step S15), and the sequence number management unit 26a receives ACK (SEQ # = 2), the acknowledgment transmission unit 21a transmits ACK (SEQ # = 2) to the transmission component 10 (step S16).

以上説明したように、図7のTLPの第1の管理方法によれば、受信されたTLPのシーケンスナンバーからACKパケットを返信したそのシーケンスナンバーを減算したシーケンスナンバーと、それに対応するTLPサイズを受信コンポーネント20において管理することができる。   As described above, according to the first TLP management method of FIG. 7, the sequence number obtained by subtracting the sequence number in which the ACK packet is returned from the received TLP sequence number and the corresponding TLP size are received. It can be managed in the component 20.

図8は図1の通信システムにおいて、TLPのサイズの第2の管理方法の通信手順を示すタイミングチャートである。図8において、送信コンポーネント10は受信コンポーネント20に対してTLP(SEQ#=3)を転送中(ステップS21)においては、再送バッファ状況管理部24はTLP(SEQ#=2)までを受信したことを認識している。ここで、受信コンポーネント20は送信コンポーネント10に対してTLPを送信しているときに(ステップS22)、再送バッファ状況管理部24で認識している再送バッファ13のデータ蓄積容量が所定のしきい値(一定量)となっていることを検出したとき(ステップS23)、もしくは、応答送信制御部26aがTLPのデータ長が名杯と判断したとき(ステップS24)、ACK応答送信要求信号を発生して確認応答送信部21aに出力し、これに応答して、確認応答送信部21aはACK(SEQ#=2)を送信する(ステップS25)。これにより、送信コンポーネント10の再送バッファ13のデータは削除されて、受信コンポーネント20は送信コンポーネント10に対して次のTLPを送信できる(ステップS26)ようになる。   FIG. 8 is a timing chart showing a communication procedure of the second management method of the TLP size in the communication system of FIG. In FIG. 8, while the transmitting component 10 is transferring TLP (SEQ # = 3) to the receiving component 20 (step S21), the retransmission buffer status management unit 24 has received up to TLP (SEQ # = 2). Recognize. Here, when the receiving component 20 is transmitting a TLP to the transmitting component 10 (step S22), the data storage capacity of the retransmission buffer 13 recognized by the retransmission buffer status management unit 24 is a predetermined threshold value. When it is detected that (constant amount) is reached (step S23), or when the response transmission control unit 26a determines that the TLP data length is full (step S24), an ACK response transmission request signal is generated. In response to this, the confirmation response transmission unit 21a transmits ACK (SEQ # = 2) (step S25). Thereby, the data in the retransmission buffer 13 of the transmission component 10 is deleted, and the reception component 20 can transmit the next TLP to the transmission component 10 (step S26).

図9は図1の通信システムにおける再送バッファ13の最大容量の認識及びTLPのサイズの管理処理を示すフローチャートである。なお、図9及び図10のフローは当該装置の動作に係るメインルーチン内のサブルーチンである。   FIG. 9 is a flowchart showing processing for recognizing the maximum capacity of the retransmission buffer 13 and managing the TLP size in the communication system of FIG. 9 and 10 are subroutines in the main routine related to the operation of the apparatus.

図9のステップS31において、互いにもしくは片方のコンポーネントの再送バッファ13の最大容量を通知し、ステップS32においてレジスタなどで再送バッファ13の最大容量が実装されているか否かが判断され、YESのときはステップS33に進む一方、NOのときはステップS41に進む。ステップS33では、対向デバイスの再送バッファ13の最大容量をパケット(TLP,DLLP)で確認し、ステップS34において受信されたTLPのシーケンスナンバー、ACKNAKを送信したシーケンスナンバーと、そのTLPのサイズを記憶して管理し、再送バッファ13のデータ蓄積容量を推定する(図7参照。)。そして、ステップS35において、対向デバイスの再送バッファ13のデータ蓄積容量がしきい値を超えたか否かを判断し、YESのときはステップS36に進む一方、NOのときはステップS37に進む。ステップS36では、受信コンポーネント20からACKを送出させ、ALタイマー25tを満了させ(図8参照。)元のメインルーチンに戻る。一方、ステップS37においてALタイマー25tが満了した後にACKを送信し元のメインルーチンに戻る。   In step S31 of FIG. 9, the maximum capacity of the retransmission buffers 13 of one or the other component is notified, and in step S32, it is determined whether or not the maximum capacity of the retransmission buffer 13 is implemented by a register or the like. While the process proceeds to step S33, the process proceeds to step S41 when NO. In step S33, the maximum capacity of the retransmission buffer 13 of the opposite device is confirmed by a packet (TLP, DLLP), and the sequence number of TLP received in step S34, the sequence number that transmitted ACKNAK, and the size of the TLP are stored. To estimate the data storage capacity of the retransmission buffer 13 (see FIG. 7). In step S35, it is determined whether or not the data storage capacity of the retransmission buffer 13 of the opposite device exceeds a threshold value. If YES, the process proceeds to step S36. If NO, the process proceeds to step S37. In step S36, ACK is transmitted from the receiving component 20, the AL timer 25t expires (see FIG. 8), and the process returns to the original main routine. On the other hand, after the AL timer 25t expires in step S37, ACK is transmitted and the process returns to the original main routine.

ステップS41では、受信コンポーネント20でパケット(例えば大量のMRd)を送信コンポーネント10に送り、送信コンポーネント10に再送を起こさせるため、受信コンポーネント20ではACKパケットを返信しないシーケンスに入る。ステップS42において、受信コンポーネント20でNAKパケットがでないか、すなわち通信エラーにならないか否かが判断され、YESのときはステップS45に進む一方、NOのときはステップS43に進む。ステップS43ではNAKパケットを送出し、ステップS44では、NAKパケットを複数回送出したか否かを判断し、NOのときはステップS41に戻る一方、YESのときは元のメインルーチンに戻る。ステップS45では、対向デバイスの再送バッファ13の最大容量を測定し、次いで、ステップS46において確度を上げるためにTLPのデータペイロード長を変えて実施する。受信コンポーネント20でパケット(例えばMRd)を送信コンポーネント10に送り、送信コンポーネント10に再送を起こさせるため、受信コンポーネント20ではACKパケットを返信しないシーケンスに入る。ステップS47において、受信コンポーネント20でNAKパケットがでないか、すなわち通信エラーにならないか否かが判断され、YESのときはステップS50に進む一方、NOのときはステップS48に進む。ステップS48ではNAKパケットを送出し、ステップS49では、NAKパケットを複数回送出したか否かを判断し、NOのときはステップS46に戻る一方、YESのときは元のメインルーチンに戻る。ステップS50では、対向デバイスの再送バッファ13の最大容量を測定し、ステップS51では、対向デバイスの再送バッファ13の最大容量を認識し、ステップS34に進む。   In step S41, the receiving component 20 sends a packet (for example, a large amount of MRd) to the transmitting component 10 to cause the transmitting component 10 to retransmit, so that the receiving component 20 enters a sequence in which no ACK packet is returned. In step S42, the receiving component 20 determines whether there is no NAK packet, that is, whether or not a communication error occurs. If YES, the process proceeds to step S45. If NO, the process proceeds to step S43. In step S43, a NAK packet is transmitted. In step S44, it is determined whether the NAK packet has been transmitted a plurality of times. If NO, the process returns to step S41. If YES, the process returns to the original main routine. In step S45, the maximum capacity of the retransmission buffer 13 of the opposite device is measured, and then in step S46, the TLP data payload length is changed to increase the accuracy. The receiving component 20 sends a packet (for example, MRd) to the transmitting component 10 and causes the transmitting component 10 to retransmit, so that the receiving component 20 enters a sequence in which no ACK packet is returned. In step S47, the receiving component 20 determines whether there is no NAK packet, that is, whether or not a communication error occurs. If YES, the process proceeds to step S50. If NO, the process proceeds to step S48. In step S48, a NAK packet is transmitted. In step S49, it is determined whether the NAK packet has been transmitted a plurality of times. If NO, the process returns to step S46. If YES, the process returns to the original main routine. In step S50, the maximum capacity of the retransmission buffer 13 of the opposite device is measured. In step S51, the maximum capacity of the retransmission buffer 13 of the opposite device is recognized, and the process proceeds to step S34.

すなわち、ステップS41からステップS51までは、対向デバイスの再送バッファ13の自動的な最大容量の認識(検出)方法を示している。なお、変形例では、ステップS38に示すように、ステップS45からステップS51にジャンプしてもよい。   That is, steps S41 to S51 show an automatic maximum capacity recognition (detection) method of the retransmission buffer 13 of the opposite device. In the modified example, as shown in step S38, the process may jump from step S45 to step S51.

以上のように構成された図9の処理では、送信コンポーネント10及び受信コンポーネント20で、それぞれ対向デバイスの再送バッファ13を管理している場合、パケット通信を用いて、対向デバイスの再送バッファ13の最大容量の情報の確認を行う。対向デバイスの再送バッファ13の最大容量が認識できない場合、以下のような対向デバイスの拝送バッファを確認する方法を用いる。受信コンポーネント20から、送信コンポーネント10に対してパケット送信をさせるために、パケットを送信し、受信コンポーネント20ではACKパケットを返さない構成としている。受信コンポーネント20から、送信コンポーネント10がパケット送信の初期シーケンスとして入るのは、受信コンポーネント20の送信状況、送信コンポーネント10からの通信が止まっている状況を確認して、初期シーケンス中に通信が発生した揚合、その状況を脱出する構成としている。上記初期シーケンスは自動的に入ることも可能なものとし、上位層もしくは、対向デバイスから制御可能な構成としてもよい。   In the processing of FIG. 9 configured as described above, when the transmission component 10 and the reception component 20 manage the retransmission buffer 13 of the opposite device, respectively, the maximum of the retransmission buffer 13 of the opposite device is used using packet communication. Check the capacity information. When the maximum capacity of the retransmission buffer 13 of the opposite device cannot be recognized, the following method for checking the transmission buffer of the opposite device is used. In order to cause the transmission component 10 to transmit a packet from the reception component 20, the packet is transmitted, and the reception component 20 does not return an ACK packet. The transmission component 10 enters the initial sequence of packet transmission from the reception component 20 because the transmission status of the reception component 20 and the communication from the transmission component 10 are stopped, and communication occurred during the initial sequence. It is configured to escape the situation. The initial sequence may be automatically entered, and may be configured to be controllable from an upper layer or a counter device.

本実施形態では、PCIエクスプレスでの実装をしているため、再送タイマーが実装されており、タイマー満了で再送は行われる。それにより送信コンポーネント10が再送を起こすようにする。そのため、受信コンポーネント20から、送信コンポーネント10がパケット送信をさせるために、パケット送信に関しては、再送タイマーによる再送機能を用いて理論上転送可能な量のパケット要求を送出し、再送タイマー済了までに返ってきたパケットから判断する。要求したデータ量よりも小さいデータを受信ゴンポーネント20で受信し、再送された場合、パケットの長さを変えて再度、送信コンポーネント10からパケット転送させて、再送バッファ13の最大容量を判断する。   In this embodiment, since the PCI Express implementation is implemented, a retransmission timer is implemented, and retransmission is performed when the timer expires. As a result, the transmission component 10 causes retransmission. Therefore, in order for the transmission component 10 to transmit a packet from the reception component 20, with respect to the packet transmission, an amount of packet requests that can be theoretically transferred is transmitted using the retransmission function by the retransmission timer. Judged from the returned packet. When data smaller than the requested data amount is received by the receiving component 20 and retransmitted, the packet length is changed and the packet is transferred again from the transmitting component 10 to determine the maximum capacity of the retransmission buffer 13.

上記の構成で、通常の通信において、対向デバイスの再送ッファ13の最大容量(すなわちサイズ)を認識し、対向デバイスの再送バッブァ13のデータ蓄積状況を把捉し、一定量を満たすと送信すること、また、受信コンポーネント20からの送信を判断し、ACKパケットを送出する。さらに、対向デバイスの再送バッファ13の最大容量を認識して、上位層に通知することにより受信コンポーネント20から送信コンポーネント10ヘパケット通信を行う際に、最適なパケットサイズでの転送が可能となる。これらを用いて、通信効率を高めることができる。 In the above configuration, the in normal communication, recognizing the maximum capacity of the retransmission server Ffa 13 of a facing device (i.e. size), and grasping the data storage state of the counter device of retransmission Babbua 13 transmits satisfies a certain amount Also, the transmission from the reception component 20 is determined, and the ACK packet is transmitted. Further, by recognizing the maximum capacity of the retransmission buffer 13 of the opposite device and notifying the higher layer, when performing packet communication from the reception component 20 to the transmission component 10, transfer with an optimum packet size is possible. Using these, communication efficiency can be improved.

図10は図1の通信システムの受信パケット管理部22によるTLPのサイズの管理処理を示すフローチャートである。   FIG. 10 is a flowchart showing a TLP size management process by the received packet management unit 22 of the communication system of FIG.

図10において、ステップS61で受信コンポーネント20から送信コンポーネント10へTLPを送信し、ステップS62で送信コンポーネント10から受信コンポーネント20で受信したTLPのサイズを検出する。そして、ステップS63で再送タイマー値と理論上転送可能なレートから算出したデータ容量に基づいて転送可能か否か(データ容量をレートで割り算すれば所要時間が計算できるので、その所要時間を再送タイマー値と比較して小さければ転送可能となる。)が判断され、YESのときはステップS64に進む一方、NOのときはステップS66に進む。ステップS64では、送信コンポーネント10の再送バッファ13の最大容量は十分に大きいと判断し、通常状態でのパケット通信を行い、元のメインルーチンに戻る。   In FIG. 10, TLP is transmitted from the receiving component 20 to the transmitting component 10 in step S61, and the size of the TLP received by the receiving component 20 from the transmitting component 10 is detected in step S62. In step S63, whether transfer is possible or not based on the data capacity calculated from the retransmission timer value and the theoretically transferable rate (the required time can be calculated by dividing the data capacity by the rate. If it is smaller than the value, transfer is possible.) Is determined. If YES, the process proceeds to step S64, and if NO, the process proceeds to step S66. In step S64, it is determined that the maximum capacity of the retransmission buffer 13 of the transmission component 10 is sufficiently large, packet communication is performed in a normal state, and the process returns to the original main routine.

ステップS66では、受信コンポーネント20で受信したTLPのサイズで送信コンポーネント10にTLPの長さを所定長だけ短くして送信し、ステップS67で規定のデータ量を受信コンポーネント20で受信したか否かが判断され、NOのときはステップS66に戻る一方、YESのときはステップS68に進む。ステップS68で再送バッファ13の認識についてはステップS69に進み、それ以外についてはステップS70に進む。ステップS69では、受信コンポーネント20で送信コンポーネント10の再送バッファ13のサイズ(最大容量)を認識し、受信コンポーネント20で再送バッファ13のデータ蓄積状態を認識できるために、しきい値に応じてACKパケットを送出できるために、再送バッファ13の最適な使用が可能である。また、ステップS70では、再送バッファ13の最大容量をレジスタに設定し、送受信でのデータパケットの送受信での推奨長さを判別可能で送信コンポーネント10及び受信コンポーネント20ともに最適な長さでのパケット通信が可能である。   In step S66, the TLP size received by the reception component 20 is transmitted to the transmission component 10 by shortening the length of the TLP by a predetermined length, and whether or not the prescribed data amount is received by the reception component 20 in step S67. If NO, the process returns to step S66 while if YES, the process proceeds to step S68. In step S68, the recognition of the retransmission buffer 13 proceeds to step S69, and otherwise the process proceeds to step S70. In step S69, since the reception component 20 recognizes the size (maximum capacity) of the retransmission buffer 13 of the transmission component 10 and the reception component 20 can recognize the data storage state of the retransmission buffer 13, an ACK packet is received according to the threshold value. Therefore, the retransmission buffer 13 can be used optimally. In step S70, the maximum capacity of the retransmission buffer 13 is set in the register, and the recommended length for transmission / reception of data packets during transmission / reception can be determined. Is possible.

以上説明したように、図10の処理では、互いに再送バッファ13の情報を各デバイスで伝えることができる場合、図9での対向デバイスの再送バッファ13の情報の通知方法を単純にパケット通信で実現することができ、図9と同様に通信効率を向上できる。   As described above, in the processing of FIG. 10, when the information of the retransmission buffer 13 can be transmitted to each other by each device, the information notification method of the retransmission buffer 13 of the opposite device in FIG. 9 is simply realized by packet communication. As shown in FIG. 9, the communication efficiency can be improved.

以上の実施形態において、対向デバイスの再送バッファ13の最大容量を推定するときに、フロー制御を実装している通信システムにおいて、受信バッファの影響で通信の停止による誤認識を防ぐために、上記シーケンスにおいて、フロー制御の受信バッファを開放するように構成してもよい。   In the above embodiment, when estimating the maximum capacity of the retransmission buffer 13 of the opposite device, in the communication system that implements flow control, in order to prevent erroneous recognition due to the suspension of communication due to the influence of the reception buffer, The flow control reception buffer may be opened.

また、以上の実施形態において、受信コンポーネント20は、再送バッファ13の最大容量を推定し、それに応じた長さのデータパケットを送信するように上位層に通知してもよい。さらに、送信コンポーネント10及び受信コンポーネント20はそれぞれ対向デバイスの再送ッファ13の最大容量の情報を有するとき、お互いに再送バッファの最大容量の情報を送受信してもよい。またさらに、送信コンポーネント10及び受信コンポーネント20はそれぞれ、それらの動作が上位層の装置又は対向するデバイスから制御可能であるように構成してもよい。 Further, in the above embodiment, the receiving component 20 may estimate the maximum capacity of the retransmission buffer 13 and notify the upper layer to transmit a data packet having a length corresponding to the maximum capacity. Further, when each transmission component 10 and the receiving component 20 has information of the maximum capacity of the retransmission server Ffa 13 of the opposing device, it may send and receive information of the maximum capacity of the retransmission buffer to each other. Still further, each of the transmission component 10 and the reception component 20 may be configured such that their operations can be controlled from a higher-layer apparatus or an opposing device.

さらに、送信コンポーネント10の動作評価のときに、再送バッファ13の最大容量を推定するように構成してもよく、例えば、送信コンポーネント10と受信コンポーネント20とが通信可能に接続された通信システムにおける受信コンポーネント20のための再送バッファ容量の測定装置を構成してもよい。   Further, the maximum capacity of the retransmission buffer 13 may be estimated when evaluating the operation of the transmission component 10, for example, reception in a communication system in which the transmission component 10 and the reception component 20 are connected to be communicable. A retransmission buffer capacity measuring device for the component 20 may be configured.

以上説明したように、本実施形態によれば、対向デバイスの再送バッファの最大容量を推定することができ、例えばPCIエキクスプレスのようなIOインターフェースでは、様々なデバイスと接続することがあり、その接続に応じて、パケットの長さなどの通信の使用状況が変わってくる。対面デバイスの再送バッファの最大容量を推定することにより、以下のように通信効率を高めることができる。   As described above, according to the present embodiment, the maximum capacity of the retransmission buffer of the opposite device can be estimated. For example, an IO interface such as a PCI Express may connect to various devices. Depending on the connection, the usage status of communication such as packet length changes. By estimating the maximum capacity of the retransmission buffer of the facing device, the communication efficiency can be improved as follows.

また、受信コンポーネント20から、送信コンポーネント10がパケット送信をさせるために、パケットを送信し、受信コンポーネント20では応答要求を返さない構成において、受信コンポーネント20から送信コンポーネント10がパケットを送信をさせるためにパケットを送信する。パケットの大きさは、再送タイマー満了までに理論上送信可能なパケットサイズで行う。できるだけ少ないパケットを送信させる上記初期化シーケンスから開始するので、上記初期化シーケンスの時間短縮ができる。   In addition, in order to cause the transmission component 10 to transmit a packet from the reception component 20 and transmit the packet, and the reception component 20 does not return a response request, the transmission component 10 causes the transmission component 10 to transmit a packet. Send the packet. The packet size is set to a packet size that can be theoretically transmitted before the retransmission timer expires. Since the initialization sequence that transmits as few packets as possible is started, the time of the initialization sequence can be shortened.

さらに、上記対向デバイスの再送バッファの最大容量を推定し、そのデータ蓄積状況に応じて、上記受信装置から肯定応答を送出することにより、送信コンポーネント10の再送バッファにデータが満たされることによる通信効率の低下を防ぐことが可能である。   Furthermore, the maximum capacity of the retransmission buffer of the opposite device is estimated, and an acknowledgment is sent from the receiving device according to the data accumulation status, so that the retransmission efficiency of the transmission component 10 is filled with data. Can be prevented.

またさらに、対向デバイスの再送バッファのデータ蓄積状況と、次に受信コンポーネントから転送するパケットから判断し、肯定応答を送出するが、対向デバイスの再送バッファのデータ蓄積量が一定量を超えてしまっても、受信コンポーネント20から長いパケットを送信している間に再送バッファが満たされ、送信コンポーネント10から送信するパケット通信が止まる可能性がある。これを回避することができる。   Furthermore, it is judged from the data accumulation status of the retransmission buffer of the opposite device and the packet to be transferred next from the receiving component, and an acknowledgment is sent, but the data accumulation amount of the retransmission buffer of the opposite device exceeds a certain amount. However, while the long packet is transmitted from the reception component 20, the retransmission buffer is filled, and packet communication transmitted from the transmission component 10 may be stopped. This can be avoided.

また、対向デバイスの再送バッファの最大容量とデータ蓄積容量を推定し、これを利用して、最適な長さのパケットを上位層へ伝えることができる。この通知により、上位層から最適なパケットサイズでの転送が行えるため、通信効率を高めることができ、この情報は、当該装置のデバイス上位層及び対向デバイスヘも通知可能である。   In addition, it is possible to estimate the maximum capacity and data storage capacity of the retransmission buffer of the opposite device, and use this to transmit a packet having an optimal length to the upper layer. By this notification, transfer with an optimal packet size can be performed from the upper layer, so that communication efficiency can be improved, and this information can be notified to the device upper layer and the opposite device of the apparatus.

さらに、受信コンポーネント20の受信バッファの影響で、通信が止まることを防ぐため、受信バッファの開放をさせるものとする。また、通信システムとして双方のデバイスで再送バッファの最大容量及びデータ蓄積容量を通知可能にすることで、上記初期シーケンスを省くことができる。さらに、上位層もしくは対向デバイスにより、対向デバイスの再送バッファ認識のシーケンスを実施可能又は停止可能である。   Furthermore, in order to prevent communication from being stopped due to the influence of the reception buffer of the reception component 20, the reception buffer is opened. In addition, the initial sequence can be omitted by enabling both devices to notify the maximum capacity and data storage capacity of the retransmission buffer as a communication system. Further, the retransmission buffer recognition sequence of the opposite device can be executed or stopped by the upper layer or the opposite device.

以上詳述したように、本発明に係る通信システムに及び再送バッファ容量の測定装置によれば、送信装置と受信装置とが通信可能に接続された通信システムにおいて、上記送信装置は、データパケットを上記受信装置に送信するためのパケット送信部と、上記受信装置へ送信されるデータパケットを再送用として保持する再送バッファと、上記受信装置へ送信されるデーダパケットに管理番号を割り当てる再送バッファ管理部を備え、上記受信装置は、上記送信装置からのデータパケットを受信して、当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答又は否定を示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、データパケットを上記送信装置に送信するためのパケット送信部とを備え、上記受信装置は上記送信装置からのデータパケットを受信たとき、上記送信装置の再送をさせるために肯定応答又は否定応答である受信応答を行わず、上記送信装置は上記送信装置の再送タイマーの満了後に上記送信装置の再送バッファに格納された所定量のデータパケットを再送信し、上記受信装置は上記送信装置から再送信された所定量のデータパケットを受信し、上記受信した所定量のデータパケットの容量を上記送信装置の再送バッファの最大容量として推定する。従って、対向デバイスの再送バッファの最大容量を推定することができ、例えばPCIエキクスプレスのようなIOインターフェースでは、様々なデバイスと接続することがあり、その接続に応じて、パケットの長さなどの通信の使用状況が変わってくる。対面デバイスの再送バッファの最大容量を推定することにより、通信効率を高めることができる。 As described above in detail, according to the communication system according to the present invention and the retransmission buffer capacity measuring device, in the communication system in which the transmission device and the reception device are connected to be communicable, the transmission device transmits a data packet. A packet transmitting unit for transmitting to the receiving device; a retransmission buffer for holding a data packet transmitted to the receiving device for retransmission; and a retransmission buffer managing unit for assigning a management number to a data packet transmitted to the receiving device The receiving device receives a data packet from the transmitting device and determines the validity of the data packet, and the packet is based on the determination result of the validity determining unit. An acknowledgment transmission unit that transmits an acknowledgment or negative acknowledgment indicating approval to the transmitter at predetermined intervals, and data And a packet transmitter for transmitting packet to the transmission apparatus, the above-mentioned receiving apparatus when receiving the data packet from the transmitting device is the acknowledgment or negative acknowledgment in order to retransmission of the transmission device Without transmitting a reception response, the transmitting apparatus retransmits a predetermined amount of data packets stored in the retransmission buffer of the transmitting apparatus after the retransmission timer of the transmitting apparatus expires, and the receiving apparatus is retransmitted from the transmitting apparatus. The predetermined amount of data packets are received, and the capacity of the received predetermined amount of data packets is estimated as the maximum capacity of the retransmission buffer of the transmitting apparatus. Therefore, it is possible to estimate the maximum capacity of the retransmission buffer of the opposite device. For example, an IO interface such as PCI Express may connect to various devices. Depending on the connection, the packet length, etc. Communication usage will change. By estimating the maximum capacity of the retransmission buffer of the face-to-face device, communication efficiency can be improved.

10…送信コンポーネント、
11…パケット受信部、
12…パケット送信部、
20…受信コンポーネント、
21…パケット送信部、
21a…確認応答送信部、
22…受信パケット管理部22、
22a…シーケンスナンバー管理部、
23…正当性判断部、
24…再送バッファ状況管理部、
25…ALタイマー管理部、
25t…ALタイマー、
26…応答送信制御部、
26a…シーケンスナンバー管理部26a。
10 ... Sending component,
11: Packet receiver,
12 ... Packet transmission unit,
20 ... receiving component,
21 ... Packet transmission unit,
21a ... confirmation response transmission unit,
22: Received packet management unit 22,
22a ... Sequence number management unit,
23 ... the legitimacy judging section,
24 ... retransmission buffer status management unit,
25 ... AL timer management department,
25t ... AL timer,
26 ... Response transmission control unit,
26a: Sequence number management unit 26a.

特開2001−111618号公報。Japanese Patent Laid-Open No. 2001-111618. 特開2007−180611号公報。JP 2007-180611 A.

"PCI Express Base Specification Revision 2.0", Peripheral Component Interconnect-Special Interest Group (PCI-SIG), December 2006."PCI Express Base Specification Revision 2.0", Peripheral Component Interconnect-Special Interest Group (PCI-SIG), December 2006. 荒井信隆ほか,「改訂新版 PCI Express入門講座 Gen2増補」,株式会社電話新聞社発行,86〜103頁,2008年6月20日発行。Nobutaka Arai et al., “Revised new edition of PCI Express introductory course, Gen2 augmentation”, published by Telephone Shimbun Co., Ltd., pages 86-103, issued on June 20, 2008.

Claims (20)

送信装置と受信装置とが通信可能に接続された通信システムにおいて、
上記送信装置は、データパケットを上記受信装置に送信するためのパケット送信部と、上記受信装置へ送信されるデータパケットを再送用として保持する再送バッファと、上記受信装置へ送信されるデーダパケットに管理番号を割り当てる再送バッファ管理部を備え、
上記受信装置は、上記送信装置からのデータパケットを受信して、当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答又は否定を示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、データパケットを上記送信装置に送信するためのパケット送信部とを備え、
上記受信装置は上記送信装置からのデータパケットを受信たとき、上記送信装置の再送をさせるために肯定応答又は否定応答である受信応答を行わず、
上記送信装置は上記送信装置の再送タイマーの満了後に上記送信装置の再送バッファに格納された所定量のデータパケットを再送信し、
上記受信装置は上記送信装置から再送信された所定量のデータパケットを受信し、上記受信した所定量のデータパケットの容量を上記送信装置の再送バッファの最大容量として推定することを特徴とする通信システム。
In a communication system in which a transmission device and a reception device are communicably connected,
The transmission device includes a packet transmission unit for transmitting a data packet to the reception device, a retransmission buffer for holding a data packet transmitted to the reception device for retransmission, and a data packet transmitted to the reception device. A retransmission buffer management unit for assigning a management number;
The receiving device receives the data packet from the transmitting device, and approves the packet based on a validity determination unit that determines the validity of the data packet and a determination result of the validity determination unit. An acknowledgment transmission unit that transmits an acknowledgment or a negative response that indicates a negative response to the transmission device at a predetermined interval, and a packet transmission unit that transmits a data packet to the transmission device.
When the above receiving apparatus that has received the data packet from the transmitting device, without a reception response is positive acknowledgment or negative acknowledgment in order to retransmission of the transmission device,
The transmitter retransmits a predetermined amount of data packets stored in the retransmission buffer of the transmitter after expiration of the retransmission timer of the transmitter;
The receiving apparatus receives a predetermined amount of data packets retransmitted from the transmitting apparatus, and estimates a capacity of the received predetermined amount of data packets as a maximum capacity of a retransmission buffer of the transmitting apparatus. system.
上記送信装置と上記受信装置で、再送を行う場合には否定応答の受信又は再送タイマーの満了で再送制御を行い、
上記送信装置及び上記受信装置は、上記送信装置と上記受信装置の通信初期化時に最大ペイロードサイズと接続先のレーン幅に応じて、再送タイマー値を決定し、
上記受信装置が送信するデータパケットは、再送タイマーの満了時までに理論上送信可能なデータサイズを算出して最大ペイロードサイズでのパケット転送を行うことを特徴とする請求項1記載の通信システム。
When retransmission is performed between the transmission device and the reception device, retransmission control is performed upon reception of a negative response or expiration of a retransmission timer,
The transmission device and the reception device determine a retransmission timer value according to the maximum payload size and the lane width of the connection destination at the time of communication initialization between the transmission device and the reception device,
2. The communication system according to claim 1, wherein the data packet transmitted by the receiving apparatus calculates a data size that can be theoretically transmitted before expiration of a retransmission timer and performs packet transfer with a maximum payload size.
上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、それに応じて、上記受信装置から送出するパケットのパケット長を変更し、もしくはデータサイズを変更してパケット転送を行うことを特徴とする請求項2記載の通信システム。   The receiving apparatus estimates the data storage status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and transmits the data from the receiving apparatus accordingly. 3. The communication system according to claim 2, wherein packet transfer is performed by changing a packet length of a packet to be changed or changing a data size. 上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、
上記再送バッファにおいてデータが所定量を記憶していることを検出したときに、上記送信装置に対して、再送タイマーの満了時間を短縮し又は送信要求をすることを特徴とする請求項2又は3記載の通信システム。
The receiving device estimates the data storage status of the retransmission buffer of the transmitting device based on the reception response sent from the receiving device and the size of the packet data sent from the receiving device,
4. The transmission apparatus according to claim 2, wherein when it is detected that a predetermined amount of data is stored in the retransmission buffer, an expiration time of a retransmission timer is shortened or a transmission request is made to the transmission apparatus. The communication system described.
上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータがフルの量を記憶していることを検出したときに、上記送信装置に対して、強制的に再送タイマーを満了し又は肯定応答を送出することを特徴とする請求項2又は3記載の通信システム。   The receiving apparatus estimates the data accumulation status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and the amount of data in the retransmission buffer is full. 4. The communication system according to claim 2, wherein, when it is detected that a message is stored, a retransmission timer is forcibly expired or an acknowledgment is transmitted to the transmission device. 5. 上記受信装置は上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記受信装置から上記送信装置ヘパケット転送を行うときに、上記送信装置の再送バッファのデータ蓄積状況と、次に転送するパケットサイズにより、上記送信装置の再送バッファを開放させるために応答送信要求信号を送出することを特徴とする請求項2又は3記載の通信システム。   The receiving apparatus estimates the data accumulation status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and transfers the packet from the receiving apparatus to the transmitting apparatus. 3. When performing, a response transmission request signal is transmitted to release the retransmission buffer of the transmission device according to a data accumulation state of the retransmission buffer of the transmission device and a packet size to be transferred next. Or the communication system of 3 description. 上記受信装置は上記送信装置の再送バッファの最大容量を推定し、それに応じた長さのデータパケットを送信するように上位層に通知することを特徴とする請求項2又は3記載の通信システム。   4. The communication system according to claim 2, wherein the receiving device estimates a maximum capacity of a retransmission buffer of the transmitting device and notifies an upper layer to transmit a data packet having a length corresponding to the maximum capacity. 上記受信装置は上記送信装置の再送バッファの最大容量を推定し、フロー制御を実装している通信システムにおいて、受信バッファの影響で通信の停止による誤認識を防ぐために、上記初期シーケンスにおいて、フロー制御の受信バッファを開放することを特徴とする請求項1乃至7のうちのいずれか1つに記載の通信システム。   The receiving apparatus estimates the maximum capacity of the retransmission buffer of the transmitting apparatus, and in a communication system that implements flow control, in order to prevent misrecognition due to the suspension of communication due to the influence of the receiving buffer, 8. The communication system according to claim 1, wherein the reception buffer is opened. 上記送信装置及び上記受信装置はそれぞれ対向デバイスの再送ッファの最大容量の情報を有するとき、お互いに再送バッファの最大容量の情報を送受信することを特徴とする請求項1乃至8のうちのいずれか1つに記載の通信システム。 When having information of the maximum capacity of the retransmission server Ffa of each said transmitting apparatus and the receiving apparatus facing devices, any of the claims 1 to 8, wherein the transmitting and receiving information of the maximum capacity of the retransmission buffer to each other The communication system as described in any one. 上記送信装置及び上記受信装置は、その動作が上位層の装置又は対向するデバイスから制御可能であることを特徴とする請求項1乃至9のうちのいずれか1つに記載の通信システム。   10. The communication system according to claim 1, wherein operations of the transmission device and the reception device can be controlled from a higher-layer device or an opposing device. 送信装置と受信装置とが通信可能に接続された通信システムにおける受信装置のための再送バッファ容量の測定装置において、
上記受信装置は、上記送信装置からのデータパケットを受信して、当該データパケットの正当性を判断する正当性判断部と、上記正当性判断部での判断結果に基づいて、上記パケットが承認されたことを示す肯定応答又は否定を示す否定応答を所定の間隔で上記送信装置に送信する確認応答送信部と、データパケットを上記送信装置に送信するためのパケット送信部とを備え、
上記受信装置は上記送信装置からのデータパケットを受信たとき、上記送信装置の再送をさせるために肯定応答又は否定応答である受信応答を行わず、
上記受信装置は、上記送信装置の再送タイマーの満了後に上記送信装置の再送バッファに格納された所定量のデータパケットであって、上記送信装置から再送信された当該所定量のデータパケットを受信し、上記受信された所定量のデータパケットの容量を上記送信装置の再送バッファの最大容量として推定することを特徴とする再送バッファ容量の測定装置。
In a measuring apparatus for retransmission buffer capacity for a receiving apparatus in a communication system in which a transmitting apparatus and a receiving apparatus are communicably connected,
The receiving device receives the data packet from the transmitting device, and approves the packet based on a validity determination unit that determines the validity of the data packet and a determination result of the validity determination unit. An acknowledgment transmission unit that transmits an acknowledgment or a negative response that indicates a negative response to the transmission device at a predetermined interval, and a packet transmission unit that transmits a data packet to the transmission device.
When the above receiving apparatus that has received the data packet from the transmitting device, without a reception response is positive acknowledgment or negative acknowledgment in order to retransmission of the transmission device,
The receiving apparatus receives a predetermined amount of data packets retransmitted from the transmitting apparatus, the data packet being stored in a retransmission buffer of the transmitting apparatus after expiration of a retransmission timer of the transmitting apparatus. An apparatus for measuring a retransmission buffer capacity, wherein the capacity of the received predetermined amount of data packets is estimated as a maximum capacity of a retransmission buffer of the transmission apparatus.
上記受信装置で再送を行う場合には否定応答の受信又は再送タイマーの満了で再送制御を行い、
上記受信装置は、上記送信装置と上記受信装置の通信初期化時に最大ペイロードサイズと接続先のレーン幅に応じて、再送タイマー値を決定し、
上記受信装置が送信するデータパケットは、再送タイマーの満了時までに理論上送信可能なデータサイズを算出して最大ペイロードサイズでのパケット転送を行うことを特徴とする請求項11記載の再送バッファ容量の測定装置。
When performing retransmission at the above receiver, perform retransmission control upon receipt of negative response or expiration of retransmission timer,
The receiving device determines a retransmission timer value according to a maximum payload size and a lane width of a connection destination at the time of communication initialization between the transmitting device and the receiving device,
12. The retransmission buffer capacity according to claim 11, wherein the data packet transmitted by the receiving apparatus calculates a data size that can be theoretically transmitted before expiration of a retransmission timer and performs packet transfer with a maximum payload size. Measuring device.
上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、それに応じて、上記受信装置から送出するパケットのパケット長を変更し、もしくはデータサイズを変更してパケット転送を行うことを特徴とする請求項12記載の再送バッファ容量の測定装置。   The receiving apparatus estimates the data storage status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and transmits the data from the receiving apparatus accordingly. 13. The retransmission buffer capacity measuring apparatus according to claim 12, wherein packet transfer is performed by changing a packet length of a packet to be transmitted or changing a data size. 上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータが所定量を記憶していることを検出したときに、上記送信装置に対して、再送タイマーの満了時間を短縮し又は送信要求をすることを特徴とする請求項12又は13記載の再送バッファ容量の測定装置。   The receiving apparatus estimates the data accumulation status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and a predetermined amount of data is stored in the retransmission buffer. 14. The retransmission buffer capacity measuring device according to claim 12 or 13, wherein when the storage is detected, the expiration time of a retransmission timer is shortened or a transmission request is made to the transmission device. 上記受信装置は、上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記再送バッファにおいてデータがフルの量を記憶していることを検出したときに、上記送信装置に対して、強制的に再送タイマーを満了し又は肯定応答を送出することを特徴とする請求項12又は13記載の再送バッファ容量の測定装置。   The receiving apparatus estimates the data accumulation status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and the amount of data in the retransmission buffer is full. 14. The retransmission buffer capacity measurement according to claim 12 or 13, wherein a retransmission timer is forcibly expired or an acknowledgment is transmitted to the transmission apparatus when it is detected that the message is stored. apparatus. 上記受信装置は上記受信装置から送出した受信応答と上記受信装置から送出したパケットデータのサイズに基づいて上記送信装置の再送バッファのデータ蓄積状況を推定し、上記受信装置から上記送信装置ヘパケット転送を行うときに、上記送信装置の再送バッファのデータ蓄積状況と、次に転送するパケットサイズにより、上記送信装置の再送バッファを開放させるために応答送信要求信号を送出することを特徴とする請求項12又は13記載の再送バッファ容量の測定装置。   The receiving apparatus estimates the data accumulation status of the retransmission buffer of the transmitting apparatus based on the reception response transmitted from the receiving apparatus and the size of the packet data transmitted from the receiving apparatus, and transfers the packet from the receiving apparatus to the transmitting apparatus. 13. When performing, a response transmission request signal is transmitted to release the retransmission buffer of the transmission device according to a data accumulation state of the retransmission buffer of the transmission device and a packet size to be transferred next. Or the retransmission buffer capacity measuring device according to 13. 上記受信装置は上記送信装置の再送バッファの最大容量を推定し、それに応じた長さのデータパケットを送信するように上位層に通知することを特徴とする請求項12又は13記載の再送バッファ容量の測定装置。   14. The retransmission buffer capacity according to claim 12 or 13, wherein the receiving apparatus estimates a maximum capacity of a retransmission buffer of the transmitting apparatus and notifies an upper layer to transmit a data packet having a length corresponding thereto. Measuring device. 上記受信装置は上記送信装置の再送バッファの最大容量を推定し、フロー制御を実装している通信システムにおいて、受信バッファの影響で通信の停止による誤認識を防ぐために、上記初期シーケンスにおいて、フロー制御の受信バッファを開放することを特徴とする請求項11乃至17のうちのいずれか1つに記載の再送バッファ容量の測定装置。   The receiving apparatus estimates the maximum capacity of the retransmission buffer of the transmitting apparatus, and in a communication system that implements flow control, in order to prevent misrecognition due to the suspension of communication due to the influence of the receiving buffer, in the initial sequence, the flow control The retransmission buffer capacity measuring apparatus according to claim 11, wherein the reception buffer is opened. 上記受信装置は対向デバイスの再送ッファの最大容量の情報を有するとき、お互いに再送バッファの最大容量の情報を送受信することを特徴とする請求項11乃至18のうちのいずれか1つに記載の再送バッファ容量の測定装置。 When the above receiving apparatus having the information of the maximum capacity of the retransmission server Ffa opposing device, according to any one of claims 11 to 18, characterized in that transmitting and receiving information of the maximum capacity of the retransmission buffer to each other For measuring retransmission buffer capacity. 上記受信装置は、その動作が上位層の装置又は対向するデバイスから制御可能であることを特徴とする請求項11乃至19のうちのいずれか1つに記載の再送バッファ容量の測定装置。   The retransmission buffer capacity measuring apparatus according to any one of claims 11 to 19, wherein the operation of the receiving apparatus can be controlled from a higher layer apparatus or an opposing device.
JP2009209479A 2009-09-10 2009-09-10 Communication system and retransmission buffer capacity measuring apparatus Expired - Fee Related JP5532775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009209479A JP5532775B2 (en) 2009-09-10 2009-09-10 Communication system and retransmission buffer capacity measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009209479A JP5532775B2 (en) 2009-09-10 2009-09-10 Communication system and retransmission buffer capacity measuring apparatus

Publications (2)

Publication Number Publication Date
JP2011061536A JP2011061536A (en) 2011-03-24
JP5532775B2 true JP5532775B2 (en) 2014-06-25

Family

ID=43948663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009209479A Expired - Fee Related JP5532775B2 (en) 2009-09-10 2009-09-10 Communication system and retransmission buffer capacity measuring apparatus

Country Status (1)

Country Link
JP (1) JP5532775B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014027444A (en) * 2012-07-26 2014-02-06 Nippon Telegraph & Telephone West Corp Transmission buffer size estimation device, transmission buffer size estimation method, and transmission buffer size estimation program
CN103634230B (en) * 2013-11-29 2016-09-07 华中科技大学 A kind of network driver layer data packet receiving method based on dynamic prediction and system
CN113174645B (en) * 2021-03-06 2022-07-05 浙江恒优化纤有限公司 Spinning equipment and spinning process of semi-dull FDY (fully drawn yarn)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2943453B2 (en) * 1991-10-15 1999-08-30 日本電気株式会社 Response return timing calculation system corresponding to the transmission buffer of the communication partner
JP2000259525A (en) * 1999-03-10 2000-09-22 Nec Corp Response returning method for communication protocol, and communication controller
JP3587452B2 (en) * 2001-04-27 2004-11-10 三菱電機株式会社 Data reception device and data reception control method
JP2007180611A (en) * 2005-12-26 2007-07-12 Toshiba Corp Communication system and communication method
ES2478018T3 (en) * 2007-12-20 2014-07-18 Ntt Docomo, Inc. Mobile station, base station device, communication control method and mobile communication system

Also Published As

Publication number Publication date
JP2011061536A (en) 2011-03-24

Similar Documents

Publication Publication Date Title
US7461318B2 (en) Communication system realizing USB communications between a host computer and its peripheral device and a communication controller transmitting a USB signal under the USB standard
US9875206B2 (en) Methods and devices for extending USB 3.0-compliant communication
JP2007180611A (en) Communication system and communication method
US9256564B2 (en) Techniques for improving throughput and performance of a distributed interconnect peripheral bus
JP2005107683A (en) Communication controller, communications system, communication apparatus, and communication method
JP6287451B2 (en) Data receiving apparatus, data receiving apparatus control method, and data transmitting / receiving system having data transmitting apparatus and data receiving apparatus
KR20120091321A (en) Systems, methods and apparatus for data communication
JP5532775B2 (en) Communication system and retransmission buffer capacity measuring apparatus
WO2009012426A2 (en) A distributed interconnect bus apparatus
US20070038783A1 (en) Communication device, host apparatus, and communication method
JP2001142845A5 (en)
Goldhammer et al. Understanding performance of PCI express systems
JP5439832B2 (en) Serial data communication device
JP2009188508A (en) Data transmission and reception device
JP2014230072A (en) Data communication device, data communication apparatus, and data communication method
KR100408214B1 (en) A data transfer device with error processing functions and a method of processing errors in transferring data
JP2012064090A (en) Information processor, information processing system, and communication method of information processing system
JP2011040965A (en) Data-link layer processing circuit, and communication circuit
CN117318898B (en) Method for processing repeated data packet in high-speed serial interface
JP2005129008A (en) Host-side controller, usb system, communication controller, method and system for packet-based communication, and recording medium
JP5182417B2 (en) Transmission data error checking device and method
JP2007251715A (en) Data transfer method and data transfer apparatus therefor
JP2002281034A (en) Information transfer device
WO2022086798A1 (en) Repeated in sequence packet transmission for checksum comparison
CN117792579A (en) Response packet transmission method under high-speed serial interface full duplex mode

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140114

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140127

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20140127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20140127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140317

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

R151 Written notification of patent or utility model registration

Ref document number: 5532775

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414

LAPS Cancellation because of no payment of annual fees