WO2021259107A1 - Method for adjusting switching condition, electronic device, and storage medium - Google Patents

Method for adjusting switching condition, electronic device, and storage medium Download PDF

Info

Publication number
WO2021259107A1
WO2021259107A1 PCT/CN2021/100376 CN2021100376W WO2021259107A1 WO 2021259107 A1 WO2021259107 A1 WO 2021259107A1 CN 2021100376 W CN2021100376 W CN 2021100376W WO 2021259107 A1 WO2021259107 A1 WO 2021259107A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency band
sta
switching
handover
network
Prior art date
Application number
PCT/CN2021/100376
Other languages
French (fr)
Chinese (zh)
Inventor
赵家伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021259107A1 publication Critical patent/WO2021259107A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/382Monitoring; Testing of propagation channels for resource allocation, admission control or handover
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a method, electronic device, and storage medium for adjusting switching conditions.
  • Wi-Fi dual-band routers and Wi-Fi terminals have been commonly used.
  • Wi-Fi dual-band routers refer to wireless routers that work in both 2.4G and 5.0G frequency bands.
  • the STA moves within the Wi-Fi coverage area of the router, it will switch the frequency band. That is, the STA switches between the 2.4G and 5.0G frequency bands of the router according to certain rules to obtain a better network connection.
  • the current implementation scheme is that the router first detects the STA's Wi-Fi signal strength indicator RSSI value in the current frequency band, and then compares the detected RSSI value with the current frequency band switching condition RSSI value to determine whether to switch.
  • the embodiment of the application provides a method for adjusting handover conditions, including: detecting the first signal of the STA in the first frequency band during network communication between the Wi-Fi terminal STA and the router based on the first frequency band Strength index value and the first network rate index value; in the process of the STA switching to the second frequency band to communicate with the router, detecting the second signal strength index value of the STA in the second frequency band and The second network rate index value; determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value ; According to the change value of the network quality index, adjust the handover condition for the STA to switch the second frequency band from the first frequency band.
  • An embodiment of the present application also proposes an electronic device, including: at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be executed by the at least one processor; Instructions, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned method for adjusting the switching condition.
  • the embodiment of the present application also proposes a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the method for adjusting the switching condition described above is realized.
  • Fig. 1 is a flowchart of a method for adjusting switching conditions in a first embodiment of the present application
  • FIG. 2 is a detailed flowchart of step 104 in FIG. 1;
  • Fig. 3 is a flowchart of a method for adjusting switching conditions in a second embodiment of the present application
  • FIG. 4 is a detailed flowchart of step 204 in FIG. 3;
  • FIG. 5 is a schematic diagram of the structure of the electronic device in the third embodiment of the present application.
  • the main purpose of the embodiments of the present application is to propose a method, electronic equipment and storage medium for adjusting switching conditions, which are intended to realize automatic adjustment of switching conditions and enable STAs to switch between frequency bands under the adjusted switching conditions, thereby improving frequency band switching. Possibility to improve network quality later.
  • the first embodiment of the present application relates to a method for adjusting handover conditions, which is applied to a router AP.
  • the AP supports working on at least two frequency bands at the same time, and the center frequencies of different frequency bands are different.
  • the AP is, for example, a Wi-Fi dual-band router, etc. .
  • the AP can establish a network connection with a Wi-Fi terminal STA, which includes terminal devices such as mobile phones and tablets.
  • FIG. 1 The specific process of the method for adjusting handover conditions in this embodiment is shown in FIG. 1, and includes:
  • Step 101 In the process of the Wi-Fi terminal STA performing network communication with the router based on the first frequency band, detect the first signal strength index value and the first network rate index value of the STA in the first frequency band.
  • the AP detects the first signal strength index value S1 and the first network rate index value R1 of the STA in the first frequency band in real time.
  • the signal strength index value is obtained by the AP from the air interface message sent by the STA
  • the network rate index value is obtained by the AP by calculating the WIFI physical layer negotiated rate.
  • Step 102 Detect the second signal strength index value and the second network rate index value of the STA in the second frequency band when the STA switches to the second frequency band to perform network communication with the router.
  • the AP can control the STA to switch from the first frequency band to the second frequency band through protocols such as 802.11kvr, or the AP can force the STA to switch from the first frequency band to the first frequency band. Disassociate to control the STA to switch from the first frequency band to the second frequency band.
  • the AP detects in real time the second signal strength index value S2 and the second network rate index value R2 of the STA in the second frequency band.
  • the switching condition includes a switching threshold, and the switching threshold is a preset signal strength index value. Specifically, when the center frequency of the first frequency band is less than the center frequency of the second frequency band, if the first signal strength index value S1 If the switching threshold is greater than or equal to the switching threshold, the switching condition for the STA to switch from the first frequency band to the second frequency band is met, and the AP controls the STA to switch from the first frequency band to the second frequency band.
  • the switching condition for the STA to switch from the first frequency band to the second frequency band is satisfied, and the AP controls the STA to switch from the first frequency band to the second frequency band.
  • the first frequency band is 2.4G
  • the second frequency band is 5G
  • the switching threshold is -45dbm. If the first signal strength index value S1 is greater than or equal to -45dbm, the AP controls the STA to switch from 2.4G to 5G; the first frequency band is 5G, The second frequency band is 2.4G, and the switching threshold is -70dbm.
  • the AP controls the STA to switch 2.4G from 5G.
  • the switching threshold may also be a preset network rate index value, and the STA frequency band switching method when the switching threshold is the preset network rate index value is similar to the foregoing, and will not be repeated here.
  • the first signal strength indicator value, the first network rate indicator value, the second signal strength indicator value, and the second network rate indicator value are respectively the average first signal strength indicator value and the average first signal strength indicator value within a preset period of time. 1.
  • the AP calculates the average value of the first signal strength indicator value S1 detected multiple times within a preset time period to obtain the average first signal strength indicator value S1, which will be the first network detected multiple times within the preset time period
  • the rate index value R1 is averaged to obtain the average first network rate index value R1
  • the second signal strength index value S2 detected multiple times within the preset time period is averaged to obtain the average second signal strength index value S2
  • the preset time period can be preset according to actual needs.
  • the preset time period can be preset according to actual needs.
  • the first signal strength indicator value S1, the first network rate indicator value R1, the second signal strength indicator value S2, and the second network rate indicator value R2 may fluctuate, calculating the average value within the preset time period can avoid the indicator value The influence of volatility makes the value of each indicator more accurate.
  • Step 103 Determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value.
  • D is the network quality index change value
  • S1 is the first signal strength index Value
  • S2 is the second signal strength index value
  • R1 is the first network rate index value
  • R2 is the second network rate index value.
  • the first signal strength index value S1 is -45dbm
  • R1 is 270Mbps
  • S2 is -78dbm
  • R2 is 130Mbps
  • the AP can calculate the change value of the network quality index.
  • the AP may determine the network quality indicator change value according to the corresponding relationship.
  • Step 104 Adjust the switching condition for the STA to switch from the first frequency band to the second frequency band according to the change value of the network quality index.
  • Step 104 includes the following sub-steps:
  • sub-step 1042 when the network quality indicator change value indicates that the network quality of the STA in the second frequency band has not changed or improved compared with the network quality of the STA in the first frequency band, adjust the switching condition for the STA to switch from the first frequency band to the second frequency band ,
  • the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
  • the AP presets the corresponding relationship between the network quality indicator change value D and the network quality change. After determining the network quality indicator change value D, the network can be determined based on the above corresponding relationship and the network quality indicator change value D.
  • the quality change situation the network quality change situation can indicate the change situation of the network quality of the STA in the second frequency band compared to the network quality of the STA in the first frequency band.
  • the corresponding relationship between the preset network quality index change value D and the network quality change is as follows, when D ⁇ 0.8, it indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; When 0.8 ⁇ D ⁇ 1.2, it indicates that the network quality of the STA in the second frequency band has no change compared with the network quality of the STA in the first frequency band; when D>1.2, it indicates that the network quality of the STA in the second frequency band is compared with that of the STA in the first frequency band. The network quality in the first frequency band is improved.
  • the handover difficulty of the STA under the adjusted handover conditions is higher than The difficulty of handover under the handover conditions before the adjustment increases the difficulty of switching the STA from the first frequency band to the second frequency band, so that the STA is in the first frequency band as much as possible, and it is more difficult to switch to the second frequency band;
  • the handover difficulty of the STA under the adjusted handover conditions is lower than the handover difficulty under the handover conditions before the adjustment.
  • the difficulty of switching the STA from the first frequency band to the second frequency band is reduced, so that the STA can switch to the second frequency band as easily as possible, so that the network quality may be improved after the frequency band is switched under the adjusted switching conditions;
  • the later network quality is improved, indicating that the network quality in the second frequency band is better, adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band.
  • the handover difficulty of the STA under the adjusted handover conditions is lower than that before the adjustment.
  • the difficulty of switching under the switching condition of that is, the difficulty of switching the STA from the first frequency band to the second frequency band is reduced, so that the STA can switch to the second frequency band as easily as possible.
  • the AP can reasonably adjust the switching conditions for the STA to switch from the first frequency band to the second frequency band, so that the STA is in a frequency band with better network quality as much as possible.
  • the handover condition includes a handover threshold, and the handover threshold is a preset signal strength index value; the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted, and the handover difficulty of the STA under the adjusted handover condition is higher than
  • the difficulty of switching under the switching conditions before adjustment includes: when the center frequency of the first frequency band is less than the center frequency of the second frequency band, increase the switching threshold, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band , Adjust the handover threshold lower, the handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment; adjust the handover condition for the STA to switch from the first frequency band to the second frequency band.
  • the difficulty of switching under the switching conditions is lower than the difficulty of switching under the switching conditions before adjustment, including: when the frequency center of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is lowered, when the center frequency of the first frequency band When it is greater than the center frequency of the second frequency band, the handover threshold is increased, and the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
  • the switching condition includes the switching threshold, and the switching threshold is the preset signal strength index value
  • the signal strength index value will become larger when the STA approaches the AP.
  • the AP will control the STA to switch from a frequency band with a low center frequency to a frequency band with a high center frequency.
  • the signal strength indicator value will become smaller.
  • the AP will The control STA will switch from a frequency band with a high center frequency to a frequency band with a low center frequency.
  • the handover threshold needs to be increased. Under the adjusted handover threshold, it is more difficult for the STA to switch to For the second frequency band, switch to the second frequency band when the STA is closer to the AP; when the center frequency of the first frequency band is greater than the frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the switching threshold needs to be adjusted Low, it is more difficult to switch to the second frequency band under the adjusted switching threshold, and the STA can only switch to the second frequency band when the STA is farther away from the AP.
  • the handover threshold needs to be lowered. Under the adjusted handover threshold, it is easier for the STA to switch to the second frequency band. Frequency band, so that the STA can switch to the second frequency band when it is far away from the AP; when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, if you need to reduce the difficulty of STA switching to the second frequency band, you need to switch The threshold is increased, and it is easier for the STA to switch to the second frequency band under the adjusted switching threshold, so that the STA can switch to the second frequency band when it is closer to the AP. Through this method, the switching conditions for the STA to switch from the first frequency band to the second frequency band can be accurately adjusted.
  • the handover threshold may also be a preset network rate index value.
  • the switching condition for the STA to switch from the first frequency band to the second frequency band is adjusted.
  • the handover difficulty under the handover condition is higher than the handover difficulty under the handover condition before the adjustment, and the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted.
  • the handover difficulty of the STA under the adjusted handover condition is lower than that before the adjustment.
  • the difficulty of switching under the switching condition is similar to the foregoing, and will not be repeated here.
  • increasing the switching threshold value or lowering the switching threshold value includes: adjusting the switching threshold value higher or lowering the switching threshold value according to the preset adjustment step length, so that the setting of the step length can be adjusted to make the switching threshold higher or lower.
  • the preset adjustment step length can be set according to actual conditions, and this embodiment does not specifically limit it. For example: the preset adjustment step is 3dbm, and the switching threshold before adjustment is -45dbm. When the switching threshold is increased, the adjusted switching threshold is -42dbm.
  • the switching threshold is the preset value.
  • D ⁇ 0.8 the network quality of the STA in the second frequency band is lower than the network quality of the STA in the first frequency band;
  • 0.8 ⁇ D ⁇ 1.2 the network quality of the STA in the second frequency band Compared with the network quality of the STA in the first frequency band, there is no change;
  • D>1.2 the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band. It can be determined that the STA is in the second frequency band at this time.
  • the network quality of the STA is lower than that of the STA in the first frequency band.
  • the handover threshold is increased to -42dbm.
  • the handover difficulty of the STA under the adjusted handover conditions is higher than that of the The handover difficulty under the handover condition before adjustment increases the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
  • the first frequency band is 5G
  • the second frequency band is 2.4G
  • the first signal strength index value S1 is less than or equal to the switching threshold
  • the AP controls the STA to switch from the first frequency band to the second frequency band
  • the switching threshold is the preset value. Set the signal strength index value -70dbm.
  • the STA is in the second frequency band at this time. Compared with the network quality of the STA in the first frequency band, the network quality of the STA is improved.
  • the handover threshold is increased to -67dbm.
  • the handover difficulty of the STA under the adjusted handover conditions is lower than that under the adjustment
  • the handover difficulty under the previous handover conditions reduces the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
  • the Wi-Fi terminal STA when the Wi-Fi terminal STA performs network communication with the AP based on the first frequency band, the first signal strength index value and the first network rate index value of the STA in the first frequency band are detected; the STA switches to During the network communication between the second frequency band and the AP, the second signal strength index value and the second network rate index value of the STA in the second frequency band are detected; according to the first signal strength index value, the first network rate index value, and the second 2.
  • the signal strength index value and the second network rate index value are used to determine the change value of the network quality index; according to the change value of the network quality index, adjust the switching conditions of the STA from the first frequency band to the second frequency band, and realize automatic adjustment of the switching conditions through this method ,
  • the network quality index change value can reflect whether the network quality of the STA before and after the frequency band switch is improved and the degree of improvement, which is equivalent to reflecting the change of the STA's network environment, so when adjusting the switching conditions according to the network quality index change value Taking into account the changes in the network environment of the STA, when the STA performs frequency band switching under the adjusted switching conditions, the possibility of improving the network quality after the frequency band switching is improved.
  • the second embodiment of the present application relates to a method for adjusting handover conditions.
  • the second embodiment is roughly the same as the first embodiment.
  • the main difference is that when the handover conditions are adjusted, the STA's operation in the first frequency band is also considered. Service quality index value.
  • the specific process of the method for adjusting handover conditions in this embodiment is shown in FIG. 3 and includes:
  • Step 201 In the process of the STA performing network communication with the router based on the first frequency band, detect the first signal strength index value, the first network rate index value, and the service quality index value of the STA in the first frequency band.
  • the AP detects in real time the first signal strength index value S1, the first network rate index value R1, and the service quality index value Z of the STA in the first frequency band.
  • the service quality index value Z includes the network packet loss rate Z1 and/or the delay index value Z2, and can reflect the quality of the service experience.
  • the service quality index value Z meets the current service requirements, it indicates that the service experience is good.
  • the service quality index value Z does not meet the requirements of the current service, it indicates that the service experience is poor.
  • different services have different requirements. For example, the service requirement of the video service is that the network packet loss rate is less than 10%, and the delay index value is less than 10ms.
  • Step 202 Detect the second signal strength index value and the second network rate index value of the STA in the second frequency band when the STA switches to the second frequency band to perform network communication with the router.
  • Step 203 Determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value.
  • Steps 202-203 are similar to steps 102-103 in the first embodiment, and will not be repeated here.
  • Step 204 Adjust the switching condition for the STA to switch from the first frequency band to the second frequency band according to the network quality index change value and the service quality index value.
  • step 204 includes the following sub-steps:
  • sub-step 2042 when the service quality index value does not meet the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, adjust the STA from the first frequency band One frequency band switches the switching condition of the second frequency band, and the switching difficulty of the STA under the adjusted switching condition is lower than the switching difficulty under the switching condition before the adjustment.
  • Sub-step 2043 when the service quality index value meets the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is compared with the network quality of the STA in the first frequency band
  • the change value of the network quality indicator indicates that when the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band, the switching condition for the STA to switch from the first frequency band to the second frequency band is kept unchanged.
  • the AP detects the service quality index value of the STA in the first frequency band, compares it with the service quality index value of the current service requirement, and can determine whether the service quality index value meets the current service Demand.
  • the service quality index value includes the network packet loss rate Z1 or the delay index value Z2
  • the current service business demand is the network packet loss rate Z1 or the delay index value Z2 is less than the preset value, then the detected network packet loss rate Z1 Or when the delay index value Z2 is less than the preset value, the current service is satisfied, and when the network packet loss rate Z1 or the delay index value Z2 is greater than the preset value, the current service is not satisfied;
  • the service quality index value includes the network packet loss rate Z1 and The delay index value Z2
  • the current service requirement is that the network packet loss rate is less than the first preset value, and the delay index value is less than the second preset value, then the detected network packet loss rate Z1 is less than the first preset value , And when the delay index value Z2 is less than
  • the AP presets the corresponding relationship between the network quality indicator change value D and the network quality change. After the network quality indicator change value D is determined, the network quality change can be determined based on the above corresponding relationship and the relationship between the network quality indicator change value D.
  • the network quality change situation can indicate the change situation of the network quality of the STA in the second frequency band compared to the network quality of the STA in the first frequency band.
  • the corresponding relationship between the preset network quality index change value D and the network quality change is as follows, when D ⁇ 0.8, it indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; When 0.8 ⁇ D ⁇ 1.2, it indicates that the network quality of the STA in the second frequency band has no change compared with the network quality of the STA in the first frequency band; when D>1.2, it indicates that the network quality of the STA in the second frequency band is compared with that of the STA in the first frequency band. The network quality in the first frequency band is improved.
  • the service quality index value meets the needs of the current service and the network quality after the handover has declined, it means that the STA has better network quality in the first frequency band.
  • the handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment, which increases the difficulty of switching the STA from the first frequency band to the second frequency band, so that the STA is in the first place as much as possible.
  • Frequency band it is difficult to switch to the second frequency band; when the service quality index value does not meet the needs of the current service, and the network quality after the handover has improved, it means that the network quality in the second frequency band is better, then adjust the STA by The switching conditions for the first frequency band to switch to the second frequency band, the switching difficulty of the STA under the adjusted switching conditions is lower than the switching difficulty under the switching conditions before the adjustment, that is, the switching of the STA from the first frequency band to the second frequency band is reduced Difficulty, so that the STA can switch to the second frequency band as easily as possible; when the service quality index value meets the needs of the current service, and the network quality after the handover has improved, it means that the STA’s network quality before and after the handover is better.
  • the current handover conditions are good.
  • keeping the handover conditions unchanged can make the network quality before and after the handover be in a better state, or, when the network quality after the handover does not change, adjusting the handover conditions at this time cannot guarantee the improvement.
  • the possibility of improving the network quality after the frequency band is switched under the adjusted switching conditions, so the switching conditions remain unchanged, or when the service quality index value does not meet the needs of the current service, and the network quality after the switching decreases, It means that the network quality before and after the switching is not very good. Even if the switching conditions are adjusted, the possibility of improving the network quality after the frequency band switching under the adjusted switching conditions cannot be guaranteed. Therefore, the switching conditions are kept unchanged, that is, the STA is switched from the first frequency band. The difficulty of switching to the second frequency band remains unchanged. Through this method, the AP can reasonably adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band.
  • the handover condition includes a handover threshold, and the handover threshold is a preset signal strength index value; the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted, and the handover difficulty of the STA under the adjusted handover condition is higher than
  • the difficulty of switching under the switching conditions before adjustment includes: when the center frequency of the first frequency band is less than the center frequency of the second frequency band, increase the switching threshold, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band , Adjust the handover threshold lower, the handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment; adjust the handover condition for the STA to switch from the first frequency band to the second frequency band.
  • the difficulty of switching under the switching conditions is lower than the difficulty of switching under the switching conditions before adjustment, including: when the frequency center of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is lowered, when the center frequency of the first frequency band When it is greater than the center frequency of the second frequency band, the handover threshold is increased so that the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
  • the switching condition includes the switching threshold, and the switching threshold is the preset signal strength index value
  • the signal strength index value will become larger when the STA approaches the AP.
  • the AP will control the STA to switch from a frequency band with a low center frequency to a frequency band with a high center frequency.
  • the signal strength indicator value will become smaller.
  • the AP will The control STA will switch from a frequency band with a high center frequency to a frequency band with a low center frequency.
  • the handover threshold needs to be increased. Under the adjusted handover threshold, it is more difficult for the STA to switch to For the second frequency band, switch to the second frequency band when the STA is closer to the AP; when the center frequency of the first frequency band is greater than the frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the switching threshold needs to be adjusted Low, it is more difficult to switch to the second frequency band under the adjusted switching threshold, and the STA can only switch to the second frequency band when the STA is farther away from the AP.
  • the handover threshold needs to be lowered. Under the adjusted handover threshold, it is easier for the STA to switch to the second frequency band. Frequency band, so that the STA can switch to the second frequency band when it is far away from the AP; when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, if you need to reduce the difficulty of STA switching to the second frequency band, you need to switch The threshold is increased, and it is easier for the STA to switch to the second frequency band under the adjusted switching threshold, so that the STA can switch to the second frequency band when it is closer to the AP. Through this method, the switching conditions for the STA to switch from the first frequency band to the second frequency band can be accurately adjusted.
  • the handover threshold may also be a preset network rate index value.
  • the switching condition for the STA to switch from the first frequency band to the second frequency band is adjusted.
  • the handover difficulty under the handover condition is higher than the handover difficulty under the handover condition before the adjustment, and the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted.
  • the handover difficulty of the STA under the adjusted handover condition is lower than that before the adjustment.
  • the difficulty of switching under the switching condition is similar to the foregoing, and will not be repeated here.
  • increasing the switching threshold value or lowering the switching threshold value includes: adjusting the switching threshold value higher or lowering the switching threshold value according to the preset adjustment step length, so that the setting of the step length can be adjusted to make the switching threshold higher or lower.
  • the preset adjustment step length can be set according to actual conditions, and this embodiment does not specifically limit it. For example: the preset adjustment step is 3dbm, and the switching threshold before adjustment is -45dbm. When the switching threshold is increased, the adjusted switching threshold is -42dbm.
  • the signal strength index value is -45dbm
  • the current service requirement is that the network packet loss rate is less than 10%
  • the delay index value is less than 10ms.
  • the network quality in the second frequency band is lower than that of the STA in the first frequency band, that is, the service quality index value meets the current service requirements, and the network quality index change value indicates that the STA is in the second frequency band.
  • the network quality in the frequency band is lower than the network quality of the STA in the first frequency band.
  • the handover threshold is increased to -42dbm.
  • the handover difficulty is higher than the handover difficulty under the handover condition before adjustment, which increases the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
  • the first frequency band is 5G
  • the second frequency band is 2.4G
  • the first signal strength index value S1 is less than or equal to the switching threshold
  • the AP controls the STA to switch from the first frequency band to the second frequency band
  • the switching threshold is the preset value.
  • the signal strength index value is -70dbm
  • the current service requirement is that the network packet loss rate is less than 10%
  • the delay index value is less than 10ms.
  • D ⁇ 0.8 the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band
  • the network quality of STA has no change
  • D>1.2 the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, that is, the service quality index value
  • the current service requirements are not met, and the network quality index change value indicates that the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, then the switch will be switched according to the preset adjustment step of 3dbm
  • the threshold is increased to
  • the AP adjusts the switching conditions according to the network quality index change value and the service quality index value, which can comprehensively consider the current network environment and network environment The changed situation makes the adjusted handover conditions more reasonable, and further improves the possibility that the network quality will be improved after the STA performs frequency band switching under the adjusted handover conditions.
  • the third embodiment of the present application relates to an electronic device. As shown in FIG. 5, it includes: at least one processor 302; and a memory 301 communicatively connected with the at least one processor; An instruction executed by one processor 302 is executed by at least one processor 302, so that the at least one processor 302 can execute the method for adjusting the switching condition in the foregoing embodiment.
  • the memory 301 and the processor 302 are connected in a bus manner.
  • the bus may include any number of interconnected buses and bridges.
  • the bus connects one or more of the processors 302 and various circuits of the memory 301 together.
  • the bus can also connect various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, will not be further described herein.
  • the bus interface provides an interface between the bus and the transceiver.
  • the transceiver may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on the transmission medium.
  • the data processed by the processor 302 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 302.
  • the processor 302 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
  • the memory 301 may be used to store data used by the processor 302 when performing operations.
  • the fourth embodiment of the present application relates to a computer-readable storage medium, which stores a computer program.
  • the computer program is executed by the processor, the above method embodiment is realized.
  • the program is stored in a storage medium and includes several instructions to enable a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) that executes all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for adjusting a switching condition disclosed in embodiments of the present application, comprising: when a Wi-Fi terminal STA performs network communication with a router on the basis of a first band, detecting a first signal strength indicator value and a first network rate indicator value of the STA in the first band; when the STA switches to a second band and performs network communication with the router, detecting a second signal strength indicator value and a second network rate indicator value of the STA in the second band; determining a network quality indicator change value according to the first signal strength indicator value, the first network rate indicator value, the second signal strength indicator value, and the second network rate indicator value; and according to the network quality indicator change value, adjusting a switching condition for the STA to switch from the first band to the second band.

