WO2019028785A1 - Automatic wifi network switching method and terminal - Google Patents

Automatic wifi network switching method and terminal Download PDF

Info

Publication number
WO2019028785A1
WO2019028785A1 PCT/CN2017/096923 CN2017096923W WO2019028785A1 WO 2019028785 A1 WO2019028785 A1 WO 2019028785A1 CN 2017096923 W CN2017096923 W CN 2017096923W WO 2019028785 A1 WO2019028785 A1 WO 2019028785A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi network
wifi
terminal
signal strength
network
Prior art date
Application number
PCT/CN2017/096923
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 深圳益创信息科技有限公司
Priority to PCT/CN2017/096923 priority Critical patent/WO2019028785A1/en
Publication of WO2019028785A1 publication Critical patent/WO2019028785A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements

Definitions

  • the present invention relates to electronic communication, and in particular to a terminal WiFi network switching method and terminal.
  • a very important advantage of smart terminals and tablets is that they can be moved to any location (the desktop is difficult to move, the laptop is generally not as light as the smart terminal and tablet), which further facilitates the user. usage of.
  • the wireless network which, thanks to wireless network support, ensures that users can still access the Internet while moving their tablets and smart terminals.
  • the wireless network has a cellular network and a wireless fidelity (WiFi) network.
  • WiFi wireless fidelity
  • the cellular network is provided by the mobile operator, it is basically based on the flow rate, and the use cost is relatively high. So unless necessary, more users may use the WiFi network to access the Internet. Only one wireless router is needed, and users can extend a WiFi network based on the wired network. The cost of using the wired network is much lower than that of the cellular. Network, so many users will use the WiFi network where there is coverage of the WiFi network, thus reducing the cost of the network.
  • WiFi networks use the 802.11 series of protocols, including 802.11a, 802.11b, 802.11g, 802.11n and 802.11ac, etc. Relatively speaking, the newer versions support higher rates.
  • the current mainstream WiFi usage is 2.4Ghz and 5Ghz, also known as 2.4G WiFi and 5G WiFi.
  • 5G WiFi mainly refers to 802.11n and 802.11ac. It should be noted that although 802.11a can also work in 5Ghz, since the maximum rate supported by 802.11a is small, the so-called 5G WiFi does not include 802.11a.
  • the embodiment of the invention provides a terminal WiFi switching method, which can enable the terminal to automatically switch between 2.4G WiFi and 5G WiFi, so that the terminal can always access a more suitable network to access the Internet.
  • a first aspect of the present invention provides a terminal WiFi switching method, including:
  • the terminal detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network;
  • the terminal switches between the 2.4G WiFi network and the 5G WiFi network.
  • the preset switching condition includes: the 5G The signal strength of the WiFi network is greater than the first threshold.
  • the first threshold is 50%.
  • the preset switching condition includes: the 5G WiFi The signal strength of the network is less than a second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold.
  • the first threshold is 50%
  • the second threshold is 20%
  • Another aspect of the present invention provides a terminal, including:
  • 2.4G WiFi module for detecting the signal strength of a 2.4G WiFi network
  • 5G WiFi module for detecting the signal strength of a 5G WiFi network
  • a determining module configured to determine whether a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition
  • a switching module configured to determine, by the determining module, that a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition, where the 2.4G WiFi network and the 5G WiFi network Switch between.
  • the preset switching condition includes: the 5G The signal strength of the WiFi network is greater than the first threshold.
  • the first threshold is 50%.
  • the preset switching condition includes: the 5G WiFi The signal strength of the network is less than a second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold.
  • the first threshold is 50%
  • the second threshold is 20%
  • the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition, Switching between 2.4G WiFi and 5G WiFi, taking into account the wide coverage of 2.4G WiFi and the fast speed of 5G WiFi, improving the user experience of using the terminal to access the network.
  • FIG. 1 is a flowchart of a method for switching a WiFi of a terminal according to an embodiment of the present invention
  • FIG. 2 is an application scenario diagram of a method for switching a WiFi of a terminal according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a terminal WiFi switching method according to an embodiment of the present invention.
  • the embodiment describes a process flow of the terminal, where the terminal may be a smart terminal or a tablet.
  • Etc. the terminal has both 5G WiFi network access capability and 2.4G WiFi network access capability.
  • this embodiment includes:
  • the terminal detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network.
  • the terminal includes both a 2.4G WiFi module and a 5G WiFi module, wherein the 2.4G WiFi module is used to detect the signal strength of the 2.4G WiFi network, and the 5G WiFi module is used to detect the signal strength of the 5G WiFi network.
  • the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network refer to the signal strength of the 2.4G WiFi network where the terminal is located and the signal strength of the 5G WiFi network.
  • the signal strength may be any value of a parameter capable of representing the signal strength, and may be, for example, a signal-to-noise ratio (SNR), a signal power value, a signal attenuation value, and the like.
  • SNR signal-to-noise ratio
  • the embodiment of the present invention does not limit the value of which parameter is specifically used as the signal strength, because the value of which parameter is used as the signal strength does not affect the implementation of the embodiment of the present invention.
  • the foregoing detection may be periodic.
  • the terminal automatically detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network every time interval.
  • the foregoing detection may also be event-triggered. For example, when the signal strength of the currently accessed WiFi network is lower than a certain threshold, the embodiment of the present invention does not limit the specific detection timing.
  • the terminal determines whether the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet the preset switching condition. If yes, go to step 103, if no, go to step 104.
  • the preset switching condition is different according to whether the terminal currently accesses the 2.4G WiFi network or the 5G WiFi network, or does not access the 2.4G WiFi network and the 5G WiFi network.
  • the terminal currently accesses the 2.4G WiFi network.
  • the network access may be from 2.4G.
  • the WiFi network switches to a 5G WiFi network.
  • the first threshold has a value of 50%. That is, when the terminal currently accesses the 2.4G WiFi network, if the signal strength of the 5G WiFi network is greater than 50%, the network access is switched from the 2.4G WiFi network to the 5G WiFi network.
  • the value of the first threshold in this embodiment is 50%. In practical applications, other values may also be taken, for example, 40%, 30%, or 60%, and the like. For example, in some scenarios, even if the 5G WiFi network has only 20% signal strength, its access speed will be faster than the 2.4G WiFi network with 90% signal strength, so the value of the first threshold is even in some scenarios. Can be set to 20%.
  • the terminal currently accesses the 5G WiFi network.
  • the signal strength of the 5G WiFi network is detected to be less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold. ; then you can switch network access from 5G WiFi network to 2.4G WiFi network.
  • the first threshold value is 50%
  • the second threshold value is 20%. That is, when the terminal currently accesses the 5G WiFi network, if the signal strength of the 5G WiFi network is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, the network access is switched from the 5G WiFi network to 2.4. G WiFi network.
  • the value of the first threshold is 20%.
  • the value of the second threshold in this embodiment is only an exemplary example. In practical applications, other values, such as 15%, 30%, etc., may also be set. Wait.
  • the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network. If the signal strength of the 5G WiFi network is greater than the first threshold, the signal strength of the 2.4G WiFi network is not considered directly. Access to a 5G WiFi network. For example, if the first threshold is 50%, that is, only the signal strength of the 5G WiFi network is greater than 50%, the 5G WiFi network is directly connected.
  • the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, if the signal strength of the 5G WiFi network is less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first
  • the threshold is then connected to the 2.4G WiFi network. For example, if the first threshold is 50% and the second threshold is 20%, then the 2.4G WiFi network is accessed as long as the signal strength of the 2.4G WiFi network is greater than 50% and the signal strength of the 5G WiFi network is less than 20%.
  • the specific values of the foregoing first threshold and the second threshold may be built in the terminal, that is, the user may not be set, and determined by the terminal manufacturer according to the experimental data or the big data, and then solidified in the terminal setting file. . In other embodiments, the specific values of the foregoing first threshold and the second threshold may also be set by the user according to their own network environment.
  • the terminal is also a calculation algorithm that has a built-in first threshold and a second threshold, and the calculation algorithm may calculate a first threshold and a second threshold that match an environment in which the user is currently located according to an environmental factor of the environment in which the user is located, wherein the environmental factor may be Including the signal attenuation rate, the transmit power of the router, the processing power of the WiFi module of the terminal, and so on.
  • the attenuation rate of the signal is related to the distance between the terminal and the router, the number of obstacles between the terminal and the router, and the degree of interference of the WiFi channel.
  • the terminal switches between the 2.4G WiFi network and the 5G WiFi network.
  • the terminal does not perform handover of the 2.4G WiFi network and the 5G WiFi network.
  • the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved.
  • the terminal When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
  • FIG. 2 is a schematic diagram of an application scenario of a method for switching a WiFi network of a terminal according to an embodiment of the present invention.
  • the wireless router 201 provides a 2.4G WiFi network and a 5G WiFi network.
  • the terminal 202 is currently accessing a 2.4G WiFi network, but the signal strength of the 5G WiFi network where the terminal 202 is currently located is greater than 50%, and the terminal 202 switches from the 2.4G WiFi network to the 5G WiFi network, thereby enjoying 5G WiFi.
  • the high speed of the network is currently accessing a 2.4G WiFi network, but the signal strength of the 5G WiFi network where the terminal 202 is currently located is greater than 50%, and the terminal 202 switches from the 2.4G WiFi network to the 5G WiFi network, thereby enjoying 5G WiFi.
  • the high speed of the network is currently accessing a 2.4G WiFi network, but the signal strength of the 5G WiFi network where the terminal 202 is currently located is greater than 50%, and the terminal 202 switches from the 2.4G WiFi network to the 5G WiFi network, thereby enjoying 5G WiFi. The high speed of the network.
  • the terminal 203 is currently accessing a 5G WiFi network, but the signal strength of the 5G WiFi network where the terminal 203 is currently located is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, and the terminal switches from the 5G WiFi network.
  • the signal strength of the 5G WiFi network where the terminal 203 is currently located is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, and the terminal switches from the 5G WiFi network.
  • 2.4G WiFi network you can access the Internet through 2.4G network and enjoy high coverage of 2.4G WiFi network.
  • the terminal 204 is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network.
  • the signal strength of the 5G WiFi network where the terminal 204 is currently located is greater than 50%, and the signal strength of the 2.4G WiFi network is greater than 80%, due to 50
  • the signal strength of % does not affect the network access of the terminal, so the terminal 204 accesses the 5G network, thereby enjoying the high speed of the 5G network.
  • the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved.
  • the terminal When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
  • FIG. 3 is a structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal includes:
  • 2.4G WiFi module 301 configured to detect the signal strength of the 2.4G WiFi network
  • the 5G WiFi module 302 is configured to detect a signal strength of the 5G WiFi network
  • the signal strength may be any value of a parameter capable of representing the signal strength, and may be, for example, a signal to noise ratio (SNR), a signal power value, a signal attenuation value, and the like.
  • SNR signal to noise ratio
  • the embodiment of the present invention does not limit the value of which parameter is specifically used as the signal strength, because the value of which parameter is used as the signal strength does not affect the implementation of the embodiment of the present invention.
  • the foregoing detection may be periodic.
  • the terminal automatically detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network every time interval.
  • the foregoing detection may also be event-triggered. For example, when the signal strength of the currently accessed WiFi network is lower than a certain threshold, the embodiment of the present invention does not limit the specific detection timing.
  • the determining module 303 is configured to determine whether the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset switching condition;
  • the preset switching condition is different according to whether the terminal currently accesses the 2.4G WiFi network or the 5G WiFi network, or does not access the 2.4G WiFi network and the 5G WiFi network.
  • the terminal currently accesses the 2.4G WiFi network.
  • the network access can be switched from the 2.4G WiFi network.
  • the first threshold has a value of 50%. That is, when the terminal currently accesses the 2.4G WiFi network, if the signal strength of the 5G WiFi network is greater than 50%, the network access is switched from the 2.4G WiFi network to the 5G WiFi network.
  • the value of the first threshold in this embodiment is 50%. In practical applications, other values may also be taken, for example, 40%, 30%, or 60%, and the like. For example, in some scenarios, even if the 5G WiFi network has only 20% signal strength, its access speed will be faster than the 2.4G WiFi network with 90% signal strength, so the value of the first threshold is even in some scenarios. Can be set to 20%.
  • the terminal currently accesses the 5G WiFi network.
  • the signal strength of the 5G WiFi network is detected to be less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold. ; then you can switch network access from 5G WiFi network to 2.4G WiFi network.
  • the first threshold value is 50%
  • the second threshold value is 20%. That is, when the terminal currently accesses the 5G WiFi network, if the signal strength of the 5G WiFi network is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, the network access is switched from the 5G WiFi network to 2.4. G WiFi network.
  • the value of the first threshold is 20%.
  • the value of the second threshold in this embodiment is only an exemplary example. In practical applications, other values, such as 15%, 30%, etc., may also be set. Wait.
  • the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network. If the signal strength of the 5G WiFi network is greater than the first threshold, the signal strength of the 2.4G WiFi network is not considered directly. Access to a 5G WiFi network. For example, if the first threshold is 50%, that is, only the signal strength of the 5G WiFi network is greater than 50%, the 5G WiFi network is directly connected.
  • the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, if the signal strength of the 5G WiFi network is less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first
  • the threshold is then connected to the 2.4G WiFi network. For example, if the first threshold is 50% and the second threshold is 20%, then the 2.4G WiFi network is accessed as long as the signal strength of the 2.4G WiFi network is greater than 50% and the signal strength of the 5G WiFi network is less than 20%.
  • the specific values of the foregoing first threshold and the second threshold may be built in the terminal, that is, the user may not be set, and determined by the terminal manufacturer according to the experimental data or the big data, and then solidified in the terminal setting file. .
  • the specific values of the foregoing first threshold and the second threshold may also be set by the user according to their own network environment.
  • the terminal may also include a first threshold and a second threshold calculation algorithm, and the calculation algorithm may calculate a first threshold that matches the environment in which the user is currently located according to an environmental factor of the environment in which the user is located.
  • the environmental factor may include a signal attenuation rate, a transmit power of the router, and a processing of the WiFi module of the terminal Ability and so on.
  • the attenuation rate of the signal is related to the distance between the terminal and the router, the number of obstacles between the terminal and the router, and the degree of interference of the WiFi channel.
  • the switching module 304 is configured to determine, in the determining module 303, that the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset switching condition, where the 2.4G WiFi network and the 5G WiFi network are Switch between.
  • the switching module 304 determines to switch from the 2.4G WiFi network to the 5G WiFi network, the switching module 304 instructs the 2.4G WiFi module 301 to access the 2.4G WiFi network, and instructs the 5G WiFi module to disconnect from the 5G WiFi network;
  • the handover module 304 determines to switch from the 5G WiFi network to the 2.4G WiFi network, the handover module 304 instructs the 5G WiFi module to access the 5G WiFi network while instructing the 2.4G WiFi module to disconnect from the 2.4G WiFi network.
  • the determining module 303 determines that the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network does not meet the preset switching condition, the switching between the 2.4G WiFi network and the 5G WiFi network is not performed. .
  • the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved.
  • the terminal When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
  • the content is based on the same concept as the method embodiment of the present invention.
  • the description in the method embodiment of the present invention and details are not described herein again.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

