JP2020065222A - Communication system, relay device, and communication method - Google Patents

Communication system, relay device, and communication method Download PDF

Info

Publication number
JP2020065222A
JP2020065222A JP2018197441A JP2018197441A JP2020065222A JP 2020065222 A JP2020065222 A JP 2020065222A JP 2018197441 A JP2018197441 A JP 2018197441A JP 2018197441 A JP2018197441 A JP 2018197441A JP 2020065222 A JP2020065222 A JP 2020065222A
Authority
JP
Japan
Prior art keywords
target data
notification
communication
reception
relay
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
JP2018197441A
Other languages
Japanese (ja)
Inventor
元気 細川
Genki Hosokawa
元気 細川
忠秀 國立
Tadahide Kunitachi
忠秀 國立
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP2018197441A priority Critical patent/JP2020065222A/en
Publication of JP2020065222A publication Critical patent/JP2020065222A/en
Pending legal-status Critical Current

Links

Images

Abstract

To suppress a traffic number by proxy communication.SOLUTION: A transmission device 2 transmits object data T to a reception device 4, and re-transmits the object data T to the reception device 4 when not receiving notification indicating the reception device 4 has received the object data T within a predetermined time after transmitting the object data to the reception device 4. When detecting no transmission of reception notification indicating the reception device 4 has received the object data T in response to the transmission device 2 having transmitted the object data T to the reception device 4, a relay device 3 performs proxy communication of the object data T to the reception device 4 and transmits notification indicating the reception device 4 has received the object data T to the transmission device 2. When detecting retransmission of the object data T by the transmission device 2, the relay device 3 further transmits notification indicating the reception device 4 has received the object data T to the transmission device 2.SELECTED DRAWING: Figure 3

Description

本発明は、複数の装置を備える通信システム、通信システムに用いられる中継装置および通信方法に関する。   The present invention relates to a communication system including a plurality of devices, a relay device used in the communication system, and a communication method.

無線を使用するアドホックネットワークにおける複数の装置間の通信プロトコルとして、AODV(Ad hoc On-Demand Distance Vector)、DSR(Dynamic Source Routing)等が知られている。また無線を使用するアドホックネットワークにおいて、送信装置が受信装置に直接通信できない場合、ネットワークに属するその他の装置が中継装置となって、送信装置の代わりに、受信装置に向けて送信する代理通信の方法がある(特許文献1参照)。   AODV (Ad hoc On-Demand Distance Vector), DSR (Dynamic Source Routing) and the like are known as communication protocols between a plurality of devices in an ad hoc network that uses radio. Further, in an ad hoc network that uses wireless communication, when a transmitting device cannot directly communicate with a receiving device, another device that belongs to the network becomes a relay device, and instead of the transmitting device, a proxy communication method for transmitting to the receiving device. (See Patent Document 1).

特許文献1において中継装置は、送信装置から受信装置宛の直接データを傍受し、その後直接データに対する受信通知を受信できなかった場合、その直接データを、送信装置に代わって受信装置に向けて代理通信する。また中継装置が受信装置から受信通知を受信すると、送信装置に代理通信の完了通知を通知する。これにより、送信装置から受信装置まで、迅速にデータを送信することが可能になる。   In Patent Document 1, the relay device intercepts the direct data addressed to the receiving device from the transmitting device, and when the reception notification for the direct data cannot be received thereafter, the relay device substitutes the direct data for the receiving device instead of the transmitting device. connect. When the relay device receives the reception notification from the reception device, the relay device notifies the transmission device of the completion notification of the proxy communication. As a result, it becomes possible to quickly transmit data from the transmitting device to the receiving device.

特開2014−225859号公報JP, 2014-225859, A

特許文献1において、送信装置が、中継装置から代理通信の完了通知を受信できない場合、直接データが受信装置によって受信されているにもかかわらず、送信装置は、受信装置宛に直接データを再送する。送信装置が直接データを再送すると、中継装置による代理通信が再び行われ、通信システムにおいて代理通信によるトラフィック数が増加する場合がある。   In Patent Document 1, when the transmission device cannot receive the notice of completion of proxy communication from the relay device, the transmission device retransmits the data directly to the reception device, even though the data is directly received by the reception device. . When the transmitting device directly retransmits the data, the relay communication by the relay device is performed again, and the number of traffics by the proxy communication in the communication system may increase.

従って本発明の目的は、代理通信によるトラフィック数を抑制する通信システム、中継装置および通信方法を提供することである。   Therefore, an object of the present invention is to provide a communication system, a relay device, and a communication method that suppress the number of traffics by proxy communication.

上記課題を解決するために、本発明の第1の特徴は、複数の装置を備える通信システムに関する。本発明の第1の特徴に係る通信システムは、対象データを送信する送信装置と、対象データの送信先となる受信装置と、送信装置と通信可能な中継装置を備える。送信装置は、対象データを受信装置に向けて送信し、対象データを受信装置に向けて送信して所定時間以内に、受信装置が対象データを受信したことを示す通知を受信しない場合、対象データを受信装置に向けて再送する送信部を備える。中継装置は、送信装置が、受信装置に向けて対象データを送信したことに対し、受信装置が対象データを受信したことを示す受信通知が送信されないことを検知した場合、対象データを中継データに格納するオーバーヒア処理部と、中継データに格納された対象データを、受信装置に向けて代理通信し、受信装置が対象データを受信したことを示す通知を受信すると、送信装置に、受信装置が対象データを受信したことを示す通知を送信する中継部と、送信装置による対象データの再送が検知されると、送信装置に、受信装置が対象データを受信したことを示す通知を送信する受信再通知部を備える。   In order to solve the above problems, a first feature of the present invention relates to a communication system including a plurality of devices. A communication system according to a first aspect of the present invention includes a transmitter that transmits target data, a receiver that is a destination of the target data, and a relay device that can communicate with the transmitter. If the transmitting device transmits the target data to the receiving device, transmits the target data to the receiving device, and does not receive the notification indicating that the receiving device has received the target data within a predetermined time, Is transmitted to the receiving device. When the relay device detects that the transmission device has transmitted the target data to the reception device but the reception notification indicating that the reception device has received the target data is not transmitted, the relay device sets the target data to the relay data. When the receiving device receives the notification indicating that the target device stored in the relay data and the overheard processing unit that stores the target data stored in the relay data are proxy-transmitted to the receiving device, and the receiving device receives the target data, the receiving device notifies the transmitting device. When a relay unit that sends a notification indicating that the target data has been received and a retransmission of the target data by the sending device are detected, a reception re-transmission that sends a notification that the receiving device has received the target data to the sending device. A notification unit is provided.

本発明の第2の特徴は、複数の装置を備える通信システムに用いられる中継装置に関する。本発明の第2の特徴に係る中継装置が用いられる通信システムは、対象データを送信する送信装置と、対象データの送信先となる受信装置と、送信装置と通信可能な中継装置を備える。中継装置は、送信装置が、受信装置に向けて対象データを送信したことに対し、受信装置が対象データを受信したことを示す受信通知が送信されないことを検知した場合、対象データを中継データに格納するオーバーヒア処理部と、中継データに格納された対象データを、受信装置に向けて代理通信し、受信装置が対象データを受信したことを示す通知を受信すると、送信装置に、受信装置が対象データを受信したことを示す通知を送信する中継部と、送信装置による対象データの再送が検知されると、送信装置に、受信装置が対象データを受信したことを示す通知を送信する受信再通知部を備える。   A second feature of the present invention relates to a relay device used in a communication system including a plurality of devices. A communication system in which the relay device according to the second aspect of the present invention is used includes a transmitter that transmits target data, a receiver that is a destination of the target data, and a relay device that can communicate with the transmitter. When the relay device detects that the transmission device has transmitted the target data to the reception device but the reception notification indicating that the reception device has received the target data is not transmitted, the relay device sets the target data to the relay data. When the receiving device receives the notification indicating that the target device stored in the relay data and the overheard processing unit that stores the target data stored in the relay data are proxy-transmitted to the receiving device, and the receiving device receives the target data, the receiving device notifies the transmitting device. When a relay unit that sends a notification indicating that the target data has been received and a retransmission of the target data by the sending device are detected, a reception re-transmission that sends a notification that the receiving device has received the target data to the sending device. A notification unit is provided.

中継部によって、送信装置に、受信装置が対象データを受信したことを示す通知を送信して所定時間経過した後、送信装置による対象データの再送が検知されない場合、受信再通知部は、受信装置が対象データを受信したことを示す通知を破棄し、所定時間経過するまでに、送信装置による対象データの再送が検知された場合、受信再通知部は、送信装置に、受信装置が対象データを受信したことを示す通知を再送しても良い。   When the relay unit transmits a notification indicating that the receiving device has received the target data to the transmitting device and a predetermined time elapses, and then the retransmission of the target data by the transmitting device is not detected, the reception re-notifying unit determines the receiving device. Discards the notification indicating that the target data has been received, and when retransmission of the target data by the transmission device is detected by the time the predetermined time has elapsed, the reception re-notification unit causes the transmission device to notify the target device of the target data. The notification indicating the reception may be retransmitted.

中継装置は、さらに受信装置と通信可能であって、中継部が受信する受信装置が対象データを受信したことを示す通知は、受信装置が、代理通信で対象データを受信したことを示す受信通知であって、受信再通知部が送信する受信装置が対象データを受信したことを示す通知は、代理通信の完了通知であっても良い。   The relay device is further capable of communicating with the receiving device, and the notification indicating that the receiving device received by the relay unit has received the target data is a reception notification indicating that the receiving device has received the target data by proxy communication. The notification indicating that the receiving device, which is transmitted by the reception re-notifying unit, has received the target data may be a proxy communication completion notification.

通信システムはさらに、中継装置と受信装置と通信可能な他の中継装置を備え、中継部が受信する受信装置が対象データを受信したことを示す通知は、中継装置が対象データを代理通信したことに対し、受信装置が対象データを受信したことを示す受信通知が送信されていないことを検知した他の中継装置が、受信装置に対象データをさらに代理通信したことに対し、受信装置からさらなる代理通信で対象データを受信したことを示す受信通知を受信した際に、他の中継装置が送信する代理通信の完了通知であって、中継部は、他の中継装置が代理通信の完了通知を送信したことに対し、送信装置が代理通信の完了通知を受信したことを示す受信通知が送信されていないことを検知した場合、他の中継装置が送信した代理通信の完了通知を代理通信し、受信再通知部が送信する受信装置が対象データを受信したことを示す通知は、中継部が代理通信する代理通信の完了通知であっても良い。   The communication system further includes a relay device and another relay device capable of communicating with the reception device, and the notification indicating that the reception device received by the relay unit has received the target data indicates that the relay device has performed the proxy communication of the target data. On the other hand, when another relay device detects that the reception notification indicating that the receiving device has received the target data is not transmitted, the other relay device further communicates the target data to the receiving device by proxy communication. When a reception notification indicating that the target data has been received by communication is received, it is a notification of completion of proxy communication sent by another relay device, and the relay unit sends a notification of completion of proxy communication by the other relay device. On the other hand, when the sending device detects that the reception notification indicating that the completion notification of the proxy communication has been received is not sent, it substitutes the completion notification of the proxy communication sent by another relay device. Communication, notification receiver receiving re-notification unit sends indicate that it has received the target data relay unit may be a notification of completion of the proxy communication to the proxy communication.

本発明の第3の特徴は、複数の装置を備える通信システムに用いられる通信方法に関する。本発明の第3の特徴に係る通信方法が用いられる通信システムは、対象データを送信する送信装置と、対象データの送信先となる受信装置と、送信装置と通信可能な中継装置を備える。通信方法は、送信装置が、対象データを受信装置に向けて送信するステップと、中継装置が、送信装置が、受信装置に向けて対象データを送信したことに対し、受信装置が対象データを受信したことを示す受信通知が送信されないことを検知した場合、対象データを中継データに格納するステップと、中継装置が、中継データに格納された対象データを、受信装置に向けて代理通信し、受信装置が対象データを受信したことを示す通知を受信すると、送信装置に、受信装置が対象データを受信したことを示す通知を送信するステップと、送信装置が、対象データを受信装置に向けて送信して所定時間以内に、受信装置が対象データを受信したことを示す通知を受信しない場合、対象データを受信装置に向けて再送するステップと、中継装置が、送信装置による対象データの再送が検知されると、送信装置に、受信装置が対象データを受信したことを示す通知を送信するステップを備える。   A third aspect of the present invention relates to a communication method used in a communication system including a plurality of devices. A communication system using the communication method according to the third aspect of the present invention includes a transmitter that transmits target data, a receiver that is a destination of the target data, and a relay device that can communicate with the transmitter. The communication method includes a step in which the transmission device transmits the target data to the reception device, and a relay device receives the target data in response to the transmission device transmitting the target data to the reception device. When it is detected that the reception notification indicating that the data has been transmitted is not transmitted, the step of storing the target data in the relay data and the relay device performing the proxy communication of the target data stored in the relay data to the receiving device and receiving When the device receives the notification indicating that the target data has been received, a step of transmitting a notification indicating that the receiving device has received the target data to the transmitting device, and the transmitting device sends the target data to the receiving device. If the receiver does not receive the notification indicating that the target data has been received within the predetermined time, the step of retransmitting the target data to the receiver, and the relay device When retransmission of the target data by the transmitting device is detected, the transmitting device comprises the step of transmitting a notification indicating that the receiving apparatus has received the target data.

本発明によれば、代理通信によるトラフィック数を抑制する通信システム、中継装置および通信方法を提供することができる。   According to the present invention, it is possible to provide a communication system, a relay device, and a communication method that suppress the number of traffic due to proxy communication.

