Method and device for competing for a channel

By introducing the listening and competition module into the BSS of the WLAN system, STA and AP participate in channel competition, and the AP performs centralized scheduling, which solves the problem of low channel competition success rate, improves data transmission efficiency, and meets business needs.

CN113473621BActive Publication Date: 2024-10-22HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110687347.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2014-01-27
Filing Date
2014-11-25
Publication Date
2024-10-22
Estimated Expiration
2034-11-25

AI Technical Summary

Technical Problem

In WLAN systems, the BSS channel competition success rate is low and cannot meet business needs. The existing CSMA/CA protocol still suffers from insufficient data transmission efficiency after the scheduling mode is introduced.

Method used

By introducing the listening module and competition module in the BSS, both STA and AP participate in channel competition through RTS/CTS frames or HTS frames, and the AP performs centralized control and scheduling, so that all network devices in the BSS can be used effectively The contentioned channel transmits data.

Benefits of technology

It improves the channel competition success rate and data transmission efficiency of network equipment in the BSS, ensures the effective use of channels in scheduling mode, and meets the business needs of the entire BSS.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113473621B_ABST
    Figure CN113473621B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and device for competing for channels. The device for competing for channels of the present invention belongs to a basic service set BSS, the BSS includes an access point AP and at least one first station STA, the AP and at least one of the first STAs both compete for channels, the device is the AP or any one of the first STAs, the device includes: a listening module for listening to channels; a competing module for the channels, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channels to transmit data. The present invention solves the problem of low success rate of BSS channel competition in WLAN systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to communication technology, and in particular to a method and device for competing for a channel. Background Art

[0002] In the existing wireless local area network (WLAN), the Media Access Control (MAC) layer uses the Carrier Sense Multiple Access (CSMA) / Collision Avoidance (CA) protocol to avoid conflicts on the channel when multiple network devices need to transmit data. In the CSMA / CA protocol, network devices that need to send data compete for the channel.

[0003] At present, in order to further improve the throughput of WLAN, the scheduling mode is introduced in the 802.11 standard of the Institute of Electrical and Electronics Engineers (IEEE) of the United States, which becomes a High Efficiency WLAN (HEW) system. In the WLAN system with the scheduling mode introduced, the Basic Service Set (BSS) is used as the basic scheduling set. When the BSS needs to transmit data, it competes for the channel according to the CSMA / CA protocol, but the success rate is low and cannot meet the business needs of the entire BSS. Summary of the invention

[0004] The embodiment of the present invention provides a method and device for competing for a channel, so as to solve the problem of low success rate of BSS channel competition in a WLAN system.

[0005] In a first aspect, an embodiment of the present invention provides a device for competing for a channel, the device belonging to a basic service set BSS, the BSS including an access point AP and at least one first station STA, the AP and at least one first STA both participate in competing for the channel, the device is the AP or any one of the first STAs, and the device includes:

[0006] A monitoring module, used for monitoring a channel;

[0007] The competition module is used to compete for the channel and perform centralized control scheduling through the AP so that at least one network device in the BSS can use the channel to transmit data.

[0008] In combination with the first aspect, in a first possible implementation manner of the first aspect, the competition module is specifically configured to:

[0009] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending a channel competition frame.

[0010] In combination with the first aspect or the first possible implementation method of the first aspect, in the second possible implementation method of the first aspect, the channel contention frame is a sending request RTS frame, and the RTS frame includes a transmission duration, a receiving end address RA, and a sending end address TA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed upon by the AP and the at least one first STA.

[0011] In combination with the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the device is the AP, and the AP further includes a scheduling module; the competition module of the AP is specifically used to:

[0012] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP;

[0013] Through the RTS frame, the at least one first STA learns that the channel competition is successful according to the RTS frame, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame to perform contention backoff, and the second STA is a station that does not belong to the BSS;

[0014] The scheduling module is used to send the control frame to enable the at least one first STA to perform data transmission.

[0015] In combination with the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the AP further includes:

[0016] The receiving module is used to receive the CTS frame replied by the at least one first STA.

[0017] In combination with the second possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0018] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP or the address of the first STA that successfully sends the RTS;

[0019] Through the RTS frame, other first STAs are informed of successful channel contention according to the RTS frame, and at least one first STA continues to listen to the channel to receive control frames sent by the AP for controlling data transmission, wherein the other first STAs are first STAs in the BSS except the first STA that successfully sends an RTS frame; the second STA is informed according to the RTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the RTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0020] In combination with the second possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0021] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP or the address of the first STA that successfully sends the RTS;

[0022] Through the RTS frame, the AP replies a CTS frame to the at least one first STA; the other first STAs learn that the channel competition is successful according to the RTS frame or the CTS frame, and the at least one first STA continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA learns that the channel has been occupied according to the RTS frame or the CTS frame, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0023] In combination with the first aspect or the first possible implementation manner of the first aspect, in the seventh possible implementation manner of the first aspect, the channel contention frame is a CTS frame that allows sending, and the CTS frame includes frame control information, transmission duration, a receiving end address RA, and a frame control sequence FCS information, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed upon by the AP and the at least one first STA.

[0024] In combination with the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the device is the AP, and the AP further includes a scheduling module; the competition module of the AP is specifically configured to:

[0025] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending one of the CTS frames;

[0026] Through the CTS frame, the at least one first STA learns that the channel competition is successful according to the CTS frame, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel has been occupied according to the CTS frame, and sets its own network allocation vector NAV according to the transmission duration in the CTS frame to perform contention backoff, and the second STA is a station that does not belong to the BSS;

[0027] The scheduling module is used to send the control frame to enable the at least one first STA to perform data transmission.

[0028] In conjunction with the eighth possible implementation manner of the first aspect, in a ninth possible implementation manner of the first aspect, the AP further includes:

[0029] The receiving module is used to receive the CTS frame replied by the at least one first STA.

[0030] In combination with the seventh possible implementation manner of the first aspect, in a tenth possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0031] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending one of the CTS frames;

[0032] Through the CTS frame, other first STAs are informed of successful channel contention according to the CTS frame, and at least one first STA continues to listen to the channel to receive control frames sent by the AP for controlling data transmission, wherein the other first STAs are first STAs in the BSS except the first STA that successfully sends the CTS frame; the second STA is informed according to the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0033] In combination with the seventh possible implementation manner of the first aspect, in an eleventh possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0034] When the monitoring module detects that the channel is in an idle state, it competes for the channel by successfully sending one of the CTS frames;

[0035] Through the CTS frame, the AP replies a CTS frame for feedback to the at least one first STA; the other first STAs are informed of the success of channel contention according to the CTS frame or the CTS frame for feedback, and the at least one first STA continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the CTS frame; the second STA is informed according to the CTS frame or the CTS frame for feedback that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the CTS frame or the CTS frame for feedback, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0036] In combination with the first aspect or the first possible implementation manner of the first aspect, in a twelfth possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0037] When the listening module detects that the channel is in an idle state, it successfully sends an HTS frame to help the AP to compete for the channel, where the HTS frame includes a transmission duration, a receiving end address RA, and a transmitting end address TA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, the RA is identification information pre-agreed between the AP and the at least one first STA, and the TA is identification information pre-agreed between the AP and the at least one first STA;

[0038] Through the HTS frame, the AP sends an RTS frame or a CTS frame to the at least one first STA; the other first STAs are informed of the success of channel contention according to the RTS frame or the CTS frame, and the at least one first STA replies with a CTS frame at the same time, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA is informed according to the HTS frame, the RTS frame or the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the HTS frame, the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0039] In combination with the twelfth possible implementation manner of the first aspect, in the thirteenth possible implementation manner of the first aspect, the RA in the HTS frame is the media access control MAC address of the AP, and the TA in the HTS frame is the MAC address of the first STA that successfully sends the RTS, the MAC address of the AP, or the BSSID of the BSS.

[0040] In combination with the first aspect or the first possible implementation manner of the first aspect, in a fourteenth possible implementation manner of the first aspect, the device is any one of the first STAs in the BSS, and the competition module of the first STA is specifically configured to:

[0041] When the listening module detects that the channel is in an idle state, it competes for the channel by successfully sending an HTS frame, wherein the HTS frame includes a transmission duration and a receiving end address RA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed between the AP and the at least one first STA;

[0042] Through the HTS frame, the AP sends an RTS frame or a CTS frame to the at least one first STA; the other first STAs are informed of the success of channel contention according to the RTS frame or the CTS frame, and the at least one first STA replies with a CTS frame at the same time, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA is informed according to the HTS frame, the RTS frame or the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the HTS frame, the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0043] In combination with the fourteenth possible implementation manner of the first aspect, in a fifteenth possible implementation manner of the first aspect, the RA in the HTS frame is a media access control MAC address of the AP.

[0044] In combination with any one of the twelfth to fifteenth possible implementations of the first aspect, in a sixteenth possible implementation of the first aspect, if the AP sends information to all of the at least one first STA, the RA in the RTS frame sent by the AP is a BSSID, and the TA in the RTS frame sent by the AP is a MAC address of the AP; or,

[0045] If the AP sends information to a group of at least one first STA in the BSS, the RA in the RTS frame sent by the AP is the group number of the group to which the at least one first STA belongs, and the TA in the RTS frame sent by the AP is the MAC address of the AP.

