CN114466425A - Method and system for dynamic frequency selection channel switching in wireless network - Google Patents

Method and system for dynamic frequency selection channel switching in wireless network Download PDF

Info

Publication number
CN114466425A
CN114466425A CN202210022444.XA CN202210022444A CN114466425A CN 114466425 A CN114466425 A CN 114466425A CN 202210022444 A CN202210022444 A CN 202210022444A CN 114466425 A CN114466425 A CN 114466425A
Authority
CN
China
Prior art keywords
target
flow
time
dynamic frequency
switching
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
CN202210022444.XA
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.)
Shenzhen Lianzhou International Technology Co Ltd
Original Assignee
Shenzhen Lianzhou International Technology 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 Shenzhen Lianzhou International Technology Co Ltd filed Critical Shenzhen Lianzhou International Technology Co Ltd
Priority to CN202210022444.XA priority Critical patent/CN114466425A/en
Publication of CN114466425A publication Critical patent/CN114466425A/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
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption

Landscapes

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

Abstract

The invention discloses a method and a system for switching a dynamic frequency selection channel in a wireless network, wherein the method comprises the following steps: sampling the flow based on a flow detection module, and determining a target flow; the flow detection module determines a target time window for switching the dynamic frequency selection channel based on the target flow; the time detection module determines a target time for switching the dynamic frequency selection channel based on the target time window; and the channel switching module switches all the wireless devices connected with the dynamic frequency selection channel to a target frequency band based on the target time. The technical scheme of the invention can intelligently predict and accurately select the time point with the minimum flow, and at the moment, the DFS channel switching is initiated, so that the influence on the normal use of the wireless equipment is minimum.

Description