本発明の実施の形態に係る通信システムのシステム構成図である。It is a system configuration diagram of a communication system according to an embodiment of the present invention. 本発明の実施の形態に係る中継装置が送信するデータ構造の一例である。It is an example of a data structure transmitted by the relay device according to the embodiment of the present invention. 本発明の実施の形態に係る通信方法の処理を説明するシーケンス図である。It is a sequence diagram explaining the process of the communication method which concerns on embodiment of this invention. 本発明の実施の形態に係る送信装置のハードウエア構成と機能ブロックを説明する図である。It is a figure explaining the hardware constitutions and functional block of the transmitter concerning an embodiment of the invention. 本発明の実施の形態に係る送信部の処理を説明するフローチャートである。5 is a flowchart illustrating processing of a transmission unit according to the embodiment of the present invention. 本発明の実施の形態に係る中継装置のハードウエア構成と機能ブロックを説明する図である。It is a figure explaining the hardware constitutions and functional block of the relay device concerning an embodiment of the invention. 本発明の実施の形態に係る中継データのデータ構造とデータの一例を説明する図である。It is a figure explaining the data structure of relay data which concerns on embodiment of this invention, and an example of data. 本発明の実施の形態に係る受信再通知蓄積データのデータ構造とデータの一例を説明する図である。It is a figure explaining an example of a data structure and data of reception re-notification accumulation data concerning an embodiment of the invention. 本発明の実施の形態に係るオーバーヒア処理部の処理を説明するフローチャートである。It is a flow chart explaining processing of an over hear processing part concerning an embodiment of the invention. 本発明の実施の形態に係る中継部の処理を説明するフローチャートである。It is a flow chart explaining processing of a relay part concerning an embodiment of the invention. 本発明の実施の形態に係る中継部が、対象データを再送する処理を説明するフローチャートである。6 is a flowchart illustrating a process in which the relay unit according to the embodiment of the present invention retransmits target data. 本発明の実施の形態に係る中継部が、代理通信の完了通知を再送する処理を説明するフローチャートである。7 is a flowchart illustrating a process in which the relay unit according to the embodiment of the present invention retransmits a notification of completion of proxy communication. 本発明の実施の形態に係る受信再通知部の処理を説明するフローチャートである。7 is a flowchart illustrating a process of a reception re-notification unit according to the embodiment of the present invention. 変形例に係る通信システムのシステム構成図である。It is a system block diagram of the communication system which concerns on a modification. 変形例に係る通信方法の処理を説明するシーケンス図である。It is a sequence diagram explaining the process of the communication method which concerns on a modification.

次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。   Next, an embodiment of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar reference numerals are given to the same or similar parts.

(通信システム)
図1を参照して、本発明の実施の形態に係る通信システム5を説明する。通信システム5は、複数の通信装置1を備え、各通信装置が網状に接続され、無線メッシュネットワークを構成する。
(Communications system)
A communication system 5 according to an embodiment of the present invention will be described with reference to FIG. The communication system 5 includes a plurality of communication devices 1, and the communication devices are connected in a mesh to form a wireless mesh network.

図1に示す通信システム5は、第1の通信装置1a、第2の通信装置1b、第3の通信装置1cおよび第4の通信装置1dを備える。本発明の実施の形態において第1の通信装置1a、第2の通信装置1b、第3の通信装置1cおよび第4の通信装置1dを特に区別しない場合、単に通信装置1と記載する場合がある。また図1は、4つの通信装置を備えるが、通信装置の数はこれに限るものではない。   The communication system 5 shown in FIG. 1 includes a first communication device 1a, a second communication device 1b, a third communication device 1c, and a fourth communication device 1d. In the embodiment of the present invention, the first communication device 1a, the second communication device 1b, the third communication device 1c, and the fourth communication device 1d may be simply referred to as the communication device 1 unless otherwise distinguished. . Although FIG. 1 includes four communication devices, the number of communication devices is not limited to this.

本発明の実施の形態において、各通信装置1は、各通信における役割に応じて、送信装置2、受信装置4または中継装置3として機能する。各通信装置1は、対象データを送信する際は送信装置2として機能する場合がある。また各通信装置1は、対象データの送信先となる際は受信装置4として機能する場合がある。また各通信装置1は、送信装置2および受信装置4間の通信を中継する中継装置3として機能する場合がある。ここで対象データは、送信装置2が受信装置4に向けて送信するリクエストまたは応答に係るデータであって、後述の代理通信の対象となるデータである。   In the embodiment of the present invention, each communication device 1 functions as a transmission device 2, a reception device 4, or a relay device 3 depending on the role in each communication. Each communication device 1 may function as the transmission device 2 when transmitting the target data. Further, each communication device 1 may function as the receiving device 4 when it becomes the destination of the target data. Each communication device 1 may function as a relay device 3 that relays communication between the transmission device 2 and the reception device 4. Here, the target data is data relating to a request or response transmitted from the transmission device 2 to the reception device 4, and is data to be subjected to proxy communication described later.

本発明の実施の形態に係る通信システム5は、例えば乗用車の内部などの限られた空間に設けられる。各通信装置1は、コントローラに設置されるとともに、例えば車のドア、ルームランプ、窓などの各設備に対応して設置され、各設備の状態をコントローラに送信したり、コントローラから各設備の状態を変更する指示を受信したりする。   The communication system 5 according to the embodiment of the present invention is provided in a limited space such as inside a passenger car. Each communication device 1 is installed not only in the controller but also in correspondence with each facility such as a car door, room lamp, window, etc., and transmits the state of each facility to the controller or the state of each facility from the controller. Receive instructions to change

通信システム5は、アドホック方式で、各通信装置1間の無線通信を実現する。各通信装置1の位置、電波環境等により、各通信装置1は直接通信できない場合がある。本発明の実施の形態において第1の通信装置1aは、第2の通信装置1bと通信可能であるが、第3の通信装置1cおよび第4の通信装置1dと通信できない。第2の通信装置1bは、第1の通信装置1aおよび第3の通信装置1cと通信可能であるが、第4の通信装置1dと通信できない。第3の通信装置1cは、第2の通信装置1bおよび第4の通信装置1dとは通信可能であるが、第1の通信装置1aと通信できない。第4の通信装置1dは、第3の通信装置1cとは通信可能であるが、第1の通信装置1aおよび第2の通信装置1bと通信できない。   The communication system 5 realizes wireless communication between the communication devices 1 by an ad hoc method. Depending on the position of each communication device 1, the radio wave environment, etc., each communication device 1 may not be able to communicate directly. In the embodiment of the present invention, the first communication device 1a can communicate with the second communication device 1b, but cannot communicate with the third communication device 1c and the fourth communication device 1d. The second communication device 1b can communicate with the first communication device 1a and the third communication device 1c, but cannot communicate with the fourth communication device 1d. The third communication device 1c can communicate with the second communication device 1b and the fourth communication device 1d, but cannot communicate with the first communication device 1a. The fourth communication device 1d can communicate with the third communication device 1c, but cannot communicate with the first communication device 1a and the second communication device 1b.

このような状況において、第1の通信装置1aが、第3の通信装置1cに対象データの送信を試みる場合、第1の通信装置1aと第3の通信装置1cは、直接に通信できないので、第2の通信装置1bが、第1の通信装置1aに代わって通信する(代理通信)。   In such a situation, when the first communication device 1a tries to transmit the target data to the third communication device 1c, the first communication device 1a and the third communication device 1c cannot directly communicate with each other. The second communication device 1b communicates on behalf of the first communication device 1a (proxy communication).

具体的には、第1の通信装置1aが対象データを第3の通信装置1cに送信する際、下記の手順で通信が行われる。   Specifically, when the first communication device 1a transmits the target data to the third communication device 1c, communication is performed according to the following procedure.

(1)オーバーヒア
第1の通信装置1aが対象データを第3の通信装置1cに向けて送信すると、第2の通信装置1bは、オーバーヒアを行う。オーバーヒアにおいて第2の通信装置1bは、第1の通信装置1aから第3の通信装置1c宛に対象データが送信されたことを検知する。さらに第2の通信装置1bは、対象データが送信された後、対象データに対する受信通知(Ack)を受信できなかったことを検知する。
(1) Overhear When the first communication device 1a transmits the target data to the third communication device 1c, the second communication device 1b performs overhear. In overheard, the second communication device 1b detects that the target data is transmitted from the first communication device 1a to the third communication device 1c. Further, the second communication device 1b detects that the reception notification (Ack) for the target data cannot be received after the target data is transmitted.

(2)代理通信
第2の通信装置1bは、オーバーヒアした後、代理通信を行う。代理通信において第2の通信装置1bは、その対象データを、第1の通信装置1aに代わって第3の通信装置1cに向けて代理通信する。代理通信した後、第2の通信装置1bは、第3の通信装置1cから、代理通信された対象データについての受信通知を待機する。第3の通信装置1cから受信通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データの代理通信を繰り返しても良い。
(2) Proxy Communication The second communication device 1b performs proxy communication after overhearing. In the proxy communication, the second communication device 1b performs the proxy communication of the target data toward the third communication device 1c instead of the first communication device 1a. After performing the proxy communication, the second communication device 1b waits for a reception notification from the third communication device 1c about the target data that has been proxy communicated. When the reception notification is not received from the third communication device 1c, the second communication device 1b may repeat the proxy communication of the target data at a predetermined time interval and a predetermined number of times.

(3)代理通信の完了通知
第2の通信装置1bは、第3の通信装置1cに対象データを代理通信したことに対し、第3の通信装置1cから受信通知を受信すると、第1の通信装置1aに代理通信の完了通知を通知する。第1の通信装置1aは、代理通信の完了通知を受信すると、対象データが第3の通信装置1cに受信されたと認識する。これにより、送信元から送信先に対象データを送信する一連の通信が完了する。
(3) Notification of Completion of Proxy Communication When the second communication device 1b receives the reception notification from the third communication device 1c in response to the proxy communication of the target data to the third communication device 1c, the first communication device 1b receives the first communication. The device 1a is notified of the completion of proxy communication. Upon receiving the proxy communication completion notification, the first communication device 1a recognizes that the target data has been received by the third communication device 1c. This completes a series of communications for transmitting the target data from the transmission source to the transmission destination.

このような代理通信において第2の通信装置1bが送受信する代理通信に関するデータは、例えば図2に示すように、リンクアドレスとして送信元アドレスP1および宛先アドレスP2、エンドアドレスとして送信元アドレスP3および宛先アドレスP4、種別P5、シーケンス番号P6およびデータP7を備える。代理通信に関するデータは、図2に示す項目以外の項目を含んでも良い。   In such proxy communication, data relating to proxy communication transmitted and received by the second communication device 1b includes, for example, as shown in FIG. 2, a source address P1 and a destination address P2 as link addresses, a source address P3 and a destination as end addresses. An address P4, a type P5, a sequence number P6 and data P7 are provided. The data regarding proxy communication may include items other than the items shown in FIG.

リンクアドレスは、第2の通信装置1bが行う代理通信のデータについて、Link to Linkで直接接続する通信装置1のアドレスを特定する。エンドアドレスは、第2の通信装置1bが代理通信する対象データを送受信する、End to Endの通信装置1のアドレスが設定される。第2の通信装置1bが、第1の通信装置1aから第3の通信装置1cへの通信を代理通信する場合、リンクアドレスの送信元アドレスP1に第2の通信装置1bのアドレスが設定され、宛先アドレスP2に第3の通信装置1cのアドレスが設定される。エンドアドレスの送信元アドレスP3に第1の通信装置1aのアドレスが設定され、宛先アドレスP4に第3の通信装置1cのアドレスが設定される。種別P5には、代理通信または代理通信の完了通知等の、代理通信に関するデータ種別を設定する。シーケンス番号P6は、代理通信のトリガとなる対象データを特定する識別子である。所定の対象データに関する代理通信、代理通信の完了通知等の各データのシーケンス番号P6には、共通する値が設定される。データP7は、送信対象のデータ(ペイロード)であって、対象データが設定されたり、完了通知の旨が設定されたりする。データP7は固定長であっても良いし可変長であっても良い。可変長である場合、データ長を示す項目が設けられても良い。   The link address specifies the address of the communication device 1 directly connected by Link to Link for the data of the proxy communication performed by the second communication device 1b. As the end address, the address of the end-to-end communication device 1 for transmitting / receiving the target data for the second communication device 1b to perform proxy communication is set. When the second communication device 1b performs proxy communication for communication from the first communication device 1a to the third communication device 1c, the source address P1 of the link address is set to the address of the second communication device 1b, The address of the third communication device 1c is set to the destination address P2. The source address P3 of the end address is set to the address of the first communication device 1a, and the destination address P4 is set to the address of the third communication device 1c. In the type P5, a data type relating to proxy communication such as proxy communication or notification of completion of proxy communication is set. The sequence number P6 is an identifier that identifies target data that triggers proxy communication. A common value is set to the sequence number P6 of each data such as the proxy communication relating to the predetermined target data and the notification of the completion of the proxy communication. The data P7 is data to be transmitted (payload), and the target data is set or a notification of completion is set. The data P7 may have a fixed length or a variable length. When the length is variable, an item indicating the data length may be provided.

(通信方法)
図3を参照して、本発明の実施の形態に係る通信方法を説明する。図3は、第1の通信装置1aが第4の通信装置1dに対象データを送信する場合の処理を示す。図3に示す例において、実線は通信可能であることを示し、破線は通信できないことを示す。図3に示す例において、「代理通信」、「受信通知」および「代理通信の完了通知」に続く記号「#」および番号は、各データを識別するものである。また図3は、第2の通信装置1bおよび第3の通信装置1cが代理通信等を再送するステップを割愛する。
(Communication method)
A communication method according to the embodiment of the present invention will be described with reference to FIG. FIG. 3 shows a process when the first communication device 1a transmits target data to the fourth communication device 1d. In the example shown in FIG. 3, the solid line indicates that communication is possible, and the broken line indicates that communication is not possible. In the example shown in FIG. 3, a symbol "#" and a number following "proxy communication", "reception notification" and "notification of completion of proxy communication" identify each data. Further, FIG. 3 omits the step in which the second communication device 1b and the third communication device 1c retransmit the proxy communication and the like.