[0046] In a second aspect, an embodiment of the present invention provides a method for competing for a channel, including:

[0047] A first device in a basic service set BSS monitors a channel, the BSS includes an access point AP and at least one first station STA, and the first device is the AP or any one of the first STAs;

[0048] The first device competes for the channel, and performs centralized control scheduling through the AP so that at least one network device in the BSS can use the channel to transmit data. The AP and the at least one first STA both participate in the competition for the channel.

[0049] In combination with the second aspect, in a first possible implementation manner of the second aspect, the first device competing for the channel includes:

[0050] The first device detects that the channel is in an idle state, and competes for the channel by successfully sending a channel contention frame.

[0051] In combination with the second aspect or the first possible implementation of the second aspect, in the second possible implementation of the second aspect, the channel contention frame is a sending request RTS frame, and the RTS frame includes a transmission duration, a receiving end address RA, and a sending end address TA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed upon by the AP and the at least one first STA.

[0052] In combination with the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the first device is the AP, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0053] The AP senses that the channel is in an idle state, and competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP;

[0054] Through the RTS frame, the at least one first STA learns that the channel competition is successful according to the RTS frame, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame to perform contention backoff, and the second STA is a station that does not belong to the BSS;

[0055] The AP sends the control frame to enable the at least one first STA to perform data transmission.

[0056] In combination with the second possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0057] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP or the address of the first STA that successfully sends the RTS;

[0058] Through the RTS frame, other first STAs are informed of successful channel contention according to the RTS frame, and at least one first STA continues to listen to the channel to receive control frames sent by the AP for controlling data transmission, wherein the other first STAs are first STAs in the BSS except the first STA that successfully sends an RTS frame; the second STA is informed according to the RTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the RTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0059] In combination with the second possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0060] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending an RTS frame, where the TA in the RTS frame is the address of the AP or the address of the first STA that successfully sends the RTS;

[0061] Through the RTS frame, the AP replies a CTS frame to the at least one first STA; the other first STAs are informed of the success of channel contention according to the RTS frame or the CTS frame, and the at least one first STA continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA is informed according to the RTS frame or the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0062] In combination with the second aspect or the first possible implementation of the second aspect, in a sixth possible implementation of the second aspect, the channel contention frame is a CTS frame that allows sending, and the CTS frame includes a transmission duration and a receiving end address RA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed upon by the AP and the at least one first STA.

[0063] In combination with the sixth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect, the first device is the AP, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0064] The AP senses that the channel is in an idle state, and competes for the channel by successfully sending one of the CTS frames;

[0065] Through the CTS frame, the at least one first STA learns that the channel competition is successful according to the CTS frame, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel has been occupied according to the CTS frame, and sets its own network allocation vector NAV according to the transmission duration in the CTS frame to perform contention backoff, and the second STA is a station that does not belong to the BSS;

[0066] The AP sends the control frame to enable the at least one first STA to perform data transmission.

[0067] In combination with the sixth possible implementation manner of the second aspect, in an eighth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0068] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending one of the CTS frames;

[0069] Through the CTS frame, other first STAs are informed of successful channel contention according to the CTS frame, and at least one first STA continues to listen to the channel to receive control frames sent by the AP for controlling data transmission, wherein the other first STAs are first STAs in the BSS except the first STA that successfully sends the CTS frame; the second STA is informed according to the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0070] In combination with the sixth possible implementation manner of the second aspect, in a ninth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0071] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending one of the CTS frames;

[0072] Through the CTS frame, the AP replies a CTS frame for feedback to the at least one first STA; the other first STAs are informed of the success of channel contention according to the CTS frame or the CTS frame for feedback, and the at least one first STA continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the CTS frame; the second STA is informed according to the CTS frame or the CTS frame for feedback that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the CTS frame or the CTS frame for feedback, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0073] In combination with the second aspect or the first possible implementation manner of the second aspect, in a tenth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0074] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending an HTS frame to help the AP send a HTS frame, wherein the HTS frame includes a transmission duration, a receiving end address RA, and a transmitting end address TA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, the RA is identification information pre-agreed between the AP and the at least one first STA, and the TA is identification information pre-agreed between the AP and the at least one first STA;

[0075] Through the HTS frame, the AP sends an RTS frame or a CTS frame to the at least one first STA; the other first STAs are informed of the success of channel competition according to the RTS frame, and the at least one first STA replies with a CTS frame at the same time, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA is informed according to the HTS frame, the RTS frame or the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the HTS frame, the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0076] In combination with the tenth possible implementation manner of the second aspect, in the eleventh possible implementation manner of the second aspect, the RA in the HTS frame is the media access control MAC address of the AP, and the TA in the HTS frame is the MAC address of the first STA that successfully sends the RTS, the MAC address of the AP, or the BSSID of the BSS.

[0077] In combination with the second aspect or the first possible implementation manner of the second aspect, in a twelfth possible implementation manner of the second aspect, the first device is any one of the first STAs in the BSS, the first device competes for the channel, and the AP performs centralized control scheduling so that at least one network device in the BSS can use the channel to transmit data, including:

[0078] Any one of the first STAs in the BSS senses that the channel is in an idle state, and competes for the channel by successfully sending an HTS frame, wherein the HTS frame includes a transmission duration and a receiving end address RA, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed between the AP and the at least one first STA;

[0079] Through the HTS frame, the AP sends an RTS frame or a CTS frame to the at least one first STA; the other first STAs are informed of the success of channel competition according to the RTS frame, and the at least one first STA replies with a CTS frame at the same time, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STAs are the first STAs in the BSS except the first STA that successfully sends the RTS frame; the second STA is informed according to the HTS frame, the RTS frame or the CTS frame that the channel has been occupied, and sets its own network allocation vector NAV to perform contention backoff according to the transmission duration in the HTS frame, the RTS frame or the CTS frame, and the second STA is a station that does not belong to the BSS; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0080] In combination with the twelfth possible implementation manner of the second aspect, in a thirteenth possible implementation manner of the second aspect, the RA in the HTS frame is a media access control MAC address of the AP.

[0081] In combination with any one of the tenth to thirteenth possible implementations of the second aspect, in the fourteenth possible implementation of the second aspect, if the AP sends information to all of the at least one first STA, the RA in the RTS frame sent by the AP is a BSSID, and the TA in the RTS frame sent by the AP is a MAC address of the AP; or,

[0082] If the AP sends information to a group of at least one first STA in the BSS, the RA in the RTS frame sent by the AP is the group number of the group to which the at least one first STA belongs, and the TA in the RTS frame sent by the AP is the MAC address of the AP.

[0083] According to the method and apparatus for competing for channels in the embodiments of the present invention, all network devices in the BSS of the WLAN system, including APs and STAs, participate in competing for channels. After any one of them competes for a channel, the AP can centrally control and schedule these network devices, so that in a subsequent period of time, all network devices in the BSS can use the channels that they compete for to transmit data without having to compete again, thereby improving the channel competition success rate of network devices in the BSS and the data transmission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0085] Figure 1 This is a schematic diagram of the collision avoidance mechanism of the CSMA / CA protocol;

[0086] Figure 2 It is a structural schematic diagram of Embodiment 1 of the device for competing for channels of the present invention;

[0087] Figure 3 This is a schematic diagram of the RTS frame format;

[0088] Figure 4 This is a schematic diagram of the CTS frame format;

[0089] Figure 5 A schematic diagram of an application scenario of devices competing for channels;

[0090] Figure 6 It is a structural diagram of Embodiment 2 of the device for competing for channels of the present invention;

[0091] Figure 7 This is a schematic diagram of the structure of Embodiment 3 of the device for competing for channels of the present invention;

[0092] Fig. 8A Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 1 ;

[0093] Figure 8B Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 2 ;

[0094] Figure 8C Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 3 ;

[0095] Fig.8D Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 4 ;

[0096] Fig. 8E Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 5 ;

[0097] Fig.8F Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 6 ;

[0098] Fig. 9A flowchart of a first embodiment of a method for competing for a channel according to the present invention;

[0099] Fig.10 A flowchart of a second embodiment of a method for competing for channels according to the present invention;

[0100] Fig.11 Flow chart of Embodiment 3 of the method for competing for channels of the present invention;

[0101] Fig.12 A schematic diagram of the structure of a first embodiment of a device for competing for channels;

[0102] Fig.13 A schematic diagram of the structure of a second embodiment of a device for competing for channels;

[0103] Fig.14 A schematic diagram of the structure of a third embodiment of a device for competing for channels;

[0104] Fig.15 This is a structural diagram of Embodiment 4 of a device for competing for channels. DETAILED DESCRIPTION

[0105] Figure 1 This is a schematic diagram of the collision avoidance mechanism of the CSMA / CA protocol. Figure 1 As shown in the figure, in the CSMA / CA protocol, the sending node first listens to the channel for a Distributed Coordination Function Interframe Space (DIFS) duration. If the channel is idle, the backoff process is performed. After the backoff is completed, if the channel is still idle, the node can send a request to send (RTS) frame; after receiving the RTS frame, the receiving node replies with a clear to send (CTS) frame after a short interframe space (SIFS) duration; after receiving the RTS or CTS frame, other nodes set their network allocation vectors (NAV) according to the transmission duration (Duration) value in the RTS frame or CTS frame, and postpone their own transmission time; after receiving the CTS frame, the sending node sends a data (DATA) frame after the SIFS duration, and the receiving node responds by replying with an Acknowledgement (ACK) frame after receiving the DATA frame.

[0106] The above RTS / CTS mechanism is a protection mechanism introduced in the IEEE 802.11 standard, which allows only one network device to access and transmit data in the same time period, effectively protecting the frame sequence from interference from neighboring devices at the initiator and receiver.

[0107] In order to further improve the throughput, the IEEE 802.11 working group established the HEW study group in 2013, preparing to introduce orthogonal frequency division multiple access (OFDMA) and scheduling technologies into the IEEE 802.11 standard. The HEW system works in the unlicensed frequency band. When sharing channels with the IEEE 802.11 standard system, the channel competition mechanism is particularly important. On the one hand, to ensure compatibility, the HEW system can compete for channels with STAs in standards such as IEEE 802.11a, IEEE 802.11n, and IEEE 802.11ac, and after the HEW system successfully competes, other STAs set NAV to postpone their own transmission time. The length of NAV must be equal to the length of the subsequent scheduling window of the HEW BSS; on the other hand, since the HEW system will enter the scheduling mode after competing for the channel, the access point (AP) and station (STA) under the same BSS must use this channel according to the scheduling instructions, so it is necessary to improve the success rate of channel competition to meet the business needs of the entire BSS.

[0108] However, in the existing RTS / CTS mechanism, the introduction of the scheduling mode is not considered. Only network devices that need to send data participate in channel competition by sending RTS frames. That is, if the AP needs to send data, the AP competes for the channel. If a STA needs to send data, the STA competes for the channel. With this method, the probability of successful BSS channel competition is not high. Therefore, it is necessary to design a new channel competition device and method to meet the above requirements.

[0109] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0110] Figure 2 FIG. 1 is a schematic diagram of a structure of a first embodiment of a device for competing for a channel according to the present invention. Figure 2As shown, the device of this embodiment belongs to a BSS, and the BSS includes an access point AP and at least one first station STA. The AP and at least one of the first STAs participate in competing for a channel. The device can be an AP or any first STA. The device can include: a listening module 11 and a competition module 12, wherein the listening module 11 is used to listen to the channel; the competition module 12 is used to compete for the channel, and centralized control scheduling is performed through the AP so that all network devices in the BSS can use the channel to transmit data.

[0111] In this embodiment, the device for competing for the channel belongs to the BSS, which is a basic service set in a WLAN that introduces a scheduling mode, including an AP and at least one first STA, and both the AP and at least one first STA participate in competing for the channel, wherein the first STA is a site of the HEW standard and can support OFDMA, scheduling and other technologies, and whether the AP or the first STA competes for the channel, the entire BSS can use the channel for data transmission. In addition to the entire BSS, the network device for competing for the channel also includes a second STA, which does not belong to the BSS and can be any STA in the IEEE 802.11 series of standards. The second STA will cause interference to the first STA, so when the BSS successfully competes for the channel, the second STA enters a waiting mode, and does not start competing for the channel until the scheduling mode of the BSS ends, thereby avoiding interference with the first STA. The device competing for the channel in this embodiment can be an AP in the BSS or any first STA in the BSS. The listening module 11 of the device competing for the channel needs to listen to the channel before the device competes for the channel to determine the state of the channel. After the competing module 12 competes for the channel, the control of the channel is handed over to the AP in the BSS. The AP centrally controls and schedules the channel so that all network devices in the BSS can use the channel to transmit data under the scheduling of the AP.

[0112] The device of this embodiment acts as any network device in the BSS, and by listening to the channel and competing for the channel, the AP then centrally controls and schedules the network devices in the BSS, so that all network devices in the BSS can use the channel to transmit data in a subsequent period of time without having to compete again, thereby improving the channel competition success rate and data transmission efficiency of the network devices in the BSS. Specifically, the AP and all first STAs in the BSS participate in the competition for the channel, and no matter who competes for the channel, the management right of the channel is handed over to the AP, and the AP allocates and uses it. For example, the AP needs to compete for the channel to enter the scheduling mode. At this time, not only the AP participates in the competition for the channel, but all the first STAs in the BSS also participate in the competition for the channel for the AP to use. After competing for the channel, whether the AP competes successfully or any first STA competes successfully, the control and management rights of the channel are handed over to the AP, and the AP uniformly schedules and allocates the channel. It can be seen from this that the network devices participating in the competition for the channel in this embodiment include the network devices in the entire BSS, regardless of whether they need to send data, so that the channel competition success rate of the BSS is greatly improved.

[0113] Further, based on the above-mentioned device, the competition module 12 is specifically used to compete for the channel by successfully sending a channel competition frame when the listening module 11 detects that the channel is in an idle state. Optionally, the channel competition frame can also be called a channel reservation frame (Channel Reservation Frame, abbreviated as CRF), which is not specifically limited in this embodiment.

[0114] Preferably, the competition module 12 may compete for the channel by successfully sending an RTS frame, the RTS frame including the transmission duration, the receiver address (RA) and the transmitter address (TA). In order to keep the format consistent with the existing RTS frame, the RTS frame of this embodiment may also include frame control information and frame control sequence (FCS) information, wherein the transmission duration is the scheduling duration required by the BSS, and RA is the identification information pre-agreed between the AP and at least one first STA. Optionally, the transmission duration may also be the maximum duration allowed to be set. In the present invention, there are two ways to limit the maximum duration allowed to be set, one is based on the maximum limit on the transmission duration pre-agreed within the local area; the other is based on the maximum value that can be set according to the number of bits occupied by the transmission duration. Figure 3 This is a schematic diagram of the RTS frame format, such as Figure 3As shown, the RTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 20 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, 6 bytes of TA, and 4 bytes of FCS information. The format of the HEW RTS frame is completely consistent with the RTS frame format in the IEEE802.11 standard, so that all STAs, including the first STA and the second STA, can receive and demodulate the RTS frame. Each HEW RTS frame occupies a bandwidth of 20 megahertz (MHz for short), and there are 64 subcarriers on this 20MHz bandwidth. The number and position of the pilot subcarriers are also the same as the RTS frame in the IEEE802.11 standard. If there is a bandwidth of 80MHz, the HEW RTS frame is sent on each 20MHz bandwidth. The difference from the RTS frame in the IEEE 802.11 standard is that in the HEW RTS frame, the transmission duration is the scheduling duration required by the BSS, that is, after the BSS successfully competes for the channel, the total duration required for the AP and the first STA belonging to the BSS to transmit data. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS can obtain the identification information, so that when the first STA demodulates the identification information in the RTS frame, it knows that this is a HEW RTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA can be set to any identification information except the MAC address of the second STA to avoid the second STA mistakenly thinking that it is an RTS frame sent to itself, for example, it can be the MAC address of the AP, the identification information of the BSS, the group number of the first STA, etc.

[0115] Optionally, the competition module 12 can also compete for the channel by successfully sending a CTS frame, the CTS frame includes a transmission duration and RA. In order to be consistent with the existing CTS frame in format, the CTS frame of this embodiment can also include frame control information and FCS information, wherein the transmission duration is the scheduling duration required by the BSS, and RA is the identification information pre-agreed between the AP and at least one first STA. Optionally, the transmission duration can also be the maximum duration allowed to be set. In the present invention, there are two ways to limit the maximum duration allowed to be set, one is based on the maximum limit on the transmission duration pre-agreed within the local area; the other is based on the maximum value that can be set according to the number of bits occupied by the transmission duration. Figure 4 This is a schematic diagram of the CTS frame format, such as Figure 4As shown, the CTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 14 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, and 4 bytes of FCS information. The format of the HEW CTS frame is completely consistent with the CTS frame format in the IEEE 802.11 standard, so that all STAs, including the first STA and the second STA, can accept and demodulate the CTS frame. The difference from the CTS frame in the IEEE 802.11 standard is that in the HEW CTS frame, the transmission duration is the scheduling duration required by the BSS, that is, the total duration required for the AP and the first STA belonging to the BSS to transmit data after the BSS successfully competes for the channel. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS can obtain the identification information, so that when the first STA demodulates the identification information in the CTS frame, it knows that this is a HEW CTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA cannot be set to the MAC address of the second STA to avoid the second STA mistakenly thinking that it is a CTS frame sent to itself, nor can it be set to the MAC address of the AP to distinguish the HEW CTS frame from the CTS frame sent by the second STA to the AP.

[0116] In this embodiment, HEW RTS frames and HEW CTS frames with the same format as those in the IEEE 802.11 standard are set to achieve compatibility between the HEW system and other IEEE 802.11 standards. This is easy to implement, and different contents of the same field are set so that the first station and the second station can clearly demodulate and know the next behavior, which well solves the problem of compatibility between the existing RTS / CTS mechanism and the HEW system.

[0117] Several specific embodiments are used below. Figure 2 to Figure 4 The technical solution of any device embodiment shown is described in detail.

[0118] Figure 5 Schematic diagram of application scenarios of devices competing for channels, such as Figure 5 As shown, in the application scenario, there is a BSS10 of a WLAN system with a scheduling mode introduced and a second STA20, the BSS10 includes an AP11 and three first STA12, 13 and 14, the second STA20 is a station that complies with the IEEE 802.11a, 11g, 11n or 11ac standard. AP11 and the first STA12, 13 and 14 all listen to the channel and participate in the channel competition.

[0119] Figure 6This is a schematic diagram of the structure of Embodiment 2 of the apparatus for competing for channels of the present invention. Figure 5 and Figure 6 In combination, the device for competing for a channel in this embodiment is an AP11 in a BSS10, and the AP11 includes: a listening module 21, a competing module 22, a scheduling module 23, and a receiving module 24, wherein the listening module 21 is used to listen to the channel; the competing module 22 is used to compete for the channel by successfully sending an RTS frame when the listening module 21 listens to the idle state of the channel, and the TA in the RTS frame is the address of the AP11; through the RTS frame, the first STA12, 13, and 14 learn the BSS1 according to the RA and the TA in the RTS frame. 0 successfully competes for the channel, continues to listen to the channel to receive the control frame sent by the AP11 for controlling data transmission; enables the second STA20 to know that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame to perform competition backoff; the scheduling module 23 is used to send the control frame to enable the first STA12, 13 or 14 to perform data transmission; the receiving module 24 is used to receive the CTS frame replied by the first STA12, 13 or 14, and optionally, it can also receive the data frame sent by the first STA12, 13 or 14. It should be noted that Figure 6 In the device structure shown, the receiving module 24 is not necessary, because after the AP11 successfully sends the RTS frame, the process of the first STA replying the CTS frame is not necessary. If the first STA sends the CTS frame, the AP will send the control frame afterwards. If the first STA does not need to reply the CTS frame, the AP can also continue to send the control frame. This embodiment does not make specific limitations on this.

[0120] In this embodiment, AP11 competes for the channel by successfully sending a HEW RTS frame, and the TA in the HEW RTS frame is the address of AP11. AP11 sends the HEW RTS frame, and the first STA12, 13 and 14 receive the HEW RTS frame. Through the RA and TA in the HEW RTS frame, it can be known that BSS10 has successfully competed for the channel and is about to enter the scheduling window, and continues to listen to the channel and prepares to receive the control frame sent by AP11 for controlling data transmission. Optionally, after receiving the HEW RTS sent by AP11, the first STA12, 13 or 14 can also reply a CTS frame to AP11 to avoid the hidden node problem. The way of replying the CTS frame can be that multiple first STAs reply together, or the first STA12, 13, 14 reply in sequence, and there is no specific restriction here; the second STA20 receives the HEW RTS frame, parses it as an RTS frame of the IEEE 802.11 standard, and can find out that it is not the target receiving end, and sets its own NAV according to the transmission duration in the HEW RTS frame, enters the waiting mode, and competes for the channel again after the transmission duration of the BSS ends.

[0121] The device of this embodiment successfully sends a HEW RTS frame to compete for a channel through the AP, so that the first STA in the BSS can enter the scheduling mode and transmit data through the channel competed, while the second STA sets its own NAV to enter the waiting mode, thereby achieving compatibility between the HEW system and the IEEE 802.11 standard system and improving the channel competition success rate of the BSS.

[0122] Further, in Figure 6 On the basis of the device structure shown, the competition module 22 of AP11 is also used for the listening module 21 to compete for the channel by successfully sending a CTS frame when it detects that the channel is in an idle state; through the CTS frame, the at least one first STA12, 13 and 14 learns that the BSS competition channel is successful according to the RA in the CTS frame, and continues to listen to the channel to receive the control frame sent by the AP11 for controlling data transmission; the second STA20 learns that the channel has been occupied according to the CTS frame, and sets its own network allocation vector NAV according to the transmission duration in the CTS frame; the scheduling module 23 is also used to send the control frame to enable the first STA12, 13 or 14 to transmit data.

[0123] AP11 competes for the channel by successfully sending a HEW CTS frame. AP11 sends out the HEW CTS frame, and the first STA12, 13 and 14 receive the HEW CTS frame. Through the RA in the HEW CTS frame, it can be known that BSS10 has successfully competed for the channel and is about to enter the scheduling window, so it continues to listen to the channel and prepares to receive the control frame sent by AP11 for controlling data transmission. Optionally, after receiving the HEW CTS sent by AP11, the first STA12, 13 or 14 can also reply a CTS frame to AP11 to avoid the hidden node problem. The way to reply the CTS frame can be multiple first STAs together, or the first STA12, 13, 14 can reply in sequence, which is not limited by the present invention; the second STA20 receives the HEW CTS frame, parses it as a CTS frame of the IEEE802.11 standard, and can know that it is not the target receiving end. According to the transmission duration in the HEW CTS frame, it sets its own NAV and enters the waiting mode. After the transmission duration of the BSS ends, it competes for the channel again.

[0124] Figure 7 This is a schematic diagram of the structure of Embodiment 3 of the apparatus for competing for channels of the present invention. Figure 5 and Figure 7 In combination, the device for competing for a channel in this embodiment is any first STA in BSS10, for example, the first STA12, and the first STA12 includes: a listening module 31 and a competing module 32, wherein the listening module 31 is used to listen to the channel; the competing module 32 is used to compete for the channel by successfully sending an RTS frame when the listening module 31 listens to the idle state of the channel, and the TA in the RTS frame is the address of the AP11 or the address of the first STA12 that successfully sends the RTS; S frame, so that the other first STA13 and 14 know that the BSS10 successfully competes for the channel according to the RA and the TA in the RTS frame, and the first STA12, 13 and 14 continue to listen to the channel to receive the control frame sent by the AP11 for controlling data transmission; the second STA20 knows that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame; the AP11 sends the control frame to enable the first STA12, 13 or 14 to transmit data.

[0125] In this embodiment, the first STA12 competes for the channel by successfully sending a HEW RTS frame, and the TA in the HEW RTS frame is the address of AP11 or the address of the first STA12 that successfully sends the HEW RTS frame, wherein TA is set to the address of AP11 because all the first STA12, 13 and 14 in the BSS10 know the address of AP11, and no matter which first STA competes for the channel, the control frame for controlling data transmission is sent by AP11. The first STA12 sends a HEW RTS frame, and the first STA13 and 14 receive the HEW RTS frame. Through the RA and TA in the HEW RTS frame, it can be known that BSS10 has successfully competed for the channel and is about to enter the scheduling window. All first STA12, 13 and 14 in BSS10 continue to listen to the channel and prepare to receive the control frame sent by AP11 for controlling data transmission; the second STA20 receives the HEW RTS frame, parses it as an RTS frame of the IEEE 802.11 standard, and can find out that it is not the target receiving end. According to the transmission duration in the HEW RTS frame, it sets its own NAV and enters the waiting mode. After the transmission duration of the BSS ends, it competes for the channel again; AP11 receives the HEW RTS frame and can know that the BSS has successfully competed for the channel, so it sends a control frame for controlling the data transmission of the first STA.

[0126] The device of this embodiment successfully sends a HEW RTS frame to compete for a channel by the first STA, so that both the AP and the first STA in the BSS can enter the scheduling mode and transmit data through the channel competed for, while the second STA sets its own NAV to enter the waiting mode, thereby achieving compatibility between the HEW system and the IEEE 802.11 standard system and improving the channel competition success rate of the BSS.

[0127] Furthermore, in the above Figure 7Based on the above device structure, after the first STA12 successfully sends a HEW RTS frame, AP11 can reply a CTS frame after receiving the HEW RTS frame. The reason is that there may be a first STA, such as the first STA13, which fails to receive the HEW RTS frame sent by the first STA12. Therefore, AP11 sends a CTS frame so that all first STAs in the BSS know that the BSS has successfully competed for the channel and is about to enter the scheduling window. Other first STAs 13 and 14 can learn that the BSS successfully competes for the channel according to the RA and TA in the HEW RTS frame, and also according to the RA in the CTS frame replied by AP11. The first STA12, 13 and 14 continue to listen to the channel to receive the control frame sent by AP11 for controlling data transmission; the second STA20 learns that the channel has been occupied according to the HEW RTS frame or the CTS frame replied by AP11, and sets its own network allocation vector NAV according to the transmission duration in the HEW RTS frame or the CTS frame; AP11 sends a control frame to enable the first STA12, 13 or 14 to perform data transmission.

[0128] Further, in Figure 7 On the basis of the device structure shown, the competition module 32 of the first STA12 is also used for competing for the channel by successfully sending a CTS frame when the listening module 31 detects that the channel is in an idle state; through the CTS frame, the other first STA13 and 14 are informed that the BSS competition channel is successful according to the RA in the CTS frame, and the first STA12, 13 and 14 continue to listen to the channel to receive the control frame sent by the AP11 for controlling data transmission; the second STA20 is informed that the channel has been occupied according to the CTS frame, and sets its own network allocation vector NAV according to the transmission duration in the CTS frame; the AP11 sends the control frame to enable the first STA12, 13 or 14 to transmit data.

