[go: up one dir, main page]

CN120129009A - Frequency switching method, device, storage medium and wireless access point - Google Patents

Frequency switching method, device, storage medium and wireless access point Download PDF

Info

Publication number
CN120129009A
CN120129009A CN202510310583.6A CN202510310583A CN120129009A CN 120129009 A CN120129009 A CN 120129009A CN 202510310583 A CN202510310583 A CN 202510310583A CN 120129009 A CN120129009 A CN 120129009A
Authority
CN
China
Prior art keywords
frequency point
source
target
working frequency
error rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510310583.6A
Other languages
Chinese (zh)
Inventor
陈志强
胡世飞
王颖
罗诗晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Huge Ic Co ltd
Original Assignee
Zhuhai Huge Ic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Huge Ic Co ltd filed Critical Zhuhai Huge Ic Co ltd
Priority to CN202510310583.6A priority Critical patent/CN120129009A/en
Publication of CN120129009A publication Critical patent/CN120129009A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/06Reselecting a communication resource in the serving access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0466Wireless resource allocation based on the type of the allocated resource the resource being a scrambling code

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种频点的切换方法、装置、存储介质及无线接入点,属于无线通信领域。本申请的方法包括:源AP开启OBSS功能;源AP在第一工作频点上接收来自目标AP的广播数据包,解析广播数据包得到目标AP的第二工作频点和目标AP在第二工作频点上的信号强度;计算源AP在第一工作频点的信号强度和目标AP在第二工作频点的信号强度之间的差值;源AP判断差值是否小于信号强度阈值;若为是,源AP继续测量第一工作频点上的发送数据误包率;若发送数据误包率大于误包率阈值,将源AP的第一工作频点切换为目标AP的第二工作频点,实现在AP检测到干扰时,切换至与干扰源相同的信道,以便后续充分发挥CCA和EDCA的避开干扰优势。

The embodiment of the present application discloses a frequency switching method, device, storage medium and wireless access point, which belongs to the field of wireless communication. The method of the present application includes: the source AP turns on the OBSS function; the source AP receives a broadcast data packet from the target AP at the first working frequency, parses the broadcast data packet to obtain the second working frequency of the target AP and the signal strength of the target AP at the second working frequency; calculates the difference between the signal strength of the source AP at the first working frequency and the signal strength of the target AP at the second working frequency; the source AP determines whether the difference is less than the signal strength threshold; if yes, the source AP continues to measure the packet error rate of the transmitted data at the first working frequency; if the packet error rate of the transmitted data is greater than the packet error rate threshold, the first working frequency of the source AP is switched to the second working frequency of the target AP, so that when the AP detects interference, it switches to the same channel as the interference source, so as to give full play to the interference avoidance advantages of CCA and EDCA in the future.

Description