まずステップS1において第1の通信装置1aは、対象データを第4の通信装置1dに向けて送信して、対象データの直接通信を試みる。第1の通信装置1aは、対象データを送信した後、ステップS2において、所定時間、対象データが第4の通信装置1dに受信されたことの通知を待機する。所定時間以内に第4の通信装置1dに受信されたことの通知を受信しない場合、第1の通信装置1aは、所定の時間間隔かつ所定回数、対象データを再送する。第1の通信装置1aが待機する通知は、第1の通信装置1aと第4の通信装置1dが通信可能な場合、第4の通信装置1dから受信する受信通知である。しかしながら本実施の形態において第1の通信装置1aと第4の通信装置1dは通信できないので、他の通信装置1(第2の通信装置1b)が送信した代理通信の完了通知である。ここでは、後述のステップS20まで、第1の通信装置1aは、対象データを再送せずに、対象データが受信されたことの通知を待機する。   First, in step S1, the first communication device 1a transmits the target data to the fourth communication device 1d to attempt direct communication of the target data. After transmitting the target data, the first communication device 1a waits for the notification that the target data is received by the fourth communication device 1d for a predetermined time in step S2. If the fourth communication device 1d does not receive the notification that it has been received within the predetermined time, the first communication device 1a retransmits the target data at a predetermined time interval and a predetermined number of times. The notification that the first communication device 1a waits is a reception notification received from the fourth communication device 1d when the first communication device 1a and the fourth communication device 1d can communicate with each other. However, in the present embodiment, since the first communication device 1a and the fourth communication device 1d cannot communicate with each other, this is a completion notification of proxy communication transmitted by another communication device 1 (second communication device 1b). Here, the first communication device 1a does not retransmit the target data and waits for a notification that the target data is received until step S20 described later.

第2の通信装置1bは、オーバーヒアで、ステップS1で対象データが送信されたことを検知し、ステップS3において対象データの直接通信に対する受信通知#1を監視する。   The second communication device 1b detects that the target data has been transmitted in step S1 due to overheard, and monitors the reception notification # 1 for the direct communication of the target data in step S3.

第1の通信装置1aと第4の通信装置1dは直接通信できないので、ステップS4において、第1の通信装置1aは、第4の通信装置1dから、ステップS1の対象データの直接通信に対する受信通知#1を取得することはできない。第2の通信装置1bは、受信通知#1が送信されないことを検知すると、ステップS5において、第4の通信装置1dに対して、対象データの代理通信#1を行う。第2の通信装置1bは、対象データの代理通信#1を行った後、ステップS6において、所定時間、対象データの代理通信#1が第4の通信装置1dに受信されたことの通知を待機する。所定時間以内に受信されたことの通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データの代理通信#1を再送する。第2の通信装置1bが待機する通知は、第2の通信装置1bと第4の通信装置1dが通信可能な場合、第4の通信装置1dからの受信通知である。しかしながら本実施の形態において第2の通信装置1bと第4の通信装置1dは通信できないので、他の通信装置1(第3の通信装置1c)が送信した代理通信の完了通知である。   Since the first communication device 1a and the fourth communication device 1d cannot directly communicate with each other, in step S4, the first communication device 1a notifies the fourth communication device 1d of the reception notification for the direct communication of the target data in step S1. You cannot get # 1. When detecting that the reception notification # 1 is not transmitted, the second communication device 1b performs the proxy communication # 1 of the target data to the fourth communication device 1d in step S5. After performing the proxy communication # 1 of the target data, the second communication device 1b waits for a notification that the proxy communication # 1 of the target data has been received by the fourth communication device 1d for a predetermined time in step S6. To do. When the second communication device 1b does not receive the notification that it has been received within the predetermined time, the second communication device 1b retransmits the proxy communication # 1 of the target data at the predetermined time interval and the predetermined number of times. The notification that the second communication device 1b waits is a reception notification from the fourth communication device 1d when the second communication device 1b and the fourth communication device 1d can communicate with each other. However, in the present embodiment, since the second communication device 1b and the fourth communication device 1d cannot communicate with each other, this is a completion notification of proxy communication transmitted by another communication device 1 (third communication device 1c).

第3の通信装置1cは、オーバーヒアで、ステップS5で対象データの代理通信#1が行われたことを検知し、ステップS7において対象データの代理通信#1に対する受信通知#2を監視する。   The third communication device 1c detects that the proxy communication # 1 of the target data has been performed in step S5 due to overheard, and monitors the reception notification # 2 to the proxy communication # 1 of the target data in step S7.

第2の通信装置1bと第4の通信装置1dは直接通信できないので、ステップS8において、第2の通信装置1bは、第4の通信装置1dから、ステップS5の対象データの代理通信#1に対する受信通知#2を取得することはできない。第3の通信装置1cは、受信通知#2が送信されないことを検知すると、ステップS9において、第4の通信装置1dに対して、対象データの代理通信#2を行う。第3の通信装置1cは、対象データの代理通信#2を行った後、ステップS10において、所定時間、対象データの代理通信#2が第4の通信装置1dに受信されたことの通知を待機する。所定時間以内に受信されたことの通知を受信しない場合、第3の通信装置1cは、所定の時間間隔かつ所定回数、対象データの代理通信#2を再送する。第3の通信装置1cが待機する通知は、第3の通信装置1cと第4の通信装置1dが通信可能なので、第4の通信装置1dからの受信通知である。   Since the second communication device 1b and the fourth communication device 1d cannot directly communicate with each other, in step S8, the second communication device 1b communicates with the proxy communication # 1 of the target data in step S5 from the fourth communication device 1d. The reception notification # 2 cannot be acquired. Upon detecting that the reception notification # 2 is not transmitted, the third communication device 1c performs the proxy communication # 2 of the target data to the fourth communication device 1d in step S9. After performing the proxy communication # 2 of the target data, the third communication device 1c waits for the notification that the proxy communication # 2 of the target data has been received by the fourth communication device 1d for a predetermined time in step S10. To do. If the third communication device 1c does not receive the notification that it has been received within the predetermined time, the third communication device 1c retransmits the proxy communication # 2 of the target data at the predetermined time interval and the predetermined number of times. The notification that the third communication device 1c waits is a reception notification from the fourth communication device 1d because the third communication device 1c and the fourth communication device 1d can communicate with each other.

ステップS11において第3の通信装置1cは、第4の通信装置1dからステップS9の代理通信#2に対する受信通知#3を受信する。ステップS12において第3の通信装置1cは、ステップS9で送信した対象データの代理通信#2に関するデータを破棄する。ステップS13において第3の通信装置1cは、第1の通信装置1aに向けて、代理通信の完了通知#1の送信を試みる。第3の通信装置1cは、対象データの代理通信の完了通知#1を行った後、ステップS14において、所定時間、対象データの代理通信の完了通知#1が第1の通信装置1aに受信されたことの通知を待機する。所定時間以内に受信されたことの通知を受信しない場合、第3の通信装置1cは、所定の時間間隔かつ所定回数、対象データの代理通信の完了通知#1を再送する。   In step S11, the third communication device 1c receives the reception notification # 3 for the proxy communication # 2 in step S9 from the fourth communication device 1d. In step S12, the third communication device 1c discards the data regarding the proxy communication # 2 of the target data transmitted in step S9. In step S13, the third communication device 1c attempts to transmit the proxy communication completion notification # 1 toward the first communication device 1a. After the completion notification # 1 of the proxy communication of the target data is performed, the third communication device 1c receives the completion notification # 1 of the proxy communication of the target data in the first communication device 1a for a predetermined time in step S14. Wait for notification. If the third communication device 1c does not receive the notification that it has been received within the predetermined time, the third communication device 1c retransmits the completion notification # 1 of the proxy communication of the target data at the predetermined time interval and the predetermined number of times.

第2の通信装置1bは、オーバーヒアで、ステップS13で代理通信の完了通知#1が送信されたことを検知する。ステップS15において第2の通信装置1bは、ステップS5で送信した代理通信データの対象データについて、代理通信の完了通知が送信されたと判断し、ステップS5で送信した代理通信データを削除する。また第2の通信装置1bは、代理通信の完了通知#1の受信通知#4を監視する。   The second communication device 1b detects that the proxy communication completion notification # 1 has been transmitted in step S13 due to overheard. In step S15, the second communication device 1b determines that the notification of completion of proxy communication has been transmitted for the target data of the proxy communication data transmitted in step S5, and deletes the proxy communication data transmitted in step S5. The second communication device 1b also monitors the reception notification # 4 of the notification # 1 of completion of proxy communication.

第3の通信装置1cと第1の通信装置1aは直接通信できないので、ステップS16において、第3の通信装置1cは、第1の通信装置1aから、ステップS13の代理通信の完了通知#1に対する受信通知#4を取得することはできない。第2の通信装置1bは、受信通知#4が送信されないことを検知すると、ステップS17において、第1の通信装置1aに対して、代理通信の完了通知#2を送信する。代理通信の完了通知#2は、代理通信の完了通知#1を、第2の通信装置1bが代理通信する対象である。第2の通信装置1bは、対象データの代理通信の完了通知#2を行った後、ステップS18において、所定時間、対象データの代理通信の完了通知#2が第1の通信装置1aに受信されたことの通知を待機する。所定時間以内に受信されたことの通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データの代理通信の完了通知#2を再送する。   Since the third communication device 1c and the first communication device 1a cannot directly communicate with each other, in step S16, the third communication device 1c sends the proxy communication completion notification # 1 in step S13 from the first communication device 1a. The reception notification # 4 cannot be acquired. When detecting that the reception notification # 4 is not transmitted, the second communication device 1b transmits a notification of completion of proxy communication # 2 to the first communication device 1a in step S17. The proxy communication completion notification # 2 is a target for proxy communication of the proxy communication completion notification # 1 by the second communication device 1b. After the completion notification # 2 of the proxy communication of the target data is performed, the second communication device 1b receives the completion notification # 2 of the proxy communication of the target data in the first communication device 1a for a predetermined time in step S18. Wait for notification. When the second communication device 1b does not receive the notification that it has been received within the predetermined time, the second communication device 1b retransmits the completion notification # 2 of the proxy communication of the target data at the predetermined time interval and the predetermined number of times.

ここで通信環境の変化等により、第1の通信装置1aが代理通信の完了通知#2を受信できない場合、ステップS19において第2の通信装置1bは、ステップS17の代理通信の完了通知#2に対する受信通知#5を取得することはできない。   If the first communication device 1a cannot receive the proxy communication completion notification # 2 due to a change in the communication environment or the like, the second communication device 1b responds to the proxy communication completion notification # 2 in step S17 in step S19. The reception notification # 5 cannot be acquired.

一方、ステップS2で、所定時間、対象データの再送または通知待ちであった第1の通信装置1aが所定時間内に通知を受信しなかった場合、ステップS20において第1の通信装置1aは、対象データの再送を試みる。ステップS21において第2の通信装置1bは、第1の通信装置1aによる対象データの再送を検知すると、その対象データに関する代理通信の完了通知#2を、第1の通信装置1aに向けて再送する。また第2の通信装置1bは、第1の通信装置1aによる対象データの再送について、受信通知を監視せず、対象データの代理通信を行わない。   On the other hand, in step S2, if the first communication device 1a, which has been waiting for the retransmission or notification of the target data for the predetermined time, does not receive the notification within the predetermined time, the first communication device 1a determines in step S20 that the target Try to resend the data. When the second communication device 1b detects the retransmission of the target data by the first communication device 1a in step S21, the second communication device 1b retransmits the completion notification # 2 of the proxy communication regarding the target data to the first communication device 1a. . Further, the second communication device 1b does not monitor the reception notification and does not perform the proxy communication of the target data regarding the retransmission of the target data by the first communication device 1a.

このように本発明の実施の形態に係る通信方法において、第1の通信装置1aが対象データを送信した後に、対象データが第4の通信装置1dに受信されたことの通知を受信しない場合、第1の通信装置1aが対象データを再送する。第2の通信装置1bが対象データの再送を検知すると、第2の通信装置1bは、対象データが第4の通信装置1dに受信されたことを把握する場合、対象データが第4の通信装置1dに受信されたことを示す通知を、第1の通信装置1aに送信する。図3に示す例において第2の通信装置1bは、第3の通信装置1cが対象データに関する代理通信の完了通知#1を送信したことを把握しているので、第1の通信装置1aに、対象データが第4の通信装置1dに受信されたことを通知することができる。   As described above, in the communication method according to the embodiment of the present invention, when the notification that the target data is received by the fourth communication device 1d is not received after the first communication device 1a transmits the target data, The first communication device 1a retransmits the target data. When the second communication device 1b detects that the target data is retransmitted, the second communication device 1b recognizes that the target data is received by the fourth communication device 1d, and the target data is the fourth communication device. The notification indicating that it is received by 1d is transmitted to the first communication device 1a. In the example illustrated in FIG. 3, the second communication device 1b knows that the third communication device 1c has transmitted the completion notification # 1 of the proxy communication regarding the target data. It is possible to notify that the target data has been received by the fourth communication device 1d.

従来の通信方法において、第1の通信装置1aが対象データを再送する場合、図3のステップS1ないしステップS20の処理が繰り返され、通信システム5におけるトラフィック数が増加する。一方本発明の実施の形態に係る通信方法は、第2の通信装置1bが第1の通信装置1aに、対象データが第4の通信装置1dに受信されたことを通知する。これにより第1の通信装置1aは、その後、対象データを再送することなく、また第2の通信装置1bが、再送された対象データについての代理通信を行わないので、通信システム5におけるトラフィック数を抑制することができる。また本発明の実施の形態に係る通信方法において、送信装置および受信装置間で通信を中継する中継装置の数が多いほど、トラフィック数の抑制の効果は顕著になる。   In the conventional communication method, when the first communication device 1a retransmits the target data, the processes of steps S1 to S20 of FIG. 3 are repeated, and the number of traffics in the communication system 5 increases. On the other hand, in the communication method according to the embodiment of the present invention, the second communication device 1b notifies the first communication device 1a that the target data has been received by the fourth communication device 1d. As a result, the first communication device 1a thereafter does not retransmit the target data, and the second communication device 1b does not perform the proxy communication for the retransmitted target data. Can be suppressed. Further, in the communication method according to the embodiment of the present invention, the greater the number of relay devices that relay communication between the transmission device and the reception device, the more remarkable the effect of suppressing the traffic number becomes.

図3に示す例において、ステップS17の代理通信の完了通知#2について、受信通知#5を受信できないと判定した後に、第1の通信装置1aによる対象データの再送が検知された場合に代理通信の完了通知#2を再送する場合を説明したがこれに限られない。例えば、ステップS17において代理通信の完了通知#2の再送を待機している間などであっても、第1の通信装置1aによる対象データの再送が検知された場合に代理通信の完了通知#2を再送しても良い。   In the example illustrated in FIG. 3, for the notification of completion of proxy communication # 2 in step S17, the proxy communication is performed when it is detected that the first communication device 1a retransmits the target data after it is determined that the reception notification # 5 cannot be received. Although the case of retransmitting the completion notification # 2 has been described, the present invention is not limited to this. For example, while waiting for the retransmission of the proxy communication completion notification # 2 in step S17, etc., when the retransmission of the target data by the first communication device 1a is detected, the proxy communication completion notification # 2 is detected. May be resent.