Method and system for dynamic frequency selection channel switching in wireless network
Technical Field
The invention belongs to the technical field of wireless networks, and particularly relates to a method and a system for switching a dynamic frequency selection channel in a wireless network.
Background
Dynamic Frequency Selection (DFS) is a technology used in Institute of Electrical and Electronics Engineers (IEEE)802.11 wireless networks or wireless fidelity (WiFi) that allows wireless devices to dynamically switch the operating Frequency of transmissions to avoid interference with other devices; the purpose is to prevent co-channel interference between primary users (e.g., radar systems) and secondary users (i.e., WiFi or wireless local area networks); DFS allows wireless network routers to detect radar signals in the same frequency and change their operating frequency; the dynamic frequency selection method can effectively prevent interference between signals and ensure that a radar system can send accurate signals.
In the IEEE 802.11 protocol, when a wireless network router switches from a current Channel to a target DFS Channel to operate, a radar signal must be detected in the target Channel first, which is called a Channel Availability Check (CAC), during the CAC, the wireless network router cannot send any signal, i.e., is in a silent state, which may cause the wireless network to be unavailable during the CAC, and after the CAC is finished, the wireless network router can start to operate normally in the current DFS Channel. The corresponding regulation is respectively provided for the silent time in the regulation; for example, a silence time of 1 minute is defined, or a non-weather channel silence time of 1 minute and a weather channel silence time of 10 minutes are defined; if radar signals are detected during CAC, this channel needs to be marked as unavailable for 30 minutes and the other channels are skipped to operate.
Because the 5 GHz-band 160MHz bandwidth channel in the WiFi network necessarily comprises the DFS channel, when the routing equipment detects a radar signal and the 160MHz bandwidth channel is switched to other channels and bandwidths because of avoiding the radar, a mechanism is needed to switch the routing equipment back to the 160MHz bandwidth channel, so that the maximum performance of the wireless equipment is ensured.
However, when the routing device is switched to a 160MHz bandwidth channel (DFS), the DFS rule requires CAC quiet time, and at least 1 minute is required to wait, during which the routing device cannot transmit signals, so that the wireless devices associated with the routing device cannot scan a Service Set Identifier (SSID) of the routing device in the frequency band, thereby causing the wireless devices to drop; such a scenario may result in a very poor user experience.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, an object of the present invention is to provide a method and system for dynamic frequency selection channel switching in a wireless network.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solutions:
a method of dynamic frequency selective channel switching in a wireless network, comprising:
sampling the flow based on a flow detection module, and determining a target flow;
the flow detection module determines a target time window for switching the dynamic frequency selection channel based on the target flow;
the time detection module determines a target time for switching the dynamic frequency selection channel based on the target time window;
and the channel switching module switches all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
Optionally, detecting the flow based on the flow detection module, and determining the target flow includes:
the flow detection module carries out statistics on the size and the type of the flow in each statistical time interval at intervals of first preset time;
the time detection module generates a timestamp T of the flow;
the flow detection module stores the size, the type and the time stamp of the flow to a database;
the traffic detection module determines a target traffic based on the size, type, and timestamp of the traffic.
Optionally, the types of the traffic include VI, VO, BE, and BK.
Optionally, the determining, by the traffic detection module, a target traffic based on the size, the type, and the timestamp of the traffic includes:
the flow detection module counts the flow corresponding to each flow type to obtain a VI flow value FVIVO flow value FVOBE flow rate value FBEAnd BK flow value FBK
Based on the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKAnd the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKCorresponding weights are used for obtaining average flow of a plurality of statistical time periods;
determining the target flow rate based on the average flow rate F of a plurality of the statistical time periods.
Optionally, the average flow F is calculated based on the following formula:
F=a*(FVI+FVO)+b*FBE+c*FBK
in the formula, a is FVIAnd FVOB is FBEC is FBKThe weight of (c).
Optionally, the determining the target flow based on the average flow F of the plurality of statistical time periods includes:
obtaining the timestamp T of each average flow F;
acquiring a plurality of tuples B (F, T) consisting of the average flow F and a timestamp T corresponding to the average flow F;
sorting the plurality of binary groups B (F, T) based on the plurality of values of the average flow F to obtain a target binary group;
determining the target traffic based on the target doublet.
Optionally, the determining, by the traffic detection module, a target time window for dynamic frequency selective channel switching based on the target traffic includes:
acquiring a plurality of target binary groups within second preset time; determining an initial target tuple set by a plurality of the target tuples;
sorting the target binary groups of the initial target binary group set from large to small based on the average flow F to obtain a sorting result; the number of the target binary groups included by the sorting result is smaller than the number of the target binary groups included by the initial target binary group set;
and screening the sequencing result based on the item number sliding window, and determining a target time window for switching the dynamic frequency selection channel. Optionally, the time detecting module determines the target time for switching the dynamic frequency selection channel based on the target time window, including:
the time detection module compares the current time of the system with the starting time and the ending time of the target time window;
if the current time of the system is within the range of the target time window;
determining a current time of the system as the target time for the dynamic frequency selective channel switch.
Optionally, the channel switching module switches all the wireless devices connected to the dynamic frequency selection channel to a target frequency band based on the target time, including:
the channel switching module enters the target time window and creates a target frequency band;
switching all the wireless devices connected to the dynamic frequency selection channel to the target frequency band;
and the service set identifier and the encryption mode of the target frequency band are the same as those of the initial frequency band corresponding to the dynamic frequency selection channel.
Optionally, after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, the method further includes:
after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, channel availability detection is carried out on the dynamic frequency selection channel;
and after the silent time is finished, switching all the wireless equipment back to the dynamic frequency selection channel of the initial frequency band, and closing the target frequency band.
The embodiment of the invention also provides a system for switching the dynamic frequency selection channel in the wireless network, which comprises the following steps:
the flow module is used for sampling flow, determining target flow and determining a target time window for switching the dynamic frequency selection channel based on the target flow;
a time detection module for determining a target time for the dynamic frequency selection channel switching based on the target time window;
and the channel switching module is used for switching all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
Embodiments of the present invention also provide an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method as described above.
The embodiment of the invention has the following technical effects:
according to the technical scheme, 1) the time point with the minimum flow can be intelligently estimated and accurately selected, and the DFS channel switching is initiated at the time, so that the influence on the normal use of the wireless equipment is minimum.
2) In the DFS channel switching process, the wireless device associated on the routing device can be accurately and smoothly guided to other available frequency Bands (BSS) without being continuously disconnected during the DFS CAC period of the routing device.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart illustrating a method for dynamic frequency selective channel switching in a wireless network according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for dynamic frequency selective channel switching in a wireless network according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
To facilitate understanding of embodiments of the invention by those skilled in the art, some terms are explained:
(1) WMM: wifi MultiMedia, wireless MultiMedia.
(2) BSS: basic Service Set, base station Service Set.
(3) BSS Transition: and switching the BSS.
An embodiment of the present invention provides a system for dynamic frequency selection channel switching in a wireless network, including: the flow module is used for sampling flow, determining target flow and determining a target time window for switching the dynamic frequency selection channel based on the target flow; a time detection module for determining a target time for the dynamic frequency selection channel switching based on the target time window; and the channel switching module is used for switching all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
Specifically, the system is arranged inside the routing device and is realized based on the routing device, the routing device is connected with an initial frequency band (5GHz frequency band) based on a channel, and the wireless device connected to the routing device can realize the receiving and sending of data;
the traffic detection module, the time detection module and the channel switching module are in communication connection.
The time detection module is used for detecting and recording the current time of the system and generating a time stamp T so that the flow detection module can call the time stamp T; the time detection module is also used for detecting the current system time, comparing the current system time with the start time and the end time of a target time window corresponding to the maximum entry number C (S, E) max in the entry number sliding window, and informing the channel switching module to work to switch a dynamic frequency selection channel (DFS channel) if the current time of the system is in a target period.
The flow detection module samples the flow of data transmission of the routing equipment and the wireless equipment based on an initial frequency band (5GHz frequency band) 160MHz bandwidth channel, and acquires the flow; acquiring an average flow F based on the acquired flow, calling a timestamp T of a time detection module, forming a binary group by the average flow F and the corresponding timestamp F, and then determining a target flow and a target time window;
after the target time window is determined, the time detection module detects the current time of the system, and when the current time of the system falls within the target time window, a signal for channel switching is sent to the channel switching module.
And the channel switching module switches all the wireless equipment connected with the dynamic frequency selection channel to the target frequency band after receiving the signal switching signal.
As shown in fig. 1, an embodiment of the present invention further provides a method for dynamic frequency selection channel switching in a wireless network, which is applied to the system described above, and the method includes:
step S1: sampling the flow based on a flow detection module, and determining a target flow;
specifically, detecting the flow based on the flow detection module to determine the target flow includes:
the flow detection module carries out statistics on the size and the type of the flow in each statistical time interval at intervals of first preset time;
the time detection module generates a timestamp T of the flow;
the flow detection module stores the size, the type and the time stamp of the flow to a database;
the traffic detection module determines a target traffic based on the size, type, and timestamp of the traffic.
Wherein the types of the flow comprise VI, VO, BE and BK; these four types are standard types specified by the IEEE 802.11WMM protocol.
Further, the first preset time may be 1 minute, and each statistical time period may also be 1 minute; the first preset time and the duration of each statistical time interval can be adjusted according to needs.
In an actual application scenario, the flow detection module counts the size and type of the flow in one minute every 1 minute.
Specifically, the determining, by the traffic detection module, a target traffic based on the size, the type, and the timestamp of the traffic includes:
the flow detection module counts the flow corresponding to each flow type to obtain a VI flow value FVIVO flow value FVOBE flow rate value FBEAnd BK flow value FBK
Based on the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKAnd the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKObtaining average flow of a plurality of statistical time periods according to the corresponding weight;
determining the target flow rate based on the average flow rate F of a plurality of the statistical time periods.
Wherein the average flow F is calculated based on the following formula:
F=a*(FVI+FVO)+b*FBE+c*FBK
in the formula, a is FVIAnd FVOB is FBEC is FBKThe weight of (c); and a > b > c.
Specifically, the target time for switching the DFS channel in the embodiment of the present invention preferentially selects a time period in a day that has the smallest influence on transmission data;
the types of the flow comprise VI, VO, BE and BK;
furthermore, the tolerance of VI and VO flow to data transmission delay is low;
BE flow is in tolerance to data transmission delay;
the BK flow has high tolerance to data transmission delay;
the flow detection module calculates the total flow which contains the emission and the receiving of the routing equipment in the initial frequency band within 1 minute of each statistical time interval, and calculates the average flow F according to the total flow; the timestamp T is the current time of the system.
For example, assume that the flow statistics module calculates a VI flow value of F in one minuteVI
The VO flow value obtained by the flow statistic module in one minute is FVO
The BE flow value obtained by the flow statistic module in one minute is FBE
The flow statistic module calculates the obtained BK flow value in one minute to be FBK
Then, F ═ a (F)VI+FVO)+b*FBE+c*FBK
And then average flow F over one more minute of the day is obtained.
Specifically, the determining the target flow based on the average flow F of the plurality of statistical time periods includes:
obtaining the timestamp T of each average flow F;
acquiring a plurality of tuples B (F, T) consisting of the average flow F and a timestamp T corresponding to the average flow F;
sorting the plurality of binary groups B (F, T) based on the plurality of values of the average flow F to obtain a target binary group;
determining the target traffic based on the target doublet.
In an actual application scenario, all the binary groups B (F, T) statistically obtained within one day are taken as a set and are recorded as: u shapeday(F,T);
Will UdayThe binary (F, T) in (F, T) is sorted according to the size of the key F, and data with a proportion of d% (e.g. 20%) from small to large is recorded as: u shaped%(F,T)。
According to the embodiment of the invention, based on the flow detection module and the time detection module, the flow of each flow type in each statistical period is determined, based on the weight of each flow type, the average flow in each statistical period is determined, and based on each average flow, the minimum part of average flow composition U in each day is determinedd%(F, T), reduceImpact of DFS channel switching on wireless devices.
Step S2: the flow detection module determines a target time window for switching the dynamic frequency selection channel based on the target flow;
specifically, the determining, by the traffic detection module, a target time window for dynamic frequency selective channel switching based on the target traffic includes:
acquiring a plurality of target binary groups within second preset time; determining a plurality of the target tuples as an initial target tuple set;
sorting the target binary groups of the initial target binary group set from large to small based on the average flow F to obtain a sorting result; the number of the target binary groups included by the sorting result is smaller than the number of the target binary groups included by the initial target binary group set;
and screening the sequencing result based on the item number sliding window, and determining a target time window for switching the dynamic frequency selection channel. The second preset time can be a week, a month, two months and other days, and the actual value of the second preset time can be determined or adjusted according to actual needs.
In practical application scene, the U extracted every dayd%The (F, T) data are put together and are noted: u shapeall(F,T);
Will UallAnd (F, T) sorting according to the keywords T from small to large, and screening the keywords T by using a item number sliding window tool.
The item number sliding window tool slides 1 timestamp interval (1 minute) each time by taking E minutes (e.g. 30 minutes) as the size of an item number sliding time window, and S time point as the starting time of the item number sliding time window, where the item number in the item number sliding time window is counted as:
c (S, E), wherein Tmin≤S≤Tmax-E
Counting all C (S, E) data obtained by the item number sliding window tool, and screening out the largest C (S, E) data, and recording the C (S, E) data as:
C(S,E)max
c (S, E)maxThe range determined by the start time and the end time of the corresponding target time window is used as the range of the target time for the channel switching module to perform DFS channel switching.
Further, the specific values of E and S can be adjusted according to actual needs.
Further, the more the number of days included in the second preset time is counted, the more the data is, the higher the accuracy of the target time of the DFS channel switching will be.
According to the embodiment of the invention, the binary groups acquired within one day are sorted based on the fact that the keyword F is small to large, the smallest part of the binary groups is selected as a reference value, then the reference values of each day within a second preset time are arranged from small to large to obtain a sorting result, and then the sorting result is screened based on an item number sliding window tool to obtain the largest item number in an item number sliding window in the sliding process; a target time window is determined based on the maximum number of entries.
Step S3: the time detection module determines a target time for switching the dynamic frequency selection channel based on the target time window;
specifically, the determining, by the time detection module, the target time for switching the dynamic frequency selection channel based on the target time window includes:
the time detection module compares the current time of the system with the starting time and the ending time of the target time window;
if the current time of the system is within the range of the target time window;
determining a current time of the system as the target time for the dynamic frequency selective channel switch.
In practical application scenario, the time detection module detects the current time of the system while the flow detection module counts the flow, and adds the current time of the system to C (S, E)maxThe corresponding start and end times of the target time window are compared, if the current time is in the target time windowAnd in the range of the port, informing a channel switching module to carry out DFS channel switching work.
According to the embodiment of the invention, the target time for the channel switching module to carry out DFS channel switching is determined based on the time detection module.
Step S4: and the channel switching module switches all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
Specifically, the switching module switches all the wireless devices connected to the dynamic frequency selection channel to the target frequency band based on the target time, and includes:
the channel switching module enters the target time window and creates a target frequency band;
switching all the wireless devices connected to the dynamic frequency selection channel to the target frequency band;
and the service set identifier and the encryption mode of the target frequency band are the same as those of the initial frequency band corresponding to the dynamic frequency selection channel.
Further, after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, the method further includes:
after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, channel availability detection is carried out on the dynamic frequency selection channel;
and after the silent time is finished, switching all the wireless equipment back to the dynamic frequency selection channel of the initial frequency band, and closing the target frequency band.
In an actual application scenario, within a target time window, the routing device may initiate a DFS channel smooth handover.
Specifically, after entering a target switching time window, the channel switching module creates a target frequency band (temporary BSS) in other non-DFS frequency bands without radar signals (e.g., 2.4GHz frequency band), and the configuration of the temporary BSS is completely the same as that of the current 5GHz frequency band, and specifically includes a 5GHz frequency band SSID and an encryption manner.
The routing device sends a control signal to the wireless device or uses other mechanisms to guide the wireless device to smoothly switch to other radar-free frequency bands.
Wherein, the control signal refers to a BSS Transition control frame specified in IEEE 802.11 v; other mechanisms refer to using the rights management function of the routing device; for example: the method comprises the following steps of adding wireless equipment into a black list of a current 5GHz frequency band and simultaneously adding the wireless equipment into a white list of a temporary BSS (base station system); if the wireless device does not support IEEE 802.11v, then other mechanisms are employed.
After confirming that all wireless devices are switched to the temporary BSS, the routing device switches to the DFS channel on the current 5GHz frequency band to start the CAC process, and after CAC silence time is over, the routing device stops on the original channel in failure whether CAC is successful and switched to the DFS channel 160HMz bandwidth or CAC period; at the moment, the routing equipment sends a control signal to the wireless equipment or uses other mechanisms to smoothly switch the wireless equipment which is just switched to other frequency bands back to the current 5GHz frequency band again; and after confirming that all the wireless devices are switched back to the current 5GHz frequency band, closing the temporary BSS.
For example: the temporary BSS may be a BSS of another routing device, the routing device and the another routing device may communicate with each other, may communicate with each other an SSID, an encryption scheme, a wireless device association status, a DFS status, and may complete the DFS channel switching using the above method steps.
According to the embodiment of the invention, the time point with the minimum flow can be intelligently estimated and accurately selected, and the DFS channel switching is initiated at the time, so that the influence on the normal use of the wireless equipment is minimum; in addition, in the DFS channel switching process, the wireless device associated on the routing device can be accurately and smoothly guided to other available frequency Bands (BSS) without being continuously disconnected during the DFS CAC period of the routing device.
As shown in fig. 2, an embodiment of the present invention further provides an apparatus 200 for dynamic frequency selective channel switching in a wireless network, including:
a first determining unit 201, configured to sample a flow based on a flow detection module, and determine a target flow;
a second determining unit 202, configured to determine, by the traffic detection module, a target time window for dynamic frequency selective channel switching based on the target traffic;
a third determining unit 203, configured to determine, by the time detection module, a target time for the dynamic frequency selection channel switching based on the target time window;
a switching unit 204, configured to switch, by the channel switching module, all the wireless devices connected to the dynamic frequency selection channel to a target frequency band based on the target time.
Optionally, detecting the flow based on the flow detection module, and determining the target flow includes:
the flow detection module carries out statistics on the size and the type of the flow in each statistical time interval at intervals of first preset time;
the time detection module generates a timestamp T of the flow;
the flow detection module stores the size, the type and the time stamp of the flow to a database;
the traffic detection module determines a target traffic based on the size, type, and timestamp of the traffic.
Optionally, the types of the traffic include VI, VO, BE, and BK.
Optionally, the determining, by the traffic detection module, the target traffic based on the size, the type, and the timestamp of the traffic includes:
the flow detection module counts the flow corresponding to each flow type to obtain a VI flow value FVIVO flow value FVOBE flow rate value FBEAnd BK flow value FBK
Based on the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKAnd the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKCorresponding weights are obtained to obtain a plurality of postsAverage flow rate of the statistical time period;
determining the target flow rate based on the average flow rate F of a plurality of the statistical time periods.
Optionally, the average flow F is calculated based on the following formula:
F=a*(FVI+FVO)+b*FBE+c*FBK
in the formula, a is FVIAnd FVOB is FBEC is FBKThe weight of (c).
Optionally, the determining the target flow based on the average flow F of the plurality of statistical time periods includes:
obtaining the timestamp T of each average flow F;
acquiring a plurality of tuples B (F, T) consisting of the average flow F and a timestamp T corresponding to the average flow F;
sorting the plurality of binary groups B (F, T) based on the plurality of values of the average flow F to obtain a target binary group;
determining the target traffic based on the target doublet.
Optionally, the determining, by the traffic detection module, a target time window for dynamic frequency selective channel switching based on the target traffic includes:
acquiring a plurality of target binary groups within second preset time; determining an initial target tuple set by a plurality of the target tuples;
sorting the target binary groups of the initial target binary group set from large to small based on the average flow F to obtain a sorting result; the number of the target binary groups included by the sorting result is smaller than the number of the target binary groups included by the initial target binary group set;
and screening the sequencing result based on the item number sliding window, and determining a target time window for switching the dynamic frequency selection channel. Optionally, the time detecting module determines the target time for switching the dynamic frequency selection channel based on the target time window, including:
the time detection module compares the current time of the system with the starting time and the ending time of the target time window;
if the current time of the system is within the range of the target time window;
determining a current time of the system as the target time for the dynamic frequency selective channel switch.
Optionally, the channel switching module switches all the wireless devices connected to the dynamic frequency selection channel to a target frequency band based on the target time, including:
the channel switching module enters the target time window and creates a target frequency band;
switching all the wireless devices connected to the dynamic frequency selection channel to the target frequency band;
and the service set identifier and the encryption mode of the target frequency band are the same as those of the initial frequency band corresponding to the dynamic frequency selection channel.
Optionally, after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, the method further includes:
after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, channel availability detection is carried out on the dynamic frequency selection channel;
and after the silent time is finished, switching all the wireless equipment back to the dynamic frequency selection channel of the initial frequency band, and closing the target frequency band.
Embodiments of the present invention also provide an electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method as described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method as described above.
In addition, other configurations and functions of the system according to the embodiment of the present invention are known to those skilled in the art, and are not described herein in detail to reduce redundancy.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. A method for dynamic frequency selective channel switching in a wireless network, comprising:
sampling the flow based on a flow detection module, and determining a target flow;
the flow detection module determines a target time window for switching the dynamic frequency selection channel based on the target flow;
the time detection module determines a target time for switching the dynamic frequency selection channel based on the target time window;
and the channel switching module switches all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
2. The method of claim 1, wherein determining the target flow rate based on the flow rate detected by the flow rate detection module comprises:
the flow detection module carries out statistics on the size and the type of the flow in each statistical time interval at intervals of first preset time;
the time detection module generates a timestamp T of the flow;
the flow detection module stores the size, the type and the time stamp of the flow to a database;
the traffic detection module determines a target traffic based on the size, type, and timestamp of the traffic.
3. The method of claim 2, wherein the types of traffic include VI, VO, BE, and BK.
4. The method of claim 3, wherein the traffic detection module determines the target traffic based on the size, type, and timestamp of the traffic, comprising:
the flow detection module counts the flow corresponding to each flow type to obtain a VI flow value FVIVO flow value FVOBE flow rate value FBEAnd BK flow value FBK
Based on the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKAnd the VI flow value FVIVO flow value FVOBE flow rate value FBEBK flow value FBKCorresponding weights are used for obtaining average flow of a plurality of statistical time periods;
determining the target flow rate based on the average flow rate F of a plurality of the statistical time periods.
5. The method of claim 4, wherein the average flow rate F is calculated based on the following formula:
F=a*(FVI+FVO)+b*FBE+c*FBK
in the formula, a is FVIAnd FVOB is FBEC is FBKThe weight of (c).
6. The method of claim 4, wherein determining the target flow based on the average flow F over a plurality of the statistical periods comprises:
obtaining the timestamp T of each average flow F;
acquiring a plurality of tuples B (F, T) consisting of the average flow F and a timestamp T corresponding to the average flow F;
sorting the multiple binary groups B (F, T) based on the multiple values of the average flow F to obtain a target binary group;
determining the target traffic based on the target doublet.
7. The method of claim 6, wherein the traffic detection module determines a target time window for dynamic frequency selective channel switching based on the target traffic, comprising:
acquiring a plurality of target binary groups within second preset time; determining an initial target tuple set by a plurality of the target tuples;
sorting the target binary groups of the initial target binary group set from large to small based on the average flow F to obtain a sorting result; the number of the target binary groups included by the sorting result is smaller than the number of the target binary groups included by the initial target binary group set;
and screening the sequencing result based on the item number sliding window, and determining a target time window for switching the dynamic frequency selection channel.
8. The method of claim 1, wherein the time detection module determines a target time for the dynamic frequency selective channel switch based on the target time window, comprising:
the time detection module compares the current time of the system with the starting time and the ending time of the target time window;
if the current time of the system is within the range of the target time window;
determining a current time of the system as the target time for the dynamic frequency selective channel switch.
9. The method of claim 1, wherein the channel switching module switches all wireless devices connected to the dynamic frequency selection channel to a target frequency band based on the target time, comprising:
the channel switching module enters the target time window and creates a target frequency band;
switching all the wireless devices connected to the dynamic frequency selection channel to the target frequency band;
and the service set identifier and the encryption mode of the target frequency band are the same as those of the initial frequency band corresponding to the dynamic frequency selection channel.
10. The method of claim 9, wherein after switching all the wireless devices connected to the dynamic frequency selection channel to the target frequency band, further comprising:
after all the wireless devices connected to the dynamic frequency selection channel are switched to the target frequency band, channel availability detection is carried out on the dynamic frequency selection channel;
and after the silent time is finished, switching all the wireless equipment back to the dynamic frequency selection channel of the initial frequency band, and closing the target frequency band.
11. A system for dynamic frequency selective channel switching in a wireless network, comprising:
the flow module is used for sampling flow, determining target flow and determining a target time window for switching the dynamic frequency selection channel based on the target flow;
a time detection module for determining a target time for the dynamic frequency selection channel switching based on the target time window;
and the channel switching module is used for switching all the wireless equipment connected with the dynamic frequency selection channel to a target frequency band based on the target time.
12. An electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of any one of claims 1 to 10 when executing the computer program.
13. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of any one of claims 1 to 10.
CN202210022444.XA 2022-01-10 2022-01-10 Method and system for dynamic frequency selection channel switching in wireless network Pending CN114466425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210022444.XA CN114466425A (en) 2022-01-10 2022-01-10 Method and system for dynamic frequency selection channel switching in wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210022444.XA CN114466425A (en) 2022-01-10 2022-01-10 Method and system for dynamic frequency selection channel switching in wireless network

