Basic equipment services include color configuration methods, devices, equipment, media, and products.

By actively scanning the surrounding environment during the access point startup phase, filtering and configuring the target basic service set coloring, the problem of interference between access points on the same channel is solved, achieving the effects of reducing signal interference and improving network performance.

CN122138187APending Publication Date: 2026-06-02SPREADTRUM COMM (TIANJIN) INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SPREADTRUM COMM (TIANJIN) INC
Filing Date
2026-03-16
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In wireless LANs, access points use a static fixed or random basic service set coloring strategy during the initialization phase, which causes multiple APs to operate on the same channel, resulting in signal interference and affecting network communication quality.

Method used

By scanning the basic service set coloring of multiple access points in the target frequency band, the occupied coloring values ​​are determined, candidate coloring values ​​are filtered out, and the target coloring value is determined according to the preset strategy and configured as the initial basic service set coloring to avoid conflicts.

Benefits of technology

This effectively reduces coloring conflicts between new devices and surrounding access points on the same channel, reduces co-channel interference, and improves the network's anti-interference capability and communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122138187A_ABST
    Figure CN122138187A_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, medium, and product for configuring basic service set (BSS) coloring for a device. The method includes: scanning the BSS colors of multiple access points in a target frequency band; determining the occupied BSS colors in a preset BSS coloring set based on the BSS colors of the multiple access points; determining candidate BSS colors from the preset BSS coloring set based on the occupied BSS colors; determining the target BSS color from the candidate BSS colors; and configuring the target BSS color as the initial BSS coloring of the device. This application replaces the static fixed allocation or random allocation in related technologies, effectively reducing the situation where new devices and surrounding access points conflict on the same channel, thereby reducing co-channel interference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device, medium and product for configuring a device basic service set coloring. Background Technology

[0002] With the development of wireless LAN technology, Basic Service Set Color (BSS Color) has been introduced to mitigate interference and improve channel utilization. Therefore, properly allocating the initial BSS Color when an Access Point (AP) starts up is crucial.

[0003] In related technologies, when configuring the basic service set coloring during the startup initialization phase, each AP typically uses a static fixed value or random value allocation strategy.

[0004] However, the above method can easily lead to multiple APs operating on the same channel, causing signal interference. Summary of the Invention

[0005] This application provides a method, apparatus, device, medium, and product for configuring device basic service set coloring, in order to achieve the technical effect of reducing signal interference.

[0006] In a first aspect, embodiments of this application provide a method for configuring coloring of a device basic service set, including:

[0007] Color the basic service set of multiple access points in the target frequency band;

[0008] Based on the coloring of the basic service sets of multiple access points, determine the coloring of the basic service sets that have been occupied in the preset coloring set of basic service sets;

[0009] Based on the coloring of the already occupied basic service sets, candidate basic service set colors are determined from the preset basic service set coloring set;

[0010] The target basic service set coloring is determined from the candidate basic service set colorings;

[0011] Configure the target base service set coloring as the initial base service set coloring of the ontology.

[0012] In one possible implementation, candidate basic service set colors are determined from a preset set of basic service set colors based on the colors of the already occupied basic service sets, including:

[0013] The already occupied basic service set coloring is matched with the preset basic service set coloring set to determine whether there is an unoccupied basic service set coloring in the preset basic service set coloring set.

[0014] If there are unoccupied basic service set colors, then the unoccupied basic service set colors are determined as candidate basic service set colors;

[0015] If there is no unoccupied basic service set coloring, then candidate basic service set coloring is determined based on the usage frequency of the already occupied basic service set coloring.

[0016] In one possible implementation, determining candidate basic service set colorings based on the usage frequency of already occupied basic service set colorings includes:

[0017] Based on the usage frequency of the already occupied basic service set coloring, select basic service set colors with a usage frequency lower than a preset usage frequency threshold from the preset basic service set coloring set;

[0018] The basic service sets whose usage frequency is less than the preset usage frequency threshold are colored and determined as candidate basic service sets.

[0019] In one possible implementation, if there are unoccupied basic service set colors, the target basic service set color is determined from the candidate basic service set colors, including:

[0020] Based on the coloring of the already occupied basic service set, determine the range of coloring values ​​for the already occupied basic service set;

[0021] From the candidate basic service set coloring, filter out the target candidate basic service set coloring whose coloring value is outside the coloring value range and is the largest distance from the coloring value range;

[0022] The target candidate basic service set is colored, and the coloring is determined as the target basic service set.

[0023] In one possible implementation, if no unoccupied basic service set coloring exists, the target basic service set coloring is determined from the candidate basic service set colorings, including:

[0024] Based on the usage frequency of each basic service set coloring in the candidate basic service set coloring, the basic service set coloring with the lowest usage frequency is determined.

[0025] Color the smallest basic service set and determine the target basic service set coloring.

[0026] In one possible implementation, configuring the target base service set coloring as the initial base service set coloring of the ontology includes:

[0027] Write the coloring value of the target basic service set into the preamble field of the ontology physical layer protocol data unit to complete the initialization of the basic service set coloring configuration.

[0028] Secondly, embodiments of this application provide a device basic service set coloring configuration apparatus, comprising:

[0029] The scanning module is used to scan the basic service set coloring of multiple access points in the target frequency band;

[0030] The determination module is used to determine the coloring of the basic service set that has been occupied in the preset basic service set coloring set based on the coloring of the basic service set of multiple access points.

[0031] The determination module is also used to determine candidate basic service set colors from a preset set of basic service set colors based on the coloring of the basic service sets that have been occupied.

[0032] The determination module is also used to determine the target basic service set coloring from the candidate basic service set colorings;

[0033] The configuration module is used to configure the target base service set coloring as the initial base service set coloring of the ontology.

[0034] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0035] The memory stores instructions that the computer executes;

[0036] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0037] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0038] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0039] The device basic service set coloring configuration method, apparatus, device, medium, and product provided in this application's embodiments scan the basic service set colors of multiple access points in a target frequency band. Based on the basic service set colors of the multiple access points, the application determines the occupied basic service set colors in a preset basic service set coloring set. Then, based on the occupied basic service set colors, candidate basic service set colors are determined from the preset basic service set coloring set, and a target basic service set color is determined from the candidate basic service set colors. Finally, the target basic service set color is configured as the initial basic service set coloring of the device. This application actively scans the surrounding environment and obtains the occupied basic service set colors during the access point startup phase, and determines candidate basic service set colors accordingly. By filtering and configuring the target basic service set coloring from the candidate basic service set colors based on environmental awareness, it replaces the static fixed allocation or random allocation in related technologies. This effectively reduces the situation where new devices and surrounding access points conflict in coloring on the same channel, thereby reducing co-channel interference. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0041] Figure 1 This application provides an illustration of an application scenario.

[0042] Figure 2 A flowchart illustrating a device basic service set coloring configuration method provided in an embodiment of this application;

[0043] Figure 3 A flowchart illustrating a method for determining the coloring of a candidate basic service set, provided in an embodiment of this application;

[0044] Figure 4 A flowchart illustrating a method for determining the coloring of a candidate basic service set, provided in an embodiment of this application;

[0045] Figure 5 A flowchart illustrating another method for determining the coloring of candidate basic service sets provided in this application embodiment;

[0046] Figure 6 A schematic diagram of a device basic service set coloring configuration device provided in an embodiment of this application;

[0047] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0048] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0049] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0050] The user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties. The collection, use and processing of related data shall comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points shall be provided for users to choose to authorize or refuse.

[0051] With the widespread adoption of Wireless Fidelity 6 (Wi-Fi 6) technology, numerous access points (APs) have been deployed in high-density wireless network environments, such as smart homes, offices, shopping malls, and airports. Wi-Fi 6 introduces a BSS Color mechanism, which adds a 6-bit identifier to the physical layer header of data frames, using different color codes (coloring values) to distinguish signals from different APs. However, if the BSS Colors are the same, it indicates interference between APs, leading to signal interference problems.

[0052] In related technologies, when configuring BSS Color during the initialization phase, APs typically employ either a static fixed allocation or a random allocation strategy.

[0053] When using a static fixed allocation strategy, APs are typically preset with a fixed BSS Color value. While this approach works correctly in single AP deployment scenarios, in high-density network environments, the lack of differentiated BSS Color configurations makes it highly susceptible to conflicts when a large number of APs use the same BSS Color, leading to increased co-channel interference and severely degrading network communication quality.

[0054] When a random allocation strategy is adopted, the AP generates BSS Color values ​​randomly at startup. Although this reduces the probability of collisions to some extent, the BSS Color values ​​still have a high risk of repetition in complex environments with severe channel overlap because the process is blind.

[0055] In summary, the above methods easily lead to multiple APs operating on the same channel, causing signal interference. Once multiple APs experience BSS Color value conflicts, the APs can often only trigger dynamic updates of the BSS Color through an active detection mechanism after communication is established. However, this passive mode of conflict-first, update-later not only has a substantial impact on network throughput and stability during the conflict period, but the frequent update process itself also introduces additional signaling overhead, further deteriorating network performance.

[0056] Therefore, addressing the problems in related technologies, this application proposes an initialization configuration method based on environmental scanning and intelligent filtering. This method introduces active detection of the surrounding wireless environment at the initial startup of the AP. Specifically, it obtains BSS Color distribution information of multiple access points in the vicinity by scanning the target frequency band, and constructs the occupied basic service set coloring and candidate basic service set coloring in the current environment accordingly. Then, using a preset filtering strategy, it determines the target BSS Color with the least conflict with the surrounding environment from the candidate basic service set colorings and configures it as the initialization identifier of the local machine. This reduces conflicts of the same BSS Color from the source and effectively improves the network's anti-interference capability.

[0057] To facilitate understanding of the method in this application, an exemplary application scenario is provided below. Please refer to [link / reference]. Figure 1 , Figure 1 This application provides an application scenario diagram, which includes multiple access points 01 that have been configured with BSS Color and new access points 02 that are to be initialized with BSS Color.

[0058] Access point 01 within the target frequency band operates normally, broadcasting its own BSS Color via beacon frames. After access point 02 starts up, it scans the target frequency band according to the method of this application, obtains the BSS Color already occupied by access point 01, and filters candidate BSS Colors from a preset set of coloring values ​​ranging from 0 to 63. Then, it determines the target BSS Color through a preset strategy and configures it as the initial BSS Color of access point 02.

[0059] It is understood that the above examples are for illustrative purposes only and do not limit this application. The specific details can be determined based on the actual application situation.

[0060] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0061] Please see Figure 2 , Figure 2 This is a flowchart illustrating a device basic service set coloring configuration method provided in this application embodiment. The execution subject of this method can be a device basic service set coloring configuration device. This device can be implemented through a computer program, a medium storing the relevant computer program (such as a USB flash drive and / or optical disc), or a physical device integrating or installing the relevant computer program (such as a chip or electronic device). The electronic device can be a server supporting Wi-Fi 6, a server cluster, a smart terminal, etc. The method can include the following steps:

[0062] S201. Color the basic service set of multiple access points in the target frequency band.

[0063] In this embodiment, the execution entity takes the target access point to be initialized with basic service set coloring configuration as an example. When the target access point starts up and enters the initialization phase, the radio frequency module is triggered to perform a full-channel or specified-channel scanning operation.

[0064] Specifically, the target access point sends a probe request frame within the target frequency band to collect beacon frames sent by multiple operating access points in the vicinity. The target access point extracts the BSS Color field information of each access point from the physical layer preamble of the received beacon frames, thereby obtaining the basic service set coloring of multiple access points in the surrounding environment and thus determining the distribution of the BSS Colors in use.

[0065] S202. Based on the coloring of the basic service sets of multiple access points, determine the coloring of the basic service sets that have been occupied in the preset coloring set of basic service sets.

[0066] The target access point has a complete BSS Color set pre-defined locally, which can contain 64 possible coloring values ​​from 0 to 63 based on standard definitions.

[0067] The target access point compares the coloring values ​​of the BSS Colors of the surrounding access points obtained by scanning with the above set, marks which BSS Colors have been occupied by the surrounding access points, and generates an occupied coloring list, thereby determining the occupied basic service set coloring.

[0068] S203. Based on the coloring of the already occupied basic service sets, determine the candidate basic service set colors from the preset basic service set coloring set.

[0069] The target access point determines candidate basic service set colors from 0 to 63 coloring values ​​based on the coloring values ​​of the already occupied basic service set colors.

[0070] S204. Determine the target basic service set coloring from the candidate basic service set colorings.

[0071] After the candidate basic service set is determined and colored, the target basic service set is selected based on a preset selection strategy.

[0072] S205. Configure the target basic service set coloring as the initial basic service set coloring of the ontology.

[0073] Specifically, the target access point writes the coloring value of the selected target basic service set into the preamble field of the ontology physical layer protocol data unit, so that when the physical layer protocol data frames subsequently sent by the target access point are generated at the physical layer, the BSS Color field in the preamble is filled with the coloring value of the target basic service set.

[0074] At this point, the target access point has completed the initialization of BSS Color configuration and has begun to function normally in the network.

[0075] In the above embodiments of this application, the basic service set colors of multiple access points in the target frequency band are scanned, and the occupied basic service set colors in the preset basic service set color set are determined based on the basic service set colors of the multiple access points. Based on the occupied basic service set colors, candidate basic service set colors are determined from the preset basic service set color set, and the target basic service set color is determined from the candidate basic service set colors. The target basic service set color is then configured as the initial basic service set color of the entity. This application actively scans the surrounding environment and obtains the occupied basic service set colors during the access point startup phase, and determines candidate basic service set colors accordingly. By filtering and configuring the target basic service set color from the candidate basic service set colors based on environmental awareness, it replaces the static fixed allocation or random allocation in related technologies. This effectively reduces the situation where new devices and surrounding access points conflict on the same channel, thereby reducing co-channel interference.

[0076] Furthermore, based on the above embodiments, the following embodiments illustrate the process of determining candidate basic service set colors from a preset basic service set coloring set based on the coloring of the already occupied basic service sets.

[0077] Please see Figure 3, Figure 3 This application provides a flowchart illustrating a method for determining the coloring of a candidate basic service set. The method may include the following steps:

[0078] S301. Match the occupied basic service set coloring with the preset basic service set coloring set to determine whether there is an unoccupied basic service set coloring in the preset basic service set coloring set.

[0079] The target access point performs a value-by-value matching comparison between the coloring value corresponding to the already occupied basic service set and each coloring value in the preset basic service set coloring set. By traversing each coloring value in the set, it determines whether each coloring value exists in the occupied list in the above embodiment.

[0080] If the occupied list does not include all the coloring values ​​in the set, then it is determined that the preset basic service set coloring set contains unoccupied basic service set colorings. If the occupied list includes all the coloring values ​​in the set, then it is determined that the preset basic service set coloring set does not contain unoccupied basic service set colorings.

[0081] S302. If there is an unoccupied basic service set coloring, then the unoccupied basic service set coloring is determined as a candidate basic service set coloring.

[0082] If the target access point determines that there are unoccupied basic service sets, then all unoccupied basic service sets will be colored and identified as candidate basic service sets.

[0083] Then, the target basic service set coloring is determined from the candidate basic service set coloring.

[0084] Optionally, please see Figure 4 , Figure 4 A flowchart illustrating a method for determining the coloring of candidate basic service sets, provided in an embodiment of this application, may include the following steps:

[0085] S401. Determine the coloring value range of the occupied basic service set based on the coloring of the occupied basic service set.

[0086] The target access point sorts the occupied BSS Color values ​​in ascending or descending order of numerical value, obtaining the sorting results. The minimum and maximum color values ​​in the sorting results are then extracted, and the occupied color value range is determined in the form of minimum-maximum value.

[0087] If the occupied color values ​​are discrete, such as some values ​​jumping out of the central range, then the interval is determined after removing outliers to ensure that the interval can accurately reflect the BSS Color distribution range of the surrounding APs.

[0088] For example, if the occupied BSS Color values ​​are 12, 14, 15, 17, and 30, after removing the outlier 30, the determined range of color values ​​is 12-17.

[0089] S402. From the candidate basic service set coloring, select the target candidate basic service set coloring whose coloring value is outside the coloring value range and is the largest distance from the coloring value range.

[0090] The target access point iterates through the candidate basic service set coloring, which is the unoccupied coloring value in the preset set of 0-63, and filters out all candidate values ​​outside the above coloring value range to generate a candidate subset.

[0091] Calculate the distance between each colored value in the candidate subset and the corresponding interval. If the colored value is less than the minimum value of the interval, then the distance = minimum value of the interval - colored value. If the colored value is greater than the maximum value of the interval, then the distance = colored value - maximum value of the interval. Then, select the colored value with the largest distance from the candidate subset as the target candidate basic service set coloring.

[0092] Taking the above example, assuming the target range is 12-17, the distance between the candidate BSS Color with a coloring value of 0 is 12 (i.e., 12 minus 0), and the distance between the coloring value with a coloring value of 63 is 46 (i.e., 63 minus 17). Therefore, the BSS Color with a coloring value of 63 is the coloring of the target candidate basic service set.

[0093] S403. Color the target candidate basic service set and determine it as the target basic service set.

[0094] The target access point verifies the validity of the selected candidate basic service set colors to confirm that they are not currently occupied by surrounding APs. If the verification passes, the candidate basic service set color is determined as the target basic service set color of the ontology, thus providing the final parameters for subsequent initialization configuration.

[0095] If there are multiple candidate maximum distance values ​​with the same distance, the one with the smaller value will be selected according to preset rules, such as prioritizing the matching of the BSS Color corresponding to the coloring value that is suitable for the current channel, and determined as the unique target candidate coloring.

[0096] S303. If there is no unoccupied basic service set coloring, then candidate basic service set coloring is determined based on the usage frequency of the already occupied basic service set coloring.

[0097] One possible implementation is that the target access point selects basic service set colors with usage frequencies lower than a preset usage frequency threshold from a preset set of basic service set colors based on the usage frequency of the already occupied basic service set colors, and determines the selected basic service set colors with usage frequencies lower than the preset usage frequency threshold as candidate basic service set colors.

[0098] Then, the target basic service set coloring is determined from the candidate basic service set coloring.

[0099] Optionally, please see Figure 5 , Figure 5 A flowchart illustrating another method for determining the coloring of candidate basic service sets provided in this application embodiment, the method may include the following steps:

[0100] S501. Based on the usage frequency of each basic service set coloring in the candidate basic service set coloring, determine the basic service set coloring with the lowest usage frequency.

[0101] The target access point obtains the usage frequency of each basic service set coloring in the candidate basic service set coloring, sorts all candidate coloring values ​​from low to high usage frequency, and then locates the coloring value with the lowest usage frequency.

[0102] S502. Color the smallest basic service set and determine it as the target basic service set coloring.

[0103] If there is only one coloring value with the lowest usage frequency, directly determine it as the coloring of the target basic service set.

[0104] If multiple minimum frequency coloring values ​​exist, the coloring of a unique target basic service set is determined according to a preset priority rule, such as selecting the coloring value with the smallest value or prioritizing the coloring value that is compatible with the current channel.

[0105] In the above embodiments of this application, by matching the coloring of the already occupied basic service sets with a preset set, it is determined whether there are any unoccupied basic service set colors. If there are unoccupied basic service set colors, they are directly used as candidate basic service set colors to avoid color conflicts from the source and ensure the accuracy and anti-interference effect of the initial configuration. If there are no unoccupied basic service set colors, candidate basic service set colors are determined based on the usage frequency of the already occupied basic service set colors, thereby avoiding frequently occupied basic service set colors and reducing the probability of conflicts.

[0106] Please see Figure 6 , Figure 6 This is a schematic diagram of a device basic service set coloring configuration device provided in an embodiment of this application, as shown below. Figure 6As shown, the device basic service set coloring configuration device provided in this embodiment includes:

[0107] The scanning module 601 is used to scan the basic service set coloring of multiple access points in the target frequency band.

[0108] The determination module 602 is used to determine the coloring of the basic service set that has been occupied in the preset basic service set coloring set based on the coloring of the basic service set of multiple access points.

[0109] The determining module 602 is also used to determine candidate basic service set colors from a preset set of basic service set colors based on the coloring of the basic service set that has been occupied.

[0110] The determination module 602 is also used to determine the target basic service set coloring from the candidate basic service set colorings.

[0111] Configuration module 603 is used to configure the target basic service set coloring as the initial basic service set coloring of the ontology.

[0112] In one possible implementation, module 602 is specifically used for:

[0113] The already occupied basic service set coloring is matched against the preset basic service set coloring set to determine whether there is an unoccupied basic service set coloring in the preset basic service set coloring set.

[0114] If there are unoccupied basic service set colors, then the unoccupied basic service set colors are determined as candidate basic service set colors.

[0115] If there is no unoccupied basic service set coloring, then candidate basic service set coloring is determined based on the usage frequency of the already occupied basic service set coloring.

[0116] In one possible implementation, module 602 is specifically used for:

[0117] Based on the usage frequency of the already occupied basic service set coloring, select basic service set colors whose usage frequency is less than the preset usage frequency threshold from the preset basic service set coloring set.

[0118] The basic service sets whose usage frequency is less than the preset usage frequency threshold are colored and determined as candidate basic service sets.

[0119] In one possible implementation, if there is an unoccupied basic service set coloring, module 602 is determined, specifically for:

[0120] Based on the coloring of the already occupied basic service set, determine the range of coloring values ​​for the already occupied basic service set.

[0121] From the candidate basic service set coloring, select the target candidate basic service set coloring whose coloring value is outside the coloring value range and is the largest distance from the coloring value range.

[0122] The target candidate basic service set is colored, and the coloring is determined as the target basic service set.

[0123] In one possible implementation, if there is no unoccupied basic service set coloring, module 602 is specifically used for:

[0124] Based on the usage frequency of each basic service set coloring in the candidate basic service set coloring, the basic service set coloring with the lowest usage frequency is determined.

[0125] Color the smallest basic service set and determine the target basic service set coloring.

[0126] In one possible implementation, configuration module 603 is specifically used for:

[0127] Write the coloring value of the target basic service set into the preamble field of the ontology physical layer protocol data unit to complete the initialization of the basic service set coloring configuration.

[0128] The device basic service set coloring configuration device provided in this embodiment can execute the device basic service set coloring configuration method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0129] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7 As shown, the electronic device provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the device further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.

[0130] In a specific implementation, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to perform the above-described method.

[0131] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0132] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0133] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0134] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0135] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0136] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0137] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0138] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0139] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0140] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0141] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0142] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0143] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0144] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for configuring coloring of a device's basic service set, characterized in that, include: Color the basic service set of multiple access points in the target frequency band; Based on the basic service set coloring of the multiple access points, determine the basic service set coloring that has been occupied in the preset basic service set coloring set; Based on the already occupied basic service set coloring, candidate basic service set colorings are determined from the preset basic service set coloring set; The target basic service set coloring is determined from the candidate basic service set colorings; Configure the target basic service set coloring as the initial basic service set coloring of the ontology.

2. The method according to claim 1, characterized in that, The step of determining candidate basic service set colors from the preset basic service set coloring set based on the already occupied basic service set coloring includes: The occupied basic service set coloring is matched with the preset basic service set coloring set to determine whether there is an unoccupied basic service set coloring set in the preset basic service set coloring set. If there is an unoccupied basic service set coloring, then the unoccupied basic service set coloring is determined as the candidate basic service set coloring; If there is no unoccupied basic service set coloring, then the candidate basic service set coloring is determined based on the usage frequency of the already occupied basic service set coloring.

3. The method according to claim 2, characterized in that, The step of determining the candidate basic service set coloring based on the usage frequency of the already occupied basic service set coloring includes: Based on the usage frequency of the already occupied basic service set coloring, select basic service set colors with a usage frequency lower than a preset usage frequency threshold from the preset basic service set coloring set; The basic service set whose usage frequency is less than a preset usage frequency threshold is colored and determined as the candidate basic service set.

4. The method according to claim 2, characterized in that, If there are unoccupied basic service set colors, determining the target basic service set color from the candidate basic service set colors includes: Based on the coloring of the occupied basic service set, determine the coloring value range of the occupied basic service set; From the candidate basic service set colorings, select the target candidate basic service set colorings whose coloring values ​​are outside the coloring value range and are the furthest from the coloring value range; The target candidate basic service set is colored, and the coloring is determined as the target basic service set.

5. The method according to claim 2, characterized in that, If no unoccupied basic service set coloring exists, determining the target basic service set coloring from the candidate basic service set colorings includes: Based on the usage frequency of each basic service set coloring in the candidate basic service set coloring, the basic service set coloring with the lowest usage frequency is determined; The minimum basic service set is colored to determine the target basic service set coloring.

6. The method according to any one of claims 1-5, characterized in that, The step of configuring the target basic service set coloring as the initial basic service set coloring of the ontology includes: The coloring value of the target basic service set is written into the preamble field of the ontology physical layer protocol data unit to complete the initialization of the basic service set coloring configuration.

7. A device for configuring coloring of a basic service set, characterized in that, include: The scanning module is used to scan the basic service set coloring of multiple access points in the target frequency band; The determining module is used to determine the basic service set coloring that has been occupied in the preset basic service set coloring set based on the basic service set coloring of the multiple access points; The determining module is further configured to determine candidate basic service set colors from the preset basic service set coloring set based on the coloring of the already occupied basic service set; The determining module is further configured to determine the target basic service set coloring from the candidate basic service set colorings; The configuration module is used to configure the target basic service set coloring as the initial basic service set coloring of the ontology.

8. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1-6.