WO2015064288A1 - Wireless communication device, wireless communication system, and wireless communication method thereof - Google Patents
Wireless communication device, wireless communication system, and wireless communication method thereof Download PDFInfo
- Publication number
- WO2015064288A1 WO2015064288A1 PCT/JP2014/076353 JP2014076353W WO2015064288A1 WO 2015064288 A1 WO2015064288 A1 WO 2015064288A1 JP 2014076353 W JP2014076353 W JP 2014076353W WO 2015064288 A1 WO2015064288 A1 WO 2015064288A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- wireless communication
- packet
- packets
- communication device
- received
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1887—Scheduling and prioritising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/34—Flow control; Congestion control ensuring sequence integrity, e.g. using sequence numbers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0205—Traffic management, e.g. flow control or congestion control at the air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/08—Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
Definitions
- the present invention relates to a wireless communication system including a plurality of wireless communication devices, and more particularly, to a wireless communication device that recovers a communication error, a wireless communication system, a processing method therefor, and a program that causes a computer to execute the method.
- packet retransmission control is performed as a method for recovering an error that occurred during communication.
- a data packet is transmitted from the transmitting device, while the receiving device constantly monitors whether there is a packet (missing packet) that has failed to be received.
- the transmitting device transmits a next data packet after confirming that the receiving device has received the data normally.
- a data communication apparatus has been proposed that transmits a predetermined number of frames between transmission and reception and then enters a reception mode and waits for a response from the reception side (see, for example, Patent Document 1).
- This invention is made in view of such a situation, and it aims at avoiding the performance fall accompanying the recovery process of a communication error.
- the present invention has been made to solve the above-described problems, and a first aspect of the present invention is a wireless communication system that transmits and receives data between a first wireless communication device and a second wireless communication device.
- the first wireless communication apparatus divides data and adds a sequence number indicating a transmission order to each of the divided data, and generates a plurality of packets.
- a transmission unit that continuously transmits the plurality of packets to the second wireless communication device in accordance with the transmission order without confirming reception in the wireless communication device, and a transmission that stores the plurality of transmitted packets A buffer, and a retransmission processing unit that retransmits a packet designated by a retransmission request from the second wireless communication device among the plurality of transmitted packets, the second wireless communication device Is based on a receiving unit that receives the plurality of packets transmitted from the first wireless communication device, a reception buffer that stores the plurality of received packets, and a sequence number of the plurality of received packets.
- a wireless communication system including a retransmission request unit that specifies a packet that has failed to be received and makes a retransmission request for only the packet that has failed to be received to the first wireless communication apparatus, and a wireless communication method thereof.
- a packet generator that divides data and adds a sequence number indicating a transmission order to each of the divided data to generate a plurality of packets, and wireless communication on a receiving side
- a transmission unit that continuously transmits the plurality of packets to the reception-side wireless communication device in accordance with the transmission order without confirming reception in the device; a transmission buffer that stores the plurality of transmitted packets;
- a wireless communication apparatus including a retransmission processing unit configured to retransmit a packet designated by a retransmission request from the reception-side wireless communication apparatus among the plurality of transmitted packets, and a wireless communication method thereof.
- FIG. 1 is a diagram illustrating an example of the overall configuration of a wireless communication system according to an embodiment of the present invention.
- This wireless communication system is composed of a plurality of wireless communication devices.
- two wireless communication apparatuses 101 and 102 are shown.
- the wireless communication devices 101 and 102 have the same configuration, and one of the wireless communication devices 101 and 102 operates as a transmission device and the other as a reception device depending on the situation.
- the wireless communication apparatus 101 operates as a transmission apparatus and the wireless communication apparatus 102 operates as a reception apparatus will be described.
- FIG. 2 is a diagram illustrating a configuration example of the wireless communication apparatus 101 or 102 according to the embodiment of the present invention.
- the wireless communication apparatus 101 or 102 includes a processor 110, a memory 120, a communication control unit 130, a transmission / reception buffer 140, a reception unit 150, a transmission unit 160, an antenna switch 170, and an antenna 180. .
- the processor 110 is a processing device that manages and controls the overall operation of the wireless communication device, such as applications and communications.
- the memory 120 is a large-capacity memory that stores programs executed by the processor 110 and data for communication.
- the communication control unit 130 performs processing related to wireless communication, and performs processing such as transmission / reception mode switching control and frequency hopping.
- the transmission / reception buffer 140 is a buffer that temporarily stores transmitted or received data packets and control packets.
- the receiving unit 150 performs packet reception processing.
- the transmission unit 160 performs packet transmission processing.
- the antenna 180 is an antenna for wireless communication.
- the antenna switch 170 is a switch for switching whether the antenna 180 is used for transmission or reception.
- FIG. 3 is a diagram illustrating a configuration example of the transmission function of the wireless communication apparatus 101 according to the embodiment of the present invention.
- the reception unit 150, the transmission unit 160, the antenna switch 170, and the antenna 180 are the same as those already described.
- the transmission buffer 141 is a part of the transmission / reception buffer 140.
- the packet generation unit 111 and the retransmission processing unit 112 can be realized as functions of the processor 110.
- the packet generator 111 generates a plurality of packets by dividing data to be transmitted. That is, the packet generation unit 111 performs division into divided data to be loaded on the payload of each packet by the operation of a higher-level application that instructs data transmission.
- the packet generation unit 111 adds a sequence number indicating the transmission order to each of the plurality of packets. More specifically, data is divided into packets by software operation in the application layer, and data used for retransmission control such as “sequence number” and “CRC” is added to each divided data.
- the transmission unit 160 transmits the generated data to the reception device side via a normal link layer (for example, Bluetooth (registered trademark) standard or BLE (Bluetooth (registered trademark) Low Energy) standard) link layer or physical layer. Send to. At this time, packetization of data, transmission of packets, and the like are performed by lower layers corresponding to the respective communication standards.
- a normal link layer for example, Bluetooth (registered trademark) standard or BLE (Bluetooth (registered trademark) Low Energy) standard
- each of the above-described operations is realized at the application level, it does not depend on the communication mode in the lower layer, and for example, there are various types even if the sequence number cannot be added to the packet. It can be used with various communication standards. However, a series of operations such as sequence number addition and retransmission control are not limited to processing in the application layer, and may be performed in another physical layer or link layer.
- the transmission buffer 141 is a buffer that stores a plurality of packets transmitted by the transmission unit 160. This transmission buffer 141 manages each packet according to the sequence number added to the packet. A specific packet is read in accordance with an instruction from the retransmission processing unit 112, and the packet is transmitted again by the transmission unit 160.
- the retransmission processing unit 112 performs processing for retransmitting a packet designated by a retransmission request from a receiving device among a plurality of transmitted packets. As will be described later, the receiving device specifies a packet (missing packet) that has failed to be received from the transmitting device, and requests retransmission of the missing packet. When the retransmission processing unit 112 receives a retransmission request for a lost packet, the retransmission processing unit 112 reads the designated packet from the transmission buffer 141 and transmits the packet again through the transmission unit 160.
- FIG. 4 is a diagram illustrating a configuration example of the reception function of the wireless communication apparatus 102 according to the embodiment of the present invention.
- the receiving unit 150, the transmitting unit 160, the antenna switch 170, and the antenna 180 are the same as those already described.
- the reception buffer 142 is a part of the transmission / reception buffer 140.
- the retransmission request unit 113 and the restoration unit 114 can be realized as functions of the processor 110.
- the retransmission request unit 113 makes a retransmission request for a lost packet to the transmission apparatus.
- the retransmission request unit 113 identifies a missing packet based on sequence numbers added to a plurality of packets received from the transmission device.
- the reception buffer 142 is a buffer for storing a plurality of packets received from the transmission device.
- the reception buffer 142 manages each packet according to the sequence number added to the packet.
- the restoration unit 114 restores the original data included in the packet according to the sequence number added to the packet stored in the reception buffer 142. Note that the restored data is used in a subsequent processing apparatus (not shown).
- FIG. 5 is a diagram showing a field configuration of a packet format in the Bluetooth (registered trademark) standard.
- This packet format includes a 72-bit access code, a 54-bit packet header, and a maximum 2745-bit payload.
- the access code is a signal for performing synchronization and DC offset correction.
- This access code includes a preamble and a synchronization word.
- the packet header is a packet header and includes a signal for controlling the packet.
- This packet header includes a 3-bit active member address (AM_ADDR), a 4-bit packet type (TYPE), a 1-bit flow control (FLOW), a 1-bit receipt indication (ARQN), and a 1-bit sequence number (SEQN).
- A_ADDR 3-bit active member address
- TYPE 4-bit packet type
- FLOW 1-bit flow control
- ARQN 1-bit receipt indication
- SEQN 1-bit sequence number
- An 18-bit bit string consisting of an 8-bit header error check (HEC) is encoded.
- the active member address is an address for identifying the slave forming the piconet.
- the packet type indicates which of 16 different packet types. The packet type is roughly classified into ACL (Asynchronous Connection Less) used for general data transfer and SCO (Synchronous Connection Oriented) specialized for voice transfer.
- the flow control is for performing flow control in the ACL link.
- the reception display is for informing the transmission device of successful reception.
- the sequence number is for indicating sequence continuity in the data link layer.
- the header error check is for checking that the header is complete.
- the sequence number is 1 bit, and it is not possible to specify a specific packet and retransmit it by itself. Therefore, in the embodiment of the present invention, a specific packet is designated and retransmitted by newly adding a sequence number of multiple bits to the payload as follows.
- FIG. 6 is a diagram showing a field configuration example of the data transmission packet in the embodiment of the present invention.
- This data transmission packet includes an 8-bit sequence number (SEQ-NO), variable-size data (INPUT-DATA), and a 16-bit CRC in the payload.
- SEQ-NO 8-bit sequence number
- INPUT-DATA variable-size data
- CRC 16-bit CRC
- the sequence number indicates the packet transmission order. This sequence number is added by the packet generation unit 111. In this example, since 8 bits are assumed as the sequence number, 256 packets can be distinguished from each other.
- the data is obtained by dividing the data to be transmitted by the packet generation unit 111.
- the divided data is restored by being merged by the restoration unit 114 of the receiving apparatus.
- a plurality of input data may be combined into individual packets within a range that fits within the maximum capacity of the packet, thereby improving transmission efficiency.
- the data may be transmitted at any time as soon as an input of some data is received without necessarily waiting for the data to be input to the full capacity.
- CRC is a cyclic redundancy check code for detecting and correcting errors in the payload.
- FIG. 7 is a diagram showing a field configuration example of a retransmission request packet in the embodiment of the present invention.
- This retransmission request packet includes an 8-bit sequence number (SEQ-NO) in the payload.
- SEQ-NO 8-bit sequence number
- One retransmission request packet may be used for one packet retransmission request as shown in a in the figure, and each sequence number is changed to one retransmission request packet when a plurality of packets are requested for retransmission as shown in b in the figure. It may be summarized.
- the wireless communication apparatuses 101 and 102 are connected by wireless communication according to the BLE standard.
- the data transmission packet and retransmission request packet are transmitted / received by exchanging data of “Service” and “Characteristic” of GLE (Generic Attribute Profile) of BLE.
- the data transmission packet can use “Notification”, which means data transmission that does not require a response, as a method for writing to the characteristic.
- “Write Value” can be used to write the number of the packet requesting retransmission in the retransmission packet list on the transmitting apparatus side.
- FIG. 8 is a flowchart showing an example of a processing procedure of data transmission processing in the embodiment of the present invention.
- the processing procedure on the transmission device side is shown on the left side, and the processing procedure on the reception device side is shown on the right side.
- the transmission device (wireless communication device 101) divides data to generate a packet, and transmits the packet (step S911). At this time, a sequence number is assigned as described above.
- the transmitted packet is not erased immediately, but is stored in the transmission / reception buffer 140 (transmission buffer 141) until the transmission of a series of data is completed or until the transmission / reception buffer 140 is full, to prepare for a retransmission request. . However, if there is a next transmission packet, packet transmission is continued without waiting for a retransmission request packet from the receiving apparatus. That is, packet transmission and retransmission of a requested packet may be performed in parallel.
- the reception device wireless communication device 102 receives the packet transmitted from the transmission device (step S921: Yes)
- the sequence number (SEQ-NO) added to the packet is confirmed (step S922).
- the presence or absence of a missing packet is determined. That is, if the sequence numbers of the received packets are separated, the packet between them is recognized as a missing packet. In other words, the presence of a missing packet is not recognized until the next packet is received.
- step S923 If there is a missing sequence number (step S923: Yes) and it is detected that there is a missing packet, the receiving apparatus transmits a retransmission request packet including the sequence number of the missing packet to the transmitting apparatus (step S924).
- step S912 When the transmission apparatus receives the retransmission request packet (step S912: Yes), if the designated packet exists in the transmission / reception buffer 140 (step S913: Yes), the transmission apparatus acquires the designated packet from the buffer memory, and newly The packet is transmitted to the receiving apparatus and retransmitted to the receiving apparatus (step S914). On the other hand, when the packet requested for retransmission has been discarded from the buffer memory of the transmission device (step S913: No), the transmission device notifies, for example, an error with respect to the transmission request in order to reject the retransmission request (step S915). ). After these processes, the transmission apparatus further performs the next packet transmission operation.
- the receiving device receives the packet after the missing packet and performs the restoration process of the original data after receiving the retransmitted missing packet. At this time, the receiving apparatus does not discard the received packets after the missing packet. The transmitting apparatus also does not retransmit all the packets after the packet for which a retransmission request has been made. After these processes, the receiving apparatus further performs a receiving operation for the next packet.
- the transmission device continuously transmits a plurality of packets to the reception device according to the transmission order without confirming reception at the reception device. Retransmit to receiver.
- FIG. 9 is a sequence diagram illustrating an example of a processing procedure of data transmission processing according to the embodiment of the present invention. In this example, it is assumed that three packets are transmitted in one connection interval.
- the first three packets transmitted from the transmitting device are normally received by the receiving device.
- packet # 6 is received next to packet # 4. That is, since packet # 5 is not received and packet # 6 is received, it is detected that packet # 5 is a missing packet (821). Therefore, a retransmission request for packet # 5 is made from the receiving apparatus to the transmitting apparatus.
- the transmission device continues transmission without confirming reception.
- packet # 5 is read from transmission / reception buffer 140 (transmission buffer 141) and retransmitted to the reception device (812).
- packet # 5 When packet # 5 is received by the receiving device, it is stored in transmission / reception buffer 140 (reception buffer 142). Thereafter, when all the packets necessary for data restoration are received, the original data is restored in the receiving device (823). The restored data is output to a subsequent processing device (not shown) (824).
- FIG. 10 is a timing chart in the case where retransmission at the time of data transmission does not occur in the embodiment of the present invention.
- TX represents the transmission unit 160
- RX represents the reception unit 150.
- the packet transmitted from the transmitting device is received by the receiving device, and retransmission is not requested when a missing packet is not detected.
- FIG. 11 is a timing chart when retransmission occurs at the time of data transmission in the embodiment of the present invention.
- the receiving device when the packet # 6 is received without the packet # 5 transmitted from the transmitting device being received by the receiving device, the receiving device requests retransmission of the packet # 5.
- the transmitting apparatus interrupts and retransmits packet # 5 while continuously transmitting packet # 7 and subsequent packets.
- FIG. 12 is a flowchart showing an example of a processing procedure of termination processing in the embodiment of the present invention.
- the processing procedure on the transmission device side is shown on the left side, and the processing procedure on the reception device side is shown on the right side.
- the receiving device recognizes the presence of a missing packet when there is a missing sequence number in the received packet.
- the receiving device cannot recognize the presence of the missing packet and cannot make a retransmission request. Therefore, after transmitting the last packet of a series of data, a “termination process” is performed between the transmitting device and the receiving device in order to confirm whether the last packet has been properly received.
- the transmission device continuously transmits a plurality of packets to the reception device according to the transmission order (step S931).
- the transmission device transmits a packet with the next sequence number added (step S933).
- this packet does not require data, it is a so-called empty packet.
- An empty packet transmitted from the transmission device in this termination processing is particularly referred to as an end confirmation packet.
- step S942 When the receiving device receives the empty packet (step S942: Yes) while performing the packet receiving process (step S941), it notifies the sequence number of the last received packet (that is, the sequence number of the empty packet).
- the number notification packet to be transmitted is transmitted to the transmission device (step S943). Since this number notification packet does not require data, it is a so-called empty packet.
- the transmitting apparatus When the transmitting apparatus receives the number notification packet (step S934: Yes), the receiving apparatus determines that no retransmission request for the data packet is generated since the receiving apparatus has received all the packets constituting the series of data.
- the transmission packet stored in the transmission buffer 141 can be purged (discarded) (step S936).
- the transmitting apparatus does not particularly need to reply to the number notification packet from the receiving apparatus.
- the receiving device can restore the original data using the packets by confirming that all the packets constituting the series of data have been received. Then, the received packets so far can be purged from the reception buffer 142 (step S944).
- the transmission device waits for a notification from the reception device, and retransmits an empty packet repeatedly at predetermined time intervals until there is a notification (step S935: Yes).
- these processes are performed after transmitting all the packets constituting a series of data, and do not lead to a decrease in throughput during data transmission.
- step S937 If there is data to be transmitted next (step S937: Yes), the next data can be transmitted in parallel with the termination processing after the end of transmission of a series of data (step S938). Therefore, it is possible to prevent a decrease in throughput. At this time, the sequence number may be continued to be incremented or reset.
- FIG. 13 is a sequence diagram showing an example of a processing procedure of termination processing according to the embodiment of the present invention. In this example, when a total of five packets are transmitted, it is assumed that three packets are transmitted at one connection interval.
- the first three packets transmitted from the transmitting device are normally received by the receiving device.
- packets # 4 and # 5 are transmitted. Since the last packet # 5 has been transmitted, an empty packet to which sequence number # 6 is added is transmitted as an end confirmation packet (831).
- the transmitting apparatus determines that the end confirmation packet has not been received, and transmits again the empty packet to which sequence number # 6 is added (832).
- the receiving apparatus that has received the end confirmation packet returns an empty packet with the sequence number # 6 of the last received packet as a number notification packet (843). Then, it is determined that the reception of the data has been completed, the original data is restored from the packet stored in the reception buffer 142, and the packet stored in the reception buffer 142 is purged (844).
- the transmission device that has received the number notification packet determines that the transmission of the data has been completed, and purges the packet stored in the transmission buffer 141 (834). Note that the transmission of the next data can be started even after the purge is completed (835).
- the packets are retransmitted according to a retransmission request from the reception device. Therefore, it is possible to avoid the performance degradation associated with the communication error recovery process.
- the processing procedure described in the above embodiment may be regarded as a method having a series of these procedures, and a program for causing a computer to execute these series of procedures or a recording medium storing the program. You may catch it.
- a recording medium for example, a CD (Compact Disc), an MD (MiniDisc), a DVD (Digital Versatile Disc), a memory card, a Blu-ray disc (Blu-ray (registered trademark) Disc), or the like can be used.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Communication Control (AREA)
Abstract
Description
本発明は、複数の無線通信装置からなる無線通信システムに関し、特に、通信エラーの回復を行う無線通信装置、無線通信システム、および、これらにおける処理方法ならびに当該方法をコンピュータに実行させるプログラムに関する。 The present invention relates to a wireless communication system including a plurality of wireless communication devices, and more particularly, to a wireless communication device that recovers a communication error, a wireless communication system, a processing method therefor, and a program that causes a computer to execute the method.
従来、無線通信において、通信時に発生したエラーの回復手法として、パケットの再送制御が行われている。この場合、送信側の装置からデータのパケットを送信し、一方、受信側の装置では受信に失敗したパケット(欠損パケット)が存在するか否かを常時監視する。送信側の装置は、受信側の装置において正常に受信されたことを確認した上で、次のデータのパケットを送信する。例えば、あらかじめ送受信間で取り決められた数のフレームを送信した後に受信モードとなって受信側からの応答を待つデータ通信装置が提案されている(例えば、特許文献1参照。)。 Conventionally, in wireless communication, packet retransmission control is performed as a method for recovering an error that occurred during communication. In this case, a data packet is transmitted from the transmitting device, while the receiving device constantly monitors whether there is a packet (missing packet) that has failed to be received. The transmitting device transmits a next data packet after confirming that the receiving device has received the data normally. For example, a data communication apparatus has been proposed that transmits a predetermined number of frames between transmission and reception and then enters a reception mode and waits for a response from the reception side (see, for example, Patent Document 1).
上述の従来技術では、送信側が一定の数のフレームを送信した後に受信モードとなるため、受信側のバッファが少なくてもフレームを順番に受信することができる。しかしながら、この従来技術では、送信の度に受信確認を行うため、無線通信のスループットが低下してしまうという問題を生じる。 In the above-described prior art, since the transmission side enters the reception mode after transmitting a certain number of frames, the frames can be received in sequence even if the reception side has a small number of buffers. However, in this prior art, since reception confirmation is performed each time transmission is performed, there arises a problem that the throughput of wireless communication is reduced.
本発明はこのような状況に鑑みてなされたものであり、通信エラーの回復処理に伴う性能低下を回避することを目的とする。 This invention is made in view of such a situation, and it aims at avoiding the performance fall accompanying the recovery process of a communication error.
本発明は、上述の問題点を解消するためになされたものであり、その第1の側面は、第1の無線通信装置と第2の無線通信装置との間でデータを送受信する無線通信システムであって、上記第1の無線通信装置は、データを分割してその分割されたデータのそれぞれに送信順序を示すシーケンス番号を付加して複数のパケットを生成するパケット生成部と、上記第2の無線通信装置における受信の確認を行うことなく、上記複数のパケットを上記送信順序に従って連続的に上記第2の無線通信装置に送信する送信部と、上記送信された複数のパケットを格納する送信バッファと、上記送信された複数のパケットのうち上記第2の無線通信装置からの再送要求により指定されたパケットを再送する再送処理部とを備え、上記第2の無線通信装置は、上記第1の無線通信装置から送信された上記複数のパケットを受信する受信部と、上記受信した複数のパケットを格納する受信バッファと、上記受信した複数のパケットのシーケンス番号に基づいて、受信に失敗したパケットを特定して、上記第1の無線通信装置に対して上記受信に失敗したパケットのみについて上記再送要求を行う再送要求部とを備える無線通信システムおよびその無線通信方法である。これにより、第2の無線通信装置における受信の確認を行うことなく、第1の無線通信装置から複数のパケットを送信する一方で、第2の無線通信装置からの再送要求に従ってパケットを再送するという作用をもたらす。 The present invention has been made to solve the above-described problems, and a first aspect of the present invention is a wireless communication system that transmits and receives data between a first wireless communication device and a second wireless communication device. The first wireless communication apparatus divides data and adds a sequence number indicating a transmission order to each of the divided data, and generates a plurality of packets. A transmission unit that continuously transmits the plurality of packets to the second wireless communication device in accordance with the transmission order without confirming reception in the wireless communication device, and a transmission that stores the plurality of transmitted packets A buffer, and a retransmission processing unit that retransmits a packet designated by a retransmission request from the second wireless communication device among the plurality of transmitted packets, the second wireless communication device Is based on a receiving unit that receives the plurality of packets transmitted from the first wireless communication device, a reception buffer that stores the plurality of received packets, and a sequence number of the plurality of received packets. A wireless communication system including a retransmission request unit that specifies a packet that has failed to be received and makes a retransmission request for only the packet that has failed to be received to the first wireless communication apparatus, and a wireless communication method thereof. As a result, a plurality of packets are transmitted from the first wireless communication device without confirming reception in the second wireless communication device, while packets are retransmitted according to a retransmission request from the second wireless communication device. Bring about an effect.
また、本発明の第2の側面は、データを分割してその分割されたデータのそれぞれに送信順序を示すシーケンス番号を付加して複数のパケットを生成するパケット生成部と、受信側の無線通信装置における受信の確認を行うことなく、上記複数のパケットを上記送信順序に従って連続的に上記受信側の無線通信装置に送信する送信部と、上記送信された複数のパケットを格納する送信バッファと、上記送信された複数のパケットのうち上記受信側の無線通信装置からの再送要求により指定されたパケットを再送する再送処理部とを具備する無線通信装置およびその無線通信方法である。これにより、受信側の無線通信装置における受信の確認を行うことなく、複数のパケットを送信する一方で、受信側の無線通信装置からの再送要求に従ってパケットを再送するという作用をもたらす。 According to a second aspect of the present invention, there is provided a packet generator that divides data and adds a sequence number indicating a transmission order to each of the divided data to generate a plurality of packets, and wireless communication on a receiving side A transmission unit that continuously transmits the plurality of packets to the reception-side wireless communication device in accordance with the transmission order without confirming reception in the device; a transmission buffer that stores the plurality of transmitted packets; A wireless communication apparatus including a retransmission processing unit configured to retransmit a packet designated by a retransmission request from the reception-side wireless communication apparatus among the plurality of transmitted packets, and a wireless communication method thereof. Thus, there is an effect that a plurality of packets are transmitted without confirming reception in the reception-side wireless communication device, while packets are retransmitted in accordance with a retransmission request from the reception-side wireless communication device.
本発明によれば、通信エラーの回復処理に伴う性能低下を回避することができるという優れた効果を奏し得る。 According to the present invention, it is possible to achieve an excellent effect that performance degradation associated with communication error recovery processing can be avoided.
以下、本発明を実施するための形態について説明する。 Hereinafter, modes for carrying out the present invention will be described.
図1は、本発明の実施の形態における無線通信システムの全体構成例を示す図である。この無線通信システムは、複数の無線通信装置から構成される。ここでは、2つの無線通信装置101および102が示されている。無線通信装置101および102は同様の構成を有しており、状況に応じて、一方が送信装置として動作し、他方が受信装置として動作する。以下では、無線通信装置101が送信装置として動作し、無線通信装置102が受信装置として動作している場合について説明する。
FIG. 1 is a diagram illustrating an example of the overall configuration of a wireless communication system according to an embodiment of the present invention. This wireless communication system is composed of a plurality of wireless communication devices. Here, two
図2は、本発明の実施の形態における無線通信装置101または102の構成例を示す図である。この無線通信装置101または102は、プロセッサ110と、メモリ120と、通信制御部130と、送受信バッファ140と、受信部150と、送信部160と、アンテナスイッチ170と、アンテナ180とを備えている。
FIG. 2 is a diagram illustrating a configuration example of the
プロセッサ110は、アプリケーションや通信など、無線通信装置全体の動作を管理および制御する処理装置である。メモリ120は、プロセッサ110が実行するプログラムや通信のためのデータを格納する大容量メモリである。通信制御部130は、無線通信に関する処理を行うものであり、送受信モードの切替え制御や、周波数ホッピングなどの処理を行う。送受信バッファ140は、送信または受信されたデータパケットや制御パケットを一時的に格納するバッファである。受信部150は、パケットの受信処理を行うものである。送信部160は、パケットの送信処理を行うものである。アンテナ180は、無線通信のためのアンテナである。アンテナスイッチ170は、アンテナ180を送信または受信の何れに用いるのかを切り替えるスイッチである。
The
なお、ここでは無線通信装置としての実施の形態について説明するが、本発明はこれに限定されるものではなく、他の処理装置の通信部として実現してもよい。例えば、他の処理装置にインターフェースを介して接続し、他の処理装置からの指令に応じてデータを送信し、または、受信したデータを他の処理装置に入力するようにしてもよい。 In addition, although embodiment as a radio | wireless communication apparatus is described here, this invention is not limited to this, You may implement | achieve as a communication part of another processing apparatus. For example, it may be connected to another processing apparatus via an interface, and data may be transmitted in accordance with a command from another processing apparatus, or received data may be input to another processing apparatus.
図3は、本発明の実施の形態における無線通信装置101の送信機能の構成例を示す図である。この無線通信装置101において、受信部150、送信部160、アンテナスイッチ170、および、アンテナ180は、既に説明したものと同様である。送信バッファ141は、送受信バッファ140の一部である。また、パケット生成部111および再送処理部112は、プロセッサ110の機能として実現することができる。
FIG. 3 is a diagram illustrating a configuration example of the transmission function of the
パケット生成部111は、送信対象となるデータを分割して、複数のパケットを生成するものである。すなわち、パケット生成部111は、データの送信を指示する上位のアプリケーションの動作により、各パケットのペイロードに積載するための分割データへの分割を行う。
The
また、パケット生成部111は、複数のパケットのそれぞれに、送信順序を示すシーケンス番号を付加する。より具体的には、アプリケーション層におけるソフトウェアの動作により、データをパケットに分割し、各分割データに「シーケンス番号」や「CRC」など、再送制御に用いるデータを付加する。これに対し、送信部160は、生成されたデータを通常(例えば、Bluetooth(登録商標)規格やBLE(Bluetooth(登録商標) Low Energy)規格準拠)のリンク層や物理層を介して受信装置側に送信する。このとき、データのパケット化やパケットの送信などは、それぞれの通信規格に応じた下位レイヤにより行われる。
Further, the
なお、ここでは、上述の各動作をアプリケーションレベルで実現するため、下位レイヤにおける通信様式に依存することなく、例えば、パケット内にシーケンス番号を付加することができないような様式であっても、様々な通信規格で使用可能となる。ただし、シーケンス番号の付加や再送制御などの一連の動作は、アプリケーション層での処理に限定されるものではなく、他の物理層やリンク層のレイヤで行うようにしてもよい。 Here, since each of the above-described operations is realized at the application level, it does not depend on the communication mode in the lower layer, and for example, there are various types even if the sequence number cannot be added to the packet. It can be used with various communication standards. However, a series of operations such as sequence number addition and retransmission control are not limited to processing in the application layer, and may be performed in another physical layer or link layer.
送信バッファ141は、送信部160によって送信された複数のパケットを格納するバッファである。この送信バッファ141では、パケットに付加されたシーケンス番号に従って各パケットを管理する。再送処理部112からの指示に従って特定のパケットが読み出され、そのパケットは送信部160によって再度送信される。
The
再送処理部112は、送信された複数のパケットのうち受信装置からの再送要求により指定されたパケットを再送する処理を行うものである。受信装置では後述するように、送信装置からの受信に失敗したパケット(欠損パケット)を特定して、その欠損パケットの再送を要求する。再送処理部112は、欠損パケットの再送要求を受けると、その指定されたパケットを送信バッファ141から読み出して、送信部160を介して再度送信する。
The
図4は、本発明の実施の形態における無線通信装置102の受信機能の構成例を示す図である。この無線通信装置102において、受信部150、送信部160、アンテナスイッチ170、および、アンテナ180は、既に説明したものと同様である。受信バッファ142は、送受信バッファ140の一部である。また、再送要求部113および復元部114は、プロセッサ110の機能として実現することができる。
FIG. 4 is a diagram illustrating a configuration example of the reception function of the
再送要求部113は、欠損パケットの再送要求を送信装置に対して行うものである。この再送要求部113は、送信装置から受信した複数のパケットに付加されたシーケンス番号に基づいて欠損パケットを特定する。
The
受信バッファ142は、送信装置から受信した複数のパケットを格納するバッファである。この受信バッファ142では、パケットに付加されたシーケンス番号に従って各パケットを管理する。
The
復元部114は、受信バッファ142に格納されるパケットに付加されたシーケンス番号に従って、パケットに含まれる元のデータを復元するものである。なお、復元されたデータは、後段の(図示しない)処理装置において利用に供されることになる。
The
図5は、Bluetooth(登録商標)規格におけるパケットフォーマットのフィールド構成を示す図である。このパケットフォーマットには、72ビットのアクセスコードと、54ビットのパケットヘッダと、最大2745ビットのペイロードとが含まれている。 FIG. 5 is a diagram showing a field configuration of a packet format in the Bluetooth (registered trademark) standard. This packet format includes a 72-bit access code, a 54-bit packet header, and a maximum 2745-bit payload.
アクセスコードは、同期や直流オフセット補正などを行うための信号である。このアクセスコードは、プリアンブルおよび同期ワードを含む。 The access code is a signal for performing synchronization and DC offset correction. This access code includes a preamble and a synchronization word.
パケットヘッダは、パケットのヘッダであり、パケットを制御するための信号を含む。このパケットヘッダは、3ビットのアクティブメンバアドレス(AM_ADDR)、4ビットのパケットタイプ(TYPE)、1ビットのフロー制御(FLOW)、1ビットの受領表示(ARQN)、1ビットのシーケンス番号(SEQN)、8ビットのヘッダエラーチェック(HEC)からなる18ビットのビット列を符号化したものである。 The packet header is a packet header and includes a signal for controlling the packet. This packet header includes a 3-bit active member address (AM_ADDR), a 4-bit packet type (TYPE), a 1-bit flow control (FLOW), a 1-bit receipt indication (ARQN), and a 1-bit sequence number (SEQN). , An 18-bit bit string consisting of an 8-bit header error check (HEC) is encoded.
アクティブメンバアドレスは、ピコネットを形成するスレーブを識別するためのアドレスである。パケットタイプは、16の異なるパケットタイプの何れであるかを示すものである。パケットタイプは、一般のデータ転送に使われるACL(Asynchronous Connection Less)と、音声転送に特化したSCO(Synchronous Connection Oriented)に大別される。フロー制御は、ACLリンクにおけるフロー制御を行うためのものである。受領表示は、送信装置に対して受信成功を知らせるためのものである。シーケンス番号は、データリンク層におけるシーケンスの連続性を示すためのものである。ヘッダエラーチェックは、ヘッダが完全な状態であることをチェックするためのである。 The active member address is an address for identifying the slave forming the piconet. The packet type indicates which of 16 different packet types. The packet type is roughly classified into ACL (Asynchronous Connection Less) used for general data transfer and SCO (Synchronous Connection Oriented) specialized for voice transfer. The flow control is for performing flow control in the ACL link. The reception display is for informing the transmission device of successful reception. The sequence number is for indicating sequence continuity in the data link layer. The header error check is for checking that the header is complete.
このBluetooth(登録商標)規格におけるパケットフォーマットでは、シーケンス番号は1ビットであり、これだけでは特定のパケットを指定して再送することはできない。そこで、本発明の実施の形態では、以下のように、ペイロードに新たに複数ビットのシーケンス番号を付加することにより、特定のパケットを指定して再送を行う。 In the packet format in this Bluetooth (registered trademark) standard, the sequence number is 1 bit, and it is not possible to specify a specific packet and retransmit it by itself. Therefore, in the embodiment of the present invention, a specific packet is designated and retransmitted by newly adding a sequence number of multiple bits to the payload as follows.
図6は、本発明の実施の形態におけるデータ送信パケットのフィールド構成例を示す図である。このデータ送信パケットは、ペイロードにおいて、8ビットのシーケンス番号(SEQ-NO)と、可変サイズのデータ(INPUT-DATA)と、16ビットのCRCとを含んでいる。 FIG. 6 is a diagram showing a field configuration example of the data transmission packet in the embodiment of the present invention. This data transmission packet includes an 8-bit sequence number (SEQ-NO), variable-size data (INPUT-DATA), and a 16-bit CRC in the payload.
シーケンス番号は、パケットの送信順序を示すものである。このシーケンス番号は、パケット生成部111によって付加される。この例ではシーケンス番号として8ビットを想定しているため、256個のパケットを互いに識別することができる。
The sequence number indicates the packet transmission order. This sequence number is added by the
データは、送信対象のデータをパケット生成部111によって分割したものである。この分割されたデータは、受信装置の復元部114によって併合されることにより、復元される。また、パケットの最大容量に収まる範囲で、複数の入力データを個々のパケットにまとめて、送信効率の向上を図ってもよい。なお、その場合に、必ずしも容量いっぱいまでデータが入力されるのを待たずに、何らかのデータの入力を受け次第、随時送信するようにしてもよい。
The data is obtained by dividing the data to be transmitted by the
CRCは、ペイロード内のエラーを検出および訂正するための巡回冗長検査符号である。 CRC is a cyclic redundancy check code for detecting and correcting errors in the payload.
図7は、本発明の実施の形態における再送要求パケットのフィールド構成例を示す図である。この再送要求パケットは、ペイロードにおいて、8ビットのシーケンス番号(SEQ-NO)を含んでいる。同図のaのように、1パケットの再送要求につき1つの再送要求パケットを用いてもよく、同図のbのように、複数パケットの再送要求時にそれぞれのシーケンス番号を1つの再送要求パケットにまとめてもよい。 FIG. 7 is a diagram showing a field configuration example of a retransmission request packet in the embodiment of the present invention. This retransmission request packet includes an 8-bit sequence number (SEQ-NO) in the payload. One retransmission request packet may be used for one packet retransmission request as shown in a in the figure, and each sequence number is changed to one retransmission request packet when a plurality of packets are requested for retransmission as shown in b in the figure. It may be summarized.
ここで、BLE規格による無線通信により無線通信装置101および102を通信接続した場合を想定する。この場合、上述のデータ送信パケットおよび再送要求パケットをBLEのGATT(Generic Attribute Profile)の「サービス(Service)」および「キャラクタリスティック(Characteristic)」のデータ交換により、送受信することが考えられる。このとき、データ送信パケットは、キャラクタリスティックへの書込みのメソッドとして、レスポンスを要求しないデータ送信であることを意味する「Notification」を用いることができる。一方、再送要求パケットは、再送を要求するパケットの番号を送信装置側の再送パケットリストに書き込むために「Write Value」を用いることができる。
Here, it is assumed that the
次に、上述の実施の形態における無線通信システムの動作について図面を参照して説明する。 Next, the operation of the wireless communication system in the above embodiment will be described with reference to the drawings.
図8は、本発明の実施の形態におけるデータ送信処理の処理手順例を示す流れ図である。左側に送信装置側の処理手順を、右側に受信装置側の処理手順を、それぞれ示している。 FIG. 8 is a flowchart showing an example of a processing procedure of data transmission processing in the embodiment of the present invention. The processing procedure on the transmission device side is shown on the left side, and the processing procedure on the reception device side is shown on the right side.
送信装置(無線通信装置101)では、データを分割してパケットを生成し、そのパケットを送信する(ステップS911)。その際、上述のように、シーケンス番号が付与される。送信されたパケットは、即座に消去するのではなく、一連のデータの送信完了まで、または、送受信バッファ140がいっぱいになるまで、送受信バッファ140(送信バッファ141)内に格納し、再送要求に備える。ただし、次の送信パケットが存在する場合、受信装置からの再送要求パケットを待つことなく、パケット送信を継続する。すなわち、パケットの送信と、要求があったパケットの再送を並行して行ってよい。
The transmission device (wireless communication device 101) divides data to generate a packet, and transmits the packet (step S911). At this time, a sequence number is assigned as described above. The transmitted packet is not erased immediately, but is stored in the transmission / reception buffer 140 (transmission buffer 141) until the transmission of a series of data is completed or until the transmission /
受信装置(無線通信装置102)では、送信装置から送信されたパケットを受信すると(ステップS921:Yes)、そのパケットに付加されているシーケンス番号(SEQ-NO)を確認する(ステップS922)。これにより、欠損パケットの有無を判定する。すなわち、受信したパケットのシーケンス番号が離れていれば、その間のパケットが欠損パケットであると認識する。換言すれば、次のパケットを受信するまでは、欠損パケットの存在を認識しない。 When the reception device (wireless communication device 102) receives the packet transmitted from the transmission device (step S921: Yes), the sequence number (SEQ-NO) added to the packet is confirmed (step S922). Thereby, the presence or absence of a missing packet is determined. That is, if the sequence numbers of the received packets are separated, the packet between them is recognized as a missing packet. In other words, the presence of a missing packet is not recognized until the next packet is received.
シーケンス番号に抜けがあり(ステップS923:Yes)、欠損パケットがあることが検出されると、受信装置は欠損パケットのシーケンス番号を含んだ再送要求パケットを送信装置に送信する(ステップS924)。 If there is a missing sequence number (step S923: Yes) and it is detected that there is a missing packet, the receiving apparatus transmits a retransmission request packet including the sequence number of the missing packet to the transmitting apparatus (step S924).
送信装置は、再送要求パケットを受信すると(ステップS912:Yes)、指定されたパケットが送受信バッファ140に存在すれば(ステップS913:Yes)、その指定されたパケットをバッファメモリから取得して、新たに送信するパケットの送信処理に割り込ませて、受信装置に再送する(ステップS914)。一方、再送を要求されたパケットが送信装置のバッファメモリから破棄済みである場合(ステップS913:No)、送信装置は再送要求を拒否するために、例えば、送信要求に対するエラーを通知する(ステップS915)。これらの処理の後、送信装置はさらに次のパケットの送信動作を行う。 When the transmission apparatus receives the retransmission request packet (step S912: Yes), if the designated packet exists in the transmission / reception buffer 140 (step S913: Yes), the transmission apparatus acquires the designated packet from the buffer memory, and newly The packet is transmitted to the receiving apparatus and retransmitted to the receiving apparatus (step S914). On the other hand, when the packet requested for retransmission has been discarded from the buffer memory of the transmission device (step S913: No), the transmission device notifies, for example, an error with respect to the transmission request in order to reject the retransmission request (step S915). ). After these processes, the transmission apparatus further performs the next packet transmission operation.
受信装置では、欠損パケット以降もパケットを受信し、再送された欠損パケットを受信した後に、元データの復元処理を行う。このとき、受信装置では、欠損パケット以降の受信パケットを破棄することはしない。送信装置も、再送要求があったパケット以降のパケットを全て再送することはしない。これらの処理の後、受信装置はさらに次のパケットの受信動作を行う。 The receiving device receives the packet after the missing packet and performs the restoration process of the original data after receiving the retransmitted missing packet. At this time, the receiving apparatus does not discard the received packets after the missing packet. The transmitting apparatus also does not retransmit all the packets after the packet for which a retransmission request has been made. After these processes, the receiving apparatus further performs a receiving operation for the next packet.
このように、送信装置は、受信装置における受信の確認を行うことなく、複数のパケットを送信順序に従って連続的に受信装置に送信する一方で、再送要求があった際には指定されたパケットを受信装置に再送する。 In this way, the transmission device continuously transmits a plurality of packets to the reception device according to the transmission order without confirming reception at the reception device. Retransmit to receiver.
図9は、本発明の実施の形態におけるデータ送信処理の処理手順例を示すシーケンス図である。この例では、1つのコネクションインターバルで3つのパケットを送信することを想定している。 FIG. 9 is a sequence diagram illustrating an example of a processing procedure of data transmission processing according to the embodiment of the present invention. In this example, it is assumed that three packets are transmitted in one connection interval.
まず、送信装置から最初に送信された3つのパケットについては、受信装置において正常に受信される。そして、次の3つのパケットについては、パケット#4の次にパケット#6が受信される。すなわち、パケット#5が受信されず、パケット#6を受信したことから、パケット#5が欠損パケットであると検出する(821)。そのため、受信装置から送信装置に対してパケット#5の再送要求が行われる。
First, the first three packets transmitted from the transmitting device are normally received by the receiving device. For the next three packets,
送信装置では受信確認を行うことなく送信が続行され、パケット#5の再送要求を受けると、送受信バッファ140(送信バッファ141)からパケット#5を読み出して、受信装置に再送する(812)。
The transmission device continues transmission without confirming reception. When a retransmission request for
受信装置においてパケット#5が受信されると、送受信バッファ140(受信バッファ142)に格納される。その後、データの復元に必要な全てのパケットが受信されると、受信装置において元データが復元される(823)。復元されたデータは後段の(図示しない)処理装置に出力される(824)。
When
図10は、本発明の実施の形態におけるデータ送信時の再送が生じない場合のタイミングチャートである。同図および次図において、TXは送信部160を、RXは受信部150を、それぞれ表す。
FIG. 10 is a timing chart in the case where retransmission at the time of data transmission does not occur in the embodiment of the present invention. In the figure and the next figure, TX represents the
同図に示すように、送信装置から送信されたパケットは受信装置において受信され、欠損パケットが検出されない場合には再送は要求されない。 As shown in the figure, the packet transmitted from the transmitting device is received by the receiving device, and retransmission is not requested when a missing packet is not detected.
図11は、本発明の実施の形態におけるデータ送信時の再送が生じた場合のタイミングチャートである。 FIG. 11 is a timing chart when retransmission occurs at the time of data transmission in the embodiment of the present invention.
同図に示すように、送信装置から送信されたパケット#5が受信装置において受信されずにパケット#6が受信された場合、受信装置はパケット#5の再送を要求する。送信装置は、パケット#7以降を引き続き連続的に送信する中で、割り込んでパケット#5を再送する。
As shown in the figure, when the
図12は、本発明の実施の形態における終端処理の処理手順例を示す流れ図である。左側に送信装置側の処理手順を、右側に受信装置側の処理手順を、それぞれ示している。 FIG. 12 is a flowchart showing an example of a processing procedure of termination processing in the embodiment of the present invention. The processing procedure on the transmission device side is shown on the left side, and the processing procedure on the reception device side is shown on the right side.
上述の再送処理では、受信装置は受信したパケットのシーケンス番号に抜けがある場合に、欠損パケットの存在を認識している。他方、一連のデータの送信時の最後のパケットが受信装置に到達しなかった場合に、受信装置は欠損パケットの存在を認識できず、再送要求を行うこともできない。そこで、一連のデータの最後のパケットを送信した後に、送信装置と受信装置との間で、最後のパケットが適切に受信されたかを確認するために「終端処理」を行う。 In the retransmission process described above, the receiving device recognizes the presence of a missing packet when there is a missing sequence number in the received packet. On the other hand, when the last packet at the time of transmitting a series of data does not reach the receiving device, the receiving device cannot recognize the presence of the missing packet and cannot make a retransmission request. Therefore, after transmitting the last packet of a series of data, a “termination process” is performed between the transmitting device and the receiving device in order to confirm whether the last packet has been properly received.
送信装置は、複数のパケットを送信順序に従って連続的に受信装置に送信する(ステップS931)。そして、データの最後のパケットを送信すると(ステップS932:Yes)、終端処理として、送信装置は次のシーケンス番号を付加したパケットを送信する(ステップS933)。ただし、このパケットにおいては、データは不要であるため、いわゆる空パケットとなる。この終端処理において送信装置から送信される空パケットを、特に終了確認パケットと称する。 The transmission device continuously transmits a plurality of packets to the reception device according to the transmission order (step S931). When the last packet of data is transmitted (step S932: Yes), as a termination process, the transmission device transmits a packet with the next sequence number added (step S933). However, since this packet does not require data, it is a so-called empty packet. An empty packet transmitted from the transmission device in this termination processing is particularly referred to as an end confirmation packet.
受信装置は、パケットの受信処理を行っている間に(ステップS941)、空パケットを受信すると(ステップS942:Yes)、最後に受信したパケットのシーケンス番号(すなわち、空パケットのシーケンス番号)を通知する番号通知パケットを送信装置に送信する(ステップS943)。この番号通知パケットも、データは不要であるため、いわゆる空パケットとなる。 When the receiving device receives the empty packet (step S942: Yes) while performing the packet receiving process (step S941), it notifies the sequence number of the last received packet (that is, the sequence number of the empty packet). The number notification packet to be transmitted is transmitted to the transmission device (step S943). Since this number notification packet does not require data, it is a so-called empty packet.
送信装置は、番号通知パケットを受信した場合に(ステップS934:Yes)、受信装置が一連のデータを構成するパケット全てを受信したため、以降、そのデータのパケットについての再送要求は発生しないと判断し、送信バッファ141に格納していた送信パケットをパージ(破棄)することができるようになる(ステップS936)。なお、送信装置は、受信装置からの番号通知パケットに対しては、特に返信を要しない。
When the transmitting apparatus receives the number notification packet (step S934: Yes), the receiving apparatus determines that no retransmission request for the data packet is generated since the receiving apparatus has received all the packets constituting the series of data. The transmission packet stored in the
同様に、受信装置においても、一連のデータを構成するパケット全てを受信したことを確認したことにより、パケットを用いて元データの復元を行うことができるようになる。そして、受信バッファ142からこれまでの受信パケットをパージすることができるようになる(ステップS944)。 Similarly, the receiving device can restore the original data using the packets by confirming that all the packets constituting the series of data have been received. Then, the received packets so far can be purged from the reception buffer 142 (step S944).
この終端処理では、送信装置は受信装置からの通知を待ち、通知があるまで空パケットを所定時間ごとに繰り返し再送する(ステップS935:Yes)。ただし、これらの処理は一連のデータを構成するパケット全てを送信した後に行うものであり、データ送信時のスループットの低下には繋がらない。 In this termination process, the transmission device waits for a notification from the reception device, and retransmits an empty packet repeatedly at predetermined time intervals until there is a notification (step S935: Yes). However, these processes are performed after transmitting all the packets constituting a series of data, and do not lead to a decrease in throughput during data transmission.
また、次に送信するデータがある場合には(ステップS937:Yes)、一連のデータの送信終了後の終端処理に並行して、次のデータの送信を行うこともできる(ステップS938)。したがって、スループットの低下を生じないようにすることができる。なお、このとき、シーケンス番号を引き続き使用してインクリメントしてもよく、または、リセットしても構わない。 If there is data to be transmitted next (step S937: Yes), the next data can be transmitted in parallel with the termination processing after the end of transmission of a series of data (step S938). Therefore, it is possible to prevent a decrease in throughput. At this time, the sequence number may be continued to be incremented or reset.
図13は、本発明の実施の形態における終端処理の処理手順例を示すシーケンス図である。この例では、全部で5つのパケットを送信する際に、1つのコネクションインターバルで3つのパケットずつ送信することを想定している。 FIG. 13 is a sequence diagram showing an example of a processing procedure of termination processing according to the embodiment of the present invention. In this example, when a total of five packets are transmitted, it is assumed that three packets are transmitted at one connection interval.
まず、送信装置から最初に送信された3つのパケットについては、受信装置において正常に受信される。そして、次のコネクションインターバルでは、パケット#4および#5が送信される。そして、最後のパケット#5が送信されたため、終了確認パケットとしてシーケンス番号#6を付加した空パケットを送信する(831)。
First, the first three packets transmitted from the transmitting device are normally received by the receiving device. In the next connection interval,
この例では、終了確認パケットの送信(831)から所定時間経過しても受信装置から番号通知パケットが返信されなかった場合を想定している。そのため、送信装置は、終了確認パケットが受信されなかったものと判断して、シーケンス番号#6を付加した空パケットを再度送信する(832)。
In this example, it is assumed that the number notification packet is not returned from the receiving device even after a predetermined time has elapsed since the transmission of the end confirmation packet (831). Therefore, the transmitting apparatus determines that the end confirmation packet has not been received, and transmits again the empty packet to which
終了確認パケットを受信した受信装置は、最後に受信したパケットのシーケンス番号である#6を付加した空パケットを、番号通知パケットとして返信する(843)。そして、そのデータの受信が完了したものと判断して、受信バッファ142に格納されているパケットから元データを復元し、受信バッファ142に格納されているパケットをパージする(844)。
The receiving apparatus that has received the end confirmation packet returns an empty packet with the
番号通知パケットを受信した送信装置は、そのデータの送信が完了したものと判断して、送信バッファ141に格納されているパケットをパージする(834)。なお、このパージの完了においても、次のデータの送信を開始することができる(835)。 The transmission device that has received the number notification packet determines that the transmission of the data has been completed, and purges the packet stored in the transmission buffer 141 (834). Note that the transmission of the next data can be started even after the purge is completed (835).
このように、本発明の実施の形態によれば、受信装置における受信の確認を行うことなく、送信装置から複数のパケットを送信する一方で、受信装置からの再送要求に従ってパケットを再送することにより、通信エラーの回復処理に伴う性能低下を回避することができる。 As described above, according to the embodiment of the present invention, by transmitting a plurality of packets from a transmission device without confirming reception at the reception device, the packets are retransmitted according to a retransmission request from the reception device. Therefore, it is possible to avoid the performance degradation associated with the communication error recovery process.
なお、上述の実施の形態は本発明を具現化するための一例を示したものであり、実施の形態における事項と、特許請求の範囲における発明特定事項とはそれぞれ対応関係を有する。同様に、特許請求の範囲における発明特定事項と、これと同一名称を付した本発明の実施の形態における事項とはそれぞれ対応関係を有する。ただし、本発明は実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において実施の形態に種々の変形を施すことにより具現化することができる。 The above-described embodiment shows an example for embodying the present invention, and the matters in the embodiment and the invention-specific matters in the claims have a corresponding relationship. Similarly, the matters specifying the invention in the claims and the matters in the embodiment of the present invention having the same names as the claims have a corresponding relationship. However, the present invention is not limited to the embodiment, and can be embodied by making various modifications to the embodiment without departing from the scope of the invention.
また、上述の実施の形態において説明した処理手順は、これら一連の手順を有する方法として捉えてもよく、また、これら一連の手順をコンピュータに実行させるためのプログラム乃至そのプログラムを記憶する記録媒体として捉えてもよい。この記録媒体として、例えば、CD(Compact Disc)、MD(MiniDisc)、DVD(Digital Versatile Disc)、メモリカード、ブルーレイディスク(Blu-ray(登録商標)Disc)等を用いることができる。 Further, the processing procedure described in the above embodiment may be regarded as a method having a series of these procedures, and a program for causing a computer to execute these series of procedures or a recording medium storing the program. You may catch it. As this recording medium, for example, a CD (Compact Disc), an MD (MiniDisc), a DVD (Digital Versatile Disc), a memory card, a Blu-ray disc (Blu-ray (registered trademark) Disc), or the like can be used.
101、102 無線通信装置
110 プロセッサ
111 パケット生成部
112 再送処理部
113 再送要求部
114 復元部
120 メモリ
130 通信制御部
140 送受信バッファ
141 送信バッファ
142 受信バッファ
150 受信部
160 送信部
170 アンテナスイッチ
180 アンテナ
DESCRIPTION OF SYMBOLS 101,102
Claims (10)
前記第1の無線通信装置は、
データを分割してその分割されたデータのそれぞれに送信順序を示すシーケンス番号を付加して複数のパケットを生成するパケット生成部と、
前記第2の無線通信装置における受信の確認を行うことなく、前記複数のパケットを前記送信順序に従って連続的に前記第2の無線通信装置に送信する送信部と、
前記送信された複数のパケットを格納する送信バッファと、
前記送信された複数のパケットのうち前記第2の無線通信装置からの再送要求により指定されたパケットを再送する再送処理部と
を備え、
前記第2の無線通信装置は、
前記第1の無線通信装置から送信された前記複数のパケットを受信する受信部と、
前記受信した複数のパケットを格納する受信バッファと、
前記受信した複数のパケットのシーケンス番号に基づいて、受信に失敗したパケットを特定して、前記第1の無線通信装置に対して前記受信に失敗したパケットのみについて前記再送要求を行う再送要求部と
を備える
無線通信システム。 A wireless communication system for transmitting and receiving data between a first wireless communication device and a second wireless communication device,
The first wireless communication device is:
A packet generator that divides data and generates a plurality of packets by adding a sequence number indicating a transmission order to each of the divided data;
A transmitting unit that continuously transmits the plurality of packets to the second wireless communication device in accordance with the transmission order without confirming reception in the second wireless communication device;
A transmission buffer for storing the plurality of transmitted packets;
A retransmission processing unit that retransmits a packet designated by a retransmission request from the second wireless communication device among the plurality of transmitted packets;
The second wireless communication device is:
A receiving unit for receiving the plurality of packets transmitted from the first wireless communication device;
A reception buffer for storing the received plurality of packets;
A retransmission request unit that identifies a packet that has failed to be received based on a sequence number of the plurality of received packets, and that makes a retransmission request for only the packet that has failed to be received to the first wireless communication device; A wireless communication system comprising:
前記再送要求部は、受信に失敗したパケットが存在することを検出した場合、前記受信バッファに格納される前記受信に失敗したパケット以降に受信したパケットを破棄することなく、前記受信に失敗したパケットのみについて前記再送要求を行うよう、前記受信に失敗したパケットのシーケンス番号を含むパケットを前記第1の無線通信装置に送信する
請求項1記載の無線通信システム。 In the second wireless communication device,
When the retransmission request unit detects that there is a packet that has failed to be received, the packet that has failed to be received without discarding packets received after the packet that has failed to be received stored in the reception buffer. The wireless communication system according to claim 1, wherein a packet including a sequence number of the packet that has failed to be received is transmitted to the first wireless communication apparatus so that the retransmission request is made only for the first wireless communication apparatus.
前記送信部は、前記データから生成されたパケットを全て送信した後に、最後に送信したパケットの次のシーケンス番号を付加した終了確認パケットを送信し、
前記送信バッファは、前記終了確認パケットを受信した旨を確認する通知を前記第2の無線通信装置から受信した後に、前記格納する複数のパケットのうち前記データから生成されたパケットを破棄し、
前記第2の無線通信装置において、
前記終了確認パケットを受信した場合、
前記受信部は、前記終了確認パケットを受信した際に前記終了確認パケットを受信した旨を確認する通知を前記第1の無線通信装置に返信し、
前記受信バッファは、前記格納する複数のパケットのうち前記データから生成されたパケットを破棄する
請求項1記載の無線通信システム。 In the first wireless communication device,
The transmitter, after transmitting all the packets generated from the data, transmits an end confirmation packet with a sequence number next to the last transmitted packet,
The transmission buffer discards a packet generated from the data among the plurality of packets to be stored after receiving a notification confirming that the completion confirmation packet has been received from the second wireless communication device,
In the second wireless communication device,
When the end confirmation packet is received,
The reception unit returns a notification confirming that the completion confirmation packet has been received to the first wireless communication device when the completion confirmation packet is received,
The wireless communication system according to claim 1, wherein the reception buffer discards a packet generated from the data among the plurality of packets to be stored.
前記送信部は、前記終了確認パケットを送信してから所定の期間が経過するまでの間に前記終了確認パケットを受信した旨を確認する通知を受信しない場合、前記終了確認パケットを再度送信する
請求項3記載の無線通信システム。 In the first wireless communication device,
The transmission unit retransmits the end confirmation packet when not receiving a notification confirming that the end confirmation packet has been received during a predetermined period after the end confirmation packet is transmitted. Item 4. The wireless communication system according to Item 3.
請求項1記載の無線通信システム。 The second wireless communication apparatus further includes a restoration unit that restores the data from the divided data included in a plurality of packets stored in the reception buffer when the completion confirmation packet is received. The wireless communication system described.
前記第2の無線通信装置は、前記受信に失敗したパケットの特定、前記再送の要求、および、前記データの復元の各動作を実行するための第2アプリケーションを実行する第2プロセッサと、前記第2アプリケーションを格納する第2メモリとをさらに備える
請求項5記載の無線通信システム。 The first wireless communication apparatus includes: a first processor that executes a first application for performing operations of dividing the data, adding the sequence number, and retransmitting the designated packet; A first memory for storing one application;
The second wireless communication apparatus includes: a second processor that executes a second application for executing the operations of identifying the packet that has failed to be received, requesting the retransmission, and restoring the data; The wireless communication system according to claim 5, further comprising a second memory for storing two applications.
前記第1の無線通信装置が、データを分割してその分割されたデータのそれぞれに送信順序を示すシーケンス番号を付加して複数のパケットを生成するパケット生成手順と、
前記第1の無線通信装置が、前記第2の無線通信装置における受信の確認を行うことなく、前記複数のパケットを前記送信順序に従って連続的に前記第2の無線通信装置に送信する送信手順と、
前記第2の無線通信装置が、前記第1の無線通信装置から送信された前記複数のパケットを受信する受信手順と、
前記第2の無線通信装置が、前記受信した複数のパケットのシーケンス番号に基づいて、受信に失敗したパケットを特定して、前記第1の無線通信装置に対して前記受信に失敗したパケットのみについて再送要求を行う再送要求手順と、
前記第1の無線通信装置が、前記送信された複数のパケットのうち前記第2の無線通信装置からの前記再送要求により指定されたパケットを再送する再送処理手順と
を備える無線通信システムにおける無線通信方法。 In a wireless communication system that transmits and receives data between a first wireless communication device and a second wireless communication device,
A packet generation procedure in which the first wireless communication apparatus divides data and generates a plurality of packets by adding a sequence number indicating a transmission order to each of the divided data;
A transmission procedure in which the first wireless communication device continuously transmits the plurality of packets to the second wireless communication device in accordance with the transmission order without confirming reception in the second wireless communication device; ,
A reception procedure in which the second wireless communication device receives the plurality of packets transmitted from the first wireless communication device;
The second wireless communication apparatus identifies a packet that has failed to be received based on a sequence number of the plurality of received packets, and only the packet that has failed to be received with respect to the first wireless communication apparatus A retransmission request procedure for making a retransmission request;
Wireless communication in a wireless communication system, wherein the first wireless communication device includes a retransmission processing procedure for retransmitting a packet designated by the retransmission request from the second wireless communication device among the plurality of transmitted packets Method.
受信側の無線通信装置における受信の確認を行うことなく、前記複数のパケットを前記送信順序に従って連続的に前記受信側の無線通信装置に送信する送信部と、
前記送信された複数のパケットを格納する送信バッファと、
前記送信された複数のパケットのうち前記受信側の無線通信装置からの再送要求により指定されたパケットを再送する再送処理部と
を具備する無線通信装置。 A packet generator that divides data and generates a plurality of packets by adding a sequence number indicating a transmission order to each of the divided data;
A transmission unit that continuously transmits the plurality of packets to the reception-side wireless communication device according to the transmission order without performing reception confirmation in the reception-side wireless communication device;
A transmission buffer for storing the plurality of transmitted packets;
A wireless communication apparatus comprising: a retransmission processing unit configured to retransmit a packet designated by a retransmission request from the reception-side wireless communication apparatus among the plurality of transmitted packets.
前記送信バッファは、前記終了確認パケットを受信した旨を確認する通知を前記受信側の無線通信装置から受信した後に、前記格納する複数のパケットのうち前記データから生成されたパケットを破棄する
請求項8記載の無線通信装置。 The transmitter, after transmitting all the packets generated from the data, transmits an end confirmation packet with a sequence number next to the last transmitted packet,
The transmission buffer discards a packet generated from the data among the plurality of stored packets after receiving a notification confirming that the end confirmation packet has been received from the wireless communication device on the receiving side. The wireless communication device according to 8.
前記第1アプリケーションを格納する第1メモリと
をさらに具備する請求項8記載の無線通信装置。 A first processor that executes a first application for performing the operations of dividing the data, adding the sequence number, and retransmitting the designated packet;
The wireless communication apparatus according to claim 8, further comprising a first memory for storing the first application.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013-226471 | 2013-10-31 | ||
| JP2013226471A JP2015088957A (en) | 2013-10-31 | 2013-10-31 | Radio communication device, radio communication system, and radio communication method therefor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015064288A1 true WO2015064288A1 (en) | 2015-05-07 |
Family
ID=53003901
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2014/076353 Ceased WO2015064288A1 (en) | 2013-10-31 | 2014-10-02 | Wireless communication device, wireless communication system, and wireless communication method thereof |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JP2015088957A (en) |
| TW (1) | TW201517561A (en) |
| WO (1) | WO2015064288A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2024125062A (en) * | 2023-03-03 | 2024-09-13 | サイレックス・テクノロジー株式会社 | Transmission method and transmission system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002169738A (en) * | 2000-11-30 | 2002-06-14 | Mitsubishi Electric Corp | File delivery method |
| WO2003005644A1 (en) * | 2001-07-06 | 2003-01-16 | Sharp Kabushiki Kaisha | Communication management method, communication management program, recording medium containing communication management program, communication system, communication apparatus, and central management apparatus |
| WO2005027456A1 (en) * | 2003-09-18 | 2005-03-24 | Nomura Research Institute Co., Ltd. | Communication system, communication device, and data retransmission control method |
| WO2011046056A1 (en) * | 2009-10-14 | 2011-04-21 | 日本電気株式会社 | Transmission control method for packet communication and packet communication system |
-
2013
- 2013-10-31 JP JP2013226471A patent/JP2015088957A/en active Pending
-
2014
- 2014-10-02 WO PCT/JP2014/076353 patent/WO2015064288A1/en not_active Ceased
- 2014-10-15 TW TW103135731A patent/TW201517561A/en unknown
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002169738A (en) * | 2000-11-30 | 2002-06-14 | Mitsubishi Electric Corp | File delivery method |
| WO2003005644A1 (en) * | 2001-07-06 | 2003-01-16 | Sharp Kabushiki Kaisha | Communication management method, communication management program, recording medium containing communication management program, communication system, communication apparatus, and central management apparatus |
| WO2005027456A1 (en) * | 2003-09-18 | 2005-03-24 | Nomura Research Institute Co., Ltd. | Communication system, communication device, and data retransmission control method |
| WO2011046056A1 (en) * | 2009-10-14 | 2011-04-21 | 日本電気株式会社 | Transmission control method for packet communication and packet communication system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015088957A (en) | 2015-05-07 |
| TW201517561A (en) | 2015-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11637440B2 (en) | Battery management system, and method and apparatus for transmitting information | |
| CN101031110B (en) | Apparatus and method for processing bursts in wireless communication system | |
| WO2009021417A1 (en) | A method, system and device for transmitting and receiving the network data | |
| US11368250B1 (en) | Adaptive payload extraction and retransmission in wireless data communications with error aggregations | |
| JP5935940B2 (en) | COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION PROGRAM | |
| CN104539739A (en) | System, method and device for uploading files | |
| US9197373B2 (en) | Method, apparatus, and system for retransmitting data packet in quick path interconnect system | |
| JP2015027100A (en) | Transmission control method for packet communication, and packet communication system | |
| CN103918209A (en) | Apparatus and method for sending and receiving application layer-forward error correction packet in multimedia communication system | |
| CN107852275B (en) | Data transmission device, data transmission method, reception device, and reception method | |
| KR100772528B1 (en) | Efficient Packet Retransmission Method and Device in Wired / Wireless Networks | |
| JP6188867B2 (en) | Method and system for restoring packets | |
| JP2006211632A (en) | Detection method of crc inspection error out of range | |
| US9246632B2 (en) | Reception processing device | |
| CN105592135B (en) | Data redundancy eliminates DRE dictionary confirmation method and equipment | |
| CN104079376A (en) | Data communication method and apparatus using forward error correction | |
| WO2015064288A1 (en) | Wireless communication device, wireless communication system, and wireless communication method thereof | |
| CN102341784B (en) | A method for fast MAP recovery when an error occurs in MoCA | |
| US8773976B1 (en) | Method and system for communication acknowledgement | |
| JP6601863B2 (en) | Wireless communication system, wireless communication terminal, collision detection method, program | |
| JP6358430B2 (en) | Communication control device and communication control method | |
| US20170222760A1 (en) | Low Latency, Automatic Repeat Request ("ARQ") in a Multi-Device Communications Link | |
| WO2015137854A1 (en) | Method and devices for providing feedback in a communication system | |
| JP7332660B2 (en) | RELAYER, PROGRAM, SYSTEM, COMMUNICATION TERMINAL AND METHOD | |
| JP4581925B2 (en) | Data transfer apparatus and data transfer method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14858382 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14858382 Country of ref document: EP Kind code of ref document: A1 |