さらに、図3に示す例において、第1の通信装置1aの対象データの送信を代理通信した第2の通信装置1bが、第1の通信装置1aによる対象データの再送が検知された場合に代理通信の完了通知を送信する場合を説明したがこれに限られない。対象データの送信を代理通信した通信装置でなくとも、第1の通信装置1aによる対象データの再送を検知し、その対象データが第4の通信装置1dによって受信されたことを把握している通信装置1が、その旨を第1の通信装置1aに通知しても良い。   Further, in the example shown in FIG. 3, the second communication device 1b, which has made the proxy communication of the transmission of the target data of the first communication device 1a, acts as a proxy when the retransmission of the target data by the first communication device 1a is detected. Although the case of transmitting the communication completion notification has been described, the present invention is not limited to this. A communication that detects retransmission of target data by the first communication device 1a and recognizes that the target data has been received by the fourth communication device 1d, even if the communication device did not proxy the transmission of the target data. The device 1 may notify the first communication device 1a to that effect.

また図3において、第1の通信装置1aは、ステップS2での通知または再送待ちの後、ステップS20において対象データを再送するまでの間、対象データを再送しない場合を説明したが、これに限らない。第1の通信装置1aは、予め定められた条件に従って対象データを再送しても良い。その場合、第2の通信装置1bが、第1の通信装置1aによる対象データの再送を検知した際に、対象データが第4の通信装置1dに送信された確認を取れているか否かによって、第2の通信装置1bの動作が異なる。   Further, in FIG. 3, the case where the first communication device 1a does not retransmit the target data until the target data is retransmitted in step S20 after the notification or the waiting for retransmission in step S2 has been described, but the present invention is not limited to this. Absent. The first communication device 1a may retransmit the target data according to a predetermined condition. In that case, when the second communication device 1b detects the retransmission of the target data by the first communication device 1a, depending on whether the target data has been confirmed to have been transmitted to the fourth communication device 1d, The operation of the second communication device 1b is different.

対象データが第4の通信装置1dに送信された確認を取れていない場合、ステップS3以降と同様に、代理通信が行われる。対象データが第4の通信装置1dに送信された確認を取れていない場合は、具体的には、図3のステップS13において、第2の通信装置1bが、代理通信の完了通知#1をオーバーヒアする前において、第1の通信装置1aが対象データを再送した場合である。一方対象データが第4の通信装置1dに送信された確認を取れている場合、ステップS21に示すように、第2の通信装置1bが、その対象データに関する代理通信の完了通知を、第1の通信装置1aに送信する。対象データが第4の通信装置1dに送信された確認を取れている場合は、具体的には、図3のステップS13において、第2の通信装置1bが、代理通信の完了通知#1をオーバーヒアした後において、第1の通信装置1aが対象データを再送した場合である。   If the target data has not been confirmed to have been transmitted to the fourth communication device 1d, proxy communication is performed as in step S3 and thereafter. When the target data has not been confirmed to have been transmitted to the fourth communication device 1d, specifically, in step S13 of FIG. 3, the second communication device 1b exceeds the proxy communication completion notification # 1. This is the case where the first communication device 1a retransmits the target data before hearing. On the other hand, when it is confirmed that the target data has been transmitted to the fourth communication device 1d, as shown in step S21, the second communication device 1b sends the completion notification of the proxy communication regarding the target data to the first communication device 1d. It is transmitted to the communication device 1a. When it is confirmed that the target data has been transmitted to the fourth communication device 1d, specifically, in step S13 of FIG. 3, the second communication device 1b exceeds the proxy communication completion notification # 1. This is a case where the first communication device 1a retransmits the target data after hearing.

(送信装置)
図4を参照して、本発明の実施の形態に係る通信装置である送信装置2を説明する。図4に示す送信装置2は、図3に示す第1の通信装置1aに対応する。図4は、通信装置1が送信装置2として機能する場合の構成を示し、通信装置1が中継装置3または受信装置4として機能する場合の構成は割愛する。
(Transmission device)
With reference to FIG. 4, description will be given of transmitting device 2 which is a communication device according to the embodiment of the present invention. The transmission device 2 shown in FIG. 4 corresponds to the first communication device 1a shown in FIG. FIG. 4 shows the configuration when the communication device 1 functions as the transmission device 2, and the configuration when the communication device 1 functions as the relay device 3 or the reception device 4 is omitted.

送信装置2は、記憶装置21、処理装置25、通信制御装置29を備える一般的なコンピュータである。一般的なコンピュータが送信プログラムを実行することにより、図4に示す機能を実現する。   The transmission device 2 is a general computer including a storage device 21, a processing device 25, and a communication control device 29. A general computer executes the transmission program to realize the functions shown in FIG.

記憶装置21は、ROM(Read Only Memory)、RAM(Random access memory)、ハードディスク等であって、処理装置25が処理を実行するための入力データ、出力データおよび中間データなどの各種データを記憶する。処理装置25は、CPU(Central Processing Unit)であって、記憶装置21に記憶されたデータを読み書きしたり、通信制御装置29とデータを入出力したりして、送信装置2における処理を実行する。通信制御装置29は、送信装置2が、他の通信装置1(中継装置3および受信装置4)と通信可能に接続するためのインタフェースである。   The storage device 21 is a ROM (Read Only Memory), a RAM (Random access memory), a hard disk, or the like, and stores various data such as input data, output data, and intermediate data for the processing device 25 to execute processing. . The processing device 25 is a CPU (Central Processing Unit), and reads and writes data stored in the storage device 21 and inputs and outputs data to and from the communication control device 29 to execute processing in the transmission device 2. . The communication control device 29 is an interface for connecting the transmitting device 2 to the other communication devices 1 (the relay device 3 and the receiving device 4) in a communicable manner.

記憶装置21は、送信プログラムを記憶するとともに、対象データTを記憶する。対象データTは、送信装置2が受信装置4に送信するデータである。   The storage device 21 stores the transmission program and also the target data T. The target data T is data that the transmission device 2 transmits to the reception device 4.

処理装置25は、送信部26を有する。送信部26は、対象データTを受信装置4に向けて送信する。送信部26は、対象データTを受信装置4に向けて送信して所定時間以内に、受信装置4が対象データTを受信したことを示す通知を受信しない場合、対象データTを受信装置4に向けて再送する。受信装置4が対象データTを受信したことを示す通知は、送信装置2と受信装置4が直接通信可能な場合、受信装置4が対象データTを送信装置2から受信したことを示す受信通知である。一方中継装置3による代理通信を用いて受信装置4に対象データTを送信する場合、受信装置4が対象データTを受信したことを示す通知は、中継装置3による対象データの代理通信の完了通知である。   The processing device 25 has a transmission unit 26. The transmission unit 26 transmits the target data T to the reception device 4. When the transmitting unit 26 does not receive the notification indicating that the receiving device 4 has received the target data T within the predetermined time after transmitting the target data T to the receiving device 4, the transmitting unit 26 sends the target data T to the receiving device 4. Resend to. The notification indicating that the receiving device 4 has received the target data T is a reception notification indicating that the receiving device 4 has received the target data T from the transmitting device 2 when the transmitting device 2 and the receiving device 4 can directly communicate with each other. is there. On the other hand, when the target data T is transmitted to the receiving device 4 by using the proxy communication by the relay device 3, the notification indicating that the receiving device 4 has received the target data T is a completion notification of the proxy communication of the target data by the relay device 3. Is.

送信部26は、対象データTを受信装置4に向けて送信して所定時間以内に、受信装置4がデータを受信したことを示す通知を受信すると、対象データTが受信装置4に受信されたことを確認し、対象データTを削除する。   When the transmitter 26 receives the notification indicating that the receiving device 4 has received the data within a predetermined time after transmitting the target data T to the receiving device 4, the receiving device 4 receives the target data T. Then, the target data T is deleted.

図5を参照して、送信部26による送信処理を説明する。   The transmission process by the transmission unit 26 will be described with reference to FIG.

まずステップS101において送信部26は、対象データTを送信する。ステップS102において送信部26は、ステップS101で送信した対象データについての受信通知または代理通信の完了通知の受信を待機する。受信通知または代理通信の完了通知を受信すると、そのまま処理を終了する。   First, in step S101, the transmission unit 26 transmits the target data T. In step S102, the transmission unit 26 waits for reception of the reception notification of the target data transmitted in step S101 or the completion notification of proxy communication. When the reception notice or the notice of completion of proxy communication is received, the process is terminated as it is.

ステップS102において受信通知または代理通信の完了通知を受信しない場合、ステップS103において送信部26は、対象データTの再送時間が到来したか否かを判定する。再送時間が到来するまで、ステップS102において、受信通知または代理通信の完了通知の受信を待機する。   When the reception notification or the proxy communication completion notification is not received in step S102, the transmission unit 26 determines in step S103 whether the retransmission time of the target data T has arrived. Until the retransmission time arrives, the reception of the reception notification or the notification of the completion of the proxy communication is waited in step S102.

ステップS103において対象データTの再送時間が到来した場合、ステップS104において送信部26は、対象データTを再送し、再送回数をカウントアップする。さらにステップS105においてステップS104で再送した対象データについての受信通知または代理通信の完了通知の受信を待機する。受信通知または代理通信の完了通知を受信すると、そのまま処理を終了する。   When the retransmission time of the target data T arrives in step S103, the transmission unit 26 retransmits the target data T and counts up the number of retransmissions in step S104. Further, in step S105, the reception of the reception notification of the target data retransmitted in step S104 or the notification of the completion of proxy communication is awaited. When the reception notice or the notice of completion of proxy communication is received, the process is terminated as it is.

ステップS106において送信部26は、所定の再送回数をオーバーしたか否かを判定する。オーバーしていない場合、ステップS102に戻り、ステップS102において送信部26は、ステップS104で送信した対象データについての受信通知または代理通信の完了通知の受信を待機する。ステップS105において所定の再送回数をオーバーした場合、ステップS107において送信部26は、対象データに関連するデータを破棄して対象データTの送信を断念し、処理を終了する。   In step S106, the transmission unit 26 determines whether or not the predetermined number of retransmissions has been exceeded. If not exceeded, the process returns to step S102, and in step S102, the transmission unit 26 waits for reception of the reception notification of the target data transmitted in step S104 or the completion notification of proxy communication. When the predetermined number of retransmissions is exceeded in step S105, the transmission unit 26 discards the data related to the target data, abandons the transmission of the target data T in step S107, and ends the process.

(中継装置)
図6を参照して、本発明の実施の形態に係る通信装置である中継装置3を説明する。図4に示す中継装置3は、図3に示す第2の通信装置1bまたは第3の通信装置1cに対応する。図6は、通信装置1が中継装置3として機能する場合の構成を示し、通信装置1が送信装置2または受信装置4として機能する場合の構成は割愛する。
(Relay device)
With reference to FIG. 6, the relay device 3 that is the communication device according to the embodiment of the present invention will be described. The relay device 3 shown in FIG. 4 corresponds to the second communication device 1b or the third communication device 1c shown in FIG. FIG. 6 shows the configuration when the communication device 1 functions as the relay device 3, and the configuration when the communication device 1 functions as the transmission device 2 or the reception device 4 is omitted.

中継装置3は、記憶装置31、処理装置35、通信制御装置39を備える一般的なコンピュータである。一般的なコンピュータが中継プログラムを実行することにより、図6に示す機能を実現する。   The relay device 3 is a general computer including a storage device 31, a processing device 35, and a communication control device 39. When a general computer executes the relay program, the functions shown in FIG. 6 are realized.

記憶装置31は、ROM(Read Only Memory)、RAM(Random access memory)、ハードディスク等であって、処理装置35が処理を実行するための入力データ、出力データおよび中間データなどの各種データを記憶する。処理装置35は、CPU(Central Processing Unit)であって、記憶装置31に記憶されたデータを読み書きしたり、通信制御装置39とデータを入出力したりして、中継装置3における処理を実行する。通信制御装置39は、中継装置3が、他の通信装置1(送信装置2および受信装置4)と通信可能に接続するためのインタフェースである。   The storage device 31 is a ROM (Read Only Memory), a RAM (Random access memory), a hard disk, and the like, and stores various data such as input data, output data, and intermediate data for the processing device 35 to execute processing. . The processing device 35 is a CPU (Central Processing Unit), reads and writes data stored in the storage device 31, inputs and outputs data to and from the communication control device 39, and executes processing in the relay device 3. . The communication control device 39 is an interface for connecting the relay device 3 to the other communication devices 1 (the transmission device 2 and the reception device 4) in a communicable manner.

記憶装置31は、中継プログラムを記憶するとともに、中継データ32および受信再通知蓄積データ33を記憶する。   The storage device 31 stores the relay program and also stores the relay data 32 and the reception re-notification accumulated data 33.

中継データ32は、中継部37によって送信されるデータを保持するバッファである。中継データ32は、例えばFIFO形式で送信される。中継データ32は、図7に示すように、送信装置2から送信され受信装置4から受信通知が通知されていない対象データの代理通信、代理通信の完了通知等の各データを保有する。各データについて、所定の時間間隔かつ所定回数再送する場合、中継データ32において、再送した回数や再送までの時間を計測するタイマーなどの情報が対応づけられても良い。   The relay data 32 is a buffer that holds the data transmitted by the relay unit 37. The relay data 32 is transmitted in the FIFO format, for example. As shown in FIG. 7, the relay data 32 holds respective data such as proxy communication of target data transmitted from the transmission device 2 and not notified of reception by the reception device 4, notification of completion of proxy communication, and the like. When each data is retransmitted at a predetermined time interval and a predetermined number of times, the relay data 32 may be associated with information such as a timer for measuring the number of times of retransmission and the time until retransmission.

