JP2007088908A - Data communication system, transmission side computer, and program - Google Patents

Data communication system, transmission side computer, and program Download PDF

Info

Publication number
JP2007088908A
JP2007088908A JP2005276232A JP2005276232A JP2007088908A JP 2007088908 A JP2007088908 A JP 2007088908A JP 2005276232 A JP2005276232 A JP 2005276232A JP 2005276232 A JP2005276232 A JP 2005276232A JP 2007088908 A JP2007088908 A JP 2007088908A
Authority
JP
Japan
Prior art keywords
packet
standby
standby condition
error information
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005276232A
Other languages
Japanese (ja)
Inventor
Satoshi Yamashita
悟史 山下
Atsushi Kondo
篤史 近藤
Naoyuki Iwami
直之 石見
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.)
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology Corp
Original Assignee
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Information Systems Corp, Mitsubishi Electric Information Technology Corp filed Critical Mitsubishi Electric Information Systems Corp
Priority to JP2005276232A priority Critical patent/JP2007088908A/en
Publication of JP2007088908A publication Critical patent/JP2007088908A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide technologies for updating standby conditions, in association with a network system which automatically sets the standby conditions in packet transfer, in accordance with the situation of packet retransmission occurrence so as to be adaptive to variations in various factors related to the standby conditions. <P>SOLUTION: A packet transmission control section 105 sets on standby in accordance with standby conditions calculated based on error information generated in last transmission while a packet decomposing transmission data is transmitted at a fixed transmission rate, and when error information is further received, an error generating packet is retransmitted. When there is no record of packet retransmission, a standby condition updating section 111 shortens a standby time included in the standby conditions stored in a standby condition storage section 109. When there is a record of packet retransmission, a standby condition clear section 112 deletes the updated conditions. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、パケット転送の際の待機条件を自動的に設定するネットワークシステムに係り、待機条件に関わる諸要因の変化に適応し、待機条件を見直す技術に関する。   The present invention relates to a network system that automatically sets standby conditions for packet transfer, and relates to a technique for revising standby conditions by adapting to changes in various factors related to standby conditions.

特許第3495678号公報は、同報通信の機能を用いて構成されているネットワークシステムに関して、ネットワークの構成や、ハードウェアの能力や、稼動状態や、データ伝送の条件等複雑な要因に対応して、パケット漏れを防止しつつ、最速のデータ伝送を行なう条件を容易に設定する技術が開示されている。   Japanese Patent No. 3495678 relates to a network system configured using the function of broadcast communication in response to complicated factors such as the network configuration, hardware capability, operating status, and data transmission conditions. A technique for easily setting conditions for performing the fastest data transmission while preventing packet leakage is disclosed.

例えば、受信側計算機の演算部の処理においてその処理能力の限界を超える場合にパケット漏れが生じる。伝送レートが10(Mbps)で、演算部が10(Mips)程度の処理能力を有する場合には、1.5(Kbyte)の大きさのパケットを800程度伝送した時点で処理能力の限界を迎え、パケット漏れが生じる。そして、その後0.6(sec)程度で、正常状態に復帰する。   For example, packet leakage occurs when the limit of the processing capability is exceeded in the processing of the arithmetic unit of the receiving computer. If the transmission rate is 10 (Mbps) and the computing unit has a processing capacity of about 10 (Mips), the processing capacity will reach its limit when about 800 packets of 1.5 (Kbytes) are transmitted. Packet leakage occurs. Then, after that, it returns to a normal state in about 0.6 (sec).

また、ディスク装置へのキャッシュの処理能力の限界を超える場合にもパケット漏れが生じる。例えば、伝送レートが10(Mbps)で、ディスク装置27が1(Mbyte/sec)程度の処理能力を有する場合には、1.5(Kbyte)の大きさのパケットを680程度伝送した時点で処理能力の限界を迎え、パケット漏れが生じる。そして、その後1(sec)程度で、正常状態に復帰する。   Packet leakage also occurs when the limit of the cache processing capacity to the disk device is exceeded. For example, when the transmission rate is 10 (Mbps) and the disk device 27 has a processing capability of about 1 (Mbyte / sec), processing is performed when about 680 packets having a size of 1.5 (Kbytes) are transmitted. Packet capacities occur due to capacity limitations. After that, the normal state is restored in about 1 (sec).

前述の特許公報に開示されている送信側計算機は、同報通信の結果、受信側計算機から受信したエラー情報(図17)に基づいて、パケットを送信する間に待機する条件である待機条件(図18)を算出し、送信データを分解したパケットを送信する間に、待機条件に従って待機するように動作する。   The transmission side computer disclosed in the above-mentioned patent gazette is based on a standby condition (waiting condition while transmitting a packet based on error information (FIG. 17) received from the reception side computer as a result of broadcast communication). FIG. 18) is calculated and operates so as to wait according to the standby condition while transmitting a packet obtained by decomposing the transmission data.

図19は、待機番号1の待機条件を表わす図である。転送パケット数が、WP(1)に等しいとき、およびその整数倍に等しいときに、WT(1)の待機時間が生じることを表わしている。   FIG. 19 is a diagram illustrating a standby condition of standby number 1. When the number of transfer packets is equal to WP (1), and when it is equal to an integral multiple thereof, it represents that a waiting time of WT (1) occurs.

また、図20は、待機番号2の待機条件を表わす図である。転送パケット数が、WP(2)に等しいときに、WT(2)の待機時間が生じることを表わしている。尚、図示していないが、WP(2)の整数倍に等しいときにも、WT(2)の待機時間が生じる。   FIG. 20 is a diagram showing a standby condition of standby number 2. This indicates that when the number of transfer packets is equal to WP (2), a waiting time of WT (2) occurs. Although not shown, the waiting time of WT (2) also occurs when it is equal to an integral multiple of WP (2).

図21は、待機番号1の待機条件に関るパケット転送の様子を表わす図である。待機が生じない間は、一定の伝送レートでパケットが転送され、一定の勾配で推移している。しかし、待機番号1の待機条件に適合したときに、待機が生じる。図19で示したタイミングで、待機時間が経過する間、パケットが転送されない。   FIG. 21 is a diagram illustrating a state of packet transfer related to the standby condition of standby number 1. While waiting does not occur, packets are transferred at a constant transmission rate, and change at a constant gradient. However, when the standby condition of standby number 1 is met, standby occurs. At the timing shown in FIG. 19, the packet is not transferred while the standby time elapses.

図22は、待機番号2の待機条件に関るパケット転送の様子を表わす図である。図21と同様に推移し、待機番号2の待機条件に適合したときには、待機が生じる。図20で示したタイミングで、待機時間が経過する間、パケットが転送されない。   FIG. 22 is a diagram illustrating a state of packet transfer related to the standby condition of standby number 2. Transition is performed in the same manner as in FIG. 21, and when the standby condition of standby number 2 is met, standby occurs. At the timing shown in FIG. 20, the packet is not transferred while the standby time elapses.

こうように、パケットの転送を制御することによって、パケット転送における障害を顕在化させることなくその要因を解消させ、正常状態に復旧させることができる。従って、連続してデータを伝送する場合であってもパケット漏れが生じず、パケットの再転送を必要としないため、ネットワークシステムで用いられるデータの即時性が担保される。また、必要以上に伝送速度を遅らせることがないので、最速の伝送状態を確保できる。   In this way, by controlling packet transfer, it is possible to eliminate the cause of the failure in packet transfer and to restore the normal state. Therefore, even when data is continuously transmitted, packet leakage does not occur and packet re-transfer is not required, so that the immediacy of data used in the network system is ensured. Further, since the transmission speed is not delayed more than necessary, the fastest transmission state can be secured.

しかし、ネットワークの構成や、ハードウェアの能力や、稼動状態や、データ伝送の条件等複雑な要因は、変動するものである。例えば、エラーを発生させた受信側計算機が処理性能の良い演算部を有するハードウェアに交換された場合や、同じく受信側計算機のキャッシュの処理能力が向上する場合などがある。このように、要因が好転した場合に、従来技術では、待機条件が見直されることが無いため、潜在的な待機条件が緩和されているにも関わらず、送信側計算機の動作上の待機条件は、元のままであり、伝送の高速化の機会を逸している。   However, complicated factors such as network configuration, hardware capabilities, operating conditions, and data transmission conditions vary. For example, there is a case where the receiving side computer in which an error has occurred is replaced with hardware having a processing unit with good processing performance, or the case where the processing capacity of the receiving side computer is improved. In this way, when the factor improves, in the conventional technology, the standby condition is not reviewed, so the standby condition for the operation of the transmitting computer is reduced despite the potential standby condition being relaxed. , Remain intact and miss the opportunity to speed up transmission.

また、逆に諸要因が悪化する場合もある。受信側に性能的に劣る計算機が追加された場合などである。このような場合には、待機条件を追加するよりも、改めて待機条件を設定し直す方が望ましい。
特許第3495678号公報
Conversely, various factors may worsen. This is the case when a computer with poor performance is added to the receiving side. In such a case, it is preferable to reset the standby condition again rather than adding the standby condition.
Japanese Patent No. 3495678

そこで、本発明はこのような問題を解決し、諸要因の改善により潜在的な待機条件が緩和されている場合に、自動的に待機条件に含まれる待機時間を段階的に短縮し、無駄な待機を減らし、伝送の高速化を図ることを目的とする。   Therefore, the present invention solves such problems, and when the potential standby conditions are alleviated by improving various factors, the standby time included in the standby conditions is automatically shortened step by step, which is useless. The purpose is to reduce waiting time and speed up transmission.

また、諸要因の悪化により潜在的な待機条件が厳しくなった場合に、設定されている待機条件をクリアし、改めて現状に応じた待機条件を設定し直すようにすることを目的とする。   It is another object of the present invention to clear the set standby condition and reset the standby condition according to the current situation when the potential standby condition becomes severe due to deterioration of various factors.

本発明に係るデータ通信システムは、
ネットワークを介して接続された送信側計算機と、受信側計算機とからなるデータ通信システムであって、
上記送信側計算機は、送信データを記憶する送信データ記憶部と、
送信データをパケットに分解するパケット分解部と、
上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信するパケット送信制御部とを有し、
上記受信側計算機は、上記ネットワークを介して、上記送信側計算機からパケットを受信するパケット受信制御部と、
受信したパケットを組み立てて受信データを生成し、受信したパケットの組立てにおいて生じたエラーについて、欠落したパケットの数を特定する情報を含むエラー情報を生成するパケット組立部と、
生成した受信データを記憶する受信データ記憶部と、
上記ネットワークを介して、上記送信側計算機へ生成したエラー情報を送信するエラー情報送信部とを有し、
上記送信側計算機は、更に、上記ネットワークを介して、上記受信側計算機からエラー情報を受信するエラー情報収集部と、
受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する待機条件算出部とを有し、
上記送信データ記憶部は、次の送信データを記憶し、
上記パケット分解部は、次の送信データをパケットに分解し、
上記パケット送信制御部は、次の送信データの分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機し、更に、エラー情報を受信した場合には、エラーが生じたパケットを再送し、
上記送信側計算機は、更に、パケット再送の記録を記憶するパケット再送記録記憶部と、
パケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮する待機条件更新部とを有することを特徴とする。
A data communication system according to the present invention includes:
A data communication system comprising a sending computer and a receiving computer connected via a network,
The transmission computer includes a transmission data storage unit that stores transmission data;
A packet decomposing unit that decomposes transmission data into packets;
A packet transmission control unit for transmitting the decomposed packets to the receiving computer at a constant transmission rate via the network;
The receiver computer receives a packet from the transmitter computer via the network, and a packet reception control unit;
A packet assembly unit that generates received data by assembling received packets, and generates error information including information that identifies the number of missing packets for errors that occurred in the assembly of received packets;
A received data storage unit for storing the generated received data;
An error information transmitting unit that transmits the error information generated to the transmitting computer via the network;
The transmission computer further includes an error information collection unit that receives error information from the reception computer via the network;
A waiting condition calculation unit that identifies the number of missing packets based on the received error information, obtains a waiting time for identifying a waiting period based on the number of missing packets, and calculates a waiting condition including the waiting time; Have
The transmission data storage unit stores the next transmission data,
The packet decomposition unit decomposes the next transmission data into packets,
The packet transmission control unit waits according to the standby time included in the calculated standby condition while transmitting the packet in which the next transmission data is decomposed at a constant transmission rate, and further receives error information. , Resend the packet in error,
The transmitting computer further includes a packet retransmission record storage unit for storing a packet retransmission record,
A standby condition updating unit that shortens a standby time included in the standby condition stored in the standby condition storage unit when the number of packet retransmission records is less than a predetermined number;

また、待機条件更新部は、パケット再送の記録が無かった場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮することを特徴とする。   The standby condition update unit shortens the standby time included in the standby condition stored in the standby condition storage unit when no packet retransmission is recorded.

また、待機条件更新部は、所定期間内に再送したパケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮することを特徴とする。   The standby condition update unit shortens the standby time included in the standby condition stored in the standby condition storage unit when the number of packet retransmissions retransmitted within a predetermined period is less than a predetermined number. .

また、待機条件更新部は、待機時間から所定の短縮時間を差し引くことを特徴とする。   Further, the standby condition update unit subtracts a predetermined shortening time from the standby time.

また、待機条件更新部は、待機時間に所定の短縮割合を乗ずることを特徴とする。   The standby condition update unit may multiply the standby time by a predetermined reduction rate.

また、上記送信側計算機は、更に、パケット再送の記録が所定数より多い場合に、待機条件記憶部に記憶している待機条件を削除する待機条件クリア部を有することを特徴とする。   In addition, the transmission side computer further includes a standby condition clear unit that deletes the standby condition stored in the standby condition storage unit when there are more than a predetermined number of packet retransmission records.

また、上記送信側計算機は、更に、パケット再送の記録が所定数より多い場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を延長する待機条件緩和部を有することを特徴とする。   In addition, the transmission side computer further includes a standby condition relaxation unit that extends a standby time included in the standby condition stored in the standby condition storage unit when the number of packet retransmission records is larger than a predetermined number. And

また、上記待機条件算出部は、エラー情報から特定される欠落したパケットの数のパケットを伝送する場合に要する期間以上の期間を、待機する期間として特定することを特徴とする。   In addition, the standby condition calculation unit specifies a period longer than a period required for transmitting the number of missing packets specified from the error information as a standby period.

本発明に係る送信側計算機は、
ネットワークを介して接続された受信側計算機へデータを送信する送信側計算機であって、
送信データを記憶する送信データ記憶部と、
送信データをパケットに分解するパケット分解部と、
上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信するパケット送信制御部と、
上記ネットワークを介して、上記受信側計算機からエラー情報を受信するエラー情報収集部と、
受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する待機条件算出部とを有し、
上記送信データ記憶部は、次の送信データを記憶し、
上記パケット分解部は、次の送信データをパケットに分解し、
上記パケット送信制御部は、次の送信データの分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機し、更に、エラー情報を受信した場合に、エラーが生じたパケットを再送し、
上記送信側計算機は、更に、パケット再送の記録を記憶するパケット再送記録記憶部と、
パケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮する待機条件更新部とを有することを特徴とする。
The transmitting computer according to the present invention is:
A transmitting computer that transmits data to a receiving computer connected via a network,
A transmission data storage unit for storing transmission data;
A packet decomposing unit that decomposes transmission data into packets;
A packet transmission control unit for transmitting the decomposed packets to the receiving computer at a constant transmission rate via the network;
An error information collection unit that receives error information from the receiving computer via the network;
A waiting condition calculation unit that identifies the number of missing packets based on the received error information, obtains a waiting time for identifying a waiting period based on the number of missing packets, and calculates a waiting condition including the waiting time; Have
The transmission data storage unit stores the next transmission data,
The packet decomposition unit decomposes the next transmission data into packets,
The packet transmission control unit waits according to the standby time included in the calculated standby condition while transmitting a packet in which the next transmission data is decomposed at a constant transmission rate, and further, when error information is received, Resend the packet in error,
The transmitting computer further includes a packet retransmission recording storage unit for storing a packet retransmission record;
A standby condition updating unit that shortens a standby time included in the standby condition stored in the standby condition storage unit when the number of packet retransmission records is less than a predetermined number;

本発明に係るプログラムは、
送信データを記憶する送信データ記憶部を有し、ネットワークを介して接続された受信側計算機へデータを送信する送信側計算機となるコンピュータに、以下の手順を実行させるためのプログラムであることを特徴とする
(1)送信データをパケットに分解する手順
(2)上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信する手順
(3)上記ネットワークを介して、上記受信側計算機からエラー情報を受信する手順
(4)受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する手順
(5)次の送信データをパケットに分解し、分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機する手順
(6)エラー情報を受信した場合に、エラーが生じたパケットを再送する手順
(7)パケット再送の記録を記憶する手順
(8)パケット再送の記録が所定数より少ない場合に、待機条件に含まれる待機時間を短縮する手順。
The program according to the present invention is:
A program having a transmission data storage unit for storing transmission data, and causing a computer to be a transmission computer to transmit data to a reception computer connected via a network to execute the following procedure (1) Procedure for decomposing transmission data into packets (2) Procedure for transmitting the decomposed packets to the receiving computer at a constant transmission rate via the network (3) Via the network, the procedure described above Procedure for receiving error information from the receiving computer (4) Identify the number of missing packets based on the received error information, obtain the waiting time to identify the waiting period based on the number of missing packets, and wait Procedure for calculating standby conditions including time (5) The next transmission data is decomposed into packets, and the decomposed packets are transmitted at a constant transmission rate. (6) Procedure for resending a packet in which an error has occurred when error information is received (7) Procedure for storing a packet retransmission record (8) ) A procedure for shortening the waiting time included in the waiting condition when the number of packet retransmission records is less than the predetermined number.

本発明によれば、自動的に待機条件に含まれる待機時間を段階的に短縮させるので、緩和されている潜在的な待機条件に、動作上の待機条件を近づけ、無駄な待機を減らすことができる。   According to the present invention, the standby time included in the standby condition is automatically reduced step by step, so that the operational standby condition can be brought close to the relaxed potential standby condition to reduce unnecessary standby. it can.

また、再送が発生した場合に、動作上の待機条件をクリアするので、改めて現状に適した待機条件を設定し直すことができる。   In addition, when the retransmission occurs, the standby condition for operation is cleared, so that the standby condition suitable for the current situation can be set again.

実施の形態1.
図1は、ネットワークシステムの構成例を示す図である。1は、送信側計算機、2〜6は、受信側計算機、7は、LAN、11は、LANコントローラ、12は、チャネルコントロールバス、13は、演算部、14は、主記憶部、15は、システムバス、16は、ディスクコントローラ、17は、ディスク装置、21は、LANコントローラ、22は、チャネルコントロールバス、23は、演算部、24は、主記憶部、25は、システムバス、26は、ディスクコントローラ、27は、ディスク装置である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a configuration example of a network system. 1 is a transmission side computer, 2 to 6 are reception side computers, 7 is a LAN, 11 is a LAN controller, 12 is a channel control bus, 13 is a calculation unit, 14 is a main storage unit, 15 is 16 is a disk controller, 17 is a disk device, 21 is a LAN controller, 22 is a channel control bus, 23 is an arithmetic unit, 24 is a main storage unit, 25 is a system bus, and 26 is A disk controller 27 is a disk device.

図2は、実施の形態1における送信側計算機のモジュール構成を示す図である。101は、システム構成値記憶部、102は、送信データ記憶部、103は、パケット分割部、104は、ブロードキャストアドレス記憶部、105は、パケット送信制御部、106は、エラー情報収集部、107は、送信側エラー情報記憶部、108は、待機条件設定部、109は、待機条件記憶部、110は、再送記録記憶部、111は、待機条件更新部、112は、待機条件クリア部である。システム構成値記憶部101は、伝送レートとパケットサイズを記憶する領域を含むように構成され、データ伝送条件を記憶する働きを有する。   FIG. 2 is a diagram illustrating a module configuration of the transmission-side computer in the first embodiment. 101 is a system configuration value storage unit, 102 is a transmission data storage unit, 103 is a packet division unit, 104 is a broadcast address storage unit, 105 is a packet transmission control unit, 106 is an error information collection unit, and 107 is , A transmission side error information storage unit, 108 is a standby condition setting unit, 109 is a standby condition storage unit, 110 is a retransmission record storage unit, 111 is a standby condition update unit, and 112 is a standby condition clearing unit. The system configuration value storage unit 101 is configured to include an area for storing a transmission rate and a packet size, and has a function of storing data transmission conditions.

本発明では、従来技術に比べて再送記録記憶部110、待機条件更新部111、待機条件クリア部112の要素を追加されており、パケット送信制御部105とエラー情報収集部106の動作が異なる。パケット送信制御部105は、エラーが発生した場合に、パケットを再送するように動作し、エラー情報収集部106は、独立したタスクとして各受信側計算機からエラー情報を受信するとともに、随時エラー情報をパケット送信制御部105に通知するように動作する。   In the present invention, elements of a retransmission recording storage unit 110, a standby condition update unit 111, and a standby condition clear unit 112 are added as compared with the prior art, and the operations of the packet transmission control unit 105 and the error information collection unit 106 are different. The packet transmission control unit 105 operates to retransmit the packet when an error occurs, and the error information collection unit 106 receives the error information from each receiving computer as an independent task, and receives the error information as needed. It operates to notify the packet transmission control unit 105.

