CN107925992B - Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame - Google Patents

Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame Download PDF

Info

Publication number
CN107925992B
CN107925992B CN201580082078.5A CN201580082078A CN107925992B CN 107925992 B CN107925992 B CN 107925992B CN 201580082078 A CN201580082078 A CN 201580082078A CN 107925992 B CN107925992 B CN 107925992B
Authority
CN
China
Prior art keywords
control frame
color
field
frame
bss
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
CN201580082078.5A
Other languages
Chinese (zh)
Other versions
CN107925992A (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 CN107925992A publication Critical patent/CN107925992A/en
Application granted granted Critical
Publication of CN107925992B publication Critical patent/CN107925992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Abstract

The embodiment of the invention discloses a method, a device and equipment for determining a BSS (base station system) to which a control frame belongs and sending the control frame, and relates to the technical field of communication. The method of the embodiment of the invention comprises the following steps: the method comprises the steps that a first device receives a control frame sent by a second device, wherein the control frame comprises a Data field; the first equipment acquires the Color of the BSS to which the second equipment belongs from the Data field in the control frame, wherein the Color is the identification of the BSS; the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color. The method and the device are suitable for determining the BSS to which the received target control frame belongs.

Description

Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for determining a BSS to which a control frame belongs and transmitting the control frame.
Background
With the development of communication technology, especially the evolution of the W L AN (Wireless L optical Area Network) standard, although the performance of a link using SR (Spatial Reuse) is reduced compared with the performance of a link not using SR, the sum of the capacities of a plurality of links using SR is increased compared with the capacity of a link not using SR, that is, the system capacity is increased, and therefore, the system capacity can be increased by introducing AN SR mechanism.
Currently, an STA (Station) can determine whether SR can be used by determining a BSS to which a received control frame belongs. The STA may determine whether the received Control frame is from a local Service Set Identifier (intra-BSS) or a neighbor BSS (inter-BSS) by distinguishing a Color (short identity of BSS) in a SIG (Signal field) or a MAC (Medium Access Control) address in a MAC header in a physical header of the Control frame. And when the control frame comes from the neighbor BSS, ignoring the frame with the receiving power just within the interval range of the lowest sensitivity level of the receiver and the CCA threshold after the adjustment by adjusting the CCA threshold to be high. That means, even if the STA can correctly parse the frame, it will not perform any processing using the information in the frame, such as: since the STA does not update its NAV (Network Allocation Vector) with the information of the Duration field in the frame, the STA is not inhibited by the transmission of the neighbor BSS and can use the SR.
However, since a Control frame, such as a CTS (Clear to Send) frame, an ACK (acknowledgement) frame, an RTS (Request to Send) frame, a BAR (Block acknowledgement Request) frame, a BA (Block acknowledgement) frame, and a Control Wrapper frame, has only two address fields at most in the MAC header, and may not include a BSSID (Basic Service Set Identifier) in the address fields, after receiving the Control frame, the STA cannot determine whether the Control frame is from the BSS or the neighbor BSS according to the MAC address in the MAC header. Therefore, the STA cannot accurately determine the currently-owned BSS by using the above method, and thus cannot determine whether the SR can be used.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a device for determining a BSS to which a control frame belongs and transmitting the control frame, which can accurately determine the BSS to which the received control frame belongs, thereby determining whether an SR can be used.
In order to achieve the purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for determining a basic service set BSS, where the method includes:
the method comprises the steps that a first device receives a control frame sent by a second device, wherein the control frame comprises a Data field;
the first device acquires a Color value Color of a BSS to which the second device belongs from the Data field in the control frame, wherein the Color is an identifier of the BSS;
and the first equipment determines whether the control frame is from the BSS to which the first equipment belongs according to the Color.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the first device receives a control frame sent by a second device, the method includes:
the first device acquires type indication information from the Control Frame, wherein the type indication information is located in a Frame Control field of the Data field in the Control Frame or located in a first bit of an address RA field of a receiver;
the first equipment judges whether the control frame carries basic service set identification BSSID or not according to the type indication information;
when the control frame is determined not to carry the BSSID, the first device executes the step to acquire the Color of the BSS to which the second device belongs from the Data field in the control frame;
when the control frame is determined to carry the BSSID, the first device determines whether the control frame is from the BSS to which the first device belongs according to the BSSID.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the determining, by the first device, whether the control frame is from a BSS to which the first device belongs according to the BSSID, the method includes:
the first device acquires identification indication information from the Control Frame, wherein the identification indication information is located in the Frame Control field or the RA field of the Control Frame, the identification indication information is used for indicating a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field;
the first equipment determines the storage position of the BSSID according to the identification indication information;
the first device acquires the BSSID from a storage location of the BSSID.
With reference to the first aspect, or any one of the first to the second possible implementation manners of the first aspect, in a third possible implementation manner of the first aspect, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the type indication information is used to indicate whether a BSSID is stored in an RA field of the control frame when it is determined that the control frame is the CTS frame or the ACK frame, or whether a BSSID is stored in a TA field or an RA field of the control frame when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the first aspect, in a fifth possible implementation manner of the first aspect, the acquiring, by the first device, a Color of a BSS to which the second device belongs from the Data field in the control frame includes:
the first device acquires the Color from a Frame Control domain of the Data domain;
or, the first device acquires the Color from a serving SREVICE domain of the Data domain;
or, the first device acquires the Color from the scrambling seed of the Data field.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, when it is determined that the first device obtains the Color from the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE Control domain and the Frame Control domain.
With reference to the first aspect, in a seventh possible implementation manner of the first aspect, before the obtaining, by the first device, a Color of a BSS to which the second device belongs from the Data field in the control frame, the method includes:
the first device acquires color existence indication information from the Control Frame, wherein the color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame;
when it is determined that the Color presence indication information indicates that the control frame carries the Color, the step is performed, and the first device acquires the Color of the BSS to which the second device belongs from the Data field in the control frame.
In a second aspect, an embodiment of the present invention provides a method for transmitting a control frame, where the method includes:
the second equipment sets a Color value Color of a BSS to which the second equipment belongs in a Data field in a control frame, wherein the Color is an identifier of the BSS;
and the second equipment sends the control frame so that the first equipment can determine whether the control frame is from the BSS to which the first equipment belongs according to the Color after receiving the control frame.
With reference to the second aspect, in a first possible implementation manner of the second aspect, before the setting, by the second device, a Color of a BSS to which the second device belongs in a Data field in a control frame, the method includes:
the second device judges whether the control frame carries Basic Service Set Identification (BSSID);
when the BSSID is not carried by the control frame, the second device executes the step and sets the Color of the BSS to which the second device belongs in a Data field in the control frame;
and when the Control Frame is determined to carry the BSSID, the second device sets type indication information in the Control Frame, wherein the type indication information is located in a Frame Control field of the Data field in the Control Frame or a first bit of an address RA field of a receiver.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, before the setting, by the second device, type indication information in the control frame, the method includes:
the second device sets identification indication information in the control frame, so that the first device acquires the BSSID according to the identification indication information, where the identification indication information is located in the FrameControl field or in the RA field in the control frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
With reference to the second aspect, or any one of the first to second possible implementation manners of the second aspect, in a third possible implementation manner of the second aspect, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the type indication information is used to indicate whether a BSSID is stored in an RA field of the control frame when it is determined that the control frame is the CTS frame or the ACK frame, or whether the BSSID is stored in a TA field or an RA field of the control frame when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the setting, by the second device, a Color of a BSS to which the second device belongs in a Data field in a control frame includes:
the second equipment sets the Color in a Frame Control field of the Data field;
or, the second device sets the Color in a service SREVICE domain of the Data domain;
or the second device sets the Color in a scrambling seed of the Data field.
With reference to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, when it is determined that the second device sets the Color in the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
With reference to the second aspect, in a seventh possible implementation manner of the second aspect, before the sending, by the second device, the control frame, the method includes:
and the second device sets Color existence indication information in the Control Frame, wherein the Color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame, and the Color existence indication information is used for indicating the Control Frame to carry the Color.
In a third aspect, an embodiment of the present invention provides an apparatus for determining a basic service set BSS, where the apparatus includes:
the receiving module is used for receiving a control frame sent by second equipment, and the control frame comprises a Data field;
an obtaining module, configured to obtain, from the Data field in the control frame, a Color value Color of a BSS to which the second device belongs, where the Color is an identifier of the BSS;
and the determining module is used for determining whether the control frame is from the BSS to which the first equipment belongs according to the Color.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the obtaining module is further configured to obtain type indication information from the Control Frame, where the type indication information is located in a Frame Control field of the Data field in the Control Frame, or is located in a first bit of a receiver address RA field;
a judging module, configured to judge whether the control frame carries a basic service set identifier BSSID according to the type indication information; when the control frame is determined not to carry the BSSID, acquiring the Color of the BSS to which the second equipment belongs from the Data field in the control frame; and when the control frame is determined to carry the BSSID, determining whether the control frame is from the BSS to which the first equipment belongs according to the BSSID.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the obtaining module is further configured to obtain identification indication information from the Control Frame, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field;
the determining module is further configured to determine a storage location of the BSSID according to the identification indication information;
the acquiring module is further configured to acquire the BSSID from a storage location of the BSSID.
With reference to the third aspect, or any one of the first to second possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a control encapsulation wrapper frame.
With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the type indication information is used to indicate whether a BSSID is stored in an RA field of the control frame when it is determined that the control frame is the CTS frame or the ACK frame, or whether the BSSID is stored in a TA field or an RA field of the control frame when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the third aspect, in a fifth possible implementation manner of the third aspect, the obtaining module is specifically configured to obtain the Color from a Frame Control field of the Data field;
or, the obtaining module is specifically configured to obtain the Color from a serving SREVICE domain of the Data domain;
or, the acquiring module is specifically configured to acquire the Color from the scrambled seed of the Data field.
With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, when it is determined that the first device obtains the Color from the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
With reference to the third aspect, in a seventh possible implementation manner of the third aspect, the obtaining module is further configured to obtain color existence indication information from the Control Frame, where the color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame; and when the Color existence indication information indicates that the control frame carries the Color, acquiring the Color of the BSS to which the second equipment belongs from the Data field in the control frame.
In a fourth aspect, an embodiment of the present invention provides an apparatus for transmitting a control frame, where the apparatus includes:
the setting module is used for setting a Color value Color of the BSS to which the second equipment belongs in a Data field in the control frame, wherein the Color is an identifier of the BSS;
and the sending module is used for sending the control frame so that the first device can determine whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the determining module is configured to determine whether the control frame carries a basic service set identifier BSSID; when the BSSID is not carried by the control frame, setting the Color of the BSS to which the second equipment belongs in a Data field in the control frame; and when the Control Frame is determined to carry the BSSID, setting type indication information in the Control Frame, wherein the type indication information is positioned in a Frame Control field of the Data field in the Control Frame or positioned in a first bit of an address RA field of a receiver.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the setting module is further configured to: setting identification indication information in the Control Frame so that the first device can acquire the BSSID according to the identification indication information, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
With reference to the fourth aspect, or any one of the first to second possible implementation manners of the fourth aspect, in a third possible implementation manner of the fourth aspect, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
With reference to the third possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the type indication information is used to indicate whether a BSSID is stored in an RA field of the control frame when it is determined that the control frame is the CTS frame or the ACK frame, or whether a BSSID is stored in a TA field or an RA field of the control frame when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the setting module is specifically configured to set the Color in a Frame Control field of the Data field;
or, the setting module is specifically configured to set the Color in a service SREVICE domain of the Data domain;
or, the setting module is specifically configured to set the Color in the scrambling seed of the Data field.
With reference to the fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner of the fourth aspect, when it is determined that the second device sets the Color in the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
With reference to the fourth aspect, in a seventh possible implementation manner of the fourth aspect, the setting module is further configured to set Color existence indication information in the Control Frame, where the Color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame, and the Color existence indication information is used to indicate that the Control Frame carries the Color.
In a fifth aspect, an embodiment of the present invention provides an apparatus for determining a basic service set BSS, where the apparatus is a first apparatus or is integrated in the first apparatus, and the apparatus includes:
the communication bus is used for receiving a control frame sent by the second equipment, and the control frame comprises a Data field;
the communication bus is further configured to obtain a Color value Color of the BSS to which the second device belongs from the Data field in the control frame, where the Color is an identifier of the BSS;
a processor, configured to determine whether the control frame is from a BSS to which the first device belongs according to the Color.
With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, after the first device receives a Control Frame sent by a second device, the communication bus is further configured to obtain type indication information from the Control Frame, where the type indication information is located in a Frame Control field of the Data field in the Control Frame, or is located in a first bit of a receiver address RA field;
the processor is further configured to determine whether the control frame carries a basic service set identifier BSSID according to the type indication information; when the control frame is determined not to carry the BSSID, acquiring the Color of the BSS to which the second equipment belongs from the Data field in the control frame; and when the control frame is determined to carry the BSSID, determining whether the control frame is from the BSS to which the first equipment belongs according to the BSSID.
With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, before the determining, by the first device, whether the control frame is from a BSS to which the first device belongs according to the BSSID, the method includes:
the communication bus is further configured to obtain identification indication information from the Control Frame, where the identification indication information is located in the Frame Control field in the Control Frame or located in the RA field, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field;
the processor is further configured to determine a storage location of the BSSID according to the identification indication information;
the communication bus is further configured to acquire the BSSID from a storage location of the BSSID.
With reference to the fifth aspect, or any one of the first to the second possible implementation manners of the fifth aspect, in a third possible implementation manner of the fifth aspect, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
With reference to the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the type indication information is used to indicate whether a BSSID is stored in an RA field of the control frame when it is determined that the control frame is the CTS frame or the ACK frame, or whether the BSSID is stored in a TA field or an RA field of the control frame when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the communication bus is specifically configured to obtain the Color from a Frame Control field of the Data field;
or, the communication bus is specifically configured to obtain the Color from a serving SREVICE domain of the Data domain;
or, the communication bus is specifically used for acquiring the Color from the scrambling seed of the Data field.
With reference to the fifth possible implementation manner of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, when it is determined that the first device acquires the Color from the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
With reference to the fifth aspect, in a seventh possible implementation manner of the fifth aspect, before the first device acquires the Color of the BSS to which the second device belongs from the Data field in the Control Frame, the communication bus is further configured to acquire Color existence indication information from the Control Frame, where the Color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame; and when the Color existence indication information indicates that the control frame carries the Color, acquiring the Color of the BSS to which the second equipment belongs from the Data field in the control frame.
In a sixth aspect, an embodiment of the present invention provides an apparatus for sending a control frame, where the apparatus is a second apparatus or is integrated in the second apparatus, and the apparatus includes:
the processor is used for setting a Color value Color of the BSS to which the second equipment belongs in a Data field in a control frame, wherein the Color is an identifier of the BSS;
and the communication bus is used for sending the control frame so that the first device can determine whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame.
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, before the second device sets a Color of a BSS to which the second device belongs in a Data field in a control frame, the processor is further configured to determine whether the control frame carries a basic service set identifier BSSID; when the BSSID is not carried by the control frame, setting the Color of the BSS to which the second equipment belongs in a Data field in the control frame; and when the Control Frame is determined to carry the BSSID, setting type indication information in the Control Frame, wherein the type indication information is positioned in a Frame Control field of the Data field in the Control Frame or positioned in a first bit of an address RA field of a receiver.
With reference to the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, before the second device sets the type indication information in the Control Frame, the processor is further configured to set identification indication information in the Control Frame, so that the first device obtains the BSSID according to the identification indication information, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
With reference to the sixth aspect, or any one of the first to the second possible implementation manners of the sixth aspect, in a third possible implementation manner of the sixth aspect, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
With reference to the third possible implementation manner of the sixth aspect, in a fourth possible implementation manner of the sixth aspect, the type indication information is used to indicate whether the RA field of the control frame stores a BSSID when it is determined that the control frame is the CTS frame or the ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame.
With reference to the sixth aspect, in a fifth possible implementation manner of the sixth aspect, the processor is specifically configured to set the Color in a Frame Control field of the Data field;
or, the processor is specifically configured to set the Color in a service SREVICE domain of the Data domain;
or, the processor is specifically configured to set the Color in the scrambling seed of the Data field.
With reference to the fifth possible implementation manner of the sixth aspect, in a sixth possible implementation manner of the sixth aspect, when it is determined that the second device sets the Color in the SREVICE domain of the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
With reference to the sixth aspect, in a seventh possible implementation manner of the sixth aspect, before the second device sends the Control Frame, the processor is further configured to set Color existence indication information in the Control Frame, where the Color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame, and the Color existence indication information is used to indicate that the Control Frame carries the Color.
According to the method, the device and the equipment for determining the BSS to which the control frame belongs and sending the control frame, the first equipment receives the control frame sent by the second equipment, acquires the Color of the BSS from a Data field in the control frame, and then determines whether the control frame is from the BSS to which the first equipment belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
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 the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a control frame according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an FC domain according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating the structure of an RA domain according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a SERVICE domain according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of the structure of another FC domain provided by embodiments of the invention;
fig. 10 is a schematic structural diagram of another SERVICE domain provided in the embodiment of the present invention;
FIG. 11 is a schematic structural diagram of another FC domain provided by an embodiment of the invention;
fig. 12 is a schematic structural diagram of a scrambling code generator according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a scrambling code generator carrying a Color according to an embodiment of the present invention;
fig. 14 is a flowchart of a method for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 15 is a flowchart of a method for sending a control frame according to an embodiment of the present invention;
fig. 16 is a flowchart of another method for sending a control frame according to an embodiment of the present invention;
fig. 17 is a flowchart of another method for sending a control frame according to an embodiment of the present invention;
fig. 18 is a flowchart of another method for sending a control frame according to an embodiment of the present invention;
fig. 19 is a flowchart of another method for sending a control frame according to an embodiment of the present invention;
fig. 20 is a schematic structural diagram of an apparatus for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 21 is a schematic structural diagram of an apparatus for sending a control frame according to an embodiment of the present invention;
fig. 22 is a schematic structural diagram of an apparatus for determining a BSS to which a control frame belongs according to an embodiment of the present invention;
fig. 23 is a schematic structural diagram of an apparatus for sending a control frame 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 the embodiment of the present invention, as shown in fig. 1, a schematic structural diagram of a Control Frame includes a Physical Header (Physical Header) and a Data (Data) field, where the Data field includes a 2-byte SREVICE (service) field and a MAC (Medium Access Control) field, and the first 2 bytes of the MAC field of any Frame are Frame Control (FC) fields, it should be noted that not all Control frames have a problem that a BSS cannot be determined, for example, AN RA (Receiver Address) field of a PS-Poll (Power Saving Poll) Frame is a BSSID, and a TA (transmitter Address) field of a CF-End (Contention-free End) Frame is a BSSID, and therefore, the PS-Poll Frame and the CF-End can determine that the BSS Frame and the CF-End Frame can not be accurately determined, and therefore, a BSS cannot be determined under the condition that the BSS belongs to a wireless Access network (enb) device, and therefore, the BSS cannot be determined under the condition that the BSS belongs to a BSS L.
An embodiment of the present invention provides a method for determining a BSS to which a control frame belongs, where as shown in fig. 2, the method is executed by a first device, and the first device may be an AP or an STA that forms the BSS, and the method includes:
101. and the first equipment receives the control frame sent by the second equipment.
Wherein the control frame includes a Data field.
It should be noted that the Control frame includes an RTS frame, a CTS frame, an ACK frame, a BAR frame, a BA frame, or a Control Wrapper frame. The MAC headers (MAC headers) of the CTS frame and the ACK frame include only the RA field, and the MAC headers of the RTS frame, the BAR frame, and the BA frame include both the RA field and the TA field. Wherein, the Control Wrapper frame is used to encapsulate other Control frames, such as: for encapsulating RTS, CTS, ACK, BAR or BA frames. If the MAC header of the Control frame encapsulated by the Control Wrapper frame only comprises the RA field, the corresponding Control Wrapper frame also only comprises the RA field; similarly, if the MAC header of the Control frame encapsulated by the Control Wrapper frame includes both an RA field and a TA field, the corresponding Control Wrapper frame also includes both the TA field and the RA field. Therefore, the kind of the address field included in the Control Wrapper frame depends on the kind of the address field included in the MAC header of the encapsulated Control frame. If not specifically stated, any Control frame and its corresponding Control Wrapper frame are treated as the Control frame, that is, all operations of the Control frame in the following description of the present invention are applicable to both the Control frame itself and the Control Wrapper frame corresponding to the Control frame.
102. The first device acquires the Color of the BSS to which the second device belongs from the Data field in the control frame.
Wherein Color (Color value) is the identity of the BSS.
103. The first device determines whether the control frame is from the BSS to which the first device belongs according to the Color.
In the embodiment of the present invention, the Color is used as the short identifier of the BSS, and the first device may determine whether the BSS to which the second device belongs is the BBS to which the first device belongs according to the Color carried in the control frame. It should be noted that both BSSID and Color may be used as one of identifiers of BSSs, and when a control frame carries BSSID, a first device may directly determine, according to BSSID, a BSS to which a second device belongs, and does not need to determine, according to Color, the BSS to which the second device belongs; when the control frame does not carry the BSSID, the first device may determine, according to the Color carried by the control frame, the BSS to which the second device belongs.
It should be noted that, the Color of the BSS to which the first device belongs may be stored in the first device, and after the first device receives the control frame, whether the Color carried by the control frame is the same as the Color stored in the first device in advance is determined by comparing, so as to determine whether the BSS to which the control frame belongs, that is, whether the second device that sends the control frame belongs to the BSS to which the first device belongs. Such as: when the Color carried by the control frame is determined to be the same as the Color pre-stored by the first device, determining that the control frame is from the BSS to which the first device belongs; otherwise, the control frame is determined to be from a neighboring BSS. In the embodiment of the present invention, the manner of determining whether the control frame is from the BSS to which the first device belongs is not specifically limited.
In the method for determining a BSS to which a control frame belongs according to the embodiment of the present invention, a first device receives the control frame sent by a second device, acquires a Color of the BSS from a Data field in the control frame, and then determines whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
Since both the BSSID and the Color may be used to determine whether the control frame is from a BSS to which the first device belongs, so as to avoid acquiring the Color carried by the control frame when the control frame carries the BSSID, thereby increasing complexity of the first device in receiving processing, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 2, an implementation manner shown in fig. 3 may be further implemented, that is, after the first device performs step 101 to receive the control frame sent by the second device, steps 104 to 106 may also be performed:
104. the first device acquires the type indication information from the control frame.
The type indication information is located in a Frame Control field of a Data field in the Control Frame, or located in a first bit of an RA field.
It should be noted that the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In this embodiment of the present invention, the Type indication information may specifically be RA/TA Type indication information (RA/TA Type). In a control frame sent by an STA to an AP (Access Point), an RA field is an address of the AP, that is, BSSID, so that the control frame may not additionally carry a Color of the BSS in this case; similarly, since the TA field of the RTS frame, the BAR frame, or the BA frame sent by the AP to the STA is the address of the AP, i.e., the BSSID, the control frame may not additionally carry the Color of the BSS. Therefore, RA/TA type indication information occupying 1 bit is introduced for indicating whether BSSID exists in the RA domain or the TA domain. In the embodiment of the present invention, when the value of the RA/TA type indication information is 1, it indicates that the RA field or the TA field is BSSID, and at this time, the control frame does not additionally carry a Color of the BSS. For the CTS frame and the ACK frame, the BSSID is located in the RA domain because the MAC domain comprises the address domain which is the RA domain; for other control frames, the MAC field includes address fields of RA field and TA field, so the control frame needs an additional 1-bit Flag, that is, the type indication information mentioned below, to indicate whether the BSSID is located in the RA field or the TA field. Note that for the case where RA/TA Type is 1, Flag is not necessary, and the first device may compare BSSID of its own BSS with RA field and TA field one by one, and if the BSSID is included in the RA field or TA field, determine that the BSS to which the second device that transmits the control frame belongs is the BSS to which the first device belongs, otherwise, determine that the control frame is from a neighbor BSS. When the value of the RA/TA type indication information is 0, the control frame needs to additionally carry the Color of the BSS, and at this time, an additional Color present indication is needed to indicate whether the Color is carried. It should be noted that when the Color in the HEW device does not allow to take 0, no additional Color present indication is needed; when the Color can still be 0 in the HEW device, the control frame needs an additional 1-bit Color present, i.e., Color presence indication information mentioned below, to indicate whether the Color is present in the control frame. Such as: when the Color present is 0, the control frame is a frame sent by the old equipment; when the Color present is 1, it is determined that the Color of the BSS exists in the control frame. By old device is meant a device that complies with the standards preceding the HEW standard.
It should be noted that, the Flag and the Color present may be located in the same bit, and therefore, the values of RA/TA Type and Flag/Color present are shown in table one. When the Color does not allow to take 0, the control frame does not need to carry the Color present; for CTS frames and ACK frames, no Flag is needed.
Watch 1
Figure GPA0000240194850000211
In the first table, the positions of RA/TA Type and Flag/Color present may be specifically the following 4 cases:
1-1, the RA/TA Type is positioned in the FC domain, the Flag/Color present is positioned in the first bit of the RA domain, or the Flag/Color present is positioned in the FC domain, and the RA/TA Type is positioned in the first bit of the RA domain. At this time, the Color of the BSS can be located in the FC domain, the scrambled seed (scrambled seed), or the SERVICE domain.
1-2, RA/TA Type, and Flag/Color present each occupy 1 bit of the FC domain. At this time, the Color of the BSS can be located in the scrambling seed or SERVICE domain or FC domain. Since there are 7 bits of reserved bits in the FC field, and only 5 bits are left except 1 bit occupied by RA/TA Type and Flag/Color present, the FC field is not sufficient to carry a 6-bit Color, and therefore, the FC field can only be used to carry the last 5 bits of the Color.
1-3, RA/TA Type and Flag/Color present occupy 2 bits in the FC domain to jointly indicate, for example: when 2 bits are 00, namely conventional CTS; when the 2 bit is 01, namely the TA domain is BSSID; when the 2 bits are 10, namely the RA field is BSSID; when the 2 bit is 11, the Color of the BSS exists. It should be noted that the specific location of the Color of the BSS may be the same as the content described in the above 1-2, and is not described herein again.
1-4, if the Color of the BSS in the HEW device is specified to be non-zero, the control frame need not carry the Colorpresent. At this time, the RA/TA Type is located in the FC domain or in the first bit of the RA domain, and the specific location of the Color of the BSS may be the same as the content described in the above 1-1, which is not described herein again.
105. And the first equipment judges whether the control frame carries BSSID or not according to the type indication information. When the control frame does not carry the BSSID, executing step 102 to step 103; otherwise, step 106 is performed.
106. The first device determines whether the control frame is from a BSS to which the first device belongs based on the BSSID.
In the method for determining a BSS to which a control frame belongs according to the embodiment of the present invention, a first device receives the control frame, acquires type indication information from the control frame, and when the first device determines that the control frame carries a BSSID according to the type indication information, the first device may directly determine whether the control frame is from the BSS to which the first device belongs according to the BSSID; when the first device determines that the control frame does not carry the BSSID according to the type indication information, the first device may acquire a Color of the BSS from the Data field in the control frame, and then determine whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS included in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the BSS or the neighboring BSS by acquiring the Color of the control frame not carrying the BSSID after determining whether the control frame carries the BSSID, so that when the control frame does not carry the BSSID, the STA can accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
In order to accurately acquire the BSSID, in one implementation manner of the embodiment of the present invention, the first device may determine a storage location of the BSSID in the control frame by acquiring the identification indication information. Therefore, on the basis of the implementation shown in fig. 3, the implementation shown in fig. 4 may also be implemented, that is, before the first device determines whether the control frame is from the BSS to which the first device belongs according to the BSSID in step 106, steps 107 to 109 may also be performed:
107. the first device acquires identification indication information from the control frame.
The identification indication information is located in a Frame Control field in the Control Frame or in an RA field, the identification indication information is used for representing the storage position of the BSSID, and the storage position of the BSSID comprises a transmitter address TA field or the RA field. It should be noted that, for a specific manner for determining the storage location of the BSSID, reference may be made to what is described in step 104, and details are not described herein.
108. And the first equipment determines the storage position of the BSSID according to the identification indication information.
109. The first device acquires the BSSID from the storage location of the BSSID.
The method for determining the BSS to which the Control Frame belongs includes that a first device receives the Control Frame, obtains type indication information from the Control Frame, obtains identification indication information from a Frame Control domain or an RA domain when the first device determines that the Control Frame carries BSSID according to the type indication information, determines a storage position of the BSSID according to the identification indication information, obtains the BSSID from the storage position, and determines whether the Control Frame is from the BSS to which the first device belongs according to the BSSID; when the first device determines that the control frame does not carry the BSSID according to the type indication information, the first device may acquire a Color of the BSS from the Data field in the control frame, and then determine whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS of the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the local BSS or the neighboring BSS by acquiring the Color of the control frame not carrying the BSSID after judging whether the control frame carries the BSSID; or when the control frame carries the BSSID, the accurate BSSID is obtained by determining the storage location of the BSSID, so that whether the control frame is from the BSS to which the first device belongs can be accurately determined according to the Color or the BSSID, and whether the SR can be used is determined.
Since the Color may be located in the Frame Control field of the Data field, the SREVICE field, or the scrambling seed of the Data field, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 2, the implementation manner shown in fig. 5 may also be implemented, that is, the first device obtains the Color of the BSS to which the second device belongs from the Data field in the Control Frame in step 102, which may be specifically implemented as any one of step 1021 to step 1023:
1021. the first device obtains Color from the Frame Control field of the Data field.
In the Control Frame, there are 7 bits belonging to the reserved bits in the Frame Control field, and as shown in fig. 6, these reserved bits can be used to carry the Color of the BSS. For example: assuming the Color of the BSS is 6 bits, it can be carried with 6 bits in the reserved bits.
Currently, in the 802.11ah standard, the Color value may be 0. If the value of Color in the HEW device can still take 0, when the STA receives a control frame with all 6 bits of 0, it cannot be determined whether the control frame is sent by a device in the BSS with Color 0 or sent by an old device. Therefore, an extra 1 bit is needed to indicate that the above 6 bits carry the Color of the BSS, which may be specifically the Color present. In the embodiment of the present invention, the 1-bit reserved bit of the Frame Control field may be used to carry a Color present, as shown in fig. 6. That is, B8 of the FC domain, i.e., the reserved bit of 1 bit of the ToDS (todisprovision System, destination distributed System) domain is used to carry the Color present, and the reserved bits of the other 6 bits of the FC domain are respectively: a From DS (From distributed system) field of B9, a More fragment field of B10, a Retry field of B11, a More Data field of B13, a Protected Frame field of B14, and an Order field of B15, for carrying the Color of the BSS. Alternatively, the Color present may be carried with the first bit of the RA field. It should be noted that, if the value of Color present is 1, it indicates that the FC field includes a 6-bit Color, otherwise, it indicates that the FC field does not carry the Color, i.e., a control frame possibly sent by an old device.
It should be noted that, since the first bit of the RA field is used to indicate whether the current target address is a unicast (individual) or multicast (group) address, as shown in fig. 7. Therefore, there may be a risk of collision with existing multicast addresses, with the first bit of the RA field carrying the Colorpresent. Therefore, compared to carrying the Color present with the first bit of the RA field, carrying the Color present with the reserved bit of 1 bit of the FC field is preferred.
1022. The first device obtains the Color from the SREVICE domain in the Data domain.
Since the SERVICE field has 9 bits belonging to the reserved bit, 6 bits of the SERVICE field may be selected to carry the Color of the BSS, as shown in fig. 8, that is, the 7 th to 15 th bits are reserved bits. Wherein, R is an abbreviation of Reserved and is used for representing Reserved bits.
Since the FCS (Frame Check Sequence) field of the MAC field only checks the MAC field, that is, the checked content does not include the SERVICE field, the Color of the newly added BSS has no Check field, and therefore, a CRC (Cyclic Redundancy Code) Check needs to be introduced into the Color of the BSS located in the SERVICE field. The specific bearer mode after introducing the CRC may have the following 4 cases:
2-1, 3 bits of CRC, located in the SERVICE field, i.e., the SREVICE field includes a Color of 6 bits and a CRC of 3 bits. It should be noted that 3-bit CRC is rare and may be short.
2-2, 4 bits of CRC, located in the SERVICE field, i.e., the SREVICE field includes a Color of 5 bits and a CRC of 4 bits. Wherein, the Color itself may be 5 bits, or only the last 5 bits of the 6-bit Color are taken, so that there may be a case that the BSS of the second device cannot be accurately determined, but no other problem is generated.
2-3, 4 bits of CRC in the FC field, as shown in fig. 9, B8 to B11 of the FC field are CRCs, and Bl3 is Colorpresent.
2-4, 8 bits CRC. Wherein one part is located in the SERVICE domain and the other part is located in the FC domain. Note that, since the 4-bit CRC may be short, an 8-bit CRC is used. However, since neither the SERVICE field nor the FC field has enough available bits to carry the CRC, the 8-bit CRC is distributed in two fields. For example: assuming that the SERVICE field has 2 bits left and the FC field has 6 bits left, the structure diagram of the SERVICE field is shown in fig. 10, and the structure diagram of the FC field is shown in fig. 11. As shown in fig. 10, the 7 th to 12 th bits are used for carrying the Color of the BSS, the 14 th and 15 th bits are used for carrying the CRC1, and R is an abbreviation used for Reserved and is used for indicating a Reserved bit. (ii) a As shown in fig. 11, B8 of the FC domain is used to carry Colorpresent, B9 to B11, and B13 to B15 are used to carry CRC 2. It should be noted that CRC1 and CRC2 form a complete CRC.
1023. The first device obtains the Color from the scrambled seed in the Data field.
In the embodiment of the present invention, in order to reduce PAPR (Peak to Average Power Ratio), Data field of each control frame needs to be scrambled. In the current Wi-Fi (Wireless Fidelity) standard, a scrambling code sequence used to scramble the Data field is generated by a scrambling code generator as shown in fig. 12. Specifically, the shift register of the scrambling code generator is initially set to 7-bit random non-zero value, i.e. scrambling seed, then starts to shift, and outputs a cyclic sequence with the period of 127, and uses the cyclic sequence as the scrambling code sequence. Scrambling means that the bits in the scrambling sequence are exclusively or-ored with the bits in the Data field. For example: as shown in fig. 13, 6 bits of the 7-bit scrambling seed may be used to carry a Color, that is, the original random value is changed to a specific Color value, and the remaining 1 bit is still randomly selected, that is, randomly selected to be 0 or 1. However, this may have some effect on the randomness of the scrambling code sequence.
It should be noted that, when it is determined that the first device acquires the Color from the SREVICE field in the Data field, the FrameControl field further includes a Color check field, and the Color check field is used for checking the Color. That is, the newly introduced CRC may check only the Color of 6 bits, or may check 9 bits including the Color in the SERVICE field, where the value of the remaining 3 bits of the 9 bits except the Color of 6 bits is 0.
In the method for determining a BSS to which a Control Frame belongs according to the embodiment of the present invention, a first device receives the Control Frame, and obtains a Color from a Frame Control field of a Data field in the Control Frame, or obtains the Color from a SREVICE field of the Data field, or obtains the Color from a scrambling seed of the Data field, and then determines whether the Control Frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS of the Data field of the control frame received by the first device. Therefore, after receiving the Control Frame, the STA can determine whether the Control Frame is from the current BSS or the neighboring BSS according to the Color obtained from the Frame Control field of the Data field, or the Color obtained from the SREVICE field of the Data field, or the Color obtained from the scrambling seed of the Data field, thereby accurately determining whether the Control Frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
Since the Color may be located in the Frame Control field of the Data field, the SREVICE field, or the scrambling seed of the Data field, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 2, the implementation manner shown in fig. 14 may also be implemented, that is, before the first device acquires the Color of the BSS to which the second device belongs from the Data field in the Control Frame in step 102, steps 110 to 111 may also be performed:
110. the first device acquires color presence indication information from the control frame.
The color existence indication information is located in the first bit of the Frame Control field or the RA field of the Data field in the Control Frame.
111. When the fact that the Color existence indication information indicates that the control frame carries the Color is determined, the first device executes the step of acquiring the Color of the BSS to which the second device belongs from the Data field in the control frame.
It should be noted that, when step 111 is executed, the first device may determine whether the control frame carries a Color according to the Color existence indication information, and when the Color existence indication information indicates that the control frame carries a Color, the first device acquires the Color of the BBC from the Data field in the control frame; when the Color presence indication information indicates that the control frame does not carry a Color, the control frame may be sent by an old device because the BSSID is already carried in the RA field or the TA field of the control frame. For the control frame from the old device, since it does not carry the Color, it is very likely that the current first device cannot use the SR because it cannot accurately determine the BSS to which the control frame belongs.
According to the method for determining the BSS to which the control frame belongs, the first device receives the control frame, obtains the Color existence indication information from the control frame, obtains the Color of the BSS from the Data field in the control frame when the Color existence indication information indicates that the control frame carries the Color, and then determines whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS of the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA acquires the Color when determining that the control frame carries the Color according to the Color presence indication information, and avoids the situation that the first device cannot accurately identify the Color, so that the STA can determine whether the control frame is from the BSS or a neighboring BSS according to the Color of the BSS, thereby accurately determining the BSS to which the control frame belongs, and determining whether the SR can be used.
An embodiment of the present invention provides a method for sending a control frame, as shown in fig. 15, where the method is performed by a second device, and the method includes:
201. the second device sets the Color of the BSS to which the second device belongs in the Data field in the control frame.
The control frame comprises a Data field, and the Color is the identification of the BSS. It should be noted that the Control frame includes an RTS frame, a CTS frame, an ACK frame, a BAR frame, a BA frame, or a Control Wrapper frame.
202. The second device transmits a control frame so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame.
In the method for sending the control frame according to the embodiment of the present invention, the second device sets the Color of the BSS in the Data field in the control frame, and then sends the control frame, so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may set a Color in the Data field of the control frame by the second device, and transmit the control frame, so that the first device, after receiving the control frame, determines whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
In order to avoid that when the control frame carries the BSSID, the first device further acquires the Color carried by the control frame, so as to increase the complexity of the first device in the receiving process, therefore, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 15, an implementation manner shown in fig. 16 may also be implemented, and before the second device sets the Color of the BSS to which the second device belongs in the Data field in the control frame in step 201, step 203 and step 204 may be performed:
203. the second device determines whether the control frame carries a BSSID. When the control frame is determined not to carry the BSSID, executing step 201 and step 202; otherwise, step 204 is performed.
204. The second device sets type indication information in the control frame.
The type indication information is located in the Frame Control field of the Data field in the Control Frame or in the first bit of the receiver address RA field. It should be noted that the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In the method for sending a control frame according to the embodiment of the present invention, the second device determines whether the control frame carries a BSSID, and when it is determined that the control frame carries the BSSID, the second device sets type indication information in the control frame, so that after the first device receives the control frame, according to the BSSID, it is determined whether the control frame is from a BSS to which the first device belongs; when determining that the control frame does not carry the BSSID, the second device sets the Color of the BSS in the Data field in the control frame, and then sends the control frame, so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame. Wherein, Color is the identity of the BSS. Compared with the prior art that only two address fields are in the MAC header of the partial control frame at most, and the address fields may not include the BSSID, the embodiment of the present invention may set the Color in the Data field of the control frame by the second device, or set the type indication information in the control frame, and transmit the control frame, so that the first device determines, after receiving the control frame, whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the received control frame or the BSSID. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the BSS or the neighboring BSS by acquiring the Color of the control frame not carrying the BSSID after determining whether the control frame carries the BSSID, so that when the control frame does not carry the BSSID, the STA can accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
In order to enable the first device to accurately determine the storage location of the BSSID, therefore, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 16, an implementation manner shown in fig. 17 may also be implemented, and before performing step 204, the second device sets the type indication information in the control frame, step 205 may be performed:
205. the second device sets identification indication information in the control frame so that the first device can acquire the BSSID according to the identification indication information.
The identification indication information is located in a Frame Control field in the Control Frame or in an RA field, the identification indication information is used for representing the storage position of the BSSID, and the storage position of the BSSID comprises a TA field or an RA field.
In the method for sending the control frame provided by the embodiment of the present invention, the second device determines whether the control frame carries a BSSID, and when it is determined that the control frame carries the BSSID, the second device sets identification indication information and type indication information in the control frame, so that after the first device receives the control frame, the first device determines a storage location of the BSSID according to the identification indication information, and obtains the BSSID, thereby determining whether the control frame is from a BSS to which the first device belongs; when determining that the control frame does not carry the BSSID, the second device sets the Color of the BSS in the Data field in the control frame, and then sends the control frame, so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame. Wherein, Color is the identity of the BSS. Compared with the prior art that only two address fields are in the MAC header of the partial control frame at most, and the address fields may not include the BSSID, the embodiment of the present invention may set the Color in the Data field of the control frame by the second device, or set the type indication information in the control frame, and transmit the control frame, so that the first device determines, after receiving the control frame, whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the received control frame or the BSSID. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the BSS or the neighboring BSS by acquiring the Color of the control frame not carrying the BSSID after determining whether the control frame carries the BSSID, so that when the control frame does not carry the BSSID, the STA can accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
In an implementation manner of the embodiment of the present invention, 3 manners of setting a Color in a control frame are provided, so on the basis of the implementation manner shown in fig. 15, the implementation manner shown in fig. 18 may also be implemented, the second device sets the Color of the BSS to which the second device belongs in the Data field in the control frame in step 201, and may specifically execute any one of steps 2011 to step 2013:
2011. the second device sets Color in the Frame Control field of the Data field.
2012. The second device sets Color in the SREVICE field of the Data field.
2013. The second device sets Color in the scrambled seed of the Data field.
It should be noted that, when it is determined that the second device sets a Color in the SREVICE field of the Data field, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the FrameControl field or located in the SERVICE field and the FrameControl field.
In the method for sending the Control Frame provided by the embodiment of the present invention, in the process of setting the Color in the Data field in the Control Frame, the second device may set the Color in the Frame Control field of the Data field, the SREVICE field of the Data field, or the scrambling seed of the Data field. Compared with the prior art that the MAC header of a part of the control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may use different bearer manners to carry and send a Color in the control frame. Therefore, after receiving the Control Frame, the STA can determine whether the Control Frame is from the current BSS or the neighboring BSS according to the Color obtained from the Frame Control field of the Data field, or the Color obtained from the SREVICE field of the Data field, or the Color obtained from the scrambling seed of the Data field, thereby accurately determining whether the Control Frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
In order to enable the first device to accurately determine whether the control frame carries a Color, in an implementation manner of the embodiment of the present invention, on the basis of the implementation manner shown in fig. 15, the implementation manner shown in fig. 19 may also be implemented, and before the second device performs step 202 to send the control frame, step 206 may be performed:
206. the second device sets color presence indication information at the control frame.
The Color existence indication information is located in a first bit of a Frame Control field or an RA field of a Data field in the Control Frame, and the Color existence indication information is used for indicating that the Control Frame carries a Color.
In the method for sending the control frame according to the embodiment of the present invention, the second device may set the Color existence indication information in the control frame, so that after receiving the control frame, the first device may determine whether the control frame carries a Color according to the Color existence indication information. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame carries a Color according to the Color presence indication information after the first device receives the control frame. Therefore, after receiving the control frame, the STA acquires the Color when determining that the control frame carries the Color according to the Color presence indication information, and avoids the situation that the first device cannot accurately identify the Color, so that the STA can determine whether the control frame is from the BSS or a neighboring BSS according to the Color of the BSS, thereby accurately determining the BSS to which the control frame belongs, and determining whether the SR can be used.
An embodiment of the present invention provides an apparatus 30 for determining a BSS to which a control frame belongs, as shown in fig. 20, the apparatus 30 includes:
the receiving module 31 is configured to receive a control frame sent by the second device, where the control frame includes a Data field.
The obtaining module 32 is configured to obtain a Color value Color of the BSS to which the second device belongs from the Data field in the control frame, where the Color is an identifier of the BSS.
A determining module 33, configured to determine whether the control frame is from the BSS to which the first device belongs according to the Color.
In an implementation manner of the embodiment of the present invention, the obtaining module 32 is further configured to obtain type indication information from the Control Frame, where the type indication information is located in a Frame Control field of a Data field in the Control Frame, or is located in a first bit of an address RA field of the receiver.
A judging module 34, configured to judge whether the control frame carries a basic service set identifier BSSID according to the type indication information; when the control frame is determined not to carry the BSSID, acquiring the Color of the BSS to which the second equipment belongs from a Data field in the control frame; and when the control frame is determined to carry the BSSID, determining whether the control frame is from the BSS to which the first equipment belongs according to the BSSID.
In an implementation manner of the embodiment of the present invention, the obtaining module 32 is further configured to obtain identification indication information from the Control Frame, where the identification indication information is located in a Frame Control field in the Control Frame or located in an RA field, the identification indication information is used to indicate a storage location of a BSSID, and the storage location of the BSSID includes a transmitter address TA field or an RA field.
The determining module 33 is further configured to determine a storage location of the BSSID according to the identification indication information.
The obtaining module 32 is further configured to obtain the BSSID from a storage location of the BSSID.
In one implementation manner of the embodiment of the present invention, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
In one implementation manner of the embodiment of the present invention, the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In an implementation manner of the embodiment of the present invention, the obtaining module 32 is specifically configured to obtain a Color from a FrameControl field of a Data field;
or, the obtaining module 32 is specifically configured to obtain, from the serving SREVICE domain of the Data domain, a Color:
or, the obtaining module 32 is specifically configured to obtain Color from the scrambled seed of the Data field.
In an implementation manner of the embodiment of the present invention, when it is determined that the first device acquires the Color from the SREVICE domain in the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
In an implementation manner of the embodiment of the present invention, the obtaining module 32 is further configured to obtain color existence indication information from the Control Frame, where the color existence indication information is located in a first bit of a Frame Control field or an RA field of a Data field in the Control Frame; and when the Color existence indication information indicates that the control frame carries the Color, acquiring the Color of the BSS to which the second equipment belongs from a Data field in the control frame.
In the apparatus for determining a BSS to which a control frame belongs according to an embodiment of the present invention, a first device receives the control frame sent by a second device, acquires a Color of the BSS from a Data field in the control frame, and then determines whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
An embodiment of the present invention provides an apparatus 40 for sending a control frame, as shown in fig. 21, the apparatus 40 includes:
and a setting module 41, configured to set a Color value Color of the BSS to which the second device belongs in the Data field in the control frame, where the Color is an identifier of the BSS.
And a sending module 42, configured to send the control frame, so that the first device determines, according to the Color after receiving the control frame, whether the control frame is from the BSS to which the first device belongs.
In an implementation manner of the embodiment of the present invention, the determining module 43 is configured to determine whether the control frame carries a basic service set identifier BSSID; when the control frame is determined not to carry the BSSID, setting the Color of the BSS to which the second equipment belongs in a Data field in the control frame; and when the Control Frame is determined to carry the BSSID, setting type indication information in the Control Frame, wherein the type indication information is positioned in a Frame Control field of a Data field in the Control Frame or is positioned in a first bit of an address RA field of a receiver.
In an implementation manner of the embodiment of the present invention, the setting module 41 is further configured to set identification indication information in the Control Frame, so that the first device obtains the BSSID according to the identification indication information, where the identification indication information is located in a Frame Control field or an RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or an RA field.
In one implementation manner of the embodiment of the present invention, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
In one implementation manner of the embodiment of the present invention, the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In an implementation manner of the embodiment of the present invention, the setting module 41 is specifically configured to set a Color in a FrameControl field of a Data field;
or, the setting module 41 is specifically configured to set a Color in the SREVICE domain serving as the Data domain;
or, the setting module 41 is specifically configured to set Color in the scrambling seed of the Data field.
In an implementation manner of the embodiment of the present invention, when it is determined that the second device sets a Color in the SREVICE field of the Data field, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control field or located in the SERVICE field and the Frame Control field.
In an implementation manner of the embodiment of the present invention, the setting module 41 is further configured to set Color existence indication information in the Control Frame, where the Color existence indication information is located in a first bit of a Frame Control field or an RA field of a Data field in the Control Frame, and the Color existence indication information is used to indicate that the Control Frame carries a Color.
In the apparatus for sending the control frame according to the embodiment of the present invention, the second device sets the Color of the BSS in the Data field in the control frame, and then sends the control frame, so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may set a Color in the Data field of the control frame by the second device, and transmit the control frame, so that the first device, after receiving the control frame, determines whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
AN embodiment of the present invention provides a device 50 for determining a basic service set BSS to which a control frame belongs, where the device 50 is a first device or is integrated in the first device, and the device 50 is configured to implement the apparatus shown in fig. 20, as shown in fig. 22, the device 50 may include a memory 51, a communication bus 52, and a processor 53, where the communication bus 52 includes a bus for performing communication connection between the memory 51 and the processor 53, and also includes a bus for performing communication connection between the device 50 and another device or a communication Network (for example, but not limited to, AN ethernet, a Radio Access Network (RAN), a Wireless local Area Network (Wireless L Area Network, W L AN), and the like).
The Memory 51 may be a Read Only Memory (ROM), a static Memory device, a dynamic Memory device, or a Random Access Memory (RAM). The memory 51 may store an operating system and other application programs. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, a program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 51 and executed by the processor 53.
The processor 53 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided by the embodiments of the present invention.
It should be noted that although the hardware shown in fig. 22 only shows the memory 51, the communication bus 52 and the processor 53, in a specific implementation, a person skilled in the art will understand that the terminal also comprises other components necessary for realizing a normal operation. Also, hardware components for performing other functions may be included, as would be apparent to one skilled in the art, according to particular needs.
A memory 51 for storing information including program instructions.
And a communication bus 52 for receiving the control frame transmitted by the second device, the control frame including a Data field.
The communication bus 52 is further configured to obtain a Color value Color of the BSS to which the second device belongs from the Data field in the control frame, where the Color is an identifier of the BSS.
And a processor 53, configured to determine whether the control frame is from the BSS to which the first device belongs according to the Color.
In an implementation manner of the embodiment of the present invention, after the first device receives the Control Frame sent by the second device, the communication bus 52 is further configured to obtain type indication information from the Control Frame, where the type indication information is located in a Frame Control field of a Data field in the Control Frame, or is located in a first bit of an address RA field of the receiver.
The processor 53 is further configured to determine whether the control frame carries a basic service set identifier BSSID according to the type indication information; when the control frame is determined not to carry the BSSID, acquiring the Color of the BSS to which the second equipment belongs from a Data field in the control frame; and when the control frame is determined to carry the BSSID, determining whether the control frame is from the BSS to which the first equipment belongs according to the BSSID.
In one implementation manner of the embodiment of the present invention, before the first device determines whether the control frame is from a BSS to which the first device belongs according to the BSSID, the method includes:
the communication bus 52 is further configured to obtain identification indication information from the Control Frame, where the identification indication information is located in a Frame Control field in the Control Frame or located in an RA field, and the identification indication information is used to indicate a storage location of the BSSID, where the storage location of the BSSID includes a transmitter address TA field or an RA field.
The processor 53 is further configured to determine a storage location of the BSSID according to the identification indication information.
The communication bus 52 is also used to acquire the BSSID from the storage location of the BSSID.
In one implementation manner of the embodiment of the present invention, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
In one implementation manner of the embodiment of the present invention, the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In one implementation manner of the embodiment of the present invention, the communication bus 52 is specifically configured to obtain a Color from a FrameControl field of a Data field;
or, the communication bus 52 is specifically used for acquiring Color from the SREVICE domain serving as the Data domain;
alternatively, the communication bus 52 is specifically used to acquire Color in the scrambled seed of the Data field.
In an implementation manner of the embodiment of the present invention, when it is determined that the first device acquires the Color from the SREVICE domain in the Data domain, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control domain or located in the SERVICE domain and the Frame Control domain.
In an implementation manner of the embodiment of the present invention, before the first device acquires the Color of the BSS to which the second device belongs from the Data field in the Control Frame, the communication bus 52 is further configured to acquire Color existence indication information from the Control Frame, where the Color existence indication information is located in a first bit of a Frame Control field or an RA field of the Data field in the Control Frame; and when the Color existence indication information indicates that the control frame carries the Color, acquiring the Color of the BSS to which the second equipment belongs from a Data field in the control frame.
According to the device for determining the BSS to which the control frame belongs, the first device receives the control frame sent by the second device, acquires the Color of the BSS from the Data field in the control frame, and then determines whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may determine whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
AN embodiment of the present invention provides a device 60 for sending a control frame, where the device 60 is a second device or is integrated in the second device, and the device 60 is configured to implement the apparatus shown in fig. 21, as shown in fig. 23, the device 60 may include a memory 61, a communication bus 62 and a processor 63, where the communication bus 62 includes a bus for performing communication connection between the memory 61 and the processor 63, and also includes a bus for performing communication connection between the device 60 and another device or a communication Network (for example, but not limited to, AN ethernet, a Radio Access Network (RAN), a Wireless local Area Network (Wireless L Area Network, W L AN), and the like).
The Memory 61 may be a Read Only Memory (ROM), a static Memory device, a dynamic Memory device, or a Random Access Memory (RAM). The memory 61 may store an operating system and other application programs. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, a program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 61 and executed by the processor 63.
The processor 63 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided by the embodiment of the present invention.
It should be noted that although the hardware shown in fig. 23 only shows the memory 61, the communication bus 62 and the processor 63, in a specific implementation, a person skilled in the art will understand that the terminal also contains other components necessary for realizing a normal operation. Also, hardware components for performing other functions may be included, as would be apparent to one skilled in the art, according to particular needs.
A memory 61 for storing information including program instructions.
A processor 63, configured to set a Color value Color of the BSS to which the second device belongs in a Data field in the control frame, where the Color is an identifier of the BSS;
and a communication bus 62 for transmitting the control frame so that the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame.
In an implementation manner of the embodiment of the present invention, before the second device sets a Color of a BSS to which the second device belongs in a Data field in the control frame, the processor 63 is further configured to determine whether the control frame carries a basic service set identifier BSSID; when the control frame is determined not to carry the BSSID, setting the Color of the BSS to which the second equipment belongs in a Data field in the control frame; and when the Control Frame is determined to carry the BSSID, setting type indication information in the Control Frame, wherein the type indication information is positioned in a Frame Control field of a Data field in the Control Frame or is positioned in a first bit of an address RA field of a receiver.
In an implementation manner of the embodiment of the present invention, before the second device sets the type indication information in the Control Frame, the processor 63 is further configured to set identification indication information in the Control Frame, so that the first device obtains the BSSID according to the identification indication information, where the identification indication information is located in a Frame Control field or an RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
In one implementation manner of the embodiment of the present invention, the Control frame includes a request to send RTS frame, a clear to send CTS frame, an acknowledgement ACK frame, a block acknowledgement request BAR frame, a block acknowledgement BA frame, or a Control encapsulation Control Wrapper frame.
In one implementation manner of the embodiment of the present invention, the type indication information is used to indicate whether the RA field of the control frame stores the BSSID when the control frame is determined to be a CTS frame or an ACK frame, or whether the TA field or the RA field of the control frame stores the BSSID when the control frame is determined to be an RTS frame, a BAR frame, or a BA frame.
In one implementation manner of the embodiment of the present invention, the processor 63 is specifically configured to set a Color in a FrameControl field of a Data field;
or, the processor 63 is specifically configured to set a Color in the SREVICE domain serving as the Data domain;
alternatively, the processor 63, in particular for setting the Color in the scrambled seed of the Data field.
In an implementation manner of the embodiment of the present invention, when it is determined that the second device sets a Color in the SREVICE field of the Data field, the Control Frame further includes a Color check field, where the Color check field is used to check the Color, and the Color check field is located in the Frame Control field or located in the SERVICE field and the Frame Control field.
In an implementation manner of the embodiment of the present invention, before the second device sends the control frame, the processor 63 is further configured to set Color existence indication information in the control frame, where the Color existence indication information is located in a first bit of a FrameControl field or an RA field of a Data field in the control frame, and the Color existence indication information is used to indicate that the control frame carries a Color.
In the device for sending the control frame according to the embodiment of the present invention, the second device sets the Color of the BSS in the Data field in the control frame, and then sends the control frame, so that after receiving the control frame, the first device determines whether the control frame is from the BSS to which the first device belongs according to the Color. Wherein, Color is the identity of the BSS. Compared with the prior art that the MAC header of the partial control frame has only two address fields at most, and the address fields may not include BSSIDs, the embodiment of the present invention may set a Color in the Data field of the control frame by the second device, and transmit the control frame, so that the first device, after receiving the control frame, determines whether the control frame is from the BSS to which the first device belongs according to the Color of the BSS contained in the Data field of the control frame received by the first device. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the current BSS or the neighboring BSS according to the Color of the BSS, thereby accurately determining whether the control frame is from the BSS to which the first device belongs, and determining whether the SR can be used.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for determining a Basic Service Set (BSS) to which a control frame belongs, the method comprising:
the method comprises the steps that a first device receives a control frame sent by a second device, wherein the control frame comprises a Data field;
the first device acquires color existence indication information from the Control Frame, wherein the color existence indication information is located in a first bit of a receiver address RA (random access) field of the Data field or a Frame Control Frame field in the Control Frame;
when it is determined that the Color existence indication information indicates that the control frame carries a Color value Color, the first device acquires the Color value Color of the BSS to which the second device belongs from the Data field in the control frame, wherein the Color is an identifier of the BSS;
and the first equipment determines whether the control frame is from the BSS to which the first equipment belongs according to the Color.
2. The method of claim 1, wherein after the first device receives the control frame transmitted by the second device, the method further comprises:
the first device obtains type indication information from the Control Frame, wherein the type indication information is located in the Frame Control field of the Data field in the Control Frame or located in a first bit of the receiver address RA field;
the first equipment judges whether the control frame carries basic service set identification BSSID or not according to the type indication information;
when the control frame is determined not to carry the BSSID, the first device executes the step to acquire the Color of the BSS to which the second device belongs from the Data field in the control frame;
when the control frame is determined to carry the BSSID, the first device determines whether the control frame is from the BSS to which the first device belongs according to the BSSID.
3. The method according to claim 2, before the first device determines whether the control frame is from a BSS to which the first device belongs according to the BSSID, comprising:
the first device acquires identification indication information from the Control Frame, wherein the identification indication information is located in the Frame Control field or the RA field of the Control Frame, the identification indication information is used for indicating a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field;
the first equipment determines the storage position of the BSSID according to the identification indication information;
the first device acquires the BSSID from a storage location of the BSSID.
4. A method of transmitting a control frame, the method comprising:
the second equipment sets a Color value Color of a BSS to which the second equipment belongs in a Data field in a control frame, wherein the Color is an identifier of the BSS;
the second device sets Color existence indication information in the Control Frame, wherein the Color existence indication information is located in a first bit of a receiver address RA (random access) field of the Data field or a Frame Control field in the Control Frame, and the Color existence indication information is used for indicating the Control Frame to carry the Color;
and the second equipment sends the control frame so that the first equipment can determine whether the control frame is from the BSS to which the first equipment belongs according to the Color after receiving the control frame.
5. The method of claim 4, before the second device sets the Color of the BSS to which the second device belongs in a Data field in a control frame, comprising:
the second device judges whether the control frame carries Basic Service Set Identification (BSSID);
when the BSSID is not carried by the control frame, the second device executes the step and sets the Color of the BSS to which the second device belongs in a Data field in the control frame;
and when the Control Frame is determined to carry the BSSID, the second device sets type indication information in the Control Frame, wherein the type indication information is located in the Frame Control field of the Data field in the Control Frame or in a first bit of the receiver address RA field.
6. The method of claim 5, before the second device sets type indication information in the control frame, comprising:
the second device sets identification indication information in the Control Frame, so that the first device obtains the BSSID according to the identification indication information, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
7. An apparatus for determining a Basic Service Set (BSS) to which a control frame belongs, the apparatus comprising:
the receiving module is used for receiving a control frame sent by second equipment, and the control frame comprises a Data field;
an obtaining module, configured to obtain, from the Data field in the control frame, a Color value Color of a BSS to which the second device belongs, where the Color is an identifier of the BSS;
the obtaining module is further configured to obtain color existence indication information from the Control Frame, where the color existence indication information is located in a first bit of a receiver address RA field of the Data field in the Control Frame or a Frame Control Frame field; when it is determined that the Color existence indication information indicates that the control frame carries the Color, acquiring the Color of the BSS to which the second device belongs from the Data field in the control frame;
and the determining module is used for determining whether the control frame is from the BSS to which the first equipment belongs according to the Color.
8. The apparatus according to claim 7, wherein the obtaining module is further configured to obtain type indication information from the control frame, where the type indication information is located in the frame control FrameControl field of the Data field in the control frame or located in the first bit of the receiver address RA field;
a judging module, configured to judge whether the control frame carries a basic service set identifier BSSID according to the type indication information; when the control frame is determined not to carry the BSSID, acquiring the Color of the BSS to which the second equipment belongs from the Data field in the control frame; and when the control frame is determined to carry the BSSID, determining whether the control frame is from the BSS to which the first equipment belongs according to the BSSID.
9. The apparatus according to claim 8, wherein the obtaining module is further configured to obtain identification indication information from the Control Frame, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, where the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field;
the determining module is further configured to determine a storage location of the BSSID according to the identification indication information;
the acquiring module is further configured to acquire the BSSID from a storage location of the BSSID.
10. An apparatus for transmitting a control frame, the apparatus comprising:
the setting module is used for setting a Color value Color of the BSS to which the second equipment belongs in a Data field in the control frame, wherein the Color is an identifier of the BSS;
the setting module is further configured to set Color existence indication information in the Control Frame, where the Color existence indication information is located in a first bit of a receiver address RA field of the Data field in the Control Frame or a Frame Control field, and the Color existence indication information is used to indicate that the Control Frame carries the Color;
and the sending module is used for sending the control frame so that the first device can determine whether the control frame is from the BSS to which the first device belongs according to the Color after receiving the control frame.
11. The apparatus of claim 10, wherein the determining module is configured to determine whether the control frame carries a Basic Service Set Identifier (BSSID); when the BSSID is not carried by the control frame, setting the Color of the BSS to which the second equipment belongs in a Data field in the control frame; and when the Control Frame is determined to carry the BSSID, setting type indication information in the Control Frame, wherein the type indication information is positioned in the Frame Control field of the Data field in the Control Frame or positioned in the first bit of the receiver address RA field.
12. The apparatus of claim 11, wherein the setup module is further configured to: setting identification indication information in the Control Frame so that the first device can acquire the BSSID according to the identification indication information, where the identification indication information is located in the Frame Control field or in the RA field in the Control Frame, the identification indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA field or the RA field.
CN201580082078.5A 2015-08-21 2015-08-21 Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame Active CN107925992B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/087824 WO2017031640A1 (en) 2015-08-21 2015-08-21 Methods and apparatuses for determining bss to which control frame belongs and sending control frame, and device

Publications (2)

Publication Number Publication Date
CN107925992A CN107925992A (en) 2018-04-17
CN107925992B true CN107925992B (en) 2020-07-21

Family

ID=58101061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580082078.5A Active CN107925992B (en) 2015-08-21 2015-08-21 Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame

Country Status (2)

Country Link
CN (1) CN107925992B (en)
WO (1) WO2017031640A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7249171B2 (en) * 2019-02-28 2023-03-30 キヤノン株式会社 Communication device, control method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517386A (en) * 2012-06-26 2014-01-15 华为技术有限公司 Data transmission method of wireless local area network and equipment
CN104272797A (en) * 2012-05-04 2015-01-07 交互数字专利控股公司 Efficient medium access control (MAC) header
WO2015050311A1 (en) * 2013-10-05 2015-04-09 엘지전자 주식회사 Operation method and apparatus using sectorized transmission opportunity in wireless lan system
CN104584473A (en) * 2014-03-05 2015-04-29 华为终端有限公司 Channel resource indication method and device
WO2015061472A1 (en) * 2013-10-23 2015-04-30 Qualcomm Incorporated System, method and device for dynamically setting response indication deferral in wireless networks
WO2015120488A1 (en) * 2014-02-10 2015-08-13 Mediatek Inc. Method for identifying source bss in wlan

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968169B (en) * 2005-08-26 2012-11-14 手持产品公司 Data collection device having dynamic access to multiple wireless networks
US9729285B2 (en) * 2013-06-13 2017-08-08 Avago Technologies General Ip (Singapore) Pte. Ltd Flexible OFDMA packet structure for wireless communications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272797A (en) * 2012-05-04 2015-01-07 交互数字专利控股公司 Efficient medium access control (MAC) header
CN103517386A (en) * 2012-06-26 2014-01-15 华为技术有限公司 Data transmission method of wireless local area network and equipment
WO2015050311A1 (en) * 2013-10-05 2015-04-09 엘지전자 주식회사 Operation method and apparatus using sectorized transmission opportunity in wireless lan system
WO2015061472A1 (en) * 2013-10-23 2015-04-30 Qualcomm Incorporated System, method and device for dynamically setting response indication deferral in wireless networks
WO2015120488A1 (en) * 2014-02-10 2015-08-13 Mediatek Inc. Method for identifying source bss in wlan
CN104584473A (en) * 2014-03-05 2015-04-29 华为终端有限公司 Channel resource indication method and device

Also Published As

Publication number Publication date
CN107925992A (en) 2018-04-17
WO2017031640A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
US11375556B2 (en) Association establishment method and apparatus
US10880880B2 (en) Information transmission method and apparatus
US10341850B2 (en) Method for identifying source BSS in WLAN
CN108353429B (en) NAV setting method and related equipment in wireless communication system
US10021723B2 (en) Random access method and system
CN108353436B (en) Dynamic barring of wireless transmissions by overlapping basic service sets
EP3499977A1 (en) Method and device for sending and receiving wur frame
CN106961733B (en) Method and device for transmitting data
US9774529B2 (en) Method and apparatus for transmitting data frame
TW201541915A (en) Mechanisms of virtual clear channel assessment for Wi-Fi devices
JP2016521040A (en) Method and device for generating and transmitting an NDPCF_END control frame in a wireless communication system
CN106954273B (en) Data transmission method and device
US10764413B2 (en) Frame transmission method and apparatus in wireless local area network
US20180091979A1 (en) Data transmission method and device, and occupation signal transmission method and device
US10616384B2 (en) Method and apparatus for transmitting trigger frame in wireless local area network
CN111510936A (en) Method for processing information, first access point and first station
CN108012288B (en) Wireless communication method and device
US20170311329A1 (en) Reconciling different spatial reuse modes
CN107925992B (en) Method, device and equipment for determining BSS (base station system) to which control frame belongs and sending control frame
US20220132561A1 (en) Two-protocol transmission method, reception method and corresponding devices and signal
CN110896397A (en) Signaling capability of wireless stations
CN112218381A (en) Random access response method and device
WO2021062628A1 (en) Method and system for data transmission in wireless network
CN111556568B (en) Wireless device in wireless local area network and related method

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