[0129] The first STA12 competes for the channel by successfully sending an HEW CTS frame. The first STA12 sends out the HEW CTS frame, and the first STA13 and 14 receive the HEW CTS frame. Through the RA in the HEW CTS frame, it can be known that BSS10 has successfully competed for the channel and is about to enter the scheduling window. All first STA12, 13 and 14 in BSS10 continue to listen to the channel and prepare to receive the control frame sent by AP11 for controlling data transmission; the second STA20 receives the HEW CTS frame, parses it as a CTS frame of the IEEE 802.11 standard, and can find out that it is not the target receiving end. According to the transmission duration in the HEW CTS frame, it sets its own NAV and enters the waiting mode. After the transmission duration to the BSS ends, it competes for the channel again; AP11 receives the HEW CTS frame and can know that the BSS has successfully competed for the channel, so it sends a control frame for controlling the data transmission of the first STA.

[0130] After the first STA12 successfully sends a HEW CTS frame, AP11 can reply a CTS frame for feedback after receiving the HEW CTS frame. The reason is that there may be a first STA, such as the first STA13, that fails to receive the HEW CTS frame sent by the first STA12. Therefore, AP11 sends a CTS frame to make all the first STAs in the BSS know that the BSS has successfully competed for the channel and is about to enter the scheduling window. Other first STAs 13 and 14 can learn that the BSS successfully competes for the channel according to the RA in the HEW CTS frame and the RA in the CTS frame for feedback replied by AP11. The first STA12, 13 and 14 continue to listen to the channel to receive the control frame sent by AP11 for controlling data transmission; the second STA20 learns that the channel has been occupied according to the HEW CTS frame or the CTS frame of user feedback replied by AP11, and sets its own network allocation vector NAV according to the transmission duration in the HEW CTS frame or the CTS frame for feedback; AP11 sends a control frame to enable the first STA12, 13 or 14 to perform data transmission.

[0131] Fig. 8A Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 1 , Figure 8B Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 2 , Figure 8C Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 3 , Fig.8D Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 4 , Fig. 8E Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 5 , Fig.8F Schematic diagram of the competition mechanism of the device for competing for channels of the present invention Figure 6 . Fig. 8A , Figure 8B , Figure 8C , Fig.8D , Fig. 8E as well as Fig.8F The interframe intervals (DIFS and SIFS) in the embodiment and the interframe intervals used in all embodiments are the durations specified in the IEEE 802.11 standard, but other lengths or units of interframe intervals are also applicable and are not specifically limited here.

[0132] like Fig. 8A As shown, the AP monitors the channel. If the channel is idle within the DIFS duration, the backoff process is performed. After the backoff is completed, if the channel is still idle, the AP sends a HEW RTS frame; after the first STA receives the HEW RTS frame, it replies with a HEW CTS frame after the SIFS duration; after the second STA receives the HEW RTS frame and learns that the channel is occupied, it sets its own NAV according to the transmission duration in the HEW RTS frame, and the second STA also sets or updates its own NAV according to the transmission duration in the HEW CTS frame sent by the first STA; after receiving the HEW CTS frame, the AP starts to send data (DATA) after the SIFS duration, and the data here can represent control information, scheduling information, business data, etc. In this embodiment, the AP in the BSS competes for information by successfully sending the HEW RTS frame. It can be seen that the device that needs to send data is the AP, so the AP participates in the channel competition and successfully competes. After the first STA replies to the HEW CTS frame, the AP starts to send data at a short interval.

[0133] like Figure 8BAs shown, the first STA monitors the channel. If it is detected that the channel is idle within the duration of DIFS, a backoff process is performed. After the backoff is completed, if the channel is still idle, the first STA sends a HEW RTS frame; after the AP receives the HEW RTS frame, it replies with a HEW CTS frame after the SIFS duration; after the second STA receives the HEW RTS frame and learns that the channel is occupied, it sets its own NAV according to the transmission duration in the HEW RTS frame, and the second STA also sets or updates its own NAV according to the transmission duration in the HEW CTS frame sent by the AP; after sending the HEW CTS frame, the AP starts to send data (DATA) after the SIFS duration, and the data here can represent control information, scheduling information, business data, etc. In this embodiment, the first STA in the BSS competes for the channel by successfully sending an HEW RTS frame. It can be seen that the device that needs to send data is the AP, but here it is a first STA that competes for the channel. After the first STA competes for the channel, the AP uses the channel. It can be considered that the first STA "helps" the AP to compete for the channel. This is different from the prior art in which the device that needs to send data competes for the channel.

[0134] like Figure 8C As shown, the first STA first listens to the channel. If it is detected that the channel is idle within the duration of DIFS, the backoff process is performed. After the backoff is completed, if the channel is still idle, the first STA sends a HEW RTS frame; after the AP receives the HEW RTS frame, it starts to send data (DATA) after the SIFS duration. The data here can represent control information, scheduling information, business data, etc.; after the second STA receives the HEW RTS frame, it knows that the channel is occupied, and sets its own NAV according to the transmission duration in the HEW RTS frame. This embodiment is different from Figure 8B The difference between the illustrated embodiments is that after receiving the HEW CTS frame, the AP no longer replies with a HEW CTS frame, but directly sends data after waiting for a SIFS period.

[0135] like Fig.8DAs shown, the first STA monitors the channel. If it is detected that the channel is idle within the duration of DIFS, a backoff process is performed. After the backoff is completed, if the channel is still idle, the first STA sends a HEW RTS frame; after the AP receives the HEW RTS frame, it replies with a HEW CTS frame after the SIFS duration. The RA in the HEW CTS frame here is the identification information pre-agreed between the AP and the at least one first STA, and the identification information is A; after other first STAs receive the HEW RTS frame, they reply with a HEW CTS frame after the SIFS duration. The RA in the HEW CTS frame here is the identification information pre-agreed by all devices (including AP and STA) in the BSS, and the identification information is B; after the second STA receives the HEW RTS frame and learns that the channel is occupied, it sets its own NAV according to the transmission duration in the HEW RTS frame, and the second STA also sets or updates its own NAV according to the transmission duration in the HEW CTS frame sent by the AP; when the AP sends the HEW After the CTS frame, data (DATA) is sent after SIFS. The data here can represent control information, scheduling information, business data, etc. Figure 8B The difference is that after receiving the HEW RTS frame, other first STAs in the BSS also reply with a HEW CTS frame, in order to avoid the hidden node problem. In addition, the identification information A and the identification information B may be different to distinguish which device sent the HEW CTS frame.

