WO2017185589A1 - Virtual sim card-based method and device for accessing wifi hotspot - Google Patents

Virtual sim card-based method and device for accessing wifi hotspot Download PDF

Info

Publication number
WO2017185589A1
WO2017185589A1 PCT/CN2016/099095 CN2016099095W WO2017185589A1 WO 2017185589 A1 WO2017185589 A1 WO 2017185589A1 CN 2016099095 W CN2016099095 W CN 2016099095W WO 2017185589 A1 WO2017185589 A1 WO 2017185589A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
remote
access
information
wifi
Prior art date
Application number
PCT/CN2016/099095
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 WO2017185589A1 publication Critical patent/WO2017185589A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/42Security arrangements using identity modules using virtual identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • H04W12/45Security arrangements using identity modules using multiple identity modules
    • 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

  • the embodiment of the invention relates to a virtual subscriber identity module (SIM) card technology, in particular to a wifi access method and device based on a virtual SIM card.
  • SIM subscriber identity module
  • the reference information is usually read first. If the authentication information of the last access network authentication is recorded in the reference information, the authentication method recorded by the reference information is used to initiate the authentication. If the authentication method for the last successful access to the network authentication is not recorded in the reference information, the default authentication method is adopted, or the extended authentication protocol-virtual customer identification module/authentication and key agreement (Extensible Authentication Protocol-Subscriber Identity Module/ Authentication and Key Agreement (EAP-SIM/AKA) authentication is initiated by any one of the authentication methods. After the authentication succeeds, the successful authentication mode is recorded in the reference information to facilitate authentication when accessing the network.
  • EAP-SIM/AKA Extended Authentication Protocol-virtual customer identification module/authentication and key agreement
  • EAP-SIM/AKA Extensible Authentication Protocol-Subscriber Identity Module/ Authentication and Key Agreement
  • the wifi hotspot of the operator's layout there is a very common authentication method, which is the EAP-SIM/AKA mode.
  • the solution adopted when connecting is that the PC side application (PCUI) is connected.
  • PCUI PC side application
  • a lot of authentication information is read from the SIM card through the data card, and they are provided to the wifi login module.
  • the wifi login module is submitted to the wifi hotspot during the authentication process to complete the login authentication. Wifi Internet access on the personal computer (PC) side.
  • the user uses the virtual SIM card to intelligently access the data network of the operator. If the user needs to use the EAP-SIM/AKA authentication type wifi hotspot deployed on the carrier, the SIM card information of the device itself can only be used. Registration, which requires high costs, the user experience is not good.
  • the embodiment of the present invention provides a wifi access method and device based on a virtual SIM card, so that the user can use the local wifi hotspot to access the Internet when the user is in the field, thereby saving roaming charges and improving the user experience.
  • a wifi access method based on a virtual customer identification module SIM card comprising:
  • remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
  • the remote SIM card information is used to access the wifi hotspot.
  • NAI information Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
  • the method further includes:
  • EAPol-logoff message EAPol-logofEAPol-logoff message.
  • a wifi access device based on a virtual customer identification module SIM card comprising:
  • Obtaining a module configured to obtain remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
  • the access module is configured to use the remote SIM card information to access the wifi hotspot.
  • the access module is specifically configured to:
  • NAI information Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
  • the access module is further configured to
  • the obtaining module is further configured to: after determining to access the operator data network, perform the operation of acquiring remote SIM card information from a card pool of the remote virtual SIM card server.
  • the access module is further configured to:
  • EAPol-logoff message EAPol-logofEAPol-logoff message.
  • the remote SIM card corresponding to the remote SIM card information supports the EAP-SIM/AKA function.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
  • the remote SIM card information is used to access the wifi hotspot.
  • the storage medium is further arranged to store program code for performing the following steps:
  • NAI information Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • EAPol-logoff message EAPol-logofEAPol-logoff message.
  • the method and device for accessing a wifi based on a virtual SIM card obtains remote SIM card information from a card pool of a remote virtual SIM card server, where the remote SIM card information includes a network access identifier (Network Access) Identifier (NAI) information; accessing the wifi hotspot using the remote SIM card information. Therefore, the user can use the information of the virtual SIM card to register the operator's EAP-SIM/AKA wifi hotspot when in the field, save roaming charges, and avoid the user to replace the SIM card, thereby improving the user experience.
  • Network Access Network Access
  • FIG. 1 is a flowchart of a wifi access method based on a virtual SIM card according to an embodiment of the present invention
  • FIG. 2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a user offline in a wifi access method based on a virtual SIM card according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a wifi access device based on a virtual SIM card according to an embodiment of the present invention.
  • the terminal device supporting the virtual SIM card function is connected to an Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement (EAP).
  • EAP Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement
  • -SIM/AKA Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement
  • the terminal device When using the wifi hotspot in the authentication mode, first use the SIM card information of the terminal device to connect to the carrier's data network first. After the connection is successful, obtain the EAP-SIM/AKA function from the remote virtual SIM card server. A remote SIM information is downloaded to the local, and then the EAP-SIM/AKA authentication is performed with the wifi hotspot using the obtained remote SIM card information. After the authentication is completed, the terminal device disconnects the data network connected to the SIM card, and uses the virtual The wifi connection established by the remote SIM card information can save roaming charges and improve user experience.
  • EAP Extensible Authentication Protocol-Subscriber Identity Module/
  • FIG. 1 is a flowchart of a virtual SIM card-based wifi access method according to an embodiment of the present invention.
  • the method provided in this embodiment may be specifically implemented by a terminal device that supports a virtual SIM card function.
  • the method provided in this embodiment includes:
  • Step 101 Acquire remote SIM card information from a card pool of a remote virtual SIM card server, where the remote SIM card information includes NAI information.
  • the user turns on the wifi function on the terminal device, searches for the wifi hotspot of the nearby operator, and when connecting the wifi hotspot of the nearby operator, first starts the data service of the local SIM card, and then connects. Enter the carrier network; judge the data service access After this is done, this step is performed, that is, an operation of acquiring remote SIM card information from the card pool of the remote virtual SIM card server is performed.
  • the SIM card corresponding to the remote SIM card information supports the EAP-SIM/AKA function.
  • Step 102 Access the wifi hotspot by using the remote SIM card information.
  • the NAI information is encapsulated into an EAP packet and sent to a wifi hotspot for authentication; wherein the NAI information includes a username and a domain name; and the access sent by the wifi hotspot is received.
  • the authentication success message completes the wifi access.
  • MAC-SRES Message Authentication Code-Signed RESPONSE
  • the information is forwarded to the WLAN AN, which is forwarded to the 3GPP AAA Server for verification. If the wifi access module receives the authentication successfully, it indicates that the networking is successful. After the authentication succeeds, the scheduling module is notified to disconnect the data service of the local SIM card. The device uses the virtual SIM card to access the EAP-SIM/AKA wifi hotspot process. At this point, the wifi connection is established, and the user starts to access the Internet using the information of the virtual SIM.
  • FIG. 2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention.
  • the specific access process is:
  • Step 201 After the terminal device and the WLAN AN are associated, the EAP authentication is started.
  • Step 202 The terminal device reads the NAI information of a remote SIM card of a local operator from the remote server.
  • the NAI information includes a username and a realm.
  • Step 203 The terminal device encapsulates the NAI information into an EAP packet and sends the information to the WLAN AN.
  • Step 204 The WLAN AN encapsulates the EAP packet by using a RADIUS Access-Request message and sends it to the 3GPP AAA Server for verification.
  • the message authentication code authentication response (Message Authentication Code-Signed RESPONSE, MAC-SRES) and other authentication information are returned to the scheduling module, and the scheduling module returns the wifi access module to the wifi access module. Forwarding the new MAC_SRES and other authentication information to the WLAN AN, and forwarding it to the 3GPP AAA Server for verification. If the wifi access module receives the authentication successfully, it indicates that the networking is successful. After the authentication succeeds, the scheduling scheduling module disconnects the local SIM. The data service of the card, at this point, the terminal device uses the virtual SIM card to access the EAP-SIM/AKA wifi hotspot process. At this time, the wifi connection is established, and the user starts to access the Internet using the information of the virtual SIM.
  • MAC-SRES Authentication Code-Signed RESPONSE
  • FIG. 2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention.
  • the specific access process is:
  • Step 201 After the terminal device and the WLAN AN are associated, the EAP authentication is started.
  • Step 202 The terminal device reads the NAI information of a remote SIM card of a local operator from the remote server.
  • the NAI information includes a username and a realm.
  • Step 203 The terminal device encapsulates the NAI information into an EAP packet and sends the information to the WLAN AN.
  • Step 204 The WLAN AN encapsulates the EAP packet by using a RADIUS Access-Request message and sends it to the 3GPP AAA Server for verification.
  • Step 205 The 3GPP AAA Server performs matching and verification with the information of the operator. After the verification succeeds, a random code is generated, and then the random code, the message authentication code, and the user identifier are sent to the WLAN AN. If the failure is successful, the step returns. Failure, the process is terminated.
  • Step 206 The WLAN AN forwards the received information to the terminal device.
  • Step 207 The terminal device sends the received random code, the message authentication code, and the user identifier to the remote server for authentication.
  • Step 208 The remote server performs verification on the SIM card pool side for the received information.
  • the step includes: parsing the received random code, using an algorithm to calculate a comparison between the MAC value and the received MAC value; if the comparison is successful, indicating that the 3GPP AAA Server is authenticated.
  • the new MAC_SRES and other authentication information are then calculated and sent to the terminal device over the network.
  • Step 209 The terminal device forwards the received information to the 3GPP AAA Server by the WLAN AN.
  • Step 210 The 3GPP AAA Server generates its own MAC_SRES value by using the random code generated by itself, and compares it with the received MAC_SRES value forwarded by the LWAN AN. After the comparison is successful, the client authentication passes, and the server charges are started, and The WLAN AN notifies the terminal device that the authentication is successful.
  • the terminal device uses the virtual remote SIM card to access the EAP-SIM/AKA wifi hotspot process.
  • the terminal device detects the wifi connection.
  • the terminal device detects the wifi connection.
  • connect the remote card pool database in the background read any SIM card containing EAP-SIM/AKA information from the operator, and then use the information of this SIM card to register the current operator's wifi network, that is equivalent Registering a local carrier wifi network with a local card eliminates roaming charges and preserves a good wifi experience.
  • the terminal device sends a disconnection request to the remote virtual SIM card server; receives a disconnected network successful response sent by the remote virtual SIM card server; according to the received disconnected network Successfully responding, sending an EAPol-logoff message to the wifi hotspot.
  • FIG. 3 is a flowchart of a user offline in a wifi access method based on a virtual SIM card according to an embodiment of the present invention. As shown in Figure 3, the service flow of the user actively closing the wifi connection on the terminal device is as follows:
  • Step 301 The wifi access module of the terminal device initiates a network disconnection operation, and notifies the scheduling module.
  • Step 302 The scheduling module notifies the remote access module that the network is disconnected.
  • Step 303 The remote access module sends a disconnect request to the remote server.
  • Step 304 Remotely release the remote SIM card status that has been allocated, return to the remote access module of the terminal device, and return to the scheduling module.
  • Step 305 The wifi access module receives the network disconnection result, and sends an EAPol-logoff to the WLAN AN.
  • Step 306 The WLAN AN initiates a offline operation to the 3GPP AAA Server to complete the disconnection; the accounting server stops charging. The process ends.
  • the method provided in this embodiment can greatly facilitate the user to use the local wifi hotspot to access the Internet in foreign countries, and realizes the virtual remote SIM card, which can save a large roaming cost, and avoids the user to replace the SIM card, thereby improving the user experience. .
  • FIG. 4 is a schematic structural diagram of a wifi access device based on a virtual SIM card according to an embodiment of the present invention. As shown in FIG. 4, the apparatus provided in this embodiment includes: an obtaining module 11 and an access module 12.
  • the obtaining module 11 is configured to obtain remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes NAI information;
  • the access module 12 is configured to access the wifi hotspot using the remote SIM card information.
  • the access module 12 is specifically configured to: encapsulate the NAI information into an extended authentication protocol EAP message, and send the information to the wifi hotspot; wherein the NAI information includes a user name and a domain name; and receiving the wifi hotspot sending Access authentication success message and complete wifi access.
  • the access module 12 is further configured to: when connecting the wifi hotspot of the nearby carrier, start the data service of the local SIM card, and access the operator data network; the obtaining module 11 is further configured to: After accessing the carrier data network, performing the operation of obtaining remote SIM card information from the card pool of the remote virtual SIM card server.
  • the access module 12 is further configured to: send a disconnection request to the remote virtual SIM card server; receive a disconnected network successful response sent by the remote virtual SIM card server; and successfully disconnect the network according to the received network In response, an EAPol-logoff message is sent to the wifi hotspot.
  • SIM card corresponding to the remote SIM card information is supported. EAP-SIM/AKA function.
  • the virtual SIM card-based wifi access device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the acquiring module 11 and the access module 12 may each be a Central Processing Unit (CPU) or a Micro Processor Unit (MPU) located in a virtual SIM card-based wifi access device. , Digital Signal Processor (DSP) or Field Programmable Gate Array (FPGA) implementation.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • the remote SIM card information is obtained from the card pool of the remote virtual SIM card server, where the remote SIM card information includes a network access identifier (Network Access Identifier). , NAI) information; accessing the wifi hotspot using the remote SIM card information. Therefore, the user can use the information of the virtual SIM card to register the operator's EAP-SIM/AKA wifi hotspot when in the field, save roaming charges, and avoid the user to replace the SIM card, thereby improving the user experience.
  • Network Access Identifier Network Access Identifier