図3は、実施の形態1における送信側計算機の全体処理のフローを示す図である。送信側計算機1のアプリケーションプログラム等(図示せず)により、データ送信の指示を受けた場合に、エラー情報収集処理タスクを起動した上で(S302)、データ送信処理(S303)を開始する。エラー情報収集処理タスクは、データ送信処理の間、独立して動作する。データ送信処理(S303)が終了すると、エラー情報収集処理タスクの終了をチェックし(S304)、同タスク終了後に待機条件設定処理(S305)を行なう。   FIG. 3 is a diagram showing a flow of overall processing of the transmission side computer in the first embodiment. When a data transmission instruction is received by an application program (not shown) of the transmission side computer 1, the error information collection processing task is activated (S302), and the data transmission processing (S303) is started. The error information collection processing task operates independently during the data transmission processing. When the data transmission process (S303) ends, the end of the error information collection process task is checked (S304), and after the task ends, a standby condition setting process (S305) is performed.

エラー情報収集処理タスクについては、後述する。   The error information collection processing task will be described later.

送信側計算機1におけるデータ送信処理(S303)について説明する。図4は、実施の形態1におけるデータ送信処理のフローを示す図である。このフローには、待機条件に適合する場合に待機する処理(S404、S405)が含まれるが、最初のデータ送信では、待機条件が生成されていない状態(初期状態)であるので、待機する処理は行われない。   Data transmission processing (S303) in the transmission side computer 1 will be described. FIG. 4 is a diagram showing a flow of data transmission processing in the first embodiment. This flow includes processing (S404, S405) that waits when the standby condition is met. However, since the standby condition is not generated (initial state) in the first data transmission, the processing that waits. Is not done.

送信するデータは、送信データ記憶部102に記憶されている。例えば、ファイルの形式で記憶されている。パケット分割部103は、送信データ記憶部102から送信データを読み、パケットに分割する。分割されたパケットは、順にパケット送信制御部105へ供給される。このとき、パケット分割部103は、システム構成値記憶部101に記憶されているパケットサイズに従って分割する。   Data to be transmitted is stored in the transmission data storage unit 102. For example, it is stored in a file format. The packet division unit 103 reads transmission data from the transmission data storage unit 102 and divides it into packets. The divided packets are supplied to the packet transmission control unit 105 in order. At this time, the packet division unit 103 divides according to the packet size stored in the system configuration value storage unit 101.

パケット送信制御部105は、最初のパケットを送信する前に、内部変数であるパケット番号(PNo)を1に初期化する(S401)。そして、最初のパケットを取得して(S402)、そのパケットにパケット番号を付与する(403)。   The packet transmission control unit 105 initializes the packet number (PNo), which is an internal variable, to 1 before transmitting the first packet (S401). The first packet is acquired (S402), and a packet number is assigned to the packet (403).

S404で、待機条件に適合するか判断するが、待機条件自体がまだ生成されていないので、待機することなくパケットを送信する(S406)。   In S404, it is determined whether the standby condition is met. However, since the standby condition itself has not yet been generated, the packet is transmitted without waiting (S406).

送信データを分割して得られたすべてのパケットが送信された場合には、処理を終了する(S407)。まだ送信されていないパケットがある場合には、エラー情報の通知が無い限り(S408)、パケット番号をインクリメントして(S409)、S402からS406までの処理を繰り返す。このとき、パケット送信制御部105は、システム構成値記憶部101に記憶されている伝送レートに従って、パケットの送信を繰り返す。また、ブロードキャストアドレス記憶部104に記憶されているブロードキャストアドレスを用いて、複数の受信側計算機にパケット群を送信する。   If all the packets obtained by dividing the transmission data have been transmitted, the process ends (S407). If there is a packet that has not been transmitted yet, the packet number is incremented (S409) and the processes from S402 to S406 are repeated unless there is notification of error information (S408). At this time, the packet transmission control unit 105 repeats packet transmission according to the transmission rate stored in the system configuration value storage unit 101. In addition, the broadcast address stored in the broadcast address storage unit 104 is used to transmit a packet group to a plurality of receiving side computers.

このようにしてLAN7を介して、受信側計算機に初期状態におけるデータの送信が行われる。   In this way, data in the initial state is transmitted to the receiving computer via the LAN 7.

次に、受信側計算機2の動作について説明する。図5は、実施の形態1における受信側計算機のモジュールを示す図である。201は、パケット受信制御部、202は、パケット組立部、203は、受信データ記憶部、204は、受信側エラー情報記憶部、205は、送信側計算機アドレス記憶部、206は、エラー情報送信部である。   Next, the operation of the receiving computer 2 will be described. FIG. 5 is a diagram illustrating modules of the reception-side computer in the first embodiment. 201 is a packet reception control unit, 202 is a packet assembly unit, 203 is a reception data storage unit, 204 is a reception side error information storage unit, 205 is a transmission side computer address storage unit, and 206 is an error information transmission unit. It is.

パケット受信制御部201は、LAN7を介してパケットを受信する。パケット受信制御部201は、受信したパケットをパケット組立部202に送る。   The packet reception control unit 201 receives a packet via the LAN 7. The packet reception control unit 201 sends the received packet to the packet assembly unit 202.

パケット組立部202は、パケット群を組立てて受信データを生成する。また、受信したパケットの組立てにおいて生じたエラーについてのエラー情報を出力する。この実施例では、漏れが生じたパケット群の最初のパケットの番号であるエラー発生パケット番号(EPNo)と、漏れが生じたパケット群のパケットの数であるエラーパケット数(NSPAN)とがエラー情報に含まれる。   The packet assembly unit 202 assembles a packet group and generates reception data. It also outputs error information about errors that occur in the assembly of received packets. In this embodiment, error information includes an error occurrence packet number (EPNo) which is the number of the first packet in the packet group in which leakage has occurred and an error packet number (NSPAN) which is the number of packets in the packet group in which leakage has occurred. include.

生成された受信データは、受信データ記憶部203に記憶される。出力されたエラー情報は、受信側エラー情報記憶部204に記憶される。   The generated reception data is stored in the reception data storage unit 203. The output error information is stored in the receiving-side error information storage unit 204.

図6は、実施の形態1における受信側エラー情報記憶部の構成例を示す図である。上述のエラー発生パケット番号(EPNo)と、エラーパケット数(NSPAN)とが対応付けられて記憶されている。   FIG. 6 is a diagram illustrating a configuration example of the reception-side error information storage unit in the first embodiment. The above-mentioned error occurrence packet number (EPNo) and the number of error packets (NSPAN) are stored in association with each other.

図7は、受信したパケットと欠落したパケットの構成例を示す図である。この例では、送信側計算機1が、パケット番号1のパケット(701)から順にパケット群を送信し、受信側計算機2は、パケット番号1からEPNo−1のパケット群(701〜706)を受信し、更にパケット番号EPNo+NSPANのパケット以降のパケット群を受信している。つまり、パケット番号EPNoからEPNo+NSPAN−1までのパケット群(707〜712)については、欠落し、パケット漏れが生じている。   FIG. 7 is a diagram illustrating a configuration example of a received packet and a missing packet. In this example, the transmission side computer 1 transmits a packet group in order from the packet (701) of the packet number 1, and the reception side computer 2 receives the packet group (701 to 706) of the EPNo-1 from the packet number 1. Further, a packet group after the packet of the packet number EPNo + NSPAN is received. That is, the packet group (707 to 712) from the packet number EPNo to EPNo + NSPAN-1 is lost and packet leakage occurs.

この例でエラー情報に含まれるエラー発生パケット番号(EPNo)によって、最初から連続して受信したパケットの数を特定することができる。この目的の為に、他の情報をエラー情報に含めることも有効である。つまり、最初から連続して受信したパケットの数を特定する為に他の情報をエラー情報に含めることによって、本実施例と同様の効果を奏することができる。例えば、最初から連続して受信したパケットの数自体を記憶しても良い。この例では、EPNo−1を記憶することになる。この場合、連続して受信したパケットの数をカウントしても良い。   In this example, the number of packets continuously received from the beginning can be specified by the error occurrence packet number (EPNo) included in the error information. For this purpose, it is also effective to include other information in the error information. That is, by including other information in the error information in order to specify the number of packets continuously received from the beginning, the same effect as in the present embodiment can be obtained. For example, the number of packets received continuously from the beginning may be stored. In this example, EPNo-1 is stored. In this case, the number of continuously received packets may be counted.

また、エラー情報に含まれるエラーパケット数(NSPAN)によって、欠落したパケットの数を特定することができる。この目的の為に、他の情報をエラー情報に含めることも有効である。つまり、欠落したパケットの数を特定する為に他の情報をエラー情報に含めることによって、本実施例と同様の効果を奏することができる。例えば、欠落したパケット群の先頭のパケット番号と最終のパケット番号を記憶し、欠落したパケットの数をこれらの差分に基づいて算出するようにしてもよい。この例では、EPNo+NSPAN−1と、EPNoを記憶し、これらの差分に1を加えて、欠落したパケットの数を得ることになる。あるいは、最初から連続して受信したパケット群の最後のパケットのパケット番号と、その次に受信したパケットのパケット番号を記憶してもよい。この例では、EPNo−1と、EPNo+NSPANを記憶し、これらの差分から1を引いて、欠落したパケットの数を得ることになる。   Further, the number of lost packets can be specified by the number of error packets (NSPAN) included in the error information. For this purpose, it is also effective to include other information in the error information. That is, by including other information in the error information in order to specify the number of lost packets, the same effect as in the present embodiment can be obtained. For example, the first packet number and the last packet number of the missing packet group may be stored, and the number of missing packets may be calculated based on the difference between them. In this example, EPNo + NSPAN-1 and EPNo are stored, and 1 is added to these differences to obtain the number of missing packets. Or you may memorize | store the packet number of the last packet of the packet group received continuously from the beginning, and the packet number of the packet received next. In this example, EPNo-1 and EPNo + NSPAN are stored, and 1 is subtracted from these differences to obtain the number of missing packets.

エラー情報送信部206は、送信側計算機アドレス記憶部205に記憶されている送信側計算機アドレスを宛先として、受信側エラー情報記憶部204に記憶されているエラー情報を送信する。   The error information transmission unit 206 transmits the error information stored in the reception side error information storage unit 204 with the transmission side computer address stored in the transmission side computer address storage unit 205 as a destination.

