CN111194063A - Wi-Fi channel switching method and AP equipment - Google Patents

Wi-Fi channel switching method and AP equipment Download PDF

Info

Publication number
CN111194063A
CN111194063A CN201811361518.2A CN201811361518A CN111194063A CN 111194063 A CN111194063 A CN 111194063A CN 201811361518 A CN201811361518 A CN 201811361518A CN 111194063 A CN111194063 A CN 111194063A
Authority
CN
China
Prior art keywords
channel
hotspot
component
new
client
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
CN201811361518.2A
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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201811361518.2A priority Critical patent/CN111194063A/en
Publication of CN111194063A publication Critical patent/CN111194063A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality

Abstract

The embodiment of the application provides a Wi-Fi channel switching method and AP equipment, which are applied to the AP equipment comprising a hotspot component and a hotspot scanning component. When the hotspot scanning component is switched to a first Wi-Fi channel, the hotspot scanning component scans interference data information of the first Wi-Fi channel in real time; and if the scanned interference data information of the first Wi-Fi channel meets the preset conditions, selecting a new Wi-Fi channel for the hotspot component, and switching the hotspot component from the first Wi-Fi channel to the new Wi-Fi channel. Therefore, the first Wi-Fi channel where the hotspot component is located can be monitored in real time, and channel switching can be performed timely when needed.

Description

