CN107210847B - Channel competition method and related device - Google Patents

Channel competition method and related device Download PDF

Info

Publication number
CN107210847B
CN107210847B CN201580075906.2A CN201580075906A CN107210847B CN 107210847 B CN107210847 B CN 107210847B CN 201580075906 A CN201580075906 A CN 201580075906A CN 107210847 B CN107210847 B CN 107210847B
Authority
CN
China
Prior art keywords
channel
bss
current channel
station
signal detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580075906.2A
Other languages
Chinese (zh)
Other versions
CN107210847A (en
Inventor
罗俊
马驰翔
林英沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107210847A publication Critical patent/CN107210847A/en
Application granted granted Critical
Publication of CN107210847B publication Critical patent/CN107210847B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Abstract

A channel competition method and related device are provided, the method comprises: the access point judges whether a channel competition packet sent by any station of the basic service set BSS is analyzed on the current channel; if yes, the access point determines that the BSS successfully competes for the current channel; and broadcasting a downlink physical layer protocol data unit (PPDU) or a trigger frame to the BSS by using the current channel successfully contended, wherein the downlink PPDU or the trigger frame comprises uplink or downlink scheduling information aiming at a plurality of stations of the BSS. By implementing the technical scheme, the success rate of channel competition of the AP can be improved.

Description

Channel competition method and related device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a channel contention method and a related apparatus.
Background
AN 802.11 ac-based wireless local area network (W L AN) system is referred to as AN 802.11ac system, where the 802.11ac system employs AN Orthogonal Frequency Division Multiplexing (OFDM) modulation method, and the 802.11ac system may include multiple Basic Service Sets (BSSs), each BSS may include AN Access Point (AP) and a Station (STA) associated with the AP, and the AP or the STA may detect signal detection energy of a current Channel when data transmission is required, and perform Channel contention CCA and perform data transmission during Channel contention if the signal detection energy is less than a Clear Channel Assessment (Clear Channel Assessment) threshold, where a smaller signal detection energy indicates that the current Channel is more idle.
With the wide application of the wireless local area network, the networking coverage of the wireless local area network gradually changes from a scene with few users, such as an office or home local area network, to a scene with dense users, such as a convention center, a stadium, an airport, a high school district, and the like, and the traditional 802.11ac system cannot meet the requirements of users on wireless speed and network performance in the scene. To provide better wireless speed and network performance to users, 802.11ax systems have emerged. The 802.11ax system employs an Orthogonal Frequency Division Multiple Access (OFDMA) modulation scheme. In an 802.11ax system, each BSS may include an AP and multiple STAs associated with the AP, and after the AP schedules time-frequency resources for the STAs, the STAs may perform uplink data transmission. In practice, it is found that the AP needs to successfully compete for the channel to perform time-frequency resource scheduling on the STA, and if the AP fails to compete for the channel, the AP cannot perform time-frequency resource scheduling on the STA, thereby affecting uplink data transmission of the STA.
Disclosure of Invention
The embodiment of the invention provides a channel competition method and a related device, which can improve the channel competition success probability of an AP.
A first aspect provides a channel contention method, including:
the access point judges whether a channel competition packet sent by any station of the basic service set BSS is analyzed on the current channel; if yes, the access point determines that the BSS successfully competes for the current channel;
and broadcasting a downlink physical layer protocol data unit (PPDU) or a trigger frame to the BSS by using the current channel successfully contended, wherein the downlink PPDU or the trigger frame comprises uplink or downlink scheduling information aiming at a plurality of stations of the BSS.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after determining that the current channel is successfully contended by the BSS and before broadcasting a downlink PPDU or a trigger frame to the BSS by using the successfully contended current channel, the method further includes:
recording the identifiers of a plurality of stations of the BSS which analyze the channel competition packet sent by the current channel successfully competed in the preset time period;
the broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended includes:
determining scheduling information of a plurality of sites corresponding to the identifications of the plurality of sites;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations;
and broadcasting a downlink PPDU (pulse protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to the BSS by using the current channel successful in competition.
With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after determining that the current channel is successfully contended by the BSS and before broadcasting a downlink PPDU or a trigger frame to the BSS by using the successfully contended current channel, the method further includes:
counting channel competition packets analyzed in a preset time period and sent by the station of the BSS in the current channel successfully competed; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
the broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended includes:
determining a plurality of stations to be scheduled according to the channel state information included in the analyzed channel competition packet;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
With reference to the first aspect, the first possible implementation manner of the first aspect, and any one implementation manner of the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the channel contention packet is sent by the station when the station needs to perform data transmission and it is detected that signal detection energy of the current channel is smaller than a first preset threshold;
before the broadcasting the downlink PPDU or the trigger frame to the BSS by using the current channel successfully contended, the method further includes:
detecting the signal detection energy of the current channel successful in competition; judging whether the detected signal detection energy of the current channel successful in competition is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the current channel successfully competes with the current channel, the step of broadcasting the downlink PPDU or the trigger frame to the BSS is executed.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the detecting signal detection energy of the current channel for which the contention succeeds includes:
detecting the signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting the signal detection energy of each sub-band of the current channel successful in competition.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, when detecting signal detection energy of each subband of the current channel in which the contention succeeds, the determining whether the detected signal detection energy of the current channel in which the contention succeeds is smaller than a second preset threshold includes:
and judging whether the signal detection energy of any sub-band of the current channel successful in competition is smaller than a second preset threshold, if so, determining that the detected signal detection energy of the current channel successful in competition is smaller than the second preset threshold, and if not, determining that the detected signal detection energy of the current channel successful in competition is larger than or equal to the second preset threshold.
A second aspect provides another channel contention method, comprising:
when any station in the basic service set BSS needs to perform data transmission and does not analyze a channel competition packet sent by an access point AP of the BSS in a current channel, sending the channel competition packet in the current channel so as to ensure that the BSS successfully competes for the current channel when the AP of the BSS analyzes the channel competition packet in the current channel;
receiving a PPDU (physical layer protocol data unit) or a trigger frame sent by the AP of the BSS at the current channel successfully contended;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site;
and if so, performing uplink or downlink data transmission according to the scheduling information aiming at the site and included in the downlink PPDU or the trigger frame.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the channel contention packet includes channel state information of the current channel, so that the AP of the BSS determines a target station to be scheduled according to the channel state information.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, before the sending the channel contention packet on the current channel, the method includes:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, executing the step of sending a channel competition packet in the current channel;
if the downlink PPDU or the trigger frame includes scheduling information for the station, before performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame, the method further includes:
detecting second signal detection energy of the current channel successful in competition; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the number of the uplink data transmission frames is smaller than the number of the downlink data transmission frames, executing the step of transmitting uplink or downlink data according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the detecting energy of the second signal of the current channel that successfully competes includes:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by scheduling information of the station, wherein the sub-band is included in the PPDU or the trigger frame in the current channel which is successful in competition.
A third aspect provides another channel contention method, including:
when an access point needs to perform data transmission and a channel competition packet sent by any station of a Basic Service Set (BSS) is not analyzed in a current channel, sending the channel competition packet in the current channel to perform channel competition;
and after the current channel is successfully contended, according to the receiving condition of a response frame sent by any station of the BSS, broadcasting a downlink physical layer protocol data unit (PPDU) or a trigger frame to the BSS by using the current channel successfully contended, wherein the downlink PPDU or the trigger frame comprises scheduling information aiming at a plurality of stations of the BSS.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the sending the downlink PPDU or the trigger frame according to a receiving condition of a response frame sent by any station of the BSS includes:
judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed;
if yes, broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended.
With reference to the third aspect, in a second possible implementation manner of the third aspect, the sending the downlink PPDU or the trigger frame according to a receiving condition of a response frame sent by any station of the BSS includes:
judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed; the response frame comprises the channel state information of the current channel which is successfully contended and detected by the corresponding station and the identifier of the station;
if a response frame sent by a station of the BSS is received on the current channel successfully competed, determining a plurality of stations to be scheduled according to channel state information and station identifiers included in the response frame;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
With reference to the third aspect, the first possible implementation manner of the third aspect, and any one implementation manner of the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, before the sending the channel contention packet on the current channel, the method includes: detecting a first signal detection energy of the current channel; judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, executing the step of sending a channel competition packet in the current channel;
the response frame is sent to the AP of the BSS by using the current channel when the station of the BSS resolves a channel contention packet sent by the AP of the BSS in the current channel and detects that signal detection energy of the current channel is less than a first preset threshold;
before the broadcasting the downlink PPDU or the trigger frame to the BSS by using the current channel successfully contended, the method further includes:
detecting a second signal detection energy of the current channel; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the second signal detection energy is less than a second preset threshold, executing a step of broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successful in competition.
A fourth aspect provides another channel contention method, comprising:
any station in the basic service set BSS judges whether a channel competition packet sent by an access point AP of the BSS is analyzed in a current channel; if yes, determining that the BSS successfully competes for the current channel;
sending a response frame to the AP of the BSS on the current channel successfully contended, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended when receiving the response frame;
receiving a downlink physical layer protocol data unit (PPDU) sent by an AP of the BSS at the current channel successfully contended;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site;
and if so, performing uplink or downlink data transmission according to the scheduling information aiming at the site and included in the downlink PPDU or the trigger frame.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, after determining that the contention for the current channel by the BSS succeeds, and before the determining that the contention for the current channel succeeds sends a response frame to the AP of the BSS, the method further includes:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than the first preset threshold or not;
and if so, executing the step of sending a response frame to the AP of the BSS on the current channel successfully contended.
With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, after determining that the current channel contended by the BSS succeeds, and before the current channel contended successfully sends a response frame to the AP of the BSS, the method further includes:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than the first preset threshold or not;
if yes, executing the step of sending a response frame to the AP of the BSS on the current channel successful in competition;
the sending a response frame to the AP of the BSS on the current channel on which the contention succeeds, includes:
and randomly selecting a sub-channel from the current channels successfully contended, and sending the response frame to the AP of the BSS by using the sub-channel, where the response frame includes the channel state information of the current channel successfully contended, which is detected by the AP, and the identifier of the AP, so that the AP of the BSS determines the station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
With reference to the first possible implementation manner of the fourth aspect or the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, after determining that the downlink PPDU or the trigger frame includes the scheduling information for the local station, and before performing uplink or downlink data transmission according to the scheduling information for the local station included in the downlink PPDU or the trigger frame, the method further includes:
detecting second signal detection energy of the current channel successful in competition;
judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the number of the uplink data transmission frames is smaller than the number of the downlink data transmission frames, performing uplink or downlink data transmission according to the scheduling information included in the downlink PPDU or the trigger frame.
With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the detecting the second signal detection energy of the current channel that successfully competes includes:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by the scheduling information of the station, which is included in the PPDU or the trigger frame in the current channel successful in contention.
A fifth aspect provides a communication apparatus, which is an access point AP or a processor applied in the access point AP, including:
the channel competition module is used for judging whether a channel competition packet sent by any station of the basic service set BSS is analyzed on a current channel; if yes, determining that the BSS successfully competes for the current channel;
a data transmission module, configured to broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS by using the current channel successfully contended, where the downlink PPDU or the trigger frame includes uplink or downlink scheduling information for multiple stations of the BSS.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the channel contention module is further configured to record, after determining that the current channel is successfully contended by the BSS, identifiers of multiple stations of the BSS, which analyze that a channel contention packet is sent on the successfully contended current channel within a preset time period;
the data transmission module is further configured to determine scheduling information of a plurality of stations corresponding to the identifiers of the plurality of stations; generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations; and broadcasting a downlink PPDU (pulse protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to the BSS by using the current channel successful in competition.
With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the channel contention module is further configured to, after determining that the current channel is successfully contended by the BSS, count a channel contention packet sent by a station of the BSS and sent on the current channel that is successfully contended, where the channel contention packet is analyzed within a preset time period; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
the data transmission module is further configured to determine a plurality of stations to be scheduled according to the channel state information included in the analyzed channel contention packet; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
With reference to the fifth aspect, the first possible implementation manner of the fifth aspect, and the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the channel contention packet is sent by the station when the station needs to perform data transmission and it is detected that the signal detection energy of the current channel is smaller than a first preset threshold;
the communication apparatus further includes:
the signal detection module is used for detecting the signal detection energy of the current channel successful in competition;
the data transmission module is further configured to broadcast a downlink PPDU or a trigger frame to the BSS by using the successfully contended current channel when the signal detection module detects that the signal detection energy of the successfully contended current channel is a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
With reference to the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, when the signal detection module detects the signal detection energy of each subband of the current channel with successful contention,
the data transmission module is specifically configured to determine that the detected signal detection energy of the current channel is smaller than a second preset threshold when the signal detection energy of any sub-band of the current channel successful in contention is smaller than the second preset threshold, and otherwise, determine that the detected signal detection energy of the current channel is greater than or equal to the second preset threshold.
A sixth aspect provides another communication apparatus, which is a station or a processor applied in the station, including:
a channel competition module, configured to send a channel competition packet on a current channel when the station needs to perform data transmission and a channel competition packet sent by an access point AP of a basic service set BSS is not resolved on the current channel, so that when the AP of the BSS resolves the channel competition packet on the current channel, it is determined that the BSS successfully competes for the current channel;
a data transmission module, configured to receive, in the current channel successfully contended, a downlink physical layer protocol data unit PPDU or a trigger frame sent by an AP of the BSS; and when the downlink PPDU or the trigger frame comprises the scheduling information aiming at the site, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the channel contention packet includes channel state information of the current channel, so that the AP of the BSS determines a target station to be scheduled according to the channel state information.
With reference to the sixth aspect or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the communication apparatus further includes:
the signal detection module is used for detecting first signal detection energy of the current channel;
the channel competition module is specifically configured to send a channel competition packet on the current channel when the first signal detection energy detected by the signal detection module is smaller than a first preset threshold;
the signal detection module is further configured to detect second signal detection energy of the current channel that successfully competes if the downlink PPDU or the trigger frame includes scheduling information for the station;
the data transmission module is specifically configured to perform uplink or downlink data transmission according to scheduling information for the station included in the downlink PPDU or the trigger frame when the second signal detection energy detected by the signal detection module is smaller than a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
A seventh aspect provides another communication apparatus, which is an access point AP or a processor applied in the access point AP, including:
a channel competition module, configured to send a channel competition packet on a current channel to perform channel competition when the AP needs to perform data transmission and the channel competition packet sent by any station of the basic service set BSS is not resolved on the current channel;
and a data transmission module, configured to broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS according to a reception condition of a response frame sent by any station of the BSS after determining that contention for the current channel is successful, where the downlink PPDU or the trigger frame includes scheduling information for multiple stations of the BSS.
With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, the data transmission module is specifically configured to, when a response frame sent by any station of the BSS is received on the current channel that is successful in contention, broadcast the downlink PPDU or the trigger frame to the BSS by using the current channel that is successful in contention.
With reference to the seventh aspect, in a second possible implementation manner of the seventh aspect, the data transmission module is specifically configured to, when a response frame sent by a station of the BSS is received on the current channel where contention succeeds, where the response frame includes channel state information of the current channel where contention succeeds and an identifier of the station, which are detected by the corresponding station, and determine a plurality of stations to be scheduled according to the channel state information and the identifier of the station included in the response frame; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
With reference to the seventh aspect, the first possible implementation manner of the seventh aspect, and the second possible implementation manner of the seventh aspect, in a third possible implementation manner of the seventh aspect, the communication apparatus further includes:
the signal detection module is used for detecting first signal detection energy of the current channel;
the channel competition module is specifically configured to send a channel competition packet on the current channel when the first signal detection energy detected by the signal detection module is smaller than a first preset threshold;
the response frame is sent to the AP of the BSS by using the current channel when the station of the BSS resolves a channel contention packet sent by the AP of the BSS in the current channel and detects that signal detection energy of the current channel is less than a first preset threshold;
the signal detection module is further configured to detect a second signal detection energy of the channel;
the data transmission module is specifically configured to broadcast a downlink PPDU or a trigger frame to the BSS by using the successfully contended current channel when the second signal detection energy detected by the signal detection module is smaller than a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
An eighth aspect provides another communication apparatus, which is a station or a processor applied in a station, including:
the channel competition module is used for judging whether a channel competition packet sent by an access point AP of the BSS is analyzed in a current channel; if yes, determining that the BSS successfully competes for the current channel;
a data transmission module, configured to send a response frame to the AP of the BSS on the current channel that successfully competes, so that when the AP of the BSS receives the response frame, the AP broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel that successfully competes; receiving a downlink physical layer protocol data unit (PPDU) sent by an AP of the BSS at the current channel successfully contended; and when the downlink PPDU or the trigger frame comprises the scheduling information aiming at the site, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
With reference to the eighth aspect, in a first possible implementation manner of the eighth aspect, the communication apparatus further includes:
the signal detection module is used for detecting first signal detection energy of the current channel;
the data transmission module is specifically configured to send a response frame to the AP of the BSS on the current channel in which the contention is successful when the first signal detection energy detected by the signal detection module is smaller than a first preset threshold; or, when the signal detection module detects that the first signal detection energy is less than the first signal detection energy, randomly selecting a sub-channel from the current channel successful in the contention, and sending the response frame to the AP of the BSS by using the sub-channel, where the response frame includes the channel state information of the current channel successful in the contention detected by the AP and the identifier of the AP, so that the AP of the BSS determines the station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
With reference to the first possible implementation manner of the eighth aspect, in a second possible implementation manner of the eighth aspect, the signal detection module is further configured to detect, after the downlink PPDU or the trigger frame includes scheduling information for the station, second signal detection energy of the current channel that is successful in contention;
the data transmission module is further configured to perform uplink or downlink data transmission according to scheduling information included in the downlink PPDU or the trigger frame when the second signal detection energy detected by the signal detection module is smaller than a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, when the AP determines that the current channel resolves the channel contention packet sent by any station of the BSS, it may determine that the BSS competes for the current channel successfully, or when the AP needs to perform data transmission and does not resolve the channel contention packet sent by the station of the BSS from the current channel, it may send the channel contention packet on the current channel to perform channel contention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a system architecture for channel contention according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a channel contention method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another channel contention method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another channel contention method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a channel contention method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a channel contention method according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a channel contention method according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating another channel contention method according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating another channel contention method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an AP according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a station according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an AP according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of a station according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to better understand the channel contention method and the related apparatus provided in the embodiment of the present invention, a system architecture applicable to the embodiment of the present invention is described below.
Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture for channel contention according to an embodiment of the present invention. As shown in fig. 1, the technical solution provided by the embodiment of the present invention may be applied to a system including multiple BSSs, each BSS may include an AP and multiple Stations (STAs) associated with the AP, such as an 802.11ax system. In the system architecture shown in fig. 1, after the AP schedules time-frequency resources for the station, the station can perform uplink data transmission. In the system architecture shown in fig. 1, when a station or an AP in a BSS competes for a channel successfully, it means that the BSS competes for the channel successfully, and the APs in the BSS all have the right to use the channel; when the AP firstly competes for the channel successfully, the channel can be used for data transmission; when the AP determines that the station of the BSS competes for the channel successfully, the AP may directly use the channel that the station competes for data transmission without contending for the channel.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a channel contention method, and as shown in fig. 2, a flow diagram of the channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the execution subject of steps 201 to 203 is the AP in the system architecture or a processor in the AP, such as a CPU (central processing Unit). For convenience of description, the following description will be given taking the execution subjects of step 201 to step 203 as the AP in the above system architecture.
Step 201, judging whether the channel competition packet sent by any station of the BSS is analyzed in the current channel. If yes, go to step 202; otherwise, the current flow is ended.
Step 202, it is determined that the BSS successfully competes for the current channel.
In the embodiment of the present invention, in order to improve the data transmission efficiency in the 802.11ax system, it is considered that each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP schedules time-frequency resources for the stations, the stations can perform uplink data transmission, and the AP needs to successfully compete for a channel to perform the time-frequency resource scheduling for the stations, and if the AP fails to compete for the channel, the time-frequency resource scheduling cannot be performed for the stations, so as to affect the uplink data transmission of the stations.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the present invention, when any station in the BSS needs to perform data transmission, whether to participate in channel contention may be determined by detecting signal detection energy of a current channel, and when the detected signal detection energy is lower than a preset threshold (a first preset threshold), the station may send a channel contention packet to perform channel contention. And when the AP analyzes a channel competition packet sent by the station of the BSS in the current channel, determining that the current channel is successfully competed. The channel contention packet may be an RTS, RTX, or newly defined control or management frame.
It should be noted that, in the embodiment of the present invention, when the AP does not resolve the channel contention packet sent by the station of the BSS in the current channel, the AP may determine whether to participate in channel contention through channel idle evaluation, that is, detect signal detection energy of the current channel, and determine whether to send the channel contention packet to participate in channel contention according to whether the signal detection energy is smaller than a preset threshold, which is not limited in the embodiment of the present invention.
Step 203, broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended, where the downlink PPDU includes uplink or downlink scheduling information for multiple stations of the BSS.
In a specific embodiment of the present invention, after determining that the current channel is successfully contended by the BSS, the AP may determine a station to be scheduled (a station of the BSS) through a preset scheduling policy, and send a downlink PPDU (Physical Protocol Data Unit) or a trigger frame (trigger frame) to the station of the BSS on the current channel that is successfully contended, where the downlink PPDU or the trigger frame may include uplink or downlink scheduling information for the station that needs to be scheduled. After receiving a downlink PPDU or trigger frame sent by an AP, a station of the BSS analyzes the downlink PPDU or trigger frame to acquire scheduling information included in the downlink PPDU or trigger frame, and performs uplink and/or downlink data transmission according to the corresponding scheduling information. Wherein the trigger frame may be a newly defined control frame or a management frame.
For example, the AP may carry uplink or downlink scheduling information for a station to be scheduled in a SIG field of the downlink PPDU, and the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
Further, in an optional implementation manner, after successful contention for the current channel, before broadcasting the downlink PPDU or the trigger frame to the BSS by using the current channel, the method may further include the following steps:
11) detecting the signal detection energy of the current channel successful in competition;
12) judging whether the detected signal detection energy of the current channel successfully competed is smaller than a second preset threshold;
13) and if the current channel is smaller than the preset channel, executing a step of sending a downlink PPDU or trigger frame to the station of the BSS at the current channel with successful competition.
In order to further improve the data transmission performance of the system, in the embodiment of the present invention, different CCA thresholds are set for the channel contention phase and the data transmission phase: in the channel competition stage, whether channel competition is carried out can be determined by judging whether the detected signal detection energy is smaller than a first preset threshold; and in the data transmission stage, whether data transmission is carried out is determined by judging whether the detected signal detection energy is smaller than a second preset threshold. The first preset threshold and the second preset threshold can be set according to a specific scene, for example, the first preset threshold is-82 dbm, and the second preset threshold is-62 dbm; preferably, the first preset threshold is greater than the second preset threshold.
Accordingly, based on the above setting, after determining that the BSS successfully competes for the current channel, the AP may first detect the signal detection energy of the successfully competed current channel before performing data transmission, and determine whether the detected signal detection energy of the successfully competed current channel is less than a second preset threshold, so as to determine whether to perform data transmission. When the AP determines that the detected signal detection energy of the current channel is smaller than the second preset threshold, the AP may send a downlink PPDU or a trigger frame to a station of the BSS on the current channel.
In the embodiment of the invention, in the data transmission stage, when the AP detects the signal detection energy of the current channel, the signal detection energy of the whole bandwidth of the current channel can be detected, and the signal detection energy of each sub-band of the current channel can also be detected.
When the signal detection energy of the current channel is detected as the signal detection energy of each sub-band, if the signal detection energy of any sub-band is smaller than a second preset threshold, the AP performs the step of sending a downlink PPDU to the station of the BSS.
It should be appreciated that, when the signal detection energy of the current channel is the signal detection energy of the entire bandwidth, and when the signal detection energy of the current channel is the signal detection energy of each sub-band, the corresponding second preset thresholds may be different.
For example, assuming that the bandwidth of the current channel is 20MHz and includes 8 sub-bands, if the threshold (the second preset threshold) of the channel idle estimation over the entire bandwidth is CCAdata, the threshold of the channel idle estimation over each sub-band may be 1/8 × CCAdata.
It can be seen that in the method flow described in fig. 2, after a station in the BSS competes for a channel successfully, the station transfers the channel usage right to the AP in the BSS, so that the probability of success of channel competition by the AP is increased, and the data transmission performance of the system is improved.
It will be understood by those skilled in the art that the first predetermined threshold of the channel contention phase and the second predetermined threshold of the data transmission phase may be different. Typically, the first predetermined threshold is less than the second predetermined threshold. Different CCA thresholds are set aiming at a channel competition stage and a data transmission stage, and whether a channel is competed or not can be determined by judging the relation between channel detection energy and the threshold CCAcc in the competition stage by an AP/STA or a station; and in the data phase, the AP/STA judges the relation between the signal detection energy and the threshold CCAdata to determine whether to carry out OFDMA data transmission. In this way, the original CCA threshold is maintained in the contention phase, which can ensure the fairness of the access channel, and the AP/STA can improve the capability of concurrently transmitting data by increasing the CCA threshold in the data phase.
Based on the system architecture shown in fig. 1, another channel contention method is provided in the embodiment of the present invention, and as shown in fig. 3, a flow diagram of another channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the execution subject of steps 301 to 306 is the AP in the system architecture or a processor in the AP, such as a CPU. For convenience of description, the following description takes the execution subjects of step 301 to step 306 as the AP in the above system architecture as an example.
Step 301, judging whether a channel competition packet sent by any station of the BSS is resolved in the current channel. If yes, go to step S302; otherwise, the current flow is ended.
Step 302, it is determined that the BSS competes for the current channel successfully.
For specific implementation of steps 301 to 302, reference may be made to the related description in steps 201 to 202, and details of the embodiment of the present invention are not described herein again.
Step 303, recording the identifiers of the multiple stations of the BSS, which analyze the channel contention packets sent on the current channel successfully contended, in the preset time period.
In the embodiment of the present invention, a time period (the time period may be set according to a specific scenario, and is described as T below) may be preset, and in the preset time period T, the AP and the station associated therewith may perform idle channel assessment, that is, detect whether the signal detection energy of the current channel is less than a preset threshold, and when it is detected that the signal detection energy of the current channel is less than the preset threshold (a first preset threshold), send a channel contention packet to perform channel contention. When the AP receives the channel competition packet sent by the station of the BSS, the AP determines that the BSS successfully competes for the current channel, and meanwhile, the AP may count the channel competition packet, which is analyzed within the preset time period T and sent by the station of the BSS on the current channel successfully competes for the current channel, and record the identifiers of the multiple stations of the BSS, which are analyzed within the preset time period T and send the channel competition packet on the current channel successfully competes for the current channel.
Step 304, determining the scheduling information of the plurality of sites corresponding to the identifications of the plurality of sites.
Step 305, generating a downlink PPDU or a trigger frame, where the downlink PPDU or the trigger frame includes scheduling information of the multiple stations.
In the embodiment of the present invention, the stations corresponding to the identifiers of the stations of the BSS that send the channel contention packets in the current channel that succeeds in contention, which are analyzed in the preset time period T, may be determined as the stations to be scheduled.
Accordingly, after the AP records the identifiers of the stations after the scheduling information of the stations of the BSS that transmit the channel contention packet on the current channel is analyzed within the preset time period, the AP may determine the scheduling information of the stations according to the identifiers of the stations of the BSS that transmit the channel contention packet on the current channel, which are analyzed within the preset time period, and generate a downlink PPDU or a trigger frame to which the scheduling information of the stations is added. For example, the AP may add the scheduling information of the plurality of stations to the SIG field of the downlink PPDU.
Step 306, broadcasting a downlink PPDU or a trigger frame including the scheduling information of the plurality of stations to the BSS by using the current channel successful in the contention.
In the embodiment of the present invention, after the AP generates the downlink PPDU or the trigger frame including the scheduling information of the plurality of stations, the AP may broadcast the downlink PPDU or the trigger frame including the scheduling information (uplink or downlink scheduling information) of the plurality of stations to the BSS by using the current channel. After receiving a downlink PPDU or a trigger frame sent by an AP, a station of the BSS analyzes the downlink PPDU, acquires scheduling information included in the downlink PPDU, and performs uplink and/or downlink data transmission according to the corresponding scheduling information.
It should be noted that, in the embodiment of the present invention, the step 11) to the step 13) may be further included between the step 305 and the step 306, and specific implementation thereof may refer to relevant description in the method flow described in fig. 2, which is not described herein again in the embodiment of the present invention.
Based on the system architecture shown in fig. 1, another channel contention method is provided in the embodiment of the present invention, and as shown in fig. 4, a flow diagram of another channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the execution subject of steps 401 to 406 is the AP in the system architecture or a processor in the AP, such as a CPU. For convenience of description, the following description takes the execution subjects of steps 401 to 406 as the AP in the above system architecture as an example.
Step 401, determining whether a channel contention packet sent by any station of the BSS is resolved in the current channel. If yes, go to step S402; otherwise, the current flow is ended.
Step 402, determining that the BSS successfully competes for the current channel.
For specific implementation of steps 401 to 402, reference may be made to the related description in steps 201 to 202, and details of the embodiment of the present invention are not described herein again.
Step 403, counting channel contention packets, which are analyzed within a preset time period and sent by the station of the BSS on the current channel where the contention succeeds, where the channel contention packets include channel state information of the current channel where the contention succeeds, which is detected by the corresponding station.
In the embodiment of the present invention, a time period (the time period may be set according to a specific scenario and is described as T below) may be preset, and in the preset time period T, an AP and a station associated therewith may perform idle channel assessment, that is, detect whether signal detection energy of a current channel is smaller than a preset threshold, and transmit a channel contention packet to perform channel contention when the signal detection energy of the current channel is detected to be smaller than the preset threshold (a first preset threshold), where the channel contention packet may further include channel state information of the current channel detected by the station, such as historical SNR (signal to NOISE RATIO, SNR), instantaneous interference strength, and the like.
Step 404, determining a plurality of stations to be scheduled according to the channel state information included in the analyzed channel competition packet.
Step 405, generating a downlink PPDU or a trigger frame, where the downlink PPDU or the trigger frame includes scheduling information of the multiple stations to be scheduled.
In this embodiment of the present invention, the AP may determine a plurality of stations to be scheduled according to channel state information included in a channel contention packet sent by a station of the BSS and sent by the current channel that successfully competes according to the contention, which is analyzed within the preset time period T.
For example, assuming that the channel state information included in the channel contention packet is the historical SNR, the AP may determine, according to the channel state information, which is analyzed in the preset time period T, of the channel contention packet sent by the station of the BSS in the current channel where the contention succeeds, the station of the BSS, which corresponds to the channel contention packet whose historical SNR is greater than the preset threshold, as the station to be scheduled.
For another example, assuming that the channel state information included in the channel contention packet is the instantaneous interference strength, the AP may determine, as the scheduled station, the station of the BSS corresponding to the channel contention packet including the instantaneous interference strength smaller than the preset threshold value according to the channel state information, which is analyzed in the preset time period T, of the station of the BSS in the channel contention packet occurring in the current channel where the contention succeeds.
In the embodiment of the present invention, after determining the multiple stations to be scheduled according to the channel state information included in the analyzed channel contention packet, the AP may generate a downlink PPDU or a trigger frame including scheduling information of the multiple stations to be scheduled. For example, the AP may add the scheduling information of the plurality of stations to be scheduled to the SIG field of the downlink PPDU.
Step 406, broadcasting a downlink PPDU or a trigger frame including the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successfully contended.
In the embodiment of the present invention, after the AP generates the downlink PPDU or the trigger frame including the scheduling information of the multiple stations to be scheduled, the AP may broadcast the downlink PPDU or the trigger frame including the scheduling information of the multiple stations to be scheduled to the BSS by using the current channel successful in contention. After receiving a downlink PPDU or trigger frame sent by an AP, a station of the BSS analyzes the downlink PPDU or trigger frame to acquire scheduling information included in the downlink PPDU or trigger frame, and performs uplink and/or downlink data transmission according to the corresponding scheduling information.
It should be noted that, in the embodiment of the present invention, the step 11) to the step 13) may be further included between the step 405 and the step 406, and specific implementation thereof may refer to relevant description in the method flow described in fig. 2, which is not described herein again in the embodiment of the present invention.
It can be seen that in the method flows described in fig. 3 and fig. 4, on one hand, after a station in the BSS competes for a channel successfully, the station transfers the channel usage right to the AP in the BSS, so as to improve the probability of success of the AP competing for the channel, and further improve the data transmission performance of the system; on the other hand, when the AP schedules the station of the BSS, the station to be scheduled may be determined according to the channel contention packet sent by the station of the BSS analyzed within the preset time period or the channel state information included in the channel contention packet, and the station with a better current channel idle state or a better channel state is scheduled, so as to further improve the data transmission performance of the system.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a channel contention method, and as shown in fig. 5, a flow diagram of the channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the main body of execution of steps 501 to 504 is a station or a processor in a station in the system architecture, such as a CPU. For convenience of description, the following description will be made by taking the main execution objects of steps 501 to 504 as the sites in the above system architecture.
Step 501, when any station in the BSS needs to perform data transmission and a channel contention packet sent by an AP of the BSS is not resolved in a current channel, sending the channel contention packet in the current channel, so that when the AP of the BSS resolves the channel contention packet in the current channel, it determines that the BSS contends.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the invention, when a station in the BSS needs to perform data transmission and does not analyze the channel competition packet sent by the AP of the BSS in the current channel, the station can send the channel competition packet to perform channel competition.
It should be noted that, in the embodiment of the present invention, if a station analyzes a channel contention packet sent by an AP of the BSS in a current channel, the station may determine that the AP of the BSS contends for the channel successfully, and at this time, the station does not perform channel contention for the current channel any more.
As an optional implementation manner, in the embodiment of the present invention, before the station sends the channel contention packet, after the station detects signal detection energy (first signal detection energy) of the current channel, whether to participate in channel contention may be determined by determining whether the first signal detection energy is smaller than a preset threshold (the first preset threshold may be set according to a specific scenario) or not. When the station determines that the first signal detection energy is smaller than the first preset threshold, the station may determine to participate in channel contention, and send a channel contention packet on the current channel. When the AP analyzes the channel contention packet sent by the station of the BSS in the current channel, the AP may determine that the contention for the current channel is successful.
It should be noted that, in the embodiment of the present invention, when the station detects the first signal detection energy of the current channel and determines that the first signal detection energy is equal to or greater than the first preset threshold, the station may not participate in channel contention of the current channel, which is not limited in the embodiment of the present invention.
And step 502, receiving a downlink PPDU or a trigger frame sent by the AP of the BSS on the current channel in which the contention succeeds.
Step 503, determining whether the downlink PPDU or the trigger frame includes scheduling information for the station. If yes, go to step 504; otherwise, the current flow is ended.
And step 504, performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In the embodiment of the invention, if the AP analyzes the channel competition packet sent by the station of the BSS from the current channel, the AP determines that the competition of the current channel is successful, and further, the AP can determine the station to be scheduled according to the scheduling strategy and broadcast the downlink PPDU or the trigger frame comprising the scheduling information of the station to be scheduled to the BSS by using the current channel. For example, the AP may include scheduling information of a station to be scheduled in a SIG field in the downlink PPDU, where the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
After receiving a downlink PPDU or a trigger frame sent by an AP of a BSS, a station may parse the downlink PPDU or the trigger frame, and determine whether the downlink PPDU or the trigger frame includes scheduling information for a station of the local terminal, that is, scheduling information for the station.
As an optional implementation manner, after the AP parses the channel contention packet sent by the station of the BSS in the current channel, and determines that the BSS successfully contends for the current channel, the AP may record the identifiers of the multiple stations of the BSS that parse the channel contention packet sent by the successfully contended current channel within a preset time period, determine the scheduling information of the multiple stations corresponding to the identifiers of the multiple stations, further generate a downlink PPDU or a trigger frame including the scheduling information of the multiple stations, and broadcast the downlink PPDU or the trigger frame including the scheduling information of the multiple stations to the BSS by using the current channel, so that the station of the BSS performs uplink or downlink data transmission according to the scheduling information of the local terminal included in the downlink PPDU or the trigger frame after receiving the downlink PPDU or the trigger frame, and its specific implementation may refer to the related descriptions in step 303 to step 306 in the method flow described in fig. 3 above, the embodiments of the present invention are not described herein.
As another optional implementation manner, in the embodiment of the present invention, when the station detects first signal detection energy of the current channel and determines that the first signal detection energy is less than a first preset threshold, the station may include channel state information of the current channel, such as a historical SNR, an instantaneous interference strength, and the like, in the transmitted channel contention packet, so that the AP of the BSS determines the station to be scheduled according to the channel state information.
Correspondingly, after the AP analyzes the channel contention packet sent by the station of the BSS in the current channel and determines that the current channel is successfully contended, the AP may count the channel contention packet sent by the station of the BSS analyzed within a preset time period in the successfully contended current channel, and determine the station to be scheduled according to the channel state information included in the channel contention packet, and further, generate a downlink PPDU or a trigger frame including the scheduling information of the station to be scheduled, and broadcast the downlink PPDU or the trigger frame including the scheduling information of the stations to be scheduled to the BSS by using the successfully contended current channel, which may be specifically implemented as described in the above-mentioned steps 403 to 406 in the method flow described in fig. 4, and this embodiment of the present invention is not described herein again.
Further, in an optional implementation manner, if the downlink PPDU or the trigger frame includes the scheduling information for the local terminal, before performing uplink or downlink data transmission according to the scheduling information for the local terminal included in the downlink PPDU or the trigger frame, the method may further include the following steps:
31) detecting the second signal detection energy of the current channel successful in competition;
32) judging whether the second signal detection energy is smaller than a second preset threshold or not;
33) and if the quantity is smaller than the preset value, executing the step of carrying out uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
In order to further improve the data transmission performance of the system, in the embodiment of the present invention, different CCA thresholds are set for the channel contention phase and the data transmission phase: in the channel competition stage, whether channel competition is carried out can be determined by judging whether the detected signal detection energy is smaller than a first preset threshold; and in the data transmission stage, whether data transmission is carried out is determined by judging whether the detected signal detection energy is smaller than a second preset threshold. The first preset threshold and the second preset threshold can be set according to a specific scene, for example, the first preset threshold is-82 dbm, and the second preset threshold is-62 dbm; preferably, the second preset threshold is greater than the first preset threshold.
Accordingly, based on the above setting, after determining that the received downlink PPDU or trigger frame includes the scheduling information for the station, the station may first detect the signal detection energy of the current channel successfully contended before performing data transmission, and determine whether the detected signal detection energy of the current channel successfully contended is less than a second preset threshold, so as to determine whether to perform data transmission. When the station determines that the detected signal detection energy of the current channel successfully contends is smaller than the second preset threshold, the station may perform uplink or downlink data transmission according to scheduling information for the station included in the downlink PPDU or the trigger frame.
In the embodiment of the present invention, in the data transmission phase, when the AP detects the signal detection energy of the current channel that successfully competes, the AP may detect the signal detection energy of the entire bandwidth of the current channel that successfully competes, or may detect the signal detection energy of the sub-band indicated by the scheduling information of the local terminal included in the downlink PPDU in the current channel that successfully competes.
It should be appreciated that, when the signal detection energy of the current channel successful in contention is the signal detection energy of the entire bandwidth, and the signal detection energy of the current channel successful in contention is the signal detection energy of the sub-band indicated by the scheduling information for the local terminal included in the downlink PPDU in the current channel successful in contention, the corresponding second preset thresholds may be different.
For example, assuming that the bandwidth of the current channel is 20MHz and includes 8 sub-bands, if the threshold (the second preset threshold) of the channel idle estimation over the entire bandwidth is CCAdata, the threshold of the channel idle estimation over each sub-band may be 1/8 × CCAdata.
It can be seen that in the method flow described in fig. 5, after a station in the BSS competes for a channel successfully, the station transfers the channel usage right to the AP in the BSS, so that the probability of success of channel competition by the AP is increased, and the data transmission performance of the system is improved.
Based on the system architecture shown in fig. 1, a channel contention method is provided in the embodiment of the present invention, and as shown in fig. 6, a flow diagram of a channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the execution subject of steps 601 to 602 is the AP in the system architecture or a processor in the AP, such as a CPU. For convenience of description, the execution subject of steps 601 to 602 is described as an AP in the above system architecture.
Step 601, when the AP needs to perform data transmission and does not resolve the channel contention packet sent by the station of the BSS on the current channel, sending the channel contention packet on the current channel to perform channel contention.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the present invention, when an AP in a BSS needs to perform data transmission and does not resolve a channel contention packet sent by a station of the BSS in a current channel, the AP may send the channel contention packet to perform channel contention.
It should be noted that, in the embodiment of the present invention, if the AP analyzes the channel contention packet sent by the station of the BSS in the current channel, the AP may determine that the BSS contends for the channel successfully, and at this time, the AP does not need to perform channel contention of the current channel any more.
As an optional implementation manner, in the embodiment of the present invention, before sending the channel contention packet, the AP may determine whether to participate in channel contention in a manner of detecting signal detection energy (first signal detection energy) of a current channel, and determining whether the first signal detection energy is smaller than a preset threshold (the first preset threshold may be set according to a specific scenario) or not. When the AP determines that the first signal detection energy is less than the first preset threshold, the AP may determine to participate in channel contention and transmit a channel contention packet on the current channel.
In the embodiment of the present invention, if the AP does not resolve the channel contention packet sent by another AP or station in the current channel within the preset time after sending the channel contention packet in the current channel, the AP may determine that the contention for the current channel is successful.
It should be noted that, in the embodiment of the present invention, when the AP detects the first signal detection energy of the current channel and determines that the first signal detection energy is equal to or greater than the first preset threshold, the AP may not participate in channel contention of the current channel, which is not limited in the embodiment of the present invention.
Step 602, after it is determined that the current channel is successfully contended, according to the receiving condition of the response frame sent by any station of the BSS, a downlink PPDU or a trigger frame is broadcasted to the BSS by using the current channel that is successfully contended, where the downlink PPDU or the trigger frame includes scheduling information for a plurality of stations of the BSS.
In the embodiment of the present invention, after determining that the contention for the current channel is successful, the AP may determine a station to be scheduled (a station of the BSS) through a preset scheduling policy, and send a downlink PPDU or a trigger frame to the station of the BSS on the current channel, where the downlink PPDU or the trigger frame may include scheduling information for the station to be scheduled. After receiving a downlink PPDU or trigger frame sent by an AP, a station of the BSS analyzes the downlink PPDU or trigger frame to acquire scheduling information included in the downlink PPDU or trigger frame, and performs uplink and/or downlink data transmission according to the corresponding scheduling information.
For example, the AP may carry scheduling information for a station to be scheduled in a SIG field of the downlink PPDU, where the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
In an optional implementation manner, when the AP determines, according to a reception condition of a response frame sent by any station of the BSS, that a contention successful current channel is used to broadcast a downlink PPDU to the BSS or a trigger frame, and before the AP uses the current channel to broadcast the downlink PPDU to the BSS, the AP may further include the following steps:
41) judging whether a response frame sent by a station of the BSS is received in the current channel successfully contended;
42) and if so, broadcasting the downlink PPDU to the BSS by using the current channel successful in competition.
In this embodiment, when a station in a BSS analyzes a channel contention packet sent by an AP of the BSS from a current channel, the station may detect signal detection energy of the current channel, and determine whether the signal detection energy is smaller than the first preset threshold, and if so, send a response frame to the AP of the BSS by using the current channel to generate signal interference to an adjacent station of the station, so that the signal detection energy of the current channel detected by the adjacent station of the station is increased, thereby reducing a probability that the adjacent station of the station participates in contention for the current channel, and implementing protection of a receiving end.
Correspondingly, after the AP determines that the current channel is successfully contended and before entering the data transmission stage, the AP may determine whether a response frame sent by a station of the BSS is received on the current channel successfully contended, and if the response frame is received, the AP may consider that a station with an idle channel exists in the BSS, so that the AP may schedule the station of the BSS and send a downlink PPDU or a trigger frame including scheduling information for the station of the BSS on the current channel to the station of the BSS; otherwise, the AP may not schedule the station of the BSS.
The response frame may be a CTS, a CTX or some newly defined control or management frame.
In another optional implementation manner, the AP broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel in which the contention succeeds according to the reception condition of the response frame sent by any station of the BSS may include the following steps:
51) judging whether a response frame sent by a station of the BSS is received in the current channel successfully contended; the response frame may include channel state information of a current channel detected by a corresponding station and an identifier of the station;
52) if a response frame sent by the station of the BSS is received in the current channel successfully competed, determining a plurality of stations to be scheduled according to channel state information and station identification included in the response frame;
53) generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled and is added to the downlink PPDU;
54) and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
In this embodiment, when a station in a BSS analyzes a channel contention packet sent by an AP of the BSS, the station may detect signal detection energy of a current channel, determine whether the signal detection energy is smaller than the first preset threshold, and send a response frame to the AP of the BSS by using the current channel if the signal detection energy is smaller than the first preset threshold, where the station may randomly select a sub-channel from the current channel to send the response frame, and the response frame may include channel state information of the current channel detected by the station and an identifier of the station, where the channel state information may include a historical SNR, an instantaneous interference strength, and the like.
Correspondingly, after determining that the contention for the current channel is successful and before entering the data transmission stage, the AP may determine whether a response frame sent by a station of the BSS is received on the current channel that the contention is successful, and if so, the AP may determine a plurality of stations to be scheduled according to channel state information included in the response frame and identifiers of the stations, generate a downlink PPDU or a trigger frame including scheduling information of the plurality of stations to be scheduled, and then broadcast the downlink PPDU or the trigger frame including the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel that the contention is successful.
For example, assuming that the channel state information included in the response frame is the historical SNR, the AP may determine, according to the channel state information included in the response frame received in the current channel, a station of the BSS corresponding to the response frame including the historical SNR greater than the preset threshold as a station to be scheduled.
For another example, assuming that the channel state information included in the response frame is the instantaneous interference strength, the AP may determine, according to the channel state information included in the response frame received on the current channel, a station of the BSS corresponding to the response frame including the instantaneous interference strength smaller than the preset threshold as a scheduled station.
The response frame may be an extended CTS, CTX or some newly defined control or management frame.
Based on the system architecture shown in fig. 1, a channel contention method provided in the embodiment of the present invention, as shown in fig. 7, is a flow diagram of a channel contention method provided in the embodiment of the present invention, and may include the following steps:
it should be noted that the main body of execution of steps 701 to 706 is a station or a processor in the station in the system architecture, such as a CPU. For convenience of description, the following description will be given taking the execution subjects of steps 701 to 706 as the sites in the above system architecture.
Step 701, judging whether a channel competition packet sent by an AP of the BSS is resolved in a current channel. If yes, go to step 702; otherwise, the current flow is ended.
Step 702, determining that the current channel competition of the BSS is successful.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the present invention, when the AP needs to perform data transmission and does not resolve a channel contention packet sent by a station of the BSS on a current channel, the AP may determine whether to participate in channel contention by detecting signal detection energy of the current channel, and when the detected signal detection energy is lower than a preset threshold (a first preset threshold), the AP may send the channel contention packet to perform channel contention. When the station analyzes a channel competition packet sent by the AP of the BSS in the current channel, the AP is determined to successfully compete for the current channel.
It should be noted that, in the embodiment of the present invention, when the station does not resolve the channel contention packet sent by the AP of the BSS in the current channel, the station may determine whether to participate in channel contention through channel idle evaluation, that is, detect signal detection energy of the current channel, and determine whether to send the channel contention packet to participate in channel contention according to whether the signal detection energy is smaller than a preset threshold, which is not limited in the embodiment of the present invention.
And step 703, sending a response frame to the AP of the BSS on the current channel successfully contended, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended when receiving the response frame.
In the embodiment of the present invention, after a station receives a channel contention packet sent by an AP of the BSS, and determines that the BSS contends for a channel successfully, the station may send a response frame to the AP of the BSS on the current channel where the contention succeeds, so as to trigger the AP of the BSS to schedule the station of the BSS.
After receiving the response frame sent by the station of the BSS, the AP may determine the station to be scheduled according to the scheduling policy, and broadcast a downlink PPDU or a trigger frame to the BSS by using the current channel successful in contention, where the downlink PPDU or the trigger frame may include uplink or downlink scheduling information of multiple stations of the BSS.
Step 704, receiving the downlink PPDU or trigger frame sent by the AP of the BSS on the current channel where the contention succeeds.
Step 705, determining whether the downlink PPDU or the trigger frame includes scheduling information for the station. If yes, go to step 705; otherwise, the current flow is ended.
Step 706, performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU.
In this embodiment of the present invention, after receiving a downlink PPDU or a trigger frame sent by an AP of a BSS, a station may parse the downlink PPDU or the trigger frame, and determine whether the downlink PPDU or the trigger frame includes scheduling information for the station, and if the downlink PPDU includes the scheduling information for the station, the station may perform uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU.
Based on the system architecture shown in fig. 1, another channel contention method is further provided in the embodiment of the present invention, as shown in fig. 8, a flow diagram of another channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the main body of execution of steps 801 to 808 is a station or a processor in the station in the system architecture, such as a CPU. For convenience of description, the following description will be made by taking the main execution objects of steps 801 to 808 as the stations in the system architecture.
Step 801, judging whether a channel competition packet sent by the AP of the BSS is resolved in the current channel. If yes, go to step 802; otherwise, the current flow is ended.
Step 802, determining that the current channel competition of the BSS is successful.
The specific implementation of steps 801 to 802 may refer to the related description in steps 701 to 702 in the method flow described in fig. 7, and the embodiment of the present invention is not described herein again.
Step 803, detecting the first signal detection energy of the current channel with successful competition.
Step 804, determining whether the first signal detection energy is smaller than a first preset threshold. If yes, go to step 805; otherwise, the current flow is ended.
Step 805, sending a response frame to the AP of the BSS on the current channel where the contention succeeds, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel where the contention succeeds when receiving the response frame.
In the embodiment of the present invention, when determining that the AP of the BSS successfully competes for the current channel, the station of the BSS may detect signal detection energy (first signal detection energy) of the current channel, and determine whether the first signal detection energy is less than a preset threshold (first preset threshold).
When the station determines that the first signal detection energy is smaller than the first preset threshold, the station may send a response frame to the AP of the BSS by using the current channel to generate signal interference to an adjacent station of the station, so that the signal detection energy of the current channel detected by the adjacent station of the station is increased, thereby reducing the probability that the adjacent station of the station participates in competition for the current channel, and implementing receiving end protection.
In the embodiment of the present invention, when receiving a response frame sent by a station of the BSS, the AP may consider that a station with an idle channel exists in the BSS, so that the AP may schedule the station of the BSS, and broadcast a downlink PPDU or PPDU including scheduling information for the station of the BSS to the BSS on a current channel; otherwise, the AP may not schedule the station of the BSS.
It should be noted that, in this embodiment of the present invention, when a station sends a response frame to an AP of the BSS, the station may randomly select one sub-channel from a current channel to send, or may send in each sub-channel of the current channel, and a specific implementation thereof is not limited in this embodiment of the present invention.
Step 806, receiving the downlink PPDU or the trigger frame sent by the AP of the BSS on the current channel where the contention succeeds.
Step 807, determining whether the downlink PPDU or the trigger frame includes scheduling information for the station. If yes, go to step 808; otherwise, the current flow is ended.
And 808, performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In the embodiment of the present invention, when the AP successfully competes for the current channel and receives the response frame sent by the station of the BSS on the current channel, the AP may determine the station to be scheduled according to the scheduling policy and broadcast the downlink PPDU or the trigger frame including the scheduling information of the station to be scheduled to the BSS by using the current channel. For example, the AP may include scheduling information of a station to be scheduled in a SIG field in the downlink PPDU, where the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
After receiving a downlink PPDU or a trigger frame sent by an AP of a BSS, a station may parse the downlink PPDU or the trigger frame, and determine whether the downlink PPDU or the trigger frame includes scheduling information for the station, and if the downlink PPDU or the trigger frame includes the scheduling information for the station, the station may perform uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
Further, in an optional implementation manner, after the station determines that the downlink PPDU or the trigger frame includes the scheduling information for the station, and before performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame, the method may further include the following steps:
71) detecting the second signal detection energy of the current channel successful in competition;
72) judging whether the second signal detection energy is smaller than a second preset threshold or not;
73) and if the quantity is smaller than the preset value, executing the step of transmitting uplink or downlink data according to the scheduling information contained in the downlink PPDU or the trigger frame.
In order to further improve the data transmission performance of the system, in the embodiment of the present invention, different CCA thresholds are set for the channel contention phase and the data transmission phase: in the channel competition stage, whether channel competition is carried out can be determined by judging whether the detected signal detection energy is smaller than a first preset threshold; and in the data transmission stage, whether data transmission is carried out is determined by judging whether the detected signal detection energy is smaller than a second preset threshold. The first preset threshold and the second preset threshold can be set according to a specific scene, for example, the first preset threshold is-82 dbm, and the second preset threshold is-62 dbm; preferably, the first preset threshold is greater than the second preset threshold.
Accordingly, based on the above setting, after the station determines that the downlink PPDU or the trigger frame includes the scheduling information for the station, before performing data transmission, the station may first detect signal detection energy (second signal detection energy) of the current channel in which the contention succeeds, and determine whether the detected second signal detection energy of the current channel in which the contention succeeds is smaller than a second preset threshold, so as to determine whether to perform data transmission. When the station determines that the detected second signal detection energy of the current channel successfully contends is smaller than a second preset threshold, the station may perform uplink or downlink data transmission according to scheduling information for the station included in the downlink PPDU.
Based on the system architecture shown in fig. 1, another channel contention method is further provided in the embodiment of the present invention, as shown in fig. 9, a flow diagram of another channel contention method provided in the embodiment of the present invention may include the following steps:
it should be noted that the main body of execution of steps 901 to 908 is a station or a processor in the station in the system architecture, such as a CPU. For convenience of description, the following description will be made by taking the main execution bodies of steps 901 to 908 as the stations in the above system architecture.
Step 901, judging whether the channel competition packet sent by the AP of the BSS is resolved in the current channel. If yes, go to step 902; otherwise, the current flow is ended.
And step 902, determining that the current channel competition of the BSS is successful.
The specific implementation of steps 901 to 902 may refer to the related description in steps 701 to 702 in the method flow described in fig. 7, and the embodiment of the present invention is not described herein again.
Step 903, detecting the first signal detection energy of the current channel with successful competition.
Step 904, determining whether the first signal detection energy is smaller than a first preset threshold. If yes, go to step 905; otherwise, the current flow is ended.
Step 905, randomly selecting a sub-channel from the current channels successfully contended, and sending a response frame to the AP of the BSS by using the sub-channel, where the response frame includes the channel state information of the current channel successfully contended, which is detected by the local terminal, and the identifier of the local terminal, so that the AP of the BSS determines the station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
In this embodiment of the present invention, when determining that the AP of the BSS successfully competes for the current channel, the station of the BSS may detect signal detection energy (first signal detection energy) of the successfully competed current channel, and determine whether the first signal detection energy is less than a preset threshold (first preset threshold).
When the station determines that the first signal detection energy is less than the first preset threshold, the station may randomly select a sub-channel from the current channel that is successfully contended, and send a response frame to the AP of the BSS by using the sub-channel, where the response frame may include channel state information of the current channel that is successfully contended and detected by the station, and an identifier of the station. The channel state information may include, among other things, historical SNR, instantaneous interference strength, etc.
When receiving a response frame sent by a station of the BSS, the AP may determine a station to be scheduled according to channel state information included in the response frame and an identifier of the station, and further, the AP may schedule the station to be scheduled of the BSS, and broadcast a downlink PPDU or a trigger frame including scheduling information of the station to be scheduled to the BSS on a current channel; otherwise, the AP may not schedule the station of the BSS.
It should be noted that, in the embodiment of the present invention, when a plurality of stations select the same sub-channel of the current channel to send a response frame, the AP may not be able to analyze the response frame sent by the plurality of stations, at this time, the AP may reuse the current channel to broadcast the channel contention packet to the BSS, so that the station of the BSS randomly selects a sub-channel again to send a response frame to the AP of the BSS after analyzing the channel contention packet sent by the AP of the BSS by the current channel, until the AP analyzes all the response frames.
Step 906, receiving the downlink PPDU or the trigger frame sent by the AP of the BSS on the current channel where the contention succeeds.
Step 907, determining whether the downlink PPDU or the trigger frame includes scheduling information for the station. If yes, go to step 908; otherwise, the current flow is ended.
And 908, performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In the embodiment of the present invention, when the AP successfully competes for the current channel and receives the response frame sent by the station of the BSS on the successfully competed current channel, the AP may determine the station to be scheduled by using the channel state information included in the response frame and the identifier of the station, and broadcast the downlink PPDU or the trigger frame including the scheduling information of the station to be scheduled to the BSS by using the successfully competed current channel. For example, the AP may include scheduling information of a station to be scheduled in a SIG field in the downlink PPDU, where the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
After receiving a downlink PPDU or a trigger frame sent by an AP of a BSS, a station may parse the downlink PPDU or the trigger frame, and determine whether the downlink PPDU or the trigger frame includes scheduling information for the station, and if the downlink PPDU or the trigger frame includes the scheduling information for the station, the station may perform uplink and/or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
It should be noted that, in the embodiment of the present invention, after the station determines that the received downlink PPDU or the trigger frame includes the scheduling information for the local station, before performing uplink and/or downlink data transmission according to the scheduling information for the local station included in the downlink PPDU or the trigger frame, the foregoing step 71) -step 73) may also be included.
As can be seen from the above description, in the embodiment of the present invention, after a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP in the BSS, so that the probability of success of the AP competing for the channel is increased, and further, the data transmission performance of the system is improved; in addition, different CCA thresholds are set for the channel contention phase and the data transmission phase, so that the data transmission performance of the system can be further improved.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a communication device, which may be an AP or a processor applied in the AP, and as shown in fig. 10, a schematic structural diagram of the communication device provided in the embodiment of the present invention may include:
a channel contention module 1001, configured to determine whether a channel contention packet sent by any station of the BSS is resolved on a current channel; and if so, determining that the BSS successfully competes for the current channel.
A data transmission module 1002, configured to broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS by using the current channel successfully contended, where the downlink PPDU or the trigger frame includes uplink or downlink scheduling information for multiple stations of the BSS.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the present invention, when a station needs to perform data transmission, whether to participate in channel contention may be determined by detecting signal detection energy of a current channel, and when the detected signal detection energy is lower than a preset threshold (a first preset threshold), the station may send a channel contention packet to perform channel contention. And when the AP analyzes a channel competition packet sent by the station of the BSS in the current channel, determining that the current channel is successfully competed.
Accordingly, when the channel contention module 1001 determines that the channel contention packet sent by the station of the BSS is resolved on the current channel, the data transmission module 1002 may be enabled to schedule the station of the BSS. After the channel contention module 1001 is enabled, the data transmission module 1002 may broadcast a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended, where the downlink PPDU or the trigger frame includes scheduling information for a plurality of stations of the BSS, so that the station of the BSS that receives the downlink PPDU performs uplink or downlink data transmission according to the corresponding scheduling information included in the downlink PPDU or the trigger frame.
In an optional embodiment, the channel competition module 1001 may be further configured to record, after determining that the current channel is successfully contended by the BSS, identifiers of multiple stations of the BSS, which analyze that a channel competition packet is sent on the successfully contended current channel within a preset time period;
correspondingly, the data transmission module 1002 may be further configured to determine scheduling information of a plurality of stations corresponding to the identifiers of the plurality of stations; generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of a plurality of stations; and broadcasting a downlink PPDU (pulse protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to the BSS by using the current channel successful in competition.
In this optional embodiment, a time period (which may be set according to a specific scenario and is described as T below) may be preset, and in this preset time period T, in each BSS, the AP and its associated station may perform idle channel assessment, that is, detect whether signal detection energy of the current channel is smaller than a preset threshold, and when it is detected that the signal detection energy of the current channel is smaller than the preset threshold (a first preset threshold), send a channel contention packet to perform channel contention. When the AP receives a channel contention packet sent by a station of the BSS, the AP determines that the current channel is successfully contended, and meanwhile, the AP may count the channel contention packets sent by the station of the BSS, which are analyzed within the preset time period T, and record the identifiers of the stations of the BSS, which are analyzed within the preset time period T and send the channel contention packets on the current channel.
Specifically, after determining that the current channel is successfully contended by the BSS, the channel contention module 1001 may record a plurality of stations of the BSS that analyze the channel contention packet sent on the current channel within a preset time period T, and enable the data transmission module 1002 after the preset time period is reached; after the channel contention module 1001 is enabled, the data transmission module 1002 may determine scheduling information of a plurality of stations corresponding to the identifiers of the plurality of stations, generate a downlink PPDU or a trigger frame including the scheduling information of the plurality of stations, and broadcast the downlink PPDU or the trigger frame including the scheduling information of the plurality of stations to the BSS by using the current channel successfully contended.
In another optional embodiment, the channel competition module 1001 may be further configured to, after determining that the current channel is successfully contended by the BSS, count a channel competition packet sent by a station of the BSS and analyzed within a preset time period on the current channel that is successfully contended; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
correspondingly, the data transmission module 1002 may be further configured to determine a plurality of stations to be scheduled according to channel state information included in the analyzed channel contention packet; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
In this optional embodiment, a time period (which may be set according to a specific scenario and is described as T below) may be preset, and in this preset time period T, in each BSS, the AP and its associated station may perform idle channel assessment, that is, detect whether signal detection energy of the current channel is less than a preset threshold, and when detecting that the signal detection energy of the current channel is less than the preset threshold (a first preset threshold), send a channel contention packet to perform channel contention; the channel contention packet may further include channel state information of the current channel detected by the station, such as a historical SNR, an instantaneous interference strength, and the like. When the AP receives the channel contention packet sent by the station of the BSS, the AP determines that the current channel is successfully contended, and meanwhile, the AP may count the channel contention packet sent by the station of the BSS, which is analyzed within the preset time period T.
Specifically, the channel competition module 1001 may count a channel competition packet, which is analyzed within a preset time period T and sent by a station of the BSS on the current channel, after determining that the BSS competes for the current channel successfully, where the channel competition packet includes channel state information of the current channel detected by the corresponding station, and enable the data transmission module 1002 after the preset time period is reached; after the channel contention module 1001 is enabled, the data transmission module 1002 may determine a plurality of stations to be scheduled according to channel state information included in the analyzed channel contention packet, and generate a downlink PPDU or a trigger frame including scheduling information of the plurality of stations, for example, add the scheduling information of the plurality of stations to a SIG field in the downlink PPDU, and further broadcast the downlink PPDU or the trigger frame including the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in contention.
In an optional embodiment, the channel contention packet is sent when the station needs to perform data transmission and detects that the signal detection energy of the current channel is smaller than a first preset threshold;
accordingly, the communication apparatus shown in fig. 10 may further include:
a signal detection module 1003, configured to detect signal detection energy of the current channel that succeeds in contention;
the data transmission module 1002 may be further configured to broadcast a downlink PPDU or a trigger frame to the BSS by using the successfully contended current channel when the signal detection module 1003 detects that the signal detection energy of the successfully contended current channel is a second preset threshold.
Wherein the second preset threshold is different from the first preset threshold.
In order to further improve the data transmission performance of the system, in the embodiment of the present invention, different CCA thresholds are set for the channel contention phase and the data transmission phase: in the channel competition stage, whether channel competition is carried out can be determined by judging whether the detected signal detection energy is smaller than a first preset threshold; and in the data transmission stage, whether data transmission is carried out is determined by judging whether the detected signal detection energy is smaller than a second preset threshold. The first preset threshold and the second preset threshold can be set according to a specific scene, for example, the first preset threshold is-82 dbm, and the second preset threshold is-62 dbm; preferably, the first preset threshold is greater than the second preset threshold.
Accordingly, based on the above setting, after the AP successfully competes for the current channel, before data transmission is performed, the signal detection module 1003 may first detect the signal detection energy of the successfully competed current channel, and determine whether the detected signal detection energy of the current channel is less than a second preset threshold, so as to determine whether to perform data transmission. When the detected signal detection energy of the current channel is less than the second preset threshold, the data transmission module 1002 may send a downlink PPDU or a trigger frame to the station of the BSS on the current channel in which the contention succeeds.
In an optional embodiment, the signal detecting module 1003 may specifically be configured to detect signal detection energy of the entire bandwidth of the current channel in which the contention succeeds; or, detecting the signal detection energy of each sub-band of the current channel with successful competition.
In an optional embodiment, when the signal detection module detects the signal detection energy of each sub-band of the current channel that succeeds in contention, the data transmission module 1002 may be specifically configured to determine that the detected signal detection energy of the current channel is smaller than a second preset threshold when the signal detection energy of any sub-band of the current channel that succeeds in contention is smaller than the second preset threshold, and otherwise, determine that the detected signal detection energy of the current channel is greater than or equal to the second preset threshold.
It should be appreciated that, when the signal detection energy of the current channel is the signal detection energy of the entire bandwidth, and when the signal detection energy of the current channel is the signal detection energy of each sub-band, the corresponding second preset thresholds may be different.
For example, assuming that the bandwidth of the current channel is 20MHz and includes 8 sub-bands, if the threshold (the second preset threshold) of the channel idle estimation over the entire bandwidth is CCAdata, the threshold of the channel idle estimation over each sub-band may be 1/8 × CCAdata.
Referring to fig. 11, fig. 11 is a schematic structural diagram of an AP according to an embodiment of the present invention. Among them, the AP as shown in fig. 11 may include: a bus 1104, and a processor 1101, a memory 1102 and an input/output module 1103 interconnected with the bus, wherein the memory 1102 stores program codes therein, and the processor 1101 is configured to call the program codes stored in the memory 1102 to perform the following operations:
judging whether a channel competition packet sent by any station of the BSS is analyzed on a current channel; if yes, the access point determines that the BSS successfully competes for the current channel;
and broadcasting a downlink PPDU or a trigger frame to the BSS through the input and output module 1103 by using the current channel successful in the contention, where the downlink PPDU or the trigger frame includes uplink or downlink scheduling information for a plurality of stations of the BSS.
In an optional embodiment, the processor 1101 is configured to call the program code stored in the memory 1102 to determine that the current channel contended by the BSS succeeds, and before the input/output module 1103 broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel that succeeded in contending, the following operations may be further performed:
recording the identifiers of a plurality of stations of the BSS which analyze the channel competition packet sent by the current channel successfully competed in the preset time period;
the processor 1101 is configured to call the program code stored in the memory 1102, and broadcast a downlink PPDU or a trigger frame to the BSS through the input/output module 1103 by using the current channel where the contention succeeds, where the method may specifically include:
determining scheduling information of a plurality of sites corresponding to the identifications of the plurality of sites;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations;
and broadcasting a downlink PPDU or a trigger frame including the scheduling information of the plurality of stations to the BSS through the input/output module 1103 by using the current channel successful in the contention.
In an optional embodiment, the processor 1101 is configured to call the program code stored in the memory 1102 to determine that the current channel contended by the BSS succeeds, and before the input/output module 1103 broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel that succeeded in contending, the following operations may be further performed:
counting channel competition packets analyzed in a preset time period and sent by the station of the BSS in the current channel successfully competed; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
the processor 1101 is configured to call the program code stored in the memory 1102, and broadcast a downlink PPDU or a trigger frame to the BSS through the input/output module 1103 by using the current channel where the contention succeeds, where the program code includes:
determining a plurality of stations to be scheduled according to the channel state information included in the analyzed channel competition packet;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU or a trigger frame including scheduling information of the plurality of stations to be scheduled to the BSS through the input/output module 1103 by using the current channel successful in contention.
In an optional embodiment, the channel contention packet is sent when the station needs to perform data transmission and detects that the signal detection energy of the current channel is smaller than a first preset threshold;
the processor 1101 is configured to call the program code stored in the memory 1102, and before the successful contention current channel is used to broadcast a downlink PPDU or a trigger frame to the BSS through the input/output module 1103, may further perform the following operations:
detecting the signal detection energy of the current channel successful in competition; judging whether the detected signal detection energy of the current channel successful in competition is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
if the current channel is smaller than the current channel, the step of broadcasting a downlink PPDU or a trigger frame to the BSS through the input/output module 1103 by using the successfully contended current channel is performed.
In an alternative embodiment, the processor 1101 is configured to invoke the program code stored in the memory 1102 to detect the signal detection energy of the current channel with successful contention, including:
detecting the signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting the signal detection energy of each sub-band of the current channel successful in competition.
In an alternative embodiment, when detecting the signal detection energy of each sub-band of the current channel for which the contention is successful, the processor 1101 is configured to invoke the program code stored in the memory 1102 to determine whether the detected signal detection energy of the current channel for which the contention is successful is less than a second preset threshold includes:
and judging whether the signal detection energy of any sub-band of the current channel successful in competition is smaller than a second preset threshold, if so, determining that the detected signal detection energy of the current channel successful in competition is smaller than the second preset threshold, and if not, determining that the detected signal detection energy of the current channel successful in competition is larger than or equal to the second preset threshold.
It should be noted that the AP shown in fig. 11 only indicates components required by the AP for executing the channel contention method provided by the embodiment of the present invention, and does not indicate other components, such as a physical key, a power supply, and a housing, that the AP can have, in the embodiment of the present invention, because the implementation of the embodiment of the present invention is not affected.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a communication apparatus, which may be a station or a processor applied in the station, and as shown in fig. 12, a schematic structural diagram of the communication apparatus provided in the embodiment of the present invention may include:
a channel contention module 1201, configured to send a channel contention packet on a current channel when the station needs to perform data transmission and a channel contention packet sent by an AP of the BSS is not resolved on the current channel, so that when the AP of the BSS resolves the channel contention packet on the current channel, it is determined that the BSS successfully competes for the current channel;
a data transmission module 1202, configured to receive, in the current channel where the contention succeeds, a downlink PPDU or a trigger frame sent by an AP of the BSS; and when the downlink PPDU or the trigger frame comprises the scheduling information aiming at the site, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the invention, when a station in the BSS needs to perform data transmission and does not analyze the channel competition packet sent by the AP of the BSS in the current channel, the station can send the channel competition packet to perform channel competition.
Specifically, when the station needs to perform transmission and a channel contention packet sent by the AP of the BSS is not resolved in the current channel, the signal contention module may send the channel contention packet in the current channel, so that when the AP of the BSS resolves the channel contention packet in the current channel, it is determined that the BSS successfully competes for the current channel; the data transmission module 1202 may receive, after the current channel is successfully contended by the BSS, a downlink PPDU or a trigger frame sent by an AP of the BSS on the current channel that is successfully contended, and perform uplink or downlink data transmission according to scheduling information for the station included in the downlink PPDU or the trigger frame when the downlink PPDU or the trigger frame includes the scheduling information for the station.
In an optional embodiment, the channel contention packet may include channel state information of the current channel, so that the AP of the BSS determines a target station to be scheduled according to the channel state information.
In an alternative embodiment, the communication apparatus shown in fig. 12 may further include:
a signal detection module 1203, configured to detect a first signal detection energy of the current channel;
the channel contention module 1201 may be specifically configured to send a channel contention packet on the current channel when the first signal detection energy detected by the signal detection module 1203 is less than a first preset threshold;
the signal detection module 1203 may be further configured to detect, if the downlink PPDU or the trigger frame includes scheduling information for the station, second signal detection energy of the current channel that is successfully contended;
the data transmission module 1202 may be specifically configured to perform uplink or downlink data transmission according to scheduling information for the station included in the downlink PPDU or the trigger frame when the second signal detection energy detected by the signal detection module 1203 is less than a second preset threshold.
In order to further improve the data transmission performance of the system, in the embodiment of the present invention, different CCA thresholds are set for the channel contention phase and the data transmission phase: in the channel competition stage, whether channel competition is carried out can be determined by judging whether the detected signal detection energy is smaller than a first preset threshold; and in the data transmission stage, whether data transmission is carried out is determined by judging whether the detected signal detection energy is smaller than a second preset threshold. The first preset threshold and the second preset threshold can be set according to a specific scene, for example, the first preset threshold is-82 dbm, and the second preset threshold is-62 dbm; preferably, the first preset threshold is smaller than the second preset threshold.
Accordingly, based on the above setting, when data transmission is required and a channel contention packet sent by an AP of the BSS is not resolved in a current channel, a station may detect first signal detection energy of the current channel through the signal detection module 1203, and when the first signal detection energy is smaller than a first preset threshold, the enable channel contention module 1201 sends the channel contention packet in the current channel to perform channel contention.
Further, when the BSS successfully contends for the current channel and the downlink PPDU or the trigger frame received by the station includes the scheduling information for the station, before the station performs data transmission, the signal detection module 1203 may further detect second signal detection energy of the successfully contended current channel, and when the second signal detection energy is smaller than a second preset threshold, the enabling data transmission module 1202 performs uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In an optional embodiment, the signal detecting module 1203 may be specifically configured to detect a second signal detection energy of the entire bandwidth of the current channel with successful contention; or detecting second signal detection energy of a sub-band indicated by scheduling information of the station, which is included in the downlink PPDU or a trigger frame in the current channel successful in contention.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a station according to an embodiment of the present invention. Among them, the site shown in fig. 13 may include: a bus 1304, and a processor 1301, a memory 1302, and an input/output module 1303 interconnected with the bus, wherein the memory 1302 stores program codes, and the processor 1301 is configured to call the program codes stored in the memory 1302 to perform the following operations:
when a station needs to perform data transmission and a channel competition packet sent by an AP of a local BSS is not analyzed in a current channel, sending the channel competition packet in the current channel through an input/output module 1303, so that when the AP of the local BSS analyzes the channel competition packet in the current channel, it is determined that the current channel is successfully contended by the local BSS;
receiving a downlink physical layer protocol data unit (PPDU) or a trigger frame sent by the AP of the BSS at the current channel successful in competition through an input-output module 1303;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site;
if yes, uplink or downlink data transmission is performed through the input/output module 1303 according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In an optional embodiment, the channel contention packet includes channel state information of the current channel, so that the AP of the BSS determines a target station to be scheduled according to the channel state information.
In an optional embodiment, the processor 1301 invokes the program code stored in the memory 1302 to perform the following operations through the input/output module 1303, before the channel contention packet is sent by the current channel:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, executing the step of sending a channel competition packet in the current channel;
if the downlink PPDU or the trigger frame includes scheduling information for the local station, before performing uplink or downlink data transmission according to the scheduling information for the local station included in the downlink PPDU or the trigger frame, the method further includes:
detecting second signal detection energy of the current channel successful in competition; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the number of the uplink data transmission frames is smaller than the number of the downlink data transmission frames, executing the step of performing uplink or downlink data transmission through the input and output module 1303 according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In an optional embodiment, the invoking, by the processor 1301, of the program code stored in the memory 1302 to detect the second signal detection energy of the successfully contended current channel may specifically include:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by scheduling information of the station, wherein the sub-band is included in the PPDU or the trigger frame in the current channel which is successful in competition.
It should be noted that, the station shown in fig. 13 only indicates components required by the station for performing the channel contention method provided by the embodiment of the present invention, and other components that the station can have, such as a physical key, a power supply, and a housing, are not indicated in the embodiment of the present invention, because this does not affect the implementation of the embodiment of the present invention.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a communication device, where the communication device may be an AP or a processor applied in the AP, and as shown in fig. 14, a schematic structural diagram of the communication device provided in the embodiment of the present invention may include:
a channel contention module 1401, configured to send a channel contention packet on a current channel to perform channel contention when the AP needs to perform data transmission and the channel contention packet sent by any station of the basic service set BSS is not resolved on the current channel;
and a data transmission module, configured to broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS according to a reception condition of a response frame sent by any station of the BSS after determining that contention for the current channel is successful, where the downlink PPDU or the trigger frame includes scheduling information for multiple stations of the BSS.
In the embodiment of the present invention, it is considered that in the system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP performs time-frequency resource scheduling on the stations, the stations can perform uplink data transmission, and the AP can perform time-frequency resource scheduling on the stations only after successfully competing for a channel, and if the AP fails to compete for the channel, the stations cannot perform time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the invention, when the AP in the BSS needs to perform data transmission and does not analyze the channel competition packet sent by the station of the BSS in the current channel, the AP can send the channel competition packet to perform channel competition
Further, in the embodiment of the present invention, after any station in the BSS receives the channel contention packet sent by the AP of the BSS, a response frame may be sent to the AP of the BSS to trigger the AP of the BSS to schedule the station of the BSS. Accordingly, after the AP determines that the contention for the current channel is successful, the AP may schedule the station of the BSS according to a reception condition of a response frame sent by any station of the BSS.
In an optional embodiment, the data transmission module 1402 may be specifically configured to, when a response frame is sent by any station that succeeds in the contention, broadcast the downlink PPDU or the trigger frame to the BSS by using the current channel that succeeds in the contention.
Specifically, when a station in the BSS analyzes a channel contention packet sent by an AP of the BSS from a current channel, it may be determined that the BSS successfully contends for the current channel, and then the station may detect signal detection energy of the successfully contended current channel, and determine whether the signal detection energy is smaller than the first preset threshold, and if so, send a response frame to the AP of the BSS by using the successfully contended current channel to generate signal interference to an adjacent station of the station, so that the signal detection energy of the successfully contended current channel detected by the adjacent station of the station is increased, thereby reducing probability that the adjacent station of the station participates in contending for the current channel, and implementing receiving end protection.
Correspondingly, after the AP determines that the contention for the current channel is successful and before entering the data transmission stage, when the AP receives a response frame sent by any station of the BSS, the AP may consider that a station with an idle channel exists in the BSS, so that the AP may schedule the station of the BSS, and include a downlink PPDU or a trigger frame of scheduling information for a plurality of stations of the BSS to the BSS through the data transmission module 1402 on the current channel with successful contention; otherwise, the AP may not schedule the station of the BSS.
In another optional embodiment, the data transmission module 1402 may be specifically configured to, when a response frame sent by a station of the BSS is received on the current channel where the contention succeeds, where the response frame includes channel state information of the current channel where the contention succeeds and an identifier of the station, and determine, according to the channel state information and the identifier of the station included in the response frame, a plurality of stations to be scheduled; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
Specifically, when a station in the BSS analyzes a channel contention packet sent by an AP of the BSS, it may consider that the BSS successfully contends for a current channel, and then the station may detect signal detection energy of the successfully contended current channel, and determine whether the signal detection energy is smaller than the first preset threshold, and if so, send a response frame to the AP of the BSS by using the successfully contended current channel, where the station may randomly select a sub-channel from the successfully contended current channel to send the response frame, and the response frame may include channel state information of the successfully contended current channel detected by the station, and an identifier of the station, and the channel state information may include a historical SNR, an instantaneous interference strength, and the like.
Correspondingly, after the AP determines that the contention for the current channel is successful, before entering the data transmission stage, when the AP receives a response frame sent by a station of the BSS, and the response frame includes channel state information of the current channel, detected by the corresponding station, of which the contention is successful, the data transmission module 1402 may determine a plurality of stations to be scheduled according to the channel state information included in the response frame and identifiers of the stations, generate a downlink PPDU or a trigger frame including scheduling information of the plurality of stations to be scheduled, and further broadcast the downlink PPDU or the trigger frame including the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel of which the contention is successful.
In an alternative embodiment, the communication apparatus shown in fig. 14 may further include:
a signal detection module 1403, configured to detect a first signal detection energy of the current channel;
accordingly, the channel contention module 1401 may be specifically configured to, when the first signal detection energy detected by the signal detection module 1403 is smaller than a first preset threshold, send a channel contention packet on the current channel;
the response frame is sent to the AP of the BSS by using the current channel when the station of the BSS resolves a channel contention packet sent by the AP of the BSS in the current channel and detects that signal detection energy of the current channel is less than a first preset threshold;
the signal detection module 1403 is further configured to detect a second signal detection energy of the channel;
correspondingly, the data transmission module 1402 may be specifically configured to broadcast a downlink PPDU or a trigger frame to the BSS by using the current channel successful in contention when the second signal detection energy detected by the signal detection module 1403 is smaller than a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
Referring to fig. 15, fig. 15 is a schematic structural diagram of an AP according to an embodiment of the present invention. Among them, the AP shown in fig. 15 may include: a bus 1504, and a processor 1501, a memory 1502 and an input-output module 1503 interconnected with the bus, wherein the memory 1502 stores program codes, and the processor 1501 is used for calling the program codes stored in the memory 1502 and executing the following operations:
when the AP needs to perform data transmission and does not resolve a channel contention packet sent by any station of the BSS in the current channel, sending the channel contention packet in the current channel through the input/output module 1503 to perform channel contention;
after determining that the current channel is successfully contended, according to a reception condition of a response frame sent by any station of the BSS, broadcasting a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS through the input/output module 1503 by using the successfully contended current channel, where the downlink PPDU or the trigger frame includes scheduling information for a plurality of stations of the BSS.
In an optional embodiment, the invoking, by the processor 1501, the program code stored in the memory 1502 sends the downlink PPDU or the trigger frame according to a receiving condition of the response frame sent by any station of the BSS may specifically include:
judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed;
if yes, the input/output module 1503 broadcasts a downlink PPDU or a trigger frame to the BSS by using the successful current channel of contention.
In an optional embodiment, the invoking, by the processor 1501, the program code stored in the memory 1502 sends the downlink PPDU or the trigger frame according to a receiving condition of the response frame sent by any station of the BSS may specifically include:
judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed; the response frame comprises the channel state information of the current channel which is successfully contended and detected by the corresponding station and the identifier of the station;
if a response frame sent by a station of the BSS is received on the current channel successfully competed, determining a plurality of stations to be scheduled according to channel state information and station identifiers included in the response frame;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU or a trigger frame including scheduling information of the plurality of stations to be scheduled to the BSS through the input/output module 1503 by using the current channel successful in contention.
In an alternative embodiment, the processor 1501 invokes the program code stored in the memory 1502 to perform the following steps before sending the channel contention packet on the current channel through the input/output module 1503:
detecting a first signal detection energy of the current channel; judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, a step of sending a channel competition packet in the current channel through the input/output module 1503 is executed;
the response frame is sent to the AP of the BSS by using the current channel when the station of the BSS resolves a channel contention packet sent by the AP of the BSS in the current channel and detects that signal detection energy of the current channel is less than a first preset threshold;
the processor 1501 calls the program code stored in the memory 1502 to perform the following operations before broadcasting the downlink PPDU or the trigger frame to the BSS through the input/output module 1503 using the current channel in which the contention succeeds:
detecting a second signal detection energy of the current channel; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
if the second signal detection energy is smaller than a second preset threshold, a step of broadcasting a downlink PPDU or a trigger frame to the BSS through the input/output module 1503 by using the successfully contended current channel is performed.
It should be noted that the AP shown in fig. 15 only indicates components required by the AP for performing the channel contention method provided by the embodiment of the present invention, and does not indicate other components, such as a physical key, a power supply, and a housing, that the AP can have, in the embodiment of the present invention, because the implementation of the embodiment of the present invention is not affected.
Based on the system architecture shown in fig. 1, an embodiment of the present invention provides a communication device, where the communication device may be an AP or a processor applied in the AP, and as shown in fig. 16, a schematic structural diagram of the communication device provided in the embodiment of the present invention may include:
a channel competition module 1601, configured to determine whether a channel competition packet sent by an access point AP of the BSS is resolved in a current channel; if yes, determining that the BSS successfully competes for the current channel;
a data transmission module 1602, configured to send a response frame to the AP of the BSS on the current channel that successfully competes, so that when the AP of the BSS receives the response frame, the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel that successfully competes; receiving a downlink physical layer protocol data unit (PPDU) sent by an AP of the BSS at the current channel successfully contended; and when the downlink PPDU or the trigger frame comprises the scheduling information aiming at the site, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
In consideration of the fact that in a system, each BSS includes a plurality of stations associated with an AP of the BSS, and after the AP schedules time-frequency resources for the stations, the stations can perform uplink data transmission, and the AP needs to successfully compete for a channel to perform the time-frequency resource scheduling for the stations, and if the AP fails to compete for the channel, the stations cannot perform the time-frequency resource scheduling, so that uplink data transmission of the stations is affected, and therefore, in order to improve data transmission efficiency in the system, the success rate of the AP preempting the channel needs to be improved.
In order to achieve the above object, in the embodiment of the present invention, when a station in a BSS successfully competes for a channel, the station transfers the channel usage right to an AP, that is, in the same BSS, the station can help the AP to preempt the channel, so as to improve the success rate of the AP in preempting the channel.
In the embodiment of the present invention, when the AP needs to perform data transmission and does not resolve the channel contention packet sent by the station of the BSS in the current channel, the AP may send the channel contention packet to perform channel contention. And when the station analyzes a channel competition packet sent by the AP of the BSS in the current channel, determining that the BSS successfully competes for the current channel.
After determining that the current channel resolves the channel contention packet sent by the AP of the BSS, any station in the BSS may send a response frame to the AP of the BSS on the current channel where the contention succeeds, so as to trigger the AP of the BSS to schedule the station of the BSS.
In the embodiment of the present invention, when the AP successfully competes for the current channel and receives the response frame sent by the station of the BSS, the AP may broadcast, to the BSS, the downlink PPDU or the trigger frame including the scheduling information for the multiple stations of the BSS by using the successfully competed current channel.
Accordingly, after receiving the downlink PPDU or the trigger frame sent by the AP of the BSS, the data transmission module 1602 may determine whether the downlink PPDU or the trigger frame includes the scheduling information for the station, and when the downlink PPDU or the trigger frame includes the scheduling information for the station, perform uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
For example, the AP may include scheduling information of a station to be scheduled in a SIG field in the downlink PPDU, where the scheduling information may indicate a time-frequency resource allocated by the AP to the corresponding station, so that the corresponding station may determine, according to the time-frequency resource, a time and a frequency domain for receiving downlink data sent by the AP, or a time and a frequency domain for performing uplink data transmission.
In an alternative embodiment, the communication apparatus shown in fig. 16 may further include:
a signal detection module 1603, configured to detect a first signal detection energy of the current channel;
accordingly, in an optional embodiment, the data transmission module 1602 may be specifically configured to send a response frame to the AP of the BSS on the current channel where the contention is successful when the first signal detection energy detected by the signal detection module 1603 is less than a first preset threshold.
In this optional embodiment, when the channel competition module 1601 determines that the BSS successfully competes for the channel, the signal detection module 1603 may be enabled to detect the first signal detection energy of the successfully competed current channel; when the signal detection module 1603 detects that the first signal detection energy of the current channel successful in contention is less than a first preset threshold, the data transmission module 1602 may be enabled; after the signal detection module 1603 is enabled, the data transmission module 1602 may send a response frame to the AP of the BSS on the current channel that successfully competes to generate signal interference to the neighboring station of the station, so that the signal detection energy of the current channel detected by the neighboring station of the station is increased, thereby reducing the probability that the neighboring station of the station participates in competing for the current channel, and implementing the receiving end protection.
In the embodiment of the present invention, when receiving a response frame sent by a station of the BSS, the AP may consider that a station with an idle channel exists in the BSS, so that the AP may schedule the station of the BSS, and broadcast a downlink PPDU including scheduling information for the station of the BSS to the BSS on a current channel; otherwise, the AP may not schedule the station of the BSS.
In another optional embodiment, the data transmission module 1602 may be specifically configured to, when the first signal detection energy detected by the signal detection module 1603 is less than the first signal detection energy, randomly select a sub-channel from the current channel successful in contention, and send the response frame to the AP of the present BSS by using the sub-channel, where the response frame includes the channel state information of the current channel successful in contention detected by the AP and the identifier of the present station, so that the AP of the present BSS determines the station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
In this optional embodiment, when the channel competition module 1601 determines that the BSS successfully competes for the channel, the signal detection module 1603 may be enabled to detect the first signal detection energy of the successfully competed current channel; when the signal detection module 1603 detects that the first signal detection energy of the current channel successful in contention is less than a first preset threshold, the data transmission module 1602 may be enabled; after the signal detection module 1603 is enabled, the data transmission module 1602 may randomly select a sub-channel from the current channel that succeeds in the contention, and send a response frame to the AP of the BSS by using the sub-channel, where the response frame includes channel state information of the current channel that succeeds in the contention and the identifier of the station detected by the station.
When receiving a response frame sent by a station of the BSS, the AP may determine the station to be scheduled according to channel state information included in the response frame and an identifier of the station, and further, the AP may schedule the station to be scheduled of the BSS and broadcast a downlink PPDU including scheduling information of the station to be scheduled to the BSS on a current channel; otherwise, the AP may not schedule the station of the BSS.
In an optional embodiment, the signal detecting module 1603 may be further configured to detect second signal detection energy of the current channel successful in contention after the downlink PPDU or the trigger frame includes scheduling information for the station;
correspondingly, the data transmission module 1602 may be further configured to perform uplink or downlink data transmission according to the scheduling information included in the downlink PPDU or the trigger frame when the second signal detection energy detected by the signal detection module 1603 is less than a second preset threshold.
In an optional embodiment, the signal detecting module 1603 may be specifically configured to detect the second signal detection energy of the entire bandwidth of the current channel with successful contention; or detecting second signal detection energy of a sub-band indicated by the scheduling information for the station, which is included in the PPDU or the trigger frame in the current channel in which the contention succeeds.
Referring to fig. 17, fig. 17 is a schematic structural diagram of a station according to an embodiment of the present invention. Among them, the site shown in fig. 17 may include: a bus 1704, and a processor 1701, a memory 1702, and an input-output module 1703 interconnected with the bus, the memory 1702 having program code stored therein, and the processor 1701 being configured to call the program code stored in the memory 1702 to perform the following:
judging whether a channel competition packet sent by an access point AP of the BSS is analyzed in a current channel; if yes, determining that the BSS successfully competes for the current channel;
sending a response frame to the AP of the BSS through the input/output module 1703 on the current channel where the contention succeeds, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel where the contention succeeds when receiving the response frame;
receiving a downlink physical layer protocol data unit (PPDU) sent by the AP of the BSS at the current channel successful in competition through an input/output module 1703;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site;
if yes, the input/output module 1703 performs uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame.
In an alternative embodiment, after the processor 1701 invokes the program code stored in the memory 1702 to determine that the current channel contended by the BSS is successful, and before the current channel contended successfully sends a response frame to the AP of the BSS through the input/output module 1703, the following operations may be further performed:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than the first preset threshold or not;
and if so, executing the step of sending a response frame to the AP of the BSS through an input/output module on the current channel successfully contended.
In an alternative embodiment, after the processor 1701 invokes the program code stored in the memory 1702 to determine that the current channel contended by the BSS is successful, and before the current channel contended successfully sends a response frame to the AP of the BSS through the input/output module 1703, the following operations may be further performed:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than the first preset threshold or not;
if yes, executing the step of sending a response frame to the AP of the BSS through the input/output module 1703 on the current channel where the contention succeeds;
the sending, by the input/output module 1703, a response frame to the AP of the BSS on the current channel where the contention succeeds, includes:
randomly selecting a sub-channel from the current channels successfully contended, and sending the response frame to the AP of the BSS through the input/output module 1703 by using the sub-channel, where the response frame includes channel state information of the current channel successfully contended, which is detected by the AP, and an identifier of the AP, so that the AP of the BSS determines a station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
In an optional embodiment, after the processor 1701 invokes the program code stored in the memory 1702 to determine that the downlink PPDU or the trigger frame includes the scheduling information for the local station, and before the input/output module 1703 performs uplink or downlink data transmission according to the scheduling information for the local station included in the downlink PPDU or the trigger frame, the following operations may also be performed:
detecting second signal detection energy of the current channel successful in competition;
judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the value is less than the threshold value, performing uplink or downlink data transmission through the input and output module 1703 according to the scheduling information included in the downlink PPDU or the trigger frame.
In an alternative embodiment, the processor 1701 invoking program code stored in the memory 1702 to detect a second signal detection energy for the contention successful current channel includes:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by the scheduling information of the station, which is included in the PPDU or the trigger frame in the current channel successful in contention.
It should be noted that, the station shown in fig. 17 only indicates components required by the station for performing the channel contention method provided by the embodiment of the present invention, and other components that the station can have, such as a physical key, a power supply, and a housing, are not indicated in the embodiment of the present invention, because this does not affect the implementation of the embodiment of the present invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. Specifically, the implementation may be realized by software plus necessary general hardware, where the general hardware includes a general-purpose integrated circuit, a general-purpose CPU, a general-purpose memory, general-purpose components, and the like, and of course, the implementation may also be realized by dedicated hardware including an application-specific integrated circuit, a dedicated CPU, a dedicated memory, dedicated components, and the like.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The channel contention method and the related apparatus provided by the embodiment of the present invention are described in detail above, and the principle and the embodiment of the present invention are explained in detail herein by applying specific examples, and the description of the above embodiments is only used to help understanding the method of the present invention; meanwhile, for a person skilled in the art, there may be variations in the specific embodiments and application ranges according to the present invention, and in summary, the present disclosure should not be construed as limiting the present invention.

Claims (25)

1. A method for channel contention, comprising:
the access point judges whether a channel competition packet sent by any station of the basic service set BSS is analyzed on the current channel; if yes, the access point determines that the BSS successfully competes for the current channel; the channel competition packet is sent when the station needs to transmit data and detects that the signal detection energy of the current channel is smaller than a first preset threshold;
detecting the signal detection energy of the current channel successfully contended; judging whether the detected signal detection energy of the current channel successful in competition is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
if the current channel successfully competes is smaller than the current channel, a downlink physical layer protocol data unit (PPDU) or a trigger frame is broadcasted to the BSS, wherein the downlink PPDU or the trigger frame comprises uplink or downlink scheduling information aiming at a plurality of stations of the BSS.
2. The method as claimed in claim 1, wherein after determining that the current channel contended by the BSS succeeds, and before broadcasting a downlink PPDU or a trigger frame to the BSS using the current channel contended successfully, further comprising:
recording the identifiers of a plurality of stations of the BSS which analyze the channel competition packet sent by the current channel successfully competed in the preset time period;
the broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended includes:
determining scheduling information of a plurality of sites corresponding to the identifications of the plurality of sites;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations;
and broadcasting a downlink PPDU (pulse protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to the BSS by using the current channel successful in competition.
3. The method according to claim 1 or 2, wherein after determining that the current channel is successfully contended by the BSS and before broadcasting a downlink PPDU or a trigger frame to the BSS using the successfully contended current channel, further comprising:
counting channel competition packets analyzed in a preset time period and sent by the station of the BSS in the current channel successfully competed; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
the broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successfully contended includes:
determining a plurality of stations to be scheduled according to the channel state information included in the analyzed channel competition packet;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
4. The method of claim 1, wherein said detecting the signal detection energy of the current channel for which the contention succeeds comprises:
detecting the signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting the signal detection energy of each sub-band of the current channel successful in competition.
5. The method as claimed in claim 4, wherein said determining whether the detected signal detection energy of the successfully contended current channel is less than a second preset threshold when detecting the signal detection energy of each sub-band of the successfully contended current channel comprises:
and judging whether the signal detection energy of any sub-band of the current channel successful in competition is smaller than a second preset threshold, if so, determining that the detected signal detection energy of the current channel successful in competition is smaller than the second preset threshold, and if not, determining that the detected signal detection energy of the current channel successful in competition is larger than or equal to the second preset threshold.
6. A method for channel contention, comprising:
detecting a first signal detection energy of a current channel;
judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, when any station in the basic service set BSS needs to perform data transmission and does not analyze a channel competition packet sent by an access point AP of the BSS in a current channel, sending the channel competition packet in the current channel so that the AP of the BSS analyzes the channel competition packet in the current channel and the BSS is determined to successfully compete for the current channel;
receiving a PPDU (physical layer protocol data unit) or a trigger frame sent by the AP of the BSS at the current channel successfully contended;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site; detecting second signal detection energy of the current channel successful in competition; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the downlink PPDU or the trigger frame comprises scheduling information aiming at the site and the second signal detection energy is less than the second preset threshold, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame.
7. The method as claimed in claim 6, wherein the channel contention packet includes channel status information of the current channel, so that the AP of the BSS determines the target station to be scheduled according to the channel status information.
8. The method of claim 6, wherein said detecting the second signal detection energy of the contention successful current channel comprises:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by scheduling information of the station, wherein the sub-band is included in the PPDU or the trigger frame in the current channel which is successful in competition.
9. A method for channel contention, comprising:
detecting a first signal detection energy of a current channel; judging whether the first signal detection energy is smaller than a first preset threshold or not; if so, when the access point needs to perform data transmission and does not analyze a channel competition packet sent by any station of the basic service set BSS in the current channel, sending the channel competition packet in the current channel to perform channel competition;
after determining that the current channel is successfully contended, according to the receiving condition of a response frame sent by any station of the BSS, broadcasting a downlink physical layer protocol data unit (PPDU) or a trigger frame to the BSS by using the current channel successfully contended, wherein the downlink PPDU or the trigger frame comprises scheduling information aiming at a plurality of stations of the BSS;
detecting a second signal detection energy of the current channel; judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold; judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed;
if so, and the second signal detection energy is less than a second preset threshold, broadcasting a downlink PPDU or a trigger frame to the BSS by using the current channel successful in competition.
10. The method according to claim 9, wherein the transmitting the downlink PPDU or the trigger frame according to a reception condition of the response frame transmitted by any station of the BSS includes:
judging whether a response frame sent by any station of the BSS is received in the current channel successfully competed; the response frame comprises the channel state information of the current channel which is successfully contended and detected by the corresponding station and the identifier of the station;
if a response frame sent by a station of the BSS is received on the current channel successfully competed, determining a plurality of stations to be scheduled according to channel state information and station identifiers included in the response frame;
generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations to be scheduled;
and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
11. A method for channel contention, comprising:
any station in the basic service set BSS judges whether a channel competition packet sent by an access point AP of the BSS is analyzed in a current channel; if yes, determining that the BSS successfully competes for the current channel;
detecting a first signal detection energy of the current channel; judging whether the first signal detection energy is smaller than a first preset threshold or not; if yes, sending a response frame to the AP of the BSS on the current channel successful in competition, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel successful in competition when receiving the response frame;
receiving a downlink physical layer protocol data unit (PPDU) sent by an AP of the BSS at the current channel successfully contended;
judging whether the downlink PPDU or the trigger frame comprises scheduling information aiming at the site;
and if so, performing uplink or downlink data transmission according to the scheduling information aiming at the site and included in the downlink PPDU or the trigger frame.
12. The method according to claim 11, wherein after determining that the current channel contended by the BSS is successful and before the successful current channel contended sends a response frame to the AP of the BSS, further comprising:
detecting a first signal detection energy of the current channel;
judging whether the first signal detection energy is smaller than the first preset threshold or not;
if yes, executing the step of sending a response frame to the AP of the BSS on the current channel successful in competition;
the sending a response frame to the AP of the BSS on the current channel on which the contention succeeds, includes:
and randomly selecting a sub-channel from the current channels successfully contended, and sending the response frame to the AP of the BSS by using the sub-channel, where the response frame includes the channel state information of the current channel successfully contended, which is detected by the AP, and the identifier of the AP, so that the AP of the BSS determines the station to be scheduled according to the channel state information included in the received response frame and the identifier of the station.
13. The method according to claim 11 or 12, wherein after determining that the scheduling information for the own station is included in the downlink PPDU or the trigger frame, and before performing uplink or downlink data transmission according to the scheduling information for the own station included in the downlink PPDU or the trigger frame, further comprising:
detecting second signal detection energy of the current channel successful in competition;
judging whether the second signal detection energy is smaller than a second preset threshold or not; the second preset threshold is different from the first preset threshold;
and if the number of the uplink data transmission frames is smaller than the number of the downlink data transmission frames, performing uplink or downlink data transmission according to the scheduling information included in the downlink PPDU or the trigger frame.
14. The method of claim 13,
the detecting the second signal detection energy of the current channel successful in contention comprises:
detecting the second signal detection energy of the whole bandwidth of the current channel successful in competition; or the like, or, alternatively,
and detecting second signal detection energy of a sub-band indicated by the scheduling information of the station, which is included in the PPDU or the trigger frame in the current channel successful in contention.
15. A communication apparatus, which is an access point AP or a processor applied in the access point AP, comprising:
the channel competition module is used for judging whether a channel competition packet sent by any station of the basic service set BSS is analyzed on a current channel; if yes, determining that the BSS successfully competes for the current channel; the channel competition packet is sent when the station needs to transmit data and detects that the signal detection energy of the current channel is smaller than a first preset threshold;
the signal detection module is used for detecting the signal detection energy of the current channel successful in competition;
a data transmission module, configured to broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS by using the current channel successfully contended, where the downlink PPDU or the trigger frame includes uplink or downlink scheduling information for multiple stations of the BSS; when the signal detection module detects that the signal detection energy of the current channel successfully competes is a second preset threshold, broadcasting a downlink PPDU (pulse Width modulation) or a trigger frame to the BSS by using the current channel successfully competes; the second predetermined threshold is different from the first predetermined threshold.
16. The communications apparatus of claim 15,
the channel competition module is further configured to record identifiers of multiple stations of the BSS, which analyze channel competition packets sent on the successfully contended current channel within a preset time period, after determining that the current channel is successfully contended by the BSS;
the data transmission module is further configured to determine scheduling information of a plurality of stations corresponding to the identifiers of the plurality of stations; generating a downlink PPDU or a trigger frame, wherein the downlink PPDU or the trigger frame comprises scheduling information of the plurality of stations; and broadcasting a downlink PPDU (pulse protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to the BSS by using the current channel successful in competition.
17. The communication apparatus according to claim 15 or 16,
the channel competition module is further configured to, after it is determined that the current channel is successfully contended by the BSS, count a channel competition packet sent by a station of the BSS in the successfully contended current channel, which is analyzed within a preset time period; the channel competition packet comprises channel state information of the current channel which is successfully competed and detected by the corresponding station;
the data transmission module is further configured to determine a plurality of stations to be scheduled according to the channel state information included in the analyzed channel contention packet; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
18. The communication apparatus as claimed in claim 15, wherein when the signal detection module detects the signal detection energy of each sub-band of the current channel for which the contention succeeds,
the data transmission module is specifically configured to determine that the detected signal detection energy of the current channel is smaller than a second preset threshold when the signal detection energy of any sub-band of the current channel successful in contention is smaller than the second preset threshold, and otherwise, determine that the detected signal detection energy of the current channel is greater than or equal to the second preset threshold.
19. A communication apparatus, the communication apparatus being a station or a processor applied in a station, comprising:
the signal detection module is used for detecting first signal detection energy of a current channel;
a channel competition module, configured to send a channel competition packet on a current channel when a station needs to perform data transmission and a channel competition packet sent by an access point AP of a basic service set BSS is not resolved on the current channel, so that when the channel competition packet is resolved by the AP of the BSS on the current channel, it is determined that the BSS competes for the current channel successfully;
the signal detection module is further configured to detect second signal detection energy of the successfully contended current channel if a downlink physical layer protocol data unit PPDU or a trigger frame includes scheduling information for the station;
a data transmission module, configured to receive, in the current channel successfully contended, a downlink physical layer protocol data unit PPDU or a trigger frame sent by an AP of the BSS; when the downlink PPDU or the trigger frame comprises scheduling information aiming at the site and second signal detection energy detected by the signal detection module is less than a second preset threshold, performing uplink or downlink data transmission according to the scheduling information aiming at the site and contained in the downlink PPDU or the trigger frame; the second predetermined threshold is different from the first predetermined threshold.
20. The communications apparatus as claimed in claim 19, wherein the channel contention packet includes channel status information of the current channel, so that the AP of the BSS determines a target station to be scheduled according to the channel status information.
21. A communication apparatus, which is an access point AP or a processor applied in the access point AP, comprising:
the signal detection module is used for detecting first signal detection energy of a current channel;
a channel competition module, configured to send a channel competition packet on a current channel to perform channel competition when the AP needs to perform data transmission, the first signal detection energy detected by the signal detection module is smaller than a first preset threshold, and a channel competition packet sent by any station of the basic service set BSS is not resolved on the current channel;
the signal detection module is further configured to detect a second signal detection energy of the channel;
a data transmission module, configured to, when it is determined that contention for the current channel is successful and when second signal detection energy detected by the signal detection module is smaller than a second preset threshold, broadcast a downlink physical layer protocol data unit PPDU or a trigger frame to the BSS by using the successfully contended current channel according to a reception condition of a response frame sent by any station of the BSS, where the downlink PPDU or the trigger frame includes scheduling information for multiple stations of the BSS; the response frame is sent to the AP of the BSS by using the current channel when the station of the BSS resolves the channel contention packet sent by the AP of the BSS in the current channel and detects that the signal detection energy of the current channel is less than a first preset threshold.
22. The communications apparatus of claim 21,
the data transmission module is specifically configured to, when receiving a response frame sent by any station of the BSS on the current channel in which the contention succeeds, broadcast the downlink PPDU or the trigger frame to the BSS by using the current channel in which the contention succeeds.
23. The communications apparatus of claim 21,
the data transmission module is specifically configured to, when a response frame sent by a station of the BSS is received on the current channel where the contention succeeds, where the response frame includes channel state information of the current channel where the contention succeeds and an identifier of the station detected by the corresponding station, and determine a plurality of stations to be scheduled according to the channel state information and the identifier of the station included in the response frame; generating a downlink PPDU or trigger frame comprising the scheduling information of the plurality of stations to be scheduled; and broadcasting a downlink PPDU (direct protocol Unit) or a trigger frame comprising the scheduling information of the plurality of stations to be scheduled to the BSS by using the current channel successful in competition.
24. A communication apparatus, the communication apparatus being a station or a processor applied in a station, comprising:
the signal detection module is used for detecting first signal detection energy of a current channel;
the channel competition module is used for judging whether a channel competition packet sent by an access point AP of the BSS is analyzed in a current channel; if yes, determining that the BSS successfully competes for the current channel;
a data transmission module, configured to send a response frame to the AP of the BSS on the current channel that succeeds in contention when first signal detection energy detected by the signal detection module is smaller than a first preset threshold, so that the AP of the BSS broadcasts a downlink PPDU or a trigger frame to the BSS by using the current channel that succeeds in contention when receiving the response frame; receiving a downlink physical layer protocol data unit (PPDU) sent by an AP of the BSS at the current channel successfully contended; when a downlink PPDU or a trigger frame includes scheduling information for a station, performing uplink or downlink data transmission according to the scheduling information for the station included in the downlink PPDU or the trigger frame, or when the signal detection module detects that first signal detection energy is less than first signal detection energy, randomly selecting a sub-channel from the successfully contended current channel, and sending the response frame to the AP of the BSS by using the sub-channel, where the response frame includes channel state information of the successfully contended current channel detected by the station and an identifier of the station, so that the AP of the BSS determines the station to be scheduled according to the received channel state information included in the response frame and the identifier of the station.
25. The communications apparatus of claim 24,
the signal detection module is further configured to detect second signal detection energy of the successfully contended current channel after the downlink PPDU or the trigger frame includes scheduling information for the station;
the data transmission module is further configured to perform uplink or downlink data transmission according to scheduling information included in the downlink PPDU or the trigger frame when the second signal detection energy detected by the signal detection module is smaller than a second preset threshold; the second predetermined threshold is different from the first predetermined threshold.
CN201580075906.2A 2015-02-12 2015-02-12 Channel competition method and related device Active CN107210847B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/072947 WO2016127371A1 (en) 2015-02-12 2015-02-12 Channel competition method and relevant apparatus

Publications (2)

Publication Number Publication Date
CN107210847A CN107210847A (en) 2017-09-26
CN107210847B true CN107210847B (en) 2020-07-24

Family

ID=56614945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580075906.2A Active CN107210847B (en) 2015-02-12 2015-02-12 Channel competition method and related device

Country Status (2)

Country Link
CN (1) CN107210847B (en)
WO (1) WO2016127371A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595517A (en) * 2011-01-13 2012-07-18 中兴通讯股份有限公司 Method and system for realizing data sending
CN103428885A (en) * 2012-05-25 2013-12-04 中兴通讯股份有限公司 Competition access method and station

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5400151B2 (en) * 2008-06-18 2014-01-29 トムソン ライセンシング Communication method and communication station
CN103068054B (en) * 2011-10-21 2017-05-24 上海无线通信研究中心 Controllable super-speed wireless local area network channel access method based on time delay
CN103096440B (en) * 2011-11-07 2019-01-25 中兴通讯股份有限公司 A kind of wireless channel cut-in method and system
CN103379657B (en) * 2012-04-16 2016-08-17 华为技术有限公司 Website cut-in method and website
CN102932123B (en) * 2012-11-01 2015-06-24 北京北方烽火科技有限公司 Method and system for detecting sounding reference signal (SRS)
CN104219017B (en) * 2013-05-29 2018-03-13 华为技术有限公司 A kind of physical layer data package transmission method and access node

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595517A (en) * 2011-01-13 2012-07-18 中兴通讯股份有限公司 Method and system for realizing data sending
CN103428885A (en) * 2012-05-25 2013-12-04 中兴通讯股份有限公司 Competition access method and station

Also Published As

Publication number Publication date
CN107210847A (en) 2017-09-26
WO2016127371A1 (en) 2016-08-18

Similar Documents

Publication Publication Date Title
US9936414B2 (en) Enabling long-term-evolution/wifi coexistence
US20180035488A1 (en) Multi-Station Access Method, Apparatus, and System
CN110581754B (en) Method, equipment and device for sending and receiving request signal
US10542438B2 (en) Method for detecting signal on unlicensed spectrum channel, user equipment, and base station
US10299296B2 (en) Data sending method, resource measurement method, apparatus, and device
JP2018530961A (en) Method and apparatus for transmitting physical downlink control channel
US11019621B2 (en) Spectrum efficiency for uplink wireless communications
KR20170098891A (en) Message transmission method and apparatus
US11246159B2 (en) Transmission medium sharing in a wireless communications network
US11533705B2 (en) Access signal transmission and reception
US10164797B2 (en) Data transmission method and station
CN109564516B (en) Carrier selection method, terminal equipment and computer storage medium
WO2020258048A1 (en) Downlink transmission detection method and apparatus, device, and storage medium
CN104219017A (en) A method for transmitting a data packet in a physical layer and an access point
CN106658725B (en) data transmission method and device
US10645723B2 (en) Signal transmission method, signal transmission control method, user equipment, and base station
CN107431954B (en) Data transmission method and device
US20220053561A1 (en) Approaches for clear channel assessment
CN110121162B (en) Resource multiplexing device, user equipment and method
CN107210847B (en) Channel competition method and related device
US20220400514A1 (en) Controlling transmission medium access in an open spectrum
Wang et al. Study on flexible TTI scheduling for LAA systems
CN110719627A (en) System message sending and acquiring method, base station, terminal and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant