WO2017193459A1 - 注册方法、装置及终端 - Google Patents

注册方法、装置及终端 Download PDF

Info

Publication number
WO2017193459A1
WO2017193459A1 PCT/CN2016/087278 CN2016087278W WO2017193459A1 WO 2017193459 A1 WO2017193459 A1 WO 2017193459A1 CN 2016087278 W CN2016087278 W CN 2016087278W WO 2017193459 A1 WO2017193459 A1 WO 2017193459A1
Authority
WO
WIPO (PCT)
Prior art keywords
apn
terminal
network
usim
parameter
Prior art date
Application number
PCT/CN2016/087278
Other languages
English (en)
French (fr)
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 WO2017193459A1 publication Critical patent/WO2017193459A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the present disclosure relates to the field of communications, for example, to a registration method, apparatus, and terminal.
  • APNs access point names
  • SIMs Subscriber Identity Modules
  • USBs Universal Subscriber Identity Modules
  • the APN information contains more complicated parameters such as user name, APN name, password, and APN type.
  • the APN authentication fails, which makes the terminal unable to register the network normally, and the terminal is in an unusable state.
  • the user correctly sets the APN parameter information of the USIM once the user replaces the new USIM for the terminal, the APN information corresponding to the new USIM needs to be reset, which causes great inconvenience to the user.
  • the embodiment of the present disclosure provides a registration method, device, and terminal, to at least solve the problem that the terminal cannot register to the network or need to re-query the new USIM when the parameter of the APN stored locally is incorrect or the new USIM is inserted into the terminal for the first time.
  • a registration method including: after a global subscriber identity card USIM is inserted into a terminal, the terminal detects whether there is a first access point name APN that the USIM has successfully registered with the network. When detecting that the first APN does not exist locally, the terminal acquires a second APN corresponding to the specified parameter of the USIM; the terminal registers with the network by using the second APN. Network.
  • the method further includes: when detecting that the first APN exists locally, the terminal attempts to register with the network by using the first APN; and registering with the network by using the first APN After the failure, the terminal deletes the locally saved first APN and acquires a second APN corresponding to the specified parameter of the USIM.
  • the acquiring, by the terminal, the second APN corresponding to the specified parameter of the USIM includes: acquiring, by the terminal, the SPN The second APN of the parameter map.
  • SPN Service Povide Name
  • the terminal acquires a second corresponding to the specified parameter of the USIM.
  • the APN includes: the terminal extracts an APN list that is associated with the MCC parameter or the MNC parameter from the APN database; and the terminal registering to the network by using the second APN includes: the terminal sequentially from the APN list The APN is selected to attempt to register with the network until the terminal selects to successfully register the second APN for the USIM to the network.
  • the method further includes: the terminal saving the second APN as a first APN that has successfully registered with the network.
  • a registration apparatus which is applied to a terminal side, and includes: a detection module, configured to detect whether the USIM has successfully registered with the network after the global subscriber identity card USIM is inserted into the terminal.
  • the first access point name APN; the obtaining module is configured to: when detecting that the first APN does not exist locally, acquire a second APN corresponding to the specified parameter of the USIM; the first registration module is set to pass the The second APN is registered to the network.
  • the device further includes: a second registration module, configured to: when detecting that the first APN exists locally, attempt to register with the network by using the first APN; and processing a module, configured to After the first APN fails to register with the network, the locally saved first APN is deleted, and the acquiring module is triggered to perform an operation.
  • a second registration module configured to: when detecting that the first APN exists locally, attempt to register with the network by using the first APN
  • processing a module configured to After the first APN fails to register with the network, the locally saved first APN is deleted, and the acquiring module is triggered to perform an operation.
  • the acquiring module is further configured to acquire a second APN mapped with the SPN parameter.
  • the acquiring module is further configured to: filter an APN list associated with the MCC parameter or the MNC parameter from the APN database;
  • the first registration module is further configured to sequentially select an APN from the APN list to attempt to register with the network, until selecting to successfully register the USIM to the network. Said second APN;
  • the device further includes: a first saving module, configured to save the second APN as a first APN that has successfully registered with the network.
  • a first saving module configured to save the second APN as a first APN that has successfully registered with the network.
  • a terminal comprising: a processor; a memory configured to store the processor executable instructions; wherein the processor is configured to: after the global subscriber identity card USIM is inserted into the terminal And detecting, by the local device, a first access point name APN that has been successfully registered with the network by the USIM; and detecting that the first APN does not exist locally, acquiring a second APN corresponding to the specified parameter of the USIM; Registering to the network through the second APN.
  • a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • the terminal After the global user identification card USIM is inserted into the terminal, the terminal detects whether there is a first access point name APN that the USIM has successfully registered with the network. When it detects that the first APN does not exist locally, the terminal acquires The second APN corresponding to the specified parameter of the USIM is registered to the network through the second APN.
  • the locally saved APN parameter is incorrect or the new USIM is inserted into the terminal for the first time, it can be quickly and easily matched to the appropriate APN to register to the network.
  • the problem that the user experience is improved in the related art is that the APN parameter saved locally is incorrect or the new USIM is inserted into the terminal for the first time, the terminal cannot register to the network or needs to re-query the APN parameter corresponding to the new card.
  • FIG. 1 is a block diagram showing a hardware structure of a mobile terminal of an application registration method according to an embodiment of the present disclosure
  • FIG. 2 is a flow chart of a registration method in accordance with an embodiment of the present disclosure
  • FIG. 3 is a structural block diagram of a registration device according to an embodiment of the present disclosure.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal of an application registration method according to an embodiment of the present disclosure.
  • mobile terminal 10 may include one or more (only one of which is shown in FIG. 1) processor 102 (processor 102 may include, but is not limited to, a Micro Control Unit (MCU) or programmable logic A Field Programmable Gate Array (FPGA) or the like, a memory 104 for storing data, and a transmission device 106 for communication functions.
  • MCU Micro Control Unit
  • FPGA Field Programmable Gate Array
  • FIG. 1 is merely illustrative and does not limit the structure of the above electronic device.
  • computer terminal 10 may also include more or fewer components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • the memory 104 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the registration method in the embodiment of the present disclosure, and the processor 102 runs the software program and the module stored in the memory 104 (for example, FIG. 3
  • the detection module 32, the acquisition module 34 and the first registration module 36) are shown to perform various functional applications and data processing, that is, to implement the above method.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may include memory remotely located relative to processor 102, which may be coupled to computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 106 is arranged to receive or transmit data via a network.
  • the network specific examples described above may include a wireless network provided by a communication provider of the computer terminal 10.
  • the transmission device 106 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 can be a Radio Frequency (RF) module configured to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • RF Radio Frequency
  • a registration method running on the mobile terminal is provided, and the registration method may be based on Implemented at the access point name APN.
  • 2 is a flowchart of a registration method according to an embodiment of the present disclosure. As shown in FIG. 2, the flow includes the following steps:
  • S206 The terminal registers with the network through the second APN.
  • the terminal detects whether there is a first access point name APN that the USIM has successfully registered with the network, and the first local number is not detected.
  • the terminal acquires the second APN corresponding to the specified parameter of the USIM, and then registers with the second APN to the network, that is, the APN parameter stored locally or the new USIM is inserted for the first time in this embodiment.
  • the terminal can be quickly and easily matched to the appropriate APN to register with the network.
  • the APN parameter is incorrectly stored or the new USIM is not inserted into the network for the first time.
  • the problem of the corresponding APN parameters has achieved the effect of improving the user experience.
  • the method in this embodiment may further include:
  • step S210 is an optional implementation manner of this embodiment.
  • the terminal when detecting that the first APN exists locally, the terminal also needs to try to register with the network through the first APN. After the first APN is successfully registered with the network, the terminal continues to save the local first APN. That is, the network registration can be performed by using the first APN next time; after the registration fails to the network through the first APN, the terminal deletes the locally saved first APN, and executes S204, that is, the terminal acquires another network registration that can be performed. Two APN.
  • Optional implementation manner 1 when the specified parameter is a service provider name SPN parameter;
  • the manner in which the S204 terminal in the embodiment obtains the second APN corresponding to the specified parameter of the USIM may be: the terminal acquires the second APN mapped with the SPN parameter.
  • the parameter is a mobile country code (MCC parameter or mobile network code MNC parameter;
  • the manner in which the terminal involved in the S204 in the embodiment obtains the second APN corresponding to the specified parameter of the USIM may be: the terminal selects an APN list associated with the MCC parameter or the MNC parameter from the APN database;
  • the manner in which the terminal involved in the embodiment S206 is registered to the network through the second APN may be: the terminal sequentially selects the APN from the APN list to try to register with the network, until the terminal selects the second APN that is successfully registered to the network.
  • the method in this embodiment may further include: the terminal saves the second APN as the first APN that has successfully registered with the network. That is, after successfully registering with the network through the second APN, the terminal locally saves the second APN as a new first APN, so that the next time the new APN is registered with the network, if the next time When the new first APN registration fails, S204 to S206 are cyclically executed until an APN that can successfully register with the network is acquired.
  • the software product may be stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and the storage medium stores a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network) The device, etc.) performs the methods described in various embodiments of the present disclosure.
  • a storage medium such as a ROM/RAM, a magnetic disk, an optical disk
  • the storage medium stores a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network) The device, etc.) performs the methods described in various embodiments of the present disclosure.
  • a registration device is also provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus includes: a detection module 32 configured to detect a local after the global subscriber identity card USIM is inserted into the terminal. Whether there is a first access point name APN that has been successfully registered with the network by the USIM; the obtaining module 34 is coupled to the detecting module 32, and is configured to acquire a corresponding parameter corresponding to the USIM when it is detected that the first APN does not exist locally.
  • the second APN; the first registration module 36 is coupled to the acquisition module 34 and configured to register with the network through the second APN.
  • the device in this embodiment further includes: a second registration module, configured to: when detecting that the first APN exists locally, attempt to register with the network by using the first APN; and the second saving module is configured to pass the first After the APN is successfully registered with the network, the local APN is saved.
  • the processing module is configured to delete the locally saved first APN after the first APN fails to register with the network, and trigger the acquiring module to perform the operation.
  • the foregoing second saving module is an optional module of the embodiment.
  • the obtaining module is further configured to acquire the second APN mapped with the SPN parameter.
  • the obtaining module 34 is further configured to filter out the APN list associated with the MCC parameter or the MNC parameter from the APN database; the first registration module at this time , further configured to sequentially select an APN from the APN list to attempt to register with the network until selecting a second APN that successfully registers with the network;
  • the apparatus in this embodiment may further include: a first saving module, configured to save the second APN as the first APN that has successfully registered with the network.
  • the embodiment further provides a terminal, the terminal comprising: a processor, and a memory for storing processor executable instructions;
  • the processor is configured to detect, after the global user identification card USIM is inserted into the terminal, whether the first access point name APN that the USIM has successfully registered with the network exists, and the USIM is obtained when the first APN does not exist locally.
  • This embodiment provides a method for quickly matching a target APN by a multimode terminal.
  • the steps of the method in this embodiment include:
  • S304 If it is detected that the USIM is a known USIM, perform S306; if the USIM is detected as a new USIM or an unknown USUIM, perform S310.
  • the terminal needs to detect whether there is a preAPN (ie, the APN that was successfully registered with the network last time); if the local presence is detected, the terminal attempts to register with the network through the preAPN; if the preAPN is not detected, execute S310. .
  • a preAPN ie, the APN that was successfully registered with the network last time
  • S308 If the terminal detects that the preAPN exists locally, the terminal registers with the network through the preAPN. If the terminal successfully registers with the network, the terminal continues to save the preAPN locally; if the terminal fails to register with the network, S310 needs to be performed, and the local storage is performed. preAPN is deleted.
  • the terminal reads the main parameters such as the MCC, the MNC, or the SPN of the USIM card.
  • the terminal can directly map to obtain the APN corresponding to the SPN parameter of the USIM; for the USIM card that does not have the SPN parameter, the terminal needs to The APN list associated with the MNC parameter or the MNC parameter is filtered from the APN database.
  • the APN database information stored in the terminal may be periodically updated to ensure synchronization with the latest network status.
  • S314 The terminal sequentially uses the APN in the APN list to try to register with the network. If the registration is successful, the APN is locally included as a new preAPN. If the registration fails, the terminal continues to poll the next APN in the APN list. And try to register with the network until the registration is successful;
  • the terminal quickly matches the available APN according to the characteristics of the inserted USIM, and generates and maintains the locally stored preAPN according to the matching process and the result, thereby avoiding the cumbersome operation of the user and improving The user experience.
  • Embodiments of the present disclosure also provide a non-volatile computer storage medium.
  • the non-volatile computer storage medium may be arranged to store program code for performing the following steps:
  • S3 The terminal registers with the network through the second APN.
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor executes, after the global subscriber identity card USIM is inserted into the terminal, according to the stored program code in the storage medium, the terminal detects whether the USIM has the first access point APN that has been successfully registered; When the first APN does not exist in the USIM, the terminal acquires the second APN corresponding to the specified parameter of the USIM; the terminal registers with the network through the second APN.
  • modules or steps of the present disclosure described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. As such, the disclosure is not limited to any specific combination of hardware and software.
  • the present disclosure solves the problem in the related art that the terminal cannot register to the network or needs to re-query the APN parameter corresponding to the new USIM due to a parameter error of the locally stored APN or when the new USIM is first inserted into the terminal.

Landscapes

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

Abstract

一种注册方法、装置及终端,该方法包括:在全球用户识别卡USIM插入终端后,终端检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN;在检测到本地不存在第一APN时,终端获取与USIM的指定参数对应的第二APN;终端通过第二APN注册到网络。本公开解决了相关技术中由于本地存储的APN的参数错误或新USIM第一次插入终端时,终端无法注册到网络或需要重新查询新USIM对应的APN参数的问题。

Description

注册方法、装置及终端 技术领域
本公开涉及通信领域,例如涉及一种注册方法、装置及终端。
背景技术
传统运营商通常通过定制的方式将接入点名称(Access Point Name,APN)预制保存到终端,对于传统运营商而言,不同的用户识别卡(Subscriber Identity Module,SIM)具有相同的APN,因此,即使用户为终端更换新的SIM。也无需重新设定该SIM对应的APN信息。
但是随着电信市场的快速发展,大量虚拟运营商应运而生。对于虚拟运营商而言,不同的全球用户识别卡(Universal Subscriber Identity Module,USIM)对应不同的APN。用户第一次在终端中插入某虚拟运营商的USIM后,需要通过设定该USIM对应的APN信息后才能正常使用网络。
然而大多数用户对于APN的设置不熟悉,因为APN信息包含了用户名、APN名称、密码和APN类型等较为复杂的参数。一旦某个参数设置有误,将导致APN鉴权失败,从而使得该终端无法正常注册联网,终端处于无法使用的状态。此外,即使用户正确的设置了该USIM的APN参数信息,一旦用户为终端更换新的USIM,则需要重新设置该新的USIM对应的APN信息,这会给用户带来极大的不便。
针对相关技术中的上述问题,目前尚未存在有效的解决方案。
发明内容
本公开实施例提供了一种注册方法、装置及终端,以至少解决相关技术中由于本地存储的APN的参数错误或新USIM第一次插入终端时,终端无法注册到网络或需要重新查询新USIM对应的APN参数的问题。
根据本公开的一个方面,提供了一种注册方法,包括:在全球用户识别卡USIM插入终端后,所述终端检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;在检测到本地不存在所述第一APN时,所述终端获取与所述USIM的指定参数对应的第二APN;所述终端通过所述第二APN注册到网 络。
可选地,所述方法还包括:在检测到本地存在所述第一APN时,所述终端通过所述第一APN尝试向所述网络注册;在通过所述第一APN向所述网络注册失败后,所述终端删除本地保存的所述第一APN,并获取与所述USIM的指定参数对应的第二APN。
可选地,在所述指定参数为服务提供商名称(Service Povide Name,SPN)参数时,所述终端获取与所述USIM的指定参数对应的第二APN包括:所述终端获取与所述SPN参数映射的第二APN。
可选地,在所述指定参数为移动国家代码(Mobile Country Code,MCC)参数或移动网络代码(Mobile Network Code,MNC)参数时,所述终端获取与所述USIM的指定参数对应的第二APN包括:所述终端从APN数据库中筛选出与所述MCC参数或MNC参数关联的APN列表;所述终端通过所述第二APN注册到所述网络包括:所述终端依次从所述APN列表中选择APN尝试向所述网络注册,直至所述终端选择到为所述USIM成功注册到所述网络的所述第二APN。
可选地,所述方法还包括:所述终端保存所述第二APN为已成功向所述网络注册过的第一APN。
根据本公开的另一个方面,提供了一种注册装置,应用于终端侧,包括:检测模块,设置为在全球用户识别卡USIM插入终端后,检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;获取模块,设置为在检测到本地不存在所述第一APN时,获取与所述USIM的指定参数对应的第二APN;第一注册模块,设置为通过所述第二APN注册到网络。
可选地,所述装置还包括:第二注册模块,设置为在检测到本地存在所述第一APN时,通过所述第一APN尝试向所述网络注册;处理模块,设置为在通过所述第一APN向所述网络注册失败后,删除本地保存的所述第一APN,并触发所述获取模块执行操作。
可选地,在所述指定参数为服务提供商名称SPN参数时,所述获取模块,还设置为获取与所述SPN参数映射的第二APN。
可选地,在所述指定参数为移动国家代码MCC参数或移动网络代码MNC参数时,所述获取模块,还设置为从APN数据库中筛选出与所述MCC参数或MNC参数关联的APN列表;所述第一注册模块,还设置为依次从所述APN列表中选择APN尝试向所述网络注册,直至选择到为所述USIM成功注册到所述网络的所 述第二APN;
可选地,所述装置还包括:第一保存模块,设置为保存所述第二APN为已成功向所述网络注册过的第一APN。
根据本公开的再一个方面,提供了一种终端,包括:处理器;设置为存储所述处理器可执行指令的存储器;其中,所述处理器设置为:在全球用户识别卡USIM插入终端后,检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;在检测到本地不存在所述第一APN时,获取与所述USIM的指定参数对应的第二APN;通过所述第二APN注册到网络。
根据本公开的再一方面,提供了一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。
通过本公开,在全球用户识别卡USIM插入终端后,终端检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN,在检测到本地不存在第一APN时,该终端获取与USIM的指定参数对应的第二APN,进而通过该第二APN注册到网络,在本地保存的APN参数错误或新USIM第一次插入终端时,能够方便快捷的匹配到合适的APN以注册到网络,解决了相关技术中由于本地保存的APN参数错误或新USIM第一次插入终端时,终端无法注册到网络或需要重新查询新卡对应的APN参数的问题,达到了提高用户体验的效果。
附图说明
此处所说明的附图用来提供对本公开的合理理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是本公开实施例的应用注册方法的移动终端的硬件结构框图;
图2是根据本公开实施例的注册方法的流程图;
图3是根据本公开实施例的注册装置的结构框图。
实施方式
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
实施例1
本公开实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以该方法运行在移动终端上为例,图1是本公开实施例的应用注册方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器(Micro Control Unit,MCU)或可编程逻辑器件(Field Programmable Gate Array,FPGA)等)、用于存储数据的存储器104、以及用于通信功能的传输装置106。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可设置为存储应用软件的软件程序以及模块,如本公开实施例中的注册方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块(例如图3所示的检测模块32,获取模块34和第一注册模块36),从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输装置106设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),giant网络适配器可通过基站与其他网络设备相连,从而实现与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其设置为通过无线方式与互联网进行通讯。
本实施例中提供了一种运行于上述移动终端的注册方法,该注册方法可基 于接入点名称APN实现。图2是根据本公开实施例的注册方法的流程图,如图2所示,该流程包括如下步骤:
S202:在全球用户识别卡USIM插入终端后,终端检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN;
S204:在检测到本地不存在第一APN时,终端获取与USIM的指定参数对应的第二APN;
S206:终端通过第二APN注册到网络。
通过本实施例的上述S202至S206可知,在全球用户识别卡USIM插入终端后,终端检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN,在检测到本地不存在第一APN时,该终端获取与USIM的指定参数对应的第二APN,进而通过该第二APN注册到网络,也就是说,在本实施例中在本地存储的APN参数错误或新USIM第一次插入终端时,能够方便快捷的匹配到合适的APN以注册到网络,解决了相关技术中由于本地存储的APN参数错误或新USIM第一次插入终端时,终端无法注册到网络或需要重新查询新卡对应的APN参数的问题,达到了提高用户体验的效果。
而在本实施例的一个可选实施方式中,本实施例的方法还可以包括:
S208:在检测到本地存在第一APN时,终端通过第一APN尝试向网络注册;
S210:在通过第一APN向网络注册成功后,终端继续保存本地第一APN;
需要说明的是,该步骤S210是本实施例的可选实施方式。
S212:在通过第一APN向网络注册失败后,终端删除本地保存的第一APN,并执行S204。
由上述S208至S212可知,在检测到本地存在第一APN时,终端也需要尝试通过该第一APN向网络进行注册,在通过第一APN向网络注册成功后,终端继续保存本地第一APN,即下次还可以通过该第一APN进行网络注册;在通过第一APN向网络注册失败后,该终端删除本地保存的第一APN,并执行S204,也就是终端获取另外能够进行网络注册的第二APN。
下面介绍在本实施例的可选实施方式中如何获取到该第二APN,并通过该 第二APN成功注册到网络;
可选实施方式一:当该指定参数为服务提供商名称SPN参数;
本实施例中涉及到的S204终端获取与USIM的指定参数对应的第二APN的方式可以是:终端获取与SPN参数映射的第二APN。
可选实施方式二:该定参数为移动国家代码(MCC参数或移动网络代码MNC参数;
本实施例中的S204中涉及到的终端获取与USIM的指定参数对应的第二APN的方式可以是:终端从APN数据库中筛选出与MCC参数或MNC参数关联的APN列表;
基于此,本实施例S206中涉及到的终端通过第二APN注册到网络的方式可以是:终端依次从APN列表中选择APN尝试向网络注册,直至终端选择到成功注册到网络的第二APN。
需要说明的是,基于上述两种可选实施方式后,本实施例的方法还可以包括:终端保存第二APN为已成功向网络注册过的第一APN。也就是说,终端在通过该第二APN成功向网络注册后,会在本地保存该第二APN作为新的第一APN,以便下次通过该新的第一APN向网络注册,如果下次该新的第一APN注册失败则循环执行S204至S206直到获取到能够成功向网络注册的APN。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件的方式实现。其中,该软件产品可存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,该存储介质中存储有若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。
实施例2
在本实施例中还提供了一种注册装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。
图3是根据本公开实施例的注册装置的结构框图,该装置应用于终端侧,如图3所示,该装置包括:检测模块32,设置为在全球用户识别卡USIM插入终端后,检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN;获取模块34,与检测模块32耦合连接,设置为在检测到本地不存在第一APN时,获取与USIM的指定参数对应的第二APN;第一注册模块36,与获取模块34耦合连接,设置为通过第二APN注册到网络。
可选地,本实施例中的装置还包括:第二注册模块,设置为在检测到本地存在第一APN时,通过第一APN尝试向网络注册;第二保存模块,设置为在通过第一APN向网络注册成功后,继续保存本地第一APN;处理模块,设置为在通过第一APN向网络注册失败后,删除本地保存的第一APN,并触发获取模块执行操作。需要说明的是,上述第二保存模块是本实施例的可选模块。
下面对本实施例中涉及到的获取模块执行的操作的可选实施方式进行介绍:
(1)在指定参数为服务提供商名称SPN参数时,该获取模块,还设置为获取与SPN参数映射的第二APN。
(2)在指定参数为移动国家代码MCC参数或移动网络代码MNC参数时,获取模块34,还设置为从APN数据库中筛选出与MCC参数或MNC参数关联的APN列表;此时第一注册模块,还设置为依次从APN列表中选择APN尝试向网络注册,直至选择到成功注册到网络的第二APN;
可选地,本实施例的装置还可以包括:第一保存模块,设置为保存第二APN为已成功向网络注册过的第一APN。
实施例3
本实施例还提供了一种终端,该终端包括:处理器,以及用于存储处理器可执行指令的存储器;
其中,处理器设置为在全球用户识别卡USIM插入终端后,检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN;在检测到本地不存在第一APN时,获取与USIM的指定参数对应的第二APN;通过第二APN注册 到网络。
实施例4
本实施例提供了一种多模终端快速匹配目标APN的方法,本实施例方法的步骤包括:
S302:在插入USIM插入终端后,终端首先检测是否为新的USIM。
S304:如果检测到USIM为已知的USIM后,执行S306;如果检测到USIM为新USIM或未知USUIM后,执行S310。
S306:对于已知的USIM,终端需要检测是否存在preAPN(即上一次成功向网络注册过的APN);如果检测到本地存在则终端通过该preAPN尝试向网络注册;如果未检测到preAPN,执行S310。
S308:如果终端检测到本地存在preAPN,终端通过该preAPN向网络注册,如果终端成功注册到网络,则终端在本地继续保存该preAPN;若终端向网络注册失败,需要执行S310,同时将本地存储的preAPN删除。
S310:终端读取USIM卡的MCC、MNC或SPN等主要参数。
S312:对于存在SPN参数的USIM卡(目前较多虚拟运营商的USIM卡无此参数),终端可以直接映射获取与该USIM的SPN参数对应的APN;对于不存在SPN参数的USIM卡,终端需要从APN数据库中筛选出MNC参数或MNC参数关联的APN列表。
其中,可以周期性更新终端存储的APN数据库信息,保证和最新的网络状态同步。
S314:终端依次使用APN列表中的APN去尝试向网络注册;如果注册成功,则将该APN进行本地包括,作为新的preAPN;如果注册失败,则终端继续轮询APN列表中的下一个APN,并尝试向网络注册,直到注册成功;
通过本实施例的上述S302至S314可知,终端根据所插入的USIM的特点,快速匹配到可用的APN,并根据匹配的过程和结果生成和维护本地存储的preAPN,避免了用户繁琐的操作,提高了用户体验。
实施例5
本公开实施例还提供了一种非易失性计算机存储介质。可选地,在本实施例中,该非易失性计算机存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1:在全球用户识别卡USIM插入终端后,终端检测本地是否存在USIM已成功向网络注册过的第一接入点名称APN;
S2:在检测到本地不存在第一APN时,终端获取与USIM的指定参数对应的第二APN;
S3:终端通过第二APN注册到网络。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行在全球用户识别卡USIM插入终端后,终端检测USIM是否存在已成功注册过的第一接入点APN;在USIM中不存在第一APN时,终端获取与USIM的指定参数对应的第二APN;终端通过第二APN注册到网络。
可选地,本实施例中的可选示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
工业实用性
本公开解决了相关技术中由于本地存储的APN的参数错误或新USIM第一次插入终端时,终端无法注册到网络或需要重新查询新USIM对应的APN参数的问题。

Claims (12)

  1. 一种注册方法,包括:
    在全球用户识别卡USIM插入终端后,所述终端检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;
    在检测到本地不存在所述第一APN时,所述终端获取与所述USIM的指定参数对应的第二APN;
    所述终端通过所述第二APN注册到所述网络。
  2. 根据权利要求1所述的方法,所述方法还包括:
    在检测到本地存在所述第一APN时,所述终端通过所述第一APN尝试向所述网络注册;
    在通过所述第一APN向所述网络注册失败后,所述终端删除本地保存的所述第一APN,并获取与所述USIM的指定参数对应的第二APN。
  3. 根据权利要求1或2所述的方法,其中,在所述指定参数为服务提供商名称SPN参数时,所述终端获取与所述USIM的指定参数对应的第二APN包括:
    所述终端获取与所述SPN参数映射的第二APN。
  4. 根据权利要求1或2所述的方法,其中,在所述指定参数为移动国家代码MCC参数或移动网络代码MNC参数时,所述终端获取与所述USIM的指定参数对应的第二APN包括:
    所述终端从APN数据库中筛选出与所述MCC或MNC关联的APN列表;
    所述终端通过所述第二APN注册到所述网络包括:
    所述终端依次从所述APN列表中选择APN尝试向所述网络注册,直至所述终端选择到成功注册到所述网络的所述第二APN。
  5. 根据权利要求1所述的方法,所述方法还包括:
    所述终端保存所述第二APN为已成功向所述网络注册过的第一APN。
  6. 一种注册装置,应用于终端,包括:
    检测模块,设置为在全球用户识别卡USIM插入终端后,检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;
    获取模块,设置为在检测到本地不存在所述第一APN时,获取与所述USIM的指定参数对应的第二APN;
    第一注册模块,设置为通过所述第二APN注册到网络。
  7. 根据权利要求6所述的装置,所述装置还包括:
    第二注册模块,设置为在检测到本地存在所述第一APN时,通过所述第一 APN尝试向所述网络注册;
    处理模块,设置为在通过所述第一APN向所述网络注册失败后,删除本地保存的所述第一APN,并触发所述获取模块执行操作。
  8. 根据权利要求6或7所述的装置,其中,在所述指定参数为服务提供商名称SPN参数时,
    所述获取模块,还设置为获取与所述SPN参数映射的第二APN。
  9. 根据权利要求6或7所述的装置,其中,在所述指定参数为移动国家代码MCC参数或移动网络代码MNC参数时,
    所述获取模块,还设置为从APN数据库中筛选出与所述MCC参数或MNC参数关联的APN列表;
    所述第一注册模块,还设置为依次从所述APN列表中选择APN尝试向所述网络注册,直至选择到为所述USIM成功注册到所述网络的所述第二APN。
  10. 根据权利要求6所述的装置,所述装置还包括:
    第一保存模块,设置为保存所述第二APN为已成功向所述网络注册过的第一APN。
  11. 一种终端,包括:
    处理器;
    用于存储所述处理器可执行指令的存储器;
    其中,所述处理器设置为:
    在全球用户识别卡USIM插入终端后,检测本地是否存在所述USIM已成功向网络注册过的第一接入点名称APN;
    在检测到本地不存在所述第一APN时,获取与所述USIM的指定参数对应的第二APN;
    通过所述第二APN注册到网络。
  12. 一种非易失性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。
PCT/CN2016/087278 2016-05-13 2016-06-27 注册方法、装置及终端 WO2017193459A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610322456.9 2016-05-13
CN201610322456.9A CN107371234B (zh) 2016-05-13 2016-05-13 注册方法、装置及终端

Publications (1)

Publication Number Publication Date
WO2017193459A1 true WO2017193459A1 (zh) 2017-11-16

Family

ID=60266109

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087278 WO2017193459A1 (zh) 2016-05-13 2016-06-27 注册方法、装置及终端

Country Status (2)

Country Link
CN (1) CN107371234B (zh)
WO (1) WO2017193459A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890066A (zh) * 2019-03-28 2019-06-14 努比亚技术有限公司 Apn参数配置方法、装置、移动终端及可读存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379779B (zh) * 2018-09-06 2022-03-15 深圳市广和通无线股份有限公司 拨号联网方法、装置、计算机设备和存储介质
CN111432397B (zh) * 2020-03-12 2023-07-18 西安广和通无线软件有限公司 通信号码注册方法、装置、计算机设备和存储介质
CN112423287A (zh) * 2020-10-27 2021-02-26 深圳市广和通无线股份有限公司 注册网络的控制方法、装置、计算机设备和存储介质
CN113079514B (zh) * 2021-03-24 2023-09-08 深圳市广和通无线股份有限公司 一种入网校验方法、装置及计算机可读存储介质
CN115243363A (zh) * 2022-07-26 2022-10-25 西安广和通无线软件有限公司 一种网络注册的方法、相关装置、设备以及可读存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267631A (zh) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 一种移动终端上自适应配置接入点名称的方法
CN101730078A (zh) * 2009-11-03 2010-06-09 中兴通讯股份有限公司 一种实现无线数据终端设备接入点绑定的方法及装置
CN105517104A (zh) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 终端通过apn建立网络连接的方法及终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754186B (zh) * 2009-12-10 2013-06-12 中兴通讯股份有限公司 一种移动终端开机驻留的方法和系统
CN105578590B (zh) * 2015-03-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 一种全网通终端的网络注册方法及终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267631A (zh) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 一种移动终端上自适应配置接入点名称的方法
CN101730078A (zh) * 2009-11-03 2010-06-09 中兴通讯股份有限公司 一种实现无线数据终端设备接入点绑定的方法及装置
CN105517104A (zh) * 2015-12-09 2016-04-20 中国联合网络通信集团有限公司 终端通过apn建立网络连接的方法及终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890066A (zh) * 2019-03-28 2019-06-14 努比亚技术有限公司 Apn参数配置方法、装置、移动终端及可读存储介质

Also Published As

Publication number Publication date
CN107371234A (zh) 2017-11-21
CN107371234B (zh) 2022-09-02

Similar Documents

Publication Publication Date Title
WO2017193459A1 (zh) 注册方法、装置及终端
US10187798B2 (en) Terminal device having subscriber identity device and method for selecting profile thereof
US9451445B2 (en) Electronic subscriber identity module selection
CN105162748B (zh) 电子用户识别模块应用标识符处理
CN110267254B (zh) eUICC的管理方法、eUICC、SM平台和系统
US8965339B2 (en) Automatic oscillating BIP session for SIM self-reactivation
CN114731497B (zh) 网络连接性
CN107295503B (zh) 确定移动终端接入方式的方法、存储介质及移动终端
CN103259795A (zh) 执行自动注册登录的方法、移动终端以及服务器
CN106714140B (zh) 一种通信方法及移动终端
JP6130046B2 (ja) 通信インターフェースの自動構成を可能にするためのデバイスおよび方法
US9706487B2 (en) Wireless network device and automatic configuration method for linking wireless local area network
CN107645789B (zh) 入网的方法、装置及系统
WO2017166619A1 (zh) 一种紧急通信号码确定方法、装置和电子设备
CN107613471A (zh) 一种wifi热点信息推送方法、接收方法及装置
CN105636016A (zh) 一种连接网络的方法、装置和系统
EP3145230B1 (en) Method and device for controlling subscriber identity module card of mobile terminal
CN113507471A (zh) 获取终端系统类型的方法、装置、路由器及存储介质
CN106416335B (zh) 用于移动设备的身份暂停使用方法
CN107306388B (zh) 一种接入点名称apn的配置方法及装置
US20120108228A1 (en) Method for identifying a mobile telephone
JP6204399B2 (ja) 通信装置、通信方法、および通信用プログラム
WO2015101023A1 (zh) 多模卡终端的网络切换方法和装置
WO2016173070A1 (zh) 一种终端搜网方法及终端
US9713080B1 (en) Device and method of handling a public land mobile network selection

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16901414

Country of ref document: EP

Kind code of ref document: A1