WO2014187333A1 - 一种数据传输方法和设备 - Google Patents

一种数据传输方法和设备 Download PDF

Info

Publication number
WO2014187333A1
WO2014187333A1 PCT/CN2014/078094 CN2014078094W WO2014187333A1 WO 2014187333 A1 WO2014187333 A1 WO 2014187333A1 CN 2014078094 W CN2014078094 W CN 2014078094W WO 2014187333 A1 WO2014187333 A1 WO 2014187333A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
allocation vector
network allocation
power
basic service
Prior art date
Application number
PCT/CN2014/078094
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
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to EP14801623.1A priority Critical patent/EP2993857B1/en
Publication of WO2014187333A1 publication Critical patent/WO2014187333A1/zh
Priority to US14/947,205 priority patent/US20160081100A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/16Deriving transmission power values from another channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/541Allocation or scheduling criteria for wireless resources based on quality criteria using the level of interference
    • 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/1607Details of the supervisory signal
    • H04L1/1628List acknowledgements, i.e. the acknowledgement message consisting of a list of identifiers, e.g. of sequence numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/12Flow control between communication endpoints using signalling between network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance

Definitions

  • the present invention relates to the field of communications, and in particular, to a data transmission method and device. Background technique
  • BSS Basic Service Set
  • WLAN Wireless Local Area Network
  • a BSS usually includes an AP (Access Point). , access point) and several STAs (Station, site;).
  • the AP and the STA generally transmit data with their respective normal transmit powers.
  • the normal transmit power of the AP is a fixed value, and the normal transmit power of the STA is not a fixed value.
  • the value is sent by the AP communicating with the STA to the STA.
  • the power attenuation is determined. The farther the distance between the AP and the STA that normally communicates with each other, the greater the power attenuation, and the greater the transmit power used by the STA to communicate with the AP.
  • each BSS is determined by the normal transmit power of the APs. Since the normal transmit power of APs in different BSSs is different, the coverage range may be different. In the specific implementation, there may be a case where there may be multiple short-distance BSSs in the coverage of a long-distance BSS, that is, the coverage of the long-distance BSS overlaps with the coverage of the short-distance BSS. In this case, if the device (AP or STA) in the long-distance BSS and the device (AP or STA) in the short-distance BSS transmit data at the same time, it will interfere with the transmission of the other party, causing the transmission to fail, so it is required. Control the transmission of data in devices in long-distance BSS and devices in short-distance BSS to avoid collisions.
  • the method includes: performing physical carrier sensing on a channel in a basic service set, that is, CCA (Clear Channel Assessment), obtaining a channel state; detecting data sent by devices in other basic service sets Frame, in order to perform virtual carrier sensing on the channel, and set the NAV for indicating the transmission time of the MAC frame according to the Duration field in the frame header of the MAC (Medium Access Control) frame in the data frame. (Network Allocation Vector) value; if the channel state is idle and the NAV value is 0, the device competes for the channel and transmits a data frame, otherwise the device does not transmit the data frame.
  • CCA Central Channel Assessment
  • the prior art has at least the following problems: the coverage of the long-distance BSS overlaps with the coverage of the short-distance BSS In the following, since the transmitting power of the device in the short-distance BSS is small, when the device in the long-distance BSS is far away from the device in the short-distance BSS that is transmitting data, the device in the long-distance BSS may not be able to detect the short-distance BSS.
  • the data frame sent by the device in the middle if the device in the long-distance BSS also starts to send the data frame, it will cause interference to the data transmission of the device in the short-distance BSS, resulting in failure of the device data transmission in the short-distance BSS. . If the transmission power of the device in the short-distance BSS is increased, although the interference caused by the data frame transmitted by the device in the long-distance BSS can be avoided, this will simultaneously suppress the devices in the short-distance BSS that do not overlap with the short-distance BSS. Transfer data, which in turn affects the overall throughput of the network. Summary of the invention
  • the embodiment of the present invention provides A data transmission method and device.
  • the technical solution is as follows:
  • the embodiment of the present invention provides a data transmission method, where the method includes: a device in a first basic service set receives a data frame sent by a device in a second basic service set, where the device in the second basic service set sends
  • the data frame includes a preamble sequence and a medium access control frame, where a transmit power of the preamble sequence is a first power, a transmit power of the media access control frame is a second power, and the first power is higher than the first Second power
  • the data frame received by the device in the first basic service set includes the preamble sequence and does not include the media access control frame, setting a network allocation vector value according to a signal domain in the preamble sequence;
  • Data is transmitted according to the network allocation vector value.
  • the setting a network allocation vector value according to the signal domain in the preamble sequence includes:
  • the network allocation vector value is set according to a transmission time of the medium access control frame.
  • the calculating the transmission time of the media access control frame according to the frame length and the transmission rate of the media access control frame includes: Determining, according to the acknowledgement identifier field in the signal domain, a corresponding frame of the media access control frame;
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • T TpsDU+2 X TSIFS+TBAR+BA
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • Tp SDU is the actual transmission time of the medium access control frame
  • T SIFS is the short interframe interval
  • T ACK is the transmission time of the acknowledgement frame
  • T BAR+BA is the transmission time of the block acknowledgement request frame and the block acknowledgement frame.
  • TMAX PSDU is the time to transmit the maximum allowed media access control frame.
  • the network allocation vector value includes a first network allocation vector value, where the according to the preamble sequence
  • the signal domain sets the network allocation vector value, including:
  • the method further includes:
  • the network allocation vector value includes a first network allocation vector value and a second network allocation vector value, where The method also includes:
  • the setting the network allocation vector value according to the signal domain in the preamble sequence comprises: setting the second network allocation vector value according to a signal domain in the preamble sequence.
  • the method further includes: if the media access control frame is resolvable, setting a duration domain according to a frame header of the media access control frame Describe a first network allocation vector value;
  • the transmitting data according to the network allocation vector value includes:
  • the data frame is not sent
  • the first power is equal to a sum of the second power and a predetermined value, and the predetermined value is greater than zero.
  • the sending the preamble sequence by the first power further includes:
  • the transmitting data according to the network allocation vector value further includes: if the first network allocation vector value is 0, the second network allocation vector value is greater than 0, and the second network allocation vector And the time when the value is reduced to 0 is greater than or equal to the time when the device in the first basic service set transmits data, and the data frame is sent by the second power;
  • the second network allocation vector value is greater than 0, and the second network allocation vector value is reduced to 0, the time is less than the time when the device in the first basic service set transmits data. After the second network allocation vector value is reduced to 0, the preamble sequence is sent by the first power, and the media access control frame is sent by the second power.
  • the method before the transmitting data according to the network allocation vector value, the method further includes:
  • determining whether the long-distance basic service set exists around the device in the first basic service set includes:
  • the method further includes:
  • Transmitting data according to the network allocation vector value including:
  • Data is transmitted according to the channel state and the network allocation vector value.
  • the method further includes:
  • the determining whether the device in the first basic service set is the device in the long-distance basic service set or the device in the short-distance basic service set includes:
  • the device in the first basic service set is a device in a short-distance basic service set, where the short-distance basic service is concentrated
  • the device acquires the foregoing threshold from a beacon frame broadcast by an access point in the long-distance basic service set.
  • an embodiment of the present invention provides a data transmission device, where the device includes: a receiving module, configured to receive a data frame sent by a device in a second basic service set, where the device in the second basic service set sends
  • the data frame includes a preamble sequence and a medium access control frame, where a transmit power of the preamble sequence is a first power, and a transmit power of the media access control frame is a first Two powers, the first power being higher than the second power;
  • a network allocation vector setting module configured to: when the data frame received by the receiving module includes the preamble sequence and does not include the media access control frame, set a network allocation vector value according to a signal domain in the preamble sequence;
  • a transmission module configured to transmit data according to the network allocation vector value set by the network allocation vector setting module.
  • the network allocation vector setting module includes:
  • an obtaining unit configured to obtain, from the signal domain, a frame length and a transmission rate of the media access control frame
  • a calculating unit configured to calculate, according to a frame length and a transmission rate of the media access control frame obtained by the obtaining unit, a transmission time of the media access control frame
  • a setting unit configured to set the network allocation vector value according to a transmission time of the media access control frame obtained by the computing unit.
  • the computing unit is configured to:
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • T TpsDU+2 X TSIFS+TBAR+BA
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • the Tp SDU is the actual transmission time of the medium access control frame
  • T SIFS is the short interframe interval
  • T ACK is the transmission time of the acknowledgement frame
  • T BAR+BA is the transmission time of the block acknowledgement request frame and the block acknowledgement frame.
  • TMAX PSDU is the time to transmit the maximum allowed media access control frame.
  • the network allocation vector setting module is further configured to:
  • the first network allocation vector value is set according to the signal domain in the preamble sequence;
  • the normal transmit power of the access point in the basic service set is higher than the foregoing threshold, and when the data frame received by the receiving module includes the preamble sequence and the media access control frame, according to the media access
  • the duration domain in the frame header of the control frame sets the first network allocation vector value.
  • the network allocation vector setting module is further configured to:
  • the data frame received by the receiving module includes the preamble sequence and the media access control frame, according to Setting a duration value field in a frame header of the medium access control frame to set the first network allocation vector value;
  • the second network allocation vector value is set according to the signal domain in the preamble sequence.
  • the network allocation vector setting module is further configured to:
  • the receiving module When the data frame received by the receiving module includes the preamble sequence and the media access control frame, setting the first network in a duration field according to a frame header of the media access control frame Before assigning vector values,
  • the first network allocation vector value is set according to a signal domain in the preamble sequence.
  • the transmission module is configured to:
  • the transmission module is configured to:
  • the transmission module is further configured to:
  • a bit in the signal domain is used to indicate that the preamble sequence is transmitted at the first power.
  • the transmission module is further configured to:
  • the second network allocation vector value is greater than 0, and the second network allocation vector value is reduced to 0, the time is greater than or equal to the device transmission data in the first basic service set. Transmitting the data frame with the second power;
  • the second network allocation vector value is greater than 0, and the second network allocation vector value is reduced to 0, the time is shorter than the time when the device in the first basic service set transmits data. And after the second network allocation vector value is reduced to 0, the preamble sequence is sent by the first power, and the media access control frame is sent by the second power.
  • the device further includes:
  • a judging module configured to determine whether a long-distance basic service set exists around the device, where a normal transmit power of the access point in the long-distance basic service set is higher than the foregoing threshold;
  • the transmitting module is configured to send the data frame by using the second power
  • the transmitting module is configured to: transmit data according to the network allocation vector value set by the network allocation vector setting module.
  • the determining module includes:
  • an acquiring unit configured to receive a beacon frame broadcast by each access point, and obtain a normal transmit power of each access point from the beacon frame;
  • a comparing unit configured to compare a normal transmit power of each of the access points acquired by the acquiring unit with the foregoing threshold; and when a normal transmit power of at least one access point is higher than the foregoing threshold
  • the device further includes:
  • a net channel estimation module configured to perform physical carrier sensing on a channel to obtain the channel state; and the transmission module is configured to:
  • Data is transmitted according to the channel state and the network allocation vector value.
  • the device further includes: The judging module is configured to determine whether the device is a device in the long-distance basic service set or a device in the short-distance basic service set.
  • the determining module is configured to:
  • the normal transmit power of the device is lower than the foregoing threshold, determining that the device is a device in a short-distance basic service set, and accessing the device in the short-distance basic service set from the long-distance basic service set
  • the aforementioned threshold is obtained in a beacon frame of a point broadcast.
  • the Preamble sequence is transmitted by the device in the second BSS by using a first power, the first power being second than the transmitting MAC frame.
  • the power is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS long-distance BSS
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • the device in the second BSS transmits the Preamble sequence with the first power, and sends the MAC frame with the second power, the first power is higher than the second power, so the device in the second BSS only
  • the Preamble sequence is transmitted, the device in the first BSS (short-distance BSS) is suppressed from transmitting data, and when the MAC frame is transmitted, the device in the first BSS is not suppressed from transmitting data, thereby avoiding the improvement of the transmission power of the entire data frame in the prior art.
  • the resulting suppression does not overlap the problem of devices transmitting data in parallel in two short-distance BSSs (first BSS and second BSS).
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • Embodiment 2 is a flowchart of a data transmission method according to Embodiment 1 of the present invention
  • 3 is a flowchart of a data transmission method according to Embodiment 2 of the present invention
  • FIG. 4 is a schematic structural diagram of a data frame according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a signal domain of an 802.11 physical layer according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic structural diagram of a signal domain of a 1 MHz 802.11ah physical layer according to Embodiment 2 of the present invention
  • FIG. 7 is a schematic structural diagram of a signal domain of a multi-user 802.11ah physical layer according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic structural diagram of a data transmission device according to Embodiment 4 of the present invention.
  • FIG. 10 is a schematic structural diagram of a data transmission device according to Embodiment 5 of the present invention;
  • FIG. 12 is a schematic structural diagram of a specific implementation manner of a data transmission device according to Embodiment 7 of the present invention. detailed description
  • BSS can be divided into long-distance BSS and short-distance BSS depending on the coverage.
  • the long-distance BSS refers to the BSS in which the normal transmit power of the AP is higher than the foregoing threshold
  • the short-distance BSS refers to the BSS in which the normal transmit power of the AP is lower than the foregoing threshold.
  • the aforementioned threshold can be artificially set according to actual conditions. As shown in FIG.
  • the long-distance BSS includes a long-distance AP L-AP and a long-distance STA L-STA that communicate with each other, and the long-distance AP L-AP transmits data to the long-distance STA L-STA using a normal transmission power higher than
  • the maximum value of the normal transmit power used by the long-distance STA L-STA to transmit data to the long-distance AP L-AP is the normal transmit power of the long-distance AP L-AP.
  • the short-distance BSS includes a short-distance AP S-AP and a short-distance STA S-STA that communicate with each other, and the short-range AP S-AP transmits data to the short-distance STA S-STA using a normal transmission power lower than the aforementioned threshold, short distance
  • the maximum value of the normal transmit power used by the STA S-STA to transmit data to the short-range AP S-AP is the normal transmit power of the short-distance AP S-AP.
  • an ellipse indicates the coverage of each BSS.
  • a long distance There are three short-distance BSSs in the coverage of the BSS. This overlapping BSS can be called OBSS (Overlapping Basic Service Set).
  • OBSS Overlapping Basic Service Set
  • the coverage of two short-distance BSSs is in the coverage of the long-distance BSS, and the coverage of the other short-distance BSS partially overlaps the coverage of the long-distance BSS.
  • An embodiment of the present invention provides a data transmission method, which is applicable to a BSS in which the coverage is overlapped.
  • the execution entity of the method in this embodiment is a device in the first BSS (which may be an AP or a STA). 2, the method includes:
  • Step 101 The device in the first BSS receives the data frame sent by the device in the second BSS.
  • the first BSS may be a long range BSS or a short range BSS.
  • the second BSS may be a short-distance BSS, and the normal transmit power of the AP in the short-distance BSS, that is, the normal transmit power of the short-distance AP is lower than the aforementioned threshold.
  • the data frame sent by the device in the second BSS includes a Preamble (preamble) sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, and the transmit power of the MAC frame is the second power, that is, the device in the second BSS
  • the Preamble sequence of the data frame is transmitted at the first power, and the MAC frame of the data frame is transmitted at the second power, where the first power is higher than the second power.
  • the second power may be the normal transmit power of the device in the BSS.
  • the second power is higher than the aforementioned threshold; for devices in short-distance BSS, the second power is lower than the aforementioned threshold.
  • Step 102 If the data frame received by the device in the first BSS includes a Preamble sequence and does not include a MAC frame, the NAV value is set according to the SIG (Signal) field in the Preamble sequence.
  • the NAV value is a first NAV value
  • the first NAV value is set according to a Duration field in a frame header of the MAC frame or according to SIG domain setting in the Preamble sequence (see Embodiment 2 for details); in another embodiment of this embodiment, that is, when the first BSS is a short-distance BSS, the NAV value includes the first NAV value and the second a NAV value, wherein the first NAV value is based on a frame header of the MAC frame
  • the Duration field is set or according to the SIG field setting in the Preamble sequence
  • the second NAV value is set according to the SIG field in the Preamble sequence (see Embodiment 3 for details).
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • a device in the first BSS is used as a device in the long-distance BSS, and a data transmission method according to the first embodiment of the present invention is described.
  • the execution body of the method in this embodiment is the first BSS.
  • the device (which can be an AP or a STA). Referring to Figure 3, the method includes:
  • Step 201 The device in the first BSS receives the data frame sent by the device in the second BSS.
  • the second BSS may be a short range BSS, and the normal transmit power of the AP in the short range BSS is lower than the aforementioned threshold.
  • the data frame sent by the device in the second BSS includes a Preamble sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, and the transmit power of the MAC frame is the second power, that is, the device in the second BSS is the first.
  • the Preamble sequence of the power transmission data frame transmits the MAC frame of the data frame at a second power, and the first power is higher than the second power.
  • the physical layer convergence procedure protocol data unit includes a Preamble sequence and a PSDU (Physical Layer Convergence Procedure Service Data Unit).
  • the Preamble sequence includes L-STF ( Legacy Short Training Field), L-LTF ( Legacy Long Training Field), L-LTF (Last Long Field), which can be parsed by devices before 802.11 for compatibility with 802.11 devices.
  • SIG Live Signal
  • HT-SIG High Throughput Signal
  • HT-STF High Throughput Short Training Field
  • the PSDU the MAC frame
  • the PSDU includes the DATA field and the SIG EXT (Signal Extension) field.
  • the frame header of the MAC frame is located in the DATA field, and the frame header of the MAC frame includes the Duration field and other fields (not shown).
  • the SIG field in the Preamble sequence that is, the L-SIG field, includes a Length field for indicating the length of the transmitted data and a Rate field for indicating the transmission rate (see the 802.11 physical layer shown in FIG. 5).
  • FIG. 7 Schematic diagram of the SIG domain) or MCS (Modulation and Coding Scheme) field (see the schematic diagram of the SIG domain of the 1 MHz 802.11ah physical layer shown in Figure 6) or the Coding-I (first coding) field (see figure)
  • the schematic diagram of the SIG domain of the multi-user 802.11ah physical layer shown in Figure 7), the SIG field in the Preamble sequence may also include an ACK (Acknowledgement) Indication field for indicating the response frame type (see Figures 6 and 7). ) and R (reserved) bits (see Figure 5, Figure 6, Figure 7).
  • Step 202 If the data frame received by the device in the first BSS includes a Preamble sequence and does not include a MAC frame, the NAV value is set according to the SIG field in the Preamble sequence.
  • the NAV value includes a first NAV value.
  • Step 2021 Obtain the frame length and transmission rate of the MAC frame from the SIG domain.
  • the step 2021 may include: obtaining a transmission rate of the MAC frame from a field indicating a transmission rate in the SIG field; obtaining a length of the DATA field from a field indicating a length of the transmission data in the SIG field, and according to the length of the DATA field Get the frame length of the MAC frame.
  • Step 2022 Calculate the transmission time of the MAC frame according to the frame length and the transmission rate of the MAC frame.
  • the step 2022 may include: calculating a transmission time according to the following formula:
  • T L/V; Where L represents the frame length of the MAC frame and V represents the transmission rate of the MAC frame.
  • the step 2022 can include:
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • Tp SDU actual transmission time (i.e., transmit MAC frames with time only) MAC frame
  • TSIFS SIFS (Short Inter-Frame Space, a short interframe space)
  • T ACK transmission time of the ACK frame T TBAR + BA
  • TMAX-PSDU is the transmission time of the maximum allowed MAC frame.
  • Tp SDU L/V
  • L represents the frame length of the MAC frame
  • V represents the transmission rate of the MAC frame.
  • Step 2023 Set the NAV value according to the transmission time of the MAC frame.
  • the NAV value may be set according to the transmission time of the MAC frame; if the NAV value has the current value, the current value of the NAV value and the larger value of the transmission time of the MAC frame may be used. Set the NAV value.
  • Step 203 If the data frame received by the device in the first BSS includes a Preamble sequence and a MAC frame, when the MAC frame is parsable, the NAV value is set according to the Duration field in the frame header of the MAC frame.
  • the step 203 may include: a frame from a MAC frame.
  • the transmission time of the MAC frame is obtained in the Duration field in the header; the NAV value is set according to the transmission time of the MAC frame.
  • the NAV value may be set according to the transmission time of the MAC frame; if the NAV value has the current value, the current value of the NAV value and the larger value of the transmission time of the MAC frame may be used. Set the NAV value.
  • Step 204 If the received data frame includes a Preamble sequence and a MAC frame, when the MAC frame is unresolvable, the NAV value is set according to the SIG field in the Preamble sequence.
  • Step 205 Transmit data according to the NAV value. This step is performed after step 202, step 203 or step 204.
  • the step 205 may include: if the NAV value is 0, the data frame is sent by the second power; if the NAV value is greater than 0, the data frame is not sent.
  • the sending of the data frame by the second power may include: if the device in the first BSS is a long-distance AP, sending a data frame with the normal transmit power of the long-distance AP; if the device in the first BSS is The long-distance STA transmits the data frame with the normal transmit power of the long-distance STA.
  • the normal transmit power of the long-distance AP is a fixed value, and the normal transmit power of the long-distance STA is transmitted to the Beacon (beacon) frame of the long-distance STA according to the power attenuation of the long-distance AP communicating with the long-distance STA.
  • the Beacon frame includes the normal transmit power of the long-distance AP, and the long-distance AP obtains the difference between the normal transmit power of the long-distance AP obtained from the Beacon frame and the power when the Beacon frame is received. Power attenuation of Beacon frames.
  • the method may further include: performing physical carrier sensing on the channel to obtain a channel state. This step is performed before step 205.
  • the step 205 includes: transmitting data according to the channel state and the NAV value.
  • performing physical carrier sensing on the channel to obtain the channel state may include: determining that the channel is in a busy state if the noise power ratio on the channel is higher than the foregoing threshold; otherwise, determining that the channel is in an idle state.
  • the method may further include the step 200: determining whether the device in the first BSS is a device in the long distance BSS or a device in the short distance BSS. This step 200 needs to be performed before step 202, step 203 or step 204, and there is no order with step 201.
  • the step 200 may include: when the normal transmit power of the device in the first BSS is higher than the foregoing threshold, determining that the device in the first BSS is a device in the long-distance BSS; when the device in the first BSS When the normal transmission power is lower than the aforementioned threshold, it is determined that the device in the first BSS is a device in the short-distance BSS.
  • the device in the short-distance BSS obtains the foregoing threshold from the Beacon frame broadcast by the long-distance AP.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • a device in the first BSS is used as a device in the short-distance BSS, and a data transmission method according to the first embodiment of the present invention is described.
  • the execution body of the method in the first BSS is The device (which can be an AP or a STA). Referring to Figure 8, the method includes:
  • Step 301 The device in the first BSS receives the data frame sent by the device in the second BSS.
  • the second BSS may be a short range BSS, and the normal transmit power of the AP in the short range BSS is lower than the aforementioned threshold.
  • the data frame sent by the device in the second BSS includes a Preamble sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, and the transmit power of the MAC frame is the second power, that is, the device in the second BSS is the first.
  • the Preamble sequence of the power transmission data frame transmits the MAC frame of the data frame at a second power, and the first power is higher than the second power.
  • Step 303 If the data frame received by the device in the first BSS includes a Preamble sequence and a MAC frame, when the MAC frame is parsable, according to the Duration field in the frame header of the MAC frame. Set the first NAV value.
  • the step 303 is the same as the step 203 in the second embodiment, and is not described in detail herein.
  • Step 304 If the data frame received by the device in the first BSS includes a Preamble sequence and a MAC frame, when the MAC frame is unresolvable, the first NAV value is set according to the SIG field in the Preamble sequence.
  • step 304 is the same as step 202 in the second embodiment, and is not described in detail herein.
  • Step 305 Determine whether there is a long-distance BSS around the device in the first BSS. If there is a long-distance BSS around the device in the first BSS, step 306 is performed; if there is no long-distance BSS around the first BSS device, step 307 is performed. This step is performed after step 302, step 303 or step 304.
  • determining whether there is a long-distance BSS around the device in the first BSS may include:
  • the foregoing threshold is obtained from a Beacon frame broadcast by a long-distance AP.
  • Step 306 Transmit data according to the NAV value.
  • the NAV value includes the first NAV value and the second NAV value.
  • the first NAV value is set according to the SIG field in the Preamble sequence or according to the Duration field in the frame header of the MAC frame
  • the second NAV value is set according to the SIG field in the Preamble sequence
  • the first NAV value and the second NAV value are used for Indicates the transmission time of the MAC frame.
  • the step 306 may include: if the first NAV value is greater than 0, the data frame is not sent; if the first NAV value is 0 and the second NAV value is 0, the first The power transmits the Preamble sequence and transmits the MAC frame with the second power; if the first NAV value is 0 and the second NAV value is greater than 0, the data frame is transmitted at the second power.
  • the first power may be equal to the sum of the second power and the predetermined value, the predetermined value being greater than zero.
  • the predetermined value may be a normal transmit power and a short distance of the long distance AP.
  • the difference between the normal transmit power of the AP and the normal transmit power of the long-distance AP is higher than the aforementioned threshold.
  • sending the MAC frame with the second power or transmitting the data frame with the second power may include: if the device in the first BSS is a short-distance AP, sending the MAC frame with the normal transmit power of the short-distance AP or Transmitting a data frame with the normal transmit power of the short-distance AP; if the device in the first BSS is a short-distance STA, transmitting a MAC frame with the normal transmit power of the short-distance STA or transmitting data with the normal transmit power of the short-distance STA frame.
  • the normal transmit power of the short-distance AP is a fixed value, and the normal transmit power of the short-distance STA is determined according to the power attenuation of the Beacon frame sent by the short-range AP that communicates with the short-distance STA to the short-distance STA, the Beacon
  • the frame includes the normal transmit power of the short-distance AP, and the short-distance STA obtains the power of the Beacon frame according to the difference between the normal transmit power of the short-range AP obtained from the Beacon frame and the power when the Beacon frame is received. Attenuation.
  • the step 306 may further include: if the first NAV value is 0, the second NAV value is greater than 0, and the second NAV value is reduced to 0, the time is less than the device in the first BSS. At the time of transmitting the data, after the second NAV value is reduced to 0, the Preamble sequence is transmitted at the first power, and the MAC frame is transmitted at the second power.
  • a bit in the SIG field such as an R bit, may be used to indicate that the Preamble sequence is transmitted at the first power.
  • R bit a bit in the SIG field
  • a value of 1 on the R bit indicates that the Preamble sequence is transmitted at the first power
  • a value of 0 on the R bit indicates that the Preamble sequence is transmitted at the second power.
  • the Preamble sequence of the response frame of the MAC frame may be transmitted at the second power.
  • the Preamble sequence of the ACK frame is transmitted at the second power.
  • the Preamble sequence of the BA frame and the BAR frame is transmitted at the second power.
  • Step 307 Send the data frame with the second power.
  • the method may further include: performing physical carrier sensing on the channel to obtain a channel state. This step is performed before step 306.
  • step 306 includes: transmitting data according to channel state and NAV value.
  • physical channel sensing is performed on the channel to obtain a channel state
  • physical channel sensing can be performed on the channel in the second embodiment to obtain the same channel state, which is not described in detail herein.
  • the method may further include the step 300: determining the – Whether the device in the BSS is a device in a long-distance BSS or a device in a short-distance BSS. This step 300 needs to be performed before step 302, step 303 or step 304, and there is no sequence with step 301.
  • the step 300 is usually only performed once, in which case it is preferably performed before step 301.
  • step 300 may be the same as step 200 in the second embodiment, and details are not described herein again.
  • the device in the first BSS before performing virtual carrier sensing, receives the Beacon frame broadcast by the long-distance AP and obtains the foregoing threshold value from the Beacon frame.
  • a predetermined value the difference between the normal transmission power of the device in the long-distance BSS and the normal transmission power of the device in the short-distance BSS
  • the device in the first BSS adjusts the AGC according to the predetermined value (Automatic Gain Control)
  • the parameters make the data after processing the same power.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used causes the device in the first BSS to obtain the transmission time of the MAC frame.
  • the device in the second BSS transmits the Preamble sequence with the first power, transmits the MAC frame with the second power, and the first power is higher than the second power, so the device in the second BSS
  • the device transmits data in the first BSS (short-range BSS) only when the Preamble sequence is transmitted, and does not suppress the data transmission in the device in the first BSS when the MAC frame is transmitted, thereby avoiding the improvement of the transmission power of the entire data frame in the prior art.
  • the embodiment of the present invention provides a data transmission device, which is applicable to a data transmission method provided in Embodiment 1.
  • the device includes:
  • the receiving module 401 is configured to receive a data frame sent by the device in the second BSS, where the second BSS may be a short-distance BSS, and the normal transmit power of the AP in the short-distance BSS is lower than the foregoing threshold, and the device in the second BSS sends
  • the data frame includes a Preamble sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, and the transmit power of the MAC frame is the second power, and the first power is high. At the second power;
  • the NAV setting module 402 is configured to: when the data frame received by the receiving module 401 includes the Preamble sequence and does not include the MAC frame, set the NAV value according to the SIG field in the Preamble sequence; and the transmission module 403 is configured to be configured according to the NAV setting module 402. NAV value, transfer data.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • Equipment includes:
  • the receiving module 501 is configured to receive a data frame sent by the device in the second BSS, where the second BSS may be a short-distance BSS, and the normal transmit power of the AP in the short-distance BSS is lower than the foregoing threshold, and the device in the second BSS sends
  • the data frame includes a Preamble sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, the transmit power of the MAC frame is the second power, and the first power is higher than the second power;
  • the NAV setting module 502 is configured to: when the data frame received by the receiving module 501 includes the Preamble sequence and does not include the MAC frame, set the NAV value according to the SIG field in the Preamble sequence; and the transmission module 503 is configured to be configured according to the NAV setting module 502. NAV value, transfer data. It should be noted that, in this embodiment, the NAV value includes a first NAV value.
  • the NAV setting module 502 may include: an obtaining unit, configured to obtain a frame length and a transmission rate of the MAC frame from the SIG domain;
  • a calculating unit configured to calculate, according to a frame length and a transmission rate of the MAC frame obtained by the obtaining unit
  • a setting unit configured to set a NAV value according to a transmission time of the MAC frame obtained by the calculating unit.
  • the NAV value when the NAV value has no current value, the NAV value may be set in the transmission time of the MAC frame; when the NAV value has the current value, the current value of the NAV value and the transmission time of the MAC frame may be larger. The value sets the NAV value.
  • the obtaining unit may be configured to obtain from a field indicating a transmission rate in the SIG field
  • the transmission rate of the MAC frame is obtained from the field indicating the length of the transmission data in the SIG field, and the frame length of the MAC frame is obtained according to the length of the DATA field.
  • the calculation unit can be used to calculate the transmission time according to the following formula:
  • L represents the frame length of the MAC frame and V represents the transmission rate of the MAC frame.
  • the transmission time is calculated according to the following formula:
  • T TpsDU+2 X TSIFS+TBAR+BA
  • the transmission time is calculated according to the following formula:
  • the transmission time is calculated according to the following formula:
  • the Tp SDU is the actual transmission time of the medium access control frame
  • T PSDU L / V
  • L represents the frame length of the MAC frame
  • V represents the transmission rate of the MAC frame
  • TSIFS SIFS
  • T ACK is an ACK frame.
  • Transmission time T BAR+BA is the transmission time of BAR frame and BA frame
  • TMAX-PSDU is transmission The maximum allowed PSDU, which is the transmission time of the MAC frame.
  • the NAV setting module 502 is further configured to: when the data frame received by the receiving module 501 includes a Preamble sequence and a MAC frame, and the MAC frame is parsable, according to a frame header of the MAC frame.
  • the duration field sets the NAV value; when the data frame received by the receiving module 501 includes the Preamble sequence and the MAC frame and the MAC frame is unresolvable, the NAV value is set according to the SIG field in the Preamble sequence.
  • the NAV value may be set in the transmission time of the MAC frame; if the NAV value has the current value, the current value of the NAV value and the transmission time of the MAC frame may be larger. The value sets the NAV value.
  • the transmission module 503 can be configured to: when the NAV value is 0, send the data frame with the second power; when the NAV value is greater than 0, the data frame is not sent.
  • the device may further include a clear channel estimation module 504, configured to perform physical carrier sensing on the channel to obtain a channel state.
  • the transmission module 503 is configured to transmit data according to the channel state obtained by the clear channel estimation module 504 and the NAV value set by the NAV setting module 502.
  • the clear channel estimation module 504 can be configured to determine that the channel is busy when the noise power ratio on the channel is higher than the foregoing threshold; otherwise, determine that the channel is in an idle state.
  • the device may further include a determining module 505, configured to determine whether the device is a device in a long-distance BSS or a device in a short-distance BSS.
  • the determining module 505 is configured to: when the normal transmit power of the device is higher than the foregoing threshold, determine that the device is a device in the long-distance BSS; when the normal transmit power of the device is lower than the foregoing threshold, It is determined that the device is a device in a short-range BSS.
  • the device in the short-distance BSS can obtain the foregoing threshold from the Beacon frame broadcast by the long-distance AP.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • a data transmission device according to Embodiment 4 of the present invention is described by using the device as a device in the short-distance BSS, and is applicable to a data transmission method provided in Embodiment 3, which is shown in FIG. Equipment includes:
  • the receiving module 601 is configured to receive a data frame sent by the device in the second BSS, where the second BSS may be a short-distance BSS, and the normal transmit power of the AP in the short-distance BSS is lower than the foregoing threshold, and the device in the second BSS sends
  • the data frame includes a Preamble sequence and a MAC frame, the transmit power of the Preamble sequence is the first power, the transmit power of the MAC frame is the second power, and the first power is higher than the second power;
  • the NAV setting module 602 is configured to: when the data frame received by the receiving module 601 includes the Preamble sequence and does not include the MAC frame, set the second NAV value according to the SIG field in the Preamble sequence; the determining module 603 is configured to determine whether the device is around There is a long distance BSS;
  • the transmitting module 604 is configured to: according to the determination result obtained by the determining module 603, transmit data; when the determining result of the determining module 603 is that the long-distance BSS exists around the device, the data is used to transmit data according to the NAV value obtained by the NAV setting module 602; When the judgment result obtained by the judging module 603 is that there is no long-distance BSS around the device, it is used to transmit the data frame with the normal transmit power of the device.
  • the NAV value is set according to the SIG field in the Preamble sequence, which is a device in the short-distance BSS, and the NAV value includes the first NAV value and the second NAV value.
  • the NAV setting module 602 is further configured to: when the data frame received by the receiving module 601 includes a Preamble sequence and a MAC frame, and the MAC frame is parsable, according to a frame header of the MAC frame.
  • the Duration field sets the first NAV value; when the data frame received by the receiving module 601 includes the Preamble sequence and the MAC frame and the MAC frame is unresolvable, the first NAV value is set according to the SIG field in the Preamble sequence.
  • the determining module 603 can include:
  • An acquiring unit configured to receive a Beacon frame broadcast by each AP, and obtain a normal transmit power of each AP from the Beacon frame;
  • a comparing unit configured to compare a normal transmit power of each AP obtained by the obtaining unit with the foregoing threshold; and when a normal transmit power of at least one AP is higher than the foregoing threshold, determining that a long-distance BSS exists around the device; It is determined that there is no long-distance BSS around the device.
  • the foregoing threshold may be obtained from a Beacon frame broadcast by a long-distance AP.
  • the transmission module 604 is configured to: when the first NAV value is greater than 0, does not send a data frame; when the first NAV value is 0 and the second NAV value is 0, A power transmits a Preamble sequence and transmits a MAC frame with a second power; when the first NAV value is 0 and the second NAV value is greater than 0, the data frame is transmitted at the second power.
  • the transmission module 604 is configured to: when the first NAV value is 0 and the second NAV value is 0, send the Preamble sequence with the sum of the second power and the predetermined value, and send the MAC frame with the second power. Wherein the predetermined value is greater than zero.
  • the predetermined value may be a difference between a normal transmit power of the long distance AP and a normal transmit power of the short range AP.
  • the transmission module 604 is further configured to: use a bit in the signal domain to indicate that the preamble sequence is transmitted at a first power.
  • the transmission module 604 is further configured to: when the first NAV value is 0, the second NAV value is greater than 0, and the second NAV value is reduced to 0, the time is less than that in the first BSS.
  • the transmission module 604 is further configured to: when the first NAV value is 0, the second NAV value is greater than 0, and the second NAV value is reduced to 0, the time is less than that in the first BSS.
  • the device further includes a clear channel estimation module 605, configured to perform physical carrier sensing on the channel to obtain a channel state.
  • the transmission module 604 is configured to transmit data according to the channel state obtained by the net channel estimation module 605 and the NAV value set by the NAV setting module 602.
  • the determining module 605 is further configured to determine whether the device is a device in a long-distance BSS or a device in a short-distance BSS.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the second BSS transmits the Preamble sequence with the first power, transmits the MAC frame with the second power, and the first power is higher than the second power, so the device in the second BSS
  • the device transmits data in the first BSS (short-range BSS) only when the Preamble sequence is transmitted, and does not suppress the device in the first BSS when transmitting the MAC frame, thereby avoiding the improvement of the transmission power of the entire data frame in the prior art. And the resulting suppression does not overlap in the two short-range BSS (first BSS and second BSS) The problem of devices transmitting data in parallel.
  • the embodiment of the present invention provides a data transmission device.
  • the device may be a computer or a server, as shown in FIG. It generally includes components such as a transmitter 71, a receiver 72, a memory 73, and a processor 74.
  • the structure shown in Fig. 12 does not constitute a limitation on the device, and the device may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the receiver 72 is configured to receive data frames transmitted by devices in the second BSS.
  • Transmitter 71 is operative to transmit data under the control of processor 74.
  • the memory 73 can be used to store software programs and application modules, and the processor 74 executes various functional applications and data processing of the computer 70 by running software programs and application modules stored in the memory 73.
  • the memory 73 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function, and the like; the storage data area may store data created according to processing of the computer 70 (such as NAV). Value) and so on.
  • the memory 73 may include a high speed RAM (random access memory), and may also include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, or other volatile solid state. Storage device.
  • the communication bus 75 is used to implement connection communication between the processor 74, the memory 73, the transmitter 71, and the receiver 72.
  • the processor 74 can be implemented by the processor 74 by running or executing a software program and an application module stored in the memory 73, and calling data stored in the memory 73.
  • the SIG field in the Preamble sequence sets the NAV value.
  • the processor 74 is configured to set a second NAV value according to the SIG domain in the Preamble sequence when the device is a device in the short-distance BSS.
  • the processor 74 is further configured to: if the received data frame includes a Preamble sequence and a MAC frame, when the MAC frame is parsable, set a first NAV value according to a Duration field in a frame header of the MAC frame; When the frame is unresolvable, the first NAV value is set according to the SIG field in the Preamble sequence.
  • the receiver 72 is further configured to receive a Beacon frame broadcast by each AP, and obtain normal transmit power of each AP from the Beacon frame.
  • the processor 74 can determine whether there is a long-distance BSS around the device. Further, the transmitter 71 is configured to transmit data according to the NAV value under the control of the processor 74 when the long-distance BSS exists around the device; when the long-distance BSS does not exist around the device, the control at the processor 74 Next, the data frame is sent at the second power, and the second power may be the normal transmit power of the device.
  • the transmitter 71 transmits data according to the NAV value under the control of the processor 74, including: when the NAV value is 0, the data frame is sent at the second power; When the NAV value is greater than 0, no data frame is sent.
  • the transmitter 71 transmits data according to the NAV value under the control of the processor 74, including: when the first NAV value is greater than 0, the data frame is not sent; When the NAV value is 0 and the second NAV value is 0, the Preamble sequence is transmitted at the first power, and the MAC frame is transmitted at the second power, the first power is higher than the second power; when the first NAV value is 0, the second When the NAV value is greater than 0, the data frame is transmitted at the second power.
  • the first power may be a sum of the second power and a predetermined value, and the predetermined value is greater than zero.
  • the predetermined value and the aforementioned threshold are obtained from the Beacon frame in which the receiver 72 receives the long-distance AP broadcast.
  • the transmitter 71 transmits data according to the NAV value under the control of the processor 74, and further includes: when the first NAV value is 0, and the second NAV value is greater than 0 When the time when the second NAV value is reduced to 0 is less than the time when the device in the first BSS transmits data, after the second NAV value is reduced to 0, the Preamble sequence is transmitted at the first power, and the MAC frame is transmitted at the second power.
  • the receiver 72 is further configured to perform physical carrier sensing on the channel to obtain a channel state.
  • the transmitter 71 can be configured to transmit data based on the channel state and the NAV value under the control of the processor 74.
  • the receiver 72 is configured to receive the foregoing threshold value carried by the Beacon frame broadcast by the long-distance AP.
  • the processor 74 can implement whether the device is a device in a long-distance BSS or a device in a short-distance BSS. Further, the processor 74 is configured to determine that the device is a device in the long-distance BSS when the normal transmit power of the device is higher than the foregoing threshold; and when the normal transmit power of the device is lower than the foregoing threshold, determine The device is a device in a short-distance BSS.
  • the NAV value used to indicate the MAC frame transmission time is set according to the SIG field in the Preamble sequence, and the Preamble sequence is sent by the device in the second BSS by using the first power, and the first power is compared to the MAC frame.
  • the second power used is high, so that the device in the first BSS obtains the transmission time of the MAC frame.
  • the device in the first BSS may receive the Preamble sequence sent by the device in the second BSS (short-distance BSS), and obtain the device transmission data in the second BSS.
  • the device in the second BSS transmits the Preamble sequence with the first power, and sends the MAC frame with the second power, the first power is higher than the second power, so the device in the second BSS only
  • the device in the first BSS short-distance BSS
  • the device in the first BSS short-distance BSS
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种数据传输方法和设备,属于通信领域。所述方法包括:第一BSS中的设备接收第二BSS中的设备发送的数据帧,第二BSS 中的设备发送的数据帧包括Preamble序列和MAC帧,Preamble序列的发射功率为第一功率,MAC帧的发射功率为第二功率,第一功率高于第二功率;若第一BSS中的设备接收到的数据帧包括Preamble序列而不包括MAC帧,则根据Preamble序列中的SIG域设置NAV值;根据NAV值,传输数据。本发明使得长距离BSS中的设备不会对短距离BSS中的设备的数据传输造成干扰。

Description

一种数据传输方法和设备 技术领域
本发明涉及通信领域, 特别涉及一种数据传输方法和设备。 背景技术
BSS ( Basic Service Set, 基本服务集)是 WLAN ( Wireless Local Area Network, 无线局域网)中的一个术语, 用于描述 802.11 WLAN中的一组相 互通信的移动设备, 一个 BSS通常包括一个 AP ( Access Point, 接入点) 和若干 STA ( Station, 站点;)。 AP和 STA—般以各自的正常发射功率进行 数据传输, AP的正常发射功率为一个定值, STA的正常发射功率不是一个 定值, 该值由与该 STA通信的 AP发送到该 STA的数据的功率衰减情况决 定。 通常相互通信的 AP和 STA之间的距离越远, 功率衰减越大, STA与 AP通信所使用的发射功率越大。每个 BSS的覆盖范围由其中的 AP的正常 发射功率决定, 由于不同 BSS中 AP的正常发射功率不同, 所以其覆盖范 围也可能不同。 在具体实现时, 会存在这样一种情况, 一个长距离 BSS的 覆盖范围内可能存在多个短距离 BSS, 即长距离 BSS的覆盖范围与短距离 BSS的覆盖范围存在交叠。 在这种情况下, 如果长距离 BSS中的设备(AP 或 STA )和短距离 BSS中的设备( AP或 STA ) 同时进行数据传输, 将会 对对方的传输造成干扰, 导致传输失败, 因此需要对长距离 BSS中的设备 和短距离 BSS中的设备传输数据进行控制, 避免冲突发生。
现有一种数据传输方法, 该方法包括: 基本服务集中的设备对信道进 行物理载波侦听, 即 CCA ( Clear Channel Assessment, 净信道估计), 获得 信道状态; 检测其他基本服务集中的设备发送的数据帧, 以对信道进行虚 拟载波侦听, 根据数据帧中的 MAC ( Medium Access Control, 媒体接入控 制 )帧的帧头中的 Duration (持续时间 )域设置用于表示 MAC帧的传输时 间的 NAV ( Network Allocation Vector, 网络分配矢量)值; 若信道状态为 空闲并且 NAV值为 0, 则该设备竟争信道并发送数据帧, 否则该设备不发 送数据帧。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 在长距离 BSS 的覆盖范围与短距离 BSS 的覆盖范围存在交叠的情况 下, 由于短距离 BSS中的设备发射功率小, 当长距离 BSS中的设备离正在 传输数据的短距离 BSS中的设备较远时, 长距离 BSS中的设备可能侦听不 到该短距离 BSS中的设备发送的数据帧, 若此时, 该长距离 BSS中的设备 也开始发送数据帧, 则会对短距离 BSS中的设备的数据传输造成干扰, 导 致短距离 BSS中的设备数据传输失败。 若提高短距离 BSS中的设备的发射 功率, 虽然可以避免长距离 BSS中的设备发送数据帧造成的干扰, 但是, 这样会同时抑制与该短距离 BSS没有交叠的短距离 BSS中的设备并行传输 数据, 进而影响网络的整体吞吐量。 发明内容
为了解决现有技术中存在的长距离 BSS中的设备无法获知短距离 BSS 中的设备正在传输数据, 可能对其造成干扰或抑制短距离 BSS中的设备并 行传输的问题, 本发明实施例提供了一种数据传输方法和设备。 所述技术 方案如下:
一方面, 本发明实施例提供了一种数据传输方法, 所述方法包括: 第一基本服务集中的设备接收第二基本服务集中的设备发送的数据 帧, 所述第二基本服务集中的设备发送的数据帧包括前导序列和媒体接入 控制帧, 所述前导序列的发射功率为第一功率, 所述媒体接入控制帧的发 射功率为第二功率, 所述第一功率高于所述第二功率;
若所述第一基本服务集中的设备接收到的所述数据帧包括所述前导序 列而不包括所述媒体接入控制帧, 则根据所述前导序列中的信号域设置网 络分配矢量值;
根据所述网络分配矢量值, 传输数据。
可选地, 所述根据所述前导序列中的信号域设置网络分配矢量值, 包 括:
从所述信号域得到所述媒体接入控制帧的帧长和传输速率;
根据所述媒体接入控制帧的帧长和传输速率, 计算所述媒体接入控制 帧的传输时间;
根据所述媒体接入控制帧的传输时间设置所述网络分配矢量值。
优选地, 所述根据所述媒体接入控制帧的帧长和传输速率, 计算所述 媒体接入控制帧的传输时间, 包括: 根据所述信号域中的确认标识字段判断所述媒体接入控制帧的相应 帧;
若所述媒体接入控制帧的响应帧为确认帧, 则根据以下公式计算所述 传输时间:
Figure imgf000004_0001
若所述媒体接入控制帧的响应帧为块确认帧, 则根据以下公式计算所 述传输时间:
T=TpsDU+2 X TSIFS+TBAR+BA;
若所述媒体接入控制帧无确认响应, 则根据以下公式计算所述传输时 间:
T=TpsDU;
若所述媒体接入控制帧的响应帧为除确认帧、 清除发送帧、 块确认帧 之外的帧, 则根据以下公式计算所述传输时间:
Figure imgf000004_0002
其中, TpSDU为所述媒体接入控制帧的实际传输时间, TSIFS为短帧间间 隔, TACK为确认帧的传输时间, TBAR+BA为块确认请求帧和块确认帧的传输 时间, TMAX PSDU为传输最大允许的媒体接入控制帧的时间。
可选地, 当所述第一基本服务集中的接入点的正常发射功率高于前述 阔值时, 所述网络分配矢量值包括第一网络分配矢量值, 所述根据所述前 导序列中的信号域设置网络分配矢量值, 包括:
才艮据所述前导序列中的信号域设置所述第一网络分配矢量值; 所述方法还包括:
若所述第一基本服务集中的设备接收到的数据帧包括所述前导序列和 所述媒体接入控制帧, 则根据所述媒体接入控制帧的帧头中的持续时间域 设置所述第一网络分配矢量值。
可选地, 当所述第一基本服务集中的接入点的正常发射功率低于所述 前述阈值时, 所述网络分配矢量值包括第一网络分配矢量值和第二网络分 配矢量值, 所述方法还包括:
若所述第一基本服务集中的设备接收到的数据帧包括所述前导序列和 所述媒体接入控制帧, 则根据所述媒体接入控制帧的帧头中的持续时间域 设置所述第一网络分配矢量值; 所述根据所述前导序列中的信号域设置网络分配矢量值, 包括: 才艮据所述前导序列中的信号域设置所述第二网络分配矢量值。
可选地, 当所述第一基本服务集中的设备接收到的数据帧包括所述前 导序列和所述媒体接入控制帧时, 在所述根据所述媒体接入控制帧的帧头 中的持续时间域设置所述第一网络分配矢量值之前, 所述方法还包括: 若所述媒体接入控制帧可解析, 则根据所述媒体接入控制帧的帧头中 的持续时间域设置所述第一网络分配矢量值;
若所述媒体接入控制帧不可解析, 则根据所述前导序列中的信号域设 置所述第一网络分配矢量值。
可选地, 所述根据所述网络分配矢量值, 传输数据, 包括:
若所述第一网络分配矢量值大于 0 , 则不发送所述数据帧;
若所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0 ,则以 所述第一功率发送所述前导序列, 并且以所述第二功率发送所述媒体接入 控制帧。
优选地, 所述第一功率等于所述第二功率与预定值之和, 所述预定值 大于 0。
优选地, 所述以所述第一功率发送所述前导序列, 还包括:
釆用所述信号域中的一个位指示所述前导序列以所述第一功率发送。 可选地, 所述根据所述网络分配矢量值, 传输数据, 还包括: 若所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间大于或者等于所述第一基本服务集中 的设备传输数据的时间, 则以所述第二功率发送所述数据帧;
若所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间小于所述第一基本服务集中的设备传 输数据的时间, 则等所述第二网络分配矢量值减为 0后, 再以所述第一功 率发送所述前导序列, 并且以所述第二功率发送所述媒体接入控制帧。
可选地, 在所述根据所述网络分配矢量值, 传输数据之前, 所述方法 还包括:
判断所述第一基本服务集中的设备周围是否存在长距离基本服务集, 所述长距离基本服务集中的接入点的正常发射功率高于所述前述阔值; 当所述第一基本服务集中的设备周围不存在所述长距离基本服务集 时, 以所述第二功率发送所述数据帧;
当所述第一基本服务集中的设备周围存在所述长距离基本服务集时, 根据所述网络分配矢量值, 传输数据。
可选地, 所述判断所述第一基本服务集中的设备周围是否存在长距离 基本服务集, 包括:
接收各个接入点广播的信标帧并从所述信标帧中获取所述各个接入点 的正常发射功率;
将所述各个接入点的正常发射功率分别与所述前述阔值比较; 若至少有一个接入点的正常发射功率高于所述前述阔值, 则判定所述 第一基本服务集中的设备周围存在所述长距离基本服务集; 否则, 判定所 述第一基本服务集中的设备周围不存在所述长距离基本服务集。
可选地, 所述方法还包括:
对信道进行物理载波侦听, 获得所述信道状态;
所述根据所述网络分配矢量值, 传输数据, 包括:
才艮据所述信道状态和所述网络分配矢量值, 传输数据。
可选地, 在根据所述前导序列中的信号域设置网络分配矢量值之前, 所述方法还包括:
判断所述第一基本服务集中的设备是所述长距离基本服务集中的设 备, 还是所述短距离基本服务集中的设备。
具体地, 所述判断所述第一基本服务集中的设备是所述长距离基本服 务集中的设备, 还是所述短距离基本服务集中的设备, 包括:
当所述第一基本服务集中的设备的正常发射功率高于前述阔值时, 判 定所述第一基本服务集中的设备为所述长距离基本服务集中的设备;
当所述第一基本服务集中的设备的正常发射功率低于所述前述阔值 时, 判定所述第一基本服务集中的设备为短距离基本服务集中的设备, 所 述短距离基本服务集中的设备从所述长距离基本服务集中的接入点广播的 信标帧中获取所述前述阔值。
另一方面, 本发明实施例提供了一种数据传输设备, 所述设备包括: 接收模块, 用于接收第二基本服务集中的设备发送的数据帧, 所述第 二基本服务集中的设备发送的数据帧包括前导序列和媒体接入控制帧, 所 述前导序列的发射功率为第一功率, 所述媒体接入控制帧的发射功率为第 二功率, 所述第一功率高于所述第二功率;
网络分配矢量设置模块, 用于当所述接收模块接收到的数据帧包括所 述前导序列而不包括所述媒体接入控制帧时, 根据所述前导序列中的信号 域设置网络分配矢量值;
传输模块, 用于根据所述网络分配矢量设置模块设置的所述网络分配 矢量值, 传输数据。
可选地, 所述网络分配矢量设置模块包括:
获得单元 , 用于从所述信号域得到所述媒体接入控制帧的帧长和传输 速率;
计算单元, 用于根据所述获得单元获得的所述媒体接入控制帧的帧长 和传输速率, 计算所述媒体接入控制帧的传输时间;
设置单元, 用于根据计算单元得到的所述媒体接入控制帧的传输时间 设置所述网络分配矢量值。
优选地, 所述计算单元用于,
根据所述信号域中的确认标识字段判断所述媒体接入控制帧的响应 帧;
当所述媒体接入控制帧的响应帧为确认帧时, 则根据以下公式计算所 述传输时间:
Figure imgf000007_0001
当所述媒体接入控制帧的响应帧为块确认帧时, 则根据以下公式计算 所述传输时间:
T=TpsDU+2 X TSIFS+TBAR+BA;
当所述媒体接入控制帧无确认响应时, 则根据以下公式计算所述传输 时间:
T=TpsDU;
当所述媒体接入控制帧的响应帧为除确认帧、 清除发送帧、 块确认帧 之外的帧时, 则根据以下公式计算所述传输时间:
Figure imgf000007_0002
其中, TpSDU为所述媒体接入控制帧的实际传输时间, TSIFS为短帧间间 隔, TACK为确认帧的传输时间, TBAR+BA为块确认请求帧和块确认帧的传输 时间, TMAX PSDU为传输最大允许的媒体接入控制帧的时间。 可选地, 所述网络分配矢量设置模块还用于,
当所述第一基本服务集中的接入点的正常发射功率高于前述阔值, 且 入控制帧时, 根据所述前导序列中的信号域设置第一网络分配矢量值; 当所述第一基本服务集中的接入点的正常发射功率高于所述前述阔 值, 且所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 根据所述媒体接入控制帧的帧头中的持续时间域设置所述第一网 络分配矢量值。
可选地, 所述网络分配矢量设置模块还用于,
当所述第一基本服务集中的接入点的正常发射功率低于所述前述阔 值, 且所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 根据所述媒体接入控制帧的帧头中的持续时间域设置所述第一网 络分配矢量值;
当所述第一基本服务集中的接入点的正常发射功率低于所述前述阔 控制帧时, 才艮据所述前导序列中的信号域设置第二网络分配矢量值。
可选地, 所述网络分配矢量设置模块还用于,
当所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 在所述根据所述媒体接入控制帧的帧头中的持续时间域设置所述 第一网络分配矢量值之前,
当所述媒体接入控制帧可解析时, 根据所述媒体接入控制帧的帧头中 的持续时间域设置所述第一网络分配矢量值;
当所述媒体接入控制帧不可解析时, 根据所述前导序列中的信号域设 置所述第一网络分配矢量值。
可选地, 所述传输模块用于,
当所述第一网络分配矢量值大于 0时, 不发送所述数据帧;
当所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0时, 以所述第一功率发送所述前导序列, 并且以所述第二功率发送所述媒体接 入控制帧。
可选地, 所述传输模块用于,
当所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0时, 以所述第二功率与预定值之和发送所述前导序列, 并且以所述第二功率发 送所述媒体接入控制帧; 其中, 所述预定值大于 0。
优选地, 所述传输模块还用于,
釆用所述信号域中的一个位指示所述前导序列以所述第一功率发送。 可选地, 所述传输模块还用于,
当所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间大于或者等于所述第一基本服务集中 的设备传输数据的时间时, 以所述第二功率发送所述数据帧;
当所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间小于所述第一基本服务集中的设备传 输数据的时间时, 等所述第二网络分配矢量值减为 0后, 再以所述第一功 率发送所述前导序列, 并且以所述第二功率发送所述媒体接入控制帧。
可选地, 所述设备还包括:
判断模块, 用于判断所述设备周围是否存在长距离基本服务集, 所述 长距离基本服务集中的接入点的正常发射功率高于所述前述阔值;
当所述设备周围不存在所述长距离基本服务集时, 所述传输模块用于, 以所述第二功率发送所述数据帧;
当所述设备周围存在所述长距离基本服务集时, 所述传输模块用于, 根据所述网络分配矢量设置模块设置的所述网络分配矢量值, 传输数据。
可选地, 所述判断模块包括:
获取单元, 用于接收各个接入点广播的信标帧并从所述信标帧中获取 所述各个接入点的正常发射功率;
比较单元, 用于将比较所述获取单元获取的所述各个接入点的正常发 射功率分别与所述前述阔值比较; 当至少有一个接入点的正常发射功率高 于所述前述阔值时, 判定所述设备周围存在所述长距离基本服务集; 否则, 判定所述设备周围不存在所述长距离基本服务集。
可选地, 所述设备还包括:
净信道估计模块, 用于对信道进行物理载波侦听, 获得所述信道状态; 所述传输模块用于,
才艮据所述信道状态和所述网络分配矢量值, 传输数据。
可选地, 所述设备还包括: 判断模块, 用于判断所述设备是所述长距离基本服务集中的设备, 还 是所述短距离基本服务集中的设备。
可选地, 所述判断模块用于,
当所述设备的正常发射功率高于前述阔值时, 判定所述设备为所述长 距离基本服务集中的设备;
当所述设备的正常发射功率低于所述前述阔值时, 判定所述设备为短 距离基本服务集中的设备, 所述短距离基本服务集中的设备从所述长距离 基本服务集中的接入点广播的信标帧中获取所述前述阔值。
本发明实施例提供的技术方案带来的有益效果是:
通过根据 Preamble序列中的 SIG域设置用于表示 MAC帧传输时间的 NAV值,该 Preamble序列由第二 BSS中的设备釆用第一功率发送,该第一 功率比发送 MAC帧釆用的第二功率高,使第一 BSS中的设备获得 MAC帧 的传输时间。 当第一 BSS为长距离 BSS时, 第一 BSS (长距离 BSS ) 中的 设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS 中的设备传输数据的时间, 并根据该传输数据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设备的数据传输 造成干扰, 进而不会导致第二 BSS中的设备数据传输失败; 当第一 BSS为 短距离 BSS时,第二 BSS中的设备釆用第一功率发送 Preamble序列,釆用 第二功率发送 MAC帧, 第一功率高于第二功率, 因此第二 BSS中的设备 只在发送 Preamble序列时抑制第一 BSS (短距离 BSS )中的设备传输数据, 在发送 MAC帧时没有抑制第一 BSS中的设备传输数据, 避免了现有技术 中提高整个数据帧的发射功率而导致的抑制没有交叠的两个短距离 BSS (第一 BSS和第二 BSS ) 中的设备并行传输数据的问题。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述 中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性 劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例的应用场景的示意图;
图 2是本发明实施例一提供的一种数据传输方法的流程图; 图 3是本发明实施例二提供的一种数据传输方法的流程图;
图 4是本发明实施例二提供的数据帧的结构示意图;
图 5是本发明实施例二提供的 802.11物理层的信号域的结构示意图; 图 6是本发明实施例二提供的 1MHz的 802.11ah物理层的信号域的结 构示意图;
图 7是本发明实施例二提供的多用户的 802.11ah物理层的信号域的结 构示意图;
图 8是本发明实施例三提供的一种数据传输方法的流程图;
图 9是本发明实施例四提供的一种数据传输设备的结构示意图; 图 10是本发明实施例五提供的一种数据传输设备的结构示意图; 图 11是本发明实施例六提供的一种数据传输设备的结构示意图; 图 12是本发明实施例七提供的数据传输设备的具体实施方式的结构示 意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本 发明实施方式作进一步地详细描述。
下面先结合图 1介绍本发明实施例的应用场景, 该应用场景仅为举例, 并不作为对本发明的限制。 如前所述, 根据覆盖范围的不同, BSS 可以分 为长距离 BSS和短距离 BSS。 在本发明实施例中, 长距离 BSS是指其中的 AP的正常发射功率高于前述阔值的 BSS,短距离 BSS是指其中的 AP的正 常发射功率低于前述阔值的 BSS。 该前述阔值可以根据实际情况人为设定。 如图 1所示, 长距离 BSS包括相互通信的长距离 AP L-AP和长距离 STA L-STA, 长距离 AP L-AP向长距离 STA L-STA传输数据所使用的正常发射 功率高于前述阔值, 长距离 STA L-STA向长距离 AP L-AP传输数据所使用 的正常发射功率的最大值为长距离 AP L-AP的正常发射功率。 短距离 BSS 包括相互通信的短距离 AP S-AP和短距离 STA S-STA, 短距离 AP S-AP向 短距离 STA S-STA传输数据所使用的正常发射功率低于前述阔值, 短距离 STA S-STA向短距离 AP S-AP传输数据所使用的正常发射功率的最大值为 短距离 AP S-AP的正常发射功率。
在图 1中, 椭圓表示各个 BSS的覆盖范围。 如图 1所示, 一个长距离 BSS的覆盖范围内存在三个短距离 BSS, 这种覆盖范围发生交叠的 BSS可 以称为 OBSS ( Overlapping Basic Service Set, 交叠基本服务集)。 其中, 图 1中, 两个短距离 BSS的覆盖范围位于长距离 BSS的覆盖范围中, 另外一 个短距离 BSS的覆盖范围与长距离 BSS的覆盖范围部分交叠。 容易知道, 无论是短距离 BSS的覆盖范围位于长距离 BSS的覆盖范围中的情况, 还是 短距离 BSS的覆盖范围与长距离 BSS的覆盖范围部分交叠的情况, 都属于 本发明实施例中的覆盖范围交叠的 BSS。 实施例一
本发明实施例提供了一种数据传输方法, 适用于上述覆盖范围交叠的 BSS, 该实施例的方法的执行主体为第一 BSS中的设备(可以是 AP, 也可 以是 STA ), 参见图 2, 该方法包括:
步骤 101 : 第一 BSS中的设备接收第二 BSS中的设备发送的数据帧。 在一个实施例中,第一 BSS可以为长距离 BSS,也可以为短距离 BSS。 第二 BSS可以为短距离 BSS, 短距离 BSS中的 AP的正常发射功率, 即短 距离 AP的正常发射功率低于前述阔值。 第二 BSS中的设备发送的数据帧 包括 Preamble (前导 )序列和 MAC帧, Preamble序列的发射功率为第一功 率, MAC帧的发射功率为第二功率, 也就是说, 第二 BSS中的设备以第一 功率发送数据帧的 Preamble序列, 以第二功率发送该数据帧的 MAC帧, 第一功率高于第二功率。
在具体实现中, 第二功率可以为 BSS中的设备的正常发射功率。 对于 长距离 BSS中的设备,第二功率高于前述阔值;对于短距离 BSS中的设备, 第二功率低于前述阔值。
步骤 102: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列而 不包括 MAC帧, 则根据 Preamble序列中的 SIG ( Signal, 信号)域设置 NAV值。
在本实施例的一种实施方式中, 即第一 BSS为长距离 BSS的情况下, 该 NAV值为第一 NAV值,该第一 NAV值根据 MAC帧的帧头中的 Duration 域设置或根据 Preamble序列中的 SIG域设置(详见实施例二;);在本实施例 的另一实施方式中, 即第一 BSS为短距离 BSS的情况下, 该 NAV值包括 第一 NAV值和第二 NAV值, 其中, 第一 NAV值根据 MAC帧的帧头中的 Duration域设置或根据 Preamble序列中的 SIG域设置, 第二 NAV值根据 Preamble序列中的 SIG域设置 (详见实施例三 )。
步骤 103: 根据 NAV值, 传输数据。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。当第一 BSS为长距离 BSS时,第一 BSS (长 距离 BSS ) 中的设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS中的设备传输数据的时间, 并根据该传输数 据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设 备的数据传输造成干扰, 进而不会导致第二 BSS中的设备数据传输失败; 当第一 BSS 为短距离 BSS 时, 第二 BSS 中的设备釆用第一功率发送 Preamble序列, 釆用第二功率发送 MAC帧, 第一功率高于第二功率, 因此 第二 BSS中的设备只在发送 Preamble序列时抑制第一 BSS (短距离 BSS ) 中的设备传输数据, 在发送 MAC帧时没有抑制第一 BSS中的设备传输数 据, 避免了现有技术中提高整个数据帧的发射功率而导致的抑制没有交叠 的两个短距离 BSS (第一 BSS和第二 BSS )中的设备并行传输数据的问题。 实施例二
本发明实施例以第一 BSS中的设备为长距离 BSS中的设备为例, 对本 发明实施例一提供的一种数据传输方法进行说明, 该实施例的方法的执行 主体为第一 BSS中的设备(可以是 AP, 也可以是 STA ), 参见图 3 , 该方 法包括:
步骤 201 : 第一 BSS中的设备接收第二 BSS中的设备发送的数据帧。 在一个实施例中, 第二 BSS可以为短距离 BSS, 短距离 BSS中的 AP 的正常发射功率低于前述阔值。 第二 BSS 中的设备发送的数据帧包括 Preamble序列和 MAC帧, Preamble序列的发射功率为第一功率, MAC帧 的发射功率为第二功率, 也就是说, 第二 BSS中的设备以第一功率发送数 据帧的 Preamble序列, 以第二功率发送该数据帧的 MAC帧, 第一功率高 于第二功率。
其中, 图 4显示了本发明一个实施例中的数据帧的帧结构, 该数据帧 又称 PPDU ( Physical layer convergence procedure Protocol Data Unit, 物理层 汇聚过程协议数据单元), 包括 Preamble 序列和 PSDU ( Physical layer convergence procedure Service Data Unit, 物理层、汇聚过程月良务数据单元 )。 Preamble序列包括 802.11以前设备可以解析的用于兼容 802.11以前设备的 L-STF ( Legacy Short Training Field, 旧有短训练域)、 L-LTF ( Legacy Long Training Field,旧有长训练域)、 L-SIG( Legacy Signal,旧有信号)域和 802.11 以前设备不能解析的用于表示 802.11的 Preamble序列信息的 HT-SIG( High Throughput Signal , 高吞吐量信号) 或、 HT-STF ( High Throughput Short Training Field,高吞吐量短训练域 )、 HT-LTF ( High Throughput Long Training Field, 高吞吐量长训练域)。 PSDU, 即 MAC帧, 包括 DATA (数据)域和 SIG EXT ( Signal Extension, 信号扩展)域。 MAC帧的帧头位于 DATA域 中, MAC帧的帧头包括 Duration域和其他域(图中未示出)。 Preamble序 列中的 SIG域, 即 L-SIG域, 包括用于表示传输数据长度的 Length (帧长) 字段和用于表示传输速率的 Rate (速率)字段(参见图 5所示的 802.11物 理层的 SIG域的示意图)或 MCS ( Modulation and Coding Scheme, 调制编 码方案) 字段(参见图 6所示的 1MHz的 802.11ah物理层的 SIG域的示意 图)或 Coding- I (第一编码)字段(参见图 7所示的多用户的 802.11ah物 理层的 SIG域的示意图), Preamble序列中的 SIG域还可能包括用于表示响 应帧类型的 ACK ( Acknowledgement ) Indication (指示 )字段(参见图 6 和图 7 )和 R ( reserved, 保留)位(参见图 5、 图 6、 图 7 )。
步骤 202: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列而 不包括 MAC帧, 则根据 Preamble序列中的 SIG域设置 NAV值。
需要说明的是, 在本实施例中, 该 NAV值包括第一 NAV值。
在本实施例的一种实施方式中, 该步骤 202可以包括:
步骤 2021: 从 SIG域得到 MAC帧的帧长和传输速率。
可选地, 该步骤 2021可以包括: 从 SIG域中表示传输速率的字段中获 得 MAC帧的传输速率;从 SIG域中表示传输数据长度的字段中获得 DATA 域的长度, 并根据 DATA域的长度获得 MAC帧的帧长。
步骤 2022:根据 MAC帧的帧长和传输速率,计算 MAC帧的传输时间。 可选地, 该步骤 2022可以包括: 根据以下公式计算传输时间:
T=L/V; 其中, L表示 MAC帧的帧长, V表示 MAC帧的传输速率。
优选地, 该步骤 2022可以包括:
根据 SIG域中的 ACK Indication (确认标识 )字段判断 MAC帧的响应 帧;
若 MAC帧的响应帧为 ACK帧, 即 ACK lndication=00 , 则根据以下公 式计算传输时间:
Figure imgf000015_0001
若 MAC帧的响应帧为 BA ( Block Acknowledgement, 块确认)帧, 即 ACK Indication=01 , 则根据以下公式计算传输时间:
Figure imgf000015_0002
X TSIFS+TBAR+BA!
若 MAC帧无确认响应, 即 ACK Indication=10, 则根据以下公式计算 传输时间:
T=TpsDU;
若 MAC帧的响应帧为除 ACK帧、 CTS ( Clear To Send, 清除发送) 帧、 BA帧之外的帧, 则根据以下公式计算传输时间:
Figure imgf000015_0003
其中, TpSDU为 MAC帧的实际传输时间 (即仅传输 MAC帧所用的时 间), TSIFS为 SIFS ( Short Inter-Frame Space, 短帧间间隔), TACK为 ACK帧 的传输时间, TBAR+BA为 BAR ( Block Acknowledgement Request, 块确认请 求) 帧和 BA帧的传输时间, TMAX— PSDU为传输最大允许的 MAC帧的传输 时间。
具体地, TpSDU=L/V, L表示 MAC帧的帧长, V表示 MAC帧的传输速 率。
步骤 2023: 根据 MAC帧的传输时间设置 NAV值。
在具体实现中, 若 NAV值无当前值, 则可以以 MAC帧的传输时间设 置 NAV值; 若 NAV值有当前值, 则可以以 NAV值的当前值和 MAC帧的 传输时间中的较大值设置 NAV值。
步骤 203: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列和 MAC帧, 则当 MAC帧可解析时, 根据 MAC帧的帧头中的 Duration域设 置 NAV值。
在本实施例的一种实施方式中, 该步骤 203可以包括: 从 MAC帧的帧 头中的 Duration域中获得 MAC帧的传输时间;根据 MAC帧的传输时间设 置 NAV值。
在具体实现中, 若 NAV值无当前值, 则可以以 MAC帧的传输时间设 置 NAV值; 若 NAV值有当前值, 则可以以 NAV值的当前值和 MAC帧的 传输时间中的较大值设置 NAV值。
步骤 204:若接收到的数据帧包括 Preamble序列和 MAC帧,则当 MAC 帧不可解析时, 根据 Preamble序列中的 SIG域设置 NAV值。
步骤 205: 根据 NAV值, 传输数据。 该步骤在步骤 202、 步骤 203或 步骤 204之后执行。
在本实施例的一种实现方式中, 该步骤 205可以包括: 若 NAV值为 0, 则以第二功率发送数据帧; 若 NAV值大于 0, 则不发送数据帧。
优选地, 以第二功率发送数据帧, 可以包括: 若该第一 BSS中的设备 为长距离 AP,则以该长距离 AP的正常发射功率发送数据帧;若该第一 BSS 中的设备为长距离 STA, 则以该长距离 STA的正常发射功率发送数据帧。 其中, 长距离 AP的正常发射功率为一个定值, 长距离 STA的正常发射功 率根据与该长距离 STA进行通信的长距离 AP发送到该长距离 STA 的 Beacon (信标) 帧的功率衰减情况确定, 该 Beacon帧中包括长距离 AP的 正常发射功率, 长距离 AP根据从 Beacon帧中获得的长距离 AP的正常发 射功率与接收到该 Beacon帧时的功率之间的差值, 即可获得 Beacon帧的 功率衰减情况。
在本实施例的另一种实施方式中, 该方法还可以包括: 对信道进行物 理载波侦听, 获得信道状态。 该步骤在步骤 205之前执行。
相应地, 该步骤 205包括: 根据信道状态和 NAV值, 传输数据。
具体地, 对信道进行物理载波侦听, 获得信道状态, 可以包括: 若信 道上的噪声功率比高于前述阔值, 则判定信道为忙碌状态; 否则, 判定信 道为空闲状态。
在本实施例的又一种实施方式中, 该方法还可以包括步骤 200: 判断第 — BSS中的设备是长距离 BSS中的设备,还是短距离 BSS中的设备。该步 骤 200需要在步骤 202、 步骤 203或步骤 204之前执行, 而与步骤 201没有 先后顺序。
在具体实现中, 对于一个 BSS中的设备, 在配置参数不变的情况下, 该步骤 200通常只需执行一次, 在这种情况下, 优选在步骤 201之前执行。 可选地, 该步骤 200可以包括: 当第一 BSS中的设备的正常发射功率 高于前述阔值时, 判定第一 BSS中的设备为长距离 BSS中的设备; 当第一 BSS中的设备的正常发射功率低于前述阔值时, 判定第一 BSS中的设备为 短距离 BSS 中的设备。 其中, 短距离 BSS 中的设备从长距离 AP广播的 Beacon帧中获取前述阔值。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。当第一 BSS为长距离 BSS时,第一 BSS (长 距离 BSS ) 中的设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS中的设备传输数据的时间, 并根据该传输数 据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设 备的数据传输造成干扰, 进而不会导致第二 BSS中的设备数据传输失败。 实施例三
本发明实施例以第一 BSS中的设备为短距离 BSS中的设备为例, 对本 发明实施例一提供的一种数据传输方法进行说明, 该实施例的方法的执行 主体为第一 BSS中的设备(可以是 AP, 也可以是 STA ), 参见图 8, 该方 法包括:
步骤 301 : 第一 BSS中的设备接收第二 BSS中的设备发送的数据帧。 在一个实施例中, 第二 BSS可以为短距离 BSS, 短距离 BSS中的 AP 的正常发射功率低于前述阔值。 第二 BSS 中的设备发送的数据帧包括 Preamble序列和 MAC帧, Preamble序列的发射功率为第一功率, MAC帧 的发射功率为第二功率, 也就是说, 第二 BSS中的设备以第一功率发送数 据帧的 Preamble序列, 以第二功率发送该数据帧的 MAC帧, 第一功率高 于第二功率。
步骤 302: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列而 不包括 MAC帧, 则根据 Preamble序列中的 SIG域设置第二 NAV值。
步骤 303: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列和 MAC帧, 则当 MAC帧可解析时, 根据 MAC帧的帧头中的 Duration域设 置第一 NAV值。
可选地, 该步骤 303 可以与实施例二中的步骤 203相同, 在此不再详 述。
步骤 304: 若第一 BSS中的设备接收到的数据帧包括 Preamble序列和 MAC帧, 当 MAC帧不可解析时, 根据 Preamble序列中的 SIG域设置第一 NAV值。
可选地, 该步骤 304可以与实施例二中的步骤 202相同, 在此不再详 述。
步骤 305: 判断第一 BSS中的设备周围是否存在长距离 BSS。 若第一 BSS中的设备周围存在长距离 BSS, 则执行步骤 306; 若第一 BSS设备周 围不存在长距离 BSS, 则执行步骤 307。 该步骤在步骤 302、 步骤 303或步 骤 304之后执行。
在具体实现中, 判断第一 BSS中的设备周围是否存在长距离 BSS, 可 以包括:
接收各个 AP广播的 Beacon帧并从 Beacon帧中获取各个 AP的正常发 射功率; 将各个 AP 的正常发射功率分别与前述阔值比较; 若至少有一个 AP的正常发射功率高于前述阔值,则判定第一 BSS中的设备周围存在长距 离 BSS; 否则, 判定第一 BSS中的设备周围不存在长距离 BSS。 其中, 前 述阔值从长距离 AP广播的 Beacon帧中得到。
步骤 306: 根据 NAV值, 传输数据。
如前所述, 在本实施例中, NAV值包括第一 NAV值和第二 NAV值。 第一 NAV值根据 Preamble序列中的 SIG域设置或根据 MAC帧的帧头中的 Duration域设置, 第二 NAV值根据 Preamble序列中的 SIG域设置, 第一 NAV值和第二 NAV值均用于表示 MAC帧的传输时间。
在本实施例的一种实现方式中, 该步骤 306可以包括: 若第一 NAV值 大于 0, 则不发送数据帧; 若第一 NAV值为 0且第二 NAV值为 0, 则以第 一功率发送 Preamble序列, 并且以第二功率发送 MAC帧; 若第一 NAV值 为 0、 第二 NAV值大于 0, 则以第二功率发送数据帧。
在本实施例中, 第一功率可以等于第二功率与预定值之和, 该预定值 大于 0。
在具体实现中, 该预定值可以为长距离 AP 的正常发射功率与短距离 AP的正常发射功率之间的差值,长距离 AP的正常发射功率高于前述阔值。 优选地,以第二功率发送 MAC帧或以第二功率发送数据帧,可以包括: 若该第一 BSS中的设备为短距离 AP, 则以该短距离 AP的正常发射功 率发送 MAC 帧或以该短距离 AP 的正常发射功率发送数据帧; 若该第一 BSS中的设备为短距离 STA,则以该短距离 STA的正常发射功率发送 MAC 帧或以该短距离 STA的正常发射功率发送数据帧。 其中, 短距离 AP的正 常发射功率为一个定值, 短距离 STA的正常发射功率根据与该短距离 STA 进行通信的短距离 AP发送到该短距离 STA的 Beacon帧的功率衰减情况确 定, 该 Beacon帧中包括短距离 AP的正常发射功率, 短距离 STA根据从 Beacon帧中获得的短距离 AP的正常发射功率与接收到该 Beacon帧时的功 率之间的差值, 即可获得 Beacon帧的功率衰减情况。
在本实施例的另一种实现方式中,该步骤 306还可以包括:若第一 NAV 值为 0、 第二 NAV值大于 0且第二 NAV值减为 0的时间小于第一 BSS中 的设备传输数据的时间, 则等第二 NAV值减为 0后, 再以第一功率发送 Preamble序列, 并且以第二功率发送 MAC帧。
优选地, 当以第一功率发送 Preamble序列时, 可以釆用 SIG域中的一 个位, 如 R位, 指示 Preamble序列以第一功率发送。 例如, R位上的值为 1表示 Preamble序列以第一功率发送, R位上的值为 0则表示 Preamble序 列以第二功率发送。
在本实施例的又一种实现方式中, MAC帧的响应帧的 Preamble序列可 以以第二功率发送。 如当 MAC帧的响应帧为 ACK帧, 即 Preamble序列中 的 SIG域的 ACK lndication=00时, ACK帧的 Preamble序列以第二功率发 送。又如当 MAC帧的响应帧为 BA帧,即 Preamble序列中的 SIG域的 ACK Indication=01时, BA帧和 BAR帧的 Preamble序列以第二功率发送。
步骤 307: 以第二功率发送数据帧。
在本实施例的又一种实现方式中, 该方法还可以包括: 对信道进行物 理载波侦听, 获得信道状态。 该步骤在步骤 306之前执行。
相应地, 步骤 306包括: 根据信道状态和 NAV值, 传输数据。
具体地, 对信道进行物理载波侦听, 获得信道状态, 可以与实施例二 中的对信道进行物理载波侦听, 获得信道状态相同, 在此不再详述。
在本实施例的又一种实现方式中, 该方法还可以包括步骤 300: 判断第 — BSS中的设备是长距离 BSS中的设备,还是短距离 BSS中的设备。该步 骤 300需要在步骤 302、 步骤 303或者步骤 304之前执行, 而与步骤 301没 有先后顺序。
在具体实现中, 对于一个 BSS中的设备, 在配置参数不变的情况下, 该步骤 300通常只需执行一次, 在这种情况下, 优选在步骤 301之前执行。
可选地, 该步骤 300可以与实施例二中的步骤 200相同, 在此不再详 述。
需要说明的是, 实施例一、 实施例二和实施例三中, 在进行虚拟载波 侦听之前,第一 BSS中的设备接收长距离 AP广播的 Beacon帧并从 Beacon 帧中获取前述阔值和预定值(长距离 BSS中的设备的正常发射功率与短距 离 BSS中的设备的正常发射功率之间的差值), 第一 BSS中的设备根据预 定值调整 AGC ( Automatic Gain Control, 自动增益控制 )参数, 使数据经 过处理后的功率一致。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率, 使第一 BSS中的设 备获得 MAC帧的传输时间。 当第一 BSS为短距离 BSS时, 第二 BSS中的 设备釆用第一功率发送 Preamble序列, 釆用第二功率发送 MAC帧, 第一 功率高于第二功率, 因此第二 BSS中的设备只在发送 Preamble序列时抑制 第一 BSS (短距离 BSS )中的设备传输数据, 在发送 MAC帧时没有抑制第 - BSS中的设备传输数据, 避免了现有技术中提高整个数据帧的发射功率 而导致的抑制没有交叠的两个短距离 BSS (第一 BSS和第二 BSS ) 中的设 备并行传输数据的问题。 实施例四
本发明实施例提供了一种数据传输设备, 适用于实施例一提供的一种 数据传输方法, 参见图 9, 该设备包括:
接收模块 401 , 用于接收第二 BSS中的设备发送的数据帧, 第二 BSS 可以为短距离 BSS, 短距离 BSS中的 AP的正常发射功率低于前述阔值, 第二 BSS中的设备发送的数据帧包括 Preamble序列和 MAC帧, Preamble 序列的发射功率为第一功率, MAC帧的发射功率为第二功率, 第一功率高 于第二功率;
NAV设置模块 402,用于当接收模块 401接收到的数据帧包括 Preamble 序列而不包括 MAC帧时, 根据 Preamble序列中的 SIG域设置 NAV值; 传输模块 403 ,用于根据 NAV设置模块 402设置的 NAV值,传输数据。 本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。当第一 BSS为长距离 BSS时,第一 BSS (长 距离 BSS ) 中的设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS中的设备传输数据的时间, 并根据该传输数 据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设 备的数据传输造成干扰, 进而不会导致第二 BSS中的设备数据传输失败; 当第一 BSS 为短距离 BSS 时, 第二 BSS 中的设备釆用第一功率发送 Preamble序列, 釆用第二功率发送 MAC帧, 第一功率高于第二功率, 因此 第二 BSS中的设备只在发送 Preamble序列时抑制第一 BSS (短距离 BSS ) 中的设备传输数据, 在发送 MAC帧时没有抑制第一 BSS中的设备传输数 据, 避免了现有技术中提高整个数据帧的发射功率而导致的抑制没有交叠 的两个短距离 BSS (第一 BSS和第二 BSS )中的设备并行传输数据的问题。 实施例五
本发明实施例以该设备为长距离 BSS中的设备为例, 对本发明实施例 四提供的一种数据传输设备进行说明, 适用于实施例二提供的一种数据传 输方法, 参见图 10, 该设备包括:
接收模块 501 , 用于接收第二 BSS中的设备发送的数据帧, 第二 BSS 可以为短距离 BSS, 短距离 BSS中的 AP的正常发射功率低于前述阔值, 第二 BSS中的设备发送的数据帧包括 Preamble序列和 MAC帧, Preamble 序列的发射功率为第一功率, MAC帧的发射功率为第二功率, 第一功率高 于第二功率;
NAV设置模块 502,用于当接收模块 501接收到的数据帧包括 Preamble 序列而不包括 MAC帧时, 根据 Preamble序列中的 SIG域设置 NAV值; 传输模块 503 ,用于根据 NAV设置模块 502设置的 NAV值,传输数据。 需要说明的是, 在本实施例中, 该 NAV值包括第一 NAV值。
在本实施例的一种实现方式中, NAV设置模块 502可以包括: 获得单元, 用于从 SIG域得到 MAC帧的帧长和传输速率;
计算单元, 用于根据获得单元获得的 MAC帧的帧长和传输速率,计算
MAC帧的传输时间;
设置单元,用于根据计算单元得到的 MAC帧的传输时间设置 NAV值。 在本实施例中, 当 NAV值无当前值时, 可以以 MAC帧的传输时间设 置 NAV值; 当 NAV值有当前值时, 可以以 NAV值的当前值和 MAC帧的 传输时间中的较大值设置 NAV值。
可选地, 获得单元可以用于, 从 SIG域中表示传输速率的字段中获得
MAC帧的传输速率;从 SIG域中表示传输数据长度的字段中获得 DATA域 的长度, 并根据 DATA域的长度获得 MAC帧的帧长。
可选地, 计算单元可以用于, 根据以下公式计算传输时间:
T=L/V;
其中, L表示 MAC帧的帧长, V表示 MAC帧的传输速率。
优选地, 计算单元可以用于, 根据 SIG域中的 ACK Indication字段判 断 MAC帧的相应帧;当 MAC帧的响应帧为 ACK帧,即 ACK lndication=00 时, 根据以下公式计算传输时间:
Figure imgf000022_0001
当 MAC帧的响应帧为 B A帧 , 即 ACK lndication=01时 , 根据以下公 式计算传输时间:
T=TpsDU+2 X TSIFS+TBAR+BA;
当 MAC帧无确认响应, 即 ACK Indication=10时, 根据以下公式计算 传输时间:
T=TpsDU;
当 MAC帧的响应帧为除 ACK帧、 CTS帧、 BA帧之外的帧时, 根据 以下公式计算传输时间:
Figure imgf000022_0002
其中, TpSDU为所述媒体接入控制帧的实际传输时间, TPSDU=L/V, L表 示 MAC帧的帧长, V表示 MAC帧的传输速率, TSIFS为 SIFS , TACK为 ACK 帧的传输时间, TBAR+BA为 BAR帧和 B A帧的传输时间, TMAX— PSDU为传输 最大允许的 PSDU, 即 MAC帧的传输时间。
在本实施例的一种实现方式中, 该 NAV设置模块 502还可以用于, 当 接收模块 501接收到的数据帧包括 Preamble序列和 MAC帧且 MAC帧可解 析时, 根据 MAC帧的帧头中的 Duration域设置 NAV值; 当接收模块 501 接收到的数据帧包括 Preamble序列和 MAC帧且 MAC帧不可解析时,根据 Preamble序列中的 SIG域设置 NAV值。
在本实施例中, 若 NAV值无当前值, 则可以以 MAC帧的传输时间设 置 NAV值; 若 NAV值有当前值, 则可以以 NAV值的当前值和 MAC帧的 传输时间中的较大值设置 NAV值。
在本实施例的另一种实现方式中, 传输模块 503可以用于, 当 NAV值 为 0时, 以第二功率发送数据帧; 当 NAV值大于 0时, 不发送数据帧。
在本实施例的又一种实现方式中, 该设备还可以包括净信道估计模块 504, 用于对信道进行物理载波侦听, 获得信道状态。
相应地, 传输模块 503用于, 根据净信道估计模块 504得到的信道状 态和 NAV设置模块 502设置的 NAV值, 传输数据。
具体地, 净信道估计模块 504 可以用于, 当信道上的噪声功率比高于 前述阔值时, 判定信道为忙碌状态; 否则, 判定信道为空闲状态。
在本实施例的又一种实现方式中, 该设备还可以包括判断模块 505, 用 于判断该设备是长距离 BSS中的设备, 还是短距离 BSS中的设备。
可选地, 判断模块 505 可以用于, 当该设备的正常发射功率高于前述 阔值时, 判定该设备为长距离 BSS中的设备; 当该设备的正常发射功率低 于前述阔值时, 判定该设备为短距离 BSS中的设备。 其中, 短距离 BSS中 的设备可以从长距离 AP广播的 Beacon帧中获取前述阔值。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。当第一 BSS为长距离 BSS时,第一 BSS (长 距离 BSS ) 中的设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS中的设备传输数据的时间, 并根据该传输数 据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设 备的数据传输造成干扰, 进而不会导致第二 BSS中的设备数据传输失败。 实施例六
本发明实施例以该设备为短距离 BSS中的设备为例, 对本发明实施例 四提供的一种数据传输设备进行说明, 适用于实施例三提供的一种数据传 输方法, 参见图 11 , 该设备包括:
接收模块 601 , 用于接收第二 BSS中的设备发送的数据帧, 第二 BSS 可以为短距离 BSS, 短距离 BSS中的 AP的正常发射功率低于前述阔值, 第二 BSS中的设备发送的数据帧包括 Preamble序列和 MAC帧, Preamble 序列的发射功率为第一功率, MAC帧的发射功率为第二功率, 第一功率高 于第二功率;
NAV设置模块 602,用于当接收模块 601接收到的数据帧包括 Preamble 序列而不包括 MAC帧时,根据 Preamble序列中的 SIG域设置第二 NAV值; 判断模块 603 , 用于判断该设备周围是否存在长距离 BSS;
传输模块 604, 用于根据判断模块 603得到的判断结果, 传输数据; 当 判断模块 603的判断结果为该设备周围存在长距离 BSS时, 用于根据 NAV 设置模块 602得到的 NAV值, 传输数据; 当判断模块 603得到的判断结果 为该设备周围不存在长距离 BSS时, 用于以该设备的正常发射功率发送数 据帧。
值得说明的是,在本实施例中,根据 Preamble序列中的 SIG域设置 NAV 值的是短距离 BSS中的设备, NAV值包括第一 NAV值和第二 NAV值。
在本实施例的一种实现方式中, NAV设置模块 602还可以用于, 当接 收模块 601接收到的数据帧包括 Preamble序列和 MAC帧且 MAC帧可解析 时,根据 MAC帧的帧头中的 Duration域设置第一 NAV值; 当接收模块 601 接收到的数据帧包括 Preamble序列和 MAC帧且 MAC帧不可解析时,根据 Preamble序列中的 SIG域设置第一 NAV值。
在具体实现中, 判断模块 603可以包括:
获取单元,用于接收各个 AP广播的 Beacon帧并从 Beacon帧中获取各 个 AP的正常发射功率;
比较单元,用于将获取单元获得的各个 AP的正常发射功率分别与前述 阔值比较; 当至少有一个 AP的正常发射功率高于前述阔值时, 判定该设备 周围存在长距离 BSS; 否则, 判定该设备周围不存在长距离 BSS。 在本实施例中 , 前述阔值可以从长距离 AP广播的 Beacon帧中得到。 在本实施例的一种实现方式中, 传输模块 604可以用于, 当第一 NAV 值大于 0时, 不发送数据帧; 当第一 NAV值为 0且第二 NAV值为 0时, 以第一功率发送 Preamble序歹 并且以第二功率发送 MAC帧;当第一 NAV 值为 0、 第二 NAV值大于 0时, 以第二功率发送数据帧。
优选地, 传输模块 604可以用于, 当第一 NAV值为 0且第二 NAV值 为 0, 则以第二功率与预定值之和发送 Preamble序列, 并且以第二功率发 送 MAC帧。 其中, 该预定值大于 0。
优选地, 该预定值可以为长距离 AP的正常发射功率与短距离 AP的正 常发射功率之间的差值。
优选地, 传输模块 604 还可以用于, 釆用所述信号域中的一个位指示 所述前导序列以第一功率发送。
在本实施例的另一种实现方式中, 传输模块 604 还可以用于, 当第一 NAV值为 0、第二 NAV值大于 0且第二 NAV值减为 0的时间小于第一 BSS 中的设备传输数据的时间时, 等第二 NAV值减为 0后, 再以第一功率发送 Preamble序列, 并且以第二功率发送 MAC帧。
在本实施例的又一种实现方式中, 该设备还包括净信道估计模块 605, 用于对信道进行物理载波侦听, 获得信道状态。
相应地, 传输模块 604用于, 根据净信道估计模块 605得到的信道状 态和 NAV设置模块 602设置的 NAV值, 传输数据。
在本实施例的又一种实现方式中, 判断模块 605还用于, 判断该设备 是长距离 BSS中的设备, 还是短距离 BSS中的设备。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。 当第一 BSS为短距离 BSS时, 第二 BSS中 的设备釆用第一功率发送 Preamble序列, 釆用第二功率发送 MAC帧, 第 一功率高于第二功率, 因此第二 BSS中的设备只在发送 Preamble序列时抑 制第一 BSS (短距离 BSS )中的设备传输数据, 在发送 MAC帧时没有抑制 第一 BSS中的设备传输数据, 避免了现有技术中提高整个数据帧的发射功 率而导致的抑制没有交叠的两个短距离 BSS (第一 BSS和第二 BSS ) 中的 设备并行传输数据的问题。 实施例七
本发明实施例提供了一种数据传输设备, 该设备在具体的实施方式中, 可以是一种计算机或者服务器, 如图 12所示。 其一般包括发射机 71、接收 机 72、 存储器 73、 以及处理器 74等部件。 本领域技术人员可以理解, 图 12 中所示出的结构并不构成对本设备的限定, 本设备可以包括比图示更多 或更少的部件, 或者组合某些部件, 或者不同的部件布置。
下面结合图 12对计算机 70的各个构成部件进行具体的介绍: 接收机 72用于接收第二 BSS中的设备发送的数据帧。
发射机 71用于在处理器 74的控制下, 传输数据。
存储器 73可用于存储软件程序以及应用模块, 处理器 74通过运行存 储在存储器 73的软件程序以及应用模块, 从而执行计算机 70的各种功能 应用以及数据处理。存储器 73可主要包括存储程序区和存储数据区,其中, 存储程序区可存储操作系统、 至少一个功能所需的应用程序等; 存储数据 区可存储根据计算机 70的处理所创建的数据 (比如 NAV值)等。 此外, 存储器 73可以包括高速 RAM( Random Access Memory,随机存取存储器), 还可以包括非易失性存储器 (non-volatile memory ), 例如至少一个磁盘存 储器件、 闪存器件、 或其他易失性固态存储器件。
通信总线 75用于实现处理器 74、 存储器 73、 发射机 71及接收机 72 之间的连接通信。
具体地, 处理器 74通过运行或执行存储在存储器 73 内的软件程序和 应用模块, 以及调用存储在存储器 73 内的数据, 处理器 74可以实现, 当
Preamble序列中的 SIG域设置 NAV值。
进一步地, 处理器 74 , 可用于当该设备为短距离 BSS中的设备时, 根 据 Preamble序列中的 SIG域设置第二 NAV值。
可选地, 处理器 74 , 还可用于若接收到的数据帧包括 Preamble序列和 MAC帧, 则当 MAC帧可解析时, 根据 MAC帧的帧头中的 Duration域设 置第一 NAV值; 当 MAC帧不可解析时, 根据 Preamble序列中的 SIG域设 置第一 NAV值。 具体地, 当该设备为短距离 BSS中的设备时, 接收机 72, 还用于接收 各个 AP广播的 Beacon帧, 从 Beacon帧中获取各个 AP的正常发射功率。
相应地,处理器 74,可实现对该设备周围是否存在长距离 BSS的判断。 进一步地, 发射机 71 , 用于当该设备周围存在长距离 BSS时, 在处理 器 74的控制下, 根据 NAV值传输数据; 当该设备周围不存在长距离 BSS 时, 在处理器 74的控制下, 以第二功率发送数据帧, 第二功率可以为该设 备的正常发射功率。
具体地, 当该设备为长距离 BSS中的设备时, 发射机 71在处理器 74 的控制下, 根据 NAV值传输数据, 包括: 当 NAV值为 0时, 以第二功率 发送数据帧; 当 NAV值大于 0时, 不发送数据帧。
具体地, 当该设备为短距离 BSS中的设备时, 发射机 71在处理器 74 的控制下, 根据 NAV值传输数据, 包括: 当第一 NAV值大于 0时, 不发 送数据帧; 当第一 NAV值为 0且第二 NAV值为 0时, 以第一功率发送 Preamble序列, 并且以第二功率发送 MAC帧, 第一功率高于第二功率; 当 第一 NAV值为 0、 第二 NAV值大于 0时, 以第二功率发送数据帧。 其中, 第一功率可以为第二功率与预定值之和, 该预定值大于 0。对于短距离 BSS 中的设备, 预定值和前述阔值均从接收机 72接收长距离 AP广播的 Beacon 帧中获得。
进一步地, 当该设备为短距离 BSS 中的设备时, 发射机 71在处理器 74的控制下, 根据 NAV值传输数据, 还包括: 当第一 NAV值为 0、 第二 NAV值大于 0且第二 NAV值减为 0的时间小于第一 BSS中的设备传输数 据的时间时, 等第二 NAV值减为 0后, 再以第一功率发送 Preamble序列, 并且以第二功率发送 MAC帧。
优选地, 接收机 72, 还可用于对信道进行物理载波侦听, 获得信道状 态。
相应地, 发射机 71 , 可用于在处理器 74 的控制下, 根据信道状态和 NAV值传输数据。
优选地, 接收机 72, 可用于接收长距离 AP广播的 Beacon帧携带的前 述阔值。
相应地, 处理器 74, 可实现判断该设备是长距离 BSS中的设备, 还是 短距离 BSS中的设备。 进一步地, 处理器 74, 可实现当该设备的正常发射功率高于前述阔值 时, 判定该设备为长距离 BSS中的设备; 当该设备的正常发射功率低于前 述阔值时, 判定该设备为短距离 BSS中的设备。
本发明实施例通过根据 Preamble序列中的 SIG域设置用于表示 MAC 帧传输时间的 NAV值, 该 Preamble序列由第二 BSS中的设备釆用第一功 率发送, 该第一功率比发送 MAC帧釆用的第二功率高, 使第一 BSS中的 设备获得 MAC帧的传输时间。当第一 BSS为长距离 BSS时,第一 BSS (长 距离 BSS ) 中的设备可以接收到第二 BSS (短距离 BSS ) 中的设备发送的 Preamble序列, 获得第二 BSS中的设备传输数据的时间, 并根据该传输数 据的时间设置 NAV值, 当根据 NAV值传输数据时, 不会对第二 BSS中设 备的数据传输造成干扰, 进而不会导致第二 BSS中的设备数据传输失败; 当第一 BSS 为短距离 BSS 时, 第二 BSS 中的设备釆用第一功率发送 Preamble序列, 釆用第二功率发送 MAC帧, 第一功率高于第二功率, 因此 第二 BSS中的设备只在发送 Preamble序列时抑制第一 BSS (短距离 BSS ) 中的设备传输数据, 在发送 MAC帧时没有抑制第一 BSS中的设备传输数 据, 避免了现有技术中提高整个数据帧的发射功率而导致的抑制没有交叠 的两个短距离 BSS (第一 BSS和第二 BSS )中的设备并行传输数据的问题。 需要说明的是: 上述实施例提供的数据传输设备在传输数据时, 仅以 上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上 述功能分配由不同的功能模块完成, 即将设备的内部结构划分成不同的功 能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例提供的 数据传输方法实施例属于同一构思, 其具体实现过程详见方法实施例, 这 里不再赘述。
上述本发明实施例序号仅仅为了描述, 不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以 通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可 以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存 储器, 磁盘或光盘等。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发 明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在 本发明的保护范围之内。

Claims

权利要求
1、 一种数据传输方法, 其特征在于, 所述方法包括:
第一基本服务集中的设备接收第二基本服务集中的设备发送的数据 帧, 所述第二基本服务集中的设备发送的数据帧包括前导序列和媒体接入 控制帧, 所述前导序列的发射功率为第一功率, 所述媒体接入控制帧的发 射功率为第二功率, 所述第一功率高于所述第二功率;
若所述第一基本服务集中的设备接收到的所述数据帧包括所述前导序 列而不包括所述媒体接入控制帧, 则根据所述前导序列中的信号域设置网 络分配矢量值;
根据所述网络分配矢量值, 传输数据。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述前导序列 中的信号域设置网络分配矢量值, 包括:
从所述信号域得到所述媒体接入控制帧的帧长和传输速率;
根据所述媒体接入控制帧的帧长和传输速率, 计算所述媒体接入控制 帧的传输时间;
根据所述媒体接入控制帧的传输时间设置所述网络分配矢量值。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述媒体接入 控制帧的帧长和传输速率, 计算所述媒体接入控制帧的传输时间, 包括: 根据所述信号域中的确认标识字段判断所述媒体接入控制帧的响应 帧;
若所述媒体接入控制帧的响应帧为确认帧, 则根据以下公式计算所述 传输时间:
Figure imgf000030_0001
若所述媒体接入控制帧的响应帧为块确认帧, 则根据以下公式计算所 述传输时间:
T=TpsDU+2 X TSIFS+TBAR+BA;
若所述媒体接入控制帧无确认响应, 则根据以下公式计算所述传输时 间:
T=TpsDU; 若所述媒体接入控制帧的响应帧为除确认帧、 清除发送帧、 块确认帧 之外的帧, 则根据以下公式计算所述传输时间:
Figure imgf000031_0001
其中, TpSDU为所述媒体接入控制帧的实际传输时间, TSIFS为短帧间间 隔, TACK为确认帧的传输时间, TBAR+BA为块确认请求帧和块确认帧的传输 时间, TMAX PSDU为传输最大允许的媒体接入控制帧的时间。
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 当所述第一基 本服务集中的接入点的正常发射功率高于前述阔值时, 所述网络分配矢量 值包括第一网络分配矢量值, 所述根据所述前导序列中的信号域设置网络 分配矢量值, 包括:
才艮据所述前导序列中的信号域设置所述第一网络分配矢量值; 所述方法还包括:
若所述第一基本服务集中的设备接收到的数据帧包括所述前导序列和 所述媒体接入控制帧, 则根据所述媒体接入控制帧的帧头中的持续时间域 设置所述第一网络分配矢量值。
5、 根据权利要求 1-3任一项所述的方法, 其特征在于, 当所述第一基 本服务集中的接入点的正常发射功率低于所述前述阔值时, 所述网络分配 矢量值包括第一网络分配矢量值和第二网络分配矢量值, 所述方法还包括: 若所述第一基本服务集中的设备接收到的数据帧包括所述前导序列和 所述媒体接入控制帧, 则根据所述媒体接入控制帧的帧头中的持续时间域 设置所述第一网络分配矢量值;
所述根据所述前导序列中的信号域设置网络分配矢量值, 包括: 才艮据所述前导序列中的信号域设置所述第二网络分配矢量值。
6、 根据权利要求 5所述的方法, 其特征在于, 当所述第一基本服务集 中的设备接收到的数据帧包括所述前导序列和所述媒体接入控制帧时, 在 所述根据所述媒体接入控制帧的帧头中的持续时间域设置所述第一网络分 配矢量值之前, 所述方法还包括:
若所述媒体接入控制帧可解析, 则根据所述媒体接入控制帧的帧头中 的持续时间域设置所述第一网络分配矢量值;
若所述媒体接入控制帧不可解析, 则根据所述前导序列中的信号域设 置所述第一网络分配矢量值。
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述根据所述网络 分配矢量值, 传输数据, 包括:
若所述第一网络分配矢量值大于 0 , 则不发送所述数据帧;
若所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0 ,则以 所述第一功率发送所述前导序列, 并且以所述第二功率发送所述媒体接入 控制帧。
8、 根据权利要求 7所述的方法, 其特征在于, 所述第一功率等于所述 第二功率与预定值之和, 所述预定值大于 0。
9、 根据权利要求 7或 8所述的方法, 其特征在于, 所述以所述第一功 率发送所述前导序列之前, 还包括:
釆用所述信号域中的一个位指示所述前导序列以所述第一功率发送。
10、根据权利要求 7-9任一项所述的方法, 其特征在于, 所述根据所述 网络分配矢量值, 传输数据, 还包括:
若所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间大于或者等于所述第一基本服务集中 的设备传输数据的时间, 则以所述第二功率发送所述数据帧;
若所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间小于所述第一基本服务集中的设备传 输数据的时间, 则等所述第二网络分配矢量值减为 0后, 再以所述第一功 率发送所述前导序列, 并且以所述第二功率发送所述媒体接入控制帧。
11、 根据权利要求 7-10任一项所述的方法, 其特征在于, 在所述根据 所述网络分配矢量值, 传输数据之前, 所述方法还包括:
判断所述第一基本服务集中的设备周围是否存在长距离基本服务集, 所述长距离基本服务集中的接入点的正常发射功率高于所述前述阔值; 当所述第一基本服务集中的设备周围不存在所述长距离基本服务集 时, 以所述第二功率发送所述数据帧;
当所述第一基本服务集中的设备周围存在所述长距离基本服务集时, 根据所述网络分配矢量值, 传输数据。
12、 根据权利要求 11所述的方法, 其特征在于, 所述判断所述第一基 本服务集中的设备周围是否存在长距离基本服务集, 包括:
接收各个接入点广播的信标帧并从所述信标帧中获取所述各个接入点 的正常发射功率;
将所述各个接入点的正常发射功率分别与所述前述阔值比较; 若至少有一个接入点的正常发射功率高于所述前述阔值, 则判定所述 第一基本服务集中的设备周围存在所述长距离基本服务集; 否则, 判定所 述第一基本服务集中的设备周围不存在所述长距离基本服务集。
13、 根据权利要求 1-12任一项所述的方法, 其特征在于, 所述方法还 包括:
对信道进行物理载波侦听, 获得所述信道状态;
所述根据所述网络分配矢量值, 传输数据, 包括:
才艮据所述信道状态和所述网络分配矢量值, 传输数据。
14、 根据权利要求 1-13任一项所述的方法, 其特征在于, 在根据所述 前导序列中的信号域设置网络分配矢量值之前, 所述方法还包括:
判断所述第一基本服务集中的设备是所述长距离基本服务集中的设 备, 还是所述短距离基本服务集中的设备。
15、 根据权利要求 14所述的方法, 其特征在于, 所述判断所述第一基 本服务集中的设备是所述长距离基本服务集中的设备, 还是所述短距离基 本服务集中的设备, 包括:
当所述第一基本服务集中的设备的正常发射功率高于前述阔值时, 判 定所述第一基本服务集中的设备为所述长距离基本服务集中的设备; 当所述第一基本服务集中的设备的正常发射功率低于所述前述阔值 时, 判定所述第一基本服务集中的设备为短距离基本服务集中的设备, 所 述短距离基本服务集中的设备从所述长距离基本服务集中的接入点广播的 信标帧中获取所述前述阔值。
16、 一种数据传输设备, 其特征在于, 所述设备包括:
接收模块, 用于接收第二基本服务集中的设备发送的数据帧, 所述第 二基本服务集中的设备发送的数据帧包括前导序列和媒体接入控制帧, 所 述前导序列的发射功率为第一功率, 所述媒体接入控制帧的发射功率为第 二功率, 所述第一功率高于所述第二功率;
网络分配矢量设置模块, 用于当所述接收模块接收到的数据帧包括所 述前导序列而不包括所述媒体接入控制帧时, 根据所述前导序列中的信号 域设置网络分配矢量值;
传输模块, 用于根据所述网络分配矢量设置模块设置的所述网络分配 矢量值, 传输数据。
17、 根据权利要求 16所述的设备, 其特征在于, 所述网络分配矢量设 置模块包括:
获得单元 , 用于从所述信号域得到所述媒体接入控制帧的帧长和传输 速率;
计算单元, 用于根据所述获得单元获得的所述媒体接入控制帧的帧长 和传输速率, 计算所述媒体接入控制帧的传输时间;
设置单元, 用于根据计算单元得到的所述媒体接入控制帧的传输时间 设置所述网络分配矢量值。
18、 根据权利要求 17所述的设备, 其特征在于, 所述计算单元用于, 根据所述信号域中的确认标识字段判断所述媒体接入控制帧的响应 帧;
当所述媒体接入控制帧的响应帧为确认帧时, 根据以下公式计算所述 传输时间:
T=TPSDU+TSIFS+TACK; 当所述媒体接入控制帧的响应帧为块确认帧时, 根据以下公式计算所 述传输时间:
T=TpsDU+2 X TSIFS+TBAR+BA;
当所述媒体接入控制帧无确认响应时, 根据以下公式计算所述传输时 间:
T=TpsDU;
当所述媒体接入控制帧的响应帧为除确认帧、 清除发送帧、 块确认帧 之外的帧时, 根据以下公式计算所述传输时间:
Figure imgf000035_0001
其中, TpSDU为所述媒体接入控制帧的实际传输时间, TSIFS为短帧间间 隔, TACK为确认帧的传输时间, TBAR+BA为块确认请求帧和块确认帧的传输 时间, TMAX PSDU为传输最大允许的媒体接入控制帧的时间。
19、根据权利要求 16-18任一项所述的设备, 其特征在于, 所述网络分 配矢量设置模块还用于,
当所述第一基本服务集中的接入点的正常发射功率高于前述阔值, 且 入控制帧时, 根据所述前导序列中的信号域设置第一网络分配矢量值; 当所述第一基本服务集中的接入点的正常发射功率高于所述前述阔 值, 且所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 根据所述媒体接入控制帧的帧头中的持续时间域设置所述第一网 络分配矢量值。
20、根据权利要求 16-18任一项所述的设备, 其特征在于, 所述网络分 配矢量设置模块还用于,
当所述第一基本服务集中的接入点的正常发射功率低于所述前述阔 值, 且所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 根据所述媒体接入控制帧的帧头中的持续时间域设置所述第一网 络分配矢量值;
当所述第一基本服务集中的接入点的正常发射功率低于所述前述阔 控制帧时, 才艮据所述前导序列中的信号域设置第二网络分配矢量值。
21、 根据权利要求 20所述的设备, 其特征在于, 所述网络分配矢量设 置模块还用于,
当所述接收模块接收到的数据帧包括所述前导序列和所述媒体接入控 制帧时, 在所述根据所述媒体接入控制帧的帧头中的持续时间域设置所述 第一网络分配矢量值之前,
当所述媒体接入控制帧可解析时, 根据所述媒体接入控制帧的帧头中 的持续时间域设置所述第一网络分配矢量值;
当所述媒体接入控制帧不可解析时, 根据所述前导序列中的信号域设 置所述第一网络分配矢量值。
22、 根据权利要求 20或 21所述的设备, 其特征在于, 所述传输模块 用于,
当所述第一网络分配矢量值大于 0时, 不发送所述数据帧;
当所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0时, 以所述第一功率发送所述前导序列, 并且以所述第二功率发送所述媒体接 入控制帧。
23、 根据权利要求 22所述的设备, 其特征在于, 所述传输模块用于, 当所述第一网络分配矢量值为 0且所述第二网络分配矢量值为 0时, 以所述第二功率与预定值之和发送所述前导序列, 并且以所述第二功率发 送所述媒体接入控制帧; 其中, 所述预定值大于 0。
24、 根据权利要求 22或 23所述的设备, 其特征在于, 所述传输模块 还用于,
釆用所述信号域中的一个位指示所述前导序列以所述第一功率发送。
25、根据权利要求 22-24任一项所述的设备, 其特征在于, 所述传输模 块还用于,
当所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间大于或者等于所述第一基本服务集中 的设备传输数据的时间时, 以所述第二功率发送所述数据帧;
当所述第一网络分配矢量值为 0、所述第二网络分配矢量值大于 0且所 述第二网络分配矢量值减为 0 的时间小于所述第一基本服务集中的设备传 输数据的时间时, 等所述第二网络分配矢量值减为 0后, 再以所述第一功 率发送所述前导序列, 并且以所述第二功率发送所述媒体接入控制帧。
26、根据权利要求 22-25任一项所述的设备, 其特征在于, 所述设备还 包括:
判断模块, 用于判断所述设备周围是否存在长距离基本服务集, 所述 长距离基本服务集中的接入点的正常发射功率高于所述前述阔值;
当所述设备周围不存在所述长距离基本服务集时, 所述传输模块用于, 以所述第二功率发送所述数据帧;
当所述设备周围存在所述长距离基本服务集时, 所述传输模块用于, 根据所述网络分配矢量设置模块设置的所述网络分配矢量值, 传输数据。
27、 根据权利要求 26所述的设备, 其特征在于, 所述判断模块包括: 获取单元, 用于接收各个接入点广播的信标帧并从所述信标帧中获取 所述各个接入点的正常发射功率;
比较单元, 用于将所述获取单元获取的所述各个接入点的正常发射功 率分别与所述前述阔值比较; 当至少有一个接入点的正常发射功率高于所 述前述阔值时, 判定所述设备周围存在所述长距离基本服务集; 否则, 判 定所述设备周围不存在所述长距离基本服务集。
28、根据权利要求 16-27任一项所述的设备, 其特征在于, 所述设备还 包括:
净信道估计模块, 用于对信道进行物理载波侦听, 获得所述信道状态; 所述传输模块用于,
才艮据所述信道状态和所述网络分配矢量值, 传输数据。
29、根据权利要求 16-28任一项所述的设备, 其特征在于, 所述设备还 包括:
判断模块, 用于判断所述设备是所述长距离基本服务集中的设备, 还 是所述短距离基本服务集中的设备。
30、 根据权利要求 29所述的设备, 其特征在于, 所述判断模块用于, 当所述设备的正常发射功率高于前述阔值时, 判定所述设备为所述长 距离基本服务集中的设备;
当所述设备的正常发射功率低于所述前述阔值时, 判定所述设备为短 距离基本服务集中的设备, 所述短距离基本服务集中的设备从所述长距离 基本服务集中的接入点广播的信标帧中获取所述前述阔值。
PCT/CN2014/078094 2013-05-22 2014-05-22 一种数据传输方法和设备 WO2014187333A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14801623.1A EP2993857B1 (en) 2013-05-22 2014-05-22 Method and device for data transmission
US14/947,205 US20160081100A1 (en) 2013-05-22 2015-11-20 Data transmission method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310191470.6 2013-05-22
CN201310191470.6A CN104184702B (zh) 2013-05-22 2013-05-22 一种数据传输方法和设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/947,205 Continuation US20160081100A1 (en) 2013-05-22 2015-11-20 Data transmission method and device