A terminal WiFi network switching method, comprising: a terminal detects the signal strength of a 2.4G WiFi network and the signal strength of a 5G WiFi network; the terminal determines whether the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network satisfy a preset switching condition; if the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network satisfy the preset switching condition, the terminal switches between the 2.4G WiFi network and the 5G WiFi network. The method enables a terminal to automatically switch between a 2.4G WiFi network and a 5G WiFi network.

Description

一种自动切换WiFi网络的方法及终端Method and terminal for automatically switching WiFi network 技术领域Technical field
本发明涉及电子通信,具体涉及一种终端WiFi网络切换方法及终端。The present invention relates to electronic communication, and in particular to a terminal WiFi network switching method and terminal.
背景技术Background technique
随着智能终端和平板电脑的飞速发展,越来越多的用户会使用智能终端和平板电脑来获取资讯,玩游戏甚至工作,而笔记本电脑,台式机等传统个人电脑的使用频率越来越低了。With the rapid development of smart terminals and tablets, more and more users will use smart terminals and tablets to get information, play games and even work, while traditional PCs such as laptops and desktops are used less frequently. It is.
智能终端和平板电脑的一个很重要的优势就是轻便,用户可以将其拿在手上移动到任何位置(台式机很难移动,笔记本电脑一般也不及智能终端和平板电脑轻便),进一步方便了用户的使用。A very important advantage of smart terminals and tablets is that they can be moved to any location (the desktop is difficult to move, the laptop is generally not as light as the smart terminal and tablet), which further facilitates the user. usage of.
支撑平板电脑和智能终端能够如此受欢迎的另一个因素就是无线网络,由于无线网络的支持,能够确保用户在移动平板电脑和智能终端时仍然能够有因特网的接入。其中,无线网络有蜂窝网络和无线保真(WiFi:Wireless Fidelity)网络,其中,由于蜂窝网络是移动运营商提供的,基本上是按流量计费,使用成本比较高。所以除非必要,更多的用户可能更多的是采用WiFi网络接入因特网,只需要一个无线路由器,用户就可以在有线网络的基础上扩展一个WiFi网络,由于有线网络的使用成本远低于蜂窝网络,因此很多用户在有WiFi网络覆盖的地方就会使用WiFi网络,从而降低网络的使用成本。Another factor that supports the popularity of tablets and smart terminals is the wireless network, which, thanks to wireless network support, ensures that users can still access the Internet while moving their tablets and smart terminals. Among them, the wireless network has a cellular network and a wireless fidelity (WiFi) network. Among them, since the cellular network is provided by the mobile operator, it is basically based on the flow rate, and the use cost is relatively high. So unless necessary, more users may use the WiFi network to access the Internet. Only one wireless router is needed, and users can extend a WiFi network based on the wired network. The cost of using the wired network is much lower than that of the cellular. Network, so many users will use the WiFi network where there is coverage of the WiFi network, thus reducing the cost of the network.
WiFi网络使用的是802.11系列协议,包括了802.11a,802.11b,802.11g,802.11n和802.11ac等等版本,相对来说,版本越新支持的速率越高。现在主流使用的WiFi工作的频率是2.4Ghz和5Ghz,也就是俗称的2.4G WiFi和5G WiFi,其中,5G WiFi主要指的是802.11n和802.11ac。需要说明的是,虽然802.11a也可以工作在5Ghz,但是由于802.11a所支持的最大速率较小,所以俗称的5G WiFi不包括802.11a。WiFi networks use the 802.11 series of protocols, including 802.11a, 802.11b, 802.11g, 802.11n and 802.11ac, etc. Relatively speaking, the newer versions support higher rates. The current mainstream WiFi usage is 2.4Ghz and 5Ghz, also known as 2.4G WiFi and 5G WiFi. Among them, 5G WiFi mainly refers to 802.11n and 802.11ac. It should be noted that although 802.11a can also work in 5Ghz, since the maximum rate supported by 802.11a is small, the so-called 5G WiFi does not include 802.11a.
现在很多的智能终端和平板电脑都同时支持5G WiFi和2.4G WiFi,而同时支持5G WiFi和2.4G WiFi的无线路由器也越来越多了,因此很多用户会在路由器上设置两个WiFi网络,即一个2.4G WiFi和一个5G WiFi。其中,2.4G WiFi所支持的带宽相对较窄,但是由于2.4G这个频率相对较小,因此衰减较 小,覆盖的范围较广;而5G WiFi支持的带宽较宽,换言之就是速度快,但是由于频率相对较高,衰减较大,覆盖的范围相对较小。Nowadays, many smart terminals and tablets support both 5G WiFi and 2.4G WiFi, and more and more wireless routers supporting 5G WiFi and 2.4G WiFi, so many users will set up two WiFi networks on the router. That is a 2.4G WiFi and a 5G WiFi. Among them, the bandwidth supported by 2.4G WiFi is relatively narrow, but since the 2.4G frequency is relatively small, the attenuation is relatively small. Small, coverage is wider; and 5G WiFi supports a wider bandwidth, in other words, faster, but because of the relatively high frequency, the attenuation is larger, and the coverage is relatively small.
现有的很多智能终端和平板电脑虽然同是支持5G WiFi和2.4G WiFi,但是一般都只会使用其中的一个接入网络,而不能够很好的利用5G WiFi和2.4G WiFi的优势。Although many existing smart terminals and tablets support both 5G WiFi and 2.4G WiFi, they generally only use one of the access networks, and cannot take advantage of 5G WiFi and 2.4G WiFi.
发明内容Summary of the invention
本发明实施例提供了终端WiFi切换方法,可以使得终端能够在2.4G WiFi和5G WiFi之间自动切换,让终端总能接入更合适的一个网络接入因特网。The embodiment of the invention provides a terminal WiFi switching method, which can enable the terminal to automatically switch between 2.4G WiFi and 5G WiFi, so that the terminal can always access a more suitable network to access the Internet.
本发明实施例的目的是通过以下技术方案实现的:The purpose of the embodiment of the present invention is achieved by the following technical solutions:
本发明的第一方面提供了一种终端WiFi切换方法,包括:A first aspect of the present invention provides a terminal WiFi switching method, including:
终端检测2.4G WiFi网络的信号强度和5G WiFi网络的信号强度;The terminal detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network;
所述终端判断所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度是否满足预设切换条件;Determining, by the terminal, whether a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset handover condition;
如果所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度满足预设切换条件,所述终端在所述2.4G WiFi网络和所述5G WiFi网络之间进行切换。If the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset handover condition, the terminal switches between the 2.4G WiFi network and the 5G WiFi network.
可选的,在所述终端当前接入网络是2.4G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度大于第一阈值。Optionally, when the current access network of the terminal is a 2.4G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, the preset switching condition includes: the 5G The signal strength of the WiFi network is greater than the first threshold.
可选的,所述第一阈值为50%。Optionally, the first threshold is 50%.
可选的,在所述终端当前接入网络是5G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度小于第二阈值,并且所述2.4G WiFi网络的信号强度大于第一阈值。Optionally, when the current access network of the terminal is a 5G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, the preset switching condition includes: the 5G WiFi The signal strength of the network is less than a second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold.
可选的,所述第一阈值为50%,所述第二阈值为20%。Optionally, the first threshold is 50%, and the second threshold is 20%.
本发明的另一方面提供了一种终端,包括:Another aspect of the present invention provides a terminal, including:
2.4G WiFi模块,用于检测2.4G WiFi网络的信号强度;2.4G WiFi module for detecting the signal strength of a 2.4G WiFi network;
5G WiFi模块,用于检测5G WiFi网络的信号强度; 5G WiFi module for detecting the signal strength of a 5G WiFi network;
判断模块,用于判断所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度是否满足预设切换条件;a determining module, configured to determine whether a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition;
切换模块,用于在所述判断模块判断所述2.4G WiFi网络的信号强度和所述第5G WiFi网络的信号强度满足预设切换条件,在所述2.4G WiFi网络和所述5G WiFi网络之间进行切换。a switching module, configured to determine, by the determining module, that a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition, where the 2.4G WiFi network and the 5G WiFi network Switch between.
可选的,在所述终端当前接入网络是2.4G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度大于第一阈值。Optionally, when the current access network of the terminal is a 2.4G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, the preset switching condition includes: the 5G The signal strength of the WiFi network is greater than the first threshold.
可选的,所述第一阈值为50%。Optionally, the first threshold is 50%.
可选的,在所述终端当前接入网络是5G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度小于第二阈值,并且所述2.4G WiFi网络的信号强度大于第一阈值。Optionally, when the current access network of the terminal is a 5G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, the preset switching condition includes: the 5G WiFi The signal strength of the network is less than a second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold.
可选的,所述第一阈值为50%,所述第二阈值为20%。Optionally, the first threshold is 50%, and the second threshold is 20%.
从本发明实施例提供的以上技术方案可以看出,由于本发明实施例中终端可以检测2.4G WiFi和5G WiFi的信号强度,从而可以在2.4G WiFi和5G WiFi满足预设切换条件时,在2.4G WiFi和5G WiFi之间进行切换,从而兼顾2.4G WiFi覆盖范围广和5G WiFi速度快的优势,提高用户使用终端接入网络的用户体验。It can be seen from the foregoing technical solutions provided by the embodiments of the present invention that, in the embodiment of the present invention, the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition, Switching between 2.4G WiFi and 5G WiFi, taking into account the wide coverage of 2.4G WiFi and the fast speed of 5G WiFi, improving the user experience of using the terminal to access the network.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for creative labor.
图1为本发明一个实施例提供的终端WiFi切换方法的流程图;FIG. 1 is a flowchart of a method for switching a WiFi of a terminal according to an embodiment of the present invention;
图2位本发明一个实施例提供的终端WiFi切换方法的应用场景图;FIG. 2 is an application scenario diagram of a method for switching a WiFi of a terminal according to an embodiment of the present invention;
图3为本发明一个实施例提供的终端的结构图。FIG. 3 is a structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式 Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all 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.
先介绍本发明实施例提供的视频通话方法,图1描述了本发明一个实施例提供的终端WiFi切换方法的流程,该实施例描述的是终端的处理流程,该终端可以是智能终端或平板电脑等,该终端同时具有5G WiFi网络接入能力和2.4G WiFi网络接入能力。如图1所示,该实施例包括:The video call method provided by the embodiment of the present invention is described first. FIG. 1 is a flowchart of a terminal WiFi switching method according to an embodiment of the present invention. The embodiment describes a process flow of the terminal, where the terminal may be a smart terminal or a tablet. Etc., the terminal has both 5G WiFi network access capability and 2.4G WiFi network access capability. As shown in FIG. 1, this embodiment includes:
101、终端检测2.4G WiFi网络的信号强度和5G WiFi网络的信号强度。101. The terminal detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network.
该终端时同时包括有2.4G WiFi模块和5G WiFi模块,其中2.4G WiFi模块用于检测2.4G WiFi网络的信号强度,5G WiFi模块用于检测5G WiFi网络的信号强度。其中,需要说明的是,本发明实施例中2.4G WiFi网络的信号强度和5G WiFi网络的信号强度是指终端所处位置的2.4G WiFi网络的信号强度和5G WiFi网络的信号强度。The terminal includes both a 2.4G WiFi module and a 5G WiFi module, wherein the 2.4G WiFi module is used to detect the signal strength of the 2.4G WiFi network, and the 5G WiFi module is used to detect the signal strength of the 5G WiFi network. It should be noted that, in the embodiment of the present invention, the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network refer to the signal strength of the 2.4G WiFi network where the terminal is located and the signal strength of the 5G WiFi network.
其中,信号强度可以是任意一种能够代表信号强度的参数的值,例如可以是信噪比(SNR:Signal-to-noise ratio),信号功率值,信号衰减值等等。本发明实施例并不限定具体采用哪种参数的值作为信号强度,因为不管采用哪种参数的值作为信号强度都不会影响本发明实施例的实现。The signal strength may be any value of a parameter capable of representing the signal strength, and may be, for example, a signal-to-noise ratio (SNR), a signal power value, a signal attenuation value, and the like. The embodiment of the present invention does not limit the value of which parameter is specifically used as the signal strength, because the value of which parameter is used as the signal strength does not affect the implementation of the embodiment of the present invention.
其中,上述的检测可以是周期性的,例如每间隔一定的时间终端就自动的检测2.4G WiFi网络的信号强度和5G WiFi网络的信号强度。当然,上述的检测也可以是事件触发的,例如可以是当前接入的WiFi网络的信号强度低于了某一阈值的时候,本发明实施例并不对具体的检测时机做限定。The foregoing detection may be periodic. For example, the terminal automatically detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network every time interval. Certainly, the foregoing detection may also be event-triggered. For example, when the signal strength of the currently accessed WiFi network is lower than a certain threshold, the embodiment of the present invention does not limit the specific detection timing.
102、终端判断2.4G WiFi网络的信号强度和5G WiFi网络的信号强度是否满足预设切换条件。如果是,进入步骤103,如果否,进入步骤104。102. The terminal determines whether the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet the preset switching condition. If yes, go to step 103, if no, go to step 104.
其中,预设切换条件根据终端当前接入的是2.4G WiFi网络还是5G WiFi网络,还是没有接入所述的2.4G WiFi网络和5G WiFi网络的不同会有不同。The preset switching condition is different according to whether the terminal currently accesses the 2.4G WiFi network or the 5G WiFi network, or does not access the 2.4G WiFi network and the 5G WiFi network.
在一种可能的实施方式中,终端当前接入的是2.4G WiFi网络,此时,如果检测到5G WiFi网络的信号强度大于了第一阈值,则可以将网络接入从2.4G  WiFi网络切换至5G WiFi网络。在一种可选的实施方式中,第一阈值的取值为50%。即在终端当前接入的是2.4G WiFi网络时,如果5G WiFi网络的信号强度大于了50%,则将网络接入从2.4G WiFi网络切换至5G WiFi网络。可以理解的是,本实施例中第一阈值的取值是50%,在实际应用中,还可以取其他的值,例如可以是40%,30%,或60%等等。例如,在某些场景下,即便5G WiFi网络只有20%的信号强度,其接入速度也会比90%信号强度的2.4G WiFi网络快,因此第一阈值的取值在某些场景下甚至可以设置为20%。In a possible implementation manner, the terminal currently accesses the 2.4G WiFi network. At this time, if the signal strength of the 5G WiFi network is detected to be greater than the first threshold, the network access may be from 2.4G. The WiFi network switches to a 5G WiFi network. In an optional embodiment, the first threshold has a value of 50%. That is, when the terminal currently accesses the 2.4G WiFi network, if the signal strength of the 5G WiFi network is greater than 50%, the network access is switched from the 2.4G WiFi network to the 5G WiFi network. It can be understood that the value of the first threshold in this embodiment is 50%. In practical applications, other values may also be taken, for example, 40%, 30%, or 60%, and the like. For example, in some scenarios, even if the 5G WiFi network has only 20% signal strength, its access speed will be faster than the 2.4G WiFi network with 90% signal strength, so the value of the first threshold is even in some scenarios. Can be set to 20%.
在一种可能的实施方式中,终端当前接入的是5G WiFi网络,此时,如果检测到5G WiFi网络的信号强度小于了第二阈值,并且2.4G WiFi网络的信号强度大于了第一阈值;则可以将网络接入从5G WiFi网络切换至2.4G WiFi网络。在一种可选的实施方式中,第一阈值的取值为50%,第二阈值的取值为20%。即在终端当前接入的是5G WiFi网络时,如果5G WiFi网络的信号强度小于了20%,并且2.4G WiFi网络的信号强度大于了50%,则将网络接入从5G WiFi网络切换至2.4G WiFi网络。通第一阈值的取值,本实施例中的第二阈值的取值为20%仅仅是一个示例性的举例,在实际应用中,还可以设置为其他的值,例如15%,30%等等。In a possible implementation manner, the terminal currently accesses the 5G WiFi network. At this time, if the signal strength of the 5G WiFi network is detected to be less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold. ; then you can switch network access from 5G WiFi network to 2.4G WiFi network. In an optional implementation manner, the first threshold value is 50%, and the second threshold value is 20%. That is, when the terminal currently accesses the 5G WiFi network, if the signal strength of the 5G WiFi network is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, the network access is switched from the 5G WiFi network to 2.4. G WiFi network. The value of the first threshold is 20%. The value of the second threshold in this embodiment is only an exemplary example. In practical applications, other values, such as 15%, 30%, etc., may also be set. Wait.
在一种可选的实施方式中,终端当前未接入2.4G WiFi网络也未接入5G WiFi网络,如果5G WiFi网络的信号强度大于第一阈值,则不考虑2.4G WiFi网络的信号强度直接接入5G WiFi网络。例如,第一阈值为50%,即只需要5G WiFi网络的信号强度大于了50%,则直接接入5G WiFi网络。In an optional implementation manner, the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network. If the signal strength of the 5G WiFi network is greater than the first threshold, the signal strength of the 2.4G WiFi network is not considered directly. Access to a 5G WiFi network. For example, if the first threshold is 50%, that is, only the signal strength of the 5G WiFi network is greater than 50%, the 5G WiFi network is directly connected.
在一种可选的实施方式中,终端当前未接入2.4G WiFi网络也未接入5G WiFi网络,如果5G WiFi网络的信号强度小于第二阈值,并且2.4G WiFi网络的信号强度大于第一阈值,则接入2.4G WiFi网络。例如,第一阈值为50%,第二阈值为20%,则只要2.4G WiFi网络的信号强度大于50%,并且5G WiFi网络的信号强度小于20%,则接入2.4G WiFi网络。In an optional implementation manner, the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, if the signal strength of the 5G WiFi network is less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first The threshold is then connected to the 2.4G WiFi network. For example, if the first threshold is 50% and the second threshold is 20%, then the 2.4G WiFi network is accessed as long as the signal strength of the 2.4G WiFi network is greater than 50% and the signal strength of the 5G WiFi network is less than 20%.
在一种可选的实施方式中,上述第一阈值和第二阈值的具体取值可以内置在终端中,即用户不可设置,由终端厂商根据实验数据或大数据确定后固化在终端设置文件中。在另一些实施方式中,上述第一阈值和第二阈值的具体取值也可以由用户根据自己的网络环境进行设置。在另一些实施方式中,终端也可 以内置第一阈值和第二阈值的计算算法,该计算算法可以根据用户所处的环境的环境因素,计算与用户当前所处的环境匹配的第一阈值和第二阈值,其中,环境因素可以包括信号衰减率,路由器的发射功率,终端的WiFi模块的处理能力等等。其中,信号的衰减率跟终端与路由器的距离,终端与路由器之间的障碍物的数量,WiFi信道的干扰程度等都有关系。In an optional implementation manner, the specific values of the foregoing first threshold and the second threshold may be built in the terminal, that is, the user may not be set, and determined by the terminal manufacturer according to the experimental data or the big data, and then solidified in the terminal setting file. . In other embodiments, the specific values of the foregoing first threshold and the second threshold may also be set by the user according to their own network environment. In other embodiments, the terminal is also a calculation algorithm that has a built-in first threshold and a second threshold, and the calculation algorithm may calculate a first threshold and a second threshold that match an environment in which the user is currently located according to an environmental factor of the environment in which the user is located, wherein the environmental factor may be Including the signal attenuation rate, the transmit power of the router, the processing power of the WiFi module of the terminal, and so on. Among them, the attenuation rate of the signal is related to the distance between the terminal and the router, the number of obstacles between the terminal and the router, and the degree of interference of the WiFi channel.
103、终端在2.4G WiFi网络和所述5G WiFi网络之间进行切换。103. The terminal switches between the 2.4G WiFi network and the 5G WiFi network.
104、终端不进行2.4G WiFi网络和5G WiFi网络的切换。104. The terminal does not perform handover of the 2.4G WiFi network and the 5G WiFi network.
从上可知,本发明实施例中终端可以检测2.4G WiFi和5G WiFi的信号强度,从而可以在2.4G WiFi和5G WiFi满足预设切换条件时,在2.4G WiFi和5G WiFi之间进行切换,从而兼顾2.4G WiFi覆盖范围广和5G WiFi速度快的优势,提高用户使用终端接入网络的用户体验。终端从2.4G WiFi网络切换至5G WiFi网络时,可以让终端的网络接入速度更高,提高了用户使用终端的网络接入体验;终端从5G WiFi网络切换至2.4G WiFi网络时,可以让终端更稳定地接入网络,也能够挺高用户使用终端的网络接入体验。As can be seen from the above, in the embodiment of the present invention, the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved. When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
图2描述了本发明一个实施例提供的本发明终端WiFi网络切换方法的应用场景图,如图2所示,无线路由器201提供了一个2.4G WiFi网络和一个5G WiFi网络。FIG. 2 is a schematic diagram of an application scenario of a method for switching a WiFi network of a terminal according to an embodiment of the present invention. As shown in FIG. 2, the wireless router 201 provides a 2.4G WiFi network and a 5G WiFi network.
终端202当前接入的是2.4G WiFi网络,但是终端202当前所处位置的5G WiFi网络的信号强度大于了50%,则终端202从2.4G WiFi网络切换至5G WiFi网络,从而可以享受5G WiFi网络的高速度。The terminal 202 is currently accessing a 2.4G WiFi network, but the signal strength of the 5G WiFi network where the terminal 202 is currently located is greater than 50%, and the terminal 202 switches from the 2.4G WiFi network to the 5G WiFi network, thereby enjoying 5G WiFi. The high speed of the network.
终端203当前接入的是5G WiFi网络,但是终端203当前所处位置的5G WiFi网络的信号强度小于了20%,并且2.4G WiFi网络的信号强度大于了50%,则终端从5G WiFi网络切换至2.4G WiFi网络,从而可以通过2.4G网络接入因特网,享受2.4G WiFi网络的高覆盖。The terminal 203 is currently accessing a 5G WiFi network, but the signal strength of the 5G WiFi network where the terminal 203 is currently located is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, and the terminal switches from the 5G WiFi network. To 2.4G WiFi network, you can access the Internet through 2.4G network and enjoy high coverage of 2.4G WiFi network.
终端204当前未接入2.4G WiFi网络也未接入5G WiFi网络,终端204当前所处位置的5G WiFi网络的信号强度大于了50%,而2.4G WiFi网络的信号强度大于80%,由于50%的信号强度并不会影响终端的网络接入,因此终端204会接入5G网络,从而享受5G网络的高速度。 The terminal 204 is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network. The signal strength of the 5G WiFi network where the terminal 204 is currently located is greater than 50%, and the signal strength of the 2.4G WiFi network is greater than 80%, due to 50 The signal strength of % does not affect the network access of the terminal, so the terminal 204 accesses the 5G network, thereby enjoying the high speed of the 5G network.
从上可知,本发明实施例中终端可以检测2.4G WiFi和5G WiFi的信号强度,从而可以在2.4G WiFi和5G WiFi满足预设切换条件时,在2.4G WiFi和5G WiFi之间进行切换,从而兼顾2.4G WiFi覆盖范围广和5G WiFi速度快的优势,提高用户使用终端接入网络的用户体验。终端从2.4G WiFi网络切换至5G WiFi网络时,可以让终端的网络接入速度更高,提高了用户使用终端的网络接入体验;终端从5G WiFi网络切换至2.4G WiFi网络时,可以让终端更稳定地接入网络,也能够挺高用户使用终端的网络接入体验。As can be seen from the above, in the embodiment of the present invention, the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved. When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
图3描述了本发明一个实施例提供的终端的结构图,如图3所示,该终端包括:FIG. 3 is a structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal includes:
2.4G WiFi模块301,用于检测2.4G WiFi网络的信号强度;2.4G WiFi module 301, configured to detect the signal strength of the 2.4G WiFi network;
5G WiFi模块302,用于检测5G WiFi网络的信号强度;The 5G WiFi module 302 is configured to detect a signal strength of the 5G WiFi network;
其中,信号强度可以是任意一种能够代表信号强度的参数的值,例如可以是信噪比(SNR),信号功率值,信号衰减值等等。本发明实施例并不限定具体采用哪种参数的值作为信号强度,因为不管采用哪种参数的值作为信号强度都不会影响本发明实施例的实现。The signal strength may be any value of a parameter capable of representing the signal strength, and may be, for example, a signal to noise ratio (SNR), a signal power value, a signal attenuation value, and the like. The embodiment of the present invention does not limit the value of which parameter is specifically used as the signal strength, because the value of which parameter is used as the signal strength does not affect the implementation of the embodiment of the present invention.
其中,上述的检测可以是周期性的,例如每间隔一定的时间终端就自动的检测2.4G WiFi网络的信号强度和5G WiFi网络的信号强度。当然,上述的检测也可以是事件触发的,例如可以是当前接入的WiFi网络的信号强度低于了某一阈值的时候,本发明实施例并不对具体的检测时机做限定。The foregoing detection may be periodic. For example, the terminal automatically detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network every time interval. Certainly, the foregoing detection may also be event-triggered. For example, when the signal strength of the currently accessed WiFi network is lower than a certain threshold, the embodiment of the present invention does not limit the specific detection timing.
判断模块303,用于判断所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度是否满足预设切换条件;The determining module 303 is configured to determine whether the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset switching condition;
其中,预设切换条件根据终端当前接入的是2.4G WiFi网络还是5G WiFi网络,还是没有接入所述的2.4G WiFi网络和5G WiFi网络的不同会有不同。The preset switching condition is different according to whether the terminal currently accesses the 2.4G WiFi network or the 5G WiFi network, or does not access the 2.4G WiFi network and the 5G WiFi network.
在一种可能的实施方式中,终端当前接入的是2.4G WiFi网络,此时,如果检测到5G WiFi网络的信号强度大于了第一阈值,则可以将网络接入从2.4G WiFi网络切换至5G WiFi网络。在一种可选的实施方式中,第一阈值的取值为50%。即在终端当前接入的是2.4G WiFi网络时,如果5G WiFi网络的信号强度大于了50%,则将网络接入从2.4G WiFi网络切换至5G WiFi网络。可以 理解的是,本实施例中第一阈值的取值是50%,在实际应用中,还可以取其他的值,例如可以是40%,30%,或60%等等。例如,在某些场景下,即便5G WiFi网络只有20%的信号强度,其接入速度也会比90%信号强度的2.4G WiFi网络快,因此第一阈值的取值在某些场景下甚至可以设置为20%。In a possible implementation manner, the terminal currently accesses the 2.4G WiFi network. At this time, if the signal strength of the 5G WiFi network is detected to be greater than the first threshold, the network access can be switched from the 2.4G WiFi network. To 5G WiFi network. In an optional embodiment, the first threshold has a value of 50%. That is, when the terminal currently accesses the 2.4G WiFi network, if the signal strength of the 5G WiFi network is greater than 50%, the network access is switched from the 2.4G WiFi network to the 5G WiFi network. Can It is understood that the value of the first threshold in this embodiment is 50%. In practical applications, other values may also be taken, for example, 40%, 30%, or 60%, and the like. For example, in some scenarios, even if the 5G WiFi network has only 20% signal strength, its access speed will be faster than the 2.4G WiFi network with 90% signal strength, so the value of the first threshold is even in some scenarios. Can be set to 20%.
在一种可能的实施方式中,终端当前接入的是5G WiFi网络,此时,如果检测到5G WiFi网络的信号强度小于了第二阈值,并且2.4G WiFi网络的信号强度大于了第一阈值;则可以将网络接入从5G WiFi网络切换至2.4G WiFi网络。在一种可选的实施方式中,第一阈值的取值为50%,第二阈值的取值为20%。即在终端当前接入的是5G WiFi网络时,如果5G WiFi网络的信号强度小于了20%,并且2.4G WiFi网络的信号强度大于了50%,则将网络接入从5G WiFi网络切换至2.4G WiFi网络。通第一阈值的取值,本实施例中的第二阈值的取值为20%仅仅是一个示例性的举例,在实际应用中,还可以设置为其他的值,例如15%,30%等等。In a possible implementation manner, the terminal currently accesses the 5G WiFi network. At this time, if the signal strength of the 5G WiFi network is detected to be less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first threshold. ; then you can switch network access from 5G WiFi network to 2.4G WiFi network. In an optional implementation manner, the first threshold value is 50%, and the second threshold value is 20%. That is, when the terminal currently accesses the 5G WiFi network, if the signal strength of the 5G WiFi network is less than 20%, and the signal strength of the 2.4G WiFi network is greater than 50%, the network access is switched from the 5G WiFi network to 2.4. G WiFi network. The value of the first threshold is 20%. The value of the second threshold in this embodiment is only an exemplary example. In practical applications, other values, such as 15%, 30%, etc., may also be set. Wait.
在一种可选的实施方式中,终端当前未接入2.4G WiFi网络也未接入5G WiFi网络,如果5G WiFi网络的信号强度大于第一阈值,则不考虑2.4G WiFi网络的信号强度直接接入5G WiFi网络。例如,第一阈值为50%,即只需要5G WiFi网络的信号强度大于了50%,则直接接入5G WiFi网络。In an optional implementation manner, the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network. If the signal strength of the 5G WiFi network is greater than the first threshold, the signal strength of the 2.4G WiFi network is not considered directly. Access to a 5G WiFi network. For example, if the first threshold is 50%, that is, only the signal strength of the 5G WiFi network is greater than 50%, the 5G WiFi network is directly connected.
在一种可选的实施方式中,终端当前未接入2.4G WiFi网络也未接入5G WiFi网络,如果5G WiFi网络的信号强度小于第二阈值,并且2.4G WiFi网络的信号强度大于第一阈值,则接入2.4G WiFi网络。例如,第一阈值为50%,第二阈值为20%,则只要2.4G WiFi网络的信号强度大于50%,并且5G WiFi网络的信号强度小于20%,则接入2.4G WiFi网络。In an optional implementation manner, the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, if the signal strength of the 5G WiFi network is less than the second threshold, and the signal strength of the 2.4G WiFi network is greater than the first The threshold is then connected to the 2.4G WiFi network. For example, if the first threshold is 50% and the second threshold is 20%, then the 2.4G WiFi network is accessed as long as the signal strength of the 2.4G WiFi network is greater than 50% and the signal strength of the 5G WiFi network is less than 20%.
在一种可选的实施方式中,上述第一阈值和第二阈值的具体取值可以内置在终端中,即用户不可设置,由终端厂商根据实验数据或大数据确定后固化在终端设置文件中。在另一些实施方式中,上述第一阈值和第二阈值的具体取值也可以由用户根据自己的网络环境进行设置。在另一些实施方式中,终端也可以内置第一阈值和第二阈值的计算算法,该计算算法可以根据用户所处的环境的环境因素,计算与用户当前所处的环境匹配的第一阈值和第二阈值,其中,环境因素可以包括信号衰减率,路由器的发射功率,终端的WiFi模块的处理 能力等等。其中,信号的衰减率跟终端与路由器的距离,终端与路由器之间的障碍物的数量,WiFi信道的干扰程度等都有关系。In an optional implementation manner, the specific values of the foregoing first threshold and the second threshold may be built in the terminal, that is, the user may not be set, and determined by the terminal manufacturer according to the experimental data or the big data, and then solidified in the terminal setting file. . In other embodiments, the specific values of the foregoing first threshold and the second threshold may also be set by the user according to their own network environment. In other embodiments, the terminal may also include a first threshold and a second threshold calculation algorithm, and the calculation algorithm may calculate a first threshold that matches the environment in which the user is currently located according to an environmental factor of the environment in which the user is located. a second threshold, wherein the environmental factor may include a signal attenuation rate, a transmit power of the router, and a processing of the WiFi module of the terminal Ability and so on. Among them, the attenuation rate of the signal is related to the distance between the terminal and the router, the number of obstacles between the terminal and the router, and the degree of interference of the WiFi channel.
切换模块304,用于在判断模块303判断所述2.4G WiFi网络的信号强度和所述第5G WiFi网络的信号强度满足预设切换条件,在所述2.4G WiFi网络和所述5G WiFi网络之间进行切换。The switching module 304 is configured to determine, in the determining module 303, that the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset switching condition, where the 2.4G WiFi network and the 5G WiFi network are Switch between.
其中,当切换模块304确定从2.4G WiFi网络切换至5G WiFi网络时,切换模块304指示2.4G WiFi模块301接入2.4G WiFi网络,同时指示5G WiFi模块断开与5G WiFi网络的连接;当切换模块304确定从5G WiFi网络切换至2.4G WiFi网络时,切换模块304指示5G WiFi模块接入5G WiFi网络,同时指示2.4G WiFi模块断开与2.4G WiFi网络的连接。When the switching module 304 determines to switch from the 2.4G WiFi network to the 5G WiFi network, the switching module 304 instructs the 2.4G WiFi module 301 to access the 2.4G WiFi network, and instructs the 5G WiFi module to disconnect from the 5G WiFi network; When the handover module 304 determines to switch from the 5G WiFi network to the 2.4G WiFi network, the handover module 304 instructs the 5G WiFi module to access the 5G WiFi network while instructing the 2.4G WiFi module to disconnect from the 2.4G WiFi network.
可以理解的是,在判断模块303判断所述2.4G WiFi网络的信号强度和所述第5G WiFi网络的信号强度不满足预设切换条件时,则不进行2.4G WiFi网络和5G WiFi网络的切换。It can be understood that, when the determining module 303 determines that the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network does not meet the preset switching condition, the switching between the 2.4G WiFi network and the 5G WiFi network is not performed. .
从上可知,本发明实施例中终端可以检测2.4G WiFi和5G WiFi的信号强度,从而可以在2.4G WiFi和5G WiFi满足预设切换条件时,在2.4G WiFi和5G WiFi之间进行切换,从而兼顾2.4G WiFi覆盖范围广和5G WiFi速度快的优势,提高用户使用终端接入网络的用户体验。终端从2.4G WiFi网络切换至5G WiFi网络时,可以让终端的网络接入速度更高,提高了用户使用终端的网络接入体验;终端从5G WiFi网络切换至2.4G WiFi网络时,可以让终端更稳定地接入网络,也能够挺高用户使用终端的网络接入体验。As can be seen from the above, in the embodiment of the present invention, the terminal can detect the signal strength of the 2.4G WiFi and the 5G WiFi, so that the 2.4G WiFi and the 5G WiFi can be switched between the 2.4G WiFi and the 5G WiFi when the 2.4G WiFi and the 5G WiFi satisfy the preset switching condition. Therefore, taking into account the advantages of wide coverage of 2.4G WiFi and fast speed of 5G WiFi, the user experience of using the terminal to access the network is improved. When the terminal switches from the 2.4G WiFi network to the 5G WiFi network, the network access speed of the terminal can be higher, and the network access experience of the user using the terminal is improved; when the terminal switches from the 5G WiFi network to the 2.4G WiFi network, the terminal can be made The terminal accesses the network more stably, and can also heighten the network access experience of the user using the terminal.
上述装置和系统内的各模块之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。For the information exchange, the execution process, and the like between the above-mentioned devices and the modules in the system, the content is based on the same concept as the method embodiment of the present invention. For details, refer to the description in the method embodiment of the present invention, and details are not described herein again.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁碟、光盘、只读存储记忆体(ROM:Read-Only Memory)或随机存储记忆体(RAM:Random Access Memory)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the above program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施 例的说明只是用于帮助理解本发明的方法及其思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The principle and implementation of the present invention are described in the following by applying specific examples. The description of the examples is only for helping to understand the method and the idea of the present invention; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific embodiments and application scopes. The description is not to be construed as limiting the invention.

