JP2020065222A - Communication system, relay device, and communication method - Google Patents
Communication system, relay device, and communication method Download PDFInfo
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 622
- 238000000034 method Methods 0.000 title claims description 48
- 230000005540 biological transmission Effects 0.000 claims abstract description 128
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 48
- 230000008569 process Effects 0.000 description 25
- 230000006870 function Effects 0.000 description 14
- 230000004048 modification Effects 0.000 description 8
- 238000012986 modification Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000000717 retained effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
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
特許文献1において、送信装置が、中継装置から代理通信の完了通知を受信できない場合、直接データが受信装置によって受信されているにもかかわらず、送信装置は、受信装置宛に直接データを再送する。送信装置が直接データを再送すると、中継装置による代理通信が再び行われ、通信システムにおいて代理通信によるトラフィック数が増加する場合がある。
In
従って本発明の目的は、代理通信によるトラフィック数を抑制する通信システム、中継装置および通信方法を提供することである。 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.
次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。 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
図1に示す通信システム5は、第1の通信装置1a、第2の通信装置1b、第3の通信装置1cおよび第4の通信装置1dを備える。本発明の実施の形態において第1の通信装置1a、第2の通信装置1b、第3の通信装置1cおよび第4の通信装置1dを特に区別しない場合、単に通信装置1と記載する場合がある。また図1は、4つの通信装置を備えるが、通信装置の数はこれに限るものではない。
The
本発明の実施の形態において、各通信装置1は、各通信における役割に応じて、送信装置2、受信装置4または中継装置3として機能する。各通信装置1は、対象データを送信する際は送信装置2として機能する場合がある。また各通信装置1は、対象データの送信先となる際は受信装置4として機能する場合がある。また各通信装置1は、送信装置2および受信装置4間の通信を中継する中継装置3として機能する場合がある。ここで対象データは、送信装置2が受信装置4に向けて送信するリクエストまたは応答に係るデータであって、後述の代理通信の対象となるデータである。
In the embodiment of the present invention, each
本発明の実施の形態に係る通信システム5は、例えば乗用車の内部などの限られた空間に設けられる。各通信装置1は、コントローラに設置されるとともに、例えば車のドア、ルームランプ、窓などの各設備に対応して設置され、各設備の状態をコントローラに送信したり、コントローラから各設備の状態を変更する指示を受信したりする。
The
通信システム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
このような状況において、第1の通信装置1aが、第3の通信装置1cに対象データの送信を試みる場合、第1の通信装置1aと第3の通信装置1cは、直接に通信できないので、第2の通信装置1bが、第1の通信装置1aに代わって通信する(代理通信)。
In such a situation, when the
具体的には、第1の通信装置1aが対象データを第3の通信装置1cに送信する際、下記の手順で通信が行われる。
Specifically, when the
(1)オーバーヒア
第1の通信装置1aが対象データを第3の通信装置1cに向けて送信すると、第2の通信装置1bは、オーバーヒアを行う。オーバーヒアにおいて第2の通信装置1bは、第1の通信装置1aから第3の通信装置1c宛に対象データが送信されたことを検知する。さらに第2の通信装置1bは、対象データが送信された後、対象データに対する受信通知(Ack)を受信できなかったことを検知する。
(1) Overhear When the
(2)代理通信
第2の通信装置1bは、オーバーヒアした後、代理通信を行う。代理通信において第2の通信装置1bは、その対象データを、第1の通信装置1aに代わって第3の通信装置1cに向けて代理通信する。代理通信した後、第2の通信装置1bは、第3の通信装置1cから、代理通信された対象データについての受信通知を待機する。第3の通信装置1cから受信通知を受信しない場合、第2の通信装置1bは、所定の時間間隔かつ所定回数、対象データの代理通信を繰り返しても良い。
(2) Proxy Communication The
(3)代理通信の完了通知
第2の通信装置1bは、第3の通信装置1cに対象データを代理通信したことに対し、第3の通信装置1cから受信通知を受信すると、第1の通信装置1aに代理通信の完了通知を通知する。第1の通信装置1aは、代理通信の完了通知を受信すると、対象データが第3の通信装置1cに受信されたと認識する。これにより、送信元から送信先に対象データを送信する一連の通信が完了する。
(3) Notification of Completion of Proxy Communication When the
このような代理通信において第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
リンクアドレスは、第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
(通信方法)
図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
まずステップ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
第2の通信装置1bは、オーバーヒアで、ステップS1で対象データが送信されたことを検知し、ステップS3において対象データの直接通信に対する受信通知#1を監視する。
The
第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
第3の通信装置1cは、オーバーヒアで、ステップS5で対象データの代理通信#1が行われたことを検知し、ステップS7において対象データの代理通信#1に対する受信通知#2を監視する。
The
第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
ステップ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
第2の通信装置1bは、オーバーヒアで、ステップS13で代理通信の完了通知#1が送信されたことを検知する。ステップS15において第2の通信装置1bは、ステップS5で送信した代理通信データの対象データについて、代理通信の完了通知が送信されたと判断し、ステップS5で送信した代理通信データを削除する。また第2の通信装置1bは、代理通信の完了通知#1の受信通知#4を監視する。
The
第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
ここで通信環境の変化等により、第1の通信装置1aが代理通信の完了通知#2を受信できない場合、ステップS19において第2の通信装置1bは、ステップS17の代理通信の完了通知#2に対する受信通知#5を取得することはできない。
If the
一方、ステップ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
このように本発明の実施の形態に係る通信方法において、第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
従来の通信方法において、第1の通信装置1aが対象データを再送する場合、図3のステップS1ないしステップS20の処理が繰り返され、通信システム5におけるトラフィック数が増加する。一方本発明の実施の形態に係る通信方法は、第2の通信装置1bが第1の通信装置1aに、対象データが第4の通信装置1dに受信されたことを通知する。これにより第1の通信装置1aは、その後、対象データを再送することなく、また第2の通信装置1bが、再送された対象データについての代理通信を行わないので、通信システム5におけるトラフィック数を抑制することができる。また本発明の実施の形態に係る通信方法において、送信装置および受信装置間で通信を中継する中継装置の数が多いほど、トラフィック数の抑制の効果は顕著になる。
In the conventional communication method, when the
図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
さらに、図3に示す例において、第1の通信装置1aの対象データの送信を代理通信した第2の通信装置1bが、第1の通信装置1aによる対象データの再送が検知された場合に代理通信の完了通知を送信する場合を説明したがこれに限られない。対象データの送信を代理通信した通信装置でなくとも、第1の通信装置1aによる対象データの再送を検知し、その対象データが第4の通信装置1dによって受信されたことを把握している通信装置1が、その旨を第1の通信装置1aに通知しても良い。
Further, in the example shown in FIG. 3, the
また図3において、第1の通信装置1aは、ステップS2での通知または再送待ちの後、ステップS20において対象データを再送するまでの間、対象データを再送しない場合を説明したが、これに限らない。第1の通信装置1aは、予め定められた条件に従って対象データを再送しても良い。その場合、第2の通信装置1bが、第1の通信装置1aによる対象データの再送を検知した際に、対象データが第4の通信装置1dに送信された確認を取れているか否かによって、第2の通信装置1bの動作が異なる。
Further, in FIG. 3, the case where the
対象データが第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
(送信装置)
図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
送信装置2は、記憶装置21、処理装置25、通信制御装置29を備える一般的なコンピュータである。一般的なコンピュータが送信プログラムを実行することにより、図4に示す機能を実現する。
The
記憶装置21は、ROM(Read Only Memory)、RAM(Random access memory)、ハードディスク等であって、処理装置25が処理を実行するための入力データ、出力データおよび中間データなどの各種データを記憶する。処理装置25は、CPU(Central Processing Unit)であって、記憶装置21に記憶されたデータを読み書きしたり、通信制御装置29とデータを入出力したりして、送信装置2における処理を実行する。通信制御装置29は、送信装置2が、他の通信装置1(中継装置3および受信装置4)と通信可能に接続するためのインタフェースである。
The
記憶装置21は、送信プログラムを記憶するとともに、対象データTを記憶する。対象データTは、送信装置2が受信装置4に送信するデータである。
The
処理装置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
送信部26は、対象データTを受信装置4に向けて送信して所定時間以内に、受信装置4がデータを受信したことを示す通知を受信すると、対象データTが受信装置4に受信されたことを確認し、対象データTを削除する。
When the
図5を参照して、送信部26による送信処理を説明する。
The transmission process by the
まずステップS101において送信部26は、対象データTを送信する。ステップS102において送信部26は、ステップS101で送信した対象データについての受信通知または代理通信の完了通知の受信を待機する。受信通知または代理通信の完了通知を受信すると、そのまま処理を終了する。
First, in step S101, the
ステップS102において受信通知または代理通信の完了通知を受信しない場合、ステップS103において送信部26は、対象データTの再送時間が到来したか否かを判定する。再送時間が到来するまで、ステップS102において、受信通知または代理通信の完了通知の受信を待機する。
When the reception notification or the proxy communication completion notification is not received in step S102, the
ステップS103において対象データTの再送時間が到来した場合、ステップS104において送信部26は、対象データTを再送し、再送回数をカウントアップする。さらにステップS105においてステップS104で再送した対象データについての受信通知または代理通信の完了通知の受信を待機する。受信通知または代理通信の完了通知を受信すると、そのまま処理を終了する。
When the retransmission time of the target data T arrives in step S103, the
ステップS106において送信部26は、所定の再送回数をオーバーしたか否かを判定する。オーバーしていない場合、ステップS102に戻り、ステップS102において送信部26は、ステップS104で送信した対象データについての受信通知または代理通信の完了通知の受信を待機する。ステップS105において所定の再送回数をオーバーした場合、ステップS107において送信部26は、対象データに関連するデータを破棄して対象データTの送信を断念し、処理を終了する。
In step S106, the
(中継装置)
図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
中継装置3は、記憶装置31、処理装置35、通信制御装置39を備える一般的なコンピュータである。一般的なコンピュータが中継プログラムを実行することにより、図6に示す機能を実現する。
The relay device 3 is a general computer including a
記憶装置31は、ROM(Read Only Memory)、RAM(Random access memory)、ハードディスク等であって、処理装置35が処理を実行するための入力データ、出力データおよび中間データなどの各種データを記憶する。処理装置35は、CPU(Central Processing Unit)であって、記憶装置31に記憶されたデータを読み書きしたり、通信制御装置39とデータを入出力したりして、中継装置3における処理を実行する。通信制御装置39は、中継装置3が、他の通信装置1(送信装置2および受信装置4)と通信可能に接続するためのインタフェースである。
The
記憶装置31は、中継プログラムを記憶するとともに、中継データ32および受信再通知蓄積データ33を記憶する。
The
中継データ32は、中継部37によって送信されるデータを保持するバッファである。中継データ32は、例えばFIFO形式で送信される。中継データ32は、図7に示すように、送信装置2から送信され受信装置4から受信通知が通知されていない対象データの代理通信、代理通信の完了通知等の各データを保有する。各データについて、所定の時間間隔かつ所定回数再送する場合、中継データ32において、再送した回数や再送までの時間を計測するタイマーなどの情報が対応づけられても良い。
The
受信再通知蓄積データ33は、受信再通知部38によって送信されるデータを保持するバッファである。受信再通知蓄積データ33は、図8に示すように、中継装置3が代理通信の完了通知を送信したものの、送信装置2から受信通知を受信していない代理通信の完了通知の各データを保有する。受信再通知蓄積データ33の各データは、送信装置2が関連する対象データTを再送した際に送信される。受信再通知蓄積データ33の各データは、所定時間保持された後破棄され、図8に示すように、破棄されるまでの再送を待機する時間が関連づけられる。
The reception re-notification accumulated
受信再通知蓄積データ33は、中継部37によって、所定の時間間隔かつ所定回数再送しても受信通知を得られないデータを保持しても良い。また、受信再通知蓄積データ33は、中継部37によって所定回数再送されたか否かを問わず、受信通知を得られないデータを保持しても良い。
The reception re-notification accumulated
処理装置25は、オーバーヒア処理部36、中継部37および受信再通知部38を備える。
The
オーバーヒア処理部36は、送信装置2が、受信装置4に向けて対象データTを送信したことに対し、受信装置4が対象データTを受信したことを示す受信通知が送信されないことを検知した場合、対象データを中継データ32に格納する。オーバーヒア処理部36は、送信装置2が受信装置4に向けてデータを送信した際に、そのデータを記憶装置31に一時保存する。オーバーヒア処理部36は、所定時間内に受信装置4がこのデータを受信したことを示す受信通知が送信されないことを検知すると、一時保存したデータを中継データ32に格納し、中継部37による代理通信に備える。
The
図9を参照して、オーバーヒア処理部36によるオーバーヒア処理を説明する。
Overhear processing by the
ステップS201においてオーバーヒア処理部36は、受信可能領域で送受信される通信データを検知すると、ステップS202において、検知した通信データの種別を判定する。
When detecting the communication data transmitted / received in the receivable area in step S201, the
検知した通信データが、送信装置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
一方検知した通信データが、対象データ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
中継部37は、中継データ32に格納された対象データTを、受信装置4に向けて代理通信し、受信装置4が対象データTを受信したことを示す「通知」を受信すると、送信装置2に、通知を送信する。中継部37は、受信装置4が対象データTを受信したことを示す通知を受信しない場合、所定の時間間隔かつ所定回数、対象データTの代理通信を繰り返しても良い。
When the
本発明の実施の形態に示すように、第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
中継部37は、さらに、第3の通信装置1c(他の中継装置)が代理通信の完了通知を送信したことに対し、送信装置2が代理通信の完了通知を受信したことを示す受信通知が送信されていないことを検知した場合、第3の通信装置1c(他の中継装置)が送信した代理通信の完了通知を代理通信する。中継部37は、所定の時間間隔かつ所定回数、代理通信の完了通知の送信を繰り返し、送信装置2から受信通知を受信できなかった場合、受信再通知蓄積データ33に、代理通信の完了通知を蓄積する。
The
図10を参照して、中継部37による中継処理を説明する。
The relay process by the
まずステップ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
ステップS321において中継部37は、送信装置2に、対象データTの代理通信の完了通知を送信する。ステップS322において中継部37は、ステップS321で送信した代理通信の完了通知に対して、送信装置2から受信通知を受信したか否かを判定する。送信装置2から受信通知を受信した場合、ステップS323において中継部37は、代理通信の完了通知に関連するデータを破棄する。一方送信装置2から代理通知の完了通知を受信しない場合、ステップS324において中継部37は、代理通信の完了通知の再送を待機する。
In step S321, the
一方オーバーヒア処理部36によってオーバーヒアされたデータ種別が代理通信の完了通知の場合、ステップS310において中継部37は、中継データ32に、代理通信の完了通知に対する対象データTに関連するデータを有するか否かを判定する。代理通信の完了通知に対する対象データTに関連するデータを有する場合、ステップS311において中継部37は、中継データ32から対象データTに関連するデータを破棄し、ステップS321に進む。
On the other hand, when the data type overheard by the
ステップS321において中継部37は、送信装置2に代理通信の完了通知を送信(代理通信)する。ここで送信される代理通信の完了通知は、他の中継装置が送信装置2宛に送信したが、送信装置2に受信されなかったデータである。ステップS322において、ステップS321で送信した代理通信の完了通知に対して送信装置2から受信通知を受信すると、ステップS323において、代理通信の完了通知に関連するデータを破棄する。一方送信装置2から代理通知の完了通知を受信しない場合、ステップS324において代理通信の完了通知の再送を待機する。
In step S321, the
図11を参照して、図10のステップS304以降において、中継部37が対象データTを再送する処理を説明する。対象データTは、所定の時間間隔で、所定の回数、再送される。
With reference to FIG. 11, a process in which the
ステップ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
ステップ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
図12を参照して、図10のステップS324以降および図11のステップS407以降において、中継部37が代理通信の完了通知を再送する処理を説明する。
With reference to FIG. 12, the process in which the
ステップ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
ステップ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
受信再通知部38は、送信装置2による対象データTの再送が検知されると、送信装置2に、受信装置4が対象データTを受信したことを示す「通知」を送信する。
When the retransmission of the target data T by the
中継装置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
受信再通知部38は、受信再通知蓄積データ33に含まれる複数の代理通信の完了通知のうち、再送された対象データとシーケンス番号およびエンドアドレスの2つのアドレスが共通する代理通信の完了通知の有無を確認する。
The
なお、代理通信の完了通知は、対象データの送信の返信になる。従って受信再通知部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
シーケンス番号と各アドレスが一致する場合、受信再通知部38は、シーケンス番号等が共通する完了通知を送信装置2に送信する。一方共通する完了通知を有しない場合、受信再通知部38は、送信装置2に完了通知を送信することなく、中継部37によって代理通信されてもよい。本発明の実施の形態において、受信再通知部38が、シーケンス番号とアドレスで、受信装置4が対象データTを受信したことを示す「通知」を有するか否かを判定したが、これに限られない。例えば、受信再通知部38は、シーケンス番号のみで判定しても良い。
When the sequence number and each address match, the
受信再通知部38は、対象データTに関する受信通知または代理通信の完了通知を受領した後に、送信装置2による対象データTの再送が検知されると、送信装置2に、受信装置4が対象データTを受信したことを示す通知を送信する。なお、対象データTに関する受信通知または代理通信の完了通知を受領する前に、送信装置2による対象データTの再送を検知した場合、中継部37が対象データTの代理通信を行う。
When the retransmission notification of the target data T by the
中継部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
図13を参照して、受信再通知部38による受信再通知処理を説明する。図13に示す処理は、図12のステップS506に示す処理の後に実行される。
The reception re-notification processing by the
まずステップS601において、受信再通知部38が送信装置2による対象データTの再送を検知すると、ステップS602に進む。オーバーヒア処理部36が周辺の通信を傍受し、送信装置2による対象データTの再送を検知した場合、オーバーヒア処理部36が受信再通知部38に、対象データTの再送を検知したことを通知しても良い。送信装置2による対象データTの再送を検知することなく所定時間が経過すると、受信再通知部38は、そのまま処理を終了する。このとき受信再通知部38は、対象データTに関連するデータを、受信再通知蓄積データ33から削除する。
First, in step S601, when the
ステップS602において受信再通知部38は、受信再通知蓄積データ33に、再送が検知された対象データTに関連する代理通信の完了通知を保持するか否かを判定する。受信再通知部38は、受信再通知蓄積データ33のうち、シーケンス番号等が共通する代理通信の完了通知を保持しているか否かを判定する。保持していない場合、受信再通知部38は、そのまま処理を終了する。
In step S602, the
保持している場合、ステップS603において受信再通知部38は、ステップS602でシーケンス番号等が共通すると特定した代理通信の完了通知を、送信装置2に再送する。受信再通知部38は、ステップS603で送信した代理通信の完了通知に対して、送信装置2から送信される受信通知を待機する。
If held, the
ステップ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
なお本発明の実施の形態において、中継部37が、送信装置2宛に代理通信の完了通知を所定の時間間隔かつ所定回数、再送しても、送信装置2から受信通知を受信できなかった後に、受信再通知部38が、代理通信の完了通知を送信したが、これに限らない、例えば、中継部37が、送信装置2宛に代理通信の完了通知を、所定の時間間隔かつ所定回数の再送を完了する前であっても、送信装置2による対象データTの再送が検知された場合、受信再通知部38が、代理通信の完了通知を送信しても良い。
Note that in the embodiment of the present invention, after the
このような本発明の実施の形態に係る通信システム5によれば、中継装置3が対象データTを代理通信して、その対象データTが受信装置4に受信されたことを示す通知を受信した後に、送信装置2が対象データTを再送した場合、その通知を送信装置2に送信する。従来、再送された対象データTが受信装置4に受信されたか否かに関わらず、中継装置3が対象データTを代理通信するので、トラフィック量が増大する場合があった。これに対し本発明の実施の形態によれば、対象データTが受信装置4に受信されている場合、その旨の通知を送信装置2に送信する。これにより本発明の実施の形態に係る通信システム5は、再送された対象データTが受信装置4に受信されたか否かに関わらず、中継装置3が対象データTを代理通信する状況を回避するので、トラフィック量の増大を回避することができる。
According to the
(変形例)
本発明の実施の形態において、第2の通信装置1b(中継装置3)が第4の通信装置1d(受信装置4)と直接通信できず、第3の通信装置1c(他の中継装置)による代理通信により、第4の通信装置1dと通信する場合を説明したが、これに限られない。変形例において、第2の通信装置1bが、第4の通信装置1dと直接通信できる場合を説明する。
(Modification)
In the embodiment of the present invention, the
図14に示す通信システム5’は、第1の通信装置1a、第2の通信装置1bおよび第4の通信装置1dを備える。図14は、3つの通信装置を備えるが、通信装置の数はこれに限るものではない。
The communication system 5'shown in FIG. 14 includes a
変形例に係る通信システム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
このような状況において、第1の通信装置1aが、第4の通信装置1dに対象データの送信を試みる場合、第1の通信装置1aと第4の通信装置1dは、直接に通信できないので、第2の通信装置1bが、第1の通信装置1aに代わって通信する(代理通信)。
In such a situation, when the
第1の通信装置1aは、送信装置2として機能し、第4の通信装置1dは、受信装置4として機能する。変形例において第2の通信装置1bは、中継装置3’として機能し、図6等を参照して説明した中継装置3と同様の構成を有する。
The
ただし、中継部37が受信する、対象データTが受信装置4に受信されたことを示す通知は、受信装置4が、中継部37が対象データを受信したことを示す受信通知である。中継装置3’と受信装置4は通信可能であるので、中継部37は、対象データの代理通信を受信装置4に送信し、受信装置4から代理通信に対する受信通知を受信した際に、受信装置4が、対象データを受信したことを把握する。
However, the notification that the
また受信再通知部38は、対象データの再送を検知した場合、中継装置3’が送信した代理通信が完了したことを示す代理通信の完了通知を、送信装置2に送信する。
In addition, when the
図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
第2の通信装置1bは、オーバーヒアで、ステップS51で対象データが送信されたことを検知し、ステップS53において対象データの直接通信に対する受信通知#1を監視する。
The
第1の通信装置1aと第4の通信装置1dは直接通信できないので、ステップS54において、第1の通信装置1aは、第4の通信装置1dから、ステップS51の対象データの直接通信に対する受信通知#1を取得することはできない。第2の通信装置1bは、受信通知#1が送信されないことを検知すると、ステップS55において、第4の通信装置1dに対して、対象データの代理通信#1を行う。
Since the
ステップ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
ここで通信環境の変化等により、第1の通信装置1aが代理通信の完了通知#1を受信できない場合、ステップS60において第2の通信装置1bは、ステップS58の代理通信の完了通知#1に対する受信通知#3を取得することはできない。
If the
一方、ステップS52で、所定時間、対象データの再送または通知待ちであった第1の通信装置1aが所定時間内に通知を受信しなかった場合、ステップS61において第1の通信装置1aは、対象データの再送を試みる。ステップS62において第2の通信装置1bは、第1の通信装置1aによる対象データの再送を検知すると、その対象データに関する代理通信の完了通知#1を、第1の通信装置1aに向けて再送する。
On the other hand, in step S52, if the
このように、中継装置3’が送信装置2および受信装置4と直接通信可能であっても、中継装置3’が、送信装置2による対象データの再送を検知した場合、中継装置3’が送信した代理通信が完了したことを示す代理通信の完了通知を再送することができる。図14に示す変形例に係る通信システム5’においても、本発明の実施の形態と同様に、トラフィック量の増大を回避することができる。
Thus, even if the relay device 3 ′ can directly communicate with the transmitting
(その他の実施の形態)
上記のように、本発明の実施の形態とその変形例によって記載したが、この開示の一部をなす論述および図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例および運用技術が明らかとなる。
(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
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.
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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021027473A (en) * | 2019-08-06 | 2021-02-22 | 矢崎総業株式会社 | Radio communication node and radio communications system |
JP2023043967A (en) * | 2021-09-17 | 2023-03-30 | 株式会社東芝 | Wireless communication device and wireless communication system |
Citations (2)
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 |
-
2018
- 2018-10-19 JP JP2018197441A patent/JP2020065222A/en active Pending
Patent Citations (2)
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 (3)
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 |
JP2023043967A (en) * | 2021-09-17 | 2023-03-30 | 株式会社東芝 | Wireless communication device and wireless communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6289482B1 (en) | Error and flow control in a satellite communications system | |
CN101174930B (en) | Method and apparatus for implementing automatic retransmission request in relay 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 | |
CN104104608B (en) | Receive the method and device of message | |
CN111525989A (en) | Method, apparatus and storage medium for transmitting RLC status report | |
CN111543116B (en) | Method for forwarding data between nodes in relay network and network node | |
JP5569452B2 (en) | Wireless communication apparatus, method and program | |
EP2589031A1 (en) | Systems and methods for communicating among nodes of a wireless network | |
JP2020065222A (en) | Communication system, relay device, and communication method | |
WO2018137158A1 (en) | Data transmission method and apparatus, and customer premises equipment | |
JP7328177B2 (en) | Data transmission method and communication system | |
JP2008289080A (en) | Terminal device, network device, and data communication method | |
JP6468566B2 (en) | Data transmission control system and method, and data transmission control program | |
EP3424163B1 (en) | Enhancement of relay arq in mmw network | |
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 | |
JP4520350B2 (en) | Wireless device | |
JP6241817B2 (en) | Wireless communication system | |
JP2006311301A (en) | Wireless terminal device and wireless communication system | |
US20230403637A1 (en) | Enhanced wireless transmission system | |
JP5204008B2 (en) | Wireless communication device | |
TW202312720A (en) | Communication apparatus and method having data transmission sorting mechanism |
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 |