JP3428883B2 - Data communication method and data communication device - Google Patents

Data communication method and data communication device

Info

Publication number
JP3428883B2
JP3428883B2 JP33337397A JP33337397A JP3428883B2 JP 3428883 B2 JP3428883 B2 JP 3428883B2 JP 33337397 A JP33337397 A JP 33337397A JP 33337397 A JP33337397 A JP 33337397A JP 3428883 B2 JP3428883 B2 JP 3428883B2
Authority
JP
Japan
Prior art keywords
packet
ack
data
transmitting
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP33337397A
Other languages
Japanese (ja)
Other versions
JPH11168525A (en
Inventor
康宏 奥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP33337397A priority Critical patent/JP3428883B2/en
Publication of JPH11168525A publication Critical patent/JPH11168525A/en
Application granted granted Critical
Publication of JP3428883B2 publication Critical patent/JP3428883B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、品質保証がない
伝送路を用いてデータ送受信を行う場合において、一時
的な障害からの回復を高速に行うことができ、かつ、効
率よく通信することができるデータ通信方法およびデー
タ通信装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention enables high-speed recovery from a temporary failure and efficient communication when data is transmitted / received using a transmission line without quality guarantee. The present invention relates to a possible data communication method and a data communication device.

【0002】[0002]

【従来の技術】図5は従来のデータ通信装置によるパケ
ットのやりとりを示す構成図である。従来のデータ通信
装置においては、パケット分割されたデータの送達確認
を1パケットずつ行っていた。具体的には、送信側がパ
ケット1を送信すると、受信側でパケット1を受信し、
直後にパケット1に対するACKを送信側に返す。送信
側がパケット1に対するACKを受信することにより、
次に送信すべきパケット2を送信する。送信側はパケッ
ト2の送信後も同様にして最終パケットまで送信し、最
終パケットに対するACKが送信側に返ってくることに
より、データの送信を完了する。
2. Description of the Related Art FIG. 5 is a block diagram showing packet exchange by a conventional data communication apparatus. In a conventional data communication device, delivery confirmation of packet-divided data is performed for each packet. Specifically, when the transmitting side transmits packet 1, the receiving side receives packet 1,
Immediately after that, ACK for packet 1 is returned to the transmitting side. By the sender receiving the ACK for packet 1,
The packet 2 to be transmitted next is transmitted. The transmitting side similarly transmits up to the final packet after transmitting the packet 2, and the ACK for the final packet is returned to the transmitting side to complete the data transmission.

【0003】次に、伝送路上に何らかの障害が発生して
一時的にパケットが届かなくなった後に伝送路が復旧し
た場合のデータ通信装置について説明する。図6は従来
のデータ通信装置において障害発生時に発生する状態を
示す構成図である。例えば、伝送路上に何らかの障害が
発生して一時的にパケットが届かなくなった後に伝送路
が復旧した場合、例えば、図6に示すようにパケット3
の送信中に障害が発生して、その後伝送路が復旧した場
合、送信側は受信側からのパケット3に対するACK待
ちで送信側がタイムアウトになる。そして、送信側はパ
ケット3を再送するが、その時には伝送路が復旧してい
るためパケット3は受信側で受信でき、パケット3に対
するACKを送信側に返す。次に、送信側はパケット3
に対するACKを受信した後、パケット最終までのパケ
ットの送信とACKの確認を繰り返す。
Next, a description will be given of a data communication apparatus in the case where a transmission line is restored after a packet has temporarily stopped due to some failure on the transmission line. FIG. 6 is a configuration diagram showing a state that occurs when a failure occurs in a conventional data communication device. For example, when the transmission line is restored after some failure occurs on the transmission line and the packet temporarily stops, for example, as shown in FIG.
If a failure occurs during the transmission of the packet and the transmission path is restored after that, the transmitting side times out while waiting for the ACK for the packet 3 from the receiving side. Then, the transmitting side retransmits the packet 3, but at that time, since the transmission path is restored, the packet 3 can be received by the receiving side, and an ACK for the packet 3 is returned to the transmitting side. Next, the sender sends packet 3
After receiving the ACK for the packet, the packet transmission until the end of the packet and the confirmation of the ACK are repeated.

【0004】次に、データの送信側と受信側が入れ替わ
るような構成で伝送路に機器が接続されている場合のデ
ータ通信装置について説明する。図7は従来のデータ通
信装置においてデータの送信側と受信側との入れ替え方
法を示す構成図である。データの送信側と受信側とが入
れ替わるような構成で伝送路に機器が接続されている場
合、従来は図7に示すようにデータ送信側からの接続要
求用のパケット11、及び、受信側で送信側に返す接続
可否を示すためのパケット12をやり取りしてから、図
5に示す方法でデータの送受信を行っていた。
Next, a data communication apparatus will be described in the case where a device is connected to a transmission line in such a configuration that the data transmitting side and the data receiving side are interchanged. FIG. 7 is a block diagram showing a method of exchanging a data transmitting side and a data receiving side in a conventional data communication apparatus. When a device is connected to a transmission line in such a configuration that the data transmitting side and the data receiving side are exchanged, conventionally, as shown in FIG. 7, the connection request packet 11 from the data transmitting side and the receiving side are After exchanging the packet 12 for indicating the connection permission returned to the transmitting side, data is transmitted and received by the method shown in FIG.

【0005】具体的には、データ送信側が受信側に対し
接続要求を含んだパケット11を送信し、受信側が処理
可能であるときは接続可能を示すパケット12を返す
か、処理不能であるときは接続不可を示すパケット12
を返すという処理を行い、送信側に接続可能を示すパケ
ット12が返ったときのみデータ部のパケットをパケッ
ト1から順に送信していた。
Specifically, the data transmitting side transmits a packet 11 including a connection request to the receiving side, and when the receiving side can process, returns a packet 12 indicating a connectable state, or when the receiving side cannot process the packet. Packet 12 indicating that connection is impossible
The packet of the data part is transmitted in order from the packet 1 only when the packet 12 indicating that connection is possible is returned to the transmitting side.

【0006】次に、2つのデータ部の内容が等しい場合
のデータ通信装置を説明する。図8は従来のデータ通信
装置において2つのデータ部の内容が等しい場合のデー
タ送信方法を示す構成図である。従来のデータ通信装置
では、図8で示す例のようにパケット6とパケット7の
データ部の内容が等しい場合、データを2回送信してし
まい、データの重複が起こり、伝送効率を上げることが
できなかった。
Next, a data communication device in which the contents of two data parts are the same will be described. FIG. 8 is a configuration diagram showing a data transmission method when the contents of two data parts are the same in the conventional data communication device. In the conventional data communication device, when the contents of the data parts of the packet 6 and the packet 7 are the same as in the example shown in FIG. 8, the data is transmitted twice, duplication of the data occurs, and the transmission efficiency can be improved. could not.

【0007】[0007]

【発明が解決しようとする課題】従来のデータ通信方法
およびデータ通信装置は以上のように構成されているの
で、送信側が送信する1パケット毎に受信側がACKを
返す必要があるため、データをもつパケットと同じ数だ
けのACKパケットが伝送路を通り、伝送路を効率よく
使用することができないなどの課題があった。
Since the conventional data communication method and data communication apparatus are configured as described above, since the receiving side needs to return an ACK for each packet transmitted by the transmitting side, it has data. As many ACK packets as the number of packets pass through the transmission line, and there is a problem that the transmission line cannot be used efficiently.

【0008】また、図6に示すように伝送路に一時的な
障害が発生した場合、パケット3を送信してからパケッ
ト3に対するACK無しのタイムアウトになるまでの
間、伝送路が空いている状態が続き伝送路の使用効率が
悪くなるなどの課題があった。また、データの送信と受
信が頻繁に入れ替わるような通信を行う場合、従来は送
受信が入れ替わる毎に回線の接続・切断処理を行ってい
てデータ転送以外の余分な時間がかかるなどの課題があ
った。さらに、パケット内のデータが前回送信したパケ
ット内のものと同じ場合に、同じデータを送信していた
ため、時間がかかって効率が悪いなどの課題があった。
Further, as shown in FIG. 6, when a temporary failure occurs in the transmission line, the transmission line is free from the time when the packet 3 is transmitted until the timeout without ACK for the packet 3 is reached. However, there was a problem that the use efficiency of the transmission line deteriorates. Further, when performing communication in which transmission and reception of data are frequently exchanged, conventionally, there is a problem that extra time other than data transfer is taken because connection / disconnection processing of the line is performed every time transmission / reception is exchanged. . Further, when the data in the packet is the same as the one in the packet transmitted last time, the same data was transmitted, which took time and was inefficient.

【0009】この発明は上記のような課題を解決するた
めになされたもので、データの送信時にパケットの通し
番号をパケットに付与して先頭及び最終パケット以外の
ACKを不要とした上で、障害発生時には受信側が不到
着のパケットからの再送を送信側に要求する事により、
回復に要する時間を最小限にし、伝送路を効率良く用い
るデータ通信方法およびデータ通信装置を得ることを目
的とする。
The present invention has been made in order to solve the above problems. When data is transmitted, a serial number of the packet is added to the packet to eliminate the need for ACKs other than the first and last packets, and a failure occurs. Sometimes the receiving side requests the sending side to retransmit from undelivered packets,
An object of the present invention is to obtain a data communication method and a data communication device that minimize the recovery time and efficiently use a transmission path.

【0010】また、この方法のもとで、データ送受信の
入れ替えのオーバヘッドを削減することや、重複データ
の圧縮を行うことによりデータ送信の効率を改善するこ
とができるデータ通信方法およびデータ通信装置を得る
ことを目的とする。
Further, based on this method, there is provided a data communication method and a data communication device capable of reducing the overhead of exchanging data transmission / reception and improving the efficiency of data transmission by compressing duplicate data. The purpose is to get.

【0011】[0011]

【課題を解決するための手段】この発明に係るデータ通
信方法は、送信手段からの最初のパケットの送信後、受
信手段では上記パケット中の通し番号を確認しACKを
上記送信手段に返信し、上記送信手段では上記受信手段
からのACKを待ち、このACKが返信された後2番目
のパケット以降を続けて送信し、最後のパケット送信後
にも上記受信手段からのACKを待ち、このACKが返
ってくることにより送信処理を完了するようにしたもの
である。
In the data communication method according to the present invention, after transmitting the first packet from the transmitting means, the receiving means confirms the serial number in the packet and returns an ACK to the transmitting means. The transmitting means waits for the ACK from the receiving means, continuously transmits the second and subsequent packets after the ACK is returned, waits for the ACK from the receiving means even after the last packet is transmitted, and returns this ACK. The transmission process is completed when the transmission is completed.

【0012】この発明に係るデータ通信方法は、伝送路
に障害が発生してパケットが抜け、その次のパケットが
受信手段に到着すると、この受信手段は抜けたパケット
を検知し、この抜けたパケットからの再送を要求し、送
信手段はこの受信手段からの受信されなかったパケット
の再送要求信号を受信すると、次に送信するパケットを
再送要求信号に基づいたパケットに変更し、データ送信
を続けるようにしたものである。
In the data communication method according to the present invention, when a packet is dropped due to a failure in the transmission line and the next packet arrives at the receiving means, the receiving means detects the dropped packet and the dropped packet is detected. Requesting retransmission from the receiving means and the transmitting means receives the retransmission request signal of the packet not received from the receiving means, changes the packet to be transmitted next to a packet based on the retransmission request signal and continues data transmission. It is the one.

【0013】この発明に係るデータ通信方法は、1つ前
のパケットと同じデータ部を持つパケットを送信する場
合、送信手段は前回送信したパケットのデータと今回送
信するパケットのデータが同じ事を示す重複フラグをパ
ケットのヘッダ部に立てて送信し、受信手段ではこの送
信手段からのパケットの重複フラグを確認し、この重複
フラグが立っている場合には前回受信したパケットのデ
ータ部をコピーするようにしたものである。
In the data communication method according to the present invention, when a packet having the same data portion as the immediately preceding packet is transmitted, the transmitting means indicates that the data of the packet transmitted last time and the data of the packet transmitted this time are the same. The duplication flag is set in the header part of the packet and transmitted, and the reception means checks the duplication flag of the packet from this transmission means. If this duplication flag is set, the data part of the previously received packet should be copied. It is the one.

【0014】[0014]

【0015】この発明に係るデータ通信装置は、送信手
段では最初のパケットの送信後、受信手段からのACK
を待ち、このACKが返信された後2番目のパケット以
降を続けて送信し、最後のパケット送信後にも上記受信
手段からのACKを待ち、このACKが返ってくること
により送信処理を完了し、受信手段ではパケット中の通
し番号を確認し、最初のパケット、および最後のパケッ
ト受信後に上記ACKを上記送信手段に返信するように
したものである。
In the data communication apparatus according to the present invention, the transmitting means transmits the first packet and then the ACK from the receiving means.
Waiting for the ACK, the second and subsequent packets are continuously transmitted after the ACK is returned, the ACK from the receiving means is waited even after the last packet is transmitted, and the transmission processing is completed by returning the ACK, The receiving means confirms the serial number in the packet and returns the ACK to the transmitting means after receiving the first packet and the last packet.

【0016】[0016]

【0017】[0017]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるデ
ータ通信方法を示す構成図であり、図において、10は
最初のパケット1の送信後、受信手段20からのACK
を待ち、ACKが返ってきてからパケット2以降を続け
て送信する送信手段であり、最後のパケット送信後にも
受信手段20からのACKを待ち、ACKが返ってくる
ことにより、送信処理を完了する。20はパケット中の
通し番号をみて、最初のパケット、及び最後のパケット
受信後に、ACKを送信手段10に返す受信手段であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. Embodiment 1. 1 is a block diagram showing a data communication method according to Embodiment 1 of the present invention. In FIG. 1, 10 is an ACK from a receiving means 20 after the first packet 1 is transmitted.
Is a transmission means for continuously transmitting the packet 2 and subsequent packets after the ACK is returned, waiting for the ACK from the reception means 20 even after the last packet is transmitted, and the ACK is returned, thereby completing the transmission processing. . Reference numeral 20 is a receiving unit that returns the ACK to the transmitting unit 10 after receiving the first packet and the last packet by looking at the serial number in the packet.

【0018】次に動作について説明する。送信手段10
は最初のパケット1の送信後、受信手段20からのAC
Kを待ち、ACKが返ってきてからパケット2以降を続
けて送信し、最後のパケット送信後にも受信手段20か
らのACKを待ち、ACKが返ってくることにより、送
信処理を完了する。受信手段20はパケット中の通し番
号をみて、最初のパケット、及び最後のパケット受信後
に、ACKを送信手段10に返すことにより、送信完了
とする。
Next, the operation will be described. Transmission means 10
Is the AC from the receiving means 20 after the first packet 1 is transmitted.
Waiting for K, transmitting packets 2 and subsequent packets continuously after ACK is returned, waiting for ACK from the receiving means 20 even after the last packet is transmitted, and returning ACK, the transmission processing is completed. The receiving means 20 looks at the serial number in the packet, and after receiving the first packet and the last packet, returns ACK to the transmitting means 10 to complete the transmission.

【0019】以上のように、この実施の形態1によれ
ば、送信手段10はACKを確認するパケットの位置
を、回線の接続のための最初のパケットと、最後のパケ
ットのみに限定してデータを伝送するため、送信効率を
上げることができるなどの効果が得られる。
As described above, according to the first embodiment, the transmitting means 10 limits the position of the packet for confirming the ACK to only the first packet and the last packet for the connection of the line. Is transmitted, so that it is possible to obtain the effect that the transmission efficiency can be improved.

【0020】実施の形態2.図2はこの発明の実施の形
態2によるデータ通信方法を示す構成図であり、図にお
いて、30は受信手段40からの受信されなかったパケ
ットの再送要求信号を受信すると、次に送信するパケッ
トを再送要求信号に基づいたパケットに変更し、データ
送信を続ける送信手段、40は伝送路に障害が発生し
て、例えばパケット3が抜け、パケット4が到着すると
パケット3の抜けを検知し、パケット3からの再送を送
信手段30に対し要求する受信手段である。
Embodiment 2. FIG. 2 is a block diagram showing a data communication method according to a second embodiment of the present invention. In FIG. 2, reference numeral 30 indicates a packet to be transmitted next when a retransmission request signal of a packet not received from the receiving means 40 is received. The transmitting unit 40, which changes the packet based on the resend request signal and continues data transmission, detects, for example, packet 3 dropout and packet 3 dropout when packet 3 is dropped due to a failure in the transmission path, and packet 3 dropout is detected. Is a receiving means for requesting the transmitting means 30 to retransmit the data.

【0021】次に動作について説明する。受信手段40
は伝送路に障害が発生して、例えばパケット3が抜け、
パケット4が到着するとパケット3の抜けを検知し、パ
ケット3からの再送を送信側に対し要求する再送要求信
号を返信する。次に、送信手段30はこの再送要求信号
を受信すると、即座に送信するデータをパケット3に変
更し、データ送信を続ける。
Next, the operation will be described. Receiving means 40
Caused a failure in the transmission path, and for example packet 3 was dropped,
When the packet 4 arrives, the dropout of the packet 3 is detected, and a retransmission request signal for requesting the retransmission from the packet 3 is returned. Next, when the transmitting means 30 receives this retransmission request signal, it immediately changes the data to be transmitted to the packet 3 and continues the data transmission.

【0022】以上のように、この実施の形態2によれ
ば、従来のようにパケットの抜けをタイムアウトで待つ
ことがないので、障害が発生しても早期に回復すること
ができるなどの効果が得られる。
As described above, according to the second embodiment, there is no need to wait for a packet loss due to a timeout as in the conventional case, so that even if a failure occurs, it is possible to recover early. can get.

【0023】実施の形態3.図3はこの発明の実施の形
態3によるデータ通信方法を示す構成図であり、図にお
いて、50は1個前のパケットと同じデータ部52を持
つパケットを送信する場合、送信するパケット中のヘッ
ダ部51の重複フラグを立て、前回送信したパケット中
のデータと今回のパケットのデータが同じ事を示す送信
手段である。60は送信手段50からのパケット中の重
複フラグを確認し、この重複フラグが立っている場合に
は前回受信パケットのデータ部52をコピーする受信手
段である。
Embodiment 3. 3 is a block diagram showing a data communication method according to a third embodiment of the present invention. In the figure, when transmitting a packet having the same data portion 52 as the previous packet, 50 is a header in the packet to be transmitted. This is a transmission unit that sets the duplication flag of the unit 51 and indicates that the data in the packet transmitted last time and the data in this packet are the same. Reference numeral 60 is a receiving means for confirming the duplication flag in the packet from the transmitting means 50 and copying the data portion 52 of the previously received packet when this duplication flag is set.

【0024】次に動作について説明する。送信手段50
は、1個前のパケットと同じデータ部52を持つパケッ
トを送信する場合、送信するパケット中のヘッダ部51
の重複フラグを立て、前回送信したパケット中のデータ
と今回のパケットのデータが同じ事を明示する。受信手
段60ではパケット中の重複フラグを確認し、この重複
フラグが立っている場合には前回の受信パケットのデー
タ部52をコピーする。したがって、前回のデータ部5
2と今回のデータ部52とが同一の場合には、送信手段
50はヘッダ部51のみの送信でよい。
Next, the operation will be described. Transmission means 50
When transmitting a packet having the same data portion 52 as the previous packet, the header portion 51 in the packet to be transmitted is
The duplicate flag is set to indicate that the data in the previously transmitted packet and the data in this packet are the same. The receiving means 60 confirms the duplication flag in the packet, and when the duplication flag is set, copies the data portion 52 of the previous reception packet. Therefore, the previous data section 5
When 2 and the data section 52 of this time are the same, the transmitting unit 50 may transmit only the header section 51.

【0025】以上のように、この実施の形態3によれ
ば、送信するパケットのデータ部52が1つ前のパケッ
トのデータ部52と同一である場合には、受信手段60
においてデータ部52をコピーするため、データの伝送
時間を節約することができるなどの効果が得られる。
As described above, according to the third embodiment, when the data part 52 of the packet to be transmitted is the same as the data part 52 of the immediately preceding packet, the receiving means 60 is provided.
Since the data section 52 is copied in step 1, the effect that the data transmission time can be saved can be obtained.

【0026】実施の形態4.図4はこの発明の実施の形
態4によるデータ通信方法を示す構成図であり、図にお
いて、70は最終パケットに送受信入れ替えフラグを付
与するとともに、送受信入れ替え後に、第2の送受信手
段80からのパケットの1つ目を受信することにより受
信処理に移る第1の送受信手段、80は送受信入れ替え
フラグの立ったパケットの受信後は、送信するデータを
準備し、本来送信するはずである最終パケットに対する
ACKに替わり、送信パケットの1つ目を送信する第2
の送受信手段である。
Fourth Embodiment 4 is a block diagram showing a data communication method according to a fourth embodiment of the present invention. In the figure, reference numeral 70 denotes a packet from the second transmission / reception unit 80 after the transmission / reception exchange flag is added to the final packet. The first transmitting / receiving means 80 shifts to the receiving process by receiving the first packet of the first packet, and after receiving the packet with the transmission / reception exchange flag set, 80 prepares the data to be transmitted, and ACKs the final packet that should originally be transmitted. 2nd to send the first of the transmitted packets instead of
It is a means of transmitting and receiving.

【0027】次に動作について説明する。第1の送受信
手段70は最終パケットに送受信入れ替えフラグを付与
し、第2の送受信手段80に送信する。第2の送受信手
段80はこのフラグが立ったパケットを受信後は、即座
に送信するデータを準備し、本来送信するはずである最
終パケットに対するACKに替わり、送信パケットの1
つ目を第1の送受信手段70に送信する。第1の送受信
手段70では第2の送受信手段80からパケットの1つ
目を受信することにより即座に受信処理に移る。
Next, the operation will be described. The first transmission / reception unit 70 attaches a transmission / reception exchange flag to the final packet and transmits it to the second transmission / reception unit 80. After receiving the packet in which this flag is set, the second transmitting / receiving means 80 immediately prepares the data to be transmitted, replaces the ACK for the last packet which should be originally transmitted, and sets 1 of the transmitted packet.
The second item is transmitted to the first transmitting / receiving means 70. The first transmission / reception unit 70 receives the first packet from the second transmission / reception unit 80, and immediately shifts to the reception process.

【0028】以上のように、この実施の形態4によれ
ば、接続処理を行うことなくデータの送受信方向の入れ
替えを行うことができるため、伝送路を効率良く使用す
ることができるなどの効果が得られる。
As described above, according to the fourth embodiment, the transmission / reception directions of data can be exchanged without performing connection processing, so that there is an effect that the transmission path can be used efficiently. can get.

【0029】[0029]

【発明の効果】以上のように、この発明によれば、送信
手段からの最初のパケットの送信後、受信手段では上記
パケット中の通し番号を確認しACKを上記送信手段に
返信し、上記送信手段では上記受信手段からのACKを
待ち、このACKが返信された後2番目のパケット以降
を続けて送信し、最後のパケット送信後にも上記受信手
段からのACKを待ち、このACKが返ってくることに
より送信処理を完了するように構成したので、送信効率
を上げることができる効果がある。
As described above, according to the present invention, after transmitting the first packet from the transmitting means, the receiving means confirms the serial number in the packet and returns an ACK to the transmitting means, and then the transmitting means. Then, wait for the ACK from the receiving means, continuously transmit the second and subsequent packets after the ACK is returned, wait for the ACK from the receiving means even after the last packet is transmitted, and return this ACK. Since the transmission processing is completed by the above, there is an effect that the transmission efficiency can be improved.

【0030】この発明によれば、伝送路に障害が発生し
てパケットが抜け、その次のパケットが受信手段に到着
すると、この受信手段は抜けたパケットを検知し、この
抜けたパケットからの再送を要求し、送信手段はこの受
信手段からの受信されなかったパケットの再送要求信号
を受信すると、次に送信するパケットを再送要求信号に
基づいたパケットに変更し、データ送信を続けるように
構成したので、障害が発生しても早期に回復することが
できる効果がある。
According to the present invention, when a packet is dropped due to a failure in the transmission line and the next packet arrives at the receiving means, this receiving means detects the dropped packet and retransmits from this dropped packet. And the transmitting means receives the retransmission request signal of the packet not received from the receiving means, changes the packet to be transmitted next to a packet based on the retransmission request signal, and is configured to continue the data transmission. Therefore, even if a failure occurs, there is an effect that it can be recovered early.

【0031】この発明によれば、1つ前のパケットと同
じデータ部を持つパケットを送信する場合、送信手段は
前回送信したパケットのデータと今回送信するパケット
のデータが同じ事を示す重複フラグをパケットのヘッダ
部に立てて送信し、受信手段ではこの送信手段からのパ
ケットの重複フラグを確認し、この重複フラグが立って
いる場合には前回受信したパケットのデータ部をコピー
するように構成したので、データの伝送時間を節約する
ことができる効果がある。
According to the present invention, when transmitting a packet having the same data portion as the previous packet, the transmitting means sets a duplication flag indicating that the data of the packet transmitted last time and the data of the packet transmitted this time are the same. The header section of the packet is set up for transmission, the receiving means checks the duplication flag of the packet from this sending means, and if this duplication flag is set, the data section of the previously received packet is copied. Therefore, there is an effect that the data transmission time can be saved.

【0032】[0032]

【0033】この発明によれば、送信手段では最初のパ
ケットの送信後、受信手段からのACKを待ち、このA
CKが返信された後2番目のパケット以降を続けて送信
し、最後のパケット送信後にも上記受信手段からのAC
Kを待ち、このACKが返ってくることにより送信処理
を完了し、受信手段ではパケット中の通し番号を確認
し、最初のパケット、および最後のパケット受信後に上
記ACKを上記送信手段に返信するように構成したの
で、送信効率を上げることができる効果がある。
According to the present invention, the transmitting means waits for an ACK from the receiving means after transmitting the first packet, and
The second and subsequent packets are continuously transmitted after the CK is returned, and the AC from the receiving means is transmitted even after the last packet is transmitted.
Waiting for K, the transmission process is completed by returning this ACK, the receiving means confirms the serial number in the packet, and returns the ACK to the transmitting means after receiving the first packet and the last packet. Since it is configured, there is an effect that the transmission efficiency can be increased.

【0034】[0034]

【図面の簡単な説明】[Brief description of drawings]

【図1】 この発明の実施の形態1によるデータ通信方
法を示す構成図である。
FIG. 1 is a configuration diagram showing a data communication method according to a first embodiment of the present invention.

【図2】 この発明の実施の形態2によるデータ通信方
法を示す構成図である。
FIG. 2 is a configuration diagram showing a data communication method according to a second embodiment of the present invention.

【図3】 この発明の実施の形態3によるデータ通信方
法を示す構成図である。
FIG. 3 is a configuration diagram showing a data communication method according to a third embodiment of the present invention.

【図4】 この発明の実施の形態4によるデータ通信方
法を示す構成図である。
FIG. 4 is a configuration diagram showing a data communication method according to a fourth embodiment of the present invention.

【図5】 従来のデータ通信装置によるパケットのやり
とりを示す構成図である。
FIG. 5 is a configuration diagram showing packet exchange by a conventional data communication device.

【図6】 従来のデータ通信装置において障害発生時に
発生する状態を示す構成図である。
FIG. 6 is a configuration diagram showing a state that occurs when a failure occurs in a conventional data communication device.

【図7】 従来のデータ通信装置においてデータの送信
側と受信側との入れ替え方法を示す構成図である。
FIG. 7 is a configuration diagram showing a method of exchanging a data transmission side and a data reception side in a conventional data communication apparatus.

【図8】 従来のデータ通信装置において2つのデータ
部の内容が等しい場合のデータ送信方法を示す構成図で
ある。
FIG. 8 is a configuration diagram showing a data transmission method when the contents of two data parts are the same in the conventional data communication device.

【符号の説明】[Explanation of symbols]

10,30,50 送信手段、20,40,60 受信
手段、70 第1の送受信手段、80 第2の送受信手
段。
10, 30, 50 transmitting means, 20, 40, 60 receiving means, 70 first transmitting / receiving means, 80 second transmitting / receiving means.

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/08 H04L 12/56 Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 29/08 H04L 12/56

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信手段からの最初のパケットの送信
後、受信手段では上記パケット中の通し番号を確認しA
CKを上記送信手段に返信し、上記送信手段では上記受
信手段からのACKを待ち、このACKが返信された後
2番目のパケット以降を続けて送信し、最後のパケット
送信後にも上記受信手段からのACKを待ち、このAC
Kが返ってくることにより送信処理を完了することを特
徴とするデータ通信方法。
1. After transmitting the first packet from the transmitting means, the receiving means confirms the serial number in the packet and
CK is returned to the transmission means, the transmission means waits for an ACK from the reception means, the second and subsequent packets are continuously transmitted after the ACK is returned, and the reception means also transmits the last packet. Wait for ACK of this AC
A data communication method characterized in that transmission processing is completed when K is returned.
【請求項2】 伝送路に障害が発生してパケットが抜
け、その次のパケットが受信手段に到着すると、受信手
段は抜けたパケットを検知し、この抜けたパケットから
の再送を要求し、送信手段はこの受信手段からの受信さ
れなかったパケットの再送要求信号を受信すると、次に
送信するパケットを再送要求信号に基づいたパケットに
変更し、データ送信を続けることを特徴とする請求項1
記載のデータ通信方法。
2. When a failure occurs in a transmission line and a packet is dropped and the next packet arrives at the receiving means, the receiving means detects the dropped packet, requests retransmission from the dropped packet, and transmits the packet. The means, when receiving the retransmission request signal of the packet not received from the receiving means, changes the packet to be transmitted next to the packet based on the retransmission request signal, and continues the data transmission.
Described data communication method.
【請求項3】 1つ前のパケットと同じデータ部を持つ
パケットを送信する場合、送信手段は前回送信したパケ
ットのデータと今回送信するパケットのデータが同じ事
を示す重複フラグをパケットのヘッダ部に立てて送信
し、受信手段ではこの送信手段からのパケットの重複フ
ラグを確認し、この重複フラグが立っている場合には前
回受信したパケットのデータ部をコピーすることを特徴
とする請求項1または請求項2記載のデータ通信方法。
3. When transmitting a packet having the same data portion as the previous packet, the transmitting means sets a duplication flag indicating that the data of the packet transmitted last time and the data of the packet transmitted this time are the same as the header portion of the packet. 2. The data part of the packet received last time is copied when the duplication flag of the packet from the sending means is confirmed by the receiving means and the duplication flag is set in the receiving means. Alternatively, the data communication method according to claim 2.
【請求項4】 最初のパケットの送信後、受信手段から
のACKを待ち、このACKが返信された後2番目のパ
ケット以降を続けて送信し、最後のパケット送信後にも
上記受信手段からのACKを待ち、このACKが返って
くることにより送信処理を完了する送信手段と、 上記パケット中の通し番号を確認し、最初のパケット、
および最後のパケット受信後に上記ACKを上記送信手
段に返信する受信手段とを備えたことを特徴とするデー
タ通信装置
4. An ACK from the receiving means after waiting for an ACK from the receiving means after transmitting the first packet, continuously transmitting the second and subsequent packets after the ACK is returned, Wait for the ACK and confirm the serial number in the packet and the transmission means that completes the transmission process by returning this ACK, the first packet,
And a receiving means for returning the ACK to the transmitting means after the last packet is received .
JP33337397A 1997-12-03 1997-12-03 Data communication method and data communication device Expired - Fee Related JP3428883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33337397A JP3428883B2 (en) 1997-12-03 1997-12-03 Data communication method and data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33337397A JP3428883B2 (en) 1997-12-03 1997-12-03 Data communication method and data communication device

Publications (2)

Publication Number Publication Date
JPH11168525A JPH11168525A (en) 1999-06-22
JP3428883B2 true JP3428883B2 (en) 2003-07-22

Family

ID=18265393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33337397A Expired - Fee Related JP3428883B2 (en) 1997-12-03 1997-12-03 Data communication method and data communication device

Country Status (1)

Country Link
JP (1) JP3428883B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020053316A (en) * 2000-12-27 2002-07-05 구자홍 The packet transfer method for a massive data
KR20030024380A (en) * 2001-09-18 2003-03-26 한국전자통신연구원 Method and Apparetus for Transferring Loading Data Using Response Delay In ATM Switch
KR100847013B1 (en) 2005-12-08 2008-07-17 한국전자통신연구원 Control Apparatus and Method of Retransmission on MAC for Multiple Receiver to Reduce Data Transmission Delay
JP4624252B2 (en) * 2005-12-14 2011-02-02 Necカシオモバイルコミュニケーションズ株式会社 Data packet transfer device, data packet transfer method, and data packet transfer program
US7693070B2 (en) * 2007-03-15 2010-04-06 International Business Machines Corporation Congestion reducing reliable transport packet retry engine

Also Published As

Publication number Publication date
JPH11168525A (en) 1999-06-22

Similar Documents

Publication Publication Date Title
JP3001435B2 (en) Data retransmission method in confirmation type information transfer
JPS63109624A (en) Simultaneous communication system
CN113765976A (en) Communication method and system
JP3000911B2 (en) Automatic setting of optimal number of frames waiting for retransmission of automatic retransmission protocol in mobile facsimile communication
JP3428883B2 (en) Data communication method and data communication device
CN103607311A (en) System and method for reestablishing TCP connection seamlessly
JPH0567092B2 (en)
JP3194868B2 (en) Packet transfer device
JPS6350901B2 (en)
JPH1070523A (en) Method and equipment for packet transmission
JP2001069156A (en) System for reliably transferring data between at least two stations mutually connected through radio information transmission network
EP1427127A2 (en) Communication control method, communication system and communication apparatus that can improve throughput
JPH114259A (en) Virtual connection communication equipment and communication method
JP3219070B2 (en) Line restoration method
JP2003229900A (en) Repeat processor and its method
JPS63272240A (en) Polling system
JP2980646B2 (en) Frame retransmission method
JP2968646B2 (en) X. 25 / X. 75 layer 2 processing unit
JP2848298B2 (en) Message sending and receiving method and message sending and receiving method
JPH0685875A (en) Data communication system
JPS58219856A (en) Data communication system
JPH02202151A (en) Data transmission equipment
JP2001218276A (en) Data communication method and equipment in mobile communication system
JPH07221741A (en) Line quality improving equipment
JPH0746289A (en) Communication control system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080516

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees