CN110831242B - Method and device for changing basic service set Color BSS Color value - Google Patents

Method and device for changing basic service set Color BSS Color value Download PDF

Info

Publication number
CN110831242B
CN110831242B CN201911106350.5A CN201911106350A CN110831242B CN 110831242 B CN110831242 B CN 110831242B CN 201911106350 A CN201911106350 A CN 201911106350A CN 110831242 B CN110831242 B CN 110831242B
Authority
CN
China
Prior art keywords
access point
preset
bss color
conflict
color value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911106350.5A
Other languages
Chinese (zh)
Other versions
CN110831242A (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.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201911106350.5A priority Critical patent/CN110831242B/en
Publication of CN110831242A publication Critical patent/CN110831242A/en
Application granted granted Critical
Publication of CN110831242B publication Critical patent/CN110831242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • H04W74/0841Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment
    • H04W74/085Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access, e.g. scheduled or random access
    • H04W74/08Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access]
    • H04W74/0833Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure
    • H04W74/0841Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment
    • H04W74/0858Non-scheduled or contention based access, e.g. random access, ALOHA, CSMA [Carrier Sense Multiple Access] using a random access procedure with collision treatment collision detection

Abstract

The application is suitable for the technical field of communication, and provides a method for changing the Color value of a Basic Service Set (BSS), which comprises the following steps: when detecting that the BSS Color conflict occurs at present, acquiring a current BSS Color value of the access point; when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict. According to the method, at the end time corresponding to the preset first conflict detection time, when it is detected that the BSS Color conflict is not eliminated, the current BSS Color value is changed, a backoff mechanism is added into the BSS Color change mechanism, the situation that a plurality of APs which conflict with each other change the BSS Color value at the same time is avoided, and the resource waste situation is avoided.

Description

Method and device for changing basic service set Color BSS Color value
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for changing a basic service set Color (BSS) Color value.
Background
In the IEEE 802.11AX protocol proposed by the Institute of Electrical and Electronics Engineers (IEEE) 802.11 established technical research group, it is mainly studied how to improve the existing Wi-Fi technology. The characteristic of Spatial Reuse (SR) is proposed in 802.11AX, in which Basic Service Set (BSS) Color (Color) is mentioned. The BSS color belongs to an identifier of a BSS, and is used to assist a Station (STA) to identify a source of a received High efficiency Physical layer convergence protocol data unit (HE PPDU), that is, from a local BSS or from an Overlapping Basic Service Set (OBSS), that is, a neighboring BSS. By checking the value of the BSS Color, the station can determine whether the received frame is from a station matching itself. However, the collision situation is not considered when the BSS Color is initially selected, and in a place with dense Access Points (APs), BSS Color repetition occurs, and at this time, BSS Color collision occurs, and after the BSS Color collision occurs, the Access Point needs to change the BSS Color value to solve the collision. However, there is no clear scheme for which access point to change the BSS Color value, and when BSS Color collision occurs, a plurality of access points may change the BSS Color value at the same time, which results in resource waste.
Disclosure of Invention
The embodiment of the application provides a method and a device for changing a basic service set Color (BSS) Color value, which can solve the problem of resource waste caused by the fact that a plurality of access points change the BSS Color value simultaneously when BSS Color conflicts occur.
In a first aspect, an embodiment of the present application provides a method for changing a Color value of a basic service set, BSS, including:
when detecting that the BSS Color conflict occurs at present, acquiring a current BSS Color value of the first access point;
when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
Further, when detecting that the BSS Color conflict is not eliminated at the end time corresponding to the preset first conflict detection duration, changing the current BSS Color value includes:
determining a preset first conflict detection time length based on a preset strategy;
setting a conflict detection timer based on the first conflict detection duration, and starting the conflict detection timer;
changing the current BSS Color value when the collision detection timer counts down to 0 and it is detected that the BSS Color collision is not eliminated.
Further, the determining a preset first collision detection duration based on a preset policy includes:
selecting an element from a preset conflict detection time length set as a preset first conflict detection time length; wherein an element of the set of preset collision detection durations is determined by a number of stations associated with the first access point.
Further, when the number of stations associated with the first access point is smaller than the number of stations associated with the second access point, the first collision detection duration is smaller than the second collision detection duration.
Further, when the number of stations associated with the first access point is greater than the number of stations associated with the second access point, the first collision detection duration is greater than the second collision detection duration.
Further, before said selecting an element from the preset set of collision detection durations as the preset first collision detection duration, the method further includes:
acquiring the number of stations associated with the first access point;
determining a preset conflict detection duration set based on a preset fixed coefficient and the number; and the maximum value of the elements in the collision detection time length set is the product of the preset fixed coefficient and the number.
Further, after the obtaining of the current BSS Color value of the access point when detecting that the BSS Color collision currently occurs, the method further includes:
and when detecting that the BSS Color conflict is eliminated at the end time corresponding to the preset first conflict detection time, keeping the current BSS Color value unchanged.
In a second aspect, an embodiment of the present application provides an access point, including:
the acquiring unit is used for acquiring the current BSS Color value of the first access point when the BSS Color conflict is detected to occur currently;
a first processing unit, configured to change the current BSS Color value when detecting that the BSS Color conflict is not eliminated at an end time corresponding to a preset first conflict detection duration; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
Further, the first processing unit includes:
the determining unit is used for determining a preset first conflict detection time length based on a preset strategy;
the second processing unit is used for setting a conflict detection timer based on the first conflict detection duration and starting the conflict detection timer;
and the third processing unit is used for changing the current BSS Color value when the conflict detection timer counts down to 0 and detects that the BSS Color conflict is not eliminated.
Further, the determining unit is specifically configured to:
selecting an element from a preset conflict detection time length set as a preset first conflict detection time length; wherein an element of the set of preset collision detection durations is determined by a number of stations associated with the first access point.
Further, when the number of stations associated with the first access point is smaller than the number of stations associated with the second access point, the first collision detection duration is smaller than the second collision detection duration.
Further, when the number of stations associated with the first access point is greater than the number of stations associated with the second access point, the first collision detection duration is greater than the second collision detection duration.
Further, the first processing unit is further configured to:
acquiring the number of stations associated with the first access point;
determining a preset conflict detection duration set based on a preset fixed coefficient and the number; and the maximum value of the elements in the collision detection time length set is the product of the preset fixed coefficient and the number.
Further, the access point further includes:
and the fourth processing unit is used for keeping the current BSS Color value unchanged when the BSS Color conflict is detected to be eliminated at the end time corresponding to the preset first conflict detection duration.
In a third aspect, an embodiment of the present application provides an access point, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the method for changing a basic service set Color, BSS Color value according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method for changing the basic service set Color BSS Color value according to the first aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the method for changing the Color value of the basic service set, BSS, as described in the first aspect above.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
In the embodiment of the application, when the BSS Color conflict is detected to occur currently, the current BSS Color value of the access point is obtained; when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict. According to the method, at the end time corresponding to the preset first conflict detection time, when it is detected that the BSS Color conflict is not eliminated, the current BSS Color value is changed, a backoff mechanism is added into the BSS Color change mechanism, the situation that a plurality of APs which conflict with each other change the BSS Color value at the same time is avoided, and the resource waste situation is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for changing a Color value of a basic service set BSS according to a first embodiment of the present application;
fig. 2 is a schematic flow chart of another method for changing the Color value of the basic service set BSS according to the second embodiment of the present application;
fig. 3 is a diagram of an example of BSS Color collision occurring between two access points according to a second embodiment of the present application;
fig. 4 is an exemplary diagram of starting a collision detection timer after BSS Color collision occurs between two access points according to a second embodiment of the present application;
fig. 5 is a schematic flow chart of another method for changing the Color value of the basic service set BSS according to the third embodiment of the present application;
fig. 6 is a schematic flow chart of another method for changing the Color value of the basic service set BSS according to the fourth embodiment of the present application;
fig. 7 is a schematic diagram of an access point provided in a fifth embodiment of the present application;
fig. 8 is a schematic diagram of an access point according to a sixth 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.
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 should also be 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" determining "or" in response to detecting ". 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 ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for changing a Color value of a basic service set BSS according to a first embodiment of the present application. The main execution body of the method for changing the Color value of the basic service set BSS in this embodiment is an access point, which is hereinafter referred to as a first access point. The method of changing the basic service set Color BSS Color value as shown in fig. 1 may include:
s101: and when detecting that the BSS Color conflict occurs currently, acquiring the current BSS Color value of the first access point.
The Spatial Reuse (SR) feature is proposed in the 802.11AX protocol, where the basic service set BSS Color (Color) is mentioned. The BSS color belongs to an identifier of a BSS, and is used to assist a Station (STA) to identify a source of a received High efficiency Physical layer convergence protocol data unit (HE PPDU), that is, from a local BSS or from an Overlapping Basic Service Set (OBSS), that is, a neighboring BSS. By detecting the value of BSS Color, the STA can determine whether the received frame is from a matching STA. The embodiment of the invention can be applied to a Wireless Local Area Network (WLAN), the WLAN can comprise a plurality of BSSs, the Network node in the BSS is an STA, and the STA comprises an Access Point (AP) Station and a non-AP (non-AP STA) Station. Each BSS may contain an AP and a plurality of non-AP STAs associated with the AP. An AP is also referred to as a wireless access point or hotspot, etc. The AP is an access point for a mobile subscriber to enter a wired network, and is mainly deployed in a home, a building, and a campus, and typically has a coverage radius of several tens of meters to hundreds of meters, and may be deployed outdoors. The AP acts as a bridge connecting the network and the wireless network, and mainly functions to connect the wireless network clients together and then to access the wireless network to the ethernet. In particular, the AP may be a terminal device or a network device with a wireless fidelity chip. The STA may be a wireless communication chip, a wireless sensor, or a wireless communication terminal. For example: the mobile phone supporting the WiFi communication function, the tablet computer supporting the WiFi communication function, the set top box supporting the WiFi communication function, the smart television supporting the WiFi communication function, the smart wearable device supporting the WiFi communication function, the vehicle-mounted communication device supporting the WiFi communication function and the computer supporting the WiFi communication function.
And the first access point detects whether BSS Color conflict occurs in real time, wherein the first access point can be any access point associated with the station. The BSS Color conflict means that the BSS Color values of two or more stations are the same, and subsequent identification and differentiation cannot be performed. The BSS Color collision detection method may determine whether a collision occurs by obtaining a BSS Color value of the current other station, and may determine whether a collision occurs by receiving a collision report sent by the other station, which is not limited herein. When detecting that the BSS Color conflict occurs currently, the first access point acquires the current BSS Color value of the first access point.
S102: when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
In this embodiment, each access point is preset with a collision detection duration, a first access point is preset with a first collision detection duration, and a second access point where a BSS Color collision occurs with the first access point is preset with a second collision detection duration, where the first collision detection duration and the second collision detection duration are not equal to each other. The first access point acquires a preset first collision detection time corresponding to the first access point, and the first access point does not adjust the BSS Color value within the preset first collision detection time. Within a preset first conflict detection duration, the first access point can detect whether the BSS Color conflict is eliminated in real time; the first access point may also detect whether the BSS Color collision is eliminated when the current time reaches the time when the preset first collision detection duration ends. And at the end time corresponding to the preset first conflict detection time, when the first access point detects that the BSS Color conflict is not eliminated, changing the current BSS Color value of the first access point. The purpose of changing the current BSS Color value is to enable the current BSS Color value of the first access point and the current BSS Color value of the second access point to be different, and therefore current BSS Color conflict is solved. The method for changing the current BSS Color value of the first access point is not limited herein.
Further, when the collision is resolved, in order to save resources, after S101, another case parallel to S102 may be included: and when detecting that the BSS Color conflict is eliminated at the end time corresponding to the preset first conflict detection time, keeping the current BSS Color value unchanged. At this time, the BSS Color conflict is eliminated, which indicates that the second access point which has collided with the first access point has changed the BSS Color value, so that the first access point does not need to change the current BSS Color value in order to save resources.
In the embodiment of the application, when the BSS Color conflict is detected to occur currently, the current BSS Color value of the access point is obtained; when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict. According to the method, at the end time corresponding to the preset first conflict detection time, when it is detected that the BSS Color conflict is not eliminated, the current BSS Color value is changed, a backoff mechanism is added into the BSS Color change mechanism, the situation that a plurality of APs which conflict with each other change the BSS Color at the same time is avoided, and the resource waste situation is avoided.
Referring to fig. 2, fig. 2 is a schematic flow chart of another method for changing a Color value of a basic service set BSS according to a second embodiment of the present application. The main execution body of the method for changing the Color value of the basic service set BSS in this embodiment is an access point, which is hereinafter referred to as a first access point. In order to accurately obtain the preset first collision detection time length, thereby determining the change time of the BSS Color value and avoiding that multiple APs having a collision change the BSS Color value at the same time, the difference between the present embodiment and the first embodiment is S202 to S204, where S202 to S204 in the present embodiment are further refinements of S102 in the first embodiment. S201 in the present embodiment is the same as S101 in the first embodiment. As shown in fig. 2, S202 to S204 are specifically as follows:
s202: and determining a preset first conflict detection time length based on a preset strategy.
The method comprises the steps that a preset strategy is stored in a first access point in advance, and the preset strategy is used for the first access point to determine a preset first collision detection duration. The first access point determines a preset first collision detection time length based on a preset strategy. For example, the preset policy may be to select a first collision detection duration from a plurality of preset collision detection durations according to the number of stations associated with the first access point.
S203: and setting a conflict detection timer based on the first conflict detection duration, and starting the conflict detection timer.
The first access point sets a conflict detection timer based on the first conflict detection duration, wherein the conflict detection timer is used for counting down, the first access point starts the conflict detection timer, and when the conflict detection timer counts down to 0, whether the BSS Color conflict exists at present is detected. For example, when the first collision detection duration is 8 microseconds, the first access point generates an 8-microsecond collision detection timer based on the first collision detection duration, starts the 8-microsecond collision detection timer, and counts down to 8 microseconds.
S204: changing the current BSS Color value when the collision detection timer counts down to 0 and it is detected that the BSS Color collision is not eliminated.
When the collision detection timer counts down to 0 and the first access point detects that the BSS Color collision is not resolved, the current BSS Color value is changed. The method for changing the current BSS Color value of the first access point is not limited herein.
For example, as shown in fig. 3, fig. 3 is an exemplary diagram of BSS Color collision occurring between two APs, AP1 is a first access point, AP2 is a second access point that has BSS Color collision with the first access point, AP2 is associated with (STA1, STA3, STA4, STA5, STA6, STA7) for 6 STAs, AP1 is associated with (STA2, STA8, STA9) for 3 STAs, where both STA1 and STA2 are in an AP1/AP2 signal overlapping region, so STA1 and STA2 respectively transmit BSS Color collision reports to AP2 and AP 1.
After the AP1 receives the collision report from STA2, as shown in fig. 4, BSS Color values of AP2 and AP1 are the same, e.g., both are 6. The conflict detection timer corresponding to the second access point is 8 microseconds, the conflict detection timer corresponding to the first access point is 5 microseconds, and when the conflict detection timer corresponding to the first access point is inverted to 0 after 5 microseconds, the BSS Color conflict between the first access point and the second access point is still not eliminated, so that the BSS Color value of the first access point AP1 is changed at the moment. And when the conflict detection timer in the second access point counts down to 0 after 8 microseconds, the first access point changes the BSS Color value, so that the BSS Color conflict cannot be detected and the BSS Color value cannot be changed.
Referring to fig. 5, fig. 5 is a schematic flow chart of another method for changing a Color value of a basic service set BSS according to a third embodiment of the present application. The main execution body of the method for changing the Color value of the basic service set BSS in this embodiment is an access point, which is hereinafter referred to as a first access point. In order to accurately obtain the preset first collision detection time length, thereby accurately determining the change timing of the BSS Color value, and avoiding that multiple APs having a collision change the BSS Color value at the same time, the difference between the present embodiment and the second embodiment is S302, where S301 in the present embodiment is the same as S201 in the second embodiment, S303 to S304 in the present embodiment are the same as S203 to S204 in the second embodiment, and S302 in the present embodiment is a further refinement of S202 in the second embodiment. As shown in fig. 5, S302 is specifically as follows:
s302: selecting an element from a preset conflict detection time length set as a preset first conflict detection time length; wherein an element of the set of preset collision detection durations is determined by a number of stations associated with the first access point.
The method comprises the steps that a conflict detection time length set is preset in a first access point, wherein elements in the preset conflict detection time length set are used for identifying preset conflict detection time lengths, and the access point can select one element from the elements in the preset conflict detection time length set as a conflict detection time length corresponding to the access point. The elements in the set of preset collision detection durations are determined by the number of stations associated with the first access point. The first access point selects an optional element from a preset collision detection time length set as a preset first collision detection time length. For example, the set of preset collision detection durations is (0, 9), and one element, for example, 8, may be randomly selected from the set as the preset first collision detection duration.
Further, since the collision detection duration is selected to be generally positively correlated with the number of associated stations, that is, between the N conflicting access points, the access point with the smaller number of connected stations has a higher probability of changing the BSS Color. For example, there may be a case where the first collision detection duration is less than the second collision detection duration when the number of stations associated with the first access point is less than the number of stations associated with the second access point; there is another case where the first collision detection duration is greater than the second collision detection duration when the number of stations associated with the first access point is greater than the number of stations associated with the second access point.
Referring to fig. 6, fig. 6 is a schematic flowchart of another method for changing a Color value of a basic service set BSS according to a fourth embodiment of the present application. The main execution body of the method for changing the Color value of the basic service set BSS in this embodiment is an access point, which is hereinafter referred to as a first access point. In order to obtain an accurate preset collision detection time length set, thereby accurately determining a change timing of a BSS Color value, and avoiding that multiple APs having a collision change the BSS Color value at the same time, the difference between the present embodiment and the third embodiment is S402 to S403, where S401 in the present embodiment is the same as S301 in the third embodiment, S404 to S406 in the present embodiment is the same as S302 to S304 in the third embodiment, and S402 to S403 are executed before S404. As shown in fig. 6, S402 to S403 are specifically as follows:
s402: obtaining a number of stations associated with the first access point.
The first ap obtains the number of stations associated with the first ap, for example, if the first ap associates (STA1, STA3, STA4, STA5, STA6, STA7) with 6 stations, the number of stations associated with the first ap is 6, and if the first ap associates (STA2, STA8, STA9) with 3 stations, the number of stations associated with the first ap is 3.
S403: determining a preset conflict detection duration set based on a preset fixed coefficient and the number; and the maximum value of the elements in the collision detection time length set is the product of the preset fixed coefficient and the number.
The first access point determines a preset collision detection duration set based on a preset fixed coefficient and the number of stations associated with the first access point, where elements in the collision detection duration set are used to identify the preset collision detection duration, where a maximum value of the elements in the collision detection duration set is a product of the preset fixed coefficient and the number, for example, the preset fixed coefficient is set to k, the value of k may be any value greater than 0, for example, k is 2, the value of k may also be dynamically set, and it is not limited herein, the function of the value of k is mainly to determine a maximum value of the elements in the preset collision detection duration set, and if the number of stations associated with the first access point is N, the maximum value of the elements in the preset collision detection duration set may be k × N, or [ k × N ], [ k × N ] represents a value of a positive integer not greater than k × N, assuming that k is 2 and N is 6, the maximum value of the elements in the preset collision detection time period set is 2 × 6 to 12, and the generated collision detection time period set is (0, 12).
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.
Referring to fig. 7, fig. 7 is a schematic diagram of an access point according to a fifth embodiment of the present application. The units are included for executing the steps in the embodiments corresponding to fig. 1-2 and 5-6. Please refer to fig. 1-2 and fig. 5-6 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 7, the access point 7 includes:
an obtaining unit 710, configured to obtain a current BSS Color value of the first access point when detecting that a BSS Color conflict currently occurs;
a first processing unit 720, configured to change the current BSS Color value when detecting that the BSS Color conflict is not eliminated at an end time corresponding to a preset first conflict detection duration; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
Further, the first processing unit 720 includes:
the determining unit is used for determining a preset first conflict detection time length based on a preset strategy;
the second processing unit is used for setting a conflict detection timer based on the first conflict detection duration and starting the conflict detection timer;
and the third processing unit is used for changing the current BSS Color value when the conflict detection timer counts down to 0 and detects that the BSS Color conflict is not eliminated.
Further, the determining unit is specifically configured to:
selecting an element from a preset conflict detection time length set as a preset first conflict detection time length; wherein an element of the set of preset collision detection durations is determined by a number of stations associated with the first access point.
Further, when the number of stations associated with the first access point is smaller than the number of stations associated with the second access point, the first collision detection duration is smaller than the second collision detection duration.
Further, when the number of stations associated with the first access point is greater than the number of stations associated with the second access point, the first collision detection duration is greater than the second collision detection duration.
Further, the first processing unit 720 is further configured to:
acquiring the number of stations associated with the first access point;
determining a preset conflict detection duration set based on a preset fixed coefficient and the number; and the maximum value of the elements in the collision detection time length set is the product of the preset fixed coefficient and the number.
Further, the access point 7 further includes:
and the fourth processing unit is used for keeping the current BSS Color value unchanged when the BSS Color conflict is detected to be eliminated at the end time corresponding to the preset first conflict detection duration.
Fig. 8 is a schematic diagram of an access point according to a sixth embodiment of the present application. As shown in fig. 8, the access point 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82 stored in said memory 81 and executable on said processor 80, such as a program for changing a basic service set Color, BSS, Color value. The processor 80, when executing the computer program 82, implements the steps in the above-described embodiments of the method for changing the BSS Color value, such as the steps 101 to 102 shown in fig. 1. Alternatively, the processor 80, when executing the computer program 82, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 710 to 720 shown in fig. 7.
Illustratively, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 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 82 in the access point 8. For example, the computer program 82 may be divided into an acquisition unit and a first processing unit, and the specific functions of each unit are as follows:
the acquiring unit is used for acquiring the current BSS Color value of the first access point when the BSS Color conflict is detected to occur currently;
a first processing unit, configured to change the current BSS Color value when detecting that the BSS Color conflict is not eliminated at an end time corresponding to a preset first conflict detection duration; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
The access point may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of an access point 8 and does not constitute a limitation of the access point 8 and may include more or less components than illustrated, or combine certain components, or different components, e.g., the access point may also include input-output devices, network access devices, buses, etc.
The Processor 80 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 device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the access point 8, such as a hard disk or a memory of the access point 8. The memory 81 may also be an external storage device of the access point 8, 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 access point 8. Further, the memory 81 may also include both an internal storage unit of the access point 8 and an external storage device. The memory 81 is used for storing the computer programs and other programs and data required by the access point device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
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.
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.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement 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 at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
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/network device and method may be implemented in other ways. For example, the above-described apparatus/network 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 implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. 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.
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 of changing a basic service set Color, BSS, Color value, the method being applied to a first access point, the method comprising:
when detecting that the BSS Color conflict occurs at present, acquiring a current BSS Color value of the first access point;
determining a preset first conflict detection time length based on a preset strategy; wherein the preset strategy comprises: selecting a first collision detection time length from a plurality of preset collision detection time lengths according to the number of stations associated with the first access point;
when detecting that the BSS Color conflict is not eliminated at the end time corresponding to a preset first conflict detection time, changing the current BSS Color value; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
2. The method of claim 1, wherein the changing the current BSS Color value when detecting that the BSS Color collision is not eliminated at an ending time corresponding to a preset first collision detection duration comprises:
setting a conflict detection timer based on the first conflict detection duration, and starting the conflict detection timer;
changing the current BSS Color value when the collision detection timer counts down to 0 and it is detected that the BSS Color collision is not eliminated.
3. The method of claim 2, wherein said determining a preset first collision detection duration based on a preset policy comprises:
selecting an element from a preset conflict detection time length set as a preset first conflict detection time length; wherein an element of the set of preset collision detection durations is determined by a number of stations associated with the first access point.
4. The method of changing a basic service set Color, BSS, Color value of any one of claims 1 to 3, wherein the first collision detection duration is less than the second collision detection duration when the number of stations associated with the first access point is less than the number of stations associated with the second access point.
5. The method of changing a basic service set Color, BSS, Color value of any one of claims 1 to 3, wherein the first collision detection duration is greater than the second collision detection duration when the number of stations associated with the first access point is greater than the number of stations associated with the second access point.
6. The method of changing BSS Color value of claim 3 wherein prior to said selecting an element from a set of preset collision detection durations as the preset first collision detection duration, further comprising:
acquiring the number of stations associated with the first access point;
determining a preset conflict detection duration set based on a preset fixed coefficient and the number; and the maximum value of the elements in the collision detection time length set is the product of the preset fixed coefficient and the number.
7. The method of changing BSS Color value of claim 1 wherein after said obtaining the current BSS Color value of the access point when a BSS Color collision is detected to currently occur, further comprising:
and when detecting that the BSS Color conflict is eliminated at the end time corresponding to the preset first conflict detection time, keeping the current BSS Color value unchanged.
8. An access point, comprising:
the acquiring unit is used for acquiring the current BSS Color value of the first access point when the BSS Color conflict is detected to occur currently;
the determining unit is used for determining a preset first conflict detection time length based on a preset strategy; wherein the preset strategy comprises: selecting a first collision detection time length from a plurality of preset collision detection time lengths according to the number of stations associated with the first access point;
a first processing unit, configured to change the current BSS Color value when detecting that the BSS Color conflict is not eliminated at an end time corresponding to a preset first conflict detection duration; and the first conflict detection time length is not equal to a second conflict detection time length corresponding to a second access point, and the second access point is an access point with the first access point and having a BSS Color conflict.
9. An access point comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN201911106350.5A 2019-11-13 2019-11-13 Method and device for changing basic service set Color BSS Color value Active CN110831242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911106350.5A CN110831242B (en) 2019-11-13 2019-11-13 Method and device for changing basic service set Color BSS Color value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911106350.5A CN110831242B (en) 2019-11-13 2019-11-13 Method and device for changing basic service set Color BSS Color value

Publications (2)

Publication Number Publication Date
CN110831242A CN110831242A (en) 2020-02-21
CN110831242B true CN110831242B (en) 2021-08-20

Family

ID=69554817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911106350.5A Active CN110831242B (en) 2019-11-13 2019-11-13 Method and device for changing basic service set Color BSS Color value

Country Status (1)

Country Link
CN (1) CN110831242B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112203327A (en) * 2020-09-22 2021-01-08 普联国际有限公司 BSS Color value generation method, device, medium and equipment based on communication equipment
CN113395700B (en) * 2021-08-04 2023-02-14 深圳市美科星通信技术有限公司 Basic service set management method, communication device, and storage medium
CN114374995B (en) * 2021-12-14 2023-10-17 深圳市联平半导体有限公司 Method, station, wireless access point and system for processing BSS Color conflict

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027133A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of method of processing information, the first access point and the first website
WO2018075226A1 (en) * 2016-10-19 2018-04-26 Qualcomm Incorporated Procedure for dynamically changing operating parameters of a basic service set (bss)
CN109314911A (en) * 2016-06-13 2019-02-05 高通股份有限公司 Technology for basic service set detection of attribute and solution

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357719B (en) * 2015-12-10 2018-11-09 魅族科技(中国)有限公司 Communication means and communication device, the website and access point of WLAN
CN105915312B (en) * 2016-04-07 2018-12-11 珠海市魅族科技有限公司 Communication means and communication device, the access point and website of WLAN

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027133A (en) * 2016-01-29 2017-08-08 华为技术有限公司 A kind of method of processing information, the first access point and the first website
CN109314911A (en) * 2016-06-13 2019-02-05 高通股份有限公司 Technology for basic service set detection of attribute and solution
WO2018075226A1 (en) * 2016-10-19 2018-04-26 Qualcomm Incorporated Procedure for dynamically changing operating parameters of a basic service set (bss)

Also Published As

Publication number Publication date
CN110831242A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US10674539B2 (en) System and method for managing contention in a wireless communications system
AU2020314490B2 (en) Multilink communication method and apparatus
CN110831242B (en) Method and device for changing basic service set Color BSS Color value
US9860926B2 (en) Network discovery in wireless network
CN106851776B (en) Method for accessing equipment to network, access point, network access equipment and system
CN104254136B (en) Method, Service Access Point, website and the system of medium access
US20140140264A1 (en) Data transmission method and system
CN110868729A (en) Method and device for determining Color BSS Color value of basic service set
CN105144823A (en) Systems and methods for differentiated fast initial link setup
US20060165021A1 (en) Effective point coordination function in wireless lan
US20230328780A1 (en) Data communication method and apparatus
EP4191902A1 (en) Channel contention method and related apparatus
US20230232452A1 (en) Channel access method in wireless local area network and related apparatus
US20230124052A1 (en) Channel Contention Method and Related Apparatus
CN110933689B (en) Method, device, terminal equipment and storage medium for determining BSS Color value
US20230121480A1 (en) Channel access method for multi-link device, and related apparatus
CN111031525B (en) Beacon frame sending method and device
US20140119289A1 (en) Link setup in wireless network
CN107613518B (en) Network allocation vector value setting method and device
WO2021139793A1 (en) Channel access method and related product
EP3468139A1 (en) Multi-channel contention method, communications device, and wireless network system
CN117939691A (en) Method and device for transmitting data
WO2020109648A1 (en) Channel contention and resource management in wireless network
CN113596896A (en) Method and device for detecting Wi-Fi 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