Claims (10)

  1. 一种终端WiFi网络切换方法,其特征在于,包括:A method for switching a WiFi network of a terminal, comprising:
    终端检测2.4G WiFi网络的信号强度和5G WiFi网络的信号强度;The terminal detects the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network;
    所述终端判断所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度是否满足预设切换条件;Determining, by the terminal, whether a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset handover condition;
    如果所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度满足预设切换条件,所述终端在所述2.4G WiFi网络和所述5G WiFi网络之间进行切换。If the signal strength of the 2.4G WiFi network and the signal strength of the 5G WiFi network meet a preset handover condition, the terminal switches between the 2.4G WiFi network and the 5G WiFi network.
  2. 根据权利要求1所述的方法,其特征在于,在所述终端当前接入网络是2.4G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度大于第一阈值。The method according to claim 1, wherein when the terminal currently accesses the network is a 2.4G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, The preset switching condition includes: the signal strength of the 5G WiFi network is greater than a first threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述第一阈值为50%。The method of claim 2 wherein said first threshold is 50%.
  4. 根据权利要求1至3任一所述的方法,其特征在于,在所述终端当前接入网络是5G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度小于第二阈值,并且所述2.4G WiFi网络的信号强度大于第一阈值。The method according to any one of claims 1 to 3, wherein when the terminal currently accesses the network is a 5G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, The preset switching condition includes: a signal strength of the 5G WiFi network is less than a second threshold, and a signal strength of the 2.4G WiFi network is greater than a first threshold.
  5. 根据权利要求4所述的方法,其特征在于,所述第一阈值为50%,所述第二阈值为20%。The method of claim 4 wherein said first threshold is 50% and said second threshold is 20%.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    2.4G WiFi模块,用于检测2.4G WiFi网络的信号强度;2.4G WiFi module for detecting the signal strength of a 2.4G WiFi network;
    5G WiFi模块,用于检测5G WiFi网络的信号强度;5G WiFi module for detecting the signal strength of a 5G WiFi network;
    判断模块,用于判断所述2.4G WiFi网络的信号强度和所述5G WiFi网络的信号强度是否满足预设切换条件;a determining module, configured to determine whether a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition;
    切换模块,用于在所述判断模块判断所述2.4G WiFi网络的信号强度和所述第5G WiFi网络的信号强度满足预设切换条件,在所述2.4G WiFi网络和所述5G WiFi网络之间进行切换。a switching module, configured to determine, by the determining module, that a signal strength of the 2.4G WiFi network and a signal strength of the 5G WiFi network meet a preset switching condition, where the 2.4G WiFi network and the 5G WiFi network Switch between.
  7. 根据权利要求6所述的终端,其特征在于,在所述终端当前接入网络 是2.4G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度大于第一阈值。The terminal according to claim 6, wherein the terminal currently accesses the network When the terminal is not connected to the 2.4G WiFi network and the 5G WiFi network is not connected to the terminal, the preset switching condition includes: the signal strength of the 5G WiFi network is greater than the first threshold.
  8. 根据权利要求7所述的终端,其特征在于,所述第一阈值为50%。The terminal of claim 7, wherein the first threshold is 50%.
  9. 根据权利要求6至8任一所述的终端,其特征在于,在所述终端当前接入网络是5G WiFi网络,或者所述终端当前未接入2.4G WiFi网络也未接入5G WiFi网络时,所述预设切换条件包括:所述5G WiFi网络的信号强度小于第二阈值,并且所述2.4G WiFi网络的信号强度大于第一阈值。The terminal according to any one of claims 6 to 8, wherein when the terminal currently accesses the network is a 5G WiFi network, or the terminal is not currently connected to the 2.4G WiFi network and is not connected to the 5G WiFi network, The preset switching condition includes: a signal strength of the 5G WiFi network is less than a second threshold, and a signal strength of the 2.4G WiFi network is greater than a first threshold.
  10. 根据权利要求9所述的终端,其特征在于,所述第一阈值为50%,所述第二阈值为20%。 The terminal of claim 9, wherein the first threshold is 50% and the second threshold is 20%.
