CN113395700A - Basic service set management method, communication device, and storage medium - Google Patents

Basic service set management method, communication device, and storage medium Download PDF

Info

Publication number
CN113395700A
CN113395700A CN202110893220.1A CN202110893220A CN113395700A CN 113395700 A CN113395700 A CN 113395700A CN 202110893220 A CN202110893220 A CN 202110893220A CN 113395700 A CN113395700 A CN 113395700A
Authority
CN
China
Prior art keywords
bss color
color value
bssid
basic service
sequencing
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.)
Granted
Application number
CN202110893220.1A
Other languages
Chinese (zh)
Other versions
CN113395700B (en
Inventor
童娣
吴昌强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mercury Communication Technology Co ltd
Original Assignee
Shenzhen Mercury Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mercury Communication Technology Co ltd filed Critical Shenzhen Mercury Communication Technology Co ltd
Priority to CN202110893220.1A priority Critical patent/CN113395700B/en
Publication of CN113395700A publication Critical patent/CN113395700A/en
Application granted granted Critical
Publication of CN113395700B publication Critical patent/CN113395700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning
    • H04W16/10Dynamic resource partitioning

Abstract

The application is applicable to the technical field of communication, and provides a basic service set management method, communication equipment and a storage medium, wherein the basic service set management method applied to a first AP comprises the following steps: if BSS Color conflict is detected, acquiring BSSIDs of all APs in an AP set corresponding to the BSS Color conflict; wherein the set of APs includes the first AP; sequencing according to BSSID of each AP in the AP set, and determining a sequencing position corresponding to the first AP; and if the sequencing position corresponding to the first AP meets a first preset condition, changing the BSS Color value of the first AP. The embodiment of the application can efficiently change the BSS Color value.

Description

Basic service set management method, communication device, and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for managing a basic service set, a communications device, and a storage medium.
Background
In the existing wlan technology, in an environment of deploying Access Points (APs) at high density, Basic Service Sets (BSSs) corresponding to the APs may overlap, that is, more Overlapping Basic Service Sets (OBSSs) may exist, which means that more communication collisions may occur. Therefore, in the wlan standard, a basic service set coloring mechanism (BSS coloring) is adopted, and different BSS colors (BSS colors) are marked for each BSS in the OBSS to avoid communication collisions between different BSSs, enhance channel reuse rate, and reduce interference of adjacent networks.
However, since the value of BSS Color is limited, there may be a case where BSS Color conflicts (i.e., BSS Color values are repeated) in the same OBSS. In the prior art, when there is a BSS Color conflict, each AP having the conflict performs a BSS Color value changing operation independently, but the changing method of the BSS Color value is inefficient.
Disclosure of Invention
In view of this, embodiments of the present application provide a basic service set management method, a communication device, and a storage medium, so as to solve the problem of how to efficiently change the BSS Color value in the prior art.
A first aspect of an embodiment of the present application provides a first basic service set management method, where the method is applied to a first AP, and includes:
if BSS Color conflict is detected, acquiring BSSIDs of all APs in an AP set corresponding to the BSS Color conflict; wherein the set of APs includes the first AP;
sequencing according to BSSID of each AP in the AP set, and determining a sequencing position corresponding to the first AP;
and if the sequencing position corresponding to the first AP meets a first preset condition, changing the BSS Color value of the first AP.
Optionally, the first preset condition is determined by current time information.
Optionally, the determining a ranking position corresponding to the first AP according to the ranking according to BSSIDs of the APs in the AP set includes:
determining a mapping BSSID corresponding to each AP according to current time information and BSSIDs of the APs in the AP set;
and sequencing each AP in the AP set according to the mapped BSSID corresponding to each AP, and determining a sequencing position corresponding to the first AP.
Optionally, the changing the BSS Color value of the first AP includes:
when detecting that the second AP completes the change of the BSS Color value, changing the BSS Color value of the first AP; and the second AP is an AP of which the sequencing position in the AP set meets the first preset condition and is positioned before the sequencing position of the first AP.
Optionally, the changing the BSS Color value of the first AP further includes:
and if the fact that the second AP completes the change of the BSS Color value is not detected within the preset time, directly changing the BSS Color value of the first AP.
Optionally, the method further comprises:
if change indication information sent by the STA associated with the first AP is acquired, changing the BSS Color value of the first AP; and the change indication information is indication information sent by the STA after determining the sequencing position corresponding to the first AP according to the BSSID of each AP in the AP set with BSS Color conflict.
Optionally, the changing the BSS Color value of the first AP includes:
and determining a new BSS Color value, and sending a change notification message to the STA associated with the first AP according to the new BSS Color value.
A second aspect of the embodiments of the present application provides a second basic service set management method, where the method is applied to an STA, and includes:
if BSS Color conflict is detected, acquiring BSSID of each AP in the AP set with the BSS Color conflict;
sequencing according to BSSID of each AP in the AP set, and determining sequencing position of each AP;
and sending change indication information to the AP of which the sequencing position meets a first preset condition and is associated with the STA.
A third aspect of embodiments of the present application provides a communication device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, causes the communication device to implement the steps of the basic service set management method according to the first aspect or the second aspect.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes a communication device to implement the steps of the basic service set management method according to the first or second aspect.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on a communication device, causes the communication device to perform the steps of the basic service set management method according to the first or second aspect.
Compared with the prior art, the embodiment of the application has the advantages that: in the embodiment of the application, when a first AP detects a BSS Color conflict, a BSSID of a basic service set identifier of each AP in an AP set of the detected BSS Color conflict is obtained first, and sequencing is performed according to the BSSID of each AP in the AP set, so that a sequencing position corresponding to the first AP is determined. And when the sequencing position corresponding to the first AP is determined to meet the first preset condition, changing the BSS Color value of the first AP. The first AP can determine that the sequencing position of the first AP accords with a first preset condition according to the result obtained by sequencing each AP according to the BSSID in the AP set, and then changes the BSS Color value, so that the first AP can synthesize BSSID information in the AP set to realize coordination with other APs, redundant change or repeated change of the BSS Color is avoided, operation cost and communication cost are reduced, network throughput is improved, and change efficiency of the BSS Color value is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
Fig. 1 is a schematic flow chart of an implementation of a first basic service set management method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of an implementation of a second basic service set management method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a first basic service set management apparatus according to an embodiment of the present application;
fig. 4 is a schematic diagram of a second basic service set management apparatus provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a communication device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
At present, due to the limited value of BSS Color (usually an integer in the range of 1 to 63), there may be BSS Color collision (i.e. repeated BSS Color values) in the same OBSS. In the prior art, when there is a BSS Color conflict, each AP in conflict performs a BSS Color value change operation independently. However, there may be redundant changes in the BSS Color value, which results in inefficient methods for changing the BSS Color value.
In order to solve the technical problem, embodiments of the present application provide a basic service set management method, a communication device, and a storage medium, where when a first AP detects a BSS Color conflict, a BSSID of a basic service set identifier of each AP in an AP set of the detected BSS Color conflict is obtained first, and a sequence is performed according to the BSSID of each AP in the AP set, so as to determine a sequence position corresponding to the first AP. And when the sequencing position corresponding to the first AP is determined to meet the first preset condition, changing the BSS Color value of the first AP. The first AP can determine that the sequencing position of the first AP accords with a first preset condition according to the result obtained by sequencing each AP according to the BSSID in the AP set, and then changes the BSS Color value, so that the first AP can synthesize BSSID information in the AP set to realize coordination with other APs, redundant change or repeated change of the BSS Color is avoided, operation cost and communication cost are reduced, network throughput is improved, and change efficiency of the BSS Color value is improved.
The first embodiment is as follows:
fig. 1 shows a flowchart of a basic service set management method provided in an embodiment of the present application, where an execution subject in the embodiment of the present application is a first AP. In a wireless communication network, each BSS includes an AP and may further include a Station (STA), and the AP performs BSS Color collision monitoring and changing of the BSS; the first AP in the embodiment of the present application may be any AP in a wireless communication network. The basic service set management method as shown in fig. 1 is detailed as follows:
in S101, if BSS Color conflict is detected, BSSIDs of all APs in an AP set corresponding to the BSS Color conflict are obtained; wherein the set of APs includes the first AP.
In OBSS, data within each BSS is identified and distinguished by its respective BSS Color value. Specifically, a physical layer protocol data unit (PPDU) sent by an AP or an STA in each BSS carries a BSS Color value of the BSS, so that the APs or STAs in other BSSs can identify whether the PPDU is from a BSS where the PPDU is located according to the BSS Color value.
And if the first AP receives the PPDU from the OBSS STA on the main channel of the first AP and analyzes and determines that the BSS Color value carried by the PPDU is consistent with the BSS Color value of the first AP, judging that the current first AP detects BSS Color conflict.
And determining an AP set according to the BSS Color conflict, wherein the AP set comprises the first AP and other APs detected by the first AP and having the same BSS Color value as that of the first AP.
And acquiring the BSSID of the basic service set unique identifier of each AP in the AP set. In one embodiment, the BSSID of each AP may be resolved from the PPDU. The BSSID of the first AP itself may be acquired from its own storage unit. Through the foregoing method, BSSIDs of respective APs in the AP set can be obtained.
In S102, sorting is performed according to BSSIDs of the APs in the AP set, and a sorting position corresponding to the first AP is determined.
After the BSSID of each AP in the AP set is obtained, the APs are sequenced according to the sequence from large to small or from small to large according to the value of the BSSID of each AP, and therefore the sequencing position corresponding to the first AP is obtained.
In S103, if the sorting position corresponding to the first AP meets a first preset condition, the BSS Color value of the first AP is changed.
In this embodiment of the application, the first preset condition may be that the sorting position corresponding to the first AP is a non-designated bit position. The designated bit position may be a first position or a last position sorted according to the value of the BSSID, and correspondingly, the non-designated bit position is a non-first position or a non-last position. The designated bit position may be determined in advance by a preset rule.
In one embodiment, if the AP set includes N APs, when a BSS Color conflict occurs, the AP set only needs (N-1) APs to change the BSS Color value, so as to resolve the conflict; wherein N is a positive integer greater than or equal to 2. Therefore, in the rule preset in advance, a unique position can be designated as the designated bit position, one AP in the designated bit position does not need to change the BSS Color value, and the remaining (N-1) APs in the non-designated bit positions need to change the BSS Color value.
And when the sequencing position corresponding to the first AP is detected to be the designated bit position in the preset rule, maintaining the BSS Color value of the first AP unchanged. On the contrary, when it is detected that the sorting position corresponding to the first AP is the non-designated bit position, it is determined that the sorting position corresponding to the first AP meets the first preset condition, and the BSS Color value of the first AP is changed.
In the embodiment of the application, when a first AP detects a BSS Color conflict, a BSSID of a basic service set identifier of each AP in an AP set of the detected BSS Color conflict is obtained first, and sequencing is performed according to the BSSID of each AP in the AP set, so that a sequencing position corresponding to the first AP is determined. And when the sequencing position corresponding to the first AP is determined to meet the first preset condition, changing the BSS Color value of the first AP. The first AP can determine that the sequencing position of the first AP accords with a first preset condition according to the result obtained by sequencing each AP according to the BSSID in the AP set, and then changes the BSS Color value, so that the first AP can synthesize BSSID information in the AP set to realize coordination with other APs, redundant change or repeated change of the BSS Color is avoided, operation cost and communication cost are reduced, network throughput is improved, and change efficiency of the BSS Color value is improved.
Optionally, the first preset condition in step S103 is determined by current time information.
The unit of the time information in the embodiment of the present application may be day or time. For example, the time information may be indicative of the current day of the year or month, or may be indicative of the current hour of the day.
In the embodiment of the present application, the current first preset condition may be specifically determined according to the current time information. Specifically, the current designated position setting rule may be determined according to the current time information, and then the current first preset condition may be determined. In one embodiment, when the time information is odd, the designated bit position is set as a position corresponding to the maximum value of the BSSID, that is, the first bit position after descending sorting, or the last bit position after ascending sorting is set as the designated bit position; the first preset condition is that the first AP is a non-first position in descending order sorting or a non-last position after ascending order sorting, that is, the BSSID value of the first AP is a non-maximum value; and when the time information is even, the designated position is set as the position corresponding to the minimum value of the BSSID, and correspondingly, when the BSSID value of the first AP is not the minimum value, the corresponding sequencing position accords with a first preset condition. Or, conversely, when the time information is odd, the designated position is the position corresponding to the BSSID minimum value; when the time information is even, the designated position is a position corresponding to the maximum BSSID value.
In the embodiment of the application, the first preset condition can be determined by combining the current time information, so that the situation that an AP (for example, a first AP or a last AP) in a unique position does not change the BSS Color value for a long time and other APs need to frequently change the BSS Color value can be avoided, the fairness and the balance of basic service set management are improved, and the running stability of each AP is ensured.
Optionally, the determining a ranking position corresponding to the first AP according to the ranking according to BSSIDs of the APs in the AP set includes:
determining a mapping BSSID corresponding to each AP according to current time information and BSSIDs of the APs in the AP set;
and sequencing all the APs in the AP set according to the mapped BSSIDs corresponding to all the APs, and determining the sequencing position corresponding to the first AP.
In the embodiment of the application, in order to further balance the probability of each AP performing a BSS Color change operation, the BSSID is determined and mapped according to the current time information, and then the APs are sequenced.
Specifically, the mapped BSSID in the embodiment of the present application is a value obtained by adding a certain offset to a value of the BSSID based on the current time information. This mapped BSSID may be referred to as a TIME-based BSSID value (TB _ BSSID). In one embodiment, the BSSID is a value expressed by a length of 6 bytes, and the value of the mapped BSSID can be calculated by the following formula:
TB_BSSID=BSSID+TIME×[ID_offset 0 0 0 0 0]
in the above equation, TB _ BSSID is mapped BSSID, ID _ offset is a value of one byte length, the value is an offset for dynamically adjusting the TB _ BSSID value, and the size of the value can be determined according to actual needs; each "0" value of the above equation is also one byte in length. TIME may take the last bit of the current TIME value, or the last two bits, etc., and may be set according to the value of ID _ offset. For example, if the value of ID _ offset is 30, the TIME takes the last bit of the current TIME value, that is, the TIME value range is 0 to 9; and if the value of the ID _ offset is 0-9, taking the last two bits of the current TIME value by TIME. Specifically, the ranges of ID _ offset and TIME are satisfied by TIME x [ ID _ offset 00000 ]]The value range of the later step is close to 0-281, i.e. exceeding the maximum offset amount close to 255, substantially covers the region from the minimum value to the maximum value, so that BSSID is increased by TIME x [ ID _ offset 00000 ]]The resulting TB _ BSSID may have a different size ordering than the original BSSID due to data bit overflow (e.g., the original AP with the maximum BSSID in the AP set, plus TIME x ID _ offset 00000]The resulting value becomes the minimum value in the AP set).
After the mapped BSSID of each AP in the AP set is determined based on the time information, the APs are sequenced according to the mapped BSSID corresponding to the APs, and therefore the sequencing position corresponding to the first AP is determined.
In the embodiment of the application, because the mapped BSSIDs of the APs at the current time can be re-determined based on the time information and the BSSIDs of the APs, the APs are sequenced according to the mapped BSSIDs, and the sequencing positions of the APs at different times are different, the probability of the APs executing the BSS Color change operation can be further balanced, the fairness and the balance of basic service set management are improved, and the running stability of the APs is ensured.
Optionally, the changing the BSS Color value of the first AP includes:
when detecting that the second AP completes the change of the BSS Color value, changing the BSS Color value of the first AP; and the second AP is an AP of which the sequencing position in the AP set meets the first preset condition and is positioned before the sequencing position of the first AP.
In the embodiment of the application, after sequencing all the APs in the AP set according to the BSS BSSID values of all the APs, specifically, after sequencing the APs needing to change the BSS Color value in the AP set, the BSS Color value is sequentially changed according to the sequencing positions of the APs in the AP set. For the first AP, if the first AP meets the first preset condition and is the first AP in the sequence, the operation of changing the BSS Color value of the first AP is directly performed. If the first preset condition is met, but other APs exist before the first AP in the sequence, the first AP performs the operation of changing the BSS Color value of the first AP when detecting that the second AP has completed the change of the BSS Color value. And the second AP is an AP of which the sequencing position is positioned before the sequencing position of the first AP after the AP set is sequenced. In one embodiment, when a PPDU with a BSSID of the second AP being the BSSID value is received and it is detected that a BSS Color carried in the PPDU has changed, it is determined that the second AP has completed the change of the BSS Color.
In one embodiment, after detecting that the second AP has completed the BSS Color change, the first AP obtains the latest BSS Color values changed by the APs located before the first AP sorting position, and identifies the latest BSS Color values as the non-selectable BSS Color values. And then, selecting a BSS Color value from the BSS Color values which are not identified as non-selectable as a new BSS Color value to be changed by the current first AP, and executing corresponding change operation.
In the embodiment of the application, when the first AP determines that the first AP needs to change the BSS Color, the first AP further executes the BSS Color change of the first AP after waiting for the second AP located in front of the first AP to finish the BSS Color change on the basis of the sequencing of the BSSID values, so that the BSS Color change can be finished in sequence, and BSS Color conflict is avoided after the BSS Color is changed.
Optionally, the changing the BSS Color value of the first AP further includes:
and if the fact that the second AP completes the change of the BSS Color value is not detected within the preset time, directly changing the BSS Color value of the first AP.
In general, a first AP needs to wait until a second AP which is sequenced before the first AP and meets a first preset condition completes a BSS Color value change and then performs a BSS Color change operation, so as to avoid repeated changes of the BSS Color value. However, when the second AP does not complete the BSS Color change in time, if the AP fails, the first AP does not detect that the second AP completes the BSS Color value change within the preset waiting time, and then directly executes the BSS Color value change operation of the first AP, thereby ensuring that the BSS Color value of the first AP can be changed in time under abnormal conditions.
Optionally, the method further comprises:
if change indication information sent by the STA associated with the first AP is acquired, changing the BSS Color value of the first AP; and the change indication information is indication information sent by the STA after determining the sequencing position corresponding to the first AP according to the BSSID of each AP in the AP set with BSS Color conflict.
In the embodiment of the present application, in the OBSS, there may be some cases where BSS Color conflicts cannot be detected by the first AP. The STA that establishes a communication connection with the first AP may obtain, according to the BSSID value and the BSS Color value of the received PPDU, a BSS Color collision that cannot be detected by the first AP. If the BSS Color conflict exists and the first AP meets the first preset condition, the STA sends change indication information to the first AP. And the first AP executes the BSS Color changing operation after receiving the changing instruction information.
In the embodiment of the present application, the first AP can perform BSS Color change operation in time by receiving change instruction information sent by the STA, by using the associated STA, in addition to the determination of the first AP, when there is BSS Color conflict but the first AP cannot detect the BSS Color conflict.
Optionally, the changing the BSS Color value of the first AP includes:
and determining a new BSS Color value, and sending a change notification message to the STA associated with the first AP according to the new BSS Color value.
In the embodiment of the application, after determining that the sequencing position corresponding to the first AP accords with the first preset condition, the first AP determines a new BSS Color value which needs to be changed. Specifically, the first AP selects one BSS Color value from the selectable BSS Color values as the BSS Color value of the first AP. The optional BSS Color value is the remaining BSS Color value except for the selected BSS Color values of other APs ordered before the first AP.
After determining the new BSS Color value, a change notification message carrying the new BSS Color value may be generated according to the new BSS Color value. And then, the change notification message is sent to the STAs associated with the first AP, so that the STAs can timely know the BSS Color value change condition of the first AP, and subsequently can judge which PPDUs are from the data sent in the associated BSS according to the changed BSS Color value.
In one embodiment, the Change notification message is a frame carrying a Change notification element (BSS Color Change notification element), and may be, for example, a Beacon frame (Beacon), a Probe Response frame (Probe Response), an Association Response frame (Association Response), a ReAssociation Response frame (ReAssociation Response), or the like, which carries the Change notification element.
The format of the change notification element described above is as follows:
Figure BDA0003196796780000121
the change notification element, in turn, includes 6 fields, each of a length of one byte. The Element ID field is used for storing an identification number of the current change notification Element, and the Length field is used for storing a valid data bit of the change notification Element, specifically, the total Length of a field located after the Length field; the Element ID Extension field is identification number Extension information used for storing change notification elements; a Color Switch count down field for storing a Countdown time for BSS Color change completion, i.e., for indicating how many Target Beacon Transmission Times (TBTTs) the new BSS Color value will take effect since the frame carrying the change notification element is sent; a New BSS Color information field is used to store a New BSS Color value to be used.
In the change notification element, the color switch countdown field is 1 byte long, the transmission interval Beacon interval of each Beacon is two bytes long, and the transmission interval of the general Beacon is 100 in 1024 microseconds, then the color switch countdown field is set to the maximum value 255, which can indicate the maximum value of time: 255 x 100 x 1024 is about 26112000 microseconds, which is about 26 seconds, so the time unit of the current time information should not adopt minutes, but can adopt a value which is greatly different from 26 seconds such as days or time, and the like, and thus, the case that the change time of the BSS Color spans two time units is not basically involved, namely, the probability of rule change during the change of the BSS Color is low.
Example two:
fig. 2 shows a schematic flow chart of a basic service set management method provided in an embodiment of the present application, where an execution subject in the embodiment of the present application is an STA, and the basic service set management method shown in fig. 2 is detailed as follows:
in S201, if a BSS Color collision is detected, BSSIDs of APs in an AP set in which the BSS Color collision occurs are acquired.
In the embodiment of the application, the STA acquires a PPDU sent in the OBSS, and if the PPDU corresponding to different BSSID values carries the same BSS Color value in the PPDU sent in the OBSS, it is determined that a BSS Color conflict currently exists, and an AP corresponding to the part of BSSID values where the conflict exists is determined as an AP set.
For each AP in the AP set, the STA may determine the BSSID corresponding to each AP according to address information carried in a PPDU sent in the OBSS.
In S202, the APs are ranked according to BSSIDs of the APs in the AP set, and ranking positions of the APs are determined.
After the BSSID of each AP in the AP set is obtained, the APs are sequenced according to the sequence from large to small or from small to large according to the value of the BSSID of each AP, and therefore the sequencing position corresponding to each AP in the AP set is obtained.
In S203, change instruction information is sent to the AP whose ranking position meets a first preset condition and is associated with the STA.
The first preset condition in the embodiment of the present application is the same as the first preset condition in the previous embodiment. The STAs are capable of data communication with their associated APs. And after determining the sequencing position corresponding to each AP, sending change indication information to the APs which accord with the first preset condition (namely are located at the non-designated bit positions) and are associated with the STA, and indicating the APs to change the BSS Color in time.
Optionally, the method further comprises:
and receiving a change notification message sent by the AP.
The definition of the change notification message is consistent with that of the previous embodiment. After the change notification message sent by the AP is obtained, the data subsequently sent by the AP can be accurately identified according to the new BSS Color value carried in the change notification message, so as to implement accurate data communication with the AP.
In the embodiment of the application, because the STA is used as a device for communicating with the AP, BSS Color conflict detection can be performed, and when a conflict is detected, the STA performs sequencing according to BSSIDs of the APs in the AP set, determines the sequencing position of each AP, and sends change instruction information to the AP which meets the first preset condition and is associated with the STA, so that the AP is notified of the change of the BSS Color value in time, the relationship among the APs can be coordinated, the repeated change of the BSS Color is avoided, and the change efficiency of the BSS Color value is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example three:
fig. 3 is a schematic structural diagram illustrating a first basic service set management apparatus according to an embodiment of the present application, where the first basic service set management apparatus is applied to a first AP. For convenience of explanation, only the portions related to the embodiments of the present application are shown:
the first basic service set management device includes: a first detection unit 31, a first sequencing unit 32, and a changing unit 33. Wherein:
a first detecting unit 31, configured to, if a BSS Color conflict is detected, obtain BSSIDs of APs in an AP set corresponding to the BSS Color conflict; wherein the set of APs includes the first AP.
A first sorting unit 32, configured to sort according to BSSIDs of the APs in the AP set, and determine a sorting position corresponding to the first AP.
A changing unit 33, configured to change the BSS Color value of the first AP if the sorting position corresponding to the first AP meets a first preset condition.
Optionally, the first preset condition is determined by current time information.
Optionally, the first sequencing unit 32 is specifically configured to determine, according to the current time information and BSSIDs of the APs in the AP set, mapping BSSIDs corresponding to the APs; and sequencing each AP in the AP set according to the mapped BSSID corresponding to each AP, and determining a sequencing position corresponding to the first AP.
Optionally, in the changing unit, the changing the BSS Color value of the first AP includes: when detecting that the second AP completes the change of the BSS Color value, changing the BSS Color value of the first AP; and the second AP is an AP of which the sequencing position in the AP set meets the first preset condition and is positioned before the sequencing position of the first AP.
Optionally, the changing unit is further configured to directly change the BSS Color value of the first AP if it is not detected that the second AP completes the change of the BSS Color value within a preset time period.
Optionally, the first basic service set management apparatus further includes:
a change instruction information obtaining unit, configured to change a BSS Color value of the first AP if the change instruction information sent by the STA associated with the first AP is obtained; and the change indication information is indication information sent by the STA after determining the sequencing position corresponding to the first AP according to the BSSID of each AP in the AP set with BSS Color conflict.
Optionally, the changing unit 33 is specifically configured to determine a new BSS Color value, and send a change notification message to the STA associated with the first AP according to the new BSS Color value.
Fig. 4 is a schematic structural diagram illustrating a second basic service set management apparatus according to an embodiment of the present application, where the second basic service set management apparatus is applied to an STA. For convenience of explanation, only the portions related to the embodiments of the present application are shown:
the second basic service set management apparatus includes: a second detecting unit 41, a second sorting unit 42, and a change instruction information transmitting unit 43. Wherein:
a second detecting unit 41, configured to, if a BSS Color conflict is detected, obtain BSSIDs of APs in the AP set in which the BSS Color conflicts.
A second sorting unit 42, configured to sort according to the BSSID of each AP in the AP set, and determine a sorting position of each AP.
A change instruction information transmitting unit 43, configured to transmit change instruction information to the AP whose ranking position meets the first preset condition and is associated with the STA.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Example four:
fig. 5 is a schematic diagram of a communication device according to an embodiment of the present application. As shown in fig. 5, the communication device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52, such as a basic service set manager, stored in said memory 51 and operable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-described respective basic service set management method embodiments, such as steps S101 to S103 shown in fig. 1 or steps S201 to S203 shown in fig. 2. Alternatively, the processor 50 executes the computer program 52 to realize the functions of the modules/units in the device embodiments, for example, the functions of the first detecting unit 31 to the changing unit 33 shown in fig. 3, or the functions of the second detecting unit to the change instruction information transmitting unit 43 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the communication device 5.
The communication device 5 may be an access point device, a site device, a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The communication device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a communication device 5 and does not constitute a limitation of the communication device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the communication device may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the communication device 5, such as a hard disk or a memory of the communication device 5. The memory 51 may also be an external storage device of the communication device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the communication device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the communication device 5. The memory 51 is used for storing the computer program and other programs and data required by the communication device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/communication device and method may be implemented in other ways. For example, the above-described apparatus/communication device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for managing a basic service set, the method being applied to a first AP, comprising:
if BSS Color conflict is detected, acquiring BSSIDs of all APs in an AP set corresponding to the BSS Color conflict; wherein the set of APs includes the first AP;
sequencing according to BSSID of each AP in the AP set, and determining a sequencing position corresponding to the first AP;
and if the sequencing position corresponding to the first AP meets a first preset condition, changing the BSS Color value of the first AP.
2. The basic service set management method of claim 1, wherein the first preset condition is determined by current time information.
3. The method for basic service set management according to claim 1, wherein the determining the ranking position corresponding to the first AP according to the BSSID of each AP in the AP set comprises:
determining a mapping BSSID corresponding to each AP according to current time information and BSSIDs of the APs in the AP set;
and sequencing each AP in the AP set according to the mapped BSSID corresponding to each AP, and determining a sequencing position corresponding to the first AP.
4. The basic service set management method of claim 1, wherein the altering the BSS Color value of the first AP comprises:
when detecting that the second AP completes the change of the BSS Color value, changing the BSS Color value of the first AP; and the second AP is an AP of which the sequencing position in the AP set meets the first preset condition and is positioned before the sequencing position of the first AP.
5. The basic service set management method of claim 4, wherein the altering the BSS Color value of the first AP further comprises:
and if the fact that the second AP completes the change of the BSS Color value is not detected within the preset time, directly changing the BSS Color value of the first AP.
6. The basic service set management method of claim 1, wherein the method further comprises:
if change indication information sent by the STA associated with the first AP is acquired, changing the BSS Color value of the first AP; and the change indication information is indication information sent by the STA after determining the sequencing position corresponding to the first AP according to the BSSID of each AP in the AP set with BSS Color conflict.
7. The basic service set management method according to any one of claims 1 to 6, wherein the changing the BSS Color value of the first AP comprises:
and determining a new BSS Color value, and sending a change notification message to the STA associated with the first AP according to the new BSS Color value.
8. A basic service set management method applied to an STA (station), comprising:
if BSS Color conflict is detected, acquiring BSSID of each AP in the AP set with the BSS Color conflict;
sequencing according to BSSID of each AP in the AP set, and determining sequencing position of each AP;
and sending change indication information to the AP of which the sequencing position meets a first preset condition and is associated with the STA.
9. A communication device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the computer program, when executed by the processor, causes the communication device to carry out the steps of the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes a communication device to carry out the steps of the method according to any one of claims 1 to 8.
CN202110893220.1A 2021-08-04 2021-08-04 Basic service set management method, communication device, and storage medium Active CN113395700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110893220.1A CN113395700B (en) 2021-08-04 2021-08-04 Basic service set management method, communication device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110893220.1A CN113395700B (en) 2021-08-04 2021-08-04 Basic service set management method, communication device, and storage medium

