WO2016180280A1 - 一种块确认帧的传输方法及设备 - Google Patents

一种块确认帧的传输方法及设备 Download PDF

Info

Publication number
WO2016180280A1
WO2016180280A1 PCT/CN2016/081289 CN2016081289W WO2016180280A1 WO 2016180280 A1 WO2016180280 A1 WO 2016180280A1 CN 2016081289 W CN2016081289 W CN 2016081289W WO 2016180280 A1 WO2016180280 A1 WO 2016180280A1
Authority
WO
WIPO (PCT)
Prior art keywords
bit table
sending device
length
correctly received
mpdu
Prior art date
Application number
PCT/CN2016/081289
Other languages
English (en)
French (fr)
Inventor
杜振国
林梅露
Original Assignee
华为技术有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from CN201610084149.1A external-priority patent/CN106161583B/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016180280A1 publication Critical patent/WO2016180280A1/zh
Priority to US15/809,481 priority Critical patent/US10439765B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements 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/18Automatic repetition systems, e.g. Van Duuren systems

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and a device for transmitting a block acknowledgement frame.
  • the protocol stack of the radio interface includes Medium Access Control (MAC) layer protocol.
  • MAC Medium Access Control
  • MAC Medium Access Control
  • A-MPDU Aggregate MAC Protocol Data Unit
  • PPDU Physical layer convergence procedure protocol data unit
  • MPDU MAC Protocol Data Unit
  • the existing standard specifies that the length of the BA Bitmap field is a fixed 64 bits.
  • the number of MPDUs aggregated in a PPDU using an A-MPDU structure is often much smaller than 64. In this case, if the length of the BA Bitmap field is Still using 64bits will make the BA Bitmap domain redundant, resulting in wasted resources.
  • the invention provides a method and a device for transmitting a block acknowledgement frame, which solves the problem of resource waste caused by BA Bitmap domain redundancy.
  • a first aspect of the present invention provides a method for transmitting a block acknowledgement frame, including:
  • the receiving device generates a block acknowledgement BA frame according to the reception status of the at least one MPDU in the at least one PPDU sent by each of the at least one sending device, and sends the block to the at least one sending device Each sending device sends the BA frame;
  • the BA frame includes BA information corresponding to each of the at least one sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication; the bit table length indication is used for And indicating a length of the block acknowledgment bit table field, where the bit table length is indicated in a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the receiving device receives, according to the at least one MPDU in the at least one PPDU sent by each of the at least one sending device Generate block confirmation BA frames, including:
  • the receiving device determines a block corresponding to the sending device according to a difference between a maximum sequence number of the MPDU and a minimum sequence number of the MPDU that is correctly received by the sending device. Determining a length of the bit table field; determining, according to the length of the block acknowledgment bit table field corresponding to the sending device, a block acknowledgment bit table field corresponding to the sending device; determining a bit table length indication corresponding to the sending device ;
  • the receiving device generates the BA frame according to a bit table length indication corresponding to each transmitting device and a block acknowledgment bit table field corresponding to each transmitting device.
  • the determining, by the length of the block acknowledgment bit table field corresponding to the sending device is: The receiving device determines the length of the block acknowledgment bit table field corresponding to the sending device according to the difference between the maximum sequence number of the MPDU sent by the sending device and the minimum sequence number.
  • the determining, by the receiving device, the length of the block acknowledgment bit table field corresponding to the sending device is: The difference between the maximum sequence number of the MPDU sent by the sending device and the minimum sequence number of the MPDU that is not correctly received by the sending device determines the length of the block acknowledgment bit table field corresponding to the sending device.
  • the BA information corresponding to the sending device includes a block acknowledgment start sequence control field that includes a start sequence number subfield, where The value of the start sequence number subfield is set to the minimum sequence number of the MPDU sent by the sending device that is not correctly received, and the sequence number corresponding to the first bit in the block acknowledgement bit table field is the minimum sequence number. And all the MPDUs corresponding to all the serial numbers before the minimum sequence number are correctly received.
  • the receiving device is configured according to the at least one of the at least one sending device Before the receiving condition of the at least one MPDU in a PPDU is generated by the block to confirm the BA frame, the method further includes:
  • the receiving device determines that the confirmation indication in the per-flow identification TID information field included in the BA information corresponding to the sending device is set to a first value, the first The value indicates that the block information corresponding to the sending device includes the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • the bit table length indicates a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device that is carried in the BA frame.
  • the determining the bit table length indication corresponding to the sending device includes:
  • the bit table length indication corresponding to the sending device according to the length of the block acknowledgment bit table field corresponding to the sending device and the preset first mapping relationship; a mapping relationship for indicating a length of at least one block acknowledgment bit table field Bit table length indication.
  • the determining, according to a difference between a maximum sequence number and a minimum sequence number of the MPDU sent by the sending device that is correctly received, is determined
  • the length of the block acknowledgement bit table field corresponding to the sending device includes:
  • Determining, by the receiving device, the block acknowledgment bit table field corresponding to the sending device according to whether the number of MPDUs that need to be correctly received or not and whether the feedback MPDU is correctly received is determined. length.
  • the determining a bit table length indication corresponding to the sending device includes:
  • the receiving device Determining, by the receiving device, the quantity indication corresponding to the sending device according to the number of the MPDUs that are to be correctly received and the preset second mapping relationship; wherein the quantity indication is used to indicate the requirement The number of MPDUs that are correctly received, and the second mapping relationship is used to indicate a quantity indication corresponding to the number of MPDUs that need to be correctly received.
  • the receiving device determines, according to the correctly received maximum fragment number of the MPDU sent by the sending device, a marking indication corresponding to the sending device, where the marking indication is used to indicate whether the feedback MPDU is correctly received. Number of bytes
  • the receiving device combines the quantity indication corresponding to the sending device and the marking indication corresponding to the sending device to generate the bit table length indication corresponding to the sending device.
  • a second aspect of the present invention provides a method for transmitting a block acknowledgement frame, including:
  • the sending device sends at least one physical layer aggregation procedure protocol data unit PPDU to the receiving device, where the PPDU includes at least one medium access control protocol data unit MPDU;
  • a block acknowledgement BA frame sent by the receiving device where the BA frame includes BA information corresponding to the sending device, where the BA information includes a block a bit table length indication indicating a length of the block acknowledgment bit table field, the bit table length indicating a BA corresponding to the sending device carried in the BA frame
  • the block contains the information in the start sequence control field.
  • the length of the block acknowledgment bit table field is determined by the receiving device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received.
  • the length of the block acknowledgment bit table field is a maximum sequence number of the MPDU sent by the receiving device according to the correctly received sending device, and a location that is not correctly received. The difference between the minimum sequence numbers of the MPDUs sent by the sending device is determined.
  • the BA information corresponding to the sending device includes a block acknowledgment start sequence control field that includes a start sequence number subfield, where The value of the start sequence number subfield is set to the minimum sequence number of the MPDU sent by the sending device that is not correctly received, and the sequence number corresponding to the first bit in the block acknowledgement bit table field is the minimum sequence number. And all the MPDUs corresponding to all the serial numbers before the minimum sequence number are correctly received.
  • the bit table length indicates a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device that is carried in the BA frame.
  • the method further includes:
  • the sending device determines, according to the bit table length indication, a length of a block acknowledgment bit table field included in the BA information corresponding to the sending device.
  • the sending device determines, according to the bit table length indication, a block acknowledgement included in the BA information corresponding to the sending device
  • the length of the bit table field including:
  • the sending device Determining, by the sending device, the length of the block acknowledgment bit table field included in the BA information corresponding to the sending device, according to the bit table length indication and the preset first mapping relationship; wherein the first mapping relationship Used to indicate that at least one bit table length indicates a corresponding block acknowledgement bit table field length.
  • the sending device determines, according to the bit table length indication, a block acknowledgement included in the BA information corresponding to the sending device
  • the length of the bit table field including:
  • a third aspect of the present invention provides a receiving device, including:
  • a receiving unit configured to receive at least one physical layer aggregation procedure protocol data unit PPDU sent by the at least one sending device, where the PPDU includes at least one medium access control protocol data unit MPDU;
  • a generating unit configured to generate a block acknowledgement BA frame according to a reception status of the at least one of the at least one PPDU sent by each of the at least one sending device that is received by the receiving unit;
  • a sending unit configured to send, to each of the at least one sending device, the BA frame generated by the generating unit
  • the BA frame includes BA information corresponding to each of the at least one sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication; the bit table length indication is used for And indicating a length of the block acknowledgment bit table field, where the bit table length is indicated in a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the generating unit includes:
  • a determining module configured to transmit, for each of the at least one transmitting device, a root Determining, according to the difference between the maximum sequence number of the MPDU sent by the sending device and the minimum sequence number, the length of the block acknowledgment bit table field corresponding to the sending device; according to the block corresponding to the sending device Determining a length of the bit table field to determine a block acknowledgment bit table field corresponding to the sending device; determining a bit table length indication corresponding to the sending device;
  • a generating module configured to generate the BA frame according to the bit table length indication corresponding to each sending device and the block acknowledgment bit table field corresponding to each sending device determined by the determining module.
  • the determining module configured to determine a length of a block acknowledgment bit table field corresponding to the sending device, is specifically: the determining The module is configured to determine a length of a block acknowledgment bit table field corresponding to the sending device according to a difference between a maximum sequence number of the MPDU sent by the sending device and the minimum sequence number.
  • the determining module is configured to determine a length of a block acknowledgment bit table field corresponding to the sending device, where the determining is: The module is configured to determine, according to a difference between a maximum sequence number of the MPDU sent by the sending device that is correctly received and a minimum sequence number of the MPDU that is not correctly received by the sending device, a block acknowledgement bit table corresponding to the sending device. The length of the field.
  • the BA information corresponding to the sending device includes a block acknowledgment start sequence control field that includes a start sequence number subfield,
  • the value of the start sequence number subfield is set to the minimum sequence number of the MPDU sent by the sending device that is not correctly received, and the sequence number corresponding to the first bit in the block acknowledgement bit table field is the minimum sequence number.
  • all the MPDUs corresponding to all the serial numbers before the minimum sequence number are correctly received.
  • the receiving device further includes:
  • a determining unit configured to: before the generating unit generates a block acknowledgement BA frame according to the receiving situation of the at least one of the at least one PPDU sent by each of the at least one sending device, Determining, by each of the at least one sending device, that the confirmation indication in the flow identification TID information field included in the BA information corresponding to the sending device is set to a first value, where the first value indicates the location
  • the BA information corresponding to the sending device includes the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • the bit table length indicates a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device that is carried in the BA frame.
  • the determining module is configured to determine that the bit table length indication corresponding to the sending device is specifically :
  • the determining module is configured to determine, according to the length of the block acknowledgment bit table field corresponding to the sending device, and the preset first mapping relationship, the bit table length indication corresponding to the sending device;
  • the first mapping relationship is used to indicate a bit table length indication corresponding to the length of the at least one block acknowledgment bit table field.
  • the determining module is configured to use, according to the correctly received, the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device And determining a length of the block acknowledgment bit table field corresponding to the sending device, specifically:
  • Determining the length of the block acknowledgment bit table field corresponding to the sending device according to whether the number of MPDUs that need to be correctly received and whether the feedback MPDU is correctly received is determined.
  • the determining, by the determining, determining, by using the sending device, the bit table length indication is specifically:
  • the determining module is used to:
  • a fourth aspect of the present invention provides a transmitting device, including:
  • a sending unit configured to send at least one physical layer aggregation procedure protocol data unit PPDU to the receiving device, where the PPDU includes at least one medium access control protocol data unit MPDU;
  • a receiving unit configured to receive a block acknowledgement BA frame sent by the receiving device, where the BA frame includes BA information corresponding to the sending device, where the BA information includes a block acknowledgement bit table field and a bit table length Instructing; the bit table length indication is used to indicate a length of the block acknowledgment bit table field, where the bit table length indicates a block acknowledgment start sequence included in the BA information corresponding to the sending device that is carried in the BA frame Control domain.
  • the length of the block acknowledgment bit table field is determined by the receiving device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received.
  • the length of the block acknowledgment bit table field is a maximum sequence number of the MPDU sent by the receiving device according to the correctly received sending device, and an incorrectly received The difference between the minimum sequence numbers of the MPDUs sent by the sending device is determined.
  • the BA information corresponding to the sending device includes a block acknowledgment start sequence control field that includes a start sequence number subfield,
  • the value of the start sequence number subfield is set to the minimum sequence number of the MPDU sent by the sending device that is not correctly received, and the sequence number corresponding to the first bit in the block acknowledgement bit table field is the minimum sequence number.
  • all the MPDUs corresponding to all the serial numbers before the minimum sequence number are correctly received.
  • the bit table length indicates a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device that is carried in the BA frame.
  • the sending device further includes:
  • a determining unit configured to determine, after the receiving unit receives the block acknowledgement BA frame sent by the receiving device, that the BA information corresponding to the sending device is included according to the bit table length indication received by the receiving unit The block confirms the length of the bit table field.
  • the determining unit is specifically configured to:
  • the determining unit is specifically configured to:
  • the quantity indication is used to indicate whether the receiving device needs feedback a number of received MPDUs, where the second mapping relationship is used to indicate at least one quantity of MPDUs indicating whether the corresponding feedback is correctly received;
  • the method and device for transmitting a block acknowledgment frame provided by the present invention, the receiving device receiving at least one PPDU sent by at least one transmitting device, and according to at least one MPDU of at least one PPDU sent by each of the at least one transmitting device Receiving a BA frame and transmitting the BA frame to each of the at least one transmitting device, and the BA frame includes BA information corresponding to each of the at least one transmitting device, where the BA information includes a block acknowledgement bit table field and a bit table length indication indicating a length of the block acknowledgement bit table field, and the bit table length indicates a BA packet corresponding to the transmitting device carried in the BA frame
  • the block included confirms the start sequence control domain.
  • the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the redundancy due to the BA Bitmap domain. The resulting waste of resources.
  • FIG. 1 is a schematic structural diagram of a multi STA BA frame provided by the prior art
  • FIG. 2 is a flowchart of a method for transmitting a block acknowledgement frame according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for transmitting a block acknowledgement frame according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for transmitting a block acknowledgement frame according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a BA frame according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another BA frame according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a receiving device according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another receiving device according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a sending device according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another sending device according to another embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a receiving device according to another embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a sending device according to another embodiment of the present invention.
  • the A-MPDU is a MAC layer aggregation transmission mechanism proposed in 802.11n.
  • one PPDU contains only one MPDU
  • one PPDU adopting the A-MPDU structure may include at least one An MPDU, which may be in a different frame type, may have a different source address (English: Source Address, SA for short) or a destination address (English: Destination Address, abbreviated as DA), but is included in one PPDU. All MPDUs are sent to the same receiving device, that is, have the same receiving address (English: Receiving Address, referred to as RA).
  • the transmission mode using the A-MPDU structure can reduce the interframe space, channel competition time and repeated transmission of the physical header during data transmission, thereby effectively improving the transmission efficiency.
  • each bit in the BA Bitmap field corresponds to one of the MPDUs that require feedback to be received correctly. Since a PPDU adopting the A-MPDU structure allows a maximum of 64 MPDUs to be aggregated, both 802.11n and 802.11ac specify that the length of the BA Bitmap field is a fixed 64 bits.
  • the uplink multi-user (English: Uplink Multiple User, UL: MU) transmission mechanism is introduced.
  • the transmission mechanism includes UL Orthogonal Frequency-Division Multiple Access (UL: OFDM) and UL MU Multiple Input Multiple Output (UL: MU-Multiple Input Multiple Output, UL MU for short) -MIMO).
  • UL: OFDM UL Orthogonal Frequency-Division Multiple Access
  • UL MU Multiple Input Multiple Output
  • the access point (English: Access Point, AP for short) can receive PPDUs of multiple stations (English: Station, abbreviated as STA).
  • STA Station, abbreviated as STA.
  • the PPDU of each STA adopts A.
  • the multi-STA BA frame includes a MAC header (where the MAC header may include: a frame control (English: Frame Control) field, duration/identity (English: Duration/ID). Domain, RA domain, sending address (English: transmit address, referred to as: TA) domain), BA control (English: BA control), frame check sequence (English: Frame Check Sequence, FCS), and One less BA Information (Chinese: Block Confirmation Information), and each BA Information corresponds to one STA.
  • the first domain of the BA Information that is, the first 11 bits of the Per Traffic Identifier Information (Per TID Info) domain (ie, B0-B10) is the Association ID of the STA (English: Association Identifier, AID for short).
  • the 12th bit of the Per TID Info field (ie, B11) is an ACK (English: Acknowledgment, Chinese: Acknowledgement) / BA indication for indicating the Per TID.
  • the Info field is there a Block Ack Starting Sequence Control field and a BA Bitmap field.
  • the ACK/BA indication is set to BA
  • the Block Ack Starting Sequence Control field and the BA Bitmap field exist after the Per TID Info field.
  • the ACK/BA indication is set to ACK, there is no Block after the Per TID Info field.
  • the Ack Starting Sequence Control field and the BA Bitmap field that is, the BA Information at this time can omit the Block Ack Starting Sequence Control field and the BA Bitmap field, and only include the Per TID Info field.
  • the ACK/BA indication is set to ACK in the following two cases. Case 1: The PPDU of the STA received by the receiving device contains only one MPDU and the MPDU is correctly received. Case 2: The STA received by the receiving device The PPDU contains at least two MPDUs and the at least two MPDUs are correctly received.
  • the existing standard specifies that the length of the BA Bitmap field is a fixed 64 bits.
  • the number of MPDUs aggregated in a PPDU using an A-MPDU structure is often much smaller than 64. Therefore, using a 64-bit BA Bitmap domain may make the BA Bitmap domain redundant, resulting in waste of resources, especially in the introduction.
  • the BA frame (for example, multi-STA BA frame, multi-TID BA frame) contains multiple BA Bitmap fields, which will make the BA Bitmap domain redundant and the waste of resources will be more serious.
  • the receiving device in the embodiment of the present invention may be an AP, and correspondingly, the sending device is a STA; or the receiving device may be an STA, corresponding, and the sending device is AP; or, the receiving device may be an STA, corresponding
  • the sending device is also a STA.
  • both the transmitting device and the receiving device are devices that support the 802.11 protocol.
  • An optional scenario is that multiple STAs send UL data to the AP in a UL OFDMA or UL MU-MIMO manner, and the AP feeds back a block acknowledgement BA message to multiple STAs according to the received result.
  • the sending device is an AP
  • the receiving device is an STA.
  • An embodiment of the present invention provides a method for transmitting a block acknowledgment frame. As shown in FIG. 2, the method may include:
  • the receiving device receives at least one PPDU sent by at least one sending device.
  • the PPDU sent by each sending device includes at least one MPDU.
  • At least one sending device in the embodiment of the present invention includes: a sending device that sends a PPDU to a receiving device, and at least one MPDU in the PPDU is correctly received by the receiving device, and sends a PPDU to the receiving device.
  • the transmitting device in which all the MPDUs included in the PPDU are not correctly received is not included in the at least one transmitting device.
  • the method for transmitting a block acknowledgment frame is applicable not only to the acknowledgment reply of the PPDU of the A-MPDU structure sent by the receiving device to the received at least one sending device, but also to the sending device.
  • Continuously sending a plurality of PPDUs to the receiving device (wherein each PPDU generally includes one MPDU, and the sending device can send the neighboring PPDUs to the receiving device at a fixed time interval, if the fixed time is a short interframe space (English: Short Inter Frame Space (SIFS)), and sends a BA request (English: BA Request, abbreviated as: BAR) to the receiving device to request the receiving device to confirm the reply.
  • the BA frame is for the confirmation of multiple PPDUs. Reply.
  • the receiving device generates a BA frame according to a receiving situation of at least one of the at least one PPDU sent by each of the at least one sending device.
  • the BA frame includes BA information corresponding to each of the at least one sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication (English: Bitmap Length); the bit table length indication is used to indicate The block confirms the length of the bit table field, and the bit table length indicates a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame.
  • the BA information includes a block acknowledgement bit table field and a bit table length indication (English: Bitmap Length); the bit table length indication is used to indicate The block confirms the length of the bit table field, and the bit table length indicates a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame.
  • the receiving device may be configured according to the at least one MPDU of the at least one PPDU sent by each of the at least one sending device. Receive the situation and generate a BA frame.
  • the receiving device sends a BA frame to each of the at least one sending device.
  • the device After the receiving device generates the BA frame according to the receiving condition of the at least one MPDU of the at least one PPDU sent by each of the at least one transmitting device, the device may be separately sent to each of the at least one transmitting device. Send the BA frame.
  • the method for transmitting a block acknowledgment frame provided by the present invention, the receiving device receives at least one PPDU sent by the at least one transmitting device, and according to receiving the at least one MPDU of the at least one PPDU sent by each of the at least one transmitting device Generating a BA frame, and transmitting the BA frame to each of the at least one transmitting device, where the BA frame includes BA information corresponding to each of the at least one transmitting device, the BA information including the block acknowledgement A bit table field and a bit table length indication indicating a length of the block acknowledgment bit table field, and the bit table length indicates a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame.
  • the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the redundancy due to the BA Bitmap domain. The resulting waste of resources.
  • step 102 may specifically include:
  • the receiving device determines the length of the block acknowledgment bit table field corresponding to the sending device according to the difference between the maximum sequence number of the MPDU and the minimum sequence number of the correctly received transmitting device, and Determining, according to the length of the block acknowledgment bit table field corresponding to the transmitting device, a block acknowledgment bit table field corresponding to the transmitting device, and determining a bit table length indication corresponding to the transmitting device.
  • the receiving device generates a BA frame according to the determined bit table length indication corresponding to each transmitting device and a block acknowledgment bit table field corresponding to each transmitting device.
  • the acknowledgment indication (eg, ACK/BA indication) is set in each TID information field, and in step 102, the receiving device is configured according to the at least one transmitting device.
  • the present invention is implemented before the reception of at least one MPDU in at least one PPDU sent by each of the transmitting devices.
  • the method for transmitting a block acknowledgement frame provided by the embodiment may further include: for each of the at least one transmitting device, the receiving device determines that the confirmation indication in the TID information field included in the BA information corresponding to the sending device is set to the first The first value indicates that the BA information corresponding to the transmitting device includes a block acknowledgment start sequence control field and a block acknowledgment bit table field.
  • the per TID information field is located before the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • the acknowledgment indication may be an ACK/BA indication
  • the corresponding first value may be a preset 0 or 1, indicating that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field.
  • the protocol stipulates that an ACK/BA indication of 0 indicates that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field, and an ACK/BA indication of 1 indicates that the BA information does not include a block acknowledgment start sequence control field and The block confirms the bit table field, and the first value is 0.
  • the protocol stipulates that an ACK/BA indication of 1 indicates that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field, and an ACK/BA indication of 0 indicates that the BA information does not include a block acknowledgment start sequence control field and The block confirms the bit table field, and the first value is 1.
  • the fragment number subfield of the block acknowledgment start sequence control field is not used, that is, it is always set to all 0s. Therefore, in the embodiment of the present invention, the bit table length indication is carried in the BA.
  • the block information included in the BA information corresponding to the transmitting device of the frame confirms the fragment number (English: Fragment Number) subfield of the start sequence control field.
  • bit table length indication corresponding to the sending device may be carried by 3 bits of 4 bits of the Fragment Number subfield.
  • all 4 bits of the Fragment Number subfield may also be used to carry the bit table length indication corresponding to the sending device to indicate a smaller granularity.
  • the value of the start sequence number subfield in the block confirmation start sequence control domain is set to the minimum sequence number of the MPDU transmitted by the transmitting device that is correctly received.
  • a Fragment Number subfield is used (all 4 bits are included). 3bits)
  • the length of the BA Bitmap field should also be an integer multiple of the byte. Therefore, the specific process of determining the length of the block acknowledgment bit table field according to the difference between the maximum sequence number of the MPDU sent by the correctly received sending device and the minimum sequence number may be: first determining the correctly received MPDU sent by the sending device.
  • the difference between the largest serial number and the smallest serial number, and then the difference is substituted into the formula one: Medium (where x is the difference, The result is rounded up.
  • the calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte). For example, if the difference between the maximum sequence number of the MPDU sent by the correctly received transmitting device and the minimum sequence number is 7, the length of the block acknowledgment bit table field calculated according to the formula 1 is 1 byte, and then, for example, determined.
  • the difference between the maximum sequence number of the MPDU sent by the correctly received transmitting device and the minimum sequence number is 41, and the length of the block acknowledgment bit table field calculated according to Equation 1 is 6 bytes.
  • a basic BA variant (English: Basic Block Ack variant) for a normal BA frame, that is, an application scenario using fragmentation, using a Fragment Number subfield (all 4 bits)
  • the bearer bit table length indication since the number of MPDUs that the PPDU aggregates at most is 64, and one MPDU is allowed to be divided into a maximum of 16 fragments, the maximum MPDU transmitted according to the correctly received transmitting device is described.
  • the difference between the sequence number and the minimum sequence number, the specific process of determining the length of the block acknowledgment bit table field may be: first determining the difference between the maximum sequence number of the MPDU sent by the correctly received transmitting device and the minimum sequence number, and then determining the difference Value is substituted into formula two: Medium (where x is the difference, The result is rounded up.
  • the calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte). For example, if the determined difference between the maximum sequence number of the MPDU sent by the transmitting device and the minimum sequence number is 7, the length of the block acknowledgment bit table field calculated according to Equation 2 is 16 bytes, and then, for example, determined.
  • the difference between the maximum sequence number of the MPDU sent by the correctly received transmitting device and the minimum sequence number is 41, and the length of the block acknowledgment bit table field calculated according to Equation 2 is 88 bytes.
  • the receiving device receives multiple fragments of one MPDU.
  • the MPDU needs to be acknowledged, and the maximum is considered.
  • the serial number and minimum serial number should also take into account the serial number of this MPDU.
  • the so-called "correctly received MPDU transmitted by the transmitting device" refers to an MPDU in which at least one slice is correctly received.
  • the determining the bit table length indication corresponding to the sending device may specifically include The receiving device determines the bit table length indication corresponding to the sending device according to the length of the block acknowledgment bit table field corresponding to the sending device and the preset first mapping relationship.
  • the first mapping relationship is used to indicate a bit corresponding to the length of the at least one block acknowledgment bit table field. Table length indication.
  • the basic BA variant of the normal BA frame that is, the application scenario using the fragment
  • the Fragment Number subdomain all 4 bits.
  • the bit table length indication since the number of MPDUs that are aggregated by the PPDU is 64, and one MDPU is allowed to be divided into a maximum of 16 fragments, the maximum sequence number of the MPDUs sent according to the correctly received transmitting device is described. Determining the length of the block acknowledgment bit table field corresponding to the sending device, which may include:
  • the receiving device determines the number of MPDUs that need to be correctly received according to the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the correctly received sending device.
  • the specific number of the MPDUs that determine whether the feedback is correctly received may be: first, calculate the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the correctly received sending device, and then substitute the difference into the formula 3. :
  • the calculated result is the number of MPDUs that need to be correctly received. For example, if the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the correctly received sending device is 19, the number of MPDUs that need to be correctly received according to Equation 3 is 24.
  • the receiving device determines the number of bytes required for the feedback MPDU to be correctly received according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received.
  • the receiving device determines that all correctly received MPDUs sent by the transmitting device are present, and the maximum fragment number of the at least one MPDU that is correctly received is greater than or equal to 8, the number of bytes required to determine whether the feedback MPDU is correctly received is 2 bytes (16bits). The value of the fragment number ranges from 0 to 15. If the receiving device determines that all the correctly received MPDUs sent by the sending device are correctly received, the maximum fragment number of all MPDUs is less than 8, then the number of bytes required to determine whether the feedback MPDU is correctly received is 1 byte (8 bits) ). For example, an MPDU contains 12 fragments, but the receiving device only correctly receives 5 of them.
  • the maximum fragment number is 6 and less than 8, then, at this time, the determined feedback MPDU is correctly received.
  • the required number of bytes is 1 byte; if the correctly received fragments are fragments with numbers 1, 3, 5, 8, and 11, respectively, the maximum fragment number is 11, which is greater than 8, then The number of bytes required to determine whether the feedback MPDU is correctly received is 2 bytes.
  • the determining the length of the bit table corresponding to the sending device may include:
  • the receiving device determines, according to the number of MPDUs that need to be correctly received, and the preset second mapping relationship, the number indication corresponding to the sending device, where the number indicates the number of MPDUs used to indicate whether the feedback is correctly received.
  • the second mapping relationship is used to indicate a quantity indication corresponding to the number of at least one MPDU that needs to be correctly received.
  • the receiving device determines a marking indication corresponding to the transmitting device according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received; wherein the marking indicates a number of bytes required to indicate whether the feedback MPDU is correctly received.
  • the receiving device combines the quantity indication corresponding to the sending device and the tag indication corresponding to the transmitting device to generate a bit table length indication corresponding to the transmitting device.
  • step 102 may specifically include:
  • the receiving device determines, according to the difference between the maximum sequence number of the MPDU sent by the correctly received sending device and the minimum sequence number of the MPDU that is not correctly received by the sending device, determining that the sending device corresponds to the transmitting device
  • the block confirms the length of the bit table field.
  • the block acknowledgment bit table field corresponding to the transmitting device is determined according to the length of the block acknowledgment bit table field corresponding to the transmitting device, and the bit table length indication corresponding to the transmitting device is determined.
  • the receiving device generates a BA frame according to the determined bit table length indication corresponding to each transmitting device and a block acknowledgment bit table field corresponding to each transmitting device.
  • the acknowledgment indication (eg, ACK/BA indication) is set in each TID information field, and in step 102, the receiving device is configured according to the at least one transmitting device.
  • the method for transmitting a block acknowledgment frame provided by the embodiment of the present invention may further include: sending, for each of the at least one sending device, the method for transmitting the block acknowledgment frame provided by the embodiment of the present invention before the generating of the at least one of the at least one of the at least one of the PPDUs
  • the device, the receiving device determines that the confirmation indication in each TID information field included in the BA information corresponding to the sending device is set to a first value, where the first value indicates that the BA information corresponding to the sending device includes a block acknowledgment start sequence control field and a block. Confirm the bit table field.
  • the per TID information field is located before the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • the acknowledgment indication may be an ACK/BA indication
  • the corresponding first value may be a preset 0 or 1, indicating that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field.
  • the protocol stipulates that an ACK/BA indication of 0 indicates that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field, and an ACK/BA indication of 1 indicates that the BA information does not include a block acknowledgment start sequence control field and The block confirms the bit table field, and the first value is 0.
  • the protocol stipulates that an ACK/BA indication of 1 indicates that the BA information includes a block acknowledgment start sequence control field and a block acknowledgment bit table field, and an ACK/BA indication of 0 indicates that the BA information does not include a block acknowledgment start sequence control field and The block confirms the bit table field, and the first value is 1.
  • the fragment number subfield of the block acknowledgment start sequence control field is not used, that is, it is always set to all 0s. Therefore, in the embodiment of the present invention, the bit table length indication is carried in the BA.
  • the block information included in the BA information corresponding to the transmitting device of the frame confirms the fragment number (English: Fragment Number) subfield of the start sequence control field.
  • bit table length indication corresponding to the sending device may be carried by 3 bits of 4 bits of the Fragment Number subfield.
  • all 4 bits of the Fragment Number subfield may also be used to carry the bit table length indication corresponding to the sending device to indicate a smaller granularity.
  • the block acknowledgement start sequence control field included in the BA information corresponding to the sending device includes a start sequence number subfield, and the value of the start sequence number subfield is set to be sent incorrectly.
  • the minimum sequence number of the MPDU sent by the device indicating that the sequence number corresponding to the first bit in the block acknowledgement bit table field is the minimum sequence number, and is located in the minimum sequence number.
  • the MPDUs corresponding to all previous serial numbers are correctly received. In other words, the MPDU corresponding to the sequence number smaller than the minimum sequence number is correctly received by the receiving device.
  • a Fragment Number subfield is used (all 4 bits are included). 3bits)
  • the length of the BA Bitmap field should also be an integer multiple of the byte. Therefore, the length of the block acknowledgment bit table field corresponding to the sending device is determined according to the difference between the maximum sequence number of the MPDU sent by the correctly received sending device and the minimum sequence number of the MPDU sent by the transmitting device that is not correctly received.
  • the specific process may be: first determining the maximum sequence number u of the correctly received MPDU sent by the sending device and the minimum sequence number v of the MPDU sent by the sending device that is not correctly received, and then substituting them into the formula 1: Medium (where u is the maximum sequence number of the MPDU sent by the transmitting device that is correctly received, and v is the minimum sequence number of the MPDU sent by the transmitting device that is not correctly received, Indicates rounding up,
  • the starting sequence number subfield in the block acknowledgment start sequence control domain should be set to the minimum sequence number v of the MPDU sent by the transmitting device that is not correctly received, indicating that the first bit corresponding to the block acknowledgment bit table field corresponds to
  • the serial number is the value, and the MPDUs corresponding to all the serial numbers before the serial number are correctly received.
  • the sequence number of the MPDU sent by the sending device ranges from 10 to 50.
  • a basic BA variant (English: Basic Block Ack variant) for a normal BA frame, that is, an application scenario using fragmentation, using a Fragment Number subfield (all 4 bits)
  • the bearer bit table length indication since the number of MPDUs that the PPDU aggregates at most is 64, and one MPDU is allowed to be divided into a maximum of 16 fragments, the maximum MPDU transmitted according to the correctly received transmitting device is described.
  • the specific process of determining the length of the block acknowledgment bit table field corresponding to the sending device may be: first determining the MPDU sent by the sending device correctly received by the difference between the sequence number and the minimum sequence number of the MPDU sent by the sending device that is not correctly received.
  • the maximum sequence number u is the smallest sequence number v of the MPDU sent by the sending device that is not correctly received, and then they are substituted into Equation 2: Medium (where u is the maximum sequence number of the MPDU sent by the transmitting device that is correctly received, and v is the minimum sequence number of the MPDU sent by the transmitting device that is not correctly received, Indicates rounding up,
  • the starting sequence number subfield in the block acknowledgment start sequence control domain should be set to the minimum sequence number v of the MPDU sent by the transmitting device that is not correctly received, indicating that the first bit corresponding to the block acknowledgment bit table field corresponds to
  • the serial number is the value, and the MPDUs corresponding to all the serial numbers before the serial number are correctly received.
  • the sequence number of the MPDU sent by the sending device ranges from 10 to 50.
  • the receiving device receives multiple fragments of one MPDU.
  • the so-called “correctly received MPDUs sent by the transmitting device” means that all the allocations corresponding to the MPDU are correctly received.
  • the so-called “MPDUs sent by the transmitting device that are not correctly received” means that at least one fragment is not correctly received.
  • MPDU MPDU.
  • an MPDU is received incorrectly, that is, the fragment contained in the MPDU has at least one reception error; an MPDU is correctly received, that is, all fragments included in the MPDU are correctly received.
  • the determining the bit table length indication corresponding to the sending device may specifically include The receiving device determines the bit table length indication corresponding to the sending device according to the length of the block acknowledgment bit table field corresponding to the sending device and the preset first mapping relationship.
  • the first mapping relationship is used to indicate a bit table length indication corresponding to the length of the at least one block acknowledgment bit table field.
  • the basic BA variant of the normal BA frame that is, the application scenario using the fragment
  • the bit table length indication since the number of MPDUs that are aggregated by the PPDU is 64, and one MDPU is allowed to be divided into a maximum of 16 fragments, the maximum sequence number of the MPDUs sent according to the correctly received transmitting device is described.
  • the length of the block acknowledgment bit table field corresponding to the sending device is determined by the difference between the minimum sequence number of the MPDUs that are sent by the sending device that is not correctly received.
  • the receiving device determines the number of MPDUs that need to be correctly received according to the difference between the maximum sequence number of the MPDU sent by the correctly received sending device and the minimum sequence number of the MPDU that is not correctly received by the sending device.
  • +1 4, that is, The number of MPDUs fed back is four.
  • the receiving device determines the number of bytes required for the feedback MPDU to be correctly received according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received.
  • the receiving device determines that all correctly received MPDUs sent by the transmitting device are present, and the maximum fragment number of the at least one MPDU that is correctly received is greater than or equal to 8, the number of bytes required to determine whether the feedback MPDU is correctly received is 2 bytes (16bits). The value of the fragment number ranges from 0 to 15. If the receiving device determines that all the correctly received MPDUs sent by the sending device are correctly received, the maximum fragment number of all MPDUs is less than 8, then the number of bytes required to determine whether the feedback MPDU is correctly received is 1 byte (8 bits) ). For example, an MPDU contains 12 fragments, but the receiving device only correctly receives 5 of them.
  • the maximum fragment number is 6 and less than 8, then, at this time, the determined feedback MPDU is correctly received.
  • the required number of bytes is 1 byte; if the correctly received fragments are fragments with numbers 1, 3, 5, 8, and 11, respectively, the maximum fragment number is 11, which is greater than 8, then The number of bytes required to determine whether the feedback MPDU is correctly received is 2 bytes.
  • the receiving device determines the length of the block acknowledgment bit table field corresponding to the transmitting device according to whether the number of MPDUs to be correctly received and the number of bytes required to receive the MPDU are correctly received.
  • Equation 4 A ⁇ B (A indicates whether feedback is required to be The number of correctly received MPDUs, A is calculated according to Equation 3; B is the number of bytes required to feed back an MPDU correctly received, and the calculated result is the length of the block acknowledgment table field (where the determined The block confirms that the length of the bit table field is in bytes.
  • the starting sequence number subfield in the block acknowledgment start sequence control domain should be set to the minimum sequence number v of the MPDU sent by the transmitting device that is not correctly received, indicating that the first bit corresponding to the block acknowledgment bit table field corresponds to
  • the receiving device receives multiple fragments of one MPDU.
  • the so-called “correctly received MPDUs sent by the transmitting device” means that all the allocations corresponding to the MPDU are correctly received.
  • the so-called “MPDUs sent by the transmitting device that are not correctly received” means that at least one fragment is not correctly received.
  • MPDU MPDU.
  • an MPDU is received incorrectly, that is, the fragment contained in the MPDU has at least one reception error; an MPDU is correctly received, that is, all fragments included in the MPDU are correctly received.
  • the determining the length of the bit table corresponding to the sending device may include:
  • the receiving device determines, according to the number of MPDUs that need to be correctly received, and the preset second mapping relationship, the number indication corresponding to the sending device, where the number indicates the number of MPDUs used to indicate whether the feedback is correctly received.
  • the second mapping relationship is used to indicate a quantity indication corresponding to the number of at least one MPDU that needs to be correctly received.
  • the receiving device determines a marking indication corresponding to the transmitting device according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received; wherein the marking indicates a number of bytes required to indicate whether the feedback MPDU is correctly received.
  • the receiving device will indicate the quantity corresponding to the sending device and the marking finger corresponding to the sending device
  • the combination indicates that a bit table length indication corresponding to the transmitting device is generated.
  • the receiving device determines the length of the block acknowledgment bit table field corresponding to the sending device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received.
  • the second method determines the length of the block acknowledgment bit table field corresponding to the sending device according to the difference between the maximum sequence number of the MPDU sent by the sending device and the minimum sequence number of the MPDU that is not correctly received by the sending device.
  • the length of the block acknowledgment bit table field determined by the receiving device using method one is smaller; in other cases, the length of the block acknowledgment bit table field determined by the receiving device using method two is smaller.
  • the A-MPDU sent by the sender includes a total of 64 MPDUs with a sequence number of 1 to 64. If the MPDUs with sequence numbers 1 to 32 are received incorrectly and other MPDUs are received correctly, the block acknowledgment bits determined by Method 1 are used.
  • the length of the table field is 32 bits, and the length of the block acknowledgment table field determined by method 2 is 64 bits.
  • the method 1 has a smaller overhead; if the MPDU with the sequence number of 33 to 40 receives errors and other MPDUs are received correctly, then The length of the block acknowledgment bit table field determined by method 1 is 64 bits, and the length of the block acknowledgment bit table field determined by method 2 is 32 bits, that is, the method 2 has less overhead.
  • the receiving end can determine which method to use based on the reception.
  • the receiving device introduces first indication information in the BA frame, and is used to indicate a method used for determining the length of the block acknowledgment bit table field in the BA frame.
  • the first indication information is 0, indicating that the block acknowledgment bit table field length is determined by using method one; the first indication information is 1, indicating that the block acknowledgment bit table field length is determined by using method two.
  • the specific meaning of the first indication information may also be equivalently interpreted as indicating the meaning of the starting sequence number subfield.
  • the first indication information is 0, indicating that the starting sequence number sub-domain carries the minimum sequence number of the receiving device correctly receiving the MPDU; the first indication information is 1, indicating that the starting sequence number sub-domain carries the receiving device is not correct.
  • the minimum sequence number of the received MPDU is 0, indicating that the starting sequence number sub-domain carries the minimum sequence number of the receiving device correctly receiving the MPDU; the first indication information is 1, indicating that the starting sequence number sub-domain carries the receiving device is not correct. The minimum sequence number of the received MPDU.
  • the first indication information may be located in the BA control domain in the BA frame, indicating that all the BA Info in the current BA frame adopts the method indicated by the first indication information.
  • the first indication information may also be located in each BA Info in the BA frame, and is used to indicate a method for determining the length of the block acknowledgment bit table field used by the current BA Info.
  • the first The indication information may be located in the Fragment Number subfield of the block acknowledgment start sequence control field included in the BA Info.
  • Another embodiment of the present invention provides a method for transmitting a block acknowledgment frame. As shown in FIG. 3, the method may include:
  • the sending device sends at least one PPDU to the receiving device.
  • the PPDU sent by the sending device includes at least one MPDU.
  • the sending device receives the BA frame sent by the receiving device.
  • the BA frame includes BA information corresponding to the sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication; the bit table length indication is used to indicate a length of the block acknowledgement bit table field, and the bit table length
  • the block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame is indicated.
  • the method for transmitting a block acknowledgment frame is applicable not only to the acknowledgment reply of the PPDU of the A-MPDU structure sent by the receiving device to the received at least one sending device, but also to the sending device.
  • Continuously sending a plurality of PPDUs to the receiving device (wherein each PPDU generally includes one MPDU, the sending device may send a neighboring PPDU to the receiving device at a fixed time interval, such as the fixed time is SIFS), and send the BAR to the receiving device.
  • the BA frame is a confirmation reply for a plurality of PPDUs.
  • the method for transmitting a block acknowledgment frame provided by the present invention, the sending device sends at least one PPDU including at least one MPDU to the receiving device, and receives a BA frame sent by the receiving device, and the BA frame includes BA information corresponding to the sending device, where
  • the BA information includes a block acknowledgment bit table field and a bit table length indication indicating a length of the block acknowledgment bit table field, and the bit table length indicates a block acknowledgement included in the BA information corresponding to the transmitting device carried in the BA frame Start sequence control domain.
  • the receiving device indicates the length of the block acknowledgment bit table field by using the bit table length indication, so that the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the BA Bitmap domain. Resource waste caused by redundancy.
  • the length of the block acknowledgment bit table field is determined by the receiving device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the transmitting device that is correctly received.
  • the fragment number subfield of the block acknowledgment start sequence control field is not used, that is, it is always set to all 0s. Therefore, in the embodiment of the present invention, the bit table length indication is carried in the BA.
  • the block information contained in the BA information corresponding to the transmitting device of the frame confirms the fragment number subfield of the start sequence control field.
  • bit table length indication corresponding to the sending device may be carried by 3 bits of 4 bits of the Fragment Number subfield.
  • all 4 bits of the Fragment Number subfield may also be used to carry the bit table length indication corresponding to the sending device to indicate a smaller granularity.
  • the method for transmitting the block acknowledgment frame may further include: the sending device determines and sends according to the bit table length indication. The length of the block acknowledgment bit table field included in the BA information corresponding to the device.
  • the sending device determines to correspond to the sending device according to the bit table length indication.
  • the length of the block acknowledgment bit table field included in the BA information may include: the sending device determines, according to the bit table length indication and the preset first mapping relationship, the block acknowledgment bit table field included in the BA information corresponding to the sending device. a length; wherein the first mapping relationship is used to indicate that at least one bit table length indicates a length of a corresponding block acknowledgment bit table field.
  • the sending device determines, according to the bit table length indication, the BA information corresponding to the sending device.
  • the block confirms the length of the bit table field, and the specific ones may include:
  • the sending device determines, according to the quantity indication indicated by the length of the bit table, and the preset second mapping relationship, whether the number of MPDUs that are correctly received by the feedback is determined; wherein the quantity indicates the MPDU that is used to indicate whether the receiving device needs to feedback whether it is correctly received.
  • the number, the second mapping relationship is used to indicate at least one number of MPDUs indicating whether the corresponding feedback is correctly received.
  • the transmitting device determines, according to the flag indication indicated by the length of the bit table, the number of bytes required for the feedback MPDU to be correctly received; wherein the flag indicates the number of bytes required to indicate whether the receiving device feeds back the MPDU is correctly received.
  • the number and feedback of the MPDUs sent by the sending device according to whether the feedback is correctly received. Whether the MPDU is correctly received the required number of bytes, and determines the length of the block acknowledgment bit table field included in the BA information corresponding to the transmitting device.
  • Another embodiment of the present invention provides a method for transmitting a block acknowledgment frame. As shown in FIG. 4, the method may include:
  • At least one sending device sends at least one PPDU to the receiving device.
  • the PPDU sent by each sending device may include at least one MPDU.
  • the receiving device receives at least one PPDU sent by at least one sending device.
  • the receiving device After the receiving device receives the at least one PPDU sent by the at least one sending device, the acknowledgment information needs to be sent back to the sending device, that is, the receiving device needs to send at least one PPDU according to each of the at least one sending device.
  • the reception of at least one MPDU in the generation generates a BA frame.
  • the receiving device determines, according to the reception status of the at least one MPDU of the at least one PPDU sent by each of the at least one sending device, the information required to generate the BA frame, and then according to the determined
  • the information required to generate the BA frame is generated.
  • the BA frame is determined.
  • determining the information required to generate the BA frame may include the following steps 303-306, and generating the BA frame according to the determining.
  • the required information to generate the BA frame specifically includes the following step 307.
  • the receiving device determines that the confirmation indication in each TID information field included in the BA information corresponding to the sending device is set to a first value.
  • the first value indicates that the BA information corresponding to the sending device includes a block acknowledgment start sequence control field and a block acknowledgment bit table field.
  • the acknowledgement indication may be an ACK/BA indication
  • the corresponding first value may be a BA.
  • the ACK/BA indication in each TID information field included in the BA information corresponding to the sending device is set to BA, and the BA information corresponding to the sending device at this time includes every TID information field, Block Ack Starting Sequence Control field and BA Bitmap field.
  • the ACK/BA indication in each TID information field included in the BA information corresponding to the sending device is set.
  • the receiving device determines that at least one MPDU in at least two MPDUs is not correctly received, the receiving device determines that at least two MPDUs are included in the PPDU sent by the sending device.
  • the ACK/BA indication in each TID information field included in the BA information corresponding to the sending device is set to BA.
  • the ACK/BA indication in each TID information field included in the BA information corresponding to the sending device needs to be set to ACK, and the The BA information corresponding to the sending device includes only the TID information field, and does not include the Block Ack Starting Sequence Control field and the BA Bitmap field.
  • the BA information corresponding to the sending device may be determined first. Whether the ACK/BA indication included in each TID information field is set to BA, and the ACK/BA indication in each TID information field included in the BA information corresponding to the transmitting device is set to BA, and then the transmission according to the correct reception is performed. The operation of determining the length of the block acknowledgment bit table field corresponding to the transmitting device by the difference between the maximum sequence number of the MPDU sent by the device and the minimum sequence number.
  • the receiving device determines, according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the correctly received sending device, the length of the block acknowledgment bit table field corresponding to the sending device.
  • the length of the block acknowledgment bit table field in the embodiment of the present invention may be indicated by a bit table length indication, where the bit table length indicates a block acknowledgment start included in the BA information corresponding to the sending device that can be carried in the BA frame.
  • the fragment number (English: Fragment Number) subfield of the sequence control field.
  • the length of the fragment number subfield is 4 bits.
  • a Fragment Number subfield (3 bits of all 4 bits) may be used to carry a bit table length indication, due to BA
  • the length of the frame is in bytes, and the length of the BA Bitmap field should also be an integer multiple of the byte. Therefore, the specific process of determining the length of the block acknowledgment bit table field according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the receiving device that is correctly received may be: first determining the correctly received MPDU sent by the sending device.
  • the difference between the largest serial number and the smallest serial number, and then the difference is substituted into the formula one: Medium (where x is the difference, The result is rounded up.
  • the calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte).
  • the BA Bitmap field of the BA frame has a maximum length of 128 bytes, because the basic BA variant is suitable for a scenario using fragmentation.
  • each MPDU is allowed to be divided into 16 fragments, so that each MPDU needs 16 bits in the BA Bitmap domain to feed back whether it is correctly received, and the PPDU allows a maximum of 64 MPDUs to be aggregated. Therefore, the BA Bitmap The length of the domain is up to 128 bytes. In this case, you can use the Fragment Number sub-domain (all 4 bits) to carry the length of the bit table.
  • the receiving device is based on the maximum sequence number of the MPDU sent by the sending device.
  • the specific process of determining the length of the block acknowledgment bit table field may be: first determining the difference between the maximum sequence number of the MPDU sent by the transmitting device and the minimum sequence number, and then substituting the difference into the difference between the minimum sequence number and the minimum sequence number.
  • Formula 2 Medium (where x is the difference, The result is rounded up. The calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte).
  • a Fragment Number sub-domain (all 4 bits) may be used to carry a bit table length indication.
  • the receiving device sends according to the correct reception.
  • the difference between the maximum sequence number of the MPDU sent by the device and the minimum sequence number, and the specific process for determining the length of the block acknowledgment bit table field may be:
  • the receiving device determines the number of MPDUs that need to be correctly received according to the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the correctly received sending device.
  • the receiving device calculates the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the transmitting device that is correctly received, and then substitutes the difference into Equation 3:
  • the calculated result is the number of MPDUs that need to be correctly received.
  • the receiving device determines the number of bytes required for the feedback MPDU to be correctly received according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received.
  • the receiving device determines that all correctly received MPDUs sent by the transmitting device are present, and the maximum fragment number of the at least one MPDU that is correctly received is greater than or equal to 8, the number of bytes required to determine whether the feedback MPDU is correctly received is 2 bytes (16bits). If the receiving device determines that all the correctly received MPDUs sent by the sending device are correctly received, the maximum fragment number of all MPDUs is less than 8, then the number of bytes required to determine whether the feedback MPDU is correctly received is 1 byte (8 bits) ).
  • the receiving device determines the length of the block acknowledgment bit table field corresponding to the transmitting device according to whether the number of MPDUs to be correctly received and the number of bytes required to receive the MPDU are correctly received.
  • Equation 4 A ⁇ B (A indicates the number of MPDUs that need to be correctly received or not, and is calculated according to Equation 3; B indicates that it is required to feed back an MPDU correctly.
  • the number of bytes) the calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte).
  • the receiving device determines, according to the length of the block acknowledgment bit table field corresponding to the sending device, a block acknowledgment bit table field corresponding to the sending device.
  • the receiving device may determine and send according to the length of the block acknowledgment bit table field corresponding to the sending device.
  • the length of the block acknowledgment bit table field corresponding to the device and the reception status of at least one MPDU in the at least one PPDU sent by the sending device determine a block acknowledgment bit table field corresponding to the sending device.
  • the ACK/BA indication in each TID information field included in the BA information corresponding to the sending device is set to BA
  • the receiving device is Determining that the ACK/BA indication in each TID information field included in the BA information corresponding to the transmitting device is set to BA, and according to the difference between the maximum sequence number of the MPDU and the minimum sequence number sent by the correctly received transmitting device, and the difference in step 304
  • Formula one After determining that the length of the block acknowledgment bit table field corresponding to the sending device is 2 bytes, determining the sending device according to the receiving condition of the 15 MPDUs and the determined length of the block acknowledgment bit table field corresponding to the transmitting device
  • 1 in the block acknowledgment bit table field indicates that the MPDU corresponding to the sequence number is correctly received
  • 0 indicates that the MPDU corresponding to the sequence number is not correctly received
  • the starting sequence number is 0 in the Block Ack Starting Sequence Control field.
  • the receiving device determines a bit table length indication corresponding to the sending device.
  • the receiving device determines that the bit table length indication corresponding to the sending device is specific.
  • the receiving device may determine the bit table corresponding to the sending device according to the length of the block acknowledgment bit table field corresponding to the sending device and the preset first mapping relationship. Length indication.
  • the first mapping relationship is used to indicate a bit table length indication corresponding to the length of the at least one block acknowledgment bit table field.
  • the block is used to confirm the 3 bits of the fragment number subfield of the start sequence control domain (assuming block prediction start sequence control)
  • the B0-B2 of the fragment numbering subfield of the domain carries the indication of the length of the bit table as an example (of course, all 4 bits of the fragment number subfield may also be used to carry the bit table length indication, but considering that the length of the MAC frame is In units of bytes, it is not necessary to use a granularity unit smaller than 1 byte, that is, preferably, 3 bits of the fragment number subfield of the acknowledgment start sequence control field are used to carry the bit table length indication), different
  • Table 1 The correspondence between the length of the block acknowledgment bit table field and the bit table length indication can be as shown in Table 1.
  • Bit table length indication Binary 1 0 000 2 1 001 3 2 010 4 3 011 5 4 100 6 5 101 7 6 110 8 7 111
  • the PPDU sent by the sending device includes 20 MPDUs
  • the sequence numbers of the correctly received MPDUs in the 20 MPDUs are: 3, 5, 8, 10, 12, and 15, respectively, and the receiving device can determine first.
  • the difference 12 between the maximum sequence number 15 and the minimum sequence number 3 in the MPDU sent by the sending device is correctly received, and then according to the difference 12 and the formula 1 in step 304 in the embodiment of the present invention: Medium (where x is the difference, Determining rounding up) determining that the length of the block acknowledgment bit table field corresponding to the transmitting device is 2 bytes, and then the length of the bit table field 2 bytes and the table 1 shown in Table 1 can be confirmed according to the block corresponding to the transmitting device.
  • the first mapping relationship determines that the bit table length corresponding to the sending device is 1 and the corresponding binary is 001.
  • bit table length indication For example, for a basic BA variant of a normal BA frame, that is, an application scenario using fragmentation, all 4 bits of the fragment number subfield may be used to indicate the bit table length indication.
  • the length of the different block acknowledgement bit table field is The correspondence between the bit table length indications can be as shown in Table 2.
  • the PPDU sent by the sending device includes 25 MPDUs, and the sequence numbers of the correctly received MPDUs in the 25 MPDUs are: 5, 8, 10, 12, 15, 18, and 22, respectively.
  • the difference 17 between the maximum sequence number 22 and the minimum sequence number 5 in the MPDU sent by the sending device that is correctly received may be determined, and then according to the difference 17 and the formula 2 in step 304 in the embodiment of the present invention:
  • the length of the block acknowledgment bit table field corresponding to the sending device is determined to be 40 bytes. In this case, the length of the bit table field of 40 bytes and the first mapping relationship shown in Table 2 can be confirmed according to the block corresponding to the transmitting device. And determining that the bit table length corresponding to the sending device is 4, and the corresponding binary is 0100.
  • the receiving device determines that the bit table length indication corresponding to the sending device may be:
  • the receiving device determines the quantity indication corresponding to the sending device according to whether the number of the MPDUs to be correctly received and the preset second mapping relationship are to be fed back.
  • the quantity indication is used to indicate the number of MPDUs that need to be correctly received, and the second mapping relationship is used to indicate the quantity indication corresponding to the number of MPDUs that need to be correctly received.
  • the 3 bits of the slice number sub-domain of the block acknowledgment start sequence control field is used as an example, and the second mapping relationship can be as shown in Table 3.
  • Quantity indication Binary 8 0 000 16 1 001 twenty four 2 010 32 3 011 40 4 100 48 5 101 56 6 110 64 7 111
  • the determined number of MPDUs that need to be correctly received is 24, then according to the second mapping relationship as shown in Table 3, the number indication is 2, and the corresponding binary is 010.
  • the receiving device determines the marking indication corresponding to the sending device according to the maximum fragment number of the MPDU sent by the transmitting device that is correctly received.
  • the flag indicates the number of bytes required to indicate whether the feedback MPDU is correctly received.
  • the receiving device determines that all correctly received MPDUs sent by the sending device are present, and the maximum fragment number of the at least one MPDU that is correctly received is greater than or equal to 8, the number of bytes required to determine whether the feedback MPDU is correctly received is determined. 2 bytes (16bits), That is, when the receiving device determines that the correctly received maximum fragment number of at least one MPDU in the MPDU sent by all correctly received transmitting devices is greater than or equal to 8, it will be used to indicate whether the feedback MPDU is correctly received. A flag indicating that the number of bytes is 2 bytes is determined to be a flag indication corresponding to the transmitting device.
  • the receiving device determines that all the correctly received MPDUs sent by the sending device are correctly received, the maximum fragment number of all MPDUs is less than 8, then the number of bytes required to determine whether the feedback MPDU is correctly received is 1 byte (8 bits) ), that is, when the receiving device determines that the correctly received maximum fragment number of all MPDUs in all MPDUs sent by the correctly received transmitting device is less than 8, it will be used to indicate whether the feedback MPDU is correctly received.
  • a flag indicating that the number of bytes is 1 byte is determined to be a flag indication corresponding to the transmitting device.
  • the 1 bit of the fragment number subfield of the block acknowledgment start sequence control field is used as an example. If the 1 bit is "1", it indicates the number of bytes required for the feedback MPDU to be correctly received. If the number of bytes required to receive the MPDU is 2, the receiving device determines that at least one MPDU in the MPDU sent by the transmitting device that is correctly received is correct. When the received maximum fragment number is greater than or equal to 8, the "0" is determined as the label indication corresponding to the sending device, and the receiving device determines that all the MPDUs of all correctly received transmitting MPDUs are correctly received. When the slice numbers are all less than 8, "1" is determined as the mark indication corresponding to the transmitting device.
  • the receiving device combines the quantity indication corresponding to the sending device and the tag indication corresponding to the transmitting device to generate a bit table length indication corresponding to the transmitting device.
  • the first 3 bits (eg, B0-B2) of the fragment number subfield are used to carry the quantity indication, and the 4th bit (eg, B3) carries the flag indication, and the determined quantity.
  • the indication is 010 and the flag indication is "1", then the generated bit table length indication is 0101.
  • the receiving device may perform the above steps 303-step 306 for each of the at least one transmitting device to obtain a bit table length indication and a block acknowledgment bit table corresponding to each of the at least one transmitting device.
  • the domain and after obtaining the bit table length indication and the block acknowledgment bit table field corresponding to each of the at least one transmitting device, performs the following step 307.
  • the receiving device generates a BA frame according to the bit table length indication corresponding to each sending device and the block acknowledgment bit table field corresponding to each sending device.
  • the bit table length indication corresponding to the sending device is included in the block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device of the BA frame.
  • the bit table length corresponding to the sending device indicates the fragment number subfield of the block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device that is carried in the BA frame.
  • the receiving device sends a BA frame to each of the at least one sending device.
  • the receiving device transmits the BA frame to each of the at least one transmitting device in step 308, for each of the at least one transmitting device, the following steps 309 and 310 may be performed.
  • the sending device receives the BA frame sent by the receiving device.
  • the sending device determines, according to the bit table length indication, a length of a block acknowledgement bit table field included in the BA information corresponding to the sending device.
  • the sending device determines the BA corresponding to the sending device according to the bit table length indication.
  • the length of the block acknowledgment bit table field included in the information includes: the sending device determines the length of the block acknowledgment bit table field included in the BA information corresponding to the sending device according to the bit table length indication and the preset first mapping relationship.
  • the first mapping relationship is used to indicate that at least one bit table length indicates a length of a corresponding block acknowledgment bit table field.
  • first mapping relationship may be as shown in Table 1 and Table 2 in step 306 in the embodiment of the present invention, and the present invention is not described in detail herein.
  • the sending device determines, according to the bit table length indication, the block included in the BA information corresponding to the sending device. Confirm the length of the bit table field, including:
  • the sending device determines, according to the quantity indication indicated by the length of the bit table and the preset second mapping relationship, whether the number of MPDUs that are correctly received is received.
  • the number indicates the number of MPDUs used to indicate whether the receiving device needs to be correctly received.
  • the second mapping relationship is used to indicate the number of MPDUs indicating whether the corresponding feedback is correctly received.
  • the receiving device adopts the fragment number sub-domain to carry the bit table length indication including the quantity indication and the flag indication, specifically, the first 3 bit bearer quantity indication by using the fragment number sub-domain, and the 4th bit bearer flag indication
  • the sending device may determine the number of MPDUs that are correctly received according to the first three bits indicated by the length of the bit table and the preset second mapping relationship.
  • the second mapping relationship may be as shown in Table 3 in step 306 in the embodiment of the present invention, and the present invention is not described in detail herein.
  • the transmitting device determines, according to the flag indication indicated by the length of the bit table, the number of bytes required for the feedback MPDU to be correctly received; wherein the flag indicates the number of bytes required to indicate whether the receiving device feeds back the MPDU is correctly received.
  • the transmitting device can determine the number of bytes required for the feedback MPDU to be correctly received according to the 4th bit indicated by the length of the bit table. For example, if the flag indicates "1", the number of bytes required for the determined feedback MPDU to be correctly received is 1 byte, and the flag indicates "0", then it is determined whether the feedback MPDU is correctly received. The number of bytes is 2 bytes.
  • the transmitting device determines the length of the block acknowledgment bit table field included in the BA information corresponding to the transmitting device according to whether the number of correctly received MPDUs and the number of bytes of the feedback MPDU are correctly received.
  • the sending device determines whether the number of MPDUs that are correctly received and the number of bytes of the feedback MPDU are correctly received, the number of MPDUs that can be correctly received and the feedback MPDU can be fed back.
  • the number of bytes required for correct reception is multiplied, and the calculated result is the length of the block acknowledgment bit table field (where the unit of the length of the determined block acknowledgment bit table field is byte).
  • the BA information may be parsed according to the length of the block acknowledgment bit table field to obtain the MPDU to be retransmitted.
  • the information in turn, retransmits all MPDUs that the receiving device did not successfully receive.
  • the method for transmitting a block acknowledgment frame provided by the present invention, the receiving device receives at least one PPDU sent by the at least one transmitting device, and according to receiving the at least one MPDU of the at least one PPDU sent by each of the at least one transmitting device Generating a BA frame, and transmitting the BA frame to each of the at least one transmitting device, where the BA frame includes BA information corresponding to each of the at least one transmitting device, the BA information including the block acknowledgement a bit table field and a bit table length indication indicating a length of the block acknowledgment bit table field, and the bit table length indicates a BA packet corresponding to the transmitting device carried in the BA frame
  • the block included confirms the start sequence control domain.
  • the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the redundancy due to the BA Bitmap domain. The resulting waste of resources.
  • the receiving device may include: a receiving unit 41, a generating unit 42, and a sending unit 43.
  • the receiving unit 41 is configured to receive at least one physical layer convergence procedure protocol data unit PPDU sent by the at least one sending device, where the PPDU includes at least one medium access control protocol data unit MPDU.
  • the generating unit 42 is configured to generate a block acknowledgement BA frame according to the reception status of the at least one MPDU in the at least one PPDU sent by each of the at least one sending device that is received by the receiving unit 41.
  • the sending unit 43 is configured to send the BA frame generated by the generating unit 42 to each of the at least one sending device.
  • the BA frame includes BA information corresponding to each of the at least one sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication; the bit table length indication is used for And indicating a length of the block acknowledgment bit table field, where the bit table length is indicated in a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the generating unit 42 may include: a determining module 421 and a generating module 422.
  • the determining module 421 is configured to determine, according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received, for each of the at least one sending device, to determine that the sending device corresponds to the transmitting device a block acknowledgment bit field length; determining, according to the length of the block acknowledgment bit table field corresponding to the sending device, a block acknowledgment bit table field corresponding to the sending device; determining a bit table corresponding to the sending device Length indication.
  • the generating module 422 is configured to generate the BA frame according to the bit table length indication corresponding to each sending device determined by the determining module 421 and the block acknowledgment bit table field corresponding to each sending device.
  • the receiving device may further include: a determining unit 44.
  • a determining unit 44 configured to: before the generating unit 42 generates a block acknowledgement BA frame according to the receiving condition of the at least one of the at least one PPDU sent by each of the at least one sending device, Determining, for each of the at least one transmitting device, that the confirmation indication in the flow identification TID information field included in the BA information corresponding to the sending device is set to a first value, the first value indicating the
  • the BA information corresponding to the transmitting device includes the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • bit table length is indicated in a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the determining module 421 is specifically configured to determine the location according to the length of the block acknowledgment bit table field corresponding to the sending device and a preset first mapping relationship. And indicating, by the sending device, a bit table length indication, where the first mapping relationship is used to indicate a bit table length indication corresponding to a length of the at least one block acknowledgment bit table field.
  • the determining module 421 is specifically configured to determine whether the feedback needs to be correctly received according to the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the sending device that is correctly received.
  • the number of MPDUs determining the number of bytes required for the feedback MPDU to be correctly received according to the correctly received maximum fragment number of the MPDU sent by the sending device; and the number of MPDUs that are correctly received according to the required feedback
  • determining whether the length of the block acknowledgement bit table field corresponding to the sending device is the number of bytes required for the feedback MPDU to be correctly received.
  • the determining module 421 is specifically configured to determine, according to the number of the MPDUs that are to be correctly received and the preset second mapping relationship, determine the corresponding to the sending device. a quantity indication; wherein the quantity indicates a number of MPDUs used to indicate whether the feedback is correctly received, and the second mapping relationship is used to indicate that at least one number of MPDUs that require feedback is correctly received a quantity indication; determining, according to the correctly received maximum fragment number of the MPDU sent by the sending device, a marking indication corresponding to the sending device; wherein the marking indication is used to indicate whether the feedback MPDU is correctly received a number of sections; combining the number indication corresponding to the sending device and the marking indication corresponding to the sending device to generate the bit table length indication corresponding to the sending device.
  • the receiving device of the present invention receives at least one PPDU sent by at least one sending device, and generates a BA frame according to the receiving condition of at least one MPDU in at least one PPDU sent by each of the at least one transmitting device, and Transmitting the BA frame to each of the at least one transmitting device, and the BA frame includes BA information corresponding to each of the at least one transmitting device, the BA information including a block acknowledgement bit table field and A bit table length indication indicating the length of the block acknowledgment bit table field, and the bit table length indication is in a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame.
  • the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the redundancy due to the BA Bitmap domain. The resulting waste of resources.
  • the transmitting device may include: a sending unit 51 and a receiving unit 52.
  • the sending unit 51 is configured to send, to the receiving device, at least one physical layer aggregation procedure protocol data unit PPDU, where the PPDU includes at least one medium access control protocol data unit MPDU.
  • the receiving unit 52 is configured to receive a block acknowledgement BA frame sent by the receiving device, where the BA frame includes BA information corresponding to the sending device, where the BA information includes a block acknowledgement bit table field and a bit table. a length indication; the bit table length indication is used to indicate a length of the block acknowledgment bit table field, where the bit table length indicates a block acknowledgment start included in the BA information corresponding to the sending device that is carried in the BA frame Sequence control domain.
  • the length of the block acknowledgment bit table field is determined by the receiving device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received.
  • bit table length is indicated in a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the sending device may further include: a determining unit 53.
  • a determining unit 53 configured to determine, according to the bit table length indication received by the receiving unit 52, the corresponding to the sending device, after the receiving unit 52 receives the block acknowledgement BA frame sent by the receiving device.
  • the BA information contains the length of the block acknowledgment bit table field.
  • the determining unit 53 is configured to determine, according to the bit table length indication and the preset first mapping relationship, the block included in the BA information corresponding to the sending device. The length of the bit table field is confirmed; wherein the first mapping relationship is used to indicate that at least one bit table length indicates the length of the corresponding block acknowledgment bit table field.
  • the determining unit 53 is specifically configured to determine, according to the quantity indication indicated by the length of the bit table and the preset second mapping relationship, whether the number of MPDUs that are correctly received by the feedback is determined. Wherein the number indicates the number of MPDUs used to indicate whether the receiving device needs to be correctly received, and the second mapping relationship is used to indicate at least one quantity of MPDUs indicating whether the corresponding feedback is correctly received.
  • the number of bytes required to determine whether the feedback MPDU is correctly received according to the flag indication indicated by the length of the bit table; wherein the flag indicates that the receiving device is required to feedback whether the MPDU is correctly received a number of bytes; determining, according to whether the number of correctly received MPDUs and the number of bytes required for the feedback MPDU are correctly received, determining a block acknowledgement included in the BA information corresponding to the sending device The length of the bit table field.
  • the sending device of the present invention sends at least one PPDU including at least one MPDU to the receiving device, and receives a BA frame sent by the receiving device, and the BA frame includes BA information corresponding to the sending device, where the BA information includes a block acknowledgment bit.
  • a table field and a bit table length indication indicating a length of the block acknowledgment bit table field, and the bit table length indication is carried in a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device of the BA frame.
  • the receiving device indicates the length of the block acknowledgment bit table field by using the bit table length indication, so that the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the BA Bitmap domain. Resource waste caused by redundancy.
  • the receiving device may include: a receiver 61, a processor 62, and a transmitter 63.
  • a receiver 61 configured to receive at least one physical layer convergence sent by at least one sending device a process protocol data unit PPDU; wherein the PPDU includes at least one medium access control protocol data unit MPDU.
  • the processor 62 is configured to generate a block acknowledgement BA frame according to the receiving condition of the at least one of the at least one PPDU sent by each of the at least one sending device.
  • the BA frame includes BA information corresponding to each of the at least one sending device, where the BA information includes a block acknowledgement bit table field and a bit table length indication; the bit table length indication is used for And indicating a length of the block acknowledgment bit table field, where the bit table length is indicated in a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the transmitter 63 is configured to send the BA frame to each of the at least one sending device.
  • the processor 62 is specifically configured to: for each of the at least one sending device, according to the correctly received maximum number and minimum MPDU of the MPDU sent by the sending device. Determining a length of a block acknowledgment bit table field corresponding to the sending device; determining a block acknowledgment bit corresponding to the sending device according to the length of the block acknowledgment bit table field corresponding to the sending device a table field; determining a bit table length indication corresponding to the sending device; generating the BA frame according to a bit table length indication corresponding to each transmitting device and a block acknowledgment bit table field corresponding to each transmitting device.
  • the processor 62 is further configured to receive, according to the at least one MPDU in the at least one PPDU sent according to each of the at least one sending device. Before the situation generating block confirms the BA frame, determining, for each of the at least one transmitting device, that the confirmation indication in the per-stream identification TID information field included in the BA information corresponding to the sending device is set to a first value, The first value indicates that the block information corresponding to the sending device includes the block acknowledgment start sequence control field and the block acknowledgment bit table field.
  • bit table length is indicated in a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the processor 62 is specifically configured to: according to the length of the block confirmation bit table field corresponding to the sending device and the preset first mapping relationship, The bit table length indication corresponding to the sending device is determined; wherein the first mapping relationship is used to indicate a bit table length indication corresponding to a length of the at least one block acknowledgment bit table field.
  • the processor 62 is specifically configured to determine whether the feedback needs to be correctly received according to the difference between the maximum sequence number and the minimum sequence number in the MPDU sent by the sending device that is correctly received.
  • the number of MPDUs determining the number of bytes required for the feedback MPDU to be correctly received according to the correctly received maximum fragment number of the MPDU sent by the sending device; and the number of MPDUs that are correctly received according to the required feedback
  • determining whether the length of the block acknowledgement bit table field corresponding to the sending device is the number of bytes required for the feedback MPDU to be correctly received.
  • the processor 62 is specifically configured to determine, according to the number of MPDUs that need to be correctly received, and a preset second mapping relationship, determine, corresponding to the sending device. a quantity indication; wherein the quantity indicates a number of MPDUs used to indicate whether the feedback is correctly received, and the second mapping relationship is used to indicate that at least one number of MPDUs that require feedback is correctly received a quantity indication; determining, according to the correctly received maximum fragment number of the MPDU sent by the sending device, a marking indication corresponding to the sending device; wherein the marking indication is used to indicate whether the feedback MPDU is correctly received a number of sections; combining the number indication corresponding to the sending device and the marking indication corresponding to the sending device to generate the bit table length indication corresponding to the sending device.
  • the receiving device of the present invention receives at least one PPDU sent by at least one sending device, and generates a BA frame according to the receiving condition of at least one MPDU in at least one PPDU sent by each of the at least one transmitting device, and Transmitting the BA frame to each of the at least one transmitting device, and the BA frame includes BA information corresponding to each of the at least one transmitting device, the BA information including a block acknowledgement bit table field and A bit table length indication indicating the length of the block acknowledgment bit table field, and the bit table length indication is in a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device carried in the BA frame.
  • the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the redundancy due to the BA Bitmap domain. The resulting waste of resources.
  • the transmitting device may include: a sender 71 and a receiver 72.
  • the transmitter 71 is configured to send, to the receiving device, at least one physical layer aggregation procedure protocol data unit PPDU, where the PPDU includes at least one medium access control protocol data unit MPDU.
  • the receiver 72 is configured to receive a block acknowledgement BA frame sent by the receiving device.
  • the BA frame includes BA information corresponding to the sending device, the BA information includes a block acknowledgement bit table field and a bit table length indication, and the bit table length indication is used to indicate the block acknowledgement bit table.
  • the length of the block acknowledgment bit table field is determined by the receiving device according to the difference between the maximum sequence number and the minimum sequence number of the MPDU sent by the sending device that is correctly received.
  • bit table length is indicated in a fragment number subfield of a block acknowledgment start sequence control field included in the BA information corresponding to the sending device of the BA frame.
  • the sending device may further include: a processor 73.
  • the processor 73 is configured to determine, after the receiver 72 receives the block acknowledgement BA frame sent by the receiving device, the block acknowledgement bit table included in the BA information corresponding to the sending device according to the bit table length indication. The length of the field.
  • the processor 73 is specifically configured to determine, according to the bit table length indication and the preset first mapping relationship, the block included in the BA information corresponding to the sending device. The length of the bit table field is confirmed; wherein the first mapping relationship is used to indicate that at least one bit table length indicates the length of the corresponding block acknowledgment bit table field.
  • the processor 73 is specifically configured to determine, according to the quantity indication indicated by the length of the bit table, and the preset second mapping relationship, whether the number of MPDUs that are correctly received by the feedback is determined. Wherein the number indicates the number of MPDUs used to indicate whether the receiving device needs to be correctly received, and the second mapping relationship is used to indicate at least one quantity of MPDUs indicating whether the corresponding feedback is correctly received.
  • the number of bytes required to determine whether the feedback MPDU is correctly received according to the flag indication indicated by the length of the bit table; wherein the flag indication is used to indicate whether the receiving device feeds back the MPDU is correct
  • Receiving the required number of bytes determining the BA information corresponding to the sending device according to whether the number of correctly received MPDUs and the number of bytes required for the feedback MPDU are correctly received
  • the included block confirms the length of the bit table field.
  • the sending device of the present invention sends at least one PPDU including at least one MPDU to the receiving device, and receives a BA frame sent by the receiving device, and the BA frame includes BA information corresponding to the sending device, where the BA information includes a block acknowledgment bit.
  • a table field and a bit table length indication indicating a length of the block acknowledgment bit table field, and the bit table length indication is carried in a block acknowledgment start sequence control field included in the BA information corresponding to the transmitting device of the BA frame.
  • the receiving device indicates the length of the block acknowledgment bit table field by using the bit table length indication, so that the length of the block acknowledgment bit table field of the BA information included in the generated BA frame does not need to use a fixed 64 bits, thereby solving the BA Bitmap domain. Resource waste caused by redundancy.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used.
  • the combination may be integrated into another device, or some features may be ignored or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