Description

调整切换条件的方法、电子设备及存储介质Method, electronic device and storage medium for adjusting switching conditions
交叉引用cross reference
本申请基于申请号为“202010584461.3”、申请日为2020年06月23日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This application is filed based on the Chinese patent application with the application number "202010584461.3" and the filing date on June 23, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this by way of introduction. Apply.
技术领域Technical field
本申请实施例涉及通信领域,特别涉及一种调整切换条件的方法、电子设备及存储介质。The embodiments of the present application relate to the field of communications, and in particular, to a method, electronic device, and storage medium for adjusting switching conditions.
背景技术Background technique
Wi-Fi双频路由器和Wi-Fi终端(简称STA)已经普遍使用,Wi-Fi双频路由器是指同时工作在2.4G和5.0G频段的无线路由器。STA在路由器的Wi-Fi覆盖范围内移动时会进行频段切换,即STA按照一定的规则在路由器的2.4G和5.0G频段之间进行切换,以获取更佳的网络连接。当前的实现方案是路由器先检测STA在当前频段的Wi-Fi信号强度指标RSSI值,再将检测到的RSSI值与当前频段的切换条件RSSI值进行比较,确定是否进行切换。Wi-Fi dual-band routers and Wi-Fi terminals (abbreviated as STA) have been commonly used. Wi-Fi dual-band routers refer to wireless routers that work in both 2.4G and 5.0G frequency bands. When the STA moves within the Wi-Fi coverage area of the router, it will switch the frequency band. That is, the STA switches between the 2.4G and 5.0G frequency bands of the router according to certain rules to obtain a better network connection. The current implementation scheme is that the router first detects the STA's Wi-Fi signal strength indicator RSSI value in the current frequency band, and then compares the detected RSSI value with the current frequency band switching condition RSSI value to determine whether to switch.
然而,直接将频段的切换条件RSSI值设定为固定值,可能导致STA在进行频段切换后也无法提升网络质量。However, directly setting the RSSI value of the frequency band switching condition to a fixed value may cause the STA to fail to improve the network quality even after the frequency band is switched.
发明内容Summary of the invention
本申请实施例提供了一种调整切换条件的方法,包括:在Wi-Fi终端STA基于第一频段与路由器进行网络通信的过程中,检测所述STA在所述第一频段下的第一信号强度指标值和第一网络速率指标值;在所述STA切换至第二频段与所述路由器进行网络通信的过程中,检测所述STA在所述第二频段下的第二信号强度指标值和第二网络速率指标值;根据所述第一信号强度指标值、所述 第一网络速率指标值、所述第二信号强度指标值和所述第二网络速率指标值,确定网络质量指标变化值;根据所述网络质量指标变化值,调整所述STA由所述第一频段切换所述第二频段的切换条件。The embodiment of the application provides a method for adjusting handover conditions, including: detecting the first signal of the STA in the first frequency band during network communication between the Wi-Fi terminal STA and the router based on the first frequency band Strength index value and the first network rate index value; in the process of the STA switching to the second frequency band to communicate with the router, detecting the second signal strength index value of the STA in the second frequency band and The second network rate index value; determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value ; According to the change value of the network quality index, adjust the handover condition for the STA to switch the second frequency band from the first frequency band.
本申请实施例还提出了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述所述的调整切换条件的方法。An embodiment of the present application also proposes an electronic device, including: at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be executed by the at least one processor; Instructions, the instructions are executed by the at least one processor, so that the at least one processor can execute the above-mentioned method for adjusting the switching condition.
本申请实施例还提出了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现上述所述的调整切换条件的方法。The embodiment of the present application also proposes a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the method for adjusting the switching condition described above is realized.
附图说明Description of the drawings
图1是本申请第一实施例中的调整切换条件的方法的流程图;Fig. 1 is a flowchart of a method for adjusting switching conditions in a first embodiment of the present application;
图2是图1中步骤104的具体流程图;FIG. 2 is a detailed flowchart of step 104 in FIG. 1;
图3是本申请第二实施例中的调整切换条件的方法的流程图;Fig. 3 is a flowchart of a method for adjusting switching conditions in a second embodiment of the present application;
图4是图3中步骤204的具体流程图;FIG. 4 is a detailed flowchart of step 204 in FIG. 3;
图5是本申请第三实施例中的电子设备的结构示意图。FIG. 5 is a schematic diagram of the structure of the electronic device in the third embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the various embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, a person of ordinary skill in the art can understand that in each embodiment of the present application, many technical details are proposed for the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed in this application can be realized. The following division of the various embodiments is for convenience of description, and should not constitute any limitation on the specific implementation manner of the present application, and the various embodiments may be combined with each other without contradiction.
本申请实施例的主要目的在于提出一种调整切换条件的方法、电子设备及存储介质,旨在实现自动调整切换条件,且使STA在调整后的切换条件下进行频段切换时,提高了频段切换后网络质量提升的可能性。The main purpose of the embodiments of the present application is to propose a method, electronic equipment and storage medium for adjusting switching conditions, which are intended to realize automatic adjustment of switching conditions and enable STAs to switch between frequency bands under the adjusted switching conditions, thereby improving frequency band switching. Possibility to improve network quality later.
本申请第一实施例涉及一种调整切换条件的方法,应用于路由器AP,该 AP支持同时工作在至少两个频段上,且不同频段的中心频率不同,AP例如为Wi-Fi双频路由器等。AP能够与Wi-Fi终端STA建立网络连接,STA包括手机、平板电脑等终端设备。The first embodiment of the present application relates to a method for adjusting handover conditions, which is applied to a router AP. The AP supports working on at least two frequency bands at the same time, and the center frequencies of different frequency bands are different. The AP is, for example, a Wi-Fi dual-band router, etc. . The AP can establish a network connection with a Wi-Fi terminal STA, which includes terminal devices such as mobile phones and tablets.
本实施例的调整切换条件的方法的具体流程如图1所示,包括:The specific process of the method for adjusting handover conditions in this embodiment is shown in FIG. 1, and includes:
步骤101,在Wi-Fi终端STA基于第一频段与路由器进行网络通信的过程中,检测STA在第一频段下的第一信号强度指标值和第一网络速率指标值。Step 101: In the process of the Wi-Fi terminal STA performing network communication with the router based on the first frequency band, detect the first signal strength index value and the first network rate index value of the STA in the first frequency band.
具体地说,在STA基于第一频段与AP进行网络通信的过程中,AP实时检测STA在第一频段下的第一信号强度指标值S1和第一网络速率指标值R1。其中,信号强度指标值由AP从STA发送的空口报文中检测得到,网络速率指标值由AP通过计算WIFI物理层协商速率得到。Specifically, when the STA performs network communication with the AP based on the first frequency band, the AP detects the first signal strength index value S1 and the first network rate index value R1 of the STA in the first frequency band in real time. Among them, the signal strength index value is obtained by the AP from the air interface message sent by the STA, and the network rate index value is obtained by the AP by calculating the WIFI physical layer negotiated rate.
步骤102,在STA切换至第二频段与路由器进行网络通信的过程中,检测STA在第二频段下的第二信号强度指标值和第二网络速率指标值。Step 102: Detect the second signal strength index value and the second network rate index value of the STA in the second frequency band when the STA switches to the second frequency band to perform network communication with the router.
具体地说,当满足STA由第一频段切换第二频段的切换条件时,AP可以通过802.11kvr等协议控制STA从第一频段切换到第二频段,或者AP强制性的将STA与第一频段解除关联从而控制STA从第一频段切换到第二频段。在STA切换至第二频段与AP进行网络通信的过程中,AP实时检测STA在第二频段下的第二信号强度指标值S2和第二网络速率指标值R2。Specifically, when the switching conditions for the STA to switch from the first frequency band to the second frequency band are met, the AP can control the STA to switch from the first frequency band to the second frequency band through protocols such as 802.11kvr, or the AP can force the STA to switch from the first frequency band to the first frequency band. Disassociate to control the STA to switch from the first frequency band to the second frequency band. When the STA switches to the second frequency band for network communication with the AP, the AP detects in real time the second signal strength index value S2 and the second network rate index value R2 of the STA in the second frequency band.
在一个例子中,切换条件包括切换阈值,且切换阈值为预设的信号强度指标值,具体为,当第一频段的中心频率小于第二频段的中心频率时,若第一信号强度指标值S1大于或等于切换阈值,则满足STA由第一频段切换第二频段的切换条件,AP控制STA由第一频段切换第二频段,当第一频段的中心频率大于第二频段的中心频率时,若第一信号强度指标值S1小于或等于切换阈值,则满足STA由第一频段切换第二频段的切换条件,AP控制STA从第一频段切换到第二频段。例如:第一频段为2.4G,第二频段为5G,切换阈值为-45dbm,若第一信号强度指标值S1大于或等于-45dbm,AP控制STA由2.4G切换5G;第一频段为5G,第二频段为2.4G,切换阈值为-70dbm,若第一信号强度指标值S1小于或等于-70dbm,AP控制STA由5G切换2.4G。在另一个例子中,切换阈值还可以为预设的网络速率指标值,切换阈值为预设的网络速率指标值时的STA频段切换方式与前述类似,在此不再赘述。In an example, the switching condition includes a switching threshold, and the switching threshold is a preset signal strength index value. Specifically, when the center frequency of the first frequency band is less than the center frequency of the second frequency band, if the first signal strength index value S1 If the switching threshold is greater than or equal to the switching threshold, the switching condition for the STA to switch from the first frequency band to the second frequency band is met, and the AP controls the STA to switch from the first frequency band to the second frequency band. When the center frequency of the first frequency band is greater than the center frequency of the second frequency band, if If the first signal strength index value S1 is less than or equal to the switching threshold, the switching condition for the STA to switch from the first frequency band to the second frequency band is satisfied, and the AP controls the STA to switch from the first frequency band to the second frequency band. For example: the first frequency band is 2.4G, the second frequency band is 5G, and the switching threshold is -45dbm. If the first signal strength index value S1 is greater than or equal to -45dbm, the AP controls the STA to switch from 2.4G to 5G; the first frequency band is 5G, The second frequency band is 2.4G, and the switching threshold is -70dbm. If the first signal strength index value S1 is less than or equal to -70dbm, the AP controls the STA to switch 2.4G from 5G. In another example, the switching threshold may also be a preset network rate index value, and the STA frequency band switching method when the switching threshold is the preset network rate index value is similar to the foregoing, and will not be repeated here.
在一个例子中,第一信号强度指标值、第一网络速率指标值、第二信号强度指标值和第二网络速率指标值分别为在预设时长内的平均第一信号强度指标值、平均第一网络速率指标值、平均第二信号强度指标值和平均网络速率指标值。In an example, the first signal strength indicator value, the first network rate indicator value, the second signal strength indicator value, and the second network rate indicator value are respectively the average first signal strength indicator value and the average first signal strength indicator value within a preset period of time. 1. A network rate index value, an average second signal strength index value, and an average network rate index value.
具体地说,AP将在预设时长内多次检测的第一信号强度指标值S1进行平均值计算,得到平均第一信号强度指标值S1,将在预设时长内多次检测的第一网络速率指标值R1进行平均值计算,得到平均第一网络速率指标值R1,将在预设时长内多次检测的第二信号强度指标值S2进行平均值计算,得到平均第二信号强度指标值S2,将在预设时长内多次检测的第二网络速率指标值R2进行平均值计算,得到平均第二网络速率指标值R2,其中,预设时长可以根据实际需要预先进行设定,本实施例不做具体限定。由于第一信号强度指标值S1、第一网络速率指标值R1、第二信号强度指标值S2和第二网络速率指标值R2可能存在波动,所以计算预设时长内的平均值,能够避免指标值波动的影响,使得各指标值更加准确。Specifically, the AP calculates the average value of the first signal strength indicator value S1 detected multiple times within a preset time period to obtain the average first signal strength indicator value S1, which will be the first network detected multiple times within the preset time period The rate index value R1 is averaged to obtain the average first network rate index value R1, and the second signal strength index value S2 detected multiple times within the preset time period is averaged to obtain the average second signal strength index value S2 , Calculate the average value of the second network rate index value R2 detected multiple times within the preset time period to obtain the average second network rate index value R2, where the preset time period can be preset according to actual needs. In this embodiment There is no specific limitation. Since the first signal strength indicator value S1, the first network rate indicator value R1, the second signal strength indicator value S2, and the second network rate indicator value R2 may fluctuate, calculating the average value within the preset time period can avoid the indicator value The influence of volatility makes the value of each indicator more accurate.
步骤103,根据第一信号强度指标值、第一网络速率指标值、第二信号强度指标值和第二网络速率指标值,确定网络质量指标变化值。Step 103: Determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value.
在一个例子中,通过以下方式计算网络质量指标变化值:D=S1/(S1+S2)+R2/(R1+R2);其中,D为网络质量指标变化值,S1为第一信号强度指标值,S2为第二信号强度指标值,R1为第一网络速率指标值,R2为第二网络速率指标值。例如:第一信号强度指标值S1为-45dbm,R1为270Mbps,S2为-78dbm,R2为130Mbps,则D=(-45)/(-45-78)+130/(130+270)=0.69。通过这样的计算方法,AP可以计算出网络质量指标变化值。In an example, the network quality index change value is calculated by the following method: D=S1/(S1+S2)+R2/(R1+R2); where D is the network quality index change value, and S1 is the first signal strength index Value, S2 is the second signal strength index value, R1 is the first network rate index value, and R2 is the second network rate index value. For example: the first signal strength index value S1 is -45dbm, R1 is 270Mbps, S2 is -78dbm, R2 is 130Mbps, then D=(-45)/(-45-78)+130/(130+270)=0.69 . Through this calculation method, the AP can calculate the change value of the network quality index.
在一个例子中,预先设定第一信号强度指标值S1、第一网络速率指标值R1、第二信号强度指标值S2和第二网络速率指标值R2,与网络质量指标变化值的对应关系,在确定了第一信号强度指标值S1、第一网络速率指标值R1、第二信号强度指标值S2和第二网络速率指标值R2之后,AP可以根据该对应关系确定网络质量指标变化值。In an example, the corresponding relationship between the first signal strength index value S1, the first network rate index value R1, the second signal strength index value S2, and the second network rate index value R2 is preset, and the change value of the network quality index, After determining the first signal strength indicator value S1, the first network rate indicator value R1, the second signal strength indicator value S2, and the second network rate indicator value R2, the AP may determine the network quality indicator change value according to the corresponding relationship.
步骤104,根据网络质量指标变化值,调整STA由第一频段切换第二频段的切换条件。Step 104: Adjust the switching condition for the STA to switch from the first frequency band to the second frequency band according to the change value of the network quality index.
在一个例子中,请参考图2,步骤104包括以下子步骤:In an example, please refer to FIG. 2. Step 104 includes the following sub-steps:
子步骤1041,当网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度。In sub-step 1041, when the network quality index change value indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band, adjust the switching condition for the STA to switch from the first frequency band to the second frequency band, and the STA is in The switching difficulty under the adjusted switching condition is higher than the switching difficulty under the switching condition before the adjustment.
子步骤1042,当网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化或提升时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度。In sub-step 1042, when the network quality indicator change value indicates that the network quality of the STA in the second frequency band has not changed or improved compared with the network quality of the STA in the first frequency band, adjust the switching condition for the STA to switch from the first frequency band to the second frequency band , The handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
具体地说,AP预先设定网络质量指标变化值D与网络质量变化情况的对应关系,在确定了网络质量指标变化值D之后,基于上述对应关系与该网络质量指标变化值D关系可以确定网络质量变化情况,网络质量变化情况能够表示STA在第二频段下的网络质量相比STA在第一频段下的网络质量的变化情况。例如:预先设定的网络质量指标变化值D与网络质量变化情况的对应关系如下,D<0.8时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升。Specifically, the AP presets the corresponding relationship between the network quality indicator change value D and the network quality change. After determining the network quality indicator change value D, the network can be determined based on the above corresponding relationship and the network quality indicator change value D. The quality change situation, the network quality change situation can indicate the change situation of the network quality of the STA in the second frequency band compared to the network quality of the STA in the first frequency band. For example: the corresponding relationship between the preset network quality index change value D and the network quality change is as follows, when D<0.8, it indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; When 0.8<D<1.2, it indicates that the network quality of the STA in the second frequency band has no change compared with the network quality of the STA in the first frequency band; when D>1.2, it indicates that the network quality of the STA in the second frequency band is compared with that of the STA in the first frequency band. The network quality in the first frequency band is improved.
当切换后的网络质量下降时,说明STA在第一频段下的网络质量较好,则调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,即增大了STA由第一频段切换第二频段的切换难度,这样使得STA尽可能的处于第一频段,较难的切换到第二频段;当切换后的网络质量无变化时,可以尝试性的调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度,即减小了STA由第一频段切换第二频段的切换难度,这样使得STA尽可能容易的切换到第二频段,这样在调整后的切换条件下进行频段切换后网络质量可能会提高;当切换后的网络质量提升时,说明在第二频段下的网络质量较好,则调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度, 即减小了STA由第一频段切换第二频段的切换难度,这样使得STA尽可能容易的切换到第二频段。通过这样的方法,AP可以合理的调整STA由第一频段切换第二频段的切换条件,使得STA尽可能的处于网络质量较好的频段。When the network quality after handover drops, indicating that the STA has better network quality in the first frequency band, adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band. The handover difficulty of the STA under the adjusted handover conditions is higher than The difficulty of handover under the handover conditions before the adjustment increases the difficulty of switching the STA from the first frequency band to the second frequency band, so that the STA is in the first frequency band as much as possible, and it is more difficult to switch to the second frequency band; When there is no change in the network quality afterwards, you can try to adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band. The handover difficulty of the STA under the adjusted handover conditions is lower than the handover difficulty under the handover conditions before the adjustment. That is, the difficulty of switching the STA from the first frequency band to the second frequency band is reduced, so that the STA can switch to the second frequency band as easily as possible, so that the network quality may be improved after the frequency band is switched under the adjusted switching conditions; When the later network quality is improved, indicating that the network quality in the second frequency band is better, adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band. The handover difficulty of the STA under the adjusted handover conditions is lower than that before the adjustment. The difficulty of switching under the switching condition of, that is, the difficulty of switching the STA from the first frequency band to the second frequency band is reduced, so that the STA can switch to the second frequency band as easily as possible. Through this method, the AP can reasonably adjust the switching conditions for the STA to switch from the first frequency band to the second frequency band, so that the STA is in a frequency band with better network quality as much as possible.
在一个例子中,切换条件包括切换阈值,且切换阈值为预设的信号强度指标值;调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,包括:当第一频段的中心频率小于第二频段的中心频率时,将切换阈值调高,当第一频段的中心频率大于第二频段的中心频率时,将切换阈值调低,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度;调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下切换的难度,包括:当第一频段的频率中心小于第二频段的中心频率时,将切换阈值调低,当第一频段的中心频率大于第二频段的中心频率时,将切换阈值调高,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下切换难度。In one example, the handover condition includes a handover threshold, and the handover threshold is a preset signal strength index value; the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted, and the handover difficulty of the STA under the adjusted handover condition is higher than The difficulty of switching under the switching conditions before adjustment includes: when the center frequency of the first frequency band is less than the center frequency of the second frequency band, increase the switching threshold, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band , Adjust the handover threshold lower, the handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment; adjust the handover condition for the STA to switch from the first frequency band to the second frequency band. The difficulty of switching under the switching conditions is lower than the difficulty of switching under the switching conditions before adjustment, including: when the frequency center of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is lowered, when the center frequency of the first frequency band When it is greater than the center frequency of the second frequency band, the handover threshold is increased, and the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
具体地说,当切换条件包括切换阈值,且切换阈值为预设的信号强度指标值时,在STA靠近AP的过程中,信号强度指标值会变大,当信号强度指标值大于或等于切换阈值时,AP会控制STA从中心频率低的频段切换至中心频率高的频段,在STA远离AP的过程中,信号强度指标值会变小,当信号强度指标值小于或等于切换阈值时,AP会控制STA会从中心频率高的频段切换至中心频率低的频段。所以,当第一频段的中心频率小于第二频段的中心频率时,若需要增加STA切换到第二频段的难度,则需要将切换阈值调高,在调整后的切换阈值下STA更难切换到第二频段,使STA更靠近AP时才能切换至第二频段;当第一频段的中心频率大于第二频段的频率时,若需要增加STA切换到第二频段的难度,则需要将切换阈值调低,在调整后的切换阈值下更难切换到第二频段,使STA更加远离AP时才能切换至第二频段。当第一频段的中心频率小于第二频段的中心频率时,若需要降低STA切换到第二频段的难度,则需要将切换阈值调低,在调整后的切换阈值下STA更容易切换到第二频段,使STA在离AP较远时就可以切换到第二频段;当第一频段的中心频率大于第二频段的中心频率时,若需要降低STA切换到第二频段的难度,则需要将切换阈值调 高,在调整后的切换阈值下STA更容易切换到第二频段,使STA在离AP较近时就可以切换到第二频段。通过这样的方法,可以准确的调整STA由第一频段切换第二频段的切换条件。Specifically, when the switching condition includes the switching threshold, and the switching threshold is the preset signal strength index value, the signal strength index value will become larger when the STA approaches the AP. When the signal strength index value is greater than or equal to the switching threshold value The AP will control the STA to switch from a frequency band with a low center frequency to a frequency band with a high center frequency. When the STA moves away from the AP, the signal strength indicator value will become smaller. When the signal strength indicator value is less than or equal to the switching threshold, the AP will The control STA will switch from a frequency band with a high center frequency to a frequency band with a low center frequency. Therefore, when the center frequency of the first frequency band is less than the center frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the handover threshold needs to be increased. Under the adjusted handover threshold, it is more difficult for the STA to switch to For the second frequency band, switch to the second frequency band when the STA is closer to the AP; when the center frequency of the first frequency band is greater than the frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the switching threshold needs to be adjusted Low, it is more difficult to switch to the second frequency band under the adjusted switching threshold, and the STA can only switch to the second frequency band when the STA is farther away from the AP. When the center frequency of the first frequency band is less than the center frequency of the second frequency band, if the difficulty of STA switching to the second frequency band needs to be reduced, the handover threshold needs to be lowered. Under the adjusted handover threshold, it is easier for the STA to switch to the second frequency band. Frequency band, so that the STA can switch to the second frequency band when it is far away from the AP; when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, if you need to reduce the difficulty of STA switching to the second frequency band, you need to switch The threshold is increased, and it is easier for the STA to switch to the second frequency band under the adjusted switching threshold, so that the STA can switch to the second frequency band when it is closer to the AP. Through this method, the switching conditions for the STA to switch from the first frequency band to the second frequency band can be accurately adjusted.
在一个例子中,切换阈值还可以为预设的网络速率指标值,当切换阈值为预设的网络速率指标值时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,以及调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下切换的难度的方式与前述类似,在此不再赘述。In an example, the handover threshold may also be a preset network rate index value. When the handover threshold is a preset network rate index value, the switching condition for the STA to switch from the first frequency band to the second frequency band is adjusted. The handover difficulty under the handover condition is higher than the handover difficulty under the handover condition before the adjustment, and the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted. The handover difficulty of the STA under the adjusted handover condition is lower than that before the adjustment. The difficulty of switching under the switching condition is similar to the foregoing, and will not be repeated here.
在一个例子中,将切换阈值调高或将切换阈值调低,包括:根据预设的调整步长,将切换阈值调高或将切换阈值调低,从而可以通过调整步长的设定,较快的将切换阈值调高或将调低。预设的调整步长可以根据实际情况进行设定,本实施例不做具体限定。例如:预设的调整步长为3dbm,调整前的切换阈值为-45dbm,将切换阈值调高时,调整后的切换阈值为-42dbm。In one example, increasing the switching threshold value or lowering the switching threshold value includes: adjusting the switching threshold value higher or lowering the switching threshold value according to the preset adjustment step length, so that the setting of the step length can be adjusted to make the switching threshold higher or lower. Quickly increase or decrease the switching threshold. The preset adjustment step length can be set according to actual conditions, and this embodiment does not specifically limit it. For example: the preset adjustment step is 3dbm, and the switching threshold before adjustment is -45dbm. When the switching threshold is increased, the adjusted switching threshold is -42dbm.
以下将结合两个具体的实例对本实施例的调整切换条件的方法进行说明。The method for adjusting the switching condition of this embodiment will be described below in conjunction with two specific examples.
第一个具体的实例:第一频段为2.4G,第二频段为5G,第一信号强度指标值S1大于或等于切换阈值时,AP控制STA由第一频段切换第二频段,切换阈值为预设的信号强度指标值-45dbm。The first specific example: the first frequency band is 2.4G, the second frequency band is 5G, and the first signal strength index value S1 is greater than or equal to the switching threshold, the AP controls the STA to switch from the first frequency band to the second frequency band, and the switching threshold is the preset value. Set the signal strength index value -45dbm.
在STA基于2.4G与AP进行网络通信的过程中,AP检测到STA在2.4G下的第一信号强度指标值S1=-45dbm和第一网络速率指标值R1=270Mbps;此时第一信号强度指标值S1等于-45dbm,AP控制STA由2.4G切换5G,在STA切换至5G与AP进行网络通信的过程中,AP检测到STA在5G下的第二信号强度指标值S2=-78dbm和第二网络速率指标值R2=130Mbps;则网络质量指标值D=(-45)/(-45-78)+130/(130+270)=0.69,根据预先设定网络质量指标变化值D与网络质量变化情况的对应关系:D<0.8时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,可以确定此时STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降,则根据预设的 调整步长3dbm,将切换阈值调高为-42dbm,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,增加了STA由第一频段切换第二频段的切换难度。During the network communication between STA and AP based on 2.4G, the AP detects that the first signal strength index value S1=-45dbm and the first network rate index value R1=270Mbps of the STA under 2.4G; at this time, the first signal strength The index value S1 is equal to -45dbm, and the AP controls the STA to switch from 2.4G to 5G. When the STA is switched to 5G for network communication with the AP, the AP detects that the second signal strength index value S2 of the STA under 5G is S2=-78dbm and the second 2. The network rate index value R2=130Mbps; then the network quality index value D=(-45)/(-45-78)+130/(130+270)=0.69, according to the preset network quality index change value D and the network Correspondence of quality changes: When D<0.8, the network quality of the STA in the second frequency band is lower than the network quality of the STA in the first frequency band; when 0.8<D<1.2, the network quality of the STA in the second frequency band Compared with the network quality of the STA in the first frequency band, there is no change; when D>1.2, the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band. It can be determined that the STA is in the second frequency band at this time. Compared with the network quality of the STA in the first frequency band, the network quality of the STA is lower than that of the STA in the first frequency band. According to the preset adjustment step size of 3dbm, the handover threshold is increased to -42dbm. The handover difficulty of the STA under the adjusted handover conditions is higher than that of the The handover difficulty under the handover condition before adjustment increases the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
第二个具体的实例:第一频段为5G,第二频段为2.4G,第一信号强度指标值S1小于或等于切换阈值时,AP控制STA由第一频段切换第二频段,切换阈值为预设的信号强度指标值-70dbm。The second specific example: the first frequency band is 5G, the second frequency band is 2.4G, and the first signal strength index value S1 is less than or equal to the switching threshold, the AP controls the STA to switch from the first frequency band to the second frequency band, and the switching threshold is the preset value. Set the signal strength index value -70dbm.
在STA基于5G与AP进行网络通信的过程中,AP检测到STA在5G下的第一信号强度指标值S1=-70dbm和第一网络速率指标值R1=39Mbps;此时第一信号强度指标值S1等于-70dbm,AP控制STA由5G切换2.4G,在STA切换至5G与AP进行网络通信的过程中,AP检测到STA在5G下的第二信号强度指标值S2=--80dbm和第二网络速率指标值R2=216Mbps;则网络质量指标值D=(-70)/(-70-80)+216/(39+216)=1.31,根据预先设定网络质量指标变化值D与网络质量变化情况的对应关系:D<0.8时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,可以确定此时STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,则根据预设的调整步长3dbm,将切换阈值调高为-67dbm,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度,减小了STA由第一频段切换第二频段的切换难度。During the network communication between the STA and the AP based on 5G, the AP detects that the first signal strength index value S1=-70dbm and the first network rate index value R1=39Mbps of the STA under 5G; at this time, the first signal strength index value S1 is equal to -70dbm, and AP controls STA to switch 2.4G from 5G. During the process of STA switching to 5G for network communication with AP, AP detects the second signal strength index value of STA under 5G S2=--80dbm and second The network rate index value R2=216Mbps; then the network quality index value D=(-70)/(-70-80)+216/(39+216)=1.31, according to the preset network quality index change value D and network quality Correspondence of changes: When D<0.8, the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; when 0.8<D<1.2, the network quality of the STA in the second frequency band is similar Compared with the STA's network quality in the first frequency band, there is no change; when D>1.2, the STA's network quality in the second frequency band is better than the STA's network quality in the first frequency band. It can be determined that the STA is in the second frequency band at this time. Compared with the network quality of the STA in the first frequency band, the network quality of the STA is improved. According to the preset adjustment step size of 3dbm, the handover threshold is increased to -67dbm. The handover difficulty of the STA under the adjusted handover conditions is lower than that under the adjustment The handover difficulty under the previous handover conditions reduces the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
本实施例中,在Wi-Fi终端STA基于第一频段与AP进行网络通信的过程中,检测STA在第一频段下的第一信号强度指标值和第一网络速率指标值;在STA切换至第二频段与AP进行网络通信的过程中,检测STA在第二频段下的第二信号强度指标值和第二网络速率指标值;根据第一信号强度指标值、第一网络速率指标值、第二信号强度指标值和第二网络速率指标值,确定网络质量指标变化值;根据网络质量指标变化值,调整STA由第一频段切换第二频段的切换条件,通过这样的方法实现自动调整切换条件,由于网络质量指标变化值可以反映出STA在进行频段切换前后的网络质量是否提升以及提升的幅度,相当于反映出了STA的网络环境的变化情况,所以根据网络质量指标变化值调整 切换条件时考虑了STA的网络环境的变化,STA在调整后的切换条件下进行频段切换时,提高了频段切换后网络质量提升的可能性。In this embodiment, when the Wi-Fi terminal STA performs network communication with the AP based on the first frequency band, the first signal strength index value and the first network rate index value of the STA in the first frequency band are detected; the STA switches to During the network communication between the second frequency band and the AP, the second signal strength index value and the second network rate index value of the STA in the second frequency band are detected; according to the first signal strength index value, the first network rate index value, and the second 2. The signal strength index value and the second network rate index value are used to determine the change value of the network quality index; according to the change value of the network quality index, adjust the switching conditions of the STA from the first frequency band to the second frequency band, and realize automatic adjustment of the switching conditions through this method , Because the network quality index change value can reflect whether the network quality of the STA before and after the frequency band switch is improved and the degree of improvement, which is equivalent to reflecting the change of the STA's network environment, so when adjusting the switching conditions according to the network quality index change value Taking into account the changes in the network environment of the STA, when the STA performs frequency band switching under the adjusted switching conditions, the possibility of improving the network quality after the frequency band switching is improved.
本申请的第二实施例涉及一种调整切换条件的方法,第二实施例与第一实施例大致相同,主要区别之处在于:在调整切换条件时,还考虑了STA在第一频段下的业务质量指标值。本实施例的调整切换条件的方法的具体流程如图3所示,包括:The second embodiment of the present application relates to a method for adjusting handover conditions. The second embodiment is roughly the same as the first embodiment. The main difference is that when the handover conditions are adjusted, the STA's operation in the first frequency band is also considered. Service quality index value. The specific process of the method for adjusting handover conditions in this embodiment is shown in FIG. 3 and includes:
步骤201,在STA基于第一频段与路由器进行网络通信的过程中,检测STA在第一频段下的第一信号强度指标值、第一网络速率指标值和业务质量指标值。Step 201: In the process of the STA performing network communication with the router based on the first frequency band, detect the first signal strength index value, the first network rate index value, and the service quality index value of the STA in the first frequency band.
具体地说,在STA基于第一频段与AP进行网络通信的过程中,AP实时检测STA在第一频段下的第一信号强度指标值S1、第一网络速率指标值R1和业务质量指标值Z,业务质量指标值Z包括网络丢包率Z1和/或时延指标值Z2,且可以反应出业务体验的好坏,当业务质量指标值Z满足当前业务的需求时,表明业务体验好,当业务质量指标值Z不满足当前业务的需求时,表明业务体验差。其中,不同的业务有不同的需求,例如:视频业务的业务需求为网络丢包率小于10%,且时延指标值小于10ms。Specifically, in the process of the STA performing network communication with the AP based on the first frequency band, the AP detects in real time the first signal strength index value S1, the first network rate index value R1, and the service quality index value Z of the STA in the first frequency band. , The service quality index value Z includes the network packet loss rate Z1 and/or the delay index value Z2, and can reflect the quality of the service experience. When the service quality index value Z meets the current service requirements, it indicates that the service experience is good. When the service quality index value Z does not meet the requirements of the current service, it indicates that the service experience is poor. Among them, different services have different requirements. For example, the service requirement of the video service is that the network packet loss rate is less than 10%, and the delay index value is less than 10ms.
步骤202,在STA切换至第二频段与路由器进行网络通信的过程中,检测STA在第二频段下的第二信号强度指标值和第二网络速率指标值。Step 202: Detect the second signal strength index value and the second network rate index value of the STA in the second frequency band when the STA switches to the second frequency band to perform network communication with the router.
步骤203,根据第一信号强度指标值、第一网络速率指标值、第二信号强度指标值和第二网络速率指标值,确定网络质量指标变化值。Step 203: Determine the network quality index change value according to the first signal strength index value, the first network rate index value, the second signal strength index value, and the second network rate index value.
步骤202-203与第一实施例中的步骤102-103类似,在此不再赘述。Steps 202-203 are similar to steps 102-103 in the first embodiment, and will not be repeated here.
步骤204,根据网络质量指标变化值和业务质量指标值,调整STA由第一频段切换第二频段的切换条件。Step 204: Adjust the switching condition for the STA to switch from the first frequency band to the second frequency band according to the network quality index change value and the service quality index value.
在一个例子中,请参考图4,步骤204包括以下子步骤:In an example, please refer to FIG. 4, step 204 includes the following sub-steps:
子步骤2041,当业务质量指标值满足当前业务的需求,且网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度。In sub-step 2041, when the service quality index value meets the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band, adjust the STA from the first frequency band. Frequency band switching The switching condition of the second frequency band, the switching difficulty of the STA under the adjusted switching condition is higher than the switching difficulty under the switching condition before the adjustment.
子步骤2042,当业务质量指标值不满足当前业务的需求,且网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量 提升时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度。In sub-step 2042, when the service quality index value does not meet the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, adjust the STA from the first frequency band One frequency band switches the switching condition of the second frequency band, and the switching difficulty of the STA under the adjusted switching condition is lower than the switching difficulty under the switching condition before the adjustment.
子步骤2043,当业务质量指标值满足当前业务的需求,且网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量提升时,或者,当网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化时,或者,当业务质量指标值不满足当前业务的需求,且网络质量指标变化值指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降时,保持STA由第一频段切换第二频段的切换条件不变。Sub-step 2043, when the service quality index value meets the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is compared with the network quality of the STA in the first frequency band When increasing, or when the network quality index change value indicates that the network quality of the STA in the second frequency band has not changed compared with the network quality of the STA in the first frequency band, or when the service quality index value does not meet the current service requirements, In addition, the change value of the network quality indicator indicates that when the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band, the switching condition for the STA to switch from the first frequency band to the second frequency band is kept unchanged.
具体地说,不同的业务有不同的需求,AP检测到STA在第一频段下的业务质量指标值,与当前业务需求的业务质量指标值进行比较,可以确定出业务质量指标值是否满足当前业务的需求。当业务质量指标值包括网络丢包率Z1或时延指标值Z2时,当前业务的业务需求为网络丢包率Z1或时延指标值Z2小于预设值,则检测到的网络丢包率Z1或时延指标值Z2小于预设值时,满足当前业务,网络丢包率Z1或时延指标值Z2大于预设值时,不满足当前业务;当业务质量指标值包括网络丢包率Z1和时延指标值Z2,当前业务的业务需求为网络丢包率小于第一预设值,且时延指标值小于第二预设值,则检测到的网络丢包率Z1小于第一预设值,且时延指标值Z2小于第二预设值时,满足当前业务需求;网络丢包率Z1大于第一预设值,或时延指标值Z2大于第二预设值时不满足当前业务需求。Specifically, different services have different requirements. The AP detects the service quality index value of the STA in the first frequency band, compares it with the service quality index value of the current service requirement, and can determine whether the service quality index value meets the current service Demand. When the service quality index value includes the network packet loss rate Z1 or the delay index value Z2, the current service business demand is the network packet loss rate Z1 or the delay index value Z2 is less than the preset value, then the detected network packet loss rate Z1 Or when the delay index value Z2 is less than the preset value, the current service is satisfied, and when the network packet loss rate Z1 or the delay index value Z2 is greater than the preset value, the current service is not satisfied; when the service quality index value includes the network packet loss rate Z1 and The delay index value Z2, the current service requirement is that the network packet loss rate is less than the first preset value, and the delay index value is less than the second preset value, then the detected network packet loss rate Z1 is less than the first preset value , And when the delay index value Z2 is less than the second preset value, the current service requirements are met; when the network packet loss rate Z1 is greater than the first preset value, or the delay index value Z2 is greater than the second preset value, the current service requirements are not met .
AP预先设定网络质量指标变化值D与网络质量变化情况的对应关系,在确定了网络质量指标变化值D之后,基于上述对应关系与该网络质量指标变化值D关系可以确定网络质量变化情况,网络质量变化情况能够表示STA在第二频段下的网络质量相比STA在第一频段下的网络质量的变化情况。例如:预先设定的网络质量指标变化值D与网络质量变化情况的对应关系如下,D<0.8时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,指示STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升。The AP presets the corresponding relationship between the network quality indicator change value D and the network quality change. After the network quality indicator change value D is determined, the network quality change can be determined based on the above corresponding relationship and the relationship between the network quality indicator change value D. The network quality change situation can indicate the change situation of the network quality of the STA in the second frequency band compared to the network quality of the STA in the first frequency band. For example: the corresponding relationship between the preset network quality index change value D and the network quality change is as follows, when D<0.8, it indicates that the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; When 0.8<D<1.2, it indicates that the network quality of the STA in the second frequency band has no change compared with the network quality of the STA in the first frequency band; when D>1.2, it indicates that the network quality of the STA in the second frequency band is compared with that of the STA in the first frequency band. The network quality in the first frequency band is improved.
当业务质量指标值满足当前业务的需求,且切换后的网络质量有所下降时,说明STA在第一频段下的网络质量较好,则调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,即增大了STA由第一频段切换第二频段的切换难度,这样使得STA尽可能的处于第一频段,较难的切换到第二频段;当业务质量指标值不满足当前业务的需求,且切换后的网络质量有所提升时,说明在第二频段下的网络质量较好,则调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度,即减小了STA由第一频段切换第二频段的切换难度,这样使得STA可以尽可能容易的切换到第二频段;当业务质量指标值满足当前业务的需求,且切换后的网络质量有所提升时,说明STA在切换前后的网络质量均较好,即当前的切换条件较好,此时保持切换条件不变可以使切换前后的网络质量均处于较好的状态,或者,当切换后的网络质量无变化时,此时调整切换条件也不能保证提高在调整后的切换条件下进行频段切换后网络质量提升的可能性,所以保持切换条件不变,或者,当业务质量指标值不满足当前业务的需求,且切换后的网络质量有所下降时,说明切换前后的网络质量均不是很好,即使调整切换条件也不能保证提高在调整后的切换条件下进行频段切换后网络质量提升的可能性,所以保持切换条件不变,即STA由第一频段切换第二频段的切换难度保持不变。通过这样的方法,AP可以合理的调整STA由第一频段切换第二频段的切换条件。When the service quality index value meets the needs of the current service and the network quality after the handover has declined, it means that the STA has better network quality in the first frequency band. Then, adjust the handover condition for the STA to switch from the first frequency band to the second frequency band. The handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment, which increases the difficulty of switching the STA from the first frequency band to the second frequency band, so that the STA is in the first place as much as possible. Frequency band, it is difficult to switch to the second frequency band; when the service quality index value does not meet the needs of the current service, and the network quality after the handover has improved, it means that the network quality in the second frequency band is better, then adjust the STA by The switching conditions for the first frequency band to switch to the second frequency band, the switching difficulty of the STA under the adjusted switching conditions is lower than the switching difficulty under the switching conditions before the adjustment, that is, the switching of the STA from the first frequency band to the second frequency band is reduced Difficulty, so that the STA can switch to the second frequency band as easily as possible; when the service quality index value meets the needs of the current service, and the network quality after the handover has improved, it means that the STA’s network quality before and after the handover is better. That is, the current handover conditions are good. At this time, keeping the handover conditions unchanged can make the network quality before and after the handover be in a better state, or, when the network quality after the handover does not change, adjusting the handover conditions at this time cannot guarantee the improvement. The possibility of improving the network quality after the frequency band is switched under the adjusted switching conditions, so the switching conditions remain unchanged, or when the service quality index value does not meet the needs of the current service, and the network quality after the switching decreases, It means that the network quality before and after the switching is not very good. Even if the switching conditions are adjusted, the possibility of improving the network quality after the frequency band switching under the adjusted switching conditions cannot be guaranteed. Therefore, the switching conditions are kept unchanged, that is, the STA is switched from the first frequency band. The difficulty of switching to the second frequency band remains unchanged. Through this method, the AP can reasonably adjust the handover conditions for the STA to switch from the first frequency band to the second frequency band.
在一个例子中,切换条件包括切换阈值,且切换阈值为预设的信号强度指标值;调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,包括:当第一频段的中心频率小于第二频段的中心频率时,将切换阈值调高,当第一频段的中心频率大于第二频段的中心频率时,将切换阈值调低,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度;调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下切换的难度,包括:当第一频段的频率中心小于第二频段的中心频率时,将切换阈值调低,当第一频段的中心频率大于第二频段的中心频率时,将切换阈值调高,使STA在调整后的切换条件下的切换难度低于在调整前的切 换条件下切换难度。In one example, the handover condition includes a handover threshold, and the handover threshold is a preset signal strength index value; the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted, and the handover difficulty of the STA under the adjusted handover condition is higher than The difficulty of switching under the switching conditions before adjustment includes: when the center frequency of the first frequency band is less than the center frequency of the second frequency band, increase the switching threshold, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band , Adjust the handover threshold lower, the handover difficulty of the STA under the adjusted handover condition is higher than the handover difficulty under the handover condition before the adjustment; adjust the handover condition for the STA to switch from the first frequency band to the second frequency band. The difficulty of switching under the switching conditions is lower than the difficulty of switching under the switching conditions before adjustment, including: when the frequency center of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is lowered, when the center frequency of the first frequency band When it is greater than the center frequency of the second frequency band, the handover threshold is increased so that the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment.
具体地说,当切换条件包括切换阈值,且切换阈值为预设的信号强度指标值时,在STA靠近AP的过程中,信号强度指标值会变大,当信号强度指标值大于或等于切换阈值时,AP会控制STA从中心频率低的频段切换至中心频率高的频段,在STA远离AP的过程中,信号强度指标值会变小,当信号强度指标值小于或等于切换阈值时,AP会控制STA会从中心频率高的频段切换至中心频率低的频段。所以,当第一频段的中心频率小于第二频段的中心频率时,若需要增加STA切换到第二频段的难度,则需要将切换阈值调高,在调整后的切换阈值下STA更难切换到第二频段,使STA更靠近AP时才能切换至第二频段;当第一频段的中心频率大于第二频段的频率时,若需要增加STA切换到第二频段的难度,则需要将切换阈值调低,在调整后的切换阈值下更难切换到第二频段,使STA更加远离AP时才能切换至第二频段。当第一频段的中心频率小于第二频段的中心频率时,若需要降低STA切换到第二频段的难度,则需要将切换阈值调低,在调整后的切换阈值下STA更容易切换到第二频段,使STA在离AP较远时就可以切换到第二频段;当第一频段的中心频率大于第二频段的中心频率时,若需要降低STA切换到第二频段的难度,则需要将切换阈值调高,在调整后的切换阈值下STA更容易切换到第二频段,使STA在离AP较近时就可以切换到第二频段。通过这样的方法,可以准确的调整STA由第一频段切换第二频段的切换条件。Specifically, when the switching condition includes the switching threshold, and the switching threshold is the preset signal strength index value, the signal strength index value will become larger when the STA approaches the AP. When the signal strength index value is greater than or equal to the switching threshold value The AP will control the STA to switch from a frequency band with a low center frequency to a frequency band with a high center frequency. When the STA moves away from the AP, the signal strength indicator value will become smaller. When the signal strength indicator value is less than or equal to the switching threshold, the AP will The control STA will switch from a frequency band with a high center frequency to a frequency band with a low center frequency. Therefore, when the center frequency of the first frequency band is less than the center frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the handover threshold needs to be increased. Under the adjusted handover threshold, it is more difficult for the STA to switch to For the second frequency band, switch to the second frequency band when the STA is closer to the AP; when the center frequency of the first frequency band is greater than the frequency of the second frequency band, if it is necessary to increase the difficulty for the STA to switch to the second frequency band, the switching threshold needs to be adjusted Low, it is more difficult to switch to the second frequency band under the adjusted switching threshold, and the STA can only switch to the second frequency band when the STA is farther away from the AP. When the center frequency of the first frequency band is less than the center frequency of the second frequency band, if the difficulty of STA switching to the second frequency band needs to be reduced, the handover threshold needs to be lowered. Under the adjusted handover threshold, it is easier for the STA to switch to the second frequency band. Frequency band, so that the STA can switch to the second frequency band when it is far away from the AP; when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, if you need to reduce the difficulty of STA switching to the second frequency band, you need to switch The threshold is increased, and it is easier for the STA to switch to the second frequency band under the adjusted switching threshold, so that the STA can switch to the second frequency band when it is closer to the AP. Through this method, the switching conditions for the STA to switch from the first frequency band to the second frequency band can be accurately adjusted.
在一个例子中,切换阈值还可以为预设的网络速率指标值,当切换阈值为预设的网络速率指标值时,调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,以及调整STA由第一频段切换第二频段的切换条件,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下切换的难度的方式与前述类似,在此不再赘述。In an example, the handover threshold may also be a preset network rate index value. When the handover threshold is a preset network rate index value, the switching condition for the STA to switch from the first frequency band to the second frequency band is adjusted. The handover difficulty under the handover condition is higher than the handover difficulty under the handover condition before the adjustment, and the handover condition for the STA to switch from the first frequency band to the second frequency band is adjusted. The handover difficulty of the STA under the adjusted handover condition is lower than that before the adjustment. The difficulty of switching under the switching condition is similar to the foregoing, and will not be repeated here.
在一个例子中,将切换阈值调高或将切换阈值调低,包括:根据预设的调整步长,将切换阈值调高或将切换阈值调低,从而可以通过调整步长的设定,较快的将切换阈值调高或将调低。预设的调整步长可以根据实际情况进行设定,本实施例不做具体限定。例如:预设的调整步长为3dbm,调整前的切换阈值为 -45dbm,将切换阈值调高时,调整后的切换阈值为-42dbm。In one example, increasing the switching threshold value or lowering the switching threshold value includes: adjusting the switching threshold value higher or lowering the switching threshold value according to the preset adjustment step length, so that the setting of the step length can be adjusted to make the switching threshold higher or lower. Quickly increase or decrease the switching threshold. The preset adjustment step length can be set according to actual conditions, and this embodiment does not specifically limit it. For example: the preset adjustment step is 3dbm, and the switching threshold before adjustment is -45dbm. When the switching threshold is increased, the adjusted switching threshold is -42dbm.
以下将结合两个具体的实例对本实施例的调整切换条件的方法进行说明。The method for adjusting the switching condition of this embodiment will be described below in conjunction with two specific examples.
第一个具体的实例:第一频段为2.4G,第二频段为5G,第一信号强度指标值S1大于或等于切换阈值时,AP控制STA由第一频段切换第二频段,切换阈值为预设的信号强度指标值-45dbm,当前业务的业务需求为网络丢包率小于10%,且时延指标值小于10ms。The first specific example: the first frequency band is 2.4G, the second frequency band is 5G, and the first signal strength index value S1 is greater than or equal to the switching threshold, the AP controls the STA to switch from the first frequency band to the second frequency band, and the switching threshold is the preset value. Suppose the signal strength index value is -45dbm, the current service requirement is that the network packet loss rate is less than 10%, and the delay index value is less than 10ms.
在STA基于2.4G与AP进行网络通信的过程中,AP检测到STA在2.4G下的第一信号强度指标值S1=-45dbm、第一网络速率指标值R1=270Mbps和业务质量指标值Z包括网络丢包率Z1=5%,时延指标值Z2=8ms;此时,网络丢包率Z1<10%且时延指标值Z2<10ms,则业务质量指标值满足当前的业务需求,而且,第一信号强度指标值S1等于-45dbm,AP控制STA由2.4G切换5G,在STA切换至5G与AP进行网络通信的过程中,AP检测到STA在5G下的第二信号强度指标值S2=-78dbm和第二网络速率指标值R2=130Mbps;则网络质量指标值D=(-45)/(-45-78)+130/(130+270)=0.69,根据预先设定网络质量指标变化值D与网络质量变化情况的对应关系:D<0.8时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,可以确定此时STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降,即,业务质量指标值满足当前业务的需求,且所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量下降,则根据预设的调整步长3dbm,将切换阈值调高为-42dbm,STA在调整后的切换条件下的切换难度高于在调整前的切换条件下的切换难度,增加了STA由第一频段切换第二频段的切换难度。During the network communication between the STA and the AP based on 2.4G, the AP detects that the first signal strength index value S1=-45dbm of the STA under 2.4G, the first network rate index value R1=270Mbps, and the service quality index value Z includes The network packet loss rate Z1=5% and the delay index value Z2=8ms; at this time, the network packet loss rate Z1<10% and the delay index value Z2<10ms, then the service quality index value meets the current business needs, and, The first signal strength index value S1 is equal to -45dbm, and the AP controls the STA to switch from 2.4G to 5G. When the STA switches to 5G to communicate with the AP, the AP detects the second signal strength index value of the STA under 5G S2= -78dbm and the second network rate index value R2=130Mbps; then the network quality index value D=(-45)/(-45-78)+130/(130+270)=0.69, which changes according to the preset network quality index Correspondence between value D and changes in network quality: when D<0.8, the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; when 0.8<D<1.2, the STA is in the second frequency band Compared with the network quality of the STA in the first frequency band, the network quality under the network has no change; when D>1.2, the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band. The network quality in the second frequency band is lower than that of the STA in the first frequency band, that is, the service quality index value meets the current service requirements, and the network quality index change value indicates that the STA is in the second frequency band. The network quality in the frequency band is lower than the network quality of the STA in the first frequency band. According to the preset adjustment step size of 3dbm, the handover threshold is increased to -42dbm. The handover difficulty is higher than the handover difficulty under the handover condition before adjustment, which increases the handover difficulty for the STA to switch from the first frequency band to the second frequency band.
第二个具体的实例:第一频段为5G,第二频段为2.4G,第一信号强度指标值S1小于或等于切换阈值时,AP控制STA由第一频段切换第二频段,切换阈值为预设的信号强度指标值-70dbm,当前业务的业务需求为网络丢包率小于10%,且时延指标值小于10ms。The second specific example: the first frequency band is 5G, the second frequency band is 2.4G, and the first signal strength index value S1 is less than or equal to the switching threshold, the AP controls the STA to switch from the first frequency band to the second frequency band, and the switching threshold is the preset value. Suppose the signal strength index value is -70dbm, the current service requirement is that the network packet loss rate is less than 10%, and the delay index value is less than 10ms.
在STA基于5G与AP进行网络通信的过程中,AP检测到STA在5G下的 第一信号强度指标值S1=-70dbm、第一网络速率指标值R1=39Mbps和业务质量指标值Z包括网络丢包率Z1=20%,时延指标值Z2=15ms;此时,网络丢包率Z1>10%且时延指标值Z2>10ms,则业务质量指标值不满足当前的业务需求,而且,第一信号强度指标值S1等于-70dbm,AP控制STA由5G切换2.4G,在STA切换至5G与AP进行网络通信的过程中,AP检测到STA在5G下的第二信号强度指标值S2=-80dbm和第二网络速率指标值R2=216Mbps;则网络质量指标值D=(-70)/(-70-80)+216/(39+216)=1.31,根据预先设定网络质量指标变化值D与网络质量变化情况的对应关系:D<0.8时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量下降;0.8<D<1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量无变化;D>1.2时,STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,即,业务质量指标值不满足当前业务的需求,且网络质量指标变化值指示所述STA在第二频段下的网络质量相比STA在第一频段下的网络质量提升,则根据预设的调整步长3dbm,将切换阈值调高为-67dbm,STA在调整后的切换条件下的切换难度低于在调整前的切换条件下的切换难度,减小了STA由第一频段切换第二频段的切换难度。During the network communication between the STA and the AP based on 5G, the AP detects that the first signal strength index value S1=-70dbm of the STA under 5G, the first network rate index value R1=39Mbps, and the service quality index value Z includes network loss. The packet rate Z1=20%, the delay index value Z2=15ms; at this time, the network packet loss rate Z1>10% and the delay index value Z2>10ms, the service quality index value does not meet the current service requirements, and the first A signal strength index value S1 is equal to -70dbm, AP controls the STA to switch 2.4G from 5G, and the AP detects the second signal strength index value S2 of the STA under 5G when the STA is switched to 5G for network communication with the AP. 80dbm and the second network rate index value R2=216Mbps; then the network quality index value D=(-70)/(-70-80)+216/(39+216)=1.31, according to the preset network quality index change value Correspondence between D and network quality changes: When D<0.8, the network quality of the STA in the second frequency band is lower than that of the STA in the first frequency band; when 0.8<D<1.2, the STA is in the second frequency band Compared with the network quality of the STA in the first frequency band, the network quality of STA has no change; when D>1.2, the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, that is, the service quality index value The current service requirements are not met, and the network quality index change value indicates that the network quality of the STA in the second frequency band is improved compared with the network quality of the STA in the first frequency band, then the switch will be switched according to the preset adjustment step of 3dbm The threshold is increased to -67dbm, and the handover difficulty of the STA under the adjusted handover condition is lower than the handover difficulty under the handover condition before the adjustment, which reduces the difficulty of switching the STA from the first frequency band to the second frequency band.
本实施例中,由于业务质量指标值也可以在一定程度上反映当前的网络环境,所以,AP根据网络质量指标变化值和业务质量指标值调整切换条件,能够综合考虑当前的网络环境与网络环境的变化情况,使得调整后的切换条件更加的合理,进一步提高了STA在调整后的切换条件下进行频段切换后网络质量提升的可能性。In this embodiment, since the service quality index value can also reflect the current network environment to a certain extent, the AP adjusts the switching conditions according to the network quality index change value and the service quality index value, which can comprehensively consider the current network environment and network environment The changed situation makes the adjusted handover conditions more reasonable, and further improves the possibility that the network quality will be improved after the STA performs frequency band switching under the adjusted handover conditions.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The division of the steps of the various methods above is only for clarity of description. When implemented, it can be combined into one step or some steps can be split into multiple steps, as long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications to the algorithm or process or introducing insignificant design, but not changing the core design of the algorithm and process are within the scope of protection of the patent.
本申请的第三实施例涉及一种电子设备,如图5所示,包括:包括至少一个处理器302;以及,与至少一个处理器通信连接的存储器301;其中,存储器301存储有可被至少一个处理器302执行的指令,指令被至少一个处理器302执行,以使至少一个处理器302能够执行上述实施例的调整切换条件的方法。The third embodiment of the present application relates to an electronic device. As shown in FIG. 5, it includes: at least one processor 302; and a memory 301 communicatively connected with the at least one processor; An instruction executed by one processor 302 is executed by at least one processor 302, so that the at least one processor 302 can execute the method for adjusting the switching condition in the foregoing embodiment.
其中,存储器301和处理器302采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器302和存储器301的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器302处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器302。The memory 301 and the processor 302 are connected in a bus manner. The bus may include any number of interconnected buses and bridges. The bus connects one or more of the processors 302 and various circuits of the memory 301 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, will not be further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on the transmission medium. The data processed by the processor 302 is transmitted on the wireless medium through the antenna, and further, the antenna also receives the data and transmits the data to the processor 302.
处理器302负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器301可以被用于存储处理器302在执行操作时所使用的数据。The processor 302 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 301 may be used to store data used by the processor 302 when performing operations.
本申请第四实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。The fourth embodiment of the present application relates to a computer-readable storage medium, which stores a computer program. When the computer program is executed by the processor, the above method embodiment is realized.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the foregoing embodiments can be implemented by instructing relevant hardware through a program. The program is stored in a storage medium and includes several instructions to enable a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) that executes all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes. .
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific embodiments for realizing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and spirit of the present application. Scope.

