JP2022116618A - Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded - Google Patents
Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded Download PDFInfo
- Publication number
- JP2022116618A JP2022116618A JP2021012882A JP2021012882A JP2022116618A JP 2022116618 A JP2022116618 A JP 2022116618A JP 2021012882 A JP2021012882 A JP 2021012882A JP 2021012882 A JP2021012882 A JP 2021012882A JP 2022116618 A JP2022116618 A JP 2022116618A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- packets
- encoded
- processing means
- buffer
- 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 description 67
- 238000012545 processing Methods 0.000 claims abstract description 354
- 239000000872 buffer Substances 0.000 claims abstract description 298
- 230000005540 biological transmission Effects 0.000 claims abstract description 140
- 238000000034 method Methods 0.000 claims description 104
- 230000008569 process Effects 0.000 claims description 54
- 238000010586 diagram Methods 0.000 description 33
- 239000000203 mixture Substances 0.000 description 18
- 102100023882 Endoribonuclease ZC3H12A Human genes 0.000 description 7
- 101710112715 Endoribonuclease ZC3H12A Proteins 0.000 description 7
- QGVYYLZOAMMKAH-UHFFFAOYSA-N pegnivacogin Chemical compound COCCOC(=O)NCCCCC(NC(=O)OCCOC)C(=O)NCCCCCCOP(=O)(O)O QGVYYLZOAMMKAH-UHFFFAOYSA-N 0.000 description 7
- 108700012361 REG2 Proteins 0.000 description 6
- 101150108637 REG2 gene Proteins 0.000 description 6
- 101100120298 Rattus norvegicus Flot1 gene Proteins 0.000 description 6
- 101100412403 Rattus norvegicus Reg3b gene Proteins 0.000 description 6
- 239000000284 extract Substances 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 101100501274 Caenorhabditis elegans elp-1 gene Proteins 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 240000001973 Ficus microcarpa Species 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
この発明は、送信装置、受信装置、これらを備えた無線通信システム、プログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a transmitting device, a receiving device, a wireless communication system provided with these devices, a program, and a computer-readable recording medium recording the program.
非特許文献1は、送信対象である複数のパケットが揃った時点で複数のパケットを複数の経路で伝送することを開示する。
Non-Patent
また、非特許文献2は、送信対象である複数のパケットが揃った時点でウィンドウを複数のパケットに対してスライディングさせながら複数のパケットを送信することによって低遅延化を試行することを開示する。
In addition, Non-Patent
更に、特許文献1は、多対多の通信において、複数のパケットをネットワークコーディングし、そのネットワークコーディングしたコーディングパケットをブロードキャストすることによってパケットの到達率を向上することを開示する。
Furthermore,
より具体的には、無線装置TM_1~TM_6は、1番目の周期において、それぞれ、シーケンス番号Seq=1の単一のパケットPKT1(1)~PKT6(1)を生成してブロードキャストする。その後、無線装置TM_1~TM_6は、2番目の周期において、シーケンス番号Seq=1のパケットPKT1(1)~PKT6(1)をネットワークコーディングしたコーディングパケットと、シーケンス番号Seq=2の単一のパケットとの結合パケットを生成してブロードキャストする。更に、無線装置TM_1~TM_6は、3番目の周期において、シーケンス番号Seq=2のパケットPKT1(2)~PKT6(2)をネットワークコーディングしたコーディングパケットと、シーケンス番号Seq=3の単一のパケットとの結合パケットを生成してブロードキャストする。そして、無線装置TM_1~TM_6は、これを繰り返し行う。 More specifically, the wireless devices TM_1 to TM_6 respectively generate and broadcast single packets PKT1(1) to PKT6(1) with sequence number Seq=1 in the first period. After that, in the second cycle, the wireless devices TM_1 to TM_6 generate a coded packet obtained by network coding the packets PKT1(1) to PKT6(1) with the sequence number Seq=1 and a single packet with the sequence number Seq=2. generates and broadcasts a combined packet of Furthermore, in the third period, the wireless devices TM_1 to TM_6 generate a coding packet obtained by network coding the packets PKT1(2) to PKT6(2) with the sequence number Seq=2 and a single packet with the sequence number Seq=3. generates and broadcasts a combined packet of The wireless devices TM_1 to TM_6 repeat this process.
このように、特許文献1は、無線装置TM_1~TM_6の各々が自己で生成したパケットと他の無線装置から受信したパケットとをネットワークコーディングしてコーディングパケットを生成することを開示する。つまり、特許文献1は、ネットワークコーディングの対象となるパケットが既知である場合において、複数のパケットをネットワークコーディングしてコーディングパケットを生成することを開示する。
Thus,
しかし、非特許文献1,2に記載の通信方法は、複数のパケットの到着を待ってから処理する方法であるため、バーストを構成する複数のパケットを非特許文献1,2に記載の通信方法によって送信した場合、遅延が生じてしまう。
However, the communication methods described in
また、バーストの開始および/または終了を知ることはできないため、特許文献1に記載の方法では、パケットのネットワークコーディング(符号化)を効率的に行うことが困難である。
In addition, since the start and/or end of a burst cannot be known, the method described in
そこで、この発明の実施の形態によれば、バーストを構成する複数のパケットを低遅延で送信可能な送信装置を提供する。 Therefore, according to the embodiments of the present invention, there is provided a transmission device capable of transmitting a plurality of packets forming a burst with low delay.
また、この発明の実施の形態によれば、バーストを構成する複数のパケットを低遅延で送信可能な送信装置からパケットを受信する受信装置を提供する。 Further, according to the embodiments of the present invention, there is provided a receiving device for receiving packets from a transmitting device capable of transmitting a plurality of packets forming a burst with low delay.
更に、この発明の実施の形態によれば、バーストを構成する複数のパケットを低遅延で送信可能な送信装置と、バーストを構成する複数のパケットを低遅延で送信可能な送信装置からパケットを受信する受信装置とを備える無線通信システムを提供する。 Furthermore, according to the embodiment of the present invention, a transmission device capable of transmitting a plurality of packets constituting a burst with low delay and receiving packets from the transmission device capable of transmitting a plurality of packets constituting a burst with low delay A wireless communication system comprising a receiving device for
更に、この発明の実施の形態によれば、バーストを構成する複数のパケットの低遅延な送信をコンピュータに実行させるためのプログラムを提供する。 Furthermore, according to the embodiment of the present invention, there is provided a program for causing a computer to transmit a plurality of packets forming a burst with low delay.
更に、この発明の実施の形態によれば、バーストを構成する複数のパケットの低遅延な送信によって送信されたパケットの受信をコンピュータに実行させるためのプログラムを提供する。 Furthermore, according to an embodiment of the present invention, there is provided a program for causing a computer to receive packets transmitted by low-delay transmission of a plurality of packets forming a burst.
更に、この発明の実施の形態によれば、バーストを構成する複数のパケットの低遅延な送信をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供する。 Furthermore, according to an embodiment of the present invention, there is provided a computer-readable recording medium recording a program for causing a computer to transmit a plurality of packets forming a burst with low delay.
更に、この発明の実施の形態によれば、バーストを構成する複数のパケットの低遅延な送信によって送信されたパケットの受信をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供する。 Furthermore, according to an embodiment of the present invention, there is provided a computer-readable recording medium recording a program for causing a computer to receive packets transmitted by low-delay transmission of a plurality of packets forming a burst. do.
(構成1)
この発明の実施の形態によれば、送信装置は、リアルタイムトラフィックを構成するパケットをアプリケーションから受信し、その受信したパケットを送信する送信装置であって、送信用バッファと、処理手段と、送信手段とを備える。送信用バッファは、送信用パケットを格納するためのバッファである。処理手段は、パケットに対して送信用の処理を実行する。送信手段は、処理手段から受けたパケットを送信する。そして、処理手段は、パケットが第1の時間間隔で当該送信装置に到着する第1の単体パケットであるとき、第1の単体パケットが当該送信装置に到着すると、第1の単体パケットを送信バッファにコピーするとともに第1の単体パケットを送信手段へ出力する第1の処理を実行し、パケットが第1の時間間隔よりも短い第2の時間間隔で連続して当該送信装置に到着する複数の単体パケットであるとき、複数の単体パケットのうちの最初に当該送信装置に到着した単体パケット以外の単体パケットから選択された第2の単体パケットが当該送信装置に到着すると、第2の単体パケットを送信バッファにコピーし、第2の単体パケットよりも早く当該送信装置に到着した単体パケットを含む第1の符号化パケットを第2の単体パケットに付与した結合パケットを生成するとともに結合パケットを送信手段へ出力する第2の処理を実行し、複数の単体パケットに含まれ、かつ、第2の単体パケット以外の単体パケットである第3の単体パケットが当該送信装置に到着すると、第3の単体パケットに対して第1の処理を実行し、複数の単体パケットのうちの最後の単体パケットが当該送信装置に到着したと判定すると、最後の単体パケットを送信バッファにコピーし、最後の単体パケットが第2の単体パケットに該当するとき最後の単体パケットに対して第2の処理を実行し、最後の単体パケットが第3の単体パケットに該当するとき最後の単体パケットに対して第1の処理を実行し、最後の単体パケットが当該送信装置に到着したと判定したタイミングから所定の時間が経過すると、送信バッファに格納された全ての単体パケットを含む第2の符号化パケットを生成して送信手段へ出力する第3の処理を実行する。また、送信手段は、第1の単体パケットを処理手段から受けると、その受けた第1の単体パケットを単独で送信する第1の送信処理を実行し、結合パケットを処理手段から受けると、その受けた結合パケットを送信する第2の送信処理を実行し、第3の単体パケットまたは最後の単体パケットを処理手段から受けると、その受けた第3の単体パケットまたは最後の単体パケットに対して第1の送信処理を実行し、第2の符号化パケットを処理手段から受けると、その受けた第2の符号化パケットを単独で送信する第3の送信処理を実行する。
(Configuration 1)
According to an embodiment of the present invention, a transmission device receives packets constituting real-time traffic from an application and transmits the received packets, and comprises a transmission buffer, processing means, and transmission means. and The transmission buffer is a buffer for storing transmission packets. The processing means executes processing for transmission on the packet. The transmitting means transmits the packet received from the processing means. Then, when the packet is the first single packet arriving at the transmitting device at the first time interval, the processing means stores the first single packet in the transmission buffer when the first single packet arrives at the transmitting device. and outputting the first single packet to the transmitting means, and the packets arrive at the transmitting device continuously at a second time interval shorter than the first time interval. When a single packet is a single packet, when a second single packet selected from single packets other than the single packet that arrived at the transmitting device first among a plurality of single packets arrives at the transmitting device, the second single packet is sent to the transmitting device. means for generating a combined packet in which a first encoded packet including a single packet copied to a transmission buffer and arriving at the transmitting apparatus earlier than the second single packet is added to the second single packet, and for transmitting the combined packet; When a third simple packet that is included in a plurality of simple packets and is a single packet other than the second simple packet arrives at the transmitting device, the third simple packet , and when it is determined that the last single packet of the plurality of single packets has arrived at the transmitting device, the last single packet is copied to the transmission buffer, and the last single packet is transferred to the first When the last single packet corresponds to the second single packet, the second processing is performed on the last single packet, and when the last single packet corresponds to the third single packet, the first processing is performed on the last single packet. Then, when a predetermined time elapses from the timing at which it is determined that the last single packet has arrived at the transmitting device, a second encoded packet including all the single packets stored in the transmission buffer is generated and sent to the transmitting means. Execute the third process of outputting. Further, when the transmission means receives the first single packet from the processing means, the transmission means executes the first transmission process of transmitting the received first single packet alone, and when the combined packet is received from the processing means, the When a second transmission process for transmitting the received combined packet is executed, and a third single packet or the last single packet is received from the processing means, a third single packet or the last single packet is sent to the received third single packet or the last single packet. When the first transmission process is executed and the second encoded packet is received from the processing means, the third transmission process of transmitting the received second encoded packet alone is executed.
(構成2)
構成1において、処理手段は、第2の処理において、第2の単体パケットまたは最後の単体パケットよりも早く当該送信装置に到着した単体パケットのうちで最後に当該送信装置に到着した単体パケットである第4の単体パケットが当該送信装置に到着すると、第4の単体パケットが送信手段によって送信された後に、第2の単体パケットまたは最後の単体パケットよりも早く当該送信装置に到着した単体パケットを含む第1の符号化パケットを生成する第1のサブ処理を実行し、第1のサブ処理を実行した後に、第2の単体パケットまたは最後の単体パケットが当該送信装置に到着すると、第1の符号化パケットを第2の単体パケットまたは最後の単体パケットに付与して結合パケットを生成して送信手段へ出力する第2のサブ処理を実行する。
(Configuration 2)
In
(構成3)
構成2において、処理手段は、第2の処理において、第2の単体パケットがa(aは、1以上の整数である。)個の単体パケットからなるとき、a個の単体パケットの各々について、第1および第2のサブ処理を実行する。
(Composition 3)
In
(構成4)
構成1から構成3のいずれかにおいて、処理手段は、符号化パケットの初期値を所定長の零からなるY0とし、送信用バッファから取り出したパケットをXi(i=1,2,・・・,I、Iは、第1の符号化パケットまたは第2の符号化パケットを生成するときに送信用バッファに格納されているパケットの総数)とし、所定長の乱数をCiとし、符号化パケットをYiとしたとき、所定長の乱数CiをパケットXiに乗算した乗算結果Ci・XiとYi-1との排他的論理和の演算を全てのiについて実行することによって得られた符号化パケットYiを第1の符号化パケットまたは第2の符号化パケットとして生成する。
(Composition 4)
In any one of
(構成5)
構成1から構成4のいずれかにおいて、送信装置は、複数の基地局を更に備える。複数の基地局は、送信手段と有線ケーブルによって接続される。そして、複数の基地局は、第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを送信手段から有線ケーブルを介して受信し、その受信した第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを相互に異なる通信経路によって送信する。
(Composition 5)
In any one of
(構成6)
また、この発明の実施の形態によれば、受信装置は、構成1から構成5のいずれかに記載の送信装置からパケットを受信する受信装置であって、第1の受信バッファと、第2の受信バッファと、受信手段と、分離手段と、第1の処理手段と、第2の処理手段と、復号手段とを備える。第1の受信バッファは、単体パケットを格納するためのバッファである。第2の受信バッファは、符号化パケットを格納するためのバッファである。受信手段は、第1および第3の単体パケット、結合パケット、および第2の符号化パケットを受信する。分離手段は、結合パケットを第1の符号化パケットと第2の単体パケットとに分離する。第1の処理手段は、第1の単体パケットまたは第3の単体パケットのうち、第1の受信バッファに格納されていない単体パケットまたは受信済でない単体パケットを第1の受信バッファに格納するとともに第1の受信バッファに格納された単体パケットを送信装置からパケットによって送信された情報を利用するアプリケーションへ伝送する受信処理を実行する。第2の処理手段は、受信手段によって受信された符号化パケットに基づいて、第1の受信バッファに格納されていない複数の単体パケットのみを含む第3の符号化パケットを生成し、その生成した第3の符号化パケットを第2の受信バッファに格納する処理を第1および第2の符号化パケットの全てについて実行する。復号手段は、第2の受信バッファから複数の第3の符号化パケットを読み出し、その読み出した複数の第3の符号化パケットについての連立方程式を解いて複数の第3の符号化パケットを復号する復号処理を実行する。そして、第1の処理手段は、復号手段によって復号された単体パケットに対して受信処理を更に実行する。
(Composition 6)
Further, according to an embodiment of the present invention, a receiving device is a receiving device for receiving a packet from the transmitting device according to any one of
(構成7)
構成6において、第2の処理手段は、受信手段によって受信された符号化パケットから第1の受信バッファに格納された単体パケットの情報を除去することによって第3の符号化パケットを生成する。
(Composition 7)
In
(構成8)
構成7において、第2の処理手段は、第1の受信バッファに格納された単体パケットが受信手段によって受信された符号化パケットに含まれると判定したとき、受信手段によって受信された符号化パケットから第3の符号化パケットを生成する。
(Composition 8)
In
(構成9)
構成7または構成8において、第2の処理手段は、受信手段によって受信された符号化パケットから第1の受信バッファに格納された単体パケットの情報を除去した後の符号化パケットが1個の単体パケットを含むとき、更に、1個の単体パケットを含む符号化パケットを第2の受信バッファから消去する。第1の処理手段は、1個の単体パケットを含む符号化パケットを単体パケットに変換し、その変換した単体パケットに対して受信処理を実行する。
(Composition 9)
In
(構成10)
構成6から構成9のいずれかにおいて、受信装置は、複数の基地局を更に備える。複数の基地局は、受信手段と有線ケーブルによって接続され、送信装置から送信されたパケットを相互に異なる複数の通信経路を介して受信する。そして、複数の基地局の各々は、受信したパケットを有線ケーブルを介して受信手段へ出力する。
(Configuration 10)
In any one of
(構成11)
更に、この発明の実施の形態によれば、無線通信システムは、構成1から構成5のいずれかに記載の送信装置と、構成6から構成10のいずれかに記載の受信装置とを備える。
(Composition 11)
Further, according to an embodiment of the present invention, a radio communication system includes the transmitting device according to any one of
(構成12)
更に、この発明の実施の形態によれば、プログラムは、リアルタイムトラフィックを構成するパケットをアプリケーションから受信する送信装置においてパケットの送信をコンピュータに実行させるためのプログラムであって、
処理手段が、パケットに対して送信用の処理を実行する第1のステップと、
送信手段が、処理手段から受けたパケットを送信する第2のステップとをコンピュータに実行させ、
処理手段は、第1のステップにおいて、パケットが第1の時間間隔で送信装置に到着する第1の単体パケットであるとき、第1の単体パケットが送信装置に到着すると、送信用のパケットを格納するための送信バッファに第1の単体パケットをコピーするとともに第1の単体パケットを送信手段へ出力する第1の処理を実行し、パケットが第1の時間間隔よりも短い第2の時間間隔で連続して送信装置に到着する複数の単体パケットであるとき、複数の単体パケットのうちの最初に送信装置に到着した単体パケット以外の単体パケットから選択された第2の単体パケットが送信装置に到着すると、第2の単体パケットを送信バッファにコピーし、第2の単体パケットよりも早く送信装置に到着した単体パケットを含む第1の符号化パケットを第2の単体パケットに付与した結合パケットを生成するとともに結合パケットを送信手段へ出力する第2の処理を実行し、複数の単体パケットに含まれ、かつ、第2の単体パケット以外の単体パケットである第3の単体パケットが送信装置に到着すると、第3の単体パケットに対して第1の処理を実行し、複数の単体パケットのうちの最後の単体パケットが送信装置に到着したと判定すると、最後の単体パケットを送信バッファにコピーし、最後の単体パケットが第2の単体パケットに該当するとき最後の単体パケットに対して第2の処理を実行し、最後の単体パケットが第3の単体パケットに該当するとき最後の単体パケットに対して第1の処理を実行し、最後の単体パケットが送信装置に到着したと判定したタイミングから所定の時間が経過すると、送信バッファに格納された全ての単体パケットを含む第2の符号化パケットを生成して送信手段へ出力する第3の処理を実行し、
送信手段は、第2のステップにおいて、第1の単体パケットを処理手段から受けると、その受けた第1の単体パケットを単独で送信する第1の送信処理を実行し、結合パケットを処理手段から受けると、その受けた結合パケットを送信する第2の送信処理を実行し、第3の単体パケットまたは最後の単体パケットを処理手段から受けると、その受けた第3の単体パケットまたは最後の単体パケットに対して第1の送信処理を実行し、第2の符号化パケットを処理手段から受けると、その受けた第2の符号化パケットを単独で送信する第3の送信処理を実行する。
(Composition 12)
Furthermore, according to the embodiment of the present invention, the program is a program for causing a computer to transmit packets in a transmission device that receives packets constituting real-time traffic from an application,
a first step in which the processing means performs processing for transmission on the packet;
causing the computer to perform a second step in which the transmitting means transmits the packet received from the processing means;
In the first step, when the packet is the first single packet arriving at the transmitting device at the first time interval, the processing means stores the packet for transmission when the first single packet arrives at the transmitting device. performing a first process of copying the first simple packet to a transmission buffer for transmitting and outputting the first simple packet to the transmitting means, wherein the packet is transmitted at a second time interval shorter than the first time interval; When a plurality of single packets arrive at the transmitting device in succession, a second single packet selected from single packets other than the single packet arriving at the transmitting device first among the plurality of single packets arrives at the transmitting device. Then, the second single packet is copied to the transmission buffer, and a combined packet is generated by adding the first encoded packet including the single packet that arrived at the transmitting device earlier than the second single packet to the second single packet. Then, a second process of outputting the combined packet to the transmitting means is executed, and when a third single packet which is included in the plurality of single packets and which is a single packet other than the second single packet arrives at the transmitting device. , performs the first processing on the third single packet, and if it is determined that the last single packet of the plurality of single packets has arrived at the transmitting device, copies the last single packet to the transmission buffer, and corresponds to the second simple packet, the last simple packet is subjected to the second processing, and when the last simple packet corresponds to the third simple packet, the last simple packet is subjected to the 1, and when a predetermined time elapses from the timing at which it is determined that the last single packet has arrived at the transmission device, a second encoded packet including all single packets stored in the transmission buffer is generated. and executing a third process of outputting to the transmitting means,
In the second step, the transmitting means, when receiving the first single packet from the processing means, executes a first transmission process for transmitting the received first single packet alone, and transmits the combined packet from the processing means. When receiving, the second transmission processing for transmitting the received combined packet is executed, and when the third single packet or the last single packet is received from the processing means, the third single packet or the last single packet is received. When the second encoded packet is received from the processing means, the third transmission processing is carried out for transmitting the received second encoded packet alone.
(構成13)
構成12において、処理手段は、第1のステップの第2の処理において、
第2の単体パケットまたは最後の単体パケットよりも早く送信装置に到着した単体パケットのうちで最後に送信装置に到着した単体パケットである第4の単体パケットが送信装置に到着すると、第4の単体パケットが送信手段によって送信された後に、第2の単体パケットまたは最後の単体パケットよりも早く送信装置に到着した単体パケットを含む第1の符号化パケットを生成する第1のサブ処理を実行し、第1のサブ処理を実行した後に、第2の単体パケットまたは最後の単体パケットが送信装置に到着すると、第1の符号化パケットを第2の単体パケットまたは最後の単体パケットに付与して結合パケットを生成して送信手段へ出力する第2のサブ処理を実行する。
(Composition 13)
In
When a fourth simplex packet, which is the last simplex packet among the simplex packets arriving at the transmitting apparatus earlier than the second simplex packet or the last simplex packet, arrives at the transmitting apparatus, the fourth simplex packet arrives at the transmitting apparatus. performing a first sub-process of generating a first encoded packet including a simplex packet that arrived at the transmitting device earlier than the second simplex packet or the last simplex packet after the packet was transmitted by the transmitting means; After executing the first sub-process, when the second simple packet or the last simple packet arrives at the transmitting device, the first encoded packet is added to the second simple packet or the last simple packet to generate a combined packet. is generated and output to the transmitting means.
(構成14)
構成13において、処理手段は、第1のステップの第2の処理において、第2の単体パケットがa(aは、1以上の整数である。)個の単体パケットからなるとき、a個の単体パケットの各々について、第1および第2のサブ処理を実行する。
(Composition 14)
In
(構成15)
構成12から構成14のいずれかにおいて、処理手段は、符号化パケットの初期値を所定長の零からなるY0とし、送信用バッファから取り出したパケットをXi(i=1,2,・・・,I、Iは、第1の符号化パケットまたは第2の符号化パケットを生成するときに送信用バッファに格納されているパケットの総数)とし、所定長の乱数をCiとし、符号化パケットをYiとしたとき、所定長の乱数CiをパケットXiに乗算した乗算結果Ci・XiとYi-1との排他的論理和の演算を全てのiについて実行することによって得られた符号化パケットYiを第1の符号化パケットまたは第2の符号化パケットとして生成する。
(Composition 15)
In any one of
(構成16)
構成12から構成14のいずれかにおいて、送信手段は、第2のステップにおいて、有線ケーブルを介して、第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを複数の基地局へ送信し、
複数の基地局は、第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを送信手段から有線ケーブルを介して受信し、その受信した第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを相互に異なる通信経路によって送信する。
(Composition 16)
In any of
The plurality of base stations receive the first simple packet, the combined packet, the third simple packet, the last simple packet and the second encoded packet from the transmission means via the wired cable, and transmit the received first packet. The simplex packet, the combined packet, the third simplex packet, the last simplex packet and the second encoded packet are transmitted through mutually different communication paths.
(構成17)
更に、この発明の実施の形態によれば、プログラムは、構成12から構成16のいずれかに記載のプログラムをコンピュータに実行させることによって送信されたパケットの受信をコンピュータに実行させるためのプログラムであって、
受信手段が、第1および第3の単体パケット、結合パケット、および第2の符号化パケットを受信する第1のステップと、
分離手段が、結合パケットを第1の符号化パケットと第2の単体パケットとに分離する第2のステップと、
第1の処理手段が、第1の単体パケットまたは第3の単体パケットのうち、第1の受信バッファに格納されていない単体パケットまたは受信済でない単体パケットを第1の受信バッファに格納するとともに第1の受信バッファに格納された単体パケットをパケットによって送信された情報を利用するアプリケーションへ伝送する受信処理を実行する第3のステップと、
第2の処理手段が、第1のステップにおいて受信された符号化パケットに基づいて、第1の受信バッファに格納されていない複数の単体パケットのみを含む第3の符号化パケットを生成し、その生成した第3の符号化パケットを第2の受信バッファに格納する処理を第1および第2の符号化パケットの全てについて実行する第4のステップと、
復号手段が、第2の受信バッファから複数の第3の符号化パケットを読み出し、その読み出した複数の第3の符号化パケットについての連立方程式を解いて複数の第3の符号化パケットを復号する復号処理を実行する第5のステップとをコンピュータに実行させ、
第1の処理手段は、第3のステップにおいて、復号手段によって復号された単体パケットに対して受信処理を更に実行する。
(Composition 17)
Further, according to the embodiment of the present invention, the program is a program for causing a computer to receive packets transmitted by causing a computer to execute the program according to any one of
a first step in which the receiving means receives the first and third simplex packets, the combined packet and the second encoded packet;
a second step in which the separating means separates the combined packet into a first encoded packet and a second simple packet;
The first processing means stores in the first reception buffer a single packet that has not been stored in the first reception buffer or has not been received among the first single packet or the third single packet, and stores the single packet in the first reception buffer. a third step of performing a receiving process of transmitting the single packet stored in one receive buffer to an application that utilizes the information transmitted by the packet;
a second processing means for generating a third encoded packet containing only a plurality of single packets not stored in the first reception buffer based on the encoded packet received in the first step; a fourth step of storing the generated third encoded packet in the second reception buffer for all of the first and second encoded packets;
A decoding means reads the plurality of third encoded packets from the second reception buffer, solves simultaneous equations for the read plurality of third encoded packets, and decodes the plurality of third encoded packets. causing a computer to perform a fifth step of performing a decryption process;
The first processing means further performs reception processing on the single packet decoded by the decoding means in the third step.
(構成18)
構成17において、第2の処理手段は、第4のステップにおいて、第1のステップにおいて受信された符号化パケットから第1の受信バッファに格納された単体パケットの情報を除去することによって第3の符号化パケットを生成する。
(Composition 18)
In configuration 17, the second processing means, in the fourth step, removes the information of the single packet stored in the first reception buffer from the encoded packet received in the first step, thereby generating the third Generate encoded packets.
(構成19)
構成18において、第2の処理手段は、第4のステップにおいて、第1の受信バッファに格納された単体パケットが第1のステップにおいて受信された符号化パケットに含まれると判定したとき、第1のステップにおいて受信された符号化パケットから第3の符号化パケットを生成する。
(Composition 19)
In configuration 18, when the second processing means determines in the fourth step that the single packet stored in the first reception buffer is included in the encoded packet received in the first step, the first generate a third encoded packet from the encoded packet received in step a.
(構成20)
構成18または構成19において、第2の処理手段は、第4のステップにおいて、第1のステップにおいて受信された符号化パケットから第1の受信バッファに格納された単体パケットの情報を除去した後の符号化パケットが1個の単体パケットを含むとき、更に、1個の単体パケットを含む符号化パケットを第1の受信バッファから消去し、
第1の処理手段は、第3のステップにおいて、1個の単体パケットを含む符号化パケットを単体パケットに変換し、その変換した単体パケットに対して受信処理を実行する。
(Composition 20)
In configuration 18 or configuration 19, the second processing means removes, in the fourth step, the information of the single packet stored in the first reception buffer from the encoded packet received in the first step. when the encoded packet includes one simplex packet, further deleting the encoded packet including the single simplex packet from the first receive buffer;
In the third step, the first processing means converts an encoded packet including one single packet into a single packet, and performs reception processing on the converted single packet.
(構成21)
更に、この発明の実施の形態によれば、記録媒体は、構成12から構成20のいずれかに記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
(Composition 21)
Further, according to the embodiment of the present invention, the recording medium is a computer-readable recording medium recording the program according to any one of
バーストを構成する複数のパケットを低遅延で送信できる。 Multiple packets that make up a burst can be transmitted with low delay.
本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰返さない。 An embodiment of the present invention will be described in detail with reference to the drawings. The same or corresponding parts in the drawings are denoted by the same reference numerals, and the description thereof will not be repeated.
図1は、この発明の実施の形態による無線通信システムの概略図である。図1を参照して、この発明の実施の形態による無線通信システム10は、送信機1と受信機2とを備える。送信機1および受信機2は、無線通信空間に配置される。
FIG. 1 is a schematic diagram of a wireless communication system according to an embodiment of the invention. Referring to FIG. 1,
アプリケーション20は、例えば、カメラによって画像を撮影し、その撮影した画像の画像データをペイロードに含むパケットPKTを送信機1へ伝送する。
The
送信機1は、パケットPKTをアプリケーション20から受信する。そして、送信機1は、後述する方法によって、パケットPKTをリアルタイムトラフィックを構成するパケットとして無線通信によって受信機2へ送信する。
The
受信機2は、送信機1からのパケットPKTを無線通信によって受信し、その受信したパケットPKTに対して後述する受信処理を実行する。そして、受信機2は、受信処理を行ったパケットPKTをアプリケーション30へ伝送する。アプリケーション30は、受信機2からパケットPKTを受信し、その受信したパケットPKTに含まれる画像データを再生して表示部に表示する。
The
無線通信システム10は、次の特徴を有する。無線通信システム10は、到達確認を用いた効率的な再送ができないシステムであり、例えば、無線通信によるブロードキャストまたはマルチキャストを行う。また、無線通信システム10は、複数経路を用いるシステムである。更に、無線通信システム10は、高い信頼性を必要とするリアルタイム通信(例えば、映像伝送等)を行うものである。
The
図2は、図1に示す送信機1の概略図である。図2を参照して、送信機1は、バッファ11と、処理手段12と、送信手段13と、アンテナ14とを備える。
FIG. 2 is a schematic diagram of the
バッファ11は、アプリケーション20から到着した複数のパケットPKT_N(1)~PKT_N(V)を格納する。複数のパケットPKT_N(1)~PKT_N(V)の各々は、アプリケーション20によって生成された生(Native)のパケットからなる。また、Vは、整数からなる。
処理手段12は、タイマーを内蔵している。そして、処理手段12は、パケットが到着したか否かを判定する。そして、処理手段12は、パケットが到着したと判定したとき、到着したパケットPKT_N(v)(vは、1~Vの整数)のコピーをバッファ11に格納し、元のパケットPKT_N(v)を送信手段13へ出力する。また、処理手段12は、パケットが到着したと判定したとき、複数のパケットがバッファ11に格納されていれば、複数のパケットをバッファ11から取り出し、その取り出した複数のパケットに基づいて後述する方法によって符号化パケットPKT_Cを含む送信用パケットPKT_TRを生成し、その生成した送信用パケットPKT_TRを送信手段13へ出力する。なお、処理手段12は、タイマーを参照して、パケットPKT_N(v)または送信用パケットPKT_TRを送信手段13へ出力する。
The processing means 12 incorporates a timer. Then, the processing means 12 determines whether or not the packet has arrived. Then, when the processing means 12 determines that a packet has arrived, the processing means 12 stores a copy of the arrived packet PKT_N(v) (v is an integer from 1 to V) in the
送信手段13は、1個のパケットPKT_N(v)または送信用パケットPKT_TRを処理手段12から受けると、その受けた1個のパケットPKT_N(v)または送信用パケットPKT_TRを無線通信によってアンテナ14を介して受信機2へ送信する。
Upon receiving one packet PKT_N(v) or transmission packet PKT_TR from the processing means 12, the transmission means 13 transmits the received one packet PKT_N(v) or transmission packet PKT_TR via the
図3は、図1に示す受信機2の概略図である。図3を参照して、受信機2は、アンテナ21と、受信手段22と、処理手段23と、Nバッファ24と、Cバッファ25とを備える。
FIG. 3 is a schematic diagram of the
受信手段22は、アンテナ21を介してパケットPKT(パケットPKT_N(v)または送信用パケットPKT_TR)を受信し、その受信したパケットPKT(パケットPKT_N(v)または送信用パケットPKT_TR)を処理手段23へ出力する。
Receiving means 22 receives a packet PKT (packet PKT_N(v) or transmission packet PKT_TR) via
処理手段23は、パケットPKT_N(v)を受信手段22から受けると、後述する方法によって、パケットPKT_N(v)に対してNパケット受信処理を実行する。この場合、処理手段23は、Nパケット受信処理において、パケットPKT_N(v)が受信済でないとき、パケットPKT_N(v)をNバッファ24に格納する。そして、処理手段23は、Nバッファ24に格納された全てのパケットPKT_N(v)をアプリケーション30へ伝送する。
When the processing means 23 receives the packet PKT_N(v) from the receiving means 22, the processing means 23 performs N packet reception processing on the packet PKT_N(v) by a method described later. In this case, the processing means 23 stores the packet PKT_N(v) in the
一方、処理手段23は、送信用パケットPKT_TRを受信手段22から受けると、送信用パケットPKT_TRが符号化パケットPKT_Cと単体パケットPKT_Nとを含むとき、符号化パケットPKT_Cと単体パケットPKT_Nとを分離する分離処理を実行する。そして、処理手段23は、その分離した単体パケットPKT_Nに対してNパケット受信処理を実行する。また、処理手段23は、Nバッファ24に格納済の単体パケットPKT_N(即ち、受信済の単体パケットPKT_N)の情報を符号化パケットPKT_Cから除去する除去処理を実行し、その除去処理後の符号化パケットPKT_C’が複数の単体パケットPKT_Nを含むとき、符号化パケットPKT_C’をCバッファ25に格納する。その後、処理手段23は、Cバッファ25に格納された符号化パケットPKT_C’に対して後述する復号処理を実行する。この場合、処理手段23は、復号処理において復号された単体パケットPKT_Nに対してNパケット受信処理を実行する。
On the other hand, when receiving the transmission packet PKT_TR from the reception means 22, the processing means 23 separates the encoded packet PKT_C and the single packet PKT_N from the encoded packet PKT_C and the single packet PKT_N when the transmission packet PKT_TR includes the encoded packet PKT_C and the single packet PKT_N. Execute the process. Then, the processing means 23 performs the N-packet reception process on the separated single packet PKT_N. In addition, the processing means 23 executes a removal process for removing the information of the single packet PKT_N stored in the N buffer 24 (that is, the received single packet PKT_N) from the encoded packet PKT_C, and performs the encoding after the removal process. When the packet PKT_C' includes a plurality of single packets PKT_N, the encoded packet PKT_C' is stored in the
処理手段23は、送信用パケットPKT_TRが符号化パケットPKT_Cのみを含むとき、上述した分離処理を実行せずに、上述した除去処理および復号処理を順次実行する。 When the transmission packet PKT_TR includes only the encoded packet PKT_C, the processing means 23 sequentially performs the removal processing and the decoding processing described above without performing the separation processing described above.
図4は、画像の送信を示す概念図である。図4を参照して、リアルタイム動画伝送の場合の特徴を説明する。Iピクチャは、前後のピクチャの差分を用いない圧縮画像からなり、サイズが大きい。Pピクチャは、前のピクチャとの差分を伝送するため、サイズが小さい。 FIG. 4 is a conceptual diagram showing image transmission. With reference to FIG. 4, features in the case of real-time moving image transmission will be described. An I picture consists of a compressed image that does not use the difference between pictures before and after it, and is large in size. P-pictures are small in size because they carry the difference from the previous picture.
IピクチャおよびPピクチャは、周期的に送信される。そして、周期的な送信の際の送信パケット数は、異なり、バースト的に一度にパケットを送信する場合もある。また、Iピクチャは、IPPPIPPPIPのように周期的に生成されて送信される。 I-pictures and P-pictures are transmitted periodically. The number of packets to be transmitted during periodic transmission is different, and packets may be transmitted at once in bursts. Also, I pictures are generated and transmitted periodically like IPPPIPPPIP.
Iピクチャを伝送する際にバーストが発生し、バーストのサイズは、一定でない。また、バーストを構成するパケットは、一度に到着せずに逐次到着する。 Bursts occur when transmitting I-pictures, and the size of the bursts is not constant. Packets forming a burst do not arrive all at once, but sequentially.
更に、図4に示すPピクチャ、Pピクチャ、Pピクチャ、Iピクチャ、Pピクチャ、Pピクチャ、Pピクチャ、IピクチャおよびPピクチャにおいて、Pピクチャをペイロードに含むパケットおよびIピクチャをペイロードに含むパケットがアプリケーション20から送信機1に到着する時間間隔は、Tinterval_1であり、Iピクチャをペイロードに含む複数のパケットがアプリケーション20から連続して送信機1に到着する時間間隔は、Tinterval_1よりも短いTinterval_2である。
Furthermore, among the P pictures, P pictures, P pictures, I pictures, P pictures, P pictures, P pictures, I pictures, and P pictures shown in FIG. The time interval between the arrival at the
図5は、パケットのフォーマットを示す概略図である。図5を参照して、パケットPKTは、ヘッダと、ペイロードとを含む。ヘッダは、送信先のIPアドレスを含む。 FIG. 5 is a schematic diagram showing the format of a packet. Referring to FIG. 5, packet PKT includes a header and a payload. The header contains the IP address of the destination.
ペイロードは、Packet Infoと、領域REG1と、Coded Infoと、領域REG2とを含む。領域REG1は、1個のパケットPKT_Nのペイロードを含む。領域REG2は、N個のパケットPKT_N(1)~PKT_N(N)を符号化した符号化パケットPKT_Cを含む。領域REG1の長さは、Lpであり、領域REG2の長さは、L1~Lnの最大値である。Lpは、1個のパケットPKT_Nのデータ長であり、L1~Lnは、それぞれ、パケットPKT_N(1)~PKT_N(N)のデータ長である。 The payload includes Packet Info, region REG1, Coded Info, and region REG2. Region REG1 contains the payload of one packet PKT_N. Region REG2 includes an encoded packet PKT_C that encodes N packets PKT_N(1) to PKT_N(N). The length of the region REG1 is Lp, and the length of the region REG2 is the maximum value of L1 to Ln. L p is the data length of one packet PKT_N, and L 1 to L n are the data lengths of packets PKT_N(1) to PKT_N(N), respectively.
Packet Infoは、識別子N/Cと、シーケンス番号SNと、データ長Lpとを含む。識別子N/Cは、領域REG1に含まれるパケットが単体のパケットPKT_Nであるか符号化パケットPKT_Cであるかを識別する識別子であり、“N”または“C”からなる。“N”は、単体のパケットPKT_Nであることを表し、“C”は、符号化パケットPKT_Cであることを表す。シーケンス番号SNは、領域REG1に含まれるパケットの送信機1への到着順序を表す。データ長Lpは、領域REG1の長さを表す。
Packet Info includes identifier N/C, sequence number SN, and data length Lp . The identifier N/C is an identifier for identifying whether a packet included in the region REG1 is a single packet PKT_N or an encoded packet PKT_C, and consists of "N" or "C". "N" represents a single packet PKT_N, and "C" represents an encoded packet PKT_C. The sequence number SN represents the order of arrival at the
Coded Infoは、識別子N/Cと、Num coded(N)と、Packet Info 1~Packet Info Nとを含む。識別子N/Cは、領域REG2に含まれるパケットが単体のパケットPKT_Nであるか符号化パケットPKT_Cであるかを識別する識別子であり、“N”または“C”からなる。Num coded(N)は、領域REG2に含まれる符号化パケットPKT_Cを構成するパケットPKT_Nの個数を表す。
Coded Info includes an identifier N/C, Num coded(N), and
Packet Info 1は、シーケンス番号SNと、データ長L1と、符号C1とを含む。以下、同様にして、Packet Info Nは、シーケンス番号SNと、データ長LNと、符号CNとを含む。
Packet Info 1において、シーケンス番号SNは、符号化パケットPKT_Cを構成するパケットPKT_N(1)の送信機1への到着順序を表し、データ長L1は、符号化パケットPKT_Cを構成するパケットPKT_N(1)のデータ長であり、符号C1は、N個のパケットPKT_N(1)~PKT_N(N)を符号化したときのパケットPKT_N(1)の係数である。
In
以下、同様にして、Packet Info Nにおいて、シーケンス番号SNは、符号化パケットPKT_Cを構成するパケットPKT_N(N)の送信機1への到着順序を表し、データ長LNは、符号化パケットPKT_Cを構成するパケットPKT_N(N)のデータ長であり、符号CNは、N個のパケットPKT_N(1)~PKT_N(N)を符号化したときのパケットPKT_N(N)の係数である。
Similarly, in Packet Info N, the sequence number SN represents the order in which the packets PKT_N(N) that make up the encoded packet PKT_C arrive at the
1個のパケットPKT_Nは、ペイロードがPacket Infoと領域REG1とを含む構成からなる。 One packet PKT_N has a structure in which the payload includes Packet Info and region REG1.
バースト的に一度に送信するためのパケットがMBurst(MBurstは、2≦MBurst<Vを満たす整数である。)個のパケットPKT_N(1)~PKT_N(MBurst)からなるとすると、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの最初に送信機1に到着したパケットPKT_N(1)以外の(MBurst-1)個のパケットPKT_N(2)~PKT_N(MBurst)から選択されたa(aは、1以上の整数である。)個の所定のパケットPKT_N(m)の各々が送信機1に到着すると、所定のパケットPKT_N(m)よりも早く送信機1に到着したパケットPKT_N(1)~PKT_N(m-1)を符号化して符号化パケットPKT_C1を生成し、その生成した符号化パケットPKT_C1を所定のパケットPKT_N(m)に付与した結合パケットPKT_N/PKT_C1を送信用パケットPKT_TRとして生成することになる。
Assuming that a packet to be transmitted at once in a burst consists of M Burst (M Burst is an integer that satisfies 2≦M Burst <V) packets PKT_N(1) to PKT_N(M Burst ), M Burst (M Burst −1) packets PKT_N(2) to PKT_N(M Burst ) other than the packet PKT_N(1) that first arrived at the
従って、結合パケットPKT_N/PKT_C1は、ペイロードが[Packet Info/PKT_Nのデータ/Coded Info/PKT_N(1)のデータ~PKT_N(m-1)のデータ]を含む構成からなる。 Therefore, the combined packet PKT_N/PKT_C1 has a payload including [Packet Info/Data of PKT_N/Coded Info/Data of PKT_N(1) to Data of PKT_N(m−1)].
また、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)が連続して送信機1に到着したとき、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)を符号化した符号化パケットPKT_C2を送信用パケットPKT_TRとして生成することになる。
Further, when M Burst packets PKT_N(1) to PKT_N(M Burst ) arrive at the
従って、符号化パケットPKT_C2は、ペイロードが[Coded Info/PKT_N(1)のデータ~PKT_N(MBurst)のデータ]を含む構成からなる。 Therefore, the encoded packet PKT_C2 has a payload including [Coded Info/PKT_N(1) data to PKT_N(M Burst ) data].
図6は、図2に示すバッファ11の概略図である。なお、図6は、バースト的に一度に送信するためのパケットの個数MBurstよりもバッファ11のサイズが大きい場合についてバッファ11の概略図を示す。
FIG. 6 is a schematic diagram of the
図6を参照して、バッファ11は、例えば、リングバッファからなる。そして、バッファ11は、シーケンス番号SNが小さい順(即ち、古い順)にMBurst個のパケットPKT_N(1)~PKT_N(MBurst)を格納する。パケットPKT_N(MBurst)は、現在時刻においてバッファ11に格納されたパケットであり、パケットPKT_N(1)~パケットPKT_N(MBurst-1)は、過去にバッファ11に格納されたパケットである。
Referring to FIG. 6,
また、バッファ11は、パケット数が最大数を超えると、古いパケットから順に上書きする構成からなる。その結果、バッファ11は、常に、最大数のパケットを格納できる。
Also, the
パケットPKT_N(1),PKT_N(2),・・・,PKT_N(MBurst)が格納されたMBurst個の領域には、それぞれ、パケットPKT_N(1)のシーケンス番号SN1およびデータ長L1、パケットPKT_N(2)のシーケンス番号SN2およびデータ長L2、・・・、パケットPKT_N(MBurst)のシーケンス番号SNMBurstおよびデータ長LMBurstも格納される。 Sequence number SN 1 and data length L 1 of packet PKT_N (1), Sequence number SN 2 and data length L 2 of packet PKT_N (2) , .
即ち、アプリケーション20から送信機1に到着したパケットPKT_N(PKT_N(1)~PKT_N(MBurst)のいずれか)がペイロードを構成し、バッファ11の各領域には、[SN/Lp/ペイロード/パディング(全て“0”)]が格納される。なお、パディング(全て“0”)は、[SN/Lp/ペイロード]の長さが最大長にならない場合に追加される。
That is, the packet PKT_N (one of PKT_N(1) to PKT_N(M Burst )) arriving at the
図7は、パケットを符号化する方法を説明するための図である。図7においては、パケットXi(iは、1,2,3,・・・)と符号化パケットYi-1とを符号化する方法を説明する。 FIG. 7 is a diagram for explaining a method of encoding packets. In FIG. 7, a method of encoding packet X i (i is 1, 2, 3, . . . ) and encoded packet Y i−1 will be described.
図7を参照して、パケットXiは、Liバイトのデータ長を有するので、パケットXiは、Li×8/n個の成分Xi,1,Xi,2,Xi,3,Xi,4,・・・,Xi,Li×8/nと、“0”からなるパディングとを含む。成分Xi,1,Xi,2,Xi,3,Xi,4,・・・,Xi,Li×8/nの各々は、n(nは、正の整数である。)ビットの長さを有する。符号Ciは、ガロア体GF(2n)上のnビット長の乱数からなる。ここで、nは、例えば、8からなる。 Referring to FIG. 7, since packet X i has a data length of L i bytes, packet X i has L i ×8/n components X i,1 , X i,2 , X i,3 , X i ,4 , . Each of the components X i ,1 , X i,2 , X i,3 , X i,4 , . has a length of The code C i consists of n-bit long random numbers over the Galois field GF(2 n ). Here, n consists of 8, for example.
符号化パケットYi-1は、成分Yi-1,1,Yi-1,2,Yi-1,3,Yi-1,4,・・・,Yi-1,Li×8/n,Yi-1,Max×8/nからなる。成分Yi-1,1,Yi-1,2,Yi-1,3,Yi-1,4,・・・,Yi-1,Li×8/n,Yi-1,Max×8/nの各々は、nビットの長さを有する。 Encoded packet Y i-1 has components Y i-1,1 , Y i-1,2 , Y i-1,3 , Y i - 1,4 , . /n , Y i−1 , Max×8/n . Components Y i-1,1 ,Y i-1,2 ,Y i-1,3 ,Y i-1,4 ,...,Y i-1,Li×8/n ,Y i-1,Max Each x8 /n has a length of n bits.
符号Ciを成分Xi,1,Xi,2,Xi,3,Xi,4,・・・,Xi,Li×8/nの各々に乗算して乗算結果Ci・Xi,1,Ci・Xi,2,Ci・Xi,3,Ci・Xi,4,・・・,Ci・Xi,Li×8/nを生成する。この場合、符号Ciと、成分Xi,1,Xi,2,Xi,3,Xi,4,・・・,Xi,Li×8/nの各々との乗算は、ガロア体GF(2n)上の乗算として実行される。 By multiplying each of the components Xi ,1 , Xi ,2 , Xi ,3 , Xi ,4 , . . . , Xi , Li×8/n by the code Ci , , 1 , C i ·X i,2 , C i ·X i ,3 , C i ·X i ,4 , . In this case, the multiplication of the code C i by each of the components X i ,1 , X i,2 , X i,3 , X i,4 , . It is implemented as a multiplication over GF(2 n ).
その後、乗算結果Ci・Xi,1と成分Yi-1,1との排他的論理和を演算して成分Yi,1を生成し、乗算結果Ci・Xi,2と成分Yi-1,2との排他的論理和を演算して成分Yi,2を生成し、乗算結果Ci・Xi,3と成分Yi-1,3との排他的論理和を演算して成分Yi,3を生成し、乗算結果Ci・Xi,4と成分Yi-1,4との排他的論理和を演算して成分Yi,4を生成し、以下、同様にして、乗算結果Ci・Xi,Li×8/nと成分Yi-1,Li×8/nとの排他的論理和を演算して成分Yi,Li×8/nを生成し、更に、“0”からなるパディングと成分Yi-1,Max×8/nとの排他的論理和を演算して成分Yi,Max×8/nを生成する。これによって、符号化パケットYi=[Yi,1,Yi,2,Yi,3,Yi,4,・・・,Yi,Li×8/n,・・・,Yi,Max×8/n]が生成される。 After that, the exclusive OR of the multiplication result C i ·X i,1 and the component Y i−1,1 is performed to generate the component Y i,1 , and the multiplication result C i ·X i,2 and the component Y i−1,2 to generate the component Y i,2 , and the exclusive OR of the multiplication result C i ·X i,3 and the component Y i−1,3 to generate the component Y i,3 , and the exclusive OR of the multiplication result C i ·X i,4 and the component Y i−1,4 to generate the component Y i,4 , and so on. and calculating the exclusive OR of the multiplication result C i · X i, Li × 8/n and the component Y i−1, Li × 8/n to generate the component Y i, Li × 8/n , Further, the exclusive OR of the padding of "0" and the component Yi -1,Max.times.8 /n is performed to generate the component Y.sub.i ,Max.times.8/n . Thus, the encoded packet Yi =[Yi ,1 ,Yi ,2 ,Yi ,3 ,Yi ,4 ,..., Yi,Li*8/n ,...,Yi , Max×8/n ] is generated.
図8は、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)を送信するときの符号化パケットの生成方法を説明する図である。 FIG. 8 is a diagram illustrating a method of generating encoded packets when transmitting M Burst packets PKT_N(1) to PKT_N(M Burst ).
図8においては、パケットP3,P5,P7,P9が送信機1に到着したタイミングで符号化パケットを受信機2へ送信すると判定するものとする。
In FIG. 8, it is determined that the encoded packets are to be transmitted to the
図8の(a)を参照して、バーストを構成するMBurst個のパケットPKT_N(1)~PKT_N(MBurst)は、パケットP1~P6からなる。そして、バッファ11に格納できるパケットの最大数は、6個である。即ち、バーストを構成するパケットの個数MBurstは、バッファ11のサイズMBuffer以下である。
Referring to (a) of FIG. 8, M Burst packets PKT_N(1) to PKT_N(M Burst ) forming a burst are composed of packets P 1 to P 6 . The maximum number of packets that can be stored in the
送信機1の処理手段12は、パケットP1が送信機1に到着すると、パケットP1をバッファ11にコピーする(図8の(a)(i)参照)。そして、処理手段12は、バッファ11からパケットP1を取り出し、その取り出したパケットP1を図7において説明した方法によって符号化して符号化パケットC1を生成する。 When the packet P1 arrives at the transmitter 1 , the processing means 12 of the transmitter 1 copies the packet P1 to the buffer 11 (see (a) and (i) in FIG. 8). Then, the processing means 12 extracts the packet P1 from the buffer 11 and encodes the extracted packet P1 by the method described in FIG. 7 to generate the encoded packet C1.
より具体的には、処理手段12は、nビット長の“0”からなる符号化パケットY0={000・・・0}を生成し、ガロア体GF(2n)上のnビット長の乱数からなる符号C1を生成する。そして、処理手段12は、パケットX1(=P1)と符号化パケットY0={000・・・0}と符号C1とに基づいて、図7において説明した方法によって、符号化パケットY1(=C1)を生成する。 More specifically, the processing means 12 generates an encoded packet Y 0 = {000 . Generate a code C1 consisting of random numbers. Then, the processing means 12 converts the encoded packet Y by the method described in FIG. 7 based on the packet X 1 (=P 1 ), the encoded packet Y 0 ={000 . 1 (=C 1 ) is generated.
その後、処理手段12は、パケットP2が送信機1に到着すると、パケットP2をバッファ11にコピーする(図8の(a)(ii)参照)。そして、処理手段12は、バッファ11からパケットP2を取り出す。そして、処理手段12は、ガロア体GF(2n)上のnビット長の乱数からなる符号C2を生成する。そうすると、処理手段12は、パケットX2(=P2)と符号化パケットY1と符号C2とに基づいて、図7において説明した方法によって、符号化パケットY2(=C2)を生成する。
Thereafter, when packet P2 arrives at transmitter 1 , processing means 12 copies packet P2 to buffer 11 (see FIG . 8(a)(ii)). The processing means 12 then retrieves the packet P2 from the
以下、同様にして、パケットP3~P6が送信機1に到着したタイミングで、それぞれ、符号化パケットY3~Y6(=C3~C6)を順次生成する(図8の(a)(iii)~(vi)参照)。この場合、パケットP6が送信機1に到着し、パケットP6をバッファ11にコピーした段階で、バッファ11は、最大数MBufferのパケットを格納する。
Similarly, encoded packets Y 3 to Y 6 (=C 3 to C 6 ) are sequentially generated at the timing when the packets P 3 to P 6 arrive at the transmitter 1 ((a ) (iii) to (vi)). In this case, when the packet P6 arrives at the transmitter 1 and is copied to the buffer 11 , the
処理手段12は、パケットP3が送信機1に到着すると、パケットP3をバッファ11にコピーし(図8の(a)(iii)参照)、符号化パケットを送信すると判定する。そして、処理手段12は、パケットP2が送信機1に到着したタイミングで生成した符号化パケットY2(=C2)をパケットP3に付与して結合パケットP3/C2を生成し、その生成した結合パケットP3/C2を送信手段13へ出力して結合パケットP3/C2を受信機2へ送信する。なお、結合パケットP3/C2によって情報を送信することは、Piggybackによる情報の送信である。
When the packet P3 arrives at the transmitter 1 , the processing means 12 copies the packet P3 to the buffer 11 (see (a)( iii ) in FIG. 8) and determines to transmit the encoded packet. Then, the processing means 12 adds the encoded packet Y 2 (=C 2 ) generated at the timing when the packet P 2 arrives at the
また、処理手段12は、パケットP5が送信機1に到着すると、パケットP5をバッファ11にコピーし(図8の(a)(v)参照)、符号化パケットを送信すると判定する。そして、処理手段12は、パケットP4が送信機1に到着したタイミングで生成した符号化パケットY4(=C4)をパケットP5に付与して結合パケットP5/C4を生成し、その生成した結合パケットP5/C4を送信手段13へ出力して結合パケットP5/C4を受信機2へ送信する。
Further, when the packet P5 arrives at the transmitter 1 , the processing means 12 copies the packet P5 to the buffer 11 (see (a) and (v) in FIG. 8) and determines to transmit the encoded packet. Then, the processing means 12 adds the encoded packet Y 4 (=C 4 ) generated at the timing when the packet P 4 arrives at the
そして、処理手段12は、パケットP6が送信機1に到着し、符号化パケットY6(=C6)を生成した後、後述する方法によって、パケットP6がバーストを構成するパケットP1~P6のうちの最後のパケットP6であると判定した後、未送信の符号化パケットY6(=C6)を送信手段13へ出力して符号化パケットY6(=C6)を単独で受信機2へ送信する。
Then, after the packet P 6 arrives at the
また、処理手段12は、バッファ11からパケットP1~P6を取り出し、その取り出したパケットP1~P6を符号化して符号化パケットY7(=C7)を生成する。そして、処理手段12は、符号化パケットY7(=C7)を送信手段13へ出力して符号化パケットY7(=C7)を単独で受信機2へ送信する。
Further, the processing means 12 retrieves the packets P 1 to P 6 from the
このように、処理手段12は、バーストを構成するパケットの個数MBurstがバッファ11のサイズMBuffer以下であるとき、バーストを構成する全てのパケットP1~P6を含む符号化パケットY7(=C7)を生成して受信機2へ送信する。
In this way, when the number of packets M Burst constituting a burst is equal to or smaller than the size M Buffer of the
図8の(b)を参照して、バーストを構成するMBurst個のパケットPKT_N(1)~PKT_N(MBurst)は、パケットP1~P10からなる。そして、バッファ11に格納できるパケットの最大数は、6個である。即ち、バーストを構成するパケットの個数MBurstは、バッファ11のサイズMBufferよりも大きい。
Referring to FIG. 8(b), M Burst packets PKT_N(1) to PKT_N(M Burst ) forming a burst are composed of packets P 1 to P 10 . The maximum number of packets that can be stored in the
処理手段12は、パケットP1~P6が送信機1に到着したとき、図8の(a)において説明した処理を実行する(図8の(b)(i),(ii)参照)。
When the packets P 1 to P 6 arrive at the
そして、処理手段12は、パケットP7が送信機1に到着すると、パケットP7をバッファ11にコピーする(図8の(b)(iii)参照)。その結果、パケットP6が送信機1に到着した段階でバッファ11に格納されていたパケットP1~P6は、それぞれ、パケットP2~P7によって上書きされる。
Then, when the packet P7 arrives at the transmitter 1 , the processing means 12 copies the packet P7 to the buffer 11 (see (b)(iii) in FIG. 8). As a result, the packets P 1 to P 6 stored in the
処理手段12は、パケットP7をバッファ11にコピーした後、バッファ11からパケットP7を取り出す。そして、処理手段12は、ガロア体GF(2n)上のnビット長の乱数からなる符号C7を生成する。そうすると、処理手段12は、パケットX7(=P7)と符号化パケットY6と符号C7とに基づいて、図7において説明した方法によって、符号化パケットY7(=C7)を生成する。
The processing means 12 retrieves the packet P7 from the buffer 11 after copying the packet P7 to the
その後、処理手段12は、パケットP8~P10が送信機1に到着したタイミングで、同様にして、それぞれ、符号化パケットY8(=C8)~Y10(=C10)を生成する(図8の(b)(iv)~(vi)参照)。
After that, the processing means 12 similarly generates the encoded packets Y 8 (=C 8 ) to Y 10 (=C 10 ) at the timing when the packets P 8 to P 10 arrive at the
そして、パケットP10をバッファ11にコピーした段階で、バッファ11は、パケットP5~P10を格納する。
After packet P 10 is copied to buffer 11,
処理手段12は、パケットP10が送信機1に到着し、符号化パケットY10(=C10)を生成した後、後述する方法によって、パケットP10がバーストを構成するパケットP1~P10のうちの最後のパケットP10であると判定した後、未送信の符号化パケットY10(=C10)を送信手段13へ出力して符号化パケットY10(=C10)を単独で受信機2へ送信する。
After the packet P 10 arrives at the
また、処理手段12は、バッファ11からパケットP5~P10を取り出し、その取り出したパケットP5~P10を符号化して符号化パケットY11(=C11)を生成する。そして、処理手段12は、符号化パケットY11(=C11)を送信手段13へ出力して符号化パケットY11(=C11)を単独で受信機2へ送信する。
Further, the processing means 12 retrieves the packets P 5 to P 10 from the
このように、処理手段12は、バーストを構成するパケットの個数MBurstがバッファ11のサイズMBufferよりも大きいとき、バーストを構成するパケットP1~P10のうちのパケットP5~P10を含む符号化パケットY11(=C11)を生成して受信機2へ送信する。
Thus, when the number M Burst of packets forming a burst is larger than the size M Buffer of the
図8において説明したように、単独で送信される符号化パケットは、バーストを構成するパケットの個数MBurstとバッファ11のサイズMBufferとの大小関係によって異なるパケットを含む。
As described with reference to FIG. 8, coded packets that are transmitted singly include packets that differ depending on the magnitude relationship between the number M Burst of packets forming a burst and the size M Buffer of the
なお、処理手段12は、バーストを構成するMBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの最後のパケットPKT_N(MBurst)がバッファ11に到着したか否かを次の方法によって判定する。
Note that the processing means 12 determines whether or not the last packet PKT_N (M Burst ) of the M Burst packets PKT_N(1) to PKT_N(M Burst ) constituting the burst has arrived at the
MBurst個のパケットPKT_N(1)~PKT_N(MBurst)は、連続してバッファ11に到着するので、シーケンス番号SNが連続する2個のパケットPKT_N(m),PKT_N(m+1)について、1個のパケットPKT_N(m)がバッファ11に到着してから1個のパケットPKT_N(m+1)がバッファ11に到着するまでの標準経過時間である経過時間TSTANDARDを予め固定値に決定し、その決定した固定値からなる経過時間TSTANDARDを処理手段12に設定しておく。
M Burst packets PKT_N(1) to PKT_N(M Burst ) arrive at the
処理手段12は、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの1個のパケットPKT_N(m’)が到着してからの経過時間tELPが経過時間tSTANDARDよりも長くなってもパケットPKT_Nがバッファ11に到着しないとき、パケットPKT_N(m’)がMBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの最後のパケットPKT_N(MBurst)であると判定し、MBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの最後のパケットPKT_N(MBurst)がバッファ11に到着したと判定する。
The processing means 12 determines that the elapsed time t ELP from the arrival of one packet PKT_N(m′) out of the M Burst packets PKT_N(1) to PKT_N(M Burst ) is longer than the elapsed time t STANDARD . When the packet PKT_N does not arrive at the
また、アプリケーション20がMBurst個のパケットPKT_N(1)~PKT_N(MBurst)のうちの最後のパケットPKT_N(MBurst)に、最後のパケットであることを示すフラグFGを設定しておき、処理手段12がアプリケーション20からパケットPKT_Nを受信する毎にパケットPKT_NにフラグFGが設定されているか否かを判定し、パケットPKT_NにフラグFGが設定されていると判定したとき、フラグFGが設定されているパケットPKT_Nを最後のパケットPKT_N(MBurst)であると判定するようにしてもよい。
Further, the
図9は、バーストを構成するパケットの送信方法を説明するための図である。図9においては、バーストを構成するMBurst個のパケットPKT_N(1)~PKT_N(MBurst)がパケットP1~P6である場合において、バーストを構成するMBurst個のパケットPKT_N(1)~PKT_N(MBurst)の送信方法を説明する。この場合、処理手段12は、例えば、パケットP3,P5のいずれかが送信機1に到着したタイミングで符号化パケットを送信すると判定し、パケットP1,P2,P4,P6のいずれかが送信機1に到着したタイミングでは符号化パケットを送信しないと判定するものとする。また、パケットP1,P3が送信先へ送信できなかったものとする。
FIG. 9 is a diagram for explaining a method of transmitting packets forming a burst. In FIG. 9 , when M Burst packets PKT_N( 1 ) to PKT_N(M Burst ) forming a burst are packets P1 to P6, M Burst packets PKT_N(1) to PKT_N(1) to PKT_N(M Burst) forming a burst A method for transmitting PKT_N(M Burst ) will be described. In this case, the processing means 12, for example, determines to transmit the encoded packet at the timing when one of the packets P3 and P5 arrives at the transmitter 1 , and the packets P1 , P2, P4 and P6 Assume that it is determined not to transmit the encoded packet at the timing when one of them arrives at the
図9を参照して、パケットP1~P6は、バースト的に一度に送信するパケットを構成する。 Referring to FIG. 9, packets P 1 to P 6 constitute packets transmitted in bursts at one time.
処理手段12は、パケットP1が送信機1に到着すると、タイマーによって経過時間tELP_1の計測を開始するとともに、パケットP1をバッファ11にコピーし、パケットP1がパケットP3,P5以外のパケットであるので(即ち、パケットP1がm=1であるパケットPKT_N(1)であるので)、符号化パケットを送信しないと判定する。そして、処理手段12は、元のパケットP1を送信手段13へ出力してパケットP1を受信機2へ送信する。その後、処理手段12は、バッファ11からパケットP1を取り出し、その取り出したパケットP1を上述した方法によって符号化して符号化パケットC1を生成する。符号化パケットC1は、次式によって表される。 When the packet P1 arrives at the transmitter 1 , the processing means 12 starts measuring the elapsed time t ELP_1 with a timer, copies the packet P1 to the buffer 11 , and copies the packet P1 to the buffer 11 . (that is, packet PKT_N( 1 ) with m=1), it is determined not to transmit the encoded packet. The processing means 12 then outputs the original packet P1 to the transmitting means 13 and transmits the packet P1 to the receiver 2 . Thereafter, the processing means 12 retrieves the packet P1 from the buffer 11 and encodes the retrieved packet P1 by the method described above to generate the encoded packet C1 . Encoded packet C1 is represented by the following equation.
引き続いて、処理手段12は、パケットP2が送信機1に到着すると、経過時間tELP_1の計測を終了し、パケットP2が到着してからの経過時間tELP_2の計測を開始する。そして、処理手段12は、パケットP2をバッファ11にコピーし、パケットP2がパケットP3,P5以外のパケットであるので(即ち、パケットP2がm=2であるパケットPKT_N(2)であるので)、符号化パケットを送信しないと判定する。そして、処理手段12は、元のパケットP2を送信手段13へ出力してパケットP2を受信機2へ送信する。その後、処理手段12は、パケットP1,P2をバッファ11から取り出し、その取り出したパケットP1,P2を上述した方法によって符号化して符号化パケットC2を生成する。符号化パケットC2は、次式によって表される。
Subsequently, when the packet P2 arrives at the transmitter 1 , the processing means 12 finishes measuring the elapsed time t ELP_1 and starts measuring the elapsed time t ELP_2 after the arrival of the packet P2. Then, the processing means 12 copies the packet P2 to the buffer 11 , and since the packet P2 is a packet other than the packets P3 and P5 ( that is, the packet PKT_N( 2 ) where m= 2 ). ), it is determined not to transmit the encoded packet. The processing means 12 then outputs the original packet P2 to the transmitting means 13 and transmits the packet P2 to the receiver 2 . After that, the processing means 12 retrieves the packets P 1 and P 2 from the
引き続いて、処理手段12は、パケットP3が送信機1に到着すると、経過時間tELP_2の計測を終了し、パケットP3が到着してからの経過時間tELP_3の計測を開始する。そして、処理手段12は、パケットP3をバッファ11にコピーし、パケットP3がパケットP3,P5のいずれかに該当するパケットであるので(即ち、パケットP3がm=3であるパケットPKT_N(3)であるので)、符号化パケットを送信すると判定する。そうすると、処理手段12は、パケットP2が送信機1に到着したタイミングで生成した符号化パケットC2を元のパケットP3に付与して結合パケットP3/C2を生成し、その生成した結合パケットP3/C2を送信手段13へ出力して結合パケットP3/C2を受信機2へ送信する。その後、処理手段12は、パケットP1~P3をバッファ11から取り出し、その取り出したパケットP1~P3を上述した方法によって符号化して符号化パケットC3を生成する。符号化パケットC3は、次式によって表される。
Subsequently, when the packet P3 arrives at the
引き続いて、処理手段12は、パケットP4が送信機1に到着すると、経過時間tELP_3の計測を終了し、パケットP4が到着してからの経過時間tELP_4の計測を開始する。そして、処理手段12は、パケットP4をバッファ11にコピーし、パケットP4がパケットP3,P5以外のパケットであるので(即ち、パケットP4がm=4であるパケットPKT_N(4)であるので)、符号化パケットを送信しないと判定する。そうすると、処理手段12は、元のパケットP4を送信手段13へ出力してパケットP4を受信機2へ送信する。そして、処理手段12は、パケットP1~P4をバッファ11から取り出し、その取り出したパケットP1~P4を上述した方法によって符号化して符号化パケットC4を生成する。符号化パケットC4は、次式によって表される。
Subsequently, when the packet P4 arrives at the
その後、パケットP5が送信機1に到着すると、処理手段12は、経過時間tELP_4の計測を終了し、パケットP5が到着してからの経過時間tELP_5の計測を開始する。そして、処理手段12は、パケットP5をバッファ11にコピーし、パケットP5がパケットP3,P5のいずれかに該当するパケットであるので(即ち、パケットP5がm=5であるパケットPKT_N(5)であるので)、符号化パケットを送信すると判定する。そうすると、処理手段12は、パケットP4が送信機1に到着したタイミングで生成した符号化パケットC4を元のパケットP5に付与して結合パケットP5/C4を生成し、その生成した結合パケットP5/C4を送信手段13へ出力して結合パケットP5/C4を受信機2へ送信する。その後、処理手段12は、パケットP1~P5をバッファ11から取り出し、その取り出したパケットP1~P5を上述した方法によって符号化して符号化パケットC5を生成する。符号化パケットC5は、次式によって表される。
After that, when packet P5 arrives at the
引き続いて、処理手段12は、パケットP6が送信機1に到着すると、経過時間tELP_5の計測を終了し、パケットP6が到着してからの経過時間tELP_6の計測を開始する。そして、処理手段12は、パケットP6をバッファ11にコピーし、パケットP6がパケットP3,P5以外のパケットであるので(即ち、パケットP6がm=6であるパケットPKT_N(6)であるので)、符号化パケットを送信しないと判定する。そうすると、処理手段12は、元のパケットP6を送信手段13へ出力してパケットP6を受信機2へ送信する。その後、処理手段12は、パケットP1~P6をバッファ11から取り出し、その取り出したパケットP1~P6を上述した方法によって符号化して符号化パケットC6を生成する。符号化パケットC6は、次式によって表される。
Subsequently, when the packet P6 arrives at the
なお、符号化パケットC6をパケットP6に付与して受信機2へ送信しないのは、符号化パケットを単体パケットに付与して受信機2へ送信するタイミングがパケットP3,P5のいずれかがバッファ11に到着したタイミングであると決定されているので、パケットP6がバッファ11に到着したタイミングが符号化パケットを単体パケットに付与して受信機2へ送信するタイミングでないからである。
The reason why the encoded packet C6 is added to the packet P6 and not transmitted to the receiver 2 is that the timing at which the encoded packet is added to the single packet and transmitted to the receiver 2 is either packet P3 or P5 . This is because the timing at which the packet P6 arrives at the buffer 11 is not the timing at which the coded packet is attached to the single packet and transmitted to the
そして、処理手段12は、経過時間tELP_6が経過時間TSTANDARDよりも長くなってもパケットが送信機1に到着しないことを確認し、パケットP6がパケットP1~P6のうちの最後のパケットP6であると判定する。
Then, the processing means 12 confirms that no packets arrive at the
その後、処理手段12は、最後のパケットP6がバッファ11に到着した後、Tミリ秒が経過したか否かを判定する。ここで、Tは、T<T_interval_1を満たす時間であり、例えば、5ミリ秒である。
The processing means 12 then determine whether T milliseconds have elapsed since the last packet P 6 arrived in the
処理手段12は、最後のパケットP6がバッファ11に到着した後、Tミリ秒が経過したと判定したとき、符号化パケットC6を送信手段13へ出力して符号化パケットC6を受信機2へ送信する。
When the processing means 12 determines that T milliseconds have elapsed since the last packet P6 arrived at the
そして、処理手段12は、符号化パケットの送信数がK個であるか否かを判定する。Kは、例えば、3である。また、Kは、バッファ11に格納されるパケット数に応じて変更されてもよい。この場合、Kは、K=A+B/Mによって決定される。Mは、バッファ11に格納されるパケット数であり、A,Bは、定数である。そして、A,B,Mの各々は、整数である。K=A+B/Mによれば、バッファ11に格納されるパケット数Mが多くなれば、Kは、小さくなり、バッファ11に格納されるパケット数Mが少なくなれば、Kは、大きくなる。従って、符号化パケットの送信数KをK=A+B/Mによって決定することによって、バッファ11に格納されるパケット数Mが第1の個数であるとき、符号化パケットの送信数Kを第1の送信数に設定し、バッファ11に格納されるパケット数Mが第1の個数よりも多い第2の個数であるとき、符号化パケットの送信数Kを第1の送信数よりも少ない第2の送信数に設定する。つまり、バッファ11に格納されるパケット数Mが少なくなれば、より多くの符号化パケットを送信することになる。
Then, the processing means 12 determines whether or not the number of transmitted encoded packets is K. K is 3, for example. Also, K may be changed according to the number of packets stored in the
処理手段12は、符号化パケットの送信数がK個でないと判定したとき、バッファ11に格納されたパケットP1~P6を取り出し、その取り出したパケットP1~P6を上述した方法によって符号化して符号化パケットC7を生成する。符号化パケットC7は、次式によって表される。
When the processing means 12 determines that the number of transmitted encoded packets is not K, the processing means 12 extracts the packets P 1 to P 6 stored in the
そして、処理手段12は、符号化パケットC7を送信手段13へ出力して符号化パケットC7を受信機2へ送信する。
Then, the processing means 12 outputs the encoded packet C 7 to the transmission means 13 and transmits the encoded packet C 7 to the
その後、処理手段12は、符号化パケットの送信数がK個(=3個)でないと判定する。そして、処理手段12は、バッファ11に格納されたパケットP1~P6を取り出し、その取り出したパケットP1~P6を上述した方法によって符号化して符号化パケットC8を生成する。符号化パケットC8は、次式によって表される。
After that, the processing means 12 determines that the number of transmitted encoded packets is not K (=3). Then, the processing means 12 retrieves the packets P 1 to P 6 stored in the
このように、処理手段12は、符号化パケットを単体で送信するとき、バッファ11に格納されている全てのパケットP1~P6を用いて符号化パケットC6~C8を生成する。
In this way, the processing means 12 uses all the packets P 1 to P 6 stored in the
引き続いて、処理手段12は、符号化パケットの送信数がK個(=3個)であると判定し、バッファ11をクリアする。
Subsequently, the processing means 12 determines that the number of transmitted encoded packets is K (=3), and clears the
式(6)~(8)に示すように、符号化パケットC6,C7,C8は、同じパケットP1~P6を含み、係数Ciのみが異なる符号化パケットである。係数Ciは、ガロア体GF(2n)上のnビット長の乱数からなるので、例えば、式(6)における係数a62,a64が零であることもある。この場合、符号化パケットC6は、実質的に、パケットP1,P3,P5,P6を含むことになる。符号化パケットC7,C8についても同様である。 As shown in equations (6)-(8), encoded packets C 6 , C 7 , and C 8 are encoded packets that include the same packets P 1 -P 6 and differ only in coefficient C i . Since the coefficients C i consist of n-bit long random numbers on the Galois field GF(2 n ), for example, the coefficients a 62 and a 64 in equation (6) may be zero. In this case, encoded packet C 6 will substantially include packets P 1 , P 3 , P 5 and P 6 . The same applies to encoded packets C7 and C8 .
受信機2は、送信機1から送信されたパケットP1の受信に失敗し、送信機1から送信されたパケットP2を受信する。また、受信機2は、送信機1から送信された結合パケットP3/C2の受信に失敗し、送信機1から送信されたパケットP4、結合パケットP5/C4、パケットP6および符号化パケットC6,C7,C8を順次受信する。
受信機2は、パケットP1,P3および符号化パケットC1を受信できなかったので、受信できなったパケットP1,P3を符号化パケットC4,C6から復号するために、符号化パケットC4,C6から受信済のパケットP2,P4の情報を除去する。
Since the
より具体的には、受信機2は、次式によって、符号化パケットC4から受信済のパケットP2,P4の情報を除去する。
More specifically, the
また、受信機2は、次式によって、符号化パケットC6から受信済のパケットP2,P4,P5,P6の情報を除去する。
Also, the
その結果、符号化パケットC4から受信済のパケットP2,P4の情報を除去した後の符号化パケットC4’および符号化パケットC6から受信済のパケットP2,P4,P5,P6の情報を除去した後の符号化パケットC6’は、共に、パケットP1,P3を含む。 As a result, the received packets P 2 , P 4 and P 5 from the encoded packet C 4 ′ and the encoded packet C 6 after removing the information of the received packets P 2 and P 4 from the encoded packet C 4 , P 6 together contain packets P 1 and P 3 .
そして、式(9)の左辺は、符号化パケットC4とパケットP2との排他的論理和を演算し、その排他的論理和の演算結果とパケットP4との排他的論理和を演算することによって得られる。また、式(10)の左辺は、符号化パケットC6とパケットP2との排他的論理和を演算し、その排他的論理和の演算結果とパケットP4との排他的論理和を演算し、その排他的論理和の演算結果とパケットP5との排他的論理和を演算し、その排他的論理和の演算結果とパケットP6との排他的論理和を演算することによって得られる。従って、受信機2は、式(9)および式(10)の左辺の値を取得できる。
Then, the left side of equation (9) computes the exclusive OR of the encoded packet C4 and the packet P2, and computes the exclusive OR of the result of the exclusive OR operation and the packet P4 . obtained by Also, the left side of equation ( 10 ) computes the exclusive OR of the encoded packet C6 and the packet P2, and computes the exclusive OR of the result of the exclusive OR operation and the packet P4 . , and the exclusive OR of the result of the exclusive OR operation with the packet P5 , and the exclusive OR operation of the result of the exclusive OR operation with the packet P6 . Therefore, the
また、式(9)の符号a41,a43は、符号化パケットC4の“Coded Infoに含まれており、式(10)の符号a61,a63は、符号化パケットC6の“Coded Infoに含まれているので(図5参照)、既知である。 Also, the codes a 41 and a 43 in Equation (9) are included in “Coded Info” of encoded packet C 4 , and the codes a 61 and a 63 in Equation (10) are included in “Coded Info” of encoded packet C 6 . It is known because it is included in the Coded Info (see FIG. 5).
従って、受信機2は、式(9)および式(10)の連立方程式を解くことによって、受信できなかったパケットP1,P3を復号できる。
Therefore,
また、受信機2は、同様にして、符号化パケットC6~C8から任意に選択した2つの符号化パケットに基づいて、受信できなかったパケットP1,P3を復号できる。
Similarly,
このように、受信機2が受信できなかったパケットが2個のパケットP1,P3である場合、送信機1は、受信機2が受信できなかったパケットの個数(=2個)以上の符号化パケットを送信することによって、受信できなかった2個のパケットP1,P3を復号できる。
In this way, when the packets that the
受信機2が結合パケットP3/C2に代えて結合パケットP5/C2を受信できなかった場合について、上記の方法によって、受信できなかった2個のパケットを復号できることを説明する。この場合、受信機2は、2個のパケットP1,P5を受信できなかったことになる。
In the case where the
そこで、受信機2は、符号化パケットC2から受信済のパケットP2の情報を除去した後の符号化パケットC2’と、符号化パケットC6から受信済のパケットP2,P3,P4,P6の情報を除去した後の符号化パケットC6”とを次式によって算出する。
Therefore, the
従って、受信機2は、式(11A),(11B)の連立方程式を解くことによって、受信できなかった2個のパケットP1,P5を復号できる。
Therefore, the
符号化パケットC2,C4がそれぞれ付与されるパケットP3,P5以外のパケットP1,P2,P4を受信機2へ送信できなくても、受信機2は、3個の符号化パケットC6,C7,C8を受信できる。
Even if the packets P 1 , P 2 and P 4 other than the packets P 3 and P 5 to which the encoded packets C 2 and C 4 are added, respectively, cannot be transmitted to the
そこで、受信機2は、符号化パケットC6から受信済のパケットP3,P5の情報を除去した後の符号化パケットC6
(3)と、符号化パケットC7から受信済のパケットP3,P5の情報を除去した後の符号化パケットC7
(3)と、符号化パケットC8から受信済のパケットP3,P5の情報を除去した後の符号化パケットC8
(3)とを算出する。その結果、次式が得られる。
Therefore, the
受信機2は、式(12A),(12B),(12C)の連立方程式を解くことによってパケットP1,P2,P4を復号できる。
なお、受信機2は、符号化パケットから受信済のパケットの情報を除去した後の符号化パケットCが1個のパケットのみを含むとき、次式によって符号化パケットCを1個のパケットPKT_Nに変換する。
Note that when the encoded packet C after removing the information of the received packet from the encoded packet contains only one packet, the
この場合、受信機2は、受信済のパケットの情報を除去した符号化パケットCを式(13)の“Y”に代入し、受信済のパケットの情報を除去した符号化パケットCのいずれかに含まれる1個の符号Cを式(13)の“C”に代入する。なお、式(13)の演算は、ガロア体GF(2n)上の演算である。
In this case, the
図10は、バーストを構成するパケットの別の送信方法を説明するための図である。図10を参照して、処理手段12は、図9において説明したように、パケットP1~P6をそれぞれバッファ11にコピーする毎に、それぞれ、符号化パケットC1~C6を生成する。 FIG. 10 is a diagram for explaining another method of transmitting packets forming a burst. Referring to FIG. 10, processing means 12 generates encoded packets C 1 -C 6 each time packets P 1 -P 6 are copied to buffer 11, respectively, as explained in FIG.
処理手段12は、パケットP2が送信機1に到着すると、パケットP2をバッファ11にコピーし、符号化パケットC1をパケットP2に付与して結合パケットP2/C1を生成し、その生成した結合パケットP2/C1を送信手段13へ出力して結合パケットP2/C1を受信機2へ送信する。
the processing means 12 , when the packet P2 arrives at the transmitter 1 , copies the packet P2 to the buffer 11 and appends the encoded packet C1 to the packet P2 to generate a combined packet P2 / C1; The generated combined packet P 2 /C 1 is output to the transmission means 13 to transmit the combined packet P 2 /C 1 to the
その後、処理手段12は、符号化パケットC2を生成し、パケットP3が送信機1に到着すると、パケットP3をバッファ11にコピーし、符号化パケットC2をパケットP3に付与して結合パケットP3/C2を生成し、その生成した結合パケットP3/C2を送信手段13へ出力して結合パケットP3/C2を受信機2へ送信する。
Thereafter, the processing means 12 generates the encoded packet C2 , and when the packet P3 arrives at the transmitter 1 , copies the packet P3 to the
更に、処理手段12は、符号化パケットC3を生成し、パケットP4が送信機1に到着すると、パケットP4をバッファ11にコピーし、符号化パケットC3をパケットP4に付与して結合パケットP4/C3を生成し、その生成した結合パケットP4/C3を送信手段13へ出力して結合パケットP4/C3を受信機2へ送信する。
Further, the processing means 12 generates an encoded packet C3 , and when the packet P4 arrives at the transmitter 1 , copies the packet P4 to the buffer 11 , attaches the encoded packet C3 to the packet P4 , and A combined packet P 4 /C 3 is generated, and the generated combined packet P 4 /C 3 is output to the transmitting means 13 to transmit the combined packet P 4 /C 3 to the
更に、処理手段12は、符号化パケットC4を生成し、パケットP5が送信機1に到着すると、パケットP5をバッファ11にコピーし、符号化パケットC4をパケットP5に付与して結合パケットP5/C4を生成し、その生成した結合パケットP5/C4を送信手段13へ出力して結合パケットP5/C4を受信機2へ送信する。
Further, the processing means 12 generates an encoded packet C4 , and when the packet P5 arrives at the transmitter 1 , copies the packet P5 to the buffer 11 , attaches the encoded packet C4 to the packet P5, and A combined packet P 5 /C 4 is generated, and the generated combined packet P 5 /C 4 is output to the transmitting means 13 to transmit the combined packet P 5 /C 4 to the
更に、処理手段12は、符号化パケットC5を生成し、パケットP6が送信機1に到着すると、パケットP6をバッファ11にコピーし、符号化パケットC5をパケットP6に付与して結合パケットP6/C5を生成し、その生成した結合パケットP6/C5を送信手段13へ出力して結合パケットP6/C5を受信機2へ送信する。なお、符号化パケットC5は、パケットP1~P5を含むが(式(5)参照)、バーストを構成するパケットP1~P6のうちの最後に送信機1に到着したパケットP6に符号化パケットCを付与して結合パケットを生成する場合、符号化パケットCは、バッファ11に格納された全てのパケットP1~P6を含む。従って、結合パケットP6/C5における符号化パケットC5は、上記の式(5)ではなく、図10に示すようにパケットP1~P6の全てを含む。
Further, the processing means 12 generates an encoded packet C5, and when the packet P6 arrives at the transmitter 1 , copies the packet P6 to the buffer 11 , attaches the encoded packet C5 to the packet P6 , and A combined packet P 6 /C 5 is generated, and the generated combined packet P 6 /C 5 is output to the transmitting means 13 to transmit the combined packet P 6 /C 5 to the
このように、Piggybackによる符号化パケットの送信は、バーストを構成するパケットP1~P6のうちのパケットP2~P6の各々において実行されてもよい。 In this way, transmission of encoded packets by Piggyback may be performed in each of the packets P 2 to P 6 among the packets P 1 to P 6 forming the burst.
結合パケットP6/C5を受信機2へ送信した後、処理手段12は、図9において説明したように、符号化パケットC6~C8をそれぞれ単独で受信機2へ送信する。
After transmitting the combined packet P 6 /C 5 to the
図11は、バーストを構成するパケットの更に別の送信方法を説明するための図である。 FIG. 11 is a diagram for explaining still another transmission method of packets forming a burst.
図11を参照して、処理手段12は、図9において説明したように、パケットP1~P6をそれぞれバッファ11にコピーする毎に、それぞれ、符号化パケットC1~C6を生成する。 Referring to FIG. 11, processing means 12 generates encoded packets C 1 to C 6 each time packets P 1 to P 6 are copied to buffer 11, respectively, as explained in FIG.
処理手段12は、パケットP2~P5がそれぞれ送信機1に到着したタイミングでは、それぞれ符号化パケットC1~C4をパケットP2~P5に付与せずに、パケットP2~P5をそれぞれ単独で受信機2へ送信する。
At the timing when the packets P 2 to P 5 respectively arrive at the
そして、処理手段12は、パケットP6が送信機1に到着すると、符号化パケットC5をパケットP6に付与して結合パケットP6/C5を生成し、その生成した結合パケットP6/C5を送信手段13へ出力して結合パケットP6/C5を受信機2へ送信する。この場合も、符号化パケットP5は、上記の式(5)ではなく、図11に示すようにパケットP1~P6の全てを含む。
Then, when packet P6 arrives at transmitter 1 , processing means 12 adds encoded packet C5 to packet P6 to generate combined packet P6 /C5, and generates combined packet P6 / C5 . C 5 is output to the transmitting means 13 to transmit the combined packet P 6 /C 5 to the
このように、Piggybackによる符号化パケットの送信は、バーストを構成するパケットP1~P6のうちの最後のパケットP6のみにおいて実行されてもよい。 In this way, transmission of encoded packets by Piggyback may be performed only in the last packet P 6 of the packets P 1 to P 6 forming the burst.
結合パケットP6/C5を受信機2へ送信した後、処理手段12は、図9において説明したように、符号化パケットC6~C8をそれぞれ単独で受信機2へ送信する。
After transmitting the combined packet P 6 /C 5 to the
図9から図11において説明したように、この発明の実施の形態においては、結合パケットによる符号化パケットの送信(即ち、Piggybackによる符号化パケットの送信)は、バーストを構成するパケットP1~P6のうち、パケットP2~P6から選択された1個以上のパケットがそれぞれ送信機1に到着したタイミングで実行されればよい。
As described with reference to FIGS. 9 to 11, in the embodiment of the present invention, transmission of encoded packets by combined packets (that is, transmission of encoded packets by Piggyback) consists of packets P 1 to P composing a burst. 6 , it may be executed at the timing when one or more packets selected from packets P 2 to P 6 each arrive at the
図12は、図1および図2に示す送信機1の動作を説明するためのフローチャートである。
FIG. 12 is a flow chart for explaining the operation of
図12を参照して、送信機1の動作が開始されると、処理手段12は、シーケンス番号SNをSN=0に設定する(ステップS1)。そして、処理手段12は、パケットがバッファ11に到着したか否かを判定する(ステップS2)。
Referring to FIG. 12, when
ステップS2において、パケットPKT_Nがバッファ11に到着したと判定されたとき、処理手段12は、SN=SN+1を設定し(ステップS3)、シーケンス番号SNとパケット長LとをパケットPKT_Nに追加し、シーケンス番号SN、パケット長LおよびパケットPKT_Nをバッファ11にコピーする(ステップS4)。なお、ステップS3が実行されることによって、バッファ11(即ち、送信機1)に到着した順番を示すシーケンス番号SNがパケットPKT_Nおよびパケット長Lと共にバッファ11に格納される。
When it is determined in step S2 that packet PKT_N has arrived at
その後、処理手段12は、符号化パケットCを送信するか否かを判定する(ステップS5)。図9から図12において説明したように、結合パケットによる符号化パケットの送信(即ち、Piggybackによる符号化パケットの送信)は、バーストを構成するパケットP1~P6のうち、パケットP2~P6から選択された1個以上のパケットがそれぞれ送信機1に到着したタイミングで実行されるので、結合パケットによる符号化パケットの送信(即ち、Piggybackによる符号化パケットの送信)を実行するパケットPPiggybackを予め決定しておき、その決定したパケットPPiggybackがバッファ11(即ち、送信機1)に到着すると、処理手段12は、符号化パケットCを送信すると判定し、パケットPPiggyback以外のパケットがバッファ11(即ち、送信機1)に到着すると、符号化パケットCを送信しないと判定する。
After that, the processing means 12 determines whether or not to transmit the encoded packet C (step S5). As described with reference to FIGS. 9 to 12, transmission of encoded packets by combined packets (that is, transmission of encoded packets by Piggyback) is performed by transmitting packets P 2 to P out of packets P 1 to P 6 forming a burst. 6 are executed at the timing when one or more packets selected from 6 respectively arrive at the
ステップS5において、符号化パケットCを送信すると判定されたとき、符号化パケットをNパケットPKT_Nに付与し(ステップS6)、結合パケットを生成する。 When it is determined in step S5 that the encoded packet C is to be transmitted, the encoded packet is attached to the N packet PKT_N (step S6) to generate a combined packet.
そして、ステップS5において、符号化パケットCを送信しないと判定されたとき、またはステップS6の後、処理手段12は、パケットを送信手段13へ出力し、送信手段13は、処理手段12からのパケットをアンテナ14を介して受信機2へ送信する(ステップS7)。
Then, in step S5, when it is determined not to transmit the encoded packet C, or after step S6, the processing means 12 outputs the packet to the transmission means 13, and the transmission means 13 receives the packet from the processing means 12. is transmitted to the
その後、処理手段12は、上述した方法によって、バッファ11に格納されたパケットから符号化パケットCを生成する(ステップS8)。
After that, the processing means 12 generates an encoded packet C from the packets stored in the
そして、一連の動作は、ステップS2へ移行する。 Then, the series of operations moves to step S2.
一方、ステップS2において、パケットがバッファ11に到着しなかったと判定されたとき、処理手段12は、最後のパケットがバッファ11に到着してからTミリ秒が経過したか否かを判定する(ステップS9)。
On the other hand, when it is determined in step S2 that no packet has arrived at the
ステップS9において、最後のパケットがバッファ11に到着してからTミリ秒が経過したと判定されたとき、処理手段12は、符号化パケットCを送信手段13へ出力し、送信手段13は、処理手段12から受けた符号化パケットCをアンテナ14を介して受信機2へ送信する(ステップS10)。
In step S9, when it is determined that T milliseconds have passed since the last packet arrived at the
その後、処理手段12は、符号化パケットCの送信数がKであるか否かを判定する(ステップS11)。 After that, the processing means 12 determines whether or not the number of transmissions of the encoded packet C is K (step S11).
ステップS11において、符号化パケットCの送信数がKでないと判定されたとき、処理手段12は、バッファ11に格納されたパケットから符号化パケットCを生成する(ステップS12)。その後、一連の動作は、ステップS10へ移行し、ステップS11において、符号化パケットCの送信数がKであると判定されるまで、ステップS10~ステップS12が繰り返し実行される。 When it is determined in step S11 that the number of transmitted encoded packets C is not K, the processing means 12 generates encoded packets C from the packets stored in the buffer 11 (step S12). After that, the series of operations proceeds to step S10, and steps S10 to S12 are repeatedly executed until it is determined that the number of transmitted encoded packets C is K in step S11.
そして、ステップS11において、符号化パケットCの送信数がKであると判定されると、処理手段12は、バッファ11をクリアする(ステップS13)。その後、一連の動作は、ステップS2へ移行する。また、ステップS9において、最後のパケットがバッファ11に到着してからTミリ秒が経過していないと判定されたとき、一連の動作は、ステップS2へ移行する。
Then, when it is determined in step S11 that the number of transmitted encoded packets C is K, the processing means 12 clears the buffer 11 (step S13). After that, the series of operations moves to step S2. Further, when it is determined in step S9 that T milliseconds have not elapsed since the last packet arrived at the
図13は、図12に示すステップS8の詳細な動作を説明するためのフローチャートである。 FIG. 13 is a flow chart for explaining the detailed operation of step S8 shown in FIG.
図13を参照して、図12のステップS7の後、処理手段12は、i=1を設定する(ステップS81)。ここで、iは、図12のステップS8が実行される時点においてバッファ11に格納された各パケットのシーケンス番号SNを示す引数である。そして、i=1は、バッファ11に格納されたパケットのうち、最も古いパケットを表す。
Referring to FIG. 13, after step S7 in FIG. 12, processing means 12 sets i=1 (step S81). Here, i is an argument indicating the sequence number SN of each packet stored in the
ステップS81の後、処理手段12は、nビットの長さを有する“000・・・0”からなる符号化パケットY0={000・・・0}を生成する(ステップS82)。 After step S81, the processing means 12 generates an encoded packet Y 0 ={000...0} consisting of "000...0" having a length of n bits (step S82).
そして、処理手段12は、バッファ11からパケットXiを取得する(ステップS83)。 Then, the processing means 12 acquires the packet Xi from the buffer 11 (step S83).
その後、処理手段12は、ガロア体(GF(2n))によってnビット長の乱数を生成し、その生成したnビット長の乱数をCiに格納する(ステップS84)。 After that, the processing means 12 generates an n-bit random number using the Galois field (GF(2 n )), and stores the generated n-bit random number in C i (step S84).
そうすると、処理手段12は、パケットXiの各要素Xi,1~Xi,Li×8/nにCiを掛け、Ci・XiとYi-1との排他的論理和を演算する。即ち、処理手段12は、次式によってYiを算出する(ステップS85)。 Then, the processing means 12 multiplies each element X i,1 to X i,Li×8/n of the packet X i by C i and calculates the exclusive OR of C i ·X i and Y i−1 do. That is, the processing means 12 calculates Yi by the following equation (step S85).
引き続いて、処理手段12は、パケットXiのシーケンス番号SNi、パケット長Liおよび符号CiをCoded infoに追加する(ステップS86)。 Subsequently, the processing means 12 adds the sequence number SN i , packet length L i and code C i of the packet X i to the coded info (step S86).
そして、処理手段12は、i=Iであるか否かを判定する(ステップS87)。ここで、Iは、図12のステップS8が実行される時点においてバッファ11に格納されたパケットのシーケンス番号SNの最大値を示す。
Then, the processing means 12 determines whether or not i=I (step S87). Here, I indicates the maximum value of sequence numbers SN of packets stored in the
ステップS87において、i=Iでないと判定されたとき、処理手段12は、i=i+1を設定する(ステップS88)。その後、一連の動作は、ステップS83へ移行し、ステップS87において、i=Iであると判定されるまで、ステップS83~ステップS88が繰り返し実行される。 When it is determined in step S87 that i is not equal to I, the processing means 12 sets i=i+1 (step S88). Thereafter, the series of operations proceeds to step S83, and steps S83 to S88 are repeatedly executed until it is determined that i=I in step S87.
そして、ステップS87において、i=Iであると判定されると、処理手段12は、YiとCoded infoとからなる符号化パケットを生成する(ステップS89)。 Then, when it is determined that i =I in step S87, the processing means 12 generates a coded packet consisting of Yi and coded info (step S89).
その後、一連の動作は、図12のステップS2へ移行する。 After that, the series of operations moves to step S2 in FIG.
なお、図12のステップS12の詳細な動作も、図13に示すフローチャートによって実行される。この場合、図12のステップS11において、符号化パケットの送信数がKでないと判定されたとき、ステップS81~ステップS89が順次実行され、ステップS89の後、一連の動作は、図12のステップS10へ移行する。 The detailed operation of step S12 in FIG. 12 is also executed according to the flowchart shown in FIG. In this case, when it is determined in step S11 of FIG. 12 that the number of transmissions of the encoded packets is not K, steps S81 to S89 are sequentially executed. to
送信機1は、駆動されている限り、図12に示すステップS1~ステップS13(図13に示すフローチャートを含む)を繰り返し実行する。
The
図12に示すフローチャート(図13に示すフローチャートを含む)においては、ステップS1が実行された後に、処理手段12は、ステップS2において、バーストを構成しないパケットPKT_N(1)(図4に示すPピクチャを示すパケット)がバッファ11に到着したと判定すると、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信しないと判定し、ステップS7において、パケットPKT_N(1)を送信手段13およびアンテナ14を介して受信機2へ送信する。
In the flowchart shown in FIG. 12 (including the flowchart shown in FIG. 13), after step S1 is executed, the processing means 12, in step S2, processes packets PKT_N(1) (P picture shown in FIG. 4) that do not constitute a burst. ) has arrived at the
その後、処理手段12は、ステップS8において、符号化パケットCを生成し、ステップS8の後、一連の動作は、ステップS2へ移行する。 After that, the processing means 12 generates an encoded packet C in step S8, and after step S8, the series of operations proceeds to step S2.
そして、処理手段12は、ステップS2において、バーストを構成しないパケットPKT_N(図4に示すPピクチャを示すパケット)がバッファ11に到着したと判定する毎に、ステップS3,S4、ステップS5の“NO”およびステップS7を順次実行して単体のパケットPKT_Nを受信機2へ送信し、ステップS8において、符号化パケットCを生成する。その後、一連の動作は、ステップS2へ移行する。
Each time the processing means 12 determines in step S2 that a packet PKT_N that does not constitute a burst (a packet indicating a P picture shown in FIG. 4) has arrived in the
なお、ステップS8において、バーストを構成しないパケットPKT_N(1)を符号化して符号化パケットを生成し、ステップS2において、パケットが到着しなかったと判定され、ステップS9において、最後のパケットがバッファ11に到着してからTミリ秒が経過したと判定された場合、符号化パケット(ほぼ、Nパケットからなる。)がK回送信されることになる(ステップS10~ステップS12参照)。 In step S8, the packet PKT_N(1) that does not constitute a burst is encoded to generate an encoded packet. In step S2, it is determined that the packet has not arrived. If it is determined that T milliseconds have passed since the arrival, the coded packet (consisting of approximately N packets) will be transmitted K times (see steps S10 to S12).
次に、バーストを構成するパケット(例えば、図9に示すパケットP1~P6のいずれか)がバッファ11に到着したときの送信機1の動作を説明する。
Next, the operation of the
処理手段12は、ステップS2において、パケットP1がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信しないと判定し、ステップS7において、パケットP1を送信手段13およびアンテナ14を介して受信機2へ送信する。
The processing means 12 determines in step S2 that the packet P1 has arrived in the buffer 11 , and after sequentially executing the steps S3 and S4 described above, determines in step S5 not to transmit the encoded packet C, and in step S7. , the packet P 1 is transmitted to the
そして、処理手段12は、ステップS8において、パケットP1を含む符号化パケットC1を生成し、その後、一連の動作は、ステップS2へ移行する。 Then, in step S8, the processing means 12 generates an encoded packet C1 including the packet P1, after which the series of operations proceeds to step S2.
その後、処理手段12は、ステップS2において、パケットP2がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信しないと判定し、ステップS7において、パケットP2を送信手段13およびアンテナ14を介して受信機2へ送信する。そして、処理手段12は、ステップS8において、パケットP1,P2を含む符号化パケットC2を生成する。その後、一連の動作は、ステップS2へ移行する。 Thereafter, the processing means 12 determines in step S2 that the packet P2 has arrived in the buffer 11 , and after sequentially executing the above-described steps S3 and S4, determines in step S5 not to transmit the encoded packet C, At step S7, the packet P2 is transmitted to the receiver 2 via the transmitting means 13 and the antenna . Then, at step S8, the processing means 12 generates an encoded packet C2 including the packets P1 and P2. After that, the series of operations moves to step S2.
引き続いて、処理手段12は、ステップS2において、パケットP3がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットC(=符号化パケットC1)を送信すると判定し、ステップS6において、符号化パケットC2をパケットP3に付与して結合パケットP3/C2を生成する。そして、処理手段12は、ステップS7において、送信手段13およびアンテナ14を介して結合パケットP3/C2を受信機2へ送信する。その後、処理手段12は、ステップS8において、パケットP1~P3を含む符号化パケットC3を生成する。そして、一連の動作は、ステップS2へ移行する。
Subsequently, in step S2, the processing means 12 determines that the packet P3 has arrived in the
処理手段12は、符号化パケットC3を生成した後、ステップS2において、パケットP4がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信しないと判定し、ステップS7において、パケットP4を送信手段13およびアンテナ14を介して受信機2へ送信する。そして、処理手段12は、ステップS8において、パケットP1~P4を含む符号化パケットC4を生成する。その後、一連の動作は、ステップS2へ移行する。
After generating the encoded packet C3 , the processing means 12 determines in step S2 that the packet P4 has arrived in the
処理手段12は、符号化パケットC4を生成した後、ステップS2において、パケットP5がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信すると判定し、ステップS6において、符号化パケットC4をパケットP5に付与して結合パケットP5/C4を生成する。そして、処理手段12は、ステップS7において、結合パケットP5/C4を送信手段13およびアンテナ14を介して受信機2へ送信する。
After generating the encoded packet C4 , the processing means 12 determines in step S2 that the packet P5 has arrived in the
その後、処理手段12は、ステップS8において、パケットP1~P5を含む符号化パケットC5を生成する。そして、一連の動作は、ステップS2へ移行する。 Thereafter, the processing means 12 generates an encoded packet C 5 containing packets P 1 to P 5 in step S8. Then, the series of operations moves to step S2.
処理手段12は、符号化パケットC5を生成した後、ステップS2において、パケットP6がバッファ11に到着したと判定し、上述したステップS3,S4を順次実行した後、ステップS5において符号化パケットCを送信しないと判定し、ステップS7において、パケットP6を送信手段13およびアンテナ14を介して受信機2へ送信する。そして、処理手段12は、ステップS8において、パケットP1~P6を含む符号化パケットC6を生成する。その後、一連の動作は、ステップS2へ移行する。
After generating the encoded packet C5, the processing means 12 determines in step S2 that the packet P6 has arrived in the buffer 11 , and after sequentially executing steps S3 and S4 described above, in step S5 C is determined not to be transmitted, and packet P6 is transmitted to receiver 2 via transmission means 13 and
引き続いて、処理手段12は、ステップS2において、パケットがバッファ11に到着しなかったと判定し、ステップS9において、最後のパケット(=パケットP6)がバッファ11に到着した後、Tミリ秒が経過したと判定し、ステップS10において、符号化パケットC6を送信手段13およびアンテナ14を介して受信機2へ送信する。そして、処理手段12は、ステップS11において、符号化パケットCの送信数がK(=3)でないと判定し、ステップS12において、バッファ11に格納されたパケットP1~P6からパケットP1~P6を含む符号化パケットC7を生成する。
Subsequently, the processing means 12 determines in step S2 that no packet has arrived in the buffer 11 , and in step S9 T milliseconds have passed since the last packet (=packet P6) arrived in the
その後、処理手段12は、ステップS10において、符号化パケットC7を送信手段13およびアンテナ14を介して受信機2へ送信する。
The processing means 12 then transmit the encoded packet C7 to the receiver 2 via the transmitting means 13 and the
引き続いて、処理手段12は、ステップS11において、符号化パケットCの送信数がK(=3)でないと判定し、ステップS12において、バッファ11に格納されたパケットP1~P6からパケットP1~P6を含む符号化パケットC8を生成する。 Subsequently, in step S11, the processing means 12 determines that the number of transmitted encoded packets C is not K (= 3 ). ~ P 6 to generate an encoded packet C 8 .
その後、処理手段12は、ステップS10において、符号化パケットC8を送信手段13およびアンテナ14を介して受信機2へ送信する。
The processing means 12 then transmit the encoded packet C 8 to the
そして、処理手段12は、ステップS11において、符号化パケットCの送信数がK(=3)であると判定し、ステップS13において、バッファ11をクリアする。
Then, the processing means 12 determines that the number of transmitted encoded packets C is K (=3) in step S11, and clears the
図12に示すフローチャートにおいては、ステップS11における符号化パケットの送信数は、ステップS10において送信された符号化パケットの個数であり、ステップS7において、結合パケットによって送信された符号化パケットの個数を含まない。 In the flowchart shown in FIG. 12, the number of encoded packets transmitted in step S11 is the number of encoded packets transmitted in step S10, and includes the number of encoded packets transmitted in step S7 as combined packets. do not have.
また、図8の(a)において説明したように、バーストを構成するパケットの個数MBurstがバッファ11のサイズMBuffer以下である場合、図12のステップS2においてパケットが到着しなかったと判定されたとき、パケットP1~P6がバッファ11に格納されているので、処理手段12は、ステップS12において、パケットP1~P6の全てを含む符号化パケットC7,C8を生成することができる。その結果、ステップS7において、符号化パケット(符号化パケットC1~C5の少なくとも1つ)を含む結合パケットまたは単体のパケット(図9のパケットP1,P2,P4,P6等)が受信機2によって受信できなくても、ステップS10において、受信機2が受信できなかったパケット(パケットP1~P6のうちの一部のパケット)の個数以上の個数の符号化パケット(符号化パケットC7,C8等)を受信機2へ送信するように“K”を決定することによって、受信機2が受信できなかったパケット(パケットP1~P6のうちの一部のパケット)を復号できる。
Also, as described in (a) of FIG. 8, when the number M Burst of packets forming a burst is equal to or smaller than the size M Buffer of the
更に、図8の(b)において説明したように、バーストを構成するパケットの個数MBurstがバッファ11のサイズMBufferよりも大きい場合、図10に示すように、パケットP2~P10がそれぞれ送信機1に到着したタイミングで、パケットP2~P10に、それぞれ、符号化パケットC1~C9を付与した結合パケットP2/C1,P3/C2,P4/C3,P5/C4,P6/C5,P7/C6,P8/C7,P9/C8,P10/C9を受信機2へ送信するようにすると、符号化パケットC1~C9は、次式によって表される。
Furthermore, as described in (b) of FIG. 8, when the number M Burst of packets forming a burst is larger than the size M Buffer of the
式(15)において、符号化パケットC6~C9に含まれるパケットの個数が6個であるのは、バッファ11に格納できるパケットの最大数MBufferが“6”であるので、パケットP7がバッファ11にコピーされると、パケットP1~P6がパケットP2~P7によって上書きされ、パケットP8がバッファ11にコピーされると、パケットP2~P7がパケットP3~P8によって上書きされ、パケットP9がバッファ11にコピーされると、パケットP3~P8がパケットP4~P9によって上書きされるからである。
In equation (15), the number of packets included in the encoded packets C 6 to C 9 is 6 because the maximum number of packets M Buffer that can be stored in the
そして、単体のパケットP1および結合パケットP2/C1,P3/C2,P4/C3,P5/C4,P6/C5,P7/C6,P8/C7,P9/C8,P10/C9は、図12のステップS7において送信される。 A single packet P1 and combined packets P2 / C1 , P3 / C2 , P4 /C3, P5 / C4 , P6 /C5, P7 /C6, P8 /C 7 , P 9 /C 8 , P 10 /C 9 are transmitted in step S7 of FIG.
単体のパケットP1および結合パケットP2/C1,P3/C2,P4/C3,P5/C4,P6/C5,P7/C6,P8/C7,P9/C8,P10/C9の個数(=10個)のうちの半分が受信機2によって受信できなかった場合、9個の結合パケットP2/C1,P3/C2,P4/C3,P5/C4,P6/C5,P7/C6,P8/C7,P9/C8,P10/C9のうち、少なくとも4個の結合パケットが受信機2によって受信できる。
Single packet P1 and combined packets P2 / C1 , P3 / C2 , P4 /C3, P5 / C4 , P6 /C5, P7 /C6, P8 / C7 , If half of the number (= 10 ) of P9/ C8 , P10/ C9 could not be received by the receiver 2 , the nine combined packets P2/C1 , P3 / C2 , at least four combined packets of P4 /C3, P5 / C4 , P6 /C5, P7 / C6 , P8 / C7 , P9 / C8 and P10 / C9 can be received by the
この場合、受信機2がパケットP1と、4個の結合パケットP2/C1,P3/C2,P4/C3,P5/C4とを受信でき、5個の結合パケットP6/C5,P7/C6,P8/C7,P9/C8,P10/C9を受信できなかったとすると、受信機2は、パケットP6~P10を受信できず、パケットP1~P5を受信できたことになる。
In this case,
しかし、送信機1は、図12のステップS10~S12を5回繰り返し実行することによって、パケットP5~P10を含む5個の符号化パケットC10~C14を受信機2へ送信できる。5個の符号化パケットC10~C14は、次式によって表される。
However, the
そして、受信機2は、例えば、式(16)から4個の符号化パケットC10~C13を選択し、4個の符号化パケットC10~C13から受信済のパケットP5の情報を除去して符号化パケットC10’,C11’,C12’,C13’を生成する。符号化パケットC10’,C11’,C12’,C13’の各々は、4個のパケットP6~P10を含むので、次式の連立方程式を解くことによってパケットP6~P10を復号できる。
Then, the
また、受信機2がパケットP1と、5個の結合パケットP6/C5,P7/C6,P8/C7,P9/C8,P10/C9とを受信でき、4個の結合パケットP2/C1,P3/C2,P4/C3,P5/C4を受信できなかったとすると、パケットP2~P5を受信できなかったことになる。 and receiver 2 can receive packet P1 and five combined packets P6 /C5, P7 / C6 , P8 / C7 , P9 / C8 , P10 / C9 , If the four combined packets P 2 /C 1 , P 3 /C 2 , P 4 /C 3 , P 5 /C 4 have not been received, packets P 2 -P 5 have not been received.
そうすると、受信できなかったパケットの個数が“4個”であるので、式(15)の符号化パケットC5~C9から4個の符号化パケットC6~C9を選択し、符号化パケットC6~C9から受信済のパケットP1,P6~P9の情報を除去し、受信済のパケットP1,P6~P9の情報を除去した符号化パケットC6’~C9’を示す連立方程式を解くことによってパケットP2~P5を復号できる。 Then, since the number of packets that could not be received is "4", four encoded packets C 6 to C 9 are selected from the encoded packets C 5 to C 9 of equation (15), and the encoded packets Encoded packets C 6 ′ to C 9 obtained by removing the information of the received packets P 1 and P 6 to P 9 from C 6 to C 9 and removing the information of the received packets P 1 and P 6 to P 9 The packets P 2 -P 5 can be decoded by solving the system of equations showing .
このように、バーストを構成するパケットの個数MBurstがバッファ11のサイズMBufferよりも大きい場合においても、受信機2が受信できなかったパケットを復号できる。
In this way, even when the number M Burst of packets forming a burst is larger than the size M Buffer of the
更に、図12に示すフローチャート(図13に示すフローチャートを含む)においては、送信機1は、バーストを構成するパケットP1~P6の各パケットが送信機1に到着する毎に、単体のパケットまたは結合パケット(符号化パケットを含む。)を受信機2へ送信するので、バーストを構成する複数のパケットP1~P6を低遅延で受信機2へ送信できる。
Furthermore, in the flowchart shown in FIG. 12 (including the flowchart shown in FIG. 13), the
送信機1は、バーストを構成するパケット(図9に示すパケットP1~P6の全て)を受信機2へ送信した後、バーストを構成しないパケットPKT_N(図4に示すPピクチャを示すパケット)がバッファ11に到着したと判定すると、上述した方法によって、バーストを構成しないパケットPKT_N(図4に示すPピクチャを示すパケット)を受信機2へ送信する。
このように、送信機1は、図12に示すフローチャート(図13に示すフローチャートを含む)に従って、バーストを構成しないパケットおよびバーストを構成するパケットを受信機2へ送信する。
Thus,
図14は、図1および図3に示す受信機2の動作を説明するためのフローチャートである。
FIG. 14 is a flowchart for explaining the operation of the
図14を参照して、受信機2の動作が開始されると、受信手段22は、アンテナ21を介してパケットを受信すると(ステップS21の“YES”)、その受信したパケットを処理手段23へ出力する。
Referring to FIG. 14, when the operation of
処理手段23は、パケットPKTを受信手段22から受け、その受けたパケットPKTがNパケットPKT_Nであるか否かを判定することによってNパケットPKT_Nを受信したか否かを判定する(ステップS22)。この場合、処理手段23は、パケットPKTのPacket infoの識別子N/Cが“N”からなり、かつ、パケットPKTがCoded infoおよび領域REG2を含んでいないとき、NパケットPKT_Nを受信したと判定し、パケットPKTのPacket infoの識別子N/Cが“C”からなるとき、またはパケットPKTのPacket infoの識別子N/Cが“N”からなり、かつ、Coded infoの識別子N/Cが“C”からなるとき、NパケットPKT_Nを受信しなかったと判定する。 The processing means 23 receives the packet PKT from the receiving means 22, and determines whether or not the received packet PKT is the N packet PKT_N, thereby determining whether or not the N packet PKT_N has been received (step S22). In this case, the processing means 23 determines that N packets PKT_N have been received when the identifier N/C of the packet info of the packet PKT consists of "N" and the packet PKT does not include the coded info and the region REG2. , when the identifier N/C of the packet info of the packet PKT consists of "C", or when the identifier N/C of the packet info of the packet PKT consists of "N" and the identifier N/C of the coded info consists of "C" , it is determined that N packets PKT_N have not been received.
ステップS22において、NパケットPKT_Nを受信しなかったと判定されたとき、処理手段23は、結合パケット(Piggybackによって送信されたパケット)を受信したか否かを判定する(ステップS23)。この場合、処理手段23は、パケットPKTのPacket infoの識別子N/Cが“N”からなり、かつ、パケットPKTのCoded infoの識別子N/Cが“C”からなるとき、結合パケットを受信したと判定し、パケットPKTのPacket infoの識別子N/Cが“C”からなるとき、結合パケットを受信しなかったと判定する。 When it is determined in step S22 that the N packet PKT_N has not been received, the processing means 23 determines whether or not the combined packet (packet transmitted by Piggyback) has been received (step S23). In this case, the processing means 23 receives the combined packet when the identifier N/C of the packet info of the packet PKT consists of "N" and the identifier N/C of the coded info of the packet PKT consists of "C". , and when the identifier N/C of the packet info of the packet PKT is "C", it is determined that the combined packet has not been received.
ステップS23において、結合パケットを受信したと判定されたとき、処理手段23は、NパケットとCパケット(=符号化パケット)とを分離する(ステップS24)。 When it is determined in step S23 that the combined packet has been received, the processing means 23 separates the N packet and the C packet (=encoded packet) (step S24).
その後、処理手段23は、NパケットPKT_Nが有るか否かを判定する(ステップS25)。 After that, the processing means 23 determines whether or not there are N packets PKT_N (step S25).
ステップS25において、NパケットPKTが有ると判定されたとき、またはステップS22において、NパケットPKT_Nを受信したと判定されたとき、処理手段23は、Nパケット受信処理を実行する(ステップS26)。 When it is determined in step S25 that there are N packets PKT, or when it is determined in step S22 that N packets PKT_N have been received, processing means 23 executes an N packet reception process (step S26).
その後、処理手段23は、Cパケット(=符号化パケット)が有るか否かを判定する(ステップS27)。 After that, the processing means 23 determines whether or not there is a C packet (=encoded packet) (step S27).
そして、ステップS23において、結合パケットを受信しなかったと判定されたとき、またはステップS25において、NパケットPKT_Nが無いと判定されたとき、またはステップS27において、Cパケット(=符号化パケット)が有ると判定されたとき、処理手段23は、Cパケット(=符号化パケット)から受信済のNパケットPKT_Nの情報を除去する(ステップS28)。 Then, when it is determined in step S23 that no combined packet has been received, or when it is determined in step S25 that there is no N packet PKT_N, or in step S27 when there is a C packet (=encoded packet). When determined, the processing means 23 removes the information of the received N-packet PKT_N from the C-packet (=encoded packet) (step S28).
引き続いて、処理手段23は、復号処理を実行する(ステップS29)。そして、処理手段23は、復号できたか否かを判定する(ステップS30)。 Subsequently, the processing means 23 executes decoding processing (step S29). Then, the processing means 23 determines whether or not the decryption is successful (step S30).
ステップS30において、復号できたと判定されたとき、ステップS30において、復号できなかったと判定されるまで、ステップS29,S30が繰り返し実行される。 Steps S29 and S30 are repeatedly executed until it is determined in step S30 that decoding has failed when it is determined in step S30 that decoding has failed.
そして、ステップS27において、Cパケット(=符号化パケット)が無いと判定されたとき、またはステップS30において、復号できなかったと判定されたとき、一連の動作は、ステップS21へ移行する。以後、受信機2は、駆動されている限り、ステップ21~ステップS30を繰り返し実行する。
Then, when it is determined in step S27 that there is no C packet (=encoded packet), or when it is determined in step S30 that decoding is not possible, the series of operations proceeds to step S21. Thereafter, the
なお、ステップS23において、結合パケットを受信しなかったと判定されたときに、一連の動作がステップS28へ移行するのは、受信機2によって受信されるパケットは、NパケットPKT_N、符号化パケットPKT_Cおよび結合パケットの3種類であり、ステップS22において、NパケットPKT_Nを受信しなかったと判定され、更に、ステップS23において、結合パケットを受信しなかったと判定されているので、受信機2が受信したパケットは、符号化パケットPKT_Cであるからである。
When it is determined in step S23 that the combined packet has not been received, the sequence of operations proceeds to step S28 because the packets received by the
図15は、図14に示すステップS26の詳細な動作を説明するためのフローチャートである。 FIG. 15 is a flow chart for explaining the detailed operation of step S26 shown in FIG.
図15を参照して、図14のステップS22において、NパケットPKT_Nを受信したと判定されたとき、または図14のステップS25において、NパケットPKT_Nが有ると判定されたとき、処理手段23は、受信したNパケットPKT_Nのシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)以下であるか否か、または受信したNパケットPKT_NがNバッファ24に格納済であるか否かを判定する(ステップS261)。 15, when it is determined that N packets PKT_N have been received in step S22 of FIG. 14, or when it is determined that there are N packets PKT_N in step S25 of FIG. Whether the sequence number SN rx of the received N packet PKT_N is less than or equal to the sequence number SN sent of the N packet PKT_N already received and transmitted to the application 30 (that is, the sequence number of the N packet stored in the N buffer 24) It is determined whether or not the received N packets PKT_N have been stored in the N buffer 24 (step S261).
ステップS261において、受信したNパケットPKT_Nのシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent以下であると判定されたとき、または受信したNパケットPKT_NがNバッファ24に格納済であると判定されたとき、処理手段23は、受信したNパケットPKT_Nを破棄する(ステップS262)。
In step S261, when it is determined that the sequence number SN rx of the received N-packet PKT_N has been received and is equal to or less than the sequence number SN sent of the N-packet PKT_N that has been transmitted to the
一方、ステップS261において、受信したNパケットPKT_Nのシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent以下でなく、かつ、受信したNパケットPKT_NがNバッファ24に格納済でないと判定されたとき、処理手段23は、受信したNパケットPKT_N(SNrx)をNバッファ24に格納する(ステップS263)。
On the other hand, in step S261, the sequence number SN rx of the received N packets PKT_N has been received and is not equal to or less than the sequence number SN sent of the N packets PKT_N that have been transmitted to the
そして、処理手段23は、i=1を設定し(ステップS264)、シーケンス番号SNsent+iを有するパケットPKT_NがNバッファ24に存在するか否かを判定する(ステップS265)。なお、iは、1,2,3,・・・の整数である。 Then, the processing means 23 sets i=1 (step S264), and determines whether or not the packet PKT_N having the sequence number SN sent +i exists in the N buffer 24 (step S265). Note that i is an integer of 1, 2, 3, . . .
ステップS265において、シーケンス番号SNsent+iを有するパケットPKT_NがNバッファ24に存在すると判定されたとき、処理手段23は、シーケンス番号SNsent+iを有するパケットPKT_Nをアプリケーション30へ伝送する(ステップS266)。そして、処理手段23は、i=i+1を設定する(ステップS267)。その後、一連の動作は、ステップS265へ移行し、ステップS265において、シーケンス番号SNsent+iを有するパケットPKT_NがNバッファ24に存在しないと判定されるまで、ステップS265~ステップS267が繰り返し実行される。
When it is determined in step S265 that the packet PKT_N with the sequence number SN sent +i exists in the
そして、ステップS265において、シーケンス番号SNsent+iを有するパケットPKT_NがNバッファ24に存在しないと判定されると、処理手段23は、SNsent=SNsent+i-1を設定する(ステップS268)。
Then, when it is determined in step S265 that the packet PKT_N having the sequence number SN sent +i does not exist in the
そして、ステップS262またはステップS268の後、一連の動作は、図14のステップS27へ移行する。 After step S262 or step S268, the series of operations proceeds to step S27 in FIG.
図15に示すステップS263~ステップS267は、新たに受信したNパケットPKT_NをNバッファ24に格納するとともにアプリケーション30に伝送するステップである。そして、i≧2であるときに、ステップS265においてシーケンス番号SNsent+iを有するパケットPKT_NがNバッファ24に存在しないと判定されると、ステップS268において、Nバッファ24における受信済のNパケットPKT_Nの最新のシーケンス番号SNsentが更新される。
Steps S 263 to S 267 shown in FIG. 15 are steps for storing the newly received N packets PKT_N in the
図16は、図14に示すステップS28の詳細な動作を説明するためのフローチャートである。 FIG. 16 is a flow chart for explaining the detailed operation of step S28 shown in FIG.
図16を参照して、図14のステップS23において、結合パケットを受信しなかったと判定されたとき、または図14のステップS25において、Nパケットが無いと判定されたとき、または図14のステップS27において、Cパケット(符号化パケット)が有ると判定されたとき、処理手段23は、i=1を設定し(ステップS281)、Nバッファ24からパケットXiを取得する(ステップS282)。ここで、iは、Nバッファ24に格納された各パケットXiを表し、1~Iである。そして、Iは、Nバッファ24に格納されたパケットXiの総数である。
16, when it is determined in step S23 of FIG. 14 that no combined packet has been received, or when it is determined in step S25 of FIG. 14 that there are no N packets, or when step S27 of FIG. , when it is determined that there is a C packet (encoded packet), the processing means 23 sets i =1 (step S281) and acquires the packet Xi from the N buffer 24 (step S282). Here, i represents each packet X i stored in the
ステップS282の後、処理手段23は、パケットXiのシーケンス番号SNが符号化パケットYのCoded infoに含まれるか否かを判定する(ステップS283)。 After step S282 , the processing means 23 determines whether or not the sequence number SN of the packet Xi is included in the coded info of the encoded packet Y (step S283).
ステップS283において、パケットXiのシーケンス番号SNが符号化パケットYのCoded infoに含まれると判定されたとき、処理手段23は、符号化パケットYとパケットXiとの排他的論理和を演算することによって符号化パケットYから受信済のパケットXiの情報を除去する(ステップS284)。 When it is determined in step S283 that the sequence number SN of the packet X i is included in the coded info of the encoded packet Y, the processing means 23 computes the exclusive OR of the encoded packet Y and the packet X i . Thus, the information of the received packet Xi is removed from the encoded packet Y (step S284).
そして、ステップS283において、パケットXiのシーケンス番号SNが符号化パケットYのCoded infoに含まれていないと判定されたとき、またはステップS284の後、処理手段23は、i=Iであるか否かを判定する(ステップS285)。 Then, when it is determined in step S283 that the sequence number SN of the packet X i is not included in the coded info of the encoded packet Y, or after step S284, the processing means 23 determines whether i=I. is determined (step S285).
ステップS285において、i=Iでないと判定されたとき、処理手段23は、i=i+1を設定する(ステップS286)。その後、一連の動作は、ステップS282へ移行し、ステップS285において、i=Iであると判定されるまで、ステップS282~ステップS286が繰り返し実行される。 When it is determined in step S285 that i is not equal to I, processing means 23 sets i=i+1 (step S286). After that, the series of operations proceeds to step S282, and steps S282 to S286 are repeatedly executed until it is determined that i=I in step S285.
そして、ステップS285において、i=Iであると判定されると、処理手段23は、符号化パケットYに含まれていた情報の全てを受信済であるか否かを判定する(ステップS287)。この場合、処理手段23は、符号化パケットYがY={000・・・0}であるとき、符号化パケットYに含まれていた情報の全てを受信済であると判定し、符号化パケットYがY={000・・・0}でないとき、符号化パケットYに含まれていた情報の全てを受信済であることは無い(即ち、符号化パケットYに含まれていた情報の一部を受信済でない)と判定する。 Then, when it is determined in step S285 that i=I, the processing means 23 determines whether or not all the information included in the encoded packet Y has been received (step S287). In this case, when the encoded packet Y is Y={000 . When Y is not Y={000 . has not been received).
ステップS287において、符号化パケットYに含まれていた情報の全てを受信済であることは無いと判定されたとき、処理手段23は、符号化パケットYに含まれるNパケット数が“1”であるか否かを判定する(ステップS288)。 When it is determined in step S287 that all the information included in the encoded packet Y has not been received, the processing means 23 determines that the number of N packets included in the encoded packet Y is "1". It is determined whether or not there is (step S288).
ステップS288において、符号化パケットYに含まれるNパケット数が“1”でないと判定されたとき、処理手段23は、符号化パケットYをCバッファ25に保存する(ステップS289)。 When it is determined in step S288 that the number of N packets included in encoded packet Y is not "1", processing means 23 stores encoded packet Y in C buffer 25 (step S289).
一方、ステップS288において、符号化パケットYに含まれるNパケット数が“1”であると判定されたとき、処理手段23は、式(13)によって符号化パケットYをパケットXに変換し、その変換したパケットXに対して、上述した「Nパケット受信処理」(図15に示すフローチャート)を実行する(ステップS290)。 On the other hand, when it is determined in step S288 that the number of N packets included in the encoded packet Y is "1", the processing means 23 converts the encoded packet Y into the packet X according to equation (13), The above-described "N packet reception process" (flowchart shown in FIG. 15) is executed for the converted packet X (step S290).
そして、ステップS287において、符号化パケットYに含まれていた情報の全てを受信済であると判定されたとき、またはステップS289の後、またはステップS290の後、一連の動作は、図14のステップS29へ移行する。 Then, when it is determined in step S287 that all of the information contained in the encoded packet Y has been received, or after step S289 or after step S290, the series of operations is the steps in FIG. Move to S29.
図16に示すフローチャートにおいては、ステップS285において、i=Iであると判定されるまで、ステップS282~ステップS286が繰り返し実行されることによって、符号化パケットYから受信済の全てのパケットX1~XIの情報が除去される。即ち、ステップS285において、i=Iであると判定されるまで、ステップS282~ステップS286が繰り返し実行されることによって、Nバッファ24に格納されていない複数のパケット(=受信済でない複数のパケット)のみを含む符号化パケットCが生成される。 In the flowchart shown in FIG. 16, steps S282 to S286 are repeatedly executed until it is determined that i=I in step S285. XI information is removed. That is, by repeatedly executing steps S282 to S286 until it is determined that i=I in step S285, a plurality of packets not stored in the N buffer 24 (=a plurality of packets that have not been received) An encoded packet C is generated containing only
図17は、図14に示すステップS29の詳細な動作を説明するためのフローチャートである。 FIG. 17 is a flow chart for explaining the detailed operation of step S29 shown in FIG.
図17を参照して、図14のステップS28の後、またはステップS30において復号できたと判定されたとき、処理手段23は、2個以上の符号化パケットYがCバッファ25に存在するか否かを判定する(ステップS291)。
Referring to FIG. 17, after step S28 of FIG. 14 or when it is determined in step S30 that decoding is possible, processing means 23 determines whether two or more encoded packets Y exist in
ステップS291において、2個以上の符号化パケットYがCバッファ25に存在しないと判定されたとき、一連の動作は、図14のステップS21へ移行する。
When it is determined in step S291 that two or more encoded packets Y do not exist in the
一方、ステップS291において、2個以上の符号化パケットYがCバッファ25に存在すると判定されたとき、処理手段23は、i=1を設定する(ステップS292)。ここで、iは、Cバッファ25に格納された各符号化パケットYiを表し、1~Iである。そして、Iは、Cバッファ25に格納された符号化パケットYiの総数である。
On the other hand, when it is determined in step S291 that two or more encoded packets Y exist in the
ステップS292の後、処理手段23は、Cバッファ25から符号化パケットYiを取得する(ステップS293)。 After step S292, the processing means 23 acquires the encoded packet Y i from the C buffer 25 (step S293).
そして、処理手段23は、符号化パケットYiに対して「符号化パケットから受信済のパケットXiの情報を除去」(図16のフローチャート)を実行する(ステップS294)。
Then, the
その後、処理手段23は、符号化パケットYiに含まれるNパケット数が“1”以下であるか否かを判定する(ステップS295)。 Thereafter, the processing means 23 determines whether or not the number of N packets included in the encoded packet Yi is equal to or less than "1" (step S295 ).
ステップS295において、符号化パケットYiに含まれるNパケット数が“1”以下であると判定されると、処理手段23は、符号化パケットYiをCバッファ25から消去する(ステップS296)。 When it is determined in step S295 that the number of N packets included in the encoded packet Y i is equal to or less than "1", the processing means 23 deletes the encoded packet Y i from the C buffer 25 (step S296).
そして、ステップS295において、符号化パケットYiに含まれるNパケット数が“1”以下でないと判定されたとき、またはステップS296の後、処理手段23は、i=Iであるか否かを判定する(ステップS297)。 Then, when it is determined in step S295 that the number of N packets included in the encoded packet Y i is not equal to or less than "1", or after step S296, the processing means 23 determines whether i=I. (step S297).
ステップS297において、i=Iでないと判定されたとき、処理手段23は、i=i+1を設定する(ステップS298)。その後、一連の動作は、ステップS293へ移行し、ステップS297において、i=Iであると判定されるまで、ステップS293~ステップS298が繰り返し実行される。 When it is determined in step S297 that i is not equal to I, processing means 23 sets i=i+1 (step S298). Thereafter, the series of operations proceeds to step S293, and steps S293 to S298 are repeatedly executed until it is determined that i=I in step S297.
そして、ステップS297において、i=Iであると判定されると、処理手段23は、複数のNパケットを含む符号化パケットCがCバッファ25に複数存在するか否かを判定する(ステップS299)。 Then, when it is determined in step S297 that i=I, the processing means 23 determines whether or not a plurality of encoded packets C including a plurality of N packets exist in the C buffer 25 (step S299). .
ステップS299において、複数のNパケットを含む符号化パケットCがCバッファ25に複数存在すると判定されたとき、処理手段23は、Cバッファ25から複数の符号化パケットYを取得し、その取得した複数の符号化パケットYを表す連立方程式を解いてCパケット(符号化パケット)を復号する(ステップS300)。
In step S299, when it is determined that a plurality of encoded packets C including a plurality of N packets exist in the
そして、ステップS299において、複数のNパケットを含む符号化パケットCがCバッファ25に複数存在しないと判定されたとき、またはステップS300の後、処理手段23は、i=1を設定し(ステップS301)、復号できたNパケット数が“i”以上であるか否かを判定する(ステップS302)。
Then, when it is determined in step S299 that a plurality of encoded packets C including a plurality of N packets do not exist in the
ステップS302において、復号できたNパケット数が“i”以上であると判定されたとき、処理手段23は、復号されたNパケットに対して「Nパケット受信処理」(図15のフローチャート)を実行する(ステップS303)。そして、処理手段23は、i=i+1を設定する(ステップS304)。その後、一連の動作は、ステップS302へ移行し、ステップS302において、復号できたNパケット数が“i”以上でないと判定されるまで、ステップS302~ステップS304が繰り返し実行される。 In step S302, when it is determined that the number of N packets that can be decoded is equal to or greater than "i", the processing means 23 executes "N packet reception processing" (flowchart in FIG. 15) for the decoded N packets. (step S303). Then, the processing means 23 sets i=i+1 (step S304). Thereafter, the series of operations proceeds to step S302, and steps S302 to S304 are repeatedly executed until it is determined in step S302 that the number of N packets that can be decoded is not equal to or greater than "i".
そして、ステップS302において、復号できたNパケット数が“i”以上でないと判定されると、一連の動作は、図14のステップS30へ移行する。 Then, in step S302, when it is determined that the number of N packets that can be decoded is not equal to or greater than "i", the series of operations proceeds to step S30 in FIG.
図17に示すフローチャートにおいては、図16のステップS287において、符号化パケットYに含まれていた情報の全てを受信済であると判定された後に、またはステップS290の後にステップS291へ移行した場合、ステップS291において、2個以上の符号化パケットYがCバッファ25に存在しないと判定され、一連の動作は、図14のステップS21へ移行する。
In the flowchart shown in FIG. 17, when it is determined in step S287 in FIG. 16 that all the information contained in the encoded packet Y has been received, or after step S290, when the process proceeds to step S291, In step S291, it is determined that two or more encoded packets Y do not exist in the
一方、図16のステップS289の後にステップS291へ移行した場合において、ステップS291において、2個以上の符号化パケットYがCバッファ25に存在すると判定されたとき、上述したステップS292~ステップS304が順次実行され、ステップS291において、2個以上の符号化パケットYがCバッファ25に存在しないと判定されたとき、一連の動作は、図14のステップS21へ移行する。
On the other hand, when the process proceeds to step S291 after step S289 in FIG. 16, when it is determined in step S291 that two or more encoded packets Y exist in the
また、図17に示すフローチャートにおいては、ステップS302において、復号できたNパケット数がi以上でないと判定されるまで、ステップS302~ステップS304が繰り返し実行されるのは、符号化パケットCを復号することによって取得された全てのNパケットに対して「Nパケット受信処理」(図15のフローチャート)を実行するためである。 In the flowchart shown in FIG. 17, steps S302 to S304 are repeatedly executed until it is determined in step S302 that the number of N packets that can be decoded is not equal to or greater than i. This is because the "N packet reception process" (flow chart in FIG. 15) is executed for all the N packets obtained by this.
図18は、バーストを構成するパケットの受信時におけるNバッファ24およびCバッファ25の変遷を示す図である。
FIG. 18 is a diagram showing transitions of the
なお、図18は、バーストを構成するパケットが図9に示すパケットP1~P6からなる場合において、バーストを構成するパケットの受信時におけるNバッファ24およびCバッファ25の変遷を示す。
FIG. 18 shows transitions of the
図18を参照して、送信機1がパケットP1を送信すると、受信機2は、パケットP1の受信に失敗するので、図14のステップS21においては、受信機2の受信手段22は、パケットP1を受信しない。その結果、Nバッファ24およびCバッファ25には、パケットが格納されない(図18の(a)参照)。
Referring to FIG. 18, when transmitter 1 transmits packet P1, receiver 2 fails to receive packet P1. Therefore, in step S21 of FIG. Packet P1 is not received. As a result, no packet is stored in the
その後、送信機1がパケットP2を送信すると、受信機2の受信手段22は、アンテナ21を介してパケットP2を受信し(図14のステップS21の“YES”参照)、その受信したパケットP2を処理手段23へ出力する。
After that, when the
処理手段23は、パケットP2を受信手段22から受けると、パケットP2のPacket infoの識別子N/Cが“N”からなることを確認してNパケットを受信したと判定する(図14のステップS22の“YES”参照)。そして、処理手段23は、パケットP2に対してNパケット受信処理を実行し(図14のステップS26参照)、パケットP2のシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)よりも大きく、かつ、受信パケットがNバッファ24に格納済でないと判定し(図15のステップS261の“NO”参照)、パケットP2をNバッファ24に格納するとともにパケットP2をアプリケーション30へ伝送する(図15のステップS263~S266参照)。そして、処理手段23は、i=2であるときに、SNsent+i(=SNsent+2)のパケットがNバッファ24に存在しないと判定し(図15のステップS265の“NO”参照)、SNsent=SNsent+i-1=SNsent+2-1=SNsent+1によってNバッファ24に格納されたNパケットPKT_Nのシーケンス番号SNsentを更新する(図15のステップS268参照)。その後、処理手段23は、Cパケットが無いと判定し(図14のステップS27の“NO”参照)、受信機2の動作は、図14のステップS21へ移行する。この段階で、パケットP2がNバッファ24に格納される(図18の(b)参照)。
When the processing means 23 receives the packet P2 from the receiving means 22, the processing means 23 confirms that the identifier N/ C of the Packet info of the packet P2 consists of "N" and determines that N packets have been received (see FIG. 14). See "YES" in step S22). Then, the processing means 23 executes the N-packet reception process for the packet P2 ( see step S26 in FIG . 14), and the sequence number SN rx of the packet P2 has been received and has been transmitted to the
引き続いて、送信機1が結合パケットP3/C2を送信すると、受信機2は、結合パケットP3/C2の受信に失敗するので、図14のステップS21においては、受信機2の受信手段22は、結合パケットP3/C2を受信しない。その結果、Nバッファ24およびCバッファ25の状態は、変化しない(図18の(c)参照)。
Subsequently, when the
その後、送信機1がパケットP4を送信すると、受信機2は、上述したパケットP2の受信時における動作と同じ動作を実行する。その結果、パケットP4がNバッファ24に格納される(図18の(d)参照)。
After that, when
そして、送信機1が結合パケットP5/C4を送信すると、受信機2の受信手段22は、アンテナ21を介して結合パケットP5/C4を受信し(図14のステップS21の“YES”参照)、その受信した結合パケットP5/C4を処理手段23へ出力する。
Then, when the
処理手段23は、結合パケットP5/C4を受信手段22から受けると、結合パケットP5/C4のPacket infoの識別子N/Cが“N”からなり、かつ、Coded infoの識別子N/Cが“C”からなることを確認し、NパケットPKT_Nを受信しなかったと判定するとともに(図14のステップS22の“NO”参照)、結合パケットを受信したと判定する(図14のステップS23の“YES”参照)。 When the processing means 23 receives the combined packet P 5 /C 4 from the receiving means 22, the packet info identifier N/C of the combined packet P 5 /C 4 is "N" and the coded info identifier N/ It confirms that C consists of "C", determines that N packet PKT_N has not been received (see "NO" in step S22 of FIG. 14), and determines that a combined packet has been received (step S23 of FIG. 14). (see "YES" in ).
その後、処理手段23は、結合パケットP5/C4のNパケットP5と符号化パケットC4とを分離し(図14のステップS24参照)、Nパケットが有ると判定し(図14のステップS25の“YES”参照)、パケットP5に対してNパケット受信処理を実行する(図14のステップS26参照)。そして、処理手段23は、Nパケット受信処理において、パケットP5のシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)よりも大きく、かつ、受信パケットがNバッファ24に格納されていないと判定し(図15のステップS261の“NO”参照)、パケットP5をNバッファ24に格納するとともにパケットP5をアプリケーション30へ伝送する(図15のステップS263~S266参照)。そして、処理手段23は、i=2であるときに、Nバッファ24にSNsent+i(=SNsent+2)のパケットが存在しないと判定し(図15のステップS265の“NO”参照)、SNsent=SNsent+i-1=SNsent+2-1=SNsent+1によってNバッファ24に格納されたNパケットPKT_Nのシーケンス番号SNsentを更新する(図15のステップS268参照)。その後、処理手段23は、Cパケットが有ると判定し(図14のステップS27の“YES”参照)、Cパケットから受信済のNパケットの情報を除去する(図14のステップS28参照)。この時点で、Nバッファ24には、パケットP2,P4,P5が格納されており(図18の(e)参照)、符号化パケットC4は、パケットP1~P4を含むので、処理手段23は、符号化パケットC4とパケットP2,P4との排他的論理和を順次演算して符号化パケットC4から受信済のパケットP2,P4の情報を除去する(図16のステップS282~ステップS286参照)。
Thereafter, the processing means 23 separates the N packet P5 and the encoded packet C4 of the combined packet P5/ C4 ( see step S24 in FIG. 14), and determines that there are N packets (step S24 in FIG. 14). See "YES" in S25), N packet reception processing is executed for packet P5 ( see step S26 in FIG. 14). Then, in the N packet reception process, the processing means 23 determines that the sequence number SN rx of the packet P5 has been received and the sequence number SN sent of the N packet PKT_N that has been transmitted to the application 30 (that is, and the received packet is not stored in the N buffer 24 (see "NO" in step S261 of FIG. 15 ), and the packet P5 is stored in the
符号化パケットC4から受信済のパケットP2,P4の情報を除去した後の符号化パケットC4’は、式(9)によって表わされる。その結果、処理手段23は、符号化パケットC4に含まれていた情報の全てを受信済であることは無いと判定し(図16のステップS287の“NO”参照)、符号化パケットC4’に含まれるNパケット数が“1”でないと判定し(図16のステップS288の“NO”参照)、符号化パケットC4’をCバッファ25に格納する(図16のステップS289参照)。これによって、Nバッファ24には、3個のパケットP2,P4,P5が格納され、Cバッファ25には、1個の符号化パケットC4’が格納される(図18の(e)参照)。
The encoded packet C 4 ′ after removing the information of the received packets P 2 and P 4 from the encoded packet C 4 is represented by Equation (9). As a result, the processing means 23 determines that all the information contained in the encoded packet C4 has not been received (see "NO" in step S287 in FIG. 16), and the encoded packet C4 ' is not "1" (see "NO" in step S288 of FIG. 16), and the encoded packet C 4 ' is stored in the C buffer 25 (see step S289 of FIG. 16). As a result, three packets P 2 , P 4 and P 5 are stored in the
図16のステップS289の後、受信機2の動作は、図14のステップS29へ移行し、図14のステップS29の詳細な動作を示す図17のステップS291において、処理手段23は、2個以上の符号化パケットYがCバッファ25に存在しないと判定し、受信機2の動作は、図14のステップS21へ移行する。
After step S289 in FIG. 16, the operation of the
その後、送信機1がパケットP6を送信すると、受信機2は、上述したパケットP2の受信時における動作と同じ動作を実行する。その結果、パケットP6がNバッファ24に格納される(図18の(f)参照)。そして、パケットP6がNバッファ24に格納された後、処理手段23は、Cパケットが無いと判定するので(図14のステップS27の“NO”参照)、受信機2の動作は、図14のステップS21へ移行する。
After that, when transmitter 1 transmits packet P6, receiver 2 performs the same operation as when receiving packet P2 described above. As a result, packet P6 is stored in N buffer 24 (see (f) in FIG. 18). After the packet P6 is stored in the
引き続いて、送信機1が符号化パケットC6を送信すると、受信機2の受信手段22は、アンテナ21を介して符号化パケットC6を受信し(図14のステップS21の“YES”参照)、その受信した符号化パケットC6を処理手段23へ出力する。 Subsequently, when the transmitter 1 transmits the encoded packet C6, the receiving means 22 of the receiver 2 receives the encoded packet C6 via the antenna 21 (see "YES" in step S21 of FIG. 14). , outputs the received encoded packet C 6 to the processing means 23 .
処理手段23は、符号化パケットC6を受信手段22から受けると、符号化パケットC6のPacket infoの識別子N/Cが“C”からなるので、Nパケットを受信しなかったと判定し(図14のステップS22の“NO”参照)、結合パケットを受信しなかったと判定する(図14のステップS23の“NO”参照)。 When the processing means 23 receives the encoded packet C6 from the receiving means 22, the identifier N/C of the Packet info of the encoded packet C6 is "C", so it determines that N packets have not been received (Fig. 14), and determines that the combined packet has not been received (see "NO" in step S23 of FIG. 14).
従って、処理手段23は、符号化パケットC6から受信済のパケットの情報を除去する(図14のステップS28参照)。この段階では、Nバッファ24には、パケットP2,P4,P5,P6が格納されており、符号化パケットC6は、パケットP1~P6を含むので(式(6)参照)、処理手段23は、符号化パケットC6とパケットP2,P4,P5,P6との排他的論理和を順次演算して符号化パケットC6から受信済のパケットP2,P4,P5,P6の情報を除去する(図16のステップS282~ステップS286参照)。
Therefore, the processing means 23 removes the received packet information from the encoded packet C6 (see step S28 in FIG. 14 ). At this stage, packets P 2 , P 4 , P 5 and P 6 are stored in
符号化パケットC6から受信済のパケットP2,P4,P5,P6の情報を除去した後の符号化パケットC6’は、式(10)によって表わされる。その結果、処理手段23は、符号化パケットC6に含まれていた情報の全てを受信済であることは無いと判定し(図16のステップS287の“NO”参照)、符号化パケットC6’に含まれるNパケット数が“1”でないと判定し(図16のステップS288の“NO”参照)、符号化パケットC6’をCバッファ25に格納する(図16のステップS289参照)。これによって、Nバッファ24には、4個のパケットP2,P4,P5,P6が格納され、Cバッファ25には、2個の符号化パケットC4’,C6’が格納される(図18の(g)参照)。
The encoded packet C 6 ′ after removing the information of the received packets P 2 , P 4 , P 5 and P 6 from the encoded packet C 6 is represented by Equation (10). As a result, the processing means 23 determines that all the information contained in the encoded packet C6 has not been received (see "NO" in step S287 of FIG. 16 ), and the encoded packet C6 ' is not "1" (see "NO" in step S288 of FIG. 16), and stores the encoded packet C 6 ' in the C buffer 25 (see step S289 of FIG. 16). As a result, the
そうすると、処理手段23は、複数のNパケットを含む符号化パケットが複数存在すると判定し(図17のステップS299の“YES”参照)、符号化パケットC4’を表す式(9)と符号化パケットC6’を表す式(10)との連立方程式を解いてCパケットを復号する(図17のステップS300参照)。これによって、2つのNパケットP1,P3が得られる。 Then, the processing means 23 determines that there are a plurality of encoded packets including a plurality of N packets (see “YES” in step S299 of FIG. 17), and formula (9) representing the encoded packet C 4 ′ and encoding Simultaneous equations with equation (10) representing packet C 6 ′ are solved to decode C packet (see step S300 in FIG. 17). This results in two N packets P 1 and P 3 .
その後、処理手段23は、i=1を設定し(図17のステップS301参照)、復号できたNパケット数がi(=1)以上であると判定し(図17のステップS302の“YES”参照)、NパケットP1に対して「Nパケット受信処理」(図15に示すフローチャート)を実行する(図17のステップS303参照)。そして、処理手段23は、Nパケット受信処理において、パケットP1のシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)よりも大きく、かつ、受信パケット(=パケットP1)がNバッファ24に格納済でないと判定し(図15のステップS261の“NO”参照)、パケットP1をNバッファ24に格納するとともにパケットP1をアプリケーション30へ伝送する(図15のステップS263~S266参照)。そして、処理手段23は、i=2であるときに、Nバッファ24にSNsent+i(=SNsent+2)のパケットが存在しないと判定し(図15のステップS265の“NO”参照)、SNsent=SNsent+i-1=SNsent+2-1=SNsent+1によってNバッファ24に格納されたNパケットPKT_Nのシーケンス番号SNsentを更新する(図15のステップS268参照)。
Thereafter, the processing means 23 sets i=1 (see step S301 in FIG. 17), and determines that the number of N packets that can be decoded is i (=1) or more ("YES" in step S302 in FIG. 17). (see step S303 in FIG. 17). Then, in the N packet reception process, the processing means 23 determines that the sequence number SN rx of the packet P1 has been received and the sequence number SN sent of the N packet PKT_N that has been transmitted to the application 30 (that is, and the received packet (=packet P 1 ) is not stored in the N buffer 24 (see “NO” in step S261 in FIG. 15), and packet P 1 is transferred to N While storing in the
図17のステップS303において、「Nパケット受信処理」(図15に示すフローチャート)が実行される場合、図15のステップS268の後、受信機2の動作は、図15のステップS304へ移行するので、処理手段23は、i=i+1=2を設定し(図17のステップS304参照)、復号できたNパケット数がi(=2)以上であると判定し(図17のステップS302の“YES”参照)、NパケットP2に対して「Nパケット受信処理」(図15に示すフローチャート)を実行する(図17のステップS303参照)。そして、処理手段23は、Nパケット受信処理において、パケットP2のシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)よりも大きく、かつ、受信パケット(=パケットP2)がNバッファ24に格納済でないと判定し(図15のステップS261の“NO”参照)、パケットP2をNバッファ24に格納するとともにパケットP2をアプリケーション30へ伝送する(図15のステップS263~S266参照)。そして、処理手段23は、i=2であるときに、SNsent+i(=SNsent+2)のパケットがNバッファ24に存在しないと判定し(図15のステップS265の“NO”参照)、SNsent=SNsent+i-1=SNsent+2-1=SNsent+1によってNバッファ24に格納されたNパケットPKT_Nのシーケンス番号SNsentを更新する(図15のステップS268参照)。その後、処理手段23は、i=i+1=3を設定し(図17のステップS304参照)、復号できたNパケット数がi(=3)以上でないと判定する(図17のステップS302の“NO”参照)。そうすると、受信機2の動作は、図14のステップS30へ移行し、処理手段23は、復号できたと判定し(図14のステップS30の“YES”)、図14のステップS29の詳細な動作を示す図17のフローチャートのステップS291において、2個以上の符号化パケットがCバッファ25に存在しないと判定し(図17のステップS291の“NO”参照)、受信機2の動作は、図14のステップS21へ移行する。
When the "N packet reception process" (flow chart shown in FIG. 15) is executed in step S303 of FIG. 17, the operation of the
この段階で、Nバッファ24およびCバッファ25には、パケットが格納されていない(図18の(h)参照)。これによって、バーストを構成するパケット(パケットP1~P6)の受信処理が終了する。
At this stage, no packet is stored in the
パケットの受信処理を示す図14に示すフローチャート(図15から図17に示すフローチャートを含む)においては、図14のステップS28において、「Cパケットから受信済のNパケットの情報を除去」することを実行した後に、ステップS29における復号処理の詳細な動作を示す図17のフローチャートのステップS294において「符号化パケットから受信済のパケットXiの情報を除去」することを実行するのは、次の理由による。 In the flowchart shown in FIG. 14 (including the flowcharts shown in FIGS. 15 to 17) showing the packet reception process, in step S28 of FIG. The reason for executing "removing the received packet Xi information from the encoded packet" in step S294 of the flowchart of FIG. 17 showing the detailed operation of the decoding process in step S29 is as follows. according to.
送信機1の動作を示す図12のフローチャートにおいては、ステップS9において、最後のパケットがバッファ11に到着した後、Tミリ秒が経過したと判定されると、送信機1は、ステップS11において、符号化パケットの送信数がKであると判定されるまで符号化パケットCを受信機2へ送信する(ステップS10~ステップS12参照)。この場合、上述したように、送信機1は、符号化パケットC6(=a61P1+a62P2+a63P3+a64P4+a65P5+a66P6)、符号化パケットC7(=a71P1+a72P2+a73P3+a74P4+a75P5+a76P6)および符号化パケットC8(=a81P1+a82P2+a83P3+a84P4+a85P5+a86P6)を受信機2へ送信する。そして、ここでは、符号化パケットC6における符号a63は、零であるとする。即ち、符号化パケットC6は、実質的に、C6=a61P1+a62P2+a64P4+a65P5+a66P6からなるものとする。
In the flowchart of FIG. 12 showing the operation of the
その結果、受信機2は、図12のステップS7において送信された符号化パケットC(例えば、符号化パケットC2)を受信できなくても、ステップS10において送信された符号化パケットC6~C8を受信できる。 As a result, even if the receiver 2 cannot receive the encoded packet C (for example, encoded packet C 2 ) transmitted in step S7 of FIG. 8 can be received.
そうすると、受信機2の処理手段23は、Nパケットを受信しなかったと判定し(図14のステップS22の“NO”参照)、かつ、結合パケットを受信しなかったと判定し(図14のステップS23の“NO”参照)、符号化パケットC6から受信済のNパケットP2,P4,P5,P6の情報を除去する(図14のステップS28(図16のフローチャートのステップS261~ステップS286)参照)。その結果、処理手段23は、符号化パケットC6’=a61P1を取得する。
Then, the processing means 23 of the
そして、処理手段23は、符号化パケットYに含まれていた情報の全てを受信済でないと判定し(図16のステップS287の“NO”参照)、符号化パケットC6’に含まれるNパケット数が“1”であると判定し(図16のステップS288の“YES”参照)、符号化パケットC6’=a61P1を式(13)によってP1に変換して「Nパケット受信処理」(図15に示すフローチャート)を実行する(図16のステップS290参照)。 Then, the processing means 23 determines that all the information contained in the encoded packet Y has not been received (see "NO" in step S287 in FIG. 16), and N packets contained in the encoded packet C 6 ′ number is "1" (see "YES" in step S288 in FIG. 16), and the encoded packet C 6 '=a 61 P 1 is converted to P 1 by equation (13) to obtain "N packets received process” (flowchart shown in FIG. 15) is executed (see step S290 in FIG. 16).
この場合、「Nパケット受信処理」は、パケットP1に対して初めて実行されるので、処理手段23は、パケットP1のシーケンス番号SNrxが受信済、かつ、アプリケーション30へ送信済のNパケットPKT_Nのシーケンス番号SNsent(即ち、Nバッファ24に格納されたNパケットのシーケンス番号)よりも大きく、かつ、受信パケット(パケットP1)がNバッファ24に格納済でないと判定し(図15のステップS261の“NO”参照)、パケットP1をNバッファ24に格納する(図15のステップS263参照)。この段階で、パケットP1,P2,P4,P5,P6がNバッファ24に格納されている。
In this case, the "N packet reception process" is executed for the first time for the packet P1, so the processing means 23 receives the N packets whose sequence number SN rx of the packet P1 has been received and has been transmitted to the
そして、処理手段23は、図16のステップS290の後に、復号処理(図14のステップS29参照)の詳細な動作を示す図17のフローチャートにおいてステップS293~ステップS298を複数回繰り返し実行することによって、ステップS294において、符号化パケットC4’(=a41P1+a43P3)からパケットP1の情報を除去し、符号化パケットC7(=a71P1+a72P2+a73P3+a74P4+a75P5+a76P6)からパケットP1,P2,P4,P5,P6の情報を除去し、符号化パケットC8(=a81P1+a82P2+a83P3+a84P4+a85P5+a86P6)からパケットP1,P2,P4,P5,P6の情報を除去する。 After step S290 in FIG. 16, the processing means 23 repeats steps S293 to S298 in the flowchart of FIG. 17 showing detailed operations of the decoding process (see step S29 in FIG. 14), In step S294, the information of packet P 1 is removed from encoded packet C 4 ′ (=a 41 P 1 +a 43 P 3 ) to create encoded packet C 7 (=a 71 P 1 +a 72 P 2 +a 73 P 3 ). +a 74 P 4 +a 75 P 5 +a 76 P 6 ) to remove the information of packets P 1 , P 2 , P 4 , P 5 and P 6 from the encoded packet C 8 (=a 81 P 1 +a 82 P 2 +a 83 P 3 +a 84 P 4 +a 85 P 5 +a 86 P 6 ) remove the information of packets P 1 , P 2 , P 4 , P 5 and P 6 .
このように、新たに取得されたパケットP1(Nパケット)の情報を符号化パケットC4’,C7,C8から除去するために、図14のステップS28において、「Cパケットから受信済のNパケットの情報を除去」することを実行した後に、ステップS29における復号処理の詳細な動作を示す図17のフローチャートのステップS294において「符号化パケットから受信済のパケットXiの情報を除去」することを実行することにしたのである。 Thus, in order to remove the information of the newly acquired packet P 1 (N packets) from the encoded packets C 4 ′, C 7 and C 8 , in step S28 of FIG. After executing "remove the information of the N packets of X i from the encoded packet" in step S294 of the flowchart of FIG. I decided to do what I did.
この発明の実施の形態においては、送信機1の動作は、ソフトウェアによって実現されてもよい。この場合、送信機1は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)を備える。そして、ROMは、図12に示すフローチャート(図13に示すフローチャートを含む)の各ステップからなるプログラムProg_Aを記憶する。
In embodiments of the present invention, the operation of
CPUは、ROMからプログラムProg_Aを読み出し、その読み出したプログラムProg_Aを実行して、パケットを受信機2へ送信する動作を実行する。RAMは、上述したバッファ11の機能を果たす。
The CPU reads the program Prog_A from the ROM, executes the read program Prog_A, and executes the operation of transmitting the packet to the
また、プログラムProg_Aは、CD,DVD等の記録媒体に記録されて流通してもよい。プログラムProg_Aを記録した記録媒体がコンピュータに装着されると、コンピュータは、記録媒体からプログラムProg_Aを読み出して実行し、パケットを受信機2へ送信する動作を実行する。
Also, the program Prog_A may be recorded on a recording medium such as a CD or DVD and distributed. When the recording medium recording the program Prog_A is loaded into the computer, the computer reads the program Prog_A from the recording medium, executes it, and executes an operation of transmitting packets to the
従って、プログラムProg_Aを記録した記録媒体は、コンピュータ読み取り可能な記録媒体である。 Therefore, the recording medium recording the program Prog_A is a computer-readable recording medium.
また、この発明の実施の形態においては、受信機2の動作は、ソフトウェアによって実現されてもよい。この場合、受信機2は、CPU、ROMおよびRAMを備える。そして、ROMは、図14に示すフローチャート(図15から図17に示すフローチャートを含む)の各ステップからなるプログラムProg_Bを記憶する。
Also, in the embodiment of the present invention, the operation of the
CPUは、ROMからプログラムProg_Bを読み出し、その読み出したプログラムProg_Bを実行して、パケットの受信処理を実行する。RAMは、上述したNバッファ24およびCバッファ25の機能を果たす。
The CPU reads the program Prog_B from the ROM and executes the read program Prog_B to perform packet reception processing. The RAM performs the functions of the N-
また、プログラムProg_Bは、CD,DVD等の記録媒体に記録されて流通してもよい。プログラムProg_Bを記録した記録媒体がコンピュータに装着されると、コンピュータは、記録媒体からプログラムProg_Bを読み出して実行し、パケットの受信処理を実行する。 Also, the program Prog_B may be recorded on a recording medium such as a CD or DVD and distributed. When the recording medium recording the program Prog_B is loaded into the computer, the computer reads the program Prog_B from the recording medium and executes it to perform the packet reception process.
従って、プログラムProg_Bを記録した記録媒体は、コンピュータ読み取り可能な記録媒体である。 Therefore, the recording medium recording the program Prog_B is a computer-readable recording medium.
図19は、この発明の実施の形態による別の無線通信システムの概略図である。この発明の実施の形態による無線通信システムは、図19に示す無線通信システム10Aであってもよい。
FIG. 19 is a schematic diagram of another wireless communication system according to embodiments of the invention. A radio communication system according to an embodiment of the present invention may be a
図19を参照して、無線通信システム10Aは、図1に示す無線通信システム10の送信機1を送信装置100に変えたものであり、その他は、図1に示す無線通信システム10と同じである。
Referring to FIG. 19,
送信装置100は、送信機1Aと、基地局AP_T_1~AP_T_S(Sは、2以上の整数である。)とを含む。
The transmitting
送信機1Aは、図2に示す送信機1と同じ構成からなる。基地局AP_T_1~AP_T_Sは、それぞれ、有線ケーブル3_1~3_Sを介して送信機1Aと接続される。そして、基地局AP_T_1~AP_T_Sは、受信機2との間の通信空間において、相互に異なる通信空間をカバーする通信範囲を有するように配置される。この場合、基地局AP_T_1~AP_T_Sは、受信機2との間で建物等による電波の遮蔽が発生し難い位置に配置される。
The
送信機1Aは、図12に示すフローチャート(図13に示すフローチャートを含む。)に従って、アプリケーション20からパケットPKTを受信する毎に、上述した方法によって、単体のパケットまたは結合パケットを有線ケーブル3_1~3_Sを介してそれぞれ基地局AP_T_1~AP_T_Sへ送信するとともに、アプリケーション20からパケットPKTを受信しない期間において、符号化パケットを有線ケーブル3_1~3_Sを介してそれぞれ基地局AP_T_1~AP_T_Sへ送信する。
Each time the
基地局AP_T_1~AP_T_Sは、それぞれ、有線ケーブル3_1~3_Sを介して単体のパケットまたは結合パケットを送信機1Aから受信し、その受信した単体のパケットまたは結合パケットをそれぞれネットワークNW_1~NW_Sを介して受信機2へ送信する。
The base stations AP_T_1 to AP_T_S receive single packets or combined packets from the
また、基地局AP_T_1~AP_T_Sは、それぞれ、有線ケーブル3_1~3_Sを介して符号化パケットを送信機1Aから受信し、その受信した符号化パケットをそれぞれネットワークNW_1~NW_Sを介して受信機2へ送信する。
Also, the base stations AP_T_1 to AP_T_S receive encoded packets from the
なお、無線通信システム10Aにおいては、受信機2は、それぞれ、ネットワークNW_1~NW_Sを介して基地局AP_T_1~AP_T_Sから単体のパケット、結合パケットおよび符号化パケットを受信し、図14に示すフローチャート(図15から図17に示すフローチャートを含む。)に従って、その受信した単体のパケット、結合パケットおよび符号化パケットに対して、上述した受信処理を実行し、受信処理後のパケットをアプリケーション30へ伝送する。
In the
無線通信システム10Aにおいては、送信装置100は、相互に異なる通信範囲を有する基地局AP_T_1~AP_T_SによってパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信機2へ送信するので、受信機2との間で建物等による電波の遮蔽を抑制して、リアルタイムトラフィックを構成するパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を高い信頼性で迅速に受信機2へ送信できる。
In the
図20は、この発明の実施の形態による更に別の無線通信システムの概略図である。この発明の実施の形態による無線通信システムは、図20に示す無線通信システム10Bであってもよい。
FIG. 20 is a schematic diagram of yet another wireless communication system according to an embodiment of the invention. A radio communication system according to an embodiment of the present invention may be a
図20を参照して、無線通信システム10Bは、図1に示す無線通信システム10の受信機2を受信装置200に変えたものであり、その他は、図1に示す無線通信システム10と同じである。
Referring to FIG. 20,
受信装置200は、基地局AP_R_1~AP_R_Sと、受信機2Aとを含む。
Receiving
受信機2Aは、図3に示す受信機2と同じ構成からなる。基地局AP_R_1~AP_R_Sは、それぞれ、有線ケーブル4_1~4_Sを介して受信機2Aと接続される。そして、基地局AP_R_1~AP_R_Sは、送信機1との間の通信空間において、相互に異なる通信空間をカバーする通信範囲を有するように配置される。この場合、基地局AP_R_1~AP_R_Sは、送信機1との間で建物等による電波の遮蔽が発生し難い位置に配置される。
基地局AP_R_1~AP_R_Sは、それぞれ、ネットワークNW_1~NW_Sを介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)をそれぞれ有線ケーブル4_1~4_Sを介して受信機2Aへ送信する。
The base stations AP_R_1 to AP_R_S receive the packet PKT (single packet, combined packet and coded packet) via the networks NW_1 to NW_S, respectively, and convert the received packet PKT (single packet, combined packet and coded packet ) to the
受信機2Aは、それぞれ、有線ケーブル4_1~4_Sを介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、図14に示すフローチャート(図15から図17に示すフローチャートを含む。)に従って、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)に対して、上述した受信処理を実行し、受信処理後のパケットをアプリケーション30へ伝送する。
The
無線通信システム10Bにおいては、受信装置200は、相互に異なる通信範囲を有する基地局AP_R_1~AP_R_SによってパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を送信機1から受信するので、建物等による電波の遮蔽を抑制して、リアルタイムトラフィックを構成するパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を高い信頼性で迅速に送信機1から受信できる。
In the
図21は、この発明の実施の形態による更に別の無線通信システムの概略図である。この発明の実施の形態による無線通信システムは、図21に示す無線通信システム10Cであってもよい。
FIG. 21 is a schematic diagram of yet another wireless communication system according to an embodiment of the invention. A radio communication system according to an embodiment of the present invention may be a
図21を参照して、無線通信システム10Cは、送信装置100と、受信装置200とを備える。送信装置100の構成については、図19において説明した通りである。また、受信装置200の構成については、図20において説明した通りである。
Referring to FIG. 21 ,
無線通信システム10Cにおいては、基地局AP_T_1~AP_T_Sは、それぞれ、基地局AP_R_1~AP_R_Sに対応して設けられる。その結果、基地局AP_T_1および基地局AP_R_1は、通信性能が良い通信空間を介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を送受信できる位置に配置される。つまり、基地局AP_T_1および基地局AP_R_1は、1対1の通信を行うので、基地局AP_T_1は、基地局AP_R_2~AP_R_Sの配置位置を考慮せずに基地局AP_R_1との間で良い通信性能が得られる位置に配置され、基地局AP_R_1は、基地局AP_T_2~AP_T_Sの配置位置を考慮せずに基地局AP_T_1との間で良い通信性能が得られる位置に配置される。基地局AP_T_2および基地局AP_R_2、・・・、基地局AP_T_Sおよび基地局AP_R_Sについても同様である。
In the
送信機1Aは、図12に示すフローチャート(図13に示すフローチャートを含む。)に従って、アプリケーション20からパケットPKTを受信する毎に、その受信したパケットPKTに対して、上述した処理を実行してそれぞれ有線ケーブル3_1~3_Sを介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を基地局AP_T_1~AP_T_Sへ送信する。
Each time the
基地局AP_T_1は、送信機1Aから有線ケーブル3_1を介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)をネットワークNW_1を介して基地局AP_R_1へ送信する。
The base station AP_T_1 receives a packet PKT (single packet, combined packet and coded packet) from the
また、基地局AP_T_2は、送信機1Aから有線ケーブル3_2を介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)をネットワークNW_2を介して基地局AP_R_2へ送信する。
Also, the base station AP_T_2 receives a packet PKT (single packet, combined packet and encoded packet) from the
以下、同様にして、基地局AP_T_Sは、送信機1Aから有線ケーブル3_Sを介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)をネットワークNW_Sを介して基地局AP_R_Sへ送信する。
Similarly, base station AP_T_S receives packet PKT (single packet, combined packet and encoded packet) from
基地局AP_R_1は、ネットワークNW_1を介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を基地局AP_T_1から受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を有線ケーブル4_1を介して受信機2Aへ送信する。
Base station AP_R_1 receives packet PKT (single packet, combined packet and encoded packet) from base station AP_T_1 via network NW_1, and converts the received packet PKT (single packet, combined packet and encoded packet) to It transmits to the
また、基地局AP_R_2は、ネットワークNW_2を介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を基地局AP_T_2から受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を有線ケーブル4_2を介して受信機2Aへ送信する。
Also, the base station AP_R_2 receives a packet PKT (single packet, combined packet and encoded packet) from the base station AP_T_2 via the network NW_2, and receives the received packet PKT (single packet, combined packet and encoded packet). ) to the
以下、同様にして、基地局AP_R_Sは、ネットワークNW_Sを介してパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を基地局AP_T_Sから受信し、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を有線ケーブル4_Sを介して受信機2Aへ送信する。
Similarly, the base station AP_R_S receives a packet PKT (single packet, combined packet and encoded packet) from the base station AP_T_S via the network NW_S, and receives the received packet PKT (single packet, combined packet). and encoded packets) to the
受信機2Aは、それぞれ、有線ケーブル4_1~4_Sを介して基地局AP_R_1~AP_R_SからパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を受信し、図14に示すフローチャート(図15から図17に示すフローチャートを含む。)に従って、その受信したパケットPKT(単体のパケット、結合パケットおよび符号化パケット)に対して、上述した受信処理を実行し、受信処理後のパケットをアプリケーション30へ伝送する。
The
無線通信システム10Cにおいては、基地局AP_T_1と基地局AP_R_1との間、基地局AP_T_2と基地局AP_R_2との間、・・・、基地局AP_T_Sと基地局AP_R_Sとの間でパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を送受信するので、無線通信システム10A,10Bよりも高い信頼性で迅速にリアルタイムトラフィックを構成するパケットPKT(単体のパケット、結合パケットおよび符号化パケット)を送受信できる。
In the
図22は、図1に示す無線通信システム10の別の適用例を示す図である。図22を参照して、受信機2およびアプリケーション30は、車両および電車内に配置される。送信機1は、アプリケーション20からのパケットPKTを車両および電車へブロードキャストする。
FIG. 22 is a diagram showing another application example of the
受信機2は、送信機1からのパケットPKTを受信して受信処理を実行した後、パケットPKTをアプリケーション30へ伝送する。アプリケーション30は、画像を再生して表示部に表示する。これによって、車両および電車の運転手は、再生された画像をリアルタイムに見ることができる。
The
また、上述した送信機1は、基地局内に設置され、受信機2は、基地局の通信範囲内において基地局からパケットを受信する端末装置内に設置されてもよい。これによって、端末装置は、基地局から送信されたリアルタイムトラフィックを構成するパケットを、遅延を抑制して受信し、その受信したパケットに含まれる画像を再生して表示部に表示する。従って、端末装置のユーザは、高い信頼性で画像をリアルタイムに見ることができる。
Further, the
上記においては、送信機1は、画像を受信機2へ送信すると説明したが、この発明の実施の形態においては、これに限らず、送信機1は、バーストを構成するパケットと、バーストを構成しないパケットとを送信するものであれば、画像以外の情報をペイロードに含むパケットを受信機2へ送信してもよい。
In the above description, the
この発明の実施の形態においては、Nパケットは、「単体パケット」を構成し、符号化パケットC2,C4の各々は、「第1の符号化パケット」を構成し、符号化パケットC6~C8の各々は、「第2の符号化パケット」を構成し、符号化パケットC4’,C6’等の符号化パケットC4,C6から受信済のパケットの情報を除去した後の符号化パケットは、「第3の符号化パケット」を構成する。 In the embodiment of the present invention, N packets constitute a "single packet", each of encoded packets C 2 and C 4 constitutes a "first encoded packet", and encoded packet C 6 ˜C 8 constitute a “second encoded packet”, after removing received packet information from encoded packets C 4 , C 6 , such as encoded packets C 4 ′, C 6 , constitutes a "third encoded packet".
また、この発明の実施の形態においては、P2/C1,P3/C2,P4/C3,P5/C4,P6/C5の各々は、「結合パケット」を構成する。 Also, in the embodiment of the present invention, each of P2/ C1 , P3 / C2 , P4 /C3, P5 / C4 , and P6 /C5 constitutes a "combined packet". do.
更に、この発明の実施の形態においては、Nパケットを送信する処理は、「第1の送信処理」を構成し、P2/C1,P3/C2,P4/C3,P5/C4,P6/C5の各々を送信する処理は、「第2の送信処理」を構成し、符号化パケットC6~C8の各々を単独で送信する処理は、「第3の送信処理」を構成する。 Furthermore, in the embodiment of the present invention, the process of transmitting N packets constitutes " first transmission process", and P2/C1 , P3 / C2 , P4 /C3, P5 /C 4 , P 6 /C 5 constitutes a "second transmission process", and the process of transmitting each of the encoded packets C 6 to C 8 alone constitutes a "third transmission process". Configure "Send Processing".
更に、この発明の実施の形態においては、Tミリ秒は、「しきい値」を構成する。 Furthermore, T milliseconds constitutes a "threshold" in embodiments of the present invention.
更に、この発明の実施の形態においては、Nバッファ24は、「第1の受信バッファ」を構成し、Cバッファ25は、「第2の受信バッファ」を構成する。
Furthermore, in the embodiment of the present invention, the N-
更に、この発明の実施の形態においては、P3/C2をパケットP3と符号化パケットC2に分離し、P5/C4をパケットP5と符号化パケットC4に分離し、P6/C5をパケットP6と符号化パケットC5に分離する処理手段23は、「分離手段」を構成する。 Further, in the embodiment of the present invention, P 3 /C 2 is separated into packet P 3 and encoded packet C 2 , P 5 /C 4 is separated into packet P 5 and encoded packet C 4 , P The processing means 23 for separating 6 / C5 into packets P6 and encoded packets C5 constitute "separating means".
更に、この発明の実施の形態においては、図15のステップS261において、SNrx≦SNsentでなく、かつ、受信パケットがNバッファ24に格納済でないときに受信パケット(SNrx)をNバッファ24に格納するとともにNバッファ24に格納されたパケットをアプリケーション30へ伝送する処理手段23は、「第1の処理手段」を構成する。
Furthermore, in the embodiment of the present invention , in step S261 of FIG. , and for transmitting the packets stored in the N-
更に、この発明の実施の形態においては、符号化パケットCから受信済のパケットの情報を除去した符号化パケットC4’,C6’を生成することは、Nバッファ24に格納されていない複数のパケットのみを含む符号化パケットを生成することに相当する。そして、符号化パケットCから受信済のパケットの情報を除去した符号化パケットC4’,C6’を生成する処理手段23は、「第2の処理手段」を構成する。
Furthermore, in the embodiment of the present invention, generating the encoded packets C 4 ′ and C 6 ′ by removing the information of the received packets from the encoded packet C is performed by removing the information of the packets not stored in the
更に、この発明の実施の形態においては、図14のステップS29における復号処理を実行する処理手段23は、「復号手段」を構成する。 Furthermore, in the embodiment of the present invention, the processing means 23 for executing the decoding process in step S29 of FIG. 14 constitutes "decoding means".
更に、この発明の実施の形態においては、図1に示す送信機1は、「送信装置」を構成し、図1に示す受信機2は、「受信装置」を構成する。従って、この発明の実施の形態による送信装置は、送信機1または送信装置100によって構成され、この発明の実施の形態による受信装置は、受信機2または受信装置200によって構成される。
Furthermore, in the embodiment of the present invention, the
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be considered that the embodiments disclosed this time are illustrative in all respects and not restrictive. The scope of the present invention is indicated by the scope of the claims rather than the description of the above-described embodiments, and is intended to include all modifications within the scope and meaning equivalent to the scope of the claims.
この発明は、送信装置、受信装置、これらを備えた無線通信システム、プログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に適用される。 INDUSTRIAL APPLICABILITY The present invention is applied to a transmitting device, a receiving device, a wireless communication system provided with these devices, a program, and a computer-readable recording medium recording the program.
1,1A 送信機、2,2A 受信機、10,10A,10B,10C 無線通信システム、11 バッファ、12,23 処理手段、13 送信手段、14,21 アンテナ、22受信手段、24 Nバッファ、25 Cバッファ、20,30 アプリケーション,100 送信装置、200 受信装置。 1, 1A transmitter, 2, 2A receiver, 10, 10A, 10B, 10C wireless communication system, 11 buffer, 12, 23 processing means, 13 transmission means, 14, 21 antenna, 22 reception means, 24 N buffer, 25 C buffer, 20, 30 application, 100 transmitter, 200 receiver.
Claims (21)
送信用パケットを格納するための送信バッファと、
前記パケットに対して送信用の処理を実行する処理手段と、
前記処理手段から受けたパケットを送信する送信手段とを備え、
前記処理手段は、前記パケットが第1の時間間隔で当該送信装置に到着する第1の単体パケットであるとき、前記第1の単体パケットが当該送信装置に到着すると、前記第1の単体パケットを前記送信バッファにコピーするとともに前記第1の単体パケットを前記送信手段へ出力する第1の処理を実行し、前記パケットが前記第1の時間間隔よりも短い第2の時間間隔で連続して当該送信装置に到着する複数の単体パケットであるとき、前記複数の単体パケットのうちの最初に当該送信装置に到着した単体パケット以外の単体パケットから選択された第2の単体パケットが当該送信装置に到着すると、前記第2の単体パケットを前記送信バッファにコピーし、前記第2の単体パケットよりも早く当該送信装置に到着した単体パケットを含む第1の符号化パケットを前記第2の単体パケットに付与した結合パケットを生成するとともに前記結合パケットを前記送信手段へ出力する第2の処理を実行し、前記複数の単体パケットに含まれ、かつ、前記第2の単体パケット以外の単体パケットである第3の単体パケットが当該送信装置に到着すると、前記第3の単体パケットに対して前記第1の処理を実行し、前記複数の単体パケットのうちの最後の単体パケットが当該送信装置に到着したと判定すると、前記最後の単体パケットを前記送信バッファにコピーし、前記最後の単体パケットが前記第2の単体パケットに該当するとき前記最後の単体パケットに対して前記第2の処理を実行し、前記最後の単体パケットが前記第3の単体パケットに該当するとき前記最後の単体パケットに対して前記第1の処理を実行し、前記最後の単体パケットが当該送信装置に到着したと判定したタイミングから所定の時間が経過すると、前記送信バッファに格納された全ての単体パケットを含む第2の符号化パケットを生成して前記送信手段へ出力する第3の処理を実行し、
前記送信手段は、前記第1の単体パケットを前記処理手段から受けると、その受けた第1の単体パケットを単独で送信する第1の送信処理を実行し、前記結合パケットを前記処理手段から受けると、その受けた結合パケットを送信する第2の送信処理を実行し、前記第3の単体パケットまたは前記最後の単体パケットを前記処理手段から受けると、その受けた第3の単体パケットまたは最後の単体パケットに対して第1の送信処理を実行し、前記第2の符号化パケットを前記処理手段から受けると、その受けた第2の符号化パケットを単独で送信する第3の送信処理を実行する、送信装置。 A transmitting device that receives packets constituting real-time traffic from an application and transmits the received packets,
a transmission buffer for storing packets for transmission;
a processing means for performing transmission processing on the packet;
a transmitting means for transmitting the packet received from the processing means;
When the packet is the first simple packet arriving at the transmitting device at a first time interval, the processing means converts the first simple packet when the first simple packet arrives at the transmitting device. performing a first process of copying to the transmission buffer and outputting the first single packet to the transmission means, wherein the packets are continuously transmitted at a second time interval shorter than the first time interval; When the plurality of single packets arrive at the transmitting device, a second single packet selected from single packets other than the single packet arriving at the transmitting device first among the plurality of single packets arrives at the transmitting device. Then, the second simple packet is copied to the transmission buffer, and the first encoded packet including the simple packet that arrived at the transmitting device earlier than the second simple packet is added to the second simple packet. and performing a second process of generating a combined packet and outputting the combined packet to the transmission means, and performing a second process of outputting the combined packet to the transmission means, and a third unit packet which is included in the plurality of single packets and is a single packet other than the second single packet. arrives at the transmission device, the first processing is performed on the third single packet, and it is determined that the last single packet among the plurality of single packets has arrived at the transmission device. Then, the last single packet is copied to the transmission buffer, and when the last single packet corresponds to the second single packet, the second processing is performed on the last single packet, and the last single packet is copied to the transmission buffer. corresponds to the third single packet, the first processing is performed on the last single packet, and a predetermined time is determined from the timing when it is determined that the last single packet has arrived at the transmitting device. After a lapse of time, executing a third process of generating a second encoded packet including all the single packets stored in the transmission buffer and outputting the second encoded packet to the transmission means;
The transmission means, when receiving the first single packet from the processing means, executes a first transmission process of transmitting the received first single packet alone, and receives the combined packet from the processing means. Then, a second transmission process for transmitting the received combined packet is executed, and when the third single packet or the last single packet is received from the processing means, the received third single packet or the last single packet is transmitted. executing a first transmission process for a single packet, and when receiving the second encoded packet from the processing means, executing a third transmission process for transmitting the received second encoded packet alone; send device.
前記第2の単体パケットまたは前記最後の単体パケットよりも早く当該送信装置に到着した単体パケットのうちで最後に当該送信装置に到着した単体パケットである第4の単体パケットが当該送信装置に到着すると、前記第4の単体パケットが前記送信手段によって送信された後に、前記第2の単体パケットまたは前記最後の単体パケットよりも早く当該送信装置に到着した単体パケットを含む前記第1の符号化パケットを生成する第1のサブ処理を実行し、前記第1のサブ処理を実行した後に、前記第2の単体パケットまたは前記最後の単体パケットが当該送信装置に到着すると、前記第1の符号化パケットを前記第2の単体パケットまたは前記最後の単体パケットに付与して前記結合パケットを生成して前記送信手段へ出力する第2のサブ処理を実行する、請求項1に記載の送信装置。 The processing means, in the second processing,
When a fourth simplex packet, which is the simplex packet arriving at the transmitting apparatus last among the simplex packets arriving at the transmitting apparatus earlier than the second simplex packet or the last simplex packet, arrives at the transmitting apparatus. , after the fourth single packet is transmitted by the transmitting means, the first encoded packet including the single packet that arrived at the transmitting device earlier than the second single packet or the last single packet; and when the second simple packet or the last simple packet arrives at the transmission device after the first sub-process is executed, the first encoded packet is 2. The transmitting apparatus according to claim 1, which executes a second sub-process of adding said second unitary packet or said last unitary packet to generate said combined packet and outputting it to said transmitting means.
前記複数の基地局は、前記第1の単体パケット、前記結合パケット、前記第3の単体パケット、前記最後の単体パケットおよび前記第2の符号化パケットを前記送信手段から前記有線ケーブルを介して受信し、その受信した第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを相互に異なる通信経路によって送信する、請求項1から請求項4のいずれか1項に記載の送信装置。 Further comprising a plurality of base stations connected to the transmitting means by wired cables,
The plurality of base stations receive the first single packet, the combined packet, the third single packet, the last single packet and the second encoded packet from the transmitting means via the wired cable. and transmitting the received first simple packet, the combined packet, the third simple packet, the last simple packet and the second encoded packet through mutually different communication paths. 1. The transmitter according to claim 1.
単体パケットを格納するための第1の受信バッファと、
符号化パケットを格納するための第2の受信バッファと、
前記第1および第3の単体パケット、前記結合パケット、および前記第2の符号化パケットを受信する受信手段と、
前記結合パケットを前記第1の符号化パケットと前記第2の単体パケットとに分離する分離手段と、
前記第1の単体パケットまたは前記第3の単体パケットのうち、前記第1の受信バッファに格納されていない単体パケットまたは受信済でない単体パケットを前記第1の受信バッファに格納するとともに前記第1の受信バッファに格納された単体パケットを前記送信装置からパケットによって送信された情報を利用するアプリケーションへ伝送する受信処理を実行する第1の処理手段と、
前記受信手段によって受信された符号化パケットに基づいて、前記第1の受信バッファに格納されていない複数の単体パケットのみを含む第3の符号化パケットを生成し、その生成した第3の符号化パケットを前記第2の受信バッファに格納する処理を前記第1および第2の符号化パケットの全てについて実行する第2の処理手段と、
前記第2の受信バッファから複数の前記第3の符号化パケットを読み出し、その読み出した複数の第3の符号化パケットについての連立方程式を解いて前記複数の第3の符号化パケットを復号する復号処理を実行する復号手段とを備え、
前記第1の処理手段は、前記復号手段によって復号された単体パケットに対して前記受信処理を更に実行する、受信装置。 A receiving device for receiving a packet from the transmitting device according to any one of claims 1 to 5,
a first receive buffer for storing single packets;
a second receive buffer for storing encoded packets;
receiving means for receiving the first and third simple packets, the combined packet, and the second encoded packet;
separating means for separating the combined packet into the first encoded packet and the second single packet;
storing in the first reception buffer a single packet that has not been stored in the first reception buffer or that has not been received from the first single packet or the third single packet; first processing means for executing a reception process of transmitting the single packet stored in the reception buffer to an application that uses the information transmitted by the packet from the transmission device;
generating a third encoded packet containing only a plurality of single packets not stored in the first reception buffer, based on the encoded packet received by the receiving means, and performing the generated third encoded packet; second processing means for executing a process of storing packets in the second reception buffer for all of the first and second encoded packets;
Decoding for reading the plurality of third encoded packets from the second reception buffer and solving simultaneous equations for the read plurality of third encoded packets to decode the plurality of third encoded packets and decryption means for performing processing,
The receiving device, wherein the first processing means further executes the receiving process on the single packet decoded by the decoding means.
前記第1の処理手段は、前記1個の単体パケットを含む符号化パケットを単体パケットに変換し、その変換した単体パケットに対して前記受信処理を実行する、請求項7または請求項8に記載の受信装置。 When the encoded packet obtained by removing the information of the single packet stored in the first reception buffer from the encoded packet received by the receiving means includes one single packet, the second processing means , further erasing the encoded packet including the single packet from the second receive buffer;
9. The first processing means according to claim 7, wherein said first processing means converts an encoded packet including said one single packet into a single packet, and executes said reception processing on the converted single packet. receiver.
前記複数の基地局の各々は、前記受信したパケットを前記有線ケーブルを介して前記受信手段へ出力する、請求項6から請求項9のいずれか1項に記載の受信装置。 further comprising a plurality of base stations connected to the receiving means by a wired cable and receiving packets transmitted from the transmitting device via a plurality of mutually different communication paths;
10. The receiving apparatus according to any one of claims 6 to 9, wherein each of said plurality of base stations outputs said received packet to said receiving means via said wired cable.
請求項6から請求項10のいずれか1項に記載の受信装置とを備える無線通信システム。 a transmitter according to any one of claims 1 to 5;
A radio communication system comprising the receiving device according to any one of claims 6 to 10.
処理手段が、前記パケットに対して送信用の処理を実行する第1のステップと、
送信手段が、前記処理手段から受けたパケットを送信する第2のステップとをコンピュータに実行させ、
前記処理手段は、前記第1のステップにおいて、前記パケットが第1の時間間隔で前記送信装置に到着する第1の単体パケットであるとき、前記第1の単体パケットが前記送信装置に到着すると、送信用のパケットを格納するための送信バッファに前記第1の単体パケットをコピーするとともに前記第1の単体パケットを前記送信手段へ出力する第1の処理を実行し、前記パケットが前記第1の時間間隔よりも短い第2の時間間隔で連続して前記送信装置に到着する複数の単体パケットであるとき、前記複数の単体パケットのうちの最初に前記送信装置に到着した単体パケット以外の単体パケットから選択された第2の単体パケットが前記送信装置に到着すると、前記第2の単体パケットを前記送信バッファにコピーし、前記第2の単体パケットよりも早く前記送信装置に到着した単体パケットを含む第1の符号化パケットを前記第2の単体パケットに付与した結合パケットを生成するとともに前記結合パケットを前記送信手段へ出力する第2の処理を実行し、前記複数の単体パケットに含まれ、かつ、前記第2の単体パケット以外の単体パケットである第3の単体パケットが前記送信装置に到着すると、前記第3の単体パケットに対して前記第1の処理を実行し、前記複数の単体パケットのうちの最後の単体パケットが前記送信装置に到着したと判定すると、前記最後の単体パケットを前記送信バッファにコピーし、前記最後の単体パケットが前記第2の単体パケットに該当するとき前記最後の単体パケットに対して前記第2の処理を実行し、前記最後の単体パケットが前記第3の単体パケットに該当するとき前記最後の単体パケットに対して前記第1の処理を実行し、前記最後の単体パケットが前記送信装置に到着したと判定したタイミングから所定の時間が経過すると、前記送信バッファに格納された全ての単体パケットを含む第2の符号化パケットを生成して前記送信手段へ出力する第3の処理を実行し、
前記送信手段は、前記第2のステップにおいて、前記第1の単体パケットを前記処理手段から受けると、その受けた第1の単体パケットを単独で送信する第1の送信処理を実行し、前記結合パケットを前記処理手段から受けると、その受けた結合パケットを送信する第2の送信処理を実行し、前記第3の単体パケットまたは前記最後の単体パケットを前記処理手段から受けると、その受けた第3の単体パケットまたは最後の単体パケットに対して第1の送信処理を実行し、前記第2の符号化パケットを前記処理手段から受けると、その受けた第2の符号化パケットを単独で送信する第3の送信処理を実行する、コンピュータに実行させるためのプログラム。 A program for causing a computer to execute transmission of packets in a transmission device that receives packets constituting real-time traffic from an application,
a first step in which a processing means performs processing for transmission on the packet;
causing the computer to execute a second step in which the transmitting means transmits the packet received from the processing means;
The processing means, in the first step, when the packet is a first single packet arriving at the transmitting device at a first time interval, when the first single packet arrives at the transmitting device, executing a first process of copying the first single packet to a transmission buffer for storing a packet for transmission and outputting the first single packet to the transmitting means, wherein the packet is the first single packet; When a plurality of single packets arrive at the transmitting device continuously at a second time interval shorter than the time interval, a single packet other than the single packet arriving at the transmitting device first among the plurality of single packets. When a second simplex packet selected from arrives at the transmitting device, copying the second simplex packet to the transmission buffer, including simplex packets arriving at the transmitting device earlier than the second simplex packet. performing a second process of generating a combined packet by adding a first encoded packet to the second single packet and outputting the combined packet to the transmitting means, wherein the unit packet is included in the plurality of single packets; , when a third single packet which is a single packet other than the second single packet arrives at the transmitting device, the first processing is performed on the third single packet, and the plurality of single packets are processed. When it is determined that the last single packet has arrived at the transmitting device, the last single packet is copied to the transmission buffer, and when the last single packet corresponds to the second single packet, the last single packet is obtained. performing the second processing on the packet, performing the first processing on the last single packet when the last single packet corresponds to the third single packet, and performing the last single packet; generating a second encoded packet including all single packets stored in the transmission buffer and outputting the second encoded packet to the transmission means when a predetermined time has elapsed from the timing at which it is determined that the packet has arrived at the transmission device; Execute the process of 3,
The transmitting means, in the second step, when receiving the first single packet from the processing means, performs a first transmission process of transmitting the received first single packet independently, and When a packet is received from the processing means, a second transmission process for transmitting the received combined packet is executed, and when the third single packet or the last single packet is received from the processing means, the received second performing the first transmission processing on the 3 single packets or the last single packet, and upon receiving the second encoded packet from the processing means, transmitting the received second encoded packet alone; A program for causing a computer to execute a third transmission process.
前記第2の単体パケットまたは前記最後の単体パケットよりも早く前記送信装置に到着した単体パケットのうちで最後に前記送信装置に到着した単体パケットである第4の単体パケットが前記送信装置に到着すると、前記第4の単体パケットが前記送信手段によって送信された後に、前記第2の単体パケットまたは前記最後の単体パケットよりも早く前記送信装置に到着した単体パケットを含む前記第1の符号化パケットを生成する第1のサブ処理を実行し、前記第1のサブ処理を実行した後に、前記第2の単体パケットまたは前記最後の単体パケットが前記送信装置に到着すると、前記第1の符号化パケットを前記第2の単体パケットまたは前記最後の単体パケットに付与して前記結合パケットを生成して前記送信手段へ出力する第2のサブ処理を実行する、請求項12に記載のコンピュータに実行させるためのプログラム。 The processing means, in the second processing of the first step,
When a fourth simplex packet, which is the simplex packet arriving at the transmitting apparatus last among the simplex packets arriving at the transmitting apparatus earlier than the second simplex packet or the last simplex packet, arrives at the transmitting apparatus. , after the fourth simple packet is transmitted by the transmitting means, the first encoded packet including the simple packet which arrived at the transmitting device earlier than the second simple packet or the last simple packet; and when the second simplex packet or the final simplex packet arrives at the transmitting device after the first subprocess is executed, the first encoded packet is 13. The method for causing a computer according to claim 12 to execute a second sub-process of adding to said second unitary packet or said last unitary packet to generate said combined packet and outputting it to said transmitting means. program.
前記複数の基地局は、前記第1の単体パケット、前記結合パケット、前記第3の単体パケット、前記最後の単体パケットおよび前記第2の符号化パケットを前記送信手段から前記有線ケーブルを介して受信し、その受信した第1の単体パケット、結合パケット、第3の単体パケット、最後の単体パケットおよび第2の符号化パケットを相互に異なる通信経路によって送信する、請求項12から請求項15のいずれか1項に記載のコンピュータに実行させるためのプログラム。 In the second step, the transmitting means transmits the first single packet, the combined packet, the third single packet, the last single packet and the second encoded packet via a wired cable. transmit to multiple base stations,
The plurality of base stations receive the first single packet, the combined packet, the third single packet, the last single packet and the second encoded packet from the transmitting means via the wired cable. and transmitting the received first simple packet, the combined packet, the third simple packet, the last simple packet and the second coded packet through mutually different communication paths. 1. A program to be executed by the computer according to 1.
受信手段が、前記第1および第3の単体パケット、前記結合パケット、および前記第2の符号化パケットを受信する第1のステップと、
分離手段が、前記結合パケットを前記第1の符号化パケットと前記第2の単体パケットとに分離する第2のステップと、
第1の処理手段が、前記第1の単体パケットまたは前記第3の単体パケットのうち、第1の受信バッファに格納されていない単体パケットまたは受信済でない単体パケットを前記第1の受信バッファに格納するとともに前記第1の受信バッファに格納された単体パケットを前記パケットによって送信された情報を利用するアプリケーションへ伝送する受信処理を実行する第3のステップと、
第2の処理手段が、前記第1のステップにおいて受信された符号化パケットに基づいて、前記第1の受信バッファに格納されていない複数の単体パケットのみを含む第3の符号化パケットを生成し、その生成した第3の符号化パケットを第2の受信バッファに格納する処理を前記第1および第2の符号化パケットの全てについて実行する第4のステップと、
復号手段が、前記第2の受信バッファから複数の前記第3の符号化パケットを読み出し、その読み出した複数の第3の符号化パケットについての連立方程式を解いて前記複数の第3の符号化パケットを復号する復号処理を実行する第5のステップとをコンピュータに実行させ、
前記第1の処理手段は、前記第3のステップにおいて、前記復号手段によって復号された単体パケットに対して前記受信処理を更に実行する、コンピュータに実行させるためのプログラム。 A program for causing a computer to receive a packet transmitted by causing a computer to execute the program according to any one of claims 12 to 16,
a first step in which receiving means receives said first and third simplex packets, said combined packet and said second encoded packet;
a second step in which the separating means separates the combined packet into the first encoded packet and the second simple packet;
A first processing means stores, in the first reception buffer, a single packet which is not stored in the first reception buffer or which has not been received among the first single packet or the third single packet. a third step of executing a reception process for transmitting the single packet stored in the first reception buffer to an application that uses the information transmitted by the packet;
A second processing means generates a third encoded packet including only a plurality of single packets not stored in the first reception buffer, based on the encoded packet received in the first step. a fourth step of storing the generated third encoded packet in a second reception buffer for all of the first and second encoded packets;
Decoding means reads the plurality of third encoded packets from the second reception buffer and solves simultaneous equations for the read plurality of third encoded packets to obtain the plurality of third encoded packets. cause the computer to execute a fifth step of executing a decryption process of decrypting the
A program to be executed by a computer, wherein the first processing means further executes the receiving process on the single packet decoded by the decoding means in the third step.
前記第1の処理手段は、前記第3のステップにおいて、前記1個の単体パケットを含む符号化パケットを単体パケットに変換し、その変換した単体パケットに対して前記受信処理を実行する、請求項18または請求項19に記載のコンピュータに実行させるためのプログラム。 The second processing means, in the fourth step, the encoded packet after removing the information of the single packet stored in the first reception buffer from the encoded packet received in the first step. contains one simplex packet, further clearing the encoded packet containing the single simplex packet from the first receive buffer;
3. The first processing means, in the third step, converts the encoded packet including the single unit packet into a unit packet, and executes the reception processing on the unit packet thus converted. A program to be executed by the computer according to claim 18 or 19.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021012882A JP2022116618A (en) | 2021-01-29 | 2021-01-29 | Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021012882A JP2022116618A (en) | 2021-01-29 | 2021-01-29 | Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022116618A true JP2022116618A (en) | 2022-08-10 |
Family
ID=82749661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021012882A Pending JP2022116618A (en) | 2021-01-29 | 2021-01-29 | Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022116618A (en) |
-
2021
- 2021-01-29 JP JP2021012882A patent/JP2022116618A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101426097B1 (en) | Information processing apparatus and method, and program | |
EP1009138B1 (en) | Data transmission method | |
US7061936B2 (en) | Method and apparatus for packet transmission with header compression | |
KR101385265B1 (en) | Data communication system, data sending apparatus, data sending method, data receiving apparatus, and data receiving method | |
JP2017130955A (en) | Apparatus for receiving data on digital broadcasting system | |
WO2004109440A2 (en) | Error correction apparatus and method | |
KR102444168B1 (en) | Transmission device, transmission method, reception device, and reception method | |
JP2007143113A (en) | Transmitting/receiving system, transmitter, and transmitting method | |
JPH0955776A (en) | Packet communication device | |
CN114765690A (en) | Data packet transmission method and related equipment | |
JP2005333568A (en) | Data transmission device, its program and its method, data reception device, its program and its method | |
KR100672920B1 (en) | Transmitter, receiver, communication system, and communication method | |
JP2022116618A (en) | Transmitter, receiver, wireless communication system equipped therewith, program, and computer readable recording medium in which program is recorded | |
CN114126084A (en) | Data processing method, base station, terminal and storage medium | |
JPH1056480A (en) | Multimedia multiplex communication system | |
KR20180029511A (en) | Network apparatus, transmitter and packet transmitting method for next-generation terrestrial broadcasting service | |
JP3822508B2 (en) | Packet transmission system and data transmission device and data reception device thereof | |
CN114979793A (en) | Live broadcast data transmission method, device, system, equipment and medium | |
CN112954405A (en) | Data packet recovery method, device and system | |
JP2023117762A (en) | Transmitting device, receiving device, wireless communication system equipped with those, and program | |
JP2022145581A (en) | Communication system, program, and computer-readable recording medium having recorded program | |
JPH09200745A (en) | Transmitting method for inter-frame compression-encoded information and device for providing the same | |
JP2010193045A (en) | Method for transmitting radio data, and radio data transmitting/receiving apparatus | |
Detchart et al. | RFC 9407 Tetrys: An On-the-Fly Network Coding Protocol | |
KR100906098B1 (en) | Communication method and device in communication system and recording medium for performing the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231215 |