次に、送信側計算機1におけるエラー情報収集処理タスクの動作について説明する。送信側計算機1は、図3のS302でエラー情報収集処理タスクを起動させる。図8は、実施の形態1におけるエラー情報収集処理のフローを示す図である。   Next, the operation of the error information collection processing task in the transmission side computer 1 will be described. The transmission side computer 1 starts an error information collection processing task in S302 of FIG. FIG. 8 is a diagram showing a flow of error information collection processing in the first embodiment.

データ送信処理の終了後、所定ウエイトタイムが経過するまで(つまり、タイムアウトになるまで)、エラー情報の受信の確認を繰り返す(S801〜S803)。エラー情報収集部106がエラー情報を受信した場合には(S803)、エラー情報をパケット送信制御部105に通知する(S804)。例えば、エラー情報収集部106が送信側計算機1の共通記憶領域にエラー情報を書き込み、パケット送信制御部105が随時この共通記憶領域を読み込むことにより通知動作を行なう。その後、受信したエラー情報を送信側エラー情報記憶部107に記憶する(S805)。   After the data transmission process is completed, the confirmation of error information reception is repeated until a predetermined wait time elapses (that is, until a time-out occurs) (S801 to S803). When the error information collection unit 106 receives the error information (S803), the error information is notified to the packet transmission control unit 105 (S804). For example, the error information collection unit 106 writes the error information in the common storage area of the transmission side computer 1, and the packet transmission control unit 105 reads the common storage area as needed to perform the notification operation. Thereafter, the received error information is stored in the transmission-side error information storage unit 107 (S805).

再びエラー情報収集部106がエラー情報を受信した場合には、受信したエラー情報を送信側エラー情報記憶部107に追加する。   When the error information collection unit 106 receives the error information again, the received error information is added to the transmission side error information storage unit 107.

タイムアウトになった場合(S802)には、送信側エラー情報記憶部107のエラー情報をエラー発生パケット番号(EPNo)の順にソートして、処理を終了する。   If time-out occurs (S802), the error information in the transmission-side error information storage unit 107 is sorted in the order of the error occurrence packet number (EPNo), and the process ends.

図17に示すように、送信側エラー情報記憶部には、受信したエラー情報に含まれるエラー発生パケット番号(EPNo)と、エラーパケット数(NSPAN)とが対応付けられ、更にそのエラーが発生した受信側計算機のアドレス(RADR)が記憶されている。これらのエラー情報にはエラー番号が付されている。これらの受信したエラー情報が、エラー発生パケット番号(EPNo)の順にソートされている。   As shown in FIG. 17, in the transmission side error information storage unit, the error occurrence packet number (EPNo) included in the received error information is associated with the number of error packets (NSPAN), and the error has occurred. The address (RADR) of the receiving computer is stored. These error information are assigned error numbers. The received error information is sorted in the order of error occurrence packet numbers (EPNo).

送信側計算機1は、図3に示すように、エラー情報収集タスクが終了すると、待機条件設定の処理を行なう(S305)。図9は、実施の形態1における待機条件設定処理のフローを示す図である。   As shown in FIG. 3, when the error information collection task ends, the transmission side computer 1 performs a standby condition setting process (S305). FIG. 9 is a diagram showing a flow of standby condition setting processing in the first embodiment.

まず、内部変数であるエラー番号Xを、送信側エラー情報記憶部107に記憶されている先頭のエラー情報のエラー番号に初期化する(S901)。この例では、1に初期化する。   First, the error number X which is an internal variable is initialized to the error number of the first error information stored in the transmission-side error information storage unit 107 (S901). In this example, it is initialized to 1.

待機条件設定部108は、送信側エラー情報記憶部107からエラー番号Xに対応するエラー情報を読む(S902)。   The standby condition setting unit 108 reads error information corresponding to the error number X from the transmission-side error information storage unit 107 (S902).

待機条件設定部108は、読んだエラー情報に含まれるエラー発生パケット番号(EPNo)に基づいて待機開始パケット数(WP)を求める(S903)。待機開始パケット数(WP)は、次のデータ送信において待機を開始する条件となるパケットの数である。待機開始パケット数(WP)は、以下の式で求められる。
WP(X)=EP(X)−MP
ここで、MPは、余裕となるパケット数である。MPは0以上であり、その値が大きい程、パケット漏れが生じにくくなる。MPは、システムで固有であっても、可変であっても構わない。
The standby condition setting unit 108 obtains the number of standby start packets (WP) based on the error occurrence packet number (EPNo) included in the read error information (S903). The number of waiting start packets (WP) is the number of packets that serve as a condition for starting waiting in the next data transmission. The number of standby start packets (WP) is obtained by the following equation.
WP (X) = EP (X) -MP
Here, MP is the number of packets that can be reserved. MP is 0 or more, and the larger the value is, the less packet leakage occurs. The MP may be unique in the system or variable.

つまり、待機の開始時期は、最初から連続して受信したパケットの数あるいは、それよりも小さい数だけパケットを送信したときとなる。   That is, the standby start time is when the number of packets received continuously from the beginning or a smaller number of packets is transmitted.

算出した待機開始パケット数(WP)は、待機条件記憶部109に記憶される(S904)。   The calculated standby start packet number (WP) is stored in the standby condition storage unit 109 (S904).

更に、待機条件設定部108は、読んだエラー情報に含まれるエラーパケット数(NSPAN)に基づいて待機時間(WT)を求める(S905)。待機時間(WT)は、次のデータ送信において待機する時間である。待機時間(WT)は、以下の式で求められる。
WT(X)=NSPAN(X)×MTUT
ここで、MTU伝送時間(MTUT)は、パケットサイズ/伝送レートで求められる値である。NSPAN(X)に、MTU伝送時間(MTUT)を乗ずることによって、欠落したパケットの伝送に要した時間、つまりパケットを受信できなかった時間を得ることができる。この待機時間に、余裕を設けることも有効である。例えば、この待機時間に1以上の値を乗じたり、正の値を加算するようにすると、パケット漏れが生じにくくなる。
Further, the standby condition setting unit 108 obtains a standby time (WT) based on the number of error packets (NSPAN) included in the read error information (S905). The waiting time (WT) is a time for waiting in the next data transmission. The waiting time (WT) is obtained by the following equation.
WT (X) = NSPAN (X) × MTUT
Here, the MTU transmission time (MTUT) is a value obtained by the packet size / transmission rate. By multiplying NSPAN (X) by the MTU transmission time (MTUT), it is possible to obtain the time required to transmit the lost packet, that is, the time when the packet could not be received. It is also effective to provide a margin for this waiting time. For example, when this waiting time is multiplied by a value of 1 or more or a positive value is added, packet leakage is less likely to occur.

つまり、待機時間(WT)は、欠落したパケットの数のパケットを伝送する場合に要する時間、あるいはそれよりも長い時間となる。   That is, the waiting time (WT) is a time required for transmitting the number of packets that are missing or a longer time.

算出した待機時間(WT)は、待機条件記憶部109に記憶される(S906)。   The calculated standby time (WT) is stored in the standby condition storage unit 109 (S906).

まだ処理されていないエラー情報がある場合には、エラー番号をインクリメントし、次のエラー情報についてS902からS906までの処理を繰り返す。   If there is error information that has not yet been processed, the error number is incremented, and the processing from S902 to S906 is repeated for the next error information.

すべてのエラー情報について処理が終了すると(S907)、各待機条件を待機開始パケット数の順にソートする(S909)。ここで、ソートを行なうのは、待機開始パケット数の小さい待機条件から順に、実行されるように構成するためである。尚、本実施例では送信側エラー情報記憶部107のエラー情報が既にエラー発生パケット番号でソートされているので(S806)、必ずしもS909の処理を行なわなくとも、各待機条件が待機開始パケット数の順に生成され、記憶される。   When the processing is completed for all error information (S907), the standby conditions are sorted in the order of the number of standby start packets (S909). Here, the sorting is performed in order to execute in order from the standby condition with the smallest number of standby start packets. In this embodiment, since the error information in the transmission-side error information storage unit 107 is already sorted by the error occurrence packet number (S806), each standby condition is not necessarily the number of standby start packets, even though the process of S909 is not necessarily performed. Generated and stored in order.

待機条件記憶部の構成例は、図18に示した通りである。待機条件は、待機番号が付され、待機開始パケット数(WP)と待機時間(WT)が対応付けられ、待機開始パケット数(WP)の順にソートされて記憶されている。   A configuration example of the standby condition storage unit is as shown in FIG. The waiting conditions are assigned a waiting number, the waiting start packet number (WP) is associated with the waiting time (WT), and are sorted and stored in the order of the waiting start packet number (WP).

送信側計算機1が、次の送信データを送信する動作について説明する。送信側計算機1は、再び図4に示したデータ送信処理のフロー図に従って動作する。   An operation in which the transmission side computer 1 transmits the next transmission data will be described. The transmission side computer 1 operates again according to the flow chart of the data transmission process shown in FIG.

送信するデータは、送信データ記憶部102に記憶されている。このデータは、先に送信したデータと同一である必要はない。S401からS403までの処理は、先のデータ送信の場合と同様である。伝送レートとパケットサイズは、システム構成値記憶部101に記憶されているので、先のデータ送信の場合と同一の伝送条件となる。   Data to be transmitted is stored in the transmission data storage unit 102. This data need not be the same as the previously transmitted data. The processing from S401 to S403 is the same as in the previous data transmission. Since the transmission rate and the packet size are stored in the system configuration value storage unit 101, the transmission conditions are the same as those in the previous data transmission.

S404では、パケット送信制御部105が待機条件記憶部109に記憶されている待機条件を読み、待機を開始するかを判断する。具体的には、これから送信するパケットのパケット番号(PNo)が、いずれかの待機開始パケット数(WP)に等しい場合に待機を開始すると判断する。また、パケット番号(PNo)が、いずれかの待機開始パケット数(WP)の整数倍の値に等しい場合にも、待機を開始すると判断する。   In S404, the packet transmission control unit 105 reads the standby condition stored in the standby condition storage unit 109 and determines whether to start standby. Specifically, when the packet number (PNo) of the packet to be transmitted is equal to any one of the waiting start packet numbers (WP), it is determined that the waiting is started. Further, it is determined that the standby is started also when the packet number (PNo) is equal to any integral multiple of the number of standby start packets (WP).