[0136] like Fig. 8E As shown, the first STA1 monitors the channel. If it is detected that the channel is idle within the duration of DIFS, a backoff process is performed. After the backoff is completed, if the channel is still idle, the first STA sends a Help AP To Send (HTS) frame. The HTS frame is a channel competition frame newly proposed by the present invention. It is sent by the first STA in the BSS to help the AP seize the channel. When the first STA successfully competes for the channel, the control and use rights of the channel are transferred to the AP. It should be noted that the HTS frame can also be called by other names. As long as its function and structure are consistent with the present invention, they are all within the protection scope of the present invention. The present invention does not make any specific limitation on the name of the frame. The structure of the HTS frame can be as follows: Figure 3 or Figure 4 If the HTS frame structure is the same as the HEW RTS frame (such as Figure 3), the RA in the HTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP, and the TA in the HTS frame may also be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the first STA1, the MAC address of the AP, or a Basic Service Set Identifier (BSSID), etc. If the structure of the HTS frame is the same as that of the HEW CTS frame (such as Figure 4 The structure of the HTS frame is the same as that of the first STA, the RA in the HTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP; after receiving the HTS frame, the AP replies with a HEW RTS frame after a SIFS duration, and the RA in the HEW RTS frame may be a value agreed upon in advance between the AP and the first STA. For example, if the AP wants to send information to all first STAs, the RA may be set to the BSSID; if the AP wants to send information to a group of first STAs, the RA may be set to the group ID of the group of first STAs, and the TA in the HEW RTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP; after receiving the HEW RTS frame, the first STA1 and the first STA2 reply with a HEW CTS frame at the same time after a SIFS duration; after receiving the HTS frame and / or the HEW RTS frame and / or the HEW CTS frame, the second STA may know that the channel has been occupied, and may set or update its own NAV according to the Duration value (i.e., transmission duration) in the HTS frame and / or the HEW RTS frame and / or the HEW CTS frame. After receiving the HEW CTS frame sent by the first STA1 and / or the first STA2, the AP starts to send data (DATA) after a SIFS period. The data here can represent control information, scheduling information, business data, etc. In this embodiment, a first STA1 in the BSS competes for the channel by successfully sending an HTS frame. It can be seen that the device that needs to send data is the AP, but here it is a first STA1 that competes for the channel. After the first STA1 competes for the channel, the AP uses the channel. It can be considered that the first STA1 "helps" the AP to compete for the channel. This is different from the prior art in which the device that needs to send data competes for the channel. In addition, the AP notifies all or part of the first STAs in the BSS by sending an HEW RTS frame that it has grabbed the channel; the first STA1 and the first STA2 can avoid the problem of hidden nodes by replying to the HEW CTS frame.

[0137] like Fig.8FAs shown, the AP monitors the channel. If it is detected that the channel is idle within the duration of DIFS, a backoff process is performed. After the backoff is completed, if the channel is still idle, the AP sends a HEW RTS frame. The RA in the HEW RTS frame can be a value agreed upon in advance between the AP and the first STA. For example, if the AP wants to send information to all first STAs, the RA can be set to the BSSID; if the AP wants to send information to a group of first STAs, the RA can be set to the group ID of the group of first STAs. The TA in the HEW RTS frame can be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP; after the first STA1 and the first STA2 receive the HEW RTS frame, they reply with a HEW CTS frame at the same time after the SIFS duration; after the second STA receives the HEW RTS frame and / or the HEW CTS frame, it is learned that the channel is occupied, and then the second STA sets or updates its own NAV according to the transmission duration in the HEW RTS frame and / or the HEW CTS frame. After receiving the HEW CTS frame, the AP starts to send data (DATA) after a SIFS period. The data here can represent control information, scheduling information, business data, etc.

[0138] It should be noted that in the above embodiment, it is the AP that needs to send data, and no matter whether the AP or the first STA competes for the channel, the AP can use the channel to transmit data. Similarly, if a first STA needs to send data, no matter whether the AP or the first STA competes for the channel, the first STA can still use the channel to transmit data, but the channel resources used by the first STA to send data are allocated by the AP, that is, the AP centrally controls the scheduling of the channel. As long as it competes for the channel, the AP can allocate resources to the first STA that needs to send data by sending a control frame. In addition, the AP or the first STA can also compete for the channel by sending a HEWCTS frame, which is not specifically limited here.

[0139] Fig. 9 Flow chart of Embodiment 1 of the method for competing for channels of the present invention, as shown in FIG. Fig. 9 As shown, the method of this embodiment may include:

[0140] Step 101: A first device in a BSS monitors a channel, where the BSS includes an access point AP and at least one first station STA, and the first device is the AP or any one of the first STAs;

[0141] In this embodiment, the BSS is a basic service set in a WLAN system that introduces a scheduling mode. The first device in the BSS monitors a channel. The first device may be any network device in the BSS. The channel usage may be timely known by monitoring the channel.

[0142] Step 102: The first device competes for the channel, and performs centralized control scheduling through the AP so that at least one network device in the BSS can use the channel to transmit data. The AP and the at least one first STA both participate in the competition for the channel.

[0143] In this embodiment, the first device in the BSS competes for the channel, and all network devices in the BSS can use the channel to transmit data. The BSS is a basic service set of the HEW system, which can include an AP and one or more first STAs, wherein the first STA is a station of the HEW standard and can support technologies such as OFDMA and scheduling. The first device here can be an AP or a first STA, and all network devices in the BSS participate in the competition for the channel, that is, they all listen to the channel. In addition to the entire BSS, the network devices competing for the channel also include a second STA, which does not belong to the BSS and can be any STA in the IEEE 802.11 series of standards. The second STA will cause interference to the first STA. Therefore, when the BSS successfully competes for the channel, the second STA enters a waiting mode and starts competing for the channel after the scheduling mode of the BSS ends, thereby avoiding interference with the first STA. After the AP or the first STA in the BSS competes for the channel, the control right of the channel is handed over to the AP, and the AP centrally controls and schedules the channel and allocates the right to use the channel to the first STA. Therefore, after any device in the BSS competes for the channel, it means that the channel competition is successful, and all network devices in the BSS can use the channel to transmit data.

[0144] In this embodiment, all network devices in the BSS, including AP and STA, participate in the competition for channels. After any device listens to the channel and competes for the channel, the AP can centrally control and schedule these network devices, so that in the subsequent period of time, all network devices in the BSS can use the channel they competed for to transmit data without having to compete again, thereby improving the channel competition success rate of network devices in the BSS and the data transmission efficiency.

[0145] Furthermore, in step 102 of the above method embodiment, the first device competes for the channel, and the specific implementation method may be: the first device detects that the channel is in an idle state, and competes for the channel by successfully sending a channel competition frame. In this embodiment, the network devices in the BSS compete for the channel by successfully sending a channel competition frame. When multiple network devices compete for the channel at the same time, they may send a channel competition frame when they detect that the channel is idle. The device that can successfully send a channel competition frame is the device that successfully competes for the channel.

[0146] Preferably, the above-mentioned channel contention frame may be an RTS frame, and the RTS frame includes transmission duration, RA and TA. In order to keep consistent with the format of the existing RTS frame, the RTS frame of this embodiment may also include frame control information and FCS information, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is the identification information pre-agreed between the AP and the at least one first STA. Optionally, the transmission duration may also be the maximum duration allowed to be set. In the present invention, there may be two ways to limit the maximum duration allowed to be set, one is based on the maximum limit on the transmission duration pre-agreed within the local area; the other is based on the maximum value that can be set according to the number of bits occupied by the transmission duration. The format of the RTS frame is as follows: Figure 3 As shown, the RTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 20 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, 6 bytes of TA, and 4 bytes of FCS information. The format of the HEW RTS frame is completely consistent with the RTS frame format in the IEEE 802.11 standard, so that all STAs, including the first STA and the second STA, can accept and demodulate the RTS frame. Each HEW RTS frame occupies a bandwidth of 20MHz, and there are 64 subcarriers on this 20MHz bandwidth. The number and position of the pilot subcarriers are also the same as the RTS frame in the IEEE 802.11 standard. If there is an 80MHz bandwidth, the HEW RTS frame is sent separately on each 20MHz bandwidth. The difference from the RTS frame in the IEEE 802.11 standard is that in the HEW RTS frame, the transmission duration is the scheduling duration required by the BSS, that is, after the BSS successfully competes for the channel, the total duration required for the AP and the first STA belonging to the BSS to transmit data. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS can obtain the identification information, so that when the first STA demodulates the identification information in the RTS frame, it knows that this is a HEW RTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA can be set to any identification information except the MAC address of the second STA to avoid the second STA mistakenly thinking that it is an RTS frame sent to itself, for example, it can be the MAC address of the AP, the identification information of the BSS, the group number of the first STA, etc.

[0147] Optionally, the channel contention frame may be a CTS frame, and the CTS frame includes a transmission duration and RA. In order to keep consistent with the format of the existing CTS frame, the CTS frame of this embodiment may also include frame control information and FCS information, wherein the transmission duration is the scheduling duration required by the network device in the BSS, and the RA is identification information pre-agreed between the AP and the at least one first STA. Optionally, the transmission duration may also be the maximum duration allowed to be set. In the present invention, there are two ways to limit the maximum duration allowed to be set. One is based on the maximum limit on the transmission duration pre-agreed within the local area; the other is based on the maximum value that can be set according to the number of bits occupied by the transmission duration. The format of the CTS frame is as follows: Figure 4 As shown, the CTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 14 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, and 4 bytes of FCS information. The format of the HEW CTS frame is completely consistent with the CTS frame format in the IEEE 802.11 standard, so that all STAs, including the first STA and the second STA, can accept and demodulate the CTS frame. The difference from the CTS frame in the IEEE 802.11 standard is that in the HEW CTS frame, the transmission duration is the scheduling duration required by the BSS, that is, the total duration required for the AP and the first STA belonging to the BSS to transmit data after the BSS successfully competes for the channel. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS can obtain the identification information, so that when the first STA demodulates the identification information in the CTS frame, it knows that this is a HEW CTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA cannot be set to the MAC address of the second STA to avoid the second STA mistakenly thinking that it is a CTS frame sent to itself, nor can it be set to the MAC address of the AP to distinguish the HEW CTS frame from the CTS frame sent by the second STA to the AP.

[0148] In this embodiment, by setting the HEW RTS frame and the HEW CTS frame with the same format as that in the IEEE 802.11 standard, the HEW system is compatible with other IEEE 802.11 standards, which is easy to implement. The different contents of the same field are set so that the first station and the second station can clearly demodulate and know the next behavior, which solves the compatibility problem between the existing RTS / CTS mechanism and the WLAN system introducing the scheduling mode.

[0149] Several specific embodiments are used below to explain in detail the technical solution of the method embodiment shown in FIG. 8 .

[0150] The application scenarios of the following embodiments are as follows Figure 5 shown.

[0151] Fig.10 Flow chart of Embodiment 2 of the method for competing for channels of the present invention, as shown in FIG. Fig.10 As shown, in this embodiment, the AP in the BSS competes for the channel. The method of this embodiment may include:

[0152] s201, all network devices listen to the channel;

[0153] In this embodiment, all network devices monitor the channel, and all network devices include the AP and the first STA belonging to the same BSS, and also include the second STA.

[0154] s202, the AP detects that the channel is idle and competes for the channel by successfully sending an RTS frame;

[0155] In this embodiment, the AP in the BSS detects that the channel is in an idle state, and competes for the channel by successfully sending an RTS frame. The TA in the RTS frame is the address of the AP. The RTS frame can be a frame dedicated to the HEW system. After the AP successfully sends the RTS frame, the BSS to which it belongs can transmit data through the channel that it competes for.

[0156] s203, the first STA learns that the BSS successfully competes for the channel according to the RA and TA in the RTS frame, and continues to monitor the channel to receive the control frame sent by the AP for controlling data transmission;

[0157] In this embodiment, after successfully competing for the channel, the three first STAs belonging to the BSS receive the HEW RTS frame. Through the RA and TA in the HEW RTS frame, it can be known that the BSS has successfully competed for the channel and is about to enter the scheduling window, so it continues to listen to the channel and prepares to receive the control frame sent by the AP for controlling data transmission.

[0158] Optionally, after receiving the HEW RTS sent by the AP, the first STA may also reply a CTS frame to the AP to avoid the hidden node problem. The way of replying the CTS frame may be that the three first STAs reply together or in sequence, and there is no specific limitation here.

[0159] s204, the second STA learns that the channel has been occupied according to the RTS frame, and sets its own NAV according to the transmission duration in the RTS frame;

[0160] In this embodiment, the second STA receives the HEW RTS frame and parses it as an RTS frame of the IEEE 802.11 standard. It can be found that the channel is occupied and it is not the target receiving end. According to the transmission duration in the HEW RTS frame, it sets its own NAV and enters the waiting mode. After the transmission duration to the BSS ends, it competes for the channel again.

[0161] s205. The AP sends a control frame to enable at least one first STA to perform data transmission.

[0162] In this embodiment, the AP sends a control frame to the first STA to enable at least one first STA to transmit data. The control frame may be sent only to the first STA that needs to be scheduled or to all first STAs, which is not specifically limited here.

[0163] In this embodiment, the AP successfully sends a HEW RTS frame to compete for a channel, so that the first STA in the BSS can enter the scheduling mode and transmit data through the channel competed for, while the second STA sets its own NAV to enter the waiting mode, thereby achieving compatibility between the HEW system and the IEEE 802.11 standard system and improving the channel competition success rate of the BSS.

[0164] Further, in the above method embodiment, the AP competes for the channel by successfully sending an HEW RTS frame. Optionally, the AP can also compete for the channel by successfully sending an HEW CTS frame; the first STA learns from the RA in the HEW CTS frame that the BSS has successfully competed for the channel, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns from the HEW CTS frame that the channel has been occupied, and sets its own NAV according to the transmission duration in the HEW CTS frame; the AP sends a control frame to enable at least one first STA to perform data transmission.

[0165] Fig.11 Flow chart of Embodiment 3 of the method for competing for channels of the present invention, as shown in FIG. Fig.11 As shown, in this embodiment, any first STA in the BSS, for example, the first STA12, the method of this embodiment may include:

[0166] s301, all network devices listen to the channel;

[0167] In this embodiment, the process of all network devices monitoring the channel is similar to step s201 of the above method embodiment, and will not be described in detail here.

[0168] s302, the first STA detects that the channel is in an idle state, and competes for the channel by successfully sending an RTS frame;

[0169] In this embodiment, any first STA in the BSS, such as the first STA12, senses that the channel is in an idle state and competes for the channel by successfully sending an RTS frame. The TA in the RTS frame is the address of the AP or the address of the first STA12 that successfully sends the RTS. The RTS frame can be a frame dedicated to the HEW system. After the first STA12 successfully sends the RTS frame, the BSS to which it belongs can transmit data through the channel that it competes for.

[0170] s303, other first STAs learn that the BSS successfully competes for the channel according to the RA and TA in the RTS frame, and the first STAs continue to monitor the channel to receive the control frame sent by the AP for controlling data transmission;

[0171] In this embodiment, other first STAs in the BSS, i.e., first STAs 13 and 14, receive the HEW RTS frame. Through the RA and TA in the HEW RTS frame, it can be known that the BSS has successfully competed for the channel and is about to enter the scheduling window, so it continues to listen to the channel and prepares to receive the control frame sent by the AP for controlling data transmission.

[0172] s304, the second STA learns that the channel has been occupied according to the RTS frame, and sets its own NAV according to the transmission duration in the RTS frame;

[0173] In this embodiment, the process in which the second STA learns that the channel has been occupied according to the RTS frame and sets its own NAV according to the transmission duration in the RTS frame is similar to step s204 of the above method embodiment and will not be described again.

[0174] s305. The AP sends a control frame to enable at least one first STA to perform data transmission.

[0175] In this embodiment, the process in which the AP sends a control frame to enable at least one first STA to perform data transmission is similar to step s205 of the above method embodiment, and is not described again herein.

[0176] In this embodiment, the first STA successfully sends a HEW RTS frame to compete for a channel, so that both the AP and the first STA in the BSS can enter the scheduling mode and transmit data through the channel competed for, while the second STA sets its own NAV to enter the waiting mode, thereby achieving compatibility between the HEW system and the IEEE 802.11 standard system and improving the channel competition success rate of the BSS.

[0177] Furthermore, before step s303 of the above method embodiment, the AP may also reply a CTS frame according to the HEW RTS frame sent by the first STA. The reason is that there may be a first STA, such as the first STA13, which fails to receive the HEW RTS frame sent by the first STA12. Therefore, the AP sends a CTS frame to let all the first STAs in the BSS know that the BSS has successfully competed for the channel and is about to enter the scheduling window.

[0178] Further, in the above method embodiment, the first STA competes for the channel by successfully sending an HEW RTS frame. Optionally, the first STA can also compete for the channel by successfully sending an HEW CTS frame; other first STAs learn that the BSS has successfully competed for the channel based on the RA in the HEW CTS frame, and the first STA in the BSS continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel is occupied based on the HEW CTS frame, and sets its own NAV based on the transmission duration in the HEW CTS frame; the AP sends a control frame to enable at least one first STA to transmit data.

[0179] Above Figure 2 , Figure 6 as well as Figure 7 The structure of the device for competing for channels shown includes multiple modules. In the implementation of the device entity, the functions of these modules can be implemented by a transmitter, a processor and a receiver respectively. According to the structure of the device for competing for channels, several embodiments are used below to illustrate the structure of the device for competing for channels.

[0180] Furthermore, in the above step s302, the first STA detects that the channel is in an idle state and can also compete for the channel by successfully sending an HTS frame. The structure of the HTS frame can be as follows: Figure 3 or Figure 4 If the HTS frame structure is the same as the HEW RTS frame (such as Figure 3 ), the RA in the HTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP, and the TA in the HTS frame may also be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the first STA1, the MAC address of the AP, or a Basic Service Set Identifier (BSSID), etc. If the structure of the HTS frame is the same as that of the HEW CTS frame (such as Figure 4), the RA in the HTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP. After receiving the HTS frame, the AP may send a HEW RTS frame. The RA in the HEW RTS frame may be a value agreed upon in advance between the AP and the first STA. For example, if the AP wants to send information to all first STAs, the RA may be set to the BSSID; if the AP wants to send information to a group of first STAs, the RA may be set to the group ID of the group of first STAs. The TA in the HEW RTS frame may be a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP. After receiving the HEW RTS frame, all first STAs in the BSS reply with a HEW CTS frame at the same time. The RA in the HEW CTS frame is a value agreed upon in advance between the AP and the first STA, preferably the MAC address of the AP, to avoid the problem of hidden nodes.

[0181] Fig.12 FIG. 1 is a schematic diagram of a structure of a device for competing for a channel in Embodiment 1. Fig.12 As shown, the device of this embodiment belongs to a BSS, and the BSS includes an access point AP and at least one first station STA. The AP and the at least one first STA both participate in competing for a channel. The device is the AP or any one of the first STAs. The device includes: a processor 11, which is used to listen to the channel; compete for the channel, and perform centralized control scheduling through the AP so that at least one network device in the BSS can use the channel to transmit data.

[0182] In this embodiment, the device competing for the channel belongs to the basic service set BSS, which is a basic service set in a WLAN system that introduces a scheduling mode, including an access point AP and at least one first station STA, wherein the AP and the at least one first STA both participate in the competition for the channel, wherein the first STA is a station of the HEW standard, and can support OFDMA, scheduling and other technologies, whether the AP or the first STA competes for the channel, the entire BSS can use the channel for data transmission. In addition to the entire BSS, the network device competing for the channel also includes a second STA, which does not belong to the BSS and can be any STA in the IEEE 802.11 series of standards. The second STA will cause interference to the first STA, so when the BSS successfully competes for the channel, the second STA enters a waiting mode, and does not start competing for the channel until the scheduling mode of the BSS ends, thereby avoiding interference with the first STA. The device of this embodiment can be an AP in the BSS, or any first STA in the BSS. The processor 11 of the device competing for the channel needs to listen to the channel before the device competes for the channel to determine the state of the channel. After the processor 11 competes for the channel, all network devices in the BSS can use the channel to transmit data.

[0183] The device of this embodiment acts as any network device in the BSS. It listens to the channel and competes for the channel. The AP then centrally controls and schedules the network devices in the BSS, so that all network devices in the BSS can use the channel to transmit data within a subsequent period of time without having to compete again, thereby improving the channel competition success rate of network devices in the BSS and the data transmission efficiency.

[0184] Fig.13 FIG. 1 is a schematic diagram of a second embodiment of a device for competing for a channel. Fig.13 As shown, in Fig.12 Based on the device structure shown, further, the device of this embodiment also includes: a transmitter 12, which is used to successfully send a channel contention frame to enable the device to compete for the channel after the processor detects that the channel is in an idle state.

[0185] Preferably, the transmitter 12 may compete for the channel by successfully sending an RTS frame, wherein the RTS frame includes a transmission duration, RA, and TA. In order to maintain consistency in format with an existing RTS frame, the RTS frame of this embodiment may further include frame control information and FCS information, wherein the transmission duration is the scheduling duration required by the BSS, and RA is identification information pre-agreed upon by the AP and at least one first STA. Figure 3 This is a schematic diagram of the RTS frame format, such as Figure 3As shown, the RTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 20 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, 6 bytes of TA, and 4 bytes of FCS information. The format of the HEW RTS frame is completely consistent with the RTS frame format in the IEEE 802.11 standard, so that all STAs, including the first STA and the second STA, can accept and demodulate the RTS frame. Each HEW RTS frame occupies a bandwidth of 20MHz, and there are 64 subcarriers on this 20MHz bandwidth. The number and position of the pilot subcarriers are also the same as the RTS frame in the IEEE 802.11 standard. If there is an 80MHz bandwidth, the HEW RTS frame is sent separately on each 20MHz bandwidth. The difference from the RTS frame in the IEEE 802.11 standard is that in the HEW RTS frame, the transmission duration is the scheduling duration required by the BSS, that is, after the BSS successfully competes for the channel, the total duration required for the AP and the first STA belonging to the BSS to transmit data. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS know the identification information in advance, so that when the first STA demodulates the identification information in the RTS frame, it knows that this is a HEW RTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA can be set to any identification information except the MAC address of the second STA to avoid the second STA mistakenly thinking that it is an RTS frame sent to itself, for example, it can be the MAC address of the AP, the identification information of the BSS, the group number of the first STA, etc.

[0186] Optionally, the transmitter 12 may also compete for the channel by successfully sending a CTS frame, where the CTS frame includes a transmission duration and RA. In order to maintain consistency in format with an existing CTS frame, the CTS frame of this embodiment may also include frame control information and FCS information, where the transmission duration is the scheduling duration required by the BSS, and RA is identification information pre-agreed upon by the AP and at least one first STA. Figure 4 This is a schematic diagram of the CTS frame format, such as Figure 4As shown, the CTS frame of this embodiment can be a frame dedicated to the HEW system, with a total of 14 bytes, 2 bytes of control information, 2 bytes of transmission duration, 6 bytes of RA, and 4 bytes of FCS information. The format of the HEWCTS frame is completely consistent with the CTS frame format in the IEEE 802.11 standard, so that all STAs, including the first STA and the second STA, can accept and demodulate the CTS frame. The difference from the CTS frame in the IEEE 802.11 standard is that in the HEWCTS frame, the transmission duration is the scheduling duration required by the BSS, that is, after the BSS successfully competes for the channel, the total duration required for the AP and the first STA belonging to the BSS to transmit data. The second STA sets NAV according to the transmission duration to determine the waiting time, and the first STA determines the size of the scheduling window according to the transmission duration; RA is the identification information pre-agreed by the AP and the first STA, and all the first STAs in the BSS can obtain the identification information, so that when the first STA demodulates the identification information in the CTS frame, it knows that this is a HEW CTS frame, and knows that the BSS has competed for the channel and is about to enter the scheduling window. RA cannot be set to the MAC address of the second STA to avoid the second STA mistakenly thinking that it is a CTS frame sent to itself, nor can it be set to the MAC address of the AP to distinguish the HEW CTS frame from the CTS frame sent by the second STA to the AP.

[0187] In this embodiment, HEW RTS frames and HEW CTS frames with the same format as those in the IEEE 802.11 standard are set to achieve compatibility between the HEW system and other IEEE 802.11 standards. This is easy to implement. Different contents of the same field are set so that the first station and the second station can clearly demodulate and know the next behavior, thereby solving the compatibility problem between the existing RTS / CTS mechanism and the WLAN that introduces the scheduling mode.

[0188] Fig.14 FIG. 1 is a schematic diagram of a structure of a third embodiment of a device for competing for a channel. Fig.14As shown, the device for competing for the channel is an AP, and the AP includes: a processor 21, a transmitter 22 and a receiver 23, wherein the processor 21 is used to listen to the channel; the transmitter 22 is used to successfully send an RTS frame to enable the AP to compete for the channel after the processor 21 of the AP hears that the channel is in an idle state, and the TA in the RTS frame is the address of the AP; through the RTS frame, the at least one first STA learns that the BSS successfully competes for the channel according to the RA and the TA in the RTS frame, and continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission; the second STA learns that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame; the control frame is sent to enable the at least one first STA to perform data transmission; the receiver 23 is used to receive the CTS frame replied by the at least one first STA.

[0189] The device of this embodiment can be used to perform Figures 9 to 11 The technical solution of the method embodiment shown will not be described in detail here.

[0190] Furthermore, the transmitter 22 can also be used to compete for the channel by successfully sending a CTS frame, and through the CTS frame, enable the at least one first STA to know that the BSS has successfully competed for the channel according to the RA in the CTS frame, and continue to listen to the channel to receive the control frame sent by the AP for controlling data transmission; enable the second STA to know that the channel has been occupied according to the CTS frame, and set its own network allocation vector NAV according to the transmission duration in the CTS frame; send the control frame to enable the at least one first STA to transmit data.

[0191] Fig.15 FIG. 4 is a schematic diagram of a fourth embodiment of a device for competing for a channel. Fig.15As shown, the device competing for the channel is any first STA in the BSS, and the first STA includes: a processor 31 and a transmitter 32, wherein the processor 31 is used to listen to the channel; the transmitter 32 is used to successfully send an RTS frame to enable the first STA to compete for the channel after the processor of the first STA hears that the channel is in an idle state, and the TA in the RTS frame is the address of the AP or the address of the first STA that successfully sends the RTS; through the RTS frame, other first STAs are informed that the BSS successfully competes for the channel according to the RA and the TA in the RTS frame, and the at least one first STA in the BSS continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STA is the first STA in the BSS except the first STA that successfully sends an RTS frame; the second STA is informed that the channel has been occupied according to the RTS frame, and sets its own network allocation vector NAV according to the transmission duration in the RTS frame; the AP sends the control frame to enable the at least one first STA to perform data transmission.

[0192] The device of this embodiment can be used to perform Figures 9 to 11 The technical solution of the method embodiment shown will not be described in detail here.

[0193] Furthermore, the transmitter 32 can also be used to compete for the channel by successfully sending a CTS frame, and through the CTS frame, enable other first STAs to know that the BSS has successfully competed for the channel according to the RA in the CTS frame, and the at least one first STA continues to listen to the channel to receive the control frame sent by the AP for controlling data transmission, wherein the other first STA is the first STA in the BSS except the first STA that successfully sends the CTS frame; enable the second STA to know that the channel has been occupied according to the CTS frame, and set its own network allocation vector NAV according to the transmission duration in the CTS frame; enable the AP to send the control frame to enable the at least one first STA to transmit data.

[0194] Optionally, after the first STA successfully sends an RTS frame or a CTS frame, the AP of the BSS may reply with a CTS frame to ensure that all first STAs in the BSS are informed that they have successfully competed for the channel.

[0195] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0196] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0197] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0198] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0199] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for competing for a channel, characterized in that: include: The station STA listens to the channel; When the STA detects that the channel is in an idle state, the STA obtains the channel through competition; The STA transfers the control right of the channel to the access point AP, so that the channel is centrally controlled and scheduled by the AP.

