JP2006148784A - Communication method, and communication device - Google Patents

Communication method, and communication device Download PDF

Info

Publication number
JP2006148784A
JP2006148784A JP2004339130A JP2004339130A JP2006148784A JP 2006148784 A JP2006148784 A JP 2006148784A JP 2004339130 A JP2004339130 A JP 2004339130A JP 2004339130 A JP2004339130 A JP 2004339130A JP 2006148784 A JP2006148784 A JP 2006148784A
Authority
JP
Japan
Prior art keywords
data
transmission
sequence number
packet
communication
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
JP2004339130A
Other languages
Japanese (ja)
Inventor
Hiroaki Sato
浩明 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004339130A priority Critical patent/JP2006148784A/en
Publication of JP2006148784A publication Critical patent/JP2006148784A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication method, and a communication device which do not need transceiving of special control information between a transmitting terminal and a receiving terminal in an error data retransmission procedure. <P>SOLUTION: The composition is that all data to be transmitted are temporarily stored in a transmitting buffer; the data stored in the transmitting buffer are given a transmitting sequence number which uniquely shows the data; transmitting packets are sent composing a data unit of a transmitting sequence number, the maximum transmitting sequence number which shows the last data of the transmitting buffer at the time of transmitting, and the data, and also composing a header unit by a sequence number, etc. which shows a sequence of the data in the transmitting data; in a receiving side, the data are reconstructed by the sequence number, when a lost packet is detected by missing of the transmitting sequence number, a retransmission request is performed, a packet including the retransmission data is determined by packets from the transmitted side of just before and just after the retransmission request packet. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、一つの通信媒体を共用した通信方法、及び通信装置に関し、特に、伝送中にエラーが発生したエラーデータを再度送信し直すことにより、データの信頼性を向上させるエラーデータ再送方法、及び通信装置に関するものである。   The present invention relates to a communication method and a communication apparatus that share one communication medium, and in particular, an error data retransmission method that improves data reliability by retransmitting error data in which an error has occurred during transmission, And a communication apparatus.

送受信機間で自動的にエラーパケットを再送することにより伝送データの信頼性を保証する方式であるARQ(Automatic Repeat Request)方式には、ストップアンドウェイト方式やGBN(Go Back N)方式、あるいは、SR−ARQ(Selective Repeat-ARQ)方式などがある。このうち、ストップアンドウェイト方式は、送信機から送信されたパケットを受信機側で正常に受信できた場合は、受信機がACK(Acknowledgment)を応答し、正常に受信できなかった場合はNAK(Negative Acknowledgment)を応答し、送信機は、NAKが応答された場合は再度当該パケットを伝送して、伝送データの信頼性を保証するものである。また、GBN方式は、送信機が複数のパケットをまとめて送信し、受信機側でこれら複数のパケットをまとめて受信した後、正常に受信できたパケットまでのシーケンス番号を送信機側に応答し、送信機は応答されたシーケンス番号の次のパケット以降のデータを再度まとめて送信することによりデータの信頼性を保証するものである。また、SR−ARQ方式は、送信機が複数のパケットを送信し、受信機側でこれら複数のパケットをまとめて受信した後、正常に受信できなかったパケットのみのシーケンス番号を送信機側に応答し、送信機は応答されたシーケンス番号のパケットを再度送信してデータの信頼性を保証するものである。   The ARQ (Automatic Repeat Request) method, which is a method of guaranteeing the reliability of transmission data by automatically retransmitting error packets between the transceivers, is a stop-and-wait method, a GBN (Go Back N) method, or There is an SR-ARQ (Selective Repeat-ARQ) method. Of these, the stop-and-wait method is such that when the packet transmitted from the transmitter is normally received at the receiver side, the receiver responds with an ACK (Acknowledgment), and when the packet is not normally received, NAK ( Negative Acknowledgment) is returned, and when the NAK is returned, the transmitter transmits the packet again to guarantee the reliability of the transmission data. In GBN, the transmitter transmits a plurality of packets in a lump, and after receiving the plurality of packets together on the receiver side, the sequence number up to the successfully received packet is returned to the transmitter side. The transmitter guarantees the reliability of the data by re-sending the data after the packet next to the responded sequence number and transmitting it again. In the SR-ARQ scheme, the transmitter transmits a plurality of packets, and after receiving the plurality of packets together on the receiver side, the sequence number of only the packets that could not be received normally is returned to the transmitter side. Then, the transmitter transmits the packet with the returned sequence number again to guarantee the reliability of the data.

また、その他の先行技術としては、送受信機間で複数のパケットを伝送できる所定周期のフレームを構成し、前記フレームを制御情報領域とデータ領域とに分け、データ領域では送信機側から複数のパケットを伝送し、制御情報領域では受信機側から、前記複数のパケット中で正常に受信できたパケットのシーケンス番号または正常に受信できなかったパケットのシーケンス番号をACKとして伝送するものがある。この方法では、送信機側では、エラーパケットのシーケンス番号を前記ACKにて検出すると、次のフレームにおいて再度伝送を行うようにしている(例えば、特許文献1参照)。
特開平10−117182号公報
As another prior art, a frame having a predetermined cycle capable of transmitting a plurality of packets between a transmitter and a receiver is configured, and the frame is divided into a control information area and a data area. In the data area, a plurality of packets are transmitted from the transmitter side. In the control information area, the receiver side transmits a sequence number of a packet that has been normally received among the plurality of packets or a sequence number of a packet that has not been normally received as an ACK. In this method, on the transmitter side, when the sequence number of an error packet is detected by the ACK, transmission is performed again in the next frame (see, for example, Patent Document 1).
JP-A-10-117182

しかしながら、上記のような従来の技術では、送信機側が送信したパケットに対して受信機側が応答を返す手順が必要であり、応答によって送信機側と受信機側で伝送手順の同期が行われるため、例えば無線通信のような劣悪な伝送環境による通信の場合は、往来するパケット中の、特にACKのような手順の制御情報が伝送できなかった時は、送信機側と受信機側で伝送手順の同期が出来なくなり、送信機側で応答を待つ待ち時間が発生したり、受信機側で正常受信されたにもかかわらず再度同じデータを送信してしまうような、伝送上のオーバーヘッドが発生するため、伝送効率が媒体の伝送特性以上に劣化するという課題があった。   However, in the conventional technology as described above, a procedure is required for the receiver side to return a response to the packet transmitted by the transmitter side, and the transmission procedure is synchronized between the transmitter side and the receiver side by the response. For example, in the case of communication in a poor transmission environment such as wireless communication, when the control information of the procedure, such as ACK, in the incoming and outgoing packets could not be transmitted, the transmission procedure on the transmitter side and the receiver side Cannot be synchronized, and there is a waiting time for the transmitter to wait for a response, or transmission overhead occurs such that the same data is sent again despite normal reception at the receiver. Therefore, there is a problem that the transmission efficiency is deteriorated more than the transmission characteristics of the medium.

本発明は、上記のような従来の課題を解決するためになされたものであり、送信側と受信側とで制御信号などの応答を行わずに、エラーデータの再送を行うことのできる通信方法、及び通信装置を提供することを目的とするものである。   The present invention has been made to solve the above-described conventional problems, and is a communication method capable of retransmitting error data without performing a response such as a control signal between the transmission side and the reception side. And it aims at providing a communication apparatus.

上記のような従来の課題を解決するために、本発明の請求項1に記載の通信方法は、複数の通信端末が、一つの通信媒体を共用して、パケット単位のデータ交換を行うデータ通信方法において、前記複数の通信端末のうち、送信端末は、自局の端末アドレスを示す送信局アドレスと、受信局の端末アドレスを示す受信局アドレスと、通信相手局ごとに通信データの順番を示すシーケンス番号とを含む、パケットのヘッダ部を作成するヘッダ部作成ステップと、送信する全てのデータを、送信順に、送信バッファに一時記憶するバッファリングステップと、前記送信バッファに格納されたデータを一意に示す送信シーケンス番号を、前記送信バッファに格納されたデータに対して付与する送信シーケンス番号付与ステップと、送信するデータと、該データに与えられた前記送信シーケンス番号と、データ送信時点で前記送信バッファに格納されている最後のデータに与えられた前記送信シーケンス番号である最大送信シーケンス番号とを含む送信パケットのデータ部を作成するデータ部作成ステップと、前記ヘッダ部と前記データ部とからなるパケットを、前記複数の通信端末の内の受信端末に送信するデータ送信ステップと、を有し、上記送信端末は、受信端末から、データの再送を要求する再送パケットを受信した場合は、該再送パケットに含まれる前記シーケンス番号が示すデータを、前記送信バッファに記憶し、該データに前記送信シーケンス番号を付与して前記受信端末に送信することを特徴とする。   In order to solve the conventional problems as described above, the communication method according to claim 1 of the present invention is a data communication in which a plurality of communication terminals share one communication medium and exchange data in units of packets. In the method, the transmitting terminal among the plurality of communication terminals indicates a transmitting station address indicating a terminal address of the own station, a receiving station address indicating a terminal address of the receiving station, and an order of communication data for each communication partner station. A header part creation step for creating a header part of a packet including a sequence number; a buffering step for temporarily storing all data to be transmitted in a transmission buffer in the order of transmission; and the data stored in the transmission buffer is unique. A transmission sequence number assigning step for assigning the transmission sequence number shown in FIG. 4 to the data stored in the transmission buffer; A data portion of a transmission packet including the transmission sequence number given to the data and a maximum transmission sequence number which is the transmission sequence number given to the last data stored in the transmission buffer at the time of data transmission A data part creating step for creating, and a data sending step for sending a packet comprising the header part and the data part to a receiving terminal of the plurality of communication terminals, wherein the transmitting terminal is a receiving terminal When a retransmission packet requesting retransmission of data is received, the data indicated by the sequence number included in the retransmission packet is stored in the transmission buffer, and the transmission sequence number is assigned to the data and the reception is performed. It transmits to a terminal, It is characterized by the above-mentioned.