受信再通知蓄積データ33は、受信再通知部38によって送信されるデータを保持するバッファである。受信再通知蓄積データ33は、図8に示すように、中継装置3が代理通信の完了通知を送信したものの、送信装置2から受信通知を受信していない代理通信の完了通知の各データを保有する。受信再通知蓄積データ33の各データは、送信装置2が関連する対象データTを再送した際に送信される。受信再通知蓄積データ33の各データは、所定時間保持された後破棄され、図8に示すように、破棄されるまでの再送を待機する時間が関連づけられる。   The reception re-notification accumulated data 33 is a buffer that holds the data transmitted by the reception re-notification unit 38. As shown in FIG. 8, the reception re-notification accumulated data 33 retains each data of the completion notification of the proxy communication in which the relay device 3 transmits the completion notification of the proxy communication but does not receive the reception notification from the transmission device 2. To do. Each data of the reception re-notification accumulated data 33 is transmitted when the transmitter 2 retransmits the related target data T. Each data of the reception re-notification accumulated data 33 is retained after being retained for a predetermined time and then discarded, and as shown in FIG. 8, the time to wait for retransmission before being discarded is associated.

受信再通知蓄積データ33は、中継部37によって、所定の時間間隔かつ所定回数再送しても受信通知を得られないデータを保持しても良い。また、受信再通知蓄積データ33は、中継部37によって所定回数再送されたか否かを問わず、受信通知を得られないデータを保持しても良い。   The reception re-notification accumulated data 33 may hold the data for which the reception notification is not obtained even when the relay unit 37 retransmits the data at a predetermined time interval and a predetermined number of times. Further, the reception re-notification accumulated data 33 may retain data for which a reception notification cannot be obtained regardless of whether or not the relay unit 37 retransmits the reception re-notification a predetermined number of times.

処理装置25は、オーバーヒア処理部36、中継部37および受信再通知部38を備える。   The processing device 25 includes an over-hear processing unit 36, a relay unit 37, and a reception re-notification unit 38.

オーバーヒア処理部36は、送信装置2が、受信装置4に向けて対象データTを送信したことに対し、受信装置4が対象データTを受信したことを示す受信通知が送信されないことを検知した場合、対象データを中継データ32に格納する。オーバーヒア処理部36は、送信装置2が受信装置4に向けてデータを送信した際に、そのデータを記憶装置31に一時保存する。オーバーヒア処理部36は、所定時間内に受信装置4がこのデータを受信したことを示す受信通知が送信されないことを検知すると、一時保存したデータを中継データ32に格納し、中継部37による代理通信に備える。   The over-hear processing unit 36 detects that the transmission device 2 has transmitted the target data T to the reception device 4, but the reception notification indicating that the reception device 4 has received the target data T is not transmitted. In this case, the target data is stored in the relay data 32. When the transmitting device 2 transmits data to the receiving device 4, the overhear processing unit 36 temporarily stores the data in the storage device 31. When detecting that the reception notification indicating that the receiving device 4 has received this data is not transmitted within the predetermined time, the overheard processing unit 36 stores the temporarily stored data in the relay data 32, and the proxy unit 37 substitutes the data. Prepare for communication.

図9を参照して、オーバーヒア処理部36によるオーバーヒア処理を説明する。   Overhear processing by the overhear processing unit 36 will be described with reference to FIG. 9.

ステップS201においてオーバーヒア処理部36は、受信可能領域で送受信される通信データを検知すると、ステップS202において、検知した通信データの種別を判定する。   When detecting the communication data transmitted / received in the receivable area in step S201, the overhear processing unit 36 determines the type of the detected communication data in step S202.

検知した通信データが、送信装置2による対象データTの再送に関する場合、ステップS203において受信再通知部38に、対象データTが再送された旨と、その対象データTのシーケンス番号等を通知する。受信再通知部38は、オーバーヒア処理部36からの通知内容に従って、対象データTが受信装置4によって受信されていることを把握する場合、対象データTが受信装置4によって受信されている旨を送信装置2に通知する。オーバーヒア処理部36は、検知した通信データが、例えばログ等を参照して、送信装置2による対象データTの再送に関するか否かを判定する。   When the detected communication data relates to the retransmission of the target data T by the transmission device 2, the reception re-notification unit 38 is notified in step S203 that the target data T has been retransmitted, the sequence number of the target data T, and the like. When the reception re-notification unit 38 recognizes that the target data T is received by the reception device 4 according to the notification content from the over-hear processing unit 36, the reception re-notification unit 38 indicates that the target data T is received by the reception device 4. Notify the transmitter 2. The overhear processing unit 36 determines whether or not the detected communication data relates to the retransmission of the target data T by the transmission device 2 by referring to, for example, a log.

一方検知した通信データが、対象データTの1回目の送信または代理通信の完了通知の場合、ステップS204に進む。ステップS204においてオーバーヒア処理部36は、通信データに対する受信通知が送信されたか否かを判定する。受信通知が送信された場合、オーバーヒア処理部36は処理を終了する。送信されなかった場合、オーバーヒア処理部36は、ステップS205においてステップS201において検知した通信データを中継データ32に格納して処理を終了する。中継データ32に格納されたデータは、中継部37によって代理通信される。   On the other hand, if the detected communication data is the first transmission of the target data T or the completion notification of the proxy communication, the process proceeds to step S204. In step S204, the overhear processing unit 36 determines whether or not the reception notification for the communication data has been transmitted. When the reception notification is transmitted, the overhear processing unit 36 ends the processing. If not transmitted, the over-hear processing unit 36 stores the communication data detected in step S201 in the relay data 32 in step S205, and ends the process. The data stored in the relay data 32 is proxy-communicated by the relay unit 37.

中継部37は、中継データ32に格納された対象データTを、受信装置4に向けて代理通信し、受信装置4が対象データTを受信したことを示す「通知」を受信すると、送信装置2に、通知を送信する。中継部37は、受信装置4が対象データTを受信したことを示す通知を受信しない場合、所定の時間間隔かつ所定回数、対象データTの代理通信を繰り返しても良い。   When the relay unit 37 performs the proxy communication of the target data T stored in the relay data 32 toward the receiving device 4 and receives the “notification” indicating that the receiving device 4 has received the target data T, the transmitting device 2 Send a notification to. When the relay unit 37 does not receive the notification indicating that the receiving device 4 has received the target data T, the relay unit 37 may repeat the proxy communication of the target data T for a predetermined time interval and a predetermined number of times.

本発明の実施の形態に示すように、第2の通信装置1bが、対象データTの送信先である第4の通信装置1dと通信できない場合、中継部37が受信する「通知」は、第3の通信装置1c(他の中継装置)が送信する代理通信の完了通知である。第3の通信装置1c(他の中継装置)は、第2の通信装置1b(中継装置3)が対象データTを代理通信したことに対し、第4の通信装置1d(受信装置4)が対象データTを受信したことを示す受信通知が送信されていないことを検知すると、第4の通信装置1d(受信装置4)に対象データTをさらに代理通信する。第3の通信装置1cは、第4の通信装置1d(受信装置4)からさらなる代理通信で対象データTを受信したことを示す受信通知を受信した際に、代理通信の完了通知を、第2の通信装置1b(中継装置3)に送信する。   As shown in the embodiment of the present invention, when the second communication device 1b cannot communicate with the fourth communication device 1d that is the transmission destination of the target data T, the “notification” received by the relay unit 37 is 3 is a notice of completion of proxy communication transmitted by the third communication device 1c (another relay device). The third communication device 1c (another relay device) targets the fourth communication device 1d (reception device 4) in contrast to the second communication device 1b (relay device 3) performing proxy communication of the target data T. When it is detected that the reception notification indicating that the data T has been received is not transmitted, the target data T is further proxy-communicated with the fourth communication device 1d (reception device 4). When the third communication device 1c receives a reception notification from the fourth communication device 1d (reception device 4) indicating that the target data T has been received by further proxy communication, the third communication device 1c sends a completion notification of the proxy communication to the second communication device 1d. To the communication device 1b (relay device 3).

中継部37は、さらに、第3の通信装置1c(他の中継装置)が代理通信の完了通知を送信したことに対し、送信装置2が代理通信の完了通知を受信したことを示す受信通知が送信されていないことを検知した場合、第3の通信装置1c(他の中継装置)が送信した代理通信の完了通知を代理通信する。中継部37は、所定の時間間隔かつ所定回数、代理通信の完了通知の送信を繰り返し、送信装置2から受信通知を受信できなかった場合、受信再通知蓄積データ33に、代理通信の完了通知を蓄積する。   The relay unit 37 further receives a reception notification indicating that the transmission device 2 has received the notification of completion of proxy communication, in response to the notification of completion of proxy communication by the third communication device 1c (another relay device). When it is detected that the communication has not been transmitted, the third communication device 1c (another relay device) transmits the notification of the completion of the proxy communication by proxy communication. The relay unit 37 repeatedly transmits the proxy communication completion notification at a predetermined time interval and a predetermined number of times, and when the reception notification cannot be received from the transmission device 2, the reception re-notification accumulated data 33 is notified of the proxy communication completion notification. accumulate.

図10を参照して、中継部37による中継処理を説明する。   The relay process by the relay unit 37 will be described with reference to FIG.

まずステップS301において、オーバーヒア処理部36によってオーバーヒアされたデータ種別によって処理を振り分ける。対象データTの場合、ステップS302において中継部37は、対象データTを代理通信する。ステップS303において受信装置4から対象データTの受信通知を受信しなかった場合、ステップS304において中継部37は、対象データTの再送を待機する。一方受信装置4から受信通知を受信した場合、ステップS311において中継部37は、中継データ32から対象データTに関連するデータを破棄し、ステップS321に進む。   First, in step S301, processing is sorted according to the type of data overheard by the overheard processing unit 36. In the case of the target data T, the relay unit 37 performs proxy communication of the target data T in step S302. When the reception notification of the target data T is not received from the receiving device 4 in step S303, the relay unit 37 waits for the retransmission of the target data T in step S304. On the other hand, when the reception notification is received from the reception device 4, the relay unit 37 discards the data related to the target data T from the relay data 32 in step S311, and proceeds to step S321.

ステップS321において中継部37は、送信装置2に、対象データTの代理通信の完了通知を送信する。ステップS322において中継部37は、ステップS321で送信した代理通信の完了通知に対して、送信装置2から受信通知を受信したか否かを判定する。送信装置2から受信通知を受信した場合、ステップS323において中継部37は、代理通信の完了通知に関連するデータを破棄する。一方送信装置2から代理通知の完了通知を受信しない場合、ステップS324において中継部37は、代理通信の完了通知の再送を待機する。   In step S321, the relay unit 37 transmits a notification of completion of proxy communication of the target data T to the transmission device 2. In step S322, the relay unit 37 determines whether or not the reception notification has been received from the transmission device 2 with respect to the completion notification of the proxy communication transmitted in step S321. When the reception notification is received from the transmission device 2, the relay unit 37 discards the data related to the proxy communication completion notification in step S323. On the other hand, when the completion notification of the proxy notification is not received from the transmission device 2, the relay unit 37 waits for the retransmission of the completion notification of the proxy communication in step S324.

一方オーバーヒア処理部36によってオーバーヒアされたデータ種別が代理通信の完了通知の場合、ステップS310において中継部37は、中継データ32に、代理通信の完了通知に対する対象データTに関連するデータを有するか否かを判定する。代理通信の完了通知に対する対象データTに関連するデータを有する場合、ステップS311において中継部37は、中継データ32から対象データTに関連するデータを破棄し、ステップS321に進む。   On the other hand, when the data type overheard by the overhear processing unit 36 is the notification of completion of proxy communication, the relay unit 37 has the data related to the target data T for the notification of completion of proxy communication in the relay data 32 in step S310. Or not. If the relay unit 37 has data related to the target data T for the completion notification of the proxy communication, the relay unit 37 discards the data related to the target data T from the relay data 32 in step S311, and proceeds to step S321.

ステップS321において中継部37は、送信装置2に代理通信の完了通知を送信(代理通信)する。ここで送信される代理通信の完了通知は、他の中継装置が送信装置2宛に送信したが、送信装置2に受信されなかったデータである。ステップS322において、ステップS321で送信した代理通信の完了通知に対して送信装置2から受信通知を受信すると、ステップS323において、代理通信の完了通知に関連するデータを破棄する。一方送信装置2から代理通知の完了通知を受信しない場合、ステップS324において代理通信の完了通知の再送を待機する。   In step S321, the relay unit 37 transmits a notification of completion of proxy communication (proxy communication) to the transmission device 2. The proxy communication completion notification transmitted here is data that was transmitted to another transmission device 2 by another relay device but was not received by the transmission device 2. In step S322, when the reception notification is received from the transmission device 2 in response to the completion notification of the proxy communication transmitted in step S321, the data related to the completion notification of the proxy communication is discarded in step S323. On the other hand, when the completion notification of the proxy notification is not received from the transmission device 2, the completion notification of the proxy communication is retransmitted in step S324.

図11を参照して、図10のステップS304以降において、中継部37が対象データTを再送する処理を説明する。対象データTは、所定の時間間隔で、所定の回数、再送される。   With reference to FIG. 11, a process in which the relay unit 37 retransmits the target data T after step S304 in FIG. 10 will be described. The target data T is retransmitted a predetermined number of times at a predetermined time interval.

ステップS401において対象データTの再送時間が到来していない場合、再送時間の到来を待機する。再送時間が到来した場合、ステップS402において中継部37は、対象データTを受信装置4に再送し、再送回数をカウントアップする。さらにステップS403において中継部37は、ステップS402で送信した対象データTについての受信通知または代理通信の完了通知を待機する。受信通知または代理通信の完了通知を受信すると、ステップS404において、送信装置2に、代理通信の完了通知を送信し、代理通信の完了通知に対する受信通知を待機する。ステップS405で送信装置2から受信通知を受信すると、ステップS406において対象データおよび代理通信の完了通知に関連するデータを破棄する。一方ステップS405において、送信装置2から代理通信の完了通知に対する受信通知を受信しない場合、ステップS407において中継部37は、代理通信の完了通知の再送を待機する。   If the retransmission time of the target data T has not arrived in step S401, the arrival of the retransmission time is awaited. When the retransmission time has arrived, the relay unit 37 retransmits the target data T to the receiving device 4 and counts up the number of retransmissions in step S402. Furthermore, in step S403, the relay unit 37 waits for the reception notification or the notification of proxy communication completion regarding the target data T transmitted in step S402. Upon receiving the reception notification or the proxy communication completion notification, in step S404, the proxy communication completion notification is transmitted to the transmission device 2, and the reception notification for the proxy communication completion notification is awaited. When the reception notification is received from the transmission device 2 in step S405, the target data and the data related to the completion notification of the proxy communication are discarded in step S406. On the other hand, if the reception notification for the completion notification of the proxy communication is not received from the transmission device 2 in step S405, the relay unit 37 waits for the retransmission of the completion notification of the proxy communication in step S407.