本发明公开了一种块确认帧的传输方法及设备,涉及通信领域,解决了由于BA Bitmap域冗余导致的资源浪费问题。具体方案为:接收设备接收至少一个发送设备发送的至少一个PPDU,PPDU中包含至少一个MPDU;根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧,并向至少一个发送设备发送BA帧;BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,BA信息包含块确认位表域和位表长度指示;位表长度指示用于指示块确认位表域的长度,位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。本发明用于块确认帧的传输过程中。

Description

一种块确认帧的传输方法及设备
本申请要求于2015年5月12日提交中国专利局、申请号为201510239949.1和2015年6月10日提交中国专利局、申请号为201510317627.4,以及2016年2月6日提交中国专利局、申请号为201610084149.1的中国专利申请的优先权,它们的全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信领域,尤其涉及一种块确认帧的传输方法及设备。
背景技术
在基于IEEE 802.11协议的无线高保真(英文:Wireless Fidelity,简称:WiFi)系统中,无线接口的协议栈中包含有媒体接入控制(英文:Medium Access Control,简称:MAC)层协议。为了能够减少采用MAC层协议进行数据传输时的帧间间隔、信道竞争时间以及物理头的重复传输,802.11n中提出了一种MAC层聚合传输机制,其被称为聚合MAC协议数据单元(英文:Aggregate MAC Protocol Data Unit,简称:A-MPDU),在这种MAC层聚合传输机制中,一个采用A-MPDU结构的物理层汇聚过程协议数据单元(英文:physical layer convergence procedure Protocol Data Unit,简称:PPDU)中可以包含至少一个MAC协议数据单元(英文:MAC Protocol Data Unit,简称:MPDU),其中,该PPDU中包含的所有MPDU是发送给同一接收设备的。
在现有标准中规定,当接收设备接收到采用A-MPDU结构的PPDU时,需向发送设备回复块确认(英文:Block Acknowledgment,简称:BA)帧,其中,该BA帧中包含块确认位表(英文:BA Bitmap)域,BA Bitmap域中的每位对应所有需反馈是否被正确接收的MPDU中的一个。
由于一个采用A-MPDU结构的PPDU最多允许聚合64个MPDU,因此,现有标准规定,BA Bitmap域的长度为固定的64比特(bits)。但是,在实际使用中,一个采用A-MPDU结构的PPDU中所聚合的MPDU的个数往往远小于64,在这种情况下,若BA Bitmap域的长度 仍采用64bits,便会使得BA Bitmap域冗余,从而导致资源的浪费。
发明内容
本发明提供一种块确认帧的传输方法及设备,解决了由于BA Bitmap域冗余导致的资源浪费问题。
为达到上述目的,本发明采用如下技术方案:
本发明的第一方面,提供一种块确认帧的传输方法,包括:
接收设备接收至少一个发送设备发送的至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧,并向所述至少一个发送设备中的每个发送设备发送所述BA帧;
其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
结合第一方面,在第一种可能的实现方式中,所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧,包括:
针对所述至少一个发送设备中的每个发送设备,所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示;
所述接收设备根据与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述确定与所述发送设备对应的块确认位表域的长度具体为:所述 接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
结合第一方面的第一种可能的实现方式,在第三种可能的实现方式中,所述确定与所述发送设备对应的块确认位表域的长度具体为:所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
结合第一方面或上述可能的实现方式中的任一种,在第五种可能的实现方式中,在所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,所述方法还包括:
针对所述至少一个发送设备中的每个发送设备,所述接收设备确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
结合第一方面或上述可能的实现方式中的任一种,在第六种可能的实现方式中,
所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
结合第一方面的第一~四种可能的实现方式中的任一种,在第七种可能的实现方式中,所述确定与所述发送设备对应的位表长度指示,包括:
所述接收设备根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的 位表长度指示。
结合第一方面的第二种可能的实现方式,在第八种可能的实现方式中,所述根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度,包括:
所述接收设备根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;
所述接收设备根据正确接收的所述发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数;
所述接收设备根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
结合第一方面的第八种可能的实现方式,在第九种可能的实现方式中,所述确定与所述发送设备对应的位表长度指示,包括:
所述接收设备根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;
所述接收设备根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;
所述接收设备将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
本发明的第二方面,提供一种块确认帧的传输方法,包括:
发送设备向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
所述发送设备接收所述接收设备发送的块确认BA帧;其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确 认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
结合第二方面,在第一种可能的实现方式中,
所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
结合第二方面,在第二种可能的实现方式中,所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值确定的。
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
结合第二方面或上述可能的实现方式中的任一种,在第四种可能的实现方式中,
所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
结合第二方面或上述可能的实现方式中的任一种,在第五种可能的实现方式中,在所述发送设备接收所述接收设备发送的块确认BA帧之后,还包括:
所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
结合第二方面的第五种可能的实现方式,在第六种可能的实现方式中,所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度,包括:
所述发送设备根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域 的长度。
结合第二方面的第五种可能的实现方式,在第七种可能的实现方式中,所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度,包括:
所述发送设备根据所述位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;
所述发送设备根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收设备反馈MPDU是否被正确接收所需的字节数;
所述发送设备根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
本发明的第三方面,提供一种接收设备,包括:
接收单元,用于接收至少一个发送设备发送的至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
生成单元,用于根据对所述接收单元接收的所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧;
发送单元,用于向所述至少一个发送设备中的每个发送设备发送所述生成单元生成的所述BA帧;
其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
结合第三方面,在第一种可能的实现方式中,所述生成单元,包括:
确定模块,用于针对所述至少一个发送设备中的每个发送设备,根 据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示;
生成模块,用于根据所述确定模块确定出的与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述确定模块用于确定与所述发送设备对应的块确认位表域的长度具体为:所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
结合第三方面的第一种可能的实现方式,在第三种可能的实现方式中,所述确定模块用于确定与所述发送设备对应的块确认位表域的长度具体为:所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
结合第三方面或上述可能的实现方式中的任一种,在第五种可能的实现方式中,所述接收设备还包括:
确定单元,用于在所述生成单元根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
结合第三方面或上述可能的实现方式中的任一种,在第六种可能的实现方式中,
所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
结合第三方面的第一~四种可能的实现方式中的任一种,在第七种可能的实现方式中,所述确定模块用于确定与所述发送设备对应的位表长度指示具体为:
所述确定模块用于根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
结合第三方面的第二种可能的实现方式,在第八种可能的实现方式中,所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度具体为:
根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;
根据正确接收的所述发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数;
根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
结合第三方面的第八种可能的实现方式,在第九种可能的实现方式中,所述确定模块用于确定与所述发送设备对应的位表长度指示具体为:
所述确定模块用于:
根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;
根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定 与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;
将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
本发明的第四方面,提供一种发送设备,包括:
发送单元,用于向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
接收单元,用于接收所述接收设备发送的块确认BA帧;其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
结合第四方面,在第一种可能的实现方式中,
所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
结合第四方面,在第二种可能的实现方式中,所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值确定的。
结合第四方面的第二种可能的实现方式中,在第三种可能的实现方式中,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
结合第四方面或第四方面的第一种可能的实现方式中的任一种,在第四种可能的实现方式中,
所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
结合第四方面或上述可能的实现方式中的任一种,在第五种可能的实现方式中,所述发送设备还包括:
确定单元,用于在所述接收单元接收所述接收设备发送的块确认BA帧之后,根据所述接收单元接收到的所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
结合第四方面的第五种可能的实现方式中,在第六种可能的实现方式中,所述确定单元,具体用于:
根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
结合第四方面的第五种可能的实现方式,在第七种可能的实现方式中,所述确定单元,具体用于:
根据所述位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;
根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收设备反馈MPDU是否被正确接收所需的字节数;
根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
本发明提供的块确认帧的传输方法及设备,接收设备接收至少一个发送设备发送的至少一个PPDU,并根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成认BA帧,并向至少一个发送设备中的每个发送设备发送该BA帧,且该BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与发送设备对应的BA信息包 含的块确认起始序列控制域中。通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术提供的一种multi STA BA帧的结构示意图;
图2为本发明一实施例提供的一种块确认帧的传输方法流程图;
图3为本发明另一实施例提供的一种块确认帧的传输方法流程图;
图4为本发明另一实施例提供的一种块确认帧的传输方法流程图;
图5为本发明实施例提供的一种BA帧的结构示意图;
图6为本发明实施例提供的另一种BA帧的结构示意图;
图7为本发明另一实施例提供的一种接收设备的组成示意图;
图8为本发明另一实施例提供的另一种接收设备的组成示意图;
图9为本发明另一实施例提供的一种发送设备的组成示意图;
图10为本发明另一实施例提供的另一种发送设备的组成示意图;
图11为本发明另一实施例提供的一种接收设备的组成示意图;
图12为本发明另一实施例提供的一种发送设备的组成示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
A-MPDU是802.11n中提出的一种MAC层聚合传输机制,在该机制提出之前,一个PPDU中仅包含一个MPDU,而在A-MPDU中,一个采用A-MPDU结构的PPDU可以包含至少一个MPDU,其中包含的各个MPDU可以属于不同的帧类型,也可以具有不同的源地址(英文:Source Address,简称:SA)或目的地址(英文:Destination Address,简称:DA),但一个PPDU中包含的所有MPDU是发送给同一接收设备的,即具有相同的接收地址(英文:Receiving Address,简称:RA)。相比传统的(一个PPDU仅包含一个MPDU)传输方式,采用A-MPDU结构的传输方式能够减少数据传输时的帧间间隔、信道竞争时间以及物理头的重复传输,有效提高了传输效率。
其中,在802.11n和802.11ac中规定,当接收设备接收到一个采用A-MPDU结构的PPDU时,需向发送设备回复一个BA帧,其中,该BA帧中包含一个BA Bitmap(BA位表)域,该BA Bitmap域中的每位对应所有需反馈是否被正确接收的MPDU中的一个。且由于一个采用A-MPDU结构的PPDU最多允许聚合64个MPDU,因此,802.11n和802.11ac均规定BA Bitmap域的长度为固定的64bits。
随着通信技术的发展,应用于通信系统的标准也在不断的演进,在802.11ac的下一代标准802.11ax中,引入了上行多用户(英文:Uplink Multiple User,简称:UL MU)传输机制,其中,该传输机制包括UL正交频分多址(英文:Orthogonal Frequency-Division Multiple Access,简称:UL OFDMA)和UL MU多输入多输出(英文:UL MU-Multiple Input Multiple Output,简称:UL MU-MIMO)。在这种传输机制下,接入点(英文:Access Point,简称:AP)可以同时接收到多个站点(英文:Station,简称:STA)的PPDU,其中,每个STA的PPDU均采用了A-MPDU结构,也就是说,每个STA的PPDU中均包含有至少一个MPDU。根据目前标准的规定,AP需发送一个多(multi-)STA BA帧向多个STA回复确认信息。具体的,如图1所示,该multi-STA BA帧中包含有MAC头(其中,该MAC头可以包括:帧控制(英文:Frame Control)域,持续时间/标识(英文:Duration/ID)域,RA域,发送地址(英文:transmit address,简称:TA)域),BA控制(英文:BA control),帧校验序列(英文:Frame Check Sequence,简称:FCS),以及至 少一个BA Information(中文:块确认信息),每个BA Information对应一个STA。针对一个STA对应的BA Information来说,BA Information的第一个域,即每流标识信息(英文:Per Traffic Identifier Information,简称:Per TID Info)域的前11bits(即,B0-B10)为该STA的关联标识(英文:Association Identifier,简称:AID)。
此外,为了节省传输开销,如图1所示,Per TID Info域的第12个比特位(即,B11)为一个ACK(英文:Acknowledgment,中文:确认)/BA指示,用于指示该Per TID Info域之后,是否存在块确认起始序列控制(英文:Block Ack Starting Sequence Control)域和BA Bitmap域。具体的,当该ACK/BA指示设置为BA时,Per TID Info域之后存在Block Ack Starting Sequence Control域和BA Bitmap域,当该ACK/BA指示设置为ACK时,Per TID Info域之后不存在Block Ack Starting Sequence Control域和BA Bitmap域,即此时的BA Information可省去Block Ack Starting Sequence Control域和BA Bitmap域,仅包含Per TID Info域即可。其中,在以下两种情况下,ACK/BA指示设置为ACK,情况一:接收设备接收到的STA的PPDU中仅包含一个MPDU且该MPDU被正确接收;情况二:接收设备接收到的STA的PPDU中包含至少两个MPDU且该至少两个MPDU均被正确接收。
其中,对于BA Bitmap域的长度,由于一个采用A-MPDU结构的PPDU最多允许聚合64个MPDU,基于此,现有标准规定,BA Bitmap域的长度为固定的64bits。然而,在实际使用中,一个采用A-MPDU结构的PPDU中所聚合的MPDU的个数往往远小于64,因此使用64bits的BA Bitmap域会使得BA Bitmap域冗余,导致资源浪费,尤其在引入UL MU传输机制之后,BA帧(如,multi-STA BA帧、multi-TID BA帧)中包含多个BA Bitmap域,会使得BA Bitmap域冗余累加,资源的浪费会更加严重。采用本发明提供的块确认帧的传输方法,可以很好的解决由于BA Bitmap域冗余导致的资源浪费问题。
需要说明的是,本发明实施例中所述的接收设备可以是AP,相应的,所述的发送设备是STA;或者,所述的接收设备可以是STA、相应的,所述的发送设备是AP;或者,所述的接收设备可以是STA,相应 的,发送设备也是STA。总之,所述发送设备和所述接收设备都是支持802.11协议的设备。
一种可选的场景是,多个STA以UL OFDMA或UL MU-MIMO的方式向AP发送UL数据,AP根据接收结果向多个STA反馈块确认BA消息。此时,所述发送设备是AP,所述接收设备是STA。
为了便于本领域技术人员的理解,本发明通过以下实施例对本发明提供的技术方案的具体实现过程进行说明。
本发明一实施例提供一种块确认帧的传输方法,如图2所示,该方法可以包括:
101、接收设备接收至少一个发送设备发送的至少一个PPDU。
其中,每个发送设备发送的PPDU中包含至少一个MPDU。
需要说明的是,本发明实施例中所述的至少一个发送设备包括:向接收设备发送了PPDU且该PPDU中存在至少一个MPDU被接收设备正确接收的发送设备,而向接收设备发送了PPDU,但PPDU中包括的所有MPDU均未被正确接收的发送设备不包含在所述的至少一个发送设备之中。
需要说明的是,本发明实施例提供的块确认帧的传输方法,不仅适用于接收设备针对接收到的至少一个发送设备发送的采用A-MPDU结构的PPDU的确认回复,还适用于针对发送设备连续地向接收设备发送多个PPDU(其中,每个PPDU中一般包含一个MPDU,发送设备可以间隔固定时间向接收设备发送相邻的PPDU,如该固定时间为短帧间间隔(英文:Short Inter frame Space,简称:SIFS)),并向接收设备发送BA请求(英文:BA Request,简称:BAR),要求接收设备进行确认回复的情况,在该情况下,BA帧是针对多个PPDU的确认回复。
102、接收设备根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧。
其中,BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和位表长度指示(英文:Bitmap Length);位表长度指示用于指示块确认位表域的长度,且该位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。
具体的,在接收设备接收至少一个发送设备中的每个发送设备发送的至少一个PPDU之后,接收设备可以根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况,生成BA帧。
103、接收设备向至少一个发送设备中的每个发送设备发送BA帧。
其中,在接收设备根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧之后,便可以分别向该至少一个发送设备中的每个发送设备发送该BA帧。
本发明提供的块确认帧的传输方法,接收设备接收至少一个发送设备发送的至少一个PPDU,并根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成认BA帧,并向至少一个发送设备中的每个发送设备发送该BA帧,且该BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
进一步的,在本发明一个实施例中,步骤102具体可以包括:
针对至少一个发送设备中的每个发送设备,接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与发送设备对应的块确认位表域的长度,并根据与发送设备对应的块确认位表域的长度确定与发送设备对应的块确认位表域,并确定与发送设备对应的位表长度指示。
接收设备根据确定出的与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成BA帧。
进一步的,在本发明实施例中,针对与发送设备对应的BA信息包含每TID信息域中设置有确认指示(如,ACK/BA指示)的情况,在步骤102接收设备根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧之前,本发明实 施例提供的块确认帧的传输方法还可以包括:针对至少一个发送设备中的每个发送设备,接收设备确定与发送设备对应的BA信息包含的每TID信息域中的确认指示设置为第一值,第一值表示与发送设备对应的BA信息中包含块确认起始序列控制域和块确认位表域。该每TID信息域位于块确认起始序列控制域和块确认位表域之前。
其中,所述的确认指示可以为ACK/BA指示,对应的第一值可以为预设的0或1,表示BA信息中包含块确认起始序列控制域和块确认位表域。例如,协议规定,ACK/BA指示为0表示BA信息中包含块确认起始序列控制域和块确认位表域,ACK/BA指示为1表示BA信息中不包含块确认起始序列控制域和块确认位表域,则第一值为0。或者,协议规定,ACK/BA指示为1表示BA信息中包含块确认起始序列控制域和块确认位表域,ACK/BA指示为0表示BA信息中不包含块确认起始序列控制域和块确认位表域,则第一值为1。
进一步的,在现有标准中,块确认起始序列控制域的分片编号子域并未使用,即总是设置为全0,因此,在本发明实施例中,位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域的分片编号(英文:Fragment Number)子域中。
优选的,可以用Fragment Number子域的4bits的其中3bits来承载该与发送设备对应的位表长度指示。
当然,也可以用Fragment Number子域的全部4bits来承载该与发送设备对应的位表长度指示,以表示更小的粒度。
进一步,在本发明实施例中,块确认起始序列控制域中的起始序列号子域的值设置为正确接收的发送设备发送的MPDU的最小序列号。
进一步的,在本发明实施例中,示例性的,在第一种可能的实现方式中,针对普通BA帧,即未使用分片的应用场景,在采用Fragment Number子域(全部的4bits的其中3bits)承载位表长度指示的情况下,由于BA帧的长度是以字节为单位的,BA Bitmap域的长度也应该是字节的整数倍。因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,然后将该差值代入公式一:
Figure PCTCN2016081289-appb-000001
中(其中x为差值,
Figure PCTCN2016081289-appb-000002
表示向上取整),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。例如,确定的正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值为7,则根据公式一计算出的块确认位表域的长度为1字节,再例如,确定的正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值为41,则根据公式一计算出的块确认位表域的长度为6字节。
示例性的,在第二种可能的实现方式中,针对普通BA帧的基本BA变体(英文:Basic Block Ack variant),即使用分片的应用场景,在采用Fragment Number子域(全部的4bits)承载位表长度指示的情况下,由于PPDU最多聚合的MPDU的个数为64,并且一个MPDU最多允许分为16个分片,因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,然后将该差值代入公式二:
Figure PCTCN2016081289-appb-000003
中(其中x为差值,
Figure PCTCN2016081289-appb-000004
表示向上取整),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。例如,确定的正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值为7,则根据公式二计算出的块确认位表域的长度为16字节,再例如,确定的正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值为41,则根据公式二计算出的块确认位表域的长度为88字节。
需要说明的是,在使用分片的场景中,接收设备接收到一个MPDU的多个分片,当这些分片中存在至少一个分片被正确接收,即认为该MPDU需要进行确认,在考虑最大序列号和最小序列号时也应当将此MPDU的序列号考虑进去。换句话说,在使用分片的场景中,所谓“正确接收的发送设备发送的MPDU”是指至少有一个分片被正确接收的MPDU。
进一步的,在本发明实施例中,当采用上述第一种或第二种实现方式确定块确认位表域的长度时,所述的确定与发送设备对应的位表长度指示,具体的可以包括:接收设备根据与发送设备对应的块确认位表域的长度和预设的第一映射关系,确定与发送设备对应的位表长度指示。其中,该第一映射关系用于指示至少一个块确认位表域的长度对应的位 表长度指示。
进一步的,在本发明实施例中,在第三种可能的实现方式中,针对普通BA帧的基本BA变体,即使用分片的应用场景,在采用Fragment Number子域(全部的4bits)承载位表长度指示的情况下,由于PPDU最多聚合的MPDU的个数为64,并且一个MDPU最多允许分为16个分片,因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与发送设备对应的块确认位表域的长度,具体的可以包括:
接收设备根据正确接收的发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数。
其中,确定需反馈是否被正确接收的MPDU的个数具体的可以是,首先,计算正确接收的发送设备发送的MPDU中的最大序列号与最小序列号的差值,然后将差值代入公式三:
Figure PCTCN2016081289-appb-000005
计算得到的结果即为需反馈是否被正确接收的MPDU的个数。例如,正确接收的发送设备发送的MPDU中的最大序列号与最小序列号的差值为19,则根据公式三计算出的需反馈是否被正确接收的MPDU的个数为24。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数。
其中,若接收设备确定所有正确接收的发送设备发送的MPDU中,存在至少一个MPDU的被正确接收的最大分片编号大于或等于8,则确定反馈MPDU是否被正确接收所需的字节数为2字节(16bits)。其中,分片编号的取值范围为0~15。若接收设备确定所有正确接收的发送设备发送的MPDU中,所有MPDU的被正确接收的最大分片编号均小于8,则确定反馈MPDU是否被正确接收所需的字节数为1字节(8bits)。例如,某个MPDU包含12个分片,但接收设备仅正确接收到其中5个。若被正确接收的分片为编号分别为1、2、4、5、6的分片,此时,最大分片编号为6,小于8,那么此时,确定的反馈MPDU是否被正确接收所需的字节数为1字节;若被正确接收的分片为编号分别为1、3、5、8、11的分片,此时,最大分片编号为11,大于8,那么此时,确定的反馈MPDU是否被正确接收所需的字节数为2字节。
接收设备根据需反馈是否被正确接收的MPDU的个数和反馈 MPDU是否被正确接收所需的字节数,确定与发送设备对应的块确认位表域的长度。
其中,将需反馈是否被正确接收的MPDU的个数和反馈一个MPDU是否被正确接收所需的字节数代入公式四:A×B(A表示需反馈是否被正确接收的MPDU的个数,A根据公式三计算得到;B表示反馈一个MPDU是否被正确接收所需的字节数),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。例如,需反馈是否被正确接收的MPDU的个数A=24,反馈一个MPDU是否被正确接收所需的字节数B=2,则根据公式四计算出的块确认位表域的长度为48字节。
进一步的,在本发明实施例中,当采用上述第三种实现方式确定块确认位表域的长度时,所述的确定与发送设备对应的位表长度指示,具体的可以包括:
接收设备根据需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与发送设备对应的数量指示;其中,数量指示用于指示需反馈是否被正确接收的MPDU的个数,第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号,确定与发送设备对应的标记指示;其中,标记指示用于指示反馈MPDU是否被正确接收所需的字节数。
接收设备将与发送设备对应的数量指示和与发送设备对应的标记指示组合生成与发送设备对应的位表长度指示。
在本发明另一实施例中,步骤102具体可以包括:
针对至少一个发送设备中的每个发送设备,接收设备根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定与发送设备对应的块确认位表域的长度。
然后,与上一实施例类似,根据与发送设备对应的块确认位表域的长度确定与发送设备对应的块确认位表域,并确定与发送设备对应的位表长度指示。
接收设备根据确定出的与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成BA帧。
进一步的,在本发明实施例中,针对与发送设备对应的BA信息包含每TID信息域中设置有确认指示(如,ACK/BA指示)的情况,在步骤102接收设备根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧之前,本发明实施例提供的块确认帧的传输方法还可以包括:针对至少一个发送设备中的每个发送设备,接收设备确定与发送设备对应的BA信息包含的每TID信息域中的确认指示设置为第一值,第一值表示与发送设备对应的BA信息中包含块确认起始序列控制域和块确认位表域。该每TID信息域位于块确认起始序列控制域和块确认位表域之前。
其中,所述的确认指示可以为ACK/BA指示,对应的第一值可以为预设的0或1,表示BA信息中包含块确认起始序列控制域和块确认位表域。例如,协议规定,ACK/BA指示为0表示BA信息中包含块确认起始序列控制域和块确认位表域,ACK/BA指示为1表示BA信息中不包含块确认起始序列控制域和块确认位表域,则第一值为0。或者,协议规定,ACK/BA指示为1表示BA信息中包含块确认起始序列控制域和块确认位表域,ACK/BA指示为0表示BA信息中不包含块确认起始序列控制域和块确认位表域,则第一值为1。
进一步的,在现有标准中,块确认起始序列控制域的分片编号子域并未使用,即总是设置为全0,因此,在本发明实施例中,位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域的分片编号(英文:Fragment Number)子域中。
优选的,可以用Fragment Number子域的4bits的其中3bits来承载该与发送设备对应的位表长度指示。
当然,也可以用Fragment Number子域的全部4bits来承载该与发送设备对应的位表长度指示,以表示更小的粒度。
进一步,在本发明实施例中,所述发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,该起始序列号子域的值设置为未正确接收的发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为该最小序列号,且位于该最小序列号之 前的所有序列号对应的MPDU均被正确接收。换句话说,小于该最小序列号的序列号对应的MPDU均被所述接收设备正确接收。
进一步的,在本发明实施例中,示例性的,在第一种可能的实现方式中,针对普通BA帧,即未使用分片的应用场景,在采用Fragment Number子域(全部的4bits的其中3bits)承载位表长度指示的情况下,由于BA帧的长度是以字节为单位的,BA Bitmap域的长度也应该是字节的整数倍。因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定与发送设备对应的块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号u与未正确接收的发送设备发送的MPDU的最小序列号v,然后将它们代入公式一:
Figure PCTCN2016081289-appb-000006
中(其中u为正确接收的发送设备发送的MPDU的最大序列号,v为未正确接收的发送设备发送的MPDU的最小序列号,
Figure PCTCN2016081289-appb-000007
表示向上取整,||表示绝对值),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。与此同时,还应将块确认起始序列控制域中的起始序列号子域设置为未正确接收的发送设备发送的MPDU的最小序列号v,表示块确认位表域中第一比特对应的序列号为该值,且位于此序列号之前所有序列号对应的MPDU均被正确接收。例如,发送设备发送的MPDU的序列号范围为10~50,如果接收设备正确接收除序列号32对应的MPDU之外的所有MPDU,则u=50,v=32,
Figure PCTCN2016081289-appb-000008
即块确认位表域的长度为3字节,且此时对应的起始序列号设置为32,表示小于32的序列号对应的MPDU都被正确接收;如果接收设备正确接收除序列号10对应的MPDU之外的所有MPDU,则u=50,v=10,
Figure PCTCN2016081289-appb-000009
即块确认位表域的长度为6字节,且此时对应的起始序列号设置为10,表示小于10的序列号对应的MPDU都被正确接收;如果接收设备正确接收除序列号45~50对应的MPDU之外的所有MPDU,则u=44,v=45,
Figure PCTCN2016081289-appb-000010
即块确认位表域的长度为1字节,且此时对应的起始序列号设置为45,表示小于45的序列号对应的MPDU都被正确接收,这种情况下,块确认位表域的所有比特均为0;如果接收设备正确接收除序列号47对应的MPDU之外的所有MPDU,则u=50,v=47,
Figure PCTCN2016081289-appb-000011
即块确 认位表域的长度为1字节,且此时对应的起始序列号设置为47,表示小于47的序列号对应的MPDU都被正确接收,这种情况下,块确认位表域的个比特取值为01110000。
进一步的,在本发明实施例中,在第四种可能的实现方式中,针对普通BA帧的基本BA变体,即使用分片的应用场景,
示例性的,在第二种可能的实现方式中,针对普通BA帧的基本BA变体(英文:Basic Block Ack variant),即使用分片的应用场景,在采用Fragment Number子域(全部的4bits)承载位表长度指示的情况下,由于PPDU最多聚合的MPDU的个数为64,并且一个MPDU最多允许分为16个分片,因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定与发送设备对应的块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号u与未正确接收的发送设备发送的MPDU的最小序列号v,然后将它们代入公式二:
Figure PCTCN2016081289-appb-000012
中(其中u为正确接收的发送设备发送的MPDU的最大序列号,v为未正确接收的发送设备发送的MPDU的最小序列号,
Figure PCTCN2016081289-appb-000013
表示向上取整,||表示绝对值),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。与此同时,还应将块确认起始序列控制域中的起始序列号子域设置为未正确接收的发送设备发送的MPDU的最小序列号v,表示块确认位表域中第一比特对应的序列号为该值,且位于此序列号之前所有序列号对应的MPDU被正确接收。例如,发送设备发送的MPDU的序列号范围为10~50,如果接接收设备正确接收除序列号32对应的MPDU之外的所有MPDU,则u=50,v=32,
Figure PCTCN2016081289-appb-000014
即块确认位表域的长度为40字节,且此时对应的起始序列号设置为32,表示小于32的序列号对应的MPDU的所有分片都被正确接收;如果接收设备正确接收除序列号10对应的MPDU之外的所有MPDU,则u=50,v=10,
Figure PCTCN2016081289-appb-000015
即块确认位表域的长度为88字节,且此时对应的起始序列号设置为10,表示小于10的序列号对应的MPDU的所有分片都被正确接收;如果接收设备正确接收除序列号45~50对应的MPDU之外的所有MPDU,则u=44,v=45,
Figure PCTCN2016081289-appb-000016
即块确认 位表域的长度为8字节,且此时对应的起始序列号设置为45,表示小于45的序列号对应的MPDU的所有分片都被正确接收;如果接收设备正确接收除序列号47对应的MPDU之外的所有MPDU,则u=50,v=47,
Figure PCTCN2016081289-appb-000017
即块确认位表域的长度为8字节,且此时对应的起始序列号设置为47,表示小于47的序列号对应的MPDU的所有分片都被正确接收,这种情况下,块确认位表域的个比特取值为01110000。
需要说明的是,在使用分片的场景中,接收设备接收到一个MPDU的多个分片。所谓“正确接收的发送设备发送的MPDU”是指该MPDU对应的所有分配均被正确接收的MPDU,所谓“未正确接收的发送设备发送的MPDU”,是指至少有一个分片未被正确接收的MPDU。同理,一个MPDU被接收错误,即该MPDU包含的分片至少有一个接收错误;一个MPDU被正确接收,即该MPDU包含的所有分片均被正确接收。
进一步的,在本发明实施例中,当采用上述第一种或第二种实现方式确定块确认位表域的长度时,所述的确定与发送设备对应的位表长度指示,具体的可以包括:接收设备根据与发送设备对应的块确认位表域的长度和预设的第一映射关系,确定与发送设备对应的位表长度指示。其中,该第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
进一步的,在本发明实施例中,在第三种可能的实现方式中,针对普通BA帧的基本BA变体,即使用分片的应用场景,在采用Fragment Number子域(全部的4bits)承载位表长度指示的情况下,由于PPDU最多聚合的MPDU的个数为64,并且一个MDPU最多允许分为16个分片,因此,所述的根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定与发送设备对应的块确认位表域的长度,具体的可以包括:
接收设备根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数。
其中,确定需反馈是否被正确接收的MPDU的个数具体的可以是,首先,计算正确接收的发送设备发送的MPDU的最大序列号u与未正确接收的发送设备发送的MPDU的最小序列号v,然后将差值代入公式三: A=|u-v|+1中(其中u为正确接收的发送设备发送的MPDU的最大序列号,v为未正确接收的发送设备发送的MPDU的最小序列号,
Figure PCTCN2016081289-appb-000018
表示向上取整,||表示绝对值),计算得到的结果即为需反馈是否被正确接收的MPDU的个数。例如,发送设备发送的MPDU的序列号范围为10~50,如果接接收设备正确接收除序列号32对应的MPDU之外的所有MPDU,则u=50,v=32,A=|u-v|+1=19,即需反馈的MPDU个数为19个;如果接收设备正确接收除序列号10对应的MPDU之外的所有MPDU,则u=50,v=10,A=|u-v|+1=41,即需反馈的MPDU个数为41个;如果接收设备正确接收除序列号45~50对应的MPDU之外的所有MPDU,则u=44,v=45,A=|u-v|+1=2,即需反馈的MPDU个数为2个;如果接收设备正确接收除序列号47对应的MPDU之外的所有MPDU,则u=50,v=47,|u-v|+1=4,即需反馈的MPDU个数为4个。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数。
其中,若接收设备确定所有正确接收的发送设备发送的MPDU中,存在至少一个MPDU的被正确接收的最大分片编号大于或等于8,则确定反馈MPDU是否被正确接收所需的字节数为2字节(16bits)。其中,分片编号的取值范围为0~15。若接收设备确定所有正确接收的发送设备发送的MPDU中,所有MPDU的被正确接收的最大分片编号均小于8,则确定反馈MPDU是否被正确接收所需的字节数为1字节(8bits)。例如,某个MPDU包含12个分片,但接收设备仅正确接收到其中5个。若被正确接收的分片为编号分别为1、2、4、5、6的分片,此时,最大分片编号为6,小于8,那么此时,确定的反馈MPDU是否被正确接收所需的字节数为1字节;若被正确接收的分片为编号分别为1、3、5、8、11的分片,此时,最大分片编号为11,大于8,那么此时,确定的反馈MPDU是否被正确接收所需的字节数为2字节。
接收设备根据需反馈是否被正确接收的MPDU的个数和反馈MPDU是否被正确接收所需的字节数,确定与发送设备对应的块确认位表域的长度。
其中,将需反馈是否被正确接收的MPDU的个数和反馈一个MPDU是否被正确接收所需的字节数代入公式四:A×B(A表示需反馈是否被 正确接收的MPDU的个数,A根据公式三计算得到;B表示反馈一个MPDU是否被正确接收所需的字节数),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。与此同时,还应将块确认起始序列控制域中的起始序列号子域设置为未正确接收的发送设备发送的MPDU的最小序列号v,表示块确认位表域中第一比特对应的序列号为该值,且位于此序列号之前所有序列号对应的MPDU被正确接收。例如,需反馈是否被正确接收的MPDU的个数A=24,反馈一个MPDU是否被正确接收所需的字节数B=2,则根据公式四计算出的块确认位表域的长度为48字节。再例如,发送设备发送的MPDU的序列号范围为10~50,如果接接收设备正确接收除序列号32对应的MPDU之外的所有MPDU,则u=50,v=32,A=|u-v|+1=19,B=2,则根据公式四计算出的块确认位表域的长度为38字节,同时,还应将对应的起始序列号设置为v=32,表示小于32的序列号对应的MPDU的所有分片都被正确接收。
需要说明的是,在使用分片的场景中,接收设备接收到一个MPDU的多个分片。所谓“正确接收的发送设备发送的MPDU”是指该MPDU对应的所有分配均被正确接收的MPDU,所谓“未正确接收的发送设备发送的MPDU”,是指至少有一个分片未被正确接收的MPDU。同理,一个MPDU被接收错误,即该MPDU包含的分片至少有一个接收错误;一个MPDU被正确接收,即该MPDU包含的所有分片均被正确接收。
进一步的,在本发明实施例中,当采用上述第三种实现方式确定块确认位表域的长度时,所述的确定与发送设备对应的位表长度指示,具体的可以包括:
接收设备根据需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与发送设备对应的数量指示;其中,数量指示用于指示需反馈是否被正确接收的MPDU的个数,第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号,确定与发送设备对应的标记指示;其中,标记指示用于指示反馈MPDU是否被正确接收所需的字节数。
接收设备将与发送设备对应的数量指示和与发送设备对应的标记指 示组合生成与发送设备对应的位表长度指示。
上述两个实施例给出了两种确定与发送设备对应的块确认位表域的长度的方法:
方法一、接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与发送设备对应的块确认位表域的长度;
方法二、接收设备根据正确接收的发送设备发送的MPDU的最大序列号与未正确接收的发送设备发送的MPDU的最小序列号的差值,确定与发送设备对应的块确认位表域的长度。
某些情况下,接收设备使用方法一确定的块确认位表域的长度更小;而另一些情况下,接收设备使用方法二确定的块确认位表域的长度更小。例如,发送端发送的A-MPDU包含序列号为1~64的共64个MPDU,若其中序列号为1~32的MPDU接收错误,其他MPDU均接收正确,则使用方法一确定的块确认位表域的长度为32bits,而使用方法二确定的块确认位表域的长度为64bits,显然方法一开销更小;若其中序列号为33~40的MPDU接收错误,其他MPDU均接收正确,则使用方法一确定的块确认位表域的长度为64bits,而使用方法二确定的块确认位表域的长度为32bits,即方法二开销更小。
因此,接收端可根据接收情况确定采用哪种方法。具体地,接收设备在BA帧中引入第一指示信息,用于指示BA帧中块确认位表域长度的确定所使用的方法。例如,第一指示信息为0,表示块确认位表域长度的确定使用方法一;第一指示信息为1,表示块确认位表域长度的确定使用方法二。当然,第一指示信息的具体含义,还可等效地解释为指示起始序列号子域的含义。例如,第一指示信息为0,表示起始序列号子域承载的是接收设备正确接收MPDU的最小序列号;第一指示信息为1,表示起始序列号子域承载的是接收设备未正确接收MPDU的最小序列号。
具体地,第一指示信息可位于BA帧中的BA控制域中,表示当前BA帧中所有BA Info中均采用该第一指示信息所指示的方法。
可选地,第一指示信息还可位于BA帧中每个BA Info中,用于指示当前BA Info所采用的块确认位表域长度的确定方法。具体地,第一 指示信息可位于BA Info包含的块确认起始序列控制域的Fragment Number子域中。
本发明另一实施例提供一种块确认帧的传输方法,如图3所示,该方法可以包括:
201、发送设备向接收设备发送至少一个PPDU。
其中,发送设备发送的PPDU中包含至少一个MPDU。
202、发送设备接收接收设备发送的BA帧。
其中,BA帧中包含有与发送设备对应的BA信息,该BA信息包含块确认位表域和位表长度指示;该位表长度指示用于指示块确认位表域的长度,且位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。
需要说明的是,本发明实施例提供的块确认帧的传输方法,不仅适用于接收设备针对接收到的至少一个发送设备发送的采用A-MPDU结构的PPDU的确认回复,还适用于针对发送设备连续地向接收设备发送多个PPDU(其中,每个PPDU中一般包含一个MPDU,发送设备可以间隔固定时间向接收设备发送相邻的PPDU,如该固定时间为SIFS),并向接收设备发送BAR,要求接收设备进行确认回复的情况,在该情况下,BA帧是针对多个PPDU的确认回复。
本发明提供的块确认帧的传输方法,发送设备向接收设备发送至少一个包含至少一个MPDU的PPDU,并接收接收设备发送的BA帧,且该BA帧中包含与发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与该发送设备对应的BA信息包含的块确认起始序列控制域中。接收设备通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
进一步的,在本发明实施例中,块确认位表域的长度是接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
进一步的,在现有标准中,块确认起始序列控制域的分片编号子域并未使用,即总是设置为全0,因此,在本发明实施例中,位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
优选的,可以用Fragment Number子域的4bits的其中3bits来承载该与发送设备对应的位表长度指示。
当然,也可以用Fragment Number子域的全部4bits来承载该与发送设备对应的位表长度指示,以表示更小的粒度。
进一步的,在本发明实施例中,在步骤202发送设备接收接收设备发送的BA帧之后,本发明实施例提供的块确认帧的传输方法还可以包括:发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度。
进一步的,在本发明实施例中,当接收设备采用上述实施例中的第一种或第二种实现方式确定块确认位表域的长度时,发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度,具体的可以包括:发送设备根据位表长度指示和预设的第一映射关系,确定与发送设备对应的BA信息包含的块确认位表域的长度;其中,第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
进一步的,当接收设备采用上述实施例中的第三种实现方式确定块确认位表域的长度时,在本发明实施例中,发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度,具体的可以包括:
发送设备根据位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,数量指示用于指示接收设备需反馈是否被正确接收的MPDU的个数,第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数。
发送设备根据位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,标记指示用于指示接收设备反馈MPDU是否被正确接收所需的字节数。
发送设备根据反馈的是否被正确接收的MPDU的个数和反馈 MPDU是否被正确接收所需的字节数,确定与发送设备对应的BA信息包含的块确认位表域的长度。
本发明另一实施例提供一种块确认帧的传输方法,如图4所示,该方法可以包括:
301、至少一个发送设备向接收设备发送至少一个PPDU。
其中,每个发送设备发送的PPDU中可以包含至少一个MPDU。
302、接收设备接收至少一个发送设备发送的至少一个PPDU。
其中,根据标准规定,在接收设备接收至少一个发送设备发送的至少一个PPDU之后,需向发送设备回复确认信息,即接收设备需根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成BA帧。在本发明实施例中,首先,接收设备需根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况确定生成BA帧所需的信息,然后根据确定的生成BA帧所需的信息生成BA帧,其中,针对至少一个发送设备中的每个发送设备,确定生成BA帧所需的信息具体的可以包括以下步骤303-步骤306,根据确定的生成BA帧所需的信息生成BA帧具体的包括以下步骤307。
303、接收设备确定与发送设备对应的BA信息包含的每TID信息域中的确认指示设置为第一值。
其中,第一值表示与发送设备对应的BA信息中包含块确认起始序列控制域和块确认位表域。
示例性的,所述的确认指示可以为ACK/BA指示,对应的第一值可以为BA。由于在现有技术中,当接收设备确定发送设备发送的至少一个MPDU中存在未正确接收的MPDU时,需将与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA,且此时与发送设备对应的BA信息中包含每TID信息域,Block Ack Starting Sequence Control域和BA Bitmap域。具体的是,当发送设备发送的PPDU中仅包含一个MPDU时,若接收设备确定该MPDU未被正确接收,则将与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA;当发送设备发送的PPDU中包含至少两个MPDU时,若接收设备确定至少两个MPDU中存在至少一个MPDU未被正确接收,则将与发 送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA。而当接收设备确定发送设备发送的至少一个MPDU中不存在未被正确接收的MPDU时,需将与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为ACK,且此时与发送设备对应的BA信息中仅包含每TID信息域,而不包含Block Ack Starting Sequence Control域和BA Bitmap域。因此,在接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值确定与发送设备对应的块确认位表域的长度之前,可以先确定与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示是否设置为BA,并在确定与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA,再执行根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值确定与发送设备对应的块确认位表域的长度的操作。
304、接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与发送设备对应的块确认位表域的长度。
其中,本发明实施例中所述的块确认位表域的长度可以采用位表长度指示来指示,该位表长度指示可以承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域的分片编号(英文:Fragment Number)子域,该分片编号子域的长度为4bits。
示例性的,在第一种可能的实现方式中,针对普通BA帧,即未使用分片的应用场景,可以采用Fragment Number子域(全部的4bits的其中3bits)承载位表长度指示,由于BA帧的长度是以字节为单位的,BA Bitmap域的长度也应该是字节的整数倍。因此,接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,然后将该差值代入公式一:
Figure PCTCN2016081289-appb-000019
中(其中x为差值,
Figure PCTCN2016081289-appb-000020
表示向上取整),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。
在第二种可能的实现方式中,针对普通BA帧的基本BA变体,该BA帧的BA Bitmap域的长度最多为128字节,原因在于,该基本BA变体适用于使用分片的场景,且每个MPDU最多允许的分为16个分片, 这样在每个MPDU在BA Bitmap域中便需16个比特来反馈是否被正确接收,且PPDU最多允许聚合64个MPDU,因此,BA Bitmap域的长度最多为128字节,此时,可以采用Fragment Number子域(全部的4bits)承载位表长度指示,在这种场景下,接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定块确认位表域的长度的具体过程可以是:先确定正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,然后将该差值代入公式二:
Figure PCTCN2016081289-appb-000021
中(其中x为差值,
Figure PCTCN2016081289-appb-000022
表示向上取整),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。
在第三种可能的实现方式中,针对普通BA帧的基本BA变体,可以采用Fragment Number子域(全部的4bits)承载位表长度指示,在这种场景下,接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值,确定块确认位表域的长度的具体过程可以是:
接收设备根据正确接收的发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数。
首先,接收设备计算正确接收的发送设备发送的MPDU中的最大序列号与最小序列号的差值,然后将差值代入公式三:
Figure PCTCN2016081289-appb-000023
计算得到的结果即为需反馈是否被正确接收的MPDU的个数。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数。
其中,若接收设备确定所有正确接收的发送设备发送的MPDU中,存在至少一个MPDU的被正确接收的最大分片编号大于或等于8,则确定反馈MPDU是否被正确接收所需的字节数为2字节(16bits)。若接收设备确定所有正确接收的发送设备发送的MPDU中,所有MPDU的被正确接收的最大分片编号均小于8,则确定反馈MPDU是否被正确接收所需的字节数为1字节(8bits)。
接收设备根据需反馈是否被正确接收的MPDU的个数和反馈MPDU是否被正确接收所需的字节数,确定与发送设备对应的块确认位表域的长度。
其中,将需反馈是否被正确接收的MPDU的个数和反馈一个MPDU 是否被正确接收所需的字节数代入公式四:A×B(A表示需反馈是否被正确接收的MPDU的个数,根据公式三计算得到;B表示反馈一个MPDU是否被正确接收所需的字节数),计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。
305、接收设备根据与发送设备对应的块确认位表域的长度确定与发送设备对应的块确认位表域。
其中,在接收设备根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值确定出与发送设备对应的块确认位表域的长度之后,接收设备可以根据确定出的与发送设备对应的块确认位表域的长度和对该发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况,确定与发送设备对应的块确认位表域。
示例性的,针对普通BA帧,即未使用分片的应用场景,假设发送设备发送的PPDU中包含15个MPDU,并且,该15个MPDU中正确接收的MPDU的序列号分别为:4、7、8、9、12,由于15个MPDU中存在未正确接收的MPDU,因此与该发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA,此时,接收设备在确定与发送设备对应的BA信息包含的每TID信息域中的ACK/BA指示设置为BA,并根据正确接收的发送设备发送的MPDU的最大序列号与最小序列号的差值和步骤304中的公式一:
Figure PCTCN2016081289-appb-000024
确定出与发送设备对应的块确认位表域的长度为2字节之后,根据15个MPDU的接收情况和确定出的与发送设备对应的块确认位表域的长度,确定的与该发送设备对应的块确认位表域为0001001110010000。其中,块确认位表域中1表示对应序列号的MPDU被正确接收,0表示对应序列号的MPDU未被正确接收,且需在Block Ack Starting Sequence Control域中指示起始序列号为0。
306、接收设备确定与发送设备对应的位表长度指示。
其中,在第一种可能的实现方式中,当采用步骤304中的第一种或第二种实现方式确定块确认位表域的长度时,接收设备确定与发送设备对应的位表长度指示具体的可以是:接收设备根据与发送设备对应的块确认位表域的长度和预设的第一映射关系,确定与发送设备对应的位表 长度指示。
其中,第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
示例性的,针对普通BA帧,即未使用分片的应用场景,如图5所示,以采用块确认起始序列控制域的分片编号子域的3bits(假设采用块确认起始序列控制域的分片编号子域的B0-B2)承载该位表长度指示为例(当然,也可采用分片编号子域的全部4bits来承载该位表长度指示,但是考虑到MAC帧的长度是以字节为单位的,因此采用小于1字节的粒度单位没有必要,也就是说,优选的,采用确认起始序列控制域的分片编号子域的3bits承载该位表长度指示),不同块确认位表域的长度与位表长度指示的对应关系可以如表1所示。
表1
确认位表域的长度(单位:字节) 位表长度指示 二进制
1 0 000
2 1 001
3 2 010
4 3 011
5 4 100
6 5 101
7 6 110
8 7 111
例如,发送设备发送的PPDU中包含20个MPDU,并且,该20个MPDU中正确接收的MPDU的序列号分别为:3、5、8、10、12、15,此时,接收设备先可以确定出正确接收的该发送设备发送的MPDU中的最大序列号15和最小序列号3的差值12,然后根据差值12和本发明实施例中步骤304中的公式一:
Figure PCTCN2016081289-appb-000025
中(其中x为差值,
Figure PCTCN2016081289-appb-000026
表示向上取整)确定与该发送设备对应的块确认位表域的长度为2字节,此时便可以根据与发送设备对应的块确认位表域的长度2字节和表1所示的第一映射关系,确定与发送设备对应的位表长度指示为1,其对应的二进制为001。
示例性的,针对普通BA帧的基本BA变体,即使用分片的应用场景,可以采用分片编号子域全部4bits来表示位表长度指示,此时,不同块确认位表域的长度与位表长度指示的对应关系可以如表2所示。
表2
Figure PCTCN2016081289-appb-000027
例如,发送设备发送的PPDU中包含25个MPDU,并且,该25个MPDU中正确接收的MPDU的序列号分别为:5、8、10、12、15、18、22,此时,接收设备先可以确定出正确接收的该发送设备发送的MPDU中的最大序列号22和最小序列号5的差值17,然后根据差值17和本发明实施例中步骤304中的公式二:
Figure PCTCN2016081289-appb-000028
中确定与该发送设备对应的块确认位表域的长度为40字节,此时便可以根据与发送设备对应的块确认位表域的长度40字节和表2所示的第一映射关系,确定与发送设备对应的位表长度指示为4,其对应的二进制为0100。
在第二种可能的实现方式中,当采用步骤304中的第三种实现方式确定块确认位表域的长度时,接收设备确定与发送设备对应的位表长度指示具体的可以是:
接收设备根据需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与发送设备对应的数量指示。
其中,数量指示用于指示需反馈是否被正确接收的MPDU的个数,第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示。
示例性的,以采用块确认起始序列控制域的分片编号子域的3bits承载该数量指示为例,第二映射关系可以如表3所示。
表3
需反馈是否被正确接收的MPDU的个数 数量指示 二进制
8 0 000
16 1 001
24 2 010
32 3 011
40 4 100
48 5 101
56 6 110
64 7 111
例如,确定出的需反馈是否被正确接收的MPDU的个数为24,那么根据如表3所示的第二映射关系可以确定数量指示为2,对应的二进制为010。
接收设备根据正确接收的发送设备发送的MPDU的最大分片编号,确定与发送设备对应的标记指示。
其中,标记指示用于指示反馈MPDU是否被正确接收所需的字节数。
具体的,若接收设备确定所有正确接收的发送设备发送的MPDU中,存在至少一个MPDU的被正确接收的最大分片编号大于或等于8,则确定反馈MPDU是否被正确接收所需的字节数为2字节(16bits), 也就是说,当接收设备确定所有正确接收的发送设备发送的MPDU中存在至少一个MPDU的被正确接收的最大分片编号大于或等于8时,则将用于指示反馈MPDU是否被正确接收所需的字节数为2字节的标记指示确定为与该发送设备对应的标记指示。若接收设备确定所有正确接收的发送设备发送的MPDU中,所有MPDU的被正确接收的最大分片编号均小于8,则确定反馈MPDU是否被正确接收所需的字节数为1字节(8bits),也就是说,当接收设备确定所有正确接收的发送设备发送的MPDU中所有MPDU的被正确接收的最大分片编号均小于8时,则将用于指示反馈MPDU是否被正确接收所需的字节数为1字节的标记指示确定为与该发送设备对应的标记指示。
示例性的,以采用块确认起始序列控制域的分片编号子域的1bit承载该标记指示为例,假设该1bit为“1”时,表示反馈MPDU是否被正确接收所需的字节数为1,该1bit为“0”时,表示反馈MPDU是否被正确接收所需的字节数为2,那么,当接收设备确定所有正确接收的发送设备发送的MPDU中存在至少一个MPDU的被正确接收的最大分片编号大于或等于8时,则将“0”确定为与该发送设备对应的标记指示,当接收设备确定所有正确接收的发送设备发送的MPDU中所有MPDU的被正确接收的最大分片编号均小于8时,则将“1”确定为与该发送设备对应的标记指示。
接收设备将与发送设备对应的数量指示和与发送设备对应的标记指示组合生成与发送设备对应的位表长度指示。
示例性的,如图6所示,假设采用分片编号子域的前3个比特(如,B0-B2)承载数量指示,第4个比特(如,B3)承载标记指示,且确定的数量指示为010,标记指示为“1”,那么生成的位表长度指示为0101。
当然,接收设备可以针对至少一个发送设备中的每个发送设备,均执行以上步骤303-步骤306,以得到与至少一个发送设备中的每个发送设备对应的位表长度指示和块确认位表域,并在得到与至少一个发送设备中的每个发送设备对应的位表长度指示和块确认位表域之后,执行以下步骤307。
307、接收设备根据与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成BA帧。
其中,与发送设备对应的位表长度指示包含于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。优选的,与发送设备对应的位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
308、接收设备向至少一个发送设备中的每个发送设备发送BA帧。
在步骤308中接收设备向至少一个发送设备中的每个发送设备发送BA帧之后,针对至少一个发送设备中的每个发送设备,可以执行以下步骤309和步骤310。
309、发送设备接收接收设备发送的BA帧。
310、发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度。
其中,当接收设备采用本发明实施例中步骤304中所述的第一种或第二种实现方式确定块确认位表域的长度时,发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度,包括:发送设备根据位表长度指示和预设的第一映射关系,确定与发送设备对应的BA信息包含的块确认位表域的长度。其中,第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
需要说明的是,该第一映射关系可以如本发明实施例中步骤306中所述的表1和表2所示,本发明在此不再详细赘述。
其中,当接收设备采用本发明实施例中步骤304中所述的第三种实现方式确定块确认位表域的长度时,发送设备根据位表长度指示确定与发送设备对应的BA信息包含的块确认位表域的长度,包括:
发送设备根据位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数。其中,数量指示用于指示接收设备需反馈是否被正确接收的MPDU的个数,第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数。
示例性的,当接收设备采用分片编号子域承载包括数量指示和标记指示的位表长度指示,具体的采用分片编号子域的前3个比特承载数量指示,第4个比特承载标记指示时,发送设备可以根据位表长度指示的前三个比特和预设的第二映射关系,便可以确定出反馈的是否被正确接收的MPDU的个数。
需要说明的是,该第二映射关系可以如本发明实施例中步骤306中所述的表3所示,本发明在此不再详细赘述。
发送设备根据位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,标记指示用于指示接收设备反馈MPDU是否被正确接收所需的字节数。
示例性的,当接收设备采用分片编号子域承载包括数量指示和标记指示的位表长度指示,具体的采用分片编号子域的前3个比特承载数量指示,第4个比特承载标记指示时,发送设备可以根据位表长度指示的第4个比特,便可以确定出反馈MPDU是否被正确接收所需的字节数。例如,标记指示为“1”,则确定出的反馈MPDU是否被正确接收所需的字节数为1字节,标记指示为“0”,则确定出的反馈MPDU是否被正确接收所需的字节数为2字节。
发送设备根据反馈的是否被正确接收的MPDU的个数和反馈MPDU是否被正确接收所需的字节数,确定与发送设备对应的BA信息包含的块确认位表域的长度。
其中,发送设备在确定出反馈的是否被正确接收的MPDU的个数和反馈MPDU是否被正确接收所需的字节数之后,便可以反馈的是否被正确接收的MPDU的个数和反馈MPDU是否被正确接收所需的字节数相乘,计算得到的结果即为块确认位表域的长度(其中,确定的块确认位表域的长度的单位为字节)。
进一步的,在发送设备确定出与发送设备对应的BA信息包含的块确认位表域的长度之后,可以根据块确认位表域的长度对该BA信息进行解析,以获得需重传的MPDU的信息,进而对接收设备未成功接收的所有MPDU进行重传。
本发明提供的块确认帧的传输方法,接收设备接收至少一个发送设备发送的至少一个PPDU,并根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成认BA帧,并向至少一个发送设备中的每个发送设备发送该BA帧,且该BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与发送设备对应的BA信息包 含的块确认起始序列控制域中。通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
本发明另一实施例提供一种接收设备,如图7所示,该接收设备可以包括:接收单元41、生成单元42、发送单元43。
接收单元41,用于接收至少一个发送设备发送的至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU。
生成单元42,用于根据对所述接收单元41接收的所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧。
发送单元43,用于向所述至少一个发送设备中的每个发送设备发送所述生成单元42生成的所述BA帧。
其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
在本发明实施例中,进一步的,如图8所示,所述生成单元42可以包括:确定模块421、生成模块422。
确定模块421,用于针对所述至少一个发送设备中的每个发送设备,根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示。
生成模块422,用于根据所述确定模块421确定出的与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
在本发明实施例中,进一步的,所述接收设备还可以包括:确定单元44。
确定单元44,用于在所述生成单元42根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
在本发明实施例中,进一步的,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
在本发明实施例中,进一步的,所述确定模块421,具体用于根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
在本发明实施例中,进一步的,所述确定模块421,具体用于根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;根据正确接收的所述发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数;根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
在本发明实施例中,进一步的,所述确定模块421,具体用于根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
需要说明的是,本发明实施例提供的接收设备中各功能模块的具体工作过程可以参考方法实施例中对应过程的具体描述,本发明实施例在此不再详细赘述。
本发明提供的接收设备,接收至少一个发送设备发送的至少一个PPDU,并根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成认BA帧,并向至少一个发送设备中的每个发送设备发送该BA帧,且该BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
本发明另一实施例提供一种发送设备,如图9所示,该发送设备可以包括:发送单元51、接收单元52。
发送单元51,用于向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU。
接收单元52,用于接收所述接收设备发送的块确认BA帧;其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
在本发明实施例中,进一步的,所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
在本发明实施例中,进一步的,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
在本发明实施例中,进一步的,如图10所示,该发送设备还可以包括:确定单元53。
确定单元53,用于在所述接收单元52接收所述接收设备发送的块确认BA帧之后,根据所述接收单元52接收到的所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
在本发明实施例中,进一步的,所述确定单元53,具体用于根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
在本发明实施例中,进一步的,所述确定单元53,具体用于根据所述位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收设备反馈MPDU是否被正确接收所需的字节数;根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
需要说明的是,本发明实施例提供的发送设备中各功能模块的具体工作过程可以参考方法实施例中对应过程的具体描述,本发明实施例在此不再详细赘述。
本发明提供的发送设备,向接收设备发送至少一个包含至少一个MPDU的PPDU,并接收接收设备发送的BA帧,且该BA帧中包含与发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与该发送设备对应的BA信息包含的块确认起始序列控制域中。接收设备通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
本发明另一实施例提供一种接收设备,如图11所示,该接收设备可以包括:接收器61、处理器62、发送器63。
接收器61,用于接收至少一个发送设备发送的至少一个物理层汇聚 过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU。
处理器62,用于根据对至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧。
其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
发送器63,用于向所述至少一个发送设备中的每个发送设备发送所述BA帧。
在本发明实施例中,进一步的,所述处理器62,具体用于针对所述至少一个发送设备中的每个发送设备,根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示;根据与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
在本发明实施例中,进一步的,所述处理器62,还用于在所述根据对至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
在本发明实施例中,进一步的,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
在本发明实施例中,进一步的,所述处理器62,具体用于根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确 定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
在本发明实施例中,进一步的,所述处理器62,具体用于根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;根据正确接收的所述发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数;根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
在本发明实施例中,进一步的,所述处理器62,具体用于根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
需要说明的是,本发明实施例提供的接收设备中各功能模块的具体工作过程可以参考方法实施例中对应过程的具体描述,本发明实施例在此不再详细赘述。
本发明提供的接收设备,接收至少一个发送设备发送的至少一个PPDU,并根据对至少一个发送设备中的每个发送设备发送的至少一个PPDU中的至少一个MPDU的接收情况生成认BA帧,并向至少一个发送设备中的每个发送设备发送该BA帧,且该BA帧中包含与至少一个发送设备中的每个发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与发送设备对应的BA信息包含的块确认起始序列控制域中。通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
本发明另一实施例提供一种发送设备,如图12所示,该发送设备可以包括:发送器71、接收器72。
发送器71,用于向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU。
接收器72,用于接收所述接收设备发送的块确认BA帧。
其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
在本发明实施例中,进一步的,所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
在本发明实施例中,进一步的,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
在本发明实施例中,进一步的,该发送设备还可以包括:处理器73。
处理器73,用于在所述接收器72接收所述接收设备发送的块确认BA帧之后,根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
在本发明实施例中,进一步的,所述处理器73,具体用于根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
在本发明实施例中,进一步的,所述处理器73,具体用于根据所述位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收设备反馈MPDU是否被正确 接收所需的字节数;根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
需要说明的是,本发明实施例提供的发送设备中各功能模块的具体工作过程可以参考方法实施例中对应过程的具体描述,本发明实施例在此不再详细赘述。
本发明提供的发送设备,向接收设备发送至少一个包含至少一个MPDU的PPDU,并接收接收设备发送的BA帧,且该BA帧中包含与发送设备对应的BA信息,该BA信息包含块确认位表域和用于指示该块确认位表域的长度的位表长度指示,并且该位表长度指示承载于BA帧的与该发送设备对应的BA信息包含的块确认起始序列控制域中。接收设备通过采用位表长度指示来指示块确认位表域的长度,使得生成的BA帧中包括的BA信息的块确认位表域的长度无需使用固定的64比特,从而解决了由于BA Bitmap域冗余导致的资源浪费问题。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (36)

  1. 一种块确认帧的传输方法,其特征在于,包括:
    接收设备接收至少一个发送设备发送的至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
    所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧,并向所述至少一个发送设备中的每个发送设备发送所述BA帧;
    其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
  2. 根据权利要求1所述的方法,其特征在于,所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧,包括:
    针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示;
    所述接收设备根据与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
  3. 根据权利要求2所述的方法,其特征在于,所述确定与所述发送设备对应的块确认位表域的长度具体为:所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
  4. 根据权利要求2所述的方法,其特征在于,所述确定与所述发送设备对应的块确认位表域的长度具体为:所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值,确定与所述发送设备对应的块 确认位表域的长度。
  5. 根据权利要求4所述的方法,其特征在于,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
  6. 根据权利要求1-5任一所述的方法,其特征在于,在所述接收设备根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,所述方法还包括:
    针对所述至少一个发送设备中的每个发送设备,所述接收设备确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,
    所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
  8. 根据权利要求2或3或4或5所述的方法,其特征在于,所述确定与所述发送设备对应的位表长度指示,包括:
    所述接收设备根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
  9. 根据权利要求3所述的方法,其特征在于,所述根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度,包括:
    所述接收设备根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;
    所述接收设备根据正确接收的所述发送设备发送的MPDU的最大 分片编号确定反馈MPDU是否被正确接收所需的字节数;
    所述接收设备根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
  10. 根据权利要求9所述的方法,其特征在于,所述确定与所述发送设备对应的位表长度指示,包括:
    所述接收设备根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;
    所述接收设备根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;
    所述接收设备将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
  11. 一种块确认帧的传输方法,其特征在于,包括:
    发送设备向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
    所述发送设备接收所述接收设备发送的块确认BA帧;其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
  12. 根据权利要求11所述的方法,其特征在于,
    所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
  13. 根据权利要求11所述的方法,其特征在于,
    所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的 MPDU的最小序列号的差值确定的。
  14. 根据权利要求13所述的方法,其特征在于,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
  15. 根据权利要求11或12或13或14所述的方法,其特征在于,
    所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
  16. 根据权利要求11-15中任一项所述的方法,其特征在于,在所述发送设备接收所述接收设备发送的块确认BA帧之后,还包括:
    所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
  17. 根据权利要求16所述的方法,其特征在于,所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度,包括:
    所述发送设备根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
  18. 根据权利要求16所述的方法,其特征在于,所述发送设备根据所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度,包括:
    所述发送设备根据所述位表长度指示的数量指示和预设的第二映射关系,确定反馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;
    所述发送设备根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收 设备反馈MPDU是否被正确接收所需的字节数;
    所述发送设备根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
  19. 一种接收设备,其特征在于,包括:
    接收单元,用于接收至少一个发送设备发送的至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
    生成单元,用于根据对所述接收单元接收的所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧;
    发送单元,用于向所述至少一个发送设备中的每个发送设备发送所述生成单元生成的所述BA帧;
    其中,所述BA帧中包含与所述至少一个发送设备中的每个发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域中。
  20. 根据权利要求19所述的接收设备,其特征在于,所述生成单元,包括:
    确定模块,用于针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的块确认位表域的长度;根据所述与所述发送设备对应的块确认位表域的长度确定与所述发送设备对应的块确认位表域;确定与所述发送设备对应的位表长度指示;
    生成模块,用于根据所述确定模块确定出的与每个发送设备对应的位表长度指示和与每个发送设备对应的块确认位表域,生成所述BA帧。
  21. 根据权利要求20所述的接收设备,其特征在于,所述确定模块用于确定与所述发送设备对应的块确认位表域的长度具体为:所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
  22. 根据权利要求20所述的接收设备,其特征在于,所述确定模 块用于确定与所述发送设备对应的块确认位表域的长度具体为:所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值,确定与所述发送设备对应的块确认位表域的长度。
  23. 根据权利要求22所述的方法,其特征在于,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
  24. 根据权利要求19-23任一所述的接收设备,其特征在于,所述接收设备还包括:
    确定单元,用于在所述生成单元根据对所述至少一个发送设备中的每个发送设备发送的所述至少一个PPDU中的所述至少一个MPDU的接收情况生成块确认BA帧之前,针对所述至少一个发送设备中的每个发送设备,确定与所述发送设备对应的BA信息包含的每流标识TID信息域中的确认指示设置为第一值,所述第一值表示所述与所述发送设备对应的BA信息中包含所述块确认起始序列控制域和所述块确认位表域。
  25. 根据权利要求19-24中任一项所述的接收设备,其特征在于,
    所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
  26. 根据权利要求20或21或22或23所述的接收设备,其特征在于,所述确定模块用于确定与所述发送设备对应的位表长度指示具体为:
    所述确定模块用于根据所述与所述发送设备对应的块确认位表域的长度和预设的第一映射关系,确定所述与所述发送设备对应的位表长度指示;其中,所述第一映射关系用于指示至少一个块确认位表域的长度对应的位表长度指示。
  27. 根据权利要求21所述的接收设备,其特征在于,所述确定模块用于根据正确接收的所述发送设备发送的MPDU的最大序列号与最 小序列号的差值,确定与所述发送设备对应的块确认位表域的长度具体为:
    所述确定模块用于:
    根据正确接收的所述发送设备发送的MPDU中的最大序列号和最小序列号的差值,确定需反馈是否被正确接收的MPDU的个数;
    根据正确接收的所述发送设备发送的MPDU的最大分片编号确定反馈MPDU是否被正确接收所需的字节数;
    根据所述需反馈是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的块确认位表域的长度。
  28. 根据权利要求27所述的接收设备,其特征在于,所述确定模块用于确定与所述发送设备对应的位表长度指示具体为:
    所述确定模块,用于:
    根据所述需反馈是否被正确接收的MPDU的个数和预设的第二映射关系,确定与所述发送设备对应的数量指示;其中,所述数量指示用于指示所述需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个需反馈是否被正确接收的MPDU的个数对应的数量指示;
    根据正确接收的所述发送设备发送的MPDU的最大分片编号,确定与所述发送设备对应的标记指示;其中,所述标记指示用于指示反馈MPDU是否被正确接收所需的字节数;
    将与所述发送设备对应的数量指示和与所述发送设备对应的标记指示组合生成所述与所述发送设备对应的位表长度指示。
  29. 一种发送设备,其特征在于,包括:
    发送单元,用于向接收设备发送至少一个物理层汇聚过程协议数据单元PPDU;其中,所述PPDU中包含至少一个媒体接入控制协议数据单元MPDU;
    接收单元,用于接收所述接收设备发送的块确认BA帧;其中,所述BA帧中包含有与所述发送设备对应的BA信息,所述BA信息包含块确认位表域和位表长度指示;所述位表长度指示用于指示所述块确认位表域的长度,所述位表长度指示承载于所述BA帧的与所述发送设备对 应的BA信息包含的块确认起始序列控制域中。
  30. 根据权利要求29所述的发送设备,其特征在于,
    所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与最小序列号的差值确定的。
  31. 根据权利要求29所述的发送设备,其特征在于,
    所述块确认位表域的长度是所述接收设备根据正确接收的所述发送设备发送的MPDU的最大序列号与未正确接收的所述发送设备发送的MPDU的最小序列号的差值确定的。
  32. 根据权利要求31所述的发送设备,其特征在于,所述与发送设备对应的BA信息包含的块确认起始序列控制域包含起始序列号子域,所述起始序列号子域的值设置为所述未正确接收的所述发送设备发送的MPDU的最小序列号,表示块确认位表域中第一比特对应的序列号为所述最小序列号,且位于所述最小序列号之前的所有序列号对应的MPDU均被正确接收。
  33. 根据权利要求29或30所述的发送设备,其特征在于,
    所述位表长度指示承载于所述BA帧的与所述发送设备对应的BA信息包含的块确认起始序列控制域的分片编号子域中。
  34. 根据权利要求29-33中任一项所述的发送设备,其特征在于,还包括:
    确定单元,用于在所述接收单元接收所述接收设备发送的块确认BA帧之后,根据所述接收单元接收到的所述位表长度指示确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
  35. 根据权利要求34所述的发送设备,其特征在于,所述确定单元,具体用于:
    根据所述位表长度指示和预设的第一映射关系,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度;其中,所述第一映射关系用于指示至少一个位表长度指示对应的块确认位表域的长度。
  36. 根据权利要求34所述的发送设备,其特征在于,所述确定单元,具体用于:
    根据所述位表长度指示的数量指示和预设的第二映射关系,确定反 馈的是否被正确接收的MPDU的个数;其中,所述数量指示用于指示所述接收设备需反馈是否被正确接收的MPDU的个数,所述第二映射关系用于指示至少一个数量指示对应的反馈的是否被正确接收的MPDU的个数;
    根据所述位表长度指示的标记指示,确定反馈MPDU是否被正确接收所需的字节数;其中,所述标记指示用于指示所述接收设备反馈MPDU是否被正确接收所需的字节数;
    根据所述反馈的是否被正确接收的MPDU的个数和所述反馈MPDU是否被正确接收所需的字节数,确定所述与所述发送设备对应的BA信息包含的块确认位表域的长度。
