JP2009246533A - Communication terminal, communicating method, data communication system, and program - Google Patents

Communication terminal, communicating method, data communication system, and program Download PDF

Info

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
Application number
JP2008088536A
Other languages
Japanese (ja)
Inventor
Ichiro Yamaguchi
一郎 山口
Norito Fujita
範人 藤田
Masahiro Jibiki
昌弘 地引
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2008088536A priority Critical patent/JP2009246533A/en
Publication of JP2009246533A publication Critical patent/JP2009246533A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To confirm delivery of transmission data by suppressing a load increase in a network and a transmitting/receiving terminal. <P>SOLUTION: A delivery confirmation processing portion 14 determines necessity of a delivery confirmation based on retransmission history information 12B of a storing portion 12 before retransmission of data by a communication controller 13, and transmits a delivery confirmation request to a receiving terminal 20 through a communication processor 11 when the necessity of the delivery confirmation is determined. <P>COPYRIGHT: (C)2010,JPO&INPIT

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など参照)。これにより、データ再送前に、送信端末から再送しなくてもよいデータを確認でき、冗長な再送を防ぐことができる。
特開2005−173961号公報 RFC793, "TRANSMISSION CONTROL PROTOCOL," http://www.ietf.org/rfc/rfc0793.txt, pp.8-9, "2.6 Reliable Communication." RFC1122, "Requirements for Internet Hosts -- Communication Layers," http://www.ietf.org/rfc/rfc1122.txt, pp.95-96, "4.2.3.2 When to Send an ACK Segment."
As a related technique for this, when the data discard is confirmed and data retransmission is performed, before the data retransmission, a probe packet is transmitted from the transmission terminal to the reception terminal, and in response to a response from the reception terminal, There has been proposed a technique for confirming delivery related to data transmitted from a transmitting terminal to a receiving terminal (see, for example, Patent Document 1). Thereby, it is possible to confirm data that does not need to be retransmitted from the transmission terminal before data retransmission, and to prevent redundant retransmission.
JP 2005-173961 A RFC 793, "TRANSMISSION CONTROL PROTOCOL," http://www.ietf.org/rfc/rfc0793.txt, pp.8-9, "2.6 Reliable Communication." RFC1122, "Requirements for Internet Hosts-Communication Layers," http://www.ietf.org/rfc/rfc1122.txt, pp.95-96, "4.2.3.2 When to Send an ACK Segment."

しかしながら、このような関連技術では、データ再送時には、送信端末と受信端末との間で、必ずプローブパケットとその応答をやり取りして送達確認が行われるため、これら送達確認手順によるオーバーヘッドが大きくなり、通信エラー発生時にもかかわらず、ネットワークおよび送受信端末での負荷が増大するとともに、通信効率が低下するという問題点があった。
本発明はこのような課題を解決するためのものであり、ネットワークおよび送受信端末での負荷増大を抑制しつつ、送信データの送達確認を行うことができる通信端末、通信方法、データ通信システム、およびプログラムを提供することを目的としている。
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 reception terminal 20 connected via a communication network 30.
The transmission terminal 10 and the reception terminal 20 are configured from an information processing apparatus having a data communication function, such as a personal computer, a server, a mobile phone terminal, or a PDA.

送信端末10は、受信端末20とのデータ通信時、受信端末20に対してデータを再送する前に、受信端末20に対してデータの送達確認要求を行う機能を有している。
本実施形態は、送信端末10において、送達確認要求を行う際、データ再送に関する履歴情報に基づいて送達確認の要否を判定するようにしたものである。
The transmitting terminal 10 has a function of making a data delivery confirmation request to the receiving terminal 20 before retransmitting data to the receiving terminal 20 during data communication with the receiving terminal 20.
In the present embodiment, when a transmission confirmation request is made in the transmission terminal 10, it is determined whether or not a delivery confirmation is necessary based on history information regarding data retransmission.

送信端末(通信端末)10には、主な機能部として、通信処理部11、記憶部12、通信制御部13、および送達確認処理部14が設けられており、データバスBを介して相互にデータ通信可能に接続されている。
通信処理部11は、専用の通信回路から構成され、通信ネットワーク30を介して受信端末20の間でデータを送受信する機能を有している。
記憶部12は、ハードディスクやメモリなどの記憶装置から構成され、送信データ12Aや再送履歴情報12Bなど、受信端末20とのデータ通信に関する各種情報を記憶する機能を有している。
The transmission terminal (communication terminal) 10 includes a communication processing unit 11, a storage unit 12, a communication control unit 13, and a delivery confirmation processing unit 14 as main functional units. Connected for data communication.
The communication processing unit 11 includes a dedicated communication circuit, and has a function of transmitting and receiving data between the receiving terminals 20 via the communication network 30.
The storage unit 12 includes a storage device such as a hard disk or a memory, and has a function of storing various information related to data communication with the receiving terminal 20 such as transmission data 12A and retransmission history information 12B.

通信制御部13は、TCPやUDPなどの通信プロトコルに基づいて、通信処理部11を介して受信端末20との間でデータ通信用のチャネルを形成する機能と、このチャネルを介してデータを送受信する機能と、通信エラー発生時にはデータを再送する機能と、データ再送に関する再送履歴情報12Bを記録する機能とを有している。
送達確認処理部14は、通信制御部13においてデータを再送する前に、記憶部12の再送履歴情報12Bに基づいて送達確認の要否を判定する機能と、送達確認が必要と判定した場合に通信処理部11を介して受信端末20へ送達確認要求を送信する機能とを有している。
The communication control unit 13 functions to form a channel for data communication with the receiving terminal 20 via the communication processing unit 11 based on a communication protocol such as TCP or UDP, and transmits / receives data via this channel. A function for retransmitting data when a communication error occurs, and a function for recording retransmission history information 12B regarding data retransmission.
The delivery confirmation processing unit 14 has a function of determining whether or not delivery confirmation is necessary based on the retransmission history information 12B of the storage unit 12 before retransmitting data in the communication control unit 13, and when it is determined that delivery confirmation is necessary. And a function of transmitting a delivery confirmation request to the receiving terminal 20 via the communication processing unit 11.