Frequency point switching method and device, storage medium and wireless access point
Technical Field
The present application relates to the field of wireless communications, and in particular, to a method and apparatus for switching frequency points, a storage medium, and a wireless access point.
Background
In the field of wireless communication networks, especially in the Wireless Local Area Network (WLAN) environment, as the number of wireless devices increases explosively, the problems of spectrum resource allocation and efficient utilization are increasingly prominent, and the method becomes a key technical problem to be solved. As a core node for network connection to user equipment, the performance of an Access Point (AP) is critical to the communication quality and user experience of the overall network.
To address this challenge, modern wireless communication technologies introduce the concept of Overlapping Basic Service Sets (OBSSs). OBSS gives the AP the ability to perceive and adapt to its surrounding complex wireless environment, enabling the AP to more intelligently and flexibly utilize spectrum resources, thereby improving network efficiency and reducing interference. However, the complexity and variability of the wireless environment in practical network deployment presents a significant challenge to spectrum resource management.
Currently, although some frequency point management strategies are widely adopted in practical applications, most of these strategies are based on simple channel background noise measurement only. Specifically, the AP selects a frequency point with relatively low background noise for communication by scanning the surrounding wireless environment, so as to achieve the purpose of reducing interference. However, in practical applications, since there may be multiple Basic Service Sets (BSSs) around an AP, these BSSs may operate on multiple different frequency points, resulting in a relatively large background noise intensity for each frequency point in the frequency point list of the current AP. In this case, the current BSS cannot switch to a better frequency point for communication only according to the background noise intensity, thereby affecting the performance and stability of the network.
Disclosure of Invention
The frequency point switching method, the device, the storage medium and the wireless access point provided by the embodiment of the application can solve the interference problem of adjacent BSSs in an OBSS scene. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for switching a frequency point, including:
the source AP starts an OBSS function;
The source AP receives a broadcast data packet from a target AP on a first working frequency point, analyzes the broadcast data packet to obtain a second working frequency point of the target AP and signal strength of the target AP on the second working frequency point, wherein the target AP starts an OBSS function, and alternately transmits the broadcast data packet on a plurality of frequency points corresponding to a preset frequency point list;
calculating the difference between the signal intensity of the source AP at the first working frequency point and the signal intensity of the target AP at the second working frequency point;
The source AP judges whether the difference value is smaller than a signal intensity threshold value or not;
If yes, the source AP continuously measures the packet error rate of the transmitted data on the first working frequency point;
and if the packet error rate of the sent data is larger than a packet error rate threshold, switching the first working frequency point of the source AP to the second working frequency point of the target AP.
In a second aspect, an embodiment of the present application provides a switching device for a frequency point, where the switching device for a frequency point includes:
An opening unit, configured to open an OBSS function;
The system comprises a target AP, an analysis unit, a broadcasting data packet, a receiving unit and a receiving unit, wherein the target AP is used for receiving the broadcasting data packet from the target AP on a first working frequency point, analyzing the broadcasting data packet to obtain a second working frequency point of the target AP and signal intensity of the target AP on the second working frequency point;
A calculating unit, configured to calculate a difference between a signal strength of the source AP at the first operating frequency point and a signal strength of the target AP at the second operating frequency point;
a judging unit, configured to judge whether the difference is smaller than a signal strength threshold;
The measuring unit is used for continuously measuring the packet error rate of the transmission data on the first working frequency point if the judging structure of the judging unit is yes;
and the switching unit is used for switching the first working frequency point of the source AP to the second working frequency point of the target AP if the packet error rate of the sent data is larger than a packet error rate threshold value.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-described method steps.
In a fourth aspect, an embodiment of the present application provides a wireless access point, which may include a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps described above.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
When detecting that the packet error rate of the transmission data of the current working frequency point is higher than a preset threshold, the source AP can automatically switch to a second working frequency point of the target AP. The frequency point switching mechanism based on the actual network condition is beneficial to optimizing the network performance and reducing the performance degradation caused by frequency point collision or interference. By switching the source AP to the same frequency point as the target AP, the source AP can effectively initiate a CCA (CLEAR CHANNELASSESSMENT ) mechanism. The mechanism utilizes energy detection to judge whether the state of the current frequency point is idle, thereby avoiding data transmission when the channel is busy and reducing the conflict with other devices. After the CCA mechanism determines that the frequency is idle, multiple devices (including the source AP and the target AP) may randomly generate different backoff values through an EDCA (Enhanced Distributed ChannelAccess ) mechanism. These values determine when a device starts transmitting data, thereby achieving time division and avoiding interference caused by multiple devices transmitting packets at the same time. The mechanism not only improves the utilization efficiency of spectrum resources, but also remarkably reduces interference phenomena in the network.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for switching frequency points according to an embodiment of the present application;
FIG. 2 is a system architecture diagram of an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a switching device for frequency points according to the present application;
fig. 4 is a schematic structural diagram of a wireless access point according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
Referring to fig. 2, a flow chart of a method for switching frequency points according to an embodiment of the present application may include the following steps:
s101, the source AP starts an OBSS function.
Wherein the source AP, through its firmware or software configuration, initiates the OBSS (Overlapping Basic SERVICE SET) functions. The core of this function is to monitor and process interference from other BSSs (Basic SERVICE SET, basic service sets). The source AP initiates a series of algorithms and mechanisms that can listen for activity on the wireless channel, identify the presence of other APs, and evaluate their potential interference with the BSS in which the source AP is located. The turning on of the OBSS function also means that the source AP will begin to perform periodic channel scanning and interference assessment tasks in order to dynamically adjust its operating parameters to reduce interference.
In some embodiments of the application, a login request sent by a user through an APP of a mobile terminal is received;
After the user identity is verified based on the login request, an opening instruction from the user is received, and the OBSS function is opened in response to the opening instruction.
Wherein the source AP first receives a login request sent by the user, which typically contains the user's identity authentication information, such as a username, password, or other credentials. The source AP verifies the identity of the user according to a preset identity verification mechanism (e.g., RADIUS server authentication, local database verification, etc.). If the authentication is passed, the source AP confirms that the identity of the user is legal and allows the user to perform subsequent operations. After the user authentication passes, the source AP maintains a communication connection with the user in preparation for receiving further instructions from the user. The user sends an instruction for starting the OBSS function to the source AP through the client (e.g., mobile device, computer, etc.). The communication interface of the source AP receives the open command and passes it to the internal processing module. The processing module of the source AP parses the received open instruction to confirm the format, content, and identity of the sender of the instruction (to ensure that the instruction is from an authenticated user). If the instruction is in the correct format, the content is legal, and the sender identity is verified, the source AP will consider the instruction valid. In response to a valid on command, the source AP will activate or activate its internal OBSS function. The OBSS function module is responsible for monitoring and managing the overlapping situation of the frequency points with the neighboring APs, and executing necessary operations such as frequency point switching, power adjustment or interference management. The source AP will configure its radio interface and protocol stack to operate in OBSS mode and coordinate communications with the neighboring APs. The source AP updates its internal state to reflect that the OBSS function has been turned on. The source AP may send a notification or acknowledgment message to the user informing the user that the OBSS function has been successfully turned on and ready for subsequent interference management and performance optimization.
S102, the source AP receives a broadcast data packet from the target AP on the first working frequency point, and analyzes the broadcast data packet to obtain a second working frequency point of the target AP and signal strength of the target AP on the second working frequency point.
The target AP starts an OBSS function, and alternately transmits broadcast data packets on a plurality of frequency points corresponding to a preset frequency point list. The source AP continuously listens to the wireless channel on its currently configured first operating frequency point. When the target AP (the AP that also has the OBSS function turned on) alternately transmits broadcast packets on a preset frequency list, the source AP will capture the packets. The broadcast packet typically contains information such as the SSID of the target AP, supported rates, security settings, and the currently used operating frequency point (second operating frequency point). The receiving module of the source AP analyzes the data packets, and extracts the second working frequency point of the target AP and the signal strength on the frequency point. This step is the basis for interference assessment and frequency point selection by the source AP.
In some embodiments of the present application, analyzing the broadcast packet to obtain the second operating frequency point of the target AP and the signal strength of the target AP at the second operating frequency point includes:
analyzing the packet head of the broadcast data packet to obtain a current second working frequency point of the target AP, and measuring the broadcast data packet to obtain the signal intensity of the target AP on the second working frequency point.
Wherein the source AP will continue to listen to the wireless channel to capture broadcast packets from surrounding APs. These packets are typically sent at intervals to ensure that devices in the network can discover and connect to available APs in a timely manner. Upon capturing the broadcast packet, the source AP's processor will begin parsing the Header portion of the packet. The header contains basic information of the data packet, such as source address, destination address, data packet type, length, a series of flag bits, etc. In the context of WLAN, the header of the broadcast packet also contains a field called "TIM" (Traffic Indication Map) to indicate which clients have pending data waiting for transmission. However, it is more critical for resolving the operating frequency points and signal strengths to find specific fields containing such information. In the header of the broadcast packet or the immediately following information element (Information Element, IE), the source AP looks up a field called "Country Information" or "Regulatory Domain Information". This field typically contains information about the country or region in which the AP is located, as well as the radio frequency bands and channels allowed by that country or region. More directly, however, the source AP may look up an IE named "Channel SwitchAnnouncement" (CSA) that is used to notify clients in the network when the AP plans to switch to a new frequency point. If the target AP is currently using a frequency point other than its default frequency point, it may announce this change through CSAIE. Note, however, that CSAIE is typically used for notification of a frequency point switch, rather than continuously broadcasting the current frequency point. Without the CSA IE, the source AP may need to rely on other mechanisms (such as default behavior in a specific agreement or standard with the AP manufacturer) to infer the current operating frequency point of the target AP. In many cases, however, the header or IE of the broadcast packet may directly contain a field indicating the current operating frequency point.
The signal strength information is typically not directly parsed from the header of the broadcast data packet. Instead, it is measured by the source AP through its wireless receiving module when receiving the broadcast packet. When the broadcast packet is captured by the source AP's wireless receiving module, it measures the signal strength (typically expressed in dBm) of the packet as it is received. This measurement reflects the power used by the target AP in transmitting the packet and the attenuation of the signal during propagation. The processor of the source AP will record this measurement and associate it with the identifier of the target AP (e.g., BSSID) for subsequent use.
Finally, the processor of the source AP synthesizes the analyzed working frequency point information and the measured signal intensity information to form a complete record of the second working frequency point of the target AP and the signal intensity on the frequency point
S103, calculating the difference between the signal intensity of the source AP at the first working frequency point and the signal intensity of the target AP at the second working frequency point.
Wherein the source AP periodically measures its signal strength at the first operating frequency point, typically by receiving acknowledgement frames or probe request frames from clients or other APs. Meanwhile, the source AP already analyzes the signal intensity of the target AP on the second working frequency point. The processor of the source AP calculates the difference between the two signal strengths reflecting the relative difference in signal strengths of the two APs at different frequency points. The magnitude of the difference is critical to assess the potential interference level between two APs.
S104, the source AP judges whether the difference value is smaller than a signal strength threshold value.
The source AP determines whether the difference is small enough according to a preset signal strength threshold, so that a serious interference problem may be caused. The signal strength threshold is a parameter comprehensively set according to factors such as network environment, AP performance, client requirements and the like. If the difference is smaller than the signal strength threshold, the source AP considers that the signal strengths of the two APs on the respective frequency points are similar, and there is a potential interference risk. This step is critical for the source AP to decide whether further interference processing is required.
And S105, if so, the source AP continuously measures the transmission data packet error rate of the source AP.
Wherein if the source AP determines that there is a potential interference problem (i.e., the difference is less than the signal strength threshold), it will begin to measure its own transmitted data packet error rate. The transmission data packet error rate refers to the proportion of the data packets transmitted by the source AP that have not been received correctly for various reasons (e.g., interference, noise, etc.). The source AP may send a series of test packets to clients or other APs within its coverage area and count the number of packets that have not been received correctly. The purpose of this step is to evaluate the extent of interference impact on the source AP performance by actual data transmission.
And S106, if the packet error rate of the transmitted data is larger than the packet error rate threshold, switching the first working frequency point of the source AP to the second working frequency point of the target AP.
The source AP determines whether the packet error rate of the transmission data is high enough to take further measures to reduce interference according to a preset packet error rate threshold. The packet error rate threshold is a parameter comprehensively set according to factors such as network environment, AP performance, client requirements and the like. If the packet error rate of the transmitted data is greater than the packet error rate threshold, the source AP may consider that the current operating frequency is severely interfered, and need to switch to another frequency to reduce interference and improve network performance. After judging that the packet error rate of the transmitted data is larger than a preset packet error rate threshold, the source AP decides to switch the frequency points so as to reduce interference and improve network performance. The selection of the second operating frequency point to switch the first operating frequency point to the target AP is not only based on signal strength and potential interference considerations, for the following key reasons:
starting a CCA mechanism:
The CCA (CLEAR CHANNEL ASSESSMENT ) mechanism is an important mechanism in wireless local area networks to determine whether a channel is clear to avoid collisions. Only when the source AP and the target AP are switched to the same or similar frequency points, the source AP can effectively start a CCA mechanism, and whether the state of the current frequency point is idle or not is judged through energy detection.
If the source AP and the target AP work on different frequency points, the source AP cannot directly evaluate the idle state of the frequency point where the target AP is located, thereby increasing the risk of channel collision and data packet loss.
Time-slicing of EDCA mechanism:
EDCA (Enhanced Distributed CHANNEL ACCESS), enhanced distributed channel access) mechanism is one mechanism in wireless local area networks for managing data transmission priorities and avoiding collisions.
After switching to the same frequency point, multiple devices (including a source AP and a target AP) randomly generate different backoff values (backoffvalue) through an EDCA mechanism, so as to avoid sending packets at the same time and form time division. The time division can effectively avoid conflict caused by simultaneous data transmission of a plurality of devices, thereby improving the utilization efficiency of spectrum resources.
Efficient utilization of spectrum resources:
The frequency point switching is not only helpful for reducing interference, but also can improve the effective utilization of spectrum resources. When the source AP and the target AP work at the same frequency point, the source AP and the target AP can more cooperatively utilize channel resources, reduce the idle time of the channel and the collision probability, and further improve the throughput and the performance of the whole network.
In summary, the source AP selects to switch the first working frequency point to the second working frequency point of the target AP, so as to effectively start the CCA mechanism to determine the idle state of the channel, realize time division by the EDCA mechanism to avoid interference, and finally improve the utilization efficiency of the spectrum resources. This step is an active and efficient countering strategy that the source AP takes when faced with potential interference problems.
In some embodiments of the present application, after the source AP parses the broadcast packet and calculates a difference between the signal strength of the source AP at the first operating frequency point and the signal strength of the target AP at the second operating frequency point, the processor of the source AP may perform the next determination.
If the difference is greater than or equal to the preset signal strength threshold, the source AP is not obviously interfered between the new frequency points relative to the target AP at the current frequency point. In this case, switching to a new frequency point may not bring about a significant performance improvement, but may introduce new interference or uncertainty.
Judging the packet error rate of the transmitted data:
Meanwhile, the source AP can continuously monitor the data packet error rate of the data transmitted on the current working frequency point. If the packet error rate is less than or equal to the preset packet error rate threshold, the communication quality of the current frequency point is acceptable, and no significant interference or performance degradation exists.
In some possible embodiments of the application, the signal strength threshold is-30 dB and the packet error rate threshold is 30%.
For example, in the 900M band of 802.11ah, there are two Basic Service Sets (BSSs), denoted BSS1 and BSS2, respectively. They operate at different operating frequency points, namely BSS 1at 908MHz and BSS2 at 916 MHz. When two BSSs come close to each other, mutual interference may occur, affecting communication quality. To reduce interference, we use an OBSS automatic cut-off algorithm, where setting the cut-off threshold (OBSS _th) and the transmit data packet error rate threshold (tx_per_th) are particularly critical to determine whether to switch the frequency point.
Initialization and parameter setting.
And determining a test environment, namely selecting a pair of bridges working at a frequency point of 908MHz to perform UDP traffic test.
The useful signal strength is set to be-58 dBm.
Test tools are prepared, and tools for carrying out carrier-to-interference ratio (C/I) test and packet error rate test are ensured.
And performing interference test and threshold determination.
The 908MHz frequency point network bridge is given interference of 916MHz frequency point, and the interference signal strength is gradually increased from small signal to large signal.
Test data are recorded, wherein when the interference signal intensity of a 916MHz frequency point is-42 dBm, the UDP flow average value of a 908MHz frequency point network bridge is 9.98Mbits/sec, the packet error rate is 5%, and when the interference signal intensity is-28 dBm, the UDP flow average value is 1.95Mbits/sec, and the packet error rate is 30%.
C/I testing is carried out, namely, the difference value between the useful signal strength and the interference signal strength is calculated, and the result is minus 30dB.
The threshold value is determined by setting the cut-off threshold value (obss _th) to-30 dB according to the test result, and setting the transmitted data packet error rate threshold value (tx_per_th) to 30%.
And monitoring the signal intensity and the packet error rate between BSSs.
In the OBSS scenario, when BSS1 and BSS2 approach gradually, the signal strengths (rsi_1 and rsi_2) of the respective operating frequency points and the transmission data packet error rate are continuously monitored.
Judging whether the frequency point needs to be switched.
If rsti_1-rsti_2 < -30dB and the transmission data packet error rate of BSS1 is >30%, BSS1 will switch the frequency point to 916MHz.
If rsti_2-rsti_1 < -30dB and the transmission data packet error rate of BSS2 is >30%, BSS2 will switch the frequency point to 908MHz.
Suppose that BSS1 has now switched frequency points to 916MHz according to the above conditions, while BSS2 continues to maintain the operating frequency point to 916MHz.
When gradually moving away from and (5) judging frequency point switching.
The two BSSs are gradually moved away from each other, and at this time, the environmental background noise intensities of the respective operating frequency points need to be continuously monitored (bgrssi).
If one BSS (e.g., BSS 1) is interfered, resulting in a larger bgrssi of its current operating frequency (916 MHz) and smaller bgrssi of the other operating frequency (e.g., 908 MHz) in the operating frequency list, the BSS1 will switch the frequency according to bgrssi, so as to ensure to operate at the frequency with smaller interference.
In practical applications, it may be necessary to continuously optimize and adjust the cut-frequency threshold and the transmit data packet error rate threshold according to the changes in the network environment and the device performance.
And the regular test and monitoring ensure that the OBSS automatic frequency-cutting algorithm can effectively reduce interference and improve communication quality.
Through the steps, whether the frequency points are switched or not can be judged by effectively utilizing the cut-frequency threshold value and the transmitted data packet error rate threshold value in the 900M frequency band OBSS scene of the 802.11ah, so that mutual interference is reduced, and communication quality is improved.
In some embodiments of the present application, the switching the operating frequency point of the source AP to the operating frequency point of the target AP includes:
And the AP sends a frequency point switching instruction to at least one associated STA, wherein the frequency point switching instruction is used for instructing the source AP and the at least one associated STA to switch the current first working frequency point to the second working frequency point of the target AP at the switching moment.
Wherein, once the source AP determines the operating frequency point to be switched to the target AP, it generates a frequency point switch indication message. The message contains the target frequency point information of the handover, the time of the handover and other parameters possibly needed to ensure the smooth progress of the handover process. The source AP will broadcast this point-of-frequency switch indication message to all STAs associated therewith via the current operating channel. These STAs are devices that have previously established a connection with the source AP and are communicating.
The STA receiving the frequency point switching instruction can analyze the message content to acquire the target frequency point and the switching time of the switching. The wireless communication module within the STA may begin to switch to a new frequency point, which may include adjusting the frequency setting of the wireless receiver, updating the internal state machine, and preparing to reestablish a connection with the source AP at the new frequency point.
When the handoff moment is reached, the source AP and all associated STAs will synchronously handoff to the target frequency point. This process requires accurate synchronization to ensure that no data loss or connection interruption occurs during the handoff process. After the handoff is completed, the source AP and STA reestablish the connection on the new frequency point and continue the previous communication session. In this way, the source AP can effectively avoid interference, improve communication quality, and ensure that STAs associated therewith can seamlessly transition to a new operating environment.
For example, referring to the system architecture diagram shown in fig. 2, it is assumed that there are two Basic Service Sets (BSSs), denoted as BSS1 and BSS2, respectively. Each BSS includes an Access Point (AP) and a Station (STA), that is, BSS1 includes AP1 and STA1, and BSS2 includes AP2 and STA2. The working frequency point lists of the BSS1 and the BSS2 are the same, and each working frequency point list comprises two frequency points, namely f1 and f2. In the initial state, BSS1 operates at a frequency point f1, and BSS2 operates at a frequency point f2.
Both AP1 and AP2 enable the Overlapping Basic Service Set (OBSS) function. After this function is enabled, AP1 and AP2 will transmit broadcast packets in a loop in their respective operating frequency point lists (f 1 and f 2). The broadcast packets contain information of the current operating frequency point of each broadcast packet. For example, when AP1 transmits a broadcast packet at frequency point f2, it embeds frequency point information that itself operates at f1 therein. Similarly, the AP2 may transmit a broadcast packet including the information of the operating frequency point at f2 at an appropriate timing.
When AP1 receives the broadcast packet from AP2 at frequency f1, it resolves the signal strength of AP2 at f2 (denoted rsi_ap2). Similarly, when AP2 receives the broadcast packet from AP1 at frequency f2, it resolves the signal strength of AP1 at f1 (denoted rsi_ap1).
Subsequently, AP1 and AP2 will calculate the difference in signal strengths of the two, respectively. The value obtained by AP1 performing rssi_ap1-rssi_ap2 is denoted oBSS1, and the value obtained by AP2 performing rssi_ap2-rssi_ap1 is denoted oBSS.
During the data transmission process, the AP1 and the AP2 respectively count own packet error rate (tx_per) of the transmitted data.
If oBSS1 calculated by AP1 is smaller than a preset cut-off threshold (denoted as obss _th) and tx_per is greater than a preset transmission data packet error rate threshold (denoted as tx_per_th), AP1 will prepare to switch the operating frequency point of BSS1 to f2. Similarly, if AP2 satisfies the same condition (i.e., oBSS2 is less than obss _th and tx_per is greater than tx_per_th), AP2 will prepare to switch the operating frequency of BSS2 to f1.
Before formally performing the frequency-cutting operation, the AP1 may agree with the STA1 to switch to the frequency point f2 together after the lapse of 10 beacon broadcast packets. Similarly, AP2 may make a similar convention with STA2 to switch to frequency point f1 at the appropriate point in time.
When one BSS completes the cut-frequency operation, the two BSSs continue to perform the cut-frequency estimation according to obss _th and tx_per_th. This continuous evaluation mechanism can ensure the stability of data transmission and make timely adjustments according to changes in the wireless environment.
In summary, the beneficial effects of implementing the embodiments of the present application include:
When detecting that the packet error rate of the transmission data of the current working frequency point is higher than a preset threshold, the source AP can automatically switch to a second working frequency point of the target AP. The frequency point switching mechanism based on the actual network condition is beneficial to optimizing the network performance and reducing the performance degradation caused by frequency point collision or interference. By switching the source AP to the same frequency point as the target AP, the source AP can effectively initiate a CCA (CLEAR CHANNELASSESSMENT ) mechanism. The mechanism utilizes energy detection to judge whether the state of the current frequency point is idle, thereby avoiding data transmission when the channel is busy and reducing the conflict with other devices. After the CCA mechanism determines that the frequency is idle, multiple devices (including the source AP and the target AP) may randomly generate different backoff values through an EDCA (Enhanced Distributed ChannelAccess ) mechanism. These values determine when a device starts transmitting data, thereby achieving time division and avoiding interference caused by multiple devices transmitting packets at the same time. The mechanism not only improves the utilization efficiency of spectrum resources, but also remarkably reduces interference phenomena in the network.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 3 is a schematic structural diagram of a frequency point switching device according to an exemplary embodiment of the present application. The apparatus may be implemented as all or part of a wireless access point by software, hardware, or a combination of both. The switching device 3 of the frequency point (device 3 for short) includes an opening unit 301, an analyzing unit 302, a calculating unit 303, a judging unit 304, a measuring unit 305, and a switching unit 306.
An opening unit 301, configured to open an OBSS function;
The analyzing unit 302 is configured to receive a broadcast data packet from a target AP at a first working frequency point, analyze the broadcast data packet to obtain a second working frequency point of the target AP and a signal strength of the target AP at the second working frequency point, where the target AP starts an OBSS function, and the target AP sends the broadcast data packet in turn on a plurality of frequency points corresponding to a preset frequency point list;
a calculating unit 303, configured to calculate a difference between a signal strength of the source AP at the first operating frequency point and a signal strength of the target AP at the second operating frequency point;
A judging unit 304, configured to judge whether the difference is smaller than a signal strength threshold;
a measurement unit 305, configured to continuously measure the packet error rate of the transmission data on the first operating frequency point if the determination structure of the determination unit is yes;
And a switching unit 306, configured to switch the first operating frequency point of the source AP to the second operating frequency point of the target AP if the packet error rate of the transmission data is greater than the packet error rate threshold.
In a possible implementation manner, the switching the operating frequency point of the source AP to the operating frequency point of the target AP includes:
And the AP sends a frequency point switching instruction to at least one associated STA, wherein the frequency point switching instruction is used for instructing the source AP and the at least one associated STA to switch the current first working frequency point to the second working frequency point of the target AP at the switching moment.
In one possible implementation, the signal strength threshold is-30 dB and the packet error rate threshold is 30%.
In one possible embodiment, the method further comprises:
And the control unit is used for keeping the current first working frequency point unchanged if the difference value is greater than or equal to a signal strength threshold value or the data packet error rate is smaller than or equal to the packet error rate threshold value.
In a possible implementation manner, the parsing the broadcast packet to obtain a second operating frequency point of the target AP and a signal strength of the target AP at the second operating frequency point includes:
Analyzing the packet head of the broadcast data packet to obtain a current second working frequency point of the target AP, and measuring the broadcast data packet to obtain the signal strength of the target AP on the second working frequency point.
In a possible implementation manner, the source AP continuously measures a packet error rate of the transmission data at the first operating frequency point, including:
The source AP sends a specified number of data packets to the associated STA within a preset duration;
And the source AP records the ACK feedback of each sent data packet, and obtains the percentage of the received ACK to the total number of the data packets by counting the total number of the sent data packets and the number of the received ACK messages, and calculates the sending packet error rate by using 1-percent.
In one possible implementation, the source AP turns on an OBSS function, including:
receiving a login request sent by a user through an APP of a mobile terminal;
And after the user identity is verified based on the login request, receiving an opening instruction from the user, and opening an OBSS function in response to the opening instruction.
It should be noted that, when the apparatus 3 provided in the foregoing embodiment performs the frequency point switching method, only the division of the foregoing functional modules is used as an example, and in practical application, the foregoing functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the frequency point switching device and the frequency point switching method provided in the foregoing embodiments belong to the same concept, which embody the detailed implementation process in the method embodiment, and are not described herein again.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the steps of the method shown in the embodiment of fig. 2, and the specific execution process may refer to the specific description of the embodiment shown in fig. 2, which is not repeated herein.
The present application also provides a computer program product storing at least one instruction that is loaded and executed by the processor to implement the frequency point switching method according to the above embodiments.
Referring to fig. 4, a schematic structure diagram of a wireless access point is provided in an embodiment of the present application. As shown in fig. 4, the wireless access point 400 may include at least one processor 401, a communication interface 403, a memory 404, at least one communication bus 402, a WiFi4 controller, and a BLE controller (not shown in fig. 4).
Wherein communication bus 402 is used to enable connected communications between these components. The WiFi4 controller and the BLE controller, the processor and the memory are respectively connected with the communication bus.
The communication interface 403 includes a 2.4G radio frequency module, and may transmit a WiFi protocol data packet and a bluetooth protocol data packet.
Wherein the processor 401 may include one or more processing cores. The processor 401 connects the various portions of the overall wireless access point 400 using various interfaces and lines, performs various functions of the wireless access point 400 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 404, and invoking data stored in the memory 404.
The Memory 404 may include a random access Memory (RandomAccess Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 404 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 404 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 404 may include a stored program area that may store instructions for implementing an operating system, instructions for at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, etc., and a stored data area that may store data related to the various method embodiments described above, etc. The memory 404 may also optionally be at least one storage device located remotely from the aforementioned processor 401. As shown in FIG. 4, an operating system, network communication modules, and application programs may be included in memory 404, which is a type of computer storage medium.
In the wireless access point 400 shown in fig. 4, the processor 401 may be configured to invoke an application program stored in the memory 404, and specifically perform the method shown in fig. 2, and the specific process may be shown in fig. 2, which is not described herein.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
The above disclosure is only a preferred embodiment of the present application, and it should be understood that the scope of the application is not limited thereto, and those skilled in the art will appreciate that all or part of the procedures described above can be performed according to the equivalent changes of the claims, and still fall within the scope of the present application.

Claims (10)

1. The frequency point switching method is characterized by comprising the following steps of:
the source AP starts an OBSS function;
The source AP receives a broadcast data packet from a target AP on a first working frequency point, analyzes the broadcast data packet to obtain a second working frequency point of the target AP and signal strength of the target AP on the second working frequency point, wherein the target AP starts an OBSS function, and alternately transmits the broadcast data packet on a plurality of frequency points corresponding to a preset frequency point list;
calculating the difference between the signal intensity of the source AP at the first working frequency point and the signal intensity of the target AP at the second working frequency point;
The source AP judges whether the difference value is smaller than a signal intensity threshold value or not;
If yes, the source AP continuously measures the packet error rate of the transmitted data on the first working frequency point;
and if the packet error rate of the sent data is larger than a packet error rate threshold, switching the first working frequency point of the source AP to the second working frequency point of the target AP.
2. The method of claim 1, wherein the switching the operating frequency point of the source AP to the operating frequency point of the target AP comprises:
And the AP sends a frequency point switching instruction to at least one associated STA, wherein the frequency point switching instruction is used for instructing the source AP and the at least one associated STA to switch the current first working frequency point to the second working frequency point of the target AP at the switching moment.
3. The method according to claim 1 or 2, wherein the signal strength threshold is-30 dB and the packet error rate threshold is 30%.
4. A method according to claim 3, further comprising:
and if the difference value is greater than or equal to a signal strength threshold value or the data packet error rate is less than or equal to the packet error rate threshold value, the source AP keeps the current first working frequency point unchanged.
5. The method according to claim 1,2 or 4, wherein said parsing the broadcast packet to obtain a second operating frequency point of the target AP and a signal strength of the target AP at the second operating frequency point includes:
Analyzing the packet head of the broadcast data packet to obtain a current second working frequency point of the target AP, and measuring the broadcast data packet to obtain the signal strength of the target AP on the second working frequency point.
6. The method of claim 5, wherein the source AP continuing to measure the transmitted data packet error rate at the first operating frequency point comprises:
The source AP sends a specified number of data packets to the associated STA within a preset duration;
And the source AP records the ACK feedback of each sent data packet, and obtains the percentage of the received ACK to the total number of the data packets by counting the total number of the sent data packets and the number of the received ACK messages, and calculates the sending packet error rate by using 1-percent.
7. The method of claim 1 or 2 or 4 or 6, wherein the source AP turns on OBSS functions, comprising:
receiving a login request sent by a user through an APP of a mobile terminal;
And after the user identity is verified based on the login request, receiving an opening instruction from the user, and opening an OBSS function in response to the opening instruction.
8. The utility model provides a switching device of frequency point which characterized in that includes:
An opening unit, configured to open an OBSS function;
The system comprises a target AP, an analysis unit, a broadcasting data packet, a receiving unit and a receiving unit, wherein the target AP is used for receiving the broadcasting data packet from the target AP on a first working frequency point, analyzing the broadcasting data packet to obtain a second working frequency point of the target AP and signal intensity of the target AP on the second working frequency point;
A calculating unit, configured to calculate a difference between a signal strength of the source AP at the first operating frequency point and a signal strength of the target AP at the second operating frequency point;
a judging unit, configured to judge whether the difference is smaller than a signal strength threshold;
The measuring unit is used for continuously measuring the packet error rate of the transmission data on the first working frequency point if the judging structure of the judging unit is yes;
and the switching unit is used for switching the first working frequency point of the source AP to the second working frequency point of the target AP if the packet error rate of the sent data is larger than a packet error rate threshold value.
9. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 7.
10. A wireless access point comprising a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-7.
CN202510310583.6A 2025-03-17 2025-03-17 Frequency switching method, device, storage medium and wireless access point Pending CN120129009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510310583.6A CN120129009A (en) 2025-03-17 2025-03-17 Frequency switching method, device, storage medium and wireless access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510310583.6A CN120129009A (en) 2025-03-17 2025-03-17 Frequency switching method, device, storage medium and wireless access point

Publications (1)

Publication Number Publication Date
CN120129009A true CN120129009A (en) 2025-06-10

Family

ID=95920981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510310583.6A Pending CN120129009A (en) 2025-03-17 2025-03-17 Frequency switching method, device, storage medium and wireless access point

Country Status (1)

Country Link
CN (1) CN120129009A (en)

Similar Documents

Publication Publication Date Title
JP7317968B2 (en) Methods and devices operating on unlicensed spectrum
RU2651244C2 (en) Enhanced active scanning in wireless local area networks
EP3130174B1 (en) Method of controlling handover in mobile communication networks and apparatus implementing the method
US7813744B2 (en) Method for determining DFS channel availability in a wireless LAN
EP2785136B1 (en) Relieving Congestion in Wireless Local Area Networks
US11736996B2 (en) Conditional handover method and apparatus
EP4187973B1 (en) Terminal roaming method, apparatus, and wireless local area network
EP3182784B1 (en) Method and apparatus for adjusting clear channel assessment (cca) threshold
CN104869586B (en) A kind of processing method and access point apparatus of dynamic channel detection
CN113632580A (en) COT sharing indicator for message 3 during random access procedure
CN111294825B (en) Signal measurement control method and device, storage medium and terminal
US12432654B2 (en) Wireless roaming method and system
US9445407B2 (en) Dynamic setting of transmission time in a contention based wireless system
CN102883301B (en) Force method, device and the access controller of client roaming
CN111405675B (en) Random access method, terminal and network device
JP2022540592A (en) Conditional configuration of wireless communication networks
US20210368544A1 (en) Methods, Terminal Device and Base Station for Channel Sensing in Unlicensed Spectrum
JP2022543228A (en) User equipment involved in performing random access procedures
CN103856959A (en) Wireless local area network quality monitoring method, device and system
CN108471614A (en) A kind of method for sending information and device
WO2024012571A1 (en) Random access method and apparatus, and terminal and network-side device
TW202404311A (en) Beamforming techniques in wi-fi frequency bands
CN106550377B (en) Communication method, access point and station
US12389260B2 (en) Delay performance evaluation method and apparatus, and storage medium
CN112020095A (en) Upstream bandwidth partial handover processing method

Legal Events

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