Abstract

Provided in an embodiment of the invention is a SIM card-based method for accessing a WiFi hotspot. The method comprises: acquiring remote SIM card information from a card pool of a remote virtual SIM card server, the remote SIM card information comprising network access identifier (NAI) information; and using the remote SIM card information to access a WiFi hotspot. Also provided in the embodiment of the invention is a SIM card-based device for accessing a WiFi hotspot.

Description

基于虚拟SIM卡的wifi接入方法及装置Wifi access method and device based on virtual SIM card 技术领域Technical field
本发明实施例涉及一种虚拟客户识别模块(Subscriber Identity Module,SIM)卡技术,尤其涉及一种基于虚拟SIM卡的wifi接入方法及装置。The embodiment of the invention relates to a virtual subscriber identity module (SIM) card technology, in particular to a wifi access method and device based on a virtual SIM card.
背景技术Background technique
现有的接入网络的认证方法,通常,先读取参考信息,若该参考信息中记录了上次接入网络认证成功的认证方式,则采用该参考信息记录的认证方式发起认证,若该参考信息中没有记录上次接入网络认证成功的认证方式,则按照预设的WEB认证方式,或者扩展认证协议-虚拟客户识别模块/鉴权和密钥协商(Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement,EAP-SIM/AKA)认证方式中的任何一个发起认证;在本次认证成功后,将成功的认证方式记录在该参考信息中,以便于后续接入网络时进行认证。In the existing authentication method of the access network, the reference information is usually read first. If the authentication information of the last access network authentication is recorded in the reference information, the authentication method recorded by the reference information is used to initiate the authentication. If the authentication method for the last successful access to the network authentication is not recorded in the reference information, the default authentication method is adopted, or the extended authentication protocol-virtual customer identification module/authentication and key agreement (Extensible Authentication Protocol-Subscriber Identity Module/ Authentication and Key Agreement (EAP-SIM/AKA) authentication is initiated by any one of the authentication methods. After the authentication succeeds, the successful authentication mode is recorded in the reference information to facilitate authentication when accessing the network.
在运营商布局的wifi热点中,有一种很常见的认证方式,就是EAP-SIM/AKA方式,通常,针对这种wifi热点,连接时采用的方案是,PC侧应用程序(PCUI)在连接该wifi热点做认证的过程中,会通过数据卡从SIM卡中读取很多认证信息,将它们提供给wifi登录模块,由wifi登录模块在认证过程中,提交给wifi热点,以完成登录认证,实现个人电脑(personal computer,PC)侧的wifi上网功能。In the wifi hotspot of the operator's layout, there is a very common authentication method, which is the EAP-SIM/AKA mode. Generally, for this wifi hotspot, the solution adopted when connecting is that the PC side application (PCUI) is connected. During the process of wifi hotspot authentication, a lot of authentication information is read from the SIM card through the data card, and they are provided to the wifi login module. The wifi login module is submitted to the wifi hotspot during the authentication process to complete the login authentication. Wifi Internet access on the personal computer (PC) side.
但是,用户使用虚拟SIM卡智能接入运营商的数据网络,如果用户在国外需要使用运营商上布局的EAP-SIM/AKA认证类型的wifi热点,目前只能使用设备本身的SIM卡信息来完成注册,这需要高昂的费用,用户体验不好。However, the user uses the virtual SIM card to intelligently access the data network of the operator. If the user needs to use the EAP-SIM/AKA authentication type wifi hotspot deployed on the carrier, the SIM card information of the device itself can only be used. Registration, which requires high costs, the user experience is not good.
发明内容 Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种基于虚拟SIM卡的wifi接入方法及装置,以便于用户在外地时使用当地的wifi热点上网,节省漫游费用,提升用户体验。In order to solve the existing technical problems, the embodiment of the present invention provides a wifi access method and device based on a virtual SIM card, so that the user can use the local wifi hotspot to access the Internet when the user is in the field, thereby saving roaming charges and improving the user experience.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
一种基于虚拟客户识别模块SIM卡的wifi接入方法,所述方法包括:A wifi access method based on a virtual customer identification module SIM card, the method comprising:
从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识NAI信息;Obtaining remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
使用所述远程SIM卡信息接入wifi热点。The remote SIM card information is used to access the wifi hotspot.
如上所述的方法,其中,所述使用所述远程SIM卡信息接入wifi热点,包括:The method as described above, wherein the using the remote SIM card information to access a wifi hotspot comprises:
将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Receiving an access authentication success message sent by the wifi hotspot, and completing wifi access.
如上所述的方法,其中,所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息之前,所述方法还包括:The method as described above, wherein before the obtaining the remote SIM card information from the card pool of the remote virtual SIM card server, the method further includes:
在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;When connecting to the wifi hotspot of the nearby carrier, start the data service of the local SIM card and access the carrier data network;
在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。After determining to access the operator data network, performing the operation of obtaining remote SIM card information from the card pool of the remote virtual SIM card server.
如上所述的方法,其中,所述方法还包括:The method as described above, wherein the method further comprises:
向所述远程虚拟SIM卡服务器发送断网请求;Sending a disconnection request to the remote virtual SIM card server;
接收所述远程虚拟SIM卡服务器发送的断网成功响应;Receiving a disconnected network successful response sent by the remote virtual SIM card server;
EAPol-logoff消息。EAPol-logofEAPol-logoff消息。EAPol-logoff message. EAPol-logofEAPol-logoff message.
如上所述的方法,其中,与所述远程SIM卡信息对应的远程SIM卡支持EAP-SIM/AKA功能。 The method as described above, wherein the remote SIM card corresponding to the remote SIM card information supports the EAP-SIM/AKA function.
一种基于虚拟客户识别模块SIM卡的wifi接入装置,所述装置包括:A wifi access device based on a virtual customer identification module SIM card, the device comprising:
获取模块,设置为从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识NAI信息;Obtaining a module, configured to obtain remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
接入模块,设置为使用所述远程SIM卡信息接入wifi热点。The access module is configured to use the remote SIM card information to access the wifi hotspot.
如上所述的装置,其中,所述接入模块具体设置为:The device as described above, wherein the access module is specifically configured to:
将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Receiving an access authentication success message sent by the wifi hotspot, and completing wifi access.
如上所述的装置,其中,所述接入模块还设置为The device as described above, wherein the access module is further configured to
在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;When connecting to the wifi hotspot of the nearby carrier, start the data service of the local SIM card and access the carrier data network;
所述获取模块还设置为:在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。The obtaining module is further configured to: after determining to access the operator data network, perform the operation of acquiring remote SIM card information from a card pool of the remote virtual SIM card server.
如上所述的装置,其中,所述接入模块还设置为:The device as described above, wherein the access module is further configured to:
向所述远程虚拟SIM卡服务器发送断网请求;Sending a disconnection request to the remote virtual SIM card server;
接收所述远程虚拟SIM卡服务器发送的断网成功响应;Receiving a disconnected network successful response sent by the remote virtual SIM card server;
EAPol-logoff消息。EAPol-logofEAPol-logoff消息。EAPol-logoff message. EAPol-logofEAPol-logoff message.
如上所述的装置,其中,与所述远程SIM卡信息对应的远程SIM卡支持EAP-SIM/AKA功能。The device as described above, wherein the remote SIM card corresponding to the remote SIM card information supports the EAP-SIM/AKA function.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识NAI信息;Obtaining remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
使用所述远程SIM卡信息接入wifi热点。 The remote SIM card information is used to access the wifi hotspot.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Receiving an access authentication success message sent by the wifi hotspot, and completing wifi access.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;When connecting to the wifi hotspot of the nearby carrier, start the data service of the local SIM card and access the carrier data network;
在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。After determining to access the operator data network, performing the operation of obtaining remote SIM card information from the card pool of the remote virtual SIM card server.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
向所述远程虚拟SIM卡服务器发送断网请求;Sending a disconnection request to the remote virtual SIM card server;
接收所述远程虚拟SIM卡服务器发送的断网成功响应;Receiving a disconnected network successful response sent by the remote virtual SIM card server;
EAPol-logoff消息。EAPol-logofEAPol-logoff消息。EAPol-logoff message. EAPol-logofEAPol-logoff message.
本发明实施例提供的基于虚拟SIM卡的wifi接入方法及装置,通过从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识(Network Access Identifier,NAI)信息;使用所述远程SIM卡信息接入wifi热点。从而使用户在外地时可以使用虚拟SIM卡的信息去注册运营商的EAP-SIM/AKA的wifi热点,节省漫游费用,且避免用户更换SIM卡,提升了用户体验。The method and device for accessing a wifi based on a virtual SIM card according to an embodiment of the present invention obtains remote SIM card information from a card pool of a remote virtual SIM card server, where the remote SIM card information includes a network access identifier (Network Access) Identifier (NAI) information; accessing the wifi hotspot using the remote SIM card information. Therefore, the user can use the information of the virtual SIM card to register the operator's EAP-SIM/AKA wifi hotspot when in the field, save roaming charges, and avoid the user to replace the SIM card, thereby improving the user experience.
附图说明DRAWINGS
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings, which are not necessarily to scale, the Like reference numerals with different letter suffixes may indicate different examples of similar components. The drawings generally illustrate the various embodiments discussed herein by way of example and not limitation.
图1为本发明实施例提供的基于虚拟SIM卡的wifi接入方法的流程 图;FIG. 1 is a flowchart of a wifi access method based on a virtual SIM card according to an embodiment of the present invention; Figure
图2为应用本发明实施例提供的基于虚拟SIM卡的wifi接入方法接入wifi热点的流程图;2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention;
图3为本发明实施例提供的基于虚拟SIM卡的wifi接入方法中用户下线的流程图;FIG. 3 is a flowchart of a user offline in a wifi access method based on a virtual SIM card according to an embodiment of the present disclosure;
图4为本发明实施例提供的基于虚拟SIM卡的wifi接入装置的结构示意图。FIG. 4 is a schematic structural diagram of a wifi access device based on a virtual SIM card according to an embodiment of the present invention.
具体实施方式detailed description
在本发明各实施例中,支持虚拟SIM卡功能的终端设备要连接到具有扩展认证协议-虚拟客户识别模块/鉴权和密钥协商(Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement,EAP-SIM/AKA)认证方式的wifi热点上时,先使用终端设备本身的SIM卡信息先连接运营商的数据网络,连接成功后,从远程的虚拟SIM卡服务器上获取支持EAP-SIM/AKA功能的某张远程SIM信息,下载到本地,然后使用获取的远程SIM卡信息与wifi热点进行EAP-SIM/AKA认证,认证完成后,终端设备将本身的SIM卡连接的数据网络断掉,使用虚拟远程SIM卡信息建立的wifi连接上网,能够节省漫游费用,提升用户体验。In the embodiments of the present invention, the terminal device supporting the virtual SIM card function is connected to an Extensible Authentication Protocol-Subscriber Identity Module/Authentication and Key Agreement (EAP). -SIM/AKA) When using the wifi hotspot in the authentication mode, first use the SIM card information of the terminal device to connect to the carrier's data network first. After the connection is successful, obtain the EAP-SIM/AKA function from the remote virtual SIM card server. A remote SIM information is downloaded to the local, and then the EAP-SIM/AKA authentication is performed with the wifi hotspot using the obtained remote SIM card information. After the authentication is completed, the terminal device disconnects the data network connected to the SIM card, and uses the virtual The wifi connection established by the remote SIM card information can save roaming charges and improve user experience.
图1为本发明实施例提供的基于虚拟SIM卡的wifi接入方法的流程图。如图1所示,本实施例提供的方法具体可以由支持虚拟SIM卡功能的终端设备执行,具体的,本实施例提供的方法包括:FIG. 1 is a flowchart of a virtual SIM card-based wifi access method according to an embodiment of the present invention. As shown in FIG. 1 , the method provided in this embodiment may be specifically implemented by a terminal device that supports a virtual SIM card function. Specifically, the method provided in this embodiment includes:
步骤101、从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含NAI信息。Step 101: Acquire remote SIM card information from a card pool of a remote virtual SIM card server, where the remote SIM card information includes NAI information.
在实际使用过程中,在执行本步骤之前,用户在终端设备上打开wifi功能,搜索附近运营商的wifi热点,在连接附近运营商的wifi热点时,首先启动本机SIM卡的数据业务,接入运营商网络;在判断数据业务接入完 成之后,执行本步骤,即,执行从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。In the actual use process, before performing this step, the user turns on the wifi function on the terminal device, searches for the wifi hotspot of the nearby operator, and when connecting the wifi hotspot of the nearby operator, first starts the data service of the local SIM card, and then connects. Enter the carrier network; judge the data service access After this is done, this step is performed, that is, an operation of acquiring remote SIM card information from the card pool of the remote virtual SIM card server is performed.
需要说明的是,与所述远程SIM卡信息对应的SIM卡支持EAP-SIM/AKA功能。It should be noted that the SIM card corresponding to the remote SIM card information supports the EAP-SIM/AKA function.
步骤102、使用所述远程SIM卡信息接入wifi热点。Step 102: Access the wifi hotspot by using the remote SIM card information.
具体的,本步骤中,将所述NAI信息封装到EAP报文中,并发送给wifi热点,进行鉴权;其中,所述NAI信息中包含用户名和域名;接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Specifically, in this step, the NAI information is encapsulated into an EAP packet and sent to a wifi hotspot for authentication; wherein the NAI information includes a username and a domain name; and the access sent by the wifi hotspot is received. The authentication success message completes the wifi access.
消息验证码鉴权响应(Message Authentication Code-Signed RESponse,MAC-SRES)和鉴权其它信息返回给调度模块,由调度模块返回给wifi接入模块,wifi接入模块将新的MAC_SRES和鉴权其它信息转发给WLAN AN,由它转给3GPP AAA Server做验证,wifi接入模块收到认证成功,则表示联网成功;认证成功后,通知调度模块断开本机SIM卡的数据业务,至此,终端设备使用虚拟SIM卡接入EAP-SIM/AKA wifi热点流程完成。此时wifi连接建立完成,用户使用虚拟SIM的信息开始上网。Message Authentication Code-Signed RESPONSE (MAC-SRES) and other authentication information are returned to the scheduling module, which is returned by the scheduling module to the wifi access module, and the wifi access module will add the new MAC_SRES and other authentication. The information is forwarded to the WLAN AN, which is forwarded to the 3GPP AAA Server for verification. If the wifi access module receives the authentication successfully, it indicates that the networking is successful. After the authentication succeeds, the scheduling module is notified to disconnect the data service of the local SIM card. The device uses the virtual SIM card to access the EAP-SIM/AKA wifi hotspot process. At this point, the wifi connection is established, and the user starts to access the Internet using the information of the virtual SIM.
图2为应用本发明实施例提供的基于虚拟SIM卡的wifi接入方法接入wifi热点的流程图。如图2所示,终端设备在应用本实施例提供的基于虚拟SIM卡的wifi接入方法接入EAP-SIM/AKA认证的热点时,具体的接入流程为:FIG. 2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention. As shown in FIG. 2, when the terminal device accesses the hotspot of the EAP-SIM/AKA authentication by using the virtual SIM card-based wifi access method provided in this embodiment, the specific access process is:
步骤201:终端设备和WLAN AN建立关联之后,启动EAP认证。Step 201: After the terminal device and the WLAN AN are associated, the EAP authentication is started.
步骤202:终端设备从远程服务器读取一张本地运营商的某张远程SIM卡的NAI信息。Step 202: The terminal device reads the NAI information of a remote SIM card of a local operator from the remote server.
所述NAI信息中包含用户名(username)和域名(realm)。The NAI information includes a username and a realm.
步骤203:终端设备将NAI信息封装到EAP报文中发送给WLAN AN。Step 203: The terminal device encapsulates the NAI information into an EAP packet and sends the information to the WLAN AN.
步骤204:WLAN AN将EAP报文使用RADIUS Access-Request消息封装,发送给3GPP AAA Server做验证。 Step 204: The WLAN AN encapsulates the EAP packet by using a RADIUS Access-Request message and sends it to the 3GPP AAA Server for verification.
消息验证码鉴权响应(Message消息验证码鉴权响应(Message Authentication Code-Signed RESponse,MAC-SRES)和鉴权其它信息返回给调度模块,由调度模块返回给wifi接入模块,wifi接入模块将新的MAC_SRES和鉴权其它信息转发给WLAN AN,由它转给3GPP AAA Server做验证,wifi接入模块收到认证成功,则表示联网成功;认证成功后,通知调度模块断开本机SIM卡的数据业务,至此,终端设备使用虚拟SIM卡接入EAP-SIM/AKA wifi热点流程完成。此时wifi连接建立完成,用户使用虚拟SIM的信息开始上网。The message authentication code authentication response (Message Authentication Code-Signed RESPONSE, MAC-SRES) and other authentication information are returned to the scheduling module, and the scheduling module returns the wifi access module to the wifi access module. Forwarding the new MAC_SRES and other authentication information to the WLAN AN, and forwarding it to the 3GPP AAA Server for verification. If the wifi access module receives the authentication successfully, it indicates that the networking is successful. After the authentication succeeds, the scheduling scheduling module disconnects the local SIM. The data service of the card, at this point, the terminal device uses the virtual SIM card to access the EAP-SIM/AKA wifi hotspot process. At this time, the wifi connection is established, and the user starts to access the Internet using the information of the virtual SIM.
图2为应用本发明实施例提供的基于虚拟SIM卡的wifi接入方法接入wifi热点的流程图。如图2所示,终端设备在应用本实施例提供的基于虚拟SIM卡的wifi接入方法接入EAP-SIM/AKA认证的热点时,具体的接入流程为:FIG. 2 is a flowchart of accessing a wifi hotspot by using a virtual SIM card-based wifi access method according to an embodiment of the present invention. As shown in FIG. 2, when the terminal device accesses the hotspot of the EAP-SIM/AKA authentication by using the virtual SIM card-based wifi access method provided in this embodiment, the specific access process is:
步骤201:终端设备和WLAN AN建立关联之后,启动EAP认证。Step 201: After the terminal device and the WLAN AN are associated, the EAP authentication is started.
步骤202:终端设备从远程服务器读取一张本地运营商的某张远程SIM卡的NAI信息。Step 202: The terminal device reads the NAI information of a remote SIM card of a local operator from the remote server.
所述NAI信息中包含用户名(username)和域名(realm)。The NAI information includes a username and a realm.
步骤203:终端设备将NAI信息封装到EAP报文中发送给WLAN AN。Step 203: The terminal device encapsulates the NAI information into an EAP packet and sends the information to the WLAN AN.
步骤204:WLAN AN将EAP报文使用RADIUS Access-Request消息封装,发送给3GPP AAA Server做验证。Step 204: The WLAN AN encapsulates the EAP packet by using a RADIUS Access-Request message and sends it to the 3GPP AAA Server for verification.
步骤205:3GPP AAA Server会和运营商处的信息做匹配和验证,验证成功后,会生成随机码,然后将随机码、消息鉴权码和用户标识发送给WLAN AN,如果失败则该步骤返回失败,流程终止。Step 205: The 3GPP AAA Server performs matching and verification with the information of the operator. After the verification succeeds, a random code is generated, and then the random code, the message authentication code, and the user identifier are sent to the WLAN AN. If the failure is successful, the step returns. Failure, the process is terminated.
步骤206:WLAN AN将收到的信息转发给终端设备。Step 206: The WLAN AN forwards the received information to the terminal device.
步骤207:终端设备将收到的随机码、消息鉴权码和用户标识发送给远程服务器做鉴权。Step 207: The terminal device sends the received random code, the message authentication code, and the user identifier to the remote server for authentication.
步骤208:远程服务器对收到的信息在SIM卡池侧做验证。 Step 208: The remote server performs verification on the SIM card pool side for the received information.
具体的,本步骤包括:解析收到的随机码,用算法计算MAC值和收到的MAC值对比;如果对比成功则表示对3GPP AAA Server认证通过。然后计算新的MAC_SRES和其它鉴权信息通过网络发送给终端设备。Specifically, the step includes: parsing the received random code, using an algorithm to calculate a comparison between the MAC value and the received MAC value; if the comparison is successful, indicating that the 3GPP AAA Server is authenticated. The new MAC_SRES and other authentication information are then calculated and sent to the terminal device over the network.
步骤209:终端设备将收到的信息由WLAN AN转发给3GPP AAA Server。Step 209: The terminal device forwards the received information to the 3GPP AAA Server by the WLAN AN.
步骤210:3GPP AAA Server用自己生成的随机码生成自己的MAC_SRES值,并和收到的由LWAN AN转发的MAC_SRES值进行比较,比较成功后,则客户端认证通过,开始服务器计费,并由WLAN AN通知终端设备认证成功。Step 210: The 3GPP AAA Server generates its own MAC_SRES value by using the random code generated by itself, and compares it with the received MAC_SRES value forwarded by the LWAN AN. After the comparison is successful, the client authentication passes, and the server charges are started, and The WLAN AN notifies the terminal device that the authentication is successful.
至此,终端设备用虚拟远程SIM卡接入EAP-SIM/AKA wifi热点流程完成。At this point, the terminal device uses the virtual remote SIM card to access the EAP-SIM/AKA wifi hotspot process.
例如,用户带了一个支持虚拟SIM卡功能的终端设备到国外出差时,希望通过终端设备连接当地运营商的EAP-SIM/AKA方式加密的wifi热点,这时,终端设备检测到本次wifi连接动作,则在后台连接远程的卡池数据库,读取该运营商的任意一张包含EAP-SIM/AKA信息的SIM卡,然后用这张SIM卡的信息注册当前运营商的wifi网络,即相当于使用本地卡注册本地运营商wifi网络,省去了漫游费还保留了良好的wifi体验。For example, when a user brings a terminal device that supports the virtual SIM card function to a foreign country, it is desired to connect the local operator's EAP-SIM/AKA encrypted wifi hotspot through the terminal device. At this time, the terminal device detects the wifi connection. Action, connect the remote card pool database in the background, read any SIM card containing EAP-SIM/AKA information from the operator, and then use the information of this SIM card to register the current operator's wifi network, that is equivalent Registering a local carrier wifi network with a local card eliminates roaming charges and preserves a good wifi experience.
进一步地,在用户需要断开网络连接时,终端设备向所述远程虚拟SIM卡服务器发送断网请求;接收所述远程虚拟SIM卡服务器发送的断网成功响应;根据接收到的所述断网成功响应,向所述wifi热点发送EAPol-logoff消息。Further, when the user needs to disconnect the network, the terminal device sends a disconnection request to the remote virtual SIM card server; receives a disconnected network successful response sent by the remote virtual SIM card server; according to the received disconnected network Successfully responding, sending an EAPol-logoff message to the wifi hotspot.
图3为本发明实施例提供的基于虚拟SIM卡的wifi接入方法中用户下线的流程图。如图3所示,用户在终端设备上,主动关闭wifi连接的业务流程为:FIG. 3 is a flowchart of a user offline in a wifi access method based on a virtual SIM card according to an embodiment of the present invention. As shown in Figure 3, the service flow of the user actively closing the wifi connection on the terminal device is as follows:
步骤301:终端设备的wifi接入模块发起断网动作,通知调度模块。Step 301: The wifi access module of the terminal device initiates a network disconnection operation, and notifies the scheduling module.
步骤302:调度模块通知远程接入模块断网。Step 302: The scheduling module notifies the remote access module that the network is disconnected.
步骤303:远程接入模块发送断网请求到远程服务器。 Step 303: The remote access module sends a disconnect request to the remote server.
步骤304:远程释放已经分配的远程SIM卡状态,返回成功到终端设备的远程接入模块,进而返回给调度模块。Step 304: Remotely release the remote SIM card status that has been allocated, return to the remote access module of the terminal device, and return to the scheduling module.
步骤305:wifi接入模块收到断网结果,发送EAPol-logoff给WLAN AN。Step 305: The wifi access module receives the network disconnection result, and sends an EAPol-logoff to the WLAN AN.
步骤306:WLAN AN向3GPP AAA Server发起下线动作,完成断网;计费服务器停止计费。流程结束。Step 306: The WLAN AN initiates a offline operation to the 3GPP AAA Server to complete the disconnection; the accounting server stops charging. The process ends.
本实施例提供的方法,能够极大的方便用户在国外使用当地的wifi热点上网,用虚拟远程SIM卡的方式实现,可以节约很大的漫游费用,而且避免用户更换SIM卡,提升了用户体验。The method provided in this embodiment can greatly facilitate the user to use the local wifi hotspot to access the Internet in foreign countries, and realizes the virtual remote SIM card, which can save a large roaming cost, and avoids the user to replace the SIM card, thereby improving the user experience. .
图4为本发明实施例提供的基于虚拟SIM卡的wifi接入装置的结构示意图。如图4所示,本实施例提供的装置包括:获取模块11和接入模块12。FIG. 4 is a schematic structural diagram of a wifi access device based on a virtual SIM card according to an embodiment of the present invention. As shown in FIG. 4, the apparatus provided in this embodiment includes: an obtaining module 11 and an access module 12.
其中,获取模块11,设置为从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含NAI信息;The obtaining module 11 is configured to obtain remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes NAI information;
接入模块12,设置为使用所述远程SIM卡信息接入wifi热点。The access module 12 is configured to access the wifi hotspot using the remote SIM card information.
所述接入模块12具体设置为:将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;接收所述wifi热点发送的接入认证成功消息,完成wifi接入。The access module 12 is specifically configured to: encapsulate the NAI information into an extended authentication protocol EAP message, and send the information to the wifi hotspot; wherein the NAI information includes a user name and a domain name; and receiving the wifi hotspot sending Access authentication success message and complete wifi access.
进一步地,所述接入模块12还设置为:在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;所述获取模块11还设置为:在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。Further, the access module 12 is further configured to: when connecting the wifi hotspot of the nearby carrier, start the data service of the local SIM card, and access the operator data network; the obtaining module 11 is further configured to: After accessing the carrier data network, performing the operation of obtaining remote SIM card information from the card pool of the remote virtual SIM card server.
进一步地,所述接入模块12还设置为:向所述远程虚拟SIM卡服务器发送断网请求;接收所述远程虚拟SIM卡服务器发送的断网成功响应;根据接收到的所述断网成功响应,向所述wifi热点发送EAPol-logoff消息。Further, the access module 12 is further configured to: send a disconnection request to the remote virtual SIM card server; receive a disconnected network successful response sent by the remote virtual SIM card server; and successfully disconnect the network according to the received network In response, an EAPol-logoff message is sent to the wifi hotspot.
需要说明的是,与所述远程SIM卡信息对应的SIM卡支持 EAP-SIM/AKA功能。It should be noted that the SIM card corresponding to the remote SIM card information is supported. EAP-SIM/AKA function.
本实施例提供的基于虚拟SIM卡的wifi接入装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The virtual SIM card-based wifi access device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
在实际应用中,所述获取模块11和接入模块12均可由位于基于虚拟SIM卡的wifi接入装置中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In an actual application, the acquiring module 11 and the access module 12 may each be a Central Processing Unit (CPU) or a Micro Processor Unit (MPU) located in a virtual SIM card-based wifi access device. , Digital Signal Processor (DSP) or Field Programmable Gate Array (FPGA) implementation.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on the computer or other programmable device to produce the computer The implemented processing, such as instructions executed on a computer or other programmable device, provides steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例,在基于虚拟SIM卡的wifi接入过程中,通过从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识(Network Access Identifier,NAI)信息;使用所述远程SIM卡信息接入wifi热点。从而使用户在外地时可以使用虚拟SIM卡的信息去注册运营商的EAP-SIM/AKA的wifi热点,节省漫游费用,且避免用户更换SIM卡,提升了用户体验。 In the embodiment of the present invention, in the wifi access process based on the virtual SIM card, the remote SIM card information is obtained from the card pool of the remote virtual SIM card server, where the remote SIM card information includes a network access identifier (Network Access Identifier). , NAI) information; accessing the wifi hotspot using the remote SIM card information. Therefore, the user can use the information of the virtual SIM card to register the operator's EAP-SIM/AKA wifi hotspot when in the field, save roaming charges, and avoid the user to replace the SIM card, thereby improving the user experience.