通信制御部13および送達確認処理部14は、CPUとその周辺回路とを有する演算処理部からなり、記憶部12に予め格納されているプログラムを読み込んで演算処理部で実行することにより、上記した各種機能が実現される。   The communication control unit 13 and the delivery confirmation processing unit 14 include an arithmetic processing unit having a CPU and its peripheral circuits, and read the program stored in advance in the storage unit 12 and execute it in the arithmetic processing unit. Various functions are realized.

次に、図2を参照して、再送履歴情報12Bについて説明する。図2は、再送履歴情報の構成例である。
再送履歴情報12Bは、データ再送に関する履歴情報であり、受信端末20とのデータ通信におけるデータ再送処理ごとに、通信制御部13により記録される。ここでは、データ再送処理を行ったラウンド番号とその再送データ量とが組として、データ再送処理ごとに記録され、再送履歴情報12Bとして記憶部12に保存されている。
Next, the retransmission history information 12B will be described with reference to FIG. FIG. 2 is a configuration example of retransmission history information.
The retransmission history information 12B is history information regarding data retransmission, and is recorded by the communication control unit 13 for each data retransmission process in data communication with the receiving terminal 20. Here, the round number subjected to the data retransmission processing and the amount of retransmission data are recorded as a set for each data retransmission processing and stored in the storage unit 12 as retransmission history information 12B.

ラウンドとは、後述の図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 transmission terminal 10 to the reception terminal 20, and a reception confirmation response (ACK) from the reception terminal 20 to the transmission terminal 10 in response thereto. Is a series of data transfer procedures composed of a pair with the process of returning the data. Even when a plurality of data is transmitted in a batch and one reception confirmation response is returned, the data is counted as one round.

送達確認処理部14は、記憶部12から再送履歴情報12Bを読み出し、送達確認要否の判定に用いる判定対象値としきい値とを算出する。判定対象値は、最新のデータ再送状況を示す評価値であり、再送履歴情報12Bのうち送達確認要否判定時に近い時点に割り当てられた対象期間に属するデータから算出される。一方、しきい値は、判定対象値を判定するための基準値であり、再送履歴情報12Bのうち対象期間より過去の期間を含む基準期間に属するデータから算出される。この際、対象期間の一部またはすべてを基準期間に含んでもよい。   The delivery confirmation processing unit 14 reads the retransmission history information 12B from the storage unit 12, and calculates a determination target value and a threshold value used for determining whether or not delivery confirmation is necessary. The determination target value is an evaluation value indicating the latest data retransmission status, and is calculated from the data belonging to the target period assigned at a time close to the determination of necessity of delivery confirmation in the retransmission history information 12B. On the other hand, the threshold value is a reference value for determining the determination target value, and is calculated from data belonging to a reference period including a period before the target period in the retransmission history information 12B. At this time, part or all of the target period may be included in the reference period.

これら対象期間および基準期間は、データ送信手順のラウンド回数を基準として予め設定される。また、判定対象値としきい値は、対象期間や基準期間における再送データ量の平均値、すなわち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 retransmission buffer 13B when determining whether delivery confirmation is necessary may be used as the determination target value.

また、対象期間や基準期間として、ラウンド回数ではなく時間長を用いてもよい。この場合には、ラウンド番号に代えて再送時刻を再送履歴情報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 retransmission history information 12B instead of the round number.
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 communication control unit 13 forms one channel on one session formed for data communication with the receiving terminal 20, and a part of the data (DT) from the transmission data 12A of the storage unit 12 Are sequentially read out and transmitted to the receiving terminal 20 through the channel. In response to this, a reception confirmation response (ACK) for the transmission data is received from the receiving terminal 20, and data is retransmitted according to this content or when the reception confirmation response is discarded. These data transmission processes are performed based on a general communication protocol.

送達確認処理部14は、通信制御部13においてデータ(DT)を送信するごとに、当該データ送信からの経過時間などに基づいて、送達確認タイミングの到来を確認し、送達確認タイミングの到来に応じて、図3の送達確認処理を実行する。
まず、送達確認処理部14は、記憶部12の再送履歴情報12Bに基づいて、前述した判定対象値を算出し(ステップ100)。この場合、しきい値の更新が必要であれば、このステップで新たなしきい値を算出すればよい。
Each time the communication control unit 13 transmits data (DT) in the communication control unit 13, the delivery confirmation processing unit 14 confirms the arrival of the delivery confirmation timing based on the elapsed time from the data transmission, and responds to the arrival of the delivery confirmation timing. Then, the delivery confirmation process of FIG. 3 is executed.
First, the delivery confirmation processing unit 14 calculates the above-described determination target value based on the retransmission history information 12B in the storage unit 12 (step 100). In this case, if the threshold value needs to be updated, a new threshold value may be calculated in this step.

