WO2016184050A1 - Virtual sim card based wireless access point switching method and system - Google Patents

Virtual sim card based wireless access point switching method and system Download PDF

Info

Publication number
WO2016184050A1
WO2016184050A1 PCT/CN2015/094225 CN2015094225W WO2016184050A1 WO 2016184050 A1 WO2016184050 A1 WO 2016184050A1 CN 2015094225 W CN2015094225 W CN 2015094225W WO 2016184050 A1 WO2016184050 A1 WO 2016184050A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
wlan
virtual sim
information
currently
Prior art date
Application number
PCT/CN2015/094225
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 WO2016184050A1 publication Critical patent/WO2016184050A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • This document relates to, but is not limited to, the field of wireless communications, and in particular, to a wireless SIM card-based wireless access point switching method and system.
  • SIM Subscriber Identity Module
  • WLAN wireless local area network
  • AP Access Point
  • the WLAN AP deployed by each operator needs to verify the SIM card information of the terminal. If the terminal needs to support the WLAN AP of different operators, the roaming agreement between different operators is required, and the terminal purchases the roaming service. . In this way, if the terminal needs to support the roaming service, the terminal needs to notify the SIM card information to other operators (such as the roaming operator), thereby causing the user information to be leaked, which is not conducive to information protection; in addition, the user needs to purchase the related roaming service and increase the user. The cost of use, which reduces the user experience.
  • the embodiment of the invention provides a method and a system for switching a wireless access point based on a virtual SIM card, which can be used to solve the problem that a terminal accesses a WLAN AP of a different operator through a roaming service in the related art.
  • An embodiment of the present invention provides a method for switching a wireless access point based on a virtual SIM card, including: acquiring information of a currently connected WLAN AP; and obtaining a virtual SIM card according to the obtained information of the currently connectable WLAN AP.
  • the required virtual SIM card is determined in the list; according to the determined virtual SIM card, the currently adapted WLAN AP is connected.
  • the method further includes: selecting, according to the signal strength of the WLAN AP, the currently connectable WLAN AP.
  • the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
  • the determining, according to the obtained information of the currently connectable WLAN AP, determining the adapted virtual SIM card from the preset virtual SIM card list comprises: determining, according to the acquired information of the currently connectable WLAN AP, The mobile country code information and/or the operator information, and the virtual SIM card that matches the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP is searched from the preset virtual SIM card list, and the query is obtained.
  • the virtual SIM card with the highest priority is determined as the required virtual SIM card, and the currently connected WLAN AP according to the virtual SIM card obtained by the query is the currently adapted WLAN AP.
  • the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
  • the embodiment of the present invention further provides a virtual SIM card-based wireless access point switching system, comprising: an obtaining module, configured to obtain information of a currently connectable WLAN AP; and a processing module configured to obtain a currently connectable WLAN according to the obtained
  • the information of the AP determines the required virtual SIM card from the preset virtual SIM card list; and the connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
  • the processing module is further configured to select, according to the signal strength of the WLAN AP, the currently connectable WLAN AP, before the acquiring module acquires the information of the currently connectable WLAN AP.
  • the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
  • the processing module is configured to determine, according to the obtained information of the currently connectable WLAN AP, the required virtual SIM card from the preset virtual SIM card list, including: according to the obtained currently connectable WLAN
  • the information of the AP determines the corresponding mobile country code information and the operator information, and searches for a virtual SIM card that matches the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP from the preset virtual SIM card list.
  • the virtual SIM card with the highest priority is determined as the required virtual SIM card, and the currently connected WLAN AP according to the virtual SIM card obtained by the query is the currently adapted WLAN AP.
  • the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
  • the information about the currently connectable WLAN AP is obtained; and the required virtual SIM card is determined from the preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP; A virtual SIM card that connects to the currently adapted WLAN AP.
  • the WLAN AP is determined by the information of the WLAN AP, and the SIM card of the terminal is automatically switched, thereby ensuring that the terminal successfully accesses the WLAN AP, and the WLAN AP usage scenario is extended and the WLAN AP is used.
  • User usage fees have increased the user experience.
  • FIG. 1 is a flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention
  • FIG. 2 is a detailed flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a virtual SIM card-based wireless access point switching system according to an embodiment of the present invention.
  • Step 11 The mobile terminal acquires information of the currently connected WLAN AP.
  • the method further includes: selecting, according to the signal strength of the WLAN AP, the currently connectable WLAN AP.
  • the information of the WLAN AP includes the country code information and the Service Set Identifier (SSID) information corresponding to the WLAN AP.
  • SSID Service Set Identifier
  • Step 12 The mobile terminal determines the required virtual SIM card from the preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP.
  • the step includes: determining corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, and querying the current virtual SIM card list from the preset virtual SIM card list.
  • the virtual SIM card of the mobile country code information and/or the operator information corresponding to the WLAN AP determines the virtual SIM card with the highest priority obtained as the required virtual SIM card.
  • the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
  • the primary virtual SIM card has a one-to-one correspondence with the user account information, and can only be used by the current mobile terminal and cannot be modified by default.
  • the secondary virtual SIM card is provided by the operator or a third-party virtual SIM card provider, and the secondary virtual SIM card is only used for the authentication service of the WLAN AP access, does not support the traditional LTE/3G/4G service, and the secondary virtual SIM card Multiple groups can be set in advance and can be modified. Thus, it can be used as a public account for different users to use on different terminals, thereby protecting user information.
  • the priority of the primary virtual SIM card is higher than that of the secondary virtual SIM card.
  • the WLAN AP that matches the virtual SIM card obtained in step 12 is the currently adapted WLAN AP.
  • FIG. 2 is a detailed flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention. As shown in FIG. 2, the steps of this embodiment are described in detail:
  • Step 101 The mobile terminal scans the current WLAN AP list information.
  • Step 102 The mobile terminal determines whether the current WLAN AP list is empty, if it is empty, step 111 is performed, if not, step 103 is performed;
  • Step 103 The mobile terminal selects a currently available WLAN AP according to the signal strength of the WLAN AP.
  • the WLAN AP whose signal strength meets the preset threshold is a currently WLAN AP that can be connected (for example, 0 or at least one). );
  • Step 104 The mobile terminal determines whether there is a connectable WLAN AP, if not, step 111 is performed, if yes, step 105 is performed;
  • Step 105 The mobile terminal acquires the information of the currently connected WLAN AP, where the information of the WLAN AP includes the country code information and the SSID information corresponding to the WLAN AP, where if the information of the currently available WLAN AP is multiple, Obtain information about each currently available WLAN AP;
  • Step 106 The mobile terminal determines the required virtual SIM card from the virtual SIM card list according to the information of the WLAN AP, wherein the detailed process of this step refers to the description of FIG. 3;
  • Step 107 The mobile terminal initiates connection to the external WLAN AP.
  • Step 108 The mobile terminal determines whether the WLAN AP is successfully connected. If the connection is successful, step 109 is performed. If the connection fails, step 110 is performed;
  • Step 110 The mobile terminal determines whether there are other connectable WLAN APs, if yes, step 105 is performed, if not, step 111 is performed;
  • Step 111 Currently, no WLAN AP can be connected, and the mobile terminal switches to another network (such as LTE/3G/4G, etc.).
  • another network such as LTE/3G/4G, etc.
  • FIG. 3 is a flowchart of determining a virtual SIM card required in Embodiment 1 of the present invention.
  • the preset virtual SIM card list includes, for example, a primary virtual SIM card and two secondary virtual SIM cards (the secondary virtual SIM card 1 and the secondary virtual SIM card 2), and the primary virtual SIM card has a higher priority than the secondary virtual SIM card. 1.
  • the secondary virtual SIM card 1 has a higher priority than the secondary virtual SIM card 2.
  • the process includes the following steps:
  • Step 201 The mobile terminal determines, according to the country code information of the currently connectable WLAN AP, the mobile country code information defined by the 3rd Generation Partnership Project (3GPP), specifically, the country code information of the WLAN AP. Carrying the mobile country code information, and obtaining the corresponding mobile country code through information analysis;
  • 3GPP 3rd Generation Partnership Project
  • Step 202 The mobile terminal determines, according to the prefix identification information of the SSID information of the WLAN AP that can be connected, the operator information of the 3GPP defined by the WLAN AP, specifically, the prefix identification information of the SSID information of the WLAN AP and the reference information that can be referred to.
  • the information conversion list can obtain corresponding operator information after information conversion;
  • Step 203 The mobile terminal acquires mobile country code information and carrier information of each virtual SIM card in the current virtual SIM card list.
  • Step 204 The mobile terminal determines whether the mobile country code information of the primary virtual SIM card is consistent with the mobile country code information of the currently connected WLAN AP, if yes, step 209 is performed, if not, step 205 is performed;
  • Step 205 The mobile terminal queries the virtual SIM card list according to the mobile country code corresponding to the currently connected WLAN AP, and obtains the virtual SIM card information of the international roaming location corresponding to the mobile country code.
  • Step 206 whether there is a virtual SIM card of the international roaming place, if yes, step 207 is performed, if not, step 214 is performed;
  • Step 207 The mobile terminal determines whether the operator of the virtual SIM card of the international roaming place is consistent with the operator information corresponding to the currently connected WLAN AP. If they are consistent, the virtual SIM card of the international roaming place (such as the secondary virtual SIM card 1) In order to determine the virtual SIM card, step 208 is performed, if not, step 214 is performed;
  • Step 208 The mobile terminal connects to the current WLAN AP according to the determined virtual SIM card, and the process ends.
  • Step 209 The mobile terminal determines whether the operator information of the primary virtual SIM card is currently connected.
  • the WLAN AP corresponds to the same carrier information. If they are the same, go to step 213. If they are different, go to step 210.
  • Step 210 The mobile terminal queries the virtual SIM card list according to the mobile country code corresponding to the currently connectable WLAN AP, and obtains the virtual SIM card information of the domestic roaming location corresponding to the mobile country code.
  • Step 211 whether there is a virtual SIM card of the domestic roaming place, if yes, step 212 is performed, if not, step 214 is performed;
  • Step 212 The mobile terminal determines whether the operator of the virtual SIM card in the domestic roaming area is consistent with the operator information corresponding to the currently connected WLAN AP. If they are consistent, the virtual SIM card of the domestic roaming place (such as the secondary virtual SIM card 2) In order to determine the virtual SIM card, step 208 is performed, if not, step 214 is performed;
  • Step 213 The current primary virtual SIM card is a determined virtual SIM card, there is no need to switch the SIM card, and step 208 is performed;
  • Step 214 The mobile terminal switches to another WLAN AP.
  • the comparison process of the country code information and the operator information is performed for the next currently connected WLAN AP, and so on, until the required virtual SIM card is found. And finding the WLAN AP according to the required virtual SIM card as the currently adapted WLAN AP.
  • the search order of the currently connectable WLAN AP is, for example, an order in which the signal strength of the currently connectable WLAN AP is high to low.
  • the virtual SIM card with the highest priority is determined as the required virtual SIM card.
  • the virtual SIM card list setting in this embodiment is still taken as an example.
  • the virtual SIM card of the international roaming place or the virtual SIM card of the domestic roaming place may be directly executed without performing step 207 or step 212. Determined to be the desired virtual SIM card.
  • the required virtual SIM card may be determined based only on the mobile country code information match. Specifically, the mobile country code information defined by the 3GPP is determined according to the country code information of the currently connectable WLAN AP; and the movement of each virtual SIM card in the current virtual SIM card list is obtained.
  • the country code information (in which the setting of the virtual SIM card list is the same as in the first embodiment); determining whether the mobile country code information of the primary virtual SIM card is consistent with the mobile country code information of the currently connected WLAN AP, and if they are consistent, the master The virtual SIM card is the required SIM card; if it is inconsistent, it is determined whether the mobile country code information of the secondary virtual SIM card 1 is consistent with the mobile country code information of the currently connected WLAN AP, and if they are consistent, the secondary virtual SIM card 1 is If the SIM card is inconsistent, it is determined whether the mobile country code information of the secondary virtual SIM card 2 is consistent with the mobile country code information of the currently connectable WLAN AP, and if they are consistent, the secondary virtual SIM card 2 is the required SIM card; If they are inconsistent, switch to another WLAN AP to judge.
  • the required virtual SIM card may be determined based only on carrier information matching. Specifically, the operator information of the 3GPP defined by the WLAN AP is determined according to the prefix identification information of the SSID information of the currently connectable WLAN AP, and the carrier information of each virtual SIM card in the current virtual SIM card list is obtained. The setting of the virtual SIM card list is the same as that in the first embodiment. The operator information of the primary virtual SIM card is consistent with the carrier information of the currently connected WLAN AP. If they are consistent, the primary virtual SIM card is the required SIM. If the card is inconsistent, it is determined whether the carrier information of the secondary virtual SIM card 1 is consistent with the carrier information of the currently connected WLAN AP.
  • the secondary virtual SIM card 1 is the required SIM card; Whether the carrier information of the virtual SIM card 2 is consistent with the carrier information of the currently connected WLAN AP. If they are consistent, the secondary virtual SIM card 2 is the required SIM card; if not, the switch is switched to another WLAN AP for determination.
  • a virtual SIM card with consistent information is determined for each currently connected WLAN AP by comparing the mobile country code information and the carrier information, respectively.
  • the priority of the virtual SIM card is determined as the virtual SIM card with the highest priority, and the currently connected WLAN AP according to the virtual SIM card is the currently adapted WLAN AP.
  • the number of currently connectable WLAN APs that the virtual SIM card is based on is at least two, the currently connectable WLAN AP with the higher signal strength is determined as the currently adapted WLAN AP.
  • An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
  • the embodiment of the present invention further provides a virtual SIM card-based wireless access point switching system, including: an obtaining module, configured to obtain information of a currently connectable WLAN AP; and a processing module configured to be currently connected according to the obtained The information of the WLAN AP determines the required virtual SIM card from the preset virtual SIM card list; and the connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
  • a virtual SIM card-based wireless access point switching system including: an obtaining module, configured to obtain information of a currently connectable WLAN AP; and a processing module configured to be currently connected according to the obtained The information of the WLAN AP determines the required virtual SIM card from the preset virtual SIM card list; and the connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
  • the processing module is further configured to select a currently connectable WLAN AP according to the signal strength of the WLAN AP before the acquiring module acquires the information of the currently connectable WLAN AP.
  • the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
  • the processing module is configured to: determine corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, from a preset virtual SIM card list.
  • the virtual SIM card matching the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP is searched, and the virtual SIM card with the highest priority obtained by the query is determined as the required virtual SIM card, and the query obtains the required requirement.
  • the currently connectable WLAN AP based on the virtual SIM card is the currently adapted WLAN AP.
  • the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
  • FIG. 4 is a schematic diagram of a virtual SIM card-based wireless access point switching system according to Embodiment 1 of the present invention.
  • a virtual SIM card-based wireless access point switching system according to Embodiment 1 of the present invention is provided in a mobile terminal, including: an obtaining module 301, a processing module 302, a SIM card module 304, a connection module 303, and a communication. Module 305.
  • the processing module 302 is configured to select a currently connectable WLAN AP according to the signal strength of the WLAN AP.
  • the obtaining module 301 is configured to scan and connect to an external WLAN AP, and obtain a country code and carrier information of the current WLAN AP.
  • the connection module 303 is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card. In practical applications, the functions of the obtaining module 301 and the connecting module 303 can be integrated, for example, in the WIFI module of the mobile terminal.
  • the processing module 302 is further configured to be currently connected according to the obtaining module 301.
  • the information of the WLAN AP determines whether the virtual SIM card information needs to be switched, and if necessary, acquires the virtual SIM card information from the SIM card module 304; and according to the user subscription information, notifies the communication module 305 to update the SIM list information.
  • the SIM card module 304 is configured with a set of virtual SIM card list information in advance.
  • the content of the virtual SIM card list information is the same as that described above, and thus is not described herein.
  • the SIM card module 304 is configured to provide the virtual SIM card list information to the processing module 302; and the updated SIM card list information is also obtained through the communication module 305.
  • the communication module 305 is configured to be responsible for communicating with the virtual SIM card server, and acquiring and updating the virtual SIM card list information in the SIM card module 304 according to the instruction of the processing module 302.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the foregoing technical solution realizes that the terminal automatically switches the SIM card, thereby ensuring that the terminal successfully accesses the WLAN AP, and expands the usage scenario of the WLAN AP, thereby reducing the user usage fee and improving the user experience.

Abstract

A virtual SIM card based wireless access point switching method and system, the method comprising: acquiring information about a WLAN AP which can be connected currently; according to the acquired information about the WLAN AP which can be connected currently, determining a required virtual SIM card from a pre-set virtual SIM card list; and according to the determined virtual SIM card, connecting a currently adapted WLAN AP. The technical solution can solve the problems in the related art, such as poor information security and user experience, caused when a terminal accesses different operator WLAN APs via a roaming service.

Description

一种基于虚拟SIM卡的无线接入点切换方法及系统Wireless SIM card switching method and system based on virtual SIM card 技术领域Technical field
本文涉及但不限于无线通信领域,尤其涉及一种基于虚拟SIM卡的无线接入点切换方法及系统。This document relates to, but is not limited to, the field of wireless communications, and in particular, to a wireless SIM card-based wireless access point switching method and system.
背景技术Background technique
虚拟客户识别模块(SIM,Subscriber Identity Module)是一种将传统SIM卡中的信息存储在终端中,然后由CPU直接访问的技术。虚拟SIM卡相比传统的SIM卡具有方便集中管理、工作温度范围广、成本低等优点。The Subscriber Identity Module (SIM) is a technology that stores information in a conventional SIM card in a terminal and then directly accessed by the CPU. Compared with the traditional SIM card, the virtual SIM card has the advantages of convenient centralized management, wide operating temperature range and low cost.
随着互联网的快速发展,公共场所、办公场所和家庭网络设备越来越多地使用无线局域网(WLAN,Wireless Local Area Networks)接入点(AP,Access Point)技术获取互联网服务。由于移动网络资费过高,用户希望通过使用WLAN AP接入来降低资费。另外,各运营商通过积极部署大量的WLAN AP来降低传统LTE/3G/4G网络的数据压力。With the rapid development of the Internet, public places, office places, and home network devices are increasingly using wireless local area network (WLAN) Access Point (AP) technology to obtain Internet services. Due to the high mobile network tariffs, users want to reduce tariffs by using WLAN AP access. In addition, each operator reduces the data pressure of the traditional LTE/3G/4G network by actively deploying a large number of WLAN APs.
然而,目前,各运营商部署的WLAN AP接入时需要验证终端的SIM卡信息,若终端需要支持接入不同运营商的WLAN AP,则需要不同运营商之间签署漫游协议且终端购买漫游服务。如此,终端若需要支持漫游服务,需要将SIM卡信息通知给其他运营商(如漫游地运营商),从而导致用户信息泄露,不利于信息保护;另外,用户需要购买相关漫游服务,增加了用户的使用费用,从而降低了用户体验。However, at present, the WLAN AP deployed by each operator needs to verify the SIM card information of the terminal. If the terminal needs to support the WLAN AP of different operators, the roaming agreement between different operators is required, and the terminal purchases the roaming service. . In this way, if the terminal needs to support the roaming service, the terminal needs to notify the SIM card information to other operators (such as the roaming operator), thereby causing the user information to be leaked, which is not conducive to information protection; in addition, the user needs to purchase the related roaming service and increase the user. The cost of use, which reduces the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种基于虚拟SIM卡的无线接入点切换方法及系统,能够用来解决相关技术中终端通过漫游服务接入不同运营商WLAN AP时导 致的信息安全和用户体验不佳的技术问题。The embodiment of the invention provides a method and a system for switching a wireless access point based on a virtual SIM card, which can be used to solve the problem that a terminal accesses a WLAN AP of a different operator through a roaming service in the related art. Technical issues related to information security and poor user experience.
本发明实施例提供一种基于虚拟SIM卡的无线接入点切换方法,包括:获取当前能连接的WLAN AP的信息;根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。An embodiment of the present invention provides a method for switching a wireless access point based on a virtual SIM card, including: acquiring information of a currently connected WLAN AP; and obtaining a virtual SIM card according to the obtained information of the currently connectable WLAN AP. The required virtual SIM card is determined in the list; according to the determined virtual SIM card, the currently adapted WLAN AP is connected.
可选地,所述获取当前能连接的WLAN AP的信息之前,上述方法还包括:根据WLAN AP的信号强度,选择当前能连接的WLAN AP。Optionally, before the obtaining the information of the currently connectable WLAN AP, the method further includes: selecting, according to the signal strength of the WLAN AP, the currently connectable WLAN AP.
可选地,所述WLAN AP的信息包括所述WLAN AP对应的国家码信息和服务集标识SSID信息。Optionally, the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
可选地,所述根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定适配的虚拟SIM卡包括:根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和/或运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,查询得到所需的的虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP。Optionally, the determining, according to the obtained information of the currently connectable WLAN AP, determining the adapted virtual SIM card from the preset virtual SIM card list comprises: determining, according to the acquired information of the currently connectable WLAN AP, The mobile country code information and/or the operator information, and the virtual SIM card that matches the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP is searched from the preset virtual SIM card list, and the query is obtained. The virtual SIM card with the highest priority is determined as the required virtual SIM card, and the currently connected WLAN AP according to the virtual SIM card obtained by the query is the currently adapted WLAN AP.
可选地,所述预先设置的虚拟SIM卡列表包括主虚拟SIM卡及至少一个副虚拟SIM卡。Optionally, the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
本发明实施例还提供一种基于虚拟SIM卡的无线接入点切换系统,包括:获取模块,设置为获取当前能连接的WLAN AP的信息;处理模块,设置为根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;连接模块,设置为根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。The embodiment of the present invention further provides a virtual SIM card-based wireless access point switching system, comprising: an obtaining module, configured to obtain information of a currently connectable WLAN AP; and a processing module configured to obtain a currently connectable WLAN according to the obtained The information of the AP determines the required virtual SIM card from the preset virtual SIM card list; and the connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
可选地,所述处理模块,还设置为在所述获取模块获取当前能连接的WLAN AP的信息之前,根据WLAN AP的信号强度,选择当前能连接的WLAN AP。Optionally, the processing module is further configured to select, according to the signal strength of the WLAN AP, the currently connectable WLAN AP, before the acquiring module acquires the information of the currently connectable WLAN AP.
可选地,所述WLAN AP的信息包括所述WLAN AP对应的国家码信息和服务集标识SSID信息。 Optionally, the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
可选地,所述处理模块,是设置为根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡包括:根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,查询得到所需的虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP。Optionally, the processing module is configured to determine, according to the obtained information of the currently connectable WLAN AP, the required virtual SIM card from the preset virtual SIM card list, including: according to the obtained currently connectable WLAN The information of the AP determines the corresponding mobile country code information and the operator information, and searches for a virtual SIM card that matches the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP from the preset virtual SIM card list. The virtual SIM card with the highest priority is determined as the required virtual SIM card, and the currently connected WLAN AP according to the virtual SIM card obtained by the query is the currently adapted WLAN AP.
可选地,所述预先设置的虚拟SIM卡列表包括主虚拟SIM卡及至少一个副虚拟SIM卡。Optionally, the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
在本发明实施例中,获取当前能连接的WLAN AP的信息;根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。如此,在连接WLAN AP时,通过WLAN AP的信息确定适配的虚拟SIM卡,实现了自动切换终端的SIM卡,从而确保终端成功接入WLAN AP,而且,扩展了WLAN AP的使用场景,降低了用户使用费用,提升了用户体验。In the embodiment of the present invention, the information about the currently connectable WLAN AP is obtained; and the required virtual SIM card is determined from the preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP; A virtual SIM card that connects to the currently adapted WLAN AP. In this way, when the WLAN AP is connected, the WLAN AP is determined by the information of the WLAN AP, and the SIM card of the terminal is automatically switched, thereby ensuring that the terminal successfully accesses the WLAN AP, and the WLAN AP usage scenario is extended and the WLAN AP is used. User usage fees have increased the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的基于虚拟SIM卡的无线接入点切换方法的流程图;1 is a flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention;
图2为本发明实施例提供的基于虚拟SIM卡的无线接入点切换方法的详细流程图;2 is a detailed flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention;
图3为本发明实施例中确定所需的虚拟SIM卡的流程图;3 is a flowchart of determining a virtual SIM card required in an embodiment of the present invention;
图4为本发明实施例提供的基于虚拟SIM卡的无线接入点切换系统的示意图。 FIG. 4 is a schematic diagram of a virtual SIM card-based wireless access point switching system according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
以下结合附图对本发明实施例进行详细说明,应当理解,以下所说明的实施例仅用于说明和解释本发明,并不用于限定本发明。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1为本发明实施例提供的基于虚拟SIM卡的无线接入点切换方法的流程图。如图1所示,本发明实施例提供的基于虚拟SIM卡的无线接入点切换方法包括以下步骤:FIG. 1 is a flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention. As shown in FIG. 1 , a virtual SIM card-based wireless access point switching method provided by an embodiment of the present invention includes the following steps:
步骤11:移动终端获取当前能连接的WLAN AP的信息。Step 11: The mobile terminal acquires information of the currently connected WLAN AP.
可选的,于本步骤之前,该方法还包括:根据WLAN AP的信号强度,选择当前能连接的WLAN AP。Optionally, before the step, the method further includes: selecting, according to the signal strength of the WLAN AP, the currently connectable WLAN AP.
于本步骤中,WLAN AP的信息包括所述WLAN AP对应的国家码信息和服务集标识(SSID,Service Set Identifier)信息。In this step, the information of the WLAN AP includes the country code information and the Service Set Identifier (SSID) information corresponding to the WLAN AP.
步骤12:移动终端根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡。Step 12: The mobile terminal determines the required virtual SIM card from the preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP.
于一实施例中,本步骤包括:根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和/或运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡。In an embodiment, the step includes: determining corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, and querying the current virtual SIM card list from the preset virtual SIM card list. The virtual SIM card of the mobile country code information and/or the operator information corresponding to the WLAN AP determines the virtual SIM card with the highest priority obtained as the required virtual SIM card.
于此,预先设置的虚拟SIM卡列表包括主虚拟SIM卡及至少一个副虚拟SIM卡。其中,主虚拟SIM卡与用户账号信息一一对应,只能在当前移动终端使用且默认无法修改。副虚拟SIM卡由运营商或第三方虚拟SIM卡提供商提供,副虚拟SIM卡仅用于WLAN AP接入的鉴权服务,不支持传统的LTE/3G/4G服务,而且,副虚拟SIM卡可预先设置多组并可以修改,如此,可作为公共账号供不同用户在不同终端上使用,从而保护用户信息。于此,预先设置的虚拟SIM卡列表中,主虚拟SIM卡的优先级高于副虚拟SIM卡。Here, the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card. The primary virtual SIM card has a one-to-one correspondence with the user account information, and can only be used by the current mobile terminal and cannot be modified by default. The secondary virtual SIM card is provided by the operator or a third-party virtual SIM card provider, and the secondary virtual SIM card is only used for the authentication service of the WLAN AP access, does not support the traditional LTE/3G/4G service, and the secondary virtual SIM card Multiple groups can be set in advance and can be modified. Thus, it can be used as a public account for different users to use on different terminals, thereby protecting user information. Here, in the preset virtual SIM card list, the priority of the primary virtual SIM card is higher than that of the secondary virtual SIM card.
步骤13:移动终端根据确定出的虚拟SIM卡,连接当前适配的WLAN AP; Step 13: The mobile terminal connects to the currently adapted WLAN AP according to the determined virtual SIM card.
与通过步骤12得到的虚拟SIM卡匹配的WLAN AP为当前适配的WLAN AP。The WLAN AP that matches the virtual SIM card obtained in step 12 is the currently adapted WLAN AP.
图2为本发明实施例提供的基于虚拟SIM卡的无线接入点切换方法的详细流程图。如图2所示,对本实施例的各步骤加以详细说明:FIG. 2 is a detailed flowchart of a method for switching a wireless access point based on a virtual SIM card according to an embodiment of the present invention. As shown in FIG. 2, the steps of this embodiment are described in detail:
步骤101:移动终端扫描当前WLAN AP列表信息;Step 101: The mobile terminal scans the current WLAN AP list information.
步骤102:移动终端判断当前WLAN AP列表是否为空,若为空,则执行步骤111,若不为空,则执行步骤103;Step 102: The mobile terminal determines whether the current WLAN AP list is empty, if it is empty, step 111 is performed, if not, step 103 is performed;
步骤103:移动终端根据WLAN AP的信号强度,选择当前能连接的WLAN AP,可选的,选择信号强度满足预设阈值的WLAN AP为当前能连接的WLAN AP(例如,为0个或至少一个);Step 103: The mobile terminal selects a currently available WLAN AP according to the signal strength of the WLAN AP. Optionally, the WLAN AP whose signal strength meets the preset threshold is a currently WLAN AP that can be connected (for example, 0 or at least one). );
步骤104:移动终端判断是否存在可连接的WLAN AP,若不存在,则执行步骤111,若存在,则执行步骤105;Step 104: The mobile terminal determines whether there is a connectable WLAN AP, if not, step 111 is performed, if yes, step 105 is performed;
步骤105:移动终端获取当前能连接的WLAN AP的信息,其中,WLAN AP的信息包括WLAN AP对应的国家码信息和SSID信息,于此,若当前能连接的WLAN AP的信息为多个时,获取每个当前能连接的WLAN AP的信息;Step 105: The mobile terminal acquires the information of the currently connected WLAN AP, where the information of the WLAN AP includes the country code information and the SSID information corresponding to the WLAN AP, where if the information of the currently available WLAN AP is multiple, Obtain information about each currently available WLAN AP;
步骤106:移动终端根据WLAN AP的信息,从虚拟SIM卡列表中确定所需的虚拟SIM卡,其中,本步骤的详细过程参照图3的描述;Step 106: The mobile terminal determines the required virtual SIM card from the virtual SIM card list according to the information of the WLAN AP, wherein the detailed process of this step refers to the description of FIG. 3;
步骤107:移动终端发起连接外部WLAN AP;Step 107: The mobile terminal initiates connection to the external WLAN AP.
步骤108:移动终端判断WLAN AP是否连接成功,若连接成功,则执行步骤109,若连接失败,则执行步骤110;Step 108: The mobile terminal determines whether the WLAN AP is successfully connected. If the connection is successful, step 109 is performed. If the connection fails, step 110 is performed;
步骤109:移动终端保持WLAN AP连接;Step 109: The mobile terminal maintains a WLAN AP connection.
步骤110:移动终端判断是否存在其他可连接的WLAN AP,若存在,则执行步骤105,若不存在,则执行步骤111;Step 110: The mobile terminal determines whether there are other connectable WLAN APs, if yes, step 105 is performed, if not, step 111 is performed;
步骤111:当前没有WLAN AP可连接,移动终端切换到其他网络(如LTE/3G/4G等)。Step 111: Currently, no WLAN AP can be connected, and the mobile terminal switches to another network (such as LTE/3G/4G, etc.).
图3为本发明实施例一中确定所需的虚拟SIM卡的流程图。于本实施例 中,预先设置的虚拟SIM卡列表例如包括主虚拟SIM卡及两个副虚拟SIM卡(副虚拟SIM卡1和副虚拟SIM卡2),且主虚拟SIM卡的优先级高于副虚拟SIM卡1,副虚拟SIM卡1的优先级高于副虚拟SIM卡2。如图3所示,该流程包括以下步骤:FIG. 3 is a flowchart of determining a virtual SIM card required in Embodiment 1 of the present invention. In this embodiment The preset virtual SIM card list includes, for example, a primary virtual SIM card and two secondary virtual SIM cards (the secondary virtual SIM card 1 and the secondary virtual SIM card 2), and the primary virtual SIM card has a higher priority than the secondary virtual SIM card. 1. The secondary virtual SIM card 1 has a higher priority than the secondary virtual SIM card 2. As shown in Figure 3, the process includes the following steps:
步骤201:移动终端根据当前能连接的WLAN AP的国家码信息,确定第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)定义的移动国家码信息,具体而言,WLAN AP的国家码信息中携带有移动国家码信息,通过信息解析即可获取对应的移动国家码;Step 201: The mobile terminal determines, according to the country code information of the currently connectable WLAN AP, the mobile country code information defined by the 3rd Generation Partnership Project (3GPP), specifically, the country code information of the WLAN AP. Carrying the mobile country code information, and obtaining the corresponding mobile country code through information analysis;
步骤202:移动终端根据当前能连接的WLAN AP的SSID信息的前缀标识信息,确定WLAN AP对应的3GPP定义的运营商信息,具体而言,根据WLAN AP的SSID信息的前缀标识信息及可参照的信息转换列表,经过信息转换可以得到对应的运营商信息;Step 202: The mobile terminal determines, according to the prefix identification information of the SSID information of the WLAN AP that can be connected, the operator information of the 3GPP defined by the WLAN AP, specifically, the prefix identification information of the SSID information of the WLAN AP and the reference information that can be referred to. The information conversion list can obtain corresponding operator information after information conversion;
步骤203:移动终端获取当前的虚拟SIM卡列表中每个虚拟SIM卡的移动国家码信息和运营商信息;Step 203: The mobile terminal acquires mobile country code information and carrier information of each virtual SIM card in the current virtual SIM card list.
步骤204:移动终端判断主虚拟SIM卡的移动国家码信息是否与当前能连接的WLAN AP的移动国家码信息一致,若一致,则执行步骤209,若不一致,则执行步骤205;Step 204: The mobile terminal determines whether the mobile country code information of the primary virtual SIM card is consistent with the mobile country code information of the currently connected WLAN AP, if yes, step 209 is performed, if not, step 205 is performed;
步骤205:移动终端根据当前能连接的WLAN AP对应的移动国家码查询虚拟SIM卡列表,获取该移动国家码对应的国际漫游地的虚拟SIM卡信息;Step 205: The mobile terminal queries the virtual SIM card list according to the mobile country code corresponding to the currently connected WLAN AP, and obtains the virtual SIM card information of the international roaming location corresponding to the mobile country code.
步骤206:是否存在国际漫游地的虚拟SIM卡,若存在,则执行步骤207,若不存在,则执行步骤214;Step 206: whether there is a virtual SIM card of the international roaming place, if yes, step 207 is performed, if not, step 214 is performed;
步骤207:移动终端判断国际漫游地的虚拟SIM卡的运营商是否与当前能连接的WLAN AP对应的运营商信息一致,若一致,则该国际漫游地的虚拟SIM卡(如副虚拟SIM卡1)为确定出的虚拟SIM卡,执行步骤208,若不一致,则执行步骤214;Step 207: The mobile terminal determines whether the operator of the virtual SIM card of the international roaming place is consistent with the operator information corresponding to the currently connected WLAN AP. If they are consistent, the virtual SIM card of the international roaming place (such as the secondary virtual SIM card 1) In order to determine the virtual SIM card, step 208 is performed, if not, step 214 is performed;
步骤208:移动终端根据确定出的虚拟SIM卡,连接当前WLAN AP,流程结束。Step 208: The mobile terminal connects to the current WLAN AP according to the determined virtual SIM card, and the process ends.
步骤209:移动终端判断主虚拟SIM卡的运营商信息是否与当前能连接 的WLAN AP对应的运营商信息一致,若一致,则执行步骤213,若不一致,则执行步骤210;Step 209: The mobile terminal determines whether the operator information of the primary virtual SIM card is currently connected. The WLAN AP corresponds to the same carrier information. If they are the same, go to step 213. If they are different, go to step 210.
步骤210:移动终端根据当前能连接的WLAN AP对应的移动国家码查询虚拟SIM卡列表,获取该移动国家码对应的国内漫游地的虚拟SIM卡信息;Step 210: The mobile terminal queries the virtual SIM card list according to the mobile country code corresponding to the currently connectable WLAN AP, and obtains the virtual SIM card information of the domestic roaming location corresponding to the mobile country code.
步骤211:是否存在国内漫游地的虚拟SIM卡,若存在,则执行步骤212,若不存在,则执行步骤214;Step 211: whether there is a virtual SIM card of the domestic roaming place, if yes, step 212 is performed, if not, step 214 is performed;
步骤212:移动终端判断国内漫游地的虚拟SIM卡的运营商是否与当前能连接的WLAN AP对应的运营商信息一致,若一致,则该国内漫游地的虚拟SIM卡(如副虚拟SIM卡2)为确定出的虚拟SIM卡,执行步骤208,若不一致,则执行步骤214;Step 212: The mobile terminal determines whether the operator of the virtual SIM card in the domestic roaming area is consistent with the operator information corresponding to the currently connected WLAN AP. If they are consistent, the virtual SIM card of the domestic roaming place (such as the secondary virtual SIM card 2) In order to determine the virtual SIM card, step 208 is performed, if not, step 214 is performed;
步骤213:当前主虚拟SIM卡为确定出的虚拟SIM卡,不需要切换SIM卡,并执行步骤208;Step 213: The current primary virtual SIM card is a determined virtual SIM card, there is no need to switch the SIM card, and step 208 is performed;
步骤214:移动终端切换至其他WLAN AP。Step 214: The mobile terminal switches to another WLAN AP.
此外,若针对该WLAN AP不存在匹配的虚拟SIM卡,则针对下一个当前能连接的WLAN AP同样执行国家码信息和运营商信息的比较流程,并依次类推,直至找到所需的虚拟SIM卡,且查找出该所需的的虚拟SIM卡依据的WLAN AP为当前适配的WLAN AP。其中,上述当前能连接的WLAN AP的查找顺序例如为当前能连接的WLAN AP的信号强度由高至低的顺序。另外,于其他实施例中,若确定出的虚拟SIM卡的数目为多个,则将优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡。In addition, if there is no matching virtual SIM card for the WLAN AP, the comparison process of the country code information and the operator information is performed for the next currently connected WLAN AP, and so on, until the required virtual SIM card is found. And finding the WLAN AP according to the required virtual SIM card as the currently adapted WLAN AP. The search order of the currently connectable WLAN AP is, for example, an order in which the signal strength of the currently connectable WLAN AP is high to low. In addition, in other embodiments, if the number of the determined virtual SIM cards is multiple, the virtual SIM card with the highest priority is determined as the required virtual SIM card.
仍以本实施例的虚拟SIM卡列表设置为例,在实际应用中,根据实际情况(如不同运营商的资费相同时),当判断存在国际漫游地的虚拟SIM卡(如步骤206的结果为是)或存在国内漫游地的虚拟SIM卡时(如步骤211的结果为是),无需执行步骤207或步骤212,可直接将存在的国际漫游地的虚拟SIM卡或国内漫游地的虚拟SIM卡确定为所需的虚拟SIM卡。The virtual SIM card list setting in this embodiment is still taken as an example. In actual applications, according to the actual situation (such as when the tariffs of different operators are the same), when it is determined that there is a virtual SIM card of an international roaming place (the result of step 206 is Yes) or when there is a virtual SIM card in the domestic roaming place (as the result of step 211 is YES), the virtual SIM card of the international roaming place or the virtual SIM card of the domestic roaming place may be directly executed without performing step 207 or step 212. Determined to be the desired virtual SIM card.
另外,于其他实施例中,可仅根据移动国家码信息匹配确定所需的虚拟SIM卡。具体而言,根据当前能连接的WLAN AP的国家码信息,确定3GPP定义的移动国家码信息;获取当前的虚拟SIM卡列表中每个虚拟SIM卡的移 动国家码信息(其中,虚拟SIM卡列表的设置例如同实施例一);判断主虚拟SIM卡的移动国家码信息是否与当前能连接的WLAN AP的移动国家码信息一致,若一致,则主虚拟SIM卡为所需的SIM卡;若不一致,判断副虚拟SIM卡1的移动国家码信息是否与当前能连接的WLAN AP的移动国家码信息一致,若一致,则副虚拟SIM卡1为所需的SIM卡;若不一致,判断副虚拟SIM卡2的移动国家码信息是否与当前能连接的WLAN AP的移动国家码信息一致,若一致,则副虚拟SIM卡2为所需的SIM卡;若不一致,切换至其他WLAN AP进行判断。Additionally, in other embodiments, the required virtual SIM card may be determined based only on the mobile country code information match. Specifically, the mobile country code information defined by the 3GPP is determined according to the country code information of the currently connectable WLAN AP; and the movement of each virtual SIM card in the current virtual SIM card list is obtained. The country code information (in which the setting of the virtual SIM card list is the same as in the first embodiment); determining whether the mobile country code information of the primary virtual SIM card is consistent with the mobile country code information of the currently connected WLAN AP, and if they are consistent, the master The virtual SIM card is the required SIM card; if it is inconsistent, it is determined whether the mobile country code information of the secondary virtual SIM card 1 is consistent with the mobile country code information of the currently connected WLAN AP, and if they are consistent, the secondary virtual SIM card 1 is If the SIM card is inconsistent, it is determined whether the mobile country code information of the secondary virtual SIM card 2 is consistent with the mobile country code information of the currently connectable WLAN AP, and if they are consistent, the secondary virtual SIM card 2 is the required SIM card; If they are inconsistent, switch to another WLAN AP to judge.
另外,于其他实施例中,可仅根据运营商信息匹配确定所需的虚拟SIM卡。具体而言,根据当前能连接的WLAN AP的SSID信息的前缀标识信息,确定WLAN AP对应的3GPP定义的运营商信息;获取当前的虚拟SIM卡列表中每个虚拟SIM卡的运营商信息(其中,虚拟SIM卡列表的设置例如同实施例一);判断主虚拟SIM卡的运营商信息是否与当前能连接的WLAN AP的运营商信息一致,若一致,则主虚拟SIM卡为所需的SIM卡;若不一致,判断副虚拟SIM卡1的运营商信息是否与当前能连接的WLAN AP的运营商信息一致,若一致,则副虚拟SIM卡1为所需的SIM卡;若不一致,判断副虚拟SIM卡2的运营商信息是否与当前能连接的WLAN AP的运营商信息一致,若一致,则副虚拟SIM卡2为所需的SIM卡;若不一致,切换至其他WLAN AP进行判断。Additionally, in other embodiments, the required virtual SIM card may be determined based only on carrier information matching. Specifically, the operator information of the 3GPP defined by the WLAN AP is determined according to the prefix identification information of the SSID information of the currently connectable WLAN AP, and the carrier information of each virtual SIM card in the current virtual SIM card list is obtained. The setting of the virtual SIM card list is the same as that in the first embodiment. The operator information of the primary virtual SIM card is consistent with the carrier information of the currently connected WLAN AP. If they are consistent, the primary virtual SIM card is the required SIM. If the card is inconsistent, it is determined whether the carrier information of the secondary virtual SIM card 1 is consistent with the carrier information of the currently connected WLAN AP. If they are consistent, the secondary virtual SIM card 1 is the required SIM card; Whether the carrier information of the virtual SIM card 2 is consistent with the carrier information of the currently connected WLAN AP. If they are consistent, the secondary virtual SIM card 2 is the required SIM card; if not, the switch is switched to another WLAN AP for determination.
此外,于其他实施例中,当前能连接的WLAN AP例如为多个时,分别通过移动国家码信息和运营商信息比较为每个当前能连接的WLAN AP确定信息一致的虚拟SIM卡,按照得到的虚拟SIM卡的优先级,将优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,且查询得到该虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP,若查询得到该虚拟SIM卡依据的当前能连接的WLAN AP的数目为至少两个时,将信号强度较高的当前能连接的WLAN AP确定为当前适配的WLAN AP。In addition, in other embodiments, when there are multiple WLAN APs that can be connected, for example, a virtual SIM card with consistent information is determined for each currently connected WLAN AP by comparing the mobile country code information and the carrier information, respectively. The priority of the virtual SIM card is determined as the virtual SIM card with the highest priority, and the currently connected WLAN AP according to the virtual SIM card is the currently adapted WLAN AP. When the number of currently connectable WLAN APs that the virtual SIM card is based on is at least two, the currently connectable WLAN AP with the higher signal strength is determined as the currently adapted WLAN AP.
本发明实施例提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。 An embodiment of the present invention provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the foregoing method.
此外,本发明实施例还提供一种基于虚拟SIM卡的无线接入点切换系统包括:获取模块,设置为获取当前能连接的WLAN AP的信息;处理模块,设置为根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;连接模块,设置为根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。In addition, the embodiment of the present invention further provides a virtual SIM card-based wireless access point switching system, including: an obtaining module, configured to obtain information of a currently connectable WLAN AP; and a processing module configured to be currently connected according to the obtained The information of the WLAN AP determines the required virtual SIM card from the preset virtual SIM card list; and the connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
于一实施例中,所述处理模块,还设置为在所述获取模块获取当前能连接的WLAN AP的信息之前,根据WLAN AP的信号强度,选择当前能连接的WLAN AP。In an embodiment, the processing module is further configured to select a currently connectable WLAN AP according to the signal strength of the WLAN AP before the acquiring module acquires the information of the currently connectable WLAN AP.
于一实施例中,所述WLAN AP的信息包括所述WLAN AP对应的国家码信息和服务集标识SSID信息。In an embodiment, the information of the WLAN AP includes country code information and service set identifier SSID information corresponding to the WLAN AP.
于一实施例中,所述处理模块,是设置为:根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和/或运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,查询得到该所需的虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP。In an embodiment, the processing module is configured to: determine corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, from a preset virtual SIM card list. The virtual SIM card matching the mobile country code information and/or the operator information corresponding to the currently connected WLAN AP is searched, and the virtual SIM card with the highest priority obtained by the query is determined as the required virtual SIM card, and the query obtains the required requirement. The currently connectable WLAN AP based on the virtual SIM card is the currently adapted WLAN AP.
于一实施例中,预先设置的虚拟SIM卡列表包括主虚拟SIM卡及至少一个副虚拟SIM卡。In an embodiment, the preset virtual SIM card list includes a primary virtual SIM card and at least one secondary virtual SIM card.
图4为本发明实施例一提供的基于虚拟SIM卡的无线接入点切换系统的示意图。如图4所示,本发明实施例一提供的基于虚拟SIM卡的无线接入点切换系统,设置于移动终端,包括:获取模块301、处理模块302、SIM卡模块304、连接模块303以及通信模块305。FIG. 4 is a schematic diagram of a virtual SIM card-based wireless access point switching system according to Embodiment 1 of the present invention. As shown in FIG. 4, a virtual SIM card-based wireless access point switching system according to Embodiment 1 of the present invention is provided in a mobile terminal, including: an obtaining module 301, a processing module 302, a SIM card module 304, a connection module 303, and a communication. Module 305.
于此,处理模块302,设置为根据WLAN AP的信号强度选择当前能连接的WLAN AP。获取模块301,设置为扫描和连接外部的WLAN AP;获取当前WLAN AP的国家码和运营商信息。连接模块303,设置为根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。于实际应用中,获取模块301和连接模块303的功能例如可整合在移动终端的WIFI模块中。Here, the processing module 302 is configured to select a currently connectable WLAN AP according to the signal strength of the WLAN AP. The obtaining module 301 is configured to scan and connect to an external WLAN AP, and obtain a country code and carrier information of the current WLAN AP. The connection module 303 is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card. In practical applications, the functions of the obtaining module 301 and the connecting module 303 can be integrated, for example, in the WIFI module of the mobile terminal.
于此,处理模块302,还设置为根据获取模块301得到的当前能连接的 WLAN AP的信息,判断是否需要切换虚拟SIM卡信息,若需要,则从SIM卡模块304获取虚拟SIM卡信息;根据用户签约信息,通知通信模块305更新SIM列表信息。Here, the processing module 302 is further configured to be currently connected according to the obtaining module 301. The information of the WLAN AP determines whether the virtual SIM card information needs to be switched, and if necessary, acquires the virtual SIM card information from the SIM card module 304; and according to the user subscription information, notifies the communication module 305 to update the SIM list information.
于此,SIM卡模块304在出厂时预先设置一组虚拟SIM卡列表信息,其中,虚拟SIM卡列表信息的内容同上述方法所述,故于此不再赘述。SIM卡模块304,设置为给处理模块302提供虚拟SIM卡列表信息;还通过通信模块305获取更新的SIM卡列表信息。The SIM card module 304 is configured with a set of virtual SIM card list information in advance. The content of the virtual SIM card list information is the same as that described above, and thus is not described herein. The SIM card module 304 is configured to provide the virtual SIM card list information to the processing module 302; and the updated SIM card list information is also obtained through the communication module 305.
于此,通信模块305,设置为负责与虚拟SIM卡服务器通信,根据处理模块302的指令获取和更新SIM卡模块304内的虚拟SIM卡列表信息。Here, the communication module 305 is configured to be responsible for communicating with the virtual SIM card server, and acquiring and updating the virtual SIM card list information in the SIM card module 304 according to the instruction of the processing module 302.
此外,上述系统的处理过程同上述方法所述,故于此不再赘述。In addition, the processing of the above system is the same as that described above, and thus will not be described again.
以上内容是结合具体的实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。The above is a further detailed description of the present invention in connection with the specific embodiments, and the specific embodiments of the present invention are not limited to the description.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。 When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
上述技术方案实现了终端自动切换SIM卡,从而确保终端成功接入WLAN AP,而且,扩展了WLAN AP的使用场景,降低了用户使用费用,提升了用户体验。 The foregoing technical solution realizes that the terminal automatically switches the SIM card, thereby ensuring that the terminal successfully accesses the WLAN AP, and expands the usage scenario of the WLAN AP, thereby reducing the user usage fee and improving the user experience.