また、本発明の請求項2に記載の通信方法は、請求項1に記載の通信方法において、前記複数の通信端末のうち、受信端末は、前記データ送信ステップにて送信されたパケットを受信するパケット受信ステップと、前記受信パケットのヘッダ部に含まれる受信アドレスから、該パケットが自局宛てのデータか否かを判断する判定ステップと、受信パケットに含まれる前記送信シーケンス番号を管理し、欠番からロストパケットを検出するロストパケット検出ステップと、受信する全てのパケットの前記データ部に含まれる、送信シーケンス番号を管理する送信シーケンス番号管理ステップと、を備え、前記ロストパケット検出ステップにおいてロストパケットを検出した場合は、該ロストパケットに含まれるデータの前記シーケンス番号を含む再送要求パケットを送信し、前記再送要求パケットを送信する直前に受信したパケットの前記最大送信シーケンス番号と、前記再送要求パケットを送信した直後に受信したパケットの前記最大送信シーケンス番号とに基づき、自局宛ての再送データに与えられる前記送信シーケンス番号を検出し、前記再送データに与えられる送信シーケンス番号が付されたパケットを受信して、ロストパケットを得ることを特徴とする。   Moreover, the communication method according to claim 2 of the present invention is the communication method according to claim 1, wherein the receiving terminal among the plurality of communication terminals receives the packet transmitted in the data transmission step. A packet reception step, a determination step for determining whether or not the packet is data addressed to the own station from a reception address included in a header portion of the reception packet, and the transmission sequence number included in the reception packet. A lost packet detection step for detecting a lost packet from the transmission packet, and a transmission sequence number management step for managing a transmission sequence number included in the data portion of all received packets, wherein the lost packet is detected in the lost packet detection step. If detected, the sequence number of the data included in the lost packet is included. Based on the maximum transmission sequence number of the packet received immediately before transmitting the retransmission request packet and the maximum transmission sequence number of the packet received immediately after transmitting the retransmission request packet. The transmission sequence number given to the retransmission data addressed to the station is detected, a packet with the transmission sequence number given to the retransmission data is received, and a lost packet is obtained.

また、本発明の請求項3に記載の通信方法は、請求項2に記載の通信方法において、前記受信端末は、前記送信シーケンス番号検出ステップにて検出された送信シーケンス番号が与えられたパケットが、前記再送要求の再送データではない場合は、再度再送要求を行うことを特徴とする。   The communication method according to claim 3 of the present invention is the communication method according to claim 2, wherein the receiving terminal receives a packet to which the transmission sequence number detected in the transmission sequence number detection step is given. If it is not retransmission data of the retransmission request, a retransmission request is made again.

また、本発明の請求項4に記載の通信装置は、一つの通信媒体を共用してパケット単位のデータの送受信を行う通信装置における送信装置であって、信号伝送と伝送制御を行う通信部と、自局の端末アドレスを示す送信局アドレスと、受信局の端末アドレスを示す受信局アドレスと、通信相手局ごとに通信データの順番を示すシーケンス番号とを含むパケットのヘッダ部を作成し、管理する送信ヘッダ制御部と、送信する全てのデータを、送信順に一時記憶する送信バッファと、前記送信バッファに格納されたデータを一意に示す送信シーケンス番号を、前記送信バッファに格納されたデータに対して付与し、データ送信時点で前記送信バッファに記憶された最後のデータに与えられた前記送信シーケンス番号を、最大送信シーケンス番号として管理する送信バッファ制御部とを備え、前記ヘッダ制御部が管理するデータと、前記送信バッファ制御部の管理するデータと、送信バッファ内の送信順番がきたデータとにより送信パケットを作成し、送信することを特徴とする。   A communication apparatus according to claim 4 of the present invention is a transmission apparatus in a communication apparatus that transmits and receives data in packet units by sharing one communication medium, and includes a communication unit that performs signal transmission and transmission control. Create and manage a packet header that includes a transmitting station address indicating the terminal address of the own station, a receiving station address indicating the terminal address of the receiving station, and a sequence number indicating the order of communication data for each communication partner station A transmission header control unit that performs transmission, a transmission buffer that temporarily stores all data to be transmitted in order of transmission, and a transmission sequence number that uniquely indicates the data stored in the transmission buffer, for the data stored in the transmission buffer. The transmission sequence number given to the last data stored in the transmission buffer at the time of data transmission is the maximum transmission sequence number. A transmission buffer control unit that manages the transmission buffer, and creates a transmission packet by using the data managed by the header control unit, the data managed by the transmission buffer control unit, and the data in which the transmission order is transmitted in the transmission buffer. It is characterized by doing.

また、本発明の請求項5に記載の通信装置は、一つの通信媒体を共用してパケット単位のデータの送受信を行う通信装置における受信装置であって、信号伝送と伝送制御を行う通信部と、送信パケットのヘッダ部に含まれる受信アドレスから自局宛てのデータか否かを判断する受信ヘッダ制御部と、受信データに付され、該受信データの送信順番を示すシーケンス番号を管理し、該シーケンス番号の欠番からロストパケットを検出するロストパケット検出部と、ロストパケットを検出した場合、該ロストパケットに含まれるデータのシーケンス番号を含む再送要求パケットを構成する再送制御部と、受信できるすべてのパケットのデータ部に含まれる、データ送信端末のデータ送信バッファに格納されたデータを一意に示す送信シーケンス番号と、データ送信時点で前記送信バッファに記憶された最後のデータに与えられた前記送信シーケンス番号である最大送信シーケンス番号とを管理する送信シーケンス番号管理部とを有し、前記再送制御部は、前記再送要求を送信する直前に受信したパケットの前記最大送信シーケンス番号と、再送要求を送信した直後に受信したパケットの前記最大送信シーケンス番号から、自局宛ての再送データの送信シーケンス番号を検出することを特徴とする。   A communication apparatus according to claim 5 of the present invention is a reception apparatus in a communication apparatus that transmits and receives data in packet units by sharing one communication medium, and includes a communication unit that performs signal transmission and transmission control. A reception header control unit that determines whether or not the data is addressed to the local station from the reception address included in the header part of the transmission packet, and a sequence number that is attached to the reception data and indicates the transmission order of the reception data, and Lost packet detection unit that detects a lost packet from a missing sequence number, and when a lost packet is detected, a retransmission control unit that configures a retransmission request packet including a sequence number of data included in the lost packet, and all receivable A transmission sequence number that uniquely indicates the data stored in the data transmission buffer of the data transmission terminal included in the data part of the packet And a transmission sequence number management unit that manages a maximum transmission sequence number that is the transmission sequence number given to the last data stored in the transmission buffer at the time of data transmission, the retransmission control unit, From the maximum transmission sequence number of the packet received immediately before transmitting the retransmission request and the maximum transmission sequence number of the packet received immediately after transmitting the retransmission request, the transmission sequence number of retransmission data addressed to the own station is detected. It is characterized by that.

また、本発明の請求項6に記載の通信装置は、請求項5に記載の受信装置において、前記、再送制御部は、前記自局宛ての再送データの送信シーケンス番号のパケットが、前記再送要求による再送データではない場合、再度再送要求を行うことを特徴とする。   The communication device according to claim 6 of the present invention is the receiving device according to claim 5, wherein the retransmission control unit transmits a packet of a transmission sequence number of retransmission data addressed to the local station to the retransmission request. If it is not retransmission data according to, a retransmission request is made again.

本発明にかかる通信方法、及び通信装置によれば、送信側では新規に送信するデータ、再送要求による再送データにかかわらず、送信データとして送信バッファに送信順番にセットし、対応する送信シーケンス番号を付与し、送信順番が来たデータを、当該データの受信端末に対する順番を示すシーケンス番号と、上記送信シーケンス番号と、そのとき送信バッファにセットされている最後のデータの送信シーケンス番号(最大送信シーケンス番号)と共にパケットとして送信し、受信側ではパケットを受信し、受信シーケンス番号又はシーケンス番号の欠番によりロストパケットを検出した場合、送信側に対して再送要求を送信し、再送要求を送信した直前に受信した最大送信シーケンス番号と、再送要求を送信した直後に受信した最大送信シーケンス番号から、自端末の再送データの可能な送信シーケンス番号を検出し、当該可能な送信シーケンス番号が含まれるパケットのヘッダ部のシーケンス番号を確認して、エラーデータを受け取ることにより、エラーデータ再送を実現するようにしたので、送信側と受信側との間で制御情報が伝送できなかった場合でも、特別な手順を用いることなく、エラーデータ再送ができ、これにより、エラーデータ再送手順のオーバーヘッドを低減し、伝送効率を向上させることができるという効果がある。   According to the communication method and the communication apparatus of the present invention, regardless of the data to be newly transmitted on the transmission side and the retransmission data by the retransmission request, the transmission data is set in the transmission order in the transmission buffer, and the corresponding transmission sequence number is set. The transmission order is assigned to the data, the sequence number indicating the order of the data to the receiving terminal, the transmission sequence number, and the transmission sequence number of the last data set in the transmission buffer (maximum transmission sequence). Number), and when the receiving side receives the packet and detects the lost packet due to the reception sequence number or missing sequence number, it sends a retransmission request to the transmitting side and immediately before sending the retransmission request. The maximum transmission sequence number received and the maximum transmission received immediately after sending the retransmission request. By detecting the possible transmission sequence number of the retransmission data of the terminal from the sequence number, checking the sequence number of the header part of the packet including the possible transmission sequence number, and receiving the error data, the error data retransmission Therefore, even if the control information cannot be transmitted between the transmission side and the reception side, error data can be retransmitted without using a special procedure. There is an effect that transmission efficiency can be improved.

以下、本発明にかかる通信方法、及び通信装置の実施の形態を、図面を参照しながら詳細に説明する。
なお、以下の説明では、通信装置として、無線通信を行う無線通信端末を用いているが、本発明は、これに限定されるものではなく、有線媒体で同様の通信を行う通信端末にも適応できる。
DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of a communication method and a communication apparatus according to the present invention will be described in detail with reference to the drawings.
In the following description, a wireless communication terminal that performs wireless communication is used as a communication device. However, the present invention is not limited to this, and is applicable to a communication terminal that performs similar communication using a wired medium. it can.

(実施の形態1)
図1は、本発明の実施の形態1による無線通信端末の通信形態を示す図である。
図1に示すように、送信端末1、受信端末A2、及び受信端末B3は、同一の空間、及び同一の周波数を共有し、各端末はデータ送信を行なう場合は、空間の電波状態を検出し、他端末が送信をしていなければ送信をすることが出来る、いわゆるCSMA(Carrier Sense Multiple Access)方式による通信を行っている。
(Embodiment 1)
FIG. 1 is a diagram showing a communication form of a wireless communication terminal according to Embodiment 1 of the present invention.
As shown in FIG. 1, the transmission terminal 1, the reception terminal A2, and the reception terminal B3 share the same space and the same frequency, and when each terminal performs data transmission, it detects the radio wave state of the space. In other words, communication is performed according to a so-called CSMA (Carrier Sense Multiple Access) method, which allows transmission if no other terminal is transmitting.

送信端末1は、受信端末A2、及び受信端末B3からデータの送信を要求される場合、同時に2つの端末に対してデータを送信する。この際、データ量が多い場合は、無線通信の1つのパケットに適したデータサイズのデータパケットにデータを分割して伝送する。したがって、送信端末1が送信する1つ1つの送信パケットは、受信端末A2、或いは受信端末B3のどちらかに対して送られるため、受信端末A2、及び受信端末B3は、該送信パケットを受信して、逐次自局宛のパケットかどうかを検出する。   When the transmission terminal 1 is requested to transmit data from the reception terminal A2 and the reception terminal B3, the transmission terminal 1 transmits data to two terminals simultaneously. At this time, if the amount of data is large, the data is divided into data packets having a data size suitable for one packet of wireless communication and transmitted. Accordingly, each transmission packet transmitted by the transmission terminal 1 is sent to either the reception terminal A2 or the reception terminal B3. Therefore, the reception terminal A2 and the reception terminal B3 receive the transmission packet. Then, it sequentially detects whether the packet is addressed to its own station.

図2は、本発明の実施の形態1による無線通信端末の送受信の状態を説明する図である。
図2において、7は、送信端末1の送信パケットを表し、送信パケット7は、通信を制御するヘッダ部8と、データ部9とにより構成されている。また、図2に示すように、送信パケット7は、受信端末A2、及び受信端末B3で同時に受信される。受信端末A2、及び受信端末B3は、ヘッダ部8の情報により自局宛のデータかどうかを判断し、自局宛のデータであれば、データ部9の全部を記憶し、自局宛のデータでなければ、データ部9の送信シーケンス番号に関する情報のみを記憶し、その他のデータを破棄する。図2に示すように、送信端末1は、パケット単位でデータを細分化して、同時に受信端末A2、及び受信端末B3に伝送を行う。各端末は、CSMA方式の手順に従って送信を行うため、受信端末A2からの送信パケット10は、送信端末1が送信していないときに送信を開始され、送信端末1は、受信端末A2が送信を終了するまで、送信をすることは出来ない。
FIG. 2 is a diagram for explaining a transmission / reception state of the wireless communication terminal according to the first embodiment of the present invention.
In FIG. 2, 7 represents a transmission packet of the transmission terminal 1, and the transmission packet 7 includes a header portion 8 that controls communication and a data portion 9. As shown in FIG. 2, the transmission packet 7 is received simultaneously by the receiving terminal A2 and the receiving terminal B3. The receiving terminal A2 and the receiving terminal B3 determine whether the data is addressed to the local station based on the information in the header section 8, and if the data is addressed to the local station, the entire data section 9 is stored. Otherwise, only information related to the transmission sequence number of the data part 9 is stored, and other data is discarded. As shown in FIG. 2, the transmitting terminal 1 subdivides data in units of packets and simultaneously transmits the data to the receiving terminal A2 and the receiving terminal B3. Since each terminal performs transmission in accordance with the procedure of the CSMA method, transmission of the transmission packet 10 from the reception terminal A2 is started when the transmission terminal 1 is not transmitting, and the transmission terminal 1 is transmitted by the reception terminal A2. You can't send until you finish.

図3は、本発明の実施の形態1による送信端末1により送出される、送信パケットのヘッダ部の構成を示す図である。
図3に示すように、全ての送信パケットのヘッダ部には、該パケットを送信した端末の端末アドレスを示す送信元アドレスS−IPと、送信先端末を示す宛先アドレスD−IPと、送信端末が送信先毎に個別に設定した連続番号であり、分割されたデータの順序を示すシーケンス番号Seqと、通信制御を行うための通信制御情報TDと、これらのデータから求めたエラーチェック用のFCS(Frame Check Sequence)コードFSCとから構成されている。
FIG. 3 is a diagram showing a configuration of a header part of a transmission packet transmitted by the transmission terminal 1 according to Embodiment 1 of the present invention.
As shown in FIG. 3, in the header part of all transmission packets, a source address S-IP indicating a terminal address of a terminal that transmitted the packet, a destination address D-IP indicating a destination terminal, and a transmission terminal Is a serial number set individually for each destination, a sequence number Seq indicating the order of the divided data, communication control information TD for performing communication control, and an FCS for error check obtained from these data (Frame Check Sequence) code FSC.

受信端末は、このようなヘッダ部を、受信した全ての受信パケットに対して検出し、宛先アドレスD−IPが自局のアドレスであればデータを記憶する。そして、受信端末は、ヘッダ部に含まれている、データパケットのシーケンス番号Seqに基づいて、分割されたデータを再構築する。また、シーケンス番号Seqは、その連続性により、伝送中にエラーとなり正常受信できなかったパケットが発生したかどうかを検出するために使用することができる。そして、エラーによる未到達パケットがあれば、ロストパケットと判定し、直ちに未到達パケットのシーケンス番号Seqと共に再送要求を送信端末に送信して、エラーデータ再送手順を起動する。   The receiving terminal detects such a header part for all received packets, and stores data if the destination address D-IP is the address of its own station. Then, the receiving terminal reconstructs the divided data based on the sequence number Seq of the data packet included in the header part. Further, the sequence number Seq can be used to detect whether or not a packet has been generated due to an error during transmission due to its continuity. If there is an unreachable packet due to an error, it is determined to be a lost packet, and a retransmission request is immediately transmitted to the transmitting terminal together with the sequence number Seq of the unreachable packet to start the error data retransmission procedure.

次に、本発明の実施の形態1による送信端末について、図4を参照しながら説明する。
図4は、本発明の実施の形態1による送信端末の構成を示すブロック図である。
図4に示すように、本発明の実施の形態1による送信端末は、ハードディスク装置(以下、HDDと称す)30と、ホストCPU31と、メインメモリ32と、送信バッファ33と、通信制御部34と、シーケンス番号制御部35と、送信シーケンス番号制御部36と、通信部37とにより構成されている。
Next, the transmitting terminal according to Embodiment 1 of the present invention will be described with reference to FIG.
FIG. 4 is a block diagram showing the configuration of the transmission terminal according to Embodiment 1 of the present invention.
As shown in FIG. 4, the transmission terminal according to the first embodiment of the present invention includes a hard disk device (hereinafter referred to as HDD) 30, a host CPU 31, a main memory 32, a transmission buffer 33, a communication control unit 34, and the like. The sequence number control unit 35, the transmission sequence number control unit 36, and the communication unit 37 are configured.

HDD30は、送信データ等を格納するものである。ホストCPU31は、送信データの転送や、分割、送信端末全体の統合制御を行うものである。メインメモリ32は、送信するデータを一時記憶するものである。送信バッファ33は、分割された送信データを格納するものである。通信制御部34は、送信バッファ33に格納されている、送信順番が来たデータを送信パケットとして構築して転送するものである。シーケンス番号制御部35は、分割された送信データに対して、受信端末毎にシーケンス番号を発生させ、メインメモリ32上のデータや、送信バッファ33上に記憶されているデータとの関連付けを行うものである。送信シーケンス番号制御部36は、送信バッファ33に記憶される順番にユニークな送信シーケンス番号を発生させ、送信バッファ33に記憶されたデータと関連付けを行うものである。通信部37は、上記CSMA方式の通信ルールに従い、データを通信媒体38に伝送し、又通信媒体38より信号を受信するものである。   The HDD 30 stores transmission data and the like. The host CPU 31 performs transmission data transfer, division, and integrated control of the entire transmission terminal. The main memory 32 temporarily stores data to be transmitted. The transmission buffer 33 stores the divided transmission data. The communication control unit 34 constructs and transfers data stored in the transmission buffer 33 in the transmission order as a transmission packet. The sequence number control unit 35 generates a sequence number for each receiving terminal for the divided transmission data, and associates the data with data on the main memory 32 or data stored on the transmission buffer 33. It is. The transmission sequence number control unit 36 generates unique transmission sequence numbers in the order stored in the transmission buffer 33 and associates them with the data stored in the transmission buffer 33. The communication unit 37 transmits data to the communication medium 38 and receives signals from the communication medium 38 in accordance with the CSMA communication rules.

次に、上記のような構成を有する本発明の実施の形態1による送信端末の動作を説明する。
受信端末よりデータ送信の要求があると、ホストCPU31は、HDD30から、送信するデータの全て、或いは一部をメインメモリ32に記憶する。この場合、複数の受信端末より送信要求がある場合は、各受信端末毎のデータをメインメモリ32に記憶する。ホストCPU31は、送信するデータをあらかじめ通信に適したデータサイズのデータパケットに分割して通信制御部34に転送する。通信制御部34は、該データパケットを送信バッファ33に記憶する。シーケンス番号制御部35では、該データパケットに対して、受信端末毎にシーケンス番号を発生させて、メインメモリ32上のデータとの関連付けを行い、また送信バッファ33上に該データパケットが記憶されている間は、当該データとの関連付けをも行う。なお、このとき、送信シーケンス番号制御部36は、送信バッファ33に記憶される順番にユニークな送信シーケンス番号を発生させ、送信バッファ33に記憶されたデータパケットと関連付けを行う。通信制御部34は、送信バッファ33に記憶された順番でデータパケットを送信パケットとして構築して通信部37に対して転送する。通信部37は、上記CSMA方式の通信ルールに従い、送信パケットを、通信媒体38に無線信号として伝送する。
Next, the operation of the transmission terminal according to Embodiment 1 of the present invention having the above configuration will be described.
When there is a data transmission request from the receiving terminal, the host CPU 31 stores all or part of the data to be transmitted from the HDD 30 in the main memory 32. In this case, when there are transmission requests from a plurality of receiving terminals, the data for each receiving terminal is stored in the main memory 32. The host CPU 31 divides data to be transmitted into data packets having a data size suitable for communication in advance and transfers the data packets to the communication control unit 34. The communication control unit 34 stores the data packet in the transmission buffer 33. The sequence number control unit 35 generates a sequence number for each receiving terminal for the data packet, associates it with data on the main memory 32, and stores the data packet on the transmission buffer 33. While there is, the association with the data is also performed. At this time, the transmission sequence number control unit 36 generates unique transmission sequence numbers in the order stored in the transmission buffer 33 and associates them with the data packets stored in the transmission buffer 33. The communication control unit 34 constructs data packets as transmission packets in the order stored in the transmission buffer 33 and transfers them to the communication unit 37. The communication unit 37 transmits the transmission packet to the communication medium 38 as a radio signal in accordance with the CSMA communication rule.

なお、受信端末からのデータ送信の要求が、エラーデータの再送である場合、ホストCPU31は、直ちに、送られてきた欠落エラーデータのシーケンス番号Seqをもとに、シーケンス番号制御部35を参照して、シーケンス番号Seqに対応するデータパケットを、再度送信バッファ33にセットする。また、送信シーケンス番号制御部36は、送信バッファ33に再度セットされたデータパケットに、新たなユニークな送信シーケンス番号を発生させる。   If the request for data transmission from the receiving terminal is retransmission of error data, the host CPU 31 immediately refers to the sequence number control unit 35 based on the sequence number Seq of the transmitted missing error data. Thus, the data packet corresponding to the sequence number Seq is set in the transmission buffer 33 again. Further, the transmission sequence number control unit 36 generates a new unique transmission sequence number for the data packet set in the transmission buffer 33 again.

次に、本発明の実施の形態1による送信端末1における、送信バッファの構成、及び送出した送信パケットの構成を、図5を参照しながら説明する。
図5は、本発明の実施の形態1による送信端末における、送信バッファの構成、及び送信パケットの構成を示す図である。
Next, the configuration of the transmission buffer and the configuration of the transmitted transmission packet in the transmission terminal 1 according to Embodiment 1 of the present invention will be described with reference to FIG.
FIG. 5 is a diagram showing a configuration of a transmission buffer and a configuration of a transmission packet in the transmission terminal according to Embodiment 1 of the present invention.

図5に示すように、送信バッファ33は、FIFO(First In First Out)形式のメモリで、通信に適したサイズである2048バイトの単位でデータを管理しており、データは、先に送信する順番で送信バッファ33に記憶されている。送信バッファ33に通信制御部34からのデータパケットを記憶したときは、送信シーケンス番号制御部36は、送信シーケンス番号50を生成して、送信バッファ33に記憶されたデータパケットとの関連付けを行う。図5では、送信バッファ33内にDATA1からDATA3までのデータパケットが記憶されており、関連して送信シーケンス番号Seq1からSeq3が生成されている。   As shown in FIG. 5, the transmission buffer 33 is a FIFO (First In First Out) format memory, which manages data in units of 2048 bytes, which is a size suitable for communication, and transmits the data first. They are stored in the transmission buffer 33 in order. When the data packet from the communication control unit 34 is stored in the transmission buffer 33, the transmission sequence number control unit 36 generates a transmission sequence number 50 and associates it with the data packet stored in the transmission buffer 33. In FIG. 5, data packets from DATA1 to DATA3 are stored in the transmission buffer 33, and transmission sequence numbers Seq1 to Seq3 are generated in association therewith.

通信制御部34が通信部37にデータを送る場合は、シーケンス番号制御部35からシーケンス番号Seqを取得し、自局アドレス20、宛先アドレスD−IP、通信制御情報TD、及び上記FCS(Frame Check Sequence)コードFcsを加えて、図5に示すヘッダ部58を構成する。また、送信する最初のDATA1(51)と関連する送信シーケンス番号Seq1(53)と、送信バッファ33に記憶されている最後のDATA3(52)に関連付けられた最大送信シーケンス番号Seq3(54)に、DATA1(51)を加えてデータブロック55とし、これらデータから求めたエラーチェック用のFCSコード56をさらに加えてデータ部57を構成する。通信制御部34は、このように構成されたヘッダ部58とデータ部57とからなる送信パケットを、通信部37に転送する。   When the communication control unit 34 sends data to the communication unit 37, the sequence number Seq is acquired from the sequence number control unit 35, and the local station address 20, the destination address D-IP, the communication control information TD, and the FCS (Frame Check) are acquired. Sequence) code Fcs is added to form the header portion 58 shown in FIG. Further, the transmission sequence number Seq1 (53) associated with the first DATA1 (51) to be transmitted and the maximum transmission sequence number Seq3 (54) associated with the last DATA3 (52) stored in the transmission buffer 33 DATA1 (51) is added to form a data block 55, and an error check FCS code 56 obtained from these data is further added to form a data portion 57. The communication control unit 34 transfers the transmission packet including the header unit 58 and the data unit 57 configured as described above to the communication unit 37.