Claims (10)

  1. 一种调整切换条件的方法,其中,包括:A method for adjusting handover conditions, including:
    在Wi-Fi终端STA基于第一频段与路由器进行网络通信的过程中,检测所述STA在所述第一频段下的第一信号强度指标值和第一网络速率指标值;In the process of the Wi-Fi terminal STA performing network communication with the router based on the first frequency band, detecting the first signal strength index value and the first network rate index value of the STA in the first frequency band;
    在所述STA切换至第二频段与所述路由器进行网络通信的过程中,检测所述STA在所述第二频段下的第二信号强度指标值和第二网络速率指标值;When the STA switches to the second frequency band to perform network communication with the router, detecting the second signal strength index value and the second network rate index value of the STA in the second frequency band;
    根据所述第一信号强度指标值、所述第一网络速率指标值、所述第二信号强度指标值和所述第二网络速率指标值,确定网络质量指标变化值;Determine a network quality indicator change value according to the first signal strength indicator value, the first network rate indicator value, the second signal strength indicator value, and the second network rate indicator value;
    根据所述网络质量指标变化值,调整所述STA由所述第一频段切换所述第二频段的切换条件。Adjust the switching condition for the STA to switch from the first frequency band to the second frequency band according to the change value of the network quality index.
  2. 根据权利要求1所述的调整切换条件的方法,其中,所述方法还包括:The method for adjusting handover conditions according to claim 1, wherein the method further comprises:
    在所述STA基于第一频段与路由器进行网络通信的过程中,检测所述STA在所述第一频段下的业务质量指标值;In the process of the STA performing network communication with the router based on the first frequency band, detecting the service quality index value of the STA in the first frequency band;
    所述根据所述网络质量指标变化值,调整所述STA由所述第一频段切换所述第二频段的切换条件,包括:The adjusting the switching condition for the STA to switch from the first frequency band to the second frequency band according to the change value of the network quality index includes:
    根据所述网络质量指标变化值和所述业务质量指标值,调整所述STA由所述第一频段切换所述第二频段的切换条件。According to the network quality index change value and the service quality index value, the switching condition for the STA to switch from the first frequency band to the second frequency band is adjusted.
  3. 根据权利要求1或2所述的调整切换条件的方法,其中,所述根据所述网络质量指标变化值,调整所述STA由所述第一频段切换所述第二频段的切换条件,包括:The method for adjusting handover conditions according to claim 1 or 2, wherein the adjusting the handover conditions for the STA to switch from the first frequency band to the second frequency band according to the change value of the network quality index comprises:
    当所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量下降时,调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度高于在调整前的所述切换条件下的切换难度;When the network quality indicator change value indicates that the network quality of the STA in the second frequency band is lower than the network quality of the STA in the first frequency band, adjust the STA to use the first frequency band Switching the handover condition of the second frequency band, the handover difficulty of the STA under the handover condition after adjustment is higher than the handover difficulty under the handover condition before adjustment;
    当所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量无变化或提升时,调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度低于在调整前的所述切换条件下的切换难度。When the change value of the network quality indicator indicates that the network quality of the STA in the second frequency band has not changed or improved compared with the network quality of the STA in the first frequency band, the adjustment of the STA by the The first frequency band switches the switching condition of the second frequency band, and the switching difficulty of the STA under the adjusted switching condition is lower than the switching difficulty under the switching condition before the adjustment.
  4. 根据权利要求2或3所述的调整切换条件的方法,其中,所述根据所述 网络质量指标变化值和所述业务质量指标值,调整所述STA由所述第一频段切换所述第二频段的切换条件,包括:The method for adjusting handover conditions according to claim 2 or 3, wherein said adjusting said STA to switch said second frequency band from said first frequency band according to said network quality index change value and said service quality index value. Frequency band switching conditions include:
    当所述业务质量指标值满足当前业务的需求,且所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量下降时,调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度高于在调整前的所述切换条件下的切换难度;When the service quality index value meets current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is compared with the network quality of the STA in the first frequency band When falling, adjust the handover condition for the STA to switch from the first frequency band to the second frequency band, and the handover difficulty of the STA under the handover condition after adjustment is higher than that under the handover condition before adjustment Switch difficulty
    当所述业务质量指标值不满足当前业务的需求,且所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量提升时,调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度低于在调整前的所述切换条件下的切换难度;When the service quality index value does not meet the requirements of the current service, and the network quality index change value indicates that the network quality of the STA in the second frequency band is compared with the network quality of the STA in the first frequency band When the quality is improved, adjust the handover condition for the STA to switch from the first frequency band to the second frequency band, and the handover difficulty of the STA under the handover condition after the adjustment is lower than that under the handover condition before the adjustment Difficulty of switching;
    当所述业务质量指标值满足当前业务的需求,且所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量提升时,或者,当所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量无变化时,或者,当所述业务质量指标值不满足当前业务的需求,且所述网络质量指标变化值指示所述STA在所述第二频段下的网络质量相比所述STA在所述第一频段下的网络质量下降时,保持所述STA由所述第一频段切换所述第二频段的切换条件不变。When the service quality index value meets the current service requirements, and the network quality index change value indicates that the network quality of the STA in the second frequency band is compared with the network quality of the STA in the first frequency band When increasing, or when the network quality index change value indicates that the network quality of the STA in the second frequency band has not changed compared with the network quality of the STA in the first frequency band, or when all The service quality index value does not meet the requirements of the current service, and the network quality index change value indicates that the network quality of the STA in the second frequency band is lower than the network quality of the STA in the first frequency band At this time, the switching condition for the STA to switch from the first frequency band to the second frequency band is kept unchanged.
  5. 根据权利要求3或4所述的调整切换条件的方法,其中,所述切换条件包括切换阈值,且所述切换阈值为预设的信号强度指标值;The method for adjusting switching conditions according to claim 3 or 4, wherein the switching conditions include a switching threshold, and the switching threshold is a preset signal strength index value;
    所述调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度高于在调整前的所述切换条件下的切换难度,包括:The adjustment of the switching condition for the STA to switch the second frequency band from the first frequency band, the switching difficulty of the STA under the switching condition after the adjustment is higher than the switching under the switching condition before the adjustment Difficulty, including:
    当所述第一频段的中心频率小于所述第二频段的中心频率时,将所述切换阈值调高,当所述第一频段的中心频率大于所述第二频段的中心频率时,将所述切换阈值调低,所述STA在调整后的所述切换条件下的切换难度高于在调整前的所述切换条件下的切换难度;When the center frequency of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is increased, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, the switching threshold is increased. The handover threshold is lowered, and the handover difficulty of the STA under the handover condition after the adjustment is higher than the handover difficulty under the handover condition before the adjustment;
    所述调整所述STA由所述第一频段切换所述第二频段的切换条件,所述STA在调整后的所述切换条件下的切换难度低于在调整前的所述切换条件下切换的难度,包括:The adjustment of the switching condition for the STA to switch from the first frequency band to the second frequency band, the switching difficulty of the STA under the adjusted switching condition is lower than that of the switching under the switching condition before the adjustment Difficulty, including:
    当所述第一频段的频率中心小于所述第二频段的中心频率时,将所述切换阈值调低,当所述第一频段的中心频率大于所述第二频段的中心频率时,将所述切换阈值调高,所述STA在调整后的所述切换条件下的切换难度低于在调整前的所述切换条件下切换难度。When the frequency center of the first frequency band is less than the center frequency of the second frequency band, the switching threshold is lowered, and when the center frequency of the first frequency band is greater than the center frequency of the second frequency band, the switching threshold is lowered. The handover threshold is increased, and the handover difficulty of the STA under the handover condition after the adjustment is lower than the handover difficulty under the handover condition before the adjustment.
  6. 根据权利要求5所述的调整切换条件的方法,其中,所述将所述切换阈值调高或所述将所述切换阈值调低,包括:The method for adjusting handover conditions according to claim 5, wherein said adjusting said switching threshold value higher or said adjusting said switching threshold value lower comprises:
    根据预设的调整步长,将所述切换阈值调高或将所述切换阈值调低。According to a preset adjustment step size, the switching threshold is adjusted higher or the switching threshold is lowered.
  7. 根据权利要求1至6中任一项所述的调整切换条件的方法,其中,所述根据所述第一信号强度指标值、所述第一网络速率指标值、所述第二信号强度指标值和第二网络速率指标值,确定网络质量指标变化值,包括:The method for adjusting handover conditions according to any one of claims 1 to 6, wherein the first signal strength index value, the first network rate index value, and the second signal strength index value are And the second network rate index value to determine the change value of the network quality index, including:
    D=S1/(S1+S2)+R2/(R1+R2);D=S1/(S1+S2)+R2/(R1+R2);
    其中,D为所述网络质量指标变化值,S1为所述第一信号强度指标值,S2为所述第二信号强度指标值,R1为所述第一网络速率指标值,R2为所述第二网络速率指标值。Wherein, D is the change value of the network quality index, S1 is the first signal strength index value, S2 is the second signal strength index value, R1 is the first network rate index value, and R2 is the first network rate index value. 2. Network speed index value.
  8. 根据权利要求1至7中任一项所述的调整切换条件的方法,其中,所述第一信号强度指标值、所述第一网络速率指标值、所述第二信号强度指标值和所述第二网络速率指标值分别为在预设时长内的平均第一信号强度指标值、平均第一网络速率指标值、平均第二信号强度指标值和平均网络速率指标值。The method for adjusting handover conditions according to any one of claims 1 to 7, wherein the first signal strength index value, the first network rate index value, the second signal strength index value, and the The second network rate indicator values are respectively the average first signal strength indicator value, the average first network rate indicator value, the average second signal strength indicator value, and the average network rate indicator value within the preset time period.
  9. 一种电子设备,包括:An electronic device including:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,A memory communicatively connected with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至8中任一项所述的调整切换条件的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1 to 8. The method of adjusting the switching conditions described above.
  10. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至8中任一项所述的调整切换条件的方法。A computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for adjusting switching conditions according to any one of claims 1 to 8.