ステップS403において、ステップS402で送信した対象データTの再送に対して受信装置4から受信通知を受信しない場合、ステップS408において中継部37は、再送回数がオーバーしたか否かを判定する。オーバーしていない場合、中継部37は、そのまま処理を終了し、次の再送時間の到来を待機する。オーバーした場合、ステップS409において中継部37は、対象データおよび代理通信の完了通知に関連するデータを破棄して、処理を終了する。   In step S403, when the reception notification is not received from the receiving device 4 for the retransmission of the target data T transmitted in step S402, the relay unit 37 determines in step S408 whether the number of retransmissions has exceeded. If not, the relay unit 37 ends the process as it is and waits for the arrival of the next retransmission time. In the case of over, in step S409, the relay unit 37 discards the target data and the data related to the completion notification of the proxy communication, and ends the process.

図12を参照して、図10のステップS324以降および図11のステップS407以降において、中継部37が代理通信の完了通知を再送する処理を説明する。   With reference to FIG. 12, the process in which the relay unit 37 retransmits the proxy communication completion notification in step S324 and subsequent steps in FIG. 10 and step S407 and subsequent steps in FIG. 11 will be described.

ステップS501において代理通信の完了通知の再送時間が到来していない場合、再送時間の到来を待機する。再送時間が到来した場合、ステップS502において中継部37は、送信装置2に代理通信の完了通知を再送し、再送回数をカウントアップする。さらにステップS503において中継部37は、ステップS502で送信装置2に送信した代理通信の完了通知についての受信通知を待機する。受信通知を受信すると、ステップS504において中継部37は、代理通信の完了通知に関連するデータを破棄する。   If the retransmission time of the proxy communication completion notification has not arrived in step S501, the arrival of the retransmission time is awaited. When the retransmission time has arrived, in step S502, the relay unit 37 retransmits the proxy communication completion notification to the transmission device 2 and counts up the number of retransmissions. Furthermore, in step S503, the relay unit 37 waits for the reception notification of the completion notification of the proxy communication transmitted to the transmission device 2 in step S502. Upon receiving the reception notification, the relay unit 37 discards the data related to the proxy communication completion notification in step S504.

ステップS503において、ステップS502で送信した代理通信の完了通知についての受信通知を受信しない場合、ステップS505において中継部37は、再送回数がオーバーしたか否かを判定する。再送回数がオーバーしていない場合、中継部37は、そのまま処理を終了し、次の再送時間の到来を待機する。再送回数がオーバーした場合、ステップS506において中継部37は、送信装置2に送信した代理通信の完了通知を受信再通知蓄積データ33に格納して、処理を終了する。受信再通知蓄積データ33に格納された代理通信の完了通知は、受信再通知部38によって処理される。   When the reception notification of the completion notification of the proxy communication transmitted in step S502 is not received in step S503, the relay unit 37 determines in step S505 whether or not the number of retransmissions has exceeded. If the number of retransmissions has not exceeded, the relay unit 37 ends the processing as it is and waits for the arrival of the next retransmission time. When the number of retransmissions is over, the relay unit 37 stores the completion notification of the proxy communication transmitted to the transmission device 2 in the reception re-notification accumulated data 33 in step S506, and ends the process. The notification of completion of proxy communication stored in the reception re-notification accumulated data 33 is processed by the reception re-notification unit 38.

受信再通知部38は、送信装置2による対象データTの再送が検知されると、送信装置2に、受信装置4が対象データTを受信したことを示す「通知」を送信する。   When the retransmission of the target data T by the transmission device 2 is detected, the reception re-notification unit 38 transmits, to the transmission device 2, a “notification” indicating that the reception device 4 has received the target data T.

中継装置3は、対象データTの代理通信を行ったことに対し、受信装置4から受信通知を受信した場合、または他の中継装置から代理通信の完了通知を受信した場合、受信装置4が対象データTを受信したことを把握することになる。本発明の実施の形態において、第2の通信装置1b(中継装置3)は、第4の通信装置1d(受信装置4)と通信することができないので、受信再通知部38が送信する「通知」は、中継部37が代理通信する代理通信の完了通知である。この代理通信の完了通知は、第3の通信装置1c(他の中継装置)が第1の通信装置1a(送信装置2)に送信した代理通信の完了通知を、中継部37が代理通信するものである。   The relay device 3 receives the reception notification from the receiving device 4 or performs the proxy communication of the target data T, or receives the completion notification of the proxy communication from another relay device. It will be understood that the data T has been received. In the embodiment of the present invention, the second communication device 1b (relay device 3) cannot communicate with the fourth communication device 1d (reception device 4). Is a notice of completion of proxy communication with which the relay unit 37 performs proxy communication. In this proxy communication completion notification, the relay unit 37 performs proxy communication of the proxy communication completion notification transmitted from the third communication device 1c (another relay device) to the first communication device 1a (transmission device 2). Is.

受信再通知部38は、受信再通知蓄積データ33に含まれる複数の代理通信の完了通知のうち、再送された対象データとシーケンス番号およびエンドアドレスの2つのアドレスが共通する代理通信の完了通知の有無を確認する。   The reception re-notification unit 38, among the plurality of proxy communication completion notifications included in the reception re-notification accumulated data 33, transmits the re-transmission target data and the completion notification of the proxy communication in which the two addresses of the sequence number and the end address are common. Check for the presence.

なお、代理通信の完了通知は、対象データの送信の返信になる。従って受信再通知部38は、送信装置2が送信する対象データのエンドアドレスの送信元アドレスが、中継装置3が送信する代理通信の完了通知の宛先アドレスと一致するか否かを判定する。さらに受信再通知部38は、送信装置2が送信する対象データのエンドアドレスの宛先アドレスが、中継装置3が送信する代理通信の完了通知の送信元アドレスと一致するか否かを判定する。   The notification of completion of proxy communication is a reply to the transmission of the target data. Therefore, the reception re-notification unit 38 determines whether or not the transmission source address of the end address of the target data transmitted by the transmission device 2 matches the destination address of the proxy communication completion notification transmitted by the relay device 3. Further, the reception re-notification unit 38 determines whether or not the destination address of the end address of the target data transmitted by the transmission device 2 matches the transmission source address of the proxy communication completion notification transmitted by the relay device 3.

シーケンス番号と各アドレスが一致する場合、受信再通知部38は、シーケンス番号等が共通する完了通知を送信装置2に送信する。一方共通する完了通知を有しない場合、受信再通知部38は、送信装置2に完了通知を送信することなく、中継部37によって代理通信されてもよい。本発明の実施の形態において、受信再通知部38が、シーケンス番号とアドレスで、受信装置4が対象データTを受信したことを示す「通知」を有するか否かを判定したが、これに限られない。例えば、受信再通知部38は、シーケンス番号のみで判定しても良い。   When the sequence number and each address match, the reception re-notification unit 38 transmits a completion notification having a common sequence number and the like to the transmission device 2. On the other hand, if they do not have a common completion notification, the reception re-notification unit 38 may be proxy communicated by the relay unit 37 without transmitting the completion notification to the transmission device 2. In the embodiment of the present invention, the reception re-notification unit 38 determines whether or not the reception device 4 has a “notification” indicating that the target data T has been received, based on the sequence number and the address, but this is not the only option. I can't. For example, the reception re-notification unit 38 may make the determination based only on the sequence number.

受信再通知部38は、対象データTに関する受信通知または代理通信の完了通知を受領した後に、送信装置2による対象データTの再送が検知されると、送信装置2に、受信装置4が対象データTを受信したことを示す通知を送信する。なお、対象データTに関する受信通知または代理通信の完了通知を受領する前に、送信装置2による対象データTの再送を検知した場合、中継部37が対象データTの代理通信を行う。   When the retransmission notification of the target data T by the transmission device 2 is detected after the reception re-notification unit 38 receives the reception notification regarding the target data T or the completion notification of the proxy communication, the reception device 4 notifies the reception device 4 of the target data T. Send a notification that T has been received. In addition, when the retransmission of the target data T by the transmission device 2 is detected before receiving the reception notification or the notification of the completion of the proxy communication regarding the target data T, the relay unit 37 performs the proxy communication of the target data T.

中継部37によって、送信装置2に代理通信の完了通知を送信して所定時間経過するまでに、オーバーヒア処理部36によって、送信装置2による対象データTの再送が検知された場合、受信再通知部38は、送信装置2に、受信装置4が対象データTを受信したことを示す通知を再送する。一方、中継部37によって、送信装置2に代理通信の完了通知を送信して所定時間経過した後、オーバーヒア処理部36によって、送信装置2による対象データTの再送が検知されない場合、受信再通知部38は、受信装置4が対象データTを受信したことを示す通知に関連するデータを破棄する。中継部37によって対象データTに関連する代理通信の完了通知に対して受信確認を受領できない場合、代理通信の完了通知は、所定時間保持される。所定時間保持される間に送信装置2による対象データTの再送が検知されない場合、受信再通知部38は、代理通信の完了通知に関連するデータを破棄する。この場合送信装置2が、他の通信装置1から受信装置4が対象データTを受信したことを示す通知を受信した、あるいは対象データTの送信を断念したと、考えられる。   When the relay unit 37 transmits the notification of the completion of the proxy communication to the transmission device 2 and the overheard processing unit 36 detects the retransmission of the target data T by the transmission device 2 before a predetermined time elapses, the reception re-notification is performed. The unit 38 retransmits to the transmitting device 2 a notification indicating that the receiving device 4 has received the target data T. On the other hand, when the relay unit 37 transmits a notification of the completion of proxy communication to the transmission device 2 and a predetermined time has elapsed, and the overheard processing unit 36 does not detect the retransmission of the target data T by the transmission device 2, reception re-notification The unit 38 discards the data related to the notification indicating that the receiving device 4 has received the target data T. When the relay unit 37 does not receive the reception confirmation with respect to the completion notification of the proxy communication related to the target data T, the completion notification of the proxy communication is held for a predetermined time. If the retransmission of the target data T by the transmission device 2 is not detected while the transmission device 2 holds the predetermined time, the reception re-notification unit 38 discards the data related to the completion notification of the proxy communication. In this case, it is considered that the transmission device 2 has received from the other communication device 1 a notification indicating that the reception device 4 has received the target data T, or has abandoned the transmission of the target data T.

図13を参照して、受信再通知部38による受信再通知処理を説明する。図13に示す処理は、図12のステップS506に示す処理の後に実行される。   The reception re-notification processing by the reception re-notification unit 38 will be described with reference to FIG. The process shown in FIG. 13 is executed after the process shown in step S506 of FIG.

まずステップS601において、受信再通知部38が送信装置2による対象データTの再送を検知すると、ステップS602に進む。オーバーヒア処理部36が周辺の通信を傍受し、送信装置2による対象データTの再送を検知した場合、オーバーヒア処理部36が受信再通知部38に、対象データTの再送を検知したことを通知しても良い。送信装置2による対象データTの再送を検知することなく所定時間が経過すると、受信再通知部38は、そのまま処理を終了する。このとき受信再通知部38は、対象データTに関連するデータを、受信再通知蓄積データ33から削除する。   First, in step S601, when the reception re-notification unit 38 detects the retransmission of the target data T by the transmission device 2, the process proceeds to step S602. When the over-hear processing unit 36 intercepts the surrounding communication and detects the retransmission of the target data T by the transmission device 2, the over-hear processing unit 36 notifies the reception re-notification unit 38 that the retransmission of the target data T is detected. You may notify. When the predetermined time elapses without detecting the retransmission of the target data T by the transmission device 2, the reception re-notification unit 38 ends the process as it is. At this time, the reception re-notification unit 38 deletes the data related to the target data T from the reception re-notification accumulated data 33.

ステップS602において受信再通知部38は、受信再通知蓄積データ33に、再送が検知された対象データTに関連する代理通信の完了通知を保持するか否かを判定する。受信再通知部38は、受信再通知蓄積データ33のうち、シーケンス番号等が共通する代理通信の完了通知を保持しているか否かを判定する。保持していない場合、受信再通知部38は、そのまま処理を終了する。   In step S602, the reception re-notification unit 38 determines whether or not the reception re-notification accumulated data 33 retains the completion notification of the proxy communication related to the target data T for which the retransmission is detected. The reception re-notification unit 38 determines whether or not the reception re-notification accumulated data 33 holds a notice of completion of proxy communication having a common sequence number and the like. If not held, the reception re-notification unit 38 ends the process as it is.

保持している場合、ステップS603において受信再通知部38は、ステップS602でシーケンス番号等が共通すると特定した代理通信の完了通知を、送信装置2に再送する。受信再通知部38は、ステップS603で送信した代理通信の完了通知に対して、送信装置2から送信される受信通知を待機する。   If held, the reception re-notification unit 38 retransmits to the transmission device 2 the completion notification of the proxy communication specified in step S602 that the sequence numbers and the like are common in step S603. The reception re-notification unit 38 waits for the reception notification transmitted from the transmission device 2 with respect to the proxy communication completion notification transmitted in step S603.

ステップS604において、送信装置2から代理通信の完了通知に対する受信通知を受信した場合、ステップS605において受信再通知部38は、ステップS603で送信した代理通信の完了通知に関連するデータを、受信再通知蓄積データ33から破棄する。一方代理通信の完了通知を受信しない場合、ステップS606において受信再通知部38は、ステップS603で送信した代理通信の完了通知の再送を待機する。受信再通知部38が所定の時間間隔かつ所定回数、代理通信の完了通知を再送しても受信通知を受信しない場合、代理通信の完了通知は、受信再通知蓄積データ33に再度格納される。その後受信再通知蓄積データ33に所定時間蓄積される間、送信装置2から対象データTの再送が検知されない場合、その対象データTに関連する代理通信の完了通知に関連するデータは、受信再通知蓄積データ33から破棄される。受信再通知蓄積データ33に所定時間蓄積される間、送信装置2から対象データTの再送が検知された場合、ステップS601以降の処理と同様に、代理通信の完了通知が、送信装置2に再送される。   In step S604, when the reception notification for the proxy communication completion notification is received from the transmission device 2, the reception re-notification unit 38 in step S605 receives the reception re-notification of the data related to the proxy communication completion notification transmitted in step S603. Discard from the accumulated data 33. On the other hand, if the notice of completion of proxy communication is not received, the reception re-notification unit 38 waits for retransmission of the notice of completion of proxy communication transmitted in step S603 in step S606. When the reception re-notification unit 38 does not receive the reception notification even after resending the proxy communication completion notification at a predetermined time interval and a predetermined number of times, the proxy communication completion notification is stored again in the reception re-notification accumulated data 33. After that, when the retransmission of the target data T is not detected from the transmission device 2 while being accumulated in the reception re-notification accumulated data 33 for a predetermined time, the data related to the completion notification of the proxy communication related to the target data T is the reception re-notification. It is discarded from the accumulated data 33. When the retransmission of the target data T is detected from the transmission device 2 while being accumulated in the reception re-notification accumulated data 33 for a predetermined time, the completion notification of the proxy communication is retransmitted to the transmission device 2 as in the processing from step S601. To be done.

なお本発明の実施の形態において、中継部37が、送信装置2宛に代理通信の完了通知を所定の時間間隔かつ所定回数、再送しても、送信装置2から受信通知を受信できなかった後に、受信再通知部38が、代理通信の完了通知を送信したが、これに限らない、例えば、中継部37が、送信装置2宛に代理通信の完了通知を、所定の時間間隔かつ所定回数の再送を完了する前であっても、送信装置2による対象データTの再送が検知された場合、受信再通知部38が、代理通信の完了通知を送信しても良い。   Note that in the embodiment of the present invention, after the relay unit 37 does not receive the reception notification from the transmission device 2 even if the notification of the completion of the proxy communication is retransmitted to the transmission device 2 at the predetermined time interval and the predetermined number of times. The reception re-notification unit 38 has transmitted the proxy communication completion notification, but the reception re-notification unit 38 sends the proxy communication completion notification to the transmission device 2 at a predetermined time interval and a predetermined number of times. Even before the retransmission is completed, the reception re-notification unit 38 may transmit the proxy communication completion notification when the retransmission of the target data T by the transmission device 2 is detected.

このような本発明の実施の形態に係る通信システム5によれば、中継装置3が対象データTを代理通信して、その対象データTが受信装置4に受信されたことを示す通知を受信した後に、送信装置2が対象データTを再送した場合、その通知を送信装置2に送信する。従来、再送された対象データTが受信装置4に受信されたか否かに関わらず、中継装置3が対象データTを代理通信するので、トラフィック量が増大する場合があった。これに対し本発明の実施の形態によれば、対象データTが受信装置4に受信されている場合、その旨の通知を送信装置2に送信する。これにより本発明の実施の形態に係る通信システム5は、再送された対象データTが受信装置4に受信されたか否かに関わらず、中継装置3が対象データTを代理通信する状況を回避するので、トラフィック量の増大を回避することができる。   According to the communication system 5 according to the embodiment of the present invention as described above, the relay device 3 performs the proxy communication of the target data T, and receives the notification indicating that the target data T is received by the receiving device 4. Later, when the transmitter 2 retransmits the target data T, the notification is transmitted to the transmitter 2. Conventionally, the relay device 3 performs proxy communication of the target data T regardless of whether or not the retransmitted target data T is received by the receiving device 4, so that the traffic amount may increase. On the other hand, according to the embodiment of the present invention, when the target data T is received by the receiving device 4, a notification to that effect is transmitted to the transmitting device 2. As a result, the communication system 5 according to the embodiment of the present invention avoids the situation in which the relay device 3 performs proxy communication of the target data T regardless of whether or not the retransmitted target data T is received by the receiving device 4. Therefore, it is possible to avoid an increase in traffic volume.

(変形例)
本発明の実施の形態において、第2の通信装置1b(中継装置3)が第4の通信装置1d(受信装置4)と直接通信できず、第3の通信装置1c(他の中継装置)による代理通信により、第4の通信装置1dと通信する場合を説明したが、これに限られない。変形例において、第2の通信装置1bが、第4の通信装置1dと直接通信できる場合を説明する。
(Modification)
In the embodiment of the present invention, the second communication device 1b (relay device 3) cannot directly communicate with the fourth communication device 1d (reception device 4), and the third communication device 1c (another relay device) is used. Although the case of communicating with the fourth communication device 1d by proxy communication has been described, the present invention is not limited to this. In the modification, the case where the second communication device 1b can directly communicate with the fourth communication device 1d will be described.

図14に示す通信システム5’は、第1の通信装置1a、第2の通信装置1bおよび第4の通信装置1dを備える。図14は、3つの通信装置を備えるが、通信装置の数はこれに限るものではない。   The communication system 5'shown in FIG. 14 includes a first communication device 1a, a second communication device 1b, and a fourth communication device 1d. Although FIG. 14 includes three communication devices, the number of communication devices is not limited to this.

変形例に係る通信システム5’において第1の通信装置1aは、第2の通信装置1bと通信可能であるが、第4の通信装置1dと通信できない。第2の通信装置1bは、第1の通信装置1aおよび第4の通信装置1dと通信可能である。第4の通信装置1dは、第2の通信装置1bとは通信可能であるが、第1の通信装置1aと通信できない。   In the communication system 5'according to the modified example, the first communication device 1a can communicate with the second communication device 1b, but cannot communicate with the fourth communication device 1d. The second communication device 1b can communicate with the first communication device 1a and the fourth communication device 1d. The fourth communication device 1d can communicate with the second communication device 1b, but cannot communicate with the first communication device 1a.

このような状況において、第1の通信装置1aが、第4の通信装置1dに対象データの送信を試みる場合、第1の通信装置1aと第4の通信装置1dは、直接に通信できないので、第2の通信装置1bが、第1の通信装置1aに代わって通信する(代理通信)。   In such a situation, when the first communication device 1a tries to transmit the target data to the fourth communication device 1d, the first communication device 1a and the fourth communication device 1d cannot directly communicate with each other. The second communication device 1b communicates on behalf of the first communication device 1a (proxy communication).

第1の通信装置1aは、送信装置2として機能し、第4の通信装置1dは、受信装置4として機能する。変形例において第2の通信装置1bは、中継装置3’として機能し、図6等を参照して説明した中継装置3と同様の構成を有する。   The first communication device 1a functions as the transmission device 2, and the fourth communication device 1d functions as the reception device 4. In the modification, the second communication device 1b functions as the relay device 3'and has the same configuration as the relay device 3 described with reference to FIG.

ただし、中継部37が受信する、対象データTが受信装置4に受信されたことを示す通知は、受信装置4が、中継部37が対象データを受信したことを示す受信通知である。中継装置3’と受信装置4は通信可能であるので、中継部37は、対象データの代理通信を受信装置4に送信し、受信装置4から代理通信に対する受信通知を受信した際に、受信装置4が、対象データを受信したことを把握する。   However, the notification that the relay unit 37 receives and that the target data T has been received by the reception device 4 is a reception notification that the reception device 4 indicates that the relay unit 37 has received the target data. Since the relay device 3 ′ and the receiving device 4 can communicate with each other, the relay unit 37 transmits the proxy communication of the target data to the receiving device 4 and, when receiving the reception notification for the proxy communication from the receiving device 4, receives the receiving device. 4 recognizes that the target data has been received.

また受信再通知部38は、対象データの再送を検知した場合、中継装置3’が送信した代理通信が完了したことを示す代理通信の完了通知を、送信装置2に送信する。   In addition, when the re-notification unit 38 detects that the target data is retransmitted, the reception re-notification unit 38 transmits, to the transmission device 2, a proxy communication completion notice indicating that the proxy communication transmitted by the relay device 3 ′ has been completed.

図15を参照して、変形例に係る通信方法を説明する。   A communication method according to the modification will be described with reference to FIG.

まずステップS51において第1の通信装置1aは、対象データを第4の通信装置1dに向けて送信して、対象データの直接通信を試みる。第1の通信装置1aは、対象データを送信した後、ステップS52において、所定時間、対象データが第4の通信装置1dに受信されたことの通知を待機する。所定時間以内に第4の通信装置1dに受信されたことの通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データを再送する。第1の通信装置1aが待機する通知は、第1の通信装置1aと第4の通信装置1dが通信可能な場合、第4の通信装置1dから受信する受信通知である。しかしながら変形例において第1の通信装置1aと第4の通信装置1dは通信できないので、第2の通信装置1bが送信した代理通信の完了通知である。ここでは、後述のステップS60まで、第1の通信装置1aは、対象データが第4の通信装置1dに受信されたことの通知および再送を待機する。   First, in step S51, the first communication device 1a transmits the target data to the fourth communication device 1d, and tries to directly communicate the target data. After transmitting the target data, the first communication device 1a waits for the notification that the target data is received by the fourth communication device 1d for a predetermined time in step S52. When the second communication device 1b does not receive the notification that it has been received by the fourth communication device 1d within the predetermined time, the second communication device 1b retransmits the target data a predetermined time interval and a predetermined number of times. The notification that the first communication device 1a waits is a reception notification received from the fourth communication device 1d when the first communication device 1a and the fourth communication device 1d can communicate with each other. However, in the modified example, since the first communication device 1a and the fourth communication device 1d cannot communicate with each other, this is the completion notification of the proxy communication transmitted by the second communication device 1b. Here, the first communication device 1a waits for notification and retransmission that the target data has been received by the fourth communication device 1d until step S60 described later.

第2の通信装置1bは、オーバーヒアで、ステップS51で対象データが送信されたことを検知し、ステップS53において対象データの直接通信に対する受信通知#1を監視する。   The second communication device 1b detects that the target data has been transmitted in step S51 due to overheard, and monitors the reception notification # 1 for the direct communication of the target data in step S53.

第1の通信装置1aと第4の通信装置1dは直接通信できないので、ステップS54において、第1の通信装置1aは、第4の通信装置1dから、ステップS51の対象データの直接通信に対する受信通知#1を取得することはできない。第2の通信装置1bは、受信通知#1が送信されないことを検知すると、ステップS55において、第4の通信装置1dに対して、対象データの代理通信#1を行う。   Since the first communication device 1a and the fourth communication device 1d cannot directly communicate with each other, in step S54, the first communication device 1a notifies the fourth communication device 1d of the reception notification for the direct communication of the target data in step S51. You cannot get # 1. When detecting that the reception notification # 1 is not transmitted, the second communication device 1b performs the proxy communication # 1 of the target data to the fourth communication device 1d in step S55.

ステップS56において第2の通信装置1bは、ステップS55で送信した対象データTの代理通信#1に対して、受信通知#2を受信すると、ステップS57において、ステップS55で送信した代理通信#1のデータを破棄する。ステップS58において、第1の通信装置1aに、代理通信の完了通知#1を送信する。第2の通信装置1bは、対象データの代理通信の完了通知#1を送信した後、ステップS59において、所定時間、対象データの代理通信の完了通知#1が第1の通信装置1aに受信されたことの通知を待機する。所定時間以内に第1の通信装置1aに受信されたことの通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データの代理通信の完了通知#1を再送する。   In step S56, when the second communication device 1b receives the reception notification # 2 with respect to the proxy communication # 1 of the target data T transmitted in step S55, the second communication device 1b transmits the proxy communication # 1 of step S55 in step S57. Discard the data. In step S58, the completion notification # 1 of the proxy communication is transmitted to the first communication device 1a. The second communication device 1b transmits the completion notification # 1 of the proxy communication of the target data, and then the completion notification # 1 of the proxy communication of the target data is received by the first communication device 1a for a predetermined time in step S59. Wait for notification. If the second communication device 1b does not receive the notification that it has been received by the first communication device 1a within the predetermined time, the second communication device 1b retransmits the proxy communication completion notification # 1 of the target data for a predetermined time interval and a predetermined number of times. To do.

ここで通信環境の変化等により、第1の通信装置1aが代理通信の完了通知#1を受信できない場合、ステップS60において第2の通信装置1bは、ステップS58の代理通信の完了通知#1に対する受信通知#3を取得することはできない。   If the first communication device 1a cannot receive the proxy communication completion notification # 1 due to a change in the communication environment or the like, the second communication device 1b responds to the proxy communication completion notification # 1 in step S58 in step S60. The reception notification # 3 cannot be acquired.

一方、ステップS52で、所定時間、対象データの再送または通知待ちであった第1の通信装置1aが所定時間内に通知を受信しなかった場合、ステップS61において第1の通信装置1aは、対象データの再送を試みる。ステップS62において第2の通信装置1bは、第1の通信装置1aによる対象データの再送を検知すると、その対象データに関する代理通信の完了通知#1を、第1の通信装置1aに向けて再送する。   On the other hand, in step S52, if the first communication device 1a, which has been waiting for the retransmission or notification of the target data for the predetermined time, does not receive the notification within the predetermined time, the first communication device 1a determines in step S61 that the target Try to resend the data. When the second communication device 1b detects the retransmission of the target data by the first communication device 1a in step S62, the second communication device 1b retransmits the completion notification # 1 of the proxy communication regarding the target data to the first communication device 1a. .

このように、中継装置3’が送信装置2および受信装置4と直接通信可能であっても、中継装置3’が、送信装置2による対象データの再送を検知した場合、中継装置3’が送信した代理通信が完了したことを示す代理通信の完了通知を再送することができる。図14に示す変形例に係る通信システム5’においても、本発明の実施の形態と同様に、トラフィック量の増大を回避することができる。   Thus, even if the relay device 3 ′ can directly communicate with the transmitting device 2 and the receiving device 4, when the relay device 3 ′ detects the retransmission of the target data by the transmitting device 2, the relay device 3 ′ transmits the data. It is possible to resend the proxy communication completion notification indicating that the proxy communication has been completed. Also in the communication system 5'according to the modification shown in FIG. 14, it is possible to avoid an increase in traffic volume, as in the embodiment of the present invention.

(その他の実施の形態)
上記のように、本発明の実施の形態とその変形例によって記載したが、この開示の一部をなす論述および図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例および運用技術が明らかとなる。
(Other embodiments)
As described above, the embodiments of the present invention and the modifications thereof have been described, but it should not be understood that the description and drawings forming a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples, and operation techniques will be apparent to those skilled in the art.