次に、本発明の実施の形態1による受信端末について、図6を参照しながら説明する。
図6は、本発明の実施の形態1による受信端末の構成を示す図である。
図6に示すように、受信端末は、ホストCPU40と、メインメモリ41と、通信制御部42と、再送制御部43と、シーケンス番号管理部44と、送信シーケンス番号管理部45と、通信部46とにより構成される。
Next, the receiving terminal according to Embodiment 1 of the present invention will be described with reference to FIG.
FIG. 6 is a diagram showing the configuration of the receiving terminal according to Embodiment 1 of the present invention.
As illustrated in FIG. 6, the receiving terminal includes a host CPU 40, a main memory 41, a communication control unit 42, a retransmission control unit 43, a sequence number management unit 44, a transmission sequence number management unit 45, and a communication unit 46. It consists of.

ホストCPU40は、データの転送や、受信データの再構築等、端末全般の統合処理を行うものである。メインメモリ41は、受信した受信パケットのデータ部のデータを記憶するものである。通信制御部42は、受信パケットをヘッダ部とデータ部とに分割して、それぞれについてエラーチェックを行い、自端末宛のデータかどうかを判断するものである。シーケンス番号管理部44は、受信パケットのヘッダ部に含まれるシーケンス番号を記憶管理するものである。再送制御部43は、ロストパケットを検出した場合に、再送要求の送信パケットを構築するものである。送信シーケンス番号管理部45は、受信パケットのデータ部に含まれる送信シーケンス番号を記憶管理するものである。通信部46は、通信媒体47より信号を受信して受信パケットに変換し、又は再送要求の送信パケットを、通信媒体47を介して伝送するものである。   The host CPU 40 performs integration processing for the entire terminal such as data transfer and reception data reconstruction. The main memory 41 stores data in the data part of the received packet received. The communication control unit 42 divides the received packet into a header part and a data part, performs an error check for each, and determines whether the data is addressed to its own terminal. The sequence number management unit 44 stores and manages the sequence number included in the header portion of the received packet. The retransmission control unit 43 constructs a retransmission request transmission packet when a lost packet is detected. The transmission sequence number management unit 45 stores and manages the transmission sequence number included in the data portion of the received packet. The communication unit 46 receives a signal from the communication medium 47 and converts it into a received packet, or transmits a retransmission request transmission packet via the communication medium 47.

次に、上記のような構成を有する本実施の形態1による受信端末の動作を説明する。
通信部46は、通信媒体47から受信した無線信号を、受信データパケットである受信パケットに変換して通信制御部42に転送する。通信制御部42は、受信パケットをヘッダ部とデータ部とに分割して、それぞれのデータにエラーが含まれているかどうかを、それぞれのFCSにより検査する。もし、ヘッダ部、又はデータ部のどちらかの一方でもデータエラーが検出された場合は、受信パケットの全てのデータを破棄する。
Next, the operation of the receiving terminal according to the first embodiment having the above configuration will be described.
The communication unit 46 converts the radio signal received from the communication medium 47 into a received packet that is a received data packet, and transfers the received packet to the communication control unit 42. The communication control unit 42 divides the received packet into a header part and a data part, and checks whether each data contains an error by each FCS. If a data error is detected in either the header part or the data part, all data in the received packet is discarded.

ヘッダ部とデータ部のデータが正常であることを確認したら、データ部については、まず、自端末宛のデータかどうかにかかわらず、送信シーケンス番号と、最大送信シーケンス番号とを取得し、送信シーケンス番号管理部45へ転送する。続いて、ヘッダ部の宛先アドレスをチェックし、自端末宛のパケットかどうかを確認する。もし自端末宛のパケットであればシーケンス番号Seqを検出し、シーケンス番号管理部44にシーケンス番号Seqを通知する。また、データ部のデータパケットをホストCPU40に転送し、ホストCPU40はメインメモリ41に記憶する。前記シーケンス番号管理部44は、このときに記憶されたデータパケットとシーケンス番号Seqとの関連付けを行う。この関連付けは、次の値のシーケンス番号Seqを持つデータパケットを正常受信するまで行われる。なお、ホストCPU40は、シーケンス番号Seqを基に、メインメモリ41に記憶されたデータパケットを再構築する。   After confirming that the data in the header part and the data part is normal, the data part first obtains the transmission sequence number and the maximum transmission sequence number regardless of whether the data is addressed to the own terminal, and sends the transmission sequence. Transfer to the number manager 45. Subsequently, the destination address in the header part is checked to check whether the packet is addressed to the own terminal. If it is a packet addressed to its own terminal, the sequence number Seq is detected, and the sequence number management unit 44 is notified of the sequence number Seq. Further, the data packet of the data part is transferred to the host CPU 40, and the host CPU 40 stores it in the main memory 41. The sequence number management unit 44 associates the data packet stored at this time with the sequence number Seq. This association is performed until a data packet having the next sequence number Seq is normally received. The host CPU 40 reconstructs the data packet stored in the main memory 41 based on the sequence number Seq.

送信シーケンス番号管理部45は、正常にパケットを受信する度毎に、記憶した送信シーケンス番号50の連続性をチェックし、送信シーケンス番号50に欠番が発生した場合は、データ送信のエラーによりロストパケットが発生し、エラーデータの再送が必要であると判断する。また、シーケンス番号管理部44は、自端末宛の受信パケットについてシーケンス番号Seqを随時記憶する。シーケンス番号Seqの連続性をチェックし、その欠番から上記ロストパケットのシーケンス番号Seqを確認して、通信制御部42を通して再送制御部43に欠番のシーケンス番号Seqを通知する。もし、シーケンス番号管理部44にて、欠番のシーケンス番号Seqを検出できない場合は、自端末宛の受信データの欠落ではないと判断し、再送制御部43に信号を送らない。   The transmission sequence number management unit 45 checks the continuity of the stored transmission sequence number 50 every time a packet is normally received. If a missing number occurs in the transmission sequence number 50, the lost packet is transmitted due to a data transmission error. It is determined that error data needs to be retransmitted. Further, the sequence number management unit 44 stores the sequence number Seq for the received packet addressed to its own terminal as needed. The continuity of the sequence number Seq is checked, the sequence number Seq of the lost packet is confirmed from the missing number, and the missing sequence number Seq is notified to the retransmission control unit 43 through the communication control unit 42. If the sequence number management unit 44 cannot detect the missing sequence number Seq, it determines that the received data addressed to the terminal itself is not missing, and does not send a signal to the retransmission control unit 43.

なお、シーケンス番号Seqのみを用いて直接ロストパケットを検出する場合は、シーケンス番号管理部44は、随時記憶した、自端末宛の受信パケットに含まれるシーケンス番号Seqの連続性をチェックし、シーケンス番号Seqに欠番が発生した場合は、データ送信のエラーによりロストパケットが発生し、エラーデータの再送が必要であると判断する。そして、通信制御部42を通して、欠番のシーケンス番号Seqを再送制御部43に通知する。   When the lost packet is directly detected using only the sequence number Seq, the sequence number management unit 44 checks the continuity of the sequence number Seq included in the received packet addressed to the own terminal, which is stored at any time. If a missing number occurs in Seq, it is determined that a lost packet is generated due to an error in data transmission, and it is necessary to retransmit the error data. Then, the retransmission control unit 43 is notified of the missing sequence number Seq through the communication control unit 42.

再送制御部43は、前記シーケンス番号Seqを含む再送要求の送信パケットを生成して、通信制御部42を通して通信部46に転送する。通信部46は、CSMA方式のルールに従い、無線信号として送信する。   The retransmission control unit 43 generates a retransmission request transmission packet including the sequence number Seq and transfers it to the communication unit 46 through the communication control unit 42. The communication unit 46 transmits as a radio signal in accordance with CSMA rules.

次に、本実施の形態1の、受信端末と送信端末における、データ再送の一連の動作を、図7を用いて説明する。
図7は、受信端末と送信端末における、データ再送の手順を説明する図である。
Next, a series of data retransmission operations at the receiving terminal and the transmitting terminal according to the first embodiment will be described with reference to FIG.
FIG. 7 is a diagram for explaining a data retransmission procedure in the receiving terminal and the transmitting terminal.

図7において、(a)は、送信端末の送信バッファ33の状態を示し、Sは、送信シーケンス番号を示し、Dは、データを示す。(b)は、送信端末が送信するパケットP1〜P6を表す。なお、図7において、各パケットP1〜P6は、それぞれデータ部のみを表している。(c)は、受信端末の状態を表す。(d)は、送信シーケンス番号管理部45内の送信シーケンス番号メモリの状態を表し、上段は、シーケンス番号メモリに記憶されている最新の送信シーケンス番号と最新の最大送信シーケンス番号を表し、下段は、ひとつ前のパケットの送信シーケンス番号と最大送信シーケンス番号を表す。   In FIG. 7, (a) shows the state of the transmission buffer 33 of the transmission terminal, S shows the transmission sequence number, and D shows the data. (B) represents packets P1 to P6 transmitted by the transmitting terminal. In FIG. 7, each packet P1 to P6 represents only the data part. (C) represents the state of the receiving terminal. (D) represents the state of the transmission sequence number memory in the transmission sequence number management unit 45, the upper part represents the latest transmission sequence number and the latest maximum transmission sequence number stored in the sequence number memory, and the lower part represents Represents the transmission sequence number and the maximum transmission sequence number of the previous packet.

まず、送信端末がパケットP1を送信し、受信端末が、パケットP1を正常に受信すると、受信端末は、パケットP1に含まれる送信シーケンス番号S1と最大送信シーケンス番号S3を、送信シーケンス番号管理部45に記憶する。   First, when the transmitting terminal transmits the packet P1 and the receiving terminal normally receives the packet P1, the receiving terminal displays the transmission sequence number S1 and the maximum transmission sequence number S3 included in the packet P1 as the transmission sequence number management unit 45. To remember.

次に、送信端末から次のパケットP2が送信されたが、受信端末が、該パケットP2を正常に受信できず、パケットP2の次に送信端末が送信したパケットP3を、受信端末が正常に受信したとすると、送信シーケンス番号管理部45は、受信したパケットP3の2つ前のパケットに含まれていた送信シーケンス番号S−1、及び最大送信シーケンス番号S2を破棄し、パケットP3に含まれる送信シーケンス番号S3と最大送信シーケンス番号S5を、最新の送信シーケンス番号、及び最大送信シーケンス番号として記憶する。この様に、送信シーケンス番号管理部45は、現在受信したパケットとその前に受信したパケットに含まれる送信シーケンス番号および最大送信シーケンス番号を逐次記憶し更新する。   Next, the next packet P2 is transmitted from the transmitting terminal, but the receiving terminal cannot receive the packet P2 normally, and the receiving terminal normally receives the packet P3 transmitted by the transmitting terminal after the packet P2. If so, the transmission sequence number management unit 45 discards the transmission sequence number S-1 and the maximum transmission sequence number S2 included in the packet immediately before the received packet P3, and transmits the packet included in the packet P3. The sequence number S3 and the maximum transmission sequence number S5 are stored as the latest transmission sequence number and the maximum transmission sequence number. In this way, the transmission sequence number management unit 45 sequentially stores and updates the currently received packet and the transmission sequence number and the maximum transmission sequence number included in the previously received packet.

そして、受信端末は、シーケンス番号管理部44が記憶するシーケンス番号の連続性により、ロストパケットの有無を検出し、送信元アドレスS−IPと再送するシーケンス番号Seqとを含む再送要求パケットRP1を送信する。   Then, the receiving terminal detects the presence or absence of the lost packet based on the continuity of the sequence numbers stored in the sequence number management unit 44, and transmits the retransmission request packet RP1 including the transmission source address S-IP and the sequence number Seq to be retransmitted. To do.

送信端末は、再送要求パケットRP1を受信すると、再送要求パケットRP1内に含まれる送信元アドレスS−IPと再送するシーケンス番号Seqとから、再送データが、どの端末宛てのどのデータかを検出し、該データを直ちに送信バッファ33の最後のエリアにセットし、該データに対して送信シーケンス番号を付与する。図7では、送信バッファ状態(a)の送信シーケンス番号S6とデータD6がその状態を示す。その後、送信端末は、送信すべきデータをパケットP4として送信する。このときの送信シーケンス番号はS4であり、最大送信シーケンス番号はS6である。   Upon receiving the retransmission request packet RP1, the transmission terminal detects which data is destined for which terminal the retransmission data is based on the source address S-IP included in the retransmission request packet RP1 and the sequence number Seq to be retransmitted. The data is immediately set in the last area of the transmission buffer 33, and a transmission sequence number is assigned to the data. In FIG. 7, the transmission sequence number S6 and data D6 in the transmission buffer state (a) indicate the state. Thereafter, the transmitting terminal transmits data to be transmitted as a packet P4. The transmission sequence number at this time is S4, and the maximum transmission sequence number is S6.

受信端末は、パケットP4を受信して、該パケットP4に含まれる送信シーケンス番号S4、及び最大送信シーケンス番号S6を、送信シーケンス番号メモリ77に記憶する。送信シーケンス番号管理部45は、再送要求を行った直後にパケットを受信して最新の送信シーケンス番号を取得すると、最新の最大送信シーケンス番号S4、及び1つ前のパケットの最大送信シーケンス番号S6を、通信制御部42を介して再送制御部43に通知する。   The receiving terminal receives the packet P4 and stores the transmission sequence number S4 and the maximum transmission sequence number S6 included in the packet P4 in the transmission sequence number memory 77. When the transmission sequence number management unit 45 receives a packet immediately after making a retransmission request and obtains the latest transmission sequence number, the transmission sequence number management unit 45 obtains the latest maximum transmission sequence number S4 and the maximum transmission sequence number S6 of the previous packet. Then, the retransmission control unit 43 is notified via the communication control unit 42.

再送制御部43は、再送要求を送信する直前に受信したパケットP3の最大送信シーケンス番号S5と、再送要求を送信した直後に受信したパケットP4の最大送信シーケンス番号S6とから、自局宛てに送信される再送データの送信シーケンス番号を予測する。すなわち、再送データの送信シーケンス番号は、1つ前のパケットP3の最大送信シーケンス番号S5より大きく、最新の最大送信シーケンス番号S6以下の値となるため、かかるシーケンス番号が付与されたパケットを自局宛ての再送データであると判断する。図7では、再送データD2は、送信シーケンス番号としてS6が与えられたパケット、すなわち、パケットP6にある事がわかる。   The retransmission control unit 43 transmits to the own station from the maximum transmission sequence number S5 of the packet P3 received immediately before transmitting the retransmission request and the maximum transmission sequence number S6 of the packet P4 received immediately after transmitting the retransmission request. The transmission sequence number of the retransmitted data to be transmitted is predicted. That is, the retransmission data transmission sequence number is larger than the maximum transmission sequence number S5 of the previous packet P3 and is equal to or smaller than the latest maximum transmission sequence number S6. It is determined that the retransmit data is addressed. In FIG. 7, it can be seen that retransmission data D2 is in a packet to which S6 is given as a transmission sequence number, that is, packet P6.

そして、上記予測した再送データの送信シーケンス番号S6と同一の送信シーケンス番号が付されたパケットP6を受信した場合は、該パケットP6に再送データが含まれていると判断し、該データを取得する。一方、送信シーケンス番号S6のパケットP6に含まれるデータが、再送データではない場合は、再送要求パケットRP1が送信端末に到達しなかったか、もしくは再送データが再度ロストしたと判断し、受信端末は再度再送要求パケットRP1を送信する。   When a packet P6 with the same transmission sequence number as the predicted retransmission data transmission sequence number S6 is received, it is determined that the packet P6 includes retransmission data, and the data is acquired. . On the other hand, if the data included in the packet P6 of the transmission sequence number S6 is not retransmission data, it is determined that the retransmission request packet RP1 has not reached the transmission terminal or the retransmission data has been lost again, and the reception terminal again A retransmission request packet RP1 is transmitted.

このように、本実施の形態1による通信方法、及び通信装置では、送信端末側では通常のデータ送信と再送データの送信を区別せずに、送信するデータを1つの送信バッファにセットし、送信シーケンス番号を生成し、送信パケット内にデータと共に、送信シーケンス番号、最大送信シーケンス番号、及び当該データの受信端末に対する順番を示すシーケンス番号を含んで送信し、受信端末では前記送信シーケンス番号の欠番からエラーデータを検出して再送要求を行った場合には、再送データを含むパケットの送信シーケンス番号を検出しておき、再送データを受け取るようにしたので、ロストパケット再送時に、送受信端末間で特別な制御情報を送らなくても、再送手順を独立して設定し、再送を実行することができる。   As described above, in the communication method and communication apparatus according to the first embodiment, the transmitting terminal sets transmission data in one transmission buffer without distinguishing between normal data transmission and retransmission data transmission, and transmits the data. A sequence number is generated and transmitted together with data in the transmission packet including a transmission sequence number, a maximum transmission sequence number, and a sequence number indicating the order of the data with respect to the receiving terminal. When the error data is detected and a retransmission request is made, the transmission sequence number of the packet including the retransmission data is detected and the retransmission data is received. Even if control information is not sent, a retransmission procedure can be set independently and retransmission can be executed.

本発明にかかる通信方法、及び通信装置は、エラーデータ再送手順において送受信端末間で特別な制御情報を送らなくても、再送手順を独立して設定し、再送を実行できるため、エラーデータ再送におけるオーバーヘッドを低減し、伝送効率を向上させることができるという効果を有し、通信技術におけるエラーデータの再送などに有用である。   Since the communication method and the communication apparatus according to the present invention can independently set a retransmission procedure and execute retransmission without sending special control information between transmitting and receiving terminals in the error data retransmission procedure, This has the effect of reducing overhead and improving transmission efficiency, and is useful for retransmission of error data in communication technology.

本発明の実施の形態1による無線通信端末の通信形態を示す図である。It is a figure which shows the communication form of the radio | wireless communication terminal by Embodiment 1 of this invention. 本発明の実施の形態1による無線通信端末の送受信の状態を示す図である。It is a figure which shows the state of transmission / reception of the radio | wireless communication terminal by Embodiment 1 of this invention. 本発明の実施の形態1による無線通信端末の送信端末側が送出する送信パケットのヘッダ部の構成を示す図である。It is a figure which shows the structure of the header part of the transmission packet which the transmission terminal side of the radio | wireless communication terminal by Embodiment 1 of this invention sends out. 本発明の実施の形態1による無線通信端末の送信端末側の構成を示す図である。It is a figure which shows the structure by the side of the transmission terminal of the radio | wireless communication terminal by Embodiment 1 of this invention. 本発明の実施の形態1による無線通信端末の送信端末側の送信バッファと送出するデータの構成を示す図である。It is a figure which shows the structure of the transmission buffer by the side of the transmission terminal of the radio | wireless communication terminal by Embodiment 1 of this invention, and the data transmitted. 本発明の実施の形態1による無線通信端末の受信端末側の構成を示す図である。It is a figure which shows the structure by the side of the receiving terminal of the radio | wireless communication terminal by Embodiment 1 of this invention. 本発明の実施の形態1による無線通信端末の送受信両側における、データ再送をする際実行する一連の動作を説明する図である。It is a figure explaining a series of operation | movement performed when resending data in the transmission and reception both sides of the radio | wireless communication terminal by Embodiment 1 of this invention.

符号の説明Explanation of symbols

1 送信端末
2 受信端末A
3 受信端末B
7 送信データ
8 ヘッダ部
9 データ部
10 受信端末Aからの送信データ
30 HDD
31 送信端末のホストCPU
32 送信端末のメインメモリ
33 送信バッファ部
34 送信端末の通信制御部
35 送信端末のシーケンス番号制御部
36 送信端末の送信シーケンス番号制御部
37 送信端末の通信部
38、47 伝送媒体
40 受信端末のホストCPU
41 受信端末のメインメモリ
42 受信端末の通信制御部
43 再送制御部
44 受信端末のシーケンス番号管理部
45 受信端末の送信シーケンス番号管理部
46 受信端末の通信部
50 送信シーケンス番号
51 DATA1
52 DATA3
53 Seq1
54 Seq3
55 データブロック
56 FCSコード
57 データ部
58 ヘッダ部
S−IP 送信元アドレス
D−IP 宛先アドレス
Seq シーケンス番号
TD 通信制御情報
Fcs FCSコード
P1〜P6 送信端末からの送信パケット
RP1 再送要求送信パケット
1 Sending terminal 2 Receiving terminal A
3 Receiving terminal B
7 Transmission data 8 Header part 9 Data part 10 Transmission data from receiving terminal A 30 HDD
31 Host CPU of transmitting terminal
32 Sending terminal main memory 33 Sending buffer unit 34 Sending terminal communication control unit 35 Sending terminal sequence number control unit 36 Sending terminal transmission sequence number control unit 37 Sending terminal communication unit 38, 47 Transmission medium 40 Receiving terminal host CPU
41 Main memory of receiving terminal 42 Communication control unit 43 of receiving terminal Retransmission control unit 44 Sequence number management unit 45 of receiving terminal Transmission sequence number management unit 46 of receiving terminal Communication unit 50 of receiving terminal Transmission sequence number 51 DATA1
52 DATA3
53 Seq1
54 Seq3
55 Data Block 56 FCS Code 57 Data Part 58 Header Part S-IP Source Address D-IP Destination Address Seq Sequence Number TD Communication Control Information Fcs FCS Codes P1 to P6 Transmission Packet RP1 Retransmission Request Transmission Packet from Transmission Terminal

Claims (6)

複数の通信端末が、一つの通信媒体を共用して、パケット単位のデータ交換を行う通信方法において、
前記複数の通信端末のうち、送信端末は、
自局の端末アドレスを示す送信局アドレスと、受信局の端末アドレスを示す受信局アドレスと、通信相手局ごとに通信データの順番を示すシーケンス番号とを含む、パケットのヘッダ部を作成するヘッダ部作成ステップと、
送信する全てのデータを、送信順に、送信バッファに一時記憶するバッファリングステップと、
前記送信バッファに格納されたデータを一意に示す送信シーケンス番号を、前記送信バッファに格納されたデータに対して付与する送信シーケンス番号付与ステップと、
送信するデータと、該データに与えられた前記送信シーケンス番号と、データ送信時点で前記送信バッファに格納されている最後のデータに与えられた前記送信シーケンス番号である最大送信シーケンス番号とを含む送信パケットのデータ部を作成するデータ部作成ステップと、
前記ヘッダ部と前記データ部とからなるパケットを、前記複数の通信端末の内の受信端末に送信するデータ送信ステップと、を有し、
上記送信端末は、受信端末から、データの再送を要求する再送パケットを受信した場合は、該再送パケットに含まれる前記シーケンス番号が示すデータを、前記送信バッファに記憶し、該データに前記送信シーケンス番号を付与して前記受信端末に送信する、
ことを特徴とする通信方法。
In a communication method in which a plurality of communication terminals share one communication medium and exchange data in units of packets.
Among the plurality of communication terminals, the transmitting terminal is
A header part that creates a header part of a packet including a transmitting station address indicating the terminal address of the local station, a receiving station address indicating the terminal address of the receiving station, and a sequence number indicating the order of communication data for each communication partner station Creation steps,
A buffering step for temporarily storing all data to be transmitted in a transmission buffer in the order of transmission;
A transmission sequence number giving step for giving a transmission sequence number uniquely indicating the data stored in the transmission buffer to the data stored in the transmission buffer;
Transmission including data to be transmitted, the transmission sequence number given to the data, and the maximum transmission sequence number which is the transmission sequence number given to the last data stored in the transmission buffer at the time of data transmission A data part creation step for creating a data part of the packet;
A data transmission step of transmitting a packet composed of the header part and the data part to a receiving terminal among the plurality of communication terminals,
When the transmission terminal receives a retransmission packet requesting retransmission of data from the reception terminal, the transmission terminal stores the data indicated by the sequence number included in the retransmission packet in the transmission buffer, and stores the transmission sequence in the data A number is sent to the receiving terminal,
A communication method characterized by the above.
請求項1に記載の通信方法において、
前記複数の通信端末のうち、受信端末は、
前記データ送信ステップにて送信されたパケットを受信するパケット受信ステップと、
前記受信パケットのヘッダ部に含まれる受信アドレスから、該パケットが自局宛てのデータか否かを判断する判定ステップと、
受信パケットに含まれる前記送信シーケンス番号を管理し、欠番からロストパケットを検出するロストパケット検出ステップと、
受信する全てのパケットの前記データ部に含まれる、送信シーケンス番号を管理する送信シーケンス番号管理ステップと、を備え、
前記ロストパケット検出ステップにおいてロストパケットを検出した場合は、該ロストパケットに含まれるデータの前記シーケンス番号を含む再送要求パケットを送信し、前記再送要求パケットを送信する直前に受信したパケットの前記最大送信シーケンス番号と、前記再送要求パケットを送信した直後に受信したパケットの前記最大送信シーケンス番号とに基づき、自局宛ての再送データに与えられる前記送信シーケンス番号を検出し、前記再送データに与えられる送信シーケンス番号が付されたパケットを受信して、ロストパケットを得る、
ことを特徴とする通信方法。
The communication method according to claim 1,
Among the plurality of communication terminals, the receiving terminal is
A packet receiving step for receiving the packet transmitted in the data transmitting step;
A determination step of determining whether or not the packet is data addressed to the own station from a reception address included in a header portion of the reception packet;
Managing the transmission sequence number included in the received packet, and detecting a lost packet from a missing number;
A transmission sequence number management step for managing a transmission sequence number included in the data part of all received packets,
When the lost packet is detected in the lost packet detection step, a retransmission request packet including the sequence number of data included in the lost packet is transmitted, and the maximum transmission of the packet received immediately before transmitting the retransmission request packet Based on the sequence number and the maximum transmission sequence number of the packet received immediately after transmitting the retransmission request packet, the transmission sequence number given to the retransmission data addressed to the own station is detected, and the transmission given to the retransmission data Receives a packet with a sequence number and obtains a lost packet.
A communication method characterized by the above.
請求項2に記載の通信方法において、
前記受信端末は、
前記送信シーケンス番号検出ステップにて検出された送信シーケンス番号が与えられたパケットが、前記再送要求の再送データではない場合は、再度再送要求を行う、
ことを特徴とする通信方法。
The communication method according to claim 2,
The receiving terminal is
If the packet given the transmission sequence number detected in the transmission sequence number detection step is not retransmission data of the retransmission request, a retransmission request is made again.
A communication method characterized by the above.
一つの通信媒体を共用してパケット単位のデータの送受信を行う通信装置における送信装置であって、
信号伝送と伝送制御を行う通信部と、
自局の端末アドレスを示す送信局アドレスと、受信局の端末アドレスを示す受信局アドレスと、通信相手局ごとに通信データの順番を示すシーケンス番号とを含むパケットのヘッダ部を作成し、管理する送信ヘッダ制御部と、
送信する全てのデータを、送信順に一時記憶する送信バッファと、
前記送信バッファに格納されたデータを一意に示す送信シーケンス番号を、前記送信バッファに格納されたデータに対して付与し、データ送信時点で前記送信バッファに記憶された最後のデータに与えられた前記送信シーケンス番号を、最大送信シーケンス番号として管理する送信バッファ制御部と、を備え、
前記ヘッダ制御部が管理するデータと、前記送信バッファ制御部の管理するデータと、送信バッファ内の送信順番がきたデータとにより送信パケットを作成し、送信する、
ことを特徴とする送信装置。
A transmission device in a communication device that transmits and receives data in packet units by sharing one communication medium,
A communication unit for signal transmission and transmission control;
Create and manage a header part of a packet that includes a transmitting station address indicating the terminal address of the own station, a receiving station address indicating the terminal address of the receiving station, and a sequence number indicating the order of communication data for each communication partner station A transmission header control unit;
A transmission buffer that temporarily stores all data to be transmitted in the order of transmission;
A transmission sequence number that uniquely indicates the data stored in the transmission buffer is assigned to the data stored in the transmission buffer, and is given to the last data stored in the transmission buffer at the time of data transmission A transmission buffer control unit that manages the transmission sequence number as the maximum transmission sequence number, and
Create and transmit a transmission packet with data managed by the header control unit, data managed by the transmission buffer control unit, and data in which the transmission order in the transmission buffer comes,
A transmission apparatus characterized by the above.
一つの通信媒体を共用してパケット単位のデータの送受信を行う通信装置における受信装置であって、
信号伝送と伝送制御を行う通信部と、
送信パケットのヘッダ部に含まれる受信アドレスから自局宛てのデータか否かを判断する受信ヘッダ制御部と、
受信データに付され、該受信データの送信順番を示すシーケンス番号を管理し、該シーケンス番号の欠番からロストパケットを検出するロストパケット検出部と、
ロストパケットを検出した場合、該ロストパケットに含まれるデータのシーケンス番号を含む再送要求パケットを構成する再送制御部と、
受信できるすべてのパケットのデータ部に含まれる、データ送信端末のデータ送信バッファに格納されたデータを一意に示す送信シーケンス番号と、データ送信時点で前記送信バッファに記憶された最後のデータに与えられた前記送信シーケンス番号である最大送信シーケンス番号とを管理する送信シーケンス番号管理部とを有し、
前記再送制御部は、前記再送要求を送信する直前に受信したパケットの前記最大送信シーケンス番号と、再送要求を送信した直後に受信したパケットの前記最大送信シーケンス番号から、自局宛ての再送データの送信シーケンス番号を検出する、
ことを特徴とする受信装置。
A receiving device in a communication device that transmits and receives data in packet units by sharing one communication medium,
A communication unit for signal transmission and transmission control;
A reception header control unit that determines whether the data is addressed to the local station from the reception address included in the header part of the transmission packet;
A lost packet detection unit which is attached to received data, manages a sequence number indicating the transmission order of the received data, and detects a lost packet from a missing number of the sequence number;
When a lost packet is detected, a retransmission control unit constituting a retransmission request packet including a sequence number of data included in the lost packet;
This is given to the transmission sequence number that uniquely indicates the data stored in the data transmission buffer of the data transmission terminal, and the last data stored in the transmission buffer at the time of data transmission, included in the data part of all packets that can be received. A transmission sequence number management unit that manages a maximum transmission sequence number that is the transmission sequence number,
The retransmission control unit, based on the maximum transmission sequence number of the packet received immediately before transmitting the retransmission request and the maximum transmission sequence number of the packet received immediately after transmitting the retransmission request, Detect transmission sequence number,
A receiving apparatus.
請求項5に記載の受信装置において、
前記再送制御部は、前記自局宛ての再送データの送信シーケンス番号のパケットが、前記再送要求による再送データではない場合、再度再送要求を行う、
ことを特徴とする受信装置。
The receiving device according to claim 5,
The retransmission control unit makes a retransmission request again when a packet of a transmission sequence number of retransmission data addressed to the local station is not retransmission data by the retransmission request.
A receiving apparatus.
JP2004339130A 2004-11-24 2004-11-24 Communication method, and communication device Pending JP2006148784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004339130A JP2006148784A (en) 2004-11-24 2004-11-24 Communication method, and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004339130A JP2006148784A (en) 2004-11-24 2004-11-24 Communication method, and communication device

Publications (1)

Publication Number Publication Date
JP2006148784A true JP2006148784A (en) 2006-06-08

Family

ID=36627923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004339130A Pending JP2006148784A (en) 2004-11-24 2004-11-24 Communication method, and communication device

Country Status (1)

Country Link
JP (1) JP2006148784A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009246855A (en) * 2008-03-31 2009-10-22 Yamatake Corp Communicating system
GB2455417B (en) * 2007-12-06 2010-09-29 Toshiba Kk Mobile communication system, gateway, concentrator, and handover control method
WO2019160050A1 (en) * 2018-02-15 2019-08-22 日本電信電話株式会社 Information collecting system and information collecting method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2455417B (en) * 2007-12-06 2010-09-29 Toshiba Kk Mobile communication system, gateway, concentrator, and handover control method
US8223684B2 (en) 2007-12-06 2012-07-17 Kabushiki Kaisha Toshiba Mobile communication system, gateway, concentrator, and handover control method
JP2009246855A (en) * 2008-03-31 2009-10-22 Yamatake Corp Communicating system
WO2019160050A1 (en) * 2018-02-15 2019-08-22 日本電信電話株式会社 Information collecting system and information collecting method
JP2019145880A (en) * 2018-02-15 2019-08-29 日本電信電話株式会社 Information gathering system and information gathering method
JP7047441B2 (en) 2018-02-15 2022-04-05 日本電信電話株式会社 Information gathering method
US11558283B2 (en) 2018-02-15 2023-01-17 Nippon Telegraph And Telephone Corporation Information collecting system and information collecting method

Similar Documents

Publication Publication Date Title
KR100635012B1 (en) Method for creating feedback message for ARQ in mobile communication system
US7054316B2 (en) Method and system for interlayer control between re-sequencing and retransmission entities
US5432798A (en) Data communication method and system
US7430206B2 (en) Wireless communication method and apparatus for detecting and correcting transmission errors
US10959128B2 (en) Bluetooth low energy connected isochronous stream acknowledgement and flush algorithm and implementation
RU2487485C2 (en) Method of controlling transmission window and retransmission and transmitting device
US7945835B2 (en) Method and apparatus for efficiently retransmitting data in wireless network environment
US6996100B1 (en) Method and system for medium access on a radio channel
JP6374945B2 (en) Method and apparatus for using more transmission opportunities in a distributed network topology with limited HARQ processes
US20070214399A1 (en) Apparatus and method for using automatic repeat request scheme in a broadband wireless access communication system
EP1583274A1 (en) Method of stall identification and recovery
KR101446585B1 (en) Transmission control methods and devices for communication systems
KR20020042438A (en) Hybrid ARQ with parallel packet transmission
KR20010004792A (en) Data transmissiion and reception device and method in accordance with radio link protocol in a mobile communication system
JP4232978B2 (en) Transmission control method in ARQ system
JPWO2007052719A1 (en) Retransmission control method and receiving apparatus
JPWO2008123160A1 (en) Retransmission request transmission method and receiving side apparatus
US7356099B2 (en) Method for processing protocol data units in a high-speed downlink packet access communication system
JPH10190637A (en) Data transmission system
KR20050078096A (en) Method for frame retransmission and network apparatus employing the method
KR20070087725A (en) Method for effectively transmitting or receiving data via wireless network, and wireless device thereof
US20230284218A1 (en) Scheduling multiple communication channels via a single control element
JP2006148784A (en) Communication method, and communication device
JP5609443B2 (en) Apparatus and method for performing retransmission control
KR20080067044A (en) Data transmitting/receiving method and communication system thereof