PCT/CN2017/096923 2017-08-10 2017-08-10 Automatic wifi network switching method and terminal WO2019028785A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096923 WO2019028785A1 (en) 2017-08-10 2017-08-10 Automatic wifi network switching method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/096923 WO2019028785A1 (en) 2017-08-10 2017-08-10 Automatic wifi network switching method and terminal

Publications (1)

Publication Number Publication Date
WO2019028785A1 true WO2019028785A1 (en) 2019-02-14

Family

ID=65272838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096923 WO2019028785A1 (en) 2017-08-10 2017-08-10 Automatic wifi network switching method and terminal

Country Status (1)

Country Link
WO (1) WO2019028785A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11310693B2 (en) 2019-12-13 2022-04-19 Google Llc Switching scheme for opting in and out of multi-user orthogonal frequency-division multiple access

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070026862A1 (en) * 2003-07-07 2007-02-01 Bellsouth Intellectual Property Corporation Communication environment switchover
CN103546933A (en) * 2013-10-22 2014-01-29 惠州Tcl移动通信有限公司 Method and system for intelligently switching network connection
CN104185218A (en) * 2014-09-22 2014-12-03 联想(北京)有限公司 Control method, controller and electronic device
CN204088579U (en) * 2014-09-30 2015-01-07 四川省雷克赛恩电子科技有限公司 A kind of binary channels multipurpose pcb board base wifi antenna
CN105898813A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Frequency band switching method based on wireless device and wireless device
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070026862A1 (en) * 2003-07-07 2007-02-01 Bellsouth Intellectual Property Corporation Communication environment switchover
CN103546933A (en) * 2013-10-22 2014-01-29 惠州Tcl移动通信有限公司 Method and system for intelligently switching network connection
CN104185218A (en) * 2014-09-22 2014-12-03 联想(北京)有限公司 Control method, controller and electronic device
CN204088579U (en) * 2014-09-30 2015-01-07 四川省雷克赛恩电子科技有限公司 A kind of binary channels multipurpose pcb board base wifi antenna
CN105898813A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Frequency band switching method based on wireless device and wireless device
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11310693B2 (en) 2019-12-13 2022-04-19 Google Llc Switching scheme for opting in and out of multi-user orthogonal frequency-division multiple access
US11743765B2 (en) 2019-12-13 2023-08-29 Google Llc Switching scheme for opting in and out of multi-user orthogonal frequency-division multiple access

