JP2009246533A - Communication terminal, communicating method, data communication system, and program - Google Patents
Communication terminal, communicating method, data communication system, and program Download PDFInfo
- Publication number
- JP2009246533A JP2009246533A JP2008088536A JP2008088536A JP2009246533A JP 2009246533 A JP2009246533 A JP 2009246533A JP 2008088536 A JP2008088536 A JP 2008088536A JP 2008088536 A JP2008088536 A JP 2008088536A JP 2009246533 A JP2009246533 A JP 2009246533A
- Authority
- JP
- Japan
- Prior art keywords
- data
- terminal
- communication
- retransmission
- delivery confirmation
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 203
- 238000000034 method Methods 0.000 title claims description 69
- 238000012790 confirmation Methods 0.000 claims abstract description 224
- 230000005540 biological transmission Effects 0.000 claims abstract description 180
- 230000004044 response Effects 0.000 claims description 69
- 230000008569 process Effects 0.000 claims description 30
- 238000012545 processing Methods 0.000 abstract description 66
- 230000006870 function Effects 0.000 description 28
- 238000010586 diagram Methods 0.000 description 16
- 230000008859 change Effects 0.000 description 6
- 230000007423 decrease Effects 0.000 description 2
- 230000006866 deterioration Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000005316 response function Methods 0.000 description 2
- 239000000523 sample Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Abstract
Description
本発明は、データ通信技術に関し、特に送信端末から受信端末へデータを再送するデータ再送制御技術に関する。 The present invention relates to a data communication technique, and more particularly to a data retransmission control technique for retransmitting data from a transmission terminal to a reception terminal.
データ通信において、データ到達性を保証するプロトコルとして、TCPが広く利用されている(例えば、非特許文献1など参照)。このようなプロトコルでは、各パケットにシーケンス番号を付与し、送信端末から受信端末へ送信する。受信端末では、受信したデータのシーケンス番号を参照して、確認応答パケットに次に受信を期待するシーケンス番号を付与して送信端末へ送信する。
また、上記確認応答の動作において、1パケットごとに確認応答を返信する場合、その確認応答によるオーバーヘッドが大きいため、複数のパケットに関する確認応答を1つにまとめて返信するdelayed ACKが提案されている(例えば、非特許文献2など参照)。
In data communication, TCP is widely used as a protocol for guaranteeing data reachability (see, for example, Non-Patent Document 1). In such a protocol, a sequence number is assigned to each packet and transmitted from the transmitting terminal to the receiving terminal. The receiving terminal refers to the sequence number of the received data, adds a sequence number expected to be received next to the confirmation response packet, and transmits it to the transmitting terminal.
Also, in the above-described confirmation response operation, when an acknowledgment is returned for each packet, since the overhead due to the acknowledgment is large, a delayed ACK is proposed in which acknowledgments for a plurality of packets are collectively returned. (For example, refer nonpatent literature 2 etc.).
TCPでは、一定時間以上確認応答パケットを受信しない場合、データが廃棄されたと判断してデータの再送を実施する。したがって、データが廃棄されていないにもかかわらず、確認応答が廃棄されることにより、特に、大量の再送が発生する場合、ネットワーク、送受信端末に負荷をかけると同時に、通信効率が低下する。 In TCP, when an acknowledgment packet is not received for a predetermined time or longer, it is determined that data has been discarded and data is retransmitted. Therefore, even if data is not discarded, the acknowledgment is discarded, and particularly when a large amount of retransmission occurs, a load is placed on the network and transmitting / receiving terminals, and at the same time, communication efficiency decreases.
これに対する関連技術として、上記データ破棄が確認されてデータ再送を行う際、そのデータ再送前に、送信端末から受信端末に対してプローブパケットを送信し、これに対する受信端末からの応答に応じて、それまでに送信端末から受信端末へ送信したデータに関する送達確認を行う技術が提案されている(例えば、特許文献1など参照)。これにより、データ再送前に、送信端末から再送しなくてもよいデータを確認でき、冗長な再送を防ぐことができる。
しかしながら、このような関連技術では、データ再送時には、送信端末と受信端末との間で、必ずプローブパケットとその応答をやり取りして送達確認が行われるため、これら送達確認手順によるオーバーヘッドが大きくなり、通信エラー発生時にもかかわらず、ネットワークおよび送受信端末での負荷が増大するとともに、通信効率が低下するという問題点があった。
本発明はこのような課題を解決するためのものであり、ネットワークおよび送受信端末での負荷増大を抑制しつつ、送信データの送達確認を行うことができる通信端末、通信方法、データ通信システム、およびプログラムを提供することを目的としている。
However, in such a related technique, at the time of data retransmission, since the transmission confirmation is performed by always exchanging the probe packet and the response between the transmission terminal and the reception terminal, the overhead due to these delivery confirmation procedures increases, In spite of the occurrence of a communication error, there is a problem that the load on the network and the transmission / reception terminal increases and the communication efficiency decreases.
The present invention is for solving such problems, a communication terminal, a communication method, a data communication system, and a communication terminal capable of confirming delivery of transmission data while suppressing an increase in load on the network and the transmission / reception terminal, and The purpose is to provide a program.
このような目的を達成するために、本発明にかかる通信端末は、受信端末とのデータ通信時、受信端末に対してデータを再送する前に受信端末に対してデータの送達確認要求を行う通信端末であって、送達確認要求を行う際、受信端末に対するデータ再送に関する履歴情報に基づいて送達確認の要否を判定する。 In order to achieve such an object, the communication terminal according to the present invention performs communication for making a data delivery confirmation request to the receiving terminal before retransmitting the data to the receiving terminal during data communication with the receiving terminal. When making a delivery confirmation request, the terminal determines whether or not delivery confirmation is necessary based on history information regarding data retransmission to the receiving terminal.
また、本発明にかかる通信方法は、送信端末と受信端末との間のデータ通信時、送信端末から受信端末に対してデータを再送する前に送信端末から受信端末に対してデータの送達確認を行う通信方法であって、送信端末が、送達確認要求を行う際、受信端末に対するデータ再送に関する履歴情報に基づいて送達確認の要否を判定する。 Further, in the communication method according to the present invention, during data communication between the transmission terminal and the reception terminal, the data transmission confirmation from the transmission terminal to the reception terminal is performed before the data is retransmitted from the transmission terminal to the reception terminal. In this communication method, when the transmission terminal makes a delivery confirmation request, it determines whether or not the delivery confirmation is necessary based on the history information regarding the data retransmission to the reception terminal.
また、本発明にかかるデータ通信システムは、送信端末と受信端末との間のデータ通信時、送信端末から受信端末に対してデータを再送する前に送信端末から受信端末に対してデータの送達確認を行うデータ通信システムであって、送信端末として、上記通信端末を備えている。 In addition, the data communication system according to the present invention provides a data delivery confirmation from the transmitting terminal to the receiving terminal before data is retransmitted from the transmitting terminal to the receiving terminal during data communication between the transmitting terminal and the receiving terminal. A data communication system that performs the above-described communication terminal is provided as a transmission terminal.
また、本発明にかかるプログラムは、受信端末との間のデータ通信時に発生した通信エラーに応じてデータを再送する際、当該データ再送前に受信端末に対してデータの送達確認を行う通信端末のコンピュータに、上記通信方法における送信端末の処理を実行させる。 In addition, when retransmitting data in response to a communication error that occurred during data communication with a receiving terminal, the program according to the present invention is a communication terminal that confirms data delivery to the receiving terminal before the data is retransmitted. A computer is caused to execute processing of a transmitting terminal in the communication method.
本発明によれば、データ再送時に合わせて送達確認が必ず行われる、ということがなくなるため、これら送達確認手順によるオーバーヘッドを抑制でき、ネットワークおよび送受信端末での負荷増大を抑制しつつ、送信データの送達確認を行うことができる。 According to the present invention, since delivery confirmation is not necessarily performed at the time of data retransmission, overhead due to these delivery confirmation procedures can be suppressed, and transmission data can be transmitted while suppressing an increase in load on the network and transmission / reception terminals. Delivery confirmation can be made.
次に、本発明の実施形態について図面を参照して説明する。
[第1の実施形態]
まず、図1を参照して、本発明の第1の実施形態にかかるデータ通信システムについて説明する。図1は、本発明の第1の実施形態にかかるデータ通信システムの構成を示すブロック図である。
このデータ通信システムは、通信ネットワーク30を介して接続された送信端末(通信端末)10と受信端末20とを含んでいる。
送信端末10および受信端末20は、パソコンやサーバ、あるいは携帯電話端末やPDAなど、データ通信機能を有する情報処理装置から構成されている。
Next, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
First, a data communication system according to the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a data communication system according to the first embodiment of the present invention.
This data communication system includes a transmission terminal (communication terminal) 10 and a
The
送信端末10は、受信端末20とのデータ通信時、受信端末20に対してデータを再送する前に、受信端末20に対してデータの送達確認要求を行う機能を有している。
本実施形態は、送信端末10において、送達確認要求を行う際、データ再送に関する履歴情報に基づいて送達確認の要否を判定するようにしたものである。
The transmitting
In the present embodiment, when a transmission confirmation request is made in the
送信端末(通信端末)10には、主な機能部として、通信処理部11、記憶部12、通信制御部13、および送達確認処理部14が設けられており、データバスBを介して相互にデータ通信可能に接続されている。
通信処理部11は、専用の通信回路から構成され、通信ネットワーク30を介して受信端末20の間でデータを送受信する機能を有している。
記憶部12は、ハードディスクやメモリなどの記憶装置から構成され、送信データ12Aや再送履歴情報12Bなど、受信端末20とのデータ通信に関する各種情報を記憶する機能を有している。
The transmission terminal (communication terminal) 10 includes a
The
The
通信制御部13は、TCPやUDPなどの通信プロトコルに基づいて、通信処理部11を介して受信端末20との間でデータ通信用のチャネルを形成する機能と、このチャネルを介してデータを送受信する機能と、通信エラー発生時にはデータを再送する機能と、データ再送に関する再送履歴情報12Bを記録する機能とを有している。
送達確認処理部14は、通信制御部13においてデータを再送する前に、記憶部12の再送履歴情報12Bに基づいて送達確認の要否を判定する機能と、送達確認が必要と判定した場合に通信処理部11を介して受信端末20へ送達確認要求を送信する機能とを有している。
The
The delivery
通信制御部13および送達確認処理部14は、CPUとその周辺回路とを有する演算処理部からなり、記憶部12に予め格納されているプログラムを読み込んで演算処理部で実行することにより、上記した各種機能が実現される。
The
次に、図2を参照して、再送履歴情報12Bについて説明する。図2は、再送履歴情報の構成例である。
再送履歴情報12Bは、データ再送に関する履歴情報であり、受信端末20とのデータ通信におけるデータ再送処理ごとに、通信制御部13により記録される。ここでは、データ再送処理を行ったラウンド番号とその再送データ量とが組として、データ再送処理ごとに記録され、再送履歴情報12Bとして記憶部12に保存されている。
Next, the
The
ラウンドとは、後述の図4に示すように、送信端末10から受信端末20へ送信データ(DT)を送信する処理と、これに応じて受信端末20から送信端末10へ受信確認応答(ACK)を返送する処理との組から構成される、一連のデータ転送手順である。複数のデータを一括して送信し、これに対して1つの受信確認応答が返送される場合にも、1ラウンドとして計数される。
As shown in FIG. 4 to be described later, the round is a process of transmitting transmission data (DT) from the
送達確認処理部14は、記憶部12から再送履歴情報12Bを読み出し、送達確認要否の判定に用いる判定対象値としきい値とを算出する。判定対象値は、最新のデータ再送状況を示す評価値であり、再送履歴情報12Bのうち送達確認要否判定時に近い時点に割り当てられた対象期間に属するデータから算出される。一方、しきい値は、判定対象値を判定するための基準値であり、再送履歴情報12Bのうち対象期間より過去の期間を含む基準期間に属するデータから算出される。この際、対象期間の一部またはすべてを基準期間に含んでもよい。
The delivery
これら対象期間および基準期間は、データ送信手順のラウンド回数を基準として予め設定される。また、判定対象値としきい値は、対象期間や基準期間における再送データ量の平均値、すなわち1ラウンドあたりの平均再送データ量が用いられる。 These target period and reference period are set in advance based on the number of rounds of the data transmission procedure. As the determination target value and the threshold value, an average value of retransmission data amounts in the target period and the reference period, that is, an average retransmission data amount per round is used.
図2の例では、送達確認要否判定時から過去10ラウンド分が対象期間として割り当てられ、対象期間より過去100ラウンド分が基準期間として割り当てられている。これらラウンド数についてあくまでも例であり、この例に限定されるものではない。
図2のように、対象期間や基準期間をラウンド数で規定する場合、判定対象値については、対象期間におけるラウンドごとの再送データ量の平均値、すなわち対象期間における1ラウンドあたりの平均再送データ量を算出して用いればよい。また、しきい値については、基準期間におけるラウンドごとの再送データ量の平均値、すなわち基準期間における1ラウンドあたりの平均再送データ量を算出して用いればよい。また、対象期間や基準期間をラウンド数で規定する場合、送達確認要否判定時に再送バッファ13Bに残っているデータ量を判定対象値として用いてもよい。
In the example of FIG. 2, the past 10 rounds are assigned as the target period from the time of determining whether delivery confirmation is necessary, and the last 100 rounds are assigned as the reference period from the target period. These round numbers are merely examples, and are not limited to this example.
As shown in FIG. 2, when the target period and the reference period are defined by the number of rounds, the determination target value is the average value of the retransmission data amount for each round in the target period, that is, the average retransmission data amount per round in the target period. Can be calculated and used. As for the threshold value, an average value of the retransmission data amount per round in the reference period, that is, an average retransmission data amount per round in the reference period may be calculated and used. When the target period and the reference period are defined by the number of rounds, the amount of data remaining in the
また、対象期間や基準期間として、ラウンド回数ではなく時間長を用いてもよい。この場合には、ラウンド番号に代えて再送時刻を再送履歴情報12Bに記録すればよい。
対象期間や基準期間を時間長で規定する場合、判定対象値については、対象期間における個々の単位時間ごとの再送データ量の平均値、すなわち対象期間における単位時間あたりの平均再送データ量を算して用いればよい。また、しきい値については、基準期間における単位時間ごとの再送データ量の平均値、すなわち基準期間における単位時間あたりの平均再送データ量を算出して用いればよい。
Further, as the target period and the reference period, a time length may be used instead of the number of rounds. In this case, the retransmission time may be recorded in the
When the target period or reference period is specified by the length of time, for the judgment target value, the average value of the amount of retransmission data for each unit time in the target period, that is, the average amount of retransmission data per unit time in the target period is calculated. Can be used. As for the threshold value, an average value of retransmission data amounts per unit time in the reference period, that is, an average retransmission data amount per unit time in the reference period may be calculated and used.
しきい値については、平均再送データ量に代えて、最大再送データ量を用いてもよい。例えば、対象期間や基準期間をラウンド数で規定する場合、基準期間におけるラウンドごとの再送データ量の最大値、すなわち基準期間における1ラウンドあたりの最大再送データ量を算出して用いればよい。また、対象期間や基準期間を時間長で規定する場合、基準期間における単位時間ごとの再送データ量の最大値、すなわち基準期間における単位時間あたりの最大再送データ量を算出し、しきい値として用いればよい。 As for the threshold value, the maximum amount of retransmission data may be used instead of the average amount of retransmission data. For example, when the target period and the reference period are defined by the number of rounds, the maximum value of the retransmission data amount for each round in the reference period, that is, the maximum retransmission data amount per round in the reference period may be calculated and used. When the target period and reference period are specified by time length, the maximum retransmission data amount per unit time in the reference period, that is, the maximum retransmission data amount per unit time in the reference period is calculated and used as a threshold value. That's fine.
また、しきい値としては、送信したデータ量に対する、送達確認せずにデータ再送をしてもよい割合、すなわち許容データ再送率、に基づき算出した固定値を用いてもよい。例えば、再送データ量が、1ラウンドあるいは単位時間に送信する単位データ送信量の80%に満たない場合、データ再送前に送達確認せずにデータ再送を行い、再送データ量が単位データ送信量の80%以上の場合、当該データ通信に対する許容データ再送率は80%と表される。したがって、例えば、1ラウンドごとに10KBずつデータを送信する場合、この1ラウンドごとの単位データ送信量である10KBの80%に相当する8KBを、しきい値とすればよい。 Further, as the threshold value, a fixed value calculated based on a ratio of data retransmission without confirming delivery to the transmitted data amount, that is, an allowable data retransmission rate may be used. For example, when the amount of retransmission data is less than 80% of the unit data transmission amount transmitted in one round or unit time, data retransmission is performed without confirming delivery before data retransmission, and the amount of retransmission data is equal to the unit data transmission amount. In the case of 80% or more, the allowable data retransmission rate for the data communication is represented as 80%. Therefore, for example, when data is transmitted by 10 KB per round, 8 KB corresponding to 80% of 10 KB, which is the unit data transmission amount per round, may be set as the threshold value.
[第1の実施形態の動作]
次に、図3を参照して、本発明の第1の実施形態にかかる送信端末(通信端末)の動作について説明する。図3は、本発明の第1の実施形態にかかる送信端末の送達確認処理を示すフローチャートである。
[Operation of First Embodiment]
Next, the operation of the transmission terminal (communication terminal) according to the first embodiment of the present invention will be described with reference to FIG. FIG. 3 is a flowchart showing a delivery confirmation process of the transmission terminal according to the first embodiment of the present invention.
通信制御部13は、受信端末20との間でデータ通信のために形成されている1つのセッション上に1つのチャネルを形成し、記憶部12の送信データ12Aからその一部のデータ(DT)を順次読み出し、当該チャネルを介して受信端末20へ送信する。また、これに応じて、上記送信データに対する受信確認応答(ACK)を受信端末20から受信し、この内容に応じて、あるいは受信確認応答の破棄に応じてデータ再送する。これらデータ送信処理は、一般的な通信プロトコルに基づき行われる。
The
送達確認処理部14は、通信制御部13においてデータ(DT)を送信するごとに、当該データ送信からの経過時間などに基づいて、送達確認タイミングの到来を確認し、送達確認タイミングの到来に応じて、図3の送達確認処理を実行する。
まず、送達確認処理部14は、記憶部12の再送履歴情報12Bに基づいて、前述した判定対象値を算出し(ステップ100)。この場合、しきい値の更新が必要であれば、このステップで新たなしきい値を算出すればよい。
Each time the
First, the delivery
次に、送達確認処理部14は、判定対象値としきい値とを比較することにより、送達確認の要否を判定する(ステップ101)。ここで、判定対象値がしきい値以下の場合、送達確認不要と判定して(ステップ102:NO)、一連の処理を終了する。
一方、判定対象値がしきい値を上回った場合、送達確認要と判定して(ステップ102:YES)、送達確認処理部14は、上記データ送信で送信したデータ(DT)に関する送達確認要求を、通信処理部11から受信端末20へ送信する(ステップ103)。
Next, the delivery
On the other hand, when the determination target value exceeds the threshold value, it is determined that delivery confirmation is necessary (step 102: YES), and the delivery
この後、受信端末20から通信処理部11を介して、上記送達確認要求に対する送達確認応答を受信する(ステップ104)。
ここで、この送達確認応答により未送達データが通知された場合、通信制御部13は、通信処理部11から受信端末20へ当該未送達データを再送する(ステップ105)。その後、これら通信制御部13は、再送したデータに関する履歴を記憶部12の再送履歴情報12Bへそれぞれ記録し(ステップ106)、一連の処理を終了する。
Thereafter, a delivery confirmation response to the delivery confirmation request is received from the receiving
If undelivered data is notified by this delivery confirmation response, the
次に、図4を参照して、本発明の第1の実施形態にかかる送信端末の動作例について説明する。図4は、本発明の第1の実施形態にかかる送信端末の動作例を示すシーケンス図である。 Next, with reference to FIG. 4, an operation example of the transmission terminal according to the first embodiment of the present invention will be described. FIG. 4 is a sequence diagram illustrating an operation example of the transmission terminal according to the first embodiment of the present invention.
まず、時刻T1において、送信端末10は、シーケンス番号SN1〜SN3のデータ(DT)を一括して送信し、この送信に合わせて、送達確認タイミングを計時するための送達確認タイマを起動する。
続く時刻T2において、上記データに対する受信確認応答(ACK)を受信し、送達確認が不要となったことから送達確認タイマを停止する。この受信確認応答には、受信したデータのうち最もシーケンス番号の大きいSN3が記述されており、送信端末10は、受信端末20において、SN1〜SN3のデータがすべて受信されたことを確認する。
First, at time T1, the
At the subsequent time T2, a receipt confirmation response (ACK) for the data is received, and the delivery confirmation timer is stopped because the delivery confirmation is no longer necessary. This reception confirmation response describes SN3 having the largest sequence number among the received data, and the
この後の時刻T3において、送信端末10は、シーケンス番号SN4〜SN6のデータを一括して送信し、この送信に合わせて、送達確認タイミングを計時するための送達確認タイマを起動する。
ここで、上記データに対する受信確認応答が途中で破棄された場合、その後の時刻T4において、送達確認タイマがタイムアップする。これにより、送達確認タイミングが到来し、送信端末10において、前述した図3の送達確認処理が実行される。
At the subsequent time T3, the
Here, when the reception confirmation response with respect to the said data is abandoned on the way, the delivery confirmation timer expires at the time T4 after that. Thereby, the delivery confirmation timing arrives, and the transmission confirmation process of FIG.
ここで、送達確認要と判定した場合、送信端末10は、時刻T5に、受信端末20に対して送達確認要求を送信し、これに応じた受信端末20からの送達確認応答を時刻T6に受信する。
この送達確認応答には、受信したデータのうち最もシーケンス番号の大きいSN5が記述されており、送信端末10は、受信端末20において、上記データのうちSN6のデータを受信していないことを確認する。
If it is determined that delivery confirmation is required, the
This delivery confirmation response describes SN5 having the largest sequence number among the received data, and the
送信端末10は、これに応じて、時刻T7に、シーケンス番号SN6のデータを受信端末20へ再送するとともに、送達確認タイマを起動する。続く時刻T8において、上記データに対する受信確認応答を受信し、送達確認タイマを停止する。送信端末10は、この受信確認応答により、シーケンス番号SN6のデータの受信を確認する。
一方、送達確認処理において、送達確認不要と判定した場合、送信端末10は、例えば時刻T3からの経過時間に応じて、シーケンス番号SN4〜SN6のデータを一括して再送する。これ以降、前述した処理を繰り返し実行することになる。
In response to this, the
On the other hand, in the delivery confirmation process, when it is determined that the delivery confirmation is unnecessary, the
[第1の実施形態の効果]
このように、本実施形態によれば、送信端末10から受信端末20に対して送達確認要求を行う際、データ再送に関する再送履歴情報12Bに基づいて送達確認の要否を判定する。
このため、データ再送時に合わせて送達確認が必ず行われる、ということがなくなるため、これら送達確認手順によるオーバーヘッドを抑制でき、ネットワークおよび送受信端末での負荷増大を抑制しつつ、送信データの送達確認を行うことができる。
[Effect of the first embodiment]
As described above, according to the present embodiment, when a transmission confirmation request is made from the
For this reason, delivery confirmation is not necessarily performed at the time of data retransmission, so overhead due to these delivery confirmation procedures can be suppressed, and transmission confirmation of transmission data can be performed while suppressing an increase in load on the network and transmitting / receiving terminals. It can be carried out.
また、本実施形態では、任意の対象期間におけるデータ再送量に関する統計量を履歴情報から判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に送達確認要求を行うようにしている。これにより、データ再送量が増加傾向あり、データ通信状況の悪化が推定される場合にのみ送達確認要求が行われることになる。このため、増大しているデータ再送量を、この送達確認により削減することが可能となり、データ通信状況のさらなる悪化を抑制できるとともに、データ通信状況の早期改善を導くことも可能となる。 Further, in the present embodiment, a statistic regarding the data retransmission amount in an arbitrary target period is calculated as a determination target value from the history information, and a delivery confirmation request is made when the determination target value exceeds a predetermined threshold value. I have to. As a result, the delivery confirmation request is made only when the amount of data retransmission tends to increase and the deterioration of the data communication status is estimated. For this reason, the increasing amount of data retransmission can be reduced by this delivery confirmation, further deterioration of the data communication status can be suppressed, and early improvement of the data communication status can be led.
また、本実施形態では、対象期間における、送信端末と受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる1ラウンド動作あたりのデータ再送量を、判定対象値として算出するようにしたので、ラウンドに応じたデータ再送状況の変化を詳細に確認することができ、送達確認の要否をより正確に判定することが可能となる。
また、本実施形態では、対象期間における単位時間あたりの平均データ再送量を、判定対象値として算出するようにしたので、通信時刻に応じたデータ再送状況の変化を詳細に確認することができ、送達確認の要否をより正確に判定することが可能となる。
In the present embodiment, the amount of data retransmission per round operation consisting of a set of data transmission performed between the transmission terminal and the reception terminal and a reception confirmation notification corresponding thereto in the target period is determined as a determination target value. Therefore, it is possible to confirm in detail the change in the data retransmission status according to the round, and to more accurately determine whether or not delivery confirmation is necessary.
In the present embodiment, since the average data retransmission amount per unit time in the target period is calculated as the determination target value, it is possible to confirm in detail the change in the data retransmission status according to the communication time, It becomes possible to determine the necessity of delivery confirmation more accurately.
また、本実施形態では、対象期間より過去の期間を含む基準期間におけるデータ再送量に関する統計量を、履歴情報からしきい値として算出するようにしたので、データ再送状況の変化を詳細に確認することができ、送達確認の要否をより正確に判定することが可能となる。
また、本実施形態では、基準期間のうちの任意の単位時間で発生した最大データ再送量を、しきい値として算出してもよく、極めて簡単な処理でしきい値を算出することが可能となる。
In the present embodiment, the statistics regarding the data retransmission amount in the reference period including the period past the target period are calculated as threshold values from the history information, so that the change in the data retransmission status is confirmed in detail. This makes it possible to more accurately determine whether or not delivery confirmation is necessary.
In the present embodiment, the maximum data retransmission amount generated in any unit time in the reference period may be calculated as a threshold value, and the threshold value can be calculated with extremely simple processing. Become.
[第2の実施形態]
次に、図5を参照して、本発明の第2の実施形態にかかる送信端末(通信端末)について説明する。図5は、本発明の第2の実施形態にかかる送信端末の構成を示すブロック図である。
本実施形態では、送信端末10の通信処理部11、通信制御部13、および送達確認処理部14の具体的構成について説明する。
[Second Embodiment]
Next, a transmission terminal (communication terminal) according to the second embodiment of the present invention will be described with reference to FIG. FIG. 5 is a block diagram showing a configuration of a transmission terminal according to the second embodiment of the present invention.
In the present embodiment, specific configurations of the
通信処理部11には、主な機能部として、通信インターフェース部(以下、通信I/F部という)11A、データ送信部11B、データ受信部11Cが設けられている。
通信I/F部11Aは、データ送信部11Bから出力された各種データを通信ネットワーク30側へ送信する機能と、通信ネットワーク30から受信した各種データをデータ受信部11Cへ出力する機能とを有している。
The
The communication I /
データ送信部11Bは、通信制御部13から読み出したデータや送達確認処理部14から出力された送達確認要求などの各種データを通信I/F部11Aから送信する機能を有している。
データ受信部11Cは、通信I/F部11Aを介して受信した、受信端末20からの受信確認応答や送達確認応答などの各種データを通信制御部13や送達確認処理部14へ出力する機能を有している。
The
The
通信制御部13には、主な機能部として、データ入出力部13A、送信バッファ13B、再送バッファ13C、再送制御部13D、および確認応答処理部13Eが設けられている。
データ入出力部13Aは、データ送信時に、記憶部12の送信データ12Aから送信すべきデータを読み出して送信バッファ13Bへ格納する機能を有している。
The
The data input /
再送制御部13Dは、データ送信からの経過時間を再送タイマで計時して再送タイミングを監視し、再送タイミングの到来に応じて再送バッファに保存されているデータの再送をデータ送信部11Bへ指示する機能と、受信端末20から受信確認応答や送達確認応答で確認した未受信データの再送をデータ送信部11Bへ指示する機能と、これらデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録する機能とを有している。
確認応答処理部13Eは、データ送信後に受信端末20から返送される受信確認応答を受信して、受信確認されたデータを再送バッファ13Cから削除する機能を有している。
The
The confirmation
送達確認処理部14には、主な機能部として、送達確認部14Aとしきい値決定部14Bが設けられている。
送達確認部14Aは、データ送信からの経過時間を再送タイマで計時して送達確認タイミングの到来を監視し、送達確認タイミングの到来に応じて送達確認要求の送信をデータ送信部11Bへ指示する機能を有している。
しきい値決定部14Bは、再送制御部13Dでのデータ再送に応じて、記憶部12の再送履歴情報12Bに基づきしきい値を算出する機能を有している。
The delivery
The
The threshold
[第2の実施形態の動作]
次に、図6〜図10を参照して、本発明の第2の実施形態にかかる送信端末(通信端末)の動作について説明する。図6は、本発明の第2の実施形態にかかる送信端末のデータ送信動作を示すシーケンス図である。図7は、本発明の第2の実施形態にかかる送信端末の確認応答処理動作を示すシーケンス図である。図8は、本発明の第2の実施形態にかかる送信端末の送達確認送信動作を示すシーケンス図である。図9は、本発明の第2の実施形態にかかる送信端末のデータ再送動作を示すシーケンス図である。
[Operation of Second Embodiment]
Next, with reference to FIGS. 6-10, operation | movement of the transmission terminal (communication terminal) concerning the 2nd Embodiment of this invention is demonstrated. FIG. 6 is a sequence diagram showing a data transmission operation of the transmission terminal according to the second embodiment of the present invention. FIG. 7 is a sequence diagram showing the confirmation response processing operation of the transmitting terminal according to the second embodiment of the present invention. FIG. 8 is a sequence diagram showing a delivery confirmation transmission operation of the transmission terminal according to the second embodiment of the present invention. FIG. 9 is a sequence diagram showing a data retransmission operation of the transmission terminal according to the second embodiment of the present invention.
まず、図6を参照して、送信端末10でのデータ送信動作について説明する。
送信バッファ13Bが空になったことなどを条件として、データ入出力部13Aにより送信すべきデータ(DT)が送信バッファ13Bに格納された場合、データ送信部11Bは、送信バッファ13Bからデータを読み込み(ステップ200)、通信I/F部11Aから受信端末20へデータを送信する(ステップ201)。
First, the data transmission operation at the
When data (DT) to be transmitted is stored in the
その後、データ送信部11Bは、再送制御部13Dおよび送達確認部14Aへ、上記データ送信に関する送信状況を通知する(ステップ202)。また、データ送信部11Bは、上記データ送信で送信した送信バッファ13B内のデータを再送バッファ13Cへ格納し(ステップ203)、送信バッファ13B内のデータを削除する。
再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ205)。また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ206)。
このようにして、一連のデータ送信動作が終了する。
Thereafter, the
The
In this way, a series of data transmission operations is completed.
次に、図7を参照して、送信端末10での受信確認処理について説明する。
データ受信部11Cは、通信I/F部11Aを介して受信端末20からの受信確認応答(ACK)を受信した場合(ステップ300)、この受信確認応答に関する受信状況を確認応答処理部13E、再送制御部13D、および送達確認部14Aへ通知する(ステップ301)。
確認応答処理部13Eは、データ受信部11Cからの受信状況通知に応じて、再送バッファ13C内のデータから受信確認されたデータを削除する(ステップ302)。また再送制御部13Dは、データ受信部11Cからの受信状況通知に応じて、再送タイマを停止する(ステップ303)。また、送達確認部14Aは、データ受信部11Cからの受信状況通知に応じて、送達確認タイマを停止する(ステップ304)。
Next, with reference to FIG. 7, the reception confirmation process at the
When the
In response to the reception status notification from the
再送制御部13Dは、再送タイマ停止後、再送バッファ13Cを確認し(ステップ310)、未送達データが残っている場合には(ステップ311)、この未送達データの再送をデータ送信部11Bへ指示する(ステップ312)。
データ送信部11Bは、再送制御部13Dからの再送指示に応じて、再送バッファ13Cからデータを読み込み(ステップ320)、通信I/F部11Aから受信端末20へデータを再送する(ステップ321)。そして、このデータ再送に関する送信状況を再送制御部13Dと送達確認部14Aに通知する(ステップ322)。
The
The
再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ323)。また、このデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録し(ステップ324)、しきい値決定部14Bに対してしきい値更新を指示する(ステップ325)。これに応じて、しきい値決定部14Bは、再送履歴情報12Bを読み出して新たなしきい値を算出する(ステップ326)。
また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ327)。
このようにして、一連の受信確認動作が終了する。
The
Also, the
In this way, a series of reception confirmation operations are completed.
次に、図8を参照して、送信端末10での送達確認送信動作について説明する。
送達確認部14Aは、送達確認タイマがタイムアップした場合(ステップ400)、記憶部12から再送履歴情報12Bを読み込んで(ステップ401)、判定対象値を算出する(ステップ402)。この後、しきい値決定部14Bからしきい値を取得し(ステップ403)、判定対象値としきい値とを比較する(ステップ404)。
ここで、判定対象値がしきい値を上回っている場合(ステップ405)、送達確認部14Aは、送達確認要求の送信を、データ送信部11Bへ指示する(ステップ406)。
Next, the delivery confirmation transmission operation at the
When the delivery confirmation timer expires (step 400), the
Here, when the determination target value exceeds the threshold value (step 405), the
データ送信部11Bは、送達確認部14Aからの送達確認要求送信指示に応じて、再送バッファ13C内のデータを確認し(ステップ407)、このデータに関する送達確認要求を通信I/F部11Aから受信端末20へ送信する(ステップ408)。そして、この送達確認要求の送信に関する送信状況を送達確認部14Aに通知する(ステップ409)。
送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ410)。
このようにして、一連の送達確認送信動作が終了する。
In response to the delivery confirmation request transmission instruction from the
The
In this way, a series of delivery confirmation transmission operations are completed.
送達確認要求の具体例としては、再送バッファ13C内のデータのうち最も大きいシーケンス番号のデータを再送してもよい。これにより、受信端末20では通常のデータ受信時と同じ処理で、自端末での受信状況を確認し、受信確認応答により送信端末10へ通知することになる。また、送信端末10では、受信端末20からの受信確認応答に応じて、通常のデータ送信時と同じ処理動作、例えば前述した図7の確認応答処理動作で対応することができる。したがって、受信端末20において、新たな処理を追加することなく、送達確認要求に対応することが可能となる。また送信端末10において、新たな処理を別途設けることなく送達確認応答に対応することが可能となる。
As a specific example of the delivery confirmation request, the data having the largest sequence number among the data in the
また、送達確認要求および送達確認応答として特別なメッセージを用いる場合には、受信端末20において、当該メッセージを解析する処理必要となるが、解析処理以降の送達確認応答処理としては、データ受信時の受信確認応答処理と同様であり、この処理を利用すれば、処理の追加変更分を削減することも可能である。また、送信端末10では、受信端末20からの送達確認応答を解析する処理が必要となるが、解析処理以降の送達確認応答処理としては、例えば前述した図7の確認応答処理動作で対応することができ、この処理を利用すれば、処理の追加変更分を削減することも可能である。
Further, when a special message is used as the delivery confirmation request and the delivery confirmation response, the receiving
次に、図9を参照して、送信端末10でのデータ再送動作について説明する。
再送制御部13Dは、再送タイマがタイムアップした場合(ステップ500)、再送バッファ13Cに残っている未送達データの再送をデータ送信部11Bへ指示する(ステップ501)。
データ送信部11Bは、再送制御部13Dからの再送指示に応じて、再送バッファ13Cからデータを読み込み(ステップ510)、通信I/F部11Aから受信端末20へデータを再送する(ステップ511)。そして、このデータ再送に関する送信状況を再送制御部13Dと送達確認部14Aに通知する(ステップ512)。
Next, with reference to FIG. 9, the data retransmission operation at the
When the retransmission timer expires (step 500), the
In response to the retransmission instruction from the
再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ513)。また、このデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録し(ステップ514)、しきい値決定部14Bに対してしきい値更新を指示する(ステップ515)。これに応じて、しきい値決定部14Bは、再送履歴情報12Bを読み出して新たなしきい値を算出する(ステップ516)。
また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ517)。
このようにして、一連の受信確認動作が終了する。
The
In addition, the
In this way, a series of reception confirmation operations are completed.
[第3の実施形態]
次に、図10を参照して、本発明の第3の実施形態にかかるデータ通信システムについて説明する。図10は、本発明の第3の実施形態にかかるデータ通信システムを示すブロック図である。
[Third Embodiment]
Next, a data communication system according to the third embodiment of the present invention will be described with reference to FIG. FIG. 10 is a block diagram showing a data communication system according to the third embodiment of the present invention.
第1の実施形態では、送信端末10と受信端末20との間で1つのセッション上に1つのチャネルを形成してデータ通信を行う場合を例として説明した。本実施形態では、送信端末10と受信端末20との間で1つのセッションを形成するとともに、このセッション上に複数のチャネルを形成し、これらチャネルを並列的に用いてデータ通信を行う場合について説明する。
In the first embodiment, the case where data communication is performed by forming one channel on one session between the
本実施形態にかかる送信端末10には、主な機能部として、通信処理部11、記憶部12、複数の通信制御部13、および送達確認処理部14が設けられている。
通信処理部11は、専用の通信回路から構成され、通信ネットワーク30を介して受信端末20の間でデータを送受信する機能を有している。
記憶部12は、ハードディスクやメモリなどの記憶装置から構成され、送信データ12Aや再送履歴情報12Bなど、受信端末20とのデータ通信に関する各種情報を記憶する機能を有している。
The
The
The
通信制御部13は、UDPやTCPなどの通信プロトコルに基づいて、通信処理部11を介して受信端末20との間でデータ通信用のチャネルを形成する機能と、このチャネルを介してデータを送受信する機能と、通信エラー発生時にはデータを再送する機能と、データ再送に関する再送履歴情報12Bを記録する機能とを有している。
送達確認処理部14は、通信制御部13においてデータを再送する前に、記憶部12の再送履歴情報12Bに基づいて送達確認の要否を判定する機能と、送達確認が必要と判定した場合に通信処理部11を介して受信端末20へ送達確認要求を送信する機能とを有している。
The
The delivery
通信制御部13および送達確認処理部14は、CPUとその周辺回路とを有する演算処理部からなり、記憶部12に予め格納されているプログラムを読み込んで演算処理部で実行することにより、上記した各種機能が実現される。
The
本実施形態では、通信制御部13が、受信端末20との間で形成したチャネルごとに並列して設けられており、これら通信制御部13は、対応する1つのチャネルを用いたデータ通信についての通信制御を行う。
また、送達確認処理部14は、各チャネルに共通して1つ設けられており、各チャネルのデータ送信状況に応じて、受信端末20へ送達確認を行う。
In this embodiment, the
Moreover, the delivery
次に、図11を参照して、再送履歴情報12Bについて説明する。図11は、再送履歴情報の他の構成例である。
再送履歴情報12Bは、データ再送に関する履歴情報であり、受信端末20とのデータ通信におけるデータ再送処理ごとに、各通信制御部13により記録される。ここでは、データ再送処理を行ったラウンド番号がデータ再送処理ごとに記録され、再送履歴情報12Bとして記憶部12に保存されている。この際、再送履歴情報12Bには、各通信制御部13から、チャネルの区別なく共通して再送履歴が記録される。
Next, the
The
送達確認処理部14は、記憶部12から再送履歴情報12Bを読み出し、送達確認要否の判定に用いる判定対象値としきい値とを算出する。判定対象値は、最新のデータ再送状況を示す評価値であり、再送履歴情報12Bのうち送達確認要否判定時に近い時点に割り当てられた対象期間に属するデータから算出される。一方、しきい値は、判定対象値を判定するための基準値であり、再送履歴情報12Bのうち対象期間より過去の期間を含む基準期間に属するデータから算出される。この際、対象期間の一部またはすべてを基準期間に含んでもよい。
The delivery
これら対象期間および基準期間は、データ送信手順のラウンド回数を基準として予め設定される。また、判定対象値としきい値は、対象期間や基準期間における再送チャネル数の平均値、すなわち1ラウンドあたりの再送チャネル数が用いられる。
この際、再送チャネル数については、対象期間および基準期間にデータ再送が発生したチャネル数をすべて計数してもよいが、例えば数ラウンド分の平均再送データ量が所定値を越えるチャネル数を計数してもよく、これにより突発的なデータ再送を除外することが可能となり、より安定した送達確認要否判定を実現できる。また、再送チャネル数の計数対象としては、送達確認要否判定時に接続されているチャネルのみとしてもよく、これにより現在の通信状況に即した再送チャネル数を得ることが可能となり、より正確な送達確認要否判定を実現できる。
These target period and reference period are set in advance based on the number of rounds of the data transmission procedure. For the determination target value and the threshold value, the average value of the number of retransmission channels in the target period or the reference period, that is, the number of retransmission channels per round is used.
At this time, regarding the number of retransmission channels, the number of channels in which data retransmission occurred in the target period and the reference period may be counted, but for example, the number of channels whose average retransmission data amount for several rounds exceeds a predetermined value is counted. As a result, it is possible to exclude sudden data retransmission, and more stable delivery confirmation necessity determination can be realized. In addition, the number of retransmission channels may be counted only for the channels that are connected at the time of determining whether or not delivery confirmation is necessary. This makes it possible to obtain the number of retransmission channels according to the current communication status, and more accurate delivery. Confirmation necessity determination can be realized.
図2の例では、送達確認要否判定時から過去10ラウンド分が対象期間として割り当てられ、対象期間より過去100ラウンド分が基準期間として割り当てられている。したがって、判定対象値は、送達確認要否判定時から過去10ラウンド分の再送チャネル数の平均値から算出され、しきい値は、対象期間より過去100ラウンド分の再送チャネル数の平均値から算出されている。これらラウンド数についてあくまでも例であり、この数値に限定されるものではない。 In the example of FIG. 2, the past 10 rounds are assigned as the target period from the time of determining whether delivery confirmation is necessary, and the last 100 rounds are assigned as the reference period from the target period. Therefore, the determination target value is calculated from the average value of the number of retransmission channels for the past 10 rounds from the time of determining whether delivery confirmation is necessary, and the threshold value is calculated from the average value of the number of retransmission channels for the past 100 rounds from the target period. Has been. These round numbers are merely examples, and are not limited to these numbers.
なお、対象期間や基準期間として、ラウンド回数ではなく時間長を用いてもよい。この場合には、ラウンド番号に代えて再送時刻を再送履歴情報12Bに記録すればよい。これにより、判定対象値およびしきい値として、単位時間あたりの再送チャネル数を用いることになる。
また、判定対象値やしきい値については、平均再送チャネル数ではなく、対象期間や基準期間における最大再送チャネル数を用いてもよい。また、しきい値については、固定値を用いてもよい。
Note that, as the target period and the reference period, a time length may be used instead of the number of rounds. In this case, the retransmission time may be recorded in the
For the determination target value and threshold value, the maximum number of retransmission channels in the target period or reference period may be used instead of the average number of retransmission channels. A fixed value may be used for the threshold value.
また、達確認要求や送達確認応答をやり取りするチャネルとしては、データ送信に用いているいずれかのチャネルを利用してもよく、データ送信用とは別個に設けた送達確認用のチャネルを利用してもよい。 In addition, as a channel for exchanging an acknowledgment request and a delivery confirmation response, any channel used for data transmission may be used, and a delivery confirmation channel provided separately from data transmission is used. May be.
本実施形態については、前述した送信端末10における、再送履歴情報12Bの構成、および送達確認処理部14での判定対象値およびしきい値の算出方法が異なるものの、その他の構成については、第1の実施形態と同様であり、ここでの詳細な説明は省略する。
In the present embodiment, the configuration of the
[第3の実施形態の動作]
次に、本発明の第3の実施形態にかかる送信端末(通信端末)の動作について説明する。
本実施形態にかかる送信端末の送達確認処理は、前述した図3とほぼ同様である。ここでは、図3を参照して、送信端末10の送達確認処理について説明する。
[Operation of Third Embodiment]
Next, the operation of the transmission terminal (communication terminal) according to the third embodiment of the present invention will be described.
The delivery confirmation process of the transmission terminal according to the present embodiment is almost the same as that in FIG. Here, with reference to FIG. 3, the delivery confirmation process of the
各通信制御部13は、受信端末20との間でデータ通信のために形成されている1つのセッション上に、それぞれ対応するチャネルを形成し、記憶部12の送信データ12Aからその一部のデータ(DT)を順次読み出し、当該チャネルを介して受信端末20へ送信する。
また、各通信制御部13において、上記送信データに対する受信確認応答(ACK)を受信端末20から受信し、この内容に応じて、あるいは受信確認応答の破棄に応じてデータ再送する。これらデータ送信処理は、一般的な通信プロトコルに基づき行われる。
Each
Each
送達確認処理部14は、各通信制御部13においてデータ(DT)を送信するごとに、当該データ送信からの経過時間などに基づいて、送達確認タイミングの到来を確認し、送達確認タイミングの到来に応じて、図3の送達確認処理を実行する。
まず、送達確認処理部14は、記憶部12の再送履歴情報12Bに基づいて、前述した判定対象値を算出し(ステップ100)。この場合、しきい値の更新が必要であれば、このステップで新たなしきい値を算出すればよい。
Each time each
First, the delivery
次に、送達確認処理部14は、判定対象値としきい値とを比較することにより、送達確認の要否を判定する(ステップ101)。ここで、判定対象値がしきい値以下の場合、送達確認不要と判定して(ステップ102:NO)、一連の処理を終了する。
一方、判定対象値がしきい値を上回った場合、送達確認要と判定して(ステップ102:YES)、送達確認処理部14は、上記データ送信で送信したデータ(DT)に関する送達確認要求を、通信処理部11から受信端末20へ送信する(ステップ103)。
Next, the delivery
On the other hand, when the determination target value exceeds the threshold value, it is determined that delivery confirmation is necessary (step 102: YES), and the delivery
この後、受信端末20から通信処理部11を介して、上記送達確認要求に対する送達確認応答を受信する(ステップ104)。
ここで、この送達確認応答により未送達データが通知された場合、これら未送達データに対応する通信制御部13において、通信処理部11から受信端末20へ当該未送達データをそれぞれ再送する(ステップ105)。その後、これら通信制御部13は、再送したデータに関する履歴を記憶部12の再送履歴情報12Bへそれぞれ記録し(ステップ106)、一連の処理を終了する。
Thereafter, a delivery confirmation response to the delivery confirmation request is received from the receiving
Here, when undelivered data is notified by this delivery confirmation response, the
[第3の実施形態の効果]
このように、本実施形態では、任意の対象期間において各チャネルのうちデータ再送が発生した再送チャネル数を、履歴情報から判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に送達確認を送信するようにしたので、送信端末と受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行う場合でも、個々のチャネルでのデータ再送状況を総合的に判断して、送達確認の要否を判定することが可能となる。
[Effect of the third embodiment]
As described above, in this embodiment, the number of retransmission channels in which data retransmission has occurred in each channel in an arbitrary target period is calculated from the history information as a determination target value, and this determination target value exceeds a predetermined threshold value. When the data transmission is performed using multiple channels connected between the transmitting terminal and the receiving terminal in parallel, the data retransmission status in each channel is comprehensively Therefore, it is possible to determine whether or not delivery confirmation is necessary.
また、本実施形態では、対象期間における単位時間あたりの平均再送チャネル数を、判定対象値として算出するようにしたので、各チャネルにおける通信時刻に応じたデータ再送状況の変化を詳細かつ総合的に確認することができ、送達確認の要否をより正確に判定することが可能となる。
また、本実施形態では、基準期間のうちの任意の単位時間で発生した最大再送チャネル数を、しきい値として算出してもよく、極めて簡単な処理でしきい値を算出することが可能となる。
In this embodiment, since the average number of retransmission channels per unit time in the target period is calculated as the determination target value, the change in data retransmission status according to the communication time in each channel is detailed and comprehensive. It is possible to confirm, and it is possible to more accurately determine whether or not delivery confirmation is necessary.
In the present embodiment, the maximum number of retransmission channels generated in any unit time in the reference period may be calculated as a threshold, and the threshold can be calculated with extremely simple processing. Become.
また、本実施形態において、各チャネルでのデータ再送ごとに、その再送データ量を再送履歴情報12Bに記録しておき、全チャネル分に関する対象期間における単位時間あたりの平均再送データ量を、判定対象値として算出してもよく、各チャネルにおけるデータ再送状況の変化を詳細かつ総合的に確認することができ、送達確認の要否をより正確に判定することが可能となる。
In this embodiment, for each data retransmission in each channel, the retransmission data amount is recorded in the
[実施形態の拡張]
以上の各実施形態については、TCPだけでなくUDPなど、他の通信プロトコルについても適用可能である。特に、UDPなどのように、受信確認応答機能が標準仕様として規定されていない通信プロトコルについては、例えばTCP相当の受信確認応答機能を追加すればよい。
また、各実施形態については、受信確認応答として、受信端末で先頭から連続して受信確認できているデータの最後のデータを示すシーケンス番号を返答する場合(ACK)を例として説明したが、受信端末で受信確認できたデータのうち受信できたシーケンス番号を返答する場合(SACK)を用いる場合にも、前述と同様にして適用可能である。
[Extended embodiment]
The above embodiments can be applied not only to TCP but also to other communication protocols such as UDP. In particular, for a communication protocol in which the reception confirmation response function is not stipulated as a standard specification such as UDP, a reception confirmation response function equivalent to TCP may be added, for example.
In each of the embodiments, the case where the sequence number indicating the last data of the data that has been continuously confirmed from the beginning by the receiving terminal as a reception confirmation response (ACK) has been described as an example. The present invention can also be applied in the same manner as described above when using a sequence number that can be received (SACK) among data that has been confirmed to be received by the terminal.
また、各実施形態では、データ送信から所定時間経過時点に送達確認要否を判定する場合を例として説明したが、これに限定されるものではない。例えば、送達確認要否の判定処理をデータ送信動作とは同期させずに、送達確認処理部14で計時した所定周期で、送達確認要否を判定してもよい。また、通信制御部13における再送タイマがタイムアップした時点で、送達確認処理部14により送達確認要否を判定し、送達確認要の場合には、受信端末20との間で送達確認を行った後、必要に応じて、通信制御部13によりデータ再送を行い、送達確認不要の場合は、通信制御部13により直ちにデータ再送を行うようにしてもよい。
Moreover, although each embodiment demonstrated as an example the case where a delivery confirmation necessity is determined at the time of predetermined time progress from data transmission, it is not limited to this. For example, the necessity of delivery confirmation may be determined in a predetermined cycle timed by the delivery
また、各実施形態では、送信端末10と受信端末20との間のデータ通信に用いているセッションおよびチャネルでのデータ再送状況に応じて送達確認の要否を判定する場合について説明したが、送信端末10と受信端末20との間で異なるセッションが形成されている場合には、このような異なるセッションでのデータ再送状況に応じて送達確認の要否を判定してもよい。
In each embodiment, the case where the necessity of delivery confirmation is determined according to the data retransmission status in the session and channel used for data communication between the
また、各実施形態では、判定対象値として、平均再送データ量や平均再送チャネル数を用いた場合を例として説明したが、これに限定されるものではなく、データ再送状況を示す他の指標を判定対象値として用いてもよい。例えば、送信端末10から受信端末20に対して送信した送信データ量に対する再送データ量の割合、すなわち送信データのロス率を判定対象値として用いてもよい。
In each embodiment, the case where the average retransmission data amount or the average number of retransmission channels is used as the determination target value has been described as an example. However, the present invention is not limited to this, and other indicators indicating the data retransmission status are used. It may be used as a determination target value. For example, the ratio of the retransmission data amount to the transmission data amount transmitted from the
10…送信端末(通信端末)、11…通信処理部、11A…通信I/F部、11B…データ送信部、11C…データ受信部、12…記憶部、12A…送信データ、12B…再送履歴情報、13…通信制御部、13A…データ入出力部、13B…送信バッファ、13C…再送バッファ、13D…再送制御部、13E…確認応答処理部、14…送達確認処理部、14A…送達確認部、14B…しきい値決定部、20…受信端末、30…通信ネットワーク。
DESCRIPTION OF
Claims (24)
前記送達確認要求を行う際、前記受信端末に対するデータ再送に関する履歴情報に基づいて送達確認の要否を判定することを特徴とする通信端末。 A communication terminal that performs a data delivery confirmation request to the receiving terminal before retransmitting the data to the receiving terminal during data communication with the receiving terminal;
A communication terminal that determines whether or not a delivery confirmation is necessary based on history information regarding data retransmission to the receiving terminal when the delivery confirmation request is made.
任意の対象期間におけるデータ再送量に関する統計量を前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認要求を行うことを特徴とする通信端末。 The communication terminal according to claim 1,
A statistic regarding a data retransmission amount in an arbitrary target period is calculated as the determination target value from the history information, and the delivery confirmation request is performed when the determination target value exceeds a predetermined threshold value. Communication terminal.
前記対象期間における、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる1ラウンド動作あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信端末。 The communication terminal according to claim 2,
A data retransmission amount per round operation consisting of a set of data transmission performed between the transmission terminal and the reception terminal and a reception confirmation notification corresponding thereto in the target period is calculated as the determination target value. A communication terminal characterized by that.
前記対象期間における、単位時間あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信端末。 The communication terminal according to claim 2,
A communication terminal that calculates a data retransmission amount per unit time in the target period as the determination target value.
前記対象期間より過去の期間を含む基準期間におけるデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。 The communication terminal according to claim 2,
A communication terminal characterized in that a statistic relating to a data retransmission amount in a reference period including a period before the target period is calculated as the threshold value from the history information.
前記基準期間のうちの任意の単位時間で発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信端末。 The communication terminal according to claim 5,
A communication terminal characterized in that a maximum data retransmission amount generated in an arbitrary unit time in the reference period is calculated as the threshold value.
前記基準期間のうちの、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる、任意の1ラウンド動作あたりに発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信端末。 The communication terminal according to claim 5,
Of the reference period, the maximum data retransmission amount generated per arbitrary round operation, which consists of a set of data transmission performed between the transmitting terminal and the receiving terminal and a reception confirmation notification corresponding thereto. The communication terminal is calculated as the threshold value.
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間においてこれらチャネルのうちデータ再送が発生した再送チャネル数を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を行うことを特徴とする通信端末。 The communication terminal according to claim 1,
When data communication is performed using a plurality of channels connected to the receiving terminal in parallel, the number of retransmission channels in which data retransmission has occurred among these channels in an arbitrary target period is calculated from the history information. A communication terminal that is calculated as a determination target value and performs the delivery confirmation when the determination target value exceeds a predetermined threshold value.
前記対象期間より過去の期間を含む基準期間における再送チャネル数を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。 The communication terminal according to claim 8,
A communication terminal characterized in that the number of retransmission channels in a reference period including a period before the target period is calculated as the threshold value from the history information.
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間におけるこれらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を送信することを特徴とする通信端末。 The communication terminal according to claim 1,
When data communication is performed using a plurality of channels connected to the receiving terminal in parallel, a statistic regarding the amount of data retransmission on these channels in an arbitrary target period is determined from the history information as the determination target. A communication terminal that is calculated as a value and transmits the delivery confirmation when the determination target value exceeds a predetermined threshold value.
前記対象期間より過去の期間を含む基準期間における、これらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。 The communication terminal according to claim 10,
A communication terminal that calculates, as the threshold value, from the history information, a statistic regarding a data retransmission amount in these channels in a reference period including a period before the target period.
前記送信端末が、前記送達確認要求を行う際、前記受信端末に対するデータ再送に関する履歴情報に基づいて送達確認の要否を判定することを特徴とする通信方法。 A communication method for performing data delivery confirmation from a transmission terminal to a reception terminal before retransmitting data from the transmission terminal to the reception terminal during data communication between the transmission terminal and the reception terminal,
When the transmission terminal makes the delivery confirmation request, the communication method determines whether or not delivery confirmation is necessary based on history information regarding data retransmission to the reception terminal.
前記送信端末が、任意の対象期間におけるデータ再送量に関する統計量を前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認要求を行うことを特徴とする通信方法。 The communication method according to claim 12,
The transmission terminal calculates a statistic regarding the data retransmission amount in an arbitrary target period as the determination target value from the history information, and makes the delivery confirmation request when the determination target value exceeds a predetermined threshold value A communication method characterized by the above.
前記送信端末が、前記対象期間における、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる1ラウンド動作あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信方法。 The communication method according to claim 13,
The transmission terminal determines the data retransmission amount per round operation consisting of a set of data transmission performed between the transmission terminal and the reception terminal and a reception confirmation notification corresponding thereto in the target period. A communication method characterized by calculating as a target value.
前記送信端末が、前記対象期間における、単位時間あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信方法。 The communication method according to claim 13,
The communication method, wherein the transmitting terminal calculates a data retransmission amount per unit time in the target period as the determination target value.
前記送信端末が、前記対象期間より過去の期間を含む基準期間におけるデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。 The communication method according to claim 12,
The communication method, wherein the transmitting terminal calculates a statistical amount related to a data retransmission amount in a reference period including a period past the target period as the threshold value from the history information.
前記送信端末が、前記基準期間のうちの任意の単位時間で発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信方法。 The communication method according to claim 16, wherein
The communication method, wherein the transmitting terminal calculates a maximum data retransmission amount generated in an arbitrary unit time in the reference period as the threshold value.
前記送信端末が、前記基準期間のうちの、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる、任意の1ラウンド動作あたりに発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信方法。 The communication method according to claim 16, wherein
The transmission terminal occurred per arbitrary round operation consisting of a set of data transmission performed between the transmission terminal and the reception terminal and a reception confirmation notification corresponding thereto in the reference period. A communication method characterized by calculating a maximum data retransmission amount as the threshold value.
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間においてこれらチャネルのうちデータ再送が発生した再送チャネル数を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を行うことを特徴とする通信方法。 The communication method according to claim 12,
When data communication is performed using a plurality of channels connected to the receiving terminal in parallel, the number of retransmission channels in which data retransmission has occurred among these channels in an arbitrary target period is calculated from the history information. A communication method that calculates as a determination target value and performs the delivery confirmation when the determination target value exceeds a predetermined threshold value.
前記送信端末が、前記対象期間より過去の期間を含む基準期間における再送チャネル数を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。 The communication method according to claim 19,
The communication method, wherein the transmitting terminal calculates the number of retransmission channels in a reference period including a period past the target period as the threshold value from the history information.
前記送信端末が、前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間におけるこれらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を送信することを特徴とする通信方法。 The communication method according to claim 12,
When the transmitting terminal performs data communication using a plurality of channels connected to the receiving terminal in parallel, a statistic regarding the amount of data retransmission on these channels in an arbitrary target period A communication method characterized in that it is calculated from the information as the determination target value, and the delivery confirmation is transmitted when the determination target value exceeds a predetermined threshold value.
前記送信端末が、前記対象期間より過去の期間を含む基準期間における、これらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。 The communication method according to claim 21, wherein
The communication method, wherein the transmitting terminal calculates, as the threshold value, from the history information, a statistic regarding the data retransmission amount in these channels in a reference period including a period past the target period.
前記送信端末として、請求項1〜請求項11のいずれか1つに記載のデータ通信端末を備えることを特徴とするデータ通信システム。 A communication system that performs data delivery confirmation from a transmission terminal to a reception terminal before retransmitting data from the transmission terminal to the reception terminal during data communication between the transmission terminal and the reception terminal,
A data communication system comprising the data communication terminal according to any one of claims 1 to 11 as the transmission terminal.
請求項12〜請求項22のいずれか1つに記載の通信方法における送信端末の処理を実行させるためのプログラム。 When retransmitting data in response to a communication error that occurred during data communication with the receiving terminal, the computer of the communication terminal that confirms data delivery to the receiving terminal before the data retransmission,
The program for performing the process of the transmission terminal in the communication method as described in any one of Claims 12-22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008088536A JP2009246533A (en) | 2008-03-28 | 2008-03-28 | Communication terminal, communicating method, data communication system, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008088536A JP2009246533A (en) | 2008-03-28 | 2008-03-28 | Communication terminal, communicating method, data communication system, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009246533A true JP2009246533A (en) | 2009-10-22 |
Family
ID=41307993
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008088536A Pending JP2009246533A (en) | 2008-03-28 | 2008-03-28 | Communication terminal, communicating method, data communication system, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009246533A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011100285A (en) * | 2009-11-05 | 2011-05-19 | Canon Inc | Usb host device, control method, and program |
JP2021090185A (en) * | 2019-12-04 | 2021-06-10 | 奇邑科技股▲ふん▼有限公司 | Data transmission method and communication system |
-
2008
- 2008-03-28 JP JP2008088536A patent/JP2009246533A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011100285A (en) * | 2009-11-05 | 2011-05-19 | Canon Inc | Usb host device, control method, and program |
JP2021090185A (en) * | 2019-12-04 | 2021-06-10 | 奇邑科技股▲ふん▼有限公司 | Data transmission method and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9866351B2 (en) | Communication method and communication apparatus | |
JP4214793B2 (en) | Wireless communication system, server, base station, mobile terminal, and retransmission timeout time determination method used for them | |
JP5816718B2 (en) | Communication apparatus, communication system, and data communication relay method | |
JP4147534B2 (en) | Communication apparatus and communication method | |
JP6023368B1 (en) | Interactive real-time media transfer protocol | |
JP4708978B2 (en) | Communication system, communication terminal, session relay device, and communication protocol realizing high throughput | |
US9037935B2 (en) | Apparatus and method for retransmitting message in message transmission system | |
JP2014524092A (en) | System and method for reliable virtual bidirectional data stream communication with single socket point-to-multipoint performance | |
EP3468132A1 (en) | Method and device for transmitting speech data | |
JPWO2008023656A1 (en) | Communication device | |
JPWO2005027456A1 (en) | Communication system, communication apparatus, and data retransmission control method | |
US9674101B2 (en) | Communication device, transmission data output control method, and program for same | |
JP5170798B2 (en) | Transmission rate control device and transmission rate control method | |
JP5941853B2 (en) | Packet communication method and apparatus | |
JP7327730B2 (en) | Packet processing method and apparatus | |
CN112436924B (en) | Data transmission method and electronic equipment | |
CN109981385B (en) | Method, device and system for realizing packet loss detection | |
CN107634817A (en) | Method and apparatus for data transfer | |
JP2008053888A (en) | Communication equipment, program, information storage medium and communication control method | |
JP2009246533A (en) | Communication terminal, communicating method, data communication system, and program | |
JP2007214755A (en) | Data communication method | |
JP2012014452A (en) | Information processor, information processing program and information processing method | |
JP2009273094A (en) | Data communication system, data communication terminal, data communication method, and program | |
JP2004140596A (en) | Method and system for estimating quality in data transfer on transmission control protocol | |
US11962517B2 (en) | Communications method, apparatus, and system for recovering lost packets |