Channel selection method and system of wireless access point, and storage medium
By configuring all wireless access points in the wireless communication system to work for the same channel and using different channels according to the signal strength table, the problem of adjacent AP channel interference is solved and the signal transmission quality is improved.
Patent Information
- Application Number
- CN202510218040.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-26
AI Technical Summary
In the case of AC and AP networking, when adjacent wireless access points use the same channel, it will cause large channel interference and affect the transmission quality.
By configuring 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 signal strength, generates a signal strength table, and packets each wireless access point according to the signal strength table. The wireless access points in each packet use the channel to which this group belongs.
The channel interference between adjacent APs is reduced and the signal transmission quality is improved.
Smart Images

Figure CN119997124A_ABST
Abstract
Description
Technical Field
[0001] The present 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 Art
[0002] In the case of AC (wireless access controller) and AP (wireless access point) networking, the wireless access point generally performs channel occupancy and interference detection to obtain a set of available channels. Usually, all APs can use the same channel, which is simple to manage and easy to select the next access point to switch to when roaming. The disadvantage is that the interference between adjacent APs on the same channel is large, affecting the transmission quality. Summary of the invention
[0003] The primary purpose of the present invention is to overcome the problems existing in the prior art and provide a channel selection method for a wireless access point. The present invention can reduce channel interference between adjacent APs and improve signal transmission quality.
[0004] As another object of the present invention, a system adapted to the method based on the aforementioned object is provided.
[0005] As another object of the present invention, an electronic device is provided to execute the method for 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 described is provided.
[0007] In order to achieve the above object, the present invention provides a channel selection method for a wireless access point, the method comprising the following steps: All wireless access points in the target wireless communication system are configured to work on the same channel, and each wireless access point receives broadcast frames sent by other wireless access points and records their signal strengths; The wireless access controller receives the signal strength data and 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 the channel selection of the wireless access point.
[0008] Furthermore, the broadcast frame is a beacon frame.
[0009] Further, the wireless access controller performs signal strength analysis on each wireless access point according to the signal strength table. Grouping, including: Calculate the average signal strength between any two wireless access points according to the signal strength table; The number of groups is determined according to the number of channels, and the corresponding group is determined for each wireless access point using the average signal strength.
[0010] Furthermore, before determining the number of groups according to the number of channels, all signal strength averages need to be sorted, and the sorting rule is: sorting from large to small according to the size of the signal strength averages, so as to obtain a mean value table.
[0011] Furthermore, the signal strength mean is used to determine a corresponding group for each wireless access point, and the grouping method specifically includes: The number of channels is recorded as N. If N=2, the number of groups is 2, recorded as group A and group B. Based on the principle that the access points in the wireless access point pair are divided into different groups as much as possible, a wireless access point pair with the largest signal strength mean is selected from the mean value table, and any 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; According to the order of signal strength average values from large to small, the other wireless access point pairs in the average value table are processed in sequence. In this process, if one of the other wireless access point pairs has determined the grouping, the other wireless access point is divided into another group; if both wireless access points in the other wireless access point pairs have not determined the grouping, the grouping identifier of one of the wireless access points is , the group ID of another wireless access point is ,in is an undetermined variable number; if one of the other wireless access points is assigned to group A or group B, and the other group is or According to the principle of dividing the access points in the wireless access point pair into different groups as much as possible, the The group can be determined, and finally the grouping of all wireless access points is determined. The wireless access points in each group use the channel belonging to this group, thereby completing the channel selection of the wireless access points.
[0012] Furthermore, if there is still If the group is not determined, Determined to be Group A.
[0013] Furthermore, if N 2. Based on the grouping method with N groups, the operation of further obtaining N+1 groups is as follows: (1) Select the group with the largest number of wireless access points from N groups, assuming it is group A, and use the grouping method to divide all the wireless access points in group A into two groups, recorded as group A1 and group A2, where the number of wireless access points in group A1 is not less than that in group A2; (2) Group A2 is combined with the remaining N-1 groups of wireless access points except group A to obtain a new group, which is recorded as group T. All wireless access points in group T are divided into new N groups using the grouping method. The new N groups are combined with group A1 to obtain group N+1.
[0014] In order to achieve another object of the present invention, the present invention provides a channel selection system for a wireless access point. The system is based on the channel selection method for a wireless access point, and the system includes: Configuration module: configure all wireless access points in the target wireless communication system to work on the same channel, each wireless access point receives broadcast frames sent by other wireless access points, and records their signal strength; Generating module: The wireless access controller receives the signal strength data and generates a signal strength table based on the signal strength data; 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 the channel selection of the wireless access point.
[0015] In order to achieve another object of the present invention, the present invention also provides an electronic device, which includes: 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 the program instructions in the memory to execute the channel selection method of a wireless access point.
[0016] In order to achieve another object of the present invention, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer-stored program is executed by a processor, the channel selection method of a wireless access point is implemented.
[0017] Compared with the prior art, the present invention has the following beneficial effects: The present invention first configures all wireless access points in a target wireless communication system to work on the same channel, so as to facilitate each wireless access point to receive broadcast frames sent by other wireless access points and detect signal strength, and then generates a signal strength table based on the signal strength, and uses the signal strength table to allocate a suitable channel to each wireless access point, thereby avoiding the problem of large channel interference and low transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent APs and improving signal transmission quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of a channel selection method for a wireless access point according to Embodiment 1 of the present invention; Figure 2This is a block diagram of a channel selection system for a wireless access point according to Embodiment 3 of the present invention; Figure 3 is a topological diagram of Embodiment 2 of the present invention; Figure 4 This is a grouping result diagram of Example 2 of the present invention; DETAILED DESCRIPTION The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0019] In order to better understand the present invention, some professional terms are explained here, as follows: Wireless Access Point (AP): AP is the core device of wireless network, responsible for extending wired network connection to wireless devices. It is similar to a hub or switch in a wired network, but provides services for wireless devices. Its functions include: 1. Wireless signal coverage: AP provides signal access for wireless devices within a certain range by emitting radio waves; 2. Data forwarding: forwarding wireless data traffic to the switch or router of the wired network to ensure that wireless devices can communicate with other devices; 3. User authentication and access control: some APs also have user authentication functions, which can authenticate and manage the rights of users accessing the network.
[0020] Wireless access controller (AC): AC is a network device that is specifically used for centralized management, configuration, monitoring and optimization of wireless access points (APs). It has the following functions: 1. Centralized management of APs: AC can centrally manage multiple APs and provide unified configuration, monitoring and troubleshooting functions. 2. Load balancing and traffic management: AC can perform load balancing based on network traffic conditions to avoid excessive load on a certain AP, which may lead to decreased network performance. 3. Security management: AC supports centralized management of wireless network security policies, such as authentication, encryption, access control, etc., to ensure network security. 4. Network optimization: AC can automatically optimize the performance of wireless networks by monitoring factors such as wireless signal strength and interference.
[0021] Beacon frame: It is an important management frame in wireless networks. The frame content mainly includes: 1. Frame control field: used to indicate the frame type, subtype and other control information. 2. Frame length field: indicates the length of the frame. 3. Destination address: usually set to the broadcast address, indicating that the frame is sent to all wireless terminals. 4. Source address: indicates the MAC address of the AP that sends 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 when the AP sends the frame, used for time synchronization. 8. Beacon interval: indicates the time interval between AP sending two consecutive Beacon frames. 9. Capability information: describes some characteristics of the network, such as whether it supports power management, whether it supports IBSS (Independent Basic Service Set), etc.
[0022] Example 1 like Figure 1 As shown, a channel selection method for a wireless access point in a preferred embodiment of an embodiment of the present invention specifically includes: S1: All wireless access points in the target wireless communication system are configured to work on the same channel, and each wireless access point receives broadcast frames sent by other wireless access points and records their signal strengths; In an optional embodiment, the broadcast frame is a beacon frame. In the initial stage, in order to collect signal strength information between adjacent APs, all APs are configured to work on the same channel. In this way, they can detect beacon frames sent by each other. Specifically, each AP will monitor and receive beacon frames from other APs. When receiving these frames, the AP will record the MAC address of the AP that sent these frames and the received signal strength (RSSI, Received Signal Strength Indicator).
[0023] S2: The wireless access controller receives the signal strength data and generates a signal strength table based on the signal strength data; In an optional embodiment, after collecting the signal strength information, each AP will upload this data to the wireless controller (AC). After receiving the data from each AP, the AC will form a signal strength table based on this data. This table will be sorted according to the signal strength of each AP's neighboring APs. Through the T1 table, the neighboring AP information of any AP can be queried. In this table, the signal strength is processed as follows: the signal strength is limited to the range of [-110,0], less than -110 is taken as -110, and greater than 0 is taken as 0.
[0024] 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.
[0025] In an optional embodiment, S3 specifically includes: S3.1: Calculate the average signal strength between any two wireless access points according to the signal strength table; S3.2: Determine the number of groups according to the number of channels, and use the signal strength average to determine the corresponding group for each wireless access point.
[0026] Furthermore, before S3.2, all signal strength means need to be sorted, and the sorting rule is: sorting from large to small according to the size of the signal strength mean, so as to obtain a mean value table. The sorting is for the convenience of subsequent grouping.
[0027] Furthermore, the grouping method of S3.2 specifically includes: The number of channels is recorded as N. If N=2, the number of groups is 2, recorded as group A and group B. Based on the principle that the access points in the wireless access point pair are divided into different groups as much as possible, a wireless access point pair with the largest signal strength mean is selected from the mean value table, and any 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; According to the order of signal strength average values from large to small, the other wireless access point pairs in the average value table are processed in sequence. In this process, if one of the other wireless access point pairs has determined the grouping, the other wireless access point is divided into another group; if both wireless access points in the other wireless access point pairs have not determined the grouping, the grouping identifier of one of the wireless access points is , the group ID of another wireless access point is ,in is an undetermined variable number; if one of the other wireless access points is assigned to group A or group B, and the other group is or According to the principle of dividing the access points in the wireless access point pair into different groups as much as possible, the The group can be determined, and finally the grouping of all wireless access points is determined. The wireless access points in each group use the channel belonging to this group, thereby completing the channel selection of the wireless access points.
[0028] Furthermore, if there is still If the group is not determined, Determined to be Group A.
[0029] It should be noted that if N 2. Based on the grouping method with N groups, the operation of further obtaining N+1 groups is as follows: (1) Select the group with the largest number of wireless access points from N groups, assuming it is group A, and use the grouping method to divide all the wireless access points in group A into two groups, recorded as group A1 and group A2, where the number of wireless access points in group A1 is not less than that in group A2; (2) Group A2 is combined with the remaining N-1 groups of wireless access points except group A to obtain a new group, which is recorded as group T. All wireless access points in group T are divided into new N groups using the grouping method. The new N groups are combined with group A1 to obtain group N+1.
[0030] For example, if N=3, first divide all wireless access points into two groups, A and B, according to the grouping method, and then perform the following operations: (1) Assuming that group A is the group with the largest number of wireless access points among groups A and B, all wireless access points in group A are further divided into two groups using the grouping method, which are group A1 and group A2, wherein the number of wireless access points in group A1 is not less than that in group A2; (2) The wireless access points of group A2 and group B are merged to obtain a new group, which is recorded as group C. The group C is divided into group C1 and group C2 using the grouping method to obtain group A1, group C1 and group C2.
[0031] In this embodiment, all wireless access points in the target wireless communication system are first configured to work on the same channel, so that each wireless access point can 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 a suitable channel is allocated to each wireless access point using the signal strength table, thereby avoiding the problem of large channel interference and low transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent APs and improving signal transmission quality.
[0032] Example 2 This embodiment is a specific implementation process of the method proposed in Example 1. Figure 3 As shown in the figure, if there are 8 APs in the wireless communication system, the solid lines in the figure indicate that the beacon frame signal strength can be detected between AP pairs, and the AP pairs not connected by the solid lines cannot detect each other's beacon frames because the distance is too far.
[0033] 1. Initial stage: Each AP works on the same channel and broadcasts beacon frames. Each AP detects the signal strength of beacon frames of other APs as shown in Table 1: Table 1: Signal Strength
[0034] It should be noted that the “ / ” in the table indicates that the value does not exist, and the “--” indicates that it cannot be detected, and the minimum value is -100.
[0035] 2. Data upload stage: AC collects information from each AP, sorts the data by signal strength, and obtains a signal strength table: 3. Grouping stage: Generate a signal strength mean table, as shown in Table 2: Table 2: Mean table
[0036] Taking N=2 as an example, select the AP pair with the largest mean signal strength from the mean table: AP1 and AP2, and classify AP1 into group A (it is understandable that AP1 can also be classified into group B). Then, according to the grouping method, AP2 is classified into group B. Next, group the other AP pairs in order. Specifically: Next, the AP pair with the largest average signal strength is AP1 and AP8. According to the grouping method (if one of the other AP pairs has already been grouped, the other AP will be assigned to another group), since AP1 was previously assigned to Group A, AP8 will be assigned to Group B. 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. The next largest AP pair is AP5 and AP6. Similarly, since AP5 was previously assigned to group A, AP6 is assigned to group B. Then the AP pair with the largest mean is AP1 and AP8. These two APs have been grouped before, so no operation is performed here. 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 are not grouped, one of the wireless access points is grouped into , another wireless access point ) Divide AP3 into ,AP4 , Then AP2 and AP6 are grouped. Since the two APs have been grouped before, no operation is performed here. Then the largest AP pair is AP4 and AP5. Since AP5 has been assigned to Group A before, AP4 is assigned to Group B. According to the grouping method (if one of the other wireless access points is assigned to Group A or Group B, the other one is assigned to Group B), AP4 is assigned to Group B. or ,but The group can be determined) then AP3 is divided into group A; Then the largest AP pair is AP6 and AP7. Similarly, since AP6 has been divided into group B before, AP7 is divided into group A. From then on, all APs are grouped. The grouping results are shown in Figure 4 , the grouping process is shown in Table 3: Table 3: Grouping process
[0037] 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.
[0038] Example 3 like Figure 2 As shown, a channel selection system for a wireless access point according to an embodiment of the present invention includes: Configuration module: configure all wireless access points in the target wireless communication system to work on the same channel, each wireless access point receives broadcast frames sent by other wireless access points, and records their signal strength; Generating module: The wireless access controller receives the signal strength data and generates a signal strength table based on the signal strength data; 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 the channel selection of the wireless access point.
[0039] The system proposed in this embodiment is based on the method proposed in Embodiment 1. It can be understood that the options proposed in Embodiment 1 are still applicable to this embodiment, so they will not be repeated here.
[0040] Example 4 This embodiment provides an electronic device, comprising: at least one processing unit; and at least one memory and a bus connected to the processing unit; wherein the processing unit and the memory communicate with each other through the bus; and the processing unit is used to call program instructions in the memory to execute the channel selection method of a wireless access point.
[0041] Example 5 This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer-stored program is executed by a processor, the channel selection method of a wireless access point is implemented.
[0042] In summary, the embodiments of the present invention provide a channel selection method, system, electronic device and storage medium for a wireless access point, which first configures all wireless access points in a target wireless communication system to work on the same channel, so as to facilitate each wireless access point to receive broadcast frames sent by other wireless access points and detect signal strength, and then generates a signal strength table based on the signal strength, and uses the signal strength table to allocate a suitable channel to each wireless access point, thereby avoiding the problem of large channel interference and low transmission quality caused by all wireless access points using the same channel, thereby reducing channel interference between adjacent APs and improving signal transmission quality.
[0043] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.
Claims
1. A channel selection method for a wireless access point, characterized in that: The method comprises the following steps: All wireless access points in the target wireless communication system are configured to work on the same channel, and each wireless access point receives broadcast frames sent by other wireless access points and records their signal strengths; The wireless access controller receives the signal strength data and 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 the channel selection of the wireless access point.
2. The channel selection method of a wireless access point according to claim 1, characterized in that: The broadcast frame is a beacon frame.
3. The channel selection method of a wireless access point according to claim 1, characterized in that: Place The wireless access controller groups each wireless access point according to the signal strength table, specifically including: Calculate the average signal strength between any two wireless access points according to the signal strength table; The number of groups is determined according to the number of channels, and the corresponding group is determined for each wireless access point using the average signal strength.
4. The channel selection method of a wireless access point according to claim 3, characterized in that: Before determining the number of groups according to the number of channels, all signal strength means need to be sorted. The sorting rule is: sort from large to small according to the size of the signal strength mean, so as to obtain a mean table.
5. The channel selection method of a wireless access point according to claim 4, characterized in that: The signal strength average is used to determine the corresponding group for each wireless access point. The grouping method specifically includes: The number of channels is recorded as N. If N=2, the number of groups is 2, recorded as group A and group B. Based on the principle that the access points in the wireless access point pair are divided into different groups as much as possible, a wireless access point pair with the largest signal strength mean is selected from the mean value table, and any 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; According to the order of signal strength average values from large to small, the other wireless access point pairs in the average value table are processed in sequence. In this process, if one of the other wireless access point pairs has determined the grouping, the other wireless access point is divided into another group; if both wireless access points in the other wireless access point pairs have not determined the grouping, the grouping identifier of one of the wireless access points is , the group ID of another wireless access point is ,in is an undetermined variable number; if one of the other wireless access points is assigned to group A or group B, and the other group is or According to the principle of dividing the access points in the wireless access point pair into different groups as much as possible, the The group can be determined, and finally the grouping of all wireless access points is determined. 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.
6. The channel selection method of a wireless access point according to claim 5, characterized in that: If it still exists at the end If the group is not determined, Determined to be Group A.
7. The channel selection method of a wireless access point according to claim 5, characterized in that: If N 2. Based on the grouping method with N groups, the operation of further obtaining N+1 groups is as follows: (1) Select the group with the largest number of wireless access points from N groups, assuming it is group A, and use the grouping method to divide all the wireless access points in group A into two groups, recorded as group A1 and group A2, where the number of wireless access points in group A1 is not less than that in group A2; (2) Group A2 is combined with the remaining N-1 groups of wireless access points except group A to obtain a new group, which is recorded as group T. All wireless access points in group T are divided into new N groups using the grouping method. The new N groups are combined with group A1 to obtain group N+1.
8. A channel selection system for a wireless access point, characterized in that: The system is based on a channel selection method for a wireless access point according to any one of claims 1 to 7, and the system comprises: Configuration module: configure all wireless access points in the target wireless communication system to work on the same channel, each wireless access point receives broadcast frames sent by other wireless access points, and records their signal strength; Generating module: The wireless access controller receives the signal strength data and generates a signal strength table based on the signal strength data; 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 the channel selection of the wireless access point.
9. An electronic device, characterized in that: It includes: 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 the program instructions in the memory to execute the channel selection method of a wireless access point as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer stored program is executed by a processor, the channel selection method of a wireless access point as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Access point device, apparatus for managing an access point device, wireless communication device, and corresponding method and computer program product
EP3046387A1
Radio communication system, channel allocation device, and channel allocation method
JP2015012588A
Dynamic frequency selection in a wireless communication network
US20030040319A1
Channel selection in a wireless network
US20080107071A1
Wireless access point and method and device for controlling wireless access point
US20140321300A1