Claims (10)

  1. 一种基于虚拟客户识别模块SIM卡的wifi接入方法,所述方法包括:A wifi access method based on a virtual customer identification module SIM card, the method comprising:
    从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识NAI信息;Obtaining remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
    使用所述远程SIM卡信息接入wifi热点。The remote SIM card information is used to access the wifi hotspot.
  2. 根据权利要求1所述的方法,其中,所述使用所述远程SIM卡信息接入wifi热点,包括:The method of claim 1, wherein the using the remote SIM card information to access a wifi hotspot comprises:
    将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
    接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Receiving an access authentication success message sent by the wifi hotspot, and completing wifi access.
  3. 根据权利要求1所述的方法,其中,所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息之前,所述方法还包括:The method of claim 1, wherein before the obtaining the remote SIM card information from the card pool of the remote virtual SIM card server, the method further comprises:
    在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;When connecting to the wifi hotspot of the nearby carrier, start the data service of the local SIM card and access the carrier data network;
    在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。After determining to access the operator data network, performing the operation of obtaining remote SIM card information from the card pool of the remote virtual SIM card server.
  4. 根据权利要求1至3任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    向所述远程虚拟SIM卡服务器发送断网请求;Sending a disconnection request to the remote virtual SIM card server;
    接收所述远程虚拟SIM卡服务器发送的断网成功响应;Receiving a disconnected network successful response sent by the remote virtual SIM card server;
    EAPol-logoff消息。EAPol-logofEAPol-logoff消息。EAPol-logoff message. EAPol-logofEAPol-logoff message.
  5. 根据权利要求1至3任一项所述的方法,其中,与所述远程SIM卡信息对应的远程SIM卡支持EAP-SIM/AKA功能。 The method according to any one of claims 1 to 3, wherein the remote SIM card corresponding to the remote SIM card information supports an EAP-SIM/AKA function.
  6. 一种基于虚拟客户识别模块SIM卡的wifi接入装置,其中,所述装置包括:A wifi access device based on a virtual customer identification module SIM card, wherein the device comprises:
    获取模块,设置为从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息,所述远程SIM卡信息中包含网络接入标识NAI信息;Obtaining a module, configured to obtain remote SIM card information from a card pool of the remote virtual SIM card server, where the remote SIM card information includes network access identifier NAI information;
    接入模块,设置为使用所述远程SIM卡信息接入wifi热点。The access module is configured to use the remote SIM card information to access the wifi hotspot.
  7. 根据权利要求6所述的装置,其中,所述接入模块具体设置为:The device according to claim 6, wherein the access module is specifically configured to:
    将所述NAI信息封装到扩展认证协议EAP报文中,并发送给wifi热点;其中,所述NAI信息中包含用户名和域名;Encapsulating the NAI information into an extended authentication protocol EAP packet, and sending the information to the wifi hotspot; wherein the NAI information includes a username and a domain name;
    接收所述wifi热点发送的接入认证成功消息,完成wifi接入。Receiving an access authentication success message sent by the wifi hotspot, and completing wifi access.
  8. 根据权利要求6所述的装置,其中,所述接入模块还设置为在连接附近运营商的wifi热点时,启动本机SIM卡的数据业务,接入运营商数据网络;The device according to claim 6, wherein the access module is further configured to activate a data service of the local SIM card and connect to the operator data network when connecting the wifi hotspot of the nearby operator;
    所述获取模块还设置为:在判断接入所述运营商数据网络后,执行所述从远程虚拟SIM卡服务器的卡池中获取远程SIM卡信息的操作。The obtaining module is further configured to: after determining to access the operator data network, perform the operation of acquiring remote SIM card information from a card pool of the remote virtual SIM card server.
  9. 根据权利要求6至8任一项所述的装置,其中,所述接入模块还设置为:The apparatus according to any one of claims 6 to 8, wherein the access module is further configured to:
    向所述远程虚拟SIM卡服务器发送断网请求;Sending a disconnection request to the remote virtual SIM card server;
    接收所述远程虚拟SIM卡服务器发送的断网成功响应;Receiving a disconnected network successful response sent by the remote virtual SIM card server;
    EAPol-logoff消息。EAPol-logofEAPol-logoff消息。EAPol-logoff message. EAPol-logofEAPol-logoff message.
  10. 根据权利要求6至8任一项所述的装置,其中,与所述远程SIM卡信息对应的远程SIM卡支持EAP-SIM/AKA功能。 The apparatus according to any one of claims 6 to 8, wherein the remote SIM card corresponding to the remote SIM card information supports an EAP-SIM/AKA function.