Similar Documents

Publication Publication Date Title
US10523794B2 (en) Method and apparatus for managing multipath transmission control protocol
US8774041B2 (en) Proximity-based wireless handshaking for connection establishment
WO2017166609A1 (en) Wireless device-based frequency band switching method, wireless device, and electronic device
WO2017004902A1 (en) Wireless hotspot switching method, mobile terminal and storage medium
CN108055687B (en) Wireless network connection method and device and terminal equipment
WO2017076035A1 (en) Multimedia data sending method based on mobile terminal, and mobile terminal
KR20200006077A (en) Wireless communication method and device
CN109379498B (en) Electromagnetic interference control method and related device
US9743361B2 (en) Network access method, device, and system for detecting interference and reducing interference between interfering channels
US9451391B1 (en) Wireless device pairing management
JP2020511819A (en) Network connection method and device
US20150181486A1 (en) Techniques for switching between wireless networks
WO2022166455A1 (en) Wifi scan control method and related device
US20150133052A1 (en) Device selection
WO2019028784A1 (en) Router side wifi switching method and router
WO2021115423A1 (en) Communication link control method, device, mobile terminal, and readable storage medium
JP7142710B2 (en) Method for inter-radio access technology handover
US20230049342A1 (en) Using a selected delay to evaluate access points before a connection with equipment is established
CN113099497B (en) Network switching method, storage medium and electronic equipment
WO2020078199A1 (en) Link connection method and related apparatus
US20140274041A1 (en) Using motion to improve local wireless network connectivity
CN113938990A (en) Equipment management method and communication device
US11611914B2 (en) Wireless control plane having centralized and distributed control messages
US20220007234A1 (en) Centralized management of wireless relay node equipment in a fifth generation (5g) or other next generation networks
CN108337719B (en) Wireless network scanning method and device, terminal equipment and storage medium

Legal Events

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

Ref document number: 17920920

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17920920

Country of ref document: EP

Kind code of ref document: A1