WO2017071262A1 - Network switching method, device and terminal equipment - Google Patents

Network switching method, device and terminal equipment Download PDF

Info

Publication number
WO2017071262A1
WO2017071262A1 PCT/CN2016/086894 CN2016086894W WO2017071262A1 WO 2017071262 A1 WO2017071262 A1 WO 2017071262A1 CN 2016086894 W CN2016086894 W CN 2016086894W WO 2017071262 A1 WO2017071262 A1 WO 2017071262A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
ssid
ssids
user
switching
Prior art date
Application number
PCT/CN2016/086894
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 WO2017071262A1 publication Critical patent/WO2017071262A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/304Reselection being triggered by specific parameters by measured or perceived connection quality data due to measured or perceived resources with higher communication quality

Definitions

  • the present application relates to the field of wireless communications technologies, and in particular, to a network switching method, apparatus, and terminal device.
  • Mobile communication networks based on General Packet Radio Service (GPRS) and 3rd Generation (3G) can provide Large-scale network coverage, while the demand for terminal equipment networking or access to mobile communication networks has increased, wireless local area network (WLAN) technology has developed rapidly, and any organization can deploy itself or It is a way to rent multiple access points (APs) to form a single WLAN network, and then provide free or chargeable wireless access services.
  • GPRS General Packet Radio Service
  • 3G 3rd Generation
  • WLAN networks It is common for terminal devices to use WLAN networks. When a terminal device is in a certain location, it can usually search for multiple WLANs covering the location, such as a paid WLAN set up by the operator, a free WLAN set up by the user, a free WLAN set up at the office, and the like. So many WLAN networks increase the complexity of user usage.
  • the terminal device When there are multiple SSIDs in the environment where the terminal device is located, the terminal device saves multiple SSIDs that are entitled to use, and selects one of the SSIDs for network connection.
  • the problem that often occurs is that during the movement of the terminal device, as the distance from the connected SSID source is increased, the SSID signal that the terminal device has connected to is weakened, and even the network connection is interrupted.
  • the application provides a network switching method, device and terminal device.
  • the terminal device is connected as the distance from the connected SSID source is increased.
  • the SSID signal will be weakened and even the network connection will be interrupted.
  • the application provides a network switching method, including:
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result.
  • the method before the detecting the network signal strength corresponding to a certain SSID, the method further includes:
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, including:
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
  • the method before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, the method further includes:
  • the network switching request message includes the sorting result, so that the user selects an SSID of the required handover according to the sorting result;
  • the receiving the network handover confirmation message sent by the user includes:
  • the network switching request message includes at least two SSIDs, where the at least two SSIDs are SSIDs whose network signal strength exceeds a preset strength preset in the sorting result, so that the user according to the The at least two SSIDs select an SSID to be switched;
  • the receiving the network handover confirmation message sent by the user includes:
  • the application also provides a network switching device, including:
  • a detecting module configured to detect a network signal strength corresponding to a certain SSID currently accessed
  • a sorting module if the network signal strength is lower than a preset switching threshold, sorting network signal strengths corresponding to other SSIDs that are authorized to use, and obtaining a sorting result;
  • a switching module configured to switch, according to the sorting result, a network corresponding to the currently accessed SSID to a network corresponding to another SSID in the sorting result.
  • the detecting module is further configured to:
  • search for all SSIDs in the area Before detecting the network signal strength corresponding to a certain SSID, search for all SSIDs in the area; apply for rights for each SSID; save all SSIDs for the application to the rights.
  • the switching module is specifically configured to:
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
  • the switching module is further configured to:
  • the network switching request message is sent to the user, and the network switching confirmation message sent by the user is received.
  • the network switching request message includes the sorting result, so that the user selects an SSID of a required handover according to the sorting result;
  • the switching module is specifically configured to:
  • the network switching request message includes at least two SSIDs, and the at least two SSIDs are SSIDs in which the network signal strength exceeds a preset strength preset in the sorting result, so that the user according to the The at least two SSIDs select an SSID to be switched;
  • the switching module is specifically configured to:
  • the application also provides a terminal device, including the network switching device.
  • the application provides a network switching method, device and terminal device.
  • the detecting module of the terminal device detects the network signal strength corresponding to the current SSID; if the network signal strength is lower than the preset switching threshold, the sorting module of the terminal device may use the network signal corresponding to the other SSIDs that are authorized to use. The strength is sorted to obtain the sorting result; the switching module of the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result according to the sorting result.
  • the terminal device can avoid the problem that the SSID signal of the terminal device is weakened or even the network connection is interrupted as the distance between the terminal device and the connected SSID source is increased during the moving process.
  • the terminal device automatically performs a strong SSID connection mode to provide a better network experience for the user.
  • Embodiment 1 is a flowchart of Embodiment 1 of a network switching method according to the present application;
  • FIG. 2 is a schematic diagram of a first switching manner of a network switching method according to the present application.
  • FIG. 3 is a schematic diagram of a second switching manner of a network switching method according to the present application.
  • FIG. 4 is a schematic diagram of a third switching manner of the network switching method of the present application.
  • FIG. 5 is a schematic diagram of a user manually confirming a switching mode 1 according to the network switching method of the present application
  • FIG. 6 is a schematic diagram of a user manually confirming a switching mode 2 in the network switching method of the present application
  • FIG. 7 is a schematic structural diagram of a network switching module according to the present application.
  • FIG. 1 is a flowchart of Embodiment 1 of a network switching method according to the present application. As shown in the figure, the network switching method includes the following steps:
  • Terminal devices such as mobile phones, laptops, tablets, etc.
  • the strength of the connected wireless network signal will occur due to various reasons, such as the distance between the terminal device and the signal source.
  • the network signal strength is lower than a preset handover threshold, sort the network signal strengths corresponding to other SSIDs that are authorized to use, and obtain a ranking result.
  • the strength of the wireless network signal connected by the terminal device is composed of four short to long arc lines.
  • the weaker the wireless signal the fewer the number of black arc lines.
  • the user can set a signal strength of the connected wireless network according to the requirements of the terminal device for the Internet access rate.
  • a switching threshold such as -80dBm, on the terminal device, the display corresponding to this value is two black signal lines.
  • the network corresponding to the SSID that is now connected is switched to one of the networks corresponding to the SSIDs that the terminal device has ordered to use.
  • the terminal device detects the network signal strength corresponding to a certain SSID currently accessed; if the network signal strength is lower than the preset handover threshold, the terminal device sorts the network signal strengths corresponding to other SSIDs that are authorized to use. And obtaining the sorting result; the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result according to the sorting result.
  • the terminal device can avoid the problem that the SSID signal of the terminal device is weakened or even the network connection is interrupted as the distance between the terminal device and the connected SSID source is increased during the moving process.
  • the terminal device automatically performs a strong SSID connection mode to provide a better network experience for the user.
  • the terminal device may first search for all SSIDs in the area, apply for rights for each SSID, and save all SSIDs applied for permission, thereby facilitating subsequent network switching selection.
  • the terminal device can perform network switching directly under the condition that the user does not perceive, or ask the user whether to perform network switching before performing the handover, and determine whether to perform network switching and specifically switch to the user according to the response of the user. Which network.
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
  • the terminal device may be the method shown in FIG. 2.
  • the terminal device has the right to use five different SSIDs, respectively named SSID1, SSID2, SSID3, SSID4, and SSID5
  • SSID1 the signal strength Already less than the connection threshold
  • the signal strength of the SSID is shown as: SSID2 is a black signal line
  • SSID3 is two black signal lines
  • SSID3 is three black signal lines
  • SSID5 is four black signal lines
  • the terminal device will arrange SSID2-SSID5 in the following order: SSID5 , SSID4, SSID3, SSID2, after which the terminal device will switch the connected SSID1 to SSID5 for users to use online.
  • the second method determines that the network signal strength exceeds the preset strength threshold, and determines the SSID with the highest user switching frequency among the at least two SSIDs, and switches the network corresponding to the currently accessed SSID. a network corresponding to the SSID with the highest frequency of user switching;
  • SSID-a when there are four SSIDs having authority to use in the area where the terminal device is located, respectively named SSID-a, SSID-b, SSID-c, and SSID-d, if the terminal device
  • the signal strength of the connected SSID-a is less than the connection threshold.
  • the signal strengths of the other three SSIDs are greater than the threshold, and the signal strengths of SSID-b and SSID-c are the same and stronger than the SSID-d signal.
  • SSID-b and SSID-c are the same and stronger than the SSID-d signal.
  • the terminal device will automatically switch the connected SSID-a to SSID-b. Users use the Internet.
  • the third embodiment determines the SSID of the at least two SSIDs with the highest data transmission speed, and determines the network corresponding to the currently accessed SSID. The network corresponding to the SSID with the highest data transmission speed.
  • SSID-A when there are four SSIDs having authority to use in the area where the terminal device is located, respectively named SSID-A, SSID-B, SSID-C, and SSID-D, if the terminal device
  • the signal strength of the connected SSID-A is less than the connection threshold.
  • the signal strengths of the other three SSIDs are greater than the threshold.
  • the background When the signal strengths of SSID-B and SSID-C are the same and stronger than the signals of SSID-D, the background will be SSID.
  • -B and SSID-C compare the data transmission speed. If the data transmission speed of SSID-B is greater than the data transmission speed of SSID-C, the terminal device will switch the connected SSID-A to SSID-B.
  • the switching policy in the foregoing various network switching processes may be preset by the device manufacturer when the terminal device is shipped from the factory, or may be preset by the user in the terminal device.
  • the terminal device may first send a network switching request message to the user, so that the user may be prompted to perform network switching and query. After the network switching is performed, the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSID in the sorting result according to the sorting result.
  • the user may also participate in the network selection to indicate the network to be selected by the terminal device. It can be implemented in the following two scenarios:
  • Solution 1 The terminal device carries the sorting result in the network handover request message and sends the message to the user. After selecting the SSID of the required handover according to the sorting result, the user may carry the selected SSID in the network handover confirmation message and then send the information to the terminal device. .
  • the terminal device may display all the SSID names and signal strengths that are used by the rights in the display interface of the terminal device in the form of a pop-up window, wherein the SSID name may be sorted according to the signal strength from weak to strong. .
  • the terminal device is connected to the SSID of "No. 1", and the user can select the SSID of the required handover from among the switchable SSIDs.
  • the terminal device can Sending a network switch confirmation message with the SSID that the user needs to switch to the terminal device.
  • the terminal device can learn from the message that the SSID that the user wants to switch, so that the connected device will be connected.
  • the "No. 1" network is switched to the "No. 5" network for users to use the Internet.
  • the terminal device can know the network signal strength of all SSIDs that the user has permission to connect, thereby obtaining the sorting result, and the terminal device can not completely send the sorting result to the user for the user to select the SSID, but can pre-select all the SSIDs.
  • the network signal strength exceeds at least two SSIDs of the preset strength threshold, and the at least two SSIDs are carried in the network handover request message and sent to the user for selection by the user, and the user may select one SSID from the at least two SSIDs and carry the The network switch confirmation message is sent to the terminal device.
  • the terminal device pops up a handover request window to the user, where the window includes two SSIDs whose terminal network equipment has a network signal strength that exceeds a preset strength threshold and has the same signal strength, and the terminal device is connected.
  • the SSID, the two pre-selected SSIDs can be the two of the best signal strengths in the area where the terminal device is located.
  • the SSID that the terminal device has connected is No.1, and the candidate SSIDs are No.2 and No.3, respectively, and the user can select the SSID of the required handover from among the switchable SSIDs, and wait for the user to click.
  • the terminal device can send a network switch confirmation message with the SSID that the user needs to switch to the terminal device. For example, the user selects the “No. 2” SSID, and the terminal device can learn the user from the message. The SSID that you want to switch, thus switching the connected "No.1" network to the "No.2" network for users to use online.
  • the network corresponding to the SSID that the terminal device has accessed is switched to the network corresponding to the other SSIDs in the sorting result, including two modes: user-unaware network switching and user-aware network switching, and the user's non-perceived network.
  • the switching mode is that the terminal device automatically switches the SSID in the background.
  • the network switching mode that the user perceives is that the terminal device presents the SSID sorting result that has the right to use to the user, and the user decides whether to switch the wireless network, and the two different manners can be used.
  • the user conveniently switches the SSID of the terminal device connection when the connected SSID signal strength does not reach the preset threshold under different usage conditions. The way in which the two terminal devices switch the SSID can bring a better network experience to the user.
  • FIG. 7 is a schematic structural diagram of a network switching module according to the present application. As shown in FIG. 7, the network switching apparatus includes a detecting module 11, a sorting module 12, and a switching module 13.
  • the detecting module 11 is configured to detect a network signal strength corresponding to a certain SSID currently accessed
  • the sorting module 12 is configured to: if the network signal strength is lower than the preset switching threshold, sort the network signal strengths corresponding to the other SSIDs that are authorized to use, and obtain the sorting result;
  • the switching module 13 is configured to switch, according to the sorting result, the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result.
  • the detecting module 11 is further configured to:
  • search for all SSIDs in the area Before detecting the network signal strength corresponding to a certain SSID, search for all SSIDs in the area; apply for rights for each SSID; save all SSIDs for the application to the rights.
  • switching module 13 is specifically configured to:
  • the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
  • the switching module 13 is further configured to:
  • the network switching request message is sent to the user, and the network switching confirmation message sent by the user is received.
  • the network switching request message includes a sorting result, so that the user selects the SSID of the required switching according to the sorting result;
  • the switching module 13 is specifically configured to:
  • a network handover confirmation message sent by the user including the SSID selected by the user is received.
  • the network switching request message includes at least two SSIDs, and at least two SSIDs are SSIDs whose network signal strength exceeds a preset intensity threshold in the sorting result, so that the user selects the SSID of the required switching according to the at least two SSIDs;
  • the switching module 13 is specifically configured to:
  • a network handover confirmation message sent by the user including the SSID selected by the user is received.
  • the device described in the foregoing embodiment of the present application may be configured to perform the technical solutions of the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the embodiment of the present application further provides a terminal device.
  • the terminal device in this embodiment may be any device such as a mobile phone or a tablet computer in the prior art, and has a similar architecture. Taking a mobile phone as an example, it may include a baseband portion, a radio frequency portion, a processor, a memory, an antenna, and the like.
  • the terminal device may include the network switching device described in FIG. 7 above, so that the terminal device can be provided with the network switching method protected by the method embodiment shown in FIG. 1-6.
  • the device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules can be selected according to actual needs. The purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

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

