WO2017166609A1 - Wireless device-based frequency band switching method, wireless device, and electronic device - Google Patents

Wireless device-based frequency band switching method, wireless device, and electronic device Download PDF

Info

Publication number
WO2017166609A1
WO2017166609A1 PCT/CN2016/096471 CN2016096471W WO2017166609A1 WO 2017166609 A1 WO2017166609 A1 WO 2017166609A1 CN 2016096471 W CN2016096471 W CN 2016096471W WO 2017166609 A1 WO2017166609 A1 WO 2017166609A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency band
working frequency
access terminal
signal strength
preset threshold
Prior art date
Application number
PCT/CN2016/096471
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 WO2017166609A1 publication Critical patent/WO2017166609A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/302Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points

Definitions

  • Embodiments of the present invention relate to the field of wireless network signal processing technologies, and in particular, to a frequency band switching method based on a wireless device, a wireless device, and an electronic device.
  • wireless routers are also moving toward higher end.
  • a wireless router is a radio frequency (RF) system that needs to operate within a certain frequency range to be able to communicate with other devices. This frequency range is called the working frequency band of the wireless router.
  • RF radio frequency
  • different router products use different network standards, and their working frequency bands are also different.
  • the frequency bands in which wireless routers work are generally divided into two working frequency bands of 2.4 GHz and 5.0 GHz.
  • 2.4GHz is a commonly used frequency band for early wireless routers, and has continued to the present; in recent years, 5.0GHz has also begun to be widely used, and combined with 2.4GHz to form a dual-band wireless router.
  • a dual-band wireless router is a wireless router that operates in both the 2.4 GHz and 5.0 GHz bands. Compared to a single-band wireless router, it has a higher wireless transmission rate, is more resistant to interference, and has a stronger and more stable wireless signal. Higher sex, not easy to drop, dual-band wireless router has become the mainstream development trend of wireless products.
  • Embodiments of the present invention provide a frequency band switching method based on a wireless device, a wireless device, and an electronic device.
  • the device is used to solve the defects of low switching efficiency and low automation caused by manually switching the working frequency band in the prior art.
  • the embodiment of the present invention provides a frequency band switching method based on a wireless device, where the frequency band includes at least a first working frequency band and a second working frequency band, wherein the data transmission rate of the first working frequency band is greater than the first Second working frequency band;
  • the method includes:
  • the wireless device When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal;
  • the access terminal is connected to the first working frequency band or the second working frequency band based on the current signal strength
  • the frequency band switching method wherein the step of accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is greater than the first Determining a threshold, the access terminal is connected to the first working frequency band; and the step of performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength
  • the method includes: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used by the first work The frequency band is switched to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold; if the access terminal accesses the second working frequency band, if the When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  • the frequency band switching method wherein when the wireless device receives the access request of the access terminal, the step of detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal And determining, by the access terminal, whether the first working frequency band is supported; if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
  • the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
  • the wireless device includes:
  • a first signal strength detecting module configured to detect a current signal strength of the access terminal when the wireless device receives an access request of the access terminal
  • a frequency band access module configured to access the access terminal to the first working frequency band or the second working frequency band based on the current signal strength
  • the frequency band switching module is configured to perform mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
  • the frequency band access module includes: a first access sub-module, configured to: when the current signal strength is greater than a first preset threshold, access the access terminal to the a first working frequency band;
  • the frequency band switching module includes: a first switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second pre- Setting a threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band,
  • the second preset threshold is smaller than the first preset threshold
  • the second switching submodule is configured to: when the access terminal accesses the second working frequency band, if the When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  • the frequency band access module includes: a second access submodule, configured to: when the current signal strength is less than a second preset threshold, access the access terminal to the a second working frequency band;
  • the frequency band switching module includes: a third switching submodule, configured to: when the access terminal accesses the second working frequency band, detect a real-time signal of the access terminal When the strength is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band; and the fourth switching submodule is used to access the access terminal During the process of the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where The second preset threshold is smaller than the first preset threshold.
  • the first signal strength detecting module includes: a frequency band determining sub-module, configured to determine, when the wireless device receives an access request of the access terminal, whether the access terminal supports the first a working frequency band; a signal detecting submodule, configured to detect a current signal strength of the access terminal when the access terminal supports the first working frequency band.
  • the wireless device further comprising: an identifier adding module, configured to add an identifier of the access terminal in a pre-established device list, where the pre-established device list is used to record access to the wireless device Terminal information of the access terminal.
  • Embodiments of the present invention also provide an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: detect a current signal strength of the access terminal when the wireless device receives an access request from the access terminal; The current signal strength, the access terminal is connected to the first working frequency band or the second working frequency band; the real-time signal strength of the access terminal is detected; and the first working frequency band is performed based on the real-time signal strength Mutual with the second working frequency band Switch.
  • the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current signal strength is greater than a first preset threshold And accessing the access terminal to the first working frequency band; performing, according to the real-time signal strength, performing mutual switching between the first working frequency band and the second working frequency band, including: During the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second a working frequency band, wherein the second preset threshold is smaller than the first preset threshold; in the process of accessing the second working frequency band by the access terminal, if the access terminal is detected in real time When the signal strength is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  • detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal, determining Whether the access terminal supports the first working frequency band; if the access terminal supports the first working frequency band, detecting the current signal strength of the access terminal.
  • the electronic device wherein the identifier of the access terminal is added to a pre-established device list, wherein the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device.
  • the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
  • the non-volatile computer storage medium wherein the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is less than And the second preset frequency threshold, the access terminal is connected to the second working frequency band; and the switching between the first working frequency band and the second working frequency band is performed based on the real-time signal strength
  • the method includes: when the access terminal accesses the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by The second working frequency band is switched to the first working frequency band; in the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, The frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, wherein the second preset threshold value is smaller than the first preset threshold value.
  • the non-volatile computer storage medium wherein the identifier of the access terminal is added to a pre-established device list, wherein the pre-established device list is used to record an access terminal accessing the wireless device Terminal information.
  • the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
  • FIG. 2 is a flowchart of a second embodiment of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of an embodiment of a wireless device according to an embodiment of the present invention.
  • the frequency band may include at least a first working frequency band and a second working frequency band different from each other, where The data transmission rate of the first working frequency band is greater than the second working frequency band;
  • Step 101 When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal.
  • the wireless device supports at least two mutually different working frequency bands, that is, a first working frequency band and a second working frequency band, wherein the working frequency band refers to a frequency range in which the wireless device can communicate with other devices.
  • the first working frequency band may be the 5.0 GHz frequency band
  • the second working frequency band may be the 2.4 GHz frequency band.
  • the frequency range of the 2.4 GHz band is 2401 MHz - 2487 MHz
  • the frequency range of the 5.0 GHz band is 4980 MHz - 5825 MHz.
  • the access terminal can be connected to the 5.0 GHz frequency band.
  • Step 206 In the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used by the first The working frequency band is switched to the second working frequency band;
  • the real-time signal strength of the access terminal is continuously detected.
  • the access terminal is automatically switched from the first working frequency band to the second working frequency band, and the real-time is detected again.
  • the signal strength is greater than the first preset threshold, the access terminal is automatically switched from the second working frequency band to the first working frequency band, and two different thresholds are set, and the access terminal is automatically completed based on the signal strength of the access terminal.
  • the switching of the working frequency band does not require the user to manually switch the working frequency band, and the degree of automation is high.
  • the network name (wifi name) and the login password of the first working frequency band and the second working frequency band may be set in the wireless device, and the network name of the two is the same and the login password is the same when the setting is performed. In this way, the user does not need to set different wireless network names for different working frequency bands, which is convenient for the user to manage the network name and login password.
  • Step 302 If the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
  • the wireless device can further invoke a standard wireless interface to query the current signal strength of the access terminal, wherein the value of the signal strength is represented by a negative number, and therefore, the signal strength ratio of -40 dBm - The signal strength of 50dBm is large.
  • the incoming terminal accesses the second working frequency band even if the access terminal operates in the second working frequency band.
  • Step 305 Detect a real-time signal strength of the access terminal according to a preset time interval.
  • the monitoring process of the wireless device detects that the signal strength of the access terminal is getting stronger and stronger, that is, the value of the signal strength is increasing.
  • the monitoring process may notify the wireless device to switch the frequency band of the access terminal from the second working frequency band to the first working frequency band.
  • the value of the first preset threshold may be a value greater than a second preset threshold.
  • the second preset threshold is -50 dBm
  • the first preset threshold is -40 dBm. If the access terminal gradually approaches the wireless router, when the real-time signal strength detected at a certain time is greater than -40 dBm, the access terminal can be automatically switched from the 2.4 GHz band to 5.0 GHz.
  • the access terminal can be automatically switched from the 5.0 GHz band to the 2.4 GHz band.
  • the transmission distance of 5 GHz is only 35 meters, the wall penetration capability is poor, and it is only suitable for indoor small-range coverage and outdoor bridge.
  • the access terminal is gradually away from the wireless device, the signal attenuation is large, and the coverage distance of 2.4 GHz under the same power. Relatively far, therefore, when the signal is attenuated to less than -50dBm, the access terminal is automatically switched from the 5.0GHz band to 2.4GHz, which can ensure network stability.
  • a threshold value of N values is separated between the first preset threshold and the second preset threshold, and the threshold distance between the two is a certain critical distance.
  • the advantage of setting only a preset threshold is to prevent the access terminal from frequently switching back and forth between the threshold thresholds (for example, when only one threshold is set to -50 dBm, the operating frequency bands of -51 dBm and -49 dBm are not the same. If the signal strength is between the two, the working frequency band needs to switch back and forth to improve the performance of the device.
  • the first preset threshold is -40 dBm
  • the second preset threshold is -50 dBm.
  • the value between the two thresholds (eg, -45 dBm) operates in the 5 GHz band.
  • the value between the two thresholds (such as -45dBm) operates in the 2.4GHz band, giving the two bands a sufficient buffer to ensure network stability.
  • the first signal strength detecting module 401 is configured to detect, when the wireless device receives the access request of the access terminal, the current signal strength of the access terminal;
  • the frequency band access module 402 may include the following submodules:
  • the band switching module 404 can include the following sub-modules:
  • a second switching submodule configured to: when the access terminal is detected to be in the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  • the band switching module 404 can include the following sub-modules:
  • a third switching submodule configured to: when the access terminal detects that the real-time signal strength of the access terminal is greater than a first preset threshold, in the process of accessing the second working frequency band, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band;
  • the electronic device of this embodiment preferably adds an identifier of the access terminal to a pre-established device list, where the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device. .

Landscapes

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

Abstract

Provided in an embodiment of the invention are a wireless device-based frequency band switching method, a wireless device, and an electronic device. The frequency band at least comprises a first operating frequency band and a second operating frequency band which are mutually different, wherein a data transfer rate of the first operating frequency band is greater than a data transfer rate of the second operating frequency band. The method comprises: when a wireless device receives an access request from an access terminal, detecting a current signal strength of the access terminal; causing, on the basis of the current signal strength, the access terminal to access the first operating frequency band or the second operating frequency band; detecting a real-time signal strength of the access terminal; and performing, on the basis of the real-time signal strength, a switch between the first operating frequency band and the second operating frequency band. The embodiment of the invention realizes automatic access to and an automatic switch between operating frequency bands of a wireless device, thereby achieving a high automation degree. Moreover, performing a timely switch between operating frequency bands according to a signal strength change can reduce signal interference caused by other wireless devices, thereby increasing a network access speed for a user.

Description

一种基于无线设备的频段切换方法、无线设备和电子设备Band switching method based on wireless device, wireless device and electronic device
交叉引用cross reference
本申请要求在2016年03月31日提交中国专利局、申请号为201610201953.3、发明名称为“一种基于无线设备的频段切换方法及无线设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201610201953.3, entitled "A Wireless Device-Based Band Switching Method and Wireless Device", filed on March 31, 2016, the entire contents of which are hereby incorporated by reference. Combined in this application.
技术领域Technical field
本发明实施例涉及无线网络信号处理技术领域,尤其涉及一种基于无线设备的频段切换方法、无线设备和电子设备。Embodiments of the present invention relate to the field of wireless network signal processing technologies, and in particular, to a frequency band switching method based on a wireless device, a wireless device, and an electronic device.
背景技术Background technique
随着无线网络的普及,无线路由器也朝着更高端的方向发展。With the popularity of wireless networks, wireless routers are also moving toward higher end.
无线路由器属于射频(RF)系统,需要工作在一定的频率范围之内才能够与其他设备相互通信,这个频率范围叫做无线路由器的工作频段。但不同的路由器产品由于采用不同的网络标准,其工作频段也不太一样,无线路由器工作的频段一般分为2.4GHz和5.0GHz两个工作频段。2.4GHz是早期无线路由器普遍采用的频段,一直延续到现在;近几年5.0GHz也开始得到广泛应用,与2.4GHz相结合组成了双频无线路由器。A wireless router is a radio frequency (RF) system that needs to operate within a certain frequency range to be able to communicate with other devices. This frequency range is called the working frequency band of the wireless router. However, different router products use different network standards, and their working frequency bands are also different. The frequency bands in which wireless routers work are generally divided into two working frequency bands of 2.4 GHz and 5.0 GHz. 2.4GHz is a commonly used frequency band for early wireless routers, and has continued to the present; in recent years, 5.0GHz has also begun to be widely used, and combined with 2.4GHz to form a dual-band wireless router.
双频无线路由器是指同时工作在2.4GHz和5.0GHz频段的无线路由器,相比于单频段无线路由器,它具有更高的无线传输速率,具备更强的抗干扰性,无线信号更强,稳定性更高,不容易掉线,双频无线路由器已经成为无线产品的主流发展趋势。A dual-band wireless router is a wireless router that operates in both the 2.4 GHz and 5.0 GHz bands. Compared to a single-band wireless router, it has a higher wireless transmission rate, is more resistant to interference, and has a stronger and more stable wireless signal. Higher sex, not easy to drop, dual-band wireless router has become the mainstream development trend of wireless products.
在现有技术中,用户通常需要手动设定双频无线路由器的工作频段,当用户需要将当前的工作频段切换到另一频段时,往往也需要手动设置,耗费用户较多的时间,自动化程度不高。In the prior art, the user usually needs to manually set the working frequency band of the dual-band wireless router. When the user needs to switch the current working frequency band to another frequency band, the manual setting is often required, which consumes more time and automation. not tall.
发明内容Summary of the invention
本发明实施例提供一种基于无线设备的频段切换方法、无线设备和电子 设备,用以解决现有技术中手动切换工作频段导致的切换效率低、自动化程度不高的缺陷。Embodiments of the present invention provide a frequency band switching method based on a wireless device, a wireless device, and an electronic device. The device is used to solve the defects of low switching efficiency and low automation caused by manually switching the working frequency band in the prior art.
本发明实施例提供一种基于无线设备的频段切换方法,所述频段至少包括互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段;The embodiment of the present invention provides a frequency band switching method based on a wireless device, where the frequency band includes at least a first working frequency band and a second working frequency band, wherein the data transmission rate of the first working frequency band is greater than the first Second working frequency band;
所述方法包括:The method includes:
当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal;
基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;And the access terminal is connected to the first working frequency band or the second working frequency band based on the current signal strength;
检测所述接入终端实时的信号强度;Detecting a real-time signal strength of the access terminal;
基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。And performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
上述的频段切换方法,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段的步骤包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换的步骤包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。The frequency band switching method, wherein the step of accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is greater than the first Determining a threshold, the access terminal is connected to the first working frequency band; and the step of performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength The method includes: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used by the first work The frequency band is switched to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold; if the access terminal accesses the second working frequency band, if the When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
上述的频段切换方法,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段的步骤包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换的步骤包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接 入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。The frequency band switching method, wherein the step of accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is less than the second Determining a threshold, the access terminal is connected to the second working frequency band; and the step of performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength The method includes: when the access terminal accesses the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by Switching the second working frequency band to the first working frequency band; In the process of entering the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where The second preset threshold is smaller than the first preset threshold.
上述的频段切换方法,其中,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度的步骤包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。The frequency band switching method, wherein when the wireless device receives the access request of the access terminal, the step of detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal And determining, by the access terminal, whether the first working frequency band is supported; if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
上述的频段切换方法,其中,还包括:在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The foregoing method for switching a frequency band, further comprising: adding an identifier of the access terminal to a pre-established device list, where the pre-established device list is used to record a terminal connected to an access terminal of the wireless device information.
上述的频段切换方法,其中,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。In the above method for switching a frequency band, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
上述的频段切换方法,其中,所述无线设备包括无线路由器。The above frequency band switching method, wherein the wireless device comprises a wireless router.
本发明实施例提供一种无线设备,所述无线设备至少支持互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段;The embodiment of the present invention provides a wireless device, where the wireless device supports at least a first working frequency band and a second working frequency band, wherein a data transmission rate of the first working frequency band is greater than the second working frequency band;
所述无线设备包括:The wireless device includes:
第一信号强度检测模块,用于当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;a first signal strength detecting module, configured to detect a current signal strength of the access terminal when the wireless device receives an access request of the access terminal;
频段接入模块,用于基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;a frequency band access module, configured to access the access terminal to the first working frequency band or the second working frequency band based on the current signal strength;
第二信号强度检测模块,用于检测所述接入终端实时的信号强度;a second signal strength detecting module, configured to detect a real-time signal strength of the access terminal;
频段切换模块,用于基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。The frequency band switching module is configured to perform mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
上述的无线设备,其中,所述频段接入模块包括:第一接入子模块,用于在所述当前的信号强度大于第一预设阈值时,将所述接入终端接入至所述第一工作频段;所述频段切换模块包括:第一切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段, 其中,所述第二预设阈值小于所述第一预设阈值;第二切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。The above-mentioned wireless device, wherein the frequency band access module includes: a first access sub-module, configured to: when the current signal strength is greater than a first preset threshold, access the access terminal to the a first working frequency band; the frequency band switching module includes: a first switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second pre- Setting a threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, The second preset threshold is smaller than the first preset threshold, and the second switching submodule is configured to: when the access terminal accesses the second working frequency band, if the When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
上述的无线设备,其中,所述频段接入模块包括:第二接入子模块,用于在所述当前的信号强度小于第二预设阈值时,将所述接入终端接入至所述第二工作频段;所述频段切换模块包括:第三切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;第四切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。The wireless device, wherein the frequency band access module includes: a second access submodule, configured to: when the current signal strength is less than a second preset threshold, access the access terminal to the a second working frequency band; the frequency band switching module includes: a third switching submodule, configured to: when the access terminal accesses the second working frequency band, detect a real-time signal of the access terminal When the strength is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band; and the fourth switching submodule is used to access the access terminal During the process of the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where The second preset threshold is smaller than the first preset threshold.
上述的无线设备,其中,所述第一信号强度检测模块包括:频段判断子模块,用于当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;信号检测子模块,用于在所述接入终端支持所述第一工作频段时,检测所述接入终端当前的信号强度。The above-mentioned wireless device, wherein the first signal strength detecting module includes: a frequency band determining sub-module, configured to determine, when the wireless device receives an access request of the access terminal, whether the access terminal supports the first a working frequency band; a signal detecting submodule, configured to detect a current signal strength of the access terminal when the access terminal supports the first working frequency band.
上述的无线设备,其中,还包括:标识添加模块,用于在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The wireless device, further comprising: an identifier adding module, configured to add an identifier of the access terminal in a pre-established device list, where the pre-established device list is used to record access to the wireless device Terminal information of the access terminal.
上述的无线设备,其中,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。In the above wireless device, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
上述的无线设备,其中,所述无线设备包括无线路由器。The wireless device described above, wherein the wireless device comprises a wireless router.
本发明实施例还提供一种电子设备,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;检测所述接入终端实时的信号强度;基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互 切换。Embodiments of the present invention also provide an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to: detect a current signal strength of the access terminal when the wireless device receives an access request from the access terminal; The current signal strength, the access terminal is connected to the first working frequency band or the second working frequency band; the real-time signal strength of the access terminal is detected; and the first working frequency band is performed based on the real-time signal strength Mutual with the second working frequency band Switch.
上述的电子设备,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。In the above electronic device, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current signal strength is greater than a first preset threshold And accessing the access terminal to the first working frequency band; performing, according to the real-time signal strength, performing mutual switching between the first working frequency band and the second working frequency band, including: During the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second a working frequency band, wherein the second preset threshold is smaller than the first preset threshold; in the process of accessing the second working frequency band by the access terminal, if the access terminal is detected in real time When the signal strength is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
上述的电子设备,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。In the above electronic device, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current signal strength is less than a second preset threshold And the access terminal is connected to the second working frequency band; the performing, according to the real-time signal strength, performing the mutual switching between the first working frequency band and the second working frequency band includes: During the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is used by the second working The frequency band is switched to the first working frequency band; in the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, the access terminal is The frequency band is switched from the first working frequency band to the second working frequency band, wherein the second preset threshold value is smaller than the first preset threshold value.
上述的电子设备,其中,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。In the above electronic device, when the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal, determining Whether the access terminal supports the first working frequency band; if the access terminal supports the first working frequency band, detecting the current signal strength of the access terminal.
上述的电子设备,其中,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The electronic device, wherein the identifier of the access terminal is added to a pre-established device list, wherein the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device.
上述的电子设备,其中,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。 In the above electronic device, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
上述的电子设备,其中,所述无线设备包括无线路由器。The above electronic device, wherein the wireless device comprises a wireless router.
本发明实施例还提供一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;检测所述接入终端实时的信号强度;基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。Embodiments of the present invention also provide a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable an electronic device to: receive when the wireless device receives Detecting the current signal strength of the access terminal when accessing the access request of the access terminal; and accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength; Performing real-time signal strength of the access terminal; performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
上述的非易失性计算机存储介质,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。The non-volatile computer storage medium, wherein the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is greater than And the first preset threshold, the access terminal is connected to the first working frequency band; and the switching between the first working frequency band and the second working frequency band is performed based on the real-time signal strength The method includes: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used by the first work The frequency band is switched to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold; if the access terminal accesses the second working frequency band, if the When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
上述的非易失性计算机存储介质,其中,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。The non-volatile computer storage medium, wherein the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises: if the current signal strength is less than And the second preset frequency threshold, the access terminal is connected to the second working frequency band; and the switching between the first working frequency band and the second working frequency band is performed based on the real-time signal strength The method includes: when the access terminal accesses the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by The second working frequency band is switched to the first working frequency band; in the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, The frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, wherein the second preset threshold value is smaller than the first preset threshold value.
上述的非易失性计算机存储介质,其中,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段; 若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。The non-volatile computer storage medium, wherein when the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when the wireless device receives the access terminal When the request is received, determining whether the access terminal supports the first working frequency band; And if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
上述的非易失性计算机存储介质,其中,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The non-volatile computer storage medium, wherein the identifier of the access terminal is added to a pre-established device list, wherein the pre-established device list is used to record an access terminal accessing the wireless device Terminal information.
上述的非易失性计算机存储介质,其中,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。In the above non-volatile computer storage medium, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
上述的非易失性计算机存储介质,其中,所述无线设备包括无线路由器。The non-volatile computer storage medium described above, wherein the wireless device comprises a wireless router.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一所述的方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method of any of the above.
本发明实施例提供的一种基于无线设备的频段切换方法、无线设备和电子设备,当无线设备接收到接入终端的接入请求时,根据获取的该接入终端当前的信号强度,将接入终端接入至第一工作频段或者第二工作频段,并检测接入终端实时的信号强度,基于实时的信号强度,进行第一工作频段与第二工作频段的相互切换。从而可以实现无线设备工作频段的自动接入以及自动切换,自动化程度高。同时,工作频段随着信号强度的变化得到及时的切换,能够降低其他无线设备造成的信号干扰,提升用户上网速度。A method for switching a frequency band based on a wireless device, a wireless device, and an electronic device according to an embodiment of the present invention, when the wireless device receives an access request of the access terminal, according to the obtained current signal strength of the access terminal, The incoming terminal accesses the first working frequency band or the second working frequency band, and detects the real-time signal strength of the access terminal, and performs mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength. Thereby, automatic access and automatic switching of the working frequency band of the wireless device can be realized, and the degree of automation is high. At the same time, the working frequency band is switched in time with the change of the signal strength, which can reduce the signal interference caused by other wireless devices and improve the user's Internet access speed.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例的一种基于无线设备的频段切换方法实施例一的步骤流程图;FIG. 1 is a flowchart of a first embodiment of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention;
图2为本发明实施例的一种基于无线设备的频段切换方法实施例二的步骤流程图;FIG. 2 is a flowchart of a second embodiment of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention;
图3为本发明实施例的一种基于无线设备的频段切换方法实施例三的步 骤流程图;FIG. 3 is a schematic diagram of Embodiment 3 of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention; Flow chart
图4为本发明实施例的一种无线设备实施例的结构框图;4 is a structural block diagram of an embodiment of a wireless device according to an embodiment of the present invention;
图5为本发明实施例的电子设备的硬件结构示意图。FIG. 5 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described in the following with reference to the accompanying drawings. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it is to be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship of the indications is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of the description of the invention and the simplified description, rather than indicating or implying that the device or component referred to has a specific orientation, in a specific orientation. The construction and operation are therefore not to be construed as limiting the invention. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installation", "connected", and "connected" are to be understood broadly, and may be fixed or detachable, for example, unless otherwise explicitly defined and defined. Connection, or integral connection; may be mechanical connection or electrical connection; may be directly connected, may also be indirectly connected through an intermediate medium, or may be internal communication of two components, may be wireless connection, or may be wired connection. The specific meaning of the above terms in the present invention can be understood in a specific case by those skilled in the art.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。Further, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not constitute a conflict with each other.
参考图1,示出了本发明实施例的一种基于无线设备的频段切换方法实施例一的步骤流程图,所述频段至少可以包括互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段;Referring to FIG. 1 , a flow chart of a first embodiment of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention is shown. The frequency band may include at least a first working frequency band and a second working frequency band different from each other, where The data transmission rate of the first working frequency band is greater than the second working frequency band;
本发明实施例具体可以包括如下步骤:The embodiment of the present invention may specifically include the following steps:
步骤101,当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度; Step 101: When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal.
步骤102,基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;Step 102: Connect the access terminal to a first working frequency band or a second working frequency band based on the current signal strength.
步骤103,检测所述接入终端实时的信号强度;Step 103: Detect a signal strength of the access terminal in real time;
步骤104,基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。Step 104: Perform mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
在本发明实施例中,当无线设备接收到接入终端的接入请求时,根据获取的该接入终端当前的信号强度,将接入终端接入至第一工作频段或者第二工作频段,并检测接入终端实时的信号强度,基于实时的信号强度,进行第一工作频段与第二工作频段的相互切换。从而可以实现无线设备工作频段的自动接入以及自动切换,自动化程度高。同时,工作频段随着信号强度的变化得到及时的切换,能够降低其他无线设备造成的信号干扰,提升用户上网速度。In the embodiment of the present invention, when the wireless device receives the access request of the access terminal, the access terminal accesses the access terminal to the first working frequency band or the second working frequency band according to the obtained current signal strength of the access terminal. The real-time signal strength of the access terminal is detected, and the first working frequency band and the second working frequency band are switched according to the real-time signal strength. Thereby, automatic access and automatic switching of the working frequency band of the wireless device can be realized, and the degree of automation is high. At the same time, the working frequency band is switched in time with the change of the signal strength, which can reduce the signal interference caused by other wireless devices and improve the user's Internet access speed.
参考图2,示出了本发明实施例的一种基于无线设备的频段切换方法实施例二的步骤流程图。本发明实施例中的无线设备可以包括无线路由器、无线网卡、无线AP(Access Point,接入点)等。Referring to FIG. 2, a flow chart of a second embodiment of a method for switching a frequency band based on a wireless device according to an embodiment of the present invention is shown. The wireless device in the embodiment of the present invention may include a wireless router, a wireless network card, a wireless AP (Access Point, access point), and the like.
该无线设备至少支持两个互不相同的工作频段,即第一工作频段以及第二工作频段,其中,工作频段是指无线设备能够与其他设备相互通信的频率范围。例如,当无线设备为双频无线路由器时,第一工作频段可以为5.0GHz频段,第二工作频段可以为2.4GHz频段。其中,2.4GHz频段的频率范围为2401MHz-2487MHz,5.0GHz频段的频率范围为4980MHz-5825MHz。The wireless device supports at least two mutually different working frequency bands, that is, a first working frequency band and a second working frequency band, wherein the working frequency band refers to a frequency range in which the wireless device can communicate with other devices. For example, when the wireless device is a dual-band wireless router, the first working frequency band may be the 5.0 GHz frequency band, and the second working frequency band may be the 2.4 GHz frequency band. Among them, the frequency range of the 2.4 GHz band is 2401 MHz - 2487 MHz, and the frequency range of the 5.0 GHz band is 4980 MHz - 5825 MHz.
应用于本发明实施例,第一工作频段的数据传输速率大于所述第二工作频段。例如,若第一工作频段为5.0GHz频段,第二工作频段为2.4GHz频段,2.4GHz频段的传输距离室内可为70米、室外可达250米,但大部分2.4GHz的最高速率只有300Mbps。5.0GHz速率高,短距离的情况下可以达到867Mbps,其实际有效的数据传输(throughput)是2.4GHz的3-5倍,但其传输距离短,室内传输距离只有35米。In the embodiment of the present invention, the data transmission rate of the first working frequency band is greater than the second working frequency band. For example, if the first working frequency band is the 5.0 GHz frequency band and the second working frequency band is the 2.4 GHz frequency band, the transmission distance of the 2.4 GHz frequency band can be 70 meters indoors and 250 meters outdoors, but the maximum speed of most 2.4 GHz is only 300 Mbps. The 5.0GHz rate is high, and it can reach 867Mbps in a short distance. The actual effective data transmission (throughput) is 3-5 times that of 2.4GHz, but its transmission distance is short, and the indoor transmission distance is only 35 meters.
不同的工作频段遵循的无线网络协议如下表1所示:The wireless network protocols followed by different working bands are shown in Table 1 below:
表1 Table 1
无线协议Wireless protocol 技术代数Technical algebra 工作频率working frequency 最大传输速率Maximum transmission rate
IEEE 802.11aIEEE 802.11a 第一代First generation 5GHz5GHz 54Mbps54Mbps
IEEE 802.11bIEEE 802.11b 第二代Second generation 2.4GHz2.4GHz 11Mbps11Mbps
IEEE 802.11gIEEE 802.11g 第三代Third Generation 2.4GHz2.4GHz 54Mbps54Mbps
IEEE 802.11nIEEE 802.11n 第四代Fourth Generation 2.4GHz和5GHz2.4GHz and 5GHz 600Mbps(MIMO技术)600Mbps (MIMO technology)
IEEE 802.11acIEEE 802.11ac 第五代Fifth Generation 5GHz5GHz 500Mbps以上More than 500Mbps
本发明实施例可以更好地结合上述两个工作频段的优点,自动进行无线设备的工作频段的切换,智能程度高。The embodiment of the invention can better combine the advantages of the above two working frequency bands, automatically switch the working frequency band of the wireless device, and has a high degree of intelligence.
另外,在本发明实施例中,可以在无线设备中设置第一工作频段以及第二工作频段的网络名称(wifi名称)及登录密码,在设置时,可以设置两者的网络名称相同、登录密码相同,这样用户无需针对不同工作频段设置不同的无线网络名称,方便用户对网络名称和登录密码的管理。In addition, in the embodiment of the present invention, the network name (wifi name) and the login password of the first working frequency band and the second working frequency band may be set in the wireless device, and the network name of the two may be set and the login password may be set during the setting. The same, so users do not need to set different wireless network names for different working frequency bands, which is convenient for users to manage the network name and login password.
本发明实施例具体可以包括如下步骤:The embodiment of the present invention may specifically include the following steps:
步骤201,当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;Step 201: When the wireless device receives the access request of the access terminal, determine whether the access terminal supports the first working frequency band.
当接入终端需要连接网络时,接入终端可以向无线设备发送接入请求,该接入请求可以包括接入终端的终端标识、型号等。When the access terminal needs to connect to the network, the access terminal may send an access request to the wireless device, where the access request may include the terminal identifier, model, and the like of the access terminal.
无线设备接收到接入终端发送的接入请求以后,可以通过应用程序接口API查询接入终端可支持的无线网络协议,若该接入终端可支持的无线网络协议与第一工作频段对应的无线网络协议匹配,则无线设备可判定该接入终端支持第一工作频段。After receiving the access request sent by the access terminal, the wireless device may query the wireless network protocol that the access terminal can support through the application interface API, if the wireless network protocol supported by the access terminal and the wireless corresponding to the first working frequency band If the network protocol matches, the wireless device can determine that the access terminal supports the first working frequency band.
步骤202,若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度;Step 202: If the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal;
在判定接入终端支持第一工作频段以后,无线设备进一步可以调用标准的无线接口,查询接入终端当前的信号强度。After determining that the access terminal supports the first working frequency band, the wireless device can further invoke a standard wireless interface to query the current signal strength of the access terminal.
在具体实现中,信号强度的单位可以表示为dB或dBm,dB与dBm都是功率增益的单位,不同之处如下:In a specific implementation, the unit of signal strength can be expressed as dB or dBm, and dB and dBm are units of power gain, and the differences are as follows:
dB是一个表征相对值的值,纯粹的比值,只表示两个量的相对大小关系,没有单位,当考虑甲的功率相比于乙的功率大或小多少个dB时,采用的计算公式为:10log(甲功率/乙功率);如果采用两者的电压比计算,则采用的计算 公式为:20log(甲电压/乙电压)。例如,甲功率比乙功率大一倍,那么10lg(甲功率/乙功率)=10lg2=3dB。也就是说,甲的功率比乙的功率大3dB。反之,如果甲的功率是乙的功率的一半,则甲的功率比乙的功率小3dB。dB is a value that represents the relative value. The pure ratio only represents the relative magnitude relationship between the two quantities. There is no unit. When considering the power of A is much larger or smaller than the power of B, the calculation formula is : 10log (A power / B power); if the voltage ratio of the two is used, the calculation used The formula is: 20log (A voltage / B voltage). For example, the power of A is twice as large as the power of B, then 10 lg (A power / B power) = 10 lg 2 = 3 dB. In other words, the power of A is 3dB greater than the power of B. On the other hand, if the power of A is half of the power of B, the power of A is 3 dB less than the power of B.
dBm是一个表示功率绝对值的值(也可以认为是以1mW功率为基准的一个比值),计算公式为:10log(功率值/1mw)。例如,对于40W的功率,按dBm单位计算后的值应为:10log(40W/1mw)=10log(40000)=10log4+10log10000=46dBm。dBm is a value indicating the absolute value of power (it can also be considered as a ratio based on 1mW power), and the calculation formula is: 10log (power value / 1mw). For example, for a power of 40 W, the value calculated in dBm units should be: 10 log (40 W / 1 mw) = 10 log (40000) = 10 log 4 + 10 log 10000 = 46 dBm.
需要说明的是,信号强度的值用负数表示,因此,-40dBm的信号强度比-50dBm的信号强度大。It should be noted that the value of the signal strength is represented by a negative number, and therefore, the signal strength of -40 dBm is larger than the signal strength of -50 dBm.
步骤203,若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;Step 203: If the current signal strength is greater than a first preset threshold, accessing the access terminal to the first working frequency band;
获取到接入终端当前的信号强度以后,进一步判断该当前的信号强度是否大于第一预设阈值或小于第二预设阈值,如果该当前的信号强度大于第一预设阈值,则可以将接入终端接入至第一工作频段,即使接入终端工作在第一工作频段上。After obtaining the current signal strength of the access terminal, further determining whether the current signal strength is greater than a first preset threshold or less than a second preset threshold, and if the current signal strength is greater than a first preset threshold, The incoming terminal accesses the first working frequency band even if the access terminal operates in the first working frequency band.
需要说明的是,该第一预设阈值、第二预设阈值均为经验值,本发明实施例对第一预设阈值、第二预设阈值的具体设定不作限制,本领域技术人员根据实际情况设定即可。It should be noted that the first preset threshold and the second preset threshold are all empirical values, and the specific setting of the first preset threshold and the second preset threshold is not limited in the embodiment of the present invention, and those skilled in the art according to The actual situation can be set.
例如,针对双频无线路由器,若其检测到接入终端(如手机)当前的信号强度大于-40dBm,则可以将该接入终端接入到5.0GHz频段中。For example, for a dual-band wireless router, if it detects that the current signal strength of the access terminal (such as a mobile phone) is greater than -40 dBm, the access terminal can be connected to the 5.0 GHz frequency band.
步骤204,在预先建立的设备列表中添加所述接入终端的标识;Step 204: Add an identifier of the access terminal to a pre-established device list.
接入终端接入到第一工作频段以后,无线设备还可以在后台预先建立的设备列表中添加该接入终端的标识。其中,该预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息,以对接入终端进行维护。After the access terminal accesses the first working frequency band, the wireless device may further add the identifier of the access terminal to the device list pre-established in the background. The pre-established device list is used to record terminal information of the access terminal connected to the wireless device to perform maintenance on the access terminal.
步骤205,按照预设时间间隔检测所述接入终端实时的信号强度;Step 205: Detect a real-time signal strength of the access terminal according to a preset time interval.
应用于本发明实施例,可以设定监控进程,采用该监控进程按照预设时间间隔,定期检测该接入终端实时的信号强度。In the embodiment of the present invention, the monitoring process can be set, and the monitoring process periodically detects the real-time signal strength of the access terminal according to a preset time interval.
步骤206,在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段; Step 206: In the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used by the first The working frequency band is switched to the second working frequency band;
在实际应用中,若接入终端逐渐远离无线设备时(即两者的距离增大时),无线设备的监控进程检测到该接入终端的信号强度越来越弱,即信号强度的值越来越小,当该信号强度小于第二预设阈值时,则监控进程可以通知无线设备将接入终端的频段由第一工作频段切换至第二工作频段。In practical applications, if the access terminal gradually moves away from the wireless device (ie, when the distance between the two increases), the monitoring process of the wireless device detects that the signal strength of the access terminal is weaker, that is, the value of the signal strength is greater. The smaller the signal strength is, the signal may be notified to the wireless device to switch the frequency band of the access terminal from the first working frequency band to the second working frequency band when the signal strength is less than the second preset threshold.
需要说明的是,上述第二预设阈值的取值可以为小于第一预设阈值的值,例如,该第一预设阈值为-40dBm,第二预设阈值为-50dBm。如果该接入终端逐渐远离无线路由器,当某一个时刻检测到的实时的信号强度小于-50dBm时,则可以将接入终端由5.0GHz频段自动切换至2.4GHz。It should be noted that the value of the second preset threshold may be a value smaller than the first preset threshold, for example, the first preset threshold is -40 dBm, and the second preset threshold is -50 dBm. If the access terminal gradually moves away from the wireless router, when the real-time signal strength detected at a certain time is less than -50 dBm, the access terminal can be automatically switched from the 5.0 GHz band to 2.4 GHz.
由于5GHz的传输距离只有35米,穿墙能力较差,只适合室内小范围覆盖和室外网桥,当接入终端逐渐远离无线设备时,信号衰减较大,而同样功率下2.4GHz的覆盖距离相对比较远,因此,当信号衰减到小于-50dBm时,将接入终端由5.0GHz频段自动切换至2.4GHz,可以保证网络稳定性。Since the transmission distance of 5 GHz is only 35 meters, the wall penetration capability is poor, and it is only suitable for indoor small-range coverage and outdoor bridge. When the access terminal is gradually away from the wireless device, the signal attenuation is large, and the coverage distance of 2.4 GHz under the same power. Relatively far, therefore, when the signal is attenuated to less than -50dBm, the access terminal is automatically switched from the 5.0GHz band to 2.4GHz, which can ensure network stability.
步骤207,在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。Step 207: In the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is used. Switching from the second working frequency band to the first working frequency band.
当接入终端工作在第二工作频段时,监控进程继续按照预设时间间隔,定期检测该接入终端实时的信号强度。When the access terminal works in the second working frequency band, the monitoring process continues to periodically detect the real-time signal strength of the access terminal according to a preset time interval.
若接入终端逐渐靠近无线设备时(即两者的距离缩短时),无线设备的监控进程检测到该接入终端的信号强度越来越强,即信号强度的值越来越大,当该信号强度大于第一预设阈值时,则监控进程可以通知无线设备将接入终端的频段由第二工作频段切换至第一工作频段。If the access terminal is gradually approaching the wireless device (that is, when the distance between the two is shortened), the monitoring process of the wireless device detects that the signal strength of the access terminal is getting stronger and stronger, that is, the value of the signal strength is getting larger and larger. When the signal strength is greater than the first preset threshold, the monitoring process may notify the wireless device to switch the frequency band of the access terminal from the second working frequency band to the first working frequency band.
例如,如果该接入终端逐渐靠近无线路由器,当某一个时刻检测到的实时的信号强度大于-40dBm,则可以将接入终端由2.4GHz频段自动切换至5GHz频段。For example, if the access terminal gradually approaches the wireless router, when the real-time signal strength detected at a certain time is greater than -40 dBm, the access terminal can be automatically switched from the 2.4 GHz band to the 5 GHz band.
在实际应用中,随着IT设备的普及,如ipad、手机、PC、游戏机等等设备都在2.4GHz频段下使用,若多台设备同时使用2.4GHz频段,则会导致其拥挤不堪、吞吐量数值严重下降。并且,微波炉、蓝牙、无线鼠标等也使用2.4GHz频段,他们会干扰wifi信号,令上网速度减慢,造成网络拥堵。因此,本发明实施例当检测到当前的接入终端的信号强度大于第一预设阈值时,将该接入终端从由2.4GHz频段自动切换至5GHz频段,从而避免其他使用 2.4GHz频段的设备对接入终端造成干扰,提升接入终端的数据传输效率,提升用户上网体验。In practical applications, with the popularity of IT equipment, devices such as ipads, mobile phones, PCs, game consoles, etc. are all used in the 2.4 GHz band. If multiple devices use the 2.4 GHz band at the same time, it will lead to overcrowding and throughput. The amount of value is seriously degraded. Moreover, microwave ovens, Bluetooth, wireless mice, etc. also use the 2.4GHz band, they will interfere with the wifi signal, so that the Internet speed is slow, resulting in network congestion. Therefore, when detecting that the signal strength of the current access terminal is greater than the first preset threshold, the embodiment of the present invention automatically switches the access terminal from the 2.4 GHz band to the 5 GHz band, thereby avoiding other uses. The device in the 2.4 GHz band interferes with the access terminal, improves the data transmission efficiency of the access terminal, and improves the user's online experience.
需要说明的是,在本发明实施例中,第一预设阈值与第二预设阈值之间为间隔N个数值的阈值,两者之间相距一定的临界距离,这样的阈值设定相对于只设定一个预设阈值的的好处是,避免接入终端在阈值临界值前后频繁来回切换频段(例如,只设定一个阈值-50dBm时,则-51dBm和-49dBm的工作频段不相同,一旦信号强度在这两者间,则工作频段需要来回切换跳动),提高设备性能。例如,第一预设阈值为-40dBm,第二预设阈值为-50dBm,当接入终端逐渐远离无线设备时,在两个阈值之间的值(如-45dBm)则工作在5GHz频段,当接入终端逐渐靠近无线设备时,在两个阈值之间的值(如-45dBm)则工作在2.4GHz频段,给予两个频段切换充分的缓冲,保证网络稳定性。It should be noted that, in the embodiment of the present invention, a threshold value of N values is separated between the first preset threshold and the second preset threshold, and the threshold distance between the two is a certain critical distance. The advantage of setting only a preset threshold is to prevent the access terminal from frequently switching back and forth between the threshold thresholds (for example, when only one threshold is set to -50 dBm, the operating frequency bands of -51 dBm and -49 dBm are not the same. If the signal strength is between the two, the working frequency band needs to switch back and forth to improve the performance of the device. For example, the first preset threshold is -40 dBm, and the second preset threshold is -50 dBm. When the access terminal gradually moves away from the wireless device, the value between the two thresholds (eg, -45 dBm) operates in the 5 GHz band. When the access terminal is gradually approaching the wireless device, the value between the two thresholds (such as -45dBm) operates in the 2.4GHz band, giving the two bands a sufficient buffer to ensure network stability.
在本发明实施例中,当接入终端请求接入无线设备时,若该接入终端当前的信号强度大于第一预设阈值,则将该接入终端接入至第一工作频段,防止其他处于第二工作频段的设备对该接入终端造成干扰,提高用户上网速度。In the embodiment of the present invention, when the access terminal requests to access the wireless device, if the current signal strength of the access terminal is greater than the first preset threshold, the access terminal is connected to the first working frequency band to prevent other The device in the second working frequency band causes interference to the access terminal and improves the user's Internet access speed.
随后,继续检测接入终端实时的信号强度,在该实时的信号强度小于第二预设阈值时,则自动将接入终端由第一工作频段切换至第二工作频段,后续再次检测到实时的信号强度大于第一预设阈值时,自动将接入终端由第二工作频段切换至第一工作频段,通过设定两个不同的阈值,基于接入终端的信号强度,自动完成接入终端不同工作频段的切换,无需用户手动切换工作频段,自动化程度高。Then, the real-time signal strength of the access terminal is continuously detected. When the real-time signal strength is less than the second preset threshold, the access terminal is automatically switched from the first working frequency band to the second working frequency band, and the real-time is detected again. When the signal strength is greater than the first preset threshold, the access terminal is automatically switched from the second working frequency band to the first working frequency band, and two different thresholds are set, and the access terminal is automatically completed based on the signal strength of the access terminal. The switching of the working frequency band does not require the user to manually switch the working frequency band, and the degree of automation is high.
参考图3,示出了本发明实施例的一种基于无线设备的频段切换方法实施例三的步骤流程图,本发明实施例的无线设备至少支持两个互不相同的工作频段,即第一工作频段以及第二工作频段,其中,第一工作频段的数据传输速率大于所述第二工作频段。Referring to FIG. 3, a flowchart of a step of a method for performing a frequency band switching method based on a wireless device according to an embodiment of the present invention is shown. The wireless device in the embodiment of the present invention supports at least two working frequency bands that are different from each other, that is, the first The working frequency band and the second working frequency band, wherein the data transmission rate of the first working frequency band is greater than the second working frequency band.
在本发明实施例中,可以在无线设备中设置第一工作频段以及第二工作频段的网络名称(wifi名称)及登录密码,在设置时,可以设置两者的网络名称相同、登录密码相同,这样用户无需针对不同工作频段设置不同的无线网络名称,方便用户对网络名称和登录密码的管理。 In the embodiment of the present invention, the network name (wifi name) and the login password of the first working frequency band and the second working frequency band may be set in the wireless device, and the network name of the two is the same and the login password is the same when the setting is performed. In this way, the user does not need to set different wireless network names for different working frequency bands, which is convenient for the user to manage the network name and login password.
本发明实施例具体可以包括如下步骤:The embodiment of the present invention may specifically include the following steps:
步骤301,当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;Step 301: When the wireless device receives the access request of the access terminal, determine whether the access terminal supports the first working frequency band.
当接入终端需要连接网络时,接入终端可以向无线设备发送接入请求,该接入请求可以包括接入终端的终端标识、型号等。When the access terminal needs to connect to the network, the access terminal may send an access request to the wireless device, where the access request may include the terminal identifier, model, and the like of the access terminal.
无线设备接收到接入终端发送的接入请求以后,可以通过应用程序接口API查询接入终端可支持的无线网络协议,若该接入终端可支持的无线网络协议与第一工作频段对应的无线网络协议匹配,则无线设备可判定该接入终端支持第一工作频段。After receiving the access request sent by the access terminal, the wireless device may query the wireless network protocol that the access terminal can support through the application interface API, if the wireless network protocol supported by the access terminal and the wireless corresponding to the first working frequency band If the network protocol matches, the wireless device can determine that the access terminal supports the first working frequency band.
步骤302,若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度;Step 302: If the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
在判定接入终端支持第一工作频段以后,无线设备进一步可以调用标准的无线接口,查询接入终端当前的信号强度,其中,信号强度的值用负数表示,因此,-40dBm的信号强度比-50dBm的信号强度大。After determining that the access terminal supports the first working frequency band, the wireless device can further invoke a standard wireless interface to query the current signal strength of the access terminal, wherein the value of the signal strength is represented by a negative number, and therefore, the signal strength ratio of -40 dBm - The signal strength of 50dBm is large.
步骤303,若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;Step 303: If the current signal strength is less than a second preset threshold, accessing the access terminal to the second working frequency band;
获取到接入终端当前的信号强度以后,进一步判断该当前的信号强度是否大于第一预设阈值或小于第二预设阈值,如果该当前的信号强度小于第二预设阈值,则可以将接入终端接入至第二工作频段,即使接入终端工作在第二工作频段上。After obtaining the current signal strength of the access terminal, further determining whether the current signal strength is greater than a first preset threshold or less than a second preset threshold, and if the current signal strength is less than a second preset threshold, The incoming terminal accesses the second working frequency band even if the access terminal operates in the second working frequency band.
需要说明的是,该第一预设阈值、第二预设阈值均为经验值,本发明实施例对第一预设阈值、第二预设阈值的具体设定不作限制,本领域技术人员根据实际情况设定即可。It should be noted that the first preset threshold and the second preset threshold are all empirical values, and the specific setting of the first preset threshold and the second preset threshold is not limited in the embodiment of the present invention, and those skilled in the art according to The actual situation can be set.
例如,针对双频无线路由器,若其检测到接入终端(如手机)当前的信号强度小于-50dBm,则可以将该接入终端接入到2.4GHz频段中。For example, for a dual-band wireless router, if it detects that the current signal strength of the access terminal (such as a mobile phone) is less than -50 dBm, the access terminal can be connected to the 2.4 GHz frequency band.
步骤304,在预先建立的设备列表中添加所述接入终端的标识;Step 304: Add an identifier of the access terminal to a pre-established device list.
接入终端接入到第二工作频段以后,无线设备还可以在后台预先建立的设备列表中添加该接入终端的标识。其中,该预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息,以对接入终端进行维护。After the access terminal accesses the second working frequency band, the wireless device may further add the identifier of the access terminal to the device list pre-established in the background. The pre-established device list is used to record terminal information of the access terminal connected to the wireless device to perform maintenance on the access terminal.
步骤305,按照预设时间间隔检测所述接入终端实时的信号强度; Step 305: Detect a real-time signal strength of the access terminal according to a preset time interval.
应用于本发明实施例,可以设定监控进程,该监控进程可以用于按照预设时间间隔,定期检测该接入终端实时的信号强度。In the embodiment of the present invention, a monitoring process can be set, and the monitoring process can be used to periodically detect the real-time signal strength of the access terminal according to a preset time interval.
步骤306,在所述接入终端接入至所述第二工作频段的过程中,若所述实时的信号强度大于第一预设阈值,则将所述接入终端的频段由所述第二工作频段切换至第一工作频段; Step 306, in the process that the access terminal accesses the second working frequency band, if the real-time signal strength is greater than a first preset threshold, the frequency band of the access terminal is used by the second The working frequency band is switched to the first working frequency band;
在实际应用中,若接入终端逐渐靠近无线设备时(即两者的距离缩小时),无线设备的监控进程检测到该接入终端的信号强度越来越强,即信号强度的值越来越大,当该信号强度大于第一预设阈值时,则监控进程可以通知无线设备将接入终端的频段由第二工作频段切换至第一工作频段。In practical applications, if the access terminal gradually approaches the wireless device (ie, when the distance between the two is reduced), the monitoring process of the wireless device detects that the signal strength of the access terminal is getting stronger and stronger, that is, the value of the signal strength is increasing. The larger the signal strength is greater than the first preset threshold, the monitoring process may notify the wireless device to switch the frequency band of the access terminal from the second working frequency band to the first working frequency band.
需要说明的是,上述第一预设阈值的取值可以为大于第二预设阈值的值,例如,该第二预设阈值为-50dBm,第一预设阈值为-40dBm。如果该接入终端逐渐靠近无线路由器,当某一个时刻检测到的实时的信号强度大于-40dBm时,则可以将接入终端由2.4GHz频段自动切换至5.0GHz。It should be noted that the value of the first preset threshold may be a value greater than a second preset threshold. For example, the second preset threshold is -50 dBm, and the first preset threshold is -40 dBm. If the access terminal gradually approaches the wireless router, when the real-time signal strength detected at a certain time is greater than -40 dBm, the access terminal can be automatically switched from the 2.4 GHz band to 5.0 GHz.
在实际应用中,随着IT设备的普及,如ipad、手机、PC、游戏机等等设备都在2.4GHz频段下使用,若多台设备同时使用2.4GHz频段,则会导致其拥挤不堪、吞吐量数值严重下降。并且,微波炉、蓝牙、无线鼠标等也使用2.4GHz频段,他们会干扰wifi信号,令上网速度减慢,造成网络拥堵。因此,本发明实施例当检测到当前的接入终端的信号强度大于第一预设阈值时,将该接入终端从由2.4GHz频段自动切换至5GHz频段,从而避免其他使用2.4GHz频段的设备对接入终端造成干扰,提升接入终端的数据传输效率,提升用户上网体验。In practical applications, with the popularity of IT equipment, devices such as ipads, mobile phones, PCs, game consoles, etc. are all used in the 2.4 GHz band. If multiple devices use the 2.4 GHz band at the same time, it will lead to overcrowding and throughput. The amount of value is seriously degraded. Moreover, microwave ovens, Bluetooth, wireless mice, etc. also use the 2.4GHz band, they will interfere with the wifi signal, so that the Internet speed is slow, resulting in network congestion. Therefore, when detecting that the signal strength of the current access terminal is greater than the first preset threshold, the embodiment of the present invention automatically switches the access terminal from the 2.4 GHz band to the 5 GHz band, thereby avoiding other devices using the 2.4 GHz band. It causes interference to the access terminal, improves the data transmission efficiency of the access terminal, and improves the user's online experience.
步骤307,在所述接入终端接入至所述第一工作频段的过程中,若检测到所述接入终端实时的信号强度小于第二预设阈值时,将所述接入终端的频段由所述第一工作频段切换至所述第二工作频段。 Step 307, in the process of the access terminal accessing the first working frequency band, if the real-time signal strength of the access terminal is less than a second preset threshold, the frequency band of the access terminal is used. Switching from the first working frequency band to the second working frequency band.
当接入终端工作在第一工作频段时,监控进程继续按照预设时间间隔,定期检测该接入终端实时的信号强度。When the access terminal works in the first working frequency band, the monitoring process continues to periodically detect the real-time signal strength of the access terminal according to a preset time interval.
若接入终端逐渐远离无线设备时(即两者的距离增大时),无线设备的监控进程检测到该接入终端的信号强度越来越弱,即信号强度的值越来越小,当该信号强度小于第二预设阈值时,则监控进程可以通知无线设备将接入终端的频段由第一工作频段切换至第二工作频段。 If the access terminal gradually moves away from the wireless device (ie, when the distance between the two increases), the monitoring process of the wireless device detects that the signal strength of the access terminal is weaker, that is, the value of the signal strength is getting smaller and smaller. When the signal strength is less than the second preset threshold, the monitoring process may notify the wireless device to switch the frequency band of the access terminal from the first working frequency band to the second working frequency band.
例如,如果该接入终端逐渐远离无线路由器,当某一个时刻检测到的实时的信号强度小于-50dBm,则可以将接入终端由5.0GHz频段自动切换至2.4GHz频段。For example, if the access terminal gradually moves away from the wireless router, when the real-time signal strength detected at a certain time is less than -50 dBm, the access terminal can be automatically switched from the 5.0 GHz band to the 2.4 GHz band.
由于5GHz的传输距离只有35米,穿墙能力较差,只适合室内小范围覆盖和室外网桥,当接入终端逐渐远离无线设备时,信号衰减较大,而同样功率下2.4GHz的覆盖距离相对比较远,因此,当信号衰减到小于-50dBm时,将接入终端由5.0GHz频段自动切换至2.4GHz,可以保证网络稳定性。Since the transmission distance of 5 GHz is only 35 meters, the wall penetration capability is poor, and it is only suitable for indoor small-range coverage and outdoor bridge. When the access terminal is gradually away from the wireless device, the signal attenuation is large, and the coverage distance of 2.4 GHz under the same power. Relatively far, therefore, when the signal is attenuated to less than -50dBm, the access terminal is automatically switched from the 5.0GHz band to 2.4GHz, which can ensure network stability.
需要说明的是,在本发明实施例中,第一预设阈值与第二预设阈值之间为间隔N个数值的阈值,两者之间相距一定的临界距离,这样的阈值设定相对于只设定一个预设阈值的的好处是,避免接入终端在阈值临界值前后频繁来回切换频段(例如,只设定一个阈值-50dBm时,则-51dBm和-49dBm的工作频段不相同,一旦信号强度在这两者间,则工作频段需要来回切换跳动),提高设备性能。例如,第一预设阈值为-40dBm,第二预设阈值为-50dBm,当接入终端逐渐远离无线设备时,在两个阈值之间的值(如-45dBm)则工作在5GHz频段,当接入终端逐渐靠近无线设备时,在两个阈值之间的值(如-45dBm)则工作在2.4GHz频段,给予两个频段切换充分的缓冲,保证网络稳定性。It should be noted that, in the embodiment of the present invention, a threshold value of N values is separated between the first preset threshold and the second preset threshold, and the threshold distance between the two is a certain critical distance. The advantage of setting only a preset threshold is to prevent the access terminal from frequently switching back and forth between the threshold thresholds (for example, when only one threshold is set to -50 dBm, the operating frequency bands of -51 dBm and -49 dBm are not the same. If the signal strength is between the two, the working frequency band needs to switch back and forth to improve the performance of the device. For example, the first preset threshold is -40 dBm, and the second preset threshold is -50 dBm. When the access terminal gradually moves away from the wireless device, the value between the two thresholds (eg, -45 dBm) operates in the 5 GHz band. When the access terminal is gradually approaching the wireless device, the value between the two thresholds (such as -45dBm) operates in the 2.4GHz band, giving the two bands a sufficient buffer to ensure network stability.
对于图3的实施例而言,由于其与图2的方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the embodiment of FIG. 3, since it is basically similar to the method embodiment of FIG. 2, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
参考图4,示出了本发明实施例的一种无线设备实施例的结构框图,所述无线设备至少可以支持互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段。Referring to FIG. 4, a structural block diagram of an embodiment of a wireless device according to an embodiment of the present invention is shown, where the wireless device can support at least a first working frequency band and a second working frequency band different from each other, wherein the first working The data transmission rate of the frequency band is greater than the second working frequency band.
本发明实施例中可以通过硬件处理器(hardware processor)来实现相关功能模块,具体可以包括如下模块:In the embodiment of the present invention, the related function module may be implemented by using a hardware processor, and specifically includes the following modules:
第一信号强度检测模块401,用于当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;The first signal strength detecting module 401 is configured to detect, when the wireless device receives the access request of the access terminal, the current signal strength of the access terminal;
频段接入模块402,用于基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;The frequency band access module 402 is configured to access the access terminal to the first working frequency band or the second working frequency band based on the current signal strength;
第二信号强度检测模块403,用于检测所述接入终端实时的信号强度; a second signal strength detecting module 403, configured to detect a real-time signal strength of the access terminal;
频段切换模块404,用于基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。The band switching module 404 is configured to perform mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
在本发明实施例的一种优选实施例中,所述频段接入模块402可以包括如下子模块:In a preferred embodiment of the embodiment of the present invention, the frequency band access module 402 may include the following submodules:
第一接入子模块,用于在所述当前的信号强度大于第一预设阈值时,将所述接入终端接入至所述第一工作频段;a first access sub-module, configured to: when the current signal strength is greater than a first preset threshold, access the access terminal to the first working frequency band;
则所述频段切换模块404可以包括如下子模块:The band switching module 404 can include the following sub-modules:
第一切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。a first switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used Switching from the first working frequency band to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold.
第二切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。a second switching submodule, configured to: when the access terminal is detected to be in the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
在本发明实施例的另一种优选实施例中,所述频段接入模块402可以包括如下子模块:In another preferred embodiment of the embodiment of the present invention, the frequency band access module 402 may include the following submodules:
第二接入子模块,用于在所述当前的信号强度小于第二预设阈值时,将所述接入终端接入至所述第二工作频段;a second access sub-module, configured to: when the current signal strength is less than a second preset threshold, access the access terminal to the second working frequency band;
则所述频段切换模块404可以包括如下子模块:The band switching module 404 can include the following sub-modules:
第三切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;a third switching submodule, configured to: when the access terminal detects that the real-time signal strength of the access terminal is greater than a first preset threshold, in the process of accessing the second working frequency band, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band;
第四切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。a fourth switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal Switching from the first working frequency band to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold.
在本发明实施例的一种优选实施例中,所述第一信号强度检测模块401可以包括如下子模块:In a preferred embodiment of the embodiment of the present invention, the first signal strength detecting module 401 may include the following submodules:
频段判断子模块,用于当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段; a frequency band determining submodule, configured to determine, when the wireless device receives the access request of the access terminal, whether the access terminal supports the first working frequency band;
信号检测子模块,用于在所述接入终端支持所述第一工作频段时,检测所述接入终端当前的信号强度。And a signal detecting submodule, configured to detect a current signal strength of the access terminal when the access terminal supports the first working frequency band.
在本发明实施例的一种优选实施例中,所述无线设备还可以包括如下模块:In a preferred embodiment of the embodiment of the present invention, the wireless device may further include the following modules:
标识添加模块,用于在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息,以对接入终端进行维护。An identifier adding module, configured to add an identifier of the access terminal to a pre-established device list, where the pre-established device list is used to record terminal information of an access terminal that is connected to the wireless device, to be docked Enter the terminal for maintenance.
在本发明实施例的一种优选实施例中,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。In a preferred embodiment of the present invention, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
在本发明实施例的一种优选实施例中,所述无线设备包括无线路由器。In a preferred embodiment of the embodiments of the present invention, the wireless device includes a wireless router.
对于图4的设备实施例而言,由于其与上述方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment of FIG. 4, since it is basically similar to the above method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
如图5所示,本发明实施例又公开了一种电子设备,包括至少一个处理器810;以及,与所述至少一个处理器810通信连接的存储器800;其中,所述存储器800存储有可被所述至少一个处理器810执行的指令,所述指令被所述至少一个处理器810执行,以使所述至少一个处理器810能够:当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;检测所述接入终端实时的信号强度;基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。所述电子设备还包括与所述存储器800和所述处理器电连接的输入装置830和输出装置840,所述电连接优选为通过总线连接。As shown in FIG. 5, an embodiment of the present invention further discloses an electronic device including at least one processor 810; and a memory 800 communicably connected to the at least one processor 810; wherein the memory 800 is stored An instruction executed by the at least one processor 810, the instructions being executed by the at least one processor 810 to enable the at least one processor 810 to: when the wireless device receives an access request from the access terminal, Detecting the current signal strength of the access terminal; accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength; detecting the real-time signal strength of the access terminal; The real-time signal strength performs mutual switching between the first working frequency band and the second working frequency band. The electronic device also includes an input device 830 and an output device 840 that are electrically coupled to the memory 800 and the processor, the electrical connections preferably being connected by a bus.
本实施例的电子设备,优选地,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值; 在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。In the electronic device of this embodiment, preferably, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current signal strength is greater than the first The preset threshold is used to connect the access terminal to the first working frequency band; and the mutually switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes: If the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched by the first working frequency band in the process of the access terminal accessing the first working frequency band. a second working frequency band, wherein the second preset threshold is smaller than the first preset threshold; In the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by the The second working frequency band is switched to the first working frequency band.
本实施例的电子设备,优选地,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。In the electronic device of this embodiment, preferably, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current signal strength is less than the second The preset threshold is used to access the access terminal to the second working frequency band; the performing, according to the real-time signal strength, performing the mutual switching between the first working frequency band and the second working frequency band includes: In the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by the The second working frequency band is switched to the first working frequency band; in the process of the access terminal accessing the first working frequency band, if the real-time signal strength is less than a second preset threshold, the The frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, wherein the second preset threshold value is smaller than the first preset threshold value.
本实施例的电子设备,优选地,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。In the electronic device of this embodiment, preferably, when the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal And determining, by the access terminal, whether the first working frequency band is supported; if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
本实施例的电子设备,优选地,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The electronic device of this embodiment preferably adds an identifier of the access terminal to a pre-established device list, where the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device. .
本实施例的电子设备,优选地,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。In the electronic device of this embodiment, preferably, the network name of the first working frequency band and the second working frequency band are the same, and the login password is the same.
本实施例的电子设备,优选地,所述无线设备包括无线路由器。In the electronic device of this embodiment, preferably, the wireless device comprises a wireless router.
本发明实施例还公开了一种非易失性计算机存储介质,其中,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;检测所述接入终端实时的信号强度;基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切 换。Embodiments of the present invention also disclose a non-volatile computer storage medium, wherein the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to: when the wireless device Receiving an access request of the access terminal, detecting a current signal strength of the access terminal; and, according to the current signal strength, accessing the access terminal to a first working frequency band or a second working frequency band; detecting Real-time signal strength of the access terminal; performing mutual cutting between the first working frequency band and the second working frequency band based on the real-time signal strength change.
本实施例的非易失性计算机存储介质,优选地,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。In the non-volatile computer storage medium of the embodiment, preferably, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current And if the signal strength is greater than the first preset threshold, the access terminal is connected to the first working frequency band; and the first working frequency band and the second working frequency band are performed based on the real-time signal strength The inter-switching includes: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is The first working frequency band is switched to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold; if the access terminal accesses the second working frequency band, if the detecting And when the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
本实施例的非易失性计算机存储介质,优选地,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。In the non-volatile computer storage medium of the embodiment, preferably, the accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength includes: if the current And the signal strength is less than the second preset threshold, the access terminal is connected to the second working frequency band; and the first working frequency band and the second working frequency band are performed based on the real-time signal strength The inter-switching includes: when the access terminal accesses the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the access terminal is The frequency band is switched from the second working frequency band to the first working frequency band; if the access terminal is connected to the first working frequency band, if the real-time signal strength is less than a second preset threshold And the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where the second preset threshold is smaller than the first preset threshold.
本实施例的非易失性计算机存储介质,优选地,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。In the non-volatile computer storage medium of the embodiment, preferably, when the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when the wireless device receives the access And determining, by the access terminal, whether the access terminal supports the first working frequency band, and if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
本实施例的非易失性计算机存储介质,优选地,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。In the non-volatile computer storage medium of the embodiment, preferably, the identifier of the access terminal is added in a pre-established device list, wherein the pre-established device list is used to record access to the wireless device. Terminal information into the terminal.
本实施例的非易失性计算机存储介质,优选地,所述第一工作频段与第 二工作频段的网络名称相同、登录密码相同。The non-volatile computer storage medium of the embodiment, preferably, the first working frequency band and the first The network names of the two working bands are the same and the login password is the same.
本实施例的非易失性计算机存储介质,优选地,所述无线设备包括无线路由器。In the non-volatile computer storage medium of the embodiment, preferably, the wireless device comprises a wireless router.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述实施例所述的方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to perform the method described in the above embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步 骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in a block or blocks of a flow or a flow and/or a block diagram of a flowchart Step.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of the invention.

Claims (29)

  1. 一种基于无线设备的频段切换方法,其特征在于,应用于无线设备,所述频段至少包括互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段;A frequency band switching method based on a wireless device, characterized in that, in a wireless device, the frequency band includes at least a first working frequency band and a second working frequency band different from each other, wherein a data transmission rate of the first working frequency band Greater than the second working frequency band;
    所述方法包括:The method includes:
    当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal;
    基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;And the access terminal is connected to the first working frequency band or the second working frequency band based on the current signal strength;
    检测所述接入终端实时的信号强度;Detecting a real-time signal strength of the access terminal;
    基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。And performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段的步骤包括:The method according to claim 1, wherein the step of accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises:
    若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;If the current signal strength is greater than a first preset threshold, accessing the access terminal to the first working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换的步骤包括:The step of performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes:
    在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;If the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched by the first working frequency band in the process of the access terminal accessing the first working frequency band. a second working frequency band, wherein the second preset threshold is smaller than the first preset threshold;
    在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。In the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by the The second working frequency band is switched to the first working frequency band.
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段的步骤包括:The method according to claim 1, wherein the step of accessing the access terminal to the first working frequency band or the second working frequency band based on the current signal strength comprises:
    若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;If the current signal strength is less than a second preset threshold, accessing the access terminal to the second working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换的步骤包括: The step of performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes:
    在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;In the process of the access terminal accessing the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is determined by the Switching the second working frequency band to the first working frequency band;
    在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。If the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched by the first working frequency band in the process of the access terminal accessing the first working frequency band. And the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度的步骤包括:The method according to any one of claims 1-3, wherein the step of detecting the current signal strength of the access terminal when the wireless device receives the access request of the access terminal comprises:
    当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;When the wireless device receives the access request of the access terminal, determining whether the access terminal supports the first working frequency band;
    若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。And if the access terminal supports the first working frequency band, detecting a current signal strength of the access terminal.
  5. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。Adding an identifier of the access terminal to a pre-established device list, where the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device.
  6. 根据权利要求1或2或3或5所述的方法,其特征在于,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。The method according to claim 1 or 2 or 3 or 5, wherein the first working frequency band has the same network name as the second working frequency band and the login password is the same.
  7. 根据权利要求1所述的方法,其特征在于,所述无线设备包括无线路由器。The method of claim 1 wherein said wireless device comprises a wireless router.
  8. 一种无线设备,其特征在于,所述无线设备至少支持互不相同的第一工作频段以及第二工作频段,其中,所述第一工作频段的数据传输速率大于所述第二工作频段;A wireless device, wherein the wireless device supports at least a first working frequency band and a second working frequency band that are different from each other, wherein a data transmission rate of the first working frequency band is greater than the second working frequency band;
    所述无线设备包括:The wireless device includes:
    第一信号强度检测模块,用于当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;a first signal strength detecting module, configured to detect a current signal strength of the access terminal when the wireless device receives an access request of the access terminal;
    频段接入模块,用于基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;a frequency band access module, configured to access the access terminal to the first working frequency band or the second working frequency band based on the current signal strength;
    第二信号强度检测模块,用于检测所述接入终端实时的信号强度;a second signal strength detecting module, configured to detect a real-time signal strength of the access terminal;
    频段切换模块,用于基于所述实时的信号强度,进行所述第一工作频段 与所述第二工作频段的相互切换。a frequency band switching module, configured to perform the first working frequency band based on the real-time signal strength Interchanging with the second working frequency band.
  9. 根据权利要求8所述的无线设备,其特征在于,所述频段接入模块包括:The wireless device according to claim 8, wherein the frequency band access module comprises:
    第一接入子模块,用于在所述当前的信号强度大于第一预设阈值时,将所述接入终端接入至所述第一工作频段;a first access sub-module, configured to: when the current signal strength is greater than a first preset threshold, access the access terminal to the first working frequency band;
    所述频段切换模块包括:The band switching module includes:
    第一切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;a first switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal is used Switching from the first working frequency band to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold;
    第二切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。a second switching submodule, configured to: when the access terminal is detected to be in the second working frequency band, if the real-time signal strength of the access terminal is greater than a first preset threshold, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  10. 根据权利要求8所述的无线设备,其特征在于,所述频段接入模块包括:The wireless device according to claim 8, wherein the frequency band access module comprises:
    第二接入子模块,用于在所述当前的信号强度小于第二预设阈值时,将所述接入终端接入至所述第二工作频段;a second access sub-module, configured to: when the current signal strength is less than a second preset threshold, access the access terminal to the second working frequency band;
    所述频段切换模块包括:The band switching module includes:
    第三切换子模块,用于在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;a third switching submodule, configured to: when the access terminal detects that the real-time signal strength of the access terminal is greater than a first preset threshold, in the process of accessing the second working frequency band, The frequency band of the access terminal is switched from the second working frequency band to the first working frequency band;
    第四切换子模块,用于在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。a fourth switching submodule, configured to: when the access terminal accesses the first working frequency band, if the real-time signal strength is less than a second preset threshold, the frequency band of the access terminal Switching from the first working frequency band to the second working frequency band, wherein the second preset threshold is smaller than the first preset threshold.
  11. 根据权利要求8-10任一项所述的无线设备,其特征在于,所述第一信号强度检测模块包括:The wireless device according to any one of claims 8 to 10, wherein the first signal strength detecting module comprises:
    频段判断子模块,用于当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;a frequency band determining submodule, configured to determine, when the wireless device receives the access request of the access terminal, whether the access terminal supports the first working frequency band;
    信号检测子模块,用于在所述接入终端支持所述第一工作频段时,检测 所述接入终端当前的信号强度。a signal detecting submodule, configured to detect when the access terminal supports the first working frequency band The current signal strength of the access terminal.
  12. 根据权利要求8所述的无线设备,其特征在于,还包括:The wireless device of claim 8, further comprising:
    标识添加模块,用于在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。And an identifier adding module, configured to add an identifier of the access terminal in a pre-established device list, where the pre-established device list is used to record terminal information of an access terminal that accesses the wireless device.
  13. 根据权利要求8或9或10或12所述的无线设备,其特征在于,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。The wireless device according to claim 8 or 9 or 10 or 12, wherein the first working frequency band and the second working frequency band have the same network name and the same login password.
  14. 根据权利要求8所述的无线设备,其特征在于,所述无线设备包括无线路由器。The wireless device of claim 8 wherein said wireless device comprises a wireless router.
  15. 一种电子设备,其特征在于,包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, The instructions are executed by the at least one processor to enable the at least one processor to:
    当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度;When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal;
    基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;And the access terminal is connected to the first working frequency band or the second working frequency band based on the current signal strength;
    检测所述接入终端实时的信号强度;Detecting a real-time signal strength of the access terminal;
    基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。And performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
  16. 根据权利要求15所述的电子设备,其特征在于,The electronic device according to claim 15, wherein
    所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;The accessing the access terminal to the first working frequency band or the second working frequency band according to the current signal strength includes: if the current signal strength is greater than a first preset threshold, the accessing The terminal accesses to the first working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所 述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。The performing the mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes: in a process in which the access terminal accesses the first working frequency band, if If the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where the second preset threshold is smaller than the first preset Setting a threshold; if the access terminal accesses the second working frequency band, if the detected When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band.
  17. 根据权利要求15所述的电子设备,其特征在于,The electronic device according to claim 15, wherein
    所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;The accessing the access terminal to the first working frequency band or the second working frequency band according to the current signal strength includes: if the current signal strength is less than a second preset threshold, the accessing The terminal accesses to the second working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。The performing the mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes: detecting, when the access terminal accesses the second working frequency band, When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band; and the access terminal is accessed. In the process of the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where The second preset threshold is smaller than the first preset threshold.
  18. 根据权利要求15-17中任一项所述的电子设备,其特征在于,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。The electronic device according to any one of claims 15-17, wherein when the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when wireless When the device receives the access request of the access terminal, it determines whether the access terminal supports the first working frequency band; if the access terminal supports the first working frequency band, detects the current current working frequency of the access terminal Signal strength.
  19. 根据权利要求15所述的电子设备,其特征在于,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The electronic device according to claim 15, wherein the identifier of the access terminal is added in a pre-established device list, wherein the pre-established device list is used to record access to the wireless device. Terminal information of the terminal.
  20. 根据权利要求15或16或17或19所述的电子设备,其特征在于,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。The electronic device according to claim 15 or 16, or 17 or 19, wherein the first working frequency band and the second working frequency band have the same network name and the same login password.
  21. 根据权利要求15所述的电子设备,其特征在于,所述无线设备包括无线路由器。The electronic device of claim 15 wherein said wireless device comprises a wireless router.
  22. 一种非易失性计算机存储介质,其特征在于,所述存储介质存储有计算机可执行指令,所述计算机可执行指令当由电子设备执行时使得电子设备能够:A non-volatile computer storage medium, characterized in that the storage medium stores computer-executable instructions that, when executed by an electronic device, enable the electronic device to:
    当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信 号强度;When the wireless device receives the access request of the access terminal, detecting the current letter of the access terminal Strength
    基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段;And the access terminal is connected to the first working frequency band or the second working frequency band based on the current signal strength;
    检测所述接入终端实时的信号强度;Detecting a real-time signal strength of the access terminal;
    基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换。And performing mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength.
  23. 根据权利要求22所述的非易失性计算机存储介质,其特征在于,A non-volatile computer storage medium according to claim 22, wherein
    所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度大于第一预设阈值,则将所述接入终端接入至所述第一工作频段;The accessing the access terminal to the first working frequency band or the second working frequency band according to the current signal strength includes: if the current signal strength is greater than a first preset threshold, the accessing The terminal accesses to the first working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值;在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段。The performing the mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes: in a process in which the access terminal accesses the first working frequency band, if If the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where the second preset threshold is smaller than the first preset Setting a threshold; if the real-time signal strength of the access terminal is greater than a first preset threshold, the frequency band of the access terminal is obtained during the accessing of the access terminal to the second working frequency band. Switching from the second working frequency band to the first working frequency band.
  24. 根据权利要求22所述的非易失性计算机存储介质,其特征在于,A non-volatile computer storage medium according to claim 22, wherein
    所述基于所述当前的信号强度,将所述接入终端接入至第一工作频段或者第二工作频段包括:若所述当前的信号强度小于第二预设阈值,则将所述接入终端接入至所述第二工作频段;The accessing the access terminal to the first working frequency band or the second working frequency band according to the current signal strength includes: if the current signal strength is less than a second preset threshold, the accessing The terminal accesses to the second working frequency band;
    所述基于所述实时的信号强度,进行所述第一工作频段与所述第二工作频段的相互切换包括:在所述接入终端接入至所述第二工作频段的过程中,若检测到所述接入终端实时的信号强度大于第一预设阈值时,将所述接入终端的频段由所述第二工作频段切换至所述第一工作频段;在所述接入终端接入至所述第一工作频段的过程中,若所述实时的信号强度小于第二预设阈值,则将所述接入终端的频段由所述第一工作频段切换至第二工作频段,其中,所述第二预设阈值小于所述第一预设阈值。The performing the mutual switching between the first working frequency band and the second working frequency band based on the real-time signal strength includes: detecting, when the access terminal accesses the second working frequency band, When the real-time signal strength of the access terminal is greater than the first preset threshold, the frequency band of the access terminal is switched from the second working frequency band to the first working frequency band; and the access terminal is accessed. In the process of the first working frequency band, if the real-time signal strength is less than the second preset threshold, the frequency band of the access terminal is switched from the first working frequency band to the second working frequency band, where The second preset threshold is smaller than the first preset threshold.
  25. 根据权利要求22-24中任一项所述的非易失性计算机存储介质,其特 征在于,所述当无线设备接收到接入终端的接入请求时,检测所述接入终端当前的信号强度包括:当无线设备接收到接入终端的接入请求时,判断所述接入终端是否支持所述第一工作频段;若所述接入终端支持所述第一工作频段,则检测所述接入终端当前的信号强度。A non-volatile computer storage medium according to any one of claims 22-24, When the wireless device receives the access request of the access terminal, detecting the current signal strength of the access terminal includes: when the wireless device receives the access request of the access terminal, determining the access Whether the terminal supports the first working frequency band; if the access terminal supports the first working frequency band, detecting the current signal strength of the access terminal.
  26. 根据权利要求22所述的非易失性计算机存储介质,其特征在于,在预先建立的设备列表中添加所述接入终端的标识,其中,所述预先建立的设备列表用于记录接入至无线设备的接入终端的终端信息。The non-volatile computer storage medium according to claim 22, wherein the identifier of the access terminal is added to a pre-established device list, wherein the pre-established device list is used for recording access to Terminal information of the access terminal of the wireless device.
  27. 根据权利要求22或23或24或26所述的电子设备,其特征在于,所述第一工作频段与第二工作频段的网络名称相同、登录密码相同。The electronic device according to claim 22 or 23 or 24 or 26, wherein the first working frequency band and the second working frequency band have the same network name and the same login password.
  28. 根据权利要求22所述的非易失性计算机存储介质,其特征在于,所述无线设备包括无线路由器。The non-transitory computer storage medium of claim 22, wherein the wireless device comprises a wireless router.
  29. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,其特征在于,当所述程序指令被计算机执行时,使所述计算机执行上述任一权利要求所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, The computer performs the method of any of the preceding claims.
PCT/CN2016/096471 2016-03-31 2016-08-24 Wireless device-based frequency band switching method, wireless device, and electronic device WO2017166609A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610201953.3 2016-03-31
CN201610201953.3A CN105898813A (en) 2016-03-31 2016-03-31 Frequency band switching method based on wireless device and wireless device

Publications (1)

Publication Number Publication Date
WO2017166609A1 true WO2017166609A1 (en) 2017-10-05

Family

ID=57013270

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096471 WO2017166609A1 (en) 2016-03-31 2016-08-24 Wireless device-based frequency band switching method, wireless device, and electronic device

Country Status (2)

Country Link
CN (1) CN105898813A (en)
WO (1) WO2017166609A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418714A (en) * 2018-02-24 2018-08-17 上海康斐信息技术有限公司 A kind of method and apparatus preventing USB3.0 interference wireless networks
CN108848536A (en) * 2018-06-27 2018-11-20 新华三技术有限公司 Method for controlling bandwidth, device and communication equipment
CN110621024A (en) * 2018-06-20 2019-12-27 深圳市云猫信息技术有限公司 Automatic distribution method of AP (Access Point) equipment in WIFI (Wireless Fidelity) park
TWI708491B (en) * 2019-05-10 2020-10-21 智易科技股份有限公司 Backhaul bandwidth management method and system for wireless network
CN111917434A (en) * 2020-07-27 2020-11-10 深圳创维-Rgb电子有限公司 Dual-frequency concurrent communication circuit, dual-frequency signal selection method, television and storage medium
CN111988832A (en) * 2019-05-24 2020-11-24 钉钉控股(开曼)有限公司 Spectrum navigation method, device, equipment and system
CN113541724A (en) * 2021-07-19 2021-10-22 中移(杭州)信息技术有限公司 Frequency band switching control method, control device and storage medium
CN113676269A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device
CN114222333A (en) * 2020-07-28 2022-03-22 华为技术有限公司 Wireless data transmission method and related equipment thereof
CN115002849A (en) * 2021-12-14 2022-09-02 荣耀终端有限公司 Network switching method and terminal
US11617175B2 (en) 2018-05-23 2023-03-28 Google Llc Intelligent band selection for wireless access point

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933942A (en) * 2016-06-16 2016-09-07 北京小米移动软件有限公司 Frequency band switching method and device
CN106714277B (en) * 2016-12-07 2020-02-07 Oppo广东移动通信有限公司 Network connection method and terminal
CN106993317B (en) * 2017-03-28 2020-06-26 深圳市微网力合信息技术有限公司 SSID (service set identifier) selection method and device based on dual-frequency wireless router
CN107182069B (en) * 2017-05-23 2020-06-26 深圳市微网力合信息技术有限公司 Wireless router transmission rate switching method, control method and wireless router
CN106954225B (en) * 2017-05-25 2019-12-17 普联技术有限公司 wireless roaming method and device and wireless equipment
CN106954237B (en) * 2017-05-25 2020-07-07 青岛海信宽带多媒体技术有限公司 Wi-Fi frequency band self-adaptive switching method and device
CN107046693B (en) * 2017-05-27 2020-12-29 台州市吉吉知识产权运营有限公司 Wireless router and method for switching frequency bands for access terminal
CN107396409A (en) * 2017-07-10 2017-11-24 宇龙计算机通信科技(深圳)有限公司 Wireless terminal frequency band switching method and wireless router
CN107466078A (en) * 2017-08-10 2017-12-12 深圳益创信息科技有限公司 A kind of method and terminal of automatic switchover WiFi network
CN107484212A (en) * 2017-08-10 2017-12-15 深圳益创信息科技有限公司 Router side WiFi switching methods and router
WO2019028785A1 (en) * 2017-08-10 2019-02-14 深圳益创信息科技有限公司 Automatic wifi network switching method and terminal
WO2019028784A1 (en) * 2017-08-10 2019-02-14 深圳益创信息科技有限公司 Router side wifi switching method and router
CN107426781B (en) * 2017-08-16 2021-04-13 高新兴物联科技有限公司 Dual-frequency WiFi automatic switching method and device and computer readable storage medium
CN107454616B (en) * 2017-08-30 2019-12-27 深圳鲲鹏无限科技有限公司 Multi-radio-frequency link wireless router and fault repairing method
CN108541024A (en) * 2018-03-01 2018-09-14 深圳市共进电子股份有限公司 A kind of frequency band control method, device, equipment and the storage medium of connection wireless aps
CN108632938A (en) * 2018-04-24 2018-10-09 四川斐讯信息技术有限公司 A kind of device dynamic management method and system of double frequency unification router
CN108770068B (en) * 2018-06-04 2022-10-21 Oppo广东移动通信有限公司 WIFI frequency band selection method and device, storage medium and electronic equipment
CN110324073A (en) * 2019-06-19 2019-10-11 Oppo广东移动通信有限公司 Frequency band switching method, low-power consumption WAN equipment and storage medium
CN110225562B (en) * 2019-07-09 2021-02-26 杭州叙简安智信息技术有限公司 Method for automatically adjusting internet surfing according to actual scene
CN110446178A (en) * 2019-09-09 2019-11-12 安徽德通智联科技有限公司 A method of exempt to configure wireless telecommunications
CN111211851B (en) * 2019-12-23 2022-05-06 京信网络系统股份有限公司 Frequency band switching method and device, computer equipment and computer readable storage medium
CN111262597A (en) * 2020-01-17 2020-06-09 深圳市普威技术有限公司 Novel radio frequency device, radio frequency device control method and wireless equipment
CN113938990B (en) * 2020-06-29 2023-11-17 华为技术有限公司 Equipment management method and communication device
CN111800892B (en) * 2020-08-25 2022-08-30 深圳创维数字技术有限公司 Connection method, system, equipment and storage medium of wireless double-frequency network
CN114285433B (en) * 2020-09-27 2023-03-03 Oppo广东移动通信有限公司 Wireless communication assembly, method and terminal equipment
CN114339903A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Wireless communication method and electronic equipment
CN113055966B (en) * 2021-03-11 2023-07-25 北京小米移动软件有限公司 Frequency band switching method, frequency band switching device and storage medium
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
EP2337391A1 (en) * 2009-12-18 2011-06-22 Samsung Electronics Co., Ltd. Dual-band wireless communication apparatus and method for channel allocation
CN103619054A (en) * 2013-11-20 2014-03-05 小米科技有限责任公司 Method and device for selecting network frequency band and router
CN104105170A (en) * 2014-08-04 2014-10-15 上海斐讯数据通信技术有限公司 Connection method and connection system for WiFi protected setup scanning of dual-band router
CN104113935A (en) * 2014-07-28 2014-10-22 普联技术有限公司 Data transmission method, system and router

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9794848B2 (en) * 2011-07-25 2017-10-17 Ethertronics, Inc. Method and system for priority-based handoff
CN104936212A (en) * 2015-04-29 2015-09-23 无锡市崇安区科技创业服务中心 Intelligent switching control method of wireless-signal frequency ranges of wireless router
CN105101330B (en) * 2015-06-25 2020-02-28 小米科技有限责任公司 Connection switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2337391A1 (en) * 2009-12-18 2011-06-22 Samsung Electronics Co., Ltd. Dual-band wireless communication apparatus and method for channel allocation
CN103619054A (en) * 2013-11-20 2014-03-05 小米科技有限责任公司 Method and device for selecting network frequency band and router
CN104113935A (en) * 2014-07-28 2014-10-22 普联技术有限公司 Data transmission method, system and router
CN104105170A (en) * 2014-08-04 2014-10-15 上海斐讯数据通信技术有限公司 Connection method and connection system for WiFi protected setup scanning of dual-band router

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418714A (en) * 2018-02-24 2018-08-17 上海康斐信息技术有限公司 A kind of method and apparatus preventing USB3.0 interference wireless networks
US11617175B2 (en) 2018-05-23 2023-03-28 Google Llc Intelligent band selection for wireless access point
CN110621024A (en) * 2018-06-20 2019-12-27 深圳市云猫信息技术有限公司 Automatic distribution method of AP (Access Point) equipment in WIFI (Wireless Fidelity) park
CN110621024B (en) * 2018-06-20 2022-08-02 深圳市云猫信息技术有限公司 Automatic distribution method of AP (Access Point) equipment in WIFI (Wireless Fidelity) park
CN108848536A (en) * 2018-06-27 2018-11-20 新华三技术有限公司 Method for controlling bandwidth, device and communication equipment
CN108848536B (en) * 2018-06-27 2023-06-06 新华三技术有限公司 Bandwidth control method and device and communication equipment
TWI708491B (en) * 2019-05-10 2020-10-21 智易科技股份有限公司 Backhaul bandwidth management method and system for wireless network
CN111988832A (en) * 2019-05-24 2020-11-24 钉钉控股(开曼)有限公司 Spectrum navigation method, device, equipment and system
CN111988832B (en) * 2019-05-24 2023-08-15 钉钉控股(开曼)有限公司 Spectrum navigation method, device, equipment and system
CN113676269B (en) * 2020-05-15 2022-11-04 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device
CN113676269A (en) * 2020-05-15 2021-11-19 华为技术有限公司 Data transmission method of electronic device, medium thereof, and electronic device
CN111917434A (en) * 2020-07-27 2020-11-10 深圳创维-Rgb电子有限公司 Dual-frequency concurrent communication circuit, dual-frequency signal selection method, television and storage medium
CN111917434B (en) * 2020-07-27 2022-07-12 深圳创维-Rgb电子有限公司 Dual-frequency concurrent communication circuit, dual-frequency signal selection method, television and storage medium
CN114222333B (en) * 2020-07-28 2022-11-25 华为技术有限公司 Wireless data transmission method, equipment, storage medium and chip system
CN114222333A (en) * 2020-07-28 2022-03-22 华为技术有限公司 Wireless data transmission method and related equipment thereof
EP4178305A4 (en) * 2020-07-28 2023-12-20 Huawei Technologies Co., Ltd. Wireless data transmission method and related devices therefor
CN113541724A (en) * 2021-07-19 2021-10-22 中移(杭州)信息技术有限公司 Frequency band switching control method, control device and storage medium
CN115002849A (en) * 2021-12-14 2022-09-02 荣耀终端有限公司 Network switching method and terminal
CN115002849B (en) * 2021-12-14 2023-02-24 荣耀终端有限公司 Network switching method and terminal

Also Published As

Publication number Publication date
CN105898813A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017166609A1 (en) Wireless device-based frequency band switching method, wireless device, and electronic device
CN107396386B (en) Channel detection method and channel detection equipment
US11627507B2 (en) Network handover method and apparatus
CN108055687B (en) Wireless network connection method and device and terminal equipment
WO2020164351A1 (en) Link connection method and related apparatus
WO2020098411A1 (en) Electromagnetic interference control method and related apparatus
WO2011066762A1 (en) Method, control equipment and communication system for dynamically adjusting transmission power
WO2020073807A1 (en) Antenna tuning method and apparatus, mobile terminal and computer readable storage medium
US11973684B2 (en) Link aggregation implementation method and related product
WO2021102814A1 (en) Ue capability reporting method, apparatus and system
US9025448B2 (en) Methods and apparatuses for accessing internet
WO2017088308A1 (en) Universal serial bus interface mode controlling method, device and storage medium
WO2021008492A1 (en) Switching method and communication apparatus
WO2016167885A1 (en) Reduction of channel access delay in wireless systems
WO2014070375A1 (en) Dynamically adapting wireless communication
US9788249B2 (en) Wireless communication apparatus, wireless communication method, and computer-readable recording medium
US9408181B2 (en) Automatic calibration of probe request received signal strength indication (RSSI) threshold to control associations
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN114096007A (en) Service transmission method, device, server and storage medium
WO2020216136A1 (en) Beam correspondence capacity reporting method and apparatus
Tuysuz et al. Energy-aware network/interface selection and handover application for android-based mobile devices
WO2020097935A1 (en) Communication method and apparatus
CN106488571B (en) Channel selection method and system
WO2022057828A1 (en) Measurement method, measurement apparatus, terminal and network device
WO2022022635A1 (en) Access control method and apparatus, and terminal and network device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896381

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896381

Country of ref document: EP

Kind code of ref document: A1