次に、送達確認処理部14は、判定対象値としきい値とを比較することにより、送達確認の要否を判定する(ステップ101)。ここで、判定対象値がしきい値以下の場合、送達確認不要と判定して(ステップ102:NO)、一連の処理を終了する。
一方、判定対象値がしきい値を上回った場合、送達確認要と判定して(ステップ102:YES)、送達確認処理部14は、上記データ送信で送信したデータ(DT)に関する送達確認要求を、通信処理部11から受信端末20へ送信する(ステップ103)。
Next, the delivery confirmation processing unit 14 determines whether or not delivery confirmation is necessary by comparing the determination target value with a threshold value (step 101). Here, when the determination target value is equal to or smaller than the threshold value, it is determined that the delivery confirmation is unnecessary (step 102: NO), and the series of processes is terminated.
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 confirmation processing unit 14 issues a delivery confirmation request regarding the data (DT) transmitted by the data transmission. Then, the data is transmitted from the communication processing unit 11 to the receiving terminal 20 (step 103).

この後、受信端末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 terminal 20 via the communication processing unit 11 (step 104).
If undelivered data is notified by this delivery confirmation response, the communication control unit 13 retransmits the undelivered data from the communication processing unit 11 to the receiving terminal 20 (step 105). Thereafter, the communication control unit 13 records the history regarding the retransmitted data in the retransmission history information 12B of the storage unit 12 (step 106), and ends the series of processes.

次に、図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 transmission terminal 10 transmits data (DT) of sequence numbers SN1 to SN3 all at once, and starts a delivery confirmation timer for timing the delivery confirmation timing in accordance with this transmission.
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 transmission terminal 10 confirms that all the data of SN1 to SN3 has been received at the reception terminal 20.

この後の時刻T3において、送信端末10は、シーケンス番号SN4〜SN6のデータを一括して送信し、この送信に合わせて、送達確認タイミングを計時するための送達確認タイマを起動する。
ここで、上記データに対する受信確認応答が途中で破棄された場合、その後の時刻T4において、送達確認タイマがタイムアップする。これにより、送達確認タイミングが到来し、送信端末10において、前述した図3の送達確認処理が実行される。
At the subsequent time T3, the transmission terminal 10 transmits the data of the sequence numbers SN4 to SN6 all at once, and starts a delivery confirmation timer for measuring the delivery confirmation timing in accordance with this transmission.
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 transmission terminal 10 transmits a delivery confirmation request to the reception terminal 20 at time T5, and receives a delivery confirmation response from the reception terminal 20 corresponding thereto at time T6. To do.
This delivery confirmation response describes SN5 having the largest sequence number among the received data, and the transmission terminal 10 confirms that the reception terminal 20 has not received the data of SN6 among the above data. .

送信端末10は、これに応じて、時刻T7に、シーケンス番号SN6のデータを受信端末20へ再送するとともに、送達確認タイマを起動する。続く時刻T8において、上記データに対する受信確認応答を受信し、送達確認タイマを停止する。送信端末10は、この受信確認応答により、シーケンス番号SN6のデータの受信を確認する。
一方、送達確認処理において、送達確認不要と判定した場合、送信端末10は、例えば時刻T3からの経過時間に応じて、シーケンス番号SN4〜SN6のデータを一括して再送する。これ以降、前述した処理を繰り返し実行することになる。
In response to this, the transmission terminal 10 retransmits the data of the sequence number SN6 to the reception terminal 20 and activates a delivery confirmation timer at time T7. At subsequent time T8, a reception confirmation response to the data is received, and the delivery confirmation timer is stopped. The transmission terminal 10 confirms reception of the data of the sequence number SN6 by this reception confirmation response.
On the other hand, in the delivery confirmation process, when it is determined that the delivery confirmation is unnecessary, the transmission terminal 10 retransmits the data of the sequence numbers SN4 to SN6 at a time according to the elapsed time from the time T3, for example. Thereafter, the above-described processing is repeatedly executed.

[第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 transmission terminal 10 to the reception terminal 20, the necessity of delivery confirmation is determined based on the retransmission history information 12B regarding data retransmission.
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 communication processing unit 11, the communication control unit 13, and the delivery confirmation processing unit 14 of the transmission terminal 10 will be described.

通信処理部11には、主な機能部として、通信インターフェース部(以下、通信I/F部という)11A、データ送信部11B、データ受信部11Cが設けられている。
通信I/F部11Aは、データ送信部11Bから出力された各種データを通信ネットワーク30側へ送信する機能と、通信ネットワーク30から受信した各種データをデータ受信部11Cへ出力する機能とを有している。
The communication processing unit 11 includes a communication interface unit (hereinafter referred to as a communication I / F unit) 11A, a data transmission unit 11B, and a data reception unit 11C as main functional units.
The communication I / F unit 11A has a function of transmitting various data output from the data transmission unit 11B to the communication network 30 side, and a function of outputting various data received from the communication network 30 to the data reception unit 11C. ing.

データ送信部11Bは、通信制御部13から読み出したデータや送達確認処理部14から出力された送達確認要求などの各種データを通信I/F部11Aから送信する機能を有している。
データ受信部11Cは、通信I/F部11Aを介して受信した、受信端末20からの受信確認応答や送達確認応答などの各種データを通信制御部13や送達確認処理部14へ出力する機能を有している。
The data transmission unit 11B has a function of transmitting various data such as data read from the communication control unit 13 and a delivery confirmation request output from the delivery confirmation processing unit 14 from the communication I / F unit 11A.
The data receiving unit 11C has a function of outputting various data such as a reception confirmation response and a delivery confirmation response from the receiving terminal 20 received via the communication I / F unit 11A to the communication control unit 13 and the delivery confirmation processing unit 14. Have.

通信制御部13には、主な機能部として、データ入出力部13A、送信バッファ13B、再送バッファ13C、再送制御部13D、および確認応答処理部13Eが設けられている。
データ入出力部13Aは、データ送信時に、記憶部12の送信データ12Aから送信すべきデータを読み出して送信バッファ13Bへ格納する機能を有している。
The communication control unit 13 includes a data input / output unit 13A, a transmission buffer 13B, a retransmission buffer 13C, a retransmission control unit 13D, and an acknowledgment processing unit 13E as main functional units.
The data input / output unit 13A has a function of reading data to be transmitted from the transmission data 12A in the storage unit 12 and storing it in the transmission buffer 13B at the time of data transmission.

再送制御部13Dは、データ送信からの経過時間を再送タイマで計時して再送タイミングを監視し、再送タイミングの到来に応じて再送バッファに保存されているデータの再送をデータ送信部11Bへ指示する機能と、受信端末20から受信確認応答や送達確認応答で確認した未受信データの再送をデータ送信部11Bへ指示する機能と、これらデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録する機能とを有している。
確認応答処理部13Eは、データ送信後に受信端末20から返送される受信確認応答を受信して、受信確認されたデータを再送バッファ13Cから削除する機能を有している。
The retransmission control unit 13D measures the elapsed time from the data transmission with the retransmission timer and monitors the retransmission timing, and instructs the data transmission unit 11B to retransmit the data stored in the retransmission buffer when the retransmission timing arrives. The function, the function of instructing the data transmission unit 11B to retransmit the unreceived data confirmed by the reception confirmation response or the delivery confirmation response from the reception terminal 20, and the history regarding the data retransmission are recorded in the retransmission history information 12B of the storage unit 12. It has a function.
The confirmation response processing unit 13E has a function of receiving a reception confirmation response returned from the receiving terminal 20 after data transmission, and deleting the reception confirmed data from the retransmission buffer 13C.

送達確認処理部14には、主な機能部として、送達確認部14Aとしきい値決定部14Bが設けられている。
送達確認部14Aは、データ送信からの経過時間を再送タイマで計時して送達確認タイミングの到来を監視し、送達確認タイミングの到来に応じて送達確認要求の送信をデータ送信部11Bへ指示する機能を有している。
しきい値決定部14Bは、再送制御部13Dでのデータ再送に応じて、記憶部12の再送履歴情報12Bに基づきしきい値を算出する機能を有している。
The delivery confirmation processing unit 14 includes a delivery confirmation unit 14A and a threshold value determination unit 14B as main functional units.
The delivery confirmation unit 14A measures the elapsed time from data transmission with a retransmission timer, monitors the arrival of the delivery confirmation timing, and instructs the data transmission unit 11B to transmit a delivery confirmation request in response to the arrival of the delivery confirmation timing have.
The threshold value determination unit 14B has a function of calculating a threshold value based on the retransmission history information 12B in the storage unit 12 in accordance with the data retransmission in the retransmission control unit 13D.

[第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 transmission terminal 10 will be described with reference to FIG.
When data (DT) to be transmitted is stored in the transmission buffer 13B by the data input / output unit 13A on condition that the transmission buffer 13B is empty, the data transmission unit 11B reads the data from the transmission buffer 13B. (Step 200), data is transmitted from the communication I / F unit 11A to the receiving terminal 20 (Step 201).

その後、データ送信部11Bは、再送制御部13Dおよび送達確認部14Aへ、上記データ送信に関する送信状況を通知する(ステップ202)。また、データ送信部11Bは、上記データ送信で送信した送信バッファ13B内のデータを再送バッファ13Cへ格納し(ステップ203)、送信バッファ13B内のデータを削除する。
再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ205)。また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ206)。
このようにして、一連のデータ送信動作が終了する。
Thereafter, the data transmission unit 11B notifies the retransmission control unit 13D and the delivery confirmation unit 14A of the transmission status related to the data transmission (step 202). Further, the data transmission unit 11B stores the data in the transmission buffer 13B transmitted by the data transmission in the retransmission buffer 13C (step 203), and deletes the data in the transmission buffer 13B.
The retransmission control unit 13D activates a retransmission timer in response to the transmission status notification from the data transmission unit 11B (step 205). Also, the delivery confirmation unit 14A activates a delivery confirmation timer in response to the transmission status notification from the data transmission unit 11B (step 206).
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 transmission terminal 10 will be described.
When the data reception unit 11C receives a reception confirmation response (ACK) from the reception terminal 20 via the communication I / F unit 11A (step 300), the data reception unit 11C confirms the reception status related to the reception confirmation response by the confirmation response processing unit 13E. The control unit 13D and the delivery confirmation unit 14A are notified (step 301).
In response to the reception status notification from the data receiving unit 11C, the confirmation response processing unit 13E deletes the data that has been confirmed to be received from the data in the retransmission buffer 13C (step 302). Further, the retransmission control unit 13D stops the retransmission timer in response to the reception status notification from the data receiving unit 11C (step 303). Further, the delivery confirmation unit 14A stops the delivery confirmation timer in response to the reception status notification from the data reception unit 11C (step 304).

再送制御部13Dは、再送タイマ停止後、再送バッファ13Cを確認し(ステップ310)、未送達データが残っている場合には(ステップ311)、この未送達データの再送をデータ送信部11Bへ指示する(ステップ312)。
データ送信部11Bは、再送制御部13Dからの再送指示に応じて、再送バッファ13Cからデータを読み込み(ステップ320)、通信I/F部11Aから受信端末20へデータを再送する(ステップ321)。そして、このデータ再送に関する送信状況を再送制御部13Dと送達確認部14Aに通知する(ステップ322)。
The retransmission control unit 13D checks the retransmission buffer 13C after stopping the retransmission timer (step 310), and if undelivered data remains (step 311), instructs the data transmission unit 11B to retransmit the undelivered data. (Step 312).
The data transmission unit 11B reads data from the retransmission buffer 13C in response to a retransmission instruction from the retransmission control unit 13D (step 320), and retransmits the data from the communication I / F unit 11A to the receiving terminal 20 (step 321). Then, the transmission status regarding this data retransmission is notified to the retransmission control unit 13D and the delivery confirmation unit 14A (step 322).