Claims (11)

  1. 一种基于虚拟客户识别模块SIM卡的无线接入点切换方法,包括:A wireless access point switching method based on a virtual customer identification module SIM card, comprising:
    获取当前能连接的无线局域网WLAN接入点AP的信息;Obtain information about the currently available wireless local area network WLAN access point AP;
    根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;Determining a required virtual SIM card from a preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP;
    根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。Connect the currently adapted WLAN AP according to the determined virtual SIM card.
  2. 如权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    所述获取当前能连接的WLAN AP的信息之前,根据WLAN AP的信号强度,选择当前能连接的WLAN AP。Before obtaining the information of the currently connectable WLAN AP, according to the signal strength of the WLAN AP, the currently connected WLAN AP is selected.
  3. 如权利要求1所述的方法,其中,所述WLAN AP的信息包括:The method of claim 1, wherein the information of the WLAN AP comprises:
    所述WLAN AP对应的国家码信息和服务集标识SSID信息。The country code information and the service set identifier SSID information corresponding to the WLAN AP.
  4. 如权利要求1所述的方法,其中,所述根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡包括:The method of claim 1, wherein the determining the required virtual SIM card from the preset virtual SIM card list according to the obtained information of the currently connectable WLAN AP comprises:
    根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和/或运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,查询得到所需的虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP。Determining corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, and querying the mobile country code information corresponding to the currently connectable WLAN AP from the preset virtual SIM card list and / or the virtual SIM card of the operator information, the virtual SIM card with the highest priority obtained by the query is determined as the required virtual SIM card, and the currently connected WLAN AP according to the required virtual SIM card is obtained as the current adaptation. WLAN AP.
  5. 如权利要求1所述的方法,其中,所述预先设置的虚拟SIM卡列表包括:The method of claim 1, wherein the pre-set virtual SIM card list comprises:
    主虚拟SIM卡及至少一个副虚拟SIM卡。The primary virtual SIM card and at least one secondary virtual SIM card.
  6. 一种基于虚拟客户识别模块SIM卡的无线接入点切换系统,包括:A wireless access point switching system based on a virtual customer identification module SIM card, comprising:
    获取模块,设置为获取当前能连接的无线局域网WLAN接入点AP的信息;Obtaining a module, configured to obtain information about a currently connected wireless local area network WLAN access point AP;
    处理模块,设置为根据获取的当前能连接的WLAN AP的信息,从预先 设置的虚拟SIM卡列表中确定所需的虚拟SIM卡;The processing module is set to be based on the information of the currently available WLAN AP that can be connected. Determining the required virtual SIM card in the set virtual SIM card list;
    连接模块,设置为根据确定出的虚拟SIM卡,连接当前适配的WLAN AP。The connection module is configured to connect the currently adapted WLAN AP according to the determined virtual SIM card.
  7. 如权利要求6所述的系统,The system of claim 6
    所述处理模块,还设置为在所述获取模块获取当前能连接的WLAN AP的信息之前,根据WLAN AP的信号强度,选择当前能连接的WLAN AP。The processing module is further configured to select a currently connectable WLAN AP according to the signal strength of the WLAN AP before the acquiring module acquires the information of the currently connectable WLAN AP.
  8. 如权利要求6所述的系统,其中,所述WLAN AP的信息包括:The system of claim 6 wherein the information of the WLAN AP comprises:
    所述WLAN AP对应的国家码信息和服务集标识SSID信息。The country code information and the service set identifier SSID information corresponding to the WLAN AP.
  9. 如权利要求6所述的系统,其中,The system of claim 6 wherein
    所述处理模块,是设置为通过如下方式实现根据获取的当前能连接的WLAN AP的信息,从预先设置的虚拟SIM卡列表中确定所需的虚拟SIM卡:The processing module is configured to determine, according to the obtained information of the currently connectable WLAN AP, the required virtual SIM card from the preset virtual SIM card list:
    根据获取的当前能连接的WLAN AP的信息,确定对应的移动国家码信息和/或运营商信息,从预先设置的虚拟SIM卡列表中查询匹配当前能连接的WLAN AP对应的移动国家码信息和/或运营商信息的虚拟SIM卡,将查询得到的优先级最高的虚拟SIM卡确定为所需的虚拟SIM卡,查询得到所需的虚拟SIM卡依据的当前能连接的WLAN AP为当前适配的WLAN AP。Determining corresponding mobile country code information and/or operator information according to the obtained information of the currently connectable WLAN AP, and querying the mobile country code information corresponding to the currently connectable WLAN AP from the preset virtual SIM card list and / or the virtual SIM card of the operator information, the virtual SIM card with the highest priority obtained by the query is determined as the required virtual SIM card, and the currently connected WLAN AP according to the required virtual SIM card is obtained as the current adaptation. WLAN AP.
  10. 如权利要求6所述的系统,其中,所述预先设置的虚拟SIM卡列表包括:The system of claim 6 wherein said pre-set virtual SIM card list comprises:
    主虚拟SIM卡及至少一个副虚拟SIM卡。The primary virtual SIM card and at least one secondary virtual SIM card.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~5中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 5.