Publications (1)

Publication Number Publication Date
WO2014187333A1 true WO2014187333A1 (zh) 2014-11-27

Family

ID=51932893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/078094 WO2014187333A1 (zh) 2013-05-22 2014-05-22 一种数据传输方法和设备

Country Status (4)

Country Link
US (1) US20160081100A1 (zh)
EP (1) EP2993857B1 (zh)
CN (1) CN104184702B (zh)
WO (1) WO2014187333A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2962506B1 (en) 2014-01-06 2017-07-26 Huawei Technologies Co., Ltd. System and method for low power transmission
US20160135083A1 (en) * 2014-11-07 2016-05-12 Newracom, Inc. Method and apparatus for transmitting frames
CN105992327B (zh) * 2015-03-06 2019-05-24 中兴通讯股份有限公司 一种传输数据的方法和装置
CN107211279B (zh) * 2015-04-27 2020-11-27 松下电器(美国)知识产权公司 发送方法、发送控制方法及通信装置
EP3300445B1 (en) * 2015-05-20 2020-05-13 LG Electronics Inc. Method for managing nav in wireless lan system and device for same
CN106301676B (zh) 2015-05-29 2020-01-10 华为技术有限公司 一种数据传输方法、设备及系统
WO2017008703A1 (zh) * 2015-07-10 2017-01-19 华为技术有限公司 一种信道测量方法及sta
CN106341828B (zh) * 2015-07-10 2020-04-03 华为技术有限公司 一种信道测量方法及sta
ES2968739T3 (es) * 2015-07-17 2024-05-13 Huawei Tech Co Ltd Método para establecer NAV en sistema de comunicación inalámbrica, y dispositivo relacionado
WO2017031628A1 (zh) * 2015-08-21 2017-03-02 华为技术有限公司 一种数据传输控制方法及接入点、站点
CN106912108B (zh) * 2015-12-22 2019-10-18 华为技术有限公司 更新或者修改nav的方法及装置
CN105916211B (zh) * 2016-04-13 2019-02-22 珠海市魅族科技有限公司 无线局域网的通信方法及通信装置、站点和接入点
US10712892B2 (en) * 2017-04-26 2020-07-14 Sensel, Inc. Pre-loading a resistive touch sensor device via lamination of differently curved surfaces
CN109756928B (zh) * 2017-11-01 2022-03-04 展讯通信(上海)有限公司 无线局域网系统的数据发送方法及装置、存储介质、终端
CN111698771B (zh) * 2019-03-15 2021-09-07 华为技术有限公司 功率控制方法和装置
CN111836276B (zh) * 2019-04-17 2022-09-09 华为技术有限公司 优化数据传输的方法及装置、无线局域网设备及芯片

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1684441A (zh) * 2004-04-16 2005-10-19 三星电子株式会社 基于发射功率控制的无线局域网系统和控制发射功率的方法
CN102625997A (zh) * 2009-06-19 2012-08-01 高通股份有限公司 用于管理异质网络中的下行链路发射功率的方法和装置
CN102983918A (zh) * 2003-02-21 2013-03-20 高通创锐讯有限公司 一种选择性丢弃介质上同信道传送的方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101002883B1 (ko) * 2003-10-27 2010-12-21 재단법인서울대학교산학협력재단 무선 통신 시스템에서 송신 전력 제어 장치 및 방법
EP1759496A1 (en) * 2004-06-09 2007-03-07 Philips Intellectual Property & Standards GmbH Wireless communication system, wireless communication device for use as a station in a wireless communication system, a method of communication within a wireless communication system
US20060221911A1 (en) * 2005-03-30 2006-10-05 Shay Waxman Mechanism for the hidden node problem in a wireless network
KR101638917B1 (ko) * 2010-02-09 2016-07-13 엘지전자 주식회사 무선랜에서 ppdu 프레임 전송 방법 및 장치
US9853794B2 (en) * 2013-02-20 2017-12-26 Qualcomm, Incorporated Acknowledgement (ACK) type indication and deferral time determination

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102983918A (zh) * 2003-02-21 2013-03-20 高通创锐讯有限公司 一种选择性丢弃介质上同信道传送的方法和装置
CN1684441A (zh) * 2004-04-16 2005-10-19 三星电子株式会社 基于发射功率控制的无线局域网系统和控制发射功率的方法
CN102625997A (zh) * 2009-06-19 2012-08-01 高通股份有限公司 用于管理异质网络中的下行链路发射功率的方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2993857A4 *