PCT/CN2016/099095 2016-04-26 2016-09-14 Virtual sim card-based method and device for accessing wifi hotspot WO2017185589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610265596.7A CN107318110A (en) 2016-04-26 2016-04-26 Wifi cut-in methods and device based on virtual SIM card
CN201610265596.7 2016-04-26

Publications (1)

Publication Number Publication Date
WO2017185589A1 true WO2017185589A1 (en) 2017-11-02

Family

ID=60160670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099095 WO2017185589A1 (en) 2016-04-26 2016-09-14 Virtual sim card-based method and device for accessing wifi hotspot

Country Status (2)

Country Link
CN (1) CN107318110A (en)
WO (1) WO2017185589A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682853A (en) * 2017-08-18 2018-02-09 深圳天珑无线科技有限公司 External more card frames and mobile device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109275134B (en) * 2018-07-24 2021-06-15 上海移远通信技术股份有限公司 System and method for providing wireless fidelity (WIFI) signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014031912A1 (en) * 2012-08-22 2014-02-27 Viet Phu Payment Services Support Corporation Virtual sim
CN104378752A (en) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 Network roaming system and method
CN104394522A (en) * 2014-10-30 2015-03-04 北京神州泰岳软件股份有限公司 Establishment method and establishment device of communication links
CN104955126A (en) * 2015-06-26 2015-09-30 小米科技有限责任公司 Operator network access method and device
CN105263140A (en) * 2015-07-10 2016-01-20 苏州蜗牛数字科技股份有限公司 System and method for realizing remote authentication of subscriber identity module (SIM) card

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378754B (en) * 2014-06-30 2018-06-01 天津泰岳小漫科技有限公司 A kind of mobile communications network business realizing system and method
CN105338515B (en) * 2015-11-02 2020-08-25 联想(北京)有限公司 Data service transmission method and mobile communication equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014031912A1 (en) * 2012-08-22 2014-02-27 Viet Phu Payment Services Support Corporation Virtual sim
CN104378752A (en) * 2014-06-30 2015-02-25 北京神州泰岳软件股份有限公司 Network roaming system and method
CN104394522A (en) * 2014-10-30 2015-03-04 北京神州泰岳软件股份有限公司 Establishment method and establishment device of communication links
CN104955126A (en) * 2015-06-26 2015-09-30 小米科技有限责任公司 Operator network access method and device
CN105263140A (en) * 2015-07-10 2016-01-20 苏州蜗牛数字科技股份有限公司 System and method for realizing remote authentication of subscriber identity module (SIM) card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682853A (en) * 2017-08-18 2018-02-09 深圳天珑无线科技有限公司 External more card frames and mobile device