Publications (2)

Publication Number Publication Date
CN113395700A true CN113395700A (en) 2021-09-14
CN113395700B CN113395700B (en) 2023-02-14

Family

ID=77622434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110893220.1A Active CN113395700B (en) 2021-08-04 2021-08-04 Basic service set management method, communication device, and storage medium

Country Status (1)

Country Link
CN (1) CN113395700B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160345258A1 (en) * 2015-05-22 2016-11-24 Qualcomm Incorporated Detection and resolution of a reduced version basic service set identifier collision
CN110831242A (en) * 2019-11-13 2020-02-21 普联技术有限公司 Method and device for changing basic service set Color BSS Color value
CN110933689A (en) * 2019-11-20 2020-03-27 普联技术有限公司 Method and device for determining BSS Color value, terminal equipment and storage medium
CN111510936A (en) * 2016-01-29 2020-08-07 华为技术有限公司 Method for processing information, first access point and first station
CN112203327A (en) * 2020-09-22 2021-01-08 普联国际有限公司 BSS Color value generation method, device, medium and equipment based on communication equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160345258A1 (en) * 2015-05-22 2016-11-24 Qualcomm Incorporated Detection and resolution of a reduced version basic service set identifier collision
CN107624257A (en) * 2015-05-22 2018-01-23 高通股份有限公司 The detection and solution of compact version BSSID conflict
CN111510936A (en) * 2016-01-29 2020-08-07 华为技术有限公司 Method for processing information, first access point and first station
CN110831242A (en) * 2019-11-13 2020-02-21 普联技术有限公司 Method and device for changing basic service set Color BSS Color value
CN110933689A (en) * 2019-11-20 2020-03-27 普联技术有限公司 Method and device for determining BSS Color value, terminal equipment and storage medium
CN112203327A (en) * 2020-09-22 2021-01-08 普联国际有限公司 BSS Color value generation method, device, medium and equipment based on communication equipment

Also Published As

Publication number Publication date
CN113395700B (en) 2023-02-14

Similar Documents

Publication Publication Date Title
EP4002115A1 (en) Resource allocation method and resource offloading method
CN110868729B (en) Method and device for determining basic service set Color BSS Color value
US8059563B2 (en) Assigning slots in a mesh network
EP3376809A1 (en) Control information format processing method, base station and user equipment
CN110831242B (en) Method and device for changing basic service set Color BSS Color value
CN110933689B (en) Method, device, terminal equipment and storage medium for determining BSS Color value
CN111163018A (en) Network equipment and method for reducing transmission delay thereof
CN112953774A (en) Network topology generation method, system, equipment and computer storage medium
JP7375209B2 (en) Multilink communication methods, devices, and systems
US20220191923A1 (en) Method for Uplink Orthogonal Frequency Division Multiple Random Access and Apparatus
CN113395700B (en) Basic service set management method, communication device, and storage medium
CN104363581A (en) Determination method of associated terminal and related device
CN108234687B (en) Intelligent IP address configuration method and device and terminal equipment
US20230269807A1 (en) Multi-link communication probe request method and apparatus
CN112165420A (en) Message processing method, message processing device, robot system and CAN (controller area network) equipment
CN111736761A (en) Data distribution method, device, storage system and computer readable storage medium
CN114125936B (en) Resource scheduling method, device and storage medium
CN112771937A (en) Power backoff method, terminal equipment and storage medium
US20220330305A1 (en) Transmission resource adjustment method and device
CN107547208B (en) Energy saving method and device
CN111918317A (en) AP control method, device, wireless controller and storage medium
CN112488141A (en) Method and device for determining application range of Internet of things card and computer readable storage medium
CN114071546B (en) Data transmission method and device and electronic equipment
CN117221997A (en) Distributed heterogeneous wireless network regulation and control method, device, system, terminal and medium
CN115941460A (en) Dynamic allocation method of internet of things gateway, communication system and electronic equipment

Legal Events

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