パケット送信制御部105は、待機を開始する条件として適合した待機開始パケット数(WP)に対応して記憶されている待機時間(WT)を読み、その時間が経過するまで待機を継続する。つまり、パケット送信制御部105は、待機時間(WT)によって待機する期間を決定し、その間待機を継続する。尚、いずれかの待機開始パケット数(WP)の整数倍の値に等しい場合にも、その待機開始パケット数(WP)に対応して記憶されている待機時間(WT)を読み、同様に動作する。   The packet transmission control unit 105 reads the waiting time (WT) stored corresponding to the number of waiting start packets (WP) that is adapted as a condition for starting waiting, and continues waiting until the time elapses. That is, the packet transmission control unit 105 determines a waiting period based on the waiting time (WT), and continues the waiting during that period. Even when the number of waiting start packets (WP) is equal to an integer multiple, the waiting time (WT) stored corresponding to the number of waiting start packets (WP) is read and the same operation is performed. To do.

待機時間(WT)が経過すると、ペンディングしていたパケットを送信する(S406)。その後、S407とS409の処理に続いて、パケットの送信を繰り返す。   When the waiting time (WT) elapses, the pending packet is transmitted (S406). Thereafter, the packet transmission is repeated following the processing of S407 and S409.

上述の処理を繰り返すことによって、一定の伝送レートでデータを送信する間に、待機条件に適合した待機状態を挿入することができる。図により、待機状態を挿入しつつ、データ伝送を行なう様子について説明する。   By repeating the above-described processing, a standby state suitable for the standby condition can be inserted while data is transmitted at a constant transmission rate. The manner in which data transmission is performed while inserting a standby state will be described with reference to the drawings.

待機番号1の待機条件は、図19に表した通りである。転送パケット数が、WP(1)に等しいとき、およびその整数倍に等しいときに、WT(1)の待機時間が生じることを表わしている。   The standby condition of standby number 1 is as shown in FIG. When the number of transfer packets is equal to WP (1), and when it is equal to an integral multiple thereof, it represents that a waiting time of WT (1) occurs.

待機番号2の待機条件は、図20に表した通りである。転送パケット数が、WP(2)に等しいときに、WT(2)の待機時間が生じることを表わしている。尚、図示していないが、WP(2)の整数倍に等しいときにも、WT(2)の待機時間が生じる。   The standby condition of standby number 2 is as shown in FIG. This indicates that when the number of transfer packets is equal to WP (2), a waiting time of WT (2) occurs. Although not shown, the waiting time of WT (2) also occurs when it is equal to an integral multiple of WP (2).

待機番号1の待機条件に関るパケット転送の様子は、図21に示した通りである。待機が生じない間は、一定の伝送レートでパケットが転送され、一定の勾配で推移している。しかし、待機番号1の待機条件に適合したときに、待機が生じる。図19で示したタイミングで、待機時間が経過する間、パケットが転送されない。   The state of packet transfer related to the standby condition of standby number 1 is as shown in FIG. While waiting does not occur, packets are transferred at a constant transmission rate, and change at a constant gradient. However, when the standby condition of standby number 1 is met, standby occurs. At the timing shown in FIG. 19, the packet is not transferred while the standby time elapses.

待機番号2の待機条件に関るパケット転送の様子は、図22に示した通りである。図21と同様に推移し、待機番号2の待機条件に適合したときには、待機が生じる。図20で示したタイミングで、待機時間が経過する間、パケットが転送されない。   The state of packet transfer related to the standby condition of standby number 2 is as shown in FIG. Transition is performed in the same manner as in FIG. 21, and when the standby condition of standby number 2 is met, standby occurs. At the timing shown in FIG. 20, the packet is not transferred while the standby time elapses.

このように、パケットの転送を制御することによって、パケット転送における障害を顕在化させることなくその要因を解消させ、正常状態に復旧させることができる。従って、連続してデータを伝送する場合であってもパケット漏れが生じず、パケットの再転送を必要としないため、ネットワークシステムで用いられるデータの即時性が担保される。また、必要以上に伝送速度を遅らせることがないので、最速の伝送状態を確保できる。   In this way, by controlling packet transfer, it is possible to eliminate the cause of failure in packet transfer and to restore the normal state. Therefore, even when data is continuously transmitted, packet leakage does not occur and packet re-transfer is not required, so that the immediacy of data used in the network system is ensured. Further, since the transmission speed is not delayed more than necessary, the fastest transmission state can be secured.

上述の待機条件は、ネットワークの構成や、ハードウェアの能力や、稼動状態や、データ伝送の条件(伝送レート、パケットサイズ、伝送データ量)等複雑な要因を反映したものであって、これらの要因が変化した場合には、必ずしも有効ではない。例えば、ハードウェアの能力が改善された場合には、待機時間をより短くしても、エラーを生じさせないことが想定される。   The above-mentioned standby conditions reflect complicated factors such as network configuration, hardware capability, operation status, and data transmission conditions (transmission rate, packet size, transmission data amount). It is not always effective when the factors change. For example, when the hardware capability is improved, it is assumed that no error occurs even if the standby time is shortened.

以下では、待機条件のうち待機時間を、エラーが発生するまで、段階的に短縮させる待機条件更新処理について説明する。待機条件更新処理は、独立したタスクとして動作する。   In the following, a description will be given of a standby condition update process in which the standby time of the standby conditions is shortened step by step until an error occurs. The standby condition update process operates as an independent task.

この待機条件更新処理は、図3のS303に示したデータ送信処理で、パケット送信制御部105がエラー情報の通知を受けた場合に、パケットの再送を行い、その再送を記録していることを前提としている。パケットの再送に関して、図4に従って説明する。   This waiting condition update process is performed when the packet transmission control unit 105 receives notification of error information in the data transmission process shown in S303 of FIG. 3 and retransmits the packet and records the retransmission. It is assumed. Packet retransmission will be described with reference to FIG.

前述の通り、データ送信処理では、すべてのパケットを送信するまで、連続的にあるいは待機を挿入しつつ、順次パケットを送信する。その間に、エラー情報の通知を受けた場合には(S408)、エラー情報に含まれるエラー発生パケット番号をPNoに設定して(S410)、再送記録を再送記録記憶部110に書き込み(S411)、パケットの再送を行う(S402〜S406)。再送記録には、再送時刻とエラー発生パケット番号を含む。再送時刻は、計算機内の時計部より現在時刻を取得し、その現在時刻を用いる。またこの時刻には、日時を含めることもできる。   As described above, in the data transmission process, packets are sequentially transmitted until all packets are transmitted, continuously or while waiting. In the meantime, when notification of error information is received (S408), the error occurrence packet number included in the error information is set to PNo (S410), and the retransmission record is written in the retransmission record storage unit 110 (S411). The packet is retransmitted (S402 to S406). The retransmission record includes a retransmission time and an error occurrence packet number. As the retransmission time, the current time is acquired from the clock unit in the computer, and the current time is used. This time can also include the date and time.

また、すべてのパケットを送信した後も、所定のエラー監視期間を経過するまでは、エラー情報が通知されるかを監視し、エラー情報の通知を受けた場合には、前述同様に、含まれるエラー発生パケット番号をPNoに設定して(S410)、再送記録を再送記録記憶部110に書き込み(S411)、パケットの再送を行なう(S402〜S406)。   In addition, even after sending all packets, until a predetermined error monitoring period elapses, whether or not error information is notified is monitored, and if error information notification is received, it is included as described above. The error occurrence packet number is set to PNo (S410), the retransmission record is written in the retransmission record storage unit 110 (S411), and the packet is retransmitted (S402 to S406).

このようにして、データ送信処理中にエラーが発生した場合には、パケットの再送を行なうとともに、再送の記録を保持する。この処理を前提として、待機条件更新処理について説明する。   In this way, when an error occurs during the data transmission process, the packet is retransmitted and a retransmission record is held. Based on this process, the standby condition update process will be described.

図10は、実施の形態1における待機条件更新処理のフローを示す図である。この処理は、待ち時間をおいて、繰り返し行なう。待機条件見直しを待つ処理(S1001)では、待ち時間が経過するのを待つ。そして、再送記録記憶部110から再送記録を読み出す(S1002)。再送記録が無い場合には、次の待ち時間を待つ処理に戻る(S1001)。   FIG. 10 is a diagram showing a flow of standby condition update processing in the first embodiment. This process is repeated with a waiting time. In the process of waiting for the review of the waiting condition (S1001), the process waits for the waiting time to elapse. Then, the retransmission record is read from the retransmission record storage unit 110 (S1002). If there is no re-recording, the process returns to waiting for the next waiting time (S1001).

尚、図3のS302〜S305の処理中は、待機条件を使用しているので、待機条件見直しを待つ処理(S1001)で、エラー情報処理タスクが動作中であるか、データ送信処理が動作中であるか、待機条件設定処理が動作中であるかをチェックし、これらの処理のいずれかが動作中である場合には、それらの処理のすべてが動作していない状態になるまで待つようにすることが望ましい。   Note that during the processing of S302 to S305 in FIG. 3, since the standby condition is used, the error information processing task is operating or the data transmission processing is operating in the processing of waiting for the standby condition review (S1001). Or if the waiting condition setting process is running, if any of these processes is running, wait until all of those processes are not running It is desirable to do.

再送記録があった場合には(S1003)、待機条件記憶部109で記憶している各待機条件について以下の処理を繰り返す(S1004)。待機条件に含まれる待機時間を読み込み(S1005)、待機時間を短縮し(S1006)、短縮した待機時間をその待機条件の待機時間に書き戻す(S1007)。   If there is a retransmission record (S1003), the following processing is repeated for each standby condition stored in the standby condition storage unit 109 (S1004). The standby time included in the standby condition is read (S1005), the standby time is shortened (S1006), and the reduced standby time is written back to the standby time of the standby condition (S1007).

待機時間を短縮する方法は、例えば、待機時間から所定短縮時間を差し引く。所定短縮時間を5msecとすれば、WT(1)である640msecから5msecを差し引いて、新たな待機時間WT(1)を635msecとする。同様に、WT(2)である3200msecから5msecを差し引いて、新たな待機時間WT(2)を3195msecとする。あるいは、待機時間に所定短縮割合を乗じる。所定短縮割合を99%とすれば、WT(1)である640msecに0.99を乗じて、新たな待機時間WT(1)を634msecとする。同様に、WT(2)である3200msecに0.99を乗じて、新たな待機時間WT(1)を3168msecとする。また、待機時間の範囲毎に、短縮時間や短縮割合を設定してもよい。例えば、0〜500msec、500〜1000msec、1000〜2000msecのように範囲を分けて、それぞれに短縮時間を5msec、10msec、20msecと設定し、あるいは、0.99、0.98、0.97と設定する。範囲の示す待機時間が大きいほど、上述のように短縮時間を拡大する方法のほか、逆に縮小する方法が考えられる。また、範囲の示す待機時間が大きくほど、上述のように短縮割合を縮小する方法のほか、逆に拡大する方法が考えられる。   As a method for shortening the waiting time, for example, a predetermined shortening time is subtracted from the waiting time. If the predetermined shortening time is 5 msec, 5 msec is subtracted from 640 msec which is WT (1), and new waiting time WT (1) is set to 635 msec. Similarly, 5 msec is subtracted from 3200 msec which is WT (2), and new waiting time WT (2) is set to 3195 msec. Alternatively, the waiting time is multiplied by a predetermined reduction rate. If the predetermined shortening rate is 99%, 640 msec, which is WT (1), is multiplied by 0.99, and a new standby time WT (1) is set to 634 msec. Similarly, WT (2), 3200 msec, is multiplied by 0.99 to give a new standby time WT (1) of 3168 msec. Moreover, you may set shortening time and a shortening ratio for every range of waiting time. For example, the range is divided into 0 to 500 msec, 500 to 1000 msec, 1000 to 2000 msec, and the shortening time is set to 5 msec, 10 msec, and 20 msec, or set to 0.99, 0.98, and 0.97, respectively. To do. As the waiting time indicated by the range is larger, in addition to the method of extending the shortening time as described above, a method of conversely reducing the time can be considered. Further, as the waiting time indicated by the range becomes larger, a method of conversely enlarging is conceivable in addition to the method of reducing the shortening rate as described above.