Publications (1)

Publication Number Publication Date
CN114466425A true CN114466425A (en) 2022-05-10

Family

ID=81410041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210022444.XA Pending CN114466425A (en) 2022-01-10 2022-01-10 Method and system for dynamic frequency selection channel switching in wireless network

Country Status (1)

Country Link
CN (1) CN114466425A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120076011A1 (en) * 2010-09-23 2012-03-29 Sameh Gobriel Power saving system, method and apparatus for a wireless device
US9635649B1 (en) * 2013-07-03 2017-04-25 Quantenna Communications, Inc. Method and apparatus for channel selection in a wireless local area network
US20170142728A1 (en) * 2015-08-04 2017-05-18 Network Performance Research Group Llc Multiple detector coordination for monitoring of multiple channels in the dynamic frequency selection band
US20170181178A1 (en) * 2015-12-22 2017-06-22 Airties Kablosuz Iletism Sanayi Ve Disticaret As Dynamic channel selection and dfs re-entry
CN107580345A (en) * 2017-09-07 2018-01-12 新华三技术有限公司 Wireless channel switching method and device and wireless channel determining method and device
US20180199342A1 (en) * 2017-01-09 2018-07-12 Qualcomm Incorporated Background scan with dynamic time and frequency switching
CN113691333A (en) * 2020-05-19 2021-11-23 中兴通讯股份有限公司 Communication channel optimization method and device, electronic equipment and storage medium
CN113853001A (en) * 2020-06-25 2021-12-28 慧与发展有限责任合伙企业 System and method for optimizing channel switching mechanism between DFS channels

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120076011A1 (en) * 2010-09-23 2012-03-29 Sameh Gobriel Power saving system, method and apparatus for a wireless device
US9635649B1 (en) * 2013-07-03 2017-04-25 Quantenna Communications, Inc. Method and apparatus for channel selection in a wireless local area network
US20170142728A1 (en) * 2015-08-04 2017-05-18 Network Performance Research Group Llc Multiple detector coordination for monitoring of multiple channels in the dynamic frequency selection band
US20170181178A1 (en) * 2015-12-22 2017-06-22 Airties Kablosuz Iletism Sanayi Ve Disticaret As Dynamic channel selection and dfs re-entry
US20180199342A1 (en) * 2017-01-09 2018-07-12 Qualcomm Incorporated Background scan with dynamic time and frequency switching
CN107580345A (en) * 2017-09-07 2018-01-12 新华三技术有限公司 Wireless channel switching method and device and wireless channel determining method and device
CN113691333A (en) * 2020-05-19 2021-11-23 中兴通讯股份有限公司 Communication channel optimization method and device, electronic equipment and storage medium
WO2021233331A1 (en) * 2020-05-19 2021-11-25 中兴通讯股份有限公司 Communication channel optimization method and apparatus, electronic device, and storage medium
CN113853001A (en) * 2020-06-25 2021-12-28 慧与发展有限责任合伙企业 System and method for optimizing channel switching mechanism between DFS channels