Abstract

Provided in the present application are a network switching method, device and terminal equipment. The method comprises: detecting a network signal strength corresponding to a currently accessed SSID; if the network signal strength is lower than a predetermined switching threshold, sorting network signal strengths corresponding to other SSIDs the uses of which are authorized to acquire the sorted result; and switching a network corresponding to the currently accessed SSID to a network corresponding to other SSID in the sorted result according to the sorted result. The terminal equipment, by using this intelligent SSID switching method, can prevent the problem in which a signal of an SSID to which the terminal equipment is connected weakens or the network connection is even interrupted as the distance from the connected SSID source increases in the moving process of the terminal equipment because the terminal equipment can automatically connect to an SSID having strong signals, thus providing better network experience for the user.

Description

网络切换方法、装置及终端设备Network switching method, device and terminal device
本专利申请要求申请日为2015年10月28日、申请号为2015107176409的中国专利申请的优先权,并将上述专利申请以引用的方式全文引入本文中。The present application claims the priority of the Chinese Patent Application Serial No. PCT Application No.
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种网络切换方法、装置及终端设备。The present application relates to the field of wireless communications technologies, and in particular, to a network switching method, apparatus, and terminal device.
背景技术Background technique
随着互联网技术的发展,各种异构网络越来越多,以通用分组无线业务(General Packet Radio Service,GPRS)以及第三代移动通信(3rd Generation,3G)为基础的移动通信网络能够提供大规模的网络覆盖,与此同时随着终端设备组网或者接入移动通信网络需求的增大,无线局域网(Wireless Local Area Network,WLAN)技术得到了迅猛发展,任一家机构可以通过自行部署或是租用多个接入点(Access Point,AP)的方式形成一个单独的WLAN网络,然后提供免费或收费的无线接入服务。With the development of Internet technology, more and more heterogeneous networks are available. Mobile communication networks based on General Packet Radio Service (GPRS) and 3rd Generation (3G) can provide Large-scale network coverage, while the demand for terminal equipment networking or access to mobile communication networks has increased, wireless local area network (WLAN) technology has developed rapidly, and any organization can deploy itself or It is a way to rent multiple access points (APs) to form a single WLAN network, and then provide free or chargeable wireless access services.
终端设备使用WLAN网络已很普遍,终端设备在某地点时通常能够搜索到覆盖该地点的多种WLAN,例如运营商架设的收费WLAN、用户自己架设的免费WLAN、办公地点架设的免费WLAN等等,如此多的WLAN网络,增加了用户使用的复杂性。It is common for terminal devices to use WLAN networks. When a terminal device is in a certain location, it can usually search for multiple WLANs covering the location, such as a paid WLAN set up by the operator, a free WLAN set up by the user, a free WLAN set up at the office, and the like. So many WLAN networks increase the complexity of user usage.
在实现本申请的过程中,发明人发现现有技术中至少存在以下问题:In the process of implementing the present application, the inventors found that at least the following problems exist in the prior art:
当终端设备所在环境中存在多个SSID时,终端设备会对有权使用的多个SSID都进行保存,并选择其中一个SSID进行网络连接。但是,时常出现的问题是,在终端设备移动的过程中,随着与已连接的SSID源距离的拉大,终端设备已连接的SSID信号会减弱,甚至网络连接中断。When there are multiple SSIDs in the environment where the terminal device is located, the terminal device saves multiple SSIDs that are entitled to use, and selects one of the SSIDs for network connection. However, the problem that often occurs is that during the movement of the terminal device, as the distance from the connected SSID source is increased, the SSID signal that the terminal device has connected to is weakened, and even the network connection is interrupted.
发明内容Summary of the invention
本申请提供一种网络切换方法、装置及终端设备。以解决在终端设备移动的过程中,随着与已连接的SSID源距离的拉大,终端设备已连接的 SSID信号会减弱,甚至网络连接中断的问题。The application provides a network switching method, device and terminal device. To solve the problem that during the movement of the terminal device, the terminal device is connected as the distance from the connected SSID source is increased. The SSID signal will be weakened and even the network connection will be interrupted.
本申请提供一种网络切换方法,包括:The application provides a network switching method, including:
检测当前已接入某一SSID对应的网络信号强度;Detecting the strength of the network signal corresponding to a certain SSID currently accessed;
若所述网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;If the network signal strength is lower than the preset switching threshold, sorting the network signal strengths corresponding to other SSIDs that are authorized to use, and obtaining the sorting result;
根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络。According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result.
进一步地,上述方法中,所述检测当前已接入某一SSID对应的网络信号强度之前,还包括:Further, in the foregoing method, before the detecting the network signal strength corresponding to a certain SSID, the method further includes:
搜索所在区域内的所有SSID;Search all SSIDs in your area;
对各SSID进行权限申请;Apply for permission for each SSID;
保存申请到权限的所有SSID。Save all SSIDs for the application to the privilege.
进一步地,上述方法中,根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络,包括:Further, in the above method, according to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, including:
根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中网络信号强度最高的SSID对应的网络;According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
或者,or,
确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中用户切换频度最高的SSID,将当前已接入的SSID对应的网络切换到所述用户切换频度最高的SSID对应的网络;Determining at least two SSIDs in the ranking result that the network signal strength exceeds a preset strength threshold, determining an SSID with the highest user switching frequency among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the The network corresponding to the SSID with the highest frequency of user switching;
或者,or,
确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到所述数据传输速度最高的SSID对应的网络。Determining at least two SSIDs whose network signal strength exceeds a preset strength threshold in the sorting result, determining an SSID with the highest data transmission speed among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the data The network corresponding to the SSID with the highest transmission speed.
进一步地,上述方法中,根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络之前,还包括:Further, in the foregoing method, before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, the method further includes:
向用户发送网络切换请求消息;Sending a network switch request message to the user;
接收所述用户发送的网络切换确认消息。Receiving a network handover confirmation message sent by the user.
进一步地,上述方法中,所述网络切换请求消息中包含所述排序结果,以使所述用户根据所述排序结果选择所需切换的SSID; Further, in the above method, the network switching request message includes the sorting result, so that the user selects an SSID of the required handover according to the sorting result;
相应的,所述接收所述用户发送的网络切换确认消息,包括:Correspondingly, the receiving the network handover confirmation message sent by the user includes:
接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
进一步地,上述方法中,所述网络切换请求消息中包含至少两个SSID,所述至少两个SSID为所述排序结果中网络信号强度超过预设强度预置的SSID,以使所述用户根据所述至少两个SSID选择所需切换的SSID;Further, in the above method, the network switching request message includes at least two SSIDs, where the at least two SSIDs are SSIDs whose network signal strength exceeds a preset strength preset in the sorting result, so that the user according to the The at least two SSIDs select an SSID to be switched;
相应的,所述接收所述用户发送的网络切换确认消息,包括:Correspondingly, the receiving the network handover confirmation message sent by the user includes:
接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
本申请还提供一种网络切换装置,包括:The application also provides a network switching device, including:
检测模块,用于检测当前已接入某一SSID对应的网络信号强度;a detecting module, configured to detect a network signal strength corresponding to a certain SSID currently accessed;
排序模块,用于若所述网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;a sorting module, if the network signal strength is lower than a preset switching threshold, sorting network signal strengths corresponding to other SSIDs that are authorized to use, and obtaining a sorting result;
切换模块,用于根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络。And a switching module, configured to switch, according to the sorting result, a network corresponding to the currently accessed SSID to a network corresponding to another SSID in the sorting result.
进一步地,上述装置中,所述检测模块,还用于:Further, in the above device, the detecting module is further configured to:
在检测当前已接入某一SSID对应的网络信号强度之前,搜索所在区域内的所有SSID;对各SSID进行权限申请;保存申请到权限的所有SSID。Before detecting the network signal strength corresponding to a certain SSID, search for all SSIDs in the area; apply for rights for each SSID; save all SSIDs for the application to the rights.
进一步地,上述装置中,所述切换模块,具体用于:Further, in the above apparatus, the switching module is specifically configured to:
根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中网络信号强度最高的SSID对应的网络;According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
或者,or,
确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中用户切换频度最高的SSID,将当前已接入的SSID对应的网络切换到所述用户切换频度最高的SSID对应的网络;Determining at least two SSIDs in the ranking result that the network signal strength exceeds a preset strength threshold, determining an SSID with the highest user switching frequency among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the The network corresponding to the SSID with the highest frequency of user switching;
或者,or,
确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到所述数据传输速度最高的SSID对应的网络。Determining at least two SSIDs whose network signal strength exceeds a preset strength threshold in the sorting result, determining an SSID with the highest data transmission speed among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the data The network corresponding to the SSID with the highest transmission speed.
进一步地,上述装置中,所述切换模块,还用于: Further, in the above device, the switching module is further configured to:
在根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络之前,向用户发送网络切换请求消息,接收所述用户发送的网络切换确认消息。Before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result according to the sorting result, the network switching request message is sent to the user, and the network switching confirmation message sent by the user is received. .
进一步地,上述装置中,所述网络切换请求消息中包含所述排序结果,以使所述用户根据所述排序结果选择所需切换的SSID;Further, in the foregoing apparatus, the network switching request message includes the sorting result, so that the user selects an SSID of a required handover according to the sorting result;
相应的,所述切换模块,具体用于:Correspondingly, the switching module is specifically configured to:
接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
进一步地,上述装置中,所述网络切换请求消息中包含至少两个SSID,所述至少两个SSID为所述排序结果中网络信号强度超过预设强度预置的SSID,以使所述用户根据所述至少两个SSID选择所需切换的SSID;Further, in the above device, the network switching request message includes at least two SSIDs, and the at least two SSIDs are SSIDs in which the network signal strength exceeds a preset strength preset in the sorting result, so that the user according to the The at least two SSIDs select an SSID to be switched;
相应的,所述切换模块,具体用于:Correspondingly, the switching module is specifically configured to:
接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
本申请还提供一种终端设备,包括所述网络切换装置。The application also provides a terminal device, including the network switching device.
本申请提供一种网络切换方法、装置及终端设备。终端设备的检测模块检测当前已接入某一SSID对应的网络信号强度;若所述网络信号强度低于预设切换阈值,则终端设备的排序模块会对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;终端设备的切换模块根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络。终端设备通过这种智能化的切换SSID的方法,可以避免终端设备在移动过程中,随着与已连接的SSID源距离的拉大,终端设备已连接的SSID信号减弱,甚至网络连接中断的问题,这种终端设备自动进行信号强的SSID的连接方式能给用户带来更好的网络体验。The application provides a network switching method, device and terminal device. The detecting module of the terminal device detects the network signal strength corresponding to the current SSID; if the network signal strength is lower than the preset switching threshold, the sorting module of the terminal device may use the network signal corresponding to the other SSIDs that are authorized to use. The strength is sorted to obtain the sorting result; the switching module of the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result according to the sorting result. Through the intelligent method of switching the SSID, the terminal device can avoid the problem that the SSID signal of the terminal device is weakened or even the network connection is interrupted as the distance between the terminal device and the connected SSID source is increased during the moving process. The terminal device automatically performs a strong SSID connection mode to provide a better network experience for the user.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的 附图。In order to more clearly illustrate the embodiments of the present application 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 some embodiments of the present application, and those skilled in the art can obtain other ones according to these drawings without paying creative labor. The figure.
图1为本申请的网络切换方法实施例一的流程图;1 is a flowchart of Embodiment 1 of a network switching method according to the present application;
图2为本申请的网络切换方法的第一种切换方式的示意图;2 is a schematic diagram of a first switching manner of a network switching method according to the present application;
图3为本申请的网络切换方法的第二种切换方式的示意图;3 is a schematic diagram of a second switching manner of a network switching method according to the present application;
图4为本申请的网络切换方法的第三种切换方式的示意图;4 is a schematic diagram of a third switching manner of the network switching method of the present application;
图5为本申请的网络切换方法的用户手动确认切换方式一的示意图;FIG. 5 is a schematic diagram of a user manually confirming a switching mode 1 according to the network switching method of the present application;
图6为本申请的网络切换方法的用户手动确认切换方式二的示意图;6 is a schematic diagram of a user manually confirming a switching mode 2 in the network switching method of the present application;
图7为本申请的网络切换模块的结构示意图。FIG. 7 is a schematic structural diagram of a network switching module according to the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
实施例一 Embodiment 1
图1为本申请的网络切换方法实施例一的流程图,如图所示,所述网络切换方法包括以下步骤:FIG. 1 is a flowchart of Embodiment 1 of a network switching method according to the present application. As shown in the figure, the network switching method includes the following steps:
S101、检测当前已接入某一SSID(Service Set Identifier,服务集标识)的网络信号强度。S101. Detect a network signal strength that is currently connected to an SSID (Service Set Identifier).
终端设备,比如手机、笔记本电脑、平板电脑等,当通过连接所在区域内的无线网络进行上网时,终端设备已连接的无线网络信号强度会由于各种原因,比如终端设备与信号源的距离发生变化、同一时段使用同一无线网络的设备数量的变化等,而发生改变,这时需要终端设备检测其已接入的SSID对应的网络信号强度,看是否满足终端设备对上网速率的要求。Terminal devices, such as mobile phones, laptops, tablets, etc., when connected to the wireless network in the area where the Internet is connected, the strength of the connected wireless network signal will occur due to various reasons, such as the distance between the terminal device and the signal source. The change, the change of the number of devices using the same wireless network in the same time period, etc., changes, and the terminal device needs to detect the network signal strength corresponding to the SSID that it has accessed to see whether the terminal device meets the requirements for the Internet access rate.
S102、若网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果。S102. If the network signal strength is lower than a preset handover threshold, sort the network signal strengths corresponding to other SSIDs that are authorized to use, and obtain a ranking result.
通常来说,终端设备连接的无线网络信号强度由四条由短到长的弧线组成,无线信号越弱,黑色的弧线条数越少。在终端设备中,用户可以预先根据终端设备对上网速率的要求,为所连接的无线网络信号强度设定一 个切换阈值,比如-80dBm,在终端设备上,跟这个数值相对应的显示是两条黑色信号线。当终端设备已连接的SSID信号强度低于预设切换阈值,在终端设备信号强度显示只有一条黑色信号线时,终端设备会对其有权限使用的其它SSID对应的网络信号强度进行排序,并得到排序结果。Generally speaking, the strength of the wireless network signal connected by the terminal device is composed of four short to long arc lines. The weaker the wireless signal, the fewer the number of black arc lines. In the terminal device, the user can set a signal strength of the connected wireless network according to the requirements of the terminal device for the Internet access rate. A switching threshold, such as -80dBm, on the terminal device, the display corresponding to this value is two black signal lines. When the strength of the SSID connected to the terminal device is lower than the preset switching threshold, when the signal strength of the terminal device shows only one black signal line, the terminal device sorts the network signal strengths corresponding to other SSIDs that the user has permission to use, and obtains Sort results.
S103、根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络。S103. Switch the network corresponding to the currently accessed SSID to the network corresponding to the other SSID in the sorting result according to the sorting result.
终端设备得到有权限使用的所有SSID信号强度排序结果之后,会将现已连接的SSID对应的网络切换到终端设备排序的所有其有权限使用的SSID对应的网络中的其中一个。After the terminal device obtains all the SSID signal strength ranking results that are used by the terminal, the network corresponding to the SSID that is now connected is switched to one of the networks corresponding to the SSIDs that the terminal device has ordered to use.
本实施例中,终端设备检测当前已接入某一SSID对应的网络信号强度;若网络信号强度低于预设切换阈值,则终端设备会对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;终端设备根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络。终端设备通过这种智能化的切换SSID的方法,可以避免终端设备在移动过程中,随着与已连接的SSID源距离的拉大,终端设备已连接的SSID信号减弱,甚至网络连接中断的问题,这种终端设备自动进行信号强的SSID的连接方式能给用户带来更好的网络体验。In this embodiment, the terminal device detects the network signal strength corresponding to a certain SSID currently accessed; if the network signal strength is lower than the preset handover threshold, the terminal device sorts the network signal strengths corresponding to other SSIDs that are authorized to use. And obtaining the sorting result; the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result according to the sorting result. Through the intelligent method of switching the SSID, the terminal device can avoid the problem that the SSID signal of the terminal device is weakened or even the network connection is interrupted as the distance between the terminal device and the connected SSID source is increased during the moving process. The terminal device automatically performs a strong SSID connection mode to provide a better network experience for the user.
可选的,在执行S101之前,终端设备还可以先搜索所在区域内的所有SSID,对各SSID进行权限申请,保存申请到权限的所有SSID,从而便于后续的网络切换选择。Optionally, before performing S101, the terminal device may first search for all SSIDs in the area, apply for rights for each SSID, and save all SSIDs applied for permission, thereby facilitating subsequent network switching selection.
可选的,终端设备既可以在用户不感知的情况下,直接进行网络切换,也可以在进行切换之前先询问用户是否需要进行网络切换,并根据用户的响应确定是否进行网络切换以及具体切换到哪个网络。Optionally, the terminal device can perform network switching directly under the condition that the user does not perceive, or ask the user whether to perform network switching before performing the handover, and determine whether to perform network switching and specifically switch to the user according to the response of the user. Which network.
针对终端设备无需用户感知自动进行网络切换的技术方案来说,可以包括以下可选的技术方案:For the technical solution that the terminal device does not need the user to perceive automatic network switching, the following optional technical solutions may be included:
方案一、根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中网络信号强度最高的SSID对应的网络;According to the result of the sorting, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
具体来说,可以是图2所示的方法,若终端设备可以有权限使用五个不同的SSID,分别命名为SSID1、SSID2、SSID3、SSID4和SSID5,若终端设备已连接的是SSID1,信号强度已经小于连接阈值,而另外四个 SSID的信号强度分别显示为:SSID2是一条黑色信号线,SSID3是两条黑色信号线,SSID3是三条黑色信号线,SSID5是四条黑色信号线,终端设备会将SSID2-SSID5按以下顺序排列:SSID5、SSID4、SSID3、SSID2,之后终端设备会将已连接的SSID1切换成SSID5供用户上网使用。Specifically, it may be the method shown in FIG. 2. If the terminal device has the right to use five different SSIDs, respectively named SSID1, SSID2, SSID3, SSID4, and SSID5, if the terminal device is connected to SSID1, the signal strength Already less than the connection threshold, and the other four The signal strength of the SSID is shown as: SSID2 is a black signal line, SSID3 is two black signal lines, SSID3 is three black signal lines, SSID5 is four black signal lines, and the terminal device will arrange SSID2-SSID5 in the following order: SSID5 , SSID4, SSID3, SSID2, after which the terminal device will switch the connected SSID1 to SSID5 for users to use online.
方案二、确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中用户切换频度最高的SSID,将当前已接入的SSID对应的网络切换到所述用户切换频度最高的SSID对应的网络;The second method determines that the network signal strength exceeds the preset strength threshold, and determines the SSID with the highest user switching frequency among the at least two SSIDs, and switches the network corresponding to the currently accessed SSID. a network corresponding to the SSID with the highest frequency of user switching;
具体来说,可以是图3所示的方法,当终端设备所在区域内有四个有权限使用的SSID,分别命名为SSID-a、SSID-b、SSID-c和SSID-d,若终端设备已连接SSID-a的信号强度已小于连接阈值,其余三种SSID的信号强度都大于阈值,且SSID-b和SSID-c的信号强度相同并强于SSID-d的信号时,后台会对用户平时使用SSID-b和SSID-c的频率数据作比较,若得出用户使用SSID-b的频率大于使用SSID-c的频率,终端设备会将已连接的SSID-a自动切换成SSID-b供用户上网使用。Specifically, it may be the method shown in FIG. 3, when there are four SSIDs having authority to use in the area where the terminal device is located, respectively named SSID-a, SSID-b, SSID-c, and SSID-d, if the terminal device The signal strength of the connected SSID-a is less than the connection threshold. The signal strengths of the other three SSIDs are greater than the threshold, and the signal strengths of SSID-b and SSID-c are the same and stronger than the SSID-d signal. Usually use the frequency data of SSID-b and SSID-c for comparison. If the frequency of the user using SSID-b is greater than the frequency of using SSID-c, the terminal device will automatically switch the connected SSID-a to SSID-b. Users use the Internet.
方案三、确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到所述数据传输速度最高的SSID对应的网络。The third embodiment determines the SSID of the at least two SSIDs with the highest data transmission speed, and determines the network corresponding to the currently accessed SSID. The network corresponding to the SSID with the highest data transmission speed.
具体来说,可以是图4所示的方法,当终端设备所在区域内有四个有权限使用的SSID,分别命名为SSID-A、SSID-B、SSID-C和SSID-D,若终端设备已连接SSID-A的信号强度已小于连接阈值,其余三种SSID的信号强度都大于阈值,且SSID-B和SSID-C的信号强度相同并强于SSID-D的信号时,后台会对SSID-B和SSID-C的数据传输速度作比较,若SSID-B的数据传输速度大于SSID-C的数据传输速度,终端设备会将已连接的SSID-A切换到SSID-B。Specifically, it may be the method shown in FIG. 4, when there are four SSIDs having authority to use in the area where the terminal device is located, respectively named SSID-A, SSID-B, SSID-C, and SSID-D, if the terminal device The signal strength of the connected SSID-A is less than the connection threshold. The signal strengths of the other three SSIDs are greater than the threshold. When the signal strengths of SSID-B and SSID-C are the same and stronger than the signals of SSID-D, the background will be SSID. -B and SSID-C compare the data transmission speed. If the data transmission speed of SSID-B is greater than the data transmission speed of SSID-C, the terminal device will switch the connected SSID-A to SSID-B.
上述各种网络切换过程中的切换策略,可以是终端设备在出厂时由设备厂商预置的,也可以是用户在终端设备中预先设置的。The switching policy in the foregoing various network switching processes may be preset by the device manufacturer when the terminal device is shipped from the factory, or may be preset by the user in the terminal device.
针对用户感知的网络切换来说,在S103之前,终端设备可以先向用户发送网络切换请求消息,从而可以提示用户需要进行网络切换并询问用 户是否需要进行网络切换,在接收到用户发送的网络切换确认消息之后,终端设备再根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络。For the network switching that the user perceives, before S103, the terminal device may first send a network switching request message to the user, so that the user may be prompted to perform network switching and query. After the network switching is performed, the terminal device switches the network corresponding to the currently accessed SSID to the network corresponding to the other SSID in the sorting result according to the sorting result.
在具体实现时,用户也可以参与到网络选择中,来指示终端设备所要选择的网络。可以采用下述两种方案实现:In a specific implementation, the user may also participate in the network selection to indicate the network to be selected by the terminal device. It can be implemented in the following two scenarios:
方案一:终端设备将排序结果承载在网络切换请求消息中发送给用户,用户在根据排序结果选择所需切换的SSID之后,可以将选定的SSID承载在网络切换确认消息中再发送给终端设备。Solution 1: The terminal device carries the sorting result in the network handover request message and sends the message to the user. After selecting the SSID of the required handover according to the sorting result, the user may carry the selected SSID in the network handover confirmation message and then send the information to the terminal device. .
例如,如图5所示,终端设备可以将有权限使用的所有SSID名称、信号强度以弹窗的形式呈现在终端设备的显示界面,其中,SSID名称可以是根据信号强度从弱到强排序的。本实施例中,终端设备已连接SSID是“1号”,用户可以从可切换的各SSID中选定其所需切换的SSID,待用户点击窗口中的“确认”项后,终端设备即可将带有该用户所需切换的SSID的网络切换确认消息发送给终端设备,例如用户选择“5号”SSID,终端设备即可从该消息中得知用户想要切换的SSID,从而将已连接的“1号”网络切换成“5号”网络供用户上网使用。For example, as shown in FIG. 5, the terminal device may display all the SSID names and signal strengths that are used by the rights in the display interface of the terminal device in the form of a pop-up window, wherein the SSID name may be sorted according to the signal strength from weak to strong. . In this embodiment, the terminal device is connected to the SSID of "No. 1", and the user can select the SSID of the required handover from among the switchable SSIDs. After the user clicks the "confirm" item in the window, the terminal device can Sending a network switch confirmation message with the SSID that the user needs to switch to the terminal device. For example, if the user selects the “No. 5” SSID, the terminal device can learn from the message that the SSID that the user wants to switch, so that the connected device will be connected. The "No. 1" network is switched to the "No. 5" network for users to use the Internet.
用户在进行选择时,可以依据其各种考虑因素,如网络信号强度最大,经常选择的网络等等。Users can choose according to various considerations, such as the network signal strength, the network that is frequently selected, and so on.
方案二:终端设备可以获知用户有权限连接的全部SSID的网络信号强度,从而得到排序结果,终端设备可以不将排序结果完整地发送给用户供用户选择SSID,而是可以从全部SSID先预先挑选网络信号强度超过预设强度阈值的至少两个SSID,并将该至少两个SSID承载在网络切换请求消息中发送给用户供用户选择,用户可以从这至少两个SSID中选择一个SSID并承载在网络切换确认消息中发送给终端设备。Solution 2: The terminal device can know the network signal strength of all SSIDs that the user has permission to connect, thereby obtaining the sorting result, and the terminal device can not completely send the sorting result to the user for the user to select the SSID, but can pre-select all the SSIDs. The network signal strength exceeds at least two SSIDs of the preset strength threshold, and the at least two SSIDs are carried in the network handover request message and sent to the user for selection by the user, and the user may select one SSID from the at least two SSIDs and carry the The network switch confirmation message is sent to the terminal device.
例如,如图6所示,终端设备向用户弹出切换请求窗口,窗口中包含终端设备从全部SSID中预先挑选的网络信号强度超过预设强度阈值且信号强度相同的两个SSID以及终端设备已连接的SSID,这两个预先挑选的SSID可以是终端设备所在区域中信号强度最好的两个。本实施例中,终端设备已连接的SSID是No.1,备选SSID分别是No.2和No.3,用户可以从可切换的各SSID中选定其所需切换的SSID,待用户点击窗口中的“确 认”项后,终端设备即可将带有该用户所需切换的SSID的网络切换确认消息发送给终端设备,例如用户选择“No.2”SSID,终端设备即可从该消息中得知用户想要切换的SSID,从而将已连接的“No.1”网络切换成“No.2”网络供用户上网使用。For example, as shown in FIG. 6, the terminal device pops up a handover request window to the user, where the window includes two SSIDs whose terminal network equipment has a network signal strength that exceeds a preset strength threshold and has the same signal strength, and the terminal device is connected. The SSID, the two pre-selected SSIDs can be the two of the best signal strengths in the area where the terminal device is located. In this embodiment, the SSID that the terminal device has connected is No.1, and the candidate SSIDs are No.2 and No.3, respectively, and the user can select the SSID of the required handover from among the switchable SSIDs, and wait for the user to click. In the window After the item is recognized, the terminal device can send a network switch confirmation message with the SSID that the user needs to switch to the terminal device. For example, the user selects the “No. 2” SSID, and the terminal device can learn the user from the message. The SSID that you want to switch, thus switching the connected "No.1" network to the "No.2" network for users to use online.
用户在进行选择时,可以依据其各种考虑因素,如经常选择的网络等等When users make choices, they can rely on various considerations, such as frequently selected networks, etc.
本实施例中,终端设备已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络,包括两种方式:用户无感知的网络切换和用户感知的网络切换,用户无感知的网络切换方式是终端设备在后台自动对SSID进行切换,用户感知的网络切换方式是终端设备将有权限使用的SSID排序结果呈现给用户,用户决定是否需要切换无线网络,这两种不同的方式可以使用户在不同的使用情况下,当已连接SSID信号强度达不到预设阈值时,方便地切换终端设备连接的SSID。这两种终端设备切换SSID的方式能给用户带来更好的网络体验。In this embodiment, the network corresponding to the SSID that the terminal device has accessed is switched to the network corresponding to the other SSIDs in the sorting result, including two modes: user-unaware network switching and user-aware network switching, and the user's non-perceived network. The switching mode is that the terminal device automatically switches the SSID in the background. The network switching mode that the user perceives is that the terminal device presents the SSID sorting result that has the right to use to the user, and the user decides whether to switch the wireless network, and the two different manners can be used. The user conveniently switches the SSID of the terminal device connection when the connected SSID signal strength does not reach the preset threshold under different usage conditions. The way in which the two terminal devices switch the SSID can bring a better network experience to the user.
实施例二 Embodiment 2
图7为本申请的网络切换模块的结构示意图,如图7所示,网络切换装置包括检测模块11、排序模块12和切换模块13。FIG. 7 is a schematic structural diagram of a network switching module according to the present application. As shown in FIG. 7, the network switching apparatus includes a detecting module 11, a sorting module 12, and a switching module 13.
检测模块11,用于检测当前已接入某一SSID对应的网络信号强度;The detecting module 11 is configured to detect a network signal strength corresponding to a certain SSID currently accessed;
排序模块12,用于若网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;The sorting module 12 is configured to: if the network signal strength is lower than the preset switching threshold, sort the network signal strengths corresponding to the other SSIDs that are authorized to use, and obtain the sorting result;
切换模块13,用于根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络。The switching module 13 is configured to switch, according to the sorting result, the network corresponding to the currently accessed SSID to the network corresponding to the other SSIDs in the sorting result.
可选的,检测模块11,还用于:Optionally, the detecting module 11 is further configured to:
在检测当前已接入某一SSID对应的网络信号强度之前,搜索所在区域内的所有SSID;对各SSID进行权限申请;保存申请到权限的所有SSID。Before detecting the network signal strength corresponding to a certain SSID, search for all SSIDs in the area; apply for rights for each SSID; save all SSIDs for the application to the rights.
进一步的,切换模块13,具体用于:Further, the switching module 13 is specifically configured to:
根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中网络信号强度最高的SSID对应的网络;According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
或者,or,
确定排序结果中网络信号强度超过预设强度阈值的至少两个SSID, 确定至少两个SSID中用户切换频度最高的SSID,将当前已接入的SSID对应的网络切换到用户切换频度最高的SSID对应的网络;Determining at least two SSIDs in the ranking result that the network signal strength exceeds a preset intensity threshold, Determining the SSID with the highest user switching frequency among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the network corresponding to the SSID with the highest user switching frequency;
或者,or,
确定排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到数据传输速度最高的SSID对应的网络。Determining at least two SSIDs in which the network signal strength exceeds the preset intensity threshold in the sorting result, determining the SSID with the highest data transmission speed in the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the SSID having the highest data transmission speed. network of.
可选的,切换模块13,还用于:Optionally, the switching module 13 is further configured to:
在根据排序结果,将当前已接入的SSID对应的网络切换到排序结果中的其它SSID对应的网络之前,向用户发送网络切换请求消息,接收用户发送的网络切换确认消息。Before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result according to the sorting result, the network switching request message is sent to the user, and the network switching confirmation message sent by the user is received.
进一步的,网络切换请求消息中包含排序结果,以使用户根据排序结果选择所需切换的SSID;Further, the network switching request message includes a sorting result, so that the user selects the SSID of the required switching according to the sorting result;
相应的,切换模块13,具体用于:Correspondingly, the switching module 13 is specifically configured to:
接收用户发送的包含用户选定的SSID的网络切换确认消息。A network handover confirmation message sent by the user including the SSID selected by the user is received.
进一步的,网络切换请求消息中包含至少两个SSID,至少两个SSID为排序结果中网络信号强度超过预设强度阈值的SSID,以使用户根据至少两个SSID选择所需切换的SSID;Further, the network switching request message includes at least two SSIDs, and at least two SSIDs are SSIDs whose network signal strength exceeds a preset intensity threshold in the sorting result, so that the user selects the SSID of the required switching according to the at least two SSIDs;
相应的,切换模块13,具体用于:Correspondingly, the switching module 13 is specifically configured to:
接收用户发送的包含用户选定的SSID的网络切换确认消息。A network handover confirmation message sent by the user including the SSID selected by the user is received.
本申请上述实施例所述的装置,可以对应执行前述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device described in the foregoing embodiment of the present application may be configured to perform the technical solutions of the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
本申请实施例还提供一种终端设备,本实施例的终端设备可以为现有技术中的手机、平板电脑等任意设备,其具有类似的架构。以手机为例,其可以包括基带部分、射频部分、处理器、存储器、天线等等。特别的,该终端设备可以包含前述图7所述的网络切换装置,从而可以使得该终端设备具备图1-6所示方法实施例所保护的网络切换方法。The embodiment of the present application further provides a terminal device. The terminal device in this embodiment may be any device such as a mobile phone or a tablet computer in the prior art, and has a similar architecture. Taking a mobile phone as an example, it may include a baseband portion, a radio frequency portion, a processor, a memory, an antenna, and the like. In particular, the terminal device may include the network switching device described in FIG. 7 above, so that the terminal device can be provided with the network switching method protected by the method embodiment shown in FIG. 1-6.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到至少两个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现 本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules can be selected according to actual needs. The purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present application, and are not limited thereto; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present application. range.