PCT/CN2021/100376 2020-06-23 2021-06-16 Method for adjusting switching condition, electronic device, and storage medium WO2021259107A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010584461.3 2020-06-23
CN202010584461.3A CN113840376A (en) 2020-06-23 2020-06-23 Method for adjusting switching condition, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2021259107A1 true WO2021259107A1 (en) 2021-12-30

Family

ID=78964343

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100376 WO2021259107A1 (en) 2020-06-23 2021-06-16 Method for adjusting switching condition, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN113840376A (en)
WO (1) WO2021259107A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554584A (en) * 2021-12-31 2022-05-27 锐捷网络股份有限公司 Communication method, system, server and wireless access point
CN114980234A (en) * 2022-06-24 2022-08-30 中国联合网络通信集团有限公司 Pilot frequency switching method, device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117479251A (en) * 2023-12-27 2024-01-30 深圳市新蕾电子有限公司 Dual-frequency and roaming combined network switching method, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046693A (en) * 2017-05-27 2017-08-15 上海斐讯数据通信技术有限公司 A kind of wireless router and method that frequency range switching is carried out for access terminal
CN107426781A (en) * 2017-08-16 2017-12-01 深圳市中兴物联科技有限公司 A kind of double frequency WiFi automatic switching methods, device and computer-readable recording medium
CN107466078A (en) * 2017-08-10 2017-12-12 深圳益创信息科技有限公司 A kind of method and terminal of automatic switchover WiFi network
CN109788519A (en) * 2019-03-12 2019-05-21 深圳市网是科技有限公司 A kind of double frequency WiFi intelligent handover algorithms based on 2.4G adaptive threshold

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046693A (en) * 2017-05-27 2017-08-15 上海斐讯数据通信技术有限公司 A kind of wireless router and method that frequency range switching is carried out for access terminal
CN107466078A (en) * 2017-08-10 2017-12-12 深圳益创信息科技有限公司 A kind of method and terminal of automatic switchover WiFi network
CN107426781A (en) * 2017-08-16 2017-12-01 深圳市中兴物联科技有限公司 A kind of double frequency WiFi automatic switching methods, device and computer-readable recording medium
CN109788519A (en) * 2019-03-12 2019-05-21 深圳市网是科技有限公司 A kind of double frequency WiFi intelligent handover algorithms based on 2.4G adaptive threshold

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554584A (en) * 2021-12-31 2022-05-27 锐捷网络股份有限公司 Communication method, system, server and wireless access point
CN114980234A (en) * 2022-06-24 2022-08-30 中国联合网络通信集团有限公司 Pilot frequency switching method, device and storage medium
CN114980234B (en) * 2022-06-24 2024-02-06 中国联合网络通信集团有限公司 Different frequency switching method, device and storage medium