再送記録がなければ、待機条件見直しの待ち時間経過毎に、待機条件を繰り返し短縮する。   If there is no re-recording, the standby condition is repeatedly shortened every time the standby condition review wait time elapses.

上述の処理により、受信側計算機が性能の優れたハードウェアに置き換えられるなど、待機条件に係る要因が改善して、潜在的な待機条件が緩和されている場合に、新たな状況に適合するように待機条件記憶部に記憶している動作上の待機条件を緩和させるように操作することができる。   By the above processing, when the waiting condition is relaxed due to improvement of factors related to waiting conditions, such as replacement of the receiving computer with hardware with excellent performance, the new situation will be adapted to the new situation. The operation standby condition stored in the standby condition storage unit can be relaxed.

一方、性能的に劣るハードウェアの受信側計算機がネットワークに加えられるなど、待機条件に係る要因が悪化して、潜在的な待機条件が厳しくなっている場合や、上述の処理により待機条件記憶部に記憶している動作上の待機条件を緩和し過ぎた場合には、エラーが発生し、再送が行なわれる。このような場合には、改めて待機条件を設定し直すことが望ましい。   On the other hand, if the standby condition factor is getting worse due to deterioration of the factors related to the standby condition, such as a hardware receiving computer with inferior performance being added to the network, or the standby condition storage unit by the above processing If the operation standby condition stored in the table is too relaxed, an error occurs and retransmission is performed. In such a case, it is desirable to set the standby condition again.

次に、エラーが発生し、再送が行なわれた場合に、待機条件をクリアする処理について説明する。待機条件クリア処理は、独立したタスクとして動作する。つまり、図3の処理動作や他の処理タスクの動作に関わらず、それらと並行して動作する。   Next, processing for clearing the standby condition when an error occurs and retransmission is performed will be described. The waiting condition clear process operates as an independent task. That is, it operates in parallel with them regardless of the processing operations of FIG. 3 and the operations of other processing tasks.

図11は、実施の形態1における待機条件クリア処理のフローを示す図である。この処理も、待ち時間をおいて、繰り返し行なう。待機条件見直しを待つ処理(S1101)では、待ち時間が経過するのを待つ。そして、再送記録記憶部110から再送記録を読み出す(S1102)。再送記録が無い場合には、次の待ち時間を待つ処理に戻る(S1101)。   FIG. 11 is a diagram showing a flow of standby condition clear processing in the first embodiment. This process is also repeated with a waiting time. In the process of waiting for the review of the waiting condition (S1101), the process waits for the waiting time to elapse. Then, the retransmission record is read from the retransmission record storage unit 110 (S1102). If there is no re-recording, the process returns to waiting for the next waiting time (S1101).

待機条件見直しを待つ処理(S1101)で、エラー情報処理タスクが動作中であるか、データ送信処理が動作中であるか、待機条件設定処理が動作中であるかをチェックし、これらの処理のいずれかが動作中である場合には、それらの処理のすべてが動作していない状態になるまで待つようにすることが望ましいことは、前述のS1001と同様である。   In the process of waiting for a review of the standby condition (S1101), it is checked whether the error information processing task is operating, the data transmission process is operating, or the standby condition setting process is operating. When any one of them is operating, it is desirable to wait until all of the processes are not operating, as in S1001 described above.

再送記録があった場合には(S1103)、待機条件記憶部109で記憶しているすべての待機条件を削除する(S1104)。また、再送記録記憶部110に記憶している再送記録もすべて削除する。   If there is a retransmission record (S1103), all standby conditions stored in the standby condition storage unit 109 are deleted (S1104). All the retransmission records stored in the retransmission record storage unit 110 are also deleted.

このように、待機条件を削除することにより、初期化され、前述のように改めてエラー情報を収集し、そのエラー情報に基づいて、現状に適した待機条件が設定される。   In this way, by deleting the standby condition, it is initialized, error information is collected again as described above, and a standby condition suitable for the current situation is set based on the error information.

実施の形態2.
上述の実施の形態では、待機条件更新処理と待機条件クリア処理をそれぞれ別のタスクとしたが、それぞれの処理を含む一体のタスクとして動作させてもよい。
Embodiment 2. FIG.
In the above-described embodiment, the standby condition update process and the standby condition clear process are separate tasks, but may be operated as an integrated task including the respective processes.

図12は、実施の形態2における待機条件更新処理と待機条件クリア処理のフローを示す図である。S1201〜S1203は、S1001〜S1003あるいはS1101〜S1103と同様である。また、S1204〜S1208は、S1004〜S1008と同様である。また、S1209とS1210は、S1104とS1105と同様である。   FIG. 12 is a diagram illustrating a flow of the standby condition update process and the standby condition clear process in the second embodiment. S1201 to S1203 are the same as S1001 to S1003 or S1101 to S1103. S1204 to S1208 are the same as S1004 to S1008. S1209 and S1210 are the same as S1104 and S1105.

実施の形態3.
前述の実施の形態では、エラーが発生し、再送が行なわれた場合に、待機条件をクリアしたが、待機条件を緩和してもよい。具体的には、待機時間を延長する。
Embodiment 3 FIG.
In the above-described embodiment, the standby condition is cleared when an error occurs and retransmission is performed, but the standby condition may be relaxed. Specifically, the waiting time is extended.

図13は、実施の形態3における送信側計算機のモジュール構成を示す図である。待機条件クリア部112に代えて、待機条件緩和部113を設けている。   FIG. 13 is a diagram illustrating a module configuration of the transmission-side computer according to the third embodiment. Instead of the standby condition clearing unit 112, a standby condition relaxing unit 113 is provided.

待機条件クリア処理タスクに代えて、待機条件緩和処理タスクを動作させる。このタスクも同様に、独立して動作する。   Instead of the waiting condition clear processing task, the waiting condition relaxation processing task is operated. This task works independently as well.

図14は、実施の形態3における待機条件緩和処理のフローを示す図である。S1401〜S1403は、S1101〜S1103と同様である。   FIG. 14 is a diagram showing a flow of standby condition relaxation processing in the third embodiment. S1401 to S1403 are the same as S1101 to S1103.

再送記録があった場合には(S1403)、待機条件記憶部109で記憶している各待機条件について以下の処理を繰り返す(S1404)。待機条件に含まれる待機時間を読み込み(S1405)、待機時間を延長し(S1406)、延長した待機時間をその待機条件の待機時間に書き戻す(S1407)。   If there is a retransmission record (S1403), the following processing is repeated for each standby condition stored in the standby condition storage unit 109 (S1404). The standby time included in the standby condition is read (S1405), the standby time is extended (S1406), and the extended standby time is written back to the standby time of the standby condition (S1407).

待機時間を延長する方法は、例えば、待機時間から所定延長時間を加える。所定延長時間を5msecとすれば、WT(1)である635msecに5msecを加えて、新たな待機時間WT(1)を640msecとする。同様に、WT(2)である3195msecに5msecを加えて、新たな待機時間WT(1)を3200msecとする。あるいは、待機時間に所定延長割合を乗じる。所定延長割合を101%とすれば、WT(1)である634msecに1.01を乗じて、新たな待機時間WT(1)を640msecとする。同様に、WT(2)である3168msecに1.01を乗じて、新たな待機時間WT(1)を3200msecとする。また、待機時間の範囲毎に、延長時間や延長割合を設定してもよい。例えば、0〜500msec、500〜1000msec、1000〜2000msecのように範囲を分けて、それぞれに延長時間を5msec、10msec、20msecと設定し、あるいは、1.01、1.02、1.03と設定する。範囲の示す待機時間が大きくなるにつれて、上述のように延長時間を拡大する方法のほか、逆に縮小する方法が考えられる。また、範囲の示す待機時間が大きくなるにつれて、上述のように延長割合を拡大する方法のほか、逆に縮小する方法が考えられる。   As a method for extending the standby time, for example, a predetermined extension time is added from the standby time. If the predetermined extension time is 5 msec, 5 msec is added to 635 msec which is WT (1), and a new standby time WT (1) is set to 640 msec. Similarly, 5 msec is added to 3195 msec which is WT (2), and new waiting time WT (1) is set to 3200 msec. Alternatively, the waiting time is multiplied by a predetermined extension rate. If the predetermined extension rate is 101%, WT (1) 634 msec is multiplied by 1.01, and a new standby time WT (1) is set to 640 msec. Similarly, by multiplying 3168 msec, which is WT (2), by 1.01, a new standby time WT (1) is set to 3200 msec. Moreover, you may set extension time and extension ratio for every range of waiting time. For example, the range is divided into 0 to 500 msec, 500 to 1000 msec, 1000 to 2000 msec, and the extended time is set to 5 msec, 10 msec, and 20 msec, or set to 1.01, 1.02, and 1.03, respectively. To do. As the waiting time indicated by the range increases, in addition to the method of extending the extension time as described above, a method of reducing the extension time can be considered. Further, as the waiting time indicated by the range increases, in addition to the method of expanding the extension ratio as described above, a method of conversely reducing is conceivable.

このようにして、再送記録があれば、待機時間を延長するので、エラーの再発を防ぐことができる。待機条件更新処理で、待機時間を短縮させたことにより、エラーが生じるようになった場合には、待機条件緩和処理で、待機時間を延長させるので、元の状態にも戻し、エラーの再発を防ぐことができる。   In this way, if there is retransmission recording, the standby time is extended, so that the recurrence of errors can be prevented. If an error occurs as a result of shortening the waiting time in the waiting condition update process, the waiting time is extended in the waiting condition relaxation process. Can be prevented.