例えば、本発明の実施の形態に記載した通信装置は、図4または図6に示すように一つのハードウエア上に構成されても良いし、その機能や処理数に応じて複数のハードウエア上に構成されても良い。また、既存の処理装置上に実現されても良い。   For example, the communication device described in the embodiment of the present invention may be configured on one piece of hardware as shown in FIG. 4 or FIG. 6, or on a plurality of pieces of hardware depending on the function and the number of processes. May be configured as. It may also be realized on an existing processing device.

また本発明の実施の形態に係る通信システムは、アドホックネットワークを前提に説明したが、基地局と移動局で構成されるモバイルネットワーク等の他のネットワークに適用されても良い。   Further, although the communication system according to the embodiment of the present invention has been described on the premise of an ad hoc network, the communication system may be applied to other networks such as a mobile network including a base station and a mobile station.

なお、本発明の実施の形態および変形例において、「時間」、「時間間隔」、「回数」、「再送回数」等に「所定」が付されている場合がある。この「所定」は、「予め定められた」あるいは「予め定められた手順によって特定される」意味で用いられ、適宜適切な値が設定される。また、「所定」に共通する値が設定されることまでを意味するものではない。例えば、「所定時間」と記載された全ての箇所に、同じ時間が設定されるものではない。   In addition, in the embodiment and the modified example of the present invention, “predetermined” may be attached to “time”, “time interval”, “number of times”, “number of times of retransmission” and the like. This "predetermined" is used in the sense of "predetermined" or "specified by a predetermined procedure", and an appropriate value is set appropriately. Further, it does not mean that a value common to “predetermined” is set. For example, the same time is not set in all the locations described as "predetermined time".

本発明はここでは記載していない様々な実施の形態等を含むことは勿論である。従って、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。   It goes without saying that the present invention includes various embodiments and the like not described here. Therefore, the technical scope of the present invention is defined only by the matters specifying the invention according to the scope of claims reasonable from the above description.

1 通信装置
2 送信装置
3 中継装置
4 受信装置
5 通信システム
21、31 記憶装置
25、35 処理装置
26 送信部
29、39 通信制御装置
32 中継データ
33 受信再通知蓄積データ
36 オーバーヒア処理部
37 中継部
38 受信再通知部
T 対象データ
1 Communication Device 2 Transmission Device 3 Relay Device 4 Reception Device 5 Communication System 21, 31 Storage Device 25, 35 Processing Device 26 Transmission Unit 29, 39 Communication Control Device 32 Relay Data 33 Reception Re-Notification Accumulated Data 36 Overhear Processing Unit 37 Relay Part 38 Reception re-notification part T Target data

Claims (6)

複数の装置を備える通信システムであって、
対象データを送信する送信装置と、
対象データの送信先となる受信装置と、
前記送信装置と通信可能な中継装置を備え、
前記送信装置は、
前記対象データを前記受信装置に向けて送信し、前記対象データを前記受信装置に向けて送信して所定時間以内に、前記受信装置が前記対象データを受信したことを示す通知を受信しない場合、前記対象データを前記受信装置に向けて再送する送信部を備え、
前記中継装置は、
前記送信装置が、前記受信装置に向けて対象データを送信したことに対し、前記受信装置が前記対象データを受信したことを示す受信通知が送信されないことを検知した場合、前記対象データを中継データに格納するオーバーヒア処理部と、
前記中継データに格納された前記対象データを、前記受信装置に向けて代理通信し、前記受信装置が前記対象データを受信したことを示す通知を受信すると、前記送信装置に、前記通知を送信する中継部と、
前記送信装置による前記対象データの再送が検知されると、前記送信装置に、前記通知を送信する受信再通知部を備える
ことを特徴とする通信システム。
A communication system comprising a plurality of devices,
A transmitter for transmitting the target data,
A receiving device that is the destination of the target data,
A relay device capable of communicating with the transmission device,
The transmitter is
When the target data is transmitted to the receiving device, and within a predetermined time after transmitting the target data to the receiving device, the receiving device does not receive a notification indicating that the target data has been received, A transmitter for retransmitting the target data to the receiver,
The relay device is
When the transmission device detects that the reception notification indicating that the reception device has received the target data is not transmitted in response to the transmission of the target data toward the reception device, the target data is relayed data. And an overhear processing unit to store in
When the target data stored in the relay data is proxy-communicated toward the receiving device and the notification indicating that the receiving device has received the target data is received, the notification is transmitted to the transmitting device. Relay section,
A communication system, comprising: a reception re-notification unit for transmitting the notification to the transmission device when the retransmission of the target data by the transmission device is detected.
複数の装置を備える通信システムに用いられる中継装置であって、
前記通信システムは、
対象データを送信する送信装置と、
対象データの送信先となる受信装置と、
前記送信装置と通信可能な中継装置を備え、
前記中継装置は、
前記送信装置が、前記受信装置に向けて対象データを送信したことに対し、前記受信装置が前記対象データを受信したことを示す受信通知が送信されないことを検知した場合、前記対象データを中継データに格納するオーバーヒア処理部と、
前記中継データに格納された前記対象データを、前記受信装置に向けて代理通信し、前記受信装置が前記対象データを受信したことを示す通知を受信すると、前記送信装置に、前記通知を送信する中継部と、
前記送信装置による前記対象データの再送が検知されると、前記送信装置に、前記通知を送信する受信再通知部
を備えることを特徴とする中継装置。
A relay device used in a communication system including a plurality of devices,
The communication system is
A transmitter for transmitting the target data,
A receiving device that is the destination of the target data,
A relay device capable of communicating with the transmission device,
The relay device is
When the transmission device detects that the reception notification indicating that the reception device has received the target data is not transmitted in response to the transmission of the target data toward the reception device, the target data is relayed data. And an overhear processing unit to store in
When the target data stored in the relay data is proxy-communicated toward the receiving device and the notification indicating that the receiving device has received the target data is received, the notification is transmitted to the transmitting device. Relay section,
A relay device comprising: a reception re-notification unit that transmits the notification to the transmission device when the retransmission of the target data by the transmission device is detected.
前記中継部によって、前記送信装置に、前記通知を送信して所定時間経過した後、前記送信装置による前記対象データの再送が検知されない場合、前記受信再通知部は、前記通知を破棄し、
所定時間経過するまでに、前記送信装置による前記対象データの再送が検知された場合、前記受信再通知部は、前記送信装置に、前記通知を再送する
ことを特徴とする請求項2に記載の中継装置。
By the relay unit, to the transmission device, after a predetermined time has elapsed after transmitting the notification, if the retransmission of the target data by the transmission device is not detected, the reception re-notification unit discards the notification,
The reception re-notification unit re-sends the notification to the transmission device when a retransmission of the target data by the transmission device is detected before a predetermined time elapses. Relay device.
前記中継装置は、さらに前記受信装置と通信可能であって、
前記中継部が受信する前記通知は、前記受信装置が、前記代理通信で前記対象データを受信したことを示す受信通知であって、
前記受信再通知部が送信する前記通知は、代理通信の完了通知である
ことを特徴とする請求項2または3に記載の中継装置。
The relay device is further communicable with the receiving device,
The notification received by the relay unit is a reception notification indicating that the receiving device has received the target data in the proxy communication,
The relay device according to claim 2, wherein the notification transmitted by the reception re-notification unit is a notification of completion of proxy communication.
前記通信システムはさらに、前記中継装置と前記受信装置と通信可能な他の中継装置を備え、
前記中継部が受信する前記通知は、前記中継装置が前記対象データを代理通信したことに対し、前記受信装置が前記対象データを受信したことを示す受信通知が送信されていないことを検知した前記他の中継装置が、前記受信装置に前記対象データをさらに代理通信したことに対し、前記受信装置からさらなる代理通信で前記対象データを受信したことを示す受信通知を受信した際に、前記他の中継装置が送信する代理通信の完了通知であって、
前記中継部は、前記他の中継装置が前記代理通信の完了通知を送信したことに対し、前記送信装置が前記代理通信の完了通知を受信したことを示す受信通知が送信されていないことを検知した場合、前記他の中継装置が送信した前記代理通信の完了通知を代理通信し、
前記受信再通知部が送信する前記通知は、前記中継部が代理通信する前記代理通信の完了通知である
ことを特徴とする請求項2または3に記載の中継装置。
The communication system further includes another relay device capable of communicating with the relay device and the receiving device,
The notification received by the relay unit detects that the reception apparatus has not transmitted a reception notification indicating that the reception apparatus has received the target data, whereas the relay apparatus has performed proxy communication with the target data. When another relay device receives a reception notification indicating that the target data has been received by further proxy communication from the receiving device, in contrast to the fact that the target data has been further proxy communicated to the receiving device, Completion notification of proxy communication sent by the relay device,
The relay unit detects that the reception notification indicating that the transmission device has received the completion notification of the proxy communication has not been transmitted, while the other relay device has transmitted the completion notification of the proxy communication. In case of, the proxy communication of the completion notification of the proxy communication transmitted by the other relay device,
The relay device according to claim 2, wherein the notification transmitted by the reception re-notification unit is a notification of completion of the proxy communication in which the relay unit performs proxy communication.
複数の装置を備える通信システムに用いられる通信方法であって、
前記通信システムは、
対象データを送信する送信装置と、
対象データの送信先となる受信装置と、
前記送信装置と通信可能な中継装置を備え、
前記送信装置が、前記対象データを前記受信装置に向けて送信するステップと、
前記中継装置が、前記送信装置が、前記受信装置に向けて対象データを送信したことに対し、前記受信装置が前記対象データを受信したことを示す受信通知が送信されないことを検知した場合、前記対象データを中継データに格納するステップと、
前記中継装置が、前記中継データに格納された前記対象データを、前記受信装置に向けてし、前記受信装置が前記対象データを受信したことを示す通知を受信すると、前記送信装置に、前記通知を送信するステップと、
前記送信装置が、前記対象データを前記受信装置に向けて送信して所定時間以内に、前記受信装置が前記対象データを受信したことを示す通知を受信しない場合、前記対象データを前記受信装置に向けて再送するステップと、
前記中継装置が、前記送信装置による前記対象データの再送が検知されると、前記送信装置に、前記通知を送信するステップ
を備えることを特徴とする通信方法。

A communication method used in a communication system including a plurality of devices,
The communication system is
A transmitter for transmitting the target data,
A receiving device that is the destination of the target data,
A relay device capable of communicating with the transmission device,
The transmitter transmits the target data to the receiver,
When the relay device detects that the transmission device has transmitted the target data toward the reception device, but the reception notification indicating that the reception device has received the target data is not transmitted, Storing the target data in the relay data,
When the relay device directs the target data stored in the relay data to the receiving device and receives a notification indicating that the receiving device has received the target data, the notification is sent to the transmitting device. The step of sending
When the transmission device does not receive a notification indicating that the reception device has received the target data within a predetermined time after transmitting the target data to the reception device, the target data is transmitted to the reception device. Resending towards,
The communication method, wherein the relay device comprises a step of transmitting the notification to the transmission device when the retransmission of the target data by the transmission device is detected.

JP2018197441A 2018-10-19 2018-10-19 Communication system, relay device, and communication method Pending JP2020065222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018197441A JP2020065222A (en) 2018-10-19 2018-10-19 Communication system, relay device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018197441A JP2020065222A (en) 2018-10-19 2018-10-19 Communication system, relay device, and communication method

Publications (1)

Publication Number Publication Date
JP2020065222A true JP2020065222A (en) 2020-04-23

Family

ID=70387632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018197441A Pending JP2020065222A (en) 2018-10-19 2018-10-19 Communication system, relay device, and communication method

Country Status (1)

Country Link
JP (1) JP2020065222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021027473A (en) * 2019-08-06 2021-02-22 矢崎総業株式会社 Radio communication node and radio communications system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2011121675A1 (en) * 2010-03-31 2013-07-04 富士通株式会社 Data communication apparatus and method
JP2014225859A (en) * 2013-04-22 2014-12-04 矢崎総業株式会社 Communication system and communication node

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2011121675A1 (en) * 2010-03-31 2013-07-04 富士通株式会社 Data communication apparatus and method
JP2014225859A (en) * 2013-04-22 2014-12-04 矢崎総業株式会社 Communication system and communication node

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021027473A (en) * 2019-08-06 2021-02-22 矢崎総業株式会社 Radio communication node and radio communications system
JP7287859B2 (en) 2019-08-06 2023-06-06 矢崎総業株式会社 Wireless communication node and wireless communication system

Similar Documents

Publication Publication Date Title
US6289482B1 (en) Error and flow control in a satellite communications system
EP2119085B1 (en) Enhanced error control communication systems and methods
EP1768296A2 (en) Method and apparatus for transmitting signaling data messages in a wireless communications system
JP2006066948A (en) Communication method, base station, and wireless terminal using automatic retransmission control in multi-hop communication
CN111525989A (en) Method, apparatus and storage medium for transmitting RLC status report
WO2018137158A1 (en) Data transmission method and apparatus, and customer premises equipment
US20110320570A1 (en) Systems and methods for communicating among nodes of a wireless network
CN111543116B (en) Method for forwarding data between nodes in relay network and network node
JP5569452B2 (en) Wireless communication apparatus, method and program
CN101267241A (en) An automatic retransfer request method, system and relay station in relay network
JP2020065222A (en) Communication system, relay device, and communication method
JP2021090185A (en) Data transmission method and communication system
JP2008289080A (en) Terminal device, network device, and data communication method
EP3424163B1 (en) Enhancement of relay arq in mmw network
JP6468566B2 (en) Data transmission control system and method, and data transmission control program
JP4520350B2 (en) Wireless device
JP2020039028A (en) Communication system, repeating installation and communication method
WO2018014795A1 (en) Method and apparatus for packet transmission
JP2021082863A (en) Wireless communication device and wireless communication system
JPH01147926A (en) Multiple address radio communication system
JP6241817B2 (en) Wireless communication system
US20230403637A1 (en) Enhanced wireless transmission system
JP4682013B2 (en) Information transmission device, relay device, and communication system
JP2009253663A (en) Mobile router ad hoc network communication system
JP5204008B2 (en) Wireless communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221107

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230110