再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ323)。また、このデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録し(ステップ324)、しきい値決定部14Bに対してしきい値更新を指示する(ステップ325)。これに応じて、しきい値決定部14Bは、再送履歴情報12Bを読み出して新たなしきい値を算出する(ステップ326)。
また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ327)。
このようにして、一連の受信確認動作が終了する。
The retransmission control unit 13D activates a retransmission timer in response to the transmission status notification from the data transmission unit 11B (step 323). Further, the history regarding this data retransmission is recorded in the retransmission history information 12B of the storage unit 12 (step 324), and the threshold value determination unit 14B is instructed to update the threshold value (step 325). In response, threshold determination unit 14B reads retransmission history information 12B and calculates a new threshold (step 326).
Also, the delivery confirmation unit 14A activates a delivery confirmation timer in response to the transmission status notification from the data transmission unit 11B (step 327).
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 transmission terminal 10 will be described with reference to FIG.
When the delivery confirmation timer expires (step 400), the delivery confirmation unit 14A reads the retransmission history information 12B from the storage unit 12 (step 401), and calculates a determination target value (step 402). Thereafter, the threshold value is acquired from the threshold value determination unit 14B (step 403), and the determination target value is compared with the threshold value (step 404).
Here, when the determination target value exceeds the threshold value (step 405), the delivery confirmation unit 14A instructs the data transmission unit 11B to transmit a delivery confirmation request (step 406).

データ送信部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 delivery confirmation unit 14A, the data transmission unit 11B confirms the data in the retransmission buffer 13C (step 407), and receives the delivery confirmation request regarding this data from the communication I / F unit 11A. It transmits to the terminal 20 (step 408). Then, the delivery confirmation unit 14A is notified of the transmission status regarding the transmission of the delivery confirmation request (step 409).
The delivery confirmation unit 14A activates a delivery confirmation timer in response to the transmission status notification from the data transmission unit 11B (step 410).
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 retransmission buffer 13C may be retransmitted. As a result, the reception terminal 20 confirms the reception status at its own terminal and notifies the transmission terminal 10 by a reception confirmation response in the same process as when receiving normal data. Further, the transmission terminal 10 can cope with the same processing operation as that at the time of normal data transmission, for example, the above-described confirmation response processing operation of FIG. 7 according to the reception confirmation response from the reception terminal 20. Therefore, the receiving terminal 20 can respond to the delivery confirmation request without adding a new process. In addition, the transmission terminal 10 can cope with the delivery confirmation response without separately providing a new process.

また、送達確認要求および送達確認応答として特別なメッセージを用いる場合には、受信端末20において、当該メッセージを解析する処理必要となるが、解析処理以降の送達確認応答処理としては、データ受信時の受信確認応答処理と同様であり、この処理を利用すれば、処理の追加変更分を削減することも可能である。また、送信端末10では、受信端末20からの送達確認応答を解析する処理が必要となるが、解析処理以降の送達確認応答処理としては、例えば前述した図7の確認応答処理動作で対応することができ、この処理を利用すれば、処理の追加変更分を削減することも可能である。   Further, when a special message is used as the delivery confirmation request and the delivery confirmation response, the receiving terminal 20 needs to analyze the message, but the delivery confirmation response process after the analysis process is as follows. This is the same as the reception confirmation response process, and if this process is used, it is also possible to reduce the additional change of the process. In addition, in the transmission terminal 10, processing for analyzing the delivery confirmation response from the reception terminal 20 is required. As the delivery confirmation response processing after the analysis processing, for example, the above-described confirmation response processing operation in FIG. If this processing is used, it is possible to reduce the amount of additional processing changes.

次に、図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 transmission terminal 10 will be described.
When the retransmission timer expires (step 500), the retransmission control unit 13D instructs the data transmission unit 11B to retransmit undelivered data remaining in the retransmission buffer 13C (step 501).
In response to the retransmission instruction from the retransmission control unit 13D, the data transmission unit 11B reads data from the retransmission buffer 13C (step 510), and retransmits the data from the communication I / F unit 11A to the receiving terminal 20 (step 511). Then, the transmission status relating to the data retransmission is notified to the retransmission control unit 13D and the delivery confirmation unit 14A (step 512).

再送制御部13Dは、データ送信部11Bからの送信状況通知に応じて、再送タイマを起動する(ステップ513)。また、このデータ再送に関する履歴を記憶部12の再送履歴情報12Bへ記録し(ステップ514)、しきい値決定部14Bに対してしきい値更新を指示する(ステップ515)。これに応じて、しきい値決定部14Bは、再送履歴情報12Bを読み出して新たなしきい値を算出する(ステップ516)。
また、送達確認部14Aは、データ送信部11Bからの送信状況通知に応じて、送達確認タイマを起動する(ステップ517)。
このようにして、一連の受信確認動作が終了する。
The retransmission control unit 13D activates a retransmission timer in response to the transmission status notification from the data transmission unit 11B (step 513). Further, the history regarding the data retransmission is recorded in the retransmission history information 12B of the storage unit 12 (step 514), and the threshold value determination unit 14B is instructed to update the threshold value (step 515). In response to this, the threshold value determination unit 14B reads the retransmission history information 12B and calculates a new threshold value (step 516).
In addition, the delivery confirmation unit 14A activates a delivery confirmation timer in response to the transmission status notification from the data transmission unit 11B (step 517).
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 transmission terminal 10 and the reception terminal 20 has been described as an example. In the present embodiment, a case where a single session is formed between the transmission terminal 10 and the reception terminal 20, a plurality of channels are formed on the session, and data communication is performed using these channels in parallel will be described. To do.

