The present invention relates to a communication system and a communication method between terminals which use an acknowledgement corresponding to sending data, and relates to a data receiving terminal which is used in the communication system.
Data which is sent and received in a communication network includes data which is sent by a data sending terminal, and an ACK (acknowledgement) which is used for informing the data sending terminal that the data has arrived normally.
A patent literature 1 describes that, in a communication system including a data sending terminal which sends data, and a data receiving terminal which receives the data, the data receiving terminal sends ACK, which indicates that the data has been received, to the data sending terminal. By receiving ACK, the data sending terminal can confirm that the data has arrived at the data receiving terminal. On the other hand, in the case that the data sending terminal does not receive ACK within a predetermined time, the data sending terminal judges that the data has not arrived at the receiving terminal, and then resends the data.
Moreover, a patent literature 2 discloses that, in the case that a received ACK is caused an error, a data sending terminal sends ACK resending request data which requests to resend ACK. A data receiving terminal which receives the ACK resending request data resends ACK. By adopting the configuration mentioned above, the data sending terminal receives the resent ACK even if the received ACK is caused the error, and consequently the data sending terminal confirms that the data has arrived at the data receiving terminal.
[PTL 1] Japanese Patent Application Laid-Open Publication No. 2008-306549
[PTL 2] Japanese Patent Application Laid-Open Publication No. 2009-207162
However, there is a case that, while the data which is sent by the data sending terminal arrives at the data receiving terminal, ACK does not arrive at the data sending terminal due to loss of ACK in a communication network.
According to the configuration described in the patent literatures 1 and 2, even in this case, the data sending terminal results in resending the data. As a result, the resend of data, which is unnecessary originally, is carried out, and consequently a problem that throughput of the communication network becomes degraded is caused.
Moreover, the data sending terminal results in making a congestion window narrow since the data sending terminal does not receive ACK. As a result, another problem that the data sending terminal reduces an amount of sending data unnecessarily is caused.
An object of the present invention is to provide a communication system which, even in the case that ACK is lost in a network, can prevent a data sending terminal from resending data, and can prevent the data sending terminal from reducing an amount of sending data.
A communication system of the present invention is characterized in that the communication system includes a data sending terminal which sends data, and a data receiving terminal which sends an acknowledgement, which indicates that the data is received, to the data sending terminal in reply to receiving the data, and the data receiving terminal judges whether it is necessary to resend the acknowledgement on the basis of judgment whether the data receiving terminal receives new data from the data sending terminal within a predetermined time since sending the acknowledgement.
A data receiving terminal of the present invention is characterized in that the data receiving terminal receives data which is sent by a data sending terminal, and sends an acknowledgement, which indicates that the data is received, to the data sending terminal in reply to receiving the data, and judges whether it is necessary to resend the acknowledgement on the basis of judgment whether the data receiving terminal receives new data from the data sending terminal within a predetermined time since sending the acknowledgement.
A communication method of the present invention is characterized by comprising a step of sending an acknowledgement, which indicates that data sent by a data sending terminal is received, to the data sending terminal in reply to receiving the data, and a step of judging whether it is necessary to resend the acknowledgement on the basis of judgment whether the data receiving terminal receives new data from the data sending terminal within a predetermined time since sending the acknowledgement.
According to the present invention, it is possible to prevent the data sending terminal from resending the data even in the case that ACK is lost in the network. Moreover, even in the case that ACK is lost in the network, it is possible to prevent the data sending terminal from reduce an amount of sending data.
Hereinafter, specific exemplary embodiments, which apply the present invention, will be described in detail with reference to drawings.
The communication system 50 includes a data sending terminal 10 and a data receiving terminal 20 which are connected each other through a network 30. The data sending terminal 10 and the data receiving terminal 20 send and receive data, for example, by use of a TCP connection 40.
The data sending terminal 10 is equipment which sends data, and the data receiving terminal 20 is equipment which receives the data sent by the data sending terminal 10. When the data receiving terminal 20 receives the data, the data receiving terminal 20 sends an acknowledgement (ACK), which is corresponding to the data, to the data sending terminal.
Here, an operation of the data sending terminal 10 is based on, for example, TCP/IP (transmission control protocol/internet protocol), and the data sending terminal 10 carries out resending control by use of timeout.
The resending control by use of the timeout will be described in the following with reference to a sequence diagram shown in
Moreover, for example, in the case of TCP/IP, the timeout period is used for judging whether an amount of sending data sent by the data sending terminal decreases. That is, in the case that the data sending terminal does not receive ACK, which is corresponding to the data sent by the data sending terminal, within the timeout period since the data sending terminal sent the data, the data sending terminal reduces an amount of the sending data. Here, for example, in the case of TCP/IP, since the timeout period is not prescribed as the protocol, any timeout period may be adopted.
Next, an example of a configuration of the data receiving terminal 20 in the first exemplary embodiment of the present invention will be described with reference to
The receiving side input-output processing unit 200 sends and receives data and ACK. For example, the receiving side input-output processing unit 200 receives the data which is sent by the data sending terminal 20. Moreover, the receiving side input-output processing unit 200 sends ACK to the data sending terminal 20 in reply to receiving the data.
The receiving side TCP processing unit 201 judges whether it is necessary to resend ACK on the basis of judgment whether the receiving side input-output unit 200 receives new data from the data sending terminal within a predetermined time since the data receiving terminal sent ACK to the data sending terminal.
Specifically, the receiving side TCP processing unit 201 judges that it is necessary to resend ACK on the basis of judgment that the data receiving terminal does not receive new data from the data sending terminal within the predetermined time. Then, the receiving side TCP processing unit 201 sends ACK to the data sending terminal through the receiving side input-output processing unit 200.
On the other hand, the receiving side TCP processing unit 201 judges that it is unnecessary to resend ACK on the basis of judgment that the data receiving terminal receives new data from the data sending terminal within the predetermined time. Then, the receiving side input-output processing unit 200 sends ACK corresponding to the new data to the data sending terminal 10.
As the predetermined time, 50 ms which is used in ‘Fast Timer’ of the timer mechanism installed in TCP is applicable. But, it is unnecessary that the predetermined time has a fixed value, and the predetermined time may have any value.
Here, in the case that the data sending terminal 10 carries out the resending control by use of the timeout, the data receiving terminal may set the predetermined time shorter than the timeout period which is used in the data sending terminal 10. If the predetermined time is shorter than the timeout period, the data receiving terminal 20 can resend ACK before the timeout period expires.
Accordingly, the data sending terminal 10 can receive the resent ACK within the timeout period even if ACK is lost in the network. As a result, the communication system 50, which includes the data receiving terminal 20, can avoid the unnecessary resending of the data, and can maintain an amount of the sending data.
Next, an example of a communication procedure, which is carried out by the data sending terminal 10 and the data receiving terminal 20, according to the first exemplary embodiment of the present invention will be explained with reference to
According to the example shown in
The data receiving terminal 20, which receives the data 2, sends ACK 2, which is corresponding to the data 2, to the data sending terminal 10. Here, according to the example shown in
The data receiving terminal 20 judges that it is necessary to resend ACK 1 again on the basis of judgment that the data receiving terminal 20 does not receive new data from the data sending terminal within the predetermined time since the data receiving terminal 20 resent ACK 1, and furthermore resends ACK 1. As a result, the data sending terminal 10 receives ACK 1 which is resent again, and sends data 2 in reply to the received ACK 1.
Next, an example of an operation of the data sending terminal 10 according to the first exemplary embodiment of the present invention will be described.
As shown in
In Step 101 (S101), the data sending terminal 10 sends data to the data receiving terminal 20.
In Step 102 (S102), the data sending terminal 10 judges whether a process of sending a series of data which should be sent to the data receiving terminal 20 is completed. A series of data are, for example, data whose sequence numbers are 1 to 10 (for example, data 1 to data 10). In the case of the example, the data sending terminal 10 judges whether a process of sending the data 1 to data 10 is completed.
In the case that the process of sending the data is completed, the data sending terminal 10 advances the procedure to Step 103 (S103), sends a request for disconnecting the connection to the data receiving terminal 20 and disconnects the connection.
On the other hand, in the case that the process of sending the data is not completed, the data sending terminal 10 advances the procedure to Step 104 (S104) and judges whether it is necessary to resend the data.
The data sending terminal 10 judges whether a condition for resending data is satisfied (S104). An example of the condition for resending data is ‘timeout’. The data sending terminal 10 judges whether the data sending terminal 10 receives ACK, which is corresponding to data sent by the data sending terminal 10, within a timeout period since the data sending terminal 10 sent the data.
In the case that the data sending terminal 10 receives ACK within the timeout period, the data sending terminal 10 sends new data (S105).
On the other hand, in the case that the data sending terminal 10 does not receive ACK within the timeout period, the data sending terminal 10 resends the data (S106). In the case of resending the data, the data sending terminal 10 judges again whether the condition for resending data is satisfied.
Next, an example of an operation of the data receiving terminal 20 according to the first exemplary embodiment of the present invention will be described.
As shown in
In Step 201 (S201), the data receiving terminal 20 sends ACK which is corresponding to received data.
In Step 202 (S202), the data receiving terminal 20 judges whether the data received from the data sending terminal 10 is corresponding to data which indicates disconnection of connection (FIN).
In the case that the data receiving terminal 20 judges that the data received from the data sending terminal 10 is the data which indicates the disconnection of connection (FIN), the data receiving terminal 20 advance the procedure to Step 203 (S203). That is, the data receiving terminal 20 sends a response (FIN/ACK) which is corresponding to the data indicating the disconnection of connection, and then disconnects the connection.
On the other hand, in the case that the data receiving terminal 20 judges that the data received from the data sending terminal 10 is not the data which indicates the disconnection of connection, the data receiving terminal 20 advance the procedure to Step 204 (S204). Then, the data receiving terminal 20 judges whether the data receiving terminal 20 receives new data from the data sending terminal 10 within a predetermined time since the data receiving terminal 20 sent ACK.
In the case that the data receiving terminal 20 receives the new data within the predetermined time, the data receiving terminal 20 returns the procedure to Step 201 (S201).
On the other hand, in the case that the data receiving terminal 20 does not receive new data within the predetermined time, the data receiving terminal 20 resends ACK in Step 205 (S205), and advances the procedure to Step 204.
As mentioned above, according to the first exemplary embodiment of the present invention, the data receiving terminal 20 resends ACK in the case that the data receiving terminal 20 does not receive new data within the predetermined time. Therefore, by the resent ACK's arriving at the data sending terminal 10, it is possible to prevent the data from being resent unnecessarily even if ACK is lost in the network. Moreover, since the data sending terminal 10 receives the resent ACK, the data sending terminal 10 can continue data communication without decreasing an amount of the sending data.
According to a second exemplary embodiment of the present invention, the receiving side TCP processing unit 201 calculates a predetermined time by use of the maximum data size and RTT.
A configuration of the second exemplary embodiment of the present invention is, for example, the same as the configuration of the communication system 50 according to the first exemplary embodiment shown in
The sending side input-output processing unit 100 sends and receives data and ACK. For example, the sending side input-output processing unit 100 sends data to the data receiving terminal 20. Moreover, the sending side input-output processing unit 100 receives ACK which the data receiving terminal 20 sends.
The sending side TCP processing unit 101 segments data received from the sending side application unit 102, and controls a sending rate. Moreover, the sending side TCP processing unit 101 carries out a process for realizing reliable communication by use of TCP connection to data with carrying out the arrival check by use of ACK and with sequence control of sending data by use of sequence number.
The receiving side TCP processing unit 201 includes an ACK replying part 2010 which replies ACK corresponding to the received data. Moreover, the receiving side TCP processing unit 201 includes an ACK resending part 2011 which controls to resend ACK corresponding to the received data. Moreover, the receiving side TCP processing unit 201 includes a data processing part 2012 which carries out a process to data. Moreover, the receiving side TCP processing unit 201 includes a storage part 2013 which stores the data received previously, and ACK sent previously. Furthermore, the receiving side TCP processing unit 201 includes a resending timer 2014 which is activated by the data receiving terminal 20's sending ACK.
The resending timer 2014 measures an elapse time since ACK was sent. The resending timer 2014 stops measuring the elapse time in the case that the data receiving terminal 20 receives new data from the data sending terminal 10.
In the case that the data receiving terminal 20 does not receive new data from the data sending terminal 10, and the elapse time measured by the resending timer 2014 reaches a predetermined time, the ACK resending part 2011 resends ACK.
In the second exemplary embodiment, the ACK resending part 2011 can calculate the predetermined time, for example, according to the following formula (1). However, the predetermined time calculated according to the formula (1) is a mere example, and any value which the ACK resending part 2011 calculates as the predetermined time may be applied.
(predetermined time)=1/{α×(RWIN/maximum data size)/RTT} formula (1)
In the formula (1), RWIN (Receive Window) means a window size of which the data receiving terminal 20 informs the data sending terminal 10 as a receivable amount of data. Moreover, RTT (Round trip Time) means a period from a time when the data sending terminal 10 sends data until a time when the data sending terminal 10 receives ACK sent by the data receiving terminal 20. The maximum data size means a maximum amount of data which the data sending terminal sends. α means a coefficient for absorbing variation in an arrival time of data, and α is, for example, larger than 1 (for example, α may be an integer or a decimal).
Here, in the formula (1), RWIN/RTT is an assumed maximum data transfer speed, and number of data transfers per a unit time is calculated through dividing RWIN/RTT by the maximum data size. Next, the data arrival interval at a time when the data transfer is carried out with assumed maximum throughput is obtained by calculating a reciprocal of the number of data transfers per the unit time.
The ACK resending part 2011 acquires the measured maximum data size and RTT, and estimates the data arrival interval by use of the formula (1). Then, in the case that the elapse time since ACK is sent reaches the data arrival interval (that is, predetermined time), the ACK resending part 2011 resends ACK. The ACK resending part 2011 may calculate RTT by use of records of data and ACK which were sent and received previously between the data sending terminal and the data receiving terminal. In this case, the ACK resending part 2011 checks the records of the data and ACK, which the data receiving terminal 20 sent and received previously, with reference to the storage part 2013.
In the case that ACK is resent, the resending timer 2014 stops measuring the elapse time. Afterward, the resending timer 2014 starts measuring an elapse time since ACK was resent. Then, in the case that the elapse time since ACK was resent reaches a second predetermined time, the data receiving terminal 20 resends ACK again. It is not always necessary that the data receiving terminal 20 uses the second predetermined time when the data receiving terminal 20 resends ACK, and the data receiving terminal 20 may use the predetermined time calculated by use of the formula (1) at the time when the data receiving terminal 20 resends ACK.
It is assumed that the second predetermined time is β times longer than the predetermined time which is calculated by use of the formula (1). For example, β is larger than 1 (for example, β may be an integer or a decimal). Moreover, the second predetermined time may be identical with the predetermined time calculated by use of the formula (1).
In the case that the data receiving terminal 20 resends ACK again after the second predetermined time expires, a total of the predetermined time and the second predetermined time may be set shorter than the timeout period used in the data sending terminal 10. By virtue of the above-mentioned setting, the data sending terminal 10 can receive ACK resent again within the timeout period even if both of an ACK and the resent ACK are lost in the network.
As mentioned above, the data receiving terminal 20 resends ACK repeatedly until receiving data or new data.
Here, while the resending timer 2014 stops measuring the elapse time in the case that ACK is resent according to the example mentioned above, the resending timer 2014 may continue measuring the elapse time. In this case, the data receiving terminal 20 determines a plurality of predetermined times for resending ACK, and resends ACK every time when the elapse time reaches the corresponding predetermined time.
Next, an example of an operation of the data receiving terminal 20 according to the second exemplary embodiment of the present invention will be described.
As shown in
In the case of resending ACK in Step 305 (S305), the data receiving terminal 20 advances the procedure to Step 306 (S306). In Step 306 (S306), the data receiving terminal 20 judges whether the data receiving terminal 20 receives new data from the data sending terminal 10 within the second predetermined time since ACK was resent.
In the case that new data is received within the second predetermined time, the data receiving terminal 20 returns the procedure to Step 301 (S301).
On the other hand, in the case that new data is not received within the predetermined time, the data receiving terminal 20 resends ACK in Step 307 (S307), and then returns the procedure to Step 306.
According to a third exemplary embodiment, ACK which the data receiving terminal 20 resends includes predetermined data (flag) which indicates that ACK is resent.
According to the third exemplary embodiment, the data sending terminal 10 uses both of the resending control by use of the timeout, and resending control which uses duplicate ACK, for example, on the basis of the operation of TCP/IP.
The resending control by use of the duplicate ACK will be described in the following with reference to a sequence diagram shown in
In the example shown in
In the example shown in
When the data sending terminal 10 receives ACK 1, which is sent again, predetermined number of times, for example, receives ACK 1 three times in the case of TCP/IP, the data sending terminal 10 judges that the data 2 is lost in the network, and then resends the data 2.
As mentioned above, when the data sending terminal 10 receives the duplicate ACK predetermined number of times, for example, receives the duplicate ACK three times in the case of TCP/IP, the data sending terminal 10 judges that data is lost in the network, and then resends the data. Moreover, when the data sending terminal 10 receives the duplicate ACK predetermined number of times (for example, three times in the case of TCP/IP), the data sending terminal 10 reduces an amount of data.
Here, for example, in the case of TCP/IP, the data sending terminal 10 limits a data sending speed just after starting connection, and reduces an amount of sending data.
While not shown in the example of
In the case that the data sending terminal 10 limits the data sending speed, a time interval at which the data sending terminal 10 sends data becomes long as shown in
In the example shown in
According to the third exemplary embodiment of the present invention, in order to solve the problem mentioned above, ACK which the data receiving terminal 20 resends includes predetermined data which indicates that ACK is resent. The data sending terminal 10 does not judge ACK, which includes the predetermined data, to be the duplicate ACK. Moreover, the data sending terminal 10 sends new data in reply to receiving ACK which includes the predetermined data. By virtue of the above-mentioned configuration, the data sending terminal 10 does not carry out unnecessary resending of data and does not reduce an amount of sending data unnecessarily.
In the third exemplary embodiment, the ACK resending part 2011, which is included in the receiving side TCP processing unit 201 of the data receiving terminal 20, makes the predetermined data included in ACK, which should be resent, when resending ACK.
In the case that the data sending terminal 10 receives ACK which includes the predetermined data, the data sending terminal 10 recognizes that ACK is received, and also recognizes that the received ACK is, for example, a data packet. Accordingly, even if the data sending terminal 10 receives ACK, which includes the predetermined data, predetermined number of times (for example, three times), the data sending terminal 10 does not judge that the duplicate ACK is received predetermined number of times, and consequently does not resend the data.
Note that the predetermined data which indicates the resending of ACK is, for example, OOB (Out Of Band) data. The OOB data is data which includes a predetermined flag, and it is possible to distinguish the OOB data from ordinary data. Therefore, it is possible for the data sending terminal 10 to judge that ACK including the OOB data is different from an ordinary ACK. Note that the predetermined data which indicates the resending of ACK is not limited to the OOB data, and any data may be applicable as far as the data sending terminal 10 can recognize the resending of ACK.
As shown in
Specifically, the ACK resending judging part 1010 judges whether the received ACK includes the predetermined data which indicates that ACK is the resent ACK. In the case that the received ACK does not include the predetermined data, the ACK resending judging part 1010 judges that the received ACK is the duplicate ACK which indicates data loss.
On the other hand, in the case that it is judged that the received ACK includes the predetermined data, the data sending terminal 10 judges the received ACK to be the resent ACK, and sends new data to the data receiving terminal.
Next, an example of a communication procedure, which is carried out by the data sending terminal 10 and the data receiving terminal 20 according to the third exemplary embodiment, will be explained with reference to
According to an example shown in
In the example shown in
Next, an example of an operation of the data sending terminal 10 according to the third exemplary embodiment will be described.
A procedure of Step 400 (S400) to Step 403 (S403) in the third exemplary embodiment is the same as the procedure of Step 100 (S100) to Step 103 (S103) carried out by the data sending terminal 10 in the first exemplary embodiment.
In Step 404 (S404), the data sending terminal 10 judges whether it is necessary to resend data.
The data sending terminal 10 judges whether a condition for resending data is satisfied (S404). As the condition for resending data, ‘timeout’ is exemplified. In the third exemplary embodiment, the data sending terminal 10 judges whether, within a timeout period since the data sending terminal 10 sent data based on the window size (for example, the data 1 to the data 5 shown in the example of
In the case that the data sending terminal 10 receives ACK or the resending ACK, which correspond to each of the data based on the window size, within the timeout period, the data sending terminal 10 sends new data based on the window size (S405).
On the other hand, in the case that the data sending terminal 10 does not receive ACK or the resending ACK, which correspond to each of the data based on the window size, within the timeout period, the data sending terminal 10 resends the data (S406). When the data sending terminal 10 resends the data, the data sending terminal 10 judges again whether the condition for resending data is satisfied.
A fourth exemplary embodiment of the present invention is an example that a predetermined time is set according to a time interval at which the data sending terminal 10 sends data.
As shown in
According to the fourth exemplary embodiment of the present invention, in order to solve the problem mentioned above, the data receiving terminal 20 sets the predetermined time longer than the time interval at which the data sending terminal 10 sends data. By virtue of the setting mentioned above, it is possible to reduce number of the data receiving terminal 20's resending ACK, and it is possible to avoid the data sending terminal 10's resending data unnecessarily, and reducing an amount of sending data unnecessarily.
Examples of the data sending terminal 10 and the data receiving terminal 20 in the fourth exemplary embodiment of the present invention are the same as the data sending terminal 10 and the data receiving terminal 20, for example, according to the second exemplary embodiment.
In the fourth exemplary embodiment, the ACK resending part 2011 sets the predetermined time longer than the time interval at which the data sending terminal 10 sends data. The ACK resending part 2011 estimates the time interval, at which the data sending terminal 10 sends data, on the basis of, for example, the window size of which the data receiving terminal 20 informs the data sending terminal 10 as a receivable amount of data, and a sending speed at which the data sending terminal 10 sends data. Then, the ACK resending part 2011 sets the predetermined time longer than the estimated time interval at which data is send.
Next, an example of a communication procedure, which is carried out by the data sending terminal 10 and the data receiving terminal 20 according to the fourth exemplary embodiment of the present invention, will be explained with reference to
According to an example shown in
An example of operations of the data sending terminal 10 and the data receiving terminal 20 in the fourth exemplary embodiment of the present invention is the same as the operations of the data sending terminal 10 and the data receiving terminal 20, for example, according to the second exemplary embodiment of the present invention.
According to a fifth exemplary embodiment of the present invention, the data sending terminal 10 sends an ACK receiving notice, which indicates that ACK is received, to the data receiving terminal 20 in reply to the data sending terminal 10's receiving ACK. Moreover, according to the fifth exemplary embodiment of the present invention, the data receiving terminal 20 judges whether it is necessary to resend an acknowledgement, for example, on the basis of judgment whether the data receiving terminal 20 receives the ACK receiving notice from the data sending terminal 10 within a predetermined time since the data receiving terminal 20 sent ACK.
In
According to the fifth exemplary embodiment, in order to solve the problem mentioned above, the data sending terminal 10 sends an ACK confirming notice in reply to the data sending terminal 10's receiving ACK. Accordingly, the data receiving terminal 20 can judge whether the data sending terminal 10 receives ACK on the basis of judgment whether the data receiving terminal 20 receives the ACK receiving notice. Moreover, on the basis that the data receiving terminal 20 does not receive the ACK receiving notice, which is corresponding to ACK sent by the data receiving terminal 20, within the predetermined time since the data receiving terminal 20 sent ACK, the data receiving terminal 20 judges that ACK is lost in the network, and resends ACK. Accordingly, the data sending terminal 10 can receive ACK, which the data receiving terminal 20 resends, within the timeout period, and consequently does not resend data and does not reduce an amount of sending data.
The ACK receiving noticing part 1011 sends the ACK receiving notice, which indicates that ACK is received, to the data receiving terminal 20 in reply to the data sending terminal 10's receiving ACK.
An example of a configuration of the data receiving terminal 20 in the fifth exemplary embodiment is the same as the configuration of the data receiving terminal 20, for example, according to the second exemplary embodiment.
In the fifth exemplary embodiment, the data receiving terminal 20 judges whether each ACK, which the data receiving terminal 20 sends, satisfies a condition for resending ACK.
In the fifth exemplary embodiment, the resending timer 2014 of the data receiving terminal 20 measures an elapse time since the data receiving terminal 20 sent ACK for every sent ACK. The ACK resending part 2011 judges whether the ACK receiving notice, which is corresponding to each the sent ACK, were received within the predetermined time. Then, in the case that the ACK receiving notice were not received within the predetermined time, the ACK resending part 2011 resends the corresponding ACK.
NEXT, an example of a procedure, which is carried out by the data sending terminal 10 and the data receiving terminal 20 according to the fifth exemplary embodiment of the present invention, will be explained with reference
According to an example shown in
In the example shown in
Meanwhile, in the example shown in
Next, an example of an operation of the data sending terminal 10 according to the fifth exemplary embodiment of the present invention will be explained.
A procedure of Step 500 (S500) to Step 504 (S504) in the fifth exemplary embodiment is the same as the procedure of Step 100 (S100) to Step 104 (S104) which are carried out by the data sending terminal 10 according to the first exemplary embodiment.
In the case that the data sending terminal 10 receives all ACKs (ACK 1 to ACK 3), which are corresponding to the data based on the window size (data 1 to data 3 in the case of the example shown in
On the other hand, in the case that the data sending terminal 10 does not receive all ACKs (ACK 1 to ACK 3), which are corresponding to the data based on the window size (data 1 to data 3 in the case of the example shown in
Next, an example of an operation of the data receiving terminal 20 according to the fifth exemplary embodiment of the present invention will be explained.
A procedure of Step 600 (S600) to Step 603 (S603) in the fifth exemplary embodiment is the same as the procedure of Step 200 (S200) to Step 203 (S203) which are carried out by the data receiving terminal 10 according to the first exemplary embodiment.
In the case that, in Step 602 (S602), the data receiving terminal 20 judges that the received data is not data which indicates disconnection of connection, the data receiving terminal 20 advances the procedure to Step 604 (S604). That is, the data receiving terminal 20 judges whether, within the predetermined time since the data receiving terminal 20's sending ACK, the data receiving terminal 20 receives the ACK receiving notice, which is corresponding to the sent ACK, from the data sending terminal 10
In the case that the data receiving terminal 20 receives the ACK receiving notice, which is corresponding to the sent ACK, within the predetermined time, the data receiving terminal 20 returns the procedure to Step 601 (S601).
On the other hand, in the case that the data receiving terminal 20 does not receive the ACK receiving notice, which is corresponding to the sent ACK, within the predetermined time, the data receiving terminal 20 resends ACK in Step 605 (S605), and returns the procedure to Step 604.
It is possible to combine the first to the fifth exemplary embodiments of the present invention appropriately. Furthermore, the present invention is not limited to each exemplary embodiment mentioned above. Various changes to the configuration and detail of the invention according to the present application, which are able to be understood by a person skilled in the art, can be made within the scope of the invention according to the present application.
This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2012-035401, filed on Feb. 21, 2012, the disclosure of which is incorporated herein in its entirety by reference.
Number | Date | Country | Kind |
---|---|---|---|
2012-035401 | Feb 2012 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/000756 | 2/13/2013 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2013/125175 | 8/29/2013 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5892759 | Taketsugu | Apr 1999 | A |
20110019555 | Gotoh et al. | Jan 2011 | A1 |
20130010592 | Eguchi | Jan 2013 | A1 |
Number | Date | Country |
---|---|---|
2001-268093 | Sep 2001 | JP |
2008-306549 | Dec 2008 | JP |
2009-207162 | Sep 2009 | JP |
2010-258631 | Nov 2010 | JP |
WO 2008032750 | Mar 2008 | WO |
Entry |
---|
International Search Report (ISR) (PCT Form PCT/ISA/210), in PCT/JP2013/000756, dated Apr. 2, 2013. |
Jiwei Chen, et al., “TCP with delayed ack for wireless networks”, [online], Ad Hoc Networks 6 (2008), p. 1098-1116. |
Miyoshi, et al, “A Study for Improving TCP Performance on Radio Terminal”, IEICE Technical Report, RCS(Radio Communication Systems)2000-265. |
Number | Date | Country | |
---|---|---|---|
20140355472 A1 | Dec 2014 | US |