Similar Documents

Publication Publication Date Title
RU2277762C2 (en) Radio resource control
JP4880351B2 (en) Method for managing signal measurements in a wireless network, a station adapted to cooperate with a centralized measurement manager unit, a centralized measurement manager unit adapted to process measurements in a wireless network, and managing measurements in a wireless network system
EP1875759B1 (en) Allocating resources in a multicast/broadcast communications system
US7509129B2 (en) Load balancing in wireless communication network
CN1771682A (en) Vertical roaming in wireless networks through improved wireless network cell boundary detection
KR20130101540A (en) Method and apparatus for bandwidth allocation for cognitive radio networks
JP2005522156A (en) Method and system for optimizing neighbor cell lists
WO2013127343A1 (en) Method and apparatus for using cognitive radio technology
US11576187B2 (en) Radio frequency resource allocation method, apparatus, device and system, and storage medium
US9854513B2 (en) Method and network node for determining a recommended cell for a user equipment
WO2017080248A1 (en) Method of reporting measurement of unlicensed carrier, terminal utilizing same, and configuration method and base station
CN110169078A (en) Video data handling procedure and equipment
CN112839386A (en) LAA-based wireless transmission access method and system
CN115843048A (en) Interference detection method and device, readable storage medium, user terminal and server
US8948108B2 (en) Resource reservation in multiple accesses
EP2205024A1 (en) Method for adaptive scanning in a wireless network and a wireless network
US20230309129A1 (en) Methods and apparatus for supporting band steering and/or channel steering in wifi communications systems
CN114258145B (en) Random access method, device, base station, terminal and storage medium
CN114466425A (en) Method and system for dynamic frequency selection channel switching in wireless network
US10869280B2 (en) Managing coverage areas provided by densely-arranged wireless endpoint devices with directional antennas
CN106714231A (en) Method and device for processing unlicensed carrier measurement report
US20240204933A1 (en) Optimizing uplink band scheduling of contiguous and non-contiguous frequency range 1 (fr1) and frequency range 2 (fr2) spectrum
EP3982680A1 (en) Optimizing uplink band scheduling of contiguous and non-contiguous frequency range 1 (fr1) and frequency range 2 (fr2) spectrum
US20230224943A1 (en) Radio frequency resource allocation method, apparatus, device and system, and storage medium
CN112888067B (en) Channel selection method and device

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