本実施形態にかかる送信端末10には、主な機能部として、通信処理部11、記憶部12、複数の通信制御部13、および送達確認処理部14が設けられている。
通信処理部11は、専用の通信回路から構成され、通信ネットワーク30を介して受信端末20の間でデータを送受信する機能を有している。
記憶部12は、ハードディスクやメモリなどの記憶装置から構成され、送信データ12Aや再送履歴情報12Bなど、受信端末20とのデータ通信に関する各種情報を記憶する機能を有している。
The transmission terminal 10 according to the present embodiment includes a communication processing unit 11, a storage unit 12, a plurality of communication control units 13, and a delivery confirmation processing unit 14 as main functional units.
The communication processing unit 11 includes a dedicated communication circuit, and has a function of transmitting and receiving data between the receiving terminals 20 via the communication network 30.
The storage unit 12 includes a storage device such as a hard disk or a memory, and has a function of storing various information related to data communication with the receiving terminal 20 such as transmission data 12A and retransmission history information 12B.

通信制御部13は、UDPやTCPなどの通信プロトコルに基づいて、通信処理部11を介して受信端末20との間でデータ通信用のチャネルを形成する機能と、このチャネルを介してデータを送受信する機能と、通信エラー発生時にはデータを再送する機能と、データ再送に関する再送履歴情報12Bを記録する機能とを有している。
送達確認処理部14は、通信制御部13においてデータを再送する前に、記憶部12の再送履歴情報12Bに基づいて送達確認の要否を判定する機能と、送達確認が必要と判定した場合に通信処理部11を介して受信端末20へ送達確認要求を送信する機能とを有している。
The communication control unit 13 functions to form a channel for data communication with the receiving terminal 20 via the communication processing unit 11 based on a communication protocol such as UDP or TCP, and transmits / receives data via this channel. A function for retransmitting data when a communication error occurs, and a function for recording retransmission history information 12B regarding data retransmission.
The delivery confirmation processing unit 14 has a function of determining whether or not delivery confirmation is necessary based on the retransmission history information 12B of the storage unit 12 before retransmitting data in the communication control unit 13, and when it is determined that delivery confirmation is necessary. And a function of transmitting a delivery confirmation request to the receiving terminal 20 via the communication processing unit 11.

通信制御部13および送達確認処理部14は、CPUとその周辺回路とを有する演算処理部からなり、記憶部12に予め格納されているプログラムを読み込んで演算処理部で実行することにより、上記した各種機能が実現される。   The communication control unit 13 and the delivery confirmation processing unit 14 include an arithmetic processing unit having a CPU and its peripheral circuits, and read the program stored in advance in the storage unit 12 and execute it in the arithmetic processing unit. Various functions are realized.

本実施形態では、通信制御部13が、受信端末20との間で形成したチャネルごとに並列して設けられており、これら通信制御部13は、対応する1つのチャネルを用いたデータ通信についての通信制御を行う。
また、送達確認処理部14は、各チャネルに共通して1つ設けられており、各チャネルのデータ送信状況に応じて、受信端末20へ送達確認を行う。
In this embodiment, the communication control part 13 is provided in parallel for every channel formed between the receiving terminals 20, and these communication control parts 13 are about data communication using one corresponding channel. Perform communication control.
Moreover, the delivery confirmation process part 14 is provided in common with each channel, and performs delivery confirmation to the receiving terminal 20 according to the data transmission condition of each channel.

次に、図11を参照して、再送履歴情報12Bについて説明する。図11は、再送履歴情報の他の構成例である。
再送履歴情報12Bは、データ再送に関する履歴情報であり、受信端末20とのデータ通信におけるデータ再送処理ごとに、各通信制御部13により記録される。ここでは、データ再送処理を行ったラウンド番号がデータ再送処理ごとに記録され、再送履歴情報12Bとして記憶部12に保存されている。この際、再送履歴情報12Bには、各通信制御部13から、チャネルの区別なく共通して再送履歴が記録される。
Next, the retransmission history information 12B will be described with reference to FIG. FIG. 11 is another configuration example of retransmission history information.
The retransmission history information 12B is history information regarding data retransmission, and is recorded by each communication control unit 13 for each data retransmission process in data communication with the receiving terminal 20. Here, the round number subjected to the data retransmission process is recorded for each data retransmission process and stored in the storage unit 12 as retransmission history information 12B. At this time, the retransmission history is recorded in the retransmission history information 12B from each communication control unit 13 in common regardless of the channel.

送達確認処理部14は、記憶部12から再送履歴情報12Bを読み出し、送達確認要否の判定に用いる判定対象値としきい値とを算出する。判定対象値は、最新のデータ再送状況を示す評価値であり、再送履歴情報12Bのうち送達確認要否判定時に近い時点に割り当てられた対象期間に属するデータから算出される。一方、しきい値は、判定対象値を判定するための基準値であり、再送履歴情報12Bのうち対象期間より過去の期間を含む基準期間に属するデータから算出される。この際、対象期間の一部またはすべてを基準期間に含んでもよい。   The delivery confirmation processing unit 14 reads the retransmission history information 12B from the storage unit 12, and calculates a determination target value and a threshold value used for determining whether or not delivery confirmation is necessary. The determination target value is an evaluation value indicating the latest data retransmission status, and is calculated from the data belonging to the target period assigned at a time close to the determination of necessity of delivery confirmation in the retransmission history information 12B. On the other hand, the threshold value is a reference value for determining the determination target value, and is calculated from data belonging to a reference period including a period before the target period in the retransmission history information 12B. At this time, part or all of the target period may be included in the reference period.

