JP3935463B2 - Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system - Google Patents
Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system Download PDFInfo
- Publication number
- JP3935463B2 JP3935463B2 JP2003355095A JP2003355095A JP3935463B2 JP 3935463 B2 JP3935463 B2 JP 3935463B2 JP 2003355095 A JP2003355095 A JP 2003355095A JP 2003355095 A JP2003355095 A JP 2003355095A JP 3935463 B2 JP3935463 B2 JP 3935463B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- new
- generated
- predetermined time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims description 114
- 230000005540 biological transmission Effects 0.000 title claims description 68
- 238000000034 method Methods 0.000 claims description 26
- 238000010586 diagram Methods 0.000 description 14
- 230000007423 decrease Effects 0.000 description 3
- 238000004904 shortening Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Description
この発明は、無線通信においてデータの欠落が少なく、かつ、待ち時間の少ない無線通信システム、およびそれにおけるデータの送受信をコンピュータに実行させるためのプログラムに関するものである。 The present invention relates to a wireless communication system with less data loss and less waiting time in wireless communication, and a program for causing a computer to perform data transmission / reception in the wireless communication system.
無線通信の規格の1つであるIEEE802.11のアドホックモードコミュニケーションは、ベースステーションが必要なく、いつでも、どこでも通信可能である。そして、最近、このIEEE802.11を用いて、有線ネットワークでは実現し得なかった新しいサービスを実現することが期待されている。 IEEE 802.11 ad-hoc mode communication, which is one of the standards for wireless communication, does not require a base station and can communicate anytime, anywhere. Recently, it has been expected to realize a new service that could not be realized in a wired network by using the IEEE 802.11.
無線パケット通信を用いて、小さな制御パケットをリアルタイムで相互に交換するようなアプリケーションでは、待ち時間が深刻な問題になる。したがって、リアルタイム性が要求されるアプリケーションでは、制御オーバーヘッドがTCP(Transmission Control Protocol)通信よりも少ないUDP(User Datagram Protocol)通信が用いられることが多い。また、複数の端末に同じデータを送信するブロードキャスト通信が用いられる場合が多い。 In applications where small control packets are exchanged in real time using wireless packet communication, latency is a serious problem. Therefore, in applications that require real-time performance, UDP (User Datagram Protocol) communication is often used because the control overhead is less than TCP (Transmission Control Protocol) communication. Also, broadcast communication that transmits the same data to a plurality of terminals is often used.
このように、リアルタイム性が要求されるアプリケーションでは、ブロードキャスト通信においてUDPを用いてデータを送信することが多い。 As described above, in applications that require real-time performance, data is often transmitted using UDP in broadcast communication.
一方、データをまとめて送信する方法として、過去に送信したデータを抽出し、新たに送信するデータと合わせて送信データを作成して送信する方法(特許文献1)、およびIPプロトコルの通信環境において用いられるIPパケットを複数個集めて1つのデータリンクフレームに格納して送信する方法(特許文献2)が知られている。
しかし、ブロードキャスト通信においては、待ち時間を少なくできるが、データの再送が行なわれないため、同一電波範囲内に存在するノードが極めて少ない場合でも衝突によるパケットロスが発生するという問題がある。 However, in broadcast communication, the waiting time can be reduced, but since data is not retransmitted, there is a problem that packet loss occurs due to collision even when there are very few nodes within the same radio wave range.
また、ユニキャスト通信では、データの再送を行なうため、衝突によるパケットロスを低減できるが、送信側と受信側との間で1対1の通信が行なわれるため、待ち時間が増加するという問題がある。 In unicast communication, data retransmission is performed, so that packet loss due to collision can be reduced. However, since one-to-one communication is performed between the transmission side and the reception side, there is a problem that waiting time increases. is there.
更に、特許文献1は、データ再送に伴う通信トラフィックを減少させるものであり、また、特許文献2は、無線パケット通信システムにおいてスループットを向上させるものであり、特許文献1および2に記載された通信方式では、データの欠落を抑制し、かつ、無線通信の待ち時間を短縮することが困難であるという問題がある。
Furthermore,
そこで、この発明は、かかる問題を解決するためになされたものであり、その目的は、データの欠落を抑制し、かつ、無線通信の待ち時間を短縮可能な無線通信システムを提供することである。 Accordingly, the present invention has been made to solve such a problem, and an object of the present invention is to provide a wireless communication system capable of suppressing the loss of data and reducing the waiting time of wireless communication. .
また、この発明の別の目的は、データの欠落を抑制し、かつ、無線通信の待ち時間を短縮可能な無線通信システムにおいてデータの送受信をコンピュータに実行させるためのプログラムを提供することである。 Another object of the present invention is to provide a program for causing a computer to execute data transmission / reception in a wireless communication system capable of suppressing data loss and shortening the waiting time of wireless communication.
この発明によれば、無線通信システムは、送信機と、受信機とを備える。送信機は、k(kは、1≦k≦Rを満たす自然数、Rは、2以上の自然数)個のデータを任意の時間が経過する毎に1回送信することによりk個のデータの各々をk回以上送信する。受信機は、無線通信空間においてk個のデータを受信し、k個のデータのうち新しいデータを再生する。そして、送信機は、第1および第2のモードのいずれかのモードによってk個のデータを所定時間毎に又は所定時間内でデータが生成される毎に1回送信することによりk個のデータの各々をR回以上送信する。第1のモードは、新しいデータが所定時間内に生成されると、生成順になるように新しいデータが既に送信されたデータに追加されたデータを送信するモードである。第2のモードは、新しいデータが所定時間内に生成されないとき、所定時間経過時に送信機に保持されたデータを送信するモードである。 According to the present invention, the wireless communication system includes a transmitter and a receiver. Each transmitter transmits k data (k is a natural number satisfying 1 ≦ k ≦ R, R is a natural number equal to or greater than 2) once every arbitrary time, thereby transmitting each of k data. Is transmitted k times or more. The receiver receives k pieces of data in the wireless communication space and reproduces new data among the k pieces of data. Then, the transmitter transmits k data once every predetermined time or every time data is generated within a predetermined time in any one of the first and second modes. Are transmitted R times or more. In the first mode, when new data is generated within a predetermined time, the new data is added to the already transmitted data so as to be generated in order of generation. The second mode is a mode for transmitting data held in the transmitter when a predetermined time has elapsed when new data is not generated within the predetermined time .
好ましくは、第1のモードは、新しいデータが所定時間内に生成されると、R個のデータのうち最も古いデータが削除され、かつ、生成順になるように新しいデータが既に送信されたR−1個のデータに追加されたR個のデータを送信するモードと、新しいデータが所定時間内に生成されると、生成順になるように新しいデータが既に送信されたデータに追加されたデータを送信するモードとからなる。 Preferably, in the first mode, when new data is generated within a predetermined time, the oldest data among the R data is deleted, and the new data has already been transmitted so as to be generated. A mode in which R data added to one data is transmitted, and when new data is generated within a predetermined time, the data added to the data that has already been transmitted so that the new data is generated is transmitted. Mode .
好ましくは、送信機は、データを生成するデータ生成部と、R個のデータを記憶可能なバッファと、データを送信する送信部と、データ生成部によって新しいデータが所定時間内に生成されると、生成順になるように新しいデータをバッファに記憶されたデータに追加したk個のデータを作成して送信部へ出力し、データ生成部によって新しいデータが所定時間内に生成されないとき、バッファに記憶されたデータを読出して送信部へ出力するデータ制御部とを含む。 Preferably, the transmitter generates new data within a predetermined time by a data generation unit that generates data, a buffer capable of storing R data, a transmission unit that transmits data, and the data generation unit. Create k data by adding new data to the data stored in the buffer so as to be generated and output it to the transmission unit. When the data generation unit does not generate new data within a predetermined time, store it in the buffer. A data control unit that reads out the read data and outputs the read data to the transmission unit .
好ましくは、データ制御部は、新しいデータが所定時間内に生成されたとき、バッファに記憶されているデータの個数がR個であるか否かを判定し、バッファに記憶されているデータの個数がR個であるとき、R個のデータのうち最も古いデータを削除し、かつ、生成順になるように新しいデータをR−1個のデータに追加して送信部へ出力する。 Preferably, the data controller determines whether or not the number of data stored in the buffer is R when new data is generated within a predetermined time, and determines the number of data stored in the buffer. When R is R, the oldest data among the R data is deleted, and new data is added to R-1 data so as to be generated and output to the transmission unit .
好ましくは、データ制御部は、新しいデータが所定時間内に生成されたとき、バッファに記憶されているデータの個数がR個であるか否かを判定し、バッファに記憶されているデータの個数がR個よりも少ないとき、バッファに記憶されているデータの個数がR個になるまで、生成順になるように新しいデータをバッファに記憶されているデータに追加して送信部へ出力する。 Preferably, the data controller determines whether or not the number of data stored in the buffer is R when new data is generated within a predetermined time, and determines the number of data stored in the buffer. When R is less than R, new data is added to the data stored in the buffer so as to be generated and output to the transmission unit until the number of data stored in the buffer reaches R, in order of generation .
好ましくは、バッファは、順次大きくなるシーケンス番号に対応付けて、順次生成された新しいデータを記憶する。データ制御部は、データ生成部によって新しいデータが生成されると、バッファにおいて用いられている最大のシーケンス番号に連続するシーケンス番号を新しいデータに付与し、バッファが満杯であるとき、最も小さいシーケンス番号に対応するデータを削除し、かつ、シーケンス番号順になるように新しいデータをR−1個のデータに追加して送信部へ出力し、バッファが満杯でないとき、シーケンス番号順になるように新しいデータを追加して送信部へ出力する。 Preferably, the buffer stores new data sequentially generated in association with sequentially increasing sequence numbers. When new data is generated by the data generation unit, the data control unit gives the new data a sequence number consecutive to the maximum sequence number used in the buffer, and when the buffer is full, the smallest sequence number And the new data is added to the R-1 data so as to be in the order of the sequence numbers and is output to the transmitting unit. When the buffer is not full, the new data is assigned in the order of the sequence numbers. Add and output to the transmitter .
好ましくは、データ制御部は、新しいデータが所定時間内に生成されない回数が所定回数に達したとき、バッファに記憶されたデータの送信部への出力を中止して待機する。 Preferably, when the number of times that new data is not generated within a predetermined time reaches a predetermined number , the data control unit stops the output of the data stored in the buffer to the transmission unit and waits .
好ましくは、第1のモードは、新しいデータが所定時間内に生成されると、k個のデータのうち最も古いデータが削除され、かつ、R回送信されるように新しいデータが既に送信されたk−1個のデータに追加されたk個のデータを送信するモードである。 Preferably, in the first mode, when new data is generated within a predetermined time, the oldest data of k data is deleted, and new data has already been transmitted so as to be transmitted R times. In this mode, k data added to k-1 data are transmitted .
好ましくは、送信機は、k個のデータを所定時間毎に又は所定時間内でデータが生成される毎に1回送信することによりk個のデータの各々をR回繰返し送信する。送信機は、データを生成するデータ生成部と、R個のデータを記憶可能なバッファと、データを送信する送信部と、データ生成部によって新しいデータが所定時間内に生成されると、バッファに記憶されたデータのうち最も古いデータを削除し、R回送信されるように新しいデータを追加したk個のデータを作成して送信部へ出力し、データ生成部によって新しいデータが所定時間内に生成されないとき、バッファに記憶されたデータを読出して送信部へ出力するデータ制御部とを含む。 Preferably, the transmitter repeatedly transmits each of the k data R times by transmitting the k data once every predetermined time or every time data is generated within the predetermined time. A transmitter generates a data, a buffer capable of storing R data, a transmitter that transmits data, and a new data generated by the data generator within a predetermined time. The oldest data among the stored data is deleted, k data with new data added so as to be transmitted R times are generated and output to the transmission unit, and the new data is generated within a predetermined time by the data generation unit. And a data control unit that reads data stored in the buffer and outputs the data to the transmission unit when it is not generated .
好ましくは、データ制御部は、バッファが空になると、更にk個のデータの送信を中止して待機する。 Preferably, when the buffer becomes empty , the data control unit further stops transmission of k data and waits .
好ましくは、バッファは、R個のデータを記憶可能なR個の番地を有し、順次大きくなるシーケンス番号が生成順に付与されたk個のデータをk個の番地に格納する。データ制御部は、データ生成部によって新しいデータが生成されると、バッファにおいて用いられている最大のシーケンス番号に連続するシーケンス番号を新しいデータに付与し、バッファの1番目の番地に格納されたデータを削除して残りのデータを番地番号が1つ小さくなる番地へシフトし、かつ、新しいデータをバッファのR番目の番地に追加して送信部へ出力する。 Preferably, the buffer has R addresses capable of storing R data, and stores k data to which sequentially increasing sequence numbers are assigned in the order of generation. When new data is generated by the data generation unit, the data control unit assigns a sequence number continuous to the maximum sequence number used in the buffer to the new data, and the data stored in the first address of the buffer Is deleted, the remaining data is shifted to an address with a smaller address number, and new data is added to the Rth address of the buffer and output to the transmitter .
好ましくは、データ制御部は、更に、所定時間内に新しいデータが生成されないとき、バッファの1番目の番地に格納されたデータを削除して残りのデータを番地番号が1つ小さくなる番地へシフトし、バッファに格納されたデータを読出して送信部へ出力する。 Preferably, the data control unit further deletes the data stored in the first address of the buffer and shifts the remaining data to an address having a smaller address number when new data is not generated within a predetermined time. Then, the data stored in the buffer is read and output to the transmission unit .
また、この発明によれば、コンピュータに実行させるためのプログラムは、無線通信空間に配置された送信機と受信機とを備える無線通信システムにおいてデータの送受信をコンピュータに実行させるためのプログラムであって、k(kは、1≦k≦Rを満たす自然数、Rは、2以上の自然数)個のデータを任意の時間が経過する毎に1回送信することによりk個のデータの各々をk回以上送信機が送信する第1のステップと、受信機が無線通信空間においてk個のデータを受信し、k個のデータのうち新しいデータを再生する第2のステップとをコンピュータに実行させ、第1のステップにおいて、送信機は、k個のデータを所定時間毎に又は所定時間内でデータが生成される毎に1回送信することによりk個のデータの各々をR回以上送信し、第1のステップは、新たなデータを所定時間内に生成する第1のサブステップと、新たなデータが所定時間内に生成されると、生成順になるように新しいデータを送信機のバッファに記憶されたデータに追加して送信する第2のサブステップと、新たなデータが所定時間内に生成されないとき、バッファに記憶されたデータを読み出して送信する第3のサブステップとを含む。 Further, according to the present invention, a program for causing a computer to execute is a program for causing a computer to execute data transmission / reception in a wireless communication system including a transmitter and a receiver arranged in a wireless communication space. , K (k is a natural number satisfying 1 ≦ k ≦ R, R is a natural number of 2 or more) data is transmitted once every arbitrary time, so that each of the k data is k times. The computer executes the first step transmitted by the transmitter and the second step in which the receiver receives k data in the wireless communication space and reproduces new data out of the k data. In one step, the transmitter sends each of k data R times or more by transmitting k data once every predetermined time or every time data is generated within a predetermined time. The first step includes a first sub-step for generating new data within a predetermined time, and a buffer for the transmitter so that the new data is generated in the order of generation when the new data is generated within the predetermined time. A second sub-step for transmitting in addition to the data stored in the memory, and a third sub-step for reading and transmitting the data stored in the buffer when new data is not generated within a predetermined time .
好ましくは、第2のサブステップは、新しいデータが所定時間内に生成されたとき、バッファに記憶されているデータの個数がR個であるか否かを判定するステップAと、バッファに記憶されているデータの個数がR個であるとき、R個のデータのうち最も古いデータを削除するステップBと、生成順になるように新しいデータをR−1個のデータに追加してR個のデータを送信するステップCとを含む。 Preferably, the second sub-step is stored in the buffer with step A for determining whether the number of data stored in the buffer is R when new data is generated within a predetermined time. When the number of data is R, Step B for deleting the oldest data out of the R data, and adding new data to the R-1 data so as to be in the order of generation, R data Including step C.
好ましくは、第2のサブステップは、バッファに記憶されているデータの個数がR個よりも少ないとき、生成順になるように新しいデータをバッファに記憶されているデータに追加して送信するステップDをさらに含む。 Preferably, in the second sub-step, when the number of data stored in the buffer is less than R, new data is added to the data stored in the buffer so as to be generated in order of generation and transmitted. Further included .
好ましくは、ステップDは、バッファに記憶されているデータの個数がR個になるまで繰返し実行される。 Preferably, step D is repeatedly executed until the number of data stored in the buffer reaches R.
好ましくは、第3のサブステップは、新たなデータが所定時間内に生成されない回数が所定回数よりも少ないか否かを判定するステップと、新たなデータが所定時間内に生成されない回数が所定回数よりも少ないとき、バッファに記憶されたデータを読出して送信するステップと、新たなデータが所定時間内に生成されない回数が所定回数に到達したとき、バッファに記憶されたデータの送信を中止して待機するステップとを含む。 Preferably, the third sub-step includes a step of determining whether or not the number of times that new data is not generated within a predetermined time is less than the predetermined number of times, and the number of times that new data is not generated within a predetermined time is a predetermined number of times. When the number of times that the number of times new data has not been generated within a predetermined time has reached a predetermined number of times, the transmission of the data stored in the buffer is stopped. Waiting .
好ましくは、第2のサブステップは、新たなデータが所定時間内に生成されると、バッファに記憶されている最も古いデータを削除し、新しいデータがR回送信されるように新しいデータを削除された最も古いデータ以外の残りのデータに追加して送信し、第3のサブステップは、新たなデータが所定時間内に生成されないとき、バッファに記憶されている最も古いデータを削除し、その削除された最も古いデータ以外の残りのデータを送信する。 Preferably, the second sub-step deletes the oldest data stored in the buffer when new data is generated within a predetermined time and deletes the new data so that the new data is sent R times The third sub-step deletes the oldest data stored in the buffer when no new data is generated within a given time, Send the remaining data other than the oldest deleted data .
好ましくは、第1のステップは、送信機のバッファが空になると、バッファに記憶されたデータの送信を中止して待機する第4のサブステップをさらに含む。 Preferably, the first step further includes a fourth sub-step of stopping and waiting for transmission of data stored in the buffer when the transmitter buffer becomes empty .
この発明による無線通信システムにおいては、送信機は、任意の時間ごとに1つのデータが生成されると、最も古いデータを削除し、新たに生成されたデータを追加して受信機へ送信する。従って、送信機は、同じデータの送信回数を任意の時間ごとに増加させながら、各データをR回以上送信する。そして、受信機は、送信機から受信したデータのうち、新しく受信したデータを再生する。その結果、同じデータが再送されることにより、無線通信空間におけるデータの欠落が抑制され、それに伴って無線通信の待ち時間が少なくなる。 In the wireless communication system according to the present invention, when one data is generated every arbitrary time, the transmitter deletes the oldest data, adds the newly generated data, and transmits the newly generated data to the receiver. Therefore, the transmitter transmits each piece of data R times or more while increasing the number of transmissions of the same data every arbitrary time. Then, the receiver reproduces newly received data among the data received from the transmitter. As a result, when the same data is retransmitted, loss of data in the wireless communication space is suppressed, and accordingly, the waiting time for wireless communication is reduced.
従って、この発明によれば、データの欠落を抑制し、かつ、待ち時間を短縮できる。 Therefore, according to the present invention, data loss can be suppressed and waiting time can be shortened.
本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.
図1は、この発明の実施の形態による無線通信システムの概略ブロック図である。無線通信システム100は、端末装置11〜1N(Nは、2以上の自然数)からなる。端末装置11〜1Nは、無線通信空間30に配置される。そして、端末装置11〜1Nは、それぞれアンテナ21〜2Nを備え、IEEE802.11のアドホックモードコミュニケーションを用いて無線通信空間30において相互にデータを送受信する。より具体的には、端末装置11〜1Nは、k(kは、1≦k≦Rを満たす自然数、Rは、2以上の自然数)個のデータからなるパケットをブロードキャスト通信により所定時間毎に又は所定時間内にデータが生成される毎に1回送受信することにより、k個のデータの各々をR回以上送受信する。
FIG. 1 is a schematic block diagram of a radio communication system according to an embodiment of the present invention. The
なお、端末装置11〜1Nは、ブロードキャスト通信によりパケットを送受信するため、以下の説明においては、端末装置11〜1Nのうち、1個の端末装置11を送信機TXとし、N−1個の端末装置12〜1Nを受信機RXとして説明する。
Since the
図2は、図1に示す端末装置11の機能ブロック図である。また、図3及び図4は、パケット構成図である。端末装置11は、送受信部110と、バッファ120と、データ制御部130と、データ生成部140と、データ再生部150と、カウンタ160とを含む。
FIG. 2 is a functional block diagram of the
送受信部110は、図1に示すアンテナ21を含む。そして、送受信部110は、データ制御部130から受けたパケットを無線通信空間30において他の端末装置12〜1Nへブロードキャスト通信により送信し、無線通信空間30において他の端末装置12〜1Nからパケットを受信してデータ制御部130へ出力する。
The transmission /
バッファ120は、R個のデータD(1),D(2),D(3),・・・,D(R)を記憶可能である。そして、R個のデータD(1),D(2),D(3),・・・,D(R)は、それぞれ、p−R+1,p−R+2,p−R+3,・・・,pのシーケンス番号が付与されている。従って、バッファ120は、R個のデータD(1),D(2),・・・,D(R)をシーケンス番号p−R+1,p−R+2,p−R+3,・・・,pに対応付けて記憶する。
The
データ制御部130は、データの送信時、次の動作を行なう。データ制御部130は、タイマーを内蔵しており、データを送受信部110へ出力すると、タイマーにより所定時間Tを計測する。そして、データ制御部130は、所定時間T内にデータ生成部140から新たなデータD(NEW)を受けると、バッファ120に格納されたデータが満杯か否かを判定する。データ制御部130は、バッファ120に格納されたデータが満杯であるとき、最小のシーケンス番号p−R+1が付与されたデータD(1)を削除し、バッファ120に格納されているデータに付与された最大のシーケンス番号pに連続するシーケンス番号p+1を新たなデータD(NEW)に付与する。そして、データ制御部130は、シーケンス番号p+1を付与したデータD(NEW)をシーケンス番号pが付与されたデータD(R)に続けてバッファ120に格納する。
このように、データ制御部130は、バッファ120に格納されたデータが満杯であるとき、最小のシーケンス番号が付与されたデータ(最も古いデータ)を削除し、バッファ120に格納されているデータに付与されたシーケンス番号に連続するシーケンス番号を新たに生成されたデータに付与してバッファ120に格納する。これにより、バッファ120は、R個のデータを格納する。
As described above, when the data stored in the
また、データ制御部130は、バッファ120に格納されたデータが満杯でないとき、即ち、m(mは、m<Rを満たす自然数)個のデータD(1),D(2),D(3),・・・,D(m)がバッファ120に格納されているとき、バッファ120に格納されているデータに付与された最大のシーケンス番号p−R+mに連続するシーケンス番号p−R+m+1を新たなデータD(NEW)に付与する。そして、データ制御部130は、シーケンス番号p−R+m+1を付与したデータD(NEW)をシーケンス番号p−R+mが付与されたデータD(m)に続けてバッファ120に格納する。この場合、データ制御部130は、バッファ120に格納されたデータが満杯になるまで、即ち、R個のデータがバッファ120に格納されるまで、新たに生成されたデータをバッファ120に格納されたデータに追加する。そして、バッファ120に格納されたデータがR個に達すると、上述した方法により、バッファ120に格納されたデータの個数をR個に保持する。
Further, the
データ制御部130は、上述した2つの方法により、新たに生成されたデータD(NEW)にシーケンス番号を付与し、バッファ120に格納する。そして、データ制御部130は、新たに生成されたデータD(NEW)を追加したデータD(2),D(3),・・・,D(R),D(NEW)またはD(1),D(2),・・・,D(m),D(NEW)をバッファ120から読出し、その読出したデータD(2),D(3),・・・,D(R),D(NEW)またはD(1),D(2),・・・,D(m),D(NEW)にヘッダを付与して1つのパケットを作成する。
The data control
データ制御部130は、1つのパケットを作成すると、その作成した1つのパケットを送受信部110へ出力し、内蔵したタイマーをリセットして所定時間Tを計測する。
When creating one packet, the
また、データ制御部130は、所定時間T内にデータ生成部140から新たなデータD(NEW)を受けないとき、バッファ120に格納されているデータD(1),D(2),・・・,D(j)(jは、j≦Rを満たす自然数)を読出し、その読出したデータD(1),D(2),・・・,D(j)にヘッダを付与して1つのパケットを作成する。そして、データ制御部130は、作成した1つのパケットを送受信部110へ出力し、所定時間T内に新たなデータD(NEW)が生成されなかったことを示す信号NGDを生成してカウンタ160へ出力する。
When the
データ制御部130は、所定時間T内に新たなデータD(NEW)が生成されないことが所定回数に達するまで、所定時間T経過時にバッファ120に記憶されているデータD(1),D(2),・・・,D(j)から1つのパケットを作成して送受信部110へ出力する。
The data control
より具体的には、データ制御部130は、カウンタ160からカウント値CNTを受け、その受けたカウント値CNTが所定回数以下であるとき、所定時間T経過時にバッファ120に記憶されているデータD(1),D(2),・・・,D(j)をバッファ120から読出し、その読出したデータD(1),D(2),・・・,D(j)から1つのパケットを作成して送受信部110へ出力し、カウント値CNTが所定回数に到達すると、バッファ120に記憶されているデータD(1),D(2),・・・,D(j)の送信を中止して待機する。
More specifically, the
データ制御部130は、終了コマンドFNHを受けるまで上述した動作を継続する。
The data control
上述した所定時間Tは、使用するアプリケーションで許容される最大待ち時間をDとし、同時に使用する端末装置の数をn(nは、1≦n≦Nを満たす自然数)としたとき、T=D/(n×R)によって決定される。即ち、所定時間Tは、送信先の端末装置の数が増加する程、または1つのパケットで送信するデータの個数が増加する程、短く設定される。 The predetermined time T described above is T = D, where D is the maximum waiting time allowed by the application to be used, and n is the number of terminal devices used simultaneously (n is a natural number satisfying 1 ≦ n ≦ N). / (N × R). That is, the predetermined time T is set shorter as the number of destination terminal devices increases or as the number of data transmitted in one packet increases.
データ制御部130は、所定時間T毎に又は所定時間T内にデータが生成される毎に上述した方法によって1つのパケットを作成して送受信部110へ出力するので、端末装置11は、所定時間T毎に又は所定時間T内にデータが生成される毎に1つのパケットをブロードキャスト通信により送信する。
Since the
また、上述したデータD(1),D(2),・・・,D(R)の各々は、比較的小さいデータサイズを有する。例えば、データD(1),D(2),・・・,D(R)の各々は、パケットが分割されるサイズよりも小さいサイズからなる。より好ましくは、データD(1),D(2),・・・,D(R)の各々のデータサイズは、データサイズとRとの積が1500バイトよりも小さくなるように決定される。 Further, each of the data D (1), D (2),..., D (R) described above has a relatively small data size. For example, each of the data D (1), D (2),..., D (R) has a size smaller than the size into which the packet is divided. More preferably, the data size of each of the data D (1), D (2),..., D (R) is determined such that the product of the data size and R is smaller than 1500 bytes.
データ制御部130は、データの受信時、次の動作を行なう。データ制御部130は、送受信部110から1つのパケットを受けると、そのパケットに含まれるk個のデータをバッファ120に格納する。そして、データ制御部130は、k個のデータの中に、既に受信したデータと同じデータが含まれているか否かを判定する。
データ制御部130は、同じデータが含まれているとき、重複したデータを削除し、新しいデータのみをバッファ120から読出してデータ再生部150へ出力する。また、データ制御部130は、k個のデータの中に、既に受信したk個のデータと同じデータが含まれていないとき、受信したk個のデータの全てをバッファ120から読出してデータ再生部150へ出力する。
When the same data is included, the
送受信部110は、図4に示すように、タイミングt=T1,T2,T3においてそれぞれR個のデータD(1),D(2),・・・,D(R);D(3),D(4),・・・,D(R+1),D(R+2);D(R+3),D(R+4),・・・,D(2R+2)を受信する。即ち、送受信部110は、所定時間T毎に又は所定時間T内にデータが生成される毎にR個のデータを受信する。
As shown in FIG. 4, the transmission /
そして、R個のデータD(1),D(2),・・・,D(R)が受信された後に、R個のデータD(3),D(4),・・・,D(R+1),D(R+2)が受信されたときに、データ制御部130は、R個のデータD(3),D(4),・・・,D(R+1),D(R+2)に含まれるデータのうち、既に受信されたR個のデータD(1),D(2),・・・,D(R)と重複するデータD(3),D(4),・・・,D(R)を削除し、データD(R+1),D(R+2)を抽出する。
Then, after R data D (1), D (2),..., D (R) are received, R data D (3), D (4),. When R + 1) and D (R + 2) are received, the
また、R個のデータD(3),D(4),・・・,D(R+1),D(R+2)が受信された後に、R個のデータD(R+3),D(R+4),・・・,D(2R+2)が受信されたときに、データ制御部130は、R個のデータD(R+3),D(R+4),・・・,D(2R+2)が既に受信されたR個のデータD(3),D(4),・・・,D(R+1),D(R+2)を含んでいないと判定したとき、R個のデータD(R+3),D(R+4),・・・,D(2R+2)を全て抽出する。
In addition, after R data D (3), D (4),..., D (R + 1), D (R + 2) are received, R data D (R + 3), D (R + 4),. .., When D (2R + 2) is received, the
これにより、パケットロスが生じても、そのパケットロスが生じたデータ以降のデータを再度受信して再生できる。 Thereby, even if a packet loss occurs, the data after the data in which the packet loss has occurred can be received and reproduced again.
データ生成部140は、新たなデータD(NEW)を生成し、その生成したデータD(NEW)をデータ制御部130へ出力する。データ再生部150は、データ制御部130から受けたデータを再生する。カウンタ160は、データ制御部130から信号NGDを受けると、カウント値CNTを1だけインクリメントし、そのインクリメントしたカウント値CNTをデータ制御部130へ出力する。
The
端末装置12〜1Nの各々は、端末装置11と同じ構成からなる。
Each of the
図5は、図1に示す送信機TX(端末装置11)における動作を説明するためのフローチャートである。送信機TXにおける動作が開始されると、データ生成部140は、新たなデータD(NEW)を生成し、その生成したデータD(NEW)をデータ制御部130へ出力する。そして、データ制御部130は、終了コマンドFNHを受信したか否かを判定し(ステップS1)、終了コマンドFNHを受信したとき、送信機TXにおける動作が終了する。
FIG. 5 is a flowchart for explaining an operation in transmitter TX (terminal device 11) shown in FIG. When the operation in the transmitter TX is started, the
一方、終了コマンドFNHが受信されなかったとき、データ制御部130は、データ生成部140からデータD(NEW)を受けたか否かによってデータが生成されたか否かを判定する(ステップS2)。
On the other hand, when the end command FNH is not received, the
データが生成されたとき、データ制御部130は、カウンタ160を初期化し(ステップS3)、バッファ120が満杯か否かを判定する(ステップS4)。より具体的には、データ制御部130は、バッファ120に格納されたデータに付与されたシーケンス番号の最大値と最小値との差がRであるか否かによりバッファ120が満杯であるか否かを判定する。この場合、データ制御部130は、最大値と最小値との差がRであるとき、バッファ120は満杯であると判定し、最大値と最小値との差がRでないとき、バッファ120は満杯でないと判定する。
When data is generated, the
ステップS4において、バッファ120が満杯であると判定されたとき、データ制御部130は、バッファ120に格納されたデータD(1),D(2),D(3),・・・,D(R)のうち、1番目のデータであるデータD(1)を削除し(ステップS5)、バッファ120内のR−1個のデータD(2),D(3),・・・,D(R)を1つずつシフトさせる(ステップS6)。そして、データ制御部130は、新たに生成されたデータD(NEW)にシーケンス番号p+1を付与し(ステップS7)、新しいデータD(NEW)をバッファ120のR番目のデータにセットする(ステップS8)。即ち、データ制御部130は、シーケンス番号pが付与されたデータD(R)に続けてデータD(NEW)をセットする(図3参照)。
When it is determined in step S4 that the
その後、データ制御部130は、バッファ120からR個のデータD(2),D(3),・・・,D(R),D(NEW)を読出し、その読出したR個のデータD(2),D(3),・・・,D(R),D(NEW)にヘッダを付加して1つのパケットを作成する。そして、データ制御部130は、作成した1つのパケットを送受信部110へ出力し、送受信部110は、1つのパケットを無線通信空間30において受信機RXへ送信する(ステップS9)。その後、データ制御部130は、内蔵したタイマーをセットし、所定時間Tを計測する(ステップS10)。そして、一連の動作は、ステップS1へ移行する。
Thereafter, the
一方、ステップS4において、バッファ120が満杯でないと判定されたとき、データ制御部130は、新しいデータD(NEW)にシーケンス番号p−R+m+1を付与する(ステップS11)。この場合、データ制御部130は、データD(NEW)が生成された時点において、バッファ120に記憶されているデータD(1),D(2),D(3),・・・,D(m)に付与されたシーケンス番号p−R+1,p−R+2,p−R+3,・・・,p−R+mのうち、最大値p−R+mに連続するシーケンス番号p−R+m+1をデータD(NEW)に付与する(図3参照)。
On the other hand, when it is determined in step S4 that the
そして、データ制御部130は、シーケンス番号が連続するように、新たなデータD(NEW)をバッファ120内のデータD(1),D(2),D(3),・・・,D(m)に付加する(ステップS12)。即ち、データ制御部130は、データD(m)に続けてデータD(NEW)をセットする(図3参照)。
Then, the
その後、データ制御部130は、バッファ120からデータD(1),D(2),D(3),・・・,D(m),D(NEW)を読出し、その読出したデータD(1),D(2),D(3),・・・,D(m),D(NEW)にヘッダを付加して1つのパケットを作成する。そして、データ制御部130は、作成した1つのパケットを送受信部110へ出力する。送受信部110は、1つのパケットを無線通信空間30において受信機RXへ送信する(ステップS9)。その後、ステップS10が実行され、一連の動作はステップS1へ移行する。
Thereafter, the
また、ステップS2において、データが生成されなかったと判定されたとき、データ制御部130は、内蔵したタイマーが計測した時間により一定時間Tが経過したか否かを判定する(ステップS13)。そして、一定期間Tが経過していないとき、一連の動作はステップS1へ移行する。
Further, when it is determined in step S2 that data has not been generated, the
一方、一定時間Tが経過すると(ステップS13)、データ制御部130は、信号NGDを生成してカウンタ160へ出力し、カウンタ160は、信号NGDに応じてカウント値CNTを1だけインクリメントし(ステップS14)、そのインクリメントしたカウント値CNTをデータ制御部130へ出力する。
On the other hand, when the predetermined time T has elapsed (step S13), the
そして、データ制御部130は、カウント値CNTが所定回数(上限)に達したか否かを判定し(ステップS15)、カウント値CNTが所定回数(上限)に達しているとき、データの送信を中止する。その後、一連の動作はステップS1へ移行する。
Then, the
一方、ステップS15において、カウント値CNTが所定回数(上限)に達していないと判定されたとき、データ制御部130は、一定期間Tが経過した時点でバッファ120内に格納されているデータD(1),D(2),D(3),・・・,D(j)を読出し、その読出したデータD(1),D(2),D(3),・・・,D(j)にヘッダを付加して1つのパケットを作成する。その後、データ制御部130は、1つのパケットを送受信部110へ出力し、送受信部110は、1つのパケットを無線通信空間30において受信機RXへ送信する(ステップS9)。そして、上述したステップS10が実行され、一連の動作はステップS1へ移行する。
On the other hand, when it is determined in step S15 that the count value CNT has not reached the predetermined number of times (upper limit), the
図5に示すフローチャートにおいて、ステップS5〜S9の経路は、バッファ120が満杯である場合において、新たなデータD(NEW)が生成されると、最小のシーケンス番号が付与されたデータD(1)を削除し、新たなデータD(NEW)を付加してR個のデータからなる1つのパケットを送信する経路である。つまり、ステップS5〜S9の経路は、既に送信したR個のデータD(1),D(2),D(3),・・・,D(R)のうち、最も古いデータD(1)を新たなデータD(NEW)が生成されるごとに1つづつ削除し、残りのR−1個のデータを1つづつ送信回数が増加する方向へシフトさせながら新たなデータD(NEW)を追加してR個のデータを送信する経路である。
In the flowchart shown in FIG. 5, when the
したがって、ステップS5〜S9の経路においては、R個のデータD(1),D(2),D(3),・・・,D(R)の各々は、R回送信される。つまり、送信機TXは、データの生成レートが大きいときは、同じデータをR回送信することにしたものである。 Therefore, in the route of steps S5 to S9, each of R data D (1), D (2), D (3),..., D (R) is transmitted R times. That is, when the data generation rate is high, the transmitter TX transmits the same data R times.
また、ステップS11,S12,S9の経路は、バッファ120に空きがある場合において、新たなデータD(NEW)をバッファ120内のデータに追加しながら送信する経路である。そして、この場合、バッファ120内に格納された最も古いデータD(1)は、バッファ120内のデータの個数がR個に達するまで削除されないので、データD(1),D(2),D(3),・・・,D(m)の各々は、R回送信される。つまり、この場合も、送信機TXは、同じデータをR回送信する。
The paths in steps S11, S12, and S9 are paths for transmitting new data D (NEW) while adding to the data in the
更に、ステップS13,S14,S15,S9の経路は、一定期間T内に新たなデータD(NEW)が生成されなかった場合、その時点でバッファ120内に格納されたデータD(1),D(2),D(3),・・・,D(j)を送信する経路である。そして、データD(1),D(2),D(3),・・・,D(j)を一旦送信した後、ステップS2において、データが生成されたと判定されると、ステップS5〜S9の経路またはステップS11,S12,S9の経路によって送信されるので、ステップS13,S14,S15,S9の経路で送信されたデータD(1),D(2),D(3),・・・,D(j)の各々は、カウント値CNTが上限に達するまで、R回以上送信される。つまり、送信機TXは、データの生成レートが小さいときは、同じデータをR回以上送信することにしたものである。
Furthermore, the route of steps S13, S14, S15, and S9 is based on the data D (1), D stored in the
このように、この発明においては、送信機TXは、同じデータをR回以上送信する。その結果、同じデータが再送されることにより、無線通信空間30におけるデータの欠落が短い待ち時間で抑制される。従って、この発明によれば、データの欠落を短い待ち時間で抑制できる。
Thus, in the present invention, the transmitter TX transmits the same data R times or more. As a result, when the same data is retransmitted, data loss in the
図6は、図1に示す受信機RX(端末装置12〜1N)における動作を説明するためのフローチャートである。受信機RXにおける動作が開始されると、受信機RXのデータ制御部130は、終了コマンドFNHを受信したか否かを判定し(ステップS21)、終了コマンドFNHを受信したとき、一連の動作は終了する。
FIG. 6 is a flowchart for explaining the operation in receiver RX (
一方、データ制御部130が終了コマンドFNHを受信しないとき、送受信部110は、無線通信空間30において送信機TXから送信されたパケットを受信し(ステップS22)、その受信したパケットをデータ制御部130へ出力する。
On the other hand, when the
データ制御部130は、送受信部110からのパケットをバッファ120に格納する(ステップS23)。そして、データ制御部130は、既に受信したデータD(1),D(2),・・・,D(k)と同じデータが、新たに受信したデータD(2),D(3),・・・,D(k+1)に含まれるか否かを判定する。つまり、データ制御部130は、既に受信したデータD(1),D(2),・・・,D(k)に付与されたシーケンス番号と同じシーケンス番号が付与されたデータが新たに受信したデータD(2),D(3),・・・,D(k+1)中に存在するか否かを判定する(ステップS24)。
The data control
同じシーケンス番号が付与されたデータが存在するとき、データ制御部130は、重複したデータを削除し、新しいデータD(k+1)のみを抽出する。そして、データ制御部130は、その抽出したデータD(k+1)をバッファ120から読出してデータ再生部150へ出力する。データ再生部150は、データ制御部130からのデータD(k+1)を再生する(ステップS25)。
When data with the same sequence number is present, the
一方、ステップS24において、同じシーケンス番号が付与されたデータが存在しないと判定されたとき、データ制御部130は、新たに受信したデータD(k+2),D(k+3),・・・,D(k+R+1)をバッファ120から読出してデータ再生部150へ出力する。そして、データ再生部150は、D(k+2),D(k+3),・・・,D(k+R+1)を再生する(ステップS26)。その後、ステップS1へ移行し、終了コマンドFNHを受信すると、受信機RXにおける動作は終了する。
On the other hand, when it is determined in step S24 that there is no data to which the same sequence number is assigned, the
図7は、例としてMIDI(Musical Instruments Digital Interface)による合奏を想定し、ブロードキャスト通信を用いた場合における端末装置数に対するパケットエラー率の変化を示す図である。ここで、MIDIデータは、3Byteとする。図7において、横軸は、端末装置数を表わし、縦軸は、パケットエラー率を表わす。また、曲線k1,k2,k3,k4は、それぞれ、送信回数が1回、2回、4回及び5回の場合における端末装置数に対するパケットエラー率の変化を示す。更に、端末装置数の最大値は9個としている。この9個は、パケットの再送を行なわない場合、衝突により約0.3のパケットエラー率が生じる端末装置数である。 FIG. 7 is a diagram showing a change in the packet error rate with respect to the number of terminal apparatuses when broadcast is used assuming an ensemble by MIDI (Musical Instruments Digital Interface) as an example. Here, the MIDI data is 3 bytes. In FIG. 7, the horizontal axis represents the number of terminal devices, and the vertical axis represents the packet error rate. Curves k1, k2, k3, and k4 indicate changes in the packet error rate with respect to the number of terminal apparatuses when the number of transmissions is 1, 2, 4, and 5, respectively. Furthermore, the maximum number of terminal devices is nine. These nine are the number of terminal devices that cause a packet error rate of about 0.3 due to collision when the packet is not retransmitted.
パケットエラー率は、各送信回数において端末装置数の増加に伴って増加する。また、各端末装置数において、パケットエラー率は、送信回数の増加に伴って減少する。そして、パケットを5回再送すれば、端末装置数が9個の場合でも、衝突によるパケットエラー率は10−4まで減少する。従って、同じパケットを5回送信することにより、パケットエラー率は、0.3から10−4まで大幅に減少する。 The packet error rate increases as the number of terminal devices increases at each transmission count. In each terminal device, the packet error rate decreases as the number of transmissions increases. If the packet is retransmitted five times, the packet error rate due to collision decreases to 10 −4 even when the number of terminal devices is nine. Therefore, by transmitting the same packet five times, the packet error rate is greatly reduced from 0.3 to 10 −4 .
このことは、ブロードキャスト通信において、同じデータを再送することがパケットエラー率の低減に有効であることを意味する。パケットエラー率を減少させる他の方法として、自分以外の端末に対してユニキャスト通信を用いて個別に送信する方法が考えられる。リアルタイム性が要求されるアプリケーションにおいては、待ち時間が問題となるので、これら二つの方法の待ち時間を比較する。ここでも、無線環境におけるMIDIを用いた合奏を想定し、データサイズは、3Byteとする。 This means that in broadcast communication, retransmitting the same data is effective in reducing the packet error rate. As another method of reducing the packet error rate, a method of individually transmitting to terminals other than itself using unicast communication is conceivable. In applications that require real-time performance, latency is a problem, so the latency of these two methods is compared. Again, assuming a ensemble using MIDI in a wireless environment, the data size is 3 bytes.
図8は、端末装置数に対する待ち時間の変化を示す図である。図8において、横軸は、端末装置数を表わし、縦軸は、待ち時間を表わす。また、符号Uは、ユニキャスト通信を用いて、自分以外の端末に対して個別に送信した場合を表わし、符号Bは、ブロードキャスト通信で、同じパケットを個別に5回送信した場合を表わす。 FIG. 8 is a diagram illustrating a change in waiting time with respect to the number of terminal devices. In FIG. 8, the horizontal axis represents the number of terminal devices, and the vertical axis represents the waiting time. Symbol U represents a case where unicast communication is used to individually transmit to a terminal other than itself, and symbol B represents a case where the same packet is individually transmitted five times by broadcast communication.
ユニキャスト通信Uおよびブロードキャスト通信Bの両方において、待ち時間は、端末装置数の増加に伴って多くなる。また、各端末装置数において、ブロードキャスト通信Bは、ユニキャスト通信Uよりも少ない待ち時間を有する。そして、待ち時間は、ブロードキャスト通信の場合、20msecよりも少なく、ユニキャスト通信の場合、50msecよりも少ない。従って、端末装置数が同じ場合、ブロードキャスト通信を用いて、同じパケットを個別に複数回送信した方が、ユニキャスト通信を用いるより待ち時間を短縮させることができる。 In both unicast communication U and broadcast communication B, the waiting time increases as the number of terminal devices increases. In addition, the broadcast communication B has a lower waiting time than the unicast communication U in each terminal device number. The waiting time is less than 20 msec for broadcast communication, and less than 50 msec for unicast communication. Therefore, when the number of terminal devices is the same, it is possible to reduce the waiting time by using the broadcast communication and individually transmitting the same packet a plurality of times than using the unicast communication.
図7および図8において説明した結果から、パケットエラー率を低減し、かつ、待ち時間を少なくするには、ブロードキャスト通信において同じパケットを複数回再送することが有効である。ここで、この方法をマルチプルブロードキャスト通信方式と呼ぶことにする。 From the results described with reference to FIGS. 7 and 8, it is effective to retransmit the same packet multiple times in broadcast communication in order to reduce the packet error rate and reduce the waiting time. Here, this method is called a multiple broadcast communication method.
ユニキャスト通信方式及びマルチプルブロードキャスト通信方式における待ち時間は、それぞれ、次の式(1)及び(2)によって決定される。 The waiting times in the unicast communication system and the multiple broadcast communication system are determined by the following equations (1) and (2), respectively.
TU=(N-1){(N+Q(N,CW))[(LD+LH)8/Trans+HU]+STU}・・・(1)
但し、TU:待ち時間、N:端末装置数、Q(N,CW):送信回数の期待値、CW:最小バックオフ、LD:データサイズ、LH:ヘッダサイズ、Trans:転送レート、HU:ユニキャスト通信におけるオーバーヘッド、STU:ユニキャスト通信における平均スロット時間
TMB-R=R{N[(LD+LH)8/Trans+HB]+STB}・・・(2)
但し、TMB-R:待ち時間、R:1つのパケットに含まれるデータの個数、HB:ブロードキャスト通信におけるオーバーヘッド、STB:ブロードキャスト通信における平均スロット時間
更に、この発明による通信方式の待ち時間は式(3)によって決定される。
T U = (N-1) {(N + Q (N, C W )) [(L D + L H ) 8 / Trans + H U ] + ST U } (1)
However, T U : Waiting time, N: Number of terminal devices, Q (N, C W ): Expected number of transmissions, C W : Minimum backoff, L D : Data size, L H : Header size, Trans: Transfer Rate, H U : Overhead in unicast communication, ST U : Average slot time in unicast communication
T MB-R = R {N [(L D + L H ) 8 / Trans + H B ] + ST B } (2)
However, T MB-R : Waiting time, R: Number of data included in one packet, H B : Overhead in broadcast communication, ST B : Average slot time in broadcast communication Further, the waiting time of the communication method according to the present invention is Determined by equation (3).
TCB-M=M<N{[R(LS+LD)+LH]8/Trans+HB}+STB>・・・(3)
但し、TCB-M:待ち時間、LS:シーケンス番号のバイト数、M:パケットの送信に最初に成功するときの送信回数
図9は、式(1)、(2)及び(3)によって表わされる待ち時間と端末装置数との関係を示す図である。図9において、横軸は、端末装置数を表わし、縦軸は、待ち時間を表わす。また、曲線k5,k6は、ユニキャスト通信方式の場合における待ち時間と端末装置数との関係を示し、直線k7,k9,k10は、この発明による通信方式の場合における待ち時間と端末装置数との関係を示し、直線k8は、マルチプルブロードキャスト通信方式の場合における待ち時間と端末装置数との関係を示す。
T CB-M = M <N {[R (L S + L D ) + L H ] 8 / Trans + H B } + ST B > (3)
However, T CB-M : Waiting time, L S : Number of bytes of sequence number, M: Number of transmissions when packet transmission succeeds for the first time FIG. 9 is expressed by equations (1), (2) and (3) It is a figure which shows the relationship between the waiting time represented and the number of terminal devices. In FIG. 9, the horizontal axis represents the number of terminal devices, and the vertical axis represents the waiting time. Curves k5 and k6 show the relationship between the waiting time and the number of terminal devices in the case of the unicast communication method, and the straight lines k7, k9 and k10 show the waiting time and the number of terminal devices in the case of the communication method according to the present invention. The straight line k8 indicates the relationship between the waiting time and the number of terminal devices in the case of the multiple broadcast communication method.
なお、曲線k5,k6においては、転送レートTransは、それぞれ、2[Mbps]及び11[Mbps]である。また、直線k7〜k10においては、転送レートTransは、2[Mbps]である。 In the curves k5 and k6, the transfer rates Trans are 2 [Mbps] and 11 [Mbps], respectively. On the straight lines k7 to k10, the transfer rate Trans is 2 [Mbps].
ユニキャスト通信方式においては、待ち時間TUは、端末装置数の増加に伴って急激に増加する。そして、待ち時間TUは、端末装置数が5個までは、40[msec]以下を保持する(曲線k5,k6参照)。 In unicast communication system, the waiting time T U sharply increases with an increase in the number of terminal devices. The waiting time T U is the number of terminal devices is up to five holds 40 [msec] or less (see curve k5, k6).
マルチプルブロードキャスト通信方式及びこの発明による通信方式においては、待ち時間TMB-R,TCB-Mは、ほぼ直線的に増加し、端末装置数が9個においても25[msec]以下に保持される。そして、この発明による通信方式においては、極めて高い確率でパケットの受信に最初に成功した時の送信回数が5回よりも少なくなるため、待ち時間TCB-Mをマルチプルブロードキャスト通信方式における待ち時間TMB-Rよりも少なくできる。 In the multiple broadcast communication system and the communication system according to the present invention, the waiting times T MB-R and T CB-M increase almost linearly, and even when the number of terminal devices is nine, it is maintained at 25 [msec] or less. . In the communication system according to the present invention, since the number of transmissions when receiving a packet for the first time with a very high probability is less than 5, the waiting time T CB-M is set to the waiting time T CB-M in the multiple broadcast communication system. Less than MB-R .
このように、上述した図5及び図6に示すフローチャートに従って同じデータをR回以上送受信することにより、受信機RXは、衝突によるパケットロスを低減し、かつ、待ち時間を少なくして送信機TXからデータを受信できる。 In this way, by transmitting and receiving the same data R times or more according to the flowcharts shown in FIGS. 5 and 6 described above, the receiver RX can reduce the packet loss due to collision and reduce the waiting time, thereby reducing the transmitter TX. Can receive data from.
この発明においては、図1に示す端末装置11〜1Nは、図10に示す端末装置11Aからなっていてもよい。図10は、図1に示す端末装置11〜1Nの他の機能ブロック図である。また、図11は、パケット構成図である。端末装置11Aは、端末装置11のカウンタ160を削除し、データ制御部130をデータ制御部130Aに代えたものであり、その他は、端末装置11と同じである。
In the present invention, the
バッファ120は、R個のデータD(1)〜D(R)をR個の番地B(1)〜B(R)に格納している。データ制御部130Aは、所定時間T内に新たなデータD(NEW)が生成されると、バッファ120に格納されたR個のデータD(1)〜D(R)のうち、シーケンス番号が最も小さいデータD(1)(最も古いデータ)を削除し、データD(2)〜D(R)を番地番号が1つ小さくなる番地B(1)〜B(R−1)へシフトする。
The
そして、データ制御部130Aは、バッファ120に格納されているデータに付与された最大のシーケンス番号pに連続するシーケンス番号p+1を新たなデータD(NEW)に付与するとともに、シーケンス番号p+1を付与したデータD(NEW)をバッファ120のR番目の番地B(R)に格納する。
Then, the
このように、データ制御部130Aは、所定時間T内に新たなデータが生成されると、最小のシーケンス番号が付与されたデータ(最も古いデータ)を削除し、バッファ120に格納されているデータに付与されたシーケンス番号に連続するシーケンス番号を新たに生成されたデータに付与してR番目の番地B(R)に格納する。これにより、バッファ120は、R個のデータを格納する。
As described above, when new data is generated within the predetermined time T, the
また、データ制御部130Aは、バッファ120に格納されたデータが満杯でないとき、即ち、m個のデータD(1),D(2),D(3),・・・,D(m)がバッファ120に格納されているとき、m個のデータD(1),D(2),D(3),・・・,D(m)を送受信部110へ出力して送信した後、新たなデータD(NEW)が生成されると、最小のシーケンス番号を有するデータ(最も古いデータ)D(1)を削除し、データD(2)〜D(m)を番地番号が1つ小さくなる番地B(1)〜B(R−3)へシフトする。
Further, the
そして、データ制御部130Aは、バッファ120に格納されているデータに付与された最大のシーケンス番号p−R+mに連続するシーケンス番号p−R+m+1を新たなデータD(NEW)に付与するとともに、シーケンス番号p−R+m+1を付与したデータD(NEW)をR番目の番地B(R)に格納する。即ち、データ制御部130Aは、バッファ120が満杯でないとき、新たに生成されたデータD(NEW)を既にバッファ120に記憶されているデータD(2)〜D(m)に連続させずに、R番目の番地B(R)に格納する。これにより、各データをR回送信することができる。
Then, the
データ制御部130Aは、上述した2つの方法により、新たに生成されたデータD(NEW)にシーケンス番号を付与し、バッファ120に格納する。そして、データ制御部130Aは、新たに生成されたデータD(NEW)を追加したデータD(2),D(3),・・・,D(R),D(NEW)またはD(2),・・・,D(m),D(NEW)をバッファ120から読出し、その読出したデータD(2),D(3),・・・,D(R),D(NEW)またはD(2),・・・,D(m),D(NEW)にヘッダを付与して1つのパケットを作成する。
The data control
データ制御部130Aは、1つのパケットを作成すると、その作成した1つのパケットを送受信部110へ出力し、内蔵したタイマーをリセットして所定時間Tを計測する。
When the
また、データ制御部130Aは、所定時間T内に新たなデータD(NEW)が生成されないとき、バッファ120に格納されているデータD(1),D(2),・・・,D(j)(jは、j≦Rを満たす自然数)のうち、最小のシーケンス番号を有するデータ(最も古いデータ)D(1)を削除し、データD(2)〜D(j)を番地番号が1つ小さくなる番地B(1)〜B(R−3)へシフトする。
Further, the
そして、データ制御部130Aは、バッファ120に記憶されているデータデータD(2)〜D(j)を読出し、その読出したデータD(2),・・・,D(j)にヘッダを付与して1つのパケットを作成する。
Then, the
データ制御部130Aは、1つのパケットを作成すると、その作成した1つのパケットを送受信部110へ出力し、内蔵したタイマーをリセットして所定時間Tを計測する。
When the
このように、データ制御部130Aは、所定時間T内に新たなデータが生成されたとき、バッファ120が満杯か否かに拘わらず、バッファ120に記憶されたデータのうち最も古いデータを削除し、新たなデータをバッファ120の最後の番地B(R)に追加して送受信部110へ出力する。また、データ制御部130Aは、所定時間T内に新たなデータが生成されないとき、バッファ120に記憶されたデータのうち最も古いデータを削除し、残りのデータを送受信部110へ出力する。
In this way, when new data is generated within a predetermined time T, the
図12は、図1に示す送信機TXにおける動作を説明するための他のフローチャートである。送信機TXにおける動作が開始されると、データ生成部140は、新たなデータD(NEW)を生成し、その生成したデータD(NEW)をデータ制御部130Aへ出力する。そして、データ制御部130Aは、終了コマンドFNHを受信したか否かを判定し(ステップS31)、終了コマンドFNHを受信したとき、送信機TXにおける動作が終了する。
FIG. 12 is another flowchart for explaining the operation in transmitter TX shown in FIG. When the operation in the transmitter TX is started, the
一方、終了コマンドFNHが受信されなかったとき、データ制御部130Aは、バッファ120を初期化し(ステップS32)、データ生成部140からデータD(NEW)を受けたか否かによってデータが生成されたか否かを判定する(ステップS33)。
On the other hand, when the end command FNH is not received, the
データが生成されたとき、データ制御部130Aは、新たなデータにシーケンス番号を付与し(ステップS34)、新しいデータをバッファ120のR番目のデータにセットする(ステップS35)。その後、一連の動作はステップS37へ移行する。
When the data is generated, the
一方、ステップS33において、データが生成されなかったと判定されたとき、データ制御部130Aは、内蔵したタイマーにより計測した時間が一定時間Tを経過したか否かを判定し(ステップS36)、一定時間Tが経過していないとき、一連の動作は、ステップS33へ移行する。
On the other hand, when it is determined in step S33 that data has not been generated, the
ステップS35の後、又はステップS36において一定時間Tが経過したと判定されたとき、データ制御部130Aは、バッファ120が空であるか否かを判定し(ステップS37)、バッファ120が空であるとき、一連の動作はステップS31へ移行し、上述したステップS31〜S35、又はステップS36が繰返し実行される。
After step S35 or when it is determined in step S36 that the fixed time T has elapsed, the
ステップS37において、バッファ120が空でないと判定されたとき、データ制御部130Aは、バッファ120に記憶されたデータを読出し、その読出したデータにヘッダを追加して1つのパケットを作成して送受信部110へ出力する。そして、送受信部110は、データ制御部130Aから受けたパケットを受信機RXへ送信する(ステップS38)。
When it is determined in step S37 that the
その後、データ制御部130Aは、内蔵したタイマーをセットして一定時間Tを計測する(ステップS39)。そして、データ制御部130Aは、バッファ120に格納されたデータのうち、最小のシーケンス番号を有するデータ(最も古いデータ)D(1)を削除し、残りのデータD(2)〜D(R);D(2)〜D(m);D(2)〜D(j)を番地番号が1つ小さくなる番地へシフトする(ステップS40)。その後、一連の動作は、ステップS33へ移行する。
Thereafter, the
図12に示すフローチャートのステップS33〜S35,S37〜S40の経路は、所定時間T内に新たなデータが生成された場合、バッファ120に格納されているデータのうち最も古いデータを削除して残りのデータを番地番号が1つ小さくなる番地へシフトするとともに、新たなデータをバッファ120の最後の番地(R番目の番地)に追加して受信機RXへ送信する経路である。この経路においては、新たなデータが生成されると、バッファ120が満杯であるか否かに拘わらず、最も古いデータを削除する。また、新たなデータは、バッファ120の最後の番地に必ず格納される。従って、各データをR回送信できる。
In the flowchart of steps S33 to S35 and S37 to S40 in the flowchart shown in FIG. 12, when new data is generated within a predetermined time T, the oldest data among the data stored in the
また、ステップS33,S36〜S40の経路は、一定時間T内に新たなデータが生成されないとき、バッファ120に格納されているデータのうち最も古いデータを削除して残りのデータを受信機RXへ送信する経路である。
In addition, when new data is not generated within a predetermined time T, the path of steps S33 and S36 to S40 deletes the oldest data from the data stored in the
更に、ステップS31,S32,S33,S36,S37,S31の経路は、バッファ120が空になったとき、データを受信機RXへ送信するのを中止して待機し、その待機中に終了コマンドを受信すると一連の動作を終了する経路である。
Further, the path of steps S31, S32, S33, S36, S37, and S31, when the
このように、図12に示すフローチャートに従えば、バッファ120に記憶された各データをR回受信機RXへ送信できる。
Thus, according to the flowchart shown in FIG. 12, each data stored in the
なお、送信機TXのデータ制御部130Aは、新たに生成されたデータD(NEW)をバッファ120の最後の番地(R番目の番地)に格納すると説明したが、この発明においては、これに限らず、新たに生成されたデータD(NEW)をバッファ120に記憶されている最大のシーケンス番号p−R+mを有するデータD(m)に連続するように追加してもよい(図11に示す点線で示されたデータD(NEW)を参照)。
Note that the
この場合、新たに生成されたデータD(NEW)は、新たなデータD(NEW)を追加した後にバッファ120に記憶されているデータの個数に等しい回数だけ受信機RXへ送信される。新たなデータD(NEW)を追加する番地は、バッファ120に記憶されているデータの個数によって変化するので、バッファ120に記憶されているデータに連続して新たなデータD(NEW)を追加する場合、新たなデータD(NEW)は、一般にk回受信機RXへ送信される。
In this case, the newly generated data D (NEW) is transmitted to the receiver RX a number of times equal to the number of data stored in the
そして、バッファ120に記憶されているデータに連続して新たなデータD(NEW)を追加する場合、図12に示すステップS35は、「新しいデータD(NEW)をバッファ120に記憶されているデータに連続するk番目の番地にセットする」というステップに代えられる。
Then, when new data D (NEW) is continuously added to the data stored in the
端末装置11〜1Nとして図10に示す端末装置11Aが用いられる場合、送信機TXは、一般に、k個のデータを所定時間T毎に、又は所定時間T内に新たなデータD(NEW)が生成される毎に1回送信することによりk個のデータの各々をk回からR回の範囲で繰返し受信機RXへ送信する。
When the
そして、端末装置11〜1Nの各々が図2に示す機能ブロック図から構成される場合、送信機TXは、k個のデータの各々をR回以上送信するので、この発明による送信機TXは、k個のデータを所定時間T毎に、又は所定時間T内に新たなデータD(NEW)が生成される毎に1回送信することによりk個のデータの各々をk回以上受信機RXへ送信する。
When each of the
送信機TXは、所定時間T内に新たなデータD(NEW)が生成されたとき、その新たなデータD(NEW)の生成時にk個のデータを受信機RXへ送信し、所定時間T内に新たなデータD(NEW)が生成されないとき、所定時間Tの経過時にバッファ120に記憶されているデータを受信機RXへ送信するので、送信機TXがk個のデータを受信機RXへ送信するタイミングは、随時、変化する。即ち、送信機TXは、任意の時間でk個のデータを受信機RXへ送信する。
When new data D (NEW) is generated within a predetermined time T, the transmitter TX transmits k data to the receiver RX when the new data D (NEW) is generated. When new data D (NEW) is not generated, the data stored in the
この発明による無線通信システム100は、例えば、複数の端末装置が集まって、合奏する場合に適用される。即ち、この発明は、複数の端末装置において音楽を演奏する場合に適用される。この場合、音楽データは、各端末装置から他の端末装置へリアルタイムで送信される必要がある。各端末は、受信した音楽データをもとに再生された音に合わせて演奏するため、各データの待ち時間の許容範囲は、30〜40[msec]の範囲である。この範囲の待ち時間を超えると、音楽のテンポが徐々に遅くなる。また、複数の端末から音楽データを1つの端末に送信し、その1つの端末で音楽データを再生する場合にもこの発明を適用できる。
The
また、この発明による無線通信システム100は、1つの端末装置上でゲームを行なう場合に適用される。この場合、各端末装置は、ゲームに関係するデータを1つの端末装置へ送信し、1つの端末装置上で相手と対戦する。従って、この場合も、1つの端末装置におけるデータ再生にはリアルタイム性が要求される。
The
更に、この発明による無線通信システム100は、ロボット制御に適用される。
Furthermore, the
このように、この発明による無線通信システム100は、各種の場合に応用可能であるが、この発明においては、ユニキャスト通信方式及びブロードキャスト通信方式のいずれを用いるかは、要求される待ち時間に応じて決定される。より短い待ち時間が要求される場合、ブロードキャスト通信方式を用いて上述した方法によって同じデータをR回以上送信する。また、比較的長い待ち時間でも許容される場合、ユニキャスト通信方式を用いることもできる。
As described above, the
従って、この発明においては、通信方式は、要求される待ち時間に応じて決定される。 Therefore, in the present invention, the communication method is determined according to the required waiting time.
また、この発明による無線通信システム100においては、バッファ120に格納されるデータの個数Rと同じ回数以上、同じデータを送信することを特徴とする。従って、パケットエラー率を低下させようとすると、1つのパケットを構成するデータの個数Rを大きくすればよいことになる。
The
なお、上記においては、所定時間Tは、T=D/(n×R)によって決定されると説明したが、この発明においては、これに限らず、全ての場合において所定時間Tを一律に決定しても良いし、他の規則に従って決定しても良いし、ランダムに決定しても良い。 In the above description, it has been described that the predetermined time T is determined by T = D / (n × R). However, the present invention is not limited to this, and the predetermined time T is uniformly determined in all cases. Alternatively, it may be determined according to other rules, or may be determined randomly.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is shown not by the above description of the embodiments but by the scope of claims for patent, and is intended to include meanings equivalent to the scope of claims for patent and all modifications within the scope.
この発明は、データの欠落を抑制し、かつ、データの待ち時間を短縮可能な無線通信システムに適用される。また、この発明は、データの欠落を抑制し、かつ、無線通信の待ち時間を短縮可能な無線通信システムにおいてデータの送受信をコンピュータに実行させるためのプログラムに適用される。 The present invention is applied to a wireless communication system capable of suppressing data loss and shortening data waiting time. The present invention is also applied to a program for causing a computer to execute data transmission / reception in a wireless communication system capable of suppressing data loss and shortening the waiting time for wireless communication.
この発明は、特に、MIDIデータのようにパケットサイズの極めて小さい制御パケットをリアルタイムに交換するような場合に有効である。 The present invention is particularly effective in the case where control packets having a very small packet size such as MIDI data are exchanged in real time.
11〜1N 端末装置、21〜2N アンテナ、30 無線通信空間、100 無線通信システム、110 送受信部、120 バッファ、130,130A データ制御部、140 データ生成部、150 データ再生部、160 カウンタ。 11 to 1N terminal device, 21 to 2N antenna, 30 radio communication space, 100 radio communication system, 110 transceiver unit, 120 buffer, 130, 130A data control unit, 140 data generation unit, 150 data reproduction unit, 160 counter.
Claims (19)
無線通信空間において前記k個のデータを受信し、前記k個のデータのうち新しいデータを再生する受信機とを備え、
前記送信機は、第1および第2のモードのいずれかのモードによって前記k個のデータを所定時間毎に又は前記所定時間内でデータが生成される毎に1回送信することにより前記k個のデータの各々をR回以上送信し、
前記第1のモードは、新しいデータが前記所定時間内に生成されると、生成順になるように前記新しいデータが既に送信されたデータに追加されたデータを送信するモードであり、
前記第2のモードは、前記新しいデータが前記所定時間内に生成されないとき、前記所定時間経過時に前記送信機に保持されたデータを送信するモードである、無線通信システム。 k (k is a natural number satisfying 1 ≦ k ≦ R, R is a natural number of 2 or more) data is transmitted once every arbitrary time, whereby each of the k data is transmitted k times. A transmitter that transmits the above,
A receiver that receives the k data in a wireless communication space and reproduces new data out of the k data ;
The transmitter transmits the k pieces of data once every predetermined time or every time data is generated within the predetermined time according to one of the first and second modes. Each of the data is sent R times or more,
The first mode is a mode in which when new data is generated within the predetermined time, the new data is transmitted in addition to the already transmitted data so as to be generated in the order of generation,
The second mode is a wireless communication system in which when the new data is not generated within the predetermined time, the data held in the transmitter is transmitted when the predetermined time elapses .
前記新しいデータが前記所定時間内に生成されると、前記R個のデータのうち最も古いデータが削除され、かつ、生成順になるように前記新しいデータが既に送信されたR−1個のデータに追加された前記R個のデータを送信するモードと、
前記新しいデータが前記所定時間内に生成されると、生成順になるように前記新しいデータが前記既に送信されたデータに追加されたデータを送信するモードとからなる、請求項1に記載の無線通信システム。 The first mode is:
When the new data is generated within the predetermined time, the oldest data among the R data is deleted, and the new data is converted into R-1 data that has already been transmitted so as to be generated. A mode for transmitting the added R pieces of data;
2. The wireless communication according to claim 1 , wherein when the new data is generated within the predetermined time, the wireless data communication mode includes a mode in which the new data is transmitted in addition to the already transmitted data in order of generation. system.
データを生成するデータ生成部と、
前記R個のデータを記憶可能なバッファと、
前記データを送信する送信部と、
前記データ生成部によって新しいデータが前記所定時間内に生成されると、生成順になるように前記新しいデータを前記バッファに記憶されたデータに追加した前記k個のデータを作成して前記送信部へ出力し、前記データ生成部によって前記新しいデータが前記所定時間内に生成されないとき、前記バッファに記憶されたデータを読出して前記送信部へ出力するデータ制御部とを含む、請求項1に記載の無線通信システム。 The transmitter is
A data generation unit for generating data;
A buffer capable of storing the R data;
A transmission unit for transmitting the data;
When new data is generated by the data generation unit within the predetermined time, the k pieces of data are created by adding the new data to the data stored in the buffer so as to be in the generation order, and sent to the transmission unit. outputs, when said new data by the data generating unit is not generated within the predetermined time, the data stored in the buffer is read and a data control unit for outputting to the transmission unit, according to claim 1 Wireless communication system.
前記データ制御部は、前記データ生成部によって新しいデータが生成されると、前記バッファにおいて用いられている最大のシーケンス番号に連続するシーケンス番号を前記新しいデータに付与し、前記バッファが満杯であるとき、最も小さいシーケンス番号に対応するデータを削除し、かつ、前記シーケンス番号順になるように前記新しいデータを前記R−1個のデータに追加して前記送信部へ出力し、前記バッファが満杯でないとき、前記シーケンス番号順になるように前記新しいデータを追加して前記送信部へ出力する、請求項4または請求項5に記載の無線通信システム。 The buffer stores new data sequentially generated in association with sequentially increasing sequence numbers,
When new data is generated by the data generation unit, the data control unit gives the new data a sequence number subsequent to the maximum sequence number used in the buffer, and the buffer is full When the data corresponding to the smallest sequence number is deleted, and the new data is added to the R-1 pieces of data so as to be in the order of the sequence numbers and output to the transmission unit, and the buffer is not full The wireless communication system according to claim 4 , wherein the new data is added so as to be in the order of the sequence numbers and is output to the transmission unit .
前記送信機は、
データを生成するデータ生成部と、
前記R個のデータを記憶可能なバッファと、
前記データを送信する送信部と、
前記データ生成部によって新しいデータが前記所定時間内に生成されると、前記バッファに記憶されたデータのうち最も古いデータを削除し、前記R回送信されるように前記新しいデータを追加した前記k個のデータを作成して前記送信部へ出力し、前記データ生成部によって前記新しいデータが前記所定時間内に生成されないとき、前記バッファに記憶されたデータを読出して前記送信部へ出力するデータ制御部とを含む、請求項1に記載の無線通信システム。 The transmitter repeatedly transmits each of the k data R times by transmitting the k data once every predetermined time or every time data is generated within the predetermined time.
The transmitter is
A data generation unit for generating data;
A buffer capable of storing the R data;
A transmission unit for transmitting the data;
When new data is generated within the predetermined time by the data generation unit, the oldest data among the data stored in the buffer is deleted, and the new data is added to be transmitted R times. Data control that creates and outputs data to the transmission unit, and reads the data stored in the buffer and outputs the data to the transmission unit when the new data is not generated within the predetermined time by the data generation unit The wireless communication system according to claim 1 , further comprising: a unit .
前記データ制御部は、前記データ生成部によって新しいデータが生成されると、前記バッファにおいて用いられている最大のシーケンス番号に連続するシーケンス番号を前記新しいデータに付与し、前記バッファの1番目の番地に格納されたデータを削除して残りのデータを番地番号が1つ小さくなる番地へシフトし、かつ、前記新しいデータを前記バッファのR番目の番地に追加して前記送信部へ出力する、請求項9または請求項10に記載の無線通信システム。 The buffer has R addresses where the R data can be stored, and stores the k data to which the sequentially increasing sequence numbers are assigned in the generation order, in k addresses,
When new data is generated by the data generation unit, the data control unit assigns a sequence number subsequent to the maximum sequence number used in the buffer to the new data, and the first address of the buffer The data stored in is deleted, the remaining data is shifted to an address with a smaller address number, and the new data is added to the Rth address of the buffer and output to the transmitter. The wireless communication system according to claim 9 or 10 .
k(kは、1≦k≦Rを満たす自然数、Rは、2以上の自然数)個のデータを任意の時間が経過する毎に1回送信することにより前記k個のデータの各々をk回以上前記送信機が送信する第1のステップと、
前記受信機が前記無線通信空間において前記k個のデータを受信し、前記k個のデータのうち新しいデータを再生する第2のステップとをコンピュータに実行させ、
前記第1のステップにおいて、前記送信機は、前記k個のデータを所定時間毎に又は前記所定時間内でデータが生成される毎に1回送信することにより前記k個のデータの各々をR回以上送信し、
前記第1のステップは、
新たなデータを前記所定時間内に生成する第1のサブステップと、
前記新たなデータが前記所定時間内に生成されると、生成順になるように前記新しいデータを前記送信機のバッファに記憶されたデータに追加して送信する第2のサブステップと、
前記新たなデータが前記所定時間内に生成されないとき、前記バッファに記憶されたデータを読み出して送信する第3のサブステップとを含む、コンピュータに実行させるためのプログラム。 A program for causing a computer to execute transmission / reception of data in a wireless communication system including a transmitter and a receiver arranged in a wireless communication space,
k (k is a natural number satisfying 1 ≦ k ≦ R, R is a natural number of 2 or more) data is transmitted once every arbitrary time, whereby each of the k data is transmitted k times. A first step transmitted by the transmitter;
The receiver receives the k pieces of data in the wireless communication space, and causes the computer to execute a second step of reproducing new data out of the k pieces of data;
In the first step, the transmitter transmits each of the k pieces of data by transmitting the k pieces of data once every predetermined time or every time data is generated within the predetermined time. Send more than once,
The first step includes
A first sub-step of generating new data within the predetermined time;
A second sub-step of transmitting the new data in addition to the data stored in the buffer of the transmitter so that the new data is generated within the predetermined time in order of generation;
And a third sub-step for reading and transmitting the data stored in the buffer when the new data is not generated within the predetermined time .
前記新しいデータが前記所定時間内に生成されたとき、前記バッファに記憶されているデータの個数がR個であるか否かを判定するステップAと、
前記バッファに記憶されているデータの個数がR個であるとき、前記R個のデータのうち最も古いデータを削除するステップBと、
生成順になるように前記新しいデータをR−1個のデータに追加して前記R個のデータを送信するステップCとを含む、請求項13に記載のコンピュータに実行させるためのプログラム。 The second sub-step includes
Determining whether the number of data stored in the buffer is R when the new data is generated within the predetermined time; and
When the number of data stored in the buffer is R, a step B of deleting the oldest data among the R data;
A program for causing a computer to execute the program according to claim 13 , further comprising a step C of adding the new data to R−1 data so as to be generated and transmitting the R data .
前記バッファに記憶されているデータの個数がR個よりも少ないとき、生成順になるように前記新しいデータを前記バッファに記憶されているデータに追加して送信するステップDをさらに含む、請求項14に記載のコンピュータに実行させるためのプログラム。 The second sub-step includes
The method further comprises a step (D) of transmitting the new data in addition to the data stored in the buffer so as to be generated when the number of data stored in the buffer is less than R. A program to be executed by the computer described in 1.
前記新たなデータが前記所定時間内に生成されない回数が所定回数よりも少ないか否かを判定するステップと、
前記新たなデータが前記所定時間内に生成されない回数が所定回数よりも少ないとき、前記バッファに記憶されたデータを読出して送信するステップと、
前記新たなデータが前記所定時間内に生成されない回数が所定回数に到達したとき、前記バッファに記憶されたデータの送信を中止して待機するステップとを含む、請求項13から請求項16のいずれか1項に記載のコンピュータに実行させるためのプログラム。 The third sub-step includes
Determining whether the number of times that the new data is not generated within the predetermined time is less than a predetermined number of times;
Reading and transmitting data stored in the buffer when the number of times that the new data is not generated within the predetermined time is less than the predetermined number of times;
17. The method according to any one of claims 13 to 16, further comprising a step of stopping and waiting for transmission of data stored in the buffer when the number of times that the new data is not generated within the predetermined time reaches a predetermined number. A program for causing a computer according to claim 1 to execute.
前記第3のサブステップは、前記新たなデータが前記所定時間内に生成されないとき、前記バッファに記憶されている最も古いデータを削除し、前記削除された最も古いデータ以外の残りのデータを送信する、請求項13に記載のコンピュータに実行させるためのプログラム。 The second sub-step deletes the oldest data stored in the buffer when the new data is generated within the predetermined time, so that the new data is transmitted R times. Send data in addition to the remaining data other than the oldest deleted data,
The third sub-step deletes the oldest data stored in the buffer and transmits remaining data other than the deleted oldest data when the new data is not generated within the predetermined time. A program for causing a computer according to claim 13 to execute the program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003355095A JP3935463B2 (en) | 2003-10-15 | 2003-10-15 | Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003355095A JP3935463B2 (en) | 2003-10-15 | 2003-10-15 | Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005123791A JP2005123791A (en) | 2005-05-12 |
| JP3935463B2 true JP3935463B2 (en) | 2007-06-20 |
Family
ID=34612808
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003355095A Expired - Fee Related JP3935463B2 (en) | 2003-10-15 | 2003-10-15 | Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3935463B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5194303B2 (en) * | 2008-10-10 | 2013-05-08 | 株式会社国際電気通信基礎技術研究所 | Wireless device and wireless network provided with the same |
| JP5306150B2 (en) * | 2009-11-05 | 2013-10-02 | 前田金属工業株式会社 | Wireless data communication method |
| JP7559437B2 (en) * | 2020-09-01 | 2024-10-02 | ヤマハ株式会社 | Communication Control Method |
-
2003
- 2003-10-15 JP JP2003355095A patent/JP3935463B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005123791A (en) | 2005-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5037120B2 (en) | Optimal routing in ad hoc wireless communication networks | |
| JP4743239B2 (en) | Wireless communication apparatus, communication system, communication control method, and program | |
| US8630680B2 (en) | Efficient wireless transmission opportunity handoff | |
| ES2292847T3 (en) | RUNNING METHOD FOR MULTIPLE JUMPS FOR DISTRIBUTED WLAN NETWORKS. | |
| JP7683602B2 (en) | Communication device and communication method | |
| US8036219B2 (en) | Efficiency improvement for shared communications networks | |
| JP2019518365A (en) | Block acknowledgment generation and selection rules | |
| JP2004343567A (en) | Wireless communication device, wireless communication method, and program | |
| JP2006527524A (en) | System and method for characterizing link quality in a wireless network | |
| JP2010050505A (en) | Terminal device, terminal control method and program | |
| CN109728880B (en) | A Two-way Wireless Relay Transmission Method Based on Network Coding | |
| Shah et al. | Handling asymmetry in power heterogeneous ad hoc networks: A cross layer approach | |
| CN114501543A (en) | Method for multilink communication and multilink equipment | |
| JP3935463B2 (en) | Wireless communication system and program for causing computer to execute transmission / reception of data in the wireless communication system | |
| JP4750644B2 (en) | Wireless system, wireless communication apparatus, and communication method | |
| JP5076169B2 (en) | Communications system | |
| WO2006048969A1 (en) | Transmitter apparatus | |
| CN104780619A (en) | Method for designing WLAN (wireless local area network) MAC (medium access control) layer protocol based on cooperative communication | |
| JP2008227850A (en) | Route selection device | |
| JP2011217235A (en) | Radio equipment | |
| Li | Improving performance for CSMA/CA based wireless networks | |
| WO2023002663A1 (en) | Wireless communication device and wireless communication method | |
| Gawas et al. | Cross layer congestion aware multi rate multi path routing protocol for ad hoc network | |
| JP4520350B2 (en) | Wireless device | |
| JP4422148B2 (en) | Information communication apparatus, information communication method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20050404 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20050418 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20050418 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050420 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050428 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070118 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070131 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070215 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070223 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070319 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070319 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |