A channel selection method, system, and storage medium for a wireless access point
By configuring all wireless access points in a wireless communication system to operate on the same channel and recording and allocating signal strength tables, the interference problem between adjacent APs is solved, and the transmission quality is improved.
Patent Information
- Application Number
- CN202510218040.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2045-02-26
AI Technical Summary
In AC and AP networking scenarios, the use of the same channel by adjacent wireless access points can cause significant interference, affecting transmission quality.
By configuring all wireless access points in the target wireless communication system to operate on the same channel, receiving broadcast frames from other wireless access points and recording their signal strength, generating a signal strength table, grouping each wireless access point according to the signal strength table, and assigning an appropriate channel.
It reduces channel interference between adjacent APs and improves signal transmission quality.
Smart Images

Figure CN119997124B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless communication technology, and in particular to a channel selection method, system, and storage medium for a wireless access point. Background Technology
[0002] In a network configuration of AC (Access Controller) and AP (Access Point), channel occupancy and interference are typically detected by the access points to determine the available channel set. Usually, all APs can use the same channel, simplifying management and making it easier to select the next access point to switch to during roaming. The disadvantage is that there is significant interference between adjacent APs on the same channel, affecting transmission quality. Summary of the Invention
[0003] The primary objective of this invention is to overcome the problems existing in the prior art and provide a channel selection method for wireless access points. This invention can reduce channel interference between adjacent APs and improve signal transmission quality.
[0004] As another objective of the present invention, a system adapted to the method based on the aforementioned objective is also provided.
[0005] As another object of the present invention, an electronic device is provided, which performs the aforementioned object.
[0006] As another object of the present invention, a non-volatile storage medium suitable for storing a computer program implemented according to the method is provided.
[0007] To achieve the above objectives, the present invention provides a channel selection method for a wireless access point, the method comprising the following steps:
[0008] Configure all wireless access points in the target wireless communication system to operate on the same channel. Each wireless access point receives broadcast frames sent by other wireless access points and records their signal strength.
[0009] The wireless access controller receives the signal strength data of the wireless access point and generates a signal strength table based on the signal strength data.
[0010] The wireless access controller groups each wireless access point according to the signal strength table, and the wireless access points in each group use the channel to which the group belongs, thereby completing the channel selection of the wireless access points.
[0011] Furthermore, the broadcast frame is a beacon frame.
[0012] Furthermore, the wireless access controller performs [further actions] on each wireless access point according to the signal strength table.
[0013] Grouping, specifically including:
[0014] Calculate the average signal strength between any two wireless access points based on the aforementioned signal strength table;
[0015] The number of packets is determined based on the number of channels, and the corresponding packet is determined for each wireless access point using the average signal strength.
[0016] Furthermore, before determining the number of groups based on the number of channels, it is necessary to sort all the average signal strengths. The sorting rule is to sort them from largest to smallest according to the average signal strength, thereby obtaining an average value table.
[0017] Furthermore, the average signal strength is used to determine the corresponding group for each wireless access point. The grouping method specifically includes:
[0018] Let the number of channels be N. If N=2, then the number of groups is 2, denoted as group A and group B. Based on the principle of assigning access points in a wireless access point pair to different groups as much as possible, select the wireless access point pair with the largest average signal strength from the average value table. Assign any one wireless access point in the wireless access point pair to group A, and the other wireless access point to group B.
[0019] Following the order of average signal strength from largest to smallest, the other wireless access point pairs in the average value table are processed sequentially. During this process, if one wireless access point in one of the other wireless access point pairs has already been assigned to a group, the other wireless access point is assigned to that group; if neither wireless access point in one of the other wireless access point pairs has been assigned to a group, then the group identifier of one of the wireless access points is [not specified]. The packet identifier of another wireless access point is ,in The variable number is undetermined; if one of the other wireless access points is assigned to group A or group B, and the other group identifier is... or Based on the principle of assigning access points in wireless access point pairs to different groups as much as possible, the... The groups can be determined, and the grouping of all wireless access points is finally determined. The wireless access points in each group use the channel to which their group belongs, thus completing the channel selection of the wireless access points.
[0020] Furthermore, if it still exists in the end If the group is not determined, then... It has been determined to be Group A.
[0021] Furthermore, if N 2. Based on the grouping method with N groups, the following steps are taken to obtain N+1 groups:
[0022] (1). Select the group with the most wireless access points from the N groups, assuming it is group A. Use the grouping method to divide all the wireless access points in group A into two groups, denoted as group A1 and group A2, where the number of wireless access points in group A1 is not less than that in group A2.
[0023] (2). Merge the wireless access points of group A2 with the remaining N-1 groups excluding group A to obtain a new group, denoted as group T. Use the grouping method to divide all wireless access points in group T into new N groups. The new N groups, together with group A1, obtain N+1 groups.
[0024] To achieve another objective of the present invention, the present invention provides a channel selection system for a wireless access point, the system being based on the aforementioned channel selection method for a wireless access point, the system comprising:
[0025] Configuration module: Configures all wireless access points in the target wireless communication system to operate on the same channel. Each wireless access point receives broadcast frames sent by other wireless access points and records their signal strength.
[0026] Generation module: The wireless access controller receives the signal strength data of the wireless access point and generates a signal strength table based on the signal strength data;
[0027] Grouping module: The wireless access controller groups each wireless access point according to the signal strength table. The wireless access points in each group use the channel to which the group belongs, thereby completing the channel selection of the wireless access points.
[0028] To achieve another objective of the present invention, the present invention also provides an electronic device comprising: at least one processing unit; and at least one memory and bus connected to the processing unit; wherein the processing unit and the memory communicate with each other through the bus; the processing unit is used to call program instructions in the memory to execute the aforementioned channel selection method for a wireless access point.
[0029] To achieve another objective of the present invention, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the aforementioned channel selection method for a wireless access point.
[0030] Compared with the prior art, the advantages of this invention are as follows:
[0031] This invention first configures all wireless access points in the target wireless communication system to operate on the same channel. This is to facilitate each wireless access point to receive broadcast frames sent by other wireless access points and detect signal strength. Then, a signal strength table is generated based on the signal strength, and the appropriate channel is assigned to each wireless access point using the signal strength table. This avoids the problem of large channel interference and poor transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent APs and improving signal transmission quality. Attached Figure Description
[0032] Figure 1 This is a flowchart of a channel selection method for a wireless access point according to Embodiment 1 of the present invention;
[0033] Figure 2 This is a block diagram of a channel selection system for a wireless access point according to Embodiment 3 of the present invention;
[0034] Figure 3 This is a topology diagram of Embodiment 2 of the present invention;
[0035] Figure 4 This is a grouping result diagram of Embodiment 2 of the present invention; Detailed Implementation
[0036] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.
[0037] To better understand this invention, some technical terms will be explained here first, as follows:
[0038] Wireless Access Point (AP): An AP is the core device of a wireless network, responsible for extending wired network connections to wireless devices. It is similar to a hub or switch in a wired network, but provides services to wireless devices. Its functions include: 1. Wireless signal coverage: The AP provides signal access to wireless devices within a certain range by emitting radio waves; 2. Data forwarding: It forwards wireless data traffic to switches or routers in the wired network, ensuring that wireless devices can communicate with other devices; 3. User authentication and access control: Some APs also have user authentication functions, which can authenticate users accessing the network and manage their access permissions.
[0039] Wireless Access Controller (AC): An AC is a network device specifically designed for the centralized management, configuration, monitoring, and optimization of wireless access points (APs). Its functions include: 1. Centralized AP Management: The AC can centrally manage multiple APs, providing unified configuration, monitoring, and troubleshooting capabilities. 2. Load Balancing and Traffic Management: The AC can perform load balancing based on network traffic conditions, preventing any single AP from being overloaded and causing network performance degradation. 3. Security Management: The AC supports centralized management of wireless network security policies, such as authentication, encryption, and access control, ensuring network security. 4. Network Optimization: The AC can automatically optimize wireless network performance by monitoring factors such as wireless signal strength and interference.
[0040] Beacon frames are important management frames in wireless networks. Their content mainly includes: 1. Frame Control Field: Indicates the frame type, subtype, and other control information. 2. Frame Length Field: Indicates the frame length. 3. Destination Address: Usually set to a broadcast address, indicating that the frame is sent to all wireless terminals. 4. Source Address: Indicates the MAC address of the AP sending the frame. 5. BSSID: Basic Service Set Identifier, used to uniquely identify a wireless LAN. 6. Sequence Control Field: Used for frame serialization and error detection. 7. Timestamp: Records the time the AP sent the frame for time synchronization. 8. Beacon Interval: Indicates the time interval between two consecutive Beacon frames sent by the AP. 9. Capability Information: Describes network characteristics, such as whether it supports power management and whether it supports IBSS (Independent Basic Service Set).
[0041] Example 1
[0042] like Figure 1 As shown, a preferred embodiment of the present invention provides a channel selection method for a wireless access point, specifically including:
[0043] S1: Configure all wireless access points in the target wireless communication system to operate on the same channel. Each wireless access point receives broadcast frames sent by other wireless access points and records their signal strength.
[0044] In an optional embodiment, the broadcast frame is a beacon frame. Initially, to collect signal strength information between adjacent APs, all APs are configured to operate on the same channel. This allows them to detect each other's beacon frames. Specifically, each AP listens for and receives beacon frames from other APs. Upon receiving these frames, the AP records the MAC address of the AP that sent them and the received signal strength (RSSI, Received Signal Strength Indicator).
[0045] S2: The wireless access controller receives signal strength data and generates a signal strength table based on the signal strength data;
[0046] In an optional embodiment, after collecting signal strength information, each AP uploads this data to the wireless controller (AC). Upon receiving the data from each AP, the AC creates a signal strength table based on this data. This table is sorted according to the signal strength of each AP's neighboring APs. The neighboring AP information for any given AP can be queried through table T1. In this table, the signal strength is processed as follows: the signal strength is limited to the range [-110, 0], with values less than -110 being -110 and values greater than 0 being 0.
[0047] S3: The wireless access controller groups each wireless access point according to the signal strength table, and the wireless access points in each group use the channel to which the group belongs, thereby completing the channel selection of the wireless access points.
[0048] In an optional embodiment, S3 specifically includes:
[0049] S3.1: Calculate the average signal strength between any two wireless access points based on the signal strength table;
[0050] S3.2: Determine the number of packets based on the number of channels, and use the average signal strength to determine the corresponding packets for each wireless access point.
[0051] Furthermore, before S3.2, all signal strength averages need to be sorted. The sorting rule is to sort them from largest to smallest according to the signal strength average, thus obtaining an average table. Sorting is for the convenience of subsequent grouping.
[0052] Furthermore, the grouping method in S3.2 specifically includes:
[0053] Let the number of channels be N. If N=2, then the number of groups is 2, denoted as group A and group B. Based on the principle of assigning access points in a wireless access point pair to different groups as much as possible, select the wireless access point pair with the largest average signal strength from the average value table. Assign any one wireless access point in the wireless access point pair to group A, and the other wireless access point to group B.
[0054] Following the order of average signal strength from largest to smallest, the other wireless access point pairs in the average value table are processed sequentially. During this process, if one wireless access point in one of the other wireless access point pairs has already been assigned to a group, the other wireless access point is assigned to that group; if neither wireless access point in one of the other wireless access point pairs has been assigned to a group, then the group identifier of one of the wireless access points is [not specified]. The packet identifier of another wireless access point is ,in The variable number is undetermined; if one of the other wireless access points is assigned to group A or group B, and the other group identifier is... or Based on the principle of assigning access points in wireless access point pairs to different groups as much as possible, the... The groups can be determined, and the grouping of all wireless access points is finally determined. The wireless access points in each group use the channel to which their group belongs, thus completing the channel selection of the wireless access points.
[0055] Furthermore, if it still exists in the end If the group is not determined, then... It has been determined to be Group A.
[0056] It should be noted that if N 2. Based on the grouping method with N groups, the following steps are taken to obtain N+1 groups:
[0057] (1). Select the group with the most wireless access points from the N groups, assuming it is group A. Use the grouping method to divide all the wireless access points in group A into two groups, denoted as group A1 and group A2, where the number of wireless access points in group A1 is not less than that in group A2.
[0058] (2). Merge the wireless access points of group A2 with the remaining N-1 groups excluding group A to obtain a new group, denoted as group T. Use the grouping method to divide all wireless access points in group T into new N groups. The new N groups, together with group A1, obtain N+1 groups.
[0059] For example, if N=3, first divide all wireless access points into two groups, A and B, according to the grouping method described above, and then perform the following operations:
[0060] (1). Assuming that group A has more wireless access points than group B, the grouping method described above is used to divide all wireless access points in group A into two groups, denoted as group A1 and group A2, wherein the number of wireless access points in group A1 is no less than that in group A2.
[0061] (2). Merge the wireless access points of group A2 and group B to obtain a new group, denoted as group C. Use the grouping method to divide group C into group C1 and group C2 to obtain group A1, group C1 and group C2.
[0062] This embodiment first configures all wireless access points in the target wireless communication system to operate on the same channel. The purpose is to facilitate each wireless access point to receive broadcast frames sent by other wireless access points and detect signal strength. Then, a signal strength table is generated, and the signal strength table is used to allocate appropriate channels to each wireless access point. This avoids the problem of large channel interference and poor transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent APs and improving signal transmission quality.
[0063] Example 2
[0064] This embodiment is a specific implementation process of the method proposed in Embodiment 1, such as... Figure 3 As shown, if there are 8 APs in a wireless communication system, the solid lines in the figure represent the beacon frame signal strength that can be detected between AP pairs. AP pairs that are not connected by solid lines cannot detect each other's beacon frames because they are too far apart.
[0065] 1. Initial stage: Each AP operates on the same channel and broadcasts beacon frames. The signal strength of the beacon frames detected by each AP from other APs is shown in Table 1.
[0066] Table 1: Signal Strength
[0067]
[0068] It should be noted that " / " in the table indicates that the value does not exist, and "--" indicates that it cannot be detected, taking the minimum value of -100.
[0069] 2. Data Upload Phase: The AC collects information from each AP, sorts the data by signal strength, and obtains a signal strength table:
[0070] 3. Grouping Phase: First, generate a table of average signal strengths, as shown in Table 2:
[0071] Table 2: Mean Table
[0072]
[0073] Taking N=2 as an example, select the AP pair with the largest mean signal strength from the mean table: AP1 and AP2. Assign AP1 to group A (it's understandable that AP1 could also be assigned to group B). Then, according to the grouping method, AP2 is assigned to group B. Next, group the other AP pairs in sequence. Specifically:
[0074] The next AP pair with the highest average signal strength is AP1 and AP8. According to the grouping method (if one of the other wireless access point pairs has already been assigned to a group, then the other wireless access point is assigned to another group), since AP1 was previously assigned to group A, AP8 is assigned to group B.
[0075] Then the AP pair with the largest mean is AP2 and AP5. Similarly, since AP2 was previously assigned to group B, AP5 is assigned to group A.
[0076] The next largest AP pair is AP5 and AP6. Similarly, since AP5 was previously assigned to group A, AP6 is assigned to group B.
[0077] Then the AP pair with the largest mean is AP1 and AP8. These two APs have already been grouped, so no further action will be taken here.
[0078] Then the largest AP pair is AP3 and AP4. According to the grouping method (if the two wireless access points in other wireless access point pairs have not been grouped, then one of the wireless access points will be grouped into AP4), Another wireless access point is connected. AP3 will be divided into AP4 input ,
[0079] Then AP2 and AP6 are grouped. Since the two APs have already been grouped, no further action is taken here.
[0080] The largest AP pair is then AP4 and AP5. Since AP5 was previously assigned to group A, AP4 is assigned to group B. This is based on the grouping method (if one of the other wireless access points is assigned to group A or group B, then the other is assigned to group B). or ,but If the group can be determined, then AP3 will be assigned to group A;
[0081] Then the largest AP pair is AP6 and AP7. Similarly, since AP6 has already been assigned to group B, AP7 is assigned to group A. This completes the AP grouping. The grouping results are shown below. Figure 4 The grouping process is shown in Table 3:
[0082] Table 3: Grouping Process
[0083]
[0084] Each wireless access point within a group uses the channel to which its group belongs, thus completing the channel selection for the wireless access point.
[0085] Example 3
[0086] like Figure 2 As shown, an embodiment of the present invention provides a channel selection system for a wireless access point, comprising:
[0087] Configuration module: Configures all wireless access points in the target wireless communication system to operate on the same channel. Each wireless access point receives broadcast frames sent by other wireless access points and records their signal strength.
[0088] Generation module: The wireless access controller receives signal strength data and generates a signal strength table based on the signal strength data;
[0089] Grouping module: The wireless access controller groups each wireless access point according to the signal strength table. The wireless access points in each group use the channel to which the group belongs, thereby completing the channel selection of the wireless access points.
[0090] The system proposed in this embodiment is based on the method proposed in Embodiment 1. It is understood that the options proposed in Embodiment 1 are still applicable to this embodiment, so they will not be repeated here.
[0091] Example 4
[0092] This embodiment provides an electronic device, comprising: at least one processing unit; and at least one memory and bus connected to the processing unit; wherein the processing unit and the memory communicate with each other through the bus; the processing unit is used to call program instructions in the memory to execute the aforementioned channel selection method for a wireless access point.
[0093] Example 5
[0094] This embodiment provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the channel selection method for a wireless access point.
[0095] In summary, the embodiments of the present invention provide a channel selection method, system, electronic device, and storage medium for wireless access points. Firstly, all wireless access points in the target wireless communication system are configured to operate on the same channel. This facilitates each wireless access point receiving broadcast frames sent by other wireless access points and detecting signal strength. Then, a signal strength table is generated, and the table is used to allocate appropriate channels to each wireless access point. This avoids the problems of significant channel interference and poor transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent access points and improving signal transmission quality.
[0096] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be considered within the scope of protection of the present invention.
Claims
1. A method for channel selection of a wireless access point, the method comprising: The method comprises the following steps: All wireless access points in a target wireless communication system are configured to work on the same channel, each wireless access point receives a broadcast frame sent by other wireless access points and records the signal strength thereof; A wireless access controller receives the signal strength data of the wireless access points, generates a signal strength table based on the signal strength data; The wireless access controller groups each wireless access point according to the signal strength table, and the wireless access points in each group use the channel to which the group belongs, thereby completing channel selection of the wireless access points.
2. The method of claim 1, wherein the step of selecting a channel comprises the step of: The broadcast frame is a beacon frame. 3. The method of claim 1, wherein the step of selecting a channel comprises the step of: The wireless access controller groups each wireless access point according to the signal strength table, specifically comprising: The mean signal strength between any two wireless access points is calculated according to the signal strength table; The number of groups is determined according to the number of channels, and the mean signal strength is used to determine the corresponding group for each wireless access point. Before the number of groups is determined according to the number of channels, all the mean signal strengths need to be sorted, and the sorting rule is: the mean signal strengths are sorted from large to small according to the size, thereby obtaining a mean table.
4. The method of claim 3, wherein the step of selecting a channel comprises the step of: The mean signal strength is used to determine the corresponding group for each wireless access point, and the grouping method specifically comprises: 5. The method of claim 4, wherein, The number of channels is denoted as N, if N=2, the number of groups is 2, denoted as group A and group B, and the principle is that the access points in a wireless access point pair are as far as possible to be divided into different groups, the wireless access point pair with the largest mean signal strength is selected from the mean table, and any one wireless access point in the wireless access point pair is divided into group A, and the other wireless access point is divided into group B; (1). A group with the largest number of wireless access points is selected from N groups, and is assumed to be group A, all wireless access points in group A are divided into two groups using the grouping method, denoted as group A1 and group A2, wherein the number of wireless access points in group A1 is not less than that in group A2; Following the order of average signal strength from largest to smallest, the other wireless access point pairs in the average value table are processed sequentially. During this process, if one wireless access point in one of the other wireless access point pairs has already been assigned to a group, the other wireless access point is assigned to that group; if neither wireless access point in one of the other wireless access point pairs has been assigned to a group, then the group identifier of one of the wireless access points is [not specified]. The packet identifier of another wireless access point is ,in The variable number is undetermined; if one of the other wireless access points is assigned to group A or group B, and the other group identifier is... or Based on the principle of assigning access points in wireless access point pairs to different groups as much as possible, the... The groups can be determined, and the grouping of all wireless access points is finally determined. The wireless access points in each group use the channel to which their group belongs, thus completing the channel selection of the wireless access points.
6. The method of claim 5, wherein, If at the end there are still groups that are not determined, then the group with the highest number of members is determined as group A. If at the end there are still groups that are not determined, then the group with the highest number of members 7. The method of claim 5, wherein the step of selecting a channel comprises the step of: selecting a channel with the least number of wireless access points. If N 2, based on the grouping method of the number of groups N, the operation of further obtaining N+1 groups is as follows: (2). The wireless access points in group A2 and the remaining N-1 groups except group A are combined to obtain a new group, denoted as group T, and all wireless access points in group T are divided into new N groups using the grouping method, and the new N groups are together with group A1 to obtain N+1 groups. The system is based on the channel selection method of any one of claims 1 to 7, and the system comprises:
8. A channel selection system for a wireless access point, the system comprising: A configuration module: all wireless access points in a target wireless communication system are configured to work on the same channel, each wireless access point receives a broadcast frame sent by other wireless access points and records the signal strength thereof; A generation module: a wireless access controller receives the signal strength data of the wireless access points, generates a signal strength table based on the signal strength data; A grouping module: the wireless access controller groups each wireless access point according to the signal strength table, and the wireless access points in each group use the channel to which the group belongs, thereby completing channel selection of the wireless access points. It comprises:
9. An electronic device, comprising: At least one processing unit; and at least one memory connected with the processing unit, a bus; wherein the processing unit, the memory complete mutual communication through the bus; the processing unit is used to call the program instruction in the memory, to execute the channel selection method of the wireless access point in any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor, and the channel selection method of the wireless access point in any one of claims 1 to 7 is realized.
Citation Information
Patent Citations
Channel selection in a wireless network
US20080107071A1
Wireless access point and method and device for controlling wireless access point
US20140321300A1