Embodiments described herein relate generally to a wireless apparatus and a wireless system.
Methods using an acknowledgement and methods using a negative acknowledgement have been known as methods for determining whether a receiver has correctly received a signal transmitted by a transmitter or not.
For example, a wireless LAN system uses an acknowledgement (ACK). A receiver in the wireless LAN system transmits an ACK signal only when the receiver has correctly received a signal transmitted by a transmitter.
On the other hand, JP-4110522-B discloses a one-to-one communication system using a negative ACK (NACK). Only one transmitter and only one receiver belong to the one-to-one communication system. Therefore, the transmitter and the receiver in the one-to-one communication system hardly suffer interference from any other wireless apparatus. Accordingly, probability of success in receiving a signal is higher than probability of failure in receiving a signal. The receiver in JP-4110522-B transmits a NACK signal only when the receiver has failed in receiving a signal.
Any reply signal (ACK signal or NACK signal) is a control signal which includes no data. Thus, the throughput of the system deteriorates when the number of times of transmitting the reply signal increases. The throughput of the system can be improved if either an ACK or a NACK is used in accordance with a propagation environment as in the wireless LAN system or the system in JP-4110522-B.
There are plural kinds of reply signals, such as an ACK signal, a NACK signal, a BA (Block ACK) signal, etc. Therefore, the transmitter transmits a signal having a header portion to which information (reply signal type, ReqACKType) indicating that which reply signal should be used is added. The receiver demodulates the header portion of the signal and sends back a reception result using the reply signal specified in the header portion.
When the receiver fails in receiving a header portion of a signal due to deterioration of the propagation environment, the receiver cannot demodulate the reply signal type and cannot send back a reply signal.
When there is no reply from the receiver in the case where the transmitter requests a NACK signal, the transmitter cannot determine whether there is no reply because the receiver has succeeded in receiving a signal, or a reply cannot be sent back because the propagation environment deteriorates.
A general architecture that implements the various features of the present invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments and not to limit the scope of the present invention.
In general, one embodiment provides a wireless apparatus including: a reception unit which receives a data signal having a header field and a data field, the header field including a reply request which specifies either an acknowledgement or a negative acknowledgement; a decision unit which decides a reception result indicating whether the header field and the data field have been received successfully or unsuccessfully; and a transmission unit which transmits the acknowledgement or the negative acknowledgement in accordance with the reply request and the reception result of the data field when the header field has been received successfully, and transmits the negative acknowledgement when the header field has been received unsuccessfully.
Embodiments will be described below with reference to the drawings. Parts referred to by the same numerals are assumed to perform similar operations in the following examples, so that redundant description thereof will be omitted.
First, the outline of a wireless system according to the embodiment will be described with reference to
In order to make connections easier and more efficient than in a method in which one wireless apparatus serves as an access point to transmit a broadcast signal (e.g. a Beacon signal) and each wireless apparatus makes random backoff control whenever the wireless apparatus makes transmission, the wireless system makes communication as follows.
First, when there occurs data to be transmitted to the second wireless apparatus 2, the first wireless apparatus 1 transmits a connection request signal to the second wireless apparatus, for example, by use of random backoff control. The second wireless apparatus 2 receives the connection request signal and transmits a connection permission signal to the first wireless apparatus 1. Thus, the first and second wireless apparatuses 1 and 2 establish connection.
After establishing the connection, the first wireless apparatus 1 divides the data to be transmitted, into plural pieces, to thereby generate plural split data. The first wireless apparatus 1 generates data signals from the split data and transmits the data signals to the second wireless apparatus 2. Each of the data signals includes a reply request (reply signal type) indicating the kind of reply signal. On receiving the data signal, the second wireless apparatus 2 transmits a reply signal in accordance with the reply request and a reception result of the data signal.
Communication between the first and second wireless apparatuses 1 and 2 after connection between the first wireless apparatus 1 as a transmitter and the second wireless apparatus 2 as a receiver is established will be described with reference to
After establishing the connection, the first wireless apparatus 1 transmits a data signal D101. Though not shown, the data signal D101 has a header field and a data field. The header field includes information (reply request) indicating that which type of reply signal should be used and information (SN: Sequence Number) indicating the number of the transmitted data signal in the transmission sequence of data signals. The data field includes split data obtained as a split part of the data to be transmitted. When transmitting the data signal D101, the first wireless apparatus 1 also requests an ACK signal as a reply. Accordingly, information (ACK request) to request an ACK signal and information indicating SN=1 are written in the header field of the data signal D101.
On receiving the data signal D101, the second wireless apparatus 2 determines whether the header field and the data field have been demodulated correctly or not. When the second wireless apparatus 2 has received the data signal D101 and has demodulated the header field/data field correctly, the second wireless apparatus 2 is regarded as having succeeded in receiving the header field/data field. When the second wireless apparatus 2 has received the data signal D101 but has failed in demodulating the header field/data field correctly, the second wireless apparatus 2 is regarded as having failed in receiving the header field/data field.
When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data1 included in the data field, into a reception buffer B2. The second wireless apparatus 2 sends the split data Data1 to an upper layer (Upper) from the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus I requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A101 back to the first wireless apparatus 1. In addition, the second wireless apparatus 2 stores the SN(=1) of the data signal D101.
On receiving the ACK signal AI01, the first wireless apparatus 1 transmits a data signal D102 with SN=2. Assume that the first wireless apparatus 1 sets a negative acknowledgement (NACK request) as a reply request of the data signal D102. For example, the first wireless apparatus 1 regards the propagation environment as good because the data signal D101 has been transmitted to the second wireless apparatus 2 correctly. Thus, the first wireless apparatus 1 changes the request from the ACK request to the NACK request. Alternatively, the first wireless apparatus 1 may determine whether the propagation environment is good or bad from the reception result of the ACK signal 101, and then determine whether to change the request from the ACK request to the NACK request.
Assume that the second wireless apparatus 2 receives the data signal D102 but fails in receiving the header field and the data field due to deterioration of the propagation environment. Due to the failure in receiving the data field, the second wireless apparatus 2 stores nothing into the reception buffer B2. Due to the failure in receiving the header field, the second wireless apparatus 2 cannot determine the reply request. Accordingly, the second wireless apparatus 2 sends neither an ACK signal nor a NACK signal.
Since a NACK signal has not been sent back for a predetermined period since the transmission of the data signal D102, the first wireless apparatus I regards the transmission of the data signal D102 as successful. The first wireless apparatus 1 transmits the next data signal D103. A negative acknowledgement is set as a reply signal type in the data signal D103.
The second wireless apparatus 2 receives the data signal D103. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded or failed in receiving the header field and the data field. The second wireless apparatus 2 determines whether to transmit a reply signal or not based on the reply request included in the header field. In this case, the reply signal type is a NACK signal and the data signal D103 has been received successfully. Thus, the second wireless apparatus 2 sends no reply signal.
The second wireless apparatus 2 stores split data DATA3 included in the data field, into the reception buffer B2. On this occasion, from the reception result of the header field, the second wireless apparatus 2 concludes that the SN of the data signal D103 is 3, which is not consecutive to the SN(=1) of the data signal D101 received the last time. That is, the second wireless apparatus 2 concludes that the data signal D102 which has not been received exists between the data signal D101 received the last time and the data signal D103 received this time. Thus, the second wireless apparatus 2 stores the split data DATA3 into the reception buffer B2 while leaving a region where split data included in the data signal D102 can be stored. In addition, the second wireless apparatus 2 stores the SN(=3) of the data D103 which has been received this time and the SN(=2) of the data signal D102 which has not been received yet.
Since a NACK signal has not been sent back for a predetermined period since the transmission of the data signal D103, the first wireless apparatus 1 regards the transmission of the data signal D103 as successful. The first and second wireless apparatuses 1 and 2 transmit and receive data signals D104 and D105 in the same manner.
The total sum of the split data DATA2, DATA3, DATA4 and DATA5 which have been transmitted with the NACK request set as the reply signal type, split data DATA6 which is scheduled to be transmitted this time, and split data DATA7 which is scheduled to be transmitted next time, exceeds the size of the reception buffer B2 possessed by the second wireless apparatus 2. That is, when the split data DATA6 is stored in the reception buffer B2 as shown in
On receiving the data signal D106, the second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores the split data Data6 included in the data field, into the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A106 back to the first wireless apparatus 1. On this occasion, the second wireless apparatus 2 puts, in the ACK signal A106, the SN (SN=2 in the case of
On receiving the ACK signal A106, the first wireless apparatus 1 retransmits the data signal corresponding to the SN that has not been received yet. In the case of
On receiving the data signal D102, the second wireless apparatus 2 determines whether the header field and the data field have been received correctly or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores the split data Data2 included in the data field, into the region left in the reception buffer B2. In this manner, rearrangement of the split data stored in the reception buffer B2 in the SN order is referred to as (reception) buffer reordering. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A′102 back to the first wireless apparatus 1. The second wireless apparatus 2 sends the split data Data2 to Data6 from the reception buffer B2 to the upper layer (Upper).
As described above, in the case where the first and second wireless apparatuses 1 and 2 have reception buffers with sufficient sizes respectively and the first wireless apparatus 1 knows the size of the reception buffer B2 of the second wireless apparatus 2, the first wireless apparatus 1 sets the ACK request as a reply request of a data signal in accordance with the size of the reception buffer B2 of the second wireless apparatus 2. That is, when the total amount of split data which have been transmitted with the NACK request set therein exceeds the size of the reception buffer B2 of the second wireless apparatus 2, the first wireless apparatus I transmits transmission data to be transmitted next, with the ACK request set therein. Thus, even if the second wireless apparatus 2 fails in receiving the data signal D102, the first wireless apparatus 1 can retransmit the data signal D102 surely.
Another example of communication between the first and second wireless apparatuses 1 and 2 will be described with reference to
On receiving the data signal D103, the second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data3 included in the data field, into the reception buffer B2 in the communication example 1. In this example, however, the second wireless apparatus 2 does not store the split data Data3 into the reception buffer B2 because the second wireless apparatus 2 has failed in receiving the data signal D102 once. Since reception of the header field is successful, the second wireless apparatus 2 sends a reply signal to the first wireless apparatus 1 in accordance with a reply request. On this occasion, the reply request is a NACK request and reception of the data field is successful. Thus, the second wireless apparatus 2 sends no reply signal.
Since a NACK signal has not been sent back for a predetermined period since the transmission of the data signal D103, the first wireless apparatus 1 regards the transmission of the data signal D103 as successful. The first and second wireless apparatuses 1 and 2 transmit and receive a data signal D104 in the same manner.
When transmitting plural data signals with the ACK request set as the reply request, the first wireless apparatus 1 sets an ACK request periodically and transmits a data signal therewith. In the example of
On receiving the data signal D105, the second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. Although the header field and the data field have been received correctly, the second wireless apparatus 2 goes not store split data Data5 included in the data field, into the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the head field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A105 back to the first wireless apparatus 1. On this occasion, the second wireless apparatus 2 sends back the ACK signal A105 including SN(=1) corresponding to the split data DATA1 stored in the reception buffer B2 the last time.
On receiving the ACK signal A105, the first wireless apparatus I retransmits the data signal D102 corresponding to the SN(=2) next to the SN=1 included in the ACK signal A105. On this occasion, the first wireless apparatus 1 sets an ACK request as the reply request of the data signal D102.
On receiving the data signal D102, the second wireless apparatus 2 determines whether the header field and the data field have been received correctly or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data2 included in the data field, into the reception buffer B2. The second wireless apparatus 2 sends the split data Data2 to the upper layer (Upper) from the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A′102 back to the first wireless apparatus 1.
On receiving the ACK signal A′102, the first wireless apparatus 1 retransmits the data signal D103. The reply request of the data signal D103 may be either an ACK request or a NACK request. A case where the NACK request is set is shown in the example of
On receiving the data signal D103, the second wireless apparatus 2 determines whether the header field and the data field have been received correctly or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data3 included in the data field, into the reception buffer B2. The second wireless apparatus 2 sends the split data Data3 to the upper layer (Upper) from the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests a NACK signal. Thus, the second wireless apparatus 2 sends no reply signal back to the first wireless apparatus 1.
The first wireless apparatus 1 transmits the data signal D104 and subsequent data signals in the same manner.
As described above, in the case where the second wireless apparatus 2 fails in reception once, the second wireless apparatus 2 does not store received split data into the reception buffer B2 even when the second wireless apparatus 2 succeeds in receiving any data signal till the second wireless apparatus 2 transmits a reply signal next. Thus, the second wireless apparatus 2 sends back the reply signal including an SN corresponding to split data stored in the reception buffer B2 the last time. When another SN than the SN of the data signal transmitted the last time is included in the reply signal, the first wireless apparatus 1 retransmits data signals from a data signal corresponding to the next number to the SN included in the reply signal to the data signal transmitted the last time, sequentially. In this manner, the first wireless apparatus 1 can reduce undetected errors in reception and can retransmit data signals surely even if the first wireless apparatus 1 does not know the size of the reception buffer of the second wireless apparatus 2.
Another example of communication between the first and second wireless apparatuses 1 and 2 will be described with reference to
On receiving the data signal D103, the second wireless apparatus 2 demodulates the header field and the data field. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. In the example of
Since a NACK signal has not been sent back for a predetermined period since the transmission of the data signal D103, the first wireless apparatus 1 regards the transmission of the data signal D103 as successful. The first and second wireless apparatuses 1 and 2 transmit and receive a data signal D104 in the same manner.
Even when transmitting plural data signals with the NACK request set as the reply request type, the first wireless apparatus 1 sets an ACK request periodically and transmits a data signal therewith. In the example of
On receiving the data signal D105, the second wireless apparatus 2 demodulates the header field and the data field. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. Here, assume that the size of the reception buffer B2 of the second wireless apparatus 2 is too small so that the split data Data5 cannot be stored into the reception buffer B2. In this case, even if reception of the data field is successful, the second wireless apparatus 2 does not store the split data Data5 into the reception buffer B2.
The second wireless apparatus 2 demodulates the head field of the data signal D105 to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A105 back to the first wireless apparatus 1. On this occasion, the second wireless apparatus 2 sends back the ACK signal A105 including SNs (SN=2 and SN=5 in the example of
On receiving the ACK signal A105, the first wireless apparatus 1 retransmits the data signal D102 corresponding to the smaller one (SN=2) of the SNs=2 and 5 included in the ACK signal A105. On this occasion, the first wireless apparatus 1 sets an ACK request as the reply signal policy of the data signal D102.
On receiving the data signal D102, the second wireless apparatus 2 demodulates the header field and the data field. The second wireless apparatus 2 determines whether the header field and the data field have been received correctly or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data2 included in the data field, into the reception buffer B2. The second wireless apparatus 2 reorders the reception buffer B2, and sends the split data Data2 to Data4 stored in the reception buffer B2, to Upper. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends an ACK signal A′102 back to the first wireless apparatus 1.
On receiving the ACK signal A102, the first wireless apparatus 1 retransmits the data signal D105 corresponding to SN=5. The reply request of the data signal D105 may be either an ACK request or a NACK request. In
On receiving the data signal D105, the second wireless apparatus 2 demodulates the header field and the data field. The second wireless apparatus 2 determines whether the header field and the data field have been received correctly or not. When the header field and the data field have been received correctly, the second wireless apparatus 2 stores split data Data5 included in the data field, into the reception buffer B2. The second wireless apparatus 2 sends the split data Data5 to the upper layer (Upper) from the reception buffer B2. In addition, the second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests a NACK signal. Thus, the second wireless apparatus 2 sends no reply signal back to the first wireless apparatus 1.
As described above, when the second wireless apparatus 2 succeeds in receiving any subsequent data signal afterwards in the case where the second wireless apparatus 2 has failed in reception once, the second wireless apparatus 2 stores split data included in the successful data signal into the reception buffer B2. When sending an ACK signal back, the second wireless apparatus 2 sends back the ACK signal including an SN for a data signal which has been received unsuccessfully or an SN for a data signal which cannot be stored in the reception buffer B2 because the reception buffer B2 is full. It will go well if the first wireless apparatus 1 retransmits the data signal corresponding to the SN included in the ACK signal. Thus, the number of times of retransmission can be reduced as compared with that in the case of
Example 1 will be described. A wireless system according to Example 1 has the same configuration as the wireless system shown in
Packet configuration of each data signal to be transmitted and received by the first to third wireless apparatuses 1 to 3 will be described with reference to
The header field includes a Req ACK Type field and an SN field. The wireless system according to this example makes communication in one of an ACK mode in which each reception result is notified only by an ACK signal, a NACK mode in which each reception result is notified only by a NACK signal and a mixed mode in which each reception result is notified by either an ACK signal or a NACK signal. The type of a signal for giving a notification of a reception result when a data signal is received is written in the Req ACK Type field. Information (reply request) indicating that which type of reply signal should be used is included in the Req ACK Type field. When a wireless apparatus requests an ACK signal to be sent back after reception of a data signal, an ACK request is written in the Req ACK Type field. When a wireless apparatus requests a NACK signal to be sent back after reception of a data signal, a NACK request is written in the Req ACK Type field. Information (SN: Sequence Number) indicating the number of a transmitted data signal in the transmission sequence of data signals is included in the SN field. The header field may include destination address information, source address information, etc. in addition to the aforementioned fields. In addition, the header field may be divided into internal fields such as a common header and a sub header. In this case, a CRC bit for detecting an error is added to the tail of each header. Further, in this case, the destination address information, the source address information, etc. are generally included in the common header while the Req ACK Type etc. are included in the sub header. In this case, a NACK signal is sent when there is no error in the common header but there is an error in the sub header or a data field.
Next, communication between the first and second wireless apparatuses 1 and 2 after connection between the first wireless apparatus 1 as a transmitter and the second wireless apparatus 2 as a receiver is established will be described with reference to
Assume that the second wireless apparatus 2 receives the data signal D102 but fails in demodulating the header field and the data field due to deterioration of the propagation environment. Due to the failure in receiving the data field, the second wireless apparatus 2 stores nothing into the reception buffer B2. The second wireless apparatus 2 also fails in receiving the header field. Here, in the examples shown in
On receiving the NACK signal A602, the first wireless apparatus 1 retransmits the data signal D102. In
The second wireless apparatus 2 succeeds in receiving the data signal D102. The second wireless apparatus 2 determines whether to transmit a reply signal or not based on the reply request included in the header field. In this case, the reply request is a NACK signal and reception of the data signal D102 is successful. Thus, the second wireless apparatus 2 sends back no reply signal. In addition, the second wireless apparatus 2 stores split data DATA2 included in the data field, into the reception buffer B2.
Since a NACK signal has not been sent back for a predetermined period since the transmission of the data signal D102, the first wireless apparatus 1 regards the transmission of the data signal D102 as successful. The first wireless apparatus 1 transmits a data signal D103.
The second wireless apparatus 2 receives the data signal D103. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. In the case of
On receiving the NACK signal from the second wireless apparatus 2, the first wireless apparatus I retransmits the data signal D103. The second wireless apparatus 2 receives the data signal D103. Since reception of the data signal D103 is successful this time, the second wireless apparatus 2 stores split data DATA3 into the reception buffer B2, but sends back no reply signal.
Since a NACK signal has not been sent back for a predetermined period since the retransmission of the data signal D103, the first wireless apparatus 1 regards the transmission of the data signal D103 as successful. The first wireless apparatus 1 transmits a data signal D104. In the case of the mixed mode, the first wireless apparatus 1 transmits a data signal including an ACK request every predetermined period (or every predetermined number of times) even when transmitting a data signal including a NACK request. In
The second wireless apparatus 2 receives the data signal D104. The second wireless apparatus 2 stores split data DATA4 included in the data field, into the reception buffer B2. The second wireless apparatus 2 demodulates the header field to conclude that the first wireless apparatus 1 requests an ACK signal. Thus, the second wireless apparatus 2 sends back an ACK signal A604. The second wireless apparatus 2 sends the split data DATA2 to DATA4 to Upper. The split data may be sent to Upper when data signals with consecutive SNs are received, or may be sent to Upper with a predetermined condition as a trigger, for example, whenever the reception buffer B2 is full.
As described above, the second wireless apparatus 2 sends back a NACK signal regardless of the type of reply request when the second wireless apparatus 2 fails in receiving the header field. Incidentally, when the header field has a common header and a sub header as described above, the second wireless apparatus 2 sends the NACK signal when there is an error at least in the header in which the type of reply request is written.
Next, a configuration example of a wireless apparatus according to the example will be described with reference to
The first wireless apparatus 1 has an antenna 10, a wireless portion 20, a modulation/demodulation portion 30 and a MAC processing portion 40. The modulation/demodulation portion 30 includes a modulation portion 31 and a demodulation portion 32. The MAC processing portion 40 includes a transmission portion 41, a reception portion 42, a reply signal control portion 44, a reply mode management portion 43, and a reception buffer 45 (reception buffer B2).
First, the operation of the first wireless apparatus 1 at the time of signal transmission will be described. At the time of signal transmission, data outputted from a not-shown upper-layer processing portion is inputted to the transmission portion 41. The transmission portion 41 performs processing such as addition of a header field, so as to generate a data signal. On this occasion, the transmission portion 41 writes information indicating a reply request (ACK request/NACK request) in the Req ACK Type field in accordance with an instruction from the reply signal control portion 44.
The generated data signal is outputted to the modulation portion 31. The modulation portion 31 performs processing such as encoding processing, modulation processing, addition of a physical header, etc. on the data signal, so as to generate a physical data signal. The wireless portion 20 performs processing such as D/A conversion processing, up-conversion, etc. on the physical data signal, so as to generate a transmission signal. Then, the wireless portion 20 transmits the transmission signal through the antenna 10. In
Next, the operation of the first wireless apparatus 1 at the time of signal reception will be described. A reception signal received through the antenna 10 is subjected to processing such as down-conversion, A/D conversion, etc. in the wireless portion 20 so as to be converted into a physical data signal. The demodulation portion 32 performs processing such as demodulation processing, physical header analysis, etc. on the physical data signal so as to generate a data signal. The reception portion 42 performs processing such as header field analysis on the data signal so as to generate split data.
In the aforementioned example, the block which performs processing such as header field analysis to generate split data is referred to as the reception portion 42. However, parts having a reception function in the reception portion 42, the demodulation portion 32 and the wireless portion 20 in
The reply signal control portion 44 receives the header field and the data field from the reception portion 42, and determines whether the header field and the data field have been received successfully. That is, the reply signal control portion 44 operates as a decision unit for deciding a reception result indicating whether the header field and the data field have been received successfully or not.
In the case where the header field has been received unsuccessfully, the reply signal control portion 44 gives the transmission portion 41 an instruction to send back a NACK signal. The transmission portion 41 sends the NACK signal to a communication partner. The split data is not stored in the reception buffer 45 regardless of whether the data field has been received successfully or not.
In the case where the header field has been received successfully but the data field has been received unsuccessfully, the reply signal control portion 44 gives the transmission portion 41 an instruction to send back a reply signal in accordance with a reply request written in the Req ACK Type field. The reply signal control portion 44 gives the transmission portion 41 an instruction to send back a NACK signal when a NACK request is written in the Req ACK Type field. The reply signal control portion 44 does not give the transmission portion 41 an instruction to send back a reply signal when an ACK request is written in the Req ACK Type field. In addition, since the data field has been received unsuccessfully, the split data is not stored in the reception buffer 45.
In the case where the header field and the data field have been received successfully, the reply signal control portion 44 gives the transmission portion 41 an instruction to send back a reply signal in accordance with a reply request written in the Req ACK Type field. The reply signal control portion 44 gives the transmission portion 41 an instruction to send back an ACK signal when an ACK request is written in the Req ACK Type field. The reply signal control portion 44 does not give the transmission portion 41 an instruction to send back a reply signal when a NACK request is written in the Req ACK Type field. The reception portion 42 stores split data into the reception buffer 45. When data is inputted or when a predetermined condition is satisfied, the reception buffer sends the stored split data to Upper (not shown). For example, the predetermined condition means the case where split data with an SN consecutive to the SN of split data sent to Upper the last time is inputted, or the case where the reception buffer is full.
In place of the reply signal control portion 44, the reception portion 42 may be set to operate as a decision unit for deciding a reception result indicating whether the header field and the data field have been received successfully or not. In this case, the reception portion 42 delivers, to the reply signal control portion 44, the reception result of the header field and the data field and the reply request written in the Req ACK Type field of the header field. The reply signal control portion 44 gives the transmission portion 41 an instruction to send a reply signal back to the first wireless apparatus 1, based on the reception result of the header field and the data field and the reply request written in the Req ACK Type field of the header field.
The transmission portion 41 transmits a reply signal based on the instruction of the reply signal control portion 44. The transmission portion 41 transmits an ACK signal or a NACK signal in accordance with the reply request and the reception result of the data field in the case where the header field has been received successfully. The transmission portion 41 transmits a NACK signal in the case where the header field has been received unsuccessfully. A specific method for sending back a reply signal is the same as a method for transmitting a data signal, except that the data signal is replaced by a reply signal. Thus, description of the method will be omitted.
As described above, in the wireless system according to Example 1, a NACK signal is sent back regardless of the type of a reply request in the case where the header field has been received unsuccessfully. In this manner, even if deterioration in the propagation environment leads to failure in receiving the header field, undetected errors in reception can be reduced and a data signal can be retransmitted surely.
Modification 1 of Example 1 will be described. In Modification 1, a method for changing over a reply mode surely will be described.
Packet configuration of a data signal transmitted and received by the first to third wireless apparatuses 1 to 3 in Modification 1 will be described with reference to
Next, communication between the first and second wireless apparatuses 1 and 2 after connection between the first wireless apparatus 1 as a transmitter and the second wireless apparatus 2 as a receiver is established will be described with reference to
The first wireless apparatus 1 transmits a data signal D901 in which the ACK mode is written in the reply mode field of the header field and information indicating an ACK request is written in the Req ACK Type field.
The second wireless apparatus 2 receives the data signal D901. In
On receiving the ACK signal A901, the first wireless apparatus 1 transmits a next data signal D902. Here, the first wireless apparatus 1 changes the reply mode from the ACK mode to the NACK mode. The first wireless apparatus 1 transmits the data signal D902 in which the NACK mode is written in the reply mode field of the header field and information indicating a NACK request is written in the Req ACK Type field.
Here, assume that the second wireless apparatus 2 has failed in receiving the header field and the data field of the data signal D902. Due to the failure in receiving the header field, the second wireless apparatus 2 sends a NACK signal A902 back to the first wireless apparatus 1.
On receiving the NACK signal A902, the first wireless apparatus 1 retransmits the data signal D902.
Assume that the second wireless apparatus 2 sends back a reply signal simply in accordance with the reply mode stored in the reply mode management portion 43. When the second wireless apparatus has failed in receiving the transmission data transmitted by the first wireless apparatus 1 changing the reply mode from the ACK mode to the NACK mode as in
Here, description has been made in the case where the first wireless apparatus 1 sends a notification of a reply mode whenever the first wireless apparatus 1 transmits a data signal. However, the reply mode may be notified only when the first wireless apparatus 1 changes over the reply mode. In addition, the reply mode is not limited to three types of the ACK mode, the NACK mode and the mixed mode, but communication may be made with a reply mode changed over between two of the three types.
Next, Example 2 will be described. A wireless system according to this example is different from that in Example 1 at the point that plural frames are aggregated into one packet and then transmitted.
Next, communication between the first and second wireless apparatuses 1 and 2 after connection between the first wireless apparatus 1 as a transmitter and the second wireless apparatus 2 as a receiver is established will be described with reference to
The Block ACK is a reply signal which will be sent back when there is even one data field that has been received correctly. The Negative Block ACK is a reply signal which will be sent back when there is even one data field that has been received unsuccessfully. Each of the Block ACK and the Negative Block ACK consists of a bitmap.
The first wireless apparatus 1 transmits a multi data signal D111. Information indicating a BA request is written in the ACK Type field of each MAC sub header of the multi data signal.
On receiving the multi data signal D111, the second wireless apparatus 2 analyzes the multi data signal D111 sequentially from the MAC common header in the head. In the example of
On receiving the BA signal A111, the first wireless apparatus 1 transmits a multi data signal D112. Information indicating a NBA request is written in the ACK Type field of each MAC sub header of the multi data signal.
On receiving the multi data signal D112, the second wireless apparatus 2 analyzes the multi data signal D112 sequentially from the MAC common header in the head. As described above, the second wireless apparatus 2 analyzes the MAC sub header disposed in the first place of the multi data signal D112 to know the position of the MAC sub header disposed in the second place. Assume that the second wireless apparatus 2 fails in receiving the MAC sub header disposed in the first place of the multi data signal D112. In this case, for example, a method for shifting the head of the next MAC sub header one by one to find the place where CRC is OK has been known as a method for detecting the next sub frame. Generally, it is highly likely that the failure in receiving the MAC sub header disposed in the first place of the multi data signal D112 may lead to failure in receiving the subsequent MAC sub headers. Therefore, when the second wireless apparatus 2 according to this example fails in receiving the MAC sub header disposed in the first place of the multi data signal D112, the second wireless apparatus 2 omits processing for finding the subsequent MAC sub headers and sends back a NBA signal regardless of the reply signal requested by the first wireless apparatus 1. The second wireless apparatus 2 sends back a NBA signal A112 as a reply signal when the second wireless apparatus 2 fails in receiving the MAC sub header disposed in the first place of the multi data signal D112.
As described above, when the second wireless apparatus 2 in the wireless system according to this example fails in receiving the MAC sub header disposed in the first place of the multi data signal D112, the second wireless apparatus 2 sends back a NBA signal regardless of information written in the ACK Type field. It is highly likely that the failure in receiving the MAC sub header disposed in the first place of the multi data signal D112 may lead to failure in receiving the subsequent MAC sub headers. Therefore, when the second wireless apparatus 2 fails in receiving the multi data signal, undetected errors in reception due to wrong determination made by the first wireless apparatus 1 that the second wireless apparatus 2 has succeeded in receiving the multi data signal can be reduced, while the second wireless apparatus 2 can reduce detection processing as compared with the case where the second wireless apparatus 2 detects all the MAC sub headers included in the multi data signal D112.
The configuration of each of the first and second wireless apparatuses 1 and 2 according to this example is the same as the configuration of the wireless apparatus shown in
In addition, the MAC sub header in
Example 3 will be described with reference to
Communication between the first and second wireless apparatuses 1 and 2 after connection between the first wireless apparatus 1 as a transmitter and the second wireless apparatus 2 as a receiver is established will be described with reference to
Assume that the second wireless apparatus 2 receives the data signal D102 but fails in demodulating the header field and the data field due to deterioration of the propagation environment. Due to the failure in demodulating the header field, the second wireless apparatus 2 sends back a NACK signal A122 although the second wireless apparatus 2 cannot determine the reply signal type. The NACK signal A122 includes Header error information indicating the fact that the header field has been received unsuccessfully. The Header error information may be expressed by setting on a one-bit flag in the NACK signal A122.
The first wireless apparatus 1 receives the NACK signal A122. Since the Header error information is included in the NACK signal A122, the first wireless apparatus 1 retransmits the data signal D102 in which an ACK request is written in the Req ACK Type field.
Since the other configuration and operation are the same as those in the wireless system according to Example 1, description thereof will be omitted.
As described above, the second wireless apparatus 2 according to this example puts, in the NACK signal A122, information indicating whether the header field has been received unsuccessfully or successfully. Generally, the header field is transmitted in a system higher in error resilience than the data field. It is therefore highly likely that the failure in receiving the header field shows a very bad propagation environment. Accordingly, in the wireless system according to this example, communication is made in the ACK mode using an ACK signal when the propagation environment is bad enough to give rise to failure in receiving the header field, and communication is made in the NACK mode or the mixed mode using a NACK signal when the propagation environment is bad enough to give rise to failure in receiving the data field. Thus, the transmission efficiency can be improved while undetected errors in reception are reduced.
When even one MAC sub header is received unsuccessfully in the case where the first and second wireless apparatuses 1 and 2 transmit and receive a multi data signal in which sub frames are aggregated, a BA signal or a NBA signal including information indicating the fact that the MAC sub header is received unsuccessfully is transmitted. The first wireless apparatus 1 receiving the BA signal or the NBA signal including the information indicating the fact that the MAC sub header has been received unsuccessfully changes over the reply mode to the ACK mode and makes communication. Thus, the first wireless apparatus 1 can change the reply mode to the ACK mode quickly when the propagation environment deteriorates during reception of a multi data signal.
Example 4 will be described with reference
The second wireless apparatus 2 receives the data signal D103. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. In the example of
The first wireless apparatus 1 receives the NACK signal A132. Since the NACK signal A132 includes the information indicating SN=2, the first wireless apparatus 1 retransmits the data signal D102 whose SN is 2. In addition, since the NACK signal A132 does not include SN=3, the first wireless apparatus 1 concludes that the second wireless apparatus 2 has succeeded in receiving the data signal D103. In
The second wireless apparatus 2 receives the data signal D102. The second wireless apparatus 2 determines whether the second wireless apparatus 2 itself has succeeded in receiving the header field and the data field or not. In the example of
When the first wireless apparatus 1 has not received a reply signal for a predetermined period since the retransmission of the data signal D102, the first wireless apparatus 1 regards the transmission of the data signal D102 as successful because no NACK signal has been sent back for a predetermined period. The first wireless apparatus 1 transmits a data signal D134.
As described above, the second wireless apparatus 2 according to this example compares the SN of a data signal currently received successfully with the SN of a data signal previously received successfully so as to determine whether the compared SNs are consecutive to each other or not. When the compared SNs are not consecutive to each other and an unsuccessfully received data signal exists between the SN of the data signal currently received successfully and the SN of the data signal previously received successfully, the second wireless apparatus 2 sends a NACK signal including the SN of the unsuccessfully received data signal, back to the first wireless apparatus 1. In place of the SN of the unsuccessfully received data signal, the second wireless apparatus 2 may transmit the NACK signal including the SN of the data signal received successfully the last time, that is the aforementioned “SN of the data signal previously received successfully” (i in
In Example 4, a NACK signal is set as a reply signal of a data signal D103 to be transmitted by the second wireless apparatus 2 when there is a data signal D102 received unsuccessfully. According to this modification, the type of the reply signal is decided based on whether the second wireless apparatus 2 wants retransmission of the data signal D103 or not. The other procedure is the same as in Example 4.
First, description will be made in the case where the second wireless apparatus 2 has succeeded in receiving the header field but has failed in receiving the data field. In this case, since the data signal D103 has to be retransmitted, the second wireless apparatus 2 transmits a NACK signal regardless of the type of the reply request written in the header field. The NACK signal includes the SN(=2) of the data signal D102 which has not been received, in the same manner as in Example 4.
On receiving the NACK signal including SN=2, the first wireless apparatus 1 retransmits the data signal D102. When the data signal D102 has been retransmitted successfully, the first wireless apparatus 1 retransmits the data signal D103.
Next, description will be made in the case where the second wireless apparatus 2 has succeeded in receiving the header field and the data field. In this case, retransmission of the data signal D103 is not necessary. Therefore, the second wireless apparatus 2 sends back an ACK signal regardless of the type of the reply request written in the header field. The ACK signal includes the SN(=2) of the data signal D102 which has not been received.
On receiving the ACK signal including SN=2, the first wireless apparatus 1 retransmits the data signal D102, but does not retransmit the data signal D103. Then, the first wireless apparatus 1 transmits a data signal D134 which is the next data signal.
The invention is not limited to the aforementioned embodiments, and the components in the embodiments may be modified without departing from the scope of the invention. For example, the components may be combined, and some of the components may be removed. Further, the components in different embodiments may be combined.
This is a Continuation Application of PCT Application No. PCT/JP10/000596, filed on Feb. 2, 2010, which was published under PCT Article 21 (2) in Japanese, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2010/000596 | Feb 2010 | US |
Child | 13562858 | US |