Wi-Fi channel switching method and AP equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a Wi-Fi channel switching method and an AP device.
Background
Wi-fi (wireless fidelity) technology is a wireless lan technology based on IEEE 802.11b standard, and is widely used for data transmission. Wi-Fi network segments defined in the IEEE 802.11 standard are usually in an Industrial Scientific Medical (ISM) frequency band, and since the ISM frequency band does not need to be authorized during use, Wi-Fi devices in the actual environment are more and more, and the mutual interference is more and more serious.
In the related art, a CSMA/CA (carrier sense multiple access with collision) carrier sense multiple access/collision avoidance mechanism is generally adopted in a standard Wi-Fi technology, so that when a plurality of Wi-Fi hotspot devices exist in the same channel at the same time in a certain range and need to communicate, the CSMA/CA mechanism only allows one of the hotspot devices to perform signal transmission. Therefore, when Wi-Fi is used to transmit video signals in a place with more hotspot devices, video jamming or disconnection often occurs. In addition, the currently used Wi-Fi signal has a frequency band of 2.4GHz and a bandwidth of 20/40MHz, and the channel-to-channel spacing is usually 5MHz, which causes overlapping between adjacent or alternate channels, thereby causing interference to data transmission in the channels, and causing information retransmission when the error rate is high to a certain extent.
In a video monitoring scene using Wi-Fi communication, a Wi-Fi channel between an AP (access point) device of Wi-Fi and a user device is easily affected by other devices using the Wi-Fi channel, or other channels adjacent to or alternate with the Wi-Fi channel, thereby causing video transmission jam or video drop.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, an object of the present application is to provide a Wi-Fi channel switching method and an AP device.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a Wi-Fi channel switching method, which is applied to an AP device, where the AP device includes a hotspot component and a hotspot scanning component that are in communication connection with each other; the method comprises the following steps:
the hotspot scanning component scans interference data information of a first Wi-Fi channel in real time when the hotspot component is switched to the first Wi-Fi channel;
if the scanned interference data information of the first Wi-Fi channel meets a preset condition, the hotspot scanning component selects a new Wi-Fi channel for the hotspot component, and the hotspot component is switched from the first Wi-Fi channel to the new Wi-Fi channel.
In a second aspect, an embodiment of the present application further provides a Wi-Fi channel switching method, which is applied to a processor of an AP device, where the AP device further includes a first Wi-Fi client and a second Wi-Fi client that are electrically connected to the processor, respectively; the method comprises the following steps:
when the first Wi-Fi client is controlled to be switched to the first Wi-Fi channel, the second Wi-Fi client is controlled to scan interference data information of the first Wi-Fi channel in real time;
if the scanned interference data information of the first Wi-Fi channel meets a preset condition, controlling the second Wi-Fi client to scan the Wi-Fi channel in the environment;
selecting a new Wi-Fi channel for the first Wi-Fi client according to interference data information obtained by scanning;
controlling the first Wi-Fi client to switch from the first Wi-Fi channel to the new Wi-Fi channel.
In a third aspect, an embodiment of the present application provides an AP device, including a hotspot component and a hotspot scanning component, which are in communication connection with each other;
the hotspot scanning component is used for scanning interference data information of a first Wi-Fi channel in real time when the hotspot component is switched to the first Wi-Fi channel; if the scanned interference data information of the first Wi-Fi channel meets a preset condition, the hotspot scanning component selects a new Wi-Fi channel for the hotspot component, and the hotspot component is switched from the first Wi-Fi channel to the new Wi-Fi channel.
In a fourth aspect, an embodiment of the present application further provides an AP device, including a processor, and a first Wi-Fi client and a second Wi-Fi client electrically connected to the processor, respectively; the processor includes:
the first scanning module is used for controlling the second Wi-Fi client to scan the interference data of the first Wi-Fi channel in real time when controlling the first Wi-Fi client to switch to the first Wi-Fi channel;
the second scanning module is used for controlling the second Wi-Fi client to scan the Wi-Fi channels in the environment if the scanned interference data information of the first Wi-Fi channel meets the preset condition;
the channel selection module is used for selecting a new Wi-Fi channel for the first Wi-Fi client according to the interference data information obtained by scanning;
and the channel switching module is used for controlling the first Wi-Fi client to switch from the first Wi-Fi channel to the new Wi-Fi channel.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
the embodiment of the application provides a Wi-Fi channel switching method and AP equipment. When the hotspot scanning component is switched to a first Wi-Fi channel, the hotspot scanning component scans interference data information of the first Wi-Fi channel in real time; and if the scanned interference data information of the first Wi-Fi channel meets the preset conditions, selecting a new Wi-Fi channel for the hotspot component, and switching the hotspot component from the first Wi-Fi channel to the new Wi-Fi channel. Therefore, the first Wi-Fi channel where the hotspot component is located can be monitored in real time, and channel switching can be performed timely when needed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic block diagram of an AP device according to an embodiment of the present disclosure;
fig. 2 is a schematic block diagram of an AP device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a Wi-Fi channel switching method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating the sub-steps of step S32 shown in FIG. 3;
FIG. 5 is a schematic diagram illustrating the sub-steps of step S42 shown in FIG. 4;
fig. 6 is a schematic flowchart of another Wi-Fi channel switching method according to an embodiment of the present application;
fig. 7 is a functional block diagram of a processor of an AP device according to an embodiment of the present disclosure.
Icon: 10-AP equipment; 11-a hotspot component; 12-a hotspot scanning component; 101-a processor; 1011-a first scanning module; 1012-a second scanning module; 1013-a channel selection module; 1014-a channel switching module; 102-a first Wi-Fi client; 103-a second Wi-Fi client.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The inventor finds that, in the related art, an AP (access point) device mainly selects a working channel in the following two ways:
firstly, when the AP equipment is started, the Wi-Fi channel in the environment is searched, the Wi-Fi channel with the minimum interference is selected as a working channel, and then the Wi-Fi channel is always in the working channel.
Secondly, when the AP equipment is started, the Wi-Fi channel with the minimum interference is selected as a working channel, interference data information in the working channel is scanned at intervals in the working process, whether the working channel has larger interference or not is judged, and if the working channel has larger interference, the working channel is switched to other channels with smaller interference.
In the first mode, since the wireless communication device always operates on one Wi-Fi channel, when the interference in the Wi-Fi channel is large, the user equipment in the Wi-Fi channel may have a problem of disconnection or data transmission jam.
In the second mode, the AP device generally has two working modes, a hotspot mode and a non-hotspot mode, and when the AP device scans, it needs to switch to the non-hotspot mode, and at this time, a hotspot function cannot be provided for the user device in the channel. In other words, when the AP device scans, it may cause the ue to disconnect. Therefore, the AP device cannot perform scanning frequently, but only at intervals of a certain time length. For this reason, and the resource consumption of the AP device by scanning, the interval duration of scanning cannot be set too short, typically between 45 minutes and 120 minutes. If the working channel of the AP device has large interference within the interval duration, channel switching cannot be performed in time, thereby causing a problem that the user device in the working channel is disconnected or data transmission is stuck.
In view of the foregoing problems, embodiments of the present application provide a Wi-Fi channel switching method and AP device, which are described in detail as follows.
As shown in fig. 1, which is a block schematic diagram of an AP device 10 according to an embodiment of the present application, the AP device 10 includes a hotspot component 11 and a hotspot scanning component 12, which are communicatively connected to each other. The hotspot component 11 is configured to provide a wireless hotspot function, and may be accessed by a user device such as an intelligent terminal (e.g., a mobile phone, a notebook computer, etc.), a wireless IPC (internet protocol camera), etc. The hotspot scanning component 12 is configured to scan the number of AP devices, the signal strength of the AP devices, the traffic size of the AP devices, the number of user devices, the signal strength of the user devices, and the like in each Wi-Fi channel in the environment.
In a first embodiment, hotspot component 11 and hotspot scanning component 12 may be hardware Wi-Fi modules with their own processors.
In a second embodiment, as shown in fig. 2, for example, the AP device 10 may include a processor 101, and a first Wi-Fi client 102 and a second Wi-Fi client 103 electrically connected to the processor 101, respectively. The processor 101 may be an MCU (micro controller unit) or a CPU (central processing unit), which is not limited in this embodiment. The first Wi-Fi client 102 and the second Wi-Fi client 103 are hardware modules that can provide Wi-Fi hotspot functionality.
In this embodiment, the first Wi-Fi client 102 and the processor 101 may collectively act as a hotspot component 11, and the second Wi-Fi client 103 and the processor 101 may collectively act as a hotspot scanning component 12.
Fig. 3 is a schematic flowchart of a Wi-Fi channel switching method provided in this embodiment, and the method is applied to the AP device 10 in the first specific implementation described above. The various steps involved in the method are described below.
Step S31, when the hotspot scanning component 12 switches to the first Wi-Fi channel, the hotspot scanning component 12 scans the interference data information of the first Wi-Fi channel in real time.
Wherein the first Wi-Fi channel refers to an operating channel of a hotspot component.
In this embodiment, when the AP device 10 starts up, the hotspot component 11 may search Wi-Fi channels in the environment, and select a Wi-Fi channel with the least interference from the searched Wi-Fi channels as the first Wi-Fi channel. Optionally, the hotspot component 11 may determine the interference level of each Wi-Fi channel according to one or more of the number of AP devices in each searched Wi-Fi channel, the signal strength of the AP device, the traffic level of the AP device, the number of user devices, the signal strength of the user devices, and the like, which is not limited in this embodiment.
In this embodiment, since the hotspot component 11 and the hotspot scanning component 12 of the AP device 10 each have a processor, when the hotspot component 11 of the AP device 10 switches to the first Wi-Fi channel, a first notification may be sent to the hotspot scanning component 12 to notify the hotspot scanning component 12 to start monitoring the first Wi-Fi channel. Wherein the first notification includes a channel identification of the first Wi-Fi channel. In this way, when the hotspot scanning component 12 receives the first notification, the interference data information of the first Wi-Fi channel indicated by the channel identifier in the first notification can be scanned.
The interference data information may include the number of AP devices in a Wi-Fi channel, the signal strength of the AP devices, the traffic size of the AP devices, the number of user devices, the signal strength of the user devices, and the like, where the user device in the Wi-Fi channel refers to a user device connected to the AP device in the Wi-Fi channel.
Step S32, if the scanned interference data information of the first Wi-Fi channel meets a preset condition, the hotspot scanning component 12 selects a new Wi-Fi channel for the hotspot component, so that the hotspot component 11 is switched from the first Wi-Fi channel to the new Wi-Fi channel.
The preset condition can be flexibly set according to actual requirements, for example, the preset condition may be: the number of user equipments in the first Wi-Fi channel is 10. Then, when the hotspot scanning component 12 determines that the number of user devices in the first Wi-Fi channel reaches 10 according to the scanned interference data information, channel switching is required, so as to start selecting a new Wi-Fi channel for the hotspot component 11.
It should be noted that the preset condition may be only a specific value of one of the above interference data information, such as a preset number of AP devices, a preset number of user devices, a preset signal strength of an AP device, and the like; the number of the AP devices may be a predetermined number, and the signal strength of the AP device may be a predetermined strength. The present embodiment does not limit this.
Optionally, in this embodiment, step S32 may include the sub-step shown in fig. 4, so as to select a new Wi-Fi channel through the sub-step hotspot component.
Step S41, the hotspot scanning component 12 obtains interference data information of at least two Wi-Fi channels in the environment obtained by scanning, where the at least two Wi-Fi channels include the first Wi-Fi channel and at least one second Wi-Fi channel.
Wherein, since the environment of the hotspot scanning component 12 is the same as the environment of the hotspot component 11, the hotspot scanning component 12 can scan the interference data information of the working channel (i.e. the first Wi-Fi channel) where the hotspot component 11 is located. Wherein the at least one second Wi-Fi channel refers to other Wi-Fi channels in the environment in which the hotspot scanning component 12 (or the hotspot component 11) is located than the first Wi-Fi channel.
Optionally, in an embodiment, the interference data information of the at least two Wi-Fi channels may be obtained by scanning when the interference data information of the first Wi-Fi channel meets the preset condition. In another embodiment, the hotspot scanning component 12 may always scan interference data information of each Wi-Fi channel in the environment, and only monitor the interference data information of the first Wi-Fi channel when the hotspot component 11 switches to the first Wi-Fi channel. And when the interference data information of the first Wi-Fi channel reaches the preset condition, monitoring the interference data information of other Wi-Fi channels (namely, the at least one second Wi-Fi channel).
Step S42, according to the interference data information of the at least one second Wi-Fi channel, selecting a second Wi-Fi channel with the minimum interference from the at least one second Wi-Fi channel as the new Wi-Fi channel.
Wherein, step S42 may include the sub-steps as shown in fig. 5:
step S51, performing weighted summation on the number of AP devices, the signal strength of the AP devices, the traffic size of the AP devices, the number of user devices, and the signal strength of the user devices in the second Wi-Fi channel to obtain a sum.
In practice, step S41 is performed for each second Wi-Fi channel, so as to obtain a sum value corresponding to the second Wi-Fi channel, and thus the number of obtained sum values is consistent with the number of second Wi-Fi channels. For example, when there are 2 second Wi-Fi channels, the sum values obtained are 2, and the 2 sum values correspond to the 2 second Wi-Fi channels, respectively. For another example, when there are 5 second Wi-Fi channels, the sum values obtained are 5, and the 5 sum values respectively correspond to the 5 second Wi-Fi channels.
Step S52, determining a minimum sum value from the sum values of the at least one second Wi-Fi channel, and using the second Wi-Fi channel corresponding to the minimum sum value as the new Wi-Fi channel.
Optionally, in this embodiment, step S22 may further include the following sub-step, so as to enable the hotspot component to switch from the first Wi-Fi channel to the new Wi-Fi channel through this sub-step:
the hotspot scanning component 12 sends a second notification to the hotspot component 11, where the second notification includes the channel identifier of the new Wi-Fi channel.
In this case, the Wi-Fi channel switching method provided in this embodiment may further include:
the hotspot component 11, upon receiving the second notification, switches from the first Wi-Fi channel currently located to the new Wi-Fi channel indicated by the channel identification in the second notification.
Through the above process, the hot spot scanning component 12 in the AP device can scan, and the hot spot function can still be provided through the hot spot component 11 during scanning, so that the AP device 10 can monitor the working channel and each channel in the environment in real time, and thus, when the interference of the working channel is large, a new channel can be selected in time for switching.
Fig. 6 is a schematic flowchart of another Wi-Fi channel switching method provided in this embodiment, which is applied to the AP device 10 in the second embodiment described above. The individual steps involved in the method are described in detail below.
Step S61, when controlling the first Wi-Fi client 102 to switch to the first Wi-Fi channel, controlling the second Wi-Fi client 103 to scan the interference data information of the first Wi-Fi channel in real time.
In this embodiment, the processor 101 may control the first Wi-Fi client 102 to search for a Wi-Fi channel in an environment where the first Wi-Fi client 102 is located when the first Wi-Fi client 102 is started, select a Wi-Fi channel with the least interference as the first Wi-Fi channel, and control the first Wi-Fi client 102 to switch to the first Wi-Fi channel.
Step S62, if the scanned interference data information of the first Wi-Fi channel meets a preset condition, controlling the second Wi-Fi client 103 to scan a Wi-Fi channel in the environment where the second Wi-Fi client is located.
Step S63, selecting a new Wi-Fi channel for the first Wi-Fi client 103 according to the interference data information obtained by scanning.
Step S64, controlling the first Wi-Fi client 103 to switch from the first Wi-Fi channel to the new Wi-Fi channel.
In the present embodiment, the specific implementation manner of steps S62-S64 is similar to that of step S32 described above, and is not described herein again.
Fig. 7 is a schematic diagram of functional modules of a processor 101 of an AP device 10 according to an embodiment of the present disclosure. The processor 101 may include a first scanning module 1011, a second scanning module 1012, a channel selection module 1013, and a channel switching module 1014.
The first scanning module 1011 is configured to control the second Wi-Fi client 103 to perform real-time scanning on the interference data of the first Wi-Fi channel when controlling the first Wi-Fi client 102 to switch to the first Wi-Fi channel.
In this embodiment, the first scanning module 1011 may be configured to perform step S61, and reference may be made to the description of step S61 for the description of the first scanning module 1011.
The second scanning module 1012 is configured to control the second Wi-Fi client 103 to scan the Wi-Fi channel in the environment if the scanned interference data information of the first Wi-Fi channel meets a preset condition.
In this embodiment, the second scanning module 1012 may be configured to perform step S62, and reference may be made to the description of step S62 for the description of the second scanning module.
The channel selecting module 1013 is configured to select a new Wi-Fi channel for the first Wi-Fi client 102 according to the interference data information obtained by scanning.
In this embodiment, the channel selection module 1013 may be configured to execute step S53, and the description of the channel selection module 1013 may specifically refer to the description of step S53.
The channel switching module 1014 is configured to control the first Wi-Fi client 102 to switch from the first Wi-Fi channel to the new Wi-Fi channel.
In this embodiment, the channel switching module 1014 may be configured to execute step S54, and the description of the channel switching module 1014 may refer to the description of step S54.
In summary, the embodiments of the present application provide a Wi-Fi channel switching method and an AP device, where the AP device includes a hotspot component and a hotspot scanning component that are electrically connected to each other. When the hotspot scanning component is switched to a first Wi-Fi channel, the hotspot scanning component scans interference data information of the first Wi-Fi channel in real time; and if the scanned interference data information of the first Wi-Fi channel meets the preset conditions, selecting a new Wi-Fi channel for the hotspot component, and switching the hotspot component from the first Wi-Fi channel to the new Wi-Fi channel. Therefore, the first Wi-Fi channel where the hotspot component is located can be monitored in real time, and channel switching can be performed timely when needed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A Wi-Fi channel switching method is applied to AP equipment, wherein the AP equipment comprises a hotspot component and a hotspot scanning component which are in communication connection with each other; the method comprises the following steps:
the hotspot scanning component scans interference data information of a first Wi-Fi channel in real time when the hotspot component is switched to the first Wi-Fi channel;
if the scanned interference data information of the first Wi-Fi channel meets a preset condition, the hotspot scanning component selects a new Wi-Fi channel for the hotspot component, and the hotspot component is switched from the first Wi-Fi channel to the new Wi-Fi channel.
2. The method of claim 1, wherein the hotspot scanning component selects a new Wi-Fi channel for the hotspot component, comprising:
the hotspot scanning component acquires interference data information of at least two Wi-Fi channels in the environment obtained by scanning, wherein the at least two Wi-Fi channels comprise the first Wi-Fi channel and at least one second Wi-Fi channel;
and selecting a second Wi-Fi channel with the minimum interference from the at least one second Wi-Fi channel as the new Wi-Fi channel according to the interference data information of the at least one second Wi-Fi channel.
3. The method of claim 2, wherein selecting a second Wi-Fi channel with least interference from the at least one second Wi-Fi channel as the new Wi-Fi channel according to the interference data information of the at least one second Wi-Fi channel comprises:
weighting and summing the number of the AP equipment, the signal strength of the AP equipment, the flow of the AP equipment, the number of the user equipment and the signal strength of the user equipment in the second Wi-Fi channel to obtain a sum value;
and determining the minimum sum value from the sum values of the at least one second Wi-Fi channel, and taking the second Wi-Fi channel corresponding to the minimum sum value as the new Wi-Fi channel.
4. The method according to any one of claims 1-3, further comprising:
when the hotspot component is started, searching Wi-Fi channels in the environment, and selecting the Wi-Fi channel with the minimum interference from the searched Wi-Fi channels as the first Wi-Fi channel;
the hotspot component is switched to the first Wi-Fi channel, and sends a first notice including a channel identifier of the first Wi-Fi channel to the hotspot scanning component, so that the hotspot scanning component scans interference data information of the first Wi-Fi channel in real time.
5. The method of claim 4, wherein causing the hotspot component to switch from the first Wi-Fi channel to the new Wi-Fi channel comprises:
the hotspot scanning component sends a second notification to the hotspot component, wherein the second notification comprises the channel identifier of the new Wi-Fi channel;
the method further comprises the following steps:
and when receiving the second notice, the hotspot component switches from the first Wi-Fi channel where the hotspot component is currently located to the new Wi-Fi channel indicated by the channel identifier in the second notice.
6. A Wi-Fi channel switching method is applied to a processor in AP equipment, and the AP equipment further comprises a first Wi-Fi client and a second Wi-Fi client which are electrically connected with the processor respectively; the method comprises the following steps:
when the first Wi-Fi client is controlled to be switched to the first Wi-Fi channel, the second Wi-Fi client is controlled to scan interference data information of the first Wi-Fi channel in real time;
if the scanned interference data information of the first Wi-Fi channel meets a preset condition, controlling the second Wi-Fi client to scan the Wi-Fi channel in the environment;
selecting a new Wi-Fi channel for the first Wi-Fi client according to interference data information obtained by scanning;
controlling the first Wi-Fi client to switch from the first Wi-Fi channel to the new Wi-Fi channel.
7. An AP device, comprising a hotspot component and a hotspot scanning component which are communicatively connected to each other;
the hotspot scanning component is used for scanning interference data information of a first Wi-Fi channel in real time when the hotspot component is switched to the first Wi-Fi channel; if the scanned interference data information of the first Wi-Fi channel meets a preset condition, the hotspot scanning component selects a new Wi-Fi channel for the hotspot component, and the hotspot component is switched from the first Wi-Fi channel to the new Wi-Fi channel.
8. The AP device of claim 7, wherein the hotspot scanning component is specifically configured to obtain scanned interference data information on at least two Wi-Fi channels in the environment, where the at least two Wi-Fi channels include the first Wi-Fi channel and at least one second Wi-Fi channel; and selecting a second Wi-Fi channel with the minimum interference from the at least one second Wi-Fi channel as the new Wi-Fi channel according to the interference data information of the at least one second Wi-Fi channel.
9. The AP device of claim 8, wherein the hotspot scanning component selects a second Wi-Fi channel with the least interference from the at least one second Wi-Fi channel as the new Wi-Fi channel according to the interference data information of the at least one second Wi-Fi channel by:
weighting and summing the number of the AP equipment, the signal strength of the AP equipment, the flow of the AP equipment, the number of the user equipment and the signal strength of the user equipment in the second Wi-Fi channel to obtain a sum value; and determining the minimum sum value from the sum values of the at least one second Wi-Fi channel, and taking the second Wi-Fi channel corresponding to the minimum sum value as the new Wi-Fi channel.
10. The AP equipment is characterized by comprising a processor, a first Wi-Fi client and a second Wi-Fi client, wherein the first Wi-Fi client and the second Wi-Fi client are electrically connected with the processor respectively; the processor includes:
the first scanning module is used for controlling the second Wi-Fi client to scan the interference data of the first Wi-Fi channel in real time when controlling the first Wi-Fi client to switch to the first Wi-Fi channel;
the second scanning module is used for controlling the second Wi-Fi client to scan the Wi-Fi channels in the environment if the scanned interference data information of the first Wi-Fi channel meets the preset condition;
the channel selection module is used for selecting a new Wi-Fi channel for the first Wi-Fi client according to the interference data information obtained by scanning;
and the channel switching module is used for controlling the first Wi-Fi client to switch from the first Wi-Fi channel to the new Wi-Fi channel.
CN201811361518.2A 2018-11-15 2018-11-15 Wi-Fi channel switching method and AP equipment Pending CN111194063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811361518.2A CN111194063A (en) 2018-11-15 2018-11-15 Wi-Fi channel switching method and AP equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811361518.2A CN111194063A (en) 2018-11-15 2018-11-15 Wi-Fi channel switching method and AP equipment