2. The method according to claim 1, characterized in that After the STA transfers the control right of the channel to the AP, the method further includes: The STA receives a scheduling frame sent by the AP, where the scheduling frame is a control frame or a data frame; The STA transmits data according to the scheduling frame.

3. The method according to claim 1 or 2, characterized in that: The STA obtains the channel through competition, including: the STA obtains the channel by sending a channel competition frame; wherein the channel competition frame includes a transmission duration and a receiving end address RA, wherein the transmission duration is a scheduling duration required by the AP and / or at least one of the STAs in the basic service set BSS, or a maximum duration allowed to be set, and the RA is identification information pre-agreed upon by the AP and the STA.

4. The method according to claim 3, characterized in that The RA is the media access control MAC address of the AP.

5. The method according to claim 3, characterized in that: The channel contention frame also includes a transmitter address TA, where the TA is identification information pre-agreed between the AP and the STA.

6. The method according to claim 5, characterized in that The TA is the MAC address of the STA, the MAC address of the AP, or the identifier BSSID of the BSS.

7. The method according to claim 3, characterized in that The channel contention frame is any one of the following frames: a request to send RTS frame, a permission to send CTS frame, and a help AP send HTS frame.

8. A method for competing for a channel, characterized in that: include: The access point AP receives the channel control right transferred by the station STA, where the STA is the STA that obtains the channel through competition; The AP performs centralized control and scheduling on the channels.

9. The method according to claim 8, characterized in that The AP performs centralized control and scheduling on the channel, including: the AP sends a scheduling frame, and the scheduling frame is a control frame or a data frame.

10. The method according to claim 9, characterized in that After the AP sends the scheduling frame, the method further includes: the AP receiving data transmitted by the STA according to the scheduling frame.

11. A station STA, characterized in that: Comprising means for performing the method of any one of claims 1 to 7.

12. An access point AP, characterized in that: Comprising means for performing the method of any one of claims 8-10.

13. A computer-readable storage medium storing a computer program, characterized in that: The computer program is used to cause a computer device to execute instructions of any one of the methods of claims 1-10.

14. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a computer device, implements the instructions of any one of the methods of claims 1 to 10.