PCT/CN2016/081289 2015-05-12 2016-05-06 一种块确认帧的传输方法及设备 WO2016180280A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/809,481 US10439765B2 (en) 2015-05-12 2017-11-10 Block acknowledgement frame transmission method and device

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201510239949.1 2015-05-12
CN201510239949 2015-05-12
CN201510317627.4 2015-06-10
CN201510317627 2015-06-10
CN201610084149.1A CN106161583B (zh) 2015-05-12 2016-02-06 一种块确认帧的传输方法及设备
CN201610084149.1 2016-02-06

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/809,481 Continuation US10439765B2 (en) 2015-05-12 2017-11-10 Block acknowledgement frame transmission method and device

Publications (1)

Publication Number Publication Date
WO2016180280A1 true WO2016180280A1 (zh) 2016-11-17

Family

ID=57248858

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/081289 WO2016180280A1 (zh) 2015-05-12 2016-05-06 一种块确认帧的传输方法及设备

Country Status (1)

Country Link
WO (1) WO2016180280A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020238314A1 (zh) * 2019-05-27 2020-12-03 华为技术有限公司 用于重传的方法和装置
US11184718B2 (en) 2018-12-19 2021-11-23 Sonion Nederland B.V. Miniature speaker with multiple sound cavities

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101124762A (zh) * 2004-07-30 2008-02-13 诺基亚公司 共享资源网络中用于可变长度的确认的系统和方法
CN103081394A (zh) * 2010-09-03 2013-05-01 高通股份有限公司 聚合mpdu(a-mpdu)数字学和mpdu群组
CN104541568A (zh) * 2012-05-11 2015-04-22 新加坡科技研究局 用于确定与通信参数有关的信息的方法以及通信设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101124762A (zh) * 2004-07-30 2008-02-13 诺基亚公司 共享资源网络中用于可变长度的确认的系统和方法
CN103081394A (zh) * 2010-09-03 2013-05-01 高通股份有限公司 聚合mpdu(a-mpdu)数字学和mpdu群组
CN104541568A (zh) * 2012-05-11 2015-04-22 新加坡科技研究局 用于确定与通信参数有关的信息的方法以及通信设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11184718B2 (en) 2018-12-19 2021-11-23 Sonion Nederland B.V. Miniature speaker with multiple sound cavities
WO2020238314A1 (zh) * 2019-05-27 2020-12-03 华为技术有限公司 用于重传的方法和装置