PCT/CN2015/094225 2015-05-20 2015-11-10 Virtual sim card based wireless access point switching method and system WO2016184050A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510261215.3A CN106304021A (en) 2015-05-20 2015-05-20 A kind of wireless access point switching method based on virtual SIM card and system
CN201510261215.3 2015-05-20

Publications (1)

Publication Number Publication Date
WO2016184050A1 true WO2016184050A1 (en) 2016-11-24

Family

ID=57319313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094225 WO2016184050A1 (en) 2015-05-20 2015-11-10 Virtual sim card based wireless access point switching method and system

Country Status (2)

Country Link
CN (1) CN106304021A (en)
WO (1) WO2016184050A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174420A (en) * 2018-02-02 2018-06-15 广东欧珀移动通信有限公司 Method for switching network, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014383A (en) * 2009-09-04 2011-04-13 黄金富 Method by using SIM (Subscriber Identity Model) card to authenticate identity of wireless terminal of WAPI (Wireless LAN Authentication and Privacy Infrastructure) wireless network
WO2013004905A1 (en) * 2011-07-07 2013-01-10 Nokia Corporation Trusted wireless local area network access
CN103796196A (en) * 2011-07-13 2014-05-14 华为终端有限公司 Method and device for access point autodial
CN104270361A (en) * 2014-09-29 2015-01-07 北京云漫游科技有限公司 Method for access to network after SIM certifies that terminal is legal
CN104270802A (en) * 2014-09-29 2015-01-07 北京云漫游科技有限公司 Method used for access to network through preferred operator of smart phone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006040087A1 (en) * 2006-08-28 2008-03-20 Vodafone Holding Gmbh Updating the configuration of Mobile Subscriber Identification modules
CN103686929B (en) * 2012-09-13 2016-12-21 华为技术有限公司 A kind of method and apparatus informing WAP Service Virtual provider

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014383A (en) * 2009-09-04 2011-04-13 黄金富 Method by using SIM (Subscriber Identity Model) card to authenticate identity of wireless terminal of WAPI (Wireless LAN Authentication and Privacy Infrastructure) wireless network
WO2013004905A1 (en) * 2011-07-07 2013-01-10 Nokia Corporation Trusted wireless local area network access
CN103796196A (en) * 2011-07-13 2014-05-14 华为终端有限公司 Method and device for access point autodial
CN104270361A (en) * 2014-09-29 2015-01-07 北京云漫游科技有限公司 Method for access to network after SIM certifies that terminal is legal
CN104270802A (en) * 2014-09-29 2015-01-07 北京云漫游科技有限公司 Method used for access to network through preferred operator of smart phone