その為、延長時間を、待機条件更新処理における待機時間短縮処理(図10のS1006等)の短縮時間と同一にすることが有効である。また、延長割合を、同じく待機時間短縮処理の短縮割合の逆数とすることが有効である。   Therefore, it is effective to make the extension time the same as the shortening time of the waiting time shortening process (S1006 in FIG. 10) in the waiting condition update process. It is also effective to set the extension rate to the reciprocal of the reduction rate of the waiting time reduction process.

実施の形態4.
上述の実施の形態では、待機条件更新処理と待機条件緩和処理をそれぞれ別のタスクとしたが、それぞれの処理を含む一体のタスクとして動作させてもよい。
Embodiment 4 FIG.
In the above-described embodiment, the standby condition update process and the standby condition relaxation process are separate tasks, but may be operated as an integrated task including the respective processes.

図15と図16は、実施の形態4における待機条件更新処理と待機条件緩和処理のフローを示す図である。S1501〜S1503は、S1001〜S1003あるいはS1401〜S1403と同様である。また、S1504〜S1508は、S1004〜S1008と同様である。また、S1509〜S1514は、S1404〜S1409と同様である。   FIGS. 15 and 16 are flowcharts showing the standby condition update process and the standby condition relaxation process in the fourth embodiment. S1501 to S1503 are the same as S1001 to S1003 or S1401 to S1403. S1504 to S1508 are the same as S1004 to S1008. S1509 to S1514 are the same as S1404 to S1409.

実施の形態5.
上述の実施の形態では、待機条件更新処理で再送記録が有るか否かを判定し(S1003)、再送記録が無い場合に、待機時間を短縮したが、再送記録が所定数以上であるか否かを判定し、所定数に満たない場合に、待機時間を短縮するようにしてもよい。尚、再送記録が有るか否かを判定することは、再送記録が1以上であるか否かを判定することと同義である。
Embodiment 5. FIG.
In the above-described embodiment, it is determined whether or not there is retransmission recording in the standby condition update process (S1003). If there is no retransmission recording, the standby time is shortened, but whether or not the retransmission recording is a predetermined number or more. It may be determined that the waiting time may be shortened if the predetermined number is not reached. Note that determining whether or not there is retransmission recording is synonymous with determining whether or not retransmission recording is 1 or more.

また、待機条件クリア処理で再送記録が有るか否かを判定し(S1103)、再送記録が有る場合に、待機条件をクリアしたが、再送記録が所定数以上か否かを判定し、所定数以上の場合に、待機条件をクリアし、再送記録をクリアするようにしてもよい。   Further, it is determined whether or not there is retransmission recording in the standby condition clearing process (S1103), and when there is retransmission recording, the standby condition is cleared, but it is determined whether or not the retransmission recording is equal to or more than a predetermined number, and the predetermined number In the above case, the standby condition may be cleared and the retransmission record may be cleared.

実施の形態2のように、一体に処理するタスクにおける判定(S1203)の場合も、同様である。   The same applies to the determination (S1203) in the task to be integrally processed as in the second embodiment.

また、実施の形態3における待機条件緩和処理の判定(S1403)の場合も、再送記録が所定数以上か否かを判定し、所定数以上の場合に、待機時間を延長し、再送記録をクリアすることも有効である。   Also, in the case of the standby condition relaxation processing determination in the third embodiment (S1403), it is determined whether or not the number of retransmission recordings is equal to or greater than a predetermined number. It is also effective to do.

実施の形態4のように、一体に処理するタスクにおける判定(S1503)の場合も、同様である。   The same applies to the determination (S1503) in the task to be processed integrally as in the fourth embodiment.

実施の形態6.
実施の形態5のように、再送記録が所定数以上か否かを判定する際に、現在時刻から遡って所定期間内に生じた再送記録の数が所定数以上か否かを判定することも有効である。
Embodiment 6 FIG.
As in the fifth embodiment, when determining whether or not the number of retransmission records is equal to or greater than a predetermined number, it is also possible to determine whether or not the number of retransmission records generated within a predetermined period from the current time is equal to or greater than the predetermined number. It is valid.

送信側計算機と受信側計算機は、コンピュータであり、各要素はプログラムにより処理を実行することができる。また、プログラムを記憶媒体に記憶させ、記憶媒体からコンピュータに読み取られるようにすることができる。   The transmission side computer and the reception side computer are computers, and each element can execute processing by a program. Further, the program can be stored in a storage medium so that the computer can read the program from the storage medium.

ネットワークシステムの構成例を示す図である。It is a figure which shows the structural example of a network system. 実施の形態1における送信側計算機のモジュール構成を示す図である。FIG. 3 is a diagram illustrating a module configuration of a transmission-side computer in the first embodiment. 実施の形態1における送信側計算機の全体処理のフローを示す図である。FIG. 3 is a diagram illustrating a flow of overall processing of a transmission side computer in the first embodiment. 実施の形態1におけるデータ送信処理のフローを示す図である。FIG. 10 is a diagram showing a flow of data transmission processing in the first embodiment. 実施の形態1における受信側計算機のモジュールを示す図である。FIG. 3 is a diagram showing modules of a receiving computer in the first embodiment. 実施の形態1における受信側エラー情報記憶部の構成例を示す図である。6 is a diagram illustrating a configuration example of a reception-side error information storage unit in Embodiment 1. FIG. 受信したパケットと欠落したパケットの構成例を示す図である。It is a figure which shows the structural example of the received packet and the missing packet. 実施の形態1におけるエラー情報収集処理のフローを示す図である。FIG. 10 is a diagram illustrating a flow of error information collection processing in the first embodiment. 実施の形態1における待機条件設定処理のフローを示す図である。FIG. 10 is a diagram showing a flow of standby condition setting processing in the first embodiment. 実施の形態1における待機条件更新処理のフローを示す図である。FIG. 6 is a diagram showing a flow of standby condition update processing in the first embodiment. 実施の形態1における待機条件クリア処理のフローを示す図である。FIG. 10 is a diagram showing a flow of standby condition clear processing in the first embodiment. 実施の形態2における待機条件更新処理と待機条件クリア処理のフローを示す図である。It is a figure which shows the flow of the standby condition update process in Embodiment 2, and a standby condition clear process. 実施の形態3における送信側計算機のモジュール構成を示す図である。FIG. 10 is a diagram showing a module configuration of a transmission side computer in a third embodiment. 実施の形態3における待機条件緩和処理のフローを示す図である。FIG. 10 is a diagram showing a flow of standby condition relaxation processing in the third embodiment. 実施の形態4における待機条件更新処理と待機条件緩和処理のフロー(1/2)を示す図である。It is a figure which shows the flow (1/2) of the standby condition update process and standby condition relaxation process in Embodiment 4. 実施の形態4における待機条件更新処理と待機条件緩和処理のフロー(2/2)を示す図である。It is a figure which shows the flow (2/2) of the standby condition update process and standby condition relaxation process in Embodiment 4. 従来技術における送信側エラー情報記憶部の構成例を示す図である。It is a figure which shows the structural example of the transmission side error information storage part in a prior art. 従来技術における待機条件記憶部の構成例を示す図である。It is a figure which shows the structural example of the standby condition memory | storage part in a prior art. 従来技術における待機番号1の待機条件を表わす図である。It is a figure showing the standby conditions of the standby number 1 in a prior art. 従来技術における待機番号2の待機条件を表わす図である。It is a figure showing the standby conditions of the standby number 2 in a prior art. 従来技術における待機番号1の待機条件に関るパケット転送の様子を表わす図である。It is a figure showing the mode of the packet transfer regarding the standby condition of the standby number 1 in a prior art. 従来技術における待機番号2の待機条件に関るパケット転送の様子を表わす図である。It is a figure showing the mode of the packet transfer regarding the standby condition of the standby number 2 in a prior art.

符号の説明Explanation of symbols

1 送信側計算機、2〜6 受信側計算機、7 LAN、11 LANコントローラ、12 チャネルコントロールバス、13 演算部、14 主記憶部、15 システムバス、16 ディスクコントローラ、17 ディスク装置、21 LANコントローラ、22 チャネルコントロールバス、23 演算部、24 主記憶部、25 システムバス、26 ディスクコントローラ、27 ディスク装置、101 システム構成値記憶部、102 送信データ記憶部、103 パケット分割部、104 ブロードキャストアドレス記憶部、105 パケット送信制御部、106 エラー情報収集部、107 送信側エラー情報記憶部、108 待機条件設定部、109 待機条件記憶部、110 再送記録記憶部、111 待機条件更新部、112 待機条件クリア部、113 待機条件緩和部、201 パケット受信制御部、202 パケット組立部、203 受信データ記憶部、204 受信側エラー情報記憶部、205 送信側計算機アドレス記憶部、206 エラー情報送信部。

DESCRIPTION OF SYMBOLS 1 Transmission side computer, 2-6 Reception side computer, 7 LAN, 11 LAN controller, 12 channel control bus, 13 arithmetic part, 14 main memory part, 15 system bus, 16 disk controller, 17 disk apparatus, 21 LAN controller, 22 Channel control bus, 23 arithmetic unit, 24 main storage unit, 25 system bus, 26 disk controller, 27 disk unit, 101 system configuration value storage unit, 102 transmission data storage unit, 103 packet division unit, 104 broadcast address storage unit, 105 Packet transmission control unit, 106 error information collection unit, 107 transmission side error information storage unit, 108 standby condition setting unit, 109 standby condition storage unit, 110 retransmission record storage unit, 111 standby condition update unit, 112 standby condition clear unit, 113 Waiting section Relaxation unit, 201 packet reception control unit, 202 packet assembly unit, 203 reception data storage unit, 204 reception-side error information storage unit, 205 transmission-side computer address storage unit, 206 error information transmitting unit.

Claims (10)