Also Published As

Publication number Publication date
CN113840376A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
WO2021259107A1 (en) Method for adjusting switching condition, electronic device, and storage medium
JP2738384B2 (en) Transmission power control method
US6804520B1 (en) Temporary service interruption for high speed data transfer
US8085732B2 (en) Wireless communication terminal and roaming method
CN105704819A (en) Systems and methods for LTE and WLAN coexistence
US6553235B2 (en) Method and apparatus for providing adaptive fast radio channel congestion control
JP4192514B2 (en) Cell system control method, cellular system, and mobile station used therefor
WO2020011164A1 (en) Wifi transmit power control method and device, circuit, and computer storage medium
WO2014028555A1 (en) Methods and apparatus for radio link imbalance compensation
US20040166899A1 (en) Mobile communication system, radio base station controller and transmitting and receiving power control method therefor
CN110446252B (en) Energy threshold determining method for directional LBT, directional LBT method and device, storage medium, terminal and base station
US7376390B2 (en) Radio control apparatus, mobile communication method, mobile communication program, and mobile communication system
US12028845B2 (en) Beam correspondence capability reporting method and apparatus
EP3965482B1 (en) Transmitting power determination method and apparatus
WO2010035636A1 (en) Radio communication system, control device, communication type switching method, and program
US20200112925A1 (en) Signal transmission method, terminal device, and network device
US20190387447A1 (en) Communication system, base station, and control method
WO2016165141A1 (en) Method for adjusting power in wireless communication and wireless access point
CN114499553A (en) Method for guaranteeing operation reliability of radio frequency unit and communication device
US9344926B2 (en) Base station and handover processing method for digital trunking communication
US10568127B2 (en) Method and device for determining data transmission scheme
WO2017177662A1 (en) Method and device for obtaining noise floor value of base station
EP2677812B1 (en) Improving data transmission performance
WO2021088048A1 (en) Power back-off method, terminal device, and network device
CN110505658B (en) Voice rate adjusting method, terminal and VoLTE system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21828937

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.05.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21828937

Country of ref document: EP

Kind code of ref document: A1