WO2017031640A1 - 确定控制帧所属bss、发送控制帧的方法、装置及设备 - Google Patents
确定控制帧所属bss、发送控制帧的方法、装置及设备 Download PDFInfo
- Publication number
- WO2017031640A1 WO2017031640A1 PCT/CN2015/087824 CN2015087824W WO2017031640A1 WO 2017031640 A1 WO2017031640 A1 WO 2017031640A1 CN 2015087824 W CN2015087824 W CN 2015087824W WO 2017031640 A1 WO2017031640 A1 WO 2017031640A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame
- color
- control frame
- control
- field
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
Definitions
- 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 a control frame to be transmitted.
- the performance of the link when using SR is compared to the performance when not using SR.
- the reduction is achieved, but the sum of the capacities of the multiple links using the SR is improved compared to the link capacity when the SR is not used, that is, the system capacity is improved. Therefore, the system can be implemented by introducing the SR mechanism. Increase in capacity.
- the so-called SR that is, at least two adjacent links are transmitted in parallel with little influence on each other.
- the system capacity is 54 Mbps; and when two adjacent links are using SR Although the rates of both links are reduced to 36 Mbps, since the two links can work simultaneously, the system capacity is the sum of the rates of the two links, that is, 72 Mbps.
- the STA can determine whether the SR can be used by determining the BSS to which the received control frame belongs.
- the STA may determine the received by distinguishing the Color (short identifier of the BSS) or the MAC address of the MAC (Medium Access Control) header in the SIG (Signal) of the physical header of the control frame.
- the control frame is from the BSS (Basic Service Set Identifier) (intra-BSS) or the neighbor BSS (inter-BSS). And when the control frame is from the neighbor BSS, by adjusting the CCA threshold to a high level, the frame whose received power is within the range of the minimum sensitivity level of the receiver and the CCA threshold interval after the adjustment is ignored.
- the STA even if the STA can correctly parse the frame, it will not use the information in the frame for any processing. For example, the STA does not use the information of the Duration field in the frame to update its NAV (Network Allocation Vector). , network allocation vector), therefore, the STA is not suppressed by the transmission of the neighbor BSS, so that the SR can be used.
- NAV Network Allocation Vector
- control frames such as CTS (Clear to Send) frames, ACK (Acknowledge) frame, RTS (Request to Send) frame, BAR (Block Acknowledge Request) frame, BA (Block Acknowledge) frame, and Control Wrapper frame are only available in the MAC header.
- BSSID Basic Service Set Identifier
- the embodiments of the present invention provide a method, a device, and a device for determining a BSS to which a control frame belongs, and a method for transmitting a control frame, which can accurately determine the BSS to which the received control frame belongs, thereby determining whether the SR can be used.
- the embodiment of the present invention adopts the following technical solutions:
- an embodiment of the present invention provides a method for determining a basic service set BSS, where the method includes:
- the first device receives a control frame sent by the second device, where the control frame includes a data Data field;
- the first device determines, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the method includes:
- the first device acquires type indication information from the control frame, where the type indication information is located in a frame control Frame Control field of the Data field in the control frame, or a first bit located in a receiver address RA field;
- the first device determines, according to the BSSID, whether the control frame is from a BSS to which the first device belongs.
- the determining, by the first device, the control frame, according to the BSSID, whether the control frame is from a BSS to which the first device belongs Previously including:
- the first device obtains the identifier indication information from the control frame, where the identifier indication information is located in the Frame Control field in the control frame, or is located in the RA domain, and the identifier indication information is used to indicate the a storage location of the BSSID, where the storage location of the BSSID includes a transmitter address TA domain or the RA domain;
- the first device acquires the BSSID from a storage location of the BSSID.
- the control frame includes requesting to send an RTS frame, clear sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be the CTS frame or the ACK frame Whether the RA domain of the control frame stores a BSSID, or when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame, whether the TA domain or the RA domain of the control frame is stored Said BSSID.
- the acquiring, by the first device, the color of the 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 field of the Data domain
- the first device acquires the service from a service SREVICE domain of the Data domain.
- Color
- the first device acquires the Color from a scrambled seed of the Data field.
- the controlling The frame when determining that the first device acquires the color from an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the method before the acquiring, by the first device, the color of the BSS to which the second device belongs from the data field in the control frame, the method includes:
- the first device acquires color presence indication information from the control frame, where the color presence indication information is located in a Frame Control field or a first bit of an RA domain of the Data domain in the control frame;
- an embodiment of the present invention provides a method for sending a control frame, where the method includes:
- the second device sets a color value Color of the BSS to which the second device belongs in the data Data field in the control frame, where the color is an identifier of the BSS;
- the second device sends the control frame, so that the first device determines, according to the Color, whether the control frame is from a BSS to which the first device belongs after receiving the control frame.
- the method before the setting, by the second device, the color of the BSS to which the second device belongs in the data field in the control frame, the method includes:
- the second device When it is determined that the control frame does not carry the BSSID, performing the step, the second device, in a data Data field in a control frame, setting a color of a BSS to which the second device belongs;
- the second device sets type indication information in the control frame, where the type indication information is located in a frame control Frame Control field of the Data field in the control frame. Or the first bit located in the RA field of the receiver address.
- the method includes:
- the second device sets the identifier indication information in the control frame, so that the first device acquires the BSSID according to the identifier indication information, where the identifier indication information is located in the frame in the control frame.
- the control field, or located in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA domain or the RA domain.
- control frame includes: requesting to send an RTS frame, clearing and sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be the CTS frame or the ACK frame Whether the RA domain of the control frame stores a BSSID, or when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame, whether the TA domain or the RA domain of the control frame is stored Said BSSID.
- the setting, by the second device, the color of the BSS to which the second device belongs in the data data field in the control frame includes:
- the second device sets the color in a Frame Control field of the Data domain
- the second device sets the color in a service SREVICE field of the Data domain
- the second device sets the Color in a scrambled seed of the Data field.
- the controlling The frame when determining that the second device sets the color in an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the second device sets color presence indication information in the control frame, where the color presence indication information is located in a Frame Control field or a first bit of an RA field of the Data field in the control frame, where the color presence indication The information is used to indicate that the control frame carries the Color.
- an embodiment of the present invention provides an apparatus for determining a basic service set BSS, where the apparatus includes:
- a receiving module configured to receive a control frame sent by the second device, where the control frame includes a data Data field;
- An acquiring module configured to acquire, according to 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;
- a determining module configured to determine, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the acquiring module is further configured to acquire type indication information from the control frame, where the type indication information is located in the control frame.
- the frame of the Data field controls the Frame Control field, or the first bit located in the RA field of the receiver address;
- a determining module configured to determine, according to the type indication information, whether the control frame is Carrying the basic service set identifier BSSID; when it is determined that the control frame does not carry the BSSID, acquiring the color of the BSS to which the second device belongs from the Data field in the control frame; When the BSSID is described, it is determined according to the BSSID whether the control frame is from a BSS to which the first device belongs.
- the acquiring module is further configured to obtain, from the control frame, identifier indication information, where the identifier indication information is located The frame control field in the control frame, or located in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA domain or the RA domain ;
- the determining module is further configured to determine, according to the identifier indication information, a storage location of the BSSID;
- the obtaining module is further configured to acquire the BSSID from a storage location of the BSSID.
- the control frame includes requesting to send an RTS frame, clear sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be the CTS frame or the ACK frame Whether the RA domain of the control frame stores a BSSID, or when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame, whether the TA domain or the RA domain of the control frame is stored Said BSSID.
- the acquiring module is specifically configured to obtain the color from a FrameControl field of the Data domain
- the acquiring module is specifically configured to obtain the color from a service SREVICE domain of the Data domain;
- the obtaining module is specifically configured to obtain the color from a scrambled seed of the Data domain.
- the controlling The frame when determining that the first device acquires the color from an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the acquiring module is further configured to obtain color presence indication information from the control frame, where the color presence indication information is located in the control frame. a first bit of the Frame Control field or the RA field of the Data field; when it is determined that the color presence indication information indicates that the control frame carries the Color, the first domain is obtained from the Data field in the control frame The color of the BSS to which the second device belongs.
- an embodiment of the present invention provides an apparatus for transmitting a control frame, where the apparatus includes:
- a setting module configured to set, in a data 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;
- a sending module configured to send the control frame, so that the first device determines, according to the Color, whether the control frame is from a BSS to which the first device belongs after receiving the control frame.
- the determining module is configured to determine whether the control frame carries a basic service set identifier BSSID, and when determining that the control frame does not carry the BSSID, Set the color of the BSS to which the second device belongs in the data field in the control frame; when it is determined that the control frame carries the BSSID, set type indication information in the control frame, where the type indication information is located in the The frame of the Data field in the control frame controls the Frame Control field, or the first bit located in the receiver address RA field.
- BSSID basic service set identifier
- the setting module is further configured to: set identifier indication information in the control frame, to facilitate the Obtaining, according to the identifier indication information, a device a BSSID, where the identifier indication information is located in the Frame Control field in the control frame, or in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmission Machine address TA domain or the RA domain.
- the control frame includes requesting to send an RTS frame, clear sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be the CTS frame or the ACK frame Whether the RA domain of the control frame stores a BSSID, or when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame, whether the TA domain or the RA domain of the control frame is stored Said BSSID.
- the setting module is configured to set the color in a Frame Control field of the Data domain
- the setting module is specifically configured to set the color in a service SREVICE field of the Data domain;
- the setting module is specifically configured to set the color in a scrambling seed of the Data field.
- the controlling The frame when determining that the second device sets the color in an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the setting module is further configured to: set a color presence indication information in the control frame, where the color presence indication information is located in the control frame. a first bit of the Frame Control field or the RA field of the Data field, where the color presence indication information is used to indicate that the control frame carries the Said Color.
- an embodiment of the present invention provides a device for determining a basic service set BSS, where the device is a first device, or is integrated in the first device, where the device includes:
- a communication bus configured to receive a control frame sent by the second device, where the control frame includes a data Data field;
- the communication bus is further configured to acquire, according to 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;
- a processor configured to determine, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the communication bus is further configured to acquire a type indication from the control frame.
- the type indication information is located in a frame control Frame Control field of the Data field in the control frame, or a first bit located in a receiver address RA field;
- the processor is further configured to: determine, according to the type indication information, whether the control frame carries a basic service set identifier BSSID; when determining that the control frame does not carry the BSSID, the foregoing from the control frame
- the data field acquires the color of the BSS to which the second device belongs; when it is determined that the control frame carries the BSSID, determines whether the control frame is from the BSS to which the first device belongs according to the BSSID.
- the determining, by the first device, the control frame, according to the BSSID, whether the control frame is from a BSS to which the first device belongs Previously including:
- the communication bus is further configured to obtain the identifier indication information from the control frame, where the identifier indication information is located in the Frame Control field in the control frame, or in the RA domain, where the identifier indication information is used. Representing a storage location of the BSSID, where the storage location of the BSSID includes a transmitter address TA domain or the RA domain;
- the processor is further configured to determine, according to the identifier indication information, a storage location of the BSSID;
- the communication bus is further configured to acquire the storage location from the BSSID BSSID.
- control frame includes: requesting to send an RTS frame, clearing and sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be the CTS frame or the ACK frame Whether the RA domain of the control frame stores a BSSID, or when it is determined that the control frame is the RTS frame, the BAR frame, or the BA frame, whether the TA domain or the RA domain of the control frame is stored Said BSSID.
- the communication bus is specifically configured to obtain the color from a Frame Control field of the Data domain
- the communication bus is specifically configured to obtain the color from a service SREVICE domain of the Data domain;
- the communication bus specifically for scrambling seeds of the Data domain, acquires the Color.
- the controlling The frame when determining that the first device acquires the color from an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the communication 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 a bus, configured to obtain color presence indication information from the control frame, where the color presence indication information is located in a Frame Control field or a first bit of an RA field of the Data field in the control frame; when determining the color When the presence indication information indicates that the control frame carries the Color, obtained from the Data field in the control frame Taking the Color of the BSS to which the second device belongs.
- the embodiment of the present invention provides a device for sending a control frame, where the device is a second device, or is integrated in the second device, where the device includes:
- a processor configured to set a color value Color of a BSS to which the second device belongs in a data field in a control frame, where the color is an identifier of the BSS;
- a communication bus configured to send the control frame, so that the first device determines, according to the Color, whether the control frame is from a BSS to which the first device belongs after receiving the control frame.
- the method further includes: determining whether the control frame carries a basic service set identifier BSSID; when determining that the control frame does not carry the BSSID, setting a color of a BSS to which the second device belongs in a data field in a control frame; When the control frame carries the BSSID, setting type indication information in the control frame, where the type indication information is located in a frame control Frame Control field of the Data field in the control frame, or at a receiver address The first bit of the RA field.
- the processor before the second device sets the type indication information in the control frame, the processor further uses Setting the identifier indication information in the control frame, so that the first device acquires the BSSID according to the identifier indication information, where the identifier indication information is located in the Frame Control field in the control frame, or Located in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA domain or the RA domain.
- control frame includes: requesting to send an RTS frame, clear sending CTS frame, acknowledgment ACK frame, block acknowledgment request BAR frame, block acknowledgment BA frame or control encapsulated Control Wrapper frame.
- the type indication information is used to indicate that when the control frame is determined to be Whether the RA field of the control frame stores a BSSID when the CTS frame or the ACK frame is used, or when the control frame is determined to be the RTS frame, the BAR frame, or the BA frame, the control frame Whether the TA domain or the RA domain stores the BSSID.
- the processor is configured to set the color in a Frame Control field of the Data domain
- the processor is specifically configured to set the color in a service SREVICE domain of the Data domain;
- the processor is specifically configured to set the color in a scrambling seed of the Data domain.
- the controlling The frame when determining that the second device sets the color in an SREVICE domain of the Data domain, the controlling The frame further includes a Color check field, where the Color check field is used to check the Color, the Color check field is located in the Frame Control field, or is located in the SERVICE field and the Frame Control In the domain.
- the processor before the sending, by the second device, the control frame, the processor is further configured to set color presence indication information in the control frame,
- the color presence indication information is located in a first frame of a Frame Control field or an RA field of the Data field in the control frame, and the color presence indication information is used to indicate that the control frame carries the Color.
- a method, device, and device for determining a BSS to which a control frame belongs and a control frame are provided, where the first device receives a control frame sent by the second device, and obtains a color of the BSS from a Data field in the control frame, and then According to Color, it is determined whether the control frame is from the BSS to which the first device belongs.
- Color is the identifier of BSS.
- the embodiment of the present invention may be included in the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address fields may not include the BSSID.
- the Color of the BSS to determine if the control frame is from the BSS to which the first device belongs.
- the STA can determine, according to the Color of the BSS, whether the control frame is from the BSS or the neighbor BSS, thereby accurately determining that the control frame is Whether it is from the BSS to which the first device belongs, determines whether the SR can be used.
- FIG. 1 is a schematic structural diagram of a control frame according to an embodiment of the present disclosure
- 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 disclosure
- 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 disclosure.
- FIG. 7 is a schematic structural diagram of an RA domain according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a SERVICE domain according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of another FC domain according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of another SERVICE domain according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of another FC domain according to an embodiment of the present disclosure.
- 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 disclosure
- FIG. 21 is a schematic structural diagram of an apparatus for transmitting a control frame according to an embodiment of the present disclosure.
- FIG. 22 is a schematic structural diagram of a device for determining a BSS to which a control frame belongs according to an embodiment of the present disclosure
- FIG. 23 is a schematic structural diagram of an apparatus for transmitting a control frame according to an embodiment of the present invention.
- FIG. 1 a schematic structural diagram of a control frame is shown.
- the control frame includes a physical head (Physical Header) and a data (Data) field, wherein the data field includes a 2-byte SREVICE (Service) domain and a MAC (Medium Access Control) domain; any frame
- the first 2 bytes of the MAC domain are Frame Control (FC) fields.
- FC Frame Control
- the PS-Poll frame and the CF-End frame can accurately determine the BSS to which the BSS belongs. Therefore, it does not change.
- the embodiment of the present invention is to make a HEW (High Efficiency WLAN) device (hereinafter referred to as the first device).
- the BSS assignment of the received control frame can be determined only for the presence of a control frame in which the BSS problem cannot be determined.
- An embodiment of the present invention provides a method for determining a BSS to which a control frame belongs. As shown in FIG. 2, the method is performed by a first device, where the first device may be an AP or an STA that constitutes a BSS, and the method includes:
- the first device receives a control frame sent by the second device.
- control frame includes a data Data field.
- 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 header of the CTS frame and the ACK frame includes only the RA domain, and the MAC header of the RTS frame, the BAR frame, and the BA frame includes both the RA domain and the TA domain.
- the Control Wrapper frame is used to encapsulate other control frames, for example, to encapsulate an RTS frame, a CTS frame, an ACK frame, a BAR frame, or a BA frame. If the MAC header of the control frame encapsulated by the Control Wrapper frame includes only the RA domain, the corresponding Control Wrapper frame only includes the RA domain.
- the type of address field included in the Control Wrapper frame depends on the type of address field included in the MAC header of the encapsulated control frame.
- 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 subsequent description of the present invention apply to both the control frame itself and the control frame. Corresponding Control Wrapper frame.
- the first device acquires a Color of the BSS to which the second device belongs from the Data field in the control frame.
- Color is the identifier of the BSS.
- the first device determines, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the color is a short identifier of the BSS
- the first device may determine, according to the color carried in the control frame, whether the BSS to which the second device belongs is the BBS to which the first device belongs. It should be noted that both the BSSID and the Color can be used as the identifier of the BSS.
- the control frame carries the BSSID
- the first device can directly determine the BSSID.
- the BSS to which the second device belongs is determined by the second device.
- the first device may determine the BSS to which the second device belongs according to the color carried in the control frame.
- the color of the BSS to which the first device belongs may be stored.
- the first device may compare the color carried by the control frame with the color pre-stored in the first device. Whether they are the same, to determine whether the BSS to which the control frame belongs, that is, the second device that sends the control frame belongs to the BSS to which the first device belongs. For example, when it is determined that the Color carried by the control frame is the same as the Color previously stored by the first device, it is determined that the control frame is from the BSS to which the first device belongs; otherwise, the control frame is determined to be from the neighbor BSS.
- the manner of determining whether the control frame is from the BSS to which the first device belongs is not specifically limited.
- the method for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame sent by the second device, and obtains the Color of the BSS from the Data field in the control frame, and then determines whether the control frame is from the Color according to the Color.
- the embodiment of the present invention may be included in the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address fields may not include the BSSID.
- the Color of the BSS to determine if the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor 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 BSSID and the Color can be used to determine whether the control frame is from the BSS to which the first device belongs. Therefore, in order to prevent the control frame from carrying the BSSID, the color carried by the control frame is also acquired, thereby improving the receiving process of the first device.
- the implementation manner shown in FIG. 3 may also be implemented, that is, after performing step 101 first. After the device receives the control frame sent by the second device, step 104 to step 106 may also be performed:
- the first device acquires 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 the first bit in the RA field.
- 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 when it is determined that the control frame is an RTS frame, a BAR frame, or a BA frame. Whether the TA domain or RA domain of the frame stores the BSSID.
- the type indication information may specifically be RA/TA type indication information (RA/TA Type).
- the RA field is the address of the AP, that is, the BSSID, in the control frame that the STA sends to the access point (AP). Therefore, in this case, the control frame may not carry the color of the BSS.
- the RA/TA type indication information occupying 1 bit is introduced to indicate whether the BSSID exists in the RA domain or the TA domain.
- the control frame when the value of the RA/TA type indication information is 1, it indicates that the RA domain or the TA domain is the BSSID, and the control frame does not additionally carry the Color of the BSS.
- the BSSID is located in the RA domain; and for other control frames, the address domain included in the MAC domain is the RA domain and the TA domain, so the control frame requires an additional 1 bit.
- the first device can also compare the BSSID of the BSS to which it belongs to the RA domain and the TA domain one by one. If the RA domain or the TA domain contains the BSSID, it is determined. The BSS to which the second device that sends the control frame belongs is the BSS to which the first device belongs. Otherwise, it is determined that the control frame is from the 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 an additional Color present indication is required to indicate whether or not the Color is carried.
- the mentioned color presence indication information indicates whether the control frame has a Color. For example, when Color present is 0, the control frame is the frame sent by the old device; when Color present is 1, the BSS color is considered to exist in the control frame.
- the so-called old device refers to a device that complies with the standards before the HEW standard.
- Flag and Color present can be located in the same bit, because Therefore, the values of RA/TA Type and Flag/Color present are shown in Table 1. Wherein, when Color is not allowed to take 0, the control frame does not need to carry Color present; for CTS frame and ACK frame, Flag is not needed.
- RA/TAType and Flag/Color present in Table 1 above can be specifically as follows:
- the RA/TA Type is located in the FC domain, the Flag/Color present is located in the first bit of the RA domain, or the Flag/Color present is located in the FC domain, and the RA/TA Type is located in the first bit of the RA domain.
- the Color of the BSS can be located in the FC domain, the scrambled seed, or the SERVICE domain.
- the RA/TA Type and the Flag/Color present each occupy 1 bit of the FC domain.
- the Color of the BSS can be located in the scrambled seed or SERVICE domain or FC domain. Since there are 7-bit reserved bits in the FC domain, except for 1 bit occupied by each of RA/TA Type and Flag/Color present, only 5 bits remain, so the FC domain is not enough to carry 6-bit Color. Therefore, the FC domain can only Used to carry the last 5 bits of Color.
- the RA/TA Type and the Flag/Color present occupy 2 bits in the FC domain to jointly indicate, for example, when the 2 bits are 00, that is, the conventional CTS; when the 2 bits are 01, the TA domain is the BSSID; At 10 o'clock, the RA domain is the BSSID; when the 2 bits are 11, the BSS Color exists. It should be noted that the specific location of the Color of the BSS may be the same as that described in the above 1-2, and details are not described herein.
- the control frame need not carry the Color present.
- the RA/TA Type is located in the FC domain or in the first bit of the RA field, and the specific location of the Color of the BSS may be the same as that described in the above 1-1, and details are not described herein.
- the first device determines, according to the type indication information, whether the control frame carries the BSSID. Wherein, when the control frame does not carry the BSSID, step 102 to step 103 are performed; otherwise, step 106 is performed.
- the first device determines, according to the BSSID, whether the control frame is from a BSS to which the first device belongs.
- the method for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame, and obtains the type indication information from the control frame.
- the first device determines, according to the type indication information, that the control frame carries the BSSID
- the first device The control device may determine whether the control frame is from the BSS to which the first device belongs according to the BSSID.
- the first device may obtain the color of the BSS from the Data field in the control frame. Then, according to Color, it is determined whether the control frame is from the BSS to which the first device belongs.
- Color is the identifier of BSS.
- the data field included in the control frame received by the first device may be included in the data field of the control frame received by the first device, because there are only two address fields in the MAC header of the partial control frame, and the address fields may not include the BSSID.
- the Color of the BSS determines whether the control frame is from the BSS to which the first device belongs. Therefore, after receiving the control frame, the STA can determine whether the control frame is from the BSS or the neighbor BSS by obtaining the color of the control frame that does not carry the BSSID after determining whether the control frame carries the BSSID, so that the control frame is in the control frame.
- the BSSID is not carried, it is possible to accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
- the first device may determine the storage location of the BSSID in the control frame by acquiring the identifier indication information. Therefore, on the basis of the implementation manner shown in FIG. 3, it can also be implemented as an implementation manner as shown in FIG. 4, that is, in step 106, the first device determines, according to the BSSID, whether the control frame is from the BSS to which the first device belongs. Previously, step 107 to step 109 can also be performed:
- the first device acquires the identifier indication information from the control frame.
- the identifier indication information is located in a Frame Control field in the control frame, or is located in the RA domain, and the identifier indication information is used to indicate a storage location of the BSSID, and a storage location of the BSSID. Includes transmitter address TA field or RA field. It should be noted that, for the manner of determining the storage location of the BSSID, refer to the content described in the foregoing step 104, and details are not described herein.
- the first device determines, according to the identifier indication information, a storage location of the BSSID.
- the first device acquires a BSSID from a storage location of the BSSID.
- the method for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame, and obtains the type indication information from the control frame.
- the first device determines, according to the type indication information, that the control frame carries the BSSID
- the first device The identifier indication information may be obtained from the Frame Control domain or the RA domain, and the storage location of the BSSID is determined according to the identifier indication information, and then the BSSID is obtained from the storage location, and the control frame is determined according to the BSSID from the BSS to which the first device belongs;
- the first device may obtain the color of the BSS from the Data field in the control frame, and then determine, according to the Color, whether the control frame is from the BSS to which the first device belongs.
- Color is the identifier of BSS.
- the embodiment of the present invention may be based on the BSS of the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address field may not include the BSSID. Color to determine if the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor BSS by acquiring the color of the control frame that does not carry the BSSID after determining whether the control frame carries the BSSID; or when controlling When the frame carries the BSSID, the accurate BSSID is obtained by determining the storage location of the BSSID, so that it is possible to accurately determine whether the control frame is from the BSS to which the first device belongs according to the Color or BSSID, and determine whether the SR can be used.
- the color can be located in the frame control domain, the SREVICE domain, or the data domain of the data domain. Therefore, in an implementation manner of the embodiment of the present invention, the implementation may be implemented on the basis of the implementation manner shown in FIG.
- the first device in step 102 obtains the color of the BSS to which the second device belongs from the data field in the control frame, which may be implemented as any one of steps 1021 to 1023:
- the first device acquires Color from a Frame Control field of the Data domain.
- 7 bits in the Frame Control field belong to reserved bits, as shown in Figure 6. It can be shown that these reserved bits can be used to carry the Color of the BSS. For example, if the Color of the BSS is 6 bits, it can be carried by 6 bits of the reserved bits.
- the value of Color can be zero. If the value of Color in the HEW device can still take 0, when the STA receives a control frame with the above 6 bits all 0, it cannot be determined that the control frame is sent by the device in the BSS whose Color is 0, or Sent by the old device. Therefore, an extra 1 bit is needed to indicate that the above 6 bits carry the Color of the BSS, and the indication may specifically be Color present.
- a 1-bit reserved bit of the Frame Control field may be used to carry a Color present, as shown in FIG. 6.
- the B8 of the FC domain that is, the To DS (To Distribution System) domain
- the 1-bit reserved bit is used to carry the Color present
- the other 6-bit reserved bits of the FC domain are: From DS of B9 (from distributed system) domain, B10's More Frag field, B11's Retry field, B13's More Data field, B14's Protected Frame field And the Order field of B15, which is used to carry the Color of the BSS.
- the Color bit can be carried with the first bit of the RA field. It should be noted that when the value of Color present is 1, it indicates that the FC domain includes 6-bit Color, otherwise it indicates that the FC domain does not carry Color, that is, a control frame that may be sent by the old device.
- the first bit of the RA field itself is used to indicate that the current target address is an unicast or a group address, as shown in FIG. 7. Therefore, using the first bit of the RA field to carry the Color present may present a risk of collision with an existing multicast address. Therefore, it is preferred to carry Color Present with a 1-bit reserved bit of the FC field as compared to carrying the Color present with the first bit of the RA field.
- the first device acquires Color from an SREVICE domain of the Data domain.
- FCS Full Check Sequence
- CRC Cyclic Redundancy Code
- the 2-1, 3-bit CRC is located in the SERVICE field, that is, the SREVICE field includes a 6-bit Color and a 3-bit CRC. It should be noted that the 3-bit CRC is relatively rare and may be short.
- the 2-2, 4-bit CRC is located in the SERVICE field, ie the SREVICE field includes a 5-bit Color and a 4-bit CRC.
- Color may be 5 bits in itself, or only take the last 5 bits of 6-bit Color, so there may be cases where the BSS of the second device cannot be accurately determined, but no other problem arises.
- the 7th to 12th bits are used to carry the Color of the BSS
- the 14th and 15th bits are used to carry the CRC1
- R is an abbreviation of Reserved, which is used to indicate a reserved bit.
- B8 of the FC domain is used to carry Color present
- B9 to B11, and B13 to B15 are used to carry CRC2. It should be noted that CRC1 and CRC2 constitute a complete CRC.
- the first device obtains Color from the scrambled seed of the Data field.
- the Data field of each control frame needs to be scrambled.
- the scrambling code sequence used to scramble the Data field is generated by the scrambling code generator as shown in FIG.
- the initial state of the shift register of the scrambling code generator is a 7-bit random non-zero value, that is, the scrambling seed, and then starts shifting, and outputs a cyclic sequence of period 127, and uses this as a scrambling code sequence.
- the so-called scrambling that is, the bits in the scrambling sequence and the bits in the Data field are performed one by one. XOR.
- 6 bits in the 7-bit scrambled seed can be used to carry 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 taken as 0 or 1.
- this may have an impact on the randomness of the scrambling code sequence.
- the Frame Control field further includes a Color check field, and the Color check field is used to check the Color. That is to say, the newly introduced CRC may only check the 6-bit Color, or may check the 9 bits including the Color in the SERVICE field, wherein the remaining 3 bits of the 9 bits except the 6-bit Color The value is 0.
- a method for determining a BSS to which a control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame, and obtains Color from a Frame Control field of a Data field in the control frame, or obtains a Color from a SREVICE field of the Data field. Or obtain Color from the scrambled seed of the Data field, and then determine according to Color whether the control frame is from the BSS to which the first device belongs. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may be based on the BSS of the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address field may not include the BSSID.
- the STA can 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 scrambled seed of the Data field. It is determined whether the control frame is from the BSS or the neighbor BSS, so as to accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
- the color can be located in the frame control domain, the SREVICE domain, or the data domain of the data domain. Therefore, in an implementation manner of the embodiment of the present invention, the implementation may be implemented on the basis of the implementation manner shown in FIG.
- step 110 to step 111 may be performed:
- the first device acquires color presence indication information from the control frame.
- the color presence indication information is located in the frame of the Data field in the control frame The first bit of the Control field or RA field.
- the performing step first device acquires the color of the BSS to which the second device belongs from the Data field in the control frame.
- the first device may determine whether the control frame carries the color according to the color presence indication information, and when the color presence indication information indicates that the control frame carries the color, the first device is in the control frame.
- the Data field acquires the Color of the BBC; when the color presence indication information indicates that the control frame does not carry the Color, the RA domain or the TA domain of the control frame may already carry the BSSID, or the control frame is sent by the old device. For a control frame from an old device, since it does not carry a Color, it is likely that the current first device cannot use the SR because it cannot accurately determine the BSS to which the control frame belongs.
- the method for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame, and obtains the color presence indication information from the control frame. When the color presence indication information indicates that the control frame carries the color, the first device controls the first device.
- the Data field in the frame acquires the Color of the BSS, and then determines whether the control frame is from the BSS to which the first device belongs according to Color. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may be based on the BSS of the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address field may not include the BSSID.
- the STA determines that the control frame carries the color according to the color presence indication information, and then acquires the Color, thereby preventing the first device from accurately recognizing the Color, and thus determining the control frame according to the Color of the BSS. Whether it is from the BSS or the neighbor 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 transmitting a control frame. As shown in FIG. 15, the method is performed by a second device, where the method includes:
- the second device sets, in a Data field in the control frame, a Color of the BSS to which the second device belongs.
- the control frame includes a Data field, and Color is an identifier 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.
- the second device sends a control frame, so that the first device determines, according to Color, whether the control frame is from the BSS to which the first device belongs after receiving the control frame.
- a method for transmitting a control frame is provided by 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 receives the control frame, according to the first device.
- Color determines whether the control frame is from the BSS to which the first device belongs. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may set the Color in the Data field in the control frame by the second device.
- the STA can determine whether the control frame is from the BSS or the neighbor 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 first device in order to prevent the control device from carrying the BSSID, the first device also acquires the color carried by the control frame, thereby improving the complexity of the first device in the receiving process.
- the second device Before performing the step 201, the second device can set the color of the BSS to which the second device belongs in the Data field in the control frame. Step 203 and step 204 are performed:
- the second device determines whether the control frame carries a BSSID. Wherein, when it is determined that the control frame does not carry the BSSID, step 201 and step 202 are performed; otherwise, step 204 is performed.
- the second device sets type indication information in the control frame.
- the type indication information is located in a Frame Control field of a Data field in a control frame, or a first bit located in a RA field of a receiver address. 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 when it is determined that the control frame is an RTS frame, a BAR frame, or a BA frame. Whether the TA domain or RA domain of the frame stores the BSSID.
- a method for sending a control frame is provided by the embodiment of the present invention.
- the second device determines whether the control frame carries a BSSID. When determining that the control frame carries the BSSID, the second device sets the type indication information in the control frame to facilitate the first device. After receiving the control frame, determining, according to the BSSID, whether the control frame is from the 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, Then, the control frame is sent, so that after the first device receives the control frame, it determines whether the control frame is from the BSS to which the first device belongs according to Color. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may set the Color in the Data field in the control frame by the second device. Or setting the type indication information in the control frame, and sending the control frame, so that after the first device receives the control frame, according to the Color of the BSS included in the Data field of the received control frame, or the BSSID, It is determined whether the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor BSS by obtaining the color of the control frame that does not carry the BSSID after determining whether the control frame carries the BSSID, so that the control frame is in the control frame.
- the BSSID is not carried, it is possible to accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
- the implementation may be implemented as shown in FIG. The method may be performed before the second device sets the type indication information in the control frame in step 204:
- the second device sets the identifier indication information in the control frame, so that the first device acquires the BSSID according to the identifier indication information.
- the identifier indication information is located in a Frame Control field in the control frame, or is located in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a TA domain or an RA domain.
- a method for sending a control frame is provided by the embodiment of the present invention.
- the second device determines whether the control frame carries a BSSID.
- the second device sets the identifier indication information and the type indication information in the control frame, so that On the first device is receiving After the control frame, determining a storage location of the BSSID according to the identifier indication information, and acquiring a 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 is in the control frame
- the Color of the BSS is set in the Data field, and then the control frame is sent, so that after the first device receives the control frame, it determines whether the control frame is from the BSS to which the first device belongs according to Color.
- Color is the identifier of BSS.
- the embodiment of the present invention may set the Color in the Data field in the control frame by the second device. Or setting the type indication information in the control frame, and sending the control frame, so that after the first device receives the control frame, according to the Color of the BSS included in the Data field of the received control frame, or the BSSID, It is determined whether the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor BSS by obtaining the color of the control frame that does not carry the BSSID after determining whether the control frame carries the BSSID, so that the control frame is in the control frame.
- the BSSID is not carried, it is possible to accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
- the second device sets the color of the BSS to which the second device belongs in the data field in the control frame, and may perform any one of steps 2011 to 2013:
- the second device sets Color in the Frame Control field of the Data field.
- the second device sets Color in the SREVICE field of the Data field.
- the second device sets Color in the scrambled seed of the Data field.
- control frame further includes a Color check field, the Color check field is used to check the Color, and the Color check field is located in the Frame Control. In the domain, or in the SERVICE domain and the Frame Control domain.
- the method for transmitting a 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 Data field.
- the address fields may not include the BSSID.
- the embodiment of the present invention may adopt different bearer modes to carry the Color in the control frame. And send.
- the STA can 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 scrambled seed of the Data field. It is determined whether the control frame is from the BSS or the neighbor BSS, so as to accurately determine whether the control frame is from the BSS to which the first device belongs, and determine whether the SR can be used.
- step 206 may be performed:
- the second device sets color presence indication information in the control frame.
- the color presence indication information is located in a Frame Control field or a first bit of the RA field of the Data field in the control frame, and the color presence indication information is used to indicate that the control frame carries the Color.
- a method for transmitting a control frame is provided by the embodiment of the present invention.
- the second device may set the color presence indication information in the control frame, so that the first device may determine the control according to the color presence indication information after receiving the control frame. Whether the color is carried in the frame.
- the embodiment of the present invention may exist according to the color after the first device receives the control frame. Indicates information to determine if the control frame carries Color.
- the STA determines that the control frame carries the color according to the color presence indication information, and then acquires the Color, thereby preventing the first device from accurately recognizing the Color, and thus determining the control frame according to the Color of the BSS. Whether it is from the BSS or the neighbor 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.
- the device 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 Data field.
- the obtaining module 32 is configured to obtain, from the Data field in the control frame, a color value Color of the BSS to which the second device belongs, and Color is an identifier of the BSS.
- the determining module 33 is configured to determine, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the acquiring module 32 is further configured to acquire the type indication information from the control frame, where the type indication information is located in a frame control Frame Control field of the Data field in the control frame, or in the receiver address RA domain. The first bit.
- the determining module 34 is configured to determine, according to the type indication information, whether the control frame carries the basic service set identifier BSSID; when determining that the control frame does not carry the BSSID, obtain the color of the BSS to which the second device belongs from the Data field in the control frame; When the frame carries the BSSID, it is determined according to the BSSID whether the control frame is from the BSS to which the first device belongs.
- the acquiring module 32 is further configured to obtain the identifier indication information from the control frame, where the identifier indication information is located in a Frame Control field in the control frame, or is located in the RA domain, and the identifier indication information is used to indicate the BSSID.
- the storage location, the storage location of the BSSID includes the transmitter address TA domain or RA domain.
- the determining module 33 is further configured to determine a storage location of the BSSID according to the identifier indication information.
- the obtaining module 32 is further configured to obtain a BSSID from a storage location of the BSSID.
- control frame includes a request to send an RTS frame, a clear sending CTS frame, an acknowledge ACK frame, a block acknowledge request BAR frame, a block acknowledgement BA frame, or a control encapsulated Control Wrapper frame.
- 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 when the control frame is determined to be an RTS frame or a BAR frame. Or BA frame, whether the TA domain or RA domain of the control frame stores the BSSID.
- the obtaining module 32 is specifically configured to obtain a color from a Frame Control field of the Data domain
- the obtaining module 32 is specifically configured to obtain a color from a service SREVICE domain of the Data domain;
- the obtaining module 32 is specifically configured to obtain a color from the scrambled seed of the Data field.
- the control frame when it is determined that the first device acquires Color from the SREVICE field of the Data field, the control frame further includes a Color check field, and the Color check field is used to check the Color, Color.
- the check field is in the Frame Control field or in the SERVICE field and the Frame Control field.
- the acquiring module 32 is further configured to obtain color presence indication information from the control frame, where the color presence indication information is located in a Frame Control field or a first bit of the RA domain of the Data field in the control frame; When it is determined that the color presence indication information indicates that the control frame carries Color, the Color of the BSS to which the second device belongs is acquired from the Data field in the control frame.
- the device for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame sent by the second device, and obtains the Color of the BSS from the Data field in the control frame, and then determines whether the control frame is from the Color according to the Color.
- the embodiment of the present invention may be included in the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address fields may not include the BSSID.
- the Color of the BSS to determine if the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor 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 transmitting a control frame. As shown in FIG. 21, the apparatus 40 includes:
- the setting module 41 is configured to set, in the data Data field in the control frame, a color value Color of the BSS to which the second device belongs, and Color is an identifier of the BSS.
- the sending module 42 is configured to send a control frame, so that the first device determines, according to Color after receiving the control frame, whether the control frame is from the BSS to which the first device belongs.
- the determining module 43 is configured to determine the control Whether the frame carries the basic service set identifier BSSID; when it is determined that the control frame does not carry the BSSID, the color of the BSS to which the second device belongs is set in the data Data field in the control frame; when it is determined that the control frame carries the BSSID, it is set in the control frame
- the type indication information, the type indication information is located in the frame control Frame Control field of the Data field in the control frame, or the first bit located in the RA field of the receiver address.
- the setting module 41 is further configured to set the identifier indication information in the control frame, so that the first device acquires the BSSID according to the identifier indication information, and the label indication information is located in the control frame.
- the domain, or located in the RA domain, the identification indication information is used to indicate the storage location of the BSSID, and the storage location of the BSSID includes the transmitter address TA domain or the RA domain.
- control frame includes a request to send an RTS frame, a clear sending CTS frame, an acknowledge ACK frame, a block acknowledge request BAR frame, a block acknowledgement BA frame, or a control encapsulated Control Wrapper frame.
- 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 when the control frame is determined to be an RTS frame or a BAR frame. Or BA frame, whether the TA domain or RA domain of the control frame stores the BSSID.
- the setting module 41 is specifically configured to set a color in a Frame Control field of the Data domain
- the setting module 41 is specifically configured to set a color in a service SREVICE field of the Data domain;
- the setting module 41 is specifically configured to set a color in the scrambling seed of the Data field.
- the control frame when it is determined that the second device sets Color in the SREVICE field of the Data field, the control frame further includes a Color check field, and the Color check field is used to check the Color, Color.
- the check field is in the Frame Control field or in the SERVICE field and the Frame Control field.
- the setting module 41 is further configured to: set a color presence indication information in the control frame, where the color presence indication information is located in a Frame Control field or a first bit of the RA domain of the Data field in the control frame, Color presence indication information Indicates that the control frame carries Color.
- An apparatus for transmitting a control frame is provided by 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 receives the control frame, according to the first device.
- Color determines whether the control frame is from the BSS to which the first device belongs. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may set the Color in the Data field in the control frame by the second device.
- the STA can determine whether the control frame is from the BSS or the neighbor 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.
- the device 50 is a first device, or is integrated in the first device, and the device 50 is configured to implement the device shown in FIG.
- device 50 can include a memory 51, a communication bus 52, and a processor 53, wherein communication bus 52 includes a bus for communication connection between memory 51 and processor 53, and also includes device 50 and other devices or communication networks. (For example, but not limited to Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.) A bus for communication connection.
- RAN Radio Access Network
- WLAN Wireless Local Area Network
- the memory 51 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- the memory 51 can store an operating system and other applications.
- the 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 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
- the processor 53 can be a general-purpose central processing unit (CPU), a microprocessor, and an application specific integrated circuit (Application Specific). An integrated circuit (ASIC), or one or more integrated circuits, for performing related procedures to implement the technical solutions provided by the embodiments of the present invention.
- CPU central processing unit
- microprocessor microprocessor
- Application Specific application specific integrated circuit
- ASIC integrated circuit
- FIG. 22 only shows the memory 51, the communication bus 52, and the processor 53, in a specific implementation process, those skilled in the art will understand that the terminal also includes the necessary operations for normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
- the memory 51 is configured to store information including program instructions.
- the communication bus 52 is configured to receive a control frame sent by the second device, where the control frame includes a data Data field.
- the communication bus 52 is further configured to acquire, from a Data field in the control frame, a color value Color of the BSS to which the second device belongs, and Color is an identifier of the BSS.
- the processor 53 is configured to determine, according to the Color, whether the control frame is from a BSS to which the first device belongs.
- the communication bus 52 is further configured to acquire the type indication information from the control frame, where the type indication information is located in the Data field in the control frame.
- the frame controls the Frame Control field, or the first bit located in the RA field of the receiver address.
- the processor 53 is further configured to: determine, according to the type indication information, whether the control frame carries the basic service set identifier BSSID; when determining that the control frame does not carry the BSSID, obtain the color of the BSS to which the second device belongs from the Data field in the control frame; When the control frame carries the BSSID, it is determined according to the BSSID whether the control frame is from the BSS to which the first device belongs.
- the method before the first device determines, according to the BSSID, whether the control frame is from the BSS to which the first device belongs, the method includes:
- the communication bus 52 is further configured to obtain the identifier indication information from the control frame, the identifier indication information is located in the Frame Control field in the control frame, or is located in the RA domain, the identifier indication information is used to indicate the storage location of the BSSID, and the storage location of the BSSID includes the transmitter. Address TA domain or RA domain.
- the processor 53 is further configured to determine, according to the identifier indication information, a storage location of the BSSID.
- the communication bus 52 is also used to acquire the BSSID from the storage location of the BSSID.
- control frame includes a request to send an RTS frame, a clear sending CTS frame, an acknowledge ACK frame, a block acknowledge request BAR frame, a block acknowledgement BA frame, or a control encapsulated Control Wrapper frame.
- 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 when the control frame is determined to be an RTS frame or a BAR frame. Or BA frame, whether the TA domain or RA domain of the control frame stores the BSSID.
- the communication bus 52 is specifically configured to obtain a color from a Frame Control field of the Data domain
- the communication bus 52 is specifically configured to obtain a color from a service SREVICE domain of the Data domain;
- the communication bus 52 specifically for scrambling seeds of the Data field, acquires Color.
- the control frame when it is determined that the first device acquires Color from the SREVICE field of the Data field, the control frame further includes a Color check field, and the Color check field is used to check the Color, Color.
- the check field is in the Frame Control field or in the SERVICE field and the Frame Control field.
- the communication bus 52 is further configured to obtain the color presence indication information from the control frame, where the color exists.
- the indication information is located in a Frame Control field or a first bit of the 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 Color, the Color of the BSS to which the second device belongs is acquired from the Data field in the control frame.
- the device for determining the BSS to which the control frame belongs is provided by the embodiment of the present invention.
- the first device receives the control frame sent by the second device, and obtains the Color of the BSS from the Data field in the control frame, and then determines whether the control frame is from the Color according to the Color.
- the embodiment of the present invention may be included in the Data field of the control frame received by the first device, as compared with the case where there are only two address fields in the MAC header of the partial control frame, and the address fields may not include the BSSID. of The Color of the BSS determines whether the control frame is from the BSS to which the first device belongs.
- the STA can determine whether the control frame is from the BSS or the neighbor 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 embodiment of the present invention provides a device 60 for transmitting a control frame.
- the device 60 is a second device, or is integrated in the second device.
- the device 60 is configured to implement the device shown in FIG. 21, as shown in FIG.
- Memory 61, communication bus 62, and processor 63 may be included, where communication bus 62 includes a bus for communication connection between memory 61 and processor 63, and also includes for device 60 and other devices or communication networks (such as but not limited to Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
- RAN Radio Access Network
- WLAN Wireless Local Area Network
- the memory 61 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- the memory 61 can store an operating system and other applications.
- the 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 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
- 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 for executing related programs.
- CPU central processing unit
- ASIC application specific integrated circuit
- FIG. 23 only shows the memory 61, the communication bus 62, and the processor 63, in a specific implementation process, those skilled in the art will understand that the terminal also includes necessary for normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
- the memory 61 is configured to store information including program instructions.
- the processor 63 is configured to set, in a data Data field in the control frame, a color value Color of the BSS to which the second device belongs, and Color is an identifier of the BSS;
- the communication bus 62 is configured to send a control frame, so that the first device determines, according to Color after receiving the control frame, whether the control frame is from the BSS to which the first device belongs.
- the processor 63 before the second device sets the color of the BSS to which the second device belongs in the data field in the control frame, the processor 63 is further configured to determine whether the control frame carries the basic service set identifier. BSSID; when it is determined that the control frame does not carry the BSSID, the color of the BSS to which the second device belongs is set in the data Data field in the control frame; when it is determined that the control frame carries the BSSID, the type indication information is set in the control frame, and the type indication information is located.
- the frame of the Data field in the control frame controls the Frame Control field, or the first bit located in the RA field of the receiver address.
- the processor 63 is further configured to set the identifier indication information in the control frame, so that the first device according to the identifier indication information Obtaining a BSSID, the identifier indication information is located in a Frame Control field in the control frame, or is located in the RA domain, the identifier indication information is used to indicate a storage location of the BSSID, and the storage location of the BSSID includes a transmitter address TA domain or an RA domain.
- control frame includes a request to send an RTS frame, a clear sending CTS frame, an acknowledge ACK frame, a block acknowledge request BAR frame, a block acknowledgement BA frame, or a control encapsulated Control Wrapper frame.
- 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 when the control frame is determined to be an RTS frame or a BAR frame. Or BA frame, whether the TA domain or RA domain of the control frame stores the BSSID.
- the processor 63 is specifically configured to set a color in a Frame Control field of the Data domain
- the processor 63 is specifically configured to set a color in a service SREVICE field of the Data domain;
- the processor 63 is specifically configured to set a color in the scrambling seed of the Data field.
- the control frame when it is determined that the second device sets Color in the SREVICE field of the Data field, the control frame further includes a Color check field, and Color.
- the check field is used to verify Color
- the Color check field is in the Frame Control field, or in the SERVICE field and the Frame Control field.
- the processor 63 before the second device sends the control frame, the processor 63 is further configured to set the color presence indication information in the control frame, where the color presence indication information is located in the Data field of the control frame.
- the first bit of the domain or RA field the color presence indication information is used to indicate that the control frame carries Color.
- An apparatus for transmitting a control frame is provided by the embodiment of the present invention.
- the second device sets a color of the BSS in a Data field in the control frame, and then sends a control frame, so that the first device receives the control frame, according to the first device.
- Color determines whether the control frame is from the BSS to which the first device belongs. Among them, Color is the identifier of BSS.
- the embodiment of the present invention may set the Color in the Data field in the control frame by the second device.
- the STA can determine whether the control frame is from the BSS or the neighbor 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 storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明实施例公开了一种确定控制帧所属BSS、发送控制帧的方法、装置及设备,涉及通信技术领域,能够准确判定控制帧所归属的BSS,从而确定是否能够使用SR。本发明实施例的方法包括:第一设备接收第二设备发送的控制帧,控制帧包括Data域;第一设备从控制帧中的Data域获取第二设备所属BSS的Color,Color为BSS的标识;第一设备根据Color,确定控制帧是否来自第一设备所属的BSS。本发明适用于确定接收到的目标控制帧所属的BSS。
Description
本发明涉及通信技术领域,尤其涉及一种确定控制帧所属BSS、发送控制帧的方法、装置及设备。
随着通信技术的发展,尤其是WLAN(Wireless Local Area Network,无线局域网)标准的演进,由于链路在使用SR(Spatial Reuse,空间重用)时的性能,相比较于不使用SR时的性能虽然有所降低,但使用SR的多条链路的容量之和,相比较于不使用SR时的链路容量有所提升,也就是系统容量有所提升,因此,可以通过引入SR机制来实现系统容量的提升。所谓SR,即至少两条临近链路在相互影响较小的情况下进行并行传输。比如:两条相互影响较小的临近链路在不使用SR时的速率均为54Mbps,此时两条链路不能同时工作,因此,系统容量为54Mbps;而两条临近链路在使用SR时,虽然两条链路的速率均降为36Mbps,但由于两条链路能够同时工作,因此,系统容量为两条链路的速率之和,也就是72Mbps。
目前,STA(Station,站点)可以通过判断接收的控制帧所归属的BSS来确定是否能够使用SR。STA可以通过区分控制帧的物理头中的SIG(Signal,信号域)中的Color(BSS的短标识)或是MAC(Medium Access Control,媒体接入控制)头中的MAC地址,来确定接收的控制帧是来自本BSS(Basic Service Set Identifier,基本服务集)(intra-BSS)还是邻居BSS(inter-BSS)。并当控制帧来自邻居BSS时,通过将CCA阈值往高调整,来忽略接受功率恰好位于接收机最低灵敏水平与调高后CCA阈值区间范围内的帧。也就意味着,即使STA能够正确解析出该帧,也不会利用该帧中的信息进行任何处理,比如:STA不会利用该帧中的Duration域的信息来更新自己的NAV(Network Allocation Vector,网络分配矢量),因此,STA不会被邻居BSS的传输所抑制,从而能够使用SR。
但是,由于控制帧,诸如CTS(Clear to Send,清除发送)帧、
ACK(Acknowledge,确认)帧、RTS(Request to Send,请求发送)帧、BAR(Block Acknowledge Request,块确认请求)帧、BA(Block Acknowledge,块确认)帧以及Control Wrapper帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID(Basic Service Set Identifier,基本服务集标识),因此,STA在接收到控制帧之后,无法根据MAC头中的MAC地址来确定该控制帧是来自于本BSS还是邻居BSS。因此,STA采用上述方法无法准确判定当前所归属的BSS,从而无法确定是否能够使用SR。
发明内容
本发明实施例提供一种确定控制帧所属BSS、发送控制帧的方法、装置及设备,能够准确判定接收到的控制帧所归属的BSS,从而确定是否能够使用SR。
为达到上述目的,本发明实施例采用如下技术方案:
第一方面,本发明实施例提供一种确定基本服务集BSS的方法,所述方法包括:
第一设备接收第二设备发送的控制帧,所述控制帧包括数据Data域;
所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
所述第一设备根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
结合第一方面,在第一方面第一种可能的实现方式中,在所述第一设备接收第二设备发送的控制帧之后,包括:
所述第一设备从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;
所述第一设备根据所述类型指示信息,判断所述控制帧是否携带基本服务集标识BSSID;
当确定所述控制帧未携带所述BSSID时,执行所述步骤所述第一
设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;
当确定所述控制帧携带所述BSSID时,所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
结合第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,在所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS之前,包括:
所述第一设备从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;
所述第一设备根据所述标识指示信息,确定所述BSSID的存储位置;
所述第一设备从所述BSSID的存储位置,获取所述BSSID。
结合第一方面,或者第一方面第一至第二种可能的实现方式中的任一项,在第一方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第一方面第三种可能的实现方式,在第一方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第一方面,在第一方面第五种可能的实现方式中,所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color,包括:
所述第一设备从所述Data域的Frame Control域中获取所述Color;
或者,所述第一设备从所述Data域的服务SREVICE域中获取所述
Color;
或者,所述第一设备从所述Data域的加扰种子中获取所述Color。
结合第一方面第五种可能的实现方式,在第一方面第六种可能的实现方式中,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第一方面,在第一方面第七种可能的实现方式中,在所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color之前,包括:
所述第一设备从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特;
当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,执行所述步骤所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color。
第二方面,本发明实施例提供一种发送控制帧的方法,所述方法包括:
第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
所述第二设备发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
结合第二方面,在第二方面第一种可能的实现方式中,在所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color之前,包括:
所述第二设备判断所述控制帧是否携带基本服务集标识BSSID;
当确定所述控制帧未携带所述BSSID时,执行所述步骤所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;
当确定所述控制帧携带所述BSSID时,所述第二设备在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
结合第二方面第一种可能的实现方式,在第二方面第二种可能的实现方式中,在所述第二设备在所述控制帧中设置类型指示信息之前,包括:
所述第二设备在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
结合第二方面,或者第二方面第一至第二种可能的实现方式中的任一项,在第二方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第二方面第三种可能的实现方式,在第二方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第二方面,在第二方面第五种可能的实现方式中,所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color,包括:
所述第二设备在所述Data域的Frame Control域中设置所述Color;
或者,所述第二设备在所述Data域的服务SREVICE域中设置所述Color;
或者,所述第二设备在所述Data域的加扰种子中设置所述Color。
结合第二方面第五种可能的实现方式,在第二方面第六种可能的实现方式中,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第二方面,在第二方面第七种可能的实现方式中,在所述第二设备发送所述控制帧之前,包括:
所述第二设备在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所述Color。
第三方面,本发明实施例提供一种确定基本服务集BSS的装置,所述装置包括:
接收模块,用于接收第二设备发送的控制帧,所述控制帧包括数据Data域;
获取模块,用于从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
确定模块,用于根据所述Color,确定所述控制帧是否来自第一设备所属的BSS。
结合第三方面,在第三方面第一种可能的实现方式中,所述获取模块,还用于从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;
判断模块,用于根据所述类型指示信息,判断所述控制帧是否
携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
结合第三方面第一种可能的实现方式,在第三方面第二种可能的实现方式中,所述获取模块,还用于从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;
所述确定模块,还用于根据所述标识指示信息,确定所述BSSID的存储位置;
所述获取模块,还用于从所述BSSID的存储位置,获取所述BSSID。
结合第三方面,或者第三方面第一至第二种可能的实现方式中的任一项,在第三方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第三方面第三种可能的实现方式,在第三方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第三方面,在第三方面第五种可能的实现方式中,所述获取模块,具体用于从所述Data域的FrameControl域中获取所述Color;
或者,所述获取模块,具体用于从所述Data域的服务SREVICE域中获取所述Color;
或者,所述获取模块,具体用于从所述Data域的加扰种子中获取所述Color。
结合第三方面第五种可能的实现方式,在第三方面第六种可能的实现方式中,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第三方面,在第三方面第七种可能的实现方式中,所述获取模块,还用于从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特;当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color。
第四方面,本发明实施例提供一种发送控制帧的装置,所述装置包括:
设置模块,用于在控制帧中的数据Data域中设置第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
发送模块,用于发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
结合第四方面,在第四方面第一种可能的实现方式中,判断模块,用于判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
结合第四方面第一种可能的实现方式,在第四方面第二种可能的实现方式中,所述设置模块,还用于:在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述
BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
结合第四方面,或者第四方面第一至第二种可能的实现方式中的任一项,在第四方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第四方面第三种可能的实现方式,在第四方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第四方面,在第四方面第五种可能的实现方式中,所述设置模块,具体用于在所述Data域的Frame Control域中设置所述Color;
或者,所述设置模块,具体用于在所述Data域的服务SREVICE域中设置所述Color;
或者,所述设置模块,具体用于在所述Data域的加扰种子中设置所述Color。
结合第四方面第五种可能的实现方式,在第四方面第六种可能的实现方式中,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第四方面,在第四方面第七种可能的实现方式中,所述设置模块,还用于在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所
述Color。
第五方面,本发明实施例提供一种确定基本服务集BSS的设备,所述设备为第一设备,或集成在所述第一设备中,所述设备包括:
通信总线,用于接收第二设备发送的控制帧,所述控制帧包括数据Data域;
所述通信总线,还用于从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
处理器,用于根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
结合第五方面,在第五方面第一种可能的实现方式中,在所述第一设备接收第二设备发送的控制帧之后,所述通信总线,还用于从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;
所述处理器,还用于根据所述类型指示信息,判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
结合第五方面第一种可能的实现方式,在第五方面第二种可能的实现方式中,在所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS之前,包括:
所述通信总线,还用于从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;
所述处理器,还用于根据所述标识指示信息,确定所述BSSID的存储位置;
所述通信总线,还用于从所述BSSID的存储位置,获取所述
BSSID。
结合第五方面,或者第五方面第一至第二种可能的实现方式中的任一项,在第五方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第五方面第三种可能的实现方式,在第五方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第五方面,在第五方面第五种可能的实现方式中,所述通信总线,具体用于从所述Data域的Frame Control域中获取所述Color;
或者,所述通信总线,具体用于从所述Data域的服务SREVICE域中获取所述Color;
或者,所述通信总线,具体用于所述Data域的加扰种子中获取所述Color。
结合第五方面第五种可能的实现方式,在第五方面第六种可能的实现方式中,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第五方面,在第五方面第七种可能的实现方式中,在所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color之前,所述通信总线,还用于从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特;当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,从所述控制帧中的所述Data域获
取所述第二设备所属BSS的Color。
第六方面,本发明实施例提供一种发送控制帧的设备,所述设备为第二设备,或集成在所述第二设备中,所述设备包括:
处理器,用于在控制帧中的数据Data域中设置所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;
通信总线,用于发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
结合第六方面,在第六方面第一种可能的实现方式中,在所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color之前,所述处理器,还用于判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
结合第六方面第一种可能的实现方式,在第六方面第二种可能的实现方式中,在所述第二设备在所述控制帧中设置类型指示信息之前,所述处理器,还用于在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
结合第六方面,或者第六方面第一至第二种可能的实现方式中的任一项,在第六方面第三种可能的实现方式中,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
结合第六方面第三种可能的实现方式,在第六方面第四种可能的实现方式中,所述类型指示信息,用于表示当确定所述控制帧为
所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
结合第六方面,在第六方面第五种可能的实现方式中,所述处理器,具体用于在所述Data域的Frame Control域中设置所述Color;
或者,所述处理器,具体用于在所述Data域的服务SREVICE域中设置所述Color;
或者,所述处理器,具体用于在所述Data域的加扰种子中设置所述Color。
结合第六方面第五种可能的实现方式,在第六方面第六种可能的实现方式中,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
结合第六方面,在第六方面第七种可能的实现方式中,在所述第二设备发送所述控制帧之前,所述处理器,还用于在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所述Color。
本发明实施例提供的一种确定控制帧所属BSS、发送控制帧的方法、装置及设备,第一设备接收第二设备发送的控制帧,并从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是
否来自第一设备所属的BSS,确定是否能够使用SR。
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例提供的一种控制帧的结构示意图;
图2为本发明实施例提供的一种确定控制帧所属BSS的方法流程图;
图3为本发明实施例提供的一种确定控制帧所属BSS的方法流程图;
图4为本发明实施例提供的一种确定控制帧所属BSS的方法流程图;
图5为本发明实施例提供的一种确定控制帧所属BSS的方法流程图;
图6为本发明实施例提供的一种FC域的结构示意图;
图7为本发明实施例提供的一种RA域的结构示意图;
图8为本发明实施例提供的一种SERVICE域的结构示意图;
图9为本发明实施例提供的另一种FC域的结构示意图;
图10为本发明实施例提供的另一种SERVICE域的结构示意图;
图11为本发明实施例提供的另一种FC域的结构示意图;
图12为本发明实施例提供的一种扰码生成器的结构示意图;
图13为本发明实施例提供的一种扰码生成器承载Color的结构示意图;
图14为本发明实施例提供的一种确定控制帧所属BSS的方法流程图;
图15为本发明实施例提供的一种发送控制帧的方法流程图;
图16为本发明实施例提供的另一种发送控制帧的方法流程图;
图17为本发明实施例提供的另一种发送控制帧的方法流程图;
图18为本发明实施例提供的另一种发送控制帧的方法流程图;
图19为本发明实施例提供的另一种发送控制帧的方法流程图;
图20为本发明实施例提供的一种确定控制帧所属BSS的装置结构示意图;
图21为本发明实施例提供的一种发送控制帧的装置结构示意图;
图22为本发明实施例提供的一种确定控制帧所属BSS的设备结构示意图;
图23为本发明实施例提供的一种发送控制帧的设备结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
本发明实施例中,如图1所示为控制帧的结构示意图。控制帧包括物理头(Physical Header,物理头)和数据(Data)域,其中,数据域包括2个字节的SREVICE(服务)域和MAC(Medium Access Control,媒体接入控制)域;任何帧的MAC域的前2个字节均为Frame Control(FC,帧控制)域。需要说明的是,并非所有控制帧都存在无法确定所属BSS的问题,比如:PS-Poll(Power Saving Poll,省电轮询)帧的RA(Receiver Address,接收机地址)域为BSSID,而CF-End(Contention-free End,无竞争期结束)帧的TA(Transmitter Address,发射机地址)域为BSSID,因此,PS-Poll帧和CF-End帧可以准确确定所属BSS,因此,在不改变控制帧结构的前提条件下,也就是在兼容旧设备的情况下,本发明实施例为了让HEW(High Efficiency WLAN,高效无线局域网)设备(下文简称为第一设备)
可以确定接收到的控制帧的BSS归属,仅针对于存在无法确定所属BSS问题的控制帧。
本发明实施例提供一种确定控制帧所属BSS的方法,如图2所示,该方法均由第一设备来执行,该第一设备可以为组成BSS的AP或STA,该方法包括:
101、第一设备接收第二设备发送的控制帧。
其中,控制帧包括数据Data域。
需要说明的是,控制帧包括RTS帧、CTS帧、ACK帧、BAR帧、BA帧或Control Wrapper帧。CTS帧和ACK帧的MAC头(MAC Header)仅包括RA域,而RTS帧、BAR帧和BA帧的MAC头既包括RA域,还包括TA域。其中,Control Wrapper帧是用来封装其他控制帧的,比如:用于封装RTS帧、CTS帧、ACK帧、BAR帧或BA帧。如果Control Wrapper帧封装的控制帧的MAC头仅包括RA域,则相应Control Wrapper帧也仅包括RA域;同理,如果Control Wrapper帧封装的控制帧的MAC头既包括RA域,还包括TA域,则相应Control Wrapper帧也同时包括TA域和RA域。因此,Control Wrapper帧所包括的地址域的种类,取决于被封装的控制帧的MAC头所包括的地址域的种类。如不特别说明,任一控制帧和其相应的Control Wrapper帧均视为该控制帧对待,即本发明后续描述中的控制帧的所有操作,既适用于控制帧本身,也适用于该控制帧对应的Control Wrapper帧。
102、第一设备从控制帧中的Data域获取第二设备所属BSS的Color。
其中,Color(颜色值)为BSS的标识。
103、第一设备根据Color,确定控制帧是否来自第一设备所属的BSS。
在本发明实施例中,Color作为BSS的短标识,第一设备可以根据控制帧携带的Color来确定第二设备所属的BSS是否为第一设备所属的BBS。需要说明的是,BSSID和Color都可以作为BSS的标识的一种,当控制帧携带有BSSID时,第一设备可以直接根据BSSID来确定
第二设备所属的BSS,而无需再根据Color来确定第二设备所属的BSS;当控制帧未携带有BSSID时,第一设备可以根据控制帧携带的Color来确定第二设备所属的BSS。
需要说明的是,在第一设备中可以存储着第一设备所属BSS的Color,当第一设备接收到控制帧之后,可以通过比对控制帧所携带的Color与第一设备中预先存储的Color是否相同,来确定控制帧所属的BSS,也就是发送控制帧的第二设备是否属于第一设备所属的BSS。比如:当确定控制帧所携带的Color与第一设备预先存储的Color相同时,则确定控制帧来自第一设备所属BSS;否则,确定控制帧来自邻居BSS。在本发明实施例中,对于判断控制帧是否来自第一设备所属BSS的方式不作具体限定。
本发明实施例提供的一种确定控制帧所属BSS的方法,第一设备接收第二设备发送的控制帧,并从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
由于BSSID和Color均可以用于判断控制帧是否来自第一设备所属的BSS,因此,为了避免当控制帧携带有BSSID时,还获取控制帧所携带的Color,从而提高第一设备在接收处理上的复杂度,在本发明实施例的一个实现方式中,在如图2所示的实现方式的基础上,还可以实现为如图3所示的实现方式,也就是在执行完步骤101第一设备接收第二设备发送的控制帧之后,还可以执行步骤104至步骤106:
104、第一设备从控制帧获取类型指示信息。
其中,类型指示信息位于控制帧中的Data域的Frame Control域,
或位于RA域的第一比特。
需要说明的是,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
在本发明实施例中,类型指示信息具体可以为RA/TA类型指示信息(RA/TA Type)。由于在STA发送给AP(Access Point,接入点)的控制帧中,RA域为AP的地址,即BSSID,因此,这种情况下控制帧可以不额外携带BSS的Color;同理,由于在AP发送给STA的RTS帧、BAR帧或BA帧的TA域为AP的地址,即BSSID,故此时控制帧也可以不额外携带BSS的Color。因此,引入占用1比特的RA/TA类型指示信息,用于指示RA域或TA域中是否存在BSSID。在本发明实施例中,当RA/TA类型指示信息的值为1时,表示RA域或TA域为BSSID,此时控制帧不额外携带BSS的Color。对于CTS帧和ACK帧,由于MAC域包括的地址域为RA域,故BSSID位于RA域;而对于其它控制帧,MAC域包括的地址域为RA域和TA域,故控制帧需要额外1比特的Flag,也就是下文提到的类型指示信息,来表示BSSID位于RA域或是TA域。注意,对于RA/TA Type=1的情况,Flag并不是必须的,第一设备也可将自己所属BSS的BSSID与RA域、TA域逐个比较,若RA域或TA域包含该BSSID,则确定发送该控制帧的第二设备所属的BSS为第一设备所属的BSS,否则,确定该控制帧来自邻居BSS。RA/TA类型指示信息的值为0时,控制帧需要额外携带BSS的Color,此时需要额外的Color present指示来指示是否携带了Color。需要说明的是,当HEW设备中Color不允许取0时,则无需额外的Color present指示;当HEW设备中Color仍然可以为0时,则控制帧还需要额外1比特的Color present,也就是下文提到的颜色存在指示信息,来指示控制帧是否存在Color。比如:Color present为0时,控制帧为旧设备发送的帧;Color present为1时,则认为控制帧中存在BSS的Color。所谓旧设备是指遵循HEW标准之前的标准的设备。
需要说明的是,Flag和Color present可以是位于同一比特,因
此,RA/TA Type和Flag/Color present的取值如表一所示。其中,当Color不允许取0时,则控制帧不需要携带有Color present;对于CTS帧和ACK帧,则不需要Flag。
表一
上述表一中RA/TAType和Flag/Color present的位置,具体可以有以下4种情况:
1-1、RA/TA Type位于FC域,Flag/Color present位于RA域第一比特,或者Flag/Color present位于FC域,RA/TA Type位于RA域第一比特。此时,BSS的Color能够位于FC域、加扰种子(scrambled seed)或SERVICE域中。
1-2、RA/TA Type和Flag/Color present各占据FC域的1比特。此时,BSS的Color能够位于加扰种子或SERVICE域或FC域。由于FC域中有7比特的保留位,而除去RA/TA Type和Flag/Color present各占据的1比特,只剩余5比特,故FC域不足以承载6比特的Color,因此,FC域仅能够用来承载Color的后5比特。
1-3、RA/TA Type和Flag/Color present占用FC域中2比特来联合指示,比如:2比特为00时,即常规CTS;2比特为01时,即TA域为BSSID;2比特为10时,即RA域为BSSID;2比特为11时,即存在BSS的Color。需要说明的是,BSS的Color的具体位置可以与上述1-2中记载的内容相同,在此不做赘述。
1-4、如果规定HEW设备中BSS的Color为非零,则控制帧无需携带有Color present。此时,RA/TA Type位于FC域或位于RA域第一比特,BSS的Color的具体位置可以与上述1-1中记载的内容相同,在此不做赘述。
105、第一设备根据类型指示信息,判断控制帧是否携带BSSID。其中,当控制帧未携带BSSID时,执行步骤102至步骤103;否则,执行步骤106。
106、第一设备根据BSSID确定控制帧是否来自第一设备所属的BSS。
本发明实施例提供的一种确定控制帧所属BSS的方法,第一设备接收控制帧,从控制帧获取类型指示信息,当第一设备根据类型指示信息确定控制帧携带有BSSID时,第一设备可以直接根据BSSID来确定控制帧是否来自第一设备所属的BSS;当第一设备根据类型指示信息确定控制帧未携带有BSSID时,第一设备可以从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够在判断控制帧是否携带有BSSID之后,通过获取未携带BSSID的控制帧的Color,来确定该控制帧是来自于本BSS还是邻居BSS,从而在控制帧未携带有BSSID时,能够准确判定该控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
为了准确获取到BSSID时,在本发明实施例的一个实现方式中,第一设备可以通过获取标识指示信息来确定BSSID在控制帧中的存储位置。因此,在如图3所示的实现方式的基础上,还可以实现为如图4所示的实现方式,也就是在执行步骤106第一设备根据BSSID确定控制帧是否来自第一设备所属的BSS之前,还可以执行步骤107至步骤109:
107、第一设备从控制帧获取标识指示信息。
其中,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置
包括发射机地址TA域或RA域。需要说明的是,具体用于确定BSSID的存储位置的方式,可以参见上述步骤104所描述的内容,在此不做赘述。
108、第一设备根据标识指示信息,确定BSSID的存储位置。
109、第一设备从BSSID的存储位置,获取BSSID。
本发明实施例提供的一种确定控制帧所属BSS的方法,第一设备接收控制帧,从控制帧获取类型指示信息,当第一设备根据类型指示信息确定控制帧携带有BSSID时,第一设备可以从Frame Control域或RA域,获取标识指示信息,并根据标识指示信息来确定BSSID的存储位置,之后从存储位置获取BSSID,并根据BSSID来确定控制帧是否来自第一设备所属的BSS;当第一设备根据类型指示信息确定控制帧未携带有BSSID时,第一设备可以从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且该地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够在判断控制帧是否携带有BSSID之后,通过获取未携带BSSID的控制帧的Color,来确定该控制帧是来自于本BSS还是邻居BSS;或是当控制帧携带有BSSID时,通过确定BSSID的存储位置来获取到准确的BSSID,从而能够根据Color或BSSID准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
由于Color可以位于Data域的Frame Control域、SREVICE域或Data域的加扰种子,因此,在本发明实施例的一个实现方式中,在如图2所示的实现方式的基础上,还可以实现为如图5所示的实现方式,也就是步骤102第一设备从控制帧中的Data域获取第二设备所属BSS的Color,可以具体实现为步骤1021至步骤1023中的任一项:
1021、第一设备从Data域的Frame Control域中获取Color。
在控制帧中,Frame Control域中有7比特属于保留位,如图6所
示,可以用这些保留位来承载BSS的Color。例如:假设BSS的Color为6比特,则可用保留位中的6比特来承载。
目前,在802.11ah标准中,Color的值可以为0。如果HEW设备中Color的值仍然可以取0,则当STA收到一个上述6比特全为0的控制帧时,无法确定该控制帧是由Color为0的BSS中的设备发送的,或是由旧设备发送的。因此,需要额外1比特来指示上述6比特承载了BSS的Color,该指示具体可以为Color present。在本发明实施例中,Frame Control域的1比特的保留位可以用于承载Color present,如图6所示。也就是FC域的B8,即To DS(To Distribution System,目的分布式系统)域这1比特的保留位用于承载Color present,FC域的其他6比特的保留位,分别是:B9的From DS(来自分布式系统)域、B10的More Frag(更多分片)域、B11的Retry(重传)域、B13的More Data(更多数据)域、B14的Protected Frame(被保护帧)域和B15的Order(顺序)域,用于承载BSS的Color。或者,可以用RA域的第一比特来承载Color present。需要说明的是,Color present的值为1时,则表示FC域包括6比特的Color,否则表示FC域未承载Color,也就是可能为旧设备发送的控制帧。
需要说明的是,由于RA域的第一比特本身是用来指示当前目标地址是单播(individual)或是组播(group)地址,如图7所示。因此,用RA域的第一比特来承载Color present,可能存在和已有组播地址冲突的风险。因此,相比较于用RA域的第一比特来承载Color present,用FC域的1比特的保留位来承载Color present为优选方案。
1022、第一设备从Data域的SREVICE域中获取Color。
由于SERVICE域有9比特属于保留位,故可以选用其中的6比特位来承载BSS的Color,如图8所示,即第7至第15位为保留位。其中,R为Reserved的缩写,用于表示保留位。
由于MAC域的FCS(Frame Check Sequence,帧校验序列)域只是对MAC域进行校验,也就是被校验的内容并不包括SERVICE域,因此,新加入的BSS的Color是没有校验字段的,故需要为位于SERVICE
域的BSS的Color引入CRC(Cyclic Redundancy Code,循环冗余编码)校验。引入CRC后的具体承载方式可以有以下4种情况:
2-1、3比特的CRC,位于SERVICE域,即SREVICE域包括6比特的Color和3比特的CRC。需要说明的是,3比特的CRC比较少见,而且可能偏短。
2-2、4比特的CRC,位于SERVICE域,即SREVICE域包括5比特的Color和4比特的CRC。其中,Color可能本身就是5比特,或者只取6比特Color的后5比特,这样就可能存在无法准确确定第二设备的BSS的情况,但并不会产生其它问题。
2-3、4比特的CRC,位于FC域,如图9所示,FC域的B8至B11为CRC,B13为Color present。
2-4、8比特的CRC。其中,一部分位于SERVICE域,另一部分位于FC域。需要说明的是,4比特的CRC可能偏短,故采用8比特的CRC。但是,由于SERVICE域和FC域剩余的可用的比特都不足以承载CRC,故将8比特的CRC分布在两个字段中。例如:假设SERVICE域剩余2比特,FC域剩余6比特,则如图10所示的SERVICE域的结构示意图,以及如图11所示的FC域的结构示意图。其中,如图10所示,第7至第12位用于承载BSS的Color,第14和第15位用于承载CRC1,R为Reserved的缩写,用于表示保留位。;如图11所示,FC域的B8用于承载Color present,B9至B11,以及B13至B15用于承载CRC2。需要说明的是,CRC1与CRC2组成完整的CRC。
1023、第一设备从Data域的加扰种子中获取Color。
在本发明实施例中,为了降低PAPR(Peak to Average Power Ratio,峰值平均功率比),每个控制帧的Data域都需要进行加扰。在目前的Wi-Fi(Wireless Fidelity,无线保真)标准中,加扰Data域所使用的扰码序列是通过如图12所示的扰码生成器生成的。具体来说,扰码生成器的移位寄存器初始状态为7位随机非零值,即加扰种子,然后开始移位,输出周期为127的循环序列,并以此做为扰码序列。所谓加扰,即将扰码序列中的比特与Data域的比特逐个进行
异或。例如:如图13所示,可以使用7比特加扰种子中的6比特来承载Color,即将原本的随机值改为特定的Color值,而剩余的1比特仍然随机取值,也就是随机取为0或1。但是,采用上述方法这可能会对扰码序列的随机性造成一定影响。
需要说明的是,当确定第一设备从Data域的SREVICE域中获取Color时,Frame Control域中还包含Color校验字段,Color校验字段用于对Color进行校验。也就是上述新引入的CRC可能只对6比特的Color进行校验,也可能是对SERVICE域包括Color在内的9比特进行校验,其中,9比特中除6比特的Color以外剩余的3比特的值为0。
本发明实施例提供的一种确定控制帧所属BSS的方法,第一设备接收控制帧,并从控制帧中的Data域的Frame Control域中获取Color,或从Data域的SREVICE域中获取Color,或从Data域的加扰种子中获取Color,之后根据Color确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且该地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据从Data域的Frame Control域中获取的Color,或从Data域的SREVICE域中获取的Color,或从Data域的加扰种子中获取的Color,来确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定该控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
由于Color可以位于Data域的Frame Control域、SREVICE域或Data域的加扰种子,因此,在本发明实施例的一个实现方式中,在如图2所示的实现方式的基础上,还可以实现为如图14所示的实现方式,也就是在执行步骤102第一设备从控制帧中的Data域获取第二设备所属BSS的Color之前,还可以执行步骤110至步骤111:
110、第一设备从控制帧获取颜色存在指示信息。
其中,颜色存在指示信息位于控制帧中的Data域的Frame
Control域或RA域的第一比特。
111、当确定颜色存在指示信息指示控制帧携带Color时,执行步骤第一设备从控制帧中的Data域获取第二设备所属BSS的Color。
需要说明的是,在执行步骤111时,第一设备可以根据颜色存在指示信息对控制帧是否携带有Color进行判断,当颜色存在指示信息指示控制帧携带有Color时,第一设备从控制帧中的Data域获取BBC的Color;当颜色存在指示信息指示控制帧未携带有Color时,可能由于控制帧的RA域或TA域已经携带有BSSID,或是该控制帧是由旧设备发出的。对于来自旧设备的控制帧,由于其未携带有Color,很有可能导致当前第一设备因为无法准确确定控制帧所属的BSS,而无法使用SR。
本发明实施例提供的一种确定控制帧所属BSS的方法,第一设备接收控制帧,并从控制帧获取颜色存在指示信息,当颜色存在指示信息指示控制帧携带Color时,第一设备从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且该地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,当根据颜色存在指示信息确定控制帧携带有Color时,再获取Color,避免了第一设备无法准确识别到Color,因此能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定该控制帧所属的BSS,确定是否能够使用SR。
本发明实施例提供一种发送控制帧的方法,如图15所示,该方法均由第二设备来执行,该方法包括:
201、第二设备在控制帧中的Data域中设置第二设备所属BSS的Color。
其中,控制帧包括Data域,Color为BSS的标识。需要说明的是,控制帧包括RTS帧、CTS帧、ACK帧、BAR帧、BA帧或Control Wrapper
帧。
202、第二设备发送控制帧,以便于第一设备在接收到所述控制帧之后根据Color,确定控制帧是否来自第一设备所属的BSS。
本发明实施例提供的一种发送控制帧的方法,第二设备在控制帧中的Data域中设置BSS的Color,之后发送控制帧,以便于第一设备在接收到所述控制帧之后,根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以由第二设备在控制帧中的Data域设置Color,并发送该控制帧,以便于第一设备在接收到该控制帧之后,根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
为了避免当控制帧携带有BSSID时,第一设备还获取控制帧所携带的Color,从而提高第一设备在接收处理上的复杂度,因此,在本发明实施例的一个实现方式中,在如图15所示的实现方式的基础上,还可以实现为如图16所示的实现方式,在执行步骤201第二设备在控制帧中的Data域中设置第二设备所属BSS的Color之前,可以执行步骤203和步骤204:
203、第二设备判断控制帧是否携带BSSID。其中,当确定控制帧未携带BSSID时,执行步骤201和步骤202;否则,执行步骤204。
204、第二设备在控制帧中设置类型指示信息。
其中,类型指示信息位于控制帧中的Data域的Frame Control域,或位于接收机地址RA域的第一比特。需要说明的是,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
本发明实施例提供的一种发送控制帧的方法,第二设备判断控制帧是否携带BSSID,当确定控制帧携带有BSSID时,第二设备在控制帧中设置类型指示信息,以便于第一设备在接收到所述控制帧之后,根据BSSID,确定控制帧是否来自第一设备所属的BSS;当确定控制帧未携带有BSSID时,第二设备在控制帧中的Data域中设置BSS的Color,之后发送控制帧,以便于第一设备在接收到所述控制帧之后,根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以由第二设备在控制帧中的Data域设置Color,或在控制帧中设置类型指示信息,并发送该控制帧,以便于第一设备在接收到所述控制帧之后,根据接收的控制帧的Data域包含的BSS的Color,或是BSSID,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够在判断控制帧是否携带有BSSID之后,通过获取未携带BSSID的控制帧的Color,来确定该控制帧是来自于本BSS还是邻居BSS,从而在控制帧未携带有BSSID时,能够准确判定该控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
为了使第一设备可以准确判断BSSID的存储位置,因此,在本发明实施例的一个实现方式中,在如图16所示的实现方式的基础上,还可以实现为如图17所示的实现方式,在执行步骤204第二设备在控制帧中设置类型指示信息之前,可以执行步骤205:
205、第二设备在控制帧中设置标识指示信息,以便于第一设备根据标识指示信息,获取BSSID。
其中,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置包括TA域或RA域。
本发明实施例提供的一种发送控制帧的方法,第二设备判断控制帧是否携带BSSID,当确定控制帧携带有BSSID时,第二设备在控制帧中设置标识指示信息和类型指示信息,以便于第一设备在接收
到所述控制帧之后,根据标识指示信息确定BSSID的存储位置,并获取BSSID,从而确定控制帧是否来自第一设备所属的BSS;当确定控制帧未携带有BSSID时,第二设备在控制帧中的Data域中设置BSS的Color,之后发送控制帧,以便于第一设备在接收到所述控制帧之后,根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以由第二设备在控制帧中的Data域设置Color,或在控制帧中设置类型指示信息,并发送该控制帧,以便于第一设备在接收到所述控制帧之后,根据接收的控制帧的Data域包含的BSS的Color,或是BSSID,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够在判断控制帧是否携带有BSSID之后,通过获取未携带BSSID的控制帧的Color,来确定该控制帧是来自于本BSS还是邻居BSS,从而在控制帧未携带有BSSID时,能够准确判定该控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
在本发明实施例的一个实现方式中,提供了3种在控制帧中设置Color的方式,因此,在如图15所示的实现方式的基础上,还可以实现为如图18所示的实现方式,步骤201第二设备在控制帧中的Data域中设置第二设备所属BSS的Color,可以具体执行步骤2011至步骤2013中任一项:
2011、第二设备在Data域的Frame Control域中设置Color。
2012、第二设备在Data域的SREVICE域中设置Color。
2013、第二设备在Data域的加扰种子中设置Color。
需要说明的是,当确定第二设备在Data域的SREVICE域中设置Color时,控制帧中还包含Color校验字段,Color校验字段用于对Color进行校验,Color校验字段位于Frame Control域中,或位于SERVICE域和Frame Control域中。
本发明实施例提供的一种发送控制帧的方法,第二设备在控制帧中的Data域中设置Color的过程中,可以将Color设置在Data域的
Frame Control域、Data域的SREVICE域,或Data域的加扰种子。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以采用不同的承载方式,将Color承载在控制帧中并发送。因此,STA在接收到控制帧之后,能够根据从Data域的Frame Control域中获取的Color,或从Data域的SREVICE域中获取的Color,或从Data域的加扰种子中获取的Color,来确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定该控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
为了使第一设备可以准确确定控制帧中是否携带有Color,因此,在本发明实施例的一个实现方式中,在如图15所示的实现方式的基础上,还可以实现为如图19所示的实现方式,在执行步骤202第二设备发送控制帧之前,可以执行步骤206:
206、第二设备在控制帧设置颜色存在指示信息。
其中,颜色存在指示信息位于控制帧中的Data域的Frame Control域或RA域的第一比特,颜色存在指示信息用于指示控制帧携带Color。
本发明实施例提供的一种发送控制帧的方法,第二设备可以通过在控制帧中设置颜色存在指示信息,以便于第一设备在接收到控制帧后,可以根据颜色存在指示信息来确定控制帧中是否携带有Color。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以在第一设备接收到控制帧之后,根据颜色存在指示信息来确定控制帧是否携带有Color。因此,STA在接收到控制帧之后,当根据颜色存在指示信息确定控制帧携带有Color时,再获取Color,避免了第一设备无法准确识别到Color,因此能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定该控制帧所属的BSS,确定是否能够使用SR。
本发明实施例提供一种确定控制帧所属BSS的装置30,如图20所
示,装置30包括:
接收模块31,用于接收第二设备发送的控制帧,控制帧包括数据Data域。
获取模块32,用于从控制帧中的Data域获取第二设备所属BSS的颜色值Color,Color为BSS的标识。
确定模块33,用于根据Color,确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,获取模块32,还用于从控制帧获取类型指示信息,类型指示信息位于控制帧中的Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
判断模块34,用于根据类型指示信息,判断控制帧是否携带基本服务集标识BSSID;当确定控制帧未携带BSSID时,从控制帧中的Data域获取第二设备所属BSS的Color;当确定控制帧携带BSSID时,根据BSSID确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,获取模块32,还用于从控制帧获取标识指示信息,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置包括发射机地址TA域或RA域。
确定模块33,还用于根据标识指示信息,确定BSSID的存储位置。
获取模块32,还用于从BSSID的存储位置,获取BSSID。
在本发明实施例的一个实现方式中,控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
在本发明实施例的一个实现方式中,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
在本发明实施例的一个实现方式中,获取模块32,具体用于从Data域的Frame Control域中获取Color;
或者,获取模块32,具体用于从Data域的服务SREVICE域中获取Color;
或者,获取模块32,具体用于从Data域的加扰种子中获取Color。
在本发明实施例的一个实现方式中,当确定第一设备从Data域的SREVICE域中获取Color时,控制帧中还包含Color校验字段,Color校验字段用于对Color进行校验,Color校验字段位于Frame Control域中,或位于SERVICE域和Frame Control域中。
在本发明实施例的一个实现方式中,获取模块32,还用于从控制帧获取颜色存在指示信息,颜色存在指示信息位于控制帧中的Data域的Frame Control域或RA域的第一比特;当确定颜色存在指示信息指示控制帧携带Color时,从控制帧中的Data域获取第二设备所属BSS的Color。
本发明实施例提供的一种确定控制帧所属BSS的装置,第一设备接收第二设备发送的控制帧,并从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
本发明实施例提供一种发送控制帧的装置40,如图21所示,装置40包括:
设置模块41,用于在控制帧中的数据Data域中设置第二设备所属BSS的颜色值Color,Color为BSS的标识。
发送模块42,用于发送控制帧,以便于第一设备在接收到控制帧之后根据Color,确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,判断模块43,用于判断控
制帧是否携带基本服务集标识BSSID;当确定控制帧未携带BSSID时,在控制帧中的数据Data域中设置第二设备所属BSS的Color;当确定控制帧携带BSSID时,在控制帧中设置类型指示信息,类型指示信息位于控制帧中的Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
在本发明实施例的一个实现方式中,设置模块41,还用于在控制帧中设置标识指示信息,以便于第一设备根据标识指示信息,获取BSSID,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置包括发射机地址TA域或RA域。
在本发明实施例的一个实现方式中,控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
在本发明实施例的一个实现方式中,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
在本发明实施例的一个实现方式中,设置模块41,具体用于在Data域的Frame Control域中设置Color;
或者,设置模块41,具体用于在Data域的服务SREVICE域中设置Color;
或者,设置模块41,具体用于在Data域的加扰种子中设置Color。
在本发明实施例的一个实现方式中,当确定第二设备在Data域的SREVICE域中设置Color时,控制帧中还包含Color校验字段,Color校验字段用于对Color进行校验,Color校验字段位于Frame Control域中,或位于SERVICE域和Frame Control域中。
在本发明实施例的一个实现方式中,设置模块41,还用于在控制帧设置颜色存在指示信息,颜色存在指示信息位于控制帧中的Data域的Frame Control域或RA域的第一比特,颜色存在指示信息用
于指示控制帧携带Color。
本发明实施例提供的一种发送控制帧的装置,第二设备在控制帧中的Data域中设置BSS的Color,之后发送控制帧,以便于第一设备在接收到所述控制帧之后,根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以由第二设备在控制帧中的Data域设置Color,并发送该控制帧,以便于第一设备在接收到该控制帧之后,根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
本发明实施例提供一种确定控制帧所属基本服务集BSS的设备50,设备50为第一设备,或集成在第一设备中,设备50用于实现如图20所示的装置,如图22所示,设备50可以包括存储器51、通信总线52和处理器53,其中,通信总线52包括用于存储器51和处理器53进行通信连接的总线,还包括用于设备50和其他设备或通信网络(例如但不限于以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local Area Network,WLAN)等)进行通信连接的总线。
存储器51可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器51可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器51中,并由处理器53来执行。
处理器53可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific
Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。
应注意,尽管图22所示的硬件仅仅示出了存储器51、通信总线52和处理器53,但是在具体实现过程中,本领域的技术人员应当明白,该终端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。
存储器51,用于存储包括程序指令的信息。
通信总线52,用于接收第二设备发送的控制帧,控制帧包括数据Data域。
通信总线52,还用于从控制帧中的Data域获取第二设备所属BSS的颜色值Color,Color为BSS的标识。
处理器53,用于根据Color,确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,在第一设备接收第二设备发送的控制帧之后,通信总线52,还用于从控制帧获取类型指示信息,类型指示信息位于控制帧中的Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
处理器53,还用于根据类型指示信息,判断控制帧是否携带基本服务集标识BSSID;当确定控制帧未携带BSSID时,从控制帧中的Data域获取第二设备所属BSS的Color;当确定控制帧携带BSSID时,根据BSSID确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,在第一设备根据BSSID确定控制帧是否来自第一设备所属的BSS之前,包括:
通信总线52,还用于从控制帧获取标识指示信息,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置包括发射机地址TA域或RA域。
处理器53,还用于根据标识指示信息,确定BSSID的存储位置。
通信总线52,还用于从BSSID的存储位置,获取BSSID。
在本发明实施例的一个实现方式中,控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
在本发明实施例的一个实现方式中,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
在本发明实施例的一个实现方式中,通信总线52,具体用于从Data域的Frame Control域中获取Color;
或者,通信总线52,具体用于从Data域的服务SREVICE域中获取Color;
或者,通信总线52,具体用于Data域的加扰种子中获取Color。
在本发明实施例的一个实现方式中,当确定第一设备从Data域的SREVICE域中获取Color时,控制帧中还包含Color校验字段,Color校验字段用于对Color进行校验,Color校验字段位于Frame Control域中,或位于SERVICE域和Frame Control域中。
在本发明实施例的一个实现方式中,在第一设备从控制帧中的Data域获取第二设备所属BSS的Color之前,通信总线52,还用于从控制帧获取颜色存在指示信息,颜色存在指示信息位于控制帧中的Data域的Frame Control域或RA域的第一比特;当确定颜色存在指示信息指示控制帧携带Color时,从控制帧中的Data域获取第二设备所属BSS的Color。
本发明实施例提供的一种确定控制帧所属BSS的设备,第一设备接收第二设备发送的控制帧,并从控制帧中的Data域获取BSS的Color,之后根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以根据第一设备接收的控制帧的Data域中包含的
BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
本发明实施例提供一种发送控制帧的设备60,设备60为第二设备,或集成在第二设备中,设备60用于实现如图21所示的装置,如图23所示,设备60可以包括存储器61、通信总线62和处理器63,其中,通信总线62包括用于存储器61和处理器63进行通信连接的总线,还包括用于设备60和其他设备或通信网络(例如但不限于以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local Area Network,WLAN)等)进行通信连接的总线。
存储器61可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器61可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器61中,并由处理器63来执行。
处理器63可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。
应注意,尽管图23所示的硬件仅仅示出了存储器61、通信总线62和处理器63,但是在具体实现过程中,本领域的技术人员应当明白,该终端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。
存储器61,用于存储包括程序指令的信息。
处理器63,用于在控制帧中的数据Data域中设置第二设备所属BSS的颜色值Color,Color为BSS的标识;
通信总线62,用于发送控制帧,以便于第一设备在接收到控制帧之后根据Color,确定控制帧是否来自第一设备所属的BSS。
在本发明实施例的一个实现方式中,在第二设备在控制帧中的数据Data域中设置第二设备所属BSS的Color之前,处理器63,还用于判断控制帧是否携带基本服务集标识BSSID;当确定控制帧未携带BSSID时,在控制帧中的数据Data域中设置第二设备所属BSS的Color;当确定控制帧携带BSSID时,在控制帧中设置类型指示信息,类型指示信息位于控制帧中的Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
在本发明实施例的一个实现方式中,在第二设备在控制帧中设置类型指示信息之前,处理器63,还用于在控制帧中设置标识指示信息,以便于第一设备根据标识指示信息,获取BSSID,标识指示信息位于控制帧中的Frame Control域,或位于RA域,标识指示信息用于表示BSSID的存储位置,BSSID的存储位置包括发射机地址TA域或RA域。
在本发明实施例的一个实现方式中,控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
在本发明实施例的一个实现方式中,类型指示信息,用于表示当确定控制帧为CTS帧或ACK帧时,控制帧的RA域是否存储BSSID,或当确定控制帧为RTS帧、BAR帧或BA帧时,控制帧的TA域或RA域是否存储BSSID。
在本发明实施例的一个实现方式中,处理器63,具体用于在Data域的Frame Control域中设置Color;
或者,处理器63,具体用于在Data域的服务SREVICE域中设置Color;
或者,处理器63,具体用于在Data域的加扰种子中设置Color。
在本发明实施例的一个实现方式中,当确定第二设备在Data域的SREVICE域中设置Color时,控制帧中还包含Color校验字段,Color
校验字段用于对Color进行校验,Color校验字段位于Frame Control域中,或位于SERVICE域和Frame Control域中。
在本发明实施例的一个实现方式中,在第二设备发送控制帧之前,处理器63,还用于在控制帧设置颜色存在指示信息,颜色存在指示信息位于控制帧中的Data域的Frame Control域或RA域的第一比特,颜色存在指示信息用于指示控制帧携带Color。
本发明实施例提供的一种发送控制帧的设备,第二设备在控制帧中的Data域中设置BSS的Color,之后发送控制帧,以便于第一设备在接收到所述控制帧之后,根据Color,确定控制帧是否来自第一设备所属的BSS。其中,Color为BSS的标识。相比较于现有技术中由于部分控制帧的MAC头中最多只有两个地址域,并且这些地址域中可能不包括BSSID,本发明实施例可以由第二设备在控制帧中的Data域设置Color,并发送该控制帧,以便于第一设备在接收到该控制帧之后,根据第一设备接收的控制帧的Data域中包含的BSS的Color,来确定控制帧是否来自第一设备所属的BSS。因此,STA在接收到控制帧之后,能够根据BSS的Color,确定该控制帧是来自于本BSS还是邻居BSS,从而准确判定控制帧是否来自第一设备所属的BSS,确定是否能够使用SR。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。
Claims (48)
- 一种确定控制帧所属基本服务集BSS的方法,其特征在于,所述方法包括:第一设备接收第二设备发送的控制帧,所述控制帧包括数据Data域;所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;所述第一设备根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求1所述的方法,其特征在于,在所述第一设备接收第二设备发送的控制帧之后,包括:所述第一设备从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;所述第一设备根据所述类型指示信息,判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,执行所述步骤所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求2所述的方法,其特征在于,在所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS之前,包括:所述第一设备从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;所述第一设备根据所述标识指示信息,确定所述BSSID的存储位 置;所述第一设备从所述BSSID的存储位置,获取所述BSSID。
- 根据权利要求1至3中任一项所述的方法,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求4所述的方法,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求1所述的方法,其特征在于,所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color,包括:所述第一设备从所述Data域的Frame Control域中获取所述Color;或者,所述第一设备从所述Data域的服务SREVICE域中获取所述Color;或者,所述第一设备从所述Data域的加扰种子中获取所述Color。
- 根据权利要求6所述的方法,其特征在于,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求1所述的方法,其特征在于,在所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color之前,包括:所述第一设备从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特;当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,执行所述步骤所述第一设备从所述控制帧中的所述Data域获取所 述第二设备所属BSS的Color。
- 一种发送控制帧的方法,其特征在于,所述方法包括:第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;所述第二设备发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求9所述的方法,其特征在于,在所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color之前,包括:所述第二设备判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,执行所述步骤所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,所述第二设备在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
- 根据权利要求10所述的方法,其特征在于,在所述第二设备在所述控制帧中设置类型指示信息之前,包括:所述第二设备在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
- 根据权利要求9至11中任一项所述的方法,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求12所述的方法,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控 制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求9所述的方法,其特征在于,所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color,包括:所述第二设备在所述Data域的Frame Control域中设置所述Color;或者,所述第二设备在所述Data域的服务SREVICE域中设置所述Color;或者,所述第二设备在所述Data域的加扰种子中设置所述Color。
- 根据权利要求14所述的方法,其特征在于,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求9所述的方法,其特征在于,在所述第二设备发送所述控制帧之前,包括:所述第二设备在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所述Color。
- 一种确定控制帧所属基本服务集BSS的装置,其特征在于,所述装置包括:接收模块,用于接收第二设备发送的控制帧,所述控制帧包括数据Data域;获取模块,用于从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;确定模块,用于根据所述Color,确定所述控制帧是否来自第一设备所属的BSS。
- 根据权利要求17所述的装置,其特征在于,所述获取模块, 还用于从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;判断模块,用于根据所述类型指示信息,判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求18所述的装置,其特征在于,所述获取模块,还用于从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;所述确定模块,还用于根据所述标识指示信息,确定所述BSSID的存储位置;所述获取模块,还用于从所述BSSID的存储位置,获取所述BSSID。
- 根据权利要求17至19中任一项所述的装置,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求20所述的装置,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求17所述的装置,其特征在于,所述获取模块,具体用于从所述Data域的Frame Control域中获取所述Color;或者,所述获取模块,具体用于从所述Data域的服务SREVICE域中获取所述Color;或者,所述获取模块,具体用于从所述Data域的加扰种子中获取所述Color。
- 根据权利要求22所述的装置,其特征在于,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求17所述的装置,其特征在于,所述获取模块,还用于从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特;当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color。
- 一种发送控制帧的装置,其特征在于,所述装置包括:设置模块,用于在控制帧中的数据Data域中设置第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;发送模块,用于发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求25所述的装置,其特征在于,判断模块,用于判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
- 根据权利要求26所述的装置,其特征在于,所述设置模块,还用于:在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
- 根据权利要求25至27中任一项所述的装置,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求28所述的装置,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求25所述的装置,其特征在于,所述设置模块,具体用于在所述Data域的Frame Control域中设置所述Color;或者,所述设置模块,具体用于在所述Data域的服务SREVICE域中设置所述Color;或者,所述设置模块,具体用于在所述Data域的加扰种子中设置所述Color。
- 根据权利要求30所述的装置,其特征在于,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求25所述的装置,其特征在于,所述设置模块,还用于在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所述Color。
- 一种确定控制帧所属基本服务集BSS的设备,其特征在于,所述设备为第一设备,或集成在所述第一设备中,所述设备包括:通信总线,用于接收第二设备发送的控制帧,所述控制帧包括数据Data域;所述通信总线,还用于从所述控制帧中的所述Data域获取所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;处理器,用于根据所述Color,确定所述控制帧是否来自所述第 一设备所属的BSS。
- 根据权利要求33所述的设备,其特征在于,在所述第一设备接收第二设备发送的控制帧之后,所述通信总线,还用于从所述控制帧获取类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特;所述处理器,还用于根据所述类型指示信息,判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color;当确定所述控制帧携带所述BSSID时,根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求34所述的设备,其特征在于,在所述第一设备根据所述BSSID确定所述控制帧是否来自所述第一设备所属的BSS之前,包括:所述通信总线,还用于从所述控制帧获取标识指示信息,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域;所述处理器,还用于根据所述标识指示信息,确定所述BSSID的存储位置;所述通信总线,还用于从所述BSSID的存储位置,获取所述BSSID。
- 根据权利要求33至35中任一项所述的设备,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求36所述的设备,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求33所述的设备,其特征在于,所述通信总线, 具体用于从所述Data域的Frame Control域中获取所述Color;或者,所述通信总线,具体用于从所述Data域的服务SREVICE域中获取所述Color;或者,所述通信总线,具体用于所述Data域的加扰种子中获取所述Color。
- 根据权利要求38所述的设备,其特征在于,当确定所述第一设备从所述Data域的SREVICE域中获取所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求33所述的设备,其特征在于,在所述第一设备从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color之前,所述通信总线,还用于从所述控制帧获取颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的FrameControl域或RA域的第一比特;当确定所述颜色存在指示信息指示所述控制帧携带所述Color时,从所述控制帧中的所述Data域获取所述第二设备所属BSS的Color。
- 一种发送控制帧的设备,其特征在于,所述设备为第二设备,或集成在所述第二设备中,所述设备包括:处理器,用于在控制帧中的数据Data域中设置所述第二设备所属BSS的颜色值Color,所述Color为所述BSS的标识;通信总线,用于发送所述控制帧,以便于第一设备在接收到所述控制帧之后根据所述Color,确定所述控制帧是否来自所述第一设备所属的BSS。
- 根据权利要求41所述的设备,其特征在于,在所述第二设备在控制帧中的数据Data域中设置所述第二设备所属BSS的Color之前,所述处理器,还用于判断所述控制帧是否携带基本服务集标识BSSID;当确定所述控制帧未携带所述BSSID时,在控制帧中的数据Data域中设置所述第二设备所属BSS的Color;当确定所述控制帧携带所述 BSSID时,在所述控制帧中设置类型指示信息,所述类型指示信息位于所述控制帧中的所述Data域的帧控制Frame Control域,或位于接收机地址RA域的第一比特。
- 根据权利要求42所述的设备,其特征在于,在所述第二设备在所述控制帧中设置类型指示信息之前,所述处理器,还用于在所述控制帧中设置标识指示信息,以便于所述第一设备根据所述标识指示信息,获取所述BSSID,所述标识指示信息位于所述控制帧中的所述Frame Control域,或位于所述RA域,所述标识指示信息用于表示所述BSSID的存储位置,所述BSSID的存储位置包括发射机地址TA域或所述RA域。
- 根据权利要求41至43中任一项所述的设备,其特征在于,所述控制帧包括请求发送RTS帧、清除发送CTS帧、确认ACK帧、块确认请求BAR帧、块确认BA帧或控制封装Control Wrapper帧。
- 根据权利要求44所述的设备,其特征在于,所述类型指示信息,用于表示当确定所述控制帧为所述CTS帧或所述ACK帧时,所述控制帧的RA域是否存储BSSID,或当确定所述控制帧为所述RTS帧、所述BAR帧或所述BA帧时,所述控制帧的TA域或RA域是否存储所述BSSID。
- 根据权利要求41所述的设备,其特征在于,所述处理器,具体用于在所述Data域的Frame Control域中设置所述Color;或者,所述处理器,具体用于在所述Data域的服务SREVICE域中设置所述Color;或者,所述处理器,具体用于在所述Data域的加扰种子中设置所述Color。
- 根据权利要求46所述的设备,其特征在于,当确定所述第二设备在所述Data域的SREVICE域中设置所述Color时,所述控制帧中还包含Color校验字段,所述Color校验字段用于对所述Color进行校验,所述Color校验字段位于所述Frame Control域中,或位于所述SERVICE域和所述Frame Control域中。
- 根据权利要求41所述的设备,其特征在于,在所述第二设备 发送所述控制帧之前,所述处理器,还用于在所述控制帧设置颜色存在指示信息,所述颜色存在指示信息位于所述控制帧中的所述Data域的Frame Control域或RA域的第一比特,所述颜色存在指示信息用于指示所述控制帧携带所述Color。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/087824 WO2017031640A1 (zh) | 2015-08-21 | 2015-08-21 | 确定控制帧所属bss、发送控制帧的方法、装置及设备 |
| CN201580082078.5A CN107925992B (zh) | 2015-08-21 | 2015-08-21 | 确定控制帧所属bss、发送控制帧的方法、装置及设备 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/087824 WO2017031640A1 (zh) | 2015-08-21 | 2015-08-21 | 确定控制帧所属bss、发送控制帧的方法、装置及设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017031640A1 true WO2017031640A1 (zh) | 2017-03-02 |
Family
ID=58101061
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/087824 Ceased WO2017031640A1 (zh) | 2015-08-21 | 2015-08-21 | 确定控制帧所属bss、发送控制帧的方法、装置及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107925992B (zh) |
| WO (1) | WO2017031640A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113615243A (zh) * | 2019-02-28 | 2021-11-05 | 佳能株式会社 | 通信设备、控制方法及程序 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1968169A (zh) * | 2005-08-26 | 2007-05-23 | 手持产品公司 | 具有与多个无线网络的动态接入的数据收集设备 |
| US20140369276A1 (en) * | 2013-06-13 | 2014-12-18 | Broadcom Corporation | Flexible OFDMA packet structure for wireless communications |
| 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 (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2845409A1 (en) * | 2012-05-04 | 2015-03-11 | Interdigital Patent Holdings, Inc. | Efficient medium access control (mac) header |
| CN103517386B (zh) * | 2012-06-26 | 2017-06-20 | 华为技术有限公司 | 无线局域网的数据传输方法及设备 |
| WO2015050311A1 (ko) * | 2013-10-05 | 2015-04-09 | 엘지전자 주식회사 | 무선랜 시스템에서 섹터화된 전송기회를 이용한 동작 방법 및 장치 |
| WO2015131358A1 (zh) * | 2014-03-05 | 2015-09-11 | 华为终端有限公司 | 信道资源指示方法及装置 |
-
2015
- 2015-08-21 WO PCT/CN2015/087824 patent/WO2017031640A1/zh not_active Ceased
- 2015-08-21 CN CN201580082078.5A patent/CN107925992B/zh active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1968169A (zh) * | 2005-08-26 | 2007-05-23 | 手持产品公司 | 具有与多个无线网络的动态接入的数据收集设备 |
| US20140369276A1 (en) * | 2013-06-13 | 2014-12-18 | Broadcom Corporation | Flexible OFDMA packet structure for wireless communications |
| 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 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113615243A (zh) * | 2019-02-28 | 2021-11-05 | 佳能株式会社 | 通信设备、控制方法及程序 |
| US12212972B2 (en) | 2019-02-28 | 2025-01-28 | Canon Kabushiki Kaisha | Access point device, control method, and computer-readable storage medium for BSS color setting |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107925992A (zh) | 2018-04-17 |
| CN107925992B (zh) | 2020-07-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12256395B2 (en) | Information transmission method and apparatus | |
| US10820304B2 (en) | NAV setting method in wireless communications system and related device | |
| US10341850B2 (en) | Method for identifying source BSS in WLAN | |
| US20210195664A1 (en) | Association establishment method and apparatus | |
| JP6368035B2 (ja) | データの同時通信のための無線通信方法及びこれを利用した無線通信端末 | |
| US8553574B2 (en) | Method of handling packet error in a wireless communication system and related communication device | |
| JP7066023B2 (ja) | ワイヤレスローカルエリアネットワークデータ送信方法および装置 | |
| CN106954273B (zh) | 数据传输的方法及装置 | |
| CN108353436B (zh) | 对由重叠的基本服务集进行的无线传输的动态禁止 | |
| CN110771249B (zh) | 信息传输方法以及装置、随机接入方法以及装置、通信系统 | |
| US20160330788A1 (en) | Mobile radio communication devices and methods for controlling a mobile radio communication device | |
| US9635601B2 (en) | 802.11 PHY hashed SSID | |
| US10708960B2 (en) | Method for establishing communication connection between station and access point, access point, and station | |
| JP2016534597A (ja) | ワイヤレスネットワークにおいて応答インジケーション延期を動的に設定するためのシステム、方法、及びデバイス | |
| JP2016521040A (ja) | ワイヤレス通信システムにおいてndpcf_end制御フレームを生成し送信するための方法およびデバイス | |
| WO2017121301A1 (zh) | 传输数据的方法和装置 | |
| KR20150102945A (ko) | 응답 프레임 타입의 지시를 위한 시스템 및 방법 | |
| JP2025037971A (ja) | 物理層プロトコル・データ・ユニットの送信におけるピーク対平均電力比を低減する方法及び装置 | |
| CN106899922B (zh) | 端到端通信方法、网络分配向量nav设置方法及站点 | |
| CN107925992B (zh) | 确定控制帧所属bss、发送控制帧的方法、装置及设备 | |
| WO2014063592A1 (zh) | 数据的传输方法及装置 | |
| EP3226435B1 (en) | System and method for uplink transmission in a wireless network | |
| US20170265222A1 (en) | Radio reception device, radio transmission device, communication system, and communication method | |
| WO2017197606A1 (zh) | 传输方法、接入点和站点 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15901911 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15901911 Country of ref document: EP Kind code of ref document: A1 |