ネットワークを介して接続された送信側計算機と、受信側計算機とからなるデータ通信システムであって、
上記送信側計算機は、送信データを記憶する送信データ記憶部と、
送信データをパケットに分解するパケット分解部と、
上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信するパケット送信制御部とを有し、
上記受信側計算機は、上記ネットワークを介して、上記送信側計算機からパケットを受信するパケット受信制御部と、
受信したパケットを組み立てて受信データを生成し、受信したパケットの組立てにおいて生じたエラーについて、欠落したパケットの数を特定する情報を含むエラー情報を生成するパケット組立部と、
生成した受信データを記憶する受信データ記憶部と、
上記ネットワークを介して、上記送信側計算機へ生成したエラー情報を送信するエラー情報送信部とを有し、
上記送信側計算機は、更に、上記ネットワークを介して、上記受信側計算機からエラー情報を受信するエラー情報収集部と、
受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する待機条件算出部とを有し、
上記送信データ記憶部は、次の送信データを記憶し、
上記パケット分解部は、次の送信データをパケットに分解し、
上記パケット送信制御部は、次の送信データの分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機し、更に、エラー情報を受信した場合には、エラーが生じたパケットを再送し、
上記送信側計算機は、更に、パケット再送の記録を記憶するパケット再送記録記憶部と、
パケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮する待機条件更新部とを有することを特徴とするデータ通信システム。
A data communication system comprising a sending computer and a receiving computer connected via a network,
The transmission computer includes a transmission data storage unit that stores transmission data;
A packet decomposing unit that decomposes transmission data into packets;
A packet transmission control unit for transmitting the decomposed packets to the receiving computer at a constant transmission rate via the network;
The receiver computer receives a packet from the transmitter computer via the network, and a packet reception control unit;
A packet assembly unit that generates received data by assembling received packets, and generates error information including information that identifies the number of missing packets for errors generated in the assembly of received packets;
A received data storage unit for storing the generated received data;
An error information transmitting unit that transmits the error information generated to the transmitting computer via the network;
The sending computer further includes an error information collection unit that receives error information from the receiving computer via the network;
A waiting condition calculation unit that identifies the number of missing packets based on the received error information, obtains a waiting time for identifying a waiting period based on the number of missing packets, and calculates a waiting condition including the waiting time; Have
The transmission data storage unit stores the next transmission data,
The packet decomposition unit decomposes the next transmission data into packets,
The packet transmission control unit waits according to the standby time included in the calculated standby condition while transmitting the packet in which the next transmission data is decomposed at a constant transmission rate, and further receives error information. , Resend the packet in error,
The transmitting computer further includes a packet retransmission recording storage unit for storing a packet retransmission record;
A data communication system comprising: a standby condition update unit that reduces a standby time included in a standby condition stored in a standby condition storage unit when the number of packet retransmission records is less than a predetermined number.
待機条件更新部は、パケット再送の記録が無かった場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮することを特徴とする請求項1記載のデータ通信システム。   The data communication system according to claim 1, wherein the standby condition update unit shortens the standby time included in the standby condition stored in the standby condition storage unit when no packet retransmission is recorded. 待機条件更新部は、所定期間内に再送したパケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮することを特徴とする請求項1記載のデータ通信システム。   The standby condition update unit shortens the standby time included in the standby condition stored in the standby condition storage unit when there are fewer than a predetermined number of packet retransmission records retransmitted within a predetermined period. The data communication system according to 1. 待機条件更新部は、待機時間から所定の短縮時間を差し引くことを特徴とする請求項1記載のデータ通信システム。   The data communication system according to claim 1, wherein the standby condition update unit subtracts a predetermined shortening time from the standby time. 待機条件更新部は、待機時間に所定の短縮割合を乗ずることを特徴とする請求項1記載のデータ通信システム。   The data communication system according to claim 1, wherein the standby condition update unit multiplies the standby time by a predetermined reduction rate. 上記送信側計算機は、更に、パケット再送の記録が所定数より多い場合に、待機条件記憶部に記憶している待機条件を削除する待機条件クリア部を有することを特徴とする請求項1記載のデータ通信システム。   The said transmission side computer further has a standby condition clear part which deletes the standby condition memorize | stored in the standby condition memory | storage part, when there are more packet retransmission records than predetermined number. Data communication system. 上記送信側計算機は、更に、パケット再送の記録が所定数より多い場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を延長する待機条件緩和部を有することを特徴とする請求項1記載のデータ通信システム。   The transmission computer further includes a standby condition relaxation unit that extends a standby time included in the standby condition stored in the standby condition storage unit when the number of packet retransmission records is greater than a predetermined number. The data communication system according to claim 1. 上記待機条件算出部は、エラー情報から特定される欠落したパケットの数のパケットを伝送する場合に要する期間以上の期間を、待機する期間として特定することを特徴とする請求項1記載のデータ通信システム。   The data communication according to claim 1, wherein the standby condition calculation unit specifies a period longer than a period required for transmitting the number of missing packets specified from the error information as a standby period. system. ネットワークを介して接続された受信側計算機へデータを送信する送信側計算機であって、
送信データを記憶する送信データ記憶部と、
送信データをパケットに分解するパケット分解部と、
上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信するパケット送信制御部と、
上記ネットワークを介して、上記受信側計算機からエラー情報を受信するエラー情報収集部と、
受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する待機条件算出部とを有し、
上記送信データ記憶部は、次の送信データを記憶し、
上記パケット分解部は、次の送信データをパケットに分解し、
上記パケット送信制御部は、次の送信データの分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機し、更に、エラー情報を受信した場合に、エラーが生じたパケットを再送し、
上記送信側計算機は、更に、パケット再送の記録を記憶するパケット再送記録記憶部と、
パケット再送の記録が所定数より少ない場合に、待機条件記憶部に記憶している待機条件に含まれる待機時間を短縮する待機条件更新部とを有することを特徴とする送信側計算機。
A transmitting computer that transmits data to a receiving computer connected via a network,
A transmission data storage unit for storing transmission data;
A packet decomposing unit that decomposes transmission data into packets;
A packet transmission control unit for transmitting the decomposed packets to the receiving computer at a constant transmission rate via the network;
An error information collection unit that receives error information from the receiving computer via the network;
A waiting condition calculation unit that identifies the number of missing packets based on the received error information, obtains a waiting time for identifying a waiting period based on the number of missing packets, and calculates a waiting condition including the waiting time; Have
The transmission data storage unit stores the next transmission data,
The packet decomposition unit decomposes the next transmission data into packets,
The packet transmission control unit waits according to the standby time included in the calculated standby condition while transmitting a packet in which the next transmission data is decomposed at a constant transmission rate, and further, when error information is received, Resend the packet in error,
The transmitting computer further includes a packet retransmission recording storage unit for storing a packet retransmission record;
A transmission-side computer, comprising: a standby condition update unit that reduces a standby time included in a standby condition stored in a standby condition storage unit when the number of packet retransmission records is less than a predetermined number.
送信データを記憶する送信データ記憶部を有し、ネットワークを介して接続された受信側計算機へデータを送信する送信側計算機となるコンピュータに、以下の手順を実行させるためのプログラム
(1)送信データをパケットに分解する手順
(2)上記ネットワークを介して、分解されたパケットを一定の伝送レートで上記受信側計算機に送信する手順
(3)上記ネットワークを介して、上記受信側計算機からエラー情報を受信する手順
(4)受信したエラー情報に基づいて、欠落したパケットの数を特定し、欠落したパケット数に基づいて、待機する期間を特定する待機時間を求め、待機時間を含む待機条件を算出する手順
(5)次の送信データをパケットに分解し、分解されたパケットを一定の伝送レートで送信する間に、算出した待機条件に含まれる待機時間に従って待機する手順
(6)エラー情報を受信した場合に、エラーが生じたパケットを再送する手順
(7)パケット再送の記録を記憶する手順
(8)パケット再送の記録が所定数より少ない場合に、待機条件に含まれる待機時間を短縮する手順。

A program having a transmission data storage unit for storing transmission data, and causing a computer to be a transmission computer to transmit data to a reception computer connected via a network to execute the following procedure (1) transmission data (2) Procedure for transmitting the decomposed packet to the receiving computer at a constant transmission rate via the network (3) Error information from the receiving computer via the network (4) Based on the received error information, the number of missing packets is identified, and based on the number of missing packets, a waiting time for determining a waiting period is obtained, and a waiting condition including the waiting time is calculated. (5) Decompose the next transmission data into packets, and calculate the waiting time while transmitting the decomposed packets at a constant transmission rate (6) A procedure for resending a packet in which an error has occurred when receiving error information (7) A procedure for storing a packet retransmission record (8) A packet retransmission record is predetermined A procedure to reduce the waiting time included in the waiting condition when it is less than the number.

JP2005276232A 2005-09-22 2005-09-22 Data communication system, transmission side computer, and program Pending JP2007088908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005276232A JP2007088908A (en) 2005-09-22 2005-09-22 Data communication system, transmission side computer, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005276232A JP2007088908A (en) 2005-09-22 2005-09-22 Data communication system, transmission side computer, and program

Publications (1)

Publication Number Publication Date
JP2007088908A true JP2007088908A (en) 2007-04-05

Family

ID=37975437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005276232A Pending JP2007088908A (en) 2005-09-22 2005-09-22 Data communication system, transmission side computer, and program

Country Status (1)

Country Link
JP (1) JP2007088908A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041974B2 (en) * 2008-10-17 2011-10-18 Kinpo Electronics, Inc. Power management method for input device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8041974B2 (en) * 2008-10-17 2011-10-18 Kinpo Electronics, Inc. Power management method for input device

Similar Documents

Publication Publication Date Title
EP1009138B1 (en) Data transmission method
KR101745456B1 (en) Ecu for transmitting large data in hil test environment, system including the same and method thereof
CN106170968B (en) A kind of data compression storage method, device and distributed file system
CN110460412A (en) Method and RDMA network interface card for data transmission
US9130740B2 (en) Variable acknowledge rate to reduce bus contention in presence of communication errors
JP4914127B2 (en) Network camera device and video frame transmission method of network camera device
JP6172296B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP2007088908A (en) Data communication system, transmission side computer, and program
JP4283798B2 (en) DATA COMMUNICATION SYSTEM, TRANSMITTER COMPUTER, AND PROGRAM
EP1780976A1 (en) Methods and system to offload data processing tasks
JP2008131577A (en) Telegraphic message transmission/reception system, telegraphic message transmission/reception method, telegraphic message transmitter, telegraphic message receiver and program
JP2005322049A (en) Image processor and program
US8042111B2 (en) Information processing system and computer readable recording medium storing an information processing program
JP2007324958A (en) Transmitting node device, receiving node device, transmitting method, receiving method, and program
CN113704349A (en) Data synchronization method and device and node equipment
CN115942433B (en) Acceleration method and device based on 5G network cloud service
JP3495678B2 (en) Data communication system, data communication method, transmission-side computer and reception-side computer, data transmission method, data reception method, and computer-readable recording medium
JP6458574B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL PROGRAM, AND COMMUNICATION CONTROL METHOD
JPH04145560A (en) Optimum buffer assigning system
WO2024029372A1 (en) Information terminal, communication method, and communication device
JP6111545B2 (en) Receiver
JP2006340322A (en) System and method for data transfer, transmitting apparatus, and receiving apparatus
JP4680440B2 (en) Serial transmission apparatus and transmission buffering control method for serial transmission apparatus
JP2008099139A (en) Communication method
JP2007249815A (en) Data transfer device and data transfer method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090317