WiFi channel switching method and related equipment
By monitoring and analyzing channel parameters and data throughput in real time in the WiFi connection device, and performing channel switching according to preset conditions, the problem of communication quality degradation caused by inaccurate channel switching in the prior art is solved, and more stable and high-quality WiFi communication is achieved.
Patent Information
- Application Number
- CN202510004060.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-11
AI Technical Summary
The prior art fails to accurately analyze channels during WiFi channel switching, resulting in possible switching to channels with greater interference, resulting in a degradation of communication quality.
By collecting and filtering channel parameters in the WiFi connection device, data throughput is monitored in real time, and whether channel switching is performed is determined based on preset conditions, thereby selecting the optimal target channel for switching.
It effectively avoids external interference, reduces the possibility of mistaken switching to a channel with more interference, and makes WiFi communication faster, stable and better quality.
Smart Images

Figure CN119815447A_ABST
Abstract
Description
Technical Field
[0001] The present invention is applicable to the technical field of wireless communication, and in particular relates to a WiFi channel switching method and related equipment. Background Art
[0002] Channel Switch Announcement (CSA) is a component in the 802.11h protocol, which is mainly used to dynamically switch WiFi channels to reduce interference, especially in an environment where wireless networks coexist with radars. CSA enables WiFi devices to notify other devices of the new channel they are about to switch to within a certain period of time to ensure a smooth switching process. 802.11h adds the ability to dynamically switch channels to the network. When the channel of a wireless access point (AP) needs to be switched, it will notify the wireless station (STA) of the channel to be switched to through a channel switch announcement frame so that the STA can switch to the new channel more quickly.
[0003] However, the related technologies all directly use WiFi CSA to switch channels, without accurately analyzing the channels and effectively avoiding interference. It is even possible to switch to a channel with greater interference, resulting in a significant decrease in communication quality.
[0004] Therefore, there is an urgent need for a new WiFi channel switching method and related equipment to solve the above technical problems. Summary of the invention
[0005] The present invention provides a WiFi channel switching method and related equipment, aiming to quickly analyze channel conditions, avoid interference to a great extent, and make WiFi communication fast and stable.
[0006] In a first aspect, the present invention provides a WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, and the WiFi channel switching method includes the following steps:
[0007] S101, initializing a WiFi module of the receiver, wherein the receiver receives data sent by the transmitter based on the WiFi module;
[0008] S102, the receiver collects channel parameters of multiple target channels, and screens the channel parameters of the multiple target channels to obtain an optimal target channel list; wherein the channel parameters include noise amount, signal-to-noise ratio, and channel utilization;
[0009] S103, the receiver monitors the data throughput when receiving the data sent by the transmitter in real time, and determines whether the data throughput is abnormal: if so, proceed to step S104; if not, maintain the current channel;
[0010] S104, judging whether to switch channels according to preset conditions: if yes, proceed to step S105; if no, maintain the current channel;
[0011] S105, the receiver selects a target channel to be switched from the optimal target channel list, and sends a channel switching announcement to the transmitter;
[0012] S106. The receiver switches the current channel to the target channel to be switched.
[0013] Preferably, the preset condition includes: if the signal strength of the current channel is lower than -70dBm and the packet loss rate of the current channel exceeds 10%, no channel switching is performed.
[0014] Preferably, the preset condition includes: if the signal-to-noise ratio of the current channel is less than 20dB and the noise amount of the current channel is greater than -90dBm, channel switching is performed; if the noise amount of the current channel is less than -90dBm, channel switching is not performed.
[0015] Preferably, the preset condition includes: if the channel utilization rate of the current channel is greater than 70%, then performing channel switching.
[0016] Preferably, the preset condition includes: if the modulation and coding strategy information of the current channel is lower than a preset threshold, channel switching is performed.
[0017] In a second aspect, the present invention further provides a WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, and the WiFi channel switching method includes the following steps:
[0018] S201, initializing a transmitter WiFi module of the transmitter, wherein the transmitter sends data to the receiver based on the transmitter WiFi module;
[0019] S202, the transmitter receives a channel switching announcement sent by the receiver; wherein the channel switching announcement is obtained by the receiver analyzing the data throughput when the transmitter sends data and the channel parameters of multiple target channels;
[0020] S203: The transmitter performs channel switching according to the channel switching announcement.
[0021] In a third aspect, an embodiment of the present invention further provides a receiver, comprising: a memory, a processor, and a WiFi channel switching program stored in the memory and executable on the processor, wherein when the processor executes the WiFi channel switching program, the steps in the WiFi channel switching method described in any one of the above embodiments are implemented.
[0022] In a fourth aspect, an embodiment of the present invention further provides a transmitter, comprising: a memory, a processor, and a WiFi channel switching program stored in the memory and executable on the processor, wherein when the processor executes the WiFi channel switching program, the steps in the WiFi channel switching method described in any one of the above embodiments are implemented.
[0023] In a fifth aspect, an embodiment of the present invention further provides a WiFi channel switching system, comprising a transmitter and a receiver as described in the above embodiments.
[0024] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a WiFi channel switching program is stored. When the WiFi channel switching program is executed by a processor, the steps in the WiFi channel switching method described in any one of the above are implemented.
[0025] Compared with the prior art, the present invention can analyze the target channel, comprehensively consider the interference of itself and environmental factors, and quickly analyze the state of the target channel according to preset conditions, thereby avoiding external interference and erroneous switching to channels with greater interference to a great extent, making WiFi communication fast, stable and of better quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention will be described in detail below in conjunction with the accompanying drawings. The above and other aspects of the present invention will become clearer and easier to understand through the detailed description made in conjunction with the following drawings. In the accompanying drawings:
[0027] Figure 1 is a flowchart of the steps of the WiFi channel switching method provided by an embodiment of the present invention;
[0028] Figure 2 It is a flowchart of another method for switching WiFi channels provided by an embodiment of the present invention;
[0029] Figure 3 is a schematic block diagram of the structure of a receiver provided by an embodiment of the present invention;
[0030] Figure 4 It is a schematic block diagram of the structure of a transmitter provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0032] Embodiment 1
[0033] Please refer to Figure 1 The present invention provides a WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, and the WiFi channel switching method includes the following steps:
[0034] S101, initializing a WiFi module of the receiver, and the receiver receives data sent by the transmitter based on the WiFi module.
[0035] In an embodiment of the present invention, the receiver acts as a SfotAP (Software Access Point), the transmitter acts as a Sation, and bidirectional data transmission is achieved through the WiFi module. The receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, the receiver simultaneously switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0036] S102, the receiver collects channel parameters of multiple target channels, and screens them according to the channel parameters of the multiple target channels to obtain an optimal target channel list; wherein the channel parameters include noise amount, signal-to-noise ratio and channel utilization.
[0037] In the embodiment of the present invention, the receiver collects channel parameters of multiple target channels through a channel monitoring module.
[0038] S103, the receiver monitors the data throughput when receiving the data sent by the transmitter in real time, and determines whether the data throughput is abnormal: if so, proceed to step S104; if not, maintain the current channel.
[0039] In an embodiment of the present invention, the receiver monitors in real time the data throughput when receiving data sent by the transmitter through a channel analyzer. An abnormality in the data throughput may be manifested as a continuous large fluctuation in the data volume (such as a fluctuation in the data volume within ±10 mbps) or as a freeze in the real-time video playback.
[0040] S104, judging whether to switch channels according to preset conditions: if yes, proceed to step S105; if no, maintain the current channel.
[0041] In the embodiment of the present invention, the preset condition includes: if the signal strength of the current channel is lower than -70dBm and the packet loss rate of the current channel exceeds 10%, it is determined that the influence is caused by the physical distance between the receiver and the transmitter being too far, and the channel switching is not performed. It should be noted that the judgment value of the signal strength of the current channel can be set according to the actual situation and is not limited to -70dBm.
[0042] If the packet loss rate of the current channel exceeds 10%, if the signal strength and signal-to-noise ratio are stable, it is considered that the channel environment is disturbed and channel switching is prepared; otherwise, it is considered that the influence is caused by the physical distance between the receiver and the transmitter being too far. It should be noted that the judgment value of the packet loss rate can be set according to the actual situation and is not limited to -10%. Other values are also feasible.
[0043] If the signal-to-noise ratio of the current channel is less than 20dB and the noise level of the current channel is greater than -90dBm, the channel is switched; if the noise level of the current channel is less than -90dBm, the channel is not switched. It should be noted that the judgment values of the signal-to-noise ratio and the noise level can be set according to actual conditions, and are not limited to less than 20dB or greater than -90dBm, and other values are also feasible.
[0044] If the channel utilization rate of the current channel is greater than 70%, the channel is switched. It should be noted that the judgment value of the channel utilization rate can be set according to actual conditions and is not limited to greater than 70%. Other values are also feasible.
[0045] If the modulation and coding scheme (MCS) information of the current channel is lower than a preset threshold (such as mcs4) or fluctuates greatly (such as when the fluctuation exceeds mcs±3), it often indicates that the communication rate is unstable. If the signal strength is stable, it is considered that the channel environment is disturbed, and the channel is switched. Specifically, the modulation and coding strategy is the process of converting digital signals into a format suitable for transmission or storage, and sending them to the channel through a specific modulation method.
[0046] S105, the receiver selects a target channel to be switched from the optimal target channel list, and sends a channel switching announcement to the transmitter;
[0047] S106. The receiver switches the current channel to the target channel to be switched.
[0048] In the embodiment of the present invention, the transmitter will switch channels at the same time at the agreed time point according to the channel switching announcement, so as to continue to maintain the WiFi connection.
[0049] Specifically, the receiver and the transmitter implement bidirectional data transmission through the WIFI module and the transmitter WIFI module. The receiver collects channel parameters of multiple target channels through a channel monitoring module, and the receiver monitors the data throughput when receiving data sent by the transmitter in real time through a channel analyzer, and screens out an optimal target channel list by judging the channel parameters (noise amount, signal-to-noise ratio, and channel utilization) of multiple target channels, and staggers and selects a channel in the optimal target channel list as a target channel to be switched.
[0050] When the receiver finds that the data throughput is abnormal, it determines whether to switch channels based on preset conditions. If channel switching is required, the receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, it switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0051] Compared with the prior art, the present invention can analyze the target channel, comprehensively consider the interference of itself and environmental factors, and quickly analyze the state of the target channel according to preset conditions, thereby avoiding external interference and erroneous switching to channels with greater interference to a great extent, making WiFi communication fast, stable and of better quality.
[0052] Embodiment 2
[0053] An embodiment of the present invention also provides another WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, and the WiFi channel switching method includes the following steps:
[0054] S201, initializing a transmitter WiFi module of the transmitter, wherein the transmitter sends data to the receiver based on the transmitter WiFi module;
[0055] In an embodiment of the present invention, the receiver acts as a SfotAP (Software Access Point) and the transmitter acts as a Sation, and bidirectional data transmission is realized through the WiFi module. The receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, the receiver simultaneously switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0056] S202, the transmitter receives a channel switching announcement; wherein the channel switching announcement is obtained by the receiver analyzing the data throughput of the transmitter when sending data and the channel parameters of the target channel, and the channel parameters include noise amount, signal-to-noise ratio and channel utilization.
[0057] S203: The transmitter performs channel switching according to the channel switching announcement.
[0058] In the embodiment of the present invention, according to the channel switching announcement, the receiver and the transmitter simultaneously switch channels at an agreed time point, thereby continuing to maintain the WiFi connection.
[0059] Specifically, the receiver and the transmitter implement bidirectional data transmission through the WIFI module and the transmitter WIFI module. The receiver collects channel parameters of multiple target channels through a channel monitoring module, and the receiver monitors the data throughput when receiving data sent by the transmitter in real time through a channel analyzer, and screens out an optimal target channel list by judging the channel parameters (noise amount, signal-to-noise ratio, and channel utilization) of multiple target channels, and staggers and selects a channel in the optimal target channel list as a target channel to be switched.
[0060] When the receiver finds that the data throughput is abnormal, it determines whether to switch channels based on preset conditions. If channel switching is required, the receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, it switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0061] Embodiment 3
[0062] The present invention also provides a receiver, see Figure 3 , Figure 3 3 is a schematic block diagram of the structure of a receiver 300 provided in an embodiment of the present invention. The receiver 300 includes: a memory 302, a processor 301, and a WiFi channel switching program stored in the memory 302 and executable on the processor 301.
[0063] The processor 301 calls the WiFi channel switching program stored in the memory 302 to execute the steps of the WiFi channel switching method provided in the embodiment of the present invention. Figure 1 , including:
[0064] S101, initializing a WiFi module of the receiver, and the receiver receives data sent by the transmitter based on the WiFi module.
[0065] In an embodiment of the present invention, the receiver acts as a SfotAP (Software Access Point) and the transmitter acts as a Sation, and bidirectional data transmission is realized through the WiFi module. The receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, the receiver simultaneously switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0066] S102, the receiver collects channel parameters of multiple target channels, and screens them according to the channel parameters of the multiple target channels to obtain an optimal target channel list; wherein the channel parameters include noise amount, signal-to-noise ratio and channel utilization.
[0067] In the embodiment of the present invention, the receiver collects channel parameters of multiple target channels through a channel monitoring module.
[0068] S103, the receiver monitors the data throughput when receiving the data sent by the transmitter in real time, and determines whether the data throughput is abnormal: if so, proceed to step S104; if not, maintain the current channel.
[0069] In an embodiment of the present invention, the receiver monitors in real time the data throughput when receiving data sent by the transmitter through a channel analyzer. An abnormality in the data throughput may be manifested as a continuous large fluctuation in the data volume (such as a fluctuation in the data volume within ±10 mbps) or as a freeze in the real-time video playback.
[0070] S104, judging whether to switch channels according to preset conditions: if yes, proceed to step S105; if no, maintain the current channel.
[0071] In the embodiment of the present invention, the preset condition includes: if the signal strength of the current channel is lower than -70dBm and the packet loss rate of the current channel exceeds 10%, it is determined that the influence is caused by the physical distance between the receiver and the transmitter being too far, and the channel switching is not performed;
[0072] If the packet loss rate of the current channel exceeds 10%, and if the signal strength and signal-to-noise ratio are stable, it is considered that the channel environment is disturbed and channel switching is prepared; otherwise, it is considered that the influence is caused by the physical distance between the receiver and the transmitter being too far.
[0073] If the signal-to-noise ratio of the current channel is less than 20dB and the noise level of the current channel is greater than -90dBm, channel switching is performed; if the noise level of the current channel is less than -90dBm, channel switching is not performed.
[0074] If the channel utilization rate of the current channel is greater than 70%, channel switching is performed.
[0075] If the modulation and coding scheme (MCS) information of the current channel is lower than a preset threshold (such as mcs4) or fluctuates greatly (such as when the fluctuation exceeds mcs±3), it often indicates that the communication rate is unstable. If the signal strength is stable, it is considered that the channel environment is disturbed, and the channel is switched. Specifically, the modulation and coding strategy is the process of converting digital signals into a format suitable for transmission or storage, and sending them to the channel through a specific modulation method.
[0076] S105, the receiver selects a target channel to be switched from the optimal target channel list, and sends a channel switching announcement to the transmitter;
[0077] S106. The receiver switches the current channel to the target channel to be switched.
[0078] In the embodiment of the present invention, the transmitter will switch channels at the same time at the agreed time point according to the channel switching announcement, so as to continue to maintain the WiFi connection.
[0079] Specifically, the receiver and the transmitter implement bidirectional data transmission through the WIFI module and the transmitter WIFI module. The receiver collects channel parameters of multiple target channels through a channel monitoring module, and the receiver monitors the data throughput when receiving data sent by the transmitter in real time through a channel analyzer, and screens out an optimal target channel list by judging the channel parameters (noise amount, signal-to-noise ratio, and channel utilization) of multiple target channels, and staggers and selects a channel in the optimal target channel list as a target channel to be switched.
[0080] When the receiver finds that the data throughput is abnormal, it determines whether to switch channels based on preset conditions. If channel switching is required, the receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, it switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0081] The receiver 300 provided in the embodiment of the present invention can be used to implement steps S101 to S106 in the WiFi channel switching method provided in the embodiment of the present invention, and the technical problems solved and the technical effects achieved are also the same. Please refer to the description of the above WiFi channel switching method, which will not be repeated here.
[0082] Embodiment 4
[0083] The present invention also provides a transmitter, see Figure 4 , Figure 4 4 is a schematic block diagram of the structure of a transmitter 400 provided in an embodiment of the present invention. The transmitter 400 includes: a memory 402, a processor 401, and a program stored in the memory 402 and executable on the processor 401.
[0084] The processor 401 calls the WiFi channel switching program stored in the memory 402 to execute the steps of the WiFi channel switching method provided in the embodiment of the present invention. Figure 2 , including:
[0085] S201, initializing the WiFi module of the transmitter, and the transmitter sending data to the receiver based on the WiFi module;
[0086] In an embodiment of the present invention, the receiver acts as a SfotAP (Software Access Point) and the transmitter acts as a Sation, and bidirectional data transmission is realized through the WiFi module. The receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, the receiver simultaneously switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0087] S202, the transmitter receives a channel switching announcement sent by the receiver; wherein the channel switching announcement is obtained by the receiver analyzing the data throughput of the transmitter when sending data and the channel parameters of the target channel, and the channel parameters include noise amount, signal-to-noise ratio and channel utilization.
[0088] S203: The transmitter performs channel switching according to the channel switching announcement.
[0089] In the embodiment of the present invention, according to the channel switching announcement, the receiver and the transmitter simultaneously switch channels at an agreed time point, thereby continuing to maintain the WiFi connection.
[0090] Specifically, the receiver and the transmitter implement bidirectional data transmission through the WIFI module and the transmitter WIFI module. The receiver collects channel parameters of multiple target channels through a channel monitoring module, and the receiver monitors the data throughput when receiving data sent by the transmitter in real time through a channel analyzer, and screens out an optimal target channel list by judging the channel parameters (noise amount, signal-to-noise ratio, and channel utilization) of multiple target channels, and staggers and selects a channel in the optimal target channel list as a target channel to be switched.
[0091] When the receiver finds that the data throughput is abnormal, it determines whether to switch channels based on preset conditions. If channel switching is required, the receiver initiates a channel switching announcement (WiFi CSA) to the transmitter, and after the transmitter receives the channel switching announcement, it switches channels at the agreed time, thereby continuing to maintain the WiFi connection.
[0092] The transmitter 400 provided in the embodiment of the present invention can be used to implement steps S201 to S203 in the WiFi channel switching method provided in the embodiment of the present invention, and the technical problems solved and the technical effects achieved are also the same. Please refer to the description of the above WiFi channel switching method, which will not be repeated here.
[0093] Embodiment 5
[0094] An embodiment of the present invention further provides a WiFi channel switching system, which includes the transmitter and the receiver mentioned in the above embodiment. When the WiFi channel switching system is in operation, it implements the various processes and steps in the WiFi channel switching method provided in the above embodiment, such as steps S101 to S106, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0095] Embodiment 6
[0096] An embodiment of the present invention further provides a computer-readable storage medium, on which a WiFi channel switching program is stored. When the WiFi channel switching program is executed by a processor, the various processes and steps in the WiFi channel switching method provided in the embodiment of the present invention, such as steps S101 to S106, or steps S201 to S203, are implemented, and the same technical effects can be achieved. To avoid repetition, they are not described here.
[0097] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0100] The embodiments of the present invention are described above in conjunction with the accompanying drawings. What is disclosed is only the preferred embodiment of the present invention. However, the present invention is not limited to the above-mentioned specific implementation manner. The above-mentioned specific implementation manner is only illustrative rather than restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms and equivalent changes without departing from the scope of protection of the purpose of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, and is characterized in that: The WiFi channel switching method comprises the following steps: S101, initializing a WiFi module of the receiver, wherein the receiver receives data sent by the transmitter based on the WiFi module; S102, the receiver collects channel parameters of multiple target channels, and screens the channel parameters of the multiple target channels to obtain an optimal target channel list; wherein the channel parameters include noise amount, signal-to-noise ratio, and channel utilization; S103, the receiver monitors the data throughput when receiving the data sent by the transmitter in real time, and determines whether the data throughput is abnormal: if so, proceed to step S104; if not, maintain the current channel connecting the receiver and the transmitter; S104, judging whether to switch channels according to preset conditions: if yes, proceed to step S105; if no, maintain the current channel; S105, the receiver selects a target channel to be switched from the optimal target channel list, and sends a channel switching announcement to the transmitter; S106. The receiver switches the current channel to the target channel to be switched.
2. The WiFi channel switching method according to claim 1, characterized in that: The preset condition includes: if the signal strength of the current channel is lower than -70dBm and the packet loss rate of the current channel exceeds 10%, no channel switching is performed.
3. The WiFi channel switching method according to claim 1, wherein: The preset conditions include: if the signal-to-noise ratio of the current channel is less than 20dB and the noise level of the current channel is greater than -90dBm, channel switching is performed; if the noise level of the current channel is less than -90dBm, channel switching is not performed.
4. The WiFi channel switching method according to claim 1, wherein: The preset condition includes: if the channel utilization rate of the current channel is greater than 70%, then performing channel switching.
5. The WiFi channel switching method according to claim 1, wherein: The preset condition includes: if the modulation and coding strategy information of the current channel is lower than a preset threshold, channel switching is performed.
6. A WiFi channel switching method, the WiFi channel switching method is based on a WiFi connection device, the WiFi connection device includes a transmitter and a receiver, the transmitter is communicatively connected with the receiver, characterized in that: The WiFi channel switching method comprises the following steps: S201, initializing the transmitter WiFi module of the transmitter, and the transmitter sends data to the receiver based on the transmitter WiFi module; S202, the transmitter receives a channel switching announcement; wherein the channel switching announcement is obtained by the receiver analyzing the data throughput of the transmitter when sending data and the channel parameters of multiple target channels; S203: The transmitter performs channel switching according to the channel switching announcement.
7. A receiver, characterized in that: include: A memory, a processor, and a WiFi channel switching program stored in the memory and executable on the processor, wherein the processor implements the steps in the WiFi channel switching method according to any one of claims 1 to 5 when executing the WiFi channel switching program.
8. A transmitter, characterized in that: include: A memory, a processor, and a WiFi channel switching program stored in the memory and executable on the processor, wherein the processor implements the steps in the WiFi channel switching method as described in claim 6 when executing the WiFi channel switching program.
9. A WiFi channel switching system, characterized in that: Comprising the transmitter as claimed in claim 7 and the receiver as claimed in claim 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a WiFi channel switching program, and when the WiFi channel switching program is executed by the processor, the steps of the WiFi channel switching method according to any one of claims 1 to 5 or the steps of the method according to claim 6 are implemented.
Citation Information
Cited By
Channel selection method based on time dimension statistics and stability sorting
CN121619633A
A channel selection method based on time dimension statistics and stability ranking
CN121619633B