Claims (13)

  1. 一种网络切换方法,其特征在于,包括:A network switching method, comprising:
    检测当前已接入某一SSID对应的网络信号强度;Detecting the strength of the network signal corresponding to a certain SSID currently accessed;
    若所述网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;If the network signal strength is lower than the preset switching threshold, sorting the network signal strengths corresponding to other SSIDs that are authorized to use, and obtaining the sorting result;
    根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络。According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result.
  2. 根据权利要求1所述的方法,其特征在于,所述检测当前已接入某一SSID对应的网络信号强度之前,还包括:The method according to claim 1, wherein before detecting the network signal strength corresponding to a certain SSID, the method further includes:
    搜索所在区域内的所有SSID;Search all SSIDs in your area;
    对各SSID进行权限申请;Apply for permission for each SSID;
    保存申请到权限的所有SSID。Save all SSIDs for the application to the privilege.
  3. 根据权利要求1或2所述的方法,其特征在于,根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络,包括:The method according to claim 1 or 2, wherein, according to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, including:
    根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中网络信号强度最高的SSID对应的网络;According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
    或者,or,
    确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中用户切换频度最高的SSID,将当前已接入的SSID对应的网络切换到所述用户切换频度最高的SSID对应的网络;Determining at least two SSIDs in the ranking result that the network signal strength exceeds a preset strength threshold, determining an SSID with the highest user switching frequency among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the The network corresponding to the SSID with the highest frequency of user switching;
    或者,or,
    确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到所述数据传输速度最高的SSID对应的网络。Determining at least two SSIDs whose network signal strength exceeds a preset strength threshold in the sorting result, determining an SSID with the highest data transmission speed among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the data The network corresponding to the SSID with the highest transmission speed.
  4. 根据权利要求1或2所述的方法,其特征在于,根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络之前,还包括:The method according to claim 1 or 2, wherein, before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result, the method further includes:
    向用户发送网络切换请求消息;Sending a network switch request message to the user;
    接收所述用户发送的网络切换确认消息。 Receiving a network handover confirmation message sent by the user.
  5. 根据权利要求4所述的方法,其特征在于,所述网络切换请求消息中包含所述排序结果,以使所述用户根据所述排序结果选择所需切换的SSID;The method according to claim 4, wherein the network switching request message includes the sorting result, so that the user selects an SSID of a required handover according to the sorting result;
    相应的,所述接收所述用户发送的网络切换确认消息,包括:Correspondingly, the receiving the network handover confirmation message sent by the user includes:
    接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
  6. 根据权利要求4所述的方法,其特征在于,所述网络切换请求消息中包含至少两个SSID,所述至少两个SSID为所述排序结果中网络信号强度超过预设强度阈值的SSID,以使所述用户根据所述至少两个SSID选择所需切换的SSID;The method according to claim 4, wherein the network handover request message includes at least two SSIDs, and the at least two SSIDs are SSIDs in which the network signal strength exceeds a preset intensity threshold in the ranking result, Having the user select an SSID of the required handover according to the at least two SSIDs;
    相应的,所述接收所述用户发送的网络切换确认消息,包括:Correspondingly, the receiving the network handover confirmation message sent by the user includes:
    接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
  7. 一种网络切换装置,其特征在于,包括:A network switching device, comprising:
    检测模块,用于检测当前已接入某一SSID对应的网络信号强度;a detecting module, configured to detect a network signal strength corresponding to a certain SSID currently accessed;
    排序模块,用于若所述网络信号强度低于预设切换阈值,则对有权限使用的其它SSID对应的网络信号强度进行排序,获取排序结果;a sorting module, if the network signal strength is lower than a preset switching threshold, sorting network signal strengths corresponding to other SSIDs that are authorized to use, and obtaining a sorting result;
    切换模块,用于根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络。And a switching module, configured to switch, according to the sorting result, a network corresponding to the currently accessed SSID to a network corresponding to another SSID in the sorting result.
  8. 根据权利要求7所述的装置,其特征在于,所述检测模块,还用于:The apparatus according to claim 7, wherein the detecting module is further configured to:
    在检测当前已接入某一SSID对应的网络信号强度之前,搜索所在区域内的所有SSID;对各SSID进行权限申请;保存申请到权限的所有SSID。Before detecting the network signal strength corresponding to a certain SSID, search for all SSIDs in the area; apply for rights for each SSID; save all SSIDs for the application to the rights.
  9. 根据权利要求7或8所述的装置,其特征在于,所述切换模块,具体用于:The device according to claim 7 or 8, wherein the switching module is specifically configured to:
    根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中网络信号强度最高的SSID对应的网络;According to the sorting result, the network corresponding to the currently accessed SSID is switched to the network corresponding to the SSID with the highest network signal strength in the sorting result;
    或者,or,
    确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中用户切换频度最高的SSID,将当前已接 入的SSID对应的网络切换到所述用户切换频度最高的SSID对应的网络;Determining at least two SSIDs in which the network signal strength exceeds a preset intensity threshold in the ranking result, and determining an SSID with the highest user switching frequency among the at least two SSIDs, which is currently connected The network corresponding to the entered SSID is switched to the network corresponding to the SSID with the highest user switching frequency;
    或者,or,
    确定所述排序结果中网络信号强度超过预设强度阈值的至少两个SSID,确定所述至少两个SSID中数据传输速度最高的SSID,将当前已接入的SSID对应的网络切换到所述数据传输速度最高的SSID对应的网络。Determining at least two SSIDs whose network signal strength exceeds a preset strength threshold in the sorting result, determining an SSID with the highest data transmission speed among the at least two SSIDs, and switching the network corresponding to the currently accessed SSID to the data The network corresponding to the SSID with the highest transmission speed.
  10. 根据权利要求7或8所述的装置,其特征在于,所述切换模块,还用于:The device according to claim 7 or 8, wherein the switching module is further configured to:
    在根据所述排序结果,将当前已接入的SSID对应的网络切换到所述排序结果中的其它SSID对应的网络之前,向用户发送网络切换请求消息,接收所述用户发送的网络切换确认消息。Before the network corresponding to the currently accessed SSID is switched to the network corresponding to the other SSIDs in the sorting result according to the sorting result, the network switching request message is sent to the user, and the network switching confirmation message sent by the user is received. .
  11. 根据权利要求10所述的装置,其特征在于,所述网络切换请求消息中包含所述排序结果,以使所述用户根据所述排序结果选择所需切换的SSID;The apparatus according to claim 10, wherein the network switching request message includes the sorting result, so that the user selects an SSID of a required handover according to the sorting result;
    相应的,所述切换模块,具体用于:Correspondingly, the switching module is specifically configured to:
    接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
  12. 根据权利要求10所述的装置,其特征在于,所述网络切换请求消息中包含至少两个SSID,所述至少两个SSID为所述排序结果中网络信号强度超过预设强度预置的SSID,以使所述用户根据所述至少两个SSID选择所需切换的SSID;The device according to claim 10, wherein the network switching request message includes at least two SSIDs, and the at least two SSIDs are SSIDs in which the network signal strength exceeds a preset strength preset in the ranking result. So that the user selects the SSID of the required handover according to the at least two SSIDs;
    相应的,所述切换模块,具体用于:Correspondingly, the switching module is specifically configured to:
    接收所述用户发送的包含所述用户选定的SSID的网络切换确认消息。Receiving a network handover confirmation message sent by the user that includes the SSID selected by the user.
  13. 一种终端设备,其特征在于,包括权利要求7-12中任一项所述的装置。 A terminal device comprising the device of any one of claims 7-12.