Publications (1)

Publication Number Publication Date
CN111194063A true CN111194063A (en) 2020-05-22

Family

ID=70708969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811361518.2A Pending CN111194063A (en) 2018-11-15 2018-11-15 Wi-Fi channel switching method and AP equipment

Country Status (1)

Country Link
CN (1) CN111194063A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770369A (en) * 2020-12-30 2021-05-07 宇龙计算机通信科技(深圳)有限公司 Channel selection method, device, storage medium and electronic equipment
CN114302466A (en) * 2021-12-30 2022-04-08 深圳市友华通信技术有限公司 Channel selection method of wireless router
CN114339903A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724727A (en) * 2012-06-18 2012-10-10 华为技术有限公司 Method and device for dynamically switching channels
US20150098430A1 (en) * 2013-09-30 2015-04-09 Huawei Device Co., Ltd. Channel switching method, apparatus, and device
CN105208614A (en) * 2015-10-19 2015-12-30 上海斐讯数据通信技术有限公司 Automatic switching device and switching method for wireless channels
CN107395297A (en) * 2017-07-07 2017-11-24 广州视源电子科技股份有限公司 A kind of channel selecting method of Wi-Fi hotspot, system and storage medium
CN107580345A (en) * 2017-09-07 2018-01-12 新华三技术有限公司 Wireless channel switching method and device and wireless channel determining method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724727A (en) * 2012-06-18 2012-10-10 华为技术有限公司 Method and device for dynamically switching channels
US20150098430A1 (en) * 2013-09-30 2015-04-09 Huawei Device Co., Ltd. Channel switching method, apparatus, and device
CN105208614A (en) * 2015-10-19 2015-12-30 上海斐讯数据通信技术有限公司 Automatic switching device and switching method for wireless channels
CN107395297A (en) * 2017-07-07 2017-11-24 广州视源电子科技股份有限公司 A kind of channel selecting method of Wi-Fi hotspot, system and storage medium
CN107580345A (en) * 2017-09-07 2018-01-12 新华三技术有限公司 Wireless channel switching method and device and wireless channel determining method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339903A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and electronic equipment
CN112770369A (en) * 2020-12-30 2021-05-07 宇龙计算机通信科技(深圳)有限公司 Channel selection method, device, storage medium and electronic equipment
CN112770369B (en) * 2020-12-30 2023-09-15 宇龙计算机通信科技(深圳)有限公司 Channel selection method and device, storage medium and electronic equipment
CN114302466A (en) * 2021-12-30 2022-04-08 深圳市友华通信技术有限公司 Channel selection method of wireless router
CN114302466B (en) * 2021-12-30 2023-10-27 深圳市友华通信技术有限公司 Channel selection method for wireless router

Similar Documents

Publication Publication Date Title
EP3474605B1 (en) Optimization of anqp query
CN105247911B (en) Management device, method of operating management device, and computer recordable medium
EP3965513A1 (en) Information transmission method and apparatus and computer-readable storage medium
CN111194063A (en) Wi-Fi channel switching method and AP equipment
CN108337707B (en) Wireless network switching method, mobile terminal and storage medium
US10098115B2 (en) Mobile communication apparatus and radio communication method
MX2010011584A (en) Method and system for inter-frequency or inter-ratcell reselection.
US8406694B2 (en) Channel discovery protocol
US20200344800A1 (en) Method for selecting a primary channel for wireless communications
EP3567963B1 (en) Data transmission method and device
CN103916883A (en) Wireless network device control method and main control device with wireless network function
US9781633B2 (en) Frequency agility for an ISM band home area network
CN109769274B (en) Method, apparatus and readable storage medium for channel switching in wireless networking system
CN107222937B (en) Data transmission method, device and terminal
CN111132352B (en) Channel control method of WLAN antenna and mobile terminal
JP6506190B2 (en) Wireless communication system, control method and control station apparatus
CN111970750A (en) Multi-frequency WiFi identification method and device
EP3832798B1 (en) Antenna assembly and antenna tuning-free method and device
EP4192118A1 (en) Access control method, terminal, and network side device
US10993179B2 (en) Wireless communication method and system including wireless relay devices that determine information about presence and absence of a response signal from a wireless terminal
US9706441B2 (en) Method and a device for regulating transmissions in a telecommunications network
CN115474162B (en) Method, device, equipment, system and storage medium for negotiating broadcast perception process
CN104023312A (en) Network access method, device and system
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device
CN113676853B (en) Communication method and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522