これら対象期間および基準期間は、データ送信手順のラウンド回数を基準として予め設定される。また、判定対象値としきい値は、対象期間や基準期間における再送チャネル数の平均値、すなわち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 retransmission history information 12B instead of the round number. As a result, the number of retransmission channels per unit time is used as the determination target value and the threshold value.
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 retransmission history information 12B in the transmission terminal 10 described above and the determination target value and threshold value calculation method in the delivery confirmation processing unit 14 are different. This is the same as the embodiment, and detailed description thereof is omitted here.

[第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 transmission terminal 10 is demonstrated.

各通信制御部13は、受信端末20との間でデータ通信のために形成されている1つのセッション上に、それぞれ対応するチャネルを形成し、記憶部12の送信データ12Aからその一部のデータ(DT)を順次読み出し、当該チャネルを介して受信端末20へ送信する。
また、各通信制御部13において、上記送信データに対する受信確認応答(ACK)を受信端末20から受信し、この内容に応じて、あるいは受信確認応答の破棄に応じてデータ再送する。これらデータ送信処理は、一般的な通信プロトコルに基づき行われる。
Each communication control unit 13 forms a corresponding channel on one session formed for data communication with the receiving terminal 20, and a part of the data from the transmission data 12A of the storage unit 12 (DT) is sequentially read and transmitted to the receiving terminal 20 through the channel.
Each communication control unit 13 receives a reception confirmation response (ACK) for the transmission data from the reception terminal 20 and retransmits the data according to this content or when the reception confirmation response is discarded. These data transmission processes are performed based on a general communication protocol.

送達確認処理部14は、各通信制御部13においてデータ(DT)を送信するごとに、当該データ送信からの経過時間などに基づいて、送達確認タイミングの到来を確認し、送達確認タイミングの到来に応じて、図3の送達確認処理を実行する。
まず、送達確認処理部14は、記憶部12の再送履歴情報12Bに基づいて、前述した判定対象値を算出し(ステップ100)。この場合、しきい値の更新が必要であれば、このステップで新たなしきい値を算出すればよい。
Each time each communication control unit 13 transmits data (DT), the delivery confirmation processing unit 14 confirms the arrival of the delivery confirmation timing based on the elapsed time from the data transmission and the like. In response, the delivery confirmation process of FIG. 3 is executed.
First, the delivery confirmation processing unit 14 calculates the above-described determination target value based on the retransmission history information 12B in the storage unit 12 (step 100). In this case, if the threshold value needs to be updated, a new threshold value may be calculated in this step.

次に、送達確認処理部14は、判定対象値としきい値とを比較することにより、送達確認の要否を判定する(ステップ101)。ここで、判定対象値がしきい値以下の場合、送達確認不要と判定して(ステップ102:NO)、一連の処理を終了する。
一方、判定対象値がしきい値を上回った場合、送達確認要と判定して(ステップ102:YES)、送達確認処理部14は、上記データ送信で送信したデータ(DT)に関する送達確認要求を、通信処理部11から受信端末20へ送信する(ステップ103)。
Next, the delivery confirmation processing unit 14 determines whether or not delivery confirmation is necessary by comparing the determination target value with a threshold value (step 101). Here, when the determination target value is equal to or smaller than the threshold value, it is determined that the delivery confirmation is unnecessary (step 102: NO), and the series of processes is terminated.
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 confirmation processing unit 14 issues a delivery confirmation request regarding the data (DT) transmitted by the data transmission. Then, the data is transmitted from the communication processing unit 11 to the receiving terminal 20 (step 103).

この後、受信端末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 terminal 20 via the communication processing unit 11 (step 104).
Here, when undelivered data is notified by this delivery confirmation response, the communication control unit 13 corresponding to these undelivered data retransmits the undelivered data from the communication processing unit 11 to the receiving terminal 20 (step 105). ). Thereafter, the communication control unit 13 records the history regarding the retransmitted data in the retransmission history information 12B of the storage unit 12 (step 106), and ends the series of processes.