Also Published As

Publication number Publication date
CN106304021A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US9699642B2 (en) Electronic subscriber identity module selection
US9940141B2 (en) Method and apparatus for selecting bootstrap ESIMs
US9439062B2 (en) Electronic subscriber identity module application identifier handling
US9942829B2 (en) Techniques for establishing communications with a local wireless network
JP6231044B2 (en) Handling of application identification information of electronic subscriber identification module (eSIM)
CN108282845B (en) Network access method and mobile communication terminal
US20180192283A1 (en) Device and method for subscribing to network in wireless communication system
JP6680548B2 (en) Technology for dynamically supporting distinct authentication algorithms
WO2014166185A1 (en) Method for automatic network search of mobile terminal and mobile terminal
WO2020057400A1 (en) Multi-card roaming network registration method and apparatus, computer device and storage medium
US20150195711A1 (en) Method and System for Terminal to Access Network and Terminal
CN106131816B (en) Virtual SIM card management method and terminal
JP2013121179A (en) Terminal frequency-band adaptation method and terminal
US20190150041A1 (en) Access point handover method and device
JP2021533625A (en) Capacity management method and communication equipment
CN110234156B (en) Network selection method and device
KR101357669B1 (en) System and method for connecting network based on location
CN108243631B (en) Network access method and equipment
WO2015101023A1 (en) Network switching method and apparatus for multi-mode card terminal
US9641531B2 (en) Node and a method for enabling network access authorization
WO2016184050A1 (en) Virtual sim card based wireless access point switching method and system
CN108271230B (en) Method and device for acquiring mobile management information and computer readable storage medium
CN113055961A (en) Wireless network connection method, device, router and storage medium
TWI753117B (en) Methods for selecting radio access technology modes and wireless communication devices thereof
CN114691734A (en) Cache control method and device, computer readable medium and electronic device

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

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

Country of ref document: EP

Kind code of ref document: A1