Similar Documents

Publication Publication Date Title
CN106161583B (zh) 一种块确认帧的传输方法及设备
US11464059B2 (en) Acknowledgment data unit for multiple uplink data units
US11075717B2 (en) Receiving state indication method for A-MPDU and receive end device
CN107078858B (zh) 在无线lan系统中发送和接收多用户块确认帧的方法及其设备
US11082888B2 (en) Single acknowledgment policy for aggregate MPDU
US10469210B2 (en) Acknowledgment data unit for data unit fragment
EP3713122B1 (en) Method for replying with acknowledgement frame, apparatus, and data transmission system
US10313082B2 (en) Method for transmitting and receiving acknowledgment/negative-acknowledgment signal for uplink multi-user data in wireless LAN system and apparatus therefor
EP3567775A1 (en) Method and device for data transmission
US11284301B2 (en) Flow control for wireless devices
US20200145145A1 (en) Acknowledgment data unit for data unit fragment
WO2018228236A1 (zh) 数据传输方法和装置
WO2016180280A1 (zh) 一种块确认帧的传输方法及设备
EP3790213B1 (en) Mac-based hybrid automatic repeat request (harq)
WO2016029683A1 (zh) 一种用于无线局域网络中传输数据的方法和装置
CN107548104B (zh) 数据传输方法、接入点及站点
WO2016176806A1 (zh) 无线帧的传输方法和装置
CN108028836B (zh) 数据发送方法、数据接收确认方法及装置

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: 16792130

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: 16792130

Country of ref document: EP

Kind code of ref document: A1