Also Published As

Publication number Publication date
CN107318110A (en) 2017-11-03

Similar Documents

Publication Publication Date Title
US11405780B2 (en) Method for performing verification by using shared key, method for performing verification by using public key and private key, and apparatus
US11825303B2 (en) Method for performing verification by using shared key, method for performing verification by using public key and private key, and apparatus
US9992671B2 (en) On-line signup server for provisioning of certificate credentials to wireless devices
US9020467B2 (en) Method of and system for extending the WISPr authentication procedure
CN108738013B (en) Network access method, device and network equipment
US9253712B2 (en) Automatic configuration of a wireless device
US9716999B2 (en) Method of and system for utilizing a first network authentication result for a second network
US9918353B2 (en) 802.1X access session keepalive method, device, and system
US20150327073A1 (en) Controlling Access of a User Equipment to Services
WO2017128756A1 (en) Method and apparatus for network access
WO2017219673A1 (en) Vowifi network access method and system, and terminal
JP2007525731A (en) Method and system for providing SIM-based roaming to an existing WLAN public access infrastructure
HUE035780T2 (en) Systems and methods of performing link setup and authentication
US9807088B2 (en) Method and network node for obtaining a permanent identity of an authenticating wireless device
WO2014086252A1 (en) Device association method, apparatus, and system
WO2009152749A1 (en) A binding authentication method, system and apparatus
US10129753B2 (en) Methods and arrangements for authenticating a communication device
WO2018233726A1 (en) Network slice authentication method, corresponding apparatus and system, and medium
WO2016179966A1 (en) Method for realizing network access, terminal and computer storage medium
WO2018045805A1 (en) Network registration method and device
WO2017185589A1 (en) Virtual sim card-based method and device for accessing wifi hotspot
TWI592001B (en) System and method for providing telephony services over wifi for non-cellular devices
WO2015117467A1 (en) Terminal, method for terminal to connect to wireless fidelity (wifi) hotspot, and storage medium
US9532218B2 (en) Implementing a security association during the attachment of a terminal to an access network
CN109819440A (en) The method and apparatus of authentication

Legal Events

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

Ref country code: DE

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

Ref document number: 16900098

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900098

Country of ref document: EP

Kind code of ref document: A1