[第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 retransmission history information 12B, and the average retransmission data amount per unit time in the target period for all channels is determined as a determination target. It may be calculated as a value, and the change of the data retransmission status in each channel can be confirmed in detail and comprehensively, and the necessity of delivery confirmation can be determined more accurately.

[実施形態の拡張]
以上の各実施形態については、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 confirmation processing unit 14 without synchronizing the delivery confirmation necessity determination process with the data transmission operation. Further, when the retransmission timer in the communication control unit 13 times out, the delivery confirmation processing unit 14 determines whether or not the delivery confirmation is necessary, and when the delivery confirmation is necessary, the delivery confirmation is performed with the receiving terminal 20. Thereafter, data retransmission may be performed by the communication control unit 13 as necessary, and when the delivery confirmation is unnecessary, the data retransmission may be performed immediately by the communication control unit 13.

また、各実施形態では、送信端末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 transmission terminal 10 and the reception terminal 20 has been described. When different sessions are formed between the terminal 10 and the receiving terminal 20, the necessity of delivery confirmation may be determined according to the data retransmission status in such different sessions.

また、各実施形態では、判定対象値として、平均再送データ量や平均再送チャネル数を用いた場合を例として説明したが、これに限定されるものではなく、データ再送状況を示す他の指標を判定対象値として用いてもよい。例えば、送信端末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 transmission terminal 10 to the reception terminal 20, that is, the transmission data loss rate may be used as the determination target value.

本発明の第1の実施形態にかかるデータ通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the data communication system concerning the 1st Embodiment of this invention. 再送履歴情報の構成例である。It is an example of a structure of resending log | history information. 本発明の第1の実施形態にかかる送信端末の送達確認処理を示すフローチャートである。It is a flowchart which shows the delivery confirmation process of the transmission terminal concerning the 1st Embodiment of this invention. 本発明の第1の実施形態にかかる送信端末の動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of the transmission terminal concerning the 1st Embodiment of this invention. 本発明の第2の実施形態にかかる送信端末の構成を示すブロック図である。It is a block diagram which shows the structure of the transmission terminal concerning the 2nd Embodiment of this invention. 本発明の第2の実施形態にかかる通信端末のデータ送信動作を示すシーケンス図である。It is a sequence diagram which shows the data transmission operation | movement of the communication terminal concerning the 2nd Embodiment of this invention. 本発明の第2の実施形態にかかる通信端末の確認応答処理動作を示すシーケンス図である。It is a sequence diagram which shows the confirmation response process operation | movement of the communication terminal concerning the 2nd Embodiment of this invention. 本発明の第2の実施形態にかかる通信端末の送達確認送信動作を示すシーケンス図である。It is a sequence diagram which shows the delivery confirmation transmission operation | movement of the communication terminal concerning the 2nd Embodiment of this invention. 本発明の第2の実施形態にかかる通信端末のデータ再送動作を示すシーケンス図である。It is a sequence diagram which shows the data resending operation | movement of the communication terminal concerning the 2nd Embodiment of this invention. 本発明の第3の実施形態にかかるデータ通信システムを示すブロック図である。It is a block diagram which shows the data communication system concerning the 3rd Embodiment of this invention. 再送履歴情報の他の構成例である。10 is another configuration example of retransmission history information.

符号の説明Explanation of symbols

10…送信端末(通信端末)、11…通信処理部、11A…通信I/F部、11B…データ送信部、11C…データ受信部、12…記憶部、12A…送信データ、12B…再送履歴情報、13…通信制御部、13A…データ入出力部、13B…送信バッファ、13C…再送バッファ、13D…再送制御部、13E…確認応答処理部、14…送達確認処理部、14A…送達確認部、14B…しきい値決定部、20…受信端末、30…通信ネットワーク。   DESCRIPTION OF SYMBOLS 10 ... Transmission terminal (communication terminal), 11 ... Communication processing part, 11A ... Communication I / F part, 11B ... Data transmission part, 11C ... Data reception part, 12 ... Storage part, 12A ... Transmission data, 12B ... Retransmission history information , 13 ... Communication control unit, 13A ... Data input / output unit, 13B ... Transmission buffer, 13C ... Retransmission buffer, 13D ... Retransmission control unit, 13E ... Confirmation response processing unit, 14 ... Delivery confirmation processing unit, 14A ... Delivery confirmation unit, 14B: Threshold value determination unit, 20: Receiving terminal, 30 ... Communication network.

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.
請求項1に記載の通信端末において、
任意の対象期間におけるデータ再送量に関する統計量を前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認要求を行うことを特徴とする通信端末。
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.
請求項2に記載の通信端末において、
前記対象期間における、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる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.
請求項2に記載の通信端末において、
前記対象期間における、単位時間あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信端末。
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.
請求項2に記載の通信端末において、
前記対象期間より過去の期間を含む基準期間におけるデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。
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.
請求項5に記載の通信端末において、
前記基準期間のうちの任意の単位時間で発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信端末。
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.
請求項5に記載の通信端末において、
前記基準期間のうちの、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる、任意の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.
請求項1に記載の通信端末において、
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間においてこれらチャネルのうちデータ再送が発生した再送チャネル数を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を行うことを特徴とする通信端末。
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.
請求項8に記載の通信端末において、
前記対象期間より過去の期間を含む基準期間における再送チャネル数を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。
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.
請求項1に記載の通信端末において、
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間におけるこれらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を送信することを特徴とする通信端末。
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.
請求項10に記載の通信端末において、
前記対象期間より過去の期間を含む基準期間における、これらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信端末。
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.
請求項12に記載の通信方法において、
前記送信端末が、任意の対象期間におけるデータ再送量に関する統計量を前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認要求を行うことを特徴とする通信方法。
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.
請求項13に記載の通信方法において、
前記送信端末が、前記対象期間における、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる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.
請求項13に記載の通信方法において、
前記送信端末が、前記対象期間における、単位時間あたりのデータ再送量を、前記判定対象値として算出することを特徴とする通信方法。
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.
請求項12に記載の通信方法において、
前記送信端末が、前記対象期間より過去の期間を含む基準期間におけるデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。
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.
請求項16に記載の通信方法において、
前記送信端末が、前記基準期間のうちの任意の単位時間で発生した最大データ再送量を、前記しきい値として算出することを特徴とする通信方法。
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.
請求項16に記載の通信方法において、
前記送信端末が、前記基準期間のうちの、前記送信端末と前記受信端末との間で行われるデータ送信とこれに応じた受信確認通知との組からなる、任意の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.
請求項12に記載の通信方法において、
前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間においてこれらチャネルのうちデータ再送が発生した再送チャネル数を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を行うことを特徴とする通信方法。
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.
請求項19に記載の通信方法において、
前記送信端末が、前記対象期間より過去の期間を含む基準期間における再送チャネル数を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。
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.
請求項12に記載の通信方法において、
前記送信端末が、前記受信端末との間で接続した複数のチャネルを並列的に用いてデータ通信を行っている場合、任意の対象期間におけるこれらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記判定対象値として算出し、この判定対象値が所定のしきい値を上回った場合に前記送達確認を送信することを特徴とする通信方法。
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.
請求項21に記載の通信方法において、
前記送信端末が、前記対象期間より過去の期間を含む基準期間における、これらチャネルでのデータ再送量に関する統計量を、前記履歴情報から前記しきい値として算出することを特徴とする通信方法。
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.
JP2008088536A 2008-03-28 2008-03-28 Communication terminal, communicating method, data communication system, and program Pending JP2009246533A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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