Also Published As

Publication number Publication date
CN104184702B (zh) 2017-11-24
EP2993857A4 (en) 2016-04-20
CN104184702A (zh) 2014-12-03
US20160081100A1 (en) 2016-03-17
EP2993857A1 (en) 2016-03-09
EP2993857B1 (en) 2018-12-19

Similar Documents

Publication Publication Date Title
WO2014187333A1 (zh) 一种数据传输方法和设备
US20230422188A1 (en) Multi-link operation with triggered alignment of frames
RU2612605C1 (ru) Способ и устройство для передачи/приема кадра в соответствии с его шириной полосы в системе wlan
JP6262752B2 (ja) 無線lanシステムにおいてチャネルアクセス方法及び装置
US7944897B2 (en) Method and system for addressing channel access unfairness in IEEE 802.11n wireless networks
JP2019071618A (ja) 受信されたフレームに応答して確認応答を送信するための方法および装置
TWI629912B (zh) 於無線網路中減少碰撞之系統及方法
WO2017121301A1 (zh) 传输数据的方法和装置
JP2018535596A (ja) 重複する基本サービスセットを含む高密度環境における無線通信方法及び無線通信端末
WO2021244090A1 (zh) 数据发送方法及装置、数据接收方法及装置
WO2017096918A1 (zh) 一种并行传输数据的方法及装置
JP2016536903A (ja) 高効率無線通信における適応rts/cts
JP2005510130A (ja) IEEE802.11eハイブリッドコーディネータの回復及びバックオフ規則を定める装置及び方法
EP4149198A1 (en) Wireless communication method using multiple links, and wireless communication terminal using same
WO2013037324A1 (zh) 一种对节点进行nav控制的方法、装置、系统及节点
WO2014166379A1 (zh) 一种资源预约方法及装置
WO2021008401A1 (zh) 通信方法、装置、计算机可读介质及电子设备
WO2017143849A1 (zh) 一种休眠控制方法及相关设备
WO2017114032A1 (zh) 一种基于空间重用的退避方法及设备
WO2014173164A1 (zh) 一种信道接入的处理方法、装置和计算机可读存储介质
KR20220095015A (ko) 동시 송수신 동작이 제한된 다중 링크 동작에서의 nav 설정을 위한 채널 접근 제한 시간을 활용한 송신 기법
EP3429300B1 (en) Method and device for processing network allocation vector
WO2016138861A1 (zh) 一种信道检测方法和装置
KR20170062719A (ko) 고효율 무선랜에서 상향링크 다중 사용자 전송을 지원하기 위한 채널 액세스 방법 및 장치
WO2017152727A1 (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: 14801623

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014801623

Country of ref document: EP