PCT/CN2016/086894 2015-10-28 2016-06-23 Network switching method, device and terminal equipment WO2017071262A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2015107176409 2015-10-28
CN201510717640.9A CN105873156A (en) 2015-10-28 2015-10-28 Network switching method and device, and terminal device

Publications (1)

Publication Number Publication Date
WO2017071262A1 true WO2017071262A1 (en) 2017-05-04

Family

ID=56624364

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086894 WO2017071262A1 (en) 2015-10-28 2016-06-23 Network switching method, device and terminal equipment

Country Status (2)

Country Link
CN (1) CN105873156A (en)
WO (1) WO2017071262A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543474A (en) * 2019-09-20 2021-03-23 奇酷互联网络科技(深圳)有限公司 Network connection method, mobile terminal and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107920353A (en) * 2016-10-08 2018-04-17 中兴通讯股份有限公司 A kind of method and hot spot access device of Wireless Fidelity connection switching hot spot
CN107360615B (en) * 2017-06-30 2020-03-27 广东美的制冷设备有限公司 Terminal device interconnection method and device
CN109448346B (en) * 2018-10-15 2021-01-12 南京富岛信息工程有限公司 Intelligent derailer state monitoring system and networking communication method thereof
CN112188410B (en) * 2020-09-21 2021-11-16 哈尔滨光宇新能源有限公司 Automatic numbering method for equipment based on SSID broadcast
CN112333793A (en) * 2020-11-30 2021-02-05 成都思酷智能科技有限公司 Method and device for automatically switching networks
CN114390617B (en) * 2021-12-28 2023-12-22 山东有人物联网股份有限公司 WLAN network switching method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083152A (en) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 Method for switching hotspots in wireless local area network (WLAN) and terminal
CN102711200A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method and device for switching wireless local area network (WLAN) and mobile terminal
US20120315905A1 (en) * 2011-06-07 2012-12-13 Jing Zhu Multi-radio handover manager system and algorithms for heterogeneous wireless networking
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483894B (en) * 2009-01-06 2010-08-11 北京交通大学 Fast switching method for WLAN
CN101521924B (en) * 2009-04-27 2011-11-16 杭州华三通信技术有限公司 Switching method and device of wireless local area network
TW201108793A (en) * 2009-08-31 2011-03-01 Ralink Technology Corp Method and apparatus for roaming seamlessly

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083152A (en) * 2011-03-07 2011-06-01 宇龙计算机通信科技(深圳)有限公司 Method for switching hotspots in wireless local area network (WLAN) and terminal
US20120315905A1 (en) * 2011-06-07 2012-12-13 Jing Zhu Multi-radio handover manager system and algorithms for heterogeneous wireless networking
CN102711200A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method and device for switching wireless local area network (WLAN) and mobile terminal
CN102917424A (en) * 2012-10-25 2013-02-06 陕西科技大学 AP (application process) switching method used in WiFi (wireless fidelity) communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543474A (en) * 2019-09-20 2021-03-23 奇酷互联网络科技(深圳)有限公司 Network connection method, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN105873156A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017071262A1 (en) Network switching method, device and terminal equipment
WO2021146852A1 (en) Cell reselection method and apparatus, information transmission method and apparatus, communication device and storage medium
EP2304902B1 (en) Network discovery and selection
CA2579460C (en) System and method for connecting to a voice network, such as wirelessly connecting to a uma network
TWI486084B (en) Wireless connection point and wireless mobile device connection control method
WO2019242728A1 (en) Processing method, terminal and network element
TWI492647B (en) Quickly access hotspot selection method
EP3585099B1 (en) Vowifi call processing method of mobile terminal and mobile terminal
US20200260354A1 (en) Method and system of switching between mobile networks
JP2020504573A (en) Cell switching method and apparatus
US8874710B2 (en) Access network discovery
CN105516960B (en) Non-perception authentication method and system, and management method and system based on method and system
US11064422B2 (en) System and method for enabling subscriber-based policy decisions
KR20110121297A (en) Apparatus and method for automatic sim card selection according to network environment in dual mode terminal
JP7477589B2 (en) Method and terminal device for establishing a hotspot connection - Patents.com
CN105122896A (en) Access network discovery and selection
JP2015213313A (en) Charging information for wlan network selection in 3gpp-wlan data offloading
US9351212B2 (en) PLMN selection method, mobile terminal, BSC and core network device
EP3783957B1 (en) Transmission path switching method, computer-readable storage medium and device
US20150358885A1 (en) Balancing Access Point Workloads
US11910475B2 (en) Systems and methods for enabling efficient establishment of policy control associations
CN107124744B (en) Network switching method and wireless access point
CN111970750A (en) Multi-frequency WiFi identification method and device
CN113596961A (en) Cell selection method, cell selection control method and related equipment
CN106792952A (en) The method and apparatus of Wireless Fidelity access point are connected to for terminal

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: 16858705

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: 16858705